On 11/18/09, Hou, Ruoyu <phoenixhou@gmail.com> wrote:
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
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
deraadt@i386.openbsd.org:/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...
mainbus0 at root
bios0 at mainbus0: AT/286+ BIOS, date 11/11/97
apm0 at bios0: Power Management spec V1.2
apm0: battery life expectancy 1%
apm0: AC on, battery charge low, 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
com0: console
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
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
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> 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