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 was debating trying Slackware on my system, but need a 3.4 or later kernel. How big of a deal is this? Is this a reason to use a different distro?
I realize there are a lot of posts about this, however most of them point to http://shilo.is-a-geek.com/slack/kernel14.html which is a broken link, and half of them say to get this from the testing branch and the other half say to download from kernel.org directly.
It depends on your skill level. For an intermediate user, these instructions work well. You need to be able to copy files, edit files and run things from the command line. I usually recompile a kernel for my systems. I do not consider myself an expert at it.
The thing to do is install your slackware system, get it running on the generic kernel, you can then download what ever version you want, and follow the instructions on the link. You will probably need an initrd file, there is a handy script to use that makes that easy.
Slackware is well documented, you will need to read as you go. It is not hard, just different from the installers on other distros.
Quote:
Is this a reason to use a different distro?
I don't think so, several Slack users are using kernels newer than the one that comes with 14.0.
If you'd like to try out some of the newer kernel branches, you'll
find .config files for Linux 3.4.11, 3.5.4, and 3.6-rc4 in the
/testing/source/ directory
Do I need these config files in addition to the link you posted, or will they make the upgrade easier, or should I ignore them?
I am more concerned about whether I will have a stable working system when I am done then how long this will take (but am assuming I can get through it in 1 day). Part of the reason for doing this is the learning process anyway. If others are doing this, it is probably okay.
I was debating trying Slackware on my system, but need a 3.4 or later kernel. How big of a deal is this? Is this a reason to use a different distro?
I realize there are a lot of posts about this, however most of them point to http://shilo.is-a-geek.com/slack/kernel14.html which is a broken link, and half of them say to get this from the testing branch and the other half say to download from kernel.org directly.
I tried last night - this was delayed because of hardware issues. I had both a bad motherboard and a bad power supply, so now I have almost a new computer.
My new kernel did not book
I got:
VFS: Cannot open root device "802" or unknown-block (8,2)
Please append a correct "root=" boot option
Kernel Panic-not syncing: VFS: unable to mount root fs on unknown block(8,2)
Please note this is from "http://alien.slackbook.org/dokuwiki/doku.php?id=linux:kernelbuilding#creating_an_initrd" and may not be the exact error message but it is very similar.
I tried to start the process over, but failed (don't remember why, because I was falling asleep by then).
Questions:
The page referenced above says "Build the ext3 (needs the jbd driver as well) and reiser/xfs/jfs fileystem drivers into the kernel instead of compiling them as modules"
I am assuming I don't need reiser since I've never used (or plan to use) that filesystem.
I can't find the jbd driver in options. I do see jdb debug information options for ext3 and ext4, but they look like debugging information, not something needed (or useful) on a production system.
The page does warn "Remember, your new kernel may not even boot if you made a mistake somewhere", but doesn't give me any clue how to fix things if I made a mistake somewhere. Do I just start the process over again? Or do I need to do some cleanup?
Probably your kernel is missing the driver for the filesystem. Which filesystem does your / partition actually have?
You will have either to build your kernel with the drivers for filesystem and ide/sata-controller in the kernel, or you build a generic kernel, only with a generic kernel you'll need an initrd. Don't confuse both! with the initrd you will have to build those modules into the initrd.
Probably your kernel is missing the driver for the filesystem. Which filesystem does your / partition actually have?
You will have either to build your kernel with the drivers for filesystem and ide/sata-controller in the kernel, or you build a generic kernel, only with a generic kernel you'll need an initrd. Don't confuse both! with the initrd you will have to build those modules into the initrd.
Markus
I am using ext4.
I thought I included the drivers, but after I ran "make xconfig" a 2nd time, they were selected as modules, and it seems to be remember the changes I make, so I bet this was the problem.
The alien.slackbook.org article does not mention "ide/sata-controller". I did see another page (http://blog.tpa.me.uk/slackware-kernel-compile-guide/) ask me to include this as well. There is a section “Device Drivers” -> “Serial ATA and Parallel ATA drivers”, but everything seems to default to being compiled in. Do you think this is also a problem?
I have not tried to do an initrd, and want to avoid that, unless I can't get my system working any other way (unlikely).
Should I be able to go through all the steps on the alien.slackbook.org a second (or third, or fourth, etc) time without doing any cleanup? If so, most of the steps seem redundant, can I skip them? Nothing I can find tells me anything about how to start the process over if I need to.
You don't need to do all steps. You can use "make xconfig" make your changes and then run make again. I would although recommend to delete the /lib/modules/3.???? directory before reinstalling the modules.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.