Re: [2.5.49] Serial registered twice

Russell King (rmk@arm.linux.org.uk)
Sun, 24 Nov 2002 18:07:20 +0000


On Sun, Nov 24, 2002 at 04:38:42PM +0100, Kronos wrote:
> In my bootlog I see this:
>
> Serial: 8250/16550 driver $Revision: 1.90 $ IRQ sharing enabled
> tts/0 at I/O 0x3f8 (irq = 4) is a 16550A
> tts/1 at I/O 0x2f8 (irq = 3) is a 16550A
> pnp: the driver 'serial' has been registered
> pnp: pnp: match found with the PnP device '00:0c' and the driver 'serial'
> devfs_register(tts/0): could not append to parent, err: -17
> tts/0 at I/O 0x3f8 (irq = 4) is a 16550A
> pnp: pnp: match found with the PnP device '00:10' and the driver 'serial'
> devfs_register(tts/1): could not append to parent, err: -17
> tts/1 at I/O 0x2f8 (irq = 3) is a 16550A

Indeed. Although it is harmless, it isn't what the average user
expects. I could tweak the serial layer to refuse to re-initialise
an already initalised port.

However, the devfs_regsiter problem is one that needs solving.

-- 
Russell King (rmk@arm.linux.org.uk)                The developer of ARM Linux
             http://www.arm.linux.org.uk/personal/aboutme.html

- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/