LinuxQuestions.org
Help answer threads with 0 replies.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Fedora
User Name
Password
Fedora This forum is for the discussion of the Fedora Project.

Notices



Reply
 
Search this Thread
Old 11-20-2006, 11:48 PM   #1
crazy8
Member
 
Registered: Nov 2006
Posts: 132

Rep: Reputation: 15
yum update issue


Ok I am running FC4 right now and the other night I did a "yum update" and had it install everything it found that needed to be updated. Well my instructer and I from school set my system up to use my wirless USB adaptor for internet. So we used ndiswraper and recompiled the kernel and all this other fun stuff that I realy have no clue how to do on my own. So here is the deal. After I did the yum update I know longer can get online. How would I go about solving this issue? Also when I go into "Network Device Control" and click "Activate" I get this "Device wlan0 does not seem to be present, delaying initialization." so whats the deal? Is there a way I can fix this and get my Wireless USB working again? I am new to linux but I am learning. One more thing, if I was to upgrade to FC5 or even 6 would I have to worry about this issue happening again?

Thanks for all the help in advance. Keep up the great work here.
 
Old 11-21-2006, 04:02 AM   #2
squall1986
LQ Newbie
 
Registered: Sep 2006
Location: Logan, UT, USA
Distribution: Ubuntu 10.04
Posts: 28

Rep: Reputation: 15
Hey, I'm pretty new to Linux as well, but it seems to me that since you updated your kernel, you might have to redownload ndiswrapper in case it wasn't included in the repositories you used when you updated with yum.
 
Old 11-21-2006, 05:30 AM   #3
reddazz
Guru
 
Registered: Nov 2003
Location: N. E. England
Distribution: Fedora, CentOS, Debian
Posts: 16,298

Rep: Reputation: 74
If YUM installed a new kernel, then you have to setup your network connection from scratch or boot using the old kernel instead of the new one.
 
Old 11-21-2006, 10:45 AM   #4
crazy8
Member
 
Registered: Nov 2006
Posts: 132

Original Poster
Rep: Reputation: 15
You know I think you guys are right. I remember going into my directory where the kernels are (looking for something else) and saw I beleive it was 2.6.17-2324 or something like that. I am using the 2.6.17 or 2.6.11 or whatever the newest one is that doesnt have the "-" anyway yea I think I did see them. So if I dont want to use those kernels can I just delete the folders for them or no?

I dont think redoing ndiswraper is an option since we had to do a custom build and had to go through all these hoops to get it working. My ITT Tech instructor did most of the work, no way can I go about doing it alone especially since I dont know how to recompile a kernel.lol

Thank both of you for the help. I didnt notice on the boot screen any extra kernels (I wasnt realy looking for any either) so tonight I will pay attention and see what I figure out.

Thanks again
 
Old 11-21-2006, 11:44 AM   #5
reddazz
Guru
 
Registered: Nov 2003
Location: N. E. England
Distribution: Fedora, CentOS, Debian
Posts: 16,298

Rep: Reputation: 74
Don't delete those kernels manually. Use the rpm command e.g.
Code:
#rpm -qa | grep -i kernel
A list of installed kernels will be listed. Uninstall the ones you do not need by doing
Code:
#rpm -e kernel-version
Alternatively you can leave the kernels installed and make sure you boot from whichever kernel was working properly with your wireless card. You can make this kernel the default in your /boot/grub/menu.lst or /boot/grub/grub.conf.
 
Old 11-21-2006, 04:32 PM   #6
crazy8
Member
 
Registered: Nov 2006
Posts: 132

Original Poster
Rep: Reputation: 15
since I went ahead and just did the full "yum update" rather then looking at the list, is there a way I could do a full yum update WITHOUT a kernel update? Also just so I know, When I do a "yum list" (this might be a stupid question) and I am looking at the list are updated kernels listed as kernels or atleast have "kernel" in the package name with in the list?

Thank you all a ton.
 
Old 11-21-2006, 08:06 PM   #7
Hitboxx
Senior Member
 
Registered: Mar 2006
Location: India
Distribution: Fedora
Posts: 1,562
Blog Entries: 3

Rep: Reputation: 51
Here's how it(mine) looks
Code:
[shrikant@shricore ~]$ yum list | grep -i kernel
kernel.i686                              2.6.18-1.2849.fc6      installed       
kernel.i686                              2.6.18-1.2798.fc6      installed       
kernel-headers.i386                      2.6.18-1.2798.fc6      installed       
kernel-xen.i686                          2.6.18-1.2798.fc6      installed       
kernel.i586                              2.6.18-1.2849.fc6      updates         
kernel-PAE.i686                          2.6.18-1.2849.fc6      updates         
kernel-PAE-devel.i686                    2.6.18-1.2849.fc6      updates         
kernel-devel.i586                        2.6.18-1.2849.fc6      updates         
kernel-devel.i686                        2.6.18-1.2849.fc6      updates         
kernel-doc.noarch                        2.6.18-1.2849.fc6      updates         
kernel-headers.i386                      2.6.18-1.2849.fc6      updates         
kernel-kdump.i686                        2.6.18-1.2849.fc6      updates         
kernel-kdump-devel.i686                  2.6.18-1.2849.fc6      updates         
kernel-xen.i686                          2.6.18-1.2849.fc6      updates         
kernel-xen-devel.i686                    2.6.18-1.2849.fc6      updates         
yum-kernel-module.noarch                 1.0.1-1.fc6            extras
 
Old 11-21-2006, 08:10 PM   #8
crazy8
Member
 
Registered: Nov 2006
Posts: 132

Original Poster
Rep: Reputation: 15
Ok that helps, now I know what to look for to make sure it doesnt happen again...Thanks alot guys, I realy appreciate it
 
Old 11-22-2006, 04:28 AM   #9
reddazz
Guru
 
Registered: Nov 2003
Location: N. E. England
Distribution: Fedora, CentOS, Debian
Posts: 16,298

Rep: Reputation: 74
Quote:
Originally Posted by crazy8
since I went ahead and just did the full "yum update" rather then looking at the list, is there a way I could do a full yum update WITHOUT a kernel update? Also just so I know, When I do a "yum list" (this might be a stupid question) and I am looking at the list are updated kernels listed as kernels or atleast have "kernel" in the package name with in the list?

Thank you all a ton.
To make sure that the kernel does not get upgraded when you run "yum update" or "yum upgrade", edit /etc/yum.conf and put the following
Code:
# Exclude the following
exclude=kernel*
 
Old 11-22-2006, 03:07 PM   #10
crazy8
Member
 
Registered: Nov 2006
Posts: 132

Original Poster
Rep: Reputation: 15
Awsome. Thank you all so much, youve been a big help.
 
Old 11-23-2006, 01:49 PM   #11
crazy8
Member
 
Registered: Nov 2006
Posts: 132

Original Poster
Rep: Reputation: 15
Ok I guess I do have one last question which was regarding to make my 2.6.17 kernel the default. I found the menu.lst and grub.conf, so here are my questions.

1) How do I do it (make the kernel default)
2) Do I need to edit both of them or just one?

Thank you all again so much
 
Old 11-23-2006, 09:44 PM   #12
Hitboxx
Senior Member
 
Registered: Mar 2006
Location: India
Distribution: Fedora
Posts: 1,562
Blog Entries: 3

Rep: Reputation: 51
1) Edit grub.conf as root and find a value called 'default'. Set it to a number starting from 0 for the subsequent kernel entries.,i.e 0 sets the top entry to boot, 1 sets the second entry and so on.
2) Editing grub.conf should be enough on fedora systems. The menu.lst is provided as an option but is the default on other distros like debian.
 
  


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


Similar Threads
Thread Thread Starter Forum Replies Last Post
yum question: How to update from backed up yum cache? Arodef Linux - Software 2 02-03-2010 12:42 AM
yum update issue metallica1973 Linux - Software 2 11-14-2006 03:35 PM
When i update my system with yum update Yihya Linux - Newbie 1 02-22-2006 10:33 AM
Yum update issue feffer777 Linux - Software 1 01-24-2006 07:18 PM
Query re: order of yum update and yum install jajtiii Linux - General 0 12-12-2005 01:48 PM


All times are GMT -5. The time now is 10:18 PM.

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