Current-Users archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

amd64 usbd trouble



I just tried booting an amd64 kernel built from Jan 29 11:50 source, without
DEBUG nor DIAGNOSTIC, and:

ohci0 at pci0 dev 2 function 0: NVIDIA nForce MCP55 OHCI USB Controller (rev. 
0xa1)
ohci0: interrupting at ioapic0 pin 20
ohci0: OHCI version 1.0, legacy support
usb0 at ohci0: USB revision 1.0
ehci0 at pci0 dev 2 function 1: NVIDIA nForce MCP55 EHCI USB Controller (rev. 
0xa2)
ehci0: interrupting at ioapic0 pin 21
ehci0: companion controller, 10 ports each: ohci0
usb1 at ehci0: USB revision 2.0
...
cd0 at atapibus0 drive 0: <ASUS    DRW-2014L1T, , 1.00> cdrom removable
usb_insert_transfer: xfer=0xffff8000086fe000 not busy 0x00000000
usb_insert_transfer: xfer=0xffff8000086fe000 not busy 0x00000000
uvm_fault(0xffffffff80a0a0c0, 0x0, 1) -> e
fatal page fault in supervisor mode
trap type 6 code 0 rip ffffffff8054cf7b cs 8 rflags 10286 cr2  8 cpl 0 rsp 
ffff80004df7cb30
kernel: page fault trap, code=0
Stopped in pid 0.33 (system) at netbsd:usbd_do_request_flags+0xb:       movq    0
x8(%rdi),%rsi
db{0}> bt
usbd_do_request_flags() at netbsd:usbd_do_request_flags+0xb
usbd_reset_port() at netbsd:usbd_reset_port+0x54
usbd_new_device() at netbsd:usbd_new_device+0x1bb
usb_doattach() at netbsd:usb_doattach+0xcc
config_interrupts_thread() at netbsd:config_interrupts_thread+0x2d
db{0}> mach cpu 1
using CPU 1
db{0}> bt
_kernel_lock() at netbsd:_kernel_lock+0xc7
sleepq_block() at netbsd:sleepq_block+0x18d
sata_reset_interface() at netbsd:sata_reset_interface+0x113
wdc_sataprobe() at netbsd:wdc_sataprobe+0x6b
atabus_thread() at netbsd:atabus_thread+0x6f
db{0}> mach cpu 0
using CPU 0
db{0}> show reg
ds          0x2
es          0xea32
fs          0x168
gs          0x2ae2
rdi         0
rsi         0xffff80004df7cb50
rbp         0xffff80004df7cb40
rbx         0xffff800008723700
rdx         0
rcx         0
rax         0
r8          0
r9          0x1388
r10         0xffff80004df7cb50
r11         0
r12         0xffff80004df7cbd0
r13         0x1
r14         0
r15         0
rip         0xffffffff8054cf7b  usbd_do_request_flags+0xb
cs          0x8
rflags      0x10286
rsp         0xffff80004df7cb30
ss          0x10
netbsd:usbd_do_request_flags+0xb:       movq    0x8(%rdi),%rsi

With a 22nd Jan kernel with debug and diagnostic:

# usbdevs -v
Controller /dev/usb0:
addr 1: full speed, self powered, config 1, OHCI root hub(0x0000), 
NVIDIA(0x10de), rev 1.00
 port 4 addr 2: low speed, power 100 mA, config 1, Optical USB Mouse(0xc016), 
Logitech(0x046d), rev 3.40
Controller /dev/usb1:
addr 1: high speed, self powered, config 1, EHCI root hub(0x0000), 
NVIDIA(0x10de), rev 1.00

Confused as the only thing which seems to have changed in that time usbwise
is uscanner.c, which has nothing to do with it. Thoughts?

Cheers,

Patrick


Home | Main Index | Thread Index | Old Index