LinuxQuestions.org
Review your favorite Linux distribution.
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-12-2004, 05:07 PM   #1
nivek7
Member
 
Registered: Mar 2004
Distribution: Slackware 9.1
Posts: 69

Rep: Reputation: 15
Problems with kernel upgrade to 2.6.5


Problems I am having:

1) When I startx in 2.6.5, i have to install the nvidia drivers first. so if i go back into 2.4.22 i have to reinstsall the drivers to load xwindow. basically, whever i want to start xwindow, i have to reinstall the nvidia drivers. -- think this is working, havent got time to go check it on linux yet

2) Sound is fine in 2.4.22 but it says no sound card detected in 2.6.5 --fixed

3) Internet/Network is fine in 2.4.22 but doesn't work in 2.6.5. I've tried netconfig. --fixed
4) When 2.6.5 is booting up, it says cannot find pcmia thingys or something... i will check on this and then update this post. -- got rid of this by recompiling

Other errors when booting up

1) [bunch of different names] version magic '2.6.5 K7 gcc-3.3' should be '2.6.5 K7 gcc-3.2 then something about invalid module and modprobe.

2) /usr/sbin/alsalctl: set_control 805 name mismatch ([bunch of stuff here])

3) something about apche not able being to start

4) Error in installing Nvidia driver- error: unable to load kernel module
nvidia.ko'

I upgraded from 9.1 to current a few days ago and these problems weren't there before

Hope i made sense and any help is appreciated. Thanks

Last edited by nivek7; 04-15-2004 at 07:52 PM.
 
Old 04-12-2004, 05:40 PM   #2
aaa
LQ Guru
 
Registered: Jul 2003
Location: VA
Distribution: Slack 10.1
Posts: 2,194

Rep: Reputation: 47
Quote:
1) When I startx in 2.6.5, i have to install the nvidia drivers first. so if i go back into 2.4.22 i have to reinstsall the drivers to load xwindow. basically, whever i want to start xwindow, i have to reinstall the nvidia drivers.
This is an nVidia issue.

For rest, check the 2.6 kernel configuration
 
Old 04-12-2004, 05:41 PM   #3
Andrew Benton
Senior Member
 
Registered: Aug 2003
Location: Birkenhead/Britain
Distribution: Linux From Scratch
Posts: 2,073

Rep: Reputation: 64
You need to put
Code:
alias char-major-195* nvidia
in /etc/modprobe.conf to get the Nvidia driver to load. With the 2.4 kernel the file was called modules.conf. Basically, copy the contents of /etc/modules.conf into /etc/modprobe.conf
 
Old 04-12-2004, 07:23 PM   #4
newinlinux
Member
 
Registered: Dec 2003
Location: Next to Equator
Distribution: GNU/Linux 2.6.14
Posts: 382

Rep: Reputation: 30
You can try these , i just got it working last night:

2) Sound is fine in 2.4.22 but it says no sound card detected in 2.6.5

redo your make menuconfig by turning on support for Sound, set M for OSS and ALSA. Reinstall Slackware's alsa-driver, alsa-libs, alsa-oss and alsa-utils(probably not required, but i did it anyway), a reboot later, sounds will come back. This is not using the 2.6.x alsa driver but using the good old 2.4 style of getting sound support. I used the latest alsa packages from Slackware current.


3) Internet/Network si fine in 2.4.22 but doesn't work in 2.6.5. I've tried netconfig

If you are talking about no internet for your analogue modem, then do as this link instructed:

http://www.linuxquestions.org/questi...hlight=ltmodem

I followed the steps and it works on Slackware too.

Good luck.
 
Old 04-12-2004, 07:28 PM   #5
nivek7
Member
 
Registered: Mar 2004
Distribution: Slackware 9.1
Posts: 69

Original Poster
Rep: Reputation: 15
does a cable modem count as analog?
 
Old 04-12-2004, 07:30 PM   #6
nivek7
Member
 
Registered: Mar 2004
Distribution: Slackware 9.1
Posts: 69

Original Poster
Rep: Reputation: 15
Quote:
Originally posted by aaa
This is an nVidia issue.

For rest, check the 2.6 kernel configuration
still doesnt work

it says no screens found or something.

it works if i reninstall the Nvidia drivers, but then once i boot into my working 2.4.22, i have to reinstall it again to get into gnome
 
Old 04-12-2004, 08:19 PM   #7
Slackcare
LQ Newbie
 
Registered: Apr 2004
Distribution: Slackware
Posts: 11

Rep: Reputation: 0
This is not correct

This is not correct what is being suggested here:

Quote:
Originally posted by Andrew Benton
You need to put
Code:
alias char-major-195* nvidia
in /etc/modprobe.conf to get the Nvidia driver to load. With the 2.4 kernel the file was called modules.conf. Basically, copy the contents of /etc/modules.conf into /etc/modprobe.conf
Did you make the sys direc in / ?

mkdir /sys

Next did you add an entry into /etc/fstab ?

none /sys sysfs defaults 0 0

Then after you reboot run this command as root:

generate-modprobe.conf /etc/modprobe.conf

This is the correct way to generate the entries for /etc/modprobe.conf

Then after you install the drivers, which you should be using 1.0-5336

sh NVIDIA-Linux-x86-1.0-5336-pkg1.run

The drivers will add the correct entry into /etc/modprobe.conf
 
Old 04-12-2004, 09:27 PM   #8
newinlinux
Member
 
Registered: Dec 2003
Location: Next to Equator
Distribution: GNU/Linux 2.6.14
Posts: 382

Rep: Reputation: 30
Quote:
Originally posted by nivek7
does a cable modem count as analog?
cable modem is not analogue. It's should be even easier than what I described earlier which is for the controllerless winmodems. But I don't own a cable modem , so I am not able to help you, sorry.
 
Old 04-12-2004, 09:36 PM   #9
nivek7
Member
 
Registered: Mar 2004
Distribution: Slackware 9.1
Posts: 69

Original Poster
Rep: Reputation: 15
Re: This is not correct

Quote:
Originally posted by Slackcare
This is not correct what is being suggested here:



Did you make the sys direc in / ?

mkdir /sys

Next did you add an entry into /etc/fstab ?

none /sys sysfs defaults 0 0

Then after you reboot run this command as root:

generate-modprobe.conf /etc/modprobe.conf

This is the correct way to generate the entries for /etc/modprobe.conf

Then after you install the drivers, which you should be using 1.0-5336

sh NVIDIA-Linux-x86-1.0-5336-pkg1.run

The drivers will add the correct entry into /etc/modprobe.conf
still have to reinstall nvidia drivers for each kernel
 
Old 04-12-2004, 09:47 PM   #10
newinlinux
Member
 
Registered: Dec 2003
Location: Next to Equator
Distribution: GNU/Linux 2.6.14
Posts: 382

Rep: Reputation: 30
I find it strange as my own set up that has also dual kernels, dont show your kind of trouble, it just work with the original xf86config where i used the nv driver. I use the latest Xfree4.4 from slack current. there is no need for me to fiddle with x , only thing that i need to do is to recompile the winmodem drivers(which you are not using) for my internet access and the sound. The rest just work.
 
Old 04-12-2004, 09:51 PM   #11
Nis
Member
 
Registered: Jul 2003
Location: Virginia
Distribution: Ubuntu Hoary (5.04)
Posts: 550

Rep: Reputation: 31
The Nvidia drivers compile the module for the running kernel only. If you switch kernels, you'll need to switch Nvidia modules; however, the Nvidia driver does not know that you switch kernels. The way to fix this is to run the Nvidia .run script running one kernel, reboot into the other kernel, and run the Nvidia .run script again, but this time with the -K switch. This will build just the module for the running kernel and not install the driver again. The driver should then use the right module for the right kernel.
 
Old 04-12-2004, 09:54 PM   #12
/bin/bash
Senior Member
 
Registered: Jul 2003
Location: Indiana
Distribution: Mandrake Slackware-current QNX4.25
Posts: 1,802

Rep: Reputation: 47
Quote:
still have to reinstall nvidia drivers for each kernel
What driver are you installing?

Slackware loads modules with /etc/rc.d/rc.modules. So you need to edit that file and add a line to modprobe the module.
 
Old 04-12-2004, 09:55 PM   #13
nivek7
Member
 
Registered: Mar 2004
Distribution: Slackware 9.1
Posts: 69

Original Poster
Rep: Reputation: 15
Quote:
Originally posted by Nis
The Nvidia drivers compile the module for the running kernel only. If you switch kernels, you'll need to switch Nvidia modules; however, the Nvidia driver does not know that you switch kernels. The way to fix this is to run the Nvidia .run script running one kernel, reboot into the other kernel, and run the Nvidia .run script again, but this time with the -K switch. This will build just the module for the running kernel and not install the driver again. The driver should then use the right module for the right kernel.
So do i just install it for 2.4.22 then in 2.6.5=

sh -K ./NVIDIA*?
 
Old 04-13-2004, 07:11 AM   #14
aaa
LQ Guru
 
Registered: Jul 2003
Location: VA
Distribution: Slack 10.1
Posts: 2,194

Rep: Reputation: 47
I think the '-k' is an arguement for the nvidia script, not the 'sh'. So run:
sh ./NVIDIA -K
 
Old 04-13-2004, 07:50 PM   #15
nivek7
Member
 
Registered: Mar 2004
Distribution: Slackware 9.1
Posts: 69

Original Poster
Rep: Reputation: 15
ohh!!! so thats why sh -k ./NVIDIA* didn't work, thanks!

anyone know how to fix the other things?
 
  


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
First Kernel Upgrade, A few problems Maxplayer14 Mandriva 1 04-13-2005 01:28 AM
kernel upgrade -> problems kermit Linux - Newbie 1 01-01-2005 01:00 PM
2.6.9 kernel upgrade problems cyberliche Slackware 6 11-04-2004 03:36 PM
Kernel Upgrade Problems Comatose51 Linux - General 3 02-17-2003 02:42 PM
Upgrade To Kernel 2.4.20 Problems smartes Linux - Newbie 0 01-13-2003 10:00 AM

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

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