Re: Regression from 2.6.21 to 2.6.22 and above
Oliver Neukum <[email protected]>
| Newsgroups | gmane.linux.usb.devel |
|---|---|
| Message-ID | <[email protected]> |
Am Donnerstag 11 Oktober 2007 schrieb Pete Zaitcev: > On Thu, 11 Oct 2007 15:10:52 +0200, Stefan Scheler <[email protected]> wrote: > > > > They just show open/close cycles. Please strace your application and recompile > > > your kernel with CONFIG_USB_DEBUG. > > > open("/dev/ttyUSB0", O_RDWR|O_NOCTTY|O_NONBLOCK) = 3 > > ioctl(3, TIOCEXCL, 0x40263b32) = 0 > > ioctl(3, SNDCTL_TMR_TIMEBASE or TCGETS, {B9600 opost -isig -icanon -echo ...}) = 0 > > --- SIGSEGV (Segmentation fault) @ 0 (0) --- > > So it really were just opens and closes. I suspect it's something else > that makes the libct to crash, not the driver to which it talks. > Ergo, rebuilding it with CONFIG_USB_DEBUG won't tell us anything. > > What would you say to bisecting it with git? It would take up to 12 > hours of work on a decent box, but I don't have a better idea... It might be interesting to enable core dumps and find out which pointer the programm follows and to have a look at what the ioctl() returns. Regards Oliver ------------------------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now >> http://get.splunk.com/ _______________________________________________ [email protected] To unsubscribe, use the last form field at: https://lists.sourceforge.net/lists/listinfo/linux-usb-devel