DaemonForums  

Go Back   DaemonForums > OpenBSD > OpenBSD General

OpenBSD General Other questions regarding OpenBSD which do not fit in any of the categories below.

Reply
 
Thread Tools Display Modes
  #1   (View Single Post)  
Old 2 Weeks Ago
ip6ix's Avatar
ip6ix ip6ix is offline
Port Guard
 
Join Date: Sep 2017
Location: UK
Posts: 18
Default 6.3 Release kernel panic

So I installed 6.3 onto my rather old desktop PC, which had previously been running Linux. It had been running for a few days in text mode (i.e no X), and I'd been happily installing bits and pieces and various personal shell scripts, etc. Everything was running smoothly.

Then I decided to install the MATE desktop. A few minutes after running X, the system locked up, keyboard, mouse unresponsive. Unable to login via ssh, the only option was to physically turn the machine off using the power button.

When it had rebooted, and the various fsck processes had finished, and without loading X, the kernel paniced and I was left with the screen below (see attachment). Again, I had no option but to use the power button to switch the machine off.

I'm using an nvidia geforce 9800GT, which is ten years old. I noticed when the MATE desktop was being displayed, it looked a little "glitchy" - there were a couple of red lines, barely visible, at the top of the screen. I'm thinking maybe the video card is on it's way out. I'm aware nvidia are not the best choice for use in OpenBSD (and so I've just ordered a new Radeon card to replace it). Hopefully that will cure the problem. I've never seen a kernel panic in OpenBSD before, it came as quite a surprise

Any comment, advice, much appreciated. TIA.
Attached Images
File Type: png 20180803_211840.png (569.2 KB, 44 views)
__________________
One of my most productive days was throwing away 1000 lines of code.
--Ken Thompson
Reply With Quote
  #2   (View Single Post)  
Old 2 Weeks Ago
GarryR's Avatar
GarryR GarryR is offline
Real Name: Garry Ricketson
Spam Deminer
 
Join Date: Jul 2015
Location: Durango, Mx.
Posts: 254
Default

I can't say much based on the screen shot, I think if you can boot using single user mode:
https://www.openbsd.org/faq/faq8.html
Quote:
Boot into single user mode. This part of the process varies depending on your platform. For amd64 and i386, the second stage boot loader pauses for a few seconds to give you a chance to provide parameters to the kernel. Here you can see we pass the -s flag to boot(8):
Code:
        probing: pc0 com0 com1 mem[638K 1918M a20=on]
        disk: hd0+ hd1+
        >> OpenBSD/amd64 BOOT 3.33
        boot> boot -s
Then post a copy of the 'dmesg' output here.


This thread : http://daemonforums.org/showthread.php?t=7196
there is some more information on that, and some other "trouble shooting" commands.
IE: 'man crash'

If you need more details on " how to capture /print the dmesg output to a file or usb device, " so that is can be copy/pasted here, let us know.
__________________
My best friends are parrots
Reply With Quote
  #3   (View Single Post)  
Old 2 Weeks Ago
Prevet Prevet is offline
Fdisk Soldier
 
Join Date: Oct 2017
Posts: 68
Default

Nvidia doesn't do anything. It detects Nvidia and skips it. What Radeon card did you get? Did you check what Radeon cards OpenBSD supports? I got a HD6970 because the 6000 series was the highest supported, but there's no fan control on OpenBSD, so it sets itself to 100% and sounds like a jet engine from then on. I ended up buying a Radeon HD6450 with 2GB of memory and passive cooling (I found it on UK ebay), so there would be no fan to worry about and it works okay. Just remember to change the aperture or you will get a black screen on boot

Quote:
How to make the Radeon graphics card work on the big machine

1. When installing do not select the option to start the X Windows manager.
You want it to start in console only mode so you can edit a file in /etc.

2. After reboot, copy /etc/examples/sysctl.conf to the /etc directory and
uncomment the following line:

#machdep.allowaperture=2 # See xf86(4)

3. Create the rc.conf.local file and add:

xenodm_flags=
Reply With Quote
  #4   (View Single Post)  
Old 2 Weeks Ago
ip6ix's Avatar
ip6ix ip6ix is offline
Port Guard
 
Join Date: Sep 2017
Location: UK
Posts: 18
Default

Thanks for your replies. Garry, I'll try some of your suggestions when I get my new radeon card. I'm done with nvidia on OpenBSD.

Prevet, the card I bought is an Asus Radeon HD5450 with 1Gb memory. I bought it quite cheaply on uk ebay. The card is a silent type, i.e. doesn't have a fan (quite fortunate considering your comments about fan-control.)
__________________
One of my most productive days was throwing away 1000 lines of code.
--Ken Thompson
Reply With Quote
  #5   (View Single Post)  
Old 2 Weeks Ago
shep shep is offline
Rc.conf Instructor
 
Join Date: May 2008
Location: Dry and Dusty
Posts: 1,129
Default

Quote:
Originally Posted by Prevet View Post
I got a HD6970 because the 6000 series was the highest supported, but there's no fan control on OpenBSD, so it sets itself to 100% and sounds like a jet engine from then on. I ended up buying a Radeon HD6450 with 2GB of memory and passive cooling (I found it on UK ebay), so there would be no fan to worry about and it works okay. Just remember to change the aperture or you will get a black screen on boot
I'm running an AMD A6-5400K APU w/ HD 7540D Graphics. I'm very pleased with it.

http://daemonforums.org/showpost.php...6&postcount=96

Last edited by shep; 2 Weeks Ago at 01:03 AM. Reason: A5 -> A6
Reply With Quote
  #6   (View Single Post)  
Old 2 Weeks Ago
Prevet Prevet is offline
Fdisk Soldier
 
Join Date: Oct 2017
Posts: 68
Default

@op6ix
Regarding your problem with the window manager, perhaps try a window manager that is shipped with the OpenBSD base install as that should not cause you any problems. I started out with FVWM but have since moved on to CWM and really like its minimalism. The settings file in CWM is far simpler than FVWM's which is a bonus.

Quote:
Originally Posted by ip6ix View Post
(quite fortunate considering your comments about fan-control.)
I had a similar problem with Nvidia when I was on Linux, however the fan was not stuck on maximum, it was always on a medium setting, so I wonder how they game on Linux using Nvidia without frying their cards.

The other option is water cooling which is a lot of money and effort, or get one of those after-market coolers where the stock fans of the video card are replaced with a card with two or three fans. But they did not say on their website whether the fans were controlled by the OS, or by onboard sensors and the hardware. Also they did not provide lists of what card numbers worked with their coolers, so in the end I lost patience with it all and bought a passive card.

Quote:
Originally Posted by shep View Post
I'm running an AMD A6-5400K APU w/ HD 7540D Graphics. I'm very pleased with it.

http://daemonforums.org/showpost.php...6&postcount=96
Nice! When I asked about video cards late last year on the OpenBSD gaming reddit, they said anything above the 6000 series was something to be very careful of, as they weren't fully supported yet. What would be nice is a separate hardware thread here for working video cards related to high performance graphics/gaming so this info is easy to find.

Last edited by Prevet; 2 Weeks Ago at 03:47 PM.
Reply With Quote
  #7   (View Single Post)  
Old 2 Weeks Ago
GarryR's Avatar
GarryR GarryR is offline
Real Name: Garry Ricketson
Spam Deminer
 
Join Date: Jul 2015
Location: Durango, Mx.
Posts: 254
Default

I was going to suggest the same, about using a WindowManager, instead of the Mate Desktop.
Even back when I was using Linux , and I had been using the "Mate" desktop, I liked it but started having problems, IE:
Quote:
it looked a little "glitchy"
, and slow, sometimes I did get lockups, similar to what you describe,... so I switched to a WM, I tried various, all worked much better the the desktop environment, I ended up mostly using OpnenBox, but also like FVWM, very much. Just recently started trying CWM, ...it is ok as well, but takes some "getting used to",...
I tried installing "mate-desktop" on a VM I have, but could not get it to work at all, but the VM only has 600 m ram (memory), and at this time, I still can not change that. To be honest, I am scared to try putting the DE on my main system , I suspect it could crash the system, and don't think it would run very well any way. Not saying it is a "bad" DE, just saying my hardware would not be able to handle it.
Once I got accustomed to a window manager, I don't miss the traditional Desktop Environments at all, this includes XFCE,Gnome, Mate, KDE,... etc... they all are rather bloated and maybe that is ok on more modern hardware , with 10 + GB ram,.... but I don't have that kind of hardware.
Any way, that gets into why I asked to see what your "dmesg" output is, so we have a better idea about the hardware, etc.
__________________
My best friends are parrots
Reply With Quote
  #8   (View Single Post)  
Old 2 Weeks Ago
cynwulf's Avatar
cynwulf cynwulf is offline
Spam Deminer
 
Join Date: Mar 2014
Posts: 229
Default

Quote:
Originally Posted by Prevet View Post
Just remember to change the aperture or you will get a black screen on boot
I'm almost certain this hasn't been necessary for quite a few years now:

https://marc.info/?l=openbsd-cvs&;m=139245772023497&w=2

Would be insteresting to see the X.org logs, to see what driver is loaded, etc.

But regardless, as you have discovered, Nvidia on OpenBSD isn't really an option. As I recall the vesa(4) driver is loaded for Nvidia hardware, thus no direct rendering, etc.

Last edited by cynwulf; 2 Weeks Ago at 08:01 PM.
Reply With Quote
  #9   (View Single Post)  
Old 2 Weeks Ago
Prevet Prevet is offline
Fdisk Soldier
 
Join Date: Oct 2017
Posts: 68
Default

Here you go:
Attached Files
File Type: txt stuff.txt (30.8 KB, 8 views)

Last edited by Prevet; 2 Weeks Ago at 01:35 AM.
Reply With Quote
Old 2 Weeks Ago
ip6ix's Avatar
ip6ix ip6ix is offline
Port Guard
 
Join Date: Sep 2017
Location: UK
Posts: 18
Default

Quote:
Originally Posted by GarryR View Post
Once I got accustomed to a window manager, I don't miss the traditional Desktop Environments at all, this includes XFCE,Gnome, Mate, KDE,... etc... they all are rather bloated and maybe that is ok on more modern hardware , with 10 + GB ram,.... but I don't have that kind of hardware.
Any way, that gets into why I asked to see what your "dmesg" output is, so we have a better idea about the hardware, etc.
Sure. After much fiddling about with the BIOS settings, I've managed to achieve some measure of stability, after the system had crashed a couple more times. The reason given at the top of the panic messages was the same in every case:

Code:
acpicpu setperf failed to alter frequency
Doing a Google search of this was quite interesting. See in particular:

https://marc.info/?l=openbsd-bugs&m=143464570209840&w=2

where a fix (relevant to ProLiant) was suggested. I've modified a couple of (similar) BIOS settings here, and so far so good

The motherboard is a Gigabyte GA-EP35-DS4 with 8 gigs of memory, and the video card is an nvidia geforce 9800GT, soon to be replaced by a Radeon HD5450. Please find the dmesg output attached.
Attached Files
File Type: txt dm.txt (8.9 KB, 7 views)
__________________
One of my most productive days was throwing away 1000 lines of code.
--Ken Thompson

Last edited by ip6ix; 2 Weeks Ago at 02:57 AM.
Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
kernel panic (amd64,5.1 release) on Aspire 5750 obsdnewbie OpenBSD Installation and Upgrading 10 5th June 2012 11:17 PM
kernel panic on imac .. daemonfowl OpenBSD Installation and Upgrading 11 24th February 2012 12:48 AM
FreeBSD 8.0-RELEASE as DomU(hvm; i386): kernel panic deadeyes FreeBSD Installation and Upgrading 6 5th January 2010 09:55 PM
Aaah! Help! Kernel panic! 7.0-RELEASE-p4 Weaseal FreeBSD General 4 2nd October 2008 02:47 PM
FBSD 7 cd boot-only, kernel panic cysquatch FreeBSD Installation and Upgrading 9 18th July 2008 01:49 AM


All times are GMT. The time now is 09:46 PM.


Powered by vBulletin® Version 3.8.4
Copyright ©2000 - 2018, Jelsoft Enterprises Ltd.
Content copyright © 2007-2010, the authors
Daemon image copyright ©1988, Marshall Kirk McKusick