usb/107827: [ohci] [panic] ohci_add_done addr not found

Dorian Büttner dorian.buettner at gmx.de
Sun Jan 11 04:37:44 PST 2009


Antti Louko schrieb:
> The following reply was made to PR usb/107827; it has been noted by GNATS.
>
> From: Antti Louko <alo at louko.com>
> To: bug-followup at FreeBSD.org
> Cc: fstoffel at gmx.de
> Subject: Re: usb/107827: [ohci] [panic] ohci_add_done addr not found
> Date: Sun, 11 Jan 2009 13:17:16 +0200
>
>  I am experiencing this with both 7.1-RELEASE and 8.0-CURRENT-200812. The
>  motherboard is Asus M2A-VM-HDMI.
>  
>  If there is as much as USB memory stick in the USB interface, system panics.
>  
>  This is a show stopper to my plan to boot from USB stick and have all
>  the rest in ZFS pool (part SATA, part FF or USB).
>  
>  And this is on old bug. Has anyone has even an idea where to look and
>  what kind of work-around might be possible?
>  
> _______________________________________________
> freebsd-usb at freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-usb
> To unsubscribe, send any mail to "freebsd-usb-unsubscribe at freebsd.org"
>   
I have the same board except the HDMI part, that should not disturb the 
SB600 error. On your -current, did you test the GENERIC and/or the 
USB2-Kernel?
Tried that yesterday and at least, it doesn't panic on boot so far. My 
Logitech G15 Keyboard therefore is not detected, even after boot I can 
attach/detach as muchas I want the USB simply doesn't care.
Attaching the razor mouse drops into db>
But I was able to mount a stick and get a dmesg out of it, if that is 
anything useful.

-------------- next part --------------
Copyright (c) 1992-2009 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 is a registered trademark of The FreeBSD Foundation.
FreeBSD 8.0-CURRENT #3: Sun Jan 11 01:20:02 UTC 2009
    root at zock:/usr/obj/usr/src/sys/USB2
WARNING: WITNESS option enabled, expect reduced performance.
Timecounter "i8254" frequency 1193182 Hz quality 0
CPU: AMD Athlon(tm) 64 X2 Dual Core Processor 6000+ (2999.90-MHz K8-class CPU)
  Origin = "AuthenticAMD"  Id = 0x40f33  Stepping = 3
  Features=0x178bfbff<FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CLFLUSH,MMX,FXSR,SSE,SSE2,HTT>
  Features2=0x2001<SSE3,CX16>
  AMD Features=0xea500800<SYSCALL,NX,MMX+,FFXSR,RDTSCP,LM,3DNow!+,3DNow!>
  AMD Features2=0x1f<LAHF,CMP,SVM,ExtAPIC,CR8>
  Cores per package: 2
usable memory = 2136489984 (2037 MB)
avail memory  = 2063507456 (1967 MB)
ACPI APIC Table: <ATI    ASUSACPI>
FreeBSD/SMP: Multiprocessor System Detected: 2 CPUs
 cpu0 (BSP): APIC ID:  0
 cpu1 (AP): APIC ID:  1
ioapic0: Changing APIC ID to 4
ioapic0 <Version 2.1> irqs 0-23 on motherboard
kbd1 at kbdmux0
acpi0: <ATI ASUSACPI> on motherboard
acpi0: [ITHREAD]
acpi0: Power Button (fixed)
acpi0: reservation of 0, a0000 (3) failed
acpi0: reservation of 100000, 7fde0000 (3) failed
Timecounter "ACPI-fast" frequency 3579545 Hz quality 1000
acpi_timer0: <32-bit timer at 3.579545MHz> port 0x4008-0x400b on acpi0
acpi_hpet0: <High Precision Event Timer> iomem 0xfed00000-0xfed003ff on acpi0
device_attach: acpi_hpet0 attach returned 12
acpi_button0: <Power Button> on acpi0
pcib0: <ACPI Host-PCI bridge> port 0xcf8-0xcff on acpi0
pci0: <ACPI PCI bus> on pcib0
pcib1: <ACPI PCI-PCI bridge> at device 2.0 on pci0
pci1: <ACPI PCI bus> on pcib1
vgapci0: <VGA-compatible display> port 0xdf00-0xdf7f mem 0xfa000000-0xfaffffff,0xd0000000-0xdfffffff,0xf8000000-0xf9ffffff irq 18 at device 0.0 on pci1
pcib2: <ACPI PCI-PCI bridge> at device 7.0 on pci0
pci2: <ACPI PCI bus> on pcib2
re0: <RealTek 8168/8168B/8168C/8168CP/8168D/8111B/8111C/8111CP PCIe Gigabit Ethernet> port 0xee00-0xeeff mem 0xfddff000-0xfddfffff irq 19 at device 0.0 on pci2
re0: turning off MSI enable bit.
re0: Chip rev. 0x38000000
re0: MAC rev. 0x00000000
miibus0: <MII bus> on re0
rgephy0: <RTL8169S/8110S/8211B media interface> PHY 1 on miibus0
rgephy0:  10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, 1000baseT, 1000baseT-FDX, auto
re0: Ethernet address: 00:1b:fc:73:9e:b8
re0: [FILTER]
atapci0: <ATI AHCI controller> port 0xff00-0xff07,0xfe00-0xfe03,0xfd00-0xfd07,0xfc00-0xfc03,0xfb00-0xfb0f mem 0xfe02f000-0xfe02f3ff irq 22 at device 18.0 on pci0
atapci0: [ITHREAD]
atapci0: AHCI Version 01.10 controller with 4 ports PM supported
ata2: <ATA channel 0> on atapci0
ata2: [ITHREAD]
ata3: <ATA channel 1> on atapci0
ata3: [ITHREAD]
ata4: <ATA channel 2> on atapci0
ata4: [ITHREAD]
ata5: <ATA channel 3> on atapci0
ata5: [ITHREAD]
ohci0: <OHCI (generic) USB controller> mem 0xfe02e000-0xfe02efff irq 16 at device 19.0 on pci0
ohci0: [ITHREAD]
usbus0: <OHCI (generic) USB controller> on ohci0
ohci1: <OHCI (generic) USB controller> mem 0xfe02d000-0xfe02dfff irq 17 at device 19.1 on pci0
ohci1: [ITHREAD]
usbus1: <OHCI (generic) USB controller> on ohci1
ohci2: <OHCI (generic) USB controller> mem 0xfe02c000-0xfe02cfff irq 18 at device 19.2 on pci0
ohci2: [ITHREAD]
usbus2: <OHCI (generic) USB controller> on ohci2
ohci3: <OHCI (generic) USB controller> mem 0xfe02b000-0xfe02bfff irq 17 at device 19.3 on pci0
ohci3: [ITHREAD]
usbus3: <OHCI (generic) USB controller> on ohci3
ohci4: <OHCI (generic) USB controller> mem 0xfe02a000-0xfe02afff irq 18 at device 19.4 on pci0
ohci4: [ITHREAD]
usbus4: <OHCI (generic) USB controller> on ohci4
ehci0: <EHCI (generic) USB 2.0 controller> mem 0xfe029000-0xfe0290ff irq 19 at device 19.5 on pci0
ehci0: [ITHREAD]
usbus5: EHCI version 1.0
usbus5: <EHCI (generic) USB 2.0 controller> on ehci0
pci0: <serial bus, SMBus> at device 20.0 (no driver attached)
atapci1: <ATI IXP600 UDMA133 controller> port 0x1f0-0x1f7,0x3f6,0x170-0x177,0x376,0xf900-0xf90f at device 20.1 on pci0
ata0: <ATA channel 0> on atapci1
ata0: [ITHREAD]
isab0: <PCI-ISA bridge> at device 20.3 on pci0
isa0: <ISA bus> on isab0
pcib3: <ACPI PCI-PCI bridge> at device 20.4 on pci0
pci3: <ACPI PCI bus> on pcib3
pci3: <multimedia, audio> at device 6.0 (no driver attached)
pci3: <input device> at device 6.1 (no driver attached)
acpi_tz0: <Thermal Zone> on acpi0
uart0: <16550 or compatible> port 0x3f8-0x3ff irq 4 on acpi0
uart0: [FILTER]
ppc0: <Parallel port> port 0x378-0x37f irq 7 on acpi0
ppc0: Generic chipset (EPP/NIBBLE) in COMPATIBLE mode
ppc0: [GIANT-LOCKED]
ppc0: [ITHREAD]
ppbus0: <Parallel port bus> on ppc0
plip0: <PLIP network interface> on ppbus0
plip0: WARNING: using obsoleted IFF_NEEDSGIANT flag
lpt0: <Printer> on ppbus0
lpt0: Interrupt-driven port
ppi0: <Parallel I/O> on ppbus0
atkbdc0: <Keyboard controller (i8042)> port 0x60,0x64 irq 1 on acpi0
atkbd0: <AT Keyboard> irq 1 on atkbdc0
kbd0 at atkbd0
atkbd0: [GIANT-LOCKED]
atkbd0: [ITHREAD]
atrtc0: <AT realtime clock> port 0x70-0x73 on acpi0
cpu0: <ACPI CPU> on acpi0
powernow0: <PowerNow! K8> on cpu0
cpu1: <ACPI CPU> on acpi0
powernow1: <PowerNow! K8> on cpu1
acpi_hpet0: <High Precision Event Timer> iomem 0xfed00000-0xfed003ff on acpi0
device_attach: acpi_hpet0 attach returned 12
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
Timecounters tick every 1.000 msec
usbus0: 12Mbps Full Speed USB v1.0
usbus1: 12Mbps Full Speed USB v1.0
usbus2: 12Mbps Full Speed USB v1.0
usbus3: 12Mbps Full Speed USB v1.0
usbus4: 12Mbps Full Speed USB v1.0
usbus5: 480Mbps High Speed USB v2.0
ugen0.1: <ATI> at usbus0
ushub0: <ATI OHCI root HUB, class 9/0, rev 1.00/1.00, addr 1> on usbus0
ugen1.1: <ATI> at usbus1
ushub1: <ATI OHCI root HUB, class 9/0, rev 1.00/1.00, addr 1> on usbus1
ugen2.1: <ATI> at usbus2
ushub2: <ATI OHCI root HUB, class 9/0, rev 1.00/1.00, addr 1> on usbus2
ugen3.1: <ATI> at usbus3
ushub3: <ATI OHCI root HUB, class 9/0, rev 1.00/1.00, addr 1> on usbus3
ugen4.1: <ATI> at usbus4
ushub4: <ATI OHCI root HUB, class 9/0, rev 1.00/1.00, addr 1> on usbus4
ugen5.1: <ATI> at usbus5
ushub5: <ATI EHCI root HUB, class 9/0, rev 2.00/1.00, addr 1> on usbus5
acd0: DVDR <DVDR PX-750A/1.03> at ata0-master UDMA66
ad4: 305245MB <SAMSUNG HD320KJ CP100-11> at ata2-master SATA300
SMP: AP CPU #1 Launched!
WARNING: WITNESS option enabled, expect reduced performance.
GEOM: ad4s2: geometry does not match label (255h,63s != 16h,63s).
ushub0: 2 ports with 2 removable, self powered
ushub1: 2 ports with 2 removable, self powered
ushub2: 2 ports with 2 removable, self powered
ushub3: 2 ports with 2 removable, self powered
ushub4: 2 ports with 2 removable, self powered
GEOM: ad4s3: geometry does not match label (255h,63s != 16h,63s).
GEOM_LABEL: Label for provider ad4s4 is ntfs/Scrott.
Trying to mount root from ufs:/dev/ad4s3a
WARNING: / was not properly dismounted
lock order reversal:
 1st 0xffffff00012f5070 user map (user map) @ /usr/src/sys/vm/vm_map.c:3198
 2nd 0xffffff0001a5fd80 ufs (ufs) @ /usr/src/sys/kern/vfs_subr.c:2079
KDB: stack backtrace:
db_trace_self_wrapper() at db_trace_self_wrapper+0x2a
kdb_backtrace() at kdb_backtrace+0x32
_witness_debugger() at _witness_debugger+0x1e
witness_checkorder() at witness_checkorder+0x8ca
__lockmgr_args() at __lockmgr_args+0x218
ffs_lock() at ffs_lock+0x77
VOP_LOCK1_APV() at VOP_LOCK1_APV+0xbf
_vn_lock() at _vn_lock+0x6e
vget() at vget+0xc8
vnode_pager_lock() at vnode_pager_lock+0x1a9
vm_fault() at vm_fault+0x23e
trap_pfault() at trap_pfault+0x111
trap() at trap+0x250
calltrap() at calltrap+0x8
--- trap 0xc, rip = 0x40014f, rsp = 0x7fffffffee70, rbp = 0x7fffffffee90 ---
WARNING: /usr was not properly dismounted
WARNING: /var was not properly dismounted
ushub5: 10 ports with 10 removable, self powered
usb2_alloc_device:1423: set address 2 failed (ignored)
usb2_alloc_device:1458: getting device descriptor at addr 2 failed!
usb2_req_re_enumerate:1362: addr=2, set address failed! (ignored)
usb2_req_re_enumerate:1375: getting device descriptor at addr 2 failed!
usb2_req_re_enumerate:1362: addr=2, set address failed! (ignored)
usb2_req_re_enumerate:1375: getting device descriptor at addr 2 failed!
ugen1.2: <> at usbus1 (disconnected)
uhub_reattach_port:417: could not allocate new device!
link_elf_obj: symbol dev2unit undefined
kldload: /usr/local/modules/fuse.ko: Unsupported file type
GEOM_LABEL: Label ntfs/Scrott removed.
lock order reversal:
 1st 0xffffff0001f1f270 ufs (ufs) @ /usr/src/sys/ufs/ffs/ffs_snapshot.c:424
 2nd 0xfffffffe69a4fe30 bufwait (bufwait) @ /usr/src/sys/kern/vfs_bio.c:2443
 3rd 0xffffff0001c24270 ufs (ufs) @ /usr/src/sys/ufs/ffs/ffs_snapshot.c:545
KDB: stack backtrace:
db_trace_self_wrapper() at db_trace_self_wrapper+0x2a
kdb_backtrace() at kdb_backtrace+0x32
_witness_debugger() at _witness_debugger+0x1e
witness_checkorder() at witness_checkorder+0x8ca
__lockmgr_args() at __lockmgr_args+0x748
ffs_lock() at ffs_lock+0x77
VOP_LOCK1_APV() at VOP_LOCK1_APV+0xbf
_vn_lock() at _vn_lock+0x6e
ffs_snapshot() at ffs_snapshot+0x115d
ffs_mount() at ffs_mount+0x11eb
vfs_donmount() at vfs_donmount+0x11b6
nmount() at nmount+0xb5
syscall() at syscall+0x2e9
Xfast_syscall() at Xfast_syscall+0xab
--- syscall (378, FreeBSD ELF64, nmount), rip = 0x80079398c, rsp = 0x7fffffffea58, rbp = 0x1211000 ---
lock order reversal:
 1st 0xfffffffe69a4fe30 bufwait (bufwait) @ /usr/src/sys/kern/vfs_bio.c:2443
 2nd 0xffffff0008161630 snaplk (snaplk) @ /usr/src/sys/ufs/ffs/ffs_snapshot.c:794
KDB: stack backtrace:
db_trace_self_wrapper() at db_trace_self_wrapper+0x2a
kdb_backtrace() at kdb_backtrace+0x32
_witness_debugger() at _witness_debugger+0x1e
witness_checkorder() at witness_checkorder+0x8ca
__lockmgr_args() at __lockmgr_args+0x748
ffs_lock() at ffs_lock+0x77
VOP_LOCK1_APV() at VOP_LOCK1_APV+0xbf
_vn_lock() at _vn_lock+0x6e
ffs_snapshot() at ffs_snapshot+0x20b3
ffs_mount() at ffs_mount+0x11eb
vfs_donmount() at vfs_donmount+0x11b6
nmount() at nmount+0xb5
syscall() at syscall+0x2e9
Xfast_syscall() at Xfast_syscall+0xab
--- syscall (378, FreeBSD ELF64, nmount), rip = 0x80079398c, rsp = 0x7fffffffea58, rbp = 0x1211000 ---
lock order reversal:
 1st 0xffffff0008161630 snaplk (snaplk) @ /usr/src/sys/kern/vfs_vnops.c:293
 2nd 0xffffff0001f1f270 ufs (ufs) @ /usr/src/sys/ufs/ffs/ffs_snapshot.c:1588
