Re: 2.4.4-ac4 - oops on unload "cdrom" module

2001-05-04 Thread Jens Axboe
On Fri, May 04 2001, Pavel Roskin wrote: > > The following patch fixes unloading of cdrom module when no cdrom driver > > loaded (2.4.5-pre, 2.4.4-ac): > > It works for me. Thank you! You have even managed to find out that I had > my CD-ROM disconnected :-) > > By the way, shouldn't we register

Re: 2.4.4-ac4 - oops on unload "cdrom" module

2001-05-04 Thread Jens Axboe
On Fri, May 04 2001, Andrzej Krzysztofowicz wrote: > > This oops happens when I run "rmmod cdrom" on a 2.4.4-ac4 kernel with > > CONFIG_SYSCTL enabled. It doesn't happen if CONFIG_SYSCTL is disabled. > > > > sr_mod isn't loaded at this point. Reference to sd_mod looks weird. After > > this oops t

Re: 2.4.4-ac4 - oops on unload "cdrom" module

2001-05-04 Thread Pavel Roskin
Hi, Andrzej! > The following patch fixes unloading of cdrom module when no cdrom driver > loaded (2.4.5-pre, 2.4.4-ac): It works for me. Thank you! You have even managed to find out that I had my CD-ROM disconnected :-) By the way, shouldn't we register sysctl, /proc/sys/dev/cdrom/ and /dev/cdr

Re: 2.4.4-ac4 - oops on unload "cdrom" module

2001-05-04 Thread Andrzej Krzysztofowicz
> This oops happens when I run "rmmod cdrom" on a 2.4.4-ac4 kernel with > CONFIG_SYSCTL enabled. It doesn't happen if CONFIG_SYSCTL is disabled. > > sr_mod isn't loaded at this point. Reference to sd_mod looks weird. After > this oops the "cdrom" module remains in memory in the "deleted" state.

2.4.4-ac4 - oops on unload "cdrom" module

2001-05-04 Thread Pavel Roskin
Hello! This oops happens when I run "rmmod cdrom" on a 2.4.4-ac4 kernel with CONFIG_SYSCTL enabled. It doesn't happen if CONFIG_SYSCTL is disabled. Full .config is here: http://www.red-bean.com/~proski/linux/config sr_mod isn't loaded at this point. Reference to sd_mod looks weird. After this o