linux-mips
[Top] [All Lists]

RE: broken devfs-support in SGI Zilog8530 serial driver

To: "'Raoul Borenius'" <raoul@shuttle.de>, linux-mips@oss.sgi.com
Subject: RE: broken devfs-support in SGI Zilog8530 serial driver
From: Borsenkow Andrej <Andrej.Borsenkow@mow.siemens.ru>
Date: Fri, 29 Mar 2002 14:01:54 +0300
Cc: devfs@oss.sgi.com
Importance: Normal
In-reply-to: <20020329103244.GA15765@bunny.shuttle.de>
Sender: owner-linux-mips@oss.sgi.com
> I'm not sure if this is a devfs or mips problem so I'm sending it
> to both lists.
> 
> I just compiled my own mips-kernel from oss.sgi.com:/cvs to get
> devfs-support. Unfortunately there seems to be a problem with the
> serial-driver at least in the linux_2_4 branch:
> 
> SGI Zilog8530 serial driver version 1.00
> devfs_register(ttyS): could not append to parent, err: -17

This means that somebody else registered ttyS (and cua) before Zilog8530
driver attempted to do it. The possible reason could be that driver
calls tty_register_devfs itself in this case it must set
TTY_DRIVER_NO_DEVFS flag to prevent the same nodes registered by
tty_register_driver.

-andrej

> devfs_register(cua): could not append to parent, err: -17
> tty00 at 0xbfbd9830 (irq = 29) is a Zilog8530
> tty01 at 0xbfbd9838 (irq = 29) is a Zilog8530
> 
> The result is that the directories /dev/tts and /dev/cua are missing.
> 
> There are only the files /dev/ttS and /dev/cua which can be used to
get
> access to the first serial port.
> 
> I have attached the full dmesg output at the end.
> 
> Regards
> 
> Raoul


<Prev in Thread] Current Thread [Next in Thread>