LinuxQuestions.org
Visit Jeremy's Blog.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices


Reply
  Search this Thread
Old 04-30-2005, 06:38 PM   #1
slackware1299
Member
 
Registered: Apr 2005
Location: USA
Distribution: Slackware 10.1
Posts: 46

Rep: Reputation: 15
upgrading kernel


Well, I've been trying to upgrade my kernel for slackware 10.1 with out success as it keeps crashing. I have been downloading the .tar.gz kernel source from kernel.org for the 2.6.11.7 kernel. I have tried twice now but it has been to no success both times I tried it following shilo's tutorial.

I was wonding if there is anyway of installing another source of the kernel right during the slackware 10.1 install. I know that the automatic install is the 2.4.9 source i believe, but the 4 files i downlaoded and burned to cd's (from here http://slackware.com/getslack/torrents.php
come with the 2.6.10 kernel source on like the 3rd or 4th cd. Does anyone know how I would choose to install that kernel instead. I have to upgrade to a 2.6.x kernel in order to use ndiswrapper on my win xp driver for my usb wireless network adapter. It is stated that it is only possible for my specific driver to use ndiswrapper in a 2.6.x kernel. I've tried googling but I have not found any good sites that explain how I would go about doing this.

Thanks a lot for any help.

~slackware1299

Last edited by slackware1299; 04-30-2005 at 06:41 PM.
 
Old 04-30-2005, 06:42 PM   #2
masonm
Senior Member
 
Registered: Mar 2003
Location: Following the white rabbit
Distribution: Slackware64 -current
Posts: 2,300

Rep: Reputation: 90
You did compile the new kernel, right? Sorry if you did, it may seem like a stupid question but I was talking to someone yesterday who tried to install a new kernel source but didn't know he had to configure and compile it first.

One suggestion that may make it easier for you to correctly configure the new kernel; copy the config file for your currently working kernel to the source directory of your new kernel. That way all of the options that you know already work are selected. Then you can simply make any changes you KNOW to make without borking your new kernel config. Then compile the new kernel and install it.
 
Old 04-30-2005, 06:47 PM   #3
slackware1299
Member
 
Registered: Apr 2005
Location: USA
Distribution: Slackware 10.1
Posts: 46

Original Poster
Rep: Reputation: 15
Well, I just followed all of Shilo's tutorial from here http://www.linuxquestions.org/questi...hreadid=174447
i went through all the configurations which took forever, and then i did all the make install, make modules commands, and then I edited Lilo, and ran sbin/lilo for it to take effect, but when i restarted it crashed. Do you know how to install right from cd wehn you first install slackware?


~slackware1299

EDIT: I found this and it kind of looks interesting im gonna give it a try

Quote:
It's simple mate.

Simply insert CD #2 AKA Rescue Disc.

Go Under
Code:
/mnt/cdrom/testing/packages/linux-2.6.10
]

Then do:
Code:

