DaemonForums  

Go Back   DaemonForums > OpenBSD > OpenBSD Installation and Upgrading

OpenBSD Installation and Upgrading Installing and upgrading OpenBSD.

Reply
 
Thread Tools Display Modes
  #1   (View Single Post)  
Old 22nd March 2013
IronForge IronForge is offline
Fdisk Soldier
 
Join Date: Jul 2009
Location: SoCal - "have skills, will travel for projects"
Posts: 55
Thanked 0 Times in 0 Posts
Default Reporting Installation Kernel Panics on New Boxes

Greetings,

I've a new Laptop with a new Processor (Intel); and am running into Kernel Panics Failures during installations.

I'm no kernel debugger, so "ddb>" commands are a bit foreign to me. I have downloaded a few man pages on it; but my questions are:

Q1: Since the Laptop is "non-functional" due to the kernel panic (presuming sendbug doesn't work, since it kicked me out to the ddb prompt), how do I get the "trace" and "ps" outputs to bugs@openbsd.org?

Q1A: Is it, "copy on paper by hand, and send the email on another OS"?

Thanks.
Reply With Quote
  #2   (View Single Post)  
Old 5th April 2013
IronForge IronForge is offline
Fdisk Soldier
 
Join Date: Jul 2009
Location: SoCal - "have skills, will travel for projects"
Posts: 55
Thanked 0 Times in 0 Posts
Default

Greetings:

I've contacted bugs@openbsd.org... From what I can tell, getting the dmesg is pretty ideal for a panicking machine.

I understand the FAQs at openbsd.org address means of recording dmesg; and one bugs administrator commented that an USB Section may be appropriate.

I took a gander at the install disc; and I noticed all the xx0x entities on /dev. Since it can read attached devices (one external USB Flash Drive as "sd1") - is there a way we can mount a usb drive to save dmesg to (e.g, a .txt file per the FAQ example for the floppy)?

I'll need someone with a good grasp of mountpoints to help me out here - I keep getting "device not configured" whenever I try to copy over, mkdir, etc. an sd1x entity and mount the sd1 on the install disc's /dev directory

Pardon the ignorance; but I'm a front end guy, not a Sysadmin ^_^ Handwriting panic, trace, and ps was my good deed of the day...ROTFL!

Last edited by IronForge; 5th April 2013 at 03:42 AM. Reason: grammar
Reply With Quote
  #3   (View Single Post)  
Old 5th April 2013
shep shep is offline
ISO Quartermaster
 
Join Date: May 2008
Location: Dry and Dusty
Posts: 612
Thanked 9 Times in 9 Posts
Default

Quote:
I understand the FAQs at openbsd.org address means of recording dmesg; and one bugs administrator commented that an USB Section may be appropriate.
I am not sure what you mean by this but I believe that advice from bugs@openbsd.org was to save the dmesg to a usb thumb drive. If enough of the Operating system loaded you should see the thumb drive show up in the dmesg. If you have one sata hard drive it typically is /dev/sd0 and your usb thumb drive then is the second one recognized as /dev/sd1.

If the usb thumb drive is msdos (aka vfat in linux) then you mount it as
Code:
mount -t msdos /dev/sd1i /mnt
Once mounted copy your dmesg to /mnt
Code:
dmesg > /mnt/dmesg.txt
Sometimes the hardware is so foreign to OpenBSD that the only way to capture the dmesg is use a serial cable as described here
Reply With Quote
  #4   (View Single Post)  
Old 5th April 2013
IronForge IronForge is offline
Fdisk Soldier
 
Join Date: Jul 2009
Location: SoCal - "have skills, will travel for projects"
Posts: 55
Thanked 0 Times in 0 Posts
Default

Thanks, Shep.

The "extra' USB drive was read by the install disc as "sd1"; but there are no sd1x identifiers - only xxx0x identifiers on the install disc.

I know - occicat might not like my approach; and may pounce on this thread; but I'm reading FAQ-14, fdisk, mount, and disklabel right now. From the hip, reading and multitasking (non PC chores), I can see that mounting the device by name or using disklabel may be a factor.

I'm using a Linux LiveCD in the meanwhile; and have contemplated using a similar function so I can get this over to bugs@openbsd.org

Again, thanks.
Reply With Quote
  #5   (View Single Post)  
Old 5th April 2013
J65nko J65nko is offline
Administrator
 
Join Date: May 2008
Location: Budel - the Netherlands
Posts: 3,198
Thanked 182 Times in 149 Posts
Default

You did not mention which version of OpenBSD you tried to install. If it was the 5.2 release you could try to install a 5.3 snapshot:
Code:
       98596 Apr  4 10:33 INSTALL.i386
       22581 Apr  4 10:33 INSTALL.linux
        2075 Apr  4 10:34 SHA256
    56418201 Apr  4 10:33 base53.tgz
     9595838 Apr  4 10:33 bsd
     9623641 Apr  4 10:33 bsd.mp
     6494632 Apr  4 10:33 bsd.rd
     6639616 Apr  4 10:33 cd53.iso
       70868 Apr  4 10:33 cdboot
        2048 Apr  4 10:33 cdbr
     3012608 Apr  4 10:33 cdemu53.iso
    46063494 Apr  4 10:33 comp53.tgz
      523640 Apr  4 10:33 etc53.tgz
     1474560 Apr  4 10:33 floppy53.fs
     1474560 Apr  4 10:33 floppyB53.fs
     1474560 Apr  4 10:33 floppyC53.fs
     2629519 Apr  4 10:33 game53.tgz
        1607 Apr  4 10:34 index.txt
   223625216 Apr  4 10:34 install53.iso
     9984457 Apr  4 10:34 man53.tgz
       78952 Apr  4 10:34 pxeboot
    10735567 Apr  1 08:01 xbase53.tgz
       64833 Apr  1 08:01 xetc53.tgz
    39801283 Apr  1 08:01 xfont53.tgz
    26952303 Apr  1 08:01 xserv53.tgz
     4479364 Apr  1 08:01 xshare53.tgz
__________________
You don't need to be a genius to debug a pf.conf firewall ruleset, you just need the guts to run tcpdump
Reply With Quote
  #6   (View Single Post)  
Old 5th April 2013
jggimi's Avatar
jggimi jggimi is offline
More noise than signal
 
Join Date: May 2008
Location: USA
Posts: 3,825
Thanked 214 Times in 189 Posts
Default

The /dev nodes are NOT ALL PRESENT at boot time, as they consume ramdisk filesystem space. There's only a few hundred KB of free space available in a typical bsd.rd filesystem.

# cd /dev
# sh MAKEDEV sd1
# mount /dev/sd1i /mnt
# dmseg > /mnt/dmesg.txt
# umount /mnt
Reply With Quote
  #7   (View Single Post)  
Old 16th April 2013
IronForge IronForge is offline
Fdisk Soldier
 
Join Date: Jul 2009
Location: SoCal - "have skills, will travel for projects"
Posts: 55
Thanked 0 Times in 0 Posts
Default dmseg, trace, ps sent.

Thank you all.

J65nko: It was version 5.3

Per jggimi's instructions, I was able to run dmesg and attach it as a .txt file to bugs.

Well, I hope they can incorporate the Laptop - I volunteered my laptop to assist in the effort, so I look forward to see this working on the new platforms.

Again, thanks.
Reply With Quote
  #8   (View Single Post)  
Old 28th June 2013
kimotori kimotori is offline
Port Guard
 
Join Date: Jun 2013
Posts: 13
Thanked 0 Times in 0 Posts
Default

I had the same problem

Quote:
# config -e -u -o bsd.new /bsd
Processing history...
482 acpi0 disabled
OpenBSD 5.3 (GENERIC.MP) #58: Tue Mar 12 18:43:53 MDT 2013
deraadt@i386.openbsd.org:/usr/src/sy...ile/GENERIC.MP
Enter 'help' for information
ukc> disable acpi
482 acpi0 already disabled
ukc> quit
Saving modified kernel.
# mv bsd bsd.original
# mv bsd.new bsd
# reboot
Reply With Quote
  #9   (View Single Post)  
Old 28th June 2013
ocicat ocicat is offline
Administrator
 
Join Date: Apr 2008
Posts: 2,906
Thanked 190 Times in 160 Posts
Default

Quote:
Originally Posted by kimotori View Post
I had the same problem
kimotori, due to the lack of information provided by IronForge, it is not clear that the problem you experienced is the same as his.
Reply With Quote
Old 28th June 2013
jggimi's Avatar
jggimi jggimi is offline
More noise than signal
 
Join Date: May 2008
Location: USA
Posts: 3,825
Thanked 214 Times in 189 Posts
Default

There was more detail on IronForge's problem posted to bugs@; a brief look at the trace output shows a failure to store AML code type 8; you may compare it to this problem report on tech@ which fails to store AML code type 100. Both IronForge's report and the report on tech@ were using a -current kernel from the last week of March 2013.

The CVS log for the module containing aml_store -- sys/dev/acpi/dsdt.c -- has had four patches since then which might resolve aml_store panics.

Unfortunately, all I know of AML is how to spell it and then look it up in Wikipedia:
Quote:
Hardware interface

ACPI-compliant systems interact with hardware through either a "Function Fixed Hardware (FFH) Interface", or a platform-independent hardware programming model which relies on platform-specific ACPI Machine Language (AML) provided by the original equipment manufacturer (OEM).

Last edited by jggimi; 28th June 2013 at 04:24 PM. Reason: clarity
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
Chromium loses focus in text boxes kly FreeBSD Ports and Packages 4 19th October 2011 02:53 PM
Anyone with AMD64 random panics on i386? indiocolifa FreeBSD General 13 24th March 2009 02:53 AM
How to look for open slots in Sun Boxes revzalot Solaris 1 19th July 2008 04:54 PM
Constant Kernel Panics, Corupted file system reboots over and over pseudonym FreeBSD General 24 14th July 2008 03:12 AM
Bug reporting jones OpenBSD General 4 3rd July 2008 02:51 PM


All times are GMT. The time now is 10:09 AM.


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