Re: USB driver debugging

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

 



On Wed, 26 Aug 2009 16:04 +0530, "aditya uttam" <uttam.aditya@xxxxxxxxx>
wrote:
> While testing my USB driver with READ operations, system gets hanged
> and log(var/log/messages) file is not updated completely after reboot.
> 
> Is there any other way of debugging method apart from printks?

printk is fine. To avoid the problem of the messages not making it
to disk because of a crash, collect them on a separate machine via
serial console or netconsole. It also helps if you switch to a text
console before you start your test. Then you can at least copy the
panic message from the screen by hand or with a digicam.

HTH
T.
-- 
  Tilman Schmidt
  tilman@xxxxxxx

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