Bug 113700
Summary: | usb: unable to handle kernel paging request | ||||||||
---|---|---|---|---|---|---|---|---|---|
Product: | [Retired] Red Hat Raw Hide | Reporter: | Kaj J. Niemi <kajtzu> | ||||||
Component: | kernel | Assignee: | Pete Zaitcev <zaitcev> | ||||||
Status: | CLOSED RAWHIDE | QA Contact: | Brian Brock <bbrock> | ||||||
Severity: | medium | Docs Contact: | |||||||
Priority: | medium | ||||||||
Version: | 1.0 | ||||||||
Target Milestone: | --- | ||||||||
Target Release: | --- | ||||||||
Hardware: | All | ||||||||
OS: | Linux | ||||||||
Whiteboard: | |||||||||
Fixed In Version: | Doc Type: | Bug Fix | |||||||
Doc Text: | Story Points: | --- | |||||||
Clone Of: | Environment: | ||||||||
Last Closed: | 2004-03-09 23:19:21 UTC | Type: | --- | ||||||
Regression: | --- | Mount Type: | --- | ||||||
Documentation: | --- | CRM: | |||||||
Verified Versions: | Category: | --- | |||||||
oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |||||||
Cloudforms Team: | --- | Target Upstream Version: | |||||||
Embargoed: | |||||||||
Attachments: |
|
Description
Kaj J. Niemi
2004-01-16 17:22:55 UTC
Created attachment 97080 [details]
Test fix 1
Thanks, I'll build 2.6.1-1.47 with the patch and will let you know the end result. Works for me. Now unplugging and replugging while in use results in the creation of a device with a higher number (eg 1st is ttyUSB0, after replug ttyUSB1). No oopses anymore. Jan 19 11:04:24 d106 kernel: hub 3-0:1.0: new USB device on port 2, assigned address 2 Jan 19 11:04:25 d106 kernel: drivers/usb/serial/usb-serial.c: USB Serial support registered for Generic Jan 19 11:04:25 d106 kernel: drivers/usb/core/usb.c: registered new driver usbserial Jan 19 11:04:25 d106 kernel: drivers/usb/serial/usb-serial.c: USB Serial Driver core v2.0 Jan 19 11:04:25 d106 kernel: drivers/usb/serial/usb-serial.c: USB Serial support registered for Magic Control Technology USB-RS232 Jan 19 11:04:25 d106 kernel: mct_u232 3-2:1.0: Magic Control Technology USB-RS232 converter detected Jan 19 11:04:25 d106 kernel: usb 3-2: Magic Control Technology USB-RS232 converter now attached to ttyUSB0 (or usb/tts/0 for devfs) Jan 19 11:04:25 d106 kernel: drivers/usb/core/usb.c: registered new driver mct_u232 Jan 19 11:04:25 d106 kernel: drivers/usb/serial/mct_u232.c: Magic Control Technology USB-RS232 converter driver v1.2 Jan 19 11:04:46 d106 kernel: usb 3-2: USB disconnect, address 2 Jan 19 11:04:46 d106 kernel: mct_u232 3-2:1.0: device disconnected Jan 19 11:04:47 d106 kernel: updfstab: numerical sysctl 1 23 is obsolete. Jan 19 11:05:05 d106 kernel: hub 3-0:1.0: new USB device on port 2, assigned address 3 Jan 19 11:05:05 d106 kernel: usbserial 3-2:1.0: Magic Control Technology USB-RS232 converter detected Jan 19 11:05:05 d106 kernel: usb 3-2: Magic Control Technology USB-RS232 converter now attached to ttyUSB1 (or usb/tts/1 for devfs) Jan 19 11:05:45 d106 kernel: drivers/usb/serial/mct_u232.c: Set MODEM CTRL 0xb failed (error = -19) Jan 19 11:05:45 d106 kernel: drivers/usb/serial/mct_u232.c: Set MODEM CTRL 0xb failed (error = -19) Jan 19 11:05:45 d106 kernel: mct_u232 ttyUSB0: Magic Control Technology USB-RS232 converter now disconnected from ttyUSB0 Jan 19 11:06:02 d106 kernel: usb 3-2: USB disconnect, address 3 Jan 19 11:06:02 d106 kernel: mct_u232 ttyUSB1: Magic Control Technology USB-RS232 converter now disconnected from ttyUSB1 Jan 19 11:06:02 d106 kernel: usbserial 3-2:1.0: device disconnected Jan 19 11:06:02 d106 kernel: updfstab: numerical sysctl 1 23 is obsolete. Jan 19 11:06:08 d106 kernel: hub 3-0:1.0: new USB device on port 2, assigned address 4 Jan 19 11:06:08 d106 kernel: usbserial 3-2:1.0: Magic Control Technology USB-RS232 converter detected Jan 19 11:06:08 d106 kernel: usb 3-2: Magic Control Technology USB-RS232 converter now attached to ttyUSB0 (or usb/tts/0 for devfs) Jan 19 11:06:11 d106 kernel: usb 3-2: USB disconnect, address 4 Jan 19 11:06:11 d106 kernel: mct_u232 ttyUSB0: Magic Control Technology USB-RS232 converter now disconnected from ttyUSB0 Jan 19 11:06:11 d106 kernel: usbserial 3-2:1.0: device disconnected Jan 19 11:06:11 d106 kernel: updfstab: numerical sysctl 1 23 is obsolete. Created attachment 97118 [details]
Test fix 1a
Dunno what to do about ttyUSB1, it probably comes from the fake port which the software latches. The only way is to make the application not to scan ports, for now. I'll rebuild and let you know what happens in the morning. I'm going to include test fix 2 from bug #112889 as well in the build. the ttyUSB1 issue probably doesn't matter as once the port is released it reverts to ttyUSB0 I think? I don't think ttyUSB1 is actually functional, even though present. It's a problem with applications which scan for a next port. I do not have a solution. Both patches seem to work although I should learn to pay attention to what I type ;) Verified in 2.6.3-2.1.153 |