kmod.c corrupted?

roelf (root@ttdesk.co.za)
Thu, 23 Apr 1998 14:46:20 +0200 (SAT)


When trying to compile 2.1.97 I get a
'Syntax error before character 0240' on line 116 of kmod.c

Seems that instead of a | char something extra (ascii 240) slipped in.

Could be that I just downloaded a buggered version of the kernel
tarbal, so I changed the line to read

kernel_thread(kmod_thread, NULL, CLONE_FILES | CLONE_FS | CLONE_SIGHAND);
^-------------
Using VI, i could see the funny character right over here^ as an extra
'pipe'. Under jed, I could see the offending char.

After that was fixed up, kernel compiled with no problems,
SMP=1,
and make bzImage, and modules etc.

Also used the latest version of modutils (2.1.85)
when building.
Standard config, nothing fancy, except for an NCR scsi adapter.

And as soon as I see:
Booting the kernel...

It reboots the whole machine..
H/W is a Compaq Professional W/S 5000,
dual Pentium Pro,
IDE CDRom,
SCSI Hdd,
and IDE hdd (for Linux).

make zImage is too big.

What now?

Think my kernel dist was corrupted?
I gunzipped the tarball, without any errors, so the tar file was ok...

I then untarred the whole thing, and got the same as with tar xvfz...

------------------------------------
Roelf Diedericks
Systems Engineer / Linux Character
email: roelf@ttdesk.co.za
------------------------------------

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