Skip to contentSkip to conversation

compilation of floppy as module failure

DISCUSSION Micha³ Adamczak 3 participants 3 messages Jul 11, 2002 VFS

lore
Share & tools
lore
#0 lore raw

just wanted to report that in 2.4.19-rc1
the kernel image does not compile if floppy (CONFIG_BLK_DEV_FD) is to be compiled as a module.

the problem does not exist when the floppy is built in.

the listing of the ver_linux:

Gnu C                  2.95.4
Gnu make               3.79.1
util-linux             2.11n
mount                  2.11n
modutils               2.4.15
e2fsprogs              1.27
PPP                    2.4.1
Linux C Library        2.2.5
Dynamic linker (ldd)   2.2.5
Procps                 2.0.7
Net-tools              1.60
Console-tools          0.2.3
Sh-utils               2.0.12
Signature · 2 lines
Michal Adamczak
[email protected]
#1 lore raw

Hi,

Quoted 3 lines · Micha³ Adamczak

just wanted to report that in 2.4.19-rc1
the kernel image does not compile if floppy (CONFIG_BLK_DEV_FD) is to be compiled as a module.

Do you have a particular error message?

Regards, Thunder

Signature · 7 lines
(Use http://www.ebb.org/ungeek if you can't decode)
------BEGIN GEEK CODE BLOCK------
Version: 3.12
GCS/E/G/S/AT d- s++:-- a? C++$ ULAVHI++++$ P++$ L++++(+++++)$ E W-$
N--- o?  K? w-- O- M V$ PS+ PE- Y- PGP+ t+ 5+ X+ R- !tv b++ DI? !D G
e++++ h* r--- y- 
------END GEEK CODE BLOCK------
#2 lore raw
In reply to Micha³ Adamczak
Quoted 6 lines · Micha³ Adamczak

just wanted to report that in 2.4.19-rc1
the kernel image does not compile if floppy (CONFIG_BLK_DEV_FD) is to be compiled as a module.

the problem does not exist when the floppy is built in.
...

This is a known problem. The following patch that is already in Marcelos' BK repository fixes it:

init/do_mounts.c +1 -1
diff -Nru a/init/do_mounts.c b/init/do_mounts.c
@@ -378,7 +378,7 @@
 	return sys_symlink(path + n + 5, name);
 }
 
-#if defined(CONFIG_BLOCK_DEV_RAM) || defined(CONFIG_BLK_DEV_FD)
+#if defined(CONFIG_BLK_DEV_RAM) || defined(CONFIG_BLK_DEV_FD)
 static void __init change_floppy(char *fmt, ...)
 {
 	struct termios termios;

cu
Adrian

Signature · 3 lines
You only think this is a free country. Like the US the UK spends a lot of
time explaining its a free country because its a police state.
								Alan Cox