Hi,

Very Good news this morning !!!

I definitively solved the problems about recompiling the SuSE 6.2 Kernel
and Modules for 686/SMP and NO-387 optimization in my PC.

As I said I have the following hardware:

Mainboard ASUS P2B-D
2 CPUs Pentium III 500 
SCSI Cards: Adaptec 2940 U2W + Adaptec 2910c for Microtek E6 scanner
No IDE peripherial, but just SCSI.
Matrox Millenium G400 Max
Stylus Color 900 printer

Before I need to say that the suggestion of Andre Hedrick of recompiling
just the kernel for SMP/686 and just editing before the .config file using
"make config" was wrong for two reasons:

1 - The .CONFIG file is not complete and differes from what the origina
SuSE kernel     really does for these reasons:
a) - The "standard generic serial support" is non marked as <M> even if the
serial.o module is loaded by the kernel;
b) - The "Parallel printer support" is not marked as <M> even if the module
lp.o is loaded by the kernel;
c) - The NLS ISO8859-1 and NLS ISO8859-15 support are not marked as <*>
even if used by the kernel for automatic FAT partition mounting at boot (do
not use <M> if you want mounting at boot!)
d) - It is also advisable to enable with <*> the "Set version information
on all symboles for modules" option if you want to add the SMP version of
the latest OSS driver, downloaded from OSS.

2 - It's NOT sufficient to recompile just the kernel, but it's necessary to
recompile also the kernel modules if you change the optimization levele to
SMP and/or 686, since also the mudule code is different.

So, the corrects step to perform the SMP/686 and NO-387 optimization of the
suse kernel in the correct way are the following:

1 - Rename the /lib/modules/2.2.10 directory in /lib/modules/2.2.10-OLD to
avoid making confusion between by mixing the old NON SMP/686 optimized
modules and the new modules you will create (since you will create not all
the modules but just the modules you need if you don't do so you will not
overwrite all the precdent module and if you need to add a new module in
the future it will not be a SMP/686 optimized version but an old version
and if you don't recompile thm you will not know ... this issue is
indicated also at the SuSE linux database where it talk about recompiling
the kernel and modules for SMP).

2 - go to the directory /usr/src/linux and perform "make menuconfig"
    
3 - Inside the menuconfig you need to:
a) - Modify the 386 support in 686 support
b) - add SMP support
c) - remove 387 emulation support
d) - enable with <*> the "Set version information on all symboles for
modules" (this
     is necessary if you want to add the SMP version of OSS in the future)
e) - I suggest also to switch from <M> to <*> the "Kernel support for MISC
binaries" 
     option even if this is not  important for the operation we want to
perform now
f) - Enable at least the "Standard/generic serial support" as <M> to avoid
the 
     "char-major-4" module not loaded error at boot and the loosing of the
serial 
     ports support
g) - Enable at least the "Parallel printer support" as <M> if you want to
be able of 
     printing. About this important step I need to make a BIG onsideration.
If you 
     compile the kernel without this setting and after installing the new
kernel you
     try to print using for example the " echo hello > /dev/lp0 " command
you don't
     print but, since the parallel port support is still enabled, you send
binary
     code to the printer and you lock it!!! Then, even if you reboot your
PC and 
     you install the old kernel/modules or you correct the new kernel and
recompile
     it you will not see the printer working and you get crazy as it
happned to me!!!
     In this case, the only solution is, after enabling this setting and
recompiling
     kernel and modules, shutdown the system and hardware switch off your
PC and your
     printer ... wait some seconds ... :-) ... on them again ... and you'll
be able
     to print at the next reboot !!! :-)
h) - Enable the NLS ISO-8859-1 and ISO-8859-15 options as <*> (not as <M>,
so it will
     work even at boot mounting of FAT partitions).
i) - Exit from "make menuconfig" saving the new .config file.

3) - perform make dep

4) - perform make clean

5) - perform make bzImage

5) - perform make modules

6) - perform make modules_install

7) - perform make bzlilo

8) - reboot!

And everything will run OK !!!!!!!!!! :-)))))))))))))))

I really hope this message will help othe people like me wuthout the need
of loosing 3 days of work!!!

Ciao!

Greatings.

Bye ... Paolo

My home page is: http://www.geocities.com/Hollywood/Academy/1453/
-
Linux SMP list: FIRST see FAQ at http://www.irisa.fr/prive/mentre/smp-faq/
To Unsubscribe: send "unsubscribe linux-smp" to [EMAIL PROTECTED]

Reply via email to