Re: [BUG] No ttyS0 - Strange udev 8250_pnp interaction

From: Michael Guntsche
Date: Wed Oct 07 2009 - 16:32:36 EST


On 2009.10.07 22:12:28 , Kay Sievers wrote:
> To be more specific, Michael, can you please run "udevadm monitor" at
> the same time you see this happen?

I started udevadm monitor with the module installed AND all 4 devices
populated. Then I removed the module....

KERNEL[1254947142.220060] remove /devices/pnp0/00:06/tty/ttyS1 (tty)
UDEV [1254947142.220121] add
/devices/platform/serial8250/tty/ttyS1 (tty)
KERNEL[1254947142.220161] add
/devices/platform/serial8250/tty/ttyS1 (tty)
UDEV [1254947142.220857] remove /devices/pnp0/00:06/tty/ttyS1 (tty)
KERNEL[1254947142.223078] remove /devices/pnp0/00:05/tty/ttyS0 (tty)
UDEV [1254947142.223134] add
/devices/platform/serial8250/tty/ttyS0 (tty)
KERNEL[1254947142.223175] add
/devices/platform/serial8250/tty/ttyS0 (tty)
UDEV [1254947142.223800] remove /devices/pnp0/00:05/tty/ttyS0 (tty)
KERNEL[1254947142.225369] remove /bus/pnp/drivers/serial (drivers)
UDEV [1254947142.225419] remove /module/8250_pnp (module)
KERNEL[1254947142.225455] remove /module/8250_pnp (module)
UDEV [1254947142.225675] remove /bus/pnp/drivers/serial (drivers)

Afterwards ONLY ttyS2 and ttS3 were under /dev.

I then added the module again ....

KERNEL[1254947157.330470] add /module/8250_pnp (module)
UDEV [1254947157.330521] add /module/8250_pnp (module)
KERNEL[1254947157.333498] remove
/devices/platform/serial8250/tty/ttyS0 (tty)
KERNEL[1254947157.333550] add /devices/pnp0/00:05/tty/ttyS0 (tty)
UDEV [1254947157.334830] add /devices/pnp0/00:05/tty/ttyS0 (tty)
UDEV [1254947157.334889] remove
/devices/platform/serial8250/tty/ttyS0 (tty)
KERNEL[1254947157.338967] remove
/devices/platform/serial8250/tty/ttyS1 (tty)
KERNEL[1254947157.339020] add /devices/pnp0/00:06/tty/ttyS1 (tty)
KERNEL[1254947157.339056] add /bus/pnp/drivers/serial (drivers)
UDEV [1254947157.340180] remove
/devices/platform/serial8250/tty/ttyS1 (tty)
UDEV [1254947157.340753] add /devices/pnp0/00:06/tty/ttyS1 (tty)
UDEV [1254947157.341202] add /bus/pnp/drivers/serial (drivers)

ONLY ttyS1 (and S2, S3) where there.

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