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.
Distribution: Fedora, Debian, OpenSuSE and Android
Posts: 1,820
Rep:
Recompiled kernel and broke RPM db? How?
Yesterday I recompiled the kernel on my laptop with all the bells and whistles I need. And now when I boot that kernel, I get an error when installing rpm packages. It says it cant read the rpm database. How is it possible to break that by compiling the kernel? I never saw anything referring to RPM in the configs.
Distribution: Fedora, Debian, OpenSuSE and Android
Posts: 1,820
Original Poster
Rep:
That's what I thought, but why then does RPM work when I boot the older kernel? I can run apt under my old kernel but it errors when I try using the new (2.5.68) kernel.
And I know RPMs suck and all, but sometimes I just want that quick fix install (when it works).
I haven't tried any 2.5 series kernels, and
wouldn't know how/what in the kernel code
would change the berkley DB .... maybe some
sort of new permission/ACL thing going on?
Or the filesystem of the mountpoint where
the DB lives isn't supported in your new kernel?
Distribution: Fedora, Debian, OpenSuSE and Android
Posts: 1,820
Original Poster
Rep:
lol
Ok ok, I will tone down my ambition. I figured if I was going to make a bad*ss custom kernel for my laptop I might as well go for broke and use a newer kernel. The strange thig is, when I tried to make xconfig the 2.4.21 kernel, alot of the features I needed were greyed out, so I couldn't select them. Things like ACPI support. I am so close to having a really hot system here, I just need to get my kernel perfect.
Just out of curiousity, when I do hit "perfect" on my new kernel, how do I backup the built kernel so I can restore it if things ever go wrong?
Originally posted by Pcghost Ok ok, I will tone down my ambition. :D I figured if I was going to make a bad*ss custom kernel for my laptop I might as well go for broke and use a newer kernel. The strange thig is, when I tried to make xconfig the 2.4.21 kernel, alot of the features I needed were greyed out, so I couldn't select them. Things like ACPI support. I am so close to having a really hot system here, I just need to get my kernel perfect.
Just out of curiousity, when I do hit "perfect" on my new kernel, how do I backup the built kernel so I can restore it if things ever go wrong?
Thanks for the help Tink..
Ummm ... the greyed bits happen if you don't
select the "experimental" feature in the top
most menue....
As for the ACPI support: make sure you grab
the acpi patch from http://acpi.sourceforge.net
The patch against 2.4.21.rc3 also works with
the actual 2.4.21 kernel....
As for the backup ... just copy one of each
working kernel to roots home ;) (it's a good
idea to copy the corresponding .config &
System.Map files, too)
Distribution: Fedora, Debian, OpenSuSE and Android
Posts: 1,820
Original Poster
Rep:
Thanks alot Tinkster. It turned out my problem was the fact that I was recompiling a developement kernel. I went back and downloaded the 2.4.21 kernel, patched it for acpi and now have a virtually perfect kernel running on my laptop. The only problem I have now is figuring out which selection in the"filesystems" section controls the iso-8859 filesystem. I get an error that says
cannot locate module nls_iso-8859
Once I correct that, I have mastered the kernel config. Woohoo! :-)
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.