Asus M2A-VP, SB600 usb chip and keyboard attached during boot
Dorian Büttner
dorian.buettner at gmx.de
Sun Sep 6 21:14:57 UTC 2009
Hi usb list,
am actually running 8-Beta4 and experience uncomfortability during system
boot. If I already have a keyboard attached to usb during boot, it will fail
like this:
Sep 5 19:02:55 zock kernel: usb_alloc_device:1586: set address 2 failed
(USB_ER
R_TIMEOUT, ignored)
Sep 5 19:02:55 zock kernel: usb_alloc_device:1624: getting device descriptor
at
addr 2 failed, USB_ERR_TIMEOUT!
Sep 5 19:02:55 zock kernel: usbd_req_re_enumerate:1539: addr=2, set address
fai
led! (USB_ERR_TIMEOUT, ignored)
Sep 5 19:02:56 zock kernel: usbd_req_re_enumerate:1553: getting device
descript
or at addr 2 failed, USB_ERR_TIMEOUT!
Sep 5 19:02:58 zock kernel: usbd_req_re_enumerate:1539: addr=2, set address
fai
led! (USB_ERR_TIMEOUT, ignored)
Sep 5 19:02:59 zock kernel: usbd_req_re_enumerate:1553: getting device
descript
or at addr 2 failed, USB_ERR_TIMEOUT!
Sep 5 19:02:59 zock kernel: ugen2.2: <(null)> at usbus2 (disconnected)
Sep 5 19:02:59 zock kernel: uhub_reattach_port:435: could not allocate new
devi
ce!
It is however possible to make it 'awake' by attaching to one of the other usb
socket blocks at the rear. How do you call the blocks, the board has 2x2 usb
sockets mounted, others availabe via pci slot extensions.
When attaching after boot has run, it would read like this:
Sep 6 22:45:15 zock kernel: ugen0.2: <vendor 0x046d> at usbus0
Sep 6 22:45:15 zock kernel: uhub6: <vendor 0x046d product 0xc223, class 9/0,
re
v 1.10/1.03, addr 2> on usbus0
Sep 6 22:45:16 zock kernel: uhub6: 4 ports with 2 removable, bus powered
Sep 6 22:45:17 zock root: Unknown USB device: vendor 0x046d product 0xc221
bus
uhub6
Sep 6 22:45:17 zock kernel: ugen0.3: <vendor 0x046d> at usbus0
Sep 6 22:45:17 zock kernel: ukbd0: <vendor 0x046d Gaming Keyboard, class 0/0,
r
ev 2.00/1.90, addr 3> on usbus0
Sep 6 22:45:17 zock kernel: kbd2 at ukbd0
Sep 6 22:45:17 zock kernel: uhid0: <vendor 0x046d Gaming Keyboard, class 0/0,
r
ev 2.00/1.90, addr 3> on usbus0
Sep 6 22:45:18 zock kernel: ugen0.4: <Razer> at usbus0
Sep 6 22:45:19 zock kernel: ums0: <Razer Razer Copperhead Laser Mouse, class
0/
0, rev 1.10/21.00, addr 4> on usbus0
Sep 6 22:45:19 zock kernel: ums0: 7 buttons and [XYZ] coordinates ID=0
Sep 6 22:45:19 zock kernel: ukbd1: <Razer Razer Copperhead Laser Mouse, class
0
/0, rev 1.10/21.00, addr 4> on usbus0
Sep 6 22:45:19 zock kernel: kbd3 at ukbd1
Sep 6 22:45:19 zock kernel: ukbd_set_leds_callback:696: error=USB_ERR_STALLED
Sep 6 22:45:19 zock root: Unknown USB device: vendor 0x046d product 0xc222
bus
uhub6
Sep 6 22:45:19 zock kernel: ugen0.5: <vendor 0x046d> at usbus0
Sep 6 22:45:19 zock kernel: hid_get_item:364: Number of items truncated to
255
Sep 6 22:45:19 zock last message repeated 2 times
Sep 6 22:45:19 zock kernel: uhid1: <vendor 0x046d product 0xc222, class 0/0,
re
v 2.00/1.03, addr 5> on usbus0
Sep 6 22:45:20 zock kernel: hid_get_item:364: Number of items truncated to
255
Sep 6 22:45:20 zock last message repeated 2 times
Sep 6 22:45:23 zock ntpd[861]: ntpd 4.2.4p5-a (1)
Sep 6 22:45:29 zock login: ROOT LOGIN (root) ON ttyv0
Sep 6 22:45:30 zock ntpd[862]: time reset +0.413423 s
Sep 6 22:45:30 zock ntpd[862]: kernel time sync status change 2001
Sep 6 22:45:44 zock kernel: ukbd_set_leds_callback:696: error=USB_ERR_STALLED
Sep 6 22:45:45 zock last message repeated 2 times
(It's a gaming keyboard with a mouse attached to it, but the error would be
the same with a dumb cherry kb attached).
It is, however, way better then in 7.2 http://www.freebsd.org/cgi/query-
pr.cgi?pr=usb/107827
Not sure if this patch originated at the netbsd would be related to it?
http://marc.info/?l=openbsd-tech&m=124574838020563&w=2
Anything to test or similar welcome, but not within the next 2 days, I won't
have access to the machine then. By the way, there seems to be some problem
with the kbd leds, kde4 will hang when num lock is active during start phase.
Here is complete dmesg:
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-BETA4 #11: Sat Sep 5 13:51:35 CEST 2009
root at zock.doris.net:/usr/obj/usr/src/sys/GENERIC
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.91-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>
real memory = 6442450944 (6144 MB)
avail memory = 6178377728 (5892 MB)
ACPI APIC Table: <ATI ASUSACPI>
FreeBSD/SMP: Multiprocessor System Detected: 2 CPUs
FreeBSD/SMP: 1 package(s) x 2 core(s)
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, cfde0000 (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/8168DP/8111B/8111C/8111CP/8111DP
PCIe Gigabit Ethernet> port 0xee00-0xeeff mem 0xfddff000-0xfddfffff irq 19 at
device 0.0 on pci2
re0: Using 1 MSI messages
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 IXP600 SATA300 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 v1.10 controller with 4 3Gbps ports, PM supported
ata2: <ATA channel 0> on atapci0
ata2: port is not ready (timeout 0ms) tfd = 000001d0
ata2: software reset clear timeout
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
pcm0: <Creative EMU10K1> port 0xcf00-0xcf1f irq 21 at device 6.0 on pci3
pcm0: <SigmaTel STAC9721/23 AC97 Codec>
pcm0: [ITHREAD]
acpi_tz0: <Thermal Zone> on acpi0
ACPI Warning: \\_TZ_.THRM._PSL: Return Package type mismatch at index 0 -
found [NULL Object Descriptor], expected Reference 20090521 nspredef-1058
fdc0: <floppy drive controller> port 0x3f0-0x3f5,0x3f7 irq 6 drq 2 on acpi0
fdc0: [FILTER]
uart0: <16550 or compatible> port 0x3f8-0x3ff irq 4 flags 0x10 on acpi0
uart0: [FILTER]
ppc0: <Parallel port> port 0x378-0x37f irq 7 on acpi0
ppc0: Generic chipset (EPP/NIBBLE) in COMPATIBLE mode
ppc0: [ITHREAD]
ppbus0: <Parallel port bus> on ppc0
plip0: <PLIP network interface> on ppbus0
plip0: [ITHREAD]
lpt0: <Printer> on ppbus0
lpt0: [ITHREAD]
lpt0: Interrupt-driven port
ppi0: <Parallel I/O> on ppbus0
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
atkbdc0: <Keyboard controller (i8042)> at port 0x60,0x64 on isa0
atkbd0: <AT Keyboard> irq 1 on atkbdc0
kbd0 at atkbd0
atkbd0: [GIANT-LOCKED]
atkbd0: [ITHREAD]
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
uhub0: <ATI OHCI root HUB, class 9/0, rev 1.00/1.00, addr 1> on usbus0
ugen1.1: <ATI> at usbus1
uhub1: <ATI OHCI root HUB, class 9/0, rev 1.00/1.00, addr 1> on usbus1
ugen2.1: <ATI> at usbus2
uhub2: <ATI OHCI root HUB, class 9/0, rev 1.00/1.00, addr 1> on usbus2
ugen3.1: <ATI> at usbus3
uhub3: <ATI OHCI root HUB, class 9/0, rev 1.00/1.00, addr 1> on usbus3
ugen4.1: <ATI> at usbus4
uhub4: <ATI OHCI root HUB, class 9/0, rev 1.00/1.00, addr 1> on usbus4
ugen5.1: <ATI> at usbus5
uhub5: <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).
GEOM: ad4s3: geometry does not match label (255h,63s != 16h,63s).
uhub0: 2 ports with 2 removable, self powered
uhub1: 2 ports with 2 removable, self powered
uhub2: 2 ports with 2 removable, self powered
uhub3: 2 ports with 2 removable, self powered
uhub4: 2 ports with 2 removable, self powered
Root mount waiting for: usbus5
Root mount waiting for: usbus5
Root mount waiting for: usbus5
uhub5: 10 ports with 10 removable, self powered
Trying to mount root from ufs:/dev/ad4s3a
re0: link state changed to UP
re0: link state changed to DOWN
re0: link state changed to UP
re0: link state changed to DOWN
re0: link state changed to UP
ugen0.2: <vendor 0x046d> at usbus0
uhub6: <vendor 0x046d product 0xc223, class 9/0, rev 1.10/1.03, addr 2> on
usbus0
uhub6: 4 ports with 2 removable, bus powered
ugen0.3: <vendor 0x046d> at usbus0
ukbd0: <vendor 0x046d Gaming Keyboard, class 0/0, rev 2.00/1.90, addr 3> on
usbus0
kbd2 at ukbd0
uhid0: <vendor 0x046d Gaming Keyboard, class 0/0, rev 2.00/1.90, addr 3> on
usbus0
ugen0.4: <Razer> at usbus0
ums0: <Razer Razer Copperhead Laser Mouse, class 0/0, rev 1.10/21.00, addr 4>
on usbus0
ums0: 7 buttons and [XYZ] coordinates ID=0
ukbd1: <Razer Razer Copperhead Laser Mouse, class 0/0, rev 1.10/21.00, addr 4>
on usbus0
kbd3 at ukbd1
ukbd_set_leds_callback:696: error=USB_ERR_STALLED
ugen0.5: <vendor 0x046d> at usbus0
hid_get_item:364: Number of items truncated to 255
hid_get_item:364: Number of items truncated to 255
hid_get_item:364: Number of items truncated to 255
uhid1: <vendor 0x046d product 0xc222, class 0/0, rev 2.00/1.03, addr 5> on
usbus0
hid_get_item:364: Number of items truncated to 255
hid_get_item:364: Number of items truncated to 255
hid_get_item:364: Number of items truncated to 255
ukbd_set_leds_callback:696: error=USB_ERR_STALLED
ukbd_set_leds_callback:696: error=USB_ERR_STALLED
ukbd_set_leds_callback:696: error=USB_ERR_STALLED
lock order reversal:
1st 0xffffff807bad1f68 bufwait (bufwait) @ /usr/src/sys/kern/vfs_bio.c:2559
2nd 0xffffff003d1e7000 dirhash (dirhash) @
/usr/src/sys/ufs/ufs/ufs_dirhash.c:285
KDB: stack backtrace:
db_trace_self_wrapper() at db_trace_self_wrapper+0x2a
_witness_debugger() at _witness_debugger+0x2e
witness_checkorder() at witness_checkorder+0x81e
_sx_xlock() at _sx_xlock+0x55
ufsdirhash_acquire() at ufsdirhash_acquire+0x33
ufsdirhash_add() at ufsdirhash_add+0x19
ufs_direnter() at ufs_direnter+0x88b
ufs_makeinode() at ufs_makeinode+0x2a7
VOP_CREATE_APV() at VOP_CREATE_APV+0x8d
vn_open_cred() at vn_open_cred+0x468
kern_openat() at kern_openat+0x179
syscall() at syscall+0x1af
Xfast_syscall() at Xfast_syscall+0xe1
--- syscall (5, FreeBSD ELF64, open), rip = 0x80336ee0c, rsp = 0x7fffffffc7c8,
rbp = 0x8068021c0 ---
ukbd_set_leds_callback:696: error=USB_ERR_STALLED
ukbd_set_leds_callback:696: error=USB_ERR_STALLED
ukbd_set_leds_callback:696: error=USB_ERR_STALLED
ukbd_set_leds_callback:696: error=USB_ERR_STALLED
ukbd_set_leds_callback:696: error=USB_ERR_STALLED
More information about the freebsd-usb
mailing list