On Sat, 30 Oct 1999, winfried szukalski wrote:

> As far as I know: this situation can arise only iff I compile
> and install with CONFIG_SERIAL=m , then change my mind and
> compile and install with CONFIG_SERIAL=y without doing simply:
> rm -rf /lib/modules/VERSION/*
> This means: I have created a buggy/dangerous kernel. Perhaps
> 'make modules_install' should include 'rm -rf /lib/modules/VERSION/*'

You are right. However, the main issue is not that, it's why does it not
fail with a good error message, such as: minor/major already allocated,
there is already a char device with name `serial', or the IRQ 3 is already
used ?  I understand that serial devices now support IRQ sharing, and
that's maybe the reason why ``IRQ already used'' doesn't fail anymore.

However the other things should make it fail, such as ioport allocation,
minor/major, name same in char devices. It doesn't, and creates a
situation where serial ports are no longer usable. And it's not at all
easy to debug. It took half an hour and a kernel recompile to figure it
out, as I was helping a friend.

I always have rm -rf the modules, and now I understand it might be a good
idea.



-
To unsubscribe from this list: send the line "unsubscribe linux-serial" in
the body of a message to [EMAIL PROTECTED]

Reply via email to