On 11/18/09, Hou, Ruoyu <[email protected]> wrote: > 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
Hi misc@, I tried this again with 23 Nov 09 snapshot, but it is still crashing with an integer divide fault trap, as per PR 6052 [1]. The verbose output of dmesg and the ps and trace are included below [2]. The Libretto 70CT works fine with OpenBSD 4.3. This is not a major issue, I'm just fond of my Libretto 70CT and want it running the latest and greatest OS with 4.6 :~) I am happy to continue debugging this issue but would be keen to have any pointers in the right direction. Thanks, Fred [1] http://cvs.openbsd.org/cgi-bin/query-pr-wrapper?full=yes&numbers=6052 [2]The verbose output is shown below: Script started on Mon Nov 23 23:11:23 2009 x41:fred ~> cu -l /dev/cuaU0 -s19200 Connected >> OpenBSD/i386 BOOT 3.02 boot> bsd -c booting hd0a:bsd: /-\|/6774012-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/- \|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\ |/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\| /-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/ -\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/- \|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\+1054568 [52+352880|/-\|/-\|/-\|/-\|/-\|/+335902-\|/-\|/-\|/-\|/-\|/]=0x81f89c entry point at 0x200120 [ using 689208 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-2009 OpenBSD. All rights reserved. http://www.OpenBSD.org OpenBSD 4.6-current (GENERIC) #391: Mon Nov 23 05:29:52 MST 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 = 16478208 (15MB) avail mem = 7233536 (6MB) User Kernel Config UKC> verbose autoconf verbose enabled UKC> quit Continuing... >>> probing for mainbus0 >>> mainbus probe returned 1 mainbus0 at root >>> probing for pci* >>> pci probe returned 0 >>> probing for amdmsr0 >>> amdmsr probe returned 0 >>> probing for isa0 >>> isa probe returned 0 >>> probing for eisa0 >>> eisa probe returned 0 >>> probing for bios0 >>> bios probe returned 1 >>> probing for cpu0 >>> cpu probe returned 0 >>> probing for ioapic* >>> ioapic probe returned 0 >>> probing for esm0 >>> esm probe returned 0 >>> bios probe won bios0 at mainbus0: AT/286+ BIOS, date 11/11/97 >>> probing for apm0 >>> apm probe returned 1 >>> probing for mpbios0 >>> mpbios probe returned 0 >>> probing for pcibios0 >>> pcibios probe returned 0 >>> probing for acpi0 >>> acpi probe returned 0 >>> apm probe won apm0 at bios0: Power Management spec V1.2 apm0: battery life expectancy 1% apm0: AC on, battery charge low, charging >>> probing for mpbios0 >>> mpbios probe returned 0 >>> probing for pcibios0 >>> pcibios probe returned 0 >>> probing for acpi0 >>> acpi probe returned 0 >>> no winning probe pcibios at bios0 function 0x1a not configured bios0: ROM list: 0xe4000/0xc000 >>> probing for pci* >>> pci probe returned 0 >>> probing for amdmsr0 >>> amdmsr probe returned 0 >>> probing for isa0 >>> isa probe returned 0 >>> probing for eisa0 >>> eisa probe returned 0 >>> probing for cpu0 >>> cpu probe returned 1 >>> probing for ioapic* >>> ioapic probe returned 0 >>> probing for esm0 >>> esm probe returned 0 >>> cpu probe won cpu0 at mainbus0: (uniprocessor) cpu0: F00F bug workaround installed >>> probing for pci* >>> pci probe returned 0 >>> probing for amdmsr0 >>> amdmsr probe returned 0 >>> probing for isa0 >>> isa probe returned 1 >>> probing for eisa0 >>> eisa probe returned 0 >>> probing for ioapic* >>> ioapic probe returned 0 >>> probing for esm0 >>> esm probe returned 0 >>> isa probe won isa0 at mainbus0 >>> probing for isadma0 >>> probing for isadma0 succeeded isadma0 at isa0 >>> probing for ast0 >>> probing for ast0 failed >>> probing for com0 >>> probing for com0 succeeded com0 at isa0 port 0x3f8/8 irq 4: ns16550a, 16 byte fifo com0: console >>> probing for com1 >>> probing for com1 succeeded com1 at isa0 port 0x2f8/8 irq 3: ns16550a, 16 byte fifo >>> probing for com2 >>> probing for com2 failed >>> probing for cy0 >>> probing for cy0 failed >>> probing for pckbc0 >>> probing for pckbc0 succeeded pckbc0 at isa0 port 0x60/5 >>> probing for pckbd* >>> pckbd probe returned 2 >>> probing for pms* >>> pms probe returned 0 >>> probing for pmsi* >>> pmsi probe returned 0 >>> pckbd probe won pckbd0 at pckbc0 (kbd slot) pckbc0: using irq 1 for kbd slot >>> probing for wskbd* >>> wskbd probe returned 1 >>> wskbd probe won wskbd0 at pckbd0: console keyboard >>> probing for pckbd* >>> pckbd probe returned 0 >>> probing for pms* >>> pms probe returned 10 >>> probing for pmsi* >>> pmsi probe returned 0 >>> pms probe won pms0 at pckbc0 (aux slot) pckbc0: using irq 12 for aux slot >>> probing for wsmouse* >>> wsmouse probe returned 1 >>> wsmouse probe won wsmouse0 at pms0 mux 0 >>> probing for vga0 >>> probing for vga0 succeeded vga0 at isa0 port 0x3b0/48 iomem 0xa0000/131072 >>> probing for inteldrm* >>> inteldrm probe returned 0 >>> probing for radeondrm* >>> radeondrm probe returned 0 >>> probing for intagp* >>> intagp probe returned 0 >>> probing for wsdisplay* >>> wsdisplay probe returned 1 >>> wsdisplay probe won wsdisplay0 at vga0 mux 1: console (80x25, vt100 emulation), using wskbd0 wsdisplay0: screen 1-5 added (80x25, vt100 emulation) >>> probing for pcdisplay0 >>> probing for pcdisplay0 failed >>> probing for bha0 >>> probing for bha0 failed >>> probing for aic0 >>> probing for aic0 failed >>> probing for aha0 >>> probing for aha0 failed >>> probing for aha1 >>> probing for aha1 failed >>> probing for uha0 >>> probing for uha0 failed >>> probing for wdc0 >>> probing for wdc0 succeeded wdc0 at isa0 port 0x1f0/8 irq 14 >>> probing for atapiscsi* >>> atapiscsi probe returned 0 >>> probing for wd* >>> wd probe returned 1 >>> wd probe won 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 >>> probing for wdc1 >>> probing for wdc1 failed >>> probing for lc0 >>> probing for lc0 failed >>> probing for lc1 >>> probing for lc1 failed >>> probing for ne0 >>> probing for ne0 failed >>> probing for ne1 >>> probing for ne1 failed >>> probing for ne2 >>> probing for ne2 failed >>> probing for we0 >>> probing for we0 failed >>> probing for we1 >>> probing for we1 failed >>> probing for ec0 >>> probing for ec0 failed >>> probing for ep0 >>> probing for ep0 failed >>> probing for ep* >>> probing for ep* finished >>> probing for ie0 >>> probing for ie0 failed >>> probing for ex0 >>> probing for ex0 failed >>> probing for le0 >>> probing for le0 failed >>> probing for sm0 >>> probing for sm0 failed >>> probing for mpu* >>> probing for mpu* finished >>> probing for sb0 >>> probing for sb0 succeeded sb0 at isa0 port 0x220/24 irq 5 drq 1: dsp v3.01 >>> probing for audio* >>> audio probe returned 0 >>> probing for midi* >>> midi probe returned 1 >>> probing for opl* >>> opl probe returned 0 >>> midi probe won midi0 at sb0: <SB MIDI UART> >>> probing for audio* >>> audio probe returned 1 >>> probing for midi* >>> midi probe returned 0 >>> probing for opl* >>> opl probe returned 0 >>> audio probe won audio0 at sb0 >>> probing for audio* >>> audio probe returned 0 >>> probing for midi* >>> midi probe returned 0 >>> probing for opl* >>> opl probe returned 3 >>> opl probe won opl0 at sb0: model OPL3 >>> probing for midi* >>> midi probe returned 1 >>> midi probe won midi1 at opl0: <SB Yamaha OPL3> >>> probing for pas0 >>> probing for pas0 failed >>> probing for pss0 >>> probing for pss0 failed >>> probing for wss0 >>> probing for wss0 succeeded wss0 at isa0 port 0x530/8 irq 10 drq 0: CS4231 or AD1845 (vers 4) >>> probing for audio* >>> audio probe returned 1 >>> audio probe won audio1 at wss0 >>> probing for gus0 >>> probing for gus0 failed >>> probing for pcppi0 >>> probing for pcppi0 succeeded pcppi0 at isa0 port 0x61 >>> probing for midi* >>> midi probe returned 1 >>> probing for spkr0 >>> spkr probe returned 1 >>> midi probe won midi2 at pcppi0: <PC speaker> >>> probing for midi* >>> midi probe returned 0 >>> probing for spkr0 >>> spkr probe returned 1 >>> spkr probe won spkr0 at pcppi0 >>> probing for midi* >>> midi probe returned 0 >>> no winning probe >>> probing for lpt0 >>> probing for lpt0 succeeded lpt0 at isa0 port 0x378/4 irq 7 >>> probing for lpt1 >>> probing for lpt1 failed >>> probing for lpt2 >>> probing for lpt2 failed >>> probing for wbsio* >>> probing for wbsio* finished >>> probing for wbsio* >>> probing for wbsio* finished >>> probing for schsio* >>> probing for schsio* finished >>> probing for schsio* >>> probing for schsio* finished >>> probing for schsio* >>> probing for schsio* finished >>> probing for schsio* >>> probing for schsio* finished >>> probing for lm0 >>> probing for lm0 failed >>> probing for fins0 >>> probing for fins0 failed >>> probing for nsclpcsio* >>> probing for nsclpcsio* finished >>> probing for nsclpcsio* >>> probing for nsclpcsio* finished >>> probing for gscsio* >>> probing for gscsio* finished >>> probing for gscsio* >>> probing for gscsio* finished >>> probing for it* >>> probing for it* finished >>> probing for it* >>> probing for it* finished >>> probing for viasio* >>> probing for viasio* finished >>> probing for viasio* >>> probing for viasio* finished >>> probing for aps0 >>> probing for aps0 failed >>> probing for npx0 >>> probing for npx0 succeeded npx0 at isa0 port 0xf0/16: reported by CPUID; using exception 16 >>> probing for lms0 >>> probing for lms0 failed >>> probing for lms1 >>> probing for lms1 failed >>> probing for mms0 >>> probing for mms0 failed >>> probing for mms1 >>> probing for mms1 failed >>> probing for fdc0 >>> probing for fdc0 failed >>> probing for isapnp0 >>> probing for isapnp0 failed >>> probing for pcic0 >>> probing for pcic0 succeeded pcic0 at isa0 port 0x3e0/2 iomem 0xd0000/65536 pcic0 controller 0: <Intel 82365SL rev 1> has sockets A and B >>> probing for pcmcia* >>> pcmcia probe returned 1 >>> pcmcia probe won pcmcia0 at pcic0 controller 0 socket 0 >>> probing for ep* >>> ep probe returned 0 >>> probing for ne* >>> ne probe returned 0 >>> probing for wi* >>> wi probe returned 0 >>> probing for an* >>> an probe returned 0 >>> probing for malo* >>> malo probe returned 0 >>> probing for com* >>> com probe returned 0 >>> probing for aic* >>> aic probe returned 0 >>> probing for wdc* >>> wdc probe returned 0 >>> probing for sm* >>> sm probe returned 0 >>> probing for xe* >>> xe probe returned 1 >>> probing for ray* >>> ray probe returned 0 >>> xe probe won xe0 at pcmcia0 function 0 "Xircom, CreditCard 10Base-T, PS-CE2-10" port 0x340/16, irq 9: address 00:80:c7:42:37:d9 >>> probing for pcmcia* >>> pcmcia probe returned 1 >>> pcmcia probe won pcmcia1 at pcic0 controller 0 socket 1 pcic0: irq 11, polling enabled >>> probing for pcic1 >>> probing for pcic1 failed >>> probing for pcic2 >>> probing for pcic2 failed biomask e145 netmask e345 ttymask fbdf >>> probing for vscsi0 >>> vscsi probe returned 1 vscsi0 at root >>> probing for scsibus* >>> scsibus probe returned 1 >>> scsibus probe won scsibus0 at vscsi0: 256 targets >>> probing for softraid0 >>> softraid probe returned 1 softraid0 at root kernel: integer divide fault trap, code=0 Stopped at cpu_switchto+0x76: popl %ebx 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 -1 0 0 3 0x80200 wdccmd swapper ddb> trace cpu_switchto(d0852554,d0bdb800,d0a21f18,d0376839,d0bdb800) at cpu_switchto+0x76 cfdata(d0bdb800,d0bdb800,0,0,d100a984) at cfdata+0x44e8 config_attach(0,d084b0a4,0,0,d073db77) at config_attach+0xfd config_rootfound(d073dbc0,0,d0a21fa0,d0360f4f,2) at config_rootfound+0x27 main(0,0,0,0,0) at main+0x4b3 ddb> boot poweroff Attempting to power down... ~ [EOT] x41:fred ~> exit Script done on Mon Nov 23 23:30:35 2009

