(Solved) Driver for Asus PCE-N15 wireless card needed.

You have a problem with Salix? Post here and we'll do what we can to help.
User avatar
mimosa
Salix Warrior
Posts: 3311
Joined: 25. May 2010, 17:02
Contact:

Re: Driver for Asus PCE-N15 wireless card needed.

Post by mimosa »

All that's going on with the modules is there is some stuff in there from when you tried to fix your video with the old kernel. It doesn't matter because as soon as you reboot, everything will be pointing at 3.2 not 2.6.

Looks fine to judge from that output :)
User avatar
globetrotterdk
Posts: 435
Joined: 26. Oct 2010, 13:57
Location: Denmark

Re: Driver for Asus PCE-N15 wireless card needed.

Post by globetrotterdk »

mimosa wrote:All that's going on with the modules is there is some stuff in there from when you tried to fix your video with the old kernel. It doesn't matter because as soon as you reboot, everything will be pointing at 3.2 not 2.6.

Looks fine to judge from that output :)
Cool. So I just need to run "update-grub" and then reboot?
Military justice is to justice what military music is to music. - Groucho Marx
User avatar
mimosa
Salix Warrior
Posts: 3311
Joined: 25. May 2010, 17:02
Contact:

Re: Driver for Asus PCE-N15 wireless card needed.

Post by mimosa »

I don't know grub at all well, but I think so! If in doubt, try sg2conf.
User avatar
globetrotterdk
Posts: 435
Joined: 26. Oct 2010, 13:57
Location: Denmark

Re: Driver for Asus PCE-N15 wireless card needed.

Post by globetrotterdk »

mimosa wrote:I don't know grub at all well, but I think so! If in doubt, try sg2conf.

Code: Select all

# update-grub
Generating grub.cfg ...
Found background: /boot/grub/salix.jpg
Found linux image: /boot/vmlinuz-huge-3.2.7
  No volume groups found
done
Looks normal to me. I'll try a reboot now :)
Military justice is to justice what military music is to music. - Groucho Marx
User avatar
globetrotterdk
Posts: 435
Joined: 26. Oct 2010, 13:57
Location: Denmark

Re: Driver for Asus PCE-N15 wireless card needed.

Post by globetrotterdk »

OK, I could see that Grub booted into the new kernel. X wouldn't start. I tried "startx" but got an error about not being able to find "nvidia". I downloaded the proprietary driver installer as documented here. I started the installer, but have run into a new problem. There is something called a "CC version check" that has failed. I am warned that the compiler used to compile the kernel (gcc 4.6) "does not exactly match the current compiler (gcc 4.5)". I am then told that "The Linux 2.6 kernel module loader rejects kernel modules built with a version of gcc that does not exactly match that of the compiler used to build the running kernel" It continues "If you know what you are doing and want to ignore the gcc version check, select "No" to continue installation. Otherwise select "Yes" to abort installation, set the CC environment to the name of the compiler used to compile your kernel, and restart installation."

Sound like I need to install a newer version of the gcc compiler. Does anyone have an opinion on this?
Military justice is to justice what military music is to music. - Groucho Marx
User avatar
mimosa
Salix Warrior
Posts: 3311
Joined: 25. May 2010, 17:02
Contact:

Re: Driver for Asus PCE-N15 wireless card needed.

Post by mimosa »

It's likely you'll find the right gcc in the same repo you downloaded the current kernel from. However, the workaround being suggested will probably be effective, and it's conceivable that updating gcc could cause other trouble.

I'm a bit puzzled by the mention of 2.6 in that message, though. Maybe it means that there's no longer a problem about gcc versions for 3.2, in which case that's a point in favour of the workaround. In nay case, I think the worst thing that can happen is it won't work and you need to try the other way.

Code: Select all

lsmod
to see which modules you have loaded might be interesting. You would hope to see a long list!
User avatar
globetrotterdk
Posts: 435
Joined: 26. Oct 2010, 13:57
Location: Denmark

Re: Driver for Asus PCE-N15 wireless card needed.

Post by globetrotterdk »

I am not sure what I should look for with lsmod. I found "rtlwifi rtl8192ce", but ifconfig doesn't report any network card. The main thing however, is that with getting the Nvidia driver compiled and installed. I have gotten the eth0 connection working, so I suppose I could use wget to download a newer version of gcc if necessary, but the question of course is 1) whether I need it, and 2) what installing it would do to the rest of the system..
Edit:
As you mention, changing the "CC environment" is suggested as a work around, but I am again truly out of my depth here. I have no idea what the "CC environment" is, nor how to reconfigure it. Most importantly, I lack the overview to determine if this will help, or just dig me further down in a hole.
Last edited by globetrotterdk on 18. Mar 2012, 17:34, edited 1 time in total.
Military justice is to justice what military music is to music. - Groucho Marx
User avatar
mimosa
Salix Warrior
Posts: 3311
Joined: 25. May 2010, 17:02
Contact:

Re: Driver for Asus PCE-N15 wireless card needed.

Post by mimosa »

I'd try first saying "no" to the Nvidia gcc check, and maybe it'll work. If not, try updating gcc. Go to the root of the same repo you downloaded the kernel packages from, find gcc in packages.txt or similar, and that'll tell you the subdirectory to look for it in. slapt-get on my machine tells me there are various associated packages for gcc 4.5.2, but I think for building the Nvidia kernel module you only need the main one. Install it with spkg -u and try again. If you don't blacklist it, it will revert to the old version next time the package manager does an upgrade. Whether that is a good thing may depend on the circumstances, but if you run into trouble compiling anything in the future, you know what to do :) If you do want to keep the new gcc, it's probably necessary to upgrade all the associated packages; but if I'm right to think you don't need them for the Nvidia compilation, there's no rush.

lsmod was just to see if anything is going on like what happened to me. I had precisely no modules loaded! Count yourself lucky ... ;)

EDIT

Here you go:

Code: Select all

wget http://ftp.ntua.gr/pub/linux/slackware/slackware64-current/slackware64/d/gcc-4.6.2-x86_64-1.txz
That looks like the main 64 bit package.
User avatar
globetrotterdk
Posts: 435
Joined: 26. Oct 2010, 13:57
Location: Denmark

Re: Driver for Asus PCE-N15 wireless card needed.

Post by globetrotterdk »

OK, I tried to continue, but the compile failed. A look in the log pinpoints two things as I see it. The first is that there is a report that the kernel configuration is invalid. The second problem seems to be an error message that "GLIBC_2.14" was not found.
Military justice is to justice what military music is to music. - Groucho Marx
User avatar
mimosa
Salix Warrior
Posts: 3311
Joined: 25. May 2010, 17:02
Contact:

Re: Driver for Asus PCE-N15 wireless card needed.

Post by mimosa »

Maybe you need to get that from current too. This is starting to seem rather hard going!

EDIT

http://ftp.ntua.gr/pub/linux/slackware/ ... 6_64-4.txz
Post Reply