I had a panic when I attempted to mount a usb stick today. This particular
stick seems to work fine on Windows machines without error.
A dmesg follows the ddb output.
--- messages on insert:
umass0 at uhub3 port 5 configuration 1 interface 0
umass0: SanDisk Corporation Cruzer Mini, rev 2.00/1.02, addr 2
umass0: using SCSI over Bulk-Only
scsibus1 at umass0: 2 targets
sd0 at scsibus1 targ 1 lun 0: <Generic, STORAGE DEVICE, 1.02> SCSI0 0/direct
removable
sd0: 250MB, 250 cyl, 64 head, 32 sec, 512 bytes/sec, 512000 sec total
umass0: Invalid CSW: tag 50 should be 51
--- panic, ddb trace & ps:
panic: ehci_device_clear_toggle: queue active
Stopped at Debugger+0x4: leave
RUN AT LEAST 'trace' AND 'ps' AND INCLUDE OUTPUT WHEN REPORTING THIS PANIC!
DO NOT EVEN BOTHER REPORTING THIS WITHOUT INCLUDING THAT INFORMATION!
ddb> trace
Debugger(d0730ec0,7fffffff,e7b57ebc,d1a73600,0) at Debugger+0x4
panic(d0637f80,0,0,e7b57eac,d02025e9) at panic+0x63
ehci_noop(d1898300,40,e7b57edc,d03240e0,d06f51c8) at ehci_noop
usbd_clear_endpoint_toggle(d1898300,40,e7b57efc,d15e0b00,d15e0b00) at
usbd_clear_endpoint_toggle+0x10
umass_clear_endpoint_stall(d1a73600,0,d15d9e00,d12e7000) at
umass_clear_endpoint_stall+0x28
usb_transfer_complete(d15e0b00,2614221,e7b57f5c,d0322e8d,d8d80) at
usb_transfer_complete+0x17a
ehci_abort_xfer(d15e0b00,f,e7b57f8c,d05d105c,d15e0b6c) at ehci_abort_xfer+0x132
ehci_timeout_task(d15e0b00,d0863e88,d0200c29,d69425a0,d69425a0) at
ehci_timeout_task+0x1e
usb_task_thread(d69425a0) at usb_task_thread+0x44
Bad frame pointer: 0xd0863e88
ddb> ps
PID PPID PGRP UID S FLAGS WAIT COMMAND
31037 29122 29122 1000 3 0x4006 scsicmd mount_msdos
29122 9842 29122 1000 3 0x4086 wait mount
2237 7565 10055 503 3 0x8c netio postgres
16372 7565 10055 503 3 0x8c netio postgres
6808 1 6808 557 3 0x184 bpf snort
23030 1 23030 557 3 0x184 bpf snort
9842 1 9842 1000 3 0x4086 pause tcsh
18821 21000 18821 1001 3 0x44186 nanosleep authpf
21000 6863 6863 1001 3 0x184 select sshd
6863 30060 6863 0 3 0x4184 netio sshd
2423 1 2423 1000 3 0x4086 ttyin tcsh
15186 1 15186 0 3 0x4086 ttyin getty
23135 8285 8285 73 3 0x184 poll syslogd
8285 1 8285 0 3 0x84 netio syslogd
2500 14515 14515 67 3 0x184 semwait httpd
16000 1 16000 0 3 0x84 select mountd
8682 14515 14515 67 3 0x184 semwait httpd
16449 14515 14515 67 3 0x184 semwait httpd
21179 14515 14515 67 3 0x184 semwait httpd
23796 14515 14515 67 3 0x184 semwait httpd
18609 14515 14515 67 3 0x184 semwait httpd
28825 14515 14515 67 3 0x184 semwait httpd
800 14515 14515 67 3 0x184 select httpd
14515 1 14515 67 3 0x184 select httpd
30452 1 30452 0 3 0x4086 ttyin getty
23523 1 23523 0 3 0x4086 ttyin getty
22639 1 22639 0 3 0x84 select cron
30137 14354 14354 534 3 0x4184 poll python2.3
14354 1 14354 0 3 0x84 poll python2.3
25134 23789 10055 503 3 0x8e select postgres
23789 7565 10055 503 3 0x8e select postgres
19638 7565 10055 503 3 0x8e select postgres
7565 1 10055 503 3 0x408e select postgres
29910 1 29910 32767 3 0x184 poll openvpn
471 7343 7343 0 3 0x185 pause smbd
14270 1 14270 0 3 0x85 select nmbd
7343 1 7343 0 3 0x185 select smbd
32501 1 13244 0 3 0x84 nanosleep smartd
26361 1 10055 0 3 0x86 nanosleep perl
6990 30485 30184 0 3 0x84 netio tcpdump
30485 30184 30184 76 3 0x4184 bpf tcpdump
14255 1 10055 0 3 0x4086 select kpasswdd
24117 1 24117 0 3 0x4086 select kadmind
22137 1 10055 0 3 0x4087 select kdc
30184 1 30184 0 3 0x84 piperd spamlogd
14346 15883 15883 62 3 0x184 piperd spamd
18781 15883 15883 62 3 0x184 select spamd
15883 1 15883 62 3 0x184 nanosleep spamd
30060 1 30060 0 3 0x84 select sshd
26781 1 26781 0 3 0x40184 select sendmail
2444 1 2444 0 3 0x184 select inetd
27403 1 27403 71 3 0x184 kqread ftp-proxy
32749 1 32749 77 3 0x184 poll dhcpd
15984 14186 14186 83 3 0x184 poll ntpd
14186 1 14186 0 3 0x84 poll ntpd
10235 10338 10338 0 3 0x84 nfsd nfsd
4503 10338 10338 0 3 0x84 nfsd nfsd
11673 10338 10338 0 3 0x84 nfsd nfsd
15316 10338 10338 0 3 0x84 nfsd nfsd
10338 1 10338 0 3 0x84 netcon nfsd
15921 1 15921 28 3 0x184 poll portmap
14136 12812 12812 70 3 0x184 select named
12812 1 12812 0 3 0x184 netio named
15160 18009 18009 74 3 0x184 bpf pflogd
18009 1 18009 0 3 0x84 netio pflogd
3262 1 3262 77 3 0x184 poll dhclient
27999 1 10055 0 3 0x86 poll dhclient
10677 1 10677 0 3 0x84 mfsidl mount_mfs
17 0 0 0 3 0x100204 crypto_wa crypto
16 0 0 0 3 0x100204 aiodoned aiodoned
15 0 0 0 3 0x100204 syncer update
14 0 0 0 3 0x100204 cleaner cleaner
13 0 0 0 3 0x100204 reaper reaper
12 0 0 0 3 0x100204 pgdaemon pagedaemon
11 0 0 0 3 0x100204 pftm pfpurge
10 0 0 0 3 0x100204 timeout sensors
9 0 0 0 3 0x100204 wait wskbd_hotkey
8 0 0 0 3 0x100204 usbevt usb3
7 0 0 0 3 0x100204 usbevt usb2
6 0 0 0 3 0x100204 usbevt usb1
* 5 0 0 0 7 0x100204 usbtask
4 0 0 0 3 0x100204 usbevt usb0
3 0 0 0 3 0x100204 apmev apm0
2 0 0 0 3 0x100204 kmalloc kmthread
1 0 1 0 3 0x4084 wait init
0 -1 0 0 3 0x80204 scheduler swapper
OpenBSD 3.9-current (GENERIC) #933: Fri Jun 30 14:40:22 MDT 2006
[EMAIL PROTECTED]:/usr/src/sys/arch/i386/compile/GENERIC
cpu0: AMD Sempron(tm) 2600+ ("AuthenticAMD" 686-class, 256KB L2 cache) 1.84 GHz
cpu0:
FPU,V86,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,MMX,FXSR,SSE
real mem = 502820864 (491036K)
avail mem = 452689920 (442080K)
using 4256 buffers containing 25243648 bytes (24652K) of memory
mainbus0 (root)
bios0 at mainbus0: AT/286+(37) BIOS, date 01/07/05, BIOS32 rev. 0 @ 0xfb9b0,
SMBIOS rev. 2.2 @ 0xf0000 (44 entries)
bios0: ASUS A7VT
apm0 at bios0: Power Management spec V1.2
apm0: AC on, battery charge unknown
apm0: flags 70102 dobusy 1 doidle 1
pcibios0 at bios0: rev 2.1 @ 0xf0000/0xda84
pcibios0: PCI IRQ Routing Table rev 1.0 @ 0xfda10/112 (5 entries)
pcibios0: PCI Exclusive IRQs: 3 5 10 11
pcibios0: PCI Interrupt Router at 000:17:0 ("VIA VT82C596A ISA" rev 0x00)
pcibios0: PCI bus #1 is the last bus
bios0: ROM list: 0xc0000/0x7e00 0xc8000/0x8000!
cpu0 at mainbus0
pci0 at mainbus0 bus 0: configuration mode 1 (no bios)
pchb0 at pci0 dev 0 function 0 "VIA VT8378 PCI" rev 0x00
ppb0 at pci0 dev 1 function 0 "VIA VT8377 AGP" rev 0x00
pci1 at ppb0 bus 1
vga1 at pci1 dev 0 function 0 "VIA VT8378 VGA" rev 0x01: aperture at
0xe4000000, size 0x10000000
wsdisplay0 at vga1 mux 1: console (80x25, vt100 emulation)
wsdisplay0: screen 1-5 added (80x25, vt100 emulation)
dc0 at pci0 dev 8 function 0 "Lite-On PNIC-II" rev 0x25: irq 10, address
00:a0:cc:e3:42:d6
dcphy0 at dc0 phy 31: internal PHY
uhci0 at pci0 dev 16 function 0 "VIA VT83C572 USB" rev 0x80: irq 11
usb0 at uhci0: USB revision 1.0
uhub0 at usb0
uhub0: VIA UHCI root hub, rev 1.00/1.00, addr 1
uhub0: 2 ports with 2 removable, self powered
uhci1 at pci0 dev 16 function 1 "VIA VT83C572 USB" rev 0x80: irq 10
usb1 at uhci1: USB revision 1.0
uhub1 at usb1
uhub1: VIA UHCI root hub, rev 1.00/1.00, addr 1
uhub1: 2 ports with 2 removable, self powered
uhci2 at pci0 dev 16 function 2 "VIA VT83C572 USB" rev 0x80: irq 5
usb2 at uhci2: USB revision 1.0
uhub2 at usb2
uhub2: VIA UHCI root hub, rev 1.00/1.00, addr 1
uhub2: 2 ports with 2 removable, self powered
ehci0 at pci0 dev 16 function 3 "VIA VT6202 USB" rev 0x82: irq 3
usb3 at ehci0: USB revision 2.0
uhub3 at usb3
uhub3: VIA EHCI root hub, rev 2.00/1.00, addr 1
uhub3: 6 ports with 6 removable, self powered
viapm0 at pci0 dev 17 function 0 "VIA VT8235 ISA" rev 0x00
iic0 at viapm0
pciide0 at pci0 dev 17 function 1 "VIA VT82C571 IDE" rev 0x06: ATA133, channel
0 configured to compatibility, channel 1 configured to compatibility
wd0 at pciide0 channel 0 drive 0: <ExcelStor Technology J880>
wd0: 16-sector PIO, LBA48, 78533MB, 160836480 sectors
wd0(pciide0:0:0): using PIO mode 4, Ultra-DMA mode 6
atapiscsi0 at pciide0 channel 1 drive 0
scsibus0 at atapiscsi0: 2 targets
cd0 at scsibus0 targ 0 lun 0: <LITE-ON, DVDRW SHW-160P6S, PS01> SCSI0 5/cdrom
removable
wd1 at pciide0 channel 1 drive 1: <Maxtor 92732U8>
wd1: 16-sector PIO, LBA, 26059MB, 53369568 sectors
cd0(pciide0:1:0): using PIO mode 4, Ultra-DMA mode 4
wd1(pciide0:1:1): using PIO mode 4, Ultra-DMA mode 4
auvia0 at pci0 dev 17 function 5 "VIA VT8233 AC97" rev 0x50: irq 5
ac97: codec id 0x41445368 (Analog Devices AD1888)
ac97: codec features headphone, 20 bit DAC, No 3D Stereo
audio0 at auvia0
vr0 at pci0 dev 18 function 0 "VIA RhineII-2" rev 0x74: irq 11, address
00:11:2f:85:b1:90
ukphy0 at vr0 phy 1: Generic IEEE 802.3u media interface, rev. 10: OUI
0x004063, model 0x0032
isa0 at mainbus0
isadma0 at isa0
pckbc0 at isa0 port 0x60/5
pckbd0 at pckbc0 (kbd slot)
pckbc0: using irq 1 for kbd slot
wskbd0 at pckbd0: console keyboard, using wsdisplay0
pcppi0 at isa0 port 0x61
midi0 at pcppi0: <PC speaker>
spkr0 at pcppi0
lpt0 at isa0 port 0x378/4 irq 7
lm0 at isa0 port 0x290/8: W83697HF
npx0 at isa0 port 0xf0/16: using exception 16
pccom0 at isa0 port 0x3f8/8 irq 4: ns16550a, 16 byte fifo
fdc0 at isa0 port 0x3f0/6 irq 6 drq 2
fd0 at fdc0 drive 0: 1.44MB 80 cyl, 2 head, 18 sec
biomask ff6d netmask ff6d ttymask ffef
pctr: user-level cycle counter enabled
mtrr: Pentium Pro MTRR support
uhidev0 at uhub0 port 1 configuration 1 interface 0
uhidev0: vendor 0x062a product 0x0000, rev 1.10/0.00, addr 2, iclass 3/1
ums0 at uhidev0: 3 buttons and Z dir.
wsmouse0 at ums0 mux 0
dkcsum: wd0 matches BIOS drive 0x80
dkcsum: wd1 matches BIOS drive 0x81
root on wd0a
rootdev=0x0 rrootdev=0x300 rawdev=0x302