RE: broken devfs-support in SGI Zilog8530 serial driver

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



> 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


[Index of Archives]     [Linux MIPS Home]     [LKML Archive]     [Linux ARM Kernel]     [Linux ARM]     [Linux]     [Git]     [Yosemite News]     [Linux SCSI]     [Linux Hams]

  Powered by Linux