USB umass detach panic

From: Anish Mistry <mistry.7_at_osu.edu>
Date: Sat, 23 Aug 2003 17:36:31 -0400
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

I'm getting a repeatable panic after updating my sources yesterday when 
inserting a usb sandisk sd/mmc card reader.  I couldn't get the dmesg output 
of the insertion, but I plugged it in, attach message, detach message , panic 
#0  doadump () at /usr/src/sys/kern/kern_shutdown.c:240
#1  0xc01c2372 in boot (howto=256) at /usr/src/sys/kern/kern_shutdown.c:372
#2  0xc01c26a7 in panic () at /usr/src/sys/kern/kern_shutdown.c:550
#3  0xc02bf536 in trap_fatal (frame=0xccd99c48, eva=0)
    at /usr/src/sys/i386/i386/trap.c:818
#4  0xc02bf1d2 in trap_pfault (frame=0xccd99c48, usermode=0, eva=16)
    at /usr/src/sys/i386/i386/trap.c:732
#5  0xc02bed95 in trap (frame=
      {tf_fs = 24, tf_es = 16, tf_ds = 16, tf_edi = -1029480496, tf_esi = 
- -10586
86976, tf_ebp = -858153816, tf_isp = -858153868, tf_ebx = -1030433024, tf_edx 
=
4, tf_ecx = 0, tf_eax = 0, tf_trapno = 12, tf_err = 0, tf_eip = -1029480432, 
tf_
cs = 8, tf_eflags = 66118, tf_esp = -1058686976, tf_ss = 608})
    at /usr/src/sys/i386/i386/trap.c:417
#6  0xc02afae8 in calltrap () at {standard input}:102
#7  0xc01d1728 in softclock (dummy=0x0) at 
/usr/src/sys/kern/kern_timeout.c:225
#8  0xc01afd72 in ithread_loop (arg=0xc0e63180)
    at /usr/src/sys/kern/kern_intr.c:534
#9  0xc01aeedf in fork_exit (callout=0xc01afc10 <ithread_loop>, arg=0x0,
    frame=0x0) at /usr/src/sys/kern/kern_fork.c:796

- --normal  dmesg--
Copyright (c) 1992-2003 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.1-CURRENT #6: Sat Aug 23 00:16:23 EDT 2003
    amistry_at_littleguy.am-productions.biz:/usr/obj/usr/src/sys/LITTLEGUY
Preloaded elf kernel "/boot/kernel/kernel" at 0xc0401000.
Preloaded elf module "/boot/kernel/acpi.ko" at 0xc0401244.
Timecounter "i8254" frequency 1193182 Hz quality 0
CPU: Transmeta(tm) Crusoe(tm) Processor TM5800 (859.34-MHz 586-class CPU)
  Origin = "GenuineTMx86"  Id = 0x543
