[Bug 198546] Re: freeze after trying to read from /dev/ttyUSB0
Launchpad has imported 23 comments from the remote bug at https://bugzilla.redhat.com/show_bug.cgi?id=431379. If you reply to an imported comment from within Launchpad, your comment will be sent to the remote bug automatically. Read more about Launchpad's inter-bugtracker facilities at https://help.launchpad.net/InterBugTracking. On 2008-02-03T21:50:51+00:00 Dmitry wrote: Description of problem: When trying to "sysread" (perl script) from a AT91xx-based GPS device, connected via "usbserial" kernel module, the system freezes. Nothing seems to work, besides the "Reset" button. Examining the messages file after a reboot reveals nothing. Version-Release number of selected component (if applicable): kernel version: 2.6.23.14-107 How reproducible: every time the sysread is called Steps to Reproduce: 1. Connect the "Gisteq PhotoTrackr Lite" device via USB cable 2. Run "modprobe usbsusbserial vendor=0x03EB product=0x6126" 3. Run a script containing a "sysread" command from previously opened stream Actual results: The system freezes. Expected results: The same script, on the same computer/port/cable/device combination, running Knoppix 5.1.1 Live DVD, continues to run and produces the expected output. Additional info: The Knoppix DVD runs kernel version 2.6.19(.1). The original perl script, causing the system freeze, can be downloaded from it's author's site: http://schimmelnetz.de/projekte/iTU4l/download/iTU4l.pl Reply at: https://bugs.launchpad.net/ubuntu/+source/linux/+bug/198546/comments/0 On 2008-02-03T21:50:51+00:00 Dmitry wrote: Created attachment 293841 Perl script for reading raw data from AT91xx based GPS-Loggers Reply at: https://bugs.launchpad.net/ubuntu/+source/linux/+bug/198546/comments/1 On 2008-02-07T22:32:59+00:00 Dmitry wrote: I've just checked it with the last 2.6.23.14-115 kernel version. Unfortunately, with the same results: complete system freeze. Reply at: https://bugs.launchpad.net/ubuntu/+source/linux/+bug/198546/comments/2 On 2008-02-14T03:02:16+00:00 Pete wrote: It is vital to convert the freeze into an oops (with NMI watchdog). But first... Dmitry, did you try this on the text console (Alt-F1)? What does happen in that case? No messages? Reply at: https://bugs.launchpad.net/ubuntu/+source/linux/+bug/198546/comments/3 On 2008-02-16T22:37:24+00:00 Dmitry wrote: When running from a console, I just got the script printing the "Opened /dev/ttyUSB0" message, immediately followed by system freeze. When booting with "nmi_watchdog=1", the NMI dumped on the screen some info, but the system still got completely unresponsive - with just "Caps Lock" and "Scroll Lock" flashing. I had to reboot it with the "reset" switch, and next time added "panic=10" to the boot options, which worked. But unfortunately, the "messages" file doesn't contain any helpful information regarding the lockup: the last message recorded there is about new usbserial device connected on /dev/ttyUSB0. Anyway, as I myself have absolutely no experience in kernel debugging, I'll be happy to follow your further recommendations, and to inform you on the results. Thanks ahead. Reply at: https://bugs.launchpad.net/ubuntu/+source/linux/+bug/198546/comments/4 On 2008-02-22T21:39:23+00:00 Dmitry wrote: I've tried it on 2.6.23.15-137 - with the same results :-( Reply at: https://bugs.launchpad.net/ubuntu/+source/linux/+bug/198546/comments/5 On 2008-03-03T19:01:40+00:00 Dmitry wrote: Created attachment 296661 NMI watchdog screenshot Well, I felt really silly doing this, but I really didn't know any better way: attached is the screenshot (literally!) of what happened when the system became frost. After this, only the reset button worked. I hope it will provide you some clue on what's going on, or at least any idea on how to get some more information. Thanks ahead. Reply at: https://bugs.launchpad.net/ubuntu/+source/linux/+bug/198546/comments/6 On 2008-03-03T21:06:04+00:00 Chuck wrote: Can you capture that with the console in 50-line mode (vga=1) or framebuffer mode (vga=791)? Reply at: https://bugs.launchpad.net/ubuntu/+source/linux/+bug/198546/comments/7 On 2008-03-03T21:59:32+00:00 Dmitry wrote: Created attachment 296683 NMI watchdog screenshot in fb mode Here it is: the screen captured in fb mode. Reply at:
[Bug 198546] Re: freeze after trying to read from /dev/ttyUSB0
No reply, marking this as Won't Fix. ** Changed in: linux (Ubuntu Hardy) Status: Incomplete = Won't Fix -- freeze after trying to read from /dev/ttyUSB0 https://bugs.launchpad.net/bugs/198546 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 198546] Re: freeze after trying to read from /dev/ttyUSB0
No activity on this since September. Marking it as Incomplete as we are awaiting feedback. ** Changed in: linux (Ubuntu Hardy) Assignee: Colin King (colin-king) = (unassigned) Status: In Progress = Incomplete -- freeze after trying to read from /dev/ttyUSB0 https://bugs.launchpad.net/bugs/198546 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 198546] Re: freeze after trying to read from /dev/ttyUSB0
Unfortunately my laptop got stolen and I now don't own a ubuntu box, so I can't test it right now. I will try to test on a friend's computer. -- freeze after trying to read from /dev/ttyUSB0 https://bugs.launchpad.net/bugs/198546 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 198546] Re: freeze after trying to read from /dev/ttyUSB0
Hi, I've added the upstream patch to the kernel and built a Hardy linux- kernel package - you can download the package from my PPA at: https://launchpad.net/~colin-king/+archive Add the following lines to your apt sources.list: deb http://ppa.launchpad.net/colin-king/ubuntu hardy main deb-src http://ppa.launchpad.net/colin-king/ubuntu hardy main Then run the command: sudo apt-get update Alternatively, follow the instructions at: https://help.ubuntu.com/8.04 /add-applications/C/extra-repositories-adding.html If you can test this package and let me know if it works, then I can add this patch into the hardy as a Stable Release Update (SRU). Thanks, Colin -- freeze after trying to read from /dev/ttyUSB0 https://bugs.launchpad.net/bugs/198546 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 198546] Re: freeze after trying to read from /dev/ttyUSB0
** Changed in: linux (Ubuntu Hardy) Assignee: (unassigned) = Colin King (colin-king) Status: New = In Progress -- freeze after trying to read from /dev/ttyUSB0 https://bugs.launchpad.net/bugs/198546 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 198546] Re: freeze after trying to read from /dev/ttyUSB0
Thanks Nikolay, This is the upstream git commit id for the patch referenced in the redhat bugzilla. It's currently already included in the upcoming Intrepid Ibex 8.10 kernel. If you'd be interested in testing the Intrepid please refer to http://www.ubuntu.com/testing . I'll also open a Hardy nomination for the kernel team to consider backporting the patch. Thanks. commit b507cc9710d8b6e3013468b40522e235342fc84a Author: Pete Zaitcev [EMAIL PROTECTED] Date: Tue Mar 4 23:28:42 2008 -0800 USB: fix usb-serial generic recursive lock ** Changed in: linux (Ubuntu) Status: New = Fix Released -- freeze after trying to read from /dev/ttyUSB0 https://bugs.launchpad.net/bugs/198546 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 198546] Re: freeze after trying to read from /dev/ttyUSB0
I am already on intrepid and I will test the new kernel in a couple of days, since the gps device isn't around me now. -- freeze after trying to read from /dev/ttyUSB0 https://bugs.launchpad.net/bugs/198546 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 198546] Re: freeze after trying to read from /dev/ttyUSB0
** Changed in: linux (Fedora) Status: Unknown = Fix Released -- freeze after trying to read from /dev/ttyUSB0 https://bugs.launchpad.net/bugs/198546 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 198546] Re: freeze after trying to read from /dev/ttyUSB0
** Also affects: linux (Fedora) via https://bugzilla.redhat.com/show_bug.cgi?id=431379 Importance: Unknown Status: Unknown ** Changed in: linux (Ubuntu) Sourcepackagename: linux-meta = linux -- freeze after trying to read from /dev/ttyUSB0 https://bugs.launchpad.net/bugs/198546 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 198546] Re: freeze after trying to read from /dev/ttyUSB0
Discussion about the problem and kernel patch, solving it, can be found at https://bugzilla.redhat.com/show_bug.cgi?id=431379 -- freeze after trying to read from /dev/ttyUSB0 https://bugs.launchpad.net/bugs/198546 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs