Summary: | gentoo-sources-2.6.23-r9 - system freeze on reading from usb-serial device | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Jeroen Roos <bugzilla-gentoo> |
Component: | [OLD] Core system | Assignee: | Gentoo Kernel Bug Wranglers and Kernel Maintainers <kernel> |
Status: | RESOLVED NEEDINFO | ||
Severity: | normal | ||
Priority: | High | ||
Version: | 2005.0 | ||
Hardware: | AMD64 | ||
OS: | Linux | ||
URL: | https://bugzilla.redhat.com/show_bug.cgi?id=431379 | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- |
Description
Jeroen Roos
2008-03-10 20:12:09 UTC
I see the bug has been changed to "NEEDINFO", what info do you need and do you expect me to deliver that info? What info is needed? Not sure if dsd wants to do a new 23-rX release. We very well might, but we will be doing a new gentoo-sources-2.6.24-rX release probably during the week of March 31st. Could you apply this patch: http://git.kernel.org/?p=linux/kernel/git/torvalds/linux-2.6.git;a=commitdiff_plain;h=b507cc9710d8b6e3013468b40522e235342fc84a to gentoo-sources-2.6.24-r3 and just let me know that it works. I will then put it in the queue for the 2.6.24-r4. I have applied the patch, recompiled and rebooted with the new kernel. That all went well and when I run iTU4l.pl, it no longer hangs the machine, however it also doesn't work anymore. It seems unable to set the terminal speed for /dev/ttyUSB0. dmesg: usb 2-3: new full speed USB device using ohci_hcd and address 5 usb 2-3: configuration #1 chosen from 1 choice usbserial_generic 2-3:1.0: Generic device with no bulk out, not allowed. usbserial_generic: probe of 2-3:1.0 failed with error -5 usbserial_generic 2-3:1.1: generic converter detected usb 2-3: generic converter now attached to ttyUSB0 jeroen ~ # iTU4l.pl -d /dev/ttyUSB0 Trying to talk to the USB device stty: standard input: unable to perform all requested operations Error while setting /dev/ttyUSB0 to cs8 raw 115200 USB devices found, but not detected as the GPS logger we searched. To find it please follow the instructions on http://iTU4l.schimmelnetz.de/usb.html jeroen ~ # stty -F /dev/ttyUSB0 cs8 raw 115200 stty: /dev/ttyUSB0: unable to perform all requested operations jeroen ~ # stty -F /dev/ttyUSB0 cs8 raw jeroen ~ # stty -F /dev/ttyUSB0 115200 stty: /dev/ttyUSB0: unable to perform all requested operations I have just upgraded to 2.6.24-r9, and the problem still persists... worse, the patch attached to this bug doesn't apply anymore, so I now basicly cannot use my GPS tracker anymore. > 2.6.24-r9
That is supposed to read 2.6.24-r4
> the patch attached to this bug doesn't apply anymore
Actually, the patch does apply, but I still have the problem not being able to set the baudrate. I have copied usb-serial.c from 2.6.23-r9 into 2.6.24-r4 and applied the patch from Redhat, and now I have a working config again.
Can you test with the latest development kernel at this time, 2.6.25_rc8. The generic usb-serial driver can not set any line settings or flow control, so those options will always fail. Please take this to the kernel.org developers, on the linux-usb mailing list, and send a copy of the perl script that is causing the problem. This is not a gentoo-specific issue at all. (In reply to comment #8) > Can you test with the latest development kernel at this time, 2.6.25_rc8. Tried it, same problem: no crash, but failing on the stty As advised in Comment #9, when you have a chance please take this to linux-usb mailing list with the requested information. Please reopen with a link to the archive once this is done. |