Source-Changes-D archive

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

Re: CVS commit: src/sys/dev/usb



On 07/17/12 02:56, matthew green wrote:

>>> Module Name:        src
>>> Committed By:       mrg
>>> Date:               Sun Jul 15 21:13:31 UTC 2012
>>>
>>> Modified Files:
>>>     src/sys/dev/usb: usb_subr.c usbdi.c usbdi.h usbdivar.h
>>>
>>> Log Message:
>>> commit my workaround for PR 46648 for now, as the more involved
>>> fix is not ready yet:
>>>
>>> move the clear endpoint stall async call into the task thread,
>>> to avoid trying to call kmem_alloc() from a softint thread.
>>>
>>> XXX ideally moving callbacks into the task thread (or perhaps
>>> a different high priority task thread) would be better than this
>>> workaround, once that method is working.
>>
>>
>> I get this at boot now:
>>
>> panic: lockdebug_lookup: uninitialized lock (lock=0xffffffff80d3fe28,
>> from=ffffffff806fd980)
>> fatal breakpoint trap in supervisor mode
>> trap type 1 code 0 rip ffffffff80212035 cs e030 rflags 246 cr2 0 ilevel
>> 8 rsp ffffa00019f0d910
>> curlwp 0xffffa000013e2c00 pid 0 lid 26 lowest kstack 0xffffa00019f0a000
>> Stopped in pid 0.26 (system) at netbsd:breakpoint+0x5:  leave
>> breakpoint() at netbsd:breakpoint+0x5
>> vpanic() at netbsd:vpanic+0x1f2
>> printf_nolog() at netbsd:printf_nolog
>> lockdebug_wantlock() at netbsd:lockdebug_wantlock+0x18f
>> mutex_enter() at netbsd:mutex_enter+0x27b
>> usb_rem_task() at netbsd:usb_rem_task+0x2b
>> usbd_kill_pipe() at netbsd:usbd_kill_pipe+0x56
>> usbd_new_device() at netbsd:usbd_new_device+0x41b
>> usb_doattach() at netbsd:usb_doattach+0xea
>> config_interrupts_thread() at netbsd:config_interrupts_thread+0x30
> 
> can you show the prior messages please?  what usb devices do you have?


[...]
ohci0 at pci0 dev 3 function 0: ServerWorks HT1000 USB (rev. 0x01)
csr: 02b00017
ohci0: interrupting at ioapic0 pin 10, event channel 10
ohci0: OHCI version 1.0, legacy support
usb0 at ohci0: USB revision 1.0
usb0: WARNING: power management not supported
ohci1 at pci0 dev 3 function 1: ServerWorks HT1000 USB (rev. 0x01)
csr: 02b00017
ohci1: interrupting at ioapic0 pin 10, event channel 10
ohci1: OHCI version 1.0, legacy support
usb1 at ohci1: USB revision 1.0
usb1: WARNING: power management not supported
ehci0 at pci0 dev 3 function 2: ServerWorks HT1000 USB (rev. 0x01)
ehci0: interrupting at ioapic0 pin 10, event channel 10
ehci0: companion controllers, 2 ports each: ohci0 ohci1
usb2 at ehci0: USB revision 2.0
usb2: WARNING: power management not supported
[...]
isa0 at pcib0
com1 at isa0 port 0x2f8-0x2ff irq 3: ns16550a, working fifo
Initializing SSP: bd0cbf008749bd1a 40f970fb37887ac0 90dc8e711387bd49
21a5a4e2c1c59735 1d0d45e934bd8cce ecdb4bec302d0b3 8b7214a3b549393f
dbea3b25db036a83
scsibus0: waiting 2 seconds for devices to settle...
svwsata0 port 0: device present, speed: 1.5Gb/s
panic: lockdebug_lookup: uninitialized lock (lock=0xffffffff80d3fe28,
from=ffffffff806fd910)
fatal breakpoint trap in supervisor mode
trap type 1 code 0 rip ffffffff80212035 cs e030 rflags 246 cr2 0 ilevel
8 rsp ffffa00019f21930
curlwp 0xffffa000013a6800 pid 0 lid 31 lowest kstack 0xffffa00019f1e000
Stopped in pid 0.31 (system) at netbsd:breakpoint+0x5:  leave
breakpoint() at netbsd:breakpoint+0x5
vpanic() at netbsd:vpanic+0x1f2
printf_nolog() at netbsd:printf_nolog
lockdebug_wantlock() at netbsd:lockdebug_wantlock+0x18f
mutex_enter() at netbsd:mutex_enter+0x27b
usb_rem_task() at netbsd:usb_rem_task+0x2b
usbd_kill_pipe() at netbsd:usbd_kill_pipe+0x56
usbd_new_device() at netbsd:usbd_new_device+0x41b
usb_doattach() at netbsd:usb_doattach+0xe1
config_interrupts_thread() at netbsd:config_interrupts_thread+0x30


Christoph


Home | Main Index | Thread Index | Old Index