Re: unable to get the debug messages from usb core files

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

 



On Thu, 8 Oct 2009, Madhavi Manchala wrote:

> On Wed, Oct 7, 2009 at 10:06 PM, Alan Stern <stern@xxxxxxxxxxxxxxxxxxx> wrote:
> 
> Dear Alan,
> 
> Thanks for the information.
> 
> > You also have to enable CONFIG_USB_DEBUG.
> 
> This is already enabled in the .config fle as we already enabled it in
> the make menuconfig process. We have seen CONFIG_USB_DEBUG=y in the
> .config file.
> 
> > You probably have to run mkinitrd or something similar, depending on
> > your distribution.
> 
> I guess, this is already there in the /boot directory as we build the
> entire kernel. Eventhoguh, when I run the mkinitrd
> /boot/initrd-2.6.30.img 2.6.30, it says already exists.

Of course it already exists.  You couldn't boot without it.  But you 
need to create a new version, one that will include the debugging code.  
Otherwise when you boot, the kernel will load the old driver from the 
old initrd file -- and the old driver doesn't have debugging enabled.

Alternatively, you could rmmod usbcore after the system is running and 
then modprobe the new version.  To do that, you will first have to 
unload ehci-hcd, uhci-hcd, and ohci-hcd (maybe some other drivers as 
well) and unmount /proc/bus/usb.

Alan Stern

--
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