LinuxQuestions.org
Visit the LQ Articles and Editorials section
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This 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



Reply
 
Search this Thread
Old 07-10-2003, 02:14 PM   #1
Pcghost
Senior Member
 
Registered: Feb 2003
Location: The Real Washington
Distribution: Ubuntu, Debian, SuSE, UnSlung, Android
Posts: 1,819

Rep: Reputation: 46
Question 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.
 
Old 07-10-2003, 03:54 PM   #2
Tinkster
Moderator
 
Registered: Apr 2002
Location: in a fallen world
Distribution: slackware by choice, others too :} ... android.
Posts: 23,005
Blog Entries: 11

Rep: Reputation: 903Reputation: 903Reputation: 903Reputation: 903Reputation: 903Reputation: 903Reputation: 903Reputation: 903
Just a coincidence ... RPM sucks all
by itself, no kernel involved...

Cheers,
Tink
 
Old 07-10-2003, 03:59 PM   #3
Pcghost
Senior Member
 
Registered: Feb 2003
Location: The Real Washington
Distribution: Ubuntu, Debian, SuSE, UnSlung, Android
Posts: 1,819

Original Poster
Rep: Reputation: 46
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).

Last edited by Pcghost; 07-10-2003 at 04:01 PM.
 
Old 07-10-2003, 04:39 PM   #4
Tinkster
Moderator
 
Registered: Apr 2002
Location: in a fallen world
Distribution: slackware by choice, others too :} ... android.
Posts: 23,005
Blog Entries: 11

Rep: Reputation: 903Reputation: 903Reputation: 903Reputation: 903Reputation: 903Reputation: 903Reputation: 903Reputation: 903
w000t :}

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?

Cheers,
Tink
 
Old 07-10-2003, 04:51 PM   #5
Pcghost
Senior Member
 
Registered: Feb 2003
Location: The Real Washington
Distribution: Ubuntu, Debian, SuSE, UnSlung, Android
Posts: 1,819

Original Poster
Rep: Reputation: 46
Talking 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?

Thanks for the help Tink..
 
Old 07-10-2003, 05:31 PM   #6
Tinkster
Moderator
 
Registered: Apr 2002
Location: in a fallen world
Distribution: slackware by choice, others too :} ... android.
Posts: 23,005
Blog Entries: 11

Rep: Reputation: 903Reputation: 903Reputation: 903Reputation: 903Reputation: 903Reputation: 903Reputation: 903Reputation: 903
Re: lol

Quote:
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)


Cheers,
Tink
 
Old 07-11-2003, 12:57 PM   #7
Pcghost
Senior Member
 
Registered: Feb 2003
Location: The Real Washington
Distribution: Ubuntu, Debian, SuSE, UnSlung, Android
Posts: 1,819

Original Poster
Rep: Reputation: 46
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! :-)
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Glibc2.3.2 broke RPM isel Linux - Software 0 04-08-2004 02:26 PM
2.6 kernel broke rpm tektone Linux - Software 2 02-20-2004 02:10 PM
Broke my RPM program vincebs Red Hat 4 12-29-2003 02:46 AM
I think I broke RPM kiteless Linux - Software 1 08-31-2003 12:18 AM
I recompiled the kernel, and broke VESA... help? kleptophobiac Linux - Software 2 08-03-2003 01:30 PM


All times are GMT -5. The time now is 08:07 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration