On Sun, Oct 10, Stefan Rydberg wrote:

> Hi!
> In the dir /sbin/init.d/rc2.d you find a file starting whith @S..serial.
> Edit this and use the autoconfig and auto_irq. This works for me.

Oops. These files are symbolic links to /sbin/init.d/serial so you edit
this one (makes no difference).


> > After installing SuSE, compiling a new kernel and installing the latest
> > AX25-stuff (libax25-0.0.7
> > tools-0.0.5 and apps-0.0.4) I was cheking ttys* devices with setserial -g
> > /dev/ttys2 and I always got the message "I/O error". The same with
> > kissattach: open: Input/output error. My TNC (kissmode) is connected to
> > COM3, so I have to remove /dev/ttys2 and create it manualy with
> > mknod -m 660 /dev/ttys2 c 4 66 and
> > chown root.tty /dev/ttys2

Hmm. Did you really take ttys* or was it a typo? If not look what happens
if using ttys* and not ttyS*:

Bareis:~ # setserial -g /dev/ttys0 /dev/ttyS0
/dev/ttys0: Input/output error
/dev/ttyS0, UART: 16550A, Port: 0x03f8, IRQ: 4

Devices with major 3 are pseudo-tty slaves (see /usr/src/linux/
Documentation/devices.txt).

> > Also I was edit *serial for proper IRQ and UART.

/sbin/init.d/serial I assume?! Right.

> > Then I was able to make kissattach, BUT "listen" and "call" was not working.
> > Also I realised, that during booting linux threre was no messages concerning
> > AX25 and kiss.
> > Then I inserted kissattach string to /sbin/init.d/boot.local
> > After that i got the following during startup of linux :
> > 
> > Serial driver version 4.27 with HUB-6 MANY_PORTS MULTIPORT SHARE_IRQ enabled
> > ttyS00 at 0x03f8 (irq = 4) is a 16450
> > ttyS01 at 0x02f8 (irq = 3) is a 16450
> > ttyS02 at 0x03e8 (irq = 4) is a TI16750
> > ttyS03 at 0x02e8 (irq = 3) is a TI16750

Looks good.

> > Configuring serial ports
> > Cannot set serial info: Device or resource busy
> > ttyS0 at 0x03f8 (irq = 4) is a 16450
> > ttyS1 at 0x02f8 (irq = 3) is a 16450
> > ttyS2 at 0x03e8 (irq = 4) is a 16750  ## this is wrong! must be IRQ 5  and
> > UART 16550A
> > ttyS3 at 0x02e8 (irq = 2) is a 16550A                                 failed

Can't say anything about this one without knowing what you have changed in
/sbin/init.d/serial.

> > I wonder, where is this "Serial driver version 4.27 with HUB-6" from ??? I
> > don't use it!

Of course you use it, this is the message from the kernel's serial driver.
Try a 

        Bareis:~ # strings /lib/modules/<your_kernel_version>/misc/serial.o 

and you will see the appropiate messages.


> > Why  "Cannot set serial info: Device or resource busy" ??? What I'm doing
> > wrong?


See above: Try using the correct device names ttyS* instead of ttys*.


Regards, Kai
--
Kai Altenfelder, SuSE GmbH, Schanzaeckerstr. 10, D-90443 Nuernberg
Tel.: +49-911-74053-0, Fax: +49-911-3206727, EMail: [EMAIL PROTECTED]
Ham: DL3LBA                               PGP public key available 

Reply via email to