installpkg kernel-generic-2.6.10-i486-1.tgz
installpkg kernel-modules-2.6.10-i486-1.tgz
installpkg mkinitrd-1.0.1-i486-1.tgz (this last one I didn't do)


Then cd back to /boot/ and do:
Code:

mkinitrd -c -k 2.6.10 -m <your FS type>


Don't forget to update lilo.

Mine looks like this
1st:
Code:

pico /etc/lilo.conf

After your regular image enter the following:
Code:
image = /boot/vmlinuz-generic-2.6.10
initrd = /boot/initrd.gz
root = /dev/hdb3
label = Linux2.6.10
read-only

Save and Exit.
2nd: Back on the console type:
Code:
lilo


3rd: Reboot and pray!

Mental Note: Don't delete your 2.4.* image, it might come in handy!

----- POST UPDATED-----

GL.[/code]

Last edited by slackware1299; 04-30-2005 at 06:58 PM.
 
Old 04-30-2005, 08:29 PM   #4
slackware1299
Member
 
Registered: Apr 2005
Location: USA
Distribution: Slackware 10.1
Posts: 46

Original Poster
Rep: Reputation: 15
hmmm
i followed the instructions above
but when i got to installpkg mkinitrd-1.0.1-i486-1.tgz

i got the message:
Cannot install mkinitrd-1.0.1-i486-1.tgz: package does not end in .tgz

I am not quite sure why, both of the other 2 commands worked fine. I currently have the bare.i kernel if that has any importance.

Also for the part once I have done that wehre it says
mkinitrd -c -k 2.6.10 -m <your FS type>
would i put ext2 or Ext2? is it case sensative? thanks for help

~slackware1299

Last edited by slackware1299; 04-30-2005 at 09:58 PM.
 
Old 04-30-2005, 09:59 PM   #5
slackware1299
Member
 
Registered: Apr 2005
Location: USA
Distribution: Slackware 10.1
Posts: 46

Original Poster
Rep: Reputation: 15
I googled for others with similar problems and found this http://www.linuxforums.org/forum/topic-39001-12.html
as you can see the last person mention the sata.i instead of bare.i

Quote:
For future reference if you boot with the sata.i kernel it will support IDE interfaces, the standard kernel bare.i however doesn't support SATA Sad. sata.i is a version of bare.i with support for SATA controllers made by Promise, Silicon Image, SiS, ServerWorks / Apple K2, VIA, and Vitesse.
as I said earlier I installed w/ bare.i, do i have toinstall w/ sata.i for this to work?
thanks

~slackware1299
 
Old 05-01-2005, 01:17 AM   #6
slackware1299
Member
 
Registered: Apr 2005
Location: USA
Distribution: Slackware 10.1
Posts: 46

Original Poster
Rep: Reputation: 15
anyone know why I am getting the error when trying to install the packages for mkinitrd
I am really getting tired of slackware not working
 
Old 05-01-2005, 02:19 AM   #7
keefaz
LQ Guru
 
Registered: Mar 2004
Distribution: Slackware
Posts: 6,552

Rep: Reputation: 872Reputation: 872Reputation: 872Reputation: 872Reputation: 872Reputation: 872Reputation: 872
You don't need the initrd if your root filesystem is in ext2 format
I am pretty sure that ext2 is compiled as built-in in the 2.6.10
kernel package
 
Old 05-01-2005, 08:29 AM   #8
slackware1299
Member
 
Registered: Apr 2005
Location: USA
Distribution: Slackware 10.1
Posts: 46

Original Poster
Rep: Reputation: 15
so is it necessary for me to do the following two codes?

Code:
 installpkg mkinitrd-1.0.1-i486-1.tgz (this last one I didn't do)


Then cd back to /boot/ and do:
Code:

mkinitrd -c -k 2.6.10 -m <your FS type>
or shoulod i just install the first two packages and then change lilo?

i tried the second code with putting ext2 as my filesystem type and I got the error that it could not find the module for ext2, so according to you i can just skip these two steps?

~slackware1299
 
Old 05-01-2005, 08:42 AM   #9
egag
Senior Member
 
Registered: Jul 2004
Location: Netherlands
Distribution: Slackware
Posts: 2,721

Rep: Reputation: 53
yip, ext2 and ext3 are build in the kernel.
if that was not the case, it would have been a module and found by mkinitrd.

so you can just skip them.

egag
 
Old 05-01-2005, 08:56 AM   #10
slackware1299
Member
 
Registered: Apr 2005
Location: USA
Distribution: Slackware 10.1
Posts: 46

Original Poster
Rep: Reputation: 15
~

alright thank you, I worked fine, and I upgraded to the 2.6.10 kernel

however as soon as i did startx and went into KDE for the first time I got the following error message about the sound

Quote:

Informational - Arts Message

Sound server informational message:
Error while initializing the sound driver.
device /dev/dsp can't be opened (No such file or directory)
The sound server will continue, using the null output device.
I dont know if the following is importnant or not but I still havent ran alsaconfig to setup my sound, but I still never got this error message at start when runnigng with teh old kernel. Second, I noticed that on my cd from which i installed the kernel there were two files which looked like patches for alsa.
Has anyone had this problem?

Thanks

~slackware1299
 
Old 05-01-2005, 09:26 AM   #11
egag
Senior Member
 
Registered: Jul 2004
Location: Netherlands
Distribution: Slackware
Posts: 2,721

Rep: Reputation: 53
first run alsaconfig and see what it gives.

egag
 
Old 05-01-2005, 10:45 AM   #12
slackware1299
Member
 
Registered: Apr 2005
Location: USA
Distribution: Slackware 10.1
Posts: 46

Original Poster
Rep: Reputation: 15
Ok I will do that soon

Last edited by slackware1299; 05-01-2005 at 02:15 PM.
 
Old 05-01-2005, 02:15 PM   #13
slackware1299
Member
 
Registered: Apr 2005
Location: USA
Distribution: Slackware 10.1
Posts: 46

Original Poster
Rep: Reputation: 15
However, as I said earlier the reason for me upgrading is to try to get my wireless up and running

i downloaded ndiswrapper and installed it on my linux to try to get my windows drivers to work

http://www.linksys.com/products/prod...id=36&prid=665
that is the wireless g usb network adapter that I have

so i went to ndiswrapper wiki to download the correct driver
http://ndiswrapper.sourceforge.net/p...List#WUSB54Gv4

here is teh driver I downloaded http://www.linksys.com/download/driv...lid=143&osid=6

i transferred this from my C:\ drive to Linux and went in the correct dir and did

code:

ndiswrapper -i Wlan.ini


it said it was installing it
and I then did

code:

modprobe ndiswrapper


which returned a fatal error

so I did

code:

ndiswrapper -l


which showed me the error message that it was an invalid driver, I tried same steps w/ setup.ini instead of Wlan.ini but it gave me the same thing.

I then tried with the v4 driver of the adapter, same thing.

Why is this happening?

~slackware1299

Last edited by slackware1299; 05-01-2005 at 02:20 PM.
 
Old 05-01-2005, 06:07 PM   #14
slackware1299
Member
 
Registered: Apr 2005
Location: USA
Distribution: Slackware 10.1
Posts: 46

Original Poster
Rep: Reputation: 15
anyone know anyting? its really bugging me not to be able to use the internet
 
  


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
problems occured after upgrading kernel and kernel-utils parv Fedora 0 05-02-2005 06:21 PM
Upgrading kernel on Debian from 2.4 to 2.6.8, Kernel Panic omlette Linux - General 3 03-07-2005 07:00 AM
Upgrading Kernel katvis Linux - Newbie 1 10-13-2004 01:57 PM
Upgrading kernel 2.4 to 2.6 corbis_demon Linux - Newbie 9 07-02-2004 02:36 PM
Upgrading kernel from 2.4.18-3 to 18-4 snowdog12 Linux - Newbie 3 02-20-2003 03:46 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware

All times are GMT -5. The time now is 03:47 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