All tests ended with kernel: integer divide fault trap, code=0 Stopped at cpu_switchto+0x76: popl %ebx
When softraid disabled ddb>trace cpu_switchto(d073cfa0,a26000,d0a20f18,d0a20ef8,d0202f41) at cpu_switchto+0x76 (null)(d020241,0,d0a20f18,d037cab8,d0854018) at 0 end(d0746c60,d073cfa0,0,d073cf57,0) at 0xd0a20ef8 config_rootfound(d073cfa0,0,d0a20fa0,d0360adf,2) at config_rootfound+0x3c main(0,0,0,0,0) at main+0x4b8 When acpi disabled/apm disabled/apm & acpi disabled ddb>trace cpu_switchto(d0851534,d0c17800,d0a20f18,d03763c9,d0c17800) at cpu_switchto+0x76 cfdata(d0c17800,0c17800,0,0,d15ca984) at cfdata+0x44e8 config_attach(0,d084a0a4,0,0,d073cf57) at config_attach+0xfd config_rootfound(d073cfa0,0,d0a20fa0,d0360adf,2) at config_rootfound+0x27 main(0,0,0,0,0) at main+0x4b3 Regards, Marco Peereboom wrote: > Nothing pops out at me. Can you try booting with several things > disabled: > * disable softraid > * disable acpi > * disable apm > * disable apm & acpi > > so those are 4 different tests. > > Thanks, > /marco > > On Mon, Nov 16, 2009 at 06:34:46PM +0800, Hou Ruoyu wrote: >> As I upgraded to #377 Nov 15 kernel snapshot, the problem recurred. >> OpenBSD 4.6-current (GENERIC) #377: Sun Nov 15 00:38:03 MST 2009 >> (same as before) >> biomask edc5 netmask efc5 ttymask ffff >> vscsi0 at root >> scsibus0 at vscsi0:256 targets >> softraid0 at root >> kernel: integer divide fault trap, code=0 >> Stopped at cpu_switchto+0x76 popl %ebx >> ddb>trace >> cpu_switchto(d0851534,d0c17800,d0a20f18,d03763c9,d0c17800) at >> cpu_switchto+0x76 >> >> cfdata(d0c17800,0c17800,0,0,d15ca984) at cfdata+0x44e8 >> config_attach(0,d084a0a4,0,0,d073cf57) at config_attach+0xfd >> config_rootfound(d073cfa0,0,d0a20fa0,d0360adf,2) at config_rootfound+0x27 >> main(0,0,0,0,0) at main+0x4b3 >> >> Regards, >> >> On Sun, Nov 15, 2009 at 11:45 PM, Marco Peereboom <[email protected]> wrote: >>> I think we fixed that in -current. ??Can you try the latest kernel? >>> >>> On Sun, Nov 15, 2009 at 01:12:13PM +0800, Hou, Ruoyu wrote: >>>> Thanks for the reply. Here are return info from trace and ps: >>>> ddb>trace >>>> cpu_switchto(d081f394,d0be5000,d09e9f18,d035f36d,d0be5000) at >>>> cpu_switchto+0x76 >>>> >>>> cfdata(d0be5000,d0be5000,0,d09e9f20,100) at cfdata+0x4434 >>>> config_attach(0,d0818080,0,0,d0821a38) at config_attach+0xfd >>>> config_rootfound(d070b6f7,0,d09e9fa0,d0349ad9,2) at config_rootfound+0x27 >>>> main(0,0,0,0,0) at main+0x4af >>>> ddb>ps >>>> ?? ??PID ?? PPID ?? PGRP ?? UID ??S ?? ?? ?? FLAGS ??WAIT ?? ?? ?? COMMAND >>>> ?? ?? ??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 ?? ?? ??0 ?? ?? ??0 ?? ?? 0 ??3 ?? ?? 0x80200 ??wdccmd ?? ?? >>>> swapper >>>> >>>> My disk was partioned as follows: >>>> 1120MB as / and set bootable >>>> 80MB as swap >>>> remaining 340+MB was FAT32 and mounted as /MSDOS. >>>> >>>> Regards, >>>> >>>> Marco Peereboom wrote: >>>>> type trace please >>>>> >>>>> On Sun, Nov 15, 2009 at 11:55:27AM +0800, Hou, Ruoyu wrote: >>>>>> I am trying to install OpenBSD 4.6 on a old Libretto 70CT. The >>>>>> installation was finished without error but stuck at rebooting. >>>>>> >>>>>> Since no PCMCIA-floppy or PCMCIA-CD-ROM on hand, I booted the boot >>>>>> cdimage file by Grub4DOS and performed net install. Reboot run into >>>>>> kernel fault. dmesg as follows: >>>>>> OpenBSD 4.6 (GENERIC) #58: Thu Jul 9 21:24:42 MDT 2009 >>>>>> [email protected]:/usr/src/sys/arch/i386/compile/GENERIC >>>>>> cpu0: Intel Pentium/MMX ("GenuineIntel" 586-class) 121 MHz >>>>>> cpu0: FPU,V86,DE,PSE,TSC,MSR,MCE,CX8,MMX >>>>>> real mem = 33255424 (31MB) >>>>>> avail mem = 21803008 (20MB) >>>>>> mainbus0 (root) >>>>>> bios0 at mainbus0: AT/286+ BIOS, date 02/10/99 >>>>>> 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 >>>>>> isa0 at mainbus0 >>>>>> isadma0 at isa0 >>>>>> com0 at isa0 port 0x3f8/8 irq 4: ns16550a, 16 byte fifo >>>>>> com1 at isa0 port 0x2f8/8 irq 3: ns16550a, 16 byte fifo >>>>>> pckbc0 at isa0 port 0x60/5 >>>>>> 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 >>>>>> 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 >>>>>> opl0 at sb0: model OPL3 >>>>>> midi1 at opl0: <SB Yamaha OPL3> >>>>>> wss0 at isa0 port 0x530/8 irq 10 drq 0: CS4231 or AD1845 (vers 4) >>>>>> audio1 at wss0 >>>>>> pcppi0 at isa0 port 0x61 >>>>>> midi2 at pcppi0: <PC speaker> >>>>>> spkr0 at pcppi0 >>>>>> lpt0 at isa0 port 0x378/4 irq 7 >>>>>> 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 >>>>>> ep1 at pcmcia0 function 0 "3Com Corporation, 3C589D, TP/BNC LAN Card >>>>>> Ver. 2a" >>>>>> port 0x340/16, irq 9: address 00:60:97:cd:e8:e7, utp/aui/bnu (default >>>>>> utp) >>>>>> pcmcia1 at pcic0 controller 0 socket 1 >>>>>> pcic0: irq 11, polling enabled >>>>>> biomask e145 netmask e345 ttymask fbdf >>>>>> softraid0 at root >>>>>> kernel: integer divide fault trap, code=0 >>>>>> Stopped at cpu_switchto+0x76: ?? ?? ??popl ?? ??%ebx >>>>>> ddb>_ >>>>>> >>>>>> While trying boot /bsd.rd succeeded: >>>>>> OpenBSD 4.6 (GENERIC) #58: Thu Jul 9 21:24:42 MDT 2009 >>>>>> [email protected]:/usr/src/sys/arch/i386/compile/GENERIC >>>>>> cpu0: Intel Pentium/MMX ("GenuineIntel" 586-class) 121 MHz >>>>>> cpu0: FPU,V86,DE,PSE,TSC,MSR,MCE,CX8,MMX >>>>>> real mem = 33255424 (31MB) >>>>>> avail mem = 21803008 (20MB) >>>>>> mainbus0 (root) >>>>>> bios0 at mainbus0: AT/286+ BIOS, date 02/10/99 >>>>>> 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 >>>>>> isa0 at mainbus0 >>>>>> isadma0 at isa0 >>>>>> com0 at isa0 port 0x3f8/8 irq 4: ns16550a, 16 byte fifo >>>>>> com1 at isa0 port 0x2f8/8 irq 3: ns16550a, 16 byte fifo >>>>>> pckbc0 at isa0 port 0x60/5 >>>>>> 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 >>>>>> 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 >>>>>> 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 >>>>>> ep1 at pcmcia0 function 0 "3Com Corporation, 3C589D, TP/BNC LAN Card >>>>>> Ver. 2a" port 0x340/16, irq 9: address 00:60:97:cd:e8:e7, utp/aui/bnu >>>>>> (default utp) >>>>>> pcmcia1 at pcic0 controller 0 socket 1 >>>>>> pcic0: irq 5, polling enabled >>>>>> biomask fdc5 netmask ffc5 ttymask ffff >>>>>> softraid0 at root >>>>>> root on rd0a swap on rd0b dump on rd0b >>>>>> erase ^?, werase ^W, kill^U, intr ^C, status ^T >>>>>> >>>>>> Welcome to the OpenBSD/i386 4.6 installation program >>>>>> (I)nstall, (U)pgrade or (S)hell?_ >>>>>> >>>>>> Seems boot /bsd.rd skipped sound system & LPT, then assign pcic0 to irq >>>>>> 5 which was occupied by sound card. Then I tried disabling sound system >>>>>> & LPT, additionally softraid0, both in CMOS and boot_config, followed by >>>>>> manually assign pcic0 to irq 5. The kernel fault remained unchanged. >>>>>> Also, reinstallation did'nt help. I don't know what the problem is and >>>>>> what I could do. >>>>>> >>>>>> From what I've searched on internet, a similar piece of 70CT run as late >>>>>> as 4.0 with half of RAM(16MB) and a different PCMCIA ethernet card. Its >>>>>> dmesg can be found: http://www.crowsons.com/puters/dmesg_fcm.htm, >>>>>> roughly the same as mine. I was wondering whether it was my >>>>>> misconfiguration or simply 4.6 no longer support such a vintage. >>>>>> -- >>>>>> Hou, Ruoyu >>>>>> >>>>>> Laboratory of Reproductive & Stem Cell Biology, >>>>>> College of Life Science & Biotech., >>>>>> Shanghai Jiao Tong University, >>>>>> Shanghai 200240, P.R.China. >>>>>> >>>> -- >>>> Hou, Ruoyu >>>> >>>> Laboratory of Reproductive & Stem Cell Biology, >>>> College of Life Science & Biotech., >>>> Shanghai Jiao Tong University, >>>> Shanghai 200240, P.R.China. >> >> >> -- >> Hou Ruoyu >> [email protected] >> College of Life Science & Biotech. >> Shanghai Jiao Tong University >> Shanghai 200240 P.R.China > -- Hou, Ruoyu Laboratory of Reproductive & Stem Cell Biology, College of Life Science & Biotech., Shanghai Jiao Tong University, Shanghai 200240, P.R.China.

