>Synopsis:      Kernel panic (ehci_device_clear_toggle: queue active) while 
>using USB hard disk on i386
>Category:      kernel
>Environment:
        System      : OpenBSD 5.3
        Details     : OpenBSD 5.3 (GENERIC) #50: Tue Mar 12 18:35:23 MDT 2013
                         
[email protected]:/usr/src/sys/arch/i386/compile/GENERIC

        Architecture: OpenBSD.i386
        Machine     : i386
>Description:
        The kernel panics while doing I/O with an external hard disk. I
        previously used this disk with an amd64 system that did not have
        the problem.
>How-To-Repeat:
        This has happened multiple times and happens repeatably while
        running my backup scripts. This occurred while rsync was copying
        a fairly large file.


dmesg:

>> OpenBSD/i386 BOOT 3.21
boot> 
booting hd0a:/bsd: 8404228+1102404 [52+381152+367486]=0x9c7d50
entry point at 0x200120

[ using 749064 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-2013 OpenBSD. All rights reserved.  http://www.OpenBSD.org

OpenBSD 5.3 (GENERIC) #50: Tue Mar 12 18:35:23 MDT 2013
    [email protected]:/usr/src/sys/arch/i386/compile/GENERIC
cpu0: Intel(R) Pentium(R) 4 CPU 1.80GHz ("GenuineIntel" 686-class) 1.81 GHz
cpu0: 
FPU,V86,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CFLUSH,DS,ACPI,MMX,FXSR,SSE,SSE2,SS,HTT,TM,PERF
real mem  = 2113404928 (2015MB)
avail mem = 2067898368 (1972MB)
mainbus0 at root
bios0 at mainbus0: AT/286+ BIOS, date 09/07/04, BIOS32 rev. 0 @ 0xfb2e0, SMBIOS 
rev. 2.3 @ 0xf0800 (35 entries)
bios0: vendor Phoenix/Award Technologies, LTD version "6.00 PG" date 09/07/2004
bios0: AOpen MX46-533V II
acpi0 at bios0: rev 0
acpi0: sleep states S0 S1 S4 S5
acpi0: tables DSDT FACP APIC
acpi0: wakeup devices FUTS(S4) USB0(S5) USB1(S5) USB2(S5) USB3(S5) MAC0(S5) 
AMR0(S4) UAR1(S5) UAR2(S5) PS2M(S5) PS2K(S4) PCI0(S5)
acpitimer0 at acpi0: 3579545 Hz, 24 bits
acpimadt0 at acpi0 addr 0xfee00000: PC-AT compat
cpu0 at mainbus0: apid 0 (boot processor)
cpu0: apic clock running at 99MHz
ioapic0 at mainbus0: apid 2 pa 0xfec00000, version 14, 24 pins
ioapic0: misconfigured as apic 0, remapped to apid 2
acpiprt0 at acpi0: bus 0 (PCI0)
acpicpu0 at acpi0
acpitz0 at acpi0: critical temperature is 75 degC
acpibtn0 at acpi0: PWRB
acpibtn1 at acpi0: FUTS
bios0: ROM list: 0xc0000/0x8000 0xc8000/0xa000
pci0 at mainbus0 bus 0: configuration mode 1 (bios)
pchb0 at pci0 dev 0 function 0 "SiS 651 PCI" rev 0x02
sisagp0 at pchb0
agp0 at sisagp0: aperture at 0xe8000000, size 0x4000000
ppb0 at pci0 dev 1 function 0 "SiS 86C201 AGP" rev 0x00
pci1 at ppb0 bus 1
vga1 at pci1 dev 0 function 0 "SiS 650 VGA" rev 0x00
wsdisplay0 at vga1 mux 1: console (80x25, vt100 emulation)
wsdisplay0: screen 1-5 added (80x25, vt100 emulation)
pcib0 at pci0 dev 2 function 0 "SiS 85C503 System" rev 0x25
pciide0 at pci0 dev 2 function 5 "SiS 5513 EIDE" rev 0x00: 651: DMA, channel 0 
configured to compatibility, channel 1 configured to compatibility
wd0 at pciide0 channel 0 drive 0: <Maxtor 6L160P0>
wd0: 16-sector PIO, LBA48, 152627MB, 312581808 sectors
wd0(pciide0:0:0): using PIO mode 4, Ultra-DMA mode 6
pciide0: channel 1 disabled (no drives)
auich0 at pci0 dev 2 function 7 "SiS 7012 AC97" rev 0xa0: apic 2 int 18, 
SiS7012 AC97
ac97: codec id 0x414c4740 (Avance Logic ALC202)
ac97: codec features headphone, 20 bit DAC, 18 bit ADC, Realtek 3D
audio0 at auich0
ohci0 at pci0 dev 3 function 0 "SiS 5597/5598 USB" rev 0x0f: apic 2 int 20, 
version 1.0, legacy support
ohci1 at pci0 dev 3 function 1 "SiS 5597/5598 USB" rev 0x0f: apic 2 int 21, 
version 1.0, legacy support
ehci0 at pci0 dev 3 function 2 "SiS 7002 USB" rev 0x00: apic 2 int 23
usb0 at ehci0: USB revision 2.0
uhub0 at usb0 "SiS EHCI root hub" rev 2.00/1.00 addr 1
sis0 at pci0 dev 4 function 0 "SiS 900 10/100BaseTX" rev 0x91: apic 2 int 19, 
address 00:01:80:41:3d:3e
rlphy0 at sis0 phy 1: RTL8201L 10/100 PHY, rev. 1
rl0 at pci0 dev 11 function 0 "Realtek 8139" rev 0x10: apic 2 int 18, address 
00:40:f4:78:16:ea
rlphy1 at rl0 phy 0: RTL internal PHY
ral0 at pci0 dev 13 function 0 "Ralink RT2860" rev 0x00: apic 2 int 19, address 
00:25:9c:0d:59:24
ral0: MAC/BBP RT2860 (rev 0x0103), RF RT2850 (MIMO 2T2R)
isa0 at pcib0
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
pcppi0 at isa0 port 0x61
spkr0 at pcppi0
lpt0 at isa0 port 0x378/4 irq 7
it0 at isa0 port 0x2e/2: IT8705F rev 2, EC port 0x290
npx0 at isa0 port 0xf0/16: reported by CPUID; using exception 16
fdc0 at isa0 port 0x3f0/6 irq 6 drq 2
usb1 at ohci0: USB revision 1.0
uhub1 at usb1 "SiS OHCI root hub" rev 1.00/1.00 addr 1
usb2 at ohci1: USB revision 1.0
uhub2 at usb2 "SiS OHCI root hub" rev 1.00/1.00 addr 1
mtrr: Pentium Pro MTRR support
umass0 at uhub0 port 5 configuration 1 interface 0 "Western Digital My Passport 
0740" rev 2.10/10.03 addr 2
umass0: using SCSI over Bulk-Only
scsibus0 at umass0: 2 targets, initiator 0
sd0 at scsibus0 targ 1 lun 0: <WD, My Passport 0740, 1003> SCSI4 0/direct fixed
sd0: 476908MB, 512 bytes/sector, 976707584 sectors
ses0 at scsibus0 targ 1 lun 1: <WD, SES Device, 1003> SCSI4 13/enclosure 
services fixed
ses0: unable to read enclosure configuration
vscsi0 at root
scsibus1 at vscsi0: 256 targets
softraid0 at root
scsibus2 at softraid0: 256 targets
root on wd0a (fdfe22b5bc310ebc.a) swap on wd0b dump on wd0b
panic: ehci_device_clear_toggle: queue active
Stopped at      Debugger+0x4:   popl    %ebp
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(d08fdcbc,f53dfeb8,d08d06e0,f53dfeb8,1b0f8abf) at Debugger+0x4
panic(d08d06e0,f53e7f00,f53dfeec,d07d7a82,d2f0a380) at panic+0x5d
ehci_device_clear_toggle(d2f0a380,80,f53dfeec,d035f2b0,d2f23840) at ehci_device
_clear_toggle+0x29
umass_clear_endpoint_stall(d2f24200,0,d2f23600,d08d0c3a,40) at umass_clear_endp
oint_stall+0x22
usb_transfer_complete(d2f23800,16,d08d0c3a,0,f) at usb_transfer_complete+0x22b
ehci_abort_xfer(d2f23800,f,1,1,d2f2386c) at ehci_abort_xfer+0x218
ehci_timeout_task(d2f23800,20,d09b4e07,0,d8d27744) at ehci_timeout_task+0x2d
usb_abort_task_thread(d8d27744) at usb_abort_task_thread+0xb1
Bad frame pointer: 0xd0bc9e28
ddb> ps
   PID   PPID   PGRP    UID  S       FLAGS  WAIT          COMMAND
 19133   3362   3622      0  3           0  bqwait        rsync
  3362  27929   3622      0  3        0x80  select        rsync
 27929   3622   3622      0  3        0x80  select        rsync
  3622  24000   3622      0  3        0x88  pause         sh
 24000  18103  24000      0  3        0x88  pause         ksh
 18103   1109  18103   2000  3        0x88  pause         ksh
  1109   2247   2247   2000  3        0x80  select        sshd
  2247  26909   2247      0  3        0x80  poll          sshd
 10346      1  10346      0  3        0x80  ttyin         getty
 27460      1  27460      0  3        0x80  select        cron
  1332      1   1332     99  3        0x80  poll          sndiod
 10271      1  10271      0  3        0x80  select        inetd
 28055   7050   7050     95  3        0x80  kqread        smtpd
 32140   7050   7050     95  3        0x80  kqread        smtpd
  1053   7050   7050     95  3        0x80  kqread        smtpd
 21065   7050   7050     95  3        0x80  kqread        smtpd
  1225   7050   7050     95  3        0x80  kqread        smtpd
  2997   7050   7050     95  3        0x80  kqread        smtpd
  8626   7050   7050     95  3        0x80  kqread        smtpd
  1247   7050   7050     95  3        0x80  kqread        smtpd
  7050      1   7050      0  3        0x80  kqread        smtpd
 26909      1  26909      0  3        0x80  select        sshd
 29661      0      0      0  3    0x100200  acct          acct
 22298  21593  19558     83  3        0x80  poll          ntpd
 21593  19558  19558     83  3        0x80  poll          ntpd
 19558      1  19558      0  3        0x80  poll          ntpd
 32278  21037  21037     74  3        0x80  bpf           pflogd
 21037      1  21037      0  3        0x80  netio         pflogd
    44  17669  17669     73  3        0x80  poll          syslogd
 17669      1  17669      0  3        0x80  netio         syslogd
    14      0      0      0  3    0x100200  aiodoned      aiodoned
    13      0      0      0  3    0x100200  bqwait        update
    12      0      0      0  3    0x100200  cleaner       cleaner
    11      0      0      0  3    0x100200  reaper        reaper
    10      0      0      0  3    0x100200  pgdaemon      pagedaemon
     9      0      0      0  3    0x100200  bored         crypto
     8      0      0      0  3    0x100200  pftm          pfpurge
     7      0      0      0  3    0x100200  usbtsk        usbtask
*    6      0      0      0  7    0x100200                usbatsk
     5      0      0      0  3    0x100200  acpi0         acpi0
     4      0      0      0  3    0x100200  bored         syswq
     3      0      0      0  3  0x40100200                idle0
     2      0      0      0  3    0x100200  kmalloc       kmthread
     1      0      1      0  3        0x80  wait          init
     0     -1      0      0  3       0x200  scheduler     swapper

Reply via email to