Re: USB: panic with printk

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

 



(Cc Kay and Joe)

On 16.07.2012 17:03, Manuel Lauss wrote:
> On Mon, Jul 16, 2012 at 1:38 PM, Daniel Mack <zonque@xxxxxxxxx> wrote:
>> On 09.07.2012 14:01, Manuel Lauss wrote:
>>> Hello,
>>>
>>> Current 3.5-rc5-git panics on my MIPS targets during USB host
>>> controller initialization.
>>> Disabling CONFIG_PRINTK fixes it.
>>>
>>> ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver
>>> au1xxx-ehci au1xxx-ehci.0: Au1xxx EHCI
>>> au1xxx-ehci au1xxx-ehci.0: new USB bus registered, assigned bus number 1
>>> au1xxx-ehci au1xxx-ehci.0: irq 98, io mem 0x14020000
>>> Unhandled kernel unaligned access[#1]:
>>
>> Try cherry-picking this one:
>>
>>
>> http://git.kernel.org/?p=linux/kernel/git/torvalds/linux.git;a=commit;h=6ebb017
> 
> 3.5-rc7, which has this patch, still has this bug. Although the "bug"s
> appearance
> seems to depend on link order:  A kernel built at first with EHCI
> built-in doesn't
> work; however rebuilding without EHCI and again rebuilding with EHCI after that
> makes it work.

Then I don't know, the link above was just a spontanious guess as it
sounded related. Can you bisect the problem maybe?

Another thing you can try is add printk()s to dump pointer addresses
before they get dereferenced. As printk() appears to work in general,
that could work.


Daniel
--
To unsubscribe from this list: send the line "unsubscribe linux-usb" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html


[Index of Archives]     [Linux Media]     [Linux Input]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [Old Linux USB Devel Archive]

  Powered by Linux