Skip to contentSkip to conversation

[2.5.49] Serial registered twice

DISCUSSION Kronos 2 participants 2 messages Nov 24, 2002

lore
Share & tools
lore

Kronos

author
#0 lore raw

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

Quoted 1 line

From my .config:

CONFIG_PNP=y
CONFIG_PNP_NAMES=y
CONFIG_PNP_DEBUG=y
CONFIG_PNPBIOS=y
CONFIG_SERIAL_8250=y
CONFIG_SERIAL_8250_EXTENDED=y
CONFIG_SERIAL_8250_SHARE_IRQ=y
CONFIG_SERIAL_CORE=y
CONFIG_DEVFS_FS=y
CONFIG_DEVFS_MOUNT=y

ciao,
Luca

Signature · 5 lines
Reply-To: [email protected]
Home: http://kronoz.cjb.net
"La mia teoria scientifica preferita e` quella secondo la quale gli 
 anelli di Saturno sarebbero interamente composti dai bagagli andati 
 persi nei viaggi aerei." -- Mark Russel
#1 lore raw
Quoted 12 lines · Kronos

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.

Signature · 2 lines
Russell King ([email protected])                The developer of ARM Linux
             http://www.arm.linux.org.uk/personal/aboutme.html