Linux - GeneralThis Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.
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.
ok... so here's what a website tells me to do:
1. become superuser
2. cd /usr/src/linux
3. make dep; make clean
4. make zImage
5. make modules
6. cp /usr/src/linux/arch/i386/boot/zImage /boot/newkernel
7. make modules_install
8. edit lilo.conf accordingly
i am stuck at 6. simply because i cannot find zImage... i can't copy a non-existent file??? or do i have to create it myself?
it's the 2nd time i'm recompiling and i am encountering the same difficulty...
This is what I do (slackware specific).
Step 1; Edit /etc/lilo.conf. Add the below entries to lilo.conf,
#Backup image
image = /vmlinuz.old
root = /dev/hda1
label = oldlinux
(note - replace /dev/hda1 with your boot partition)
Step 2; compiling the kernel,
"make mrproper" - only do this for an existing kernel source, ie; if your recompiling your current kernel, don't bother for a new kernel.
"make menuconfig"
"make dep"
"make clean"
"make bzImage"
"make install" - this is for slackware only.
"make modules"
"make modules_install"
reboot and enjoy.
The make install part is only for slackware, what it does is copies, moves and renames all the files to where they neet to go and runs lilo as well, thats why we edit /etc/lilo.conf in step 1.
If the new kernel refuses to boot then you can hit the "left" shift key at the lilo prompt and select "oldlinux" to boot your old (working) kernel.
oh yea... and btw, i noticed that at the make menuconfig stage, the screens looked a lot like a part of the debian install stage... wasn't too hard selecting the stuff...
btw, my sound card is a very old one (not PCI, the generation of card slots before that, can't remember what it is)... it's a Creative SB16 AWE something or other (okok so i live in the middle ages...). it worked fine with all the RH i tried (from 7.0 to 7.2) and all the Mandrake stuff i tried (from 7.0 to 8.0) so i don't think it's coz the kernel doesn't support it or something...
well, that'll make it ISA. i remember reading about ISA cards on the school bus when i was 13. spooky. ISA is of course the final standard ever required for PC cards. and of course, it's impossible to use more than 64kb of RAM ever.
isa is possibly disabled, or the isa card drivers are knocked out by default
but when i do the /sbin/modprobe sound.o io=0x0220 irq=5 dma=1 dam1=5, it tells me 'can't find sound.o'
i checked it and found the sound.o module in my /lib/modules/2.2.19/misc directory... so why is it telling me it can't be found? (and i did try /sbin/modprobe /lib/modules/2.2.19/misc/sound.o io=0x0220 irq=5 dma=1 dma1=5, so that's not the problem)
When you recompiled your kernel which version did you do? If your still on 2.2.x then try "insmod" instead of "modprobe" If your on a 2.4.x kernel then "/lib/modules/2.4.x" is where the sound.o module will be.
/dev/dsp*, /dev/sequencer*, /dev/mixer* are the main ones, you can chmod them to 666 if your the only user but if you want more security then you should create a "sound" group and add the users you want to that group.
Originally posted by Aussie /dev/dsp*, /dev/sequencer*, /dev/mixer* are the main ones, you can chmod them to 666 if your the only user but if you want more security then you should create a "sound" group and add the users you want to that group.
And don't forget audio and audio1. You can also, if for some reason you do use it, change the midi files: midi00, midi01, 02, 03. Didn't wanna type midi 4 times, you get the piture...
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.