LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > SUSE / openSUSE
User Name
Password
SUSE / openSUSE This Forum is for the discussion of Suse Linux.

Notices


Reply
  Search this Thread
Old 11-19-2008, 03:48 PM   #1
opensuse4life
Member
 
Registered: Nov 2008
Distribution: openSUSE 11.1
Posts: 36

Rep: Reputation: 16
Angry The kernel upgrade conundrum


My oldie but goodie Inspiron 3200 laptop has been running Suse 9.3 without a hitch for ages. Recently I decided to add wireless to it. I found that the version of ndiswrapper shipped with 9.3 freaks out and refuses to work with the Belkin WinXP drivers. To update to a more recent version, I need linux kernel 2.6.16 or better. Simple, really. I downloaded 2.6.27.6, configured and built it, copied it to /boot, and added a line to grub so I could choose between the 2.6.27 bzImage, or boot 2.6.11's vmlinuz in case something went wrong. Well, something DID go wrong. For whatever reason, 2.6.27 tries to load modules from /lib/modules/linux-2.6.11.blah.blah instead of it's proper dir, which is there and all the correct modules are accounted for. Can't find anything in sysconfig where it specifies this. Maybe i need to build a different initrd for the new kernel? HELP!
 
Old 11-20-2008, 09:37 AM   #2
amani
Senior Member
 
Registered: Jul 2006
Location: Kolkata, India
Distribution: Debian 64-bit GNU/Linux, Kubuntu64, Fedora QA, Slackware,
Posts: 2,766

Rep: Reputation: Disabled
Welcome to LQ!

openSUSE-9.3 is too old. The easier way should be to upgrade or use the latest *buntu. Yes, you do need to make a new initrd...
 
Old 11-20-2008, 11:34 AM   #3
opensuse4life
Member
 
Registered: Nov 2008
Distribution: openSUSE 11.1
Posts: 36

Original Poster
Rep: Reputation: 16
well, duh!

LMAO - of course it's old. 266mhz and 144mb can't handle a much newer OS. Or should I say, a much newer OS can't handle such limitations....

Not that I care. It runs oo.o, alows me plenty of on the go play time with qt development tools (I'm learning to build GUI's) And battle time with C. (C code. C code run. Run, code, run.... PLEASE?!?)

Oh yea, and it was $50 2 years ago and came with a new battery, port replicator, and LAN card. At some point, it'll be replaced by a tablet, but for now it does the job. (I've got the desktop for when I need dual core madness) It's staying SuSe because I like it that way.

Anyway, configuration and build docs for initrd are.... where, anyone?
 
Old 11-20-2008, 07:26 PM   #4
pilotgi
Member
 
Registered: Apr 2002
Location: ks
Distribution: openSUSE Tumbleweed
Posts: 495

Rep: Reputation: 33
I'm used to installing kernels in rpm form. That way you can install multiple kernels along side each other and choose which one to boot at the grub screen. The prebuilt rpms are ready to go.

But I don't know if you can find any for 9.3 that are as new as 2.6.27.

You can build your own rpms with checkinstall.

Last edited by pilotgi; 11-20-2008 at 07:35 PM.
 
Old 11-20-2008, 07:52 PM   #5
syg00
LQ Veteran
 
Registered: Aug 2003
Location: Australia
Distribution: Lots ...
Posts: 21,103

Rep: Reputation: 4117Reputation: 4117Reputation: 4117Reputation: 4117Reputation: 4117Reputation: 4117Reputation: 4117Reputation: 4117Reputation: 4117Reputation: 4117Reputation: 4117
Did you do a "make modules_install" ???. As for the initrd, I have never used one on one of my own kernels - I know what I want, and it gets compiled in - so I can't help there.
 
Old 11-20-2008, 08:00 PM   #6
pinniped
Senior Member
 
Registered: May 2008
Location: planet earth
Distribution: Debian
Posts: 1,732

Rep: Reputation: 50
What was the previous kernel version you had on Suse9.3?

There have been numerous changes in udev and some major changes in the kernel too around 2.6.12, 2.6.16, 2.6.21. If your kernel is pre-2.6.18 you will need to update some kernel utilities (udev, module tools) and this may all require you to change your libc as well.
 
Old 11-21-2008, 09:38 AM   #7
opensuse4life
Member
 
Registered: Nov 2008
Distribution: openSUSE 11.1
Posts: 36

Original Poster
Rep: Reputation: 16
Quote:
Originally Posted by syg00 View Post
Did you do a "make modules_install" ???.
Quote:
Originally Posted by opensuse4life
instead of it's proper dir, which is there and all the correct modules are accounted for.
clearly, yes.

Quote:
Originally Posted by pinniped
What was the previous kernel version you had on Suse9.3?
Quote:
Originally Posted by opensuse4life
or boot 2.6.11's vmlinuz in case something went wrong.
That one. ^^^

*Sigh* It sounds like I'll have to buy a differnet PCMCIA card with native linux support. Either that or drag the old plow horse behind the barn and shoot it. Oh well, a Lenovo tablet does sound dreamy, yummy and such....

Last edited by opensuse4life; 11-21-2008 at 01:52 PM. Reason: typo
 
Old 11-21-2008, 11:15 AM   #8
pilotgi
Member
 
Registered: Apr 2002
Location: ks
Distribution: openSUSE Tumbleweed
Posts: 495

Rep: Reputation: 33
You can try one of the kernels from the repos found here:

http://download.opensuse.org/repositories/Kernel:/

Don't know if any will work on your Inspiron, but it can't hurt anything to try some out. The /HEAD directory has the newest kernels.
 
Old 11-25-2008, 07:32 PM   #9
tea of evil
Member
 
Registered: Aug 2006
Location: South Florida
Distribution: openSuSE, Ubuntu
Posts: 46

Rep: Reputation: 15
Quote:
Originally Posted by opensuse4life View Post
*Sigh* It sounds like I'll have to buy a differnet PCMCIA card with native linux support...
As someone who ran Suse 9.3 and treid to use a Broadcom-based card, getting one with native Linux support is definitely the way to go. For me, at least, it was worth the extra $50.

Quote:
Originally Posted by opensuse4life View Post
Oh yea, and it was $50 2 years ago. . .
Oh. $50 might not be worth it then.


Well then. First, why are you compiling a new kernel instead of a new ndiswrapper?
Second, if you were compiling a new kernel, why not be ambitious and go for the bcm43xx driver?
Third, and someone may have to correct me on this, if you're compiling your own kernel, and if you compile the modules into the kernel, do you really need an initrd?

Just a crasy thought.
 
  


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
2.6.13 kernel / initrd conundrum fincher69 Slackware 9 09-30-2005 10:14 PM
sendmail conundrum! siepmann Linux - Networking 1 07-02-2005 09:17 AM
kernel compiling conundrum bdp Linux - General 3 12-10-2003 12:02 AM
@Home Conundrum. bzzt-whir Linux - Networking 0 02-18-2002 01:08 PM
Quite the conundrum...... Randall Linux - Newbie 10 11-09-2001 05:38 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > SUSE / openSUSE

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