Hi Misc, I'm stumped (again) my Toshiba Libretto 70CT has not been able to boot a kernel since 4.3, this is know issue [1],
I have just compiled a kernel with option DEBUG and option WDCDEBUG to see if I can track down the issue. I disabled softraid at the UKC> prompt (due to a hint from [2]) The kernel integer divide fault trap occurred again, but there was some additional debug info which I have not seen before: root device softraid not configured dkcsum: bootdev=0xa0000000 dkcsum: BIOS drive 0x80 bsd_dev=0xa0000200 checksum=0xc31f9477 kernel: integer divide fault trap, code=0 Stopped at cpu_switchto+0x76: popl %ebx Not sure if this sheds any further light on the problem? Is there any other debugging information I can get? The dmesg, trace and ps are at the end of this email. Any clues appreciated, and as a side note the bsd.rd kernels boot fine (with the exception of the 4.8 bsd.rd that had the "memory" clobber to lidt inline asm issue [3]). Thanks Fred [1] http://cvs.openbsd.org/cgi-bin/query-pr-wrapper?full=yes&numbers=6052 [2] http://marc.info/?t=127866774600001&r=1&w=2 [3] http://marc.info/?l=openbsd-cvs&m=128224641425290 dmesg, trace, ps and second trace and ps following: Script started on Mon Feb 14 23:19:43 2011 x41:fred ~> cu -l /dev/cuaU0 -s9600 Connected >> OpenBSD/i386 BOOT 3.01 boot> bsd.lib -c booting hd0a:bsd.lib: /-\|/8299772-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|+1100136/ [61+373232-\|/-\|/-\|/-\|/-\|/-\|+358603/-\|/-\|/-\|/-\|/-\|/-]=0x9a9afc entry point at 0x200120 memmap: 0-9fc00 100000-1020000: 101c000 physload: 100-200 (<16M) 8-9f (<16M) bb1-1000 (<16M) 1000-101c [ using 732312 bytes of bsd ELF symbol table ] Copyright (c) 1982, 1986, 1989, 1991, 1993 The Regents of the University of California. All rights reserved. Copyright (c) 1995-2011 OpenBSD. All rights reserved. http://www.OpenBSD.org OpenBSD 4.9-beta (libretto) #2: Sun Feb 13 22:05:13 GMT 2011 f...@x41.crowsons.com:/usr/src/sys/arch/i386/compile/libretto cpu0: Intel Pentium/MMX ("GenuineIntel" 586-class) 121 MHz cpu0: FPU,V86,DE,PSE,TSC,MSR,MCE,CX8,MMX real mem = 16478208 (15MB) avail mem = 6156288 (5MB) User Kernel Config UKC> disable softraid 8 softraid0 disabled UKC> quit Continuing... mainbus0 at root bios0 at mainbus0: AT/286+ BIOS, date 11/11/97 apminfo: 20102, code f0000[ffff]/f0000[ffff], data f0000[ffff], ept 6270 apm0 at bios0: Power Management spec V1.2 apm0: battery life expectancy 100% apm0: AC on, battery charge high, charging pcibios at bios0 function 0x1a not configured bios0: ROM list: 0xe4000/0xc000 cpu0 at mainbus0: (uniprocessor) cpu0: F00F bug workaround installed pci_mode_detect: mode 1 enable failed (ffffffff) isa0 at mainbus0 isadma0 at isa0 com0 at isa0 port 0x3f8/8 irq 4: ns16550a, 16 byte fifo com0: console com1 at isa0 port 0x2f8/8 irq 3: ns16550a, 16 byte fifo pckbc0 at isa0 port 0x60/5 pckbd: trying table 3 pckbd: table set of 3 failed pckbd: trying table 2 pckbd: settling on table 2 pckbd0 at pckbc0 (kbd slot) pckbc0: using irq 1 for kbd slot wskbd0 at pckbd0: console keyboard pms0 at pckbc0 (aux slot) pckbc0: using irq 12 for aux slot wsmouse0 at pms0 mux 0 pms0: protocol type 0 vga0 at isa0 port 0x3b0/48 iomem 0xa0000/131072 wsdisplay0 at vga0 mux 1: console (80x25, vt100 emulation), using wskbd0 wsdisplay0: screen 1-5 added (80x25, vt100 emulation) wdc0 at isa0 port 0x1f0/8 irq 14 wd0 at wdc0 channel 0 drive 0: <IBM-DDLA-21620> wd0: 16-sector PIO, LBA, 1551MB, 3177216 sectors wd0(wdc0:0:0): using BIOS timings sb0 at isa0 port 0x220/24 irq 5 drq 1: dsp v3.01 midi0 at sb0: <SB MIDI UART> audio0 at sb0 opl at sb0 not configured wss0 at isa0 port 0x530/8 irq 10 drq 0: CS4231 or AD1845 (vers 4) audio1 at wss0 pcppi0 at isa0 port 0x61 spkr0 at pcppi0 lpt0 at isa0 port 0x378/4 irq 7 lpt_isa_probe: mask ff data 55 failed lpt_isa_probe: mask ff data 55 failed npx0 at isa0 port 0xf0/16: reported by CPUID; using exception 16 pcic0 at isa0 port 0x3e0/2 iomem 0xd0000/65536 pcic0 controller 0: <Intel 82365SL rev 1> has sockets A and B pcmcia0 at pcic0 controller 0 socket 0 xe0 at pcmcia0 function 0 "Xircom, CreditCard 10Base-T, PS-CE2-10" port 0x340/16, irq 9: address 00:80:c7:42:37:d9 pcmcia1 at pcic0 controller 0 socket 1 pcic0: irq 11, polling enabled biomask e145 netmask e345 ttymask fbdf Timecounters tick every 10.000 msec vscsi0 at root scsibus0 at vscsi0: 256 targets root device softraid not configured dkcsum: bootdev=0xa0000000 dkcsum: BIOS drive 0x80 bsd_dev=0xa0000200 checksum=0xc31f9477 kernel: integer divide fault trap, code=0 Stopped at cpu_switchto+0x76: popl %ebx ddb> ps PID PPID PGRP UID S FLAGS WAIT COMMAND 9 0 0 0 2 0x100200 crypto 8 0 0 0 2 0x100200 pfpurge 7 0 0 0 2 0x100200 pcic0,0,1 6 0 0 0 2 0x100200 pcic0,0,0 5 0 0 0 2 0x100200 apm0 4 0 0 0 2 0x100200 syswq 3 0 0 0 2 0x100200 idle0 2 0 0 0 2 0x100200 kmthread * 1 0 0 0 7 0 swapper 0 -1 0 0 3 0x80200 wdccmd swapper ddb> trace cpu_switchto(d020304d,0,d0babf08,d03ee777,d09cb4a0) at cpu_switchto+0x76 end(0,0,0,efffeecc,efffeecc) at 0xd0babed8 (null)(d0d5be04,d09c1a5c,0,73637376,3069) at 0 ddb> boot poweroff panic: wdc_exec_command: polled command not done Stopped at Debugger+0x4: popl %ebp RUN AT LEAST 'trace' AND 'ps' AND INCLUDE OUTPUT WHEN REPORTING THIS PANIC! DO NOT EVEN BOTHER REPORTING THIS WITHOUT INCLUDING THAT INFORMATION! ddb> trace Debugger(d08e51bc,d199dcc0,d0882a18,d199dcc0,d1196060) at Debugger+0x4 panic(d0882a18,d1196060,0,7ad,3f8) at panic+0x5d wdc_exec_command(d0d528a8,d199dcfc,d199dd04,d03a695e,e0) at wdc_exec_command+0x 16b wd_standby(d0d50400,10,d199dd64,14,1723) at wd_standby+0x4c wd_shutdown(d0d50400,ffffffff,0,580c,d199ddc8) at wd_shutdown+0x33 dohooks(d09cb0e4,1,d199dd94,d03a7a35,d) at dohooks+0x6d boot(580c,d199ddc8,d199de54,d03a5904,d020091a) at boot+0x45 db_boot_poweroff_cmd(d020091a,0,ffffffff,d199ddcc,0) at db_boot_poweroff_cmd+0x 12 db_command(d09c91e0,d09c9000,0,d020091a,d199df50) at db_command+0x124 db_command_loop(d020091a,d199debc,d199dec4,d03b1bdd,800) at db_command_loop+0x7 1 db_trap(8,0,58,1,d199df50) at db_trap+0xb2 kdb_trap(8,0,d199df50,0,0) at kdb_trap+0x8b trap() at trap+0x2f4 --- trap (number -779730944) --- Bad frame pointer: 0xd03cb6b0 0: ddb> ps PID PPID PGRP UID S FLAGS WAIT COMMAND 9 0 0 0 2 0x100200 crypto 8 0 0 0 2 0x100200 pfpurge 7 0 0 0 2 0x100200 pcic0,0,1 6 0 0 0 2 0x100200 pcic0,0,0 5 0 0 0 2 0x100200 apm0 4 0 0 0 2 0x100200 syswq 3 0 0 0 2 0x100200 idle0 2 0 0 0 2 0x100200 kmthread * 1 0 0 0 7 0 swapper 0 -1 0 0 3 0x80200 wdccmd swapper ddb> boot poweroff Attempting to power down... ~ [EOT] x41:fred ~> exit Script done on Mon Feb 14 23:26:28 2011