real memory  = 251527168 (239 MB)
avail memory = 239869952 (228 MB)
npx0: <math processor> on motherboard
npx0: INT 16 interface
acpi0: <FUJ    PAULING2> on motherboard
pcibios: BIOS version 2.10
Using $PIR table, 9 entries at 0xc00fdf30
acpi0: power button is handled as a fixed feature programming model.
Timecounter "ACPI-safe" frequency 3579545 Hz quality 1000
acpi_timer0: <24-bit timer at 3.579545MHz> port 0xff08-0xff0b on acpi0
acpi_cpu0: <CPU> on acpi0
pcib0: <ACPI Host-PCI bridge> port 0xcf8-0xcff on acpi0
pci0: <ACPI PCI bus> on pcib0
pcib0: slot 2 INTA is routed to irq 11
pcib0: slot 4 INTA is routed to irq 9
pcib0: slot 12 INTA is routed to irq 9
pcib0: slot 16 INTA is routed to irq 9
pcib0: slot 19 INTA is routed to irq 9
pcib0: slot 20 INTA is routed to irq 9
pci0: <memory, RAM> at device 0.1 (no driver attached)
pci0: <memory, RAM> at device 0.2 (no driver attached)
pci0: <serial bus, USB> at device 2.0 (no driver attached)
pci0: <multimedia, audio> at device 4.0 (no driver attached)
pci0: <bridge, PCI-unknown> at device 6.0 (no driver attached)
isab0: <PCI-ISA bridge> at device 7.0 on pci0
isa0: <ISA bus> on isab0
pci0: <bridge, PCI-CardBus> at device 12.0 (no driver attached)
atapci0: <AcerLabs Aladdin UDMA66 controller> port 0x1400-0x140f at device 
15.0 on pci0
ata0: at 0x1f0 irq 14 on atapci0
ata1: at 0x170 irq 15 on atapci0
rl0: <RealTek 8139 10/100BaseTX, rev. C> port 0x8000-0x80ff mem 
0xfc102000-0xfc1020ff irq 9 at device 16.0 on pci0
rl0: Ethernet address: 00:e0:00:ae:45:08
miibus0: <MII bus> on rl0
rlphy0: <RealTek internal media interface> on miibus0
rlphy0:  10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto
pci0: <serial bus, FireWire> at device 19.0 (no driver attached)
pci0: <display, VGA> at device 20.0 (no driver attached)
acpi_button0: <Power Button> on acpi0
acpi_acad0: <AC adapter> on acpi0
acpi_cmbat0: <Control method Battery> on acpi0
acpi_cmbat1: <Control method Battery> on acpi0
acpi_lid0: <Control Method Lid Switch> on acpi0
atkbdc0: <Keyboard controller (i8042)> port 0x64,0x60 irq 1 on acpi0
atkbd0: <AT Keyboard> flags 0x1 irq 1 on atkbdc0
kbd0 at atkbd0
psm0: <PS/2 Mouse> irq 12 on atkbdc0
psm0: model Generic PS/2 mouse, device ID 0
acpi_ec0: <embedded controller: GPE 0> port 0x66,0x62 on acpi0
orm0: <Option ROMs> at iomem 0xd0000-0xd0fff,0xc0000-0xcffff on isa0
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
Timecounter "TSC" frequency 859337612 Hz quality 800
Timecounters tick every 10.000 msec
acpi_cpu0: set speed to 100.0%
acpi_cpu: throttling enabled, 8 steps (100% to 12.5%), currently 100.0%
acpi_acad0: acline initialization start
acpi_acad0: On Line
acpi_acad0: acline initialization done, tried 1 times
acpi_cmbat0: battery initialization start
acpi_cmbat0: battery initialization done, tried 1 times
acpi_cmbat1: battery initialization start
ad0: 19077MB <TOSHIBA MK2018GAP> [38760/16/63] at ata0-master UDMA66
acd0: CD-RW <TOSHIBA DVD-ROM SD-R2212> at ata1-master PIO4
cd0 at ata1 bus 0 target 0 lun 0
cd0: <TOSHIBA DVD-ROM SD-R2212 1F15> Removable CD-ROM SCSI-0 device
cd0: 16.000MB/s transfers
cd0: cd present [262257 x 2048 byte records]
Mounting root from ufs:/dev/ad0s2a
WARNING: /usr was not properly dismounted
WARNING: /var was not properly dismounted
acpi_cmbat1: battery initialization failed, giving up
ohci0: <AcerLabs M5237 (Aladdin-V) USB controller> mem 0xfc100000-0xfc100fff 
irq 11 at device 2.0 on pci0
usb0: OHCI version 1.0, legacy support
usb0: <AcerLabs M5237 (Aladdin-V) USB controller> on ohci0
usb0: USB revision 1.0
uhub0: AcerLabs OHCI root hub, class 9/0, rev 1.00/1.00, addr 1
uhub0: 2 ports with 2 removable, self powered
ums0: Kensington ? Pocket Mouse Pro Wireless, rev 1.10/0.01, addr 2, iclass 
3/1
ums0: 3 buttons and Z dir.
pcm0: <Acer Labs M5451> port 0x1000-0x10ff mem 0xfc101000-0xfc101fff irq 9 at 
device 4.0 on pci0
pcm0: <SigmaTel STAC9756/57 AC97 Codec>

- --pciconf--
hostb0_at_pci0:0:0:	class=0x060000 card=0x110e10cf chip=0x03951279 rev=0x02 
hdr=0x00
    vendor   = 'Transmeta Corp.'
    device   = 'LongRun Northbridge'
    class    = bridge
    subclass = HOST-PCI
none0_at_pci0:0:1:	class=0x050000 card=0x110e10cf chip=0x03961279 rev=0x00 
hdr=0x00
    vendor   = 'Transmeta Corp.'
    device   = 'SDRAM Controller'
    class    = memory
    subclass = RAM
none1_at_pci0:0:2:	class=0x050000 card=0x110e10cf chip=0x03971279 rev=0x00 
hdr=0x00
    vendor   = 'Transmeta Corp.'
    device   = 'BIOS scratchpad'
    class    = memory
    subclass = RAM
none2_at_pci0:2:0:	class=0x0c0310 card=0x10a210cf chip=0x523710b9 rev=0x03 
hdr=0x00
    vendor   = 'Acer Labs Incorporated (ALi)'
    device   = 'ALI M5237 USB Host Controller'
    class    = serial bus
    subclass = USB
none3_at_pci0:4:0:	class=0x040100 card=0x112f10cf chip=0x545110b9 rev=0x01 
hdr=0x00
    vendor   = 'Acer Labs Incorporated (ALi)'
    device   = 'ALI M5451 PCI AC-Link Controller Audio Device'
    class    = multimedia
    subclass = audio
none4_at_pci0:6:0:	class=0x068000 card=0x10a310cf chip=0x710110b9 rev=0x00 
hdr=0x00
    vendor   = 'Acer Labs Incorporated (ALi)'
    device   = 'ALI M7101 Power Management Controller'
    class    = bridge
    subclass = PCI-unknown
isab0_at_pci0:7:0:	class=0x060100 card=0x153310b9 chip=0x153310b9 rev=0x00 
hdr=0x00
    vendor   = 'Acer Labs Incorporated (ALi)'
    device   = 'ALI M1533 Aladdin IV ISA Bridge'
    class    = bridge
    subclass = PCI-ISA
none5_at_pci0:12:0:	class=0x060700 card=0x10c610cf chip=0xac50104c rev=0x01 
hdr=0x02
    vendor   = 'Texas Instruments (TI)'
    device   = 'PCI1410 PC card cardBus Controller'
    class    = bridge
    subclass = PCI-CardBus
atapci0_at_pci0:15:0:	class=0x0101fa card=0x10a410cf chip=0x522910b9 rev=0xc3 
hdr=0x00
    vendor   = 'Acer Labs Incorporated (ALi)'
    device   = 'M1543 Southbridge EIDE Controller'
    class    = mass storage
    subclass = ATA
rl0_at_pci0:16:0:	class=0x020000 card=0x111c10cf chip=0x813910ec rev=0x10 
hdr=0x00
    vendor   = 'Realtek Semiconductor'
    device   = 'RT8139 (A/B/C/8130) Fast Ethernet Adapter'
    class    = network
    subclass = ethernet
none6_at_pci0:19:0:	class=0x0c0010 card=0x116210cf chip=0x8026104c rev=0x00 
hdr=0x00
    vendor   = 'Texas Instruments (TI)'
    device   = 'TSB43AB21 1394a-2000 OHCI PHY/link-layer Controller'
    class    = serial bus
    subclass = FireWire
none7_at_pci0:20:0:	class=0x030000 card=0x114f10cf chip=0x4c521002 rev=0x64 
hdr=0x00
    vendor   = 'ATI Technologies'
    device   = 'Rage P/M Mobility PCI'
    class    = display
    subclass = VGA

- -- 
Anish Mistry
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.2 (FreeBSD)

iD8DBQE/R95qxqA5ziudZT0RAhRXAJ4yNJ77RMLSfIOFufVZP7kntKhAbgCgsaLZ
s/vcJYlPN82r8BbL5NaRpVs=
=sZdd
-----END PGP SIGNATURE-----
Received on Sat Aug 23 2003 - 12:47:59 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:37:19 UTC