2007-05-17 20:20:36

by CIJOML

[permalink] [raw]
Subject: Having problems with 8250 module in 2.6.20,2.6.21...

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


2007-05-17 22:14:34

by Russell King

[permalink] [raw]
Subject: Re: Having problems with 8250 module in 2.6.20,2.6.21...

On Thu, May 17, 2007 at 10:20:10PM +0200, CIJOML wrote:
> 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?

> 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.

> 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.

> Does anybody work on this problem or can help?

Please track down the last kernel version which worked.

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