LinuxQuestions.org
Visit Jeremy's Blog.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 11-21-2005, 09:25 PM   #1
mikeh2
Member
 
Registered: Oct 2005
Posts: 32

Rep: Reputation: 15
Help! Unintentional Kernel Upgrade?!


I run Suse 10 X86_64 on a laptop. Last night I was trying to get my ATI TV Wonder USB2.0 to work. In the process, I installed a couple of drivers. In particular, I installed one package in YAST, and it took an unusually long time to install. I remember thinking that the wait was odd.

I shut down my system this morning, and when I tried to reboot, it wouldn't boot. It only gets through a couple of lines (up to initrd /boot/initrd) and quits. I get a little bit more output when I try to boot into failsafe mode, but not substantially more.

At first I thought the problem was related to my trying to configure the video capture device. So, I booted to a livecd and manually tried to remove any reference to the bttv driver. That didn't seem to have any effect.

I then looked at /boot/initrd and noticed that (a) it was modified around the time that YAST mysteriously hung for so long, and (b) it was pointing to a file with SUPER in its title. The same was true for vmlinuz.

That seemed odd for three reasons: (1) the files were modified at the time of interest, (2) the last thing I see before my system freezes is a reference to /boot/initrd, and (3) I don't recall ever seeing SUPER in the titles before.

I then took a look at /lib/modules and found these directories:

2.6.13-15-default (I remember seeing this one in the past)
2.6.13-15.ck6.SUPER.1-default (I've never seen this one before)

The name of my initrd file is similar to the second directory name. In addition, both of these directories were modified near or at the time YAST caused my system to hang for so long. These points make me suspect that the second directory has something to do with my problems.

I'm in way over my head here. I have full control of the filesystem by booting to a livecd, so I can change various options. But I have no idea what to change and would prefer not randomly to change boot-related options, as that might frustrate the situation.

I suspect that I perhaps accidentally upgraded my kernel, and the new kernel has some problem with my hardware.

Does this theory sound likely, given the facts above? I'd appreciate any alternate explanations, and especially any suggestions of how to fix the problem.
 
Old 11-21-2005, 09:37 PM   #2
mikeh2
Member
 
Registered: Oct 2005
Posts: 32

Original Poster
Rep: Reputation: 15
The more I look into this, the more certain I am that my theory is correct. The old kernel directory (2.6.13-15-default) is basically empty, except for a couple of modules that I manually added.

The "SUPER" directory is full. My kernel appears to be this: http://www.opensuse.org/SUPER. I don't even know what that is, other than what I read on the site. I certainly don't know how it got on my system.

Is there an easy way, through a livecd, do download and replace an entire kernel (manually)? I'm guessing the answer is no...


Barring that option, I suppose I could copy out my data and start over. I could also try to stick with the SUPER kernel and diagnose the problem...
 
Old 11-21-2005, 10:31 PM   #3
bigrigdriver
LQ Addict
 
Registered: Jul 2002
Location: East Centra Illinois, USA
Distribution: Debian stable
Posts: 5,908

Rep: Reputation: 356Reputation: 356Reputation: 356Reputation: 356
Cross your fingers, lad. It *might* be easier that than. If you have a live cd to boot, do so. Then mount the partition which contains /boot. Cd into that partition and directory. Take a carefull look at the contents. Are the original vmlinuz and initrd still there?

If so, cd to grub, and look at menu.lst (probably have to be root). Has your menu.lst been changed? If so, edit it to point to the original vmlinuz and initrd if they are still there. Then try a reboot.

Check the original /lib/modules: are the modules still there? If not, the best you can hope for is to boot into command-line mode. Then mount the installation cds, and start reinstalling kernel and /lib/modules rpms. Then edit /boot/grub/menu.lst if the original SuSE entry has been changed.
 
Old 11-22-2005, 06:18 AM   #4
mikeh2
Member
 
Registered: Oct 2005
Posts: 32

Original Poster
Rep: Reputation: 15
Thanks for the suggestion. Unfortunately, everything is gone...

Maybe I should download the source and try compiling a kerel. What a mess.
 
Old 11-22-2005, 09:40 AM   #5
RedShirt
Senior Member
 
Registered: Oct 2005
Location: Denver
Distribution: Sabayon 3.5Loop2
Posts: 1,150

Rep: Reputation: 45
Actually SuSE provides kernels for you easily. The only big issue is getting the right version.

In YAST, search for kernel, you will see kernel 2.6.13.15 and source, if they are checked now, click them till you get the update symbol, if they are not, check them, YAST can install the kernel and the kernel source for you, far easier than worrying about compiling it yourself.

If you want to update kernels, you can actually do that straight through YAST too, just download the new RPMs from here: http://search.belnet.be/packages/sus...d/x86_64/HEAD/ and install them. The only I find here is they are Kernel of the Days, which is not great, I am still looking for a nice repository of the full releases( 2.6.14, 2.6.14.1, 2.6.14.2, etc) but as yet have been unsuccessful.

EDIT: I should mentiont hat with YAST doin the kernel install it takes care of EVERYTHING for you, including bootsplashes, GRUB, initrd... very handy if you are only interested in fresh kernels, or the limited ones available.(Like me)

Last edited by RedShirt; 11-22-2005 at 09:41 AM.
 
Old 11-22-2005, 09:49 AM   #6
mikeh2
Member
 
Registered: Oct 2005
Posts: 32

Original Poster
Rep: Reputation: 15
Quote:
Originally posted by RedShirt
Actually SuSE provides kernels for you easily. The only big issue is getting the right version.

In YAST, search for kernel, you will see kernel 2.6.13.15 and source, if they are checked now, click them till you get the update symbol, if they are not, check them, YAST can install the kernel and the kernel source for you, far easier than worrying about compiling it yourself.

If you want to update kernels, you can actually do that straight through YAST too, just download the new RPMs from here: http://search.belnet.be/packages/sus...d/x86_64/HEAD/ and install them. The only I find here is they are Kernel of the Days, which is not great, I am still looking for a nice repository of the full releases( 2.6.14, 2.6.14.1, 2.6.14.2, etc) but as yet have been unsuccessful.

EDIT: I should mentiont hat with YAST doin the kernel install it takes care of EVERYTHING for you, including bootsplashes, GRUB, initrd... very handy if you are only interested in fresh kernels, or the limited ones available.(Like me)
That's a great idea. The problem, of course, is that I can't boot into my system, so I can't access YaST. I think I can manage packages through the installation system, however. That would allow me to boot to the installation system's kernel but manage the kernel that is installed on my filesystem. I'll try that tonight. If it doens't work, I'll start over with a clean install.
 
Old 11-22-2005, 11:00 AM   #7
sundialsvcs
LQ Guru
 
Registered: Feb 2004
Location: SE Tennessee, USA
Distribution: Gentoo, LFS
Posts: 10,657
Blog Entries: 4

Rep: Reputation: 3938Reputation: 3938Reputation: 3938Reputation: 3938Reputation: 3938Reputation: 3938Reputation: 3938Reputation: 3938Reputation: 3938Reputation: 3938Reputation: 3938
In any case you should be able to boot into a liveCD such as Knoppix.

If ... ... you have one.
 
Old 11-22-2005, 11:16 AM   #8
mikeh2
Member
 
Registered: Oct 2005
Posts: 32

Original Poster
Rep: Reputation: 15
Quote:
Originally posted by sundialsvcs
In any case you should be able to boot into a liveCD such as Knoppix.

If ... ... you have one.
Yep, I have several--knoppix, elivecd, and another random one. I can boot into them and access the filesystem. In theory, I could boot into a livecd, download kernel sources, and compile a new kernel. But I lack the knowledge and time!
 
Old 11-22-2005, 05:29 PM   #9
mikeh2
Member
 
Registered: Oct 2005
Posts: 32

Original Poster
Rep: Reputation: 15
Problem solved. I booted into the installation system and loaded my original kernel from the CD. Note to self: Be *very* careful using YaST.
 
  


Reply



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 Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Kernel Audit Support Unavaible error when booting after kernel upgrade abefroman Red Hat 2 03-21-2013 08:32 AM
Kernel Upgrade now Kernel Panic saltireboy Slackware 9 01-23-2006 11:44 PM
kernel panic after kernel upgrade flebber Debian 8 04-08-2005 07:26 AM
What first upgrade kernel or upgrade slack 10.0 to current Kelean Slackware 7 01-16-2005 06:54 PM
Kernel upgrade: Unable to handle kernel paging request deviantintegral Debian 4 07-14-2004 04:59 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 03:28 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
Open Source Consulting | Domain Registration