Skip to contentSkip to conversation

Having problems with 8250 module in 2.6.20,2.6.21...

DISCUSSION CIJOML 2 participants 2 messages May 17, 2007

lore
Share & tools
lore

CIJOML

author
#0 lore raw

Hi,

with kernel 2.6.20 and 2.6.21 I have problem with my good old router Dell Dual P2 333MHz.

Module 8250 getts loaded, but UPS driver is unable talk to UPS:

Serial: 8250/16550 driver $Revision: 1.90 $ 4 ports, IRQ sharing disabled
eth0:  setting full-duplex.
eth1:  setting full-duplex.
prism2: wlan0: operating mode changed 3 -> 2
wifi0: LinkStatus=2 (Disconnected)
wifi0: LinkStatus: BSSID=00:60:b3:6a:5e:88

nf_conntrack version 0.5.0 (1024 buckets, 8192 max)
ip_tables: (C) 2000-2006 Netfilter Core Team
wifi0: LinkStatus=1 (Connected)
wifi0: LinkStatus: BSSID=00:02:2d:ba:4e:7d
ttyS0: LSR safety check engaged!
ttyS0: LSR safety check engaged!
ttyS1: LSR safety check engaged!
ttyS1: LSR safety check engaged!
HTB: quantum of class 10001 is big. Consider r2q change.
HTB: quantum of class 10001 is big. Consider r2q change.
HTB: quantum of class 10015 is small. Consider r2q change.
HTB: quantum of class 10016 is small. Consider r2q change.
HTB: quantum of class 10017 is small. Consider r2q change.
HTB: quantum of class 10011 is small. Consider r2q change.
HTB: quantum of class 10015 is small. Consider r2q change.
HTB: quantum of class 10016 is small. Consider r2q change.
HTB: quantum of class 10017 is small. Consider r2q change. u32 classifier
OLD policer on
wifi0: LinkStatus=2 (Disconnected)
wifi0: LinkStatus: BSSID=00:02:2d:ba:4e:7d
wifi0: LinkStatus=2 (Disconnected)
wifi0: LinkStatus: BSSID=44:44:44:44:44:44
ttyS1: LSR safety check engaged!
wifi0: LinkStatus=1 (Connected)
wifi0: LinkStatus: BSSID=00:02:2d:ba:4e:7d
ttyS1: LSR safety check engaged!
ttyS1: LSR safety check engaged!
ttyS1: LSR safety check engaged!
ttyS1: LSR safety check engaged!
ttyS1: LSR safety check engaged!
ttyS1: LSR safety check engaged!
ttyS1: LSR safety check engaged!

Liboc01:/home/cijoml# upsdrvctl start
Network UPS Tools - UPS driver controller 2.0.4
Network UPS Tools - Tripp-Lite SmartUPS driver 0.8 (2.0.4)
tcgetattr(/dev/ttyS1): Input/output error
Driver failed to start (exit status=1)

Does anybody work on this problem or can help?

Thanks a LOT

Michal

#1 lore raw
Quoted 10 lines · CIJOML

Hi,

with kernel 2.6.20 and 2.6.21 I have problem with my good old router Dell Dual P2 333MHz.

Module 8250 getts loaded, but UPS driver is unable talk to UPS:

Serial: 8250/16550 driver $Revision: 1.90 $ 4 ports, IRQ sharing disabled
eth0:  setting full-duplex.
eth1:  setting full-duplex.

Looks like no serial ports were found?

Quoted 4 lines

ttyS0: LSR safety check engaged!
ttyS0: LSR safety check engaged!
ttyS1: LSR safety check engaged!
ttyS1: LSR safety check engaged!

But something in userspace tried to add some, but they don't look like a serial port - the LSR register contains an impossible value for a serial port to be there.

Quoted 8 lines

ttyS1: LSR safety check engaged!
ttyS1: LSR safety check engaged!
ttyS1: LSR safety check engaged!
ttyS1: LSR safety check engaged!
ttyS1: LSR safety check engaged!
ttyS1: LSR safety check engaged!
ttyS1: LSR safety check engaged!
ttyS1: LSR safety check engaged!

More attempts at trying to open the nonexistent serial port.

Quoted 1 line

Does anybody work on this problem or can help?

Please track down the last kernel version which worked.

Signature · 3 lines
Russell King
 Linux kernel    2.6 ARM Linux   - http://www.arm.linux.org.uk/
 maintainer of: