5.4-STABLE kernel panic - usb related?

Mars Trading marstrade at gmail.com
Tue Apr 5 00:23:51 PDT 2005


Got a kernel panic starting mgetty on ucom devices from 5.4-STABLE 
as of 5-APR-0400 UTC.  Wasn't able to copy the panic message though.

Here's the kgdb backtrace:

#0  doadump () at pcpu.h:159
#1  0xc04bd35e in boot (howto=260) 
at /usr/src/sys/kern/kern_shutdown.c:410
#2  0xc04bd686 in panic (fmt=0xc063db27 "%s")
    at /usr/src/sys/kern/kern_shutdown.c:566
#3  0xc0620690 in trap_fatal (frame=0xcbee19ec, eva=0)
    at /usr/src/sys/i386/i386/trap.c:809
#4  0xc06203a3 in trap_pfault (frame=0xcbee19ec, usermode=0, eva=76)
    at /usr/src/sys/i386/i386/trap.c:727
#5  0xc061ff7d in trap (frame=
      {tf_fs = 24, tf_es = 16, tf_ds = 16, tf_edi = 0, tf_esi = 
-1043925120, tf_ebp = -873588140, tf_isp = -873588200, tf_ebx = 
-1040863232, tf_edx = 0, tf_ecx = -1046884544, tf_eax = 0, 
tf_trapno = 12, tf_err = 0, tf_eip = -1069063351, tf_cs = 8, 
tf_eflags = 66118, tf_esp = -1046896640, tf_ss = -873588152})
    at /usr/src/sys/i386/i386/trap.c:417
#6  0xc060e2aa in calltrap () 
at /usr/src/sys/i386/i386/exception.s:140
#7  0x00000018 in ?? ()
#8  0x00000010 in ?? ()
#9  0x00000010 in ?? ()
#10 0x00000000 in ?? ()
#11 0xc1c6f780 in ?? ()
#12 0xcbee1a54 in ?? ()
#13 0xcbee1a18 in ?? ()
#14 0xc1f5b000 in ?? ()
#15 0x00000000 in ?? ()
#16 0xc199cf40 in ?? ()
#17 0x00000000 in ?? ()
#18 0x0000000c in ?? ()
#19 0x00000000 in ?? ()
#20 0xc0476349 in usb_transfer_complete (xfer=0xc1f5b000)
    at /usr/src/sys/dev/usb/usbdi.c:833
#21 0xc046e784 in uhci_abort_xfer (xfer=0xc1f5b000,
    status=USBD_NORMAL_COMPLETION) 
at /usr/src/sys/dev/usb/uhci.c:2022
#22 0xc046e5d9 in uhci_device_bulk_abort (xfer=0x0)
    at /usr/src/sys/dev/usb/uhci.c:1921
#23 0xc0476259 in usbd_ar_pipe (pipe=0xc1c6f780)
    at /usr/src/sys/dev/usb/usbdi.c:762
#24 0xc0475f01 in usbd_abort_pipe (pipe=0x0)
    at /usr/src/sys/dev/usb/usbdi.c:556
#25 0xc0c1f307 in ?? ()
#26 0xc1c6f780 in ?? ()
#27 0xcbee1ad8 in ?? ()
#28 0xc0c1edc8 in ?? ()
#29 0xc1a19400 in ?? ()
#30 0x00000001 in ?? ()
#31 0xc1a1a400 in ?? ()
#32 0x00000003 in ?? ()
#33 0xc18fb180 in ?? ()
#34 0xcbee1af0 in ?? ()
#35 0xc04f18a4 in ttyflush (tp=0xc1a19400, rw=-1046371328)
    at /usr/src/sys/kern/tty.c:1420
Previous frame inner to this frame (corrupt stack?)

Funny thing is i only got it the first time.  Tried it again after a 
reboot and it worked.  Hope this info will be of some use.

dmesg:
Copyright (c) 1992-2005 The FreeBSD Project.
Copyright (c) 1979, 1980, 1983, 1986, 1988, 1989, 1991, 1992, 1993, 
1994
        The Regents of the University of California. All rights 
reserved.
FreeBSD 5.4-STABLE #0: Tue Apr  5 14:11:56 PHT 2005
    root at go.ubc.pldt.net:/usr/obj/usr/src/sys/GO
Timecounter "i8254" frequency 1193182 Hz quality 0
CPU: AMD Athlon(tm) Processor (751.33-MHz 686-class CPU)
  Origin = "AuthenticAMD"  Id = 0x642  Stepping = 2
  
Features=0x183f9ff<FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,MMX,FXSR>
  AMD Features=0xc0440000<RSVD,AMIE,DSP,3DNow!>
real memory  = 268369920 (255 MB)
avail memory = 248782848 (237 MB)
npx0: <math processor> on motherboard
npx0: INT 16 interface
acpi0: <FIC AZ11> on motherboard
acpi0: Power Button (fixed)
Timecounter "ACPI-fast" frequency 3579545 Hz quality 1000
acpi_timer0: <24-bit timer at 3.579545MHz> port 0x4008-0x400b on 
acpi0
cpu0: <ACPI CPU (3 Cx states)> on acpi0
acpi_throttle0: <ACPI CPU Throttling> on cpu0
acpi_button0: <Power Button> on acpi0
pcib0: <ACPI Host-PCI bridge> port 
0x6000-0x607f,0x5000-0x500f,0x4080-0x40ff,0x4000-0x407f,0xcf8-0xcff 
on acpi0
pci0: <ACPI PCI bus> on pcib0
pcib1: <PCI-PCI bridge> at device 1.0 on pci0
pci1: <PCI bus> on pcib1
nvidia0: <GeForce4 MX 440> mem 
0xd8000000-0xd807ffff,0xd0000000-0xd7ffffff,0xe2000000-0xe2ffffff 
irq 10 at device 0.0 on pci1
uhci0: <VIA 83C572 USB controller> port 0xc000-0xc01f irq 5 at 
device 5.0 on pci0
usb0: <VIA 83C572 USB controller> on uhci0
usb0: USB revision 1.0
uhub0: VIA UHCI root hub, class 9/0, rev 1.00/1.00, addr 1
uhub0: 2 ports with 2 removable, self powered
uhci1: <VIA 83C572 USB controller> port 0xc400-0xc41f irq 11 at 
device 5.1 on pci0
usb1: <VIA 83C572 USB controller> on uhci1
usb1: USB revision 1.0
uhub1: VIA UHCI root hub, class 9/0, rev 1.00/1.00, addr 1
uhub1: 2 ports with 2 removable, self powered
ehci0: <VIA VT6202 USB 2.0 controller> mem 0xe5001000-0xe50010ff irq 
10 at device 5.2 on pci0
usb2: EHCI version 1.0
usb2: companion controllers, 2 ports each: usb0 usb1
usb2: <VIA VT6202 USB 2.0 controller> on ehci0
usb2: USB revision 2.0
uhub2: VIA EHCI root hub, class 9/0, rev 2.00/1.00, addr 1
uhub2: 4 ports with 4 removable, self powered
xl0: <3Com 3c905C-TX Fast Etherlink XL> port 0xc800-0xc87f mem 
0xe5000000-0xe500007f irq 11 at device 6.0 on pci0
miibus0: <MII bus> on xl0
ukphy0: <Generic IEEE 802.3u media interface> on miibus0
ukphy0:  10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto
xl0: Ethernet address: 00:04:75:98:bb:d3
lnc0: <PCNet/PCI Ethernet adapter> port 0xcc00-0xcc1f mem 
0xe5002000-0xe500201f irq 10 at device 7.0 on pci0
lnc0: Attaching PCNet/PCI Ethernet adapter
lnc0: Ethernet address: 00:00:f4:ae:0f:2d
lnc0: if_start running deferred for Giant
lnc0: PCnet-PCI
isab0: <PCI-ISA bridge> at device 20.0 on pci0
isa0: <ISA bus> on isab0
atapci0: <VIA 82C686A UDMA66 controller> port 
0xd000-0xd00f,0x376,0x170-0x177,0x3f6,0x1f0-0x1f7 at device 20.1 on 
pci0
ata0: channel #0 on atapci0
ata1: channel #1 on atapci0
uhci2: <VIA 83C572 USB controller> port 0xd400-0xd41f irq 11 at 
device 20.2 on pci0
usb3: <VIA 83C572 USB controller> on uhci2
usb3: USB revision 1.0
uhub3: VIA UHCI root hub, class 9/0, rev 1.00/1.00, addr 1
uhub3: 2 ports with 2 removable, self powered
pcm0: <VIA VT82C686A> port 0xe400-0xe403,0xe000-0xe003,0xdc00-0xdcff 
irq 5 at device 20.5 on pci0
pcm0: <SigmaTel STAC9700/83/84 AC97 Codec>
fdc0: <floppy drive controller> port 0x3f7,0x3f0-0x3f5 irq 6 drq 2 
on acpi0
fd0: <1440-KB 3.5" drive> on fdc0 drive 0
sio0: <16550A-compatible COM port> port 0x3f8-0x3ff irq 4 flags 0x10 
on acpi0
sio0: type 16550A
ppc0: <Standard parallel printer port> port 0x378-0x37f irq 7 on 
acpi0
ppc0: Generic chipset (EPP/NIBBLE) in COMPATIBLE mode
ppbus0: <Parallel port bus> on ppc0
lpt0: <Printer> on ppbus0
lpt0: Interrupt-driven port
atkbdc0: <Keyboard controller (i8042)> port 0x64,0x60 irq 1 on acpi0
atkbd0: <AT Keyboard> irq 1 on atkbdc0
kbd0 at atkbd0
psm0: <PS/2 Mouse> irq 12 on atkbdc0
psm0: model Generic PS/2 mouse, device ID 0
pmtimer0 on isa0
sc0: <System console> at flags 0x100 on isa0
sc0: VGA <16 virtual consoles, flags=0x300>
vga0: <Generic ISA VGA> at port 0x3c0-0x3df iomem 0xa0000-0xbffff on 
isa0
ucom0: Prolific Technology Inc. USB-Serial Controller, rev 
1.10/3.00, addr 2
ucom1: Prolific Technology Inc. USB-Serial Controller, rev 
1.10/3.00, addr 3
Timecounter "TSC" frequency 751333486 Hz quality 800
Timecounters tick every 10.000 msec
ad0: 39205MB <Maxtor 6E040L0/NAR61EA0> [79656/16/63] at ata0-master 
UDMA66
acd0: DVDROM <DVD-ROM DDU1621/VER S4.0> at ata1-slave UDMA33
Mounting root from ufs:/dev/ad0s1a

Dennis
-- 
Mars Trading
9620 Kamagong St., Makati,
Manila, Philippines
Phone: (632) 8952241
FAX: (632) 8996124
email: marstrade at gmail.com


More information about the freebsd-stable mailing list