KDB: stack backtrace:
db_trace_self_wrapper() at db_trace_self_wrapper+0x2a
kdb_backtrace() at kdb_backtrace+0x32
_witness_debugger() at _witness_debugger+0x1e
witness_checkorder() at witness_checkorder+0x8ca
__lockmgr_args() at __lockmgr_args+0x748
ffs_snapremove() at ffs_snapremove+0x11c
softdep_releasefile() at softdep_releasefile+0x41
ufs_inactive() at ufs_inactive+0x1a5
VOP_INACTIVE_APV() at VOP_INACTIVE_APV+0xb7
vinactive() at vinactive+0x8c
vput() at vput+0x1e1
vn_close() at vn_close+0xe9
vn_closefile() at vn_closefile+0xd6
_fdrop() at _fdrop+0x3c
closef() at closef+0x26b
kern_close() at kern_close+0xff
close() at close+0xb
syscall() at syscall+0x2e9
Xfast_syscall() at Xfast_syscall+0xab
--- syscall (6, FreeBSD ELF64, close), rip = 0x80081e39c, rsp = 0x7fffffffea58, rbp = 0 ---
lock order reversal:
 1st 0xffffff0001e85ba8 ntfs (ntfs) @ /usr/src/sys/kern/vfs_subr.c:2079
 2nd 0xffffff0001e11c40 ntnode (ntnode) @ /usr/src/sys/fs/ntfs/ntfs_subr.c:361
KDB: stack backtrace:
db_trace_self_wrapper() at db_trace_self_wrapper+0x2a
kdb_backtrace() at kdb_backtrace+0x32
_witness_debugger() at _witness_debugger+0x1e
witness_checkorder() at witness_checkorder+0x8ca
__lockmgr_args() at __lockmgr_args+0x748
ntfs_ntget() at ntfs_ntget+0x75
ntfs_ntlookupfile() at ntfs_ntlookupfile+0x4a
ntfs_lookup() at ntfs_lookup+0x167
VOP_CACHEDLOOKUP_APV() at VOP_CACHEDLOOKUP_APV+0xb3
vfs_cache_lookup() at vfs_cache_lookup+0xcc
VOP_LOOKUP_APV() at VOP_LOOKUP_APV+0xb7
lookup() at lookup+0x58f
namei() at namei+0x4a0
vn_open_cred() at vn_open_cred+0x2d7
vn_open() at vn_open+0x17
kern_openat() at kern_openat+0x140
kern_open() at kern_open+0x19
open() at open+0x18
syscall() at syscall+0x2e9
Xfast_syscall() at Xfast_syscall+0xab
--- syscall (5, FreeBSD ELF64, open), rip = 0x8009a8abc, rsp = 0x7fffffffe648, rbp = 0x9 ---
ugen5.2: <CBM> at usbus5
umass0: <CBM Flash Disk, class 0/0, rev 2.00/1.00, addr 2> on usbus5
umass0:  SCSI over Bulk-Only; quirks = 0x0000
umass0:0:0:-1: Attached to scbus0
da0 at umass-sim0 bus 0 target 0 lun 0
da0: <CBM Flash Disk 5.00> Removable Direct Access SCSI-2 device 
da0: 40.000MB/s transfers
da0: 2007MB (4111872 512 byte sectors: 255H 63S/T 255C)
GEOM: da0: partition 1 does not start on a track boundary.
GEOM: da0: partition 1 does not end on a track boundary.
GEOM_LABEL: Label for provider da0s1 is msdosfs/DISK_IMG.
GEOM_LABEL: Label msdosfs/DISK_IMG removed.
GEOM_LABEL: Label for provider da0s1 is msdosfs/DISK_IMG.
GEOM_LABEL: Label msdosfs/DISK_IMG removed.


More information about the freebsd-usb mailing list