LinuxQuestions.org
Review your favorite Linux distribution.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 10-19-2004, 04:52 AM   #31
e11
Member
 
Registered: Oct 2004
Distribution: Debian
Posts: 84

Original Poster
Rep: Reputation: 15

Ok, so i should do a

#apt-get install kernel-image-2.4.27-1-686

and then modify /boot/lilo/lilo.conf to boot the new kernel right?

erm what do i actually modify in there?


Regards,

Edwin
 
Old 10-19-2004, 04:59 AM   #32
darthtux
Senior Member
 
Registered: Dec 2001
Location: 35.7480 N, 95.3690 W
Distribution: Debian, Gentoo, Red Hat, Solaris
Posts: 2,070

Rep: Reputation: 46
Debian will modify the lilo.conf for you If it gives you any directions on adding a line to it, make sure you write it down. If you dont have an initrd line it will ask you to then add one. If it does, it is importatnt you do or you won't be able to bring the box back up.
 
Old 10-19-2004, 05:16 AM   #33
e11
Member
 
Registered: Oct 2004
Distribution: Debian
Posts: 84

Original Poster
Rep: Reputation: 15
Yup, not able to bring the box back up, that's what i'm most wary of...

Anyways, could anyone kindly explain what initrd is? what am i actually doing when i add the line?

Thanks!


Regards,

Edwin
 
Old 10-19-2004, 05:35 AM   #34
TigerOC
Senior Member
 
Registered: Jan 2003
Location: Devon, UK
Distribution: Debian Etc/kernel 2.6.18-4K7
Posts: 2,380

Rep: Reputation: 49
initrd is the kernel which is loaded into a ramdisk (ie memory) and then the system boots from this ramdisk. I think I gave the line above. Check your /boot and check the initrd.img it is likely to be initrd.img-2.4.27-1-686 so the line to add to lilo would be;
initrd=/boot/initrd.img-2.4.27-1-686
then from the command line do lilo to write it ro the mbr
The install will configure the old kernel as well to Linux.old so you will still be able to boot the old kernel

Last edited by TigerOC; 10-19-2004 at 05:36 AM.
 
Old 10-19-2004, 08:58 AM   #35
e11
Member
 
Registered: Oct 2004
Distribution: Debian
Posts: 84

Original Poster
Rep: Reputation: 15
have managed to successfully upgraded the kernel and rebooted... phew... thanks!

But now, my PCMCIA Ethernet card no longer initializes (doesn't even have LED on).

What can i do about it? I think the PCMCIA modules weren't loaded?


Regards,

Edwin
 
Old 10-19-2004, 09:06 AM   #36
TigerOC
Senior Member
 
Registered: Jan 2003
Location: Devon, UK
Distribution: Debian Etc/kernel 2.6.18-4K7
Posts: 2,380

Rep: Reputation: 49
do modconf from a consol and go down the list for the relevant driver something like /kernel/drivers/net/pcmcia and then select the one you need
 
Old 10-19-2004, 09:53 AM   #37
e11
Member
 
Registered: Oct 2004
Distribution: Debian
Posts: 84

Original Poster
Rep: Reputation: 15
hmm... this is a bit disturbing, but i ran modconf and there isn't any PCMCIA package... looked under /kernel/drivers/net, but i think that isn't the place to look, 'cos the drivers there don't seem to be for PCMCIA Ethernet cards...


Regards,

Edwin
 
Old 10-19-2004, 10:41 AM   #38
TigerOC
Senior Member
 
Registered: Jan 2003
Location: Devon, UK
Distribution: Debian Etc/kernel 2.6.18-4K7
Posts: 2,380

Rep: Reputation: 49
I just checked a 2.4.25 kernel on my system (I use 2.6.3) and the pcmcia modules are separate in /lib/modules/kernel_version_#. If you know which module you need then check this directory as you can use insmod to install the module. Also check your /var/log/syslog or messages and see what the kernel has done with the ethernet.

Last edited by TigerOC; 10-19-2004 at 10:42 AM.
 
Old 10-19-2004, 04:57 PM   #39
e11
Member
 
Registered: Oct 2004
Distribution: Debian
Posts: 84

Original Poster
Rep: Reputation: 15
There isn't any PCMCIA under /lib/modules/2.4.27-1-686 either.

There are 2 directories (under them, are similar to what i see in modconf):
kernel
init

And there are 8 files:
modules.dep
modules.generic_string
modules.ieee1394map
modules.isapnpmap
modules.parportmap
modules.pcimap
modules.pnpbiosmap
modules.usbmap

There is a pcmcia sub-directory under /lib/modules/2.2.20-idepci (previous kernel), and there is a xirc2ps_cs.o which i think is the driver for my card (i use a Xircom card), but i can't insmod that one (different compiler ver).


Regards,

Edwin
 
Old 10-19-2004, 05:05 PM   #40
TigerOC
Senior Member
 
Registered: Jan 2003
Location: Devon, UK
Distribution: Debian Etc/kernel 2.6.18-4K7
Posts: 2,380

Rep: Reputation: 49
You have a couple of options now. You can up and download a 2.6.x kernel-image and install that through dpkg-install or go backward. I have a 2.4.24 kernel with the pcmcia modules.
 
Old 10-19-2004, 05:19 PM   #41
e11
Member
 
Registered: Oct 2004
Distribution: Debian
Posts: 84

Original Poster
Rep: Reputation: 15
well i guess before i go to 2.4.24 or 2.6.x, i first have to go all the way back to 2.2.20? 'cos without the PCMCIA support and hence the Ethernet connection, i can't do anything right?

now how do I go back to my previous kernel?

btw, 2.6.x is an unstable release right? is it really *unstable*?


Thanks and Regards,

Edwin
 
Old 10-19-2004, 09:08 PM   #42
darthtux
Senior Member
 
Registered: Dec 2001
Location: 35.7480 N, 95.3690 W
Distribution: Debian, Gentoo, Red Hat, Solaris
Posts: 2,070

Rep: Reputation: 46
If the second number is odd then it is considered unstable
2.3, 2.5, 2.7

2.6 is the stable branch.
 
Old 10-20-2004, 01:41 AM   #43
e11
Member
 
Registered: Oct 2004
Distribution: Debian
Posts: 84

Original Poster
Rep: Reputation: 15
icic... how do i "roll-back" to the previous 2.2.20 kernel?


Regards,

Edwin
 
Old 10-20-2004, 01:45 AM   #44
darthtux
Senior Member
 
Registered: Dec 2001
Location: 35.7480 N, 95.3690 W
Distribution: Debian, Gentoo, Red Hat, Solaris
Posts: 2,070

Rep: Reputation: 46
Quote:
Originally posted by e11
icic... how do i "roll-back" to the previous 2.2.20 kernel?
Post you /etc/lilo.conf If can be set with no timeout and you can choose which kernel to boot.
 
Old 10-20-2004, 01:47 AM   #45
TigerOC
Senior Member
 
Registered: Jan 2003
Location: Devon, UK
Distribution: Debian Etc/kernel 2.6.18-4K7
Posts: 2,380

Rep: Reputation: 49
Problem solved. I had a look at the package details for the kernel-image-2.4.27 here and you need to install the pcmcia modules as a package and this should rectify the situation.
 
  


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
Linksys WPC54G install Debian rcrummett Linux - Wireless Networking 6 08-31-2005 01:20 PM
linksys wpc54g on Suse9.3 worldgnat Linux - Wireless Networking 1 08-16-2005 11:31 PM
Suse 9.2 and Linksys WPC54G V2 RebootKid SUSE / openSUSE 9 06-30-2005 07:01 PM
Linksys WPC54G Dolamite777 Linux - Wireless Networking 65 03-16-2005 05:38 AM
Linksys wpc54g phalaaxx Linux - Hardware 1 09-05-2003 10:08 AM


All times are GMT -5. The time now is 06:33 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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration