2.1.96: IDE as module has problems

Henrik Storner (storner@image.dk)
Wed, 15 Apr 1998 23:42:07 +0200 (MET DST)


I've seen this for some time, and it is still present in 2.1.96.

I only use IDE for swap space (and Win95), and have all of the IDE
drivers as modules: ide-mod, ide-probe and ide-disk.

If none of the modules are loaded and I try to mount the Win95
partition on the IDE disk, everything is just fine: The modules
are loaded, and the mount succeeds.

But if none of the modules are loaded and I try to activate the
SWAP partition on the IDE disk (running 'swapon -a'), I get:

"ll_rw_block: device 03:02: only 1024-char blocks implemented (4096)"

and the swapon process goes into state 'D'.

Of course, manually loading the modules and THEN doing the swapon
command works just fine.

Another thing is that when having the IDE drivers as modules, the
/proc/ide directory only contains the 'drivers' file. None of the
information about the IDE disks that shows up when the driver is
built in, is present. This is also a long-standing bug.

-- 
Henrik Storner  |  "testing? What's that? If it compiles, it is good, 
                |   if it boots up it is perfect."
                |                                    Linus Torvalds

- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.rutgers.edu