SlackwareThis Forum is for the discussion of Slackware Linux.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
I've got Slack 10 on my Proliant Dual PPRO 200mhz running without issues.
When I go to enable SMP, I run make menuconfig and change only 2 things, the processor type (it shows 486, changed to Pentium Pro) and then enabled SMP with a max of 2 CPU's.
I got the error right after I ran make bzImage. It says the kernel is too large and lilo will not add the image to the MBR after i've changed lilo.conf.
Just run /sbin/lilo -v to take change in account, ignore kernel size message as it just advertising you that it is too big to copy it in a floppy boot disk
doesn't /sbin/lilo -v just show the version?
I did run lilo after and it gave the same error .. kernel too large.
I thought the error could be just as you said, only for a floppy is it too large.
However when I ran lilo after changing lilo.conf to append the new kernel .. it gives that error.
I'm just a little hesititant doing it again because it's running so nice now. =)
Cedrik - I checked out the /usr/src/linux/arch/i386/boot/ and there was a bzImage which was just a bit smaller than my current kernel .. which would make sense.
I then copied it to /boot as vmlinuz.old and then ran lilo .. no problem. (my lilo.conf still has an entry for another kernel) Rebooted and I get a good ole Kernel Panic, VFS Unable to mount root fs on 08:05.
I'll post my lilo.conf
root@cerveza:/etc# cat lilo.conf
# LILO configuration file
# generated by 'liloconfig'
#
# Start LILO global section
append="nousb mem=exactmap mem=640K@0 mem=511M@1M"
boot = /dev/sda
message = /boot/boot_message.txt
prompt
timeout = 1200
# Override dangerous defaults that rewrite the partition table:
change-rules
reset
# Normal VGA console
vga = normal
# VESA framebuffer console @ 1024x768x64k
# vga=791
# VESA framebuffer console @ 1024x768x32k
# vga=790
# VESA framebuffer console @ 1024x768x256
# vga=773
# VESA framebuffer console @ 800x600x64k
# vga=788
# VESA framebuffer console @ 800x600x32k
# vga=787
# VESA framebuffer console @ 800x600x256
# vga=771
# VESA framebuffer console @ 640x480x64k
# vga=785
# VESA framebuffer console @ 640x480x32k
# vga=784
# VESA framebuffer console @ 640x480x256
# vga=769
# End LILO global section
# Linux bootable partition config begins
image = /boot/vmlinuz
root = /dev/sda5
label = Linux
read-only
image = /boot/vmlinuz.old
root = /dev/sda5
label = Linux-SMP
read-only
# Linux bootable partition config ends
I only made one change in make menuconfig so I know I didnt disable any built in support.
assuming your top post means
CONFIG_SMP=y
if you have 4 G of ram
CONFIG_NOHIGHMEM=n
CONFIG_HIGHMEM4G=y
2) The reason I asked the size of your new kernel is that grub can boot kernels up to 1440Kb in size
3) you may also consider the following to assist (=yes)
CONFIG_PREEMPT=y for speed
CONFIG_MODULE_FORCE_UNLOAD=y under loaded mod support so you can compile more drivers than you think you need but won't be forced to reboot
(according to LinuxUser & Developer magazine)
4) you can of course make most things modules but then you are forced to have a bigger initrd image to get your hardware recognised.
I have a Proliant 2500 Dual Pentium Pro 200MHZ with 512 megs of ram.
my lilo.conf shows what I have to do to get 512 megs avail when 16 is only shown (mem=exactmap mem=640K@0 mem=511M@1M)
root@cerveza:~# cat /proc/cpuinfo
processor : 0
vendor_id : GenuineIntel
cpu family : 6
model : 1
model name : Pentium Pro
stepping : 9
cpu MHz : 199.466
cache size : 256 KB
fdiv_bug : no
hlt_bug : no
f00f_bug : no
coma_bug : no
fpu : yes
fpu_exception : yes
cpuid level : 2
wp : yes
flags : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov
bogomips : 397.31
There's the cpuinfo ... only shows one CPU which is of course PPRO.
CONFIG_PREEMPT=y for speed
CONFIG_MODULE_FORCE_UNLOAD=y
I'll try these to see what changes it makes but currently my SMP kernal boots with a Kernel Panic.
Not sure why as I only changed the SMP to YES and the max CPUs to 2.
it probably sounds like boasting but heres my updated tutorial look for the emergency boot of large kernels on how to use 2 or 3 floppies .
as one floppy is devoted to the kernel its theoretical size is 1440 Kb
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.