https://bugzilla.novell.com/show_bug.cgi?id=738952 https://bugzilla.novell.com/show_bug.cgi?id=738952#c0 Summary: ttyS5 is blocked Classification: openSUSE Product: openSUSE 12.1 Version: Final Platform: x86-64 OS/Version: SuSE Other Status: NEW Severity: Normal Priority: P5 - None Component: Basesystem AssignedTo: bnc-team-screening@forge.provo.novell.com ReportedBy: chusty@attglobal.net QAContact: qa@suse.de Found By: --- Blocker: --- User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:9.0) Gecko/20100101 Firefox/9.0 ref: pciE serial card mythtv 0.24 dct-channel v 1.7 HDPVR Motorola cable box Problem: the channel change script to use the serial port connected to the STB does not work. /dev/tty5 is present, permissions are OK, when call it to change channels hangs before DCT. Basically dct-channel use a serial connection between the computer and the Motorola cable box to change channels. $ channel -p /dev/ttyS5 -vv 12 cursor moves to the next line and it blocks ttyS5, no errors and stays there for ever. The expected behavior is to change the channel and return the new channel number (-p is to select the ttyS5 otherwise the default would be ttyS0, -vv verbose and 12 is the channel to be changed to) If I $ channel Communication failed after 5 tries 0 more verbose $ channel -vv Attempting to initialize DCT SENT: type 0x70, len 2, id 0x04, seq 0x03 Serial timeout No response to packet No response to init_1; trying to continue ---snip-- Which show channel script is working but /dev/ttyS0 (default) is not connected which is correct. Description. I have a machine with dual boot, having opensuse 11.4 and opensuse 12.1 in two different HD. Everything works Ok under opensuse 11.4 which ruled out BIOS setup as a problem. I did 2 clean installation in 12.1 with the same results. The pciE serial card is recognized # dmesg | grep Oxford [ 1.726854] 2 ports detected on Oxford PCI Express device - ttyS5 is present in both (<both> means opensuse 11.4 and opensuse 12.1) - setserial gives the same result in both :~> setserial /dev/ttyS5 /dev/ttyS5, UART: 16950/954, Port: 0x0000, IRQ: 18 - the udev info is ALMOST the same in both #udevadm info -a -p $(udevadm info -q path -n /dev/ttyS5) every line in both OS is the same with ONE exception that the following line is present only in 11.4 ATTRS{modalias}=="pci:v00001415d0000C158sv00001415sd0000C158bc07sc00i02" but i do not think makes any difference ? # dmesg | grep serial [ 1.569725] serial8250: ttyS0 at I/O 0x3f8 (irq = 4) is a 16550A [ 1.720562] serial 0000:04:00.0: PCI INT A -> GSI 18 (level, low) -> IRQ 18 [ 1.752498] serial 0000:07:01.0: PCI INT A -> GSI 19 (level, low) -> IRQ 19 same in both OS versions # dmesg | grep ttyS* [ 0.000000] console [tty0] enabled [ 1.555551] serial8250: ttyS0 at I/O 0x3f8 (irq = 4) is a 16550A [ 1.700413] 00:08: ttyS0 at I/O 0x3f8 (irq = 4) is a 16550A [ 1.708991] ttyS4: detected caps 00000700 should be 00000500 [ 1.708995] 0000:04:00.0: ttyS4 at MMIO 0xfb601000 (irq = 18) is a 16C950/954 [ 1.724857] ttyS5: detected caps 00000700 should be 00000500 [ 1.724861] 0000:04:00.0: ttyS5 at MMIO 0xfb601200 (irq = 18) is a 16C950/954 [ 1.761550] 0000:08:01.0: ttyS6 at I/O 0xc080 (irq = 19) is a 16550A ttyS6 correspond to a pci modem that is working well. In summary the serial ports are recognized and udev produces the device but when channel tries to access ttyS5 it is blocked like nothing is attach to it. During the many trials one time worked but after reboot the problem reoccur. The only time it worked OK, the behavior change after the following error (which may be unrelated) <1. linux-npu4:/dev # Message from syslogd@linux-npu4 at Dec 4 05:53:07 ... kernel:[ 1702.129463] Disabling IRQ #19 ?? but this is the one (modem) [ 1.637228] 0000:08:01.0: ttyS6 at I/O 0xc080 (irq = 19) is a 16550A
I have posted messages in mythtv forum and opensuse without any replies. I reinstall 12.1 clean 3 times all with the same result. Reproducible: Always Steps to Reproduce: 1.Req:serial port+cable setup box Get the scrip from here http://www.mythtv.org/wiki/Dct-channel 2.#channel -p /dev/ttyS3 Actual Results: the cursor seat there forever. No error. Expected Results: Return the channel number. I do understand very well that it will be hard for you to reproduce because the extra equipment needed (cable setup box and serial port). I will be glad to test any suggestions you may have. I do believe there is a problem with the serial port. I wonder if the problem is related to udev? Comparing opensuse 11.4 and 12.1 in the same machine the only difference I found was with one line in udev. The fact that one time run OK under 12.1 after that error message also suggest that something is blocking ttyS5 in my case. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.