lkml.org 
[lkml]   [1999]   [Jul]   [10]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [Patch] Oops with serial module (was:RE: problem with automounter in 2.2.7)
On Sat, 10 Jul 1999, Steve Dodd wrote:

> > The Oops can happen on any system i can think of when one installs
> > serial.o as module, later decides to compile it in and later somehow
> > the module gets loaded. One calls rmmod serial and when sombody accesses
> > the device, the Oops happens.
> >
> > The fact is that not a user process explicitely requests overloading the
> > module, but kmod itself does it automatically e.g. when setserial is called.
>
> In which case there's a bug in the code which calls kmod, surely? It shouldn't
> try to search for a module to handle a device which is already registered.
>

It castually happend with 2.2.7, I think it was triggered by doing setserial
on a device which was not supported by the compiled-in driver (e.g. /dev/ttyS4
or /dev/cua4), but i can't reproduce it in the moment. Maybe something got
fixed in the meantime.
Still after an insmod and rmmod, a device access to a compiled-in driver
(serial.o) could reproduce the Oops.

--

have a nice day,

(-:B-e-r-n-d;-)



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

\
 
 \ /
  Last update: 2005-03-22 13:52    [W:0.328 / U:0.552 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site