Re: Crash during boot. Fresh install of 4.7
On Mon, May 31, 2010 at 1:41 AM, Jan Stary h...@stare.cz wrote: On May 30 12:39:44, Todd wrote: On Tue, May 25, 2010 at 9:17 PM, Todd norr...@gmail.com wrote: On Tue, May 25, 2010 at 1:22 PM, Marco Peereboom sl...@peereboom.us wrote: Can you run diffs? maybe, with some noob hand holding. If not can you download and test a kernel? Absolutely! just tell me where to get it. This is probably no shocking revelation to anyone, but I can boot a custom kernel rebuilt with the line commented out of the config: acpicpu* at acpi? (You said noob, so here's a friendly reminder) The Right Way to do this is not to build a custom kernel with a modified config file, but to use the User Kernel Configuration *UKC) of the boot(8) utility while booting the standard kernel and say boot -c disable acpi quit There's no need to recompile anything, the GENERIC kernel already has it all. http://www.openbsd.org/faq/faq5.html#BootConfig Jan That's what I like about OpenBSD. It's always easier than it first appears. I had looked at the config(8) man page and it wasn't clear to me that acpi could be disabled at boot time. But if had I searched the archive first, I would have found this. http://www.mail-archive.com/t...@openbsd.org/msg00277.html Thanks for the data.
Re: Crash during boot. Fresh install of 4.7
On Tue, May 25, 2010 at 9:17 PM, Todd norr...@gmail.com wrote: On Tue, May 25, 2010 at 1:22 PM, Marco Peereboom sl...@peereboom.uswrote: Can you run diffs? maybe, with some noob hand holding. If not can you download and test a kernel? Absolutely! just tell me where to get it. This is probably no shocking revelation to anyone, but I can boot a custom kernel rebuilt with the line commented out of the config: acpicpu* at acpi? Let me know if a dmesg, acpidump, or anything else from the above mentioned kernel would be usefull. On Tue, May 18, 2010 at 06:24:53PM -0500, Todd wrote: On Mon, May 17, 2010 at 9:58 PM, Marco Peereboom sl...@peereboom.us wrote: hrm,... i might have fixed that in -current. got a dmesg? I installed the snapshot from 5-13 and there is still a crash with the same error. Below is everything that is still on the screen when the crash occurs and a dmesg from booting bsd.rd acpibat1 art acpi0: BAT2 not present acpibtn2 at acpi0: LID_ acpidock0 at acpi0:DCK1 not docked(0) acpivideo0 at acpi0: VGA_ acpivout0 at acpivideo0: CRT_ acpivout1 at acpivideo0: TV0_ acpivout2 at acpivideo0: LCD_ acpivideo1 at acpi0: GFX0 acpivout3 at acpivideo1: DD01 acpivout4 at acpivideo1: DD02 acpivout5 at acpivideo1: DD03 acpivout6 at acpivideo1: DD04 acpivout7 at acpivideo1: DD05 bios0: ROM list: 0xc/0xfa00 0xdf000/0x800! cpu0: Enhanced SpeedStep 1664 MHzKernel: interger devide fault trap, code=0 Stopped at est_init+0x107: idivl %esi %eax est_init(d0992174,0,0,d04f6235) at est_init+0x107 intel686_setperf_setup(d0992160,d0a43e98,d0a43ec8,d04f627d at intel686_setperf_setup+0x46 mainbus_attach(0,d1c48c0,0,dbdef000,d0a42334) at mainbus_attach+0x236 config_attach(0,d08686d4,0,0,0) at config_attach+0xfd config_rootfound(d0785242,0,d0a43f38,d04c37fe) at config_rootfound+0x27 main(0,0,0,0,0) at main+0x3b2 below is the dmesg from booting bsd.rd installed from the 4.7 release cd OpenBSD 4.7 (RAMDISK_CD) #353: Wed Mar 17 21:02:53 MDT 2010 dera...@i386.openbsd.org:/usr/src/sys/arch/i386/compile/RAMDISK_CD cpu0: Genuine Intel(R) CPU T2300 @ 1.66GHz (GenuineIntel 686-class) 1.67 GHz cpu0: FPU,V86,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,CFLUSH,DS,ACPI,MMX,FXSR,SSE,SSE2,SS,HTT,TM,SBF,SSE3,MWAIT,VMX,EST,TM2,xTPR real mem = 1071738880 (1022MB) avail mem = 1031536640 (983MB) mainbus0 at root bios0 at mainbus0: AT/286+ BIOS, date 01/13/06, BIOS32 rev. 0 @ 0xfd620, SMBIOS rev. 2.31 @ 0xdf010 (24 entries) bios0: vendor Gateway version 71.02 date 01/13/2006992 bios0: Gateway MX6710 acpi0 at bios0: rev 0 acpi0: tables DSDT FACP APIC ASF! MCFG APIC BOOT SSDT acpimadt0 at acpi0 addr 0xfee0: PC-AT compat cpu0 at mainbus0: apid 0 (boot processor) cpu0: apic clock running at 166MHz cpu at mainbus0: not configured ioapic0 at mainbus0: apid 1 pa 0xfec0, version 20, 24 pins ioapic0: misconfigured as apic 2, remapped to apid 1 acpiprt0 at acpi0: bus 0 (PCI0) acpiprt1 at acpi0: bus 1 (PEGP) acpiprt2 at acpi0: bus 2 (RP01) acpiprt3 at acpi0: bus 3 (RP02) acpiprt4 at acpi0: bus -1 (RP03) acpiprt5 at acpi0: bus 4 (PCIB) bios0: ROM list: 0xc/0xfa00 0xdf000/0x800! pci0 at mainbus0 bus 0: configuration mode 1 (bios) pchb0 at pci0 dev 0 function 0 Intel 82945GM Host rev 0x03 ppb0 at pci0 dev 1 function 0 Intel 82945GM PCIE rev 0x03: apic 1 int 16 (irq 11) pci1 at ppb0 bus 1 vga1 at pci1 dev 0 function 0 ATI Radeon Mobility X1400 rev 0x00 wsdisplay0 at vga1 mux 1: console (80x25, vt100 emulation) Intel 82801GB HD Audio rev 0x02 at pci0 dev 27 function 0 not configured ppb1 at pci0 dev 28 function 0 Intel 82801GB PCIE rev 0x02: apic 1 int 17 (irq 11) pci2 at ppb1 bus 2 em0 at pci2 dev 0 function 0 Intel PRO/1000MT (82573L) rev 0x00: apic 1 int 16 (irq 11), address 00:e0:b8:94:d6:8a ppb2 at pci0 dev 28 function 1 Intel 82801GB PCIE rev 0x02: apic 1 int 16 (irq 11) pci3 at ppb2 bus 3 wpi0 at pci3 dev 0 function 0 Intel PRO/Wireless 3945ABG rev 0x02: apic 1 int 17 (irq 11), MoW1, address 00:13:02:04:21:f8 uhci0 at pci0 dev 29 function 0 Intel 82801GB USB rev 0x02: apic 1 int 23 (irq 11) uhci1 at pci0 dev 29 function 1 Intel 82801GB USB rev 0x02: apic 1 int 19 (irq 10) uhci2 at pci0 dev 29 function 2 Intel 82801GB USB rev 0x02: apic 1 int 18 (irq 10) uhci3 at pci0 dev 29 function 3 Intel 82801GB USB rev 0x02: apic 1 int 16 (irq 11) ehci0 at pci0 dev 29 function 7 Intel 82801GB USB rev 0x02: apic 1 int 23 (irq 11) usb0 at ehci0: USB revision 2.0 uhub0 at usb0 Intel EHCI root hub rev 2.00/1.00 addr 1 ppb3 at pci0 dev 30 function 0 Intel 82801BAM Hub-to-PCI rev 0xe2 pci4 at ppb3 bus 4 cbb0 at pci4 dev 9 function 0 TI PCIXX12 CardBus rev 0x00: apic 1 int 17 (irq 255), CardBus support disabled TI PCIXX12 FireWire rev 0x00 at pci4 dev 9 function 1 not configured TI PCIXX12 Multimedia Card
Re: Crash during boot. Fresh install of 4.7
On Mon, May 17, 2010 at 9:58 PM, Marco Peereboom sl...@peereboom.us wrote: hrm,... i might have fixed that in -current. got a dmesg? I installed the snapshot from 5-13 and there is still a crash with the same error. Below is everything that is still on the screen when the crash occurs and a dmesg from booting bsd.rd acpibat1 art acpi0: BAT2 not present acpibtn2 at acpi0: LID_ acpidock0 at acpi0:DCK1 not docked(0) acpivideo0 at acpi0: VGA_ acpivout0 at acpivideo0: CRT_ acpivout1 at acpivideo0: TV0_ acpivout2 at acpivideo0: LCD_ acpivideo1 at acpi0: GFX0 acpivout3 at acpivideo1: DD01 acpivout4 at acpivideo1: DD02 acpivout5 at acpivideo1: DD03 acpivout6 at acpivideo1: DD04 acpivout7 at acpivideo1: DD05 bios0: ROM list: 0xc/0xfa00 0xdf000/0x800! cpu0: Enhanced SpeedStep 1664 MHzKernel: interger devide fault trap, code=0 Stopped at est_init+0x107: idivl %esi %eax est_init(d0992174,0,0,d04f6235) at est_init+0x107 intel686_setperf_setup(d0992160,d0a43e98,d0a43ec8,d04f627d at intel686_setperf_setup+0x46 mainbus_attach(0,d1c48c0,0,dbdef000,d0a42334) at mainbus_attach+0x236 config_attach(0,d08686d4,0,0,0) at config_attach+0xfd config_rootfound(d0785242,0,d0a43f38,d04c37fe) at config_rootfound+0x27 main(0,0,0,0,0) at main+0x3b2 below is the dmesg from booting bsd.rd installed from the 4.7 release cd OpenBSD 4.7 (RAMDISK_CD) #353: Wed Mar 17 21:02:53 MDT 2010 dera...@i386.openbsd.org:/usr/src/sys/arch/i386/compile/RAMDISK_CD cpu0: Genuine Intel(R) CPU T2300 @ 1.66GHz (GenuineIntel 686-class) 1.67 GHz cpu0: FPU,V86,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,CFLUSH,DS,ACPI,MMX,FXSR,SSE,SSE2,SS,HTT,TM,SBF,SSE3,MWAIT,VMX,EST,TM2,xTPR real mem = 1071738880 (1022MB) avail mem = 1031536640 (983MB) mainbus0 at root bios0 at mainbus0: AT/286+ BIOS, date 01/13/06, BIOS32 rev. 0 @ 0xfd620, SMBIOS rev. 2.31 @ 0xdf010 (24 entries) bios0: vendor Gateway version 71.02 date 01/13/2006992 bios0: Gateway MX6710 acpi0 at bios0: rev 0 acpi0: tables DSDT FACP APIC ASF! MCFG APIC BOOT SSDT acpimadt0 at acpi0 addr 0xfee0: PC-AT compat cpu0 at mainbus0: apid 0 (boot processor) cpu0: apic clock running at 166MHz cpu at mainbus0: not configured ioapic0 at mainbus0: apid 1 pa 0xfec0, version 20, 24 pins ioapic0: misconfigured as apic 2, remapped to apid 1 acpiprt0 at acpi0: bus 0 (PCI0) acpiprt1 at acpi0: bus 1 (PEGP) acpiprt2 at acpi0: bus 2 (RP01) acpiprt3 at acpi0: bus 3 (RP02) acpiprt4 at acpi0: bus -1 (RP03) acpiprt5 at acpi0: bus 4 (PCIB) bios0: ROM list: 0xc/0xfa00 0xdf000/0x800! pci0 at mainbus0 bus 0: configuration mode 1 (bios) pchb0 at pci0 dev 0 function 0 Intel 82945GM Host rev 0x03 ppb0 at pci0 dev 1 function 0 Intel 82945GM PCIE rev 0x03: apic 1 int 16 (irq 11) pci1 at ppb0 bus 1 vga1 at pci1 dev 0 function 0 ATI Radeon Mobility X1400 rev 0x00 wsdisplay0 at vga1 mux 1: console (80x25, vt100 emulation) Intel 82801GB HD Audio rev 0x02 at pci0 dev 27 function 0 not configured ppb1 at pci0 dev 28 function 0 Intel 82801GB PCIE rev 0x02: apic 1 int 17 (irq 11) pci2 at ppb1 bus 2 em0 at pci2 dev 0 function 0 Intel PRO/1000MT (82573L) rev 0x00: apic 1 int 16 (irq 11), address 00:e0:b8:94:d6:8a ppb2 at pci0 dev 28 function 1 Intel 82801GB PCIE rev 0x02: apic 1 int 16 (irq 11) pci3 at ppb2 bus 3 wpi0 at pci3 dev 0 function 0 Intel PRO/Wireless 3945ABG rev 0x02: apic 1 int 17 (irq 11), MoW1, address 00:13:02:04:21:f8 uhci0 at pci0 dev 29 function 0 Intel 82801GB USB rev 0x02: apic 1 int 23 (irq 11) uhci1 at pci0 dev 29 function 1 Intel 82801GB USB rev 0x02: apic 1 int 19 (irq 10) uhci2 at pci0 dev 29 function 2 Intel 82801GB USB rev 0x02: apic 1 int 18 (irq 10) uhci3 at pci0 dev 29 function 3 Intel 82801GB USB rev 0x02: apic 1 int 16 (irq 11) ehci0 at pci0 dev 29 function 7 Intel 82801GB USB rev 0x02: apic 1 int 23 (irq 11) usb0 at ehci0: USB revision 2.0 uhub0 at usb0 Intel EHCI root hub rev 2.00/1.00 addr 1 ppb3 at pci0 dev 30 function 0 Intel 82801BAM Hub-to-PCI rev 0xe2 pci4 at ppb3 bus 4 cbb0 at pci4 dev 9 function 0 TI PCIXX12 CardBus rev 0x00: apic 1 int 17 (irq 255), CardBus support disabled TI PCIXX12 FireWire rev 0x00 at pci4 dev 9 function 1 not configured TI PCIXX12 Multimedia Card Reader rev 0x00 at pci4 dev 9 function 2 not configured cardslot0 at cbb0 slot 0 flags 0 pcmcia0 at cardslot0 ichpcib0 at pci0 dev 31 function 0 Intel 82801GBM LPC rev 0x02: PM disabled pciide0 at pci0 dev 31 function 1 Intel 82801GB IDE rev 0x02: DMA, channel 0 configured to compatibility, channel 1 configured to compatibility atapiscsi0 at pciide0 channel 0 drive 0 scsibus0 at atapiscsi0: 2 targets cd0 at scsibus0 targ 0 lun 0: PHILIPS, DVD+-RW SDVD8441, PA48 ATAPI 5/cdrom removable cd0(pciide0:0:0): using PIO mode 4, Ultra-DMA mode 2 pciide0: channel 1 ignored (disabled) ahci0 at pci0 dev 31 function 2 Intel 82801GBM AHCI rev 0x02: apic 1 int 19 (irq 10), AHCI 1.1 scsibus1 at ahci0: 32 targets sd0 at scsibus1 targ 0 lun 0: ATA, FUJITSU MHV2100B, SCSI3 0/direct fixed sd0: 95396MB, 512 bytes/sec,
Re: Crash during boot. Fresh install of 4.7
I'll look at it. On Tue, May 18, 2010 at 06:24:53PM -0500, Todd wrote: On Mon, May 17, 2010 at 9:58 PM, Marco Peereboom sl...@peereboom.us wrote: hrm,... i might have fixed that in -current. got a dmesg? I installed the snapshot from 5-13 and there is still a crash with the same error. Below is everything that is still on the screen when the crash occurs and a dmesg from booting bsd.rd acpibat1 art acpi0: BAT2 not present acpibtn2 at acpi0: LID_ acpidock0 at acpi0:DCK1 not docked(0) acpivideo0 at acpi0: VGA_ acpivout0 at acpivideo0: CRT_ acpivout1 at acpivideo0: TV0_ acpivout2 at acpivideo0: LCD_ acpivideo1 at acpi0: GFX0 acpivout3 at acpivideo1: DD01 acpivout4 at acpivideo1: DD02 acpivout5 at acpivideo1: DD03 acpivout6 at acpivideo1: DD04 acpivout7 at acpivideo1: DD05 bios0: ROM list: 0xc/0xfa00 0xdf000/0x800! cpu0: Enhanced SpeedStep 1664 MHzKernel: interger devide fault trap, code=0 Stopped at est_init+0x107: idivl %esi %eax est_init(d0992174,0,0,d04f6235) at est_init+0x107 intel686_setperf_setup(d0992160,d0a43e98,d0a43ec8,d04f627d at intel686_setperf_setup+0x46 mainbus_attach(0,d1c48c0,0,dbdef000,d0a42334) at mainbus_attach+0x236 config_attach(0,d08686d4,0,0,0) at config_attach+0xfd config_rootfound(d0785242,0,d0a43f38,d04c37fe) at config_rootfound+0x27 main(0,0,0,0,0) at main+0x3b2 below is the dmesg from booting bsd.rd installed from the 4.7 release cd OpenBSD 4.7 (RAMDISK_CD) #353: Wed Mar 17 21:02:53 MDT 2010 dera...@i386.openbsd.org:/usr/src/sys/arch/i386/compile/RAMDISK_CD cpu0: Genuine Intel(R) CPU T2300 @ 1.66GHz (GenuineIntel 686-class) 1.67 GHz cpu0: FPU,V86,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,CFLUSH,DS,ACPI,MMX,FXSR,SSE,SSE2,SS,HTT,TM,SBF,SSE3,MWAIT,VMX,EST,TM2,xTPR real mem = 1071738880 (1022MB) avail mem = 1031536640 (983MB) mainbus0 at root bios0 at mainbus0: AT/286+ BIOS, date 01/13/06, BIOS32 rev. 0 @ 0xfd620, SMBIOS rev. 2.31 @ 0xdf010 (24 entries) bios0: vendor Gateway version 71.02 date 01/13/2006992 bios0: Gateway MX6710 acpi0 at bios0: rev 0 acpi0: tables DSDT FACP APIC ASF! MCFG APIC BOOT SSDT acpimadt0 at acpi0 addr 0xfee0: PC-AT compat cpu0 at mainbus0: apid 0 (boot processor) cpu0: apic clock running at 166MHz cpu at mainbus0: not configured ioapic0 at mainbus0: apid 1 pa 0xfec0, version 20, 24 pins ioapic0: misconfigured as apic 2, remapped to apid 1 acpiprt0 at acpi0: bus 0 (PCI0) acpiprt1 at acpi0: bus 1 (PEGP) acpiprt2 at acpi0: bus 2 (RP01) acpiprt3 at acpi0: bus 3 (RP02) acpiprt4 at acpi0: bus -1 (RP03) acpiprt5 at acpi0: bus 4 (PCIB) bios0: ROM list: 0xc/0xfa00 0xdf000/0x800! pci0 at mainbus0 bus 0: configuration mode 1 (bios) pchb0 at pci0 dev 0 function 0 Intel 82945GM Host rev 0x03 ppb0 at pci0 dev 1 function 0 Intel 82945GM PCIE rev 0x03: apic 1 int 16 (irq 11) pci1 at ppb0 bus 1 vga1 at pci1 dev 0 function 0 ATI Radeon Mobility X1400 rev 0x00 wsdisplay0 at vga1 mux 1: console (80x25, vt100 emulation) Intel 82801GB HD Audio rev 0x02 at pci0 dev 27 function 0 not configured ppb1 at pci0 dev 28 function 0 Intel 82801GB PCIE rev 0x02: apic 1 int 17 (irq 11) pci2 at ppb1 bus 2 em0 at pci2 dev 0 function 0 Intel PRO/1000MT (82573L) rev 0x00: apic 1 int 16 (irq 11), address 00:e0:b8:94:d6:8a ppb2 at pci0 dev 28 function 1 Intel 82801GB PCIE rev 0x02: apic 1 int 16 (irq 11) pci3 at ppb2 bus 3 wpi0 at pci3 dev 0 function 0 Intel PRO/Wireless 3945ABG rev 0x02: apic 1 int 17 (irq 11), MoW1, address 00:13:02:04:21:f8 uhci0 at pci0 dev 29 function 0 Intel 82801GB USB rev 0x02: apic 1 int 23 (irq 11) uhci1 at pci0 dev 29 function 1 Intel 82801GB USB rev 0x02: apic 1 int 19 (irq 10) uhci2 at pci0 dev 29 function 2 Intel 82801GB USB rev 0x02: apic 1 int 18 (irq 10) uhci3 at pci0 dev 29 function 3 Intel 82801GB USB rev 0x02: apic 1 int 16 (irq 11) ehci0 at pci0 dev 29 function 7 Intel 82801GB USB rev 0x02: apic 1 int 23 (irq 11) usb0 at ehci0: USB revision 2.0 uhub0 at usb0 Intel EHCI root hub rev 2.00/1.00 addr 1 ppb3 at pci0 dev 30 function 0 Intel 82801BAM Hub-to-PCI rev 0xe2 pci4 at ppb3 bus 4 cbb0 at pci4 dev 9 function 0 TI PCIXX12 CardBus rev 0x00: apic 1 int 17 (irq 255), CardBus support disabled TI PCIXX12 FireWire rev 0x00 at pci4 dev 9 function 1 not configured TI PCIXX12 Multimedia Card Reader rev 0x00 at pci4 dev 9 function 2 not configured cardslot0 at cbb0 slot 0 flags 0 pcmcia0 at cardslot0 ichpcib0 at pci0 dev 31 function 0 Intel 82801GBM LPC rev 0x02: PM disabled pciide0 at pci0 dev 31 function 1 Intel 82801GB IDE rev 0x02: DMA, channel 0 configured to compatibility, channel 1 configured to compatibility atapiscsi0 at pciide0 channel 0 drive 0 scsibus0 at atapiscsi0: 2 targets cd0 at scsibus0 targ 0 lun 0: PHILIPS, DVD+-RW SDVD8441, PA48 ATAPI 5/cdrom removable cd0(pciide0:0:0): using PIO mode 4, Ultra-DMA mode 2 pciide0: channel 1 ignored (disabled) ahci0 at pci0 dev 31 function 2 Intel 82801GBM
Re: Crash during boot. Fresh install of 4.7
On Fri, May 14, 2010 at 8:55 PM, Todd norr...@gmail.com wrote: I ordered the 4.7 cd and have successfully installed it on 2 machines, but the third is giving me some trouble. The install went OK, but after reboot, there was a crash. I took pictures of the screen and typed what I think is most important below. I get the same message if I type trace at the ddb prompt. I though I may have forgotten to flag the partition as active, so I rebooted the install cd and verified that it was active. If it matters, OpenBSD is installed on the 4th primary partition. I'm still fairly new to OpenBSD and am not sure if there is really something wrong, of if I have done something dumb. Stopped at est_init+0x017: idivl %esi %eax est_init(d0992174,0,0,d04f6235) at est_init+0x107 intel686_setperf_setup(d0992160,d0a43e98,d0a43ec8,d04f627d at intel686_setperf_setup+0x46 mainbus_attach(0,d1c48c0,0,dbdef000,d0a42334) at mainbus_attach+0x236 config_attach(0,d08686d4,0,0,0) at config_attach+0xfd config_rootfound(d0785242,0,d0a43f38,d04c37fe) at config_rootfound+0x27 main(0,0,0,0,0) at main+0x3b2 show panic the kernel did not panic I am trying to follow the debug instructions from the faq. I built the kernel and ran the following: #objdump --line --disassemble --reloc est.o est.dis # grep est_init: est.dis 01e4 est_init: so, 0x1e4 + 0x017 = 0x1FB here is part of est.dis, but there is no line 0x1FB, and realized I made a typo. The stop was at 0x107, not 0x017. so then 0x1e4 + 0x107 = 0x2EB I think this is the applicable section of est.dis, but it is not clear to me whick line of the est.c is cousing the trouble. 2d3: R_386_32 cpuspeed 2d7: 29 c8 sub%ecx,%eax 2d9: 8d 04 80 lea(%eax,%eax,4),%eax 2dc: 0f b7 52 02 movzwl 0x2(%edx),%edx 2e0: 8d 04 80 lea(%eax,%eax,4),%eax 2e3: 29 ca sub%ecx,%edx 2e5: c1 e0 02 shl$0x2,%eax 2e8: 89 d6 mov%edx,%esi 2ea: 99 cltd 2eb: f7 fe idiv %esi 2ed: a3 00 00 00 00 mov%eax,0x0 2ee: R_386_32 perflevel 2f2: c7 04 24 1e 00 00 00 movl $0x1e,(%esp) 2f5: R_386_32 .rodata.str1.1 2f9: e8 fc ff ff ff call 2fa est_init+0x116 2fa: R_386_PC32 printf 2fe: a1 00 00 00 00 mov0x0,%eax
Re: Crash during boot. Fresh install of 4.7
It really helps if you provide more of the output, like everything the kernel printed up to the point of the crash. If your disassembly is accurate, it looks like a divide by zero because high and low have the same value near the end of est_init. You can probably work around this by booting with -d, then writing some big number like 1000 to setperf_prio. Then build a kernel that prints out a few of the relevant values near there (est_fqlist-n, cpuspeed, high, low before doing the divide). And send a complete dmesg. On Mon, May 17, 2010 at 9:04 PM, Todd norr...@gmail.com wrote: On Fri, May 14, 2010 at 8:55 PM, Todd norr...@gmail.com wrote: I ordered the 4.7 cd and have successfully installed it on 2 machines, but the third is giving me some trouble. The install went OK, but after reboot, there was a crash. I took pictures of the screen and typed what I think is most important below. I get the same message if I type trace at the ddb prompt. I though I may have forgotten to flag the partition as active, so I rebooted the install cd and verified that it was active. If it matters, OpenBSD is installed on the 4th primary partition. I'm still fairly new to OpenBSD and am not sure if there is really something wrong, of if I have done something dumb. Stopped at est_init+0x017: idivl %esi %eax est_init(d0992174,0,0,d04f6235) at est_init+0x107 intel686_setperf_setup(d0992160,d0a43e98,d0a43ec8,d04f627d at intel686_setperf_setup+0x46 mainbus_attach(0,d1c48c0,0,dbdef000,d0a42334) at mainbus_attach+0x236 config_attach(0,d08686d4,0,0,0) at config_attach+0xfd config_rootfound(d0785242,0,d0a43f38,d04c37fe) at config_rootfound+0x27 main(0,0,0,0,0) at main+0x3b2 show panic the kernel did not panic I am trying to follow the debug instructions from the faq. I built the kernel and ran the following: #objdump --line --disassemble --reloc est.o est.dis # grep est_init: est.dis 01e4 est_init: so, 0x1e4 + 0x017 = 0x1FB here is part of est.dis, but there is no line 0x1FB, and realized I made a typo. The stop was at 0x107, not 0x017. so then 0x1e4 + 0x107 = 0x2EB I think this is the applicable section of est.dis, but it is not clear to me whick line of the est.c is cousing the trouble. 2d3: R_386_32 cpuspeed 2d7: 29 c8 sub%ecx,%eax 2d9: 8d 04 80 lea(%eax,%eax,4),%eax 2dc: 0f b7 52 02 movzwl 0x2(%edx),%edx 2e0: 8d 04 80 lea(%eax,%eax,4),%eax 2e3: 29 ca sub%ecx,%edx 2e5: c1 e0 02 shl$0x2,%eax 2e8: 89 d6 mov%edx,%esi 2ea: 99 cltd 2eb: f7 fe idiv %esi 2ed: a3 00 00 00 00 mov%eax,0x0 2ee: R_386_32 perflevel 2f2: c7 04 24 1e 00 00 00 movl $0x1e,(%esp) 2f5: R_386_32 .rodata.str1.1 2f9: e8 fc ff ff ff call 2fa est_init+0x116 2fa: R_386_PC32 printf 2fe: a1 00 00 00 00 mov0x0,%eax
Re: Crash during boot. Fresh install of 4.7
hrm,... i might have fixed that in -current. got a dmesg? On Fri, May 14, 2010 at 08:55:38PM -0500, Todd wrote: I ordered the 4.7 cd and have successfully installed it on 2 machines, but the third is giving me some trouble. The install went OK, but after reboot, there was a crash. I took pictures of the screen and typed what I think is most important below. I get the same message if I type trace at the ddb prompt. I though I may have forgotten to flag the partition as active, so I rebooted the install cd and verified that it was active. If it matters, OpenBSD is installed on the 4th primary partition. I'm still fairly new to OpenBSD and am not sure if there is really something wrong, of if I have done something dumb. Stopped at est_init+0x017: idivl %esi %eax est_init(d0992174,0,0,d04f6235) at est_init+0x107 intel686_setperf_setup(d0992160,d0a43e98,d0a43ec8,d04f627d at intel686_setperf_setup+0x46 mainbus_attach(0,d1c48c0,0,dbdef000,d0a42334) at mainbus_attach+0x236 config_attach(0,d08686d4,0,0,0) at config_attach+0xfd config_rootfound(d0785242,0,d0a43f38,d04c37fe) at config_rootfound+0x27 main(0,0,0,0,0) at main+0x3b2 show panic the kernel did not panic
Crash during boot. Fresh install of 4.7
I ordered the 4.7 cd and have successfully installed it on 2 machines, but the third is giving me some trouble. The install went OK, but after reboot, there was a crash. I took pictures of the screen and typed what I think is most important below. I get the same message if I type trace at the ddb prompt. I though I may have forgotten to flag the partition as active, so I rebooted the install cd and verified that it was active. If it matters, OpenBSD is installed on the 4th primary partition. I'm still fairly new to OpenBSD and am not sure if there is really something wrong, of if I have done something dumb. Stopped at est_init+0x017: idivl %esi %eax est_init(d0992174,0,0,d04f6235) at est_init+0x107 intel686_setperf_setup(d0992160,d0a43e98,d0a43ec8,d04f627d at intel686_setperf_setup+0x46 mainbus_attach(0,d1c48c0,0,dbdef000,d0a42334) at mainbus_attach+0x236 config_attach(0,d08686d4,0,0,0) at config_attach+0xfd config_rootfound(d0785242,0,d0a43f38,d04c37fe) at config_rootfound+0x27 main(0,0,0,0,0) at main+0x3b2 show panic the kernel did not panic
Re: Crash during boot. Fresh install of 4.7
On Fri, 14 May 2010 20:55:38 -0500 Todd norr...@gmail.com wrote: Stopped at est_init+0x017: idivl %esi %eax est_init(d0992174,0,0,d04f6235) at est_init+0x107 intel686_setperf_setup(d0992160,d0a43e98,d0a43ec8,d04f627d at intel686_setperf_setup+0x46 mainbus_attach(0,d1c48c0,0,dbdef000,d0a42334) at mainbus_attach+0x236 config_attach(0,d08686d4,0,0,0) at config_attach+0xfd config_rootfound(d0785242,0,d0a43f38,d04c37fe) at config_rootfound+0x27 main(0,0,0,0,0) at main+0x3b2 Looks like some problem with ACPI. Those that might have a clue need to see a dmesg of that system and acpidump output.