(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 »

Well, if it does go wrong, you *can* fix it. As I said before, you might want to download packages for the old kernel in advance to make that easier, but it's just a matter of convenience; maybe it isn't even really worth it, since they don't seem to be saved locally anywhere. If you double check you have the right packages for the new kernel, you're unlikely to end up in a mess like I did. ;) This is essentially quite a straightforward operation.
Shador
Posts: 1295
Joined: 11. Jun 2009, 14:04
Location: Bavaria

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

Post by Shador »

Actually, it even should be no problem to install multiple kernels at the same time and have an option which to boot in the bootloader. You just need to be careful with the symlinks like /boot/vmlinuz or /usr/src/linux.
Image
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 »

Code: Select all

# spkg -i kernel-firmware-20120202git-noarch-1.txz
Skipping package kernel-firmware-20120202git-noarch-1 (package with same base name is already installed)...
root[3.2.7-x86_64_kernel_bits]# spkg -i kernel-headers-3.2.7-x86-1.txz
Skipping package kernel-headers-3.2.7-x86-1 (package with same base name is already installed)...
root[3.2.7-x86_64_kernel_bits]# spkg -i kernel-huge-3.2.7-x86_64-1.txz
Skipping package kernel-huge-3.2.7-x86_64-1 (package with same base name is already installed)...
root[3.2.7-x86_64_kernel_bits]# spkg -i kernel-modules-3.2.7-x86_64-1.txz
Skipping package kernel-modules-3.2.7-x86_64-1 (package with same base name is already installed)...
root[3.2.7-x86_64_kernel_bits]# spkg -i kernel-source-3.2.7-noarch-1.txz
Skipping package kernel-source-3.2.7-noarch-1 (package with same base name is already installed)...
Should I be using

Code: Select all

# spkg -u
?
I also tried the following and got a number of errors:

Code: Select all

# spkg -uvn kernel-firmware-20120202git-noarch-1.txz
---snip---
WARNING: File already exist, but it was not installed by the upgraded package
---snip---
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 recommend spkg -u not -i. if you want to have both kernels as Shador suggests, though, I'm not sure how to go about it.

Are you sure you downloaded the right packages? It looks like it, from the names. In my case, the name of the firmware package didn't fit the pattern of the others, for what it's worth - looks like you have the very same one. But it still worked.

EDIT

Those aren't errors, they're warnings. The identical file is already present, so it wasn't overwritten. Not necessarily a problem.

EDIT2

The dry run with -n is a good idea. Did you still get the messages you first posted about existing packages with the same base name?
Last edited by mimosa on 18. Mar 2012, 14:35, edited 1 time in total.
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 »

No, I don't need the old kernel if the new one works.
I wonder what those errors mean, just that the file is the same - also for the new kernel?
My main worry is getting the Nvidia driver going again when I reboot after installing the new kernel. Nouveau was extremely unstable..
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 »

mimosa wrote:The dry run with -n is a good idea. Did you still get the messages you first posted about existing packages with the same base name?
not with "# spkg -u".
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 »

Well, I can't see any reason not to go ahead, though wiser heads may have noticed something. :) Make sure you do all you can on the Nvidia/ Nouveau front before rebooting so that there is as little as possible to do without X, if anything. Remember you can always access a tty (and log in) with ALT-F2 or (in X) CTRL-ALT F2. F4 is X, F1 is what you first boot into.

Good luck!
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:Well, I can't see any reason not to go ahead, though wiser heads may have noticed something. :) Make sure you do all you can on the Nvidia/ Nouveau front before rebooting so that there is as little as possible to do without X, if anything. Remember you can always access a tty (and log in) with ALT-F2 or (in X) CTRL-ALT F2. F4 is X, F1 is what you first boot into.

Good luck!
Cheers. See you on the other side :)
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 »

Hals- und Beinbruch, as they say in Germany. ;)
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, here is the entire output:

Code: Select all

# spkg -u kernel-firmware-20120202git-noarch-1.txz
Upgrading package kernel-firmware-2.6.37.6-noarch-2 -> kernel-firmware-20120202git-noarch-1...
WARNING: File already exist, but it was not installed by the upgraded package. (lib/firmware/iwlwifi-6000g2b-5.ucode)
WARNING: File already exist, but it was not installed by the upgraded package. (lib/firmware/iwlwifi-5000-2.ucode)
WARNING: File already exist, but it was not installed by the upgraded package. (lib/firmware/rt73.bin)
WARNING: File already exist, but it was not installed by the upgraded package. (lib/firmware/iwlwifi-3945-2.ucode)
WARNING: File already exist, but it was not installed by the upgraded package. (lib/firmware/iwlwifi-6000-4.ucode)
WARNING: File already exist, but it was not installed by the upgraded package. (lib/firmware/rt2860.bin)
WARNING: File already exist, but it was not installed by the upgraded package. (lib/firmware/iwlwifi-6000g2a-5.ucode)
WARNING: File already exist, but it was not installed by the upgraded package. (lib/firmware/rt2870.bin)
WARNING: File already exist, but it was not installed by the upgraded package. (lib/firmware/rt2561s.bin)
WARNING: File already exist, but it was not installed by the upgraded package. (lib/firmware/rt2561.bin)
WARNING: File already exist, but it was not installed by the upgraded package. (lib/firmware/rt2661.bin)
WARNING: File already exist, but it was not installed by the upgraded package. (lib/firmware/iwlwifi-4965-2.ucode)
WARNING: File already exist, but it was not installed by the upgraded package. (lib/firmware/iwlwifi-100-5.ucode)
WARNING: File already exist, but it was not installed by the upgraded package. (lib/firmware/iwlwifi-5000-1.ucode)
WARNING: File already exist, but it was not installed by the upgraded package. (lib/firmware/iwlwifi-5000-5.ucode)
WARNING: File already exist, but it was not installed by the upgraded package. (lib/firmware/iwlwifi-6050-5.ucode)
WARNING: File already exist, but it was not installed by the upgraded package. (lib/firmware/iwlwifi-5150-2.ucode)
WARNING: File already exist, but it was not installed by the upgraded package. (lib/firmware/iwlwifi-1000-3.ucode)
| kernel-firmware (Firmware for the kernel)
| 
| These are firmware files for the Linux kernel.
| 
| You'll need these to use certain hardware drivers with Linux.
| 
| Upstream site:  
| 
| git://git.kernel.org/pub/scm/linux/kernel/git/dwmw2/linux-firmware.git
| 
| 
| 
| 
root[3.2.7-x86_64_kernel_bits]# spkg -uvn kernel-firmware-20120202git-noarch-1.txz
Skipping package kernel-firmware-20120202git-noarch-1 (already uptodate)...
root[3.2.7-x86_64_kernel_bits]# spkg -u kernel-headers-3.2.7-x86-1.txz
Upgrading package kernel-headers-2.6.37.6-x86-2 -> kernel-headers-3.2.7-x86-1...
| kernel-headers (Linux kernel include files)
| 
| These are the include files from the Linux kernel.
| 
| You'll need these to compile most system software for Linux.
| 
| 
| 
| 
| 
| 
| 
| 
root[3.2.7-x86_64_kernel_bits]# spkg -u kernel-huge-3.2.7-x86_64-1.txz
Upgrading package kernel-huge-2.6.37.6-x86_64-2 -> kernel-huge-3.2.7-x86_64-1...
| kernel-huge (a fully-loaded SMP Linux kernel)
| 
| This is a Linux kernel with built-in support for most disk
| controllers.  If you're looking for a more stripped down kernel
| (this one contains everything but the kitchen sink ;-), then install
| the kernel-generic in the /boot directory along with an initrd to
| load support for your boot device and filesystem.  For instructions
| on the initrd, see README.initrd in the /boot directory.
| 
| SMP is "Symmetric multiprocessing", or multiple CPU/core support.
| 
| 
| 
root[3.2.7-x86_64_kernel_bits]# spkg -u kernel-modules-3.2.7-x86_64-1.txz
Upgrading package kernel-modules-2.6.37.6-x86_64-2 -> kernel-modules-3.2.7-x86_64-1...
| kernel-modules (Linux kernel modules)
| 
| A kernel module is a piece of object code that can be dynamically
| loaded into the Linux kernel to provide new kernel functions.  Most of
| these modules provide support for devices such as CD-ROM drives, tape
| drives, and ethernet cards.  You can choose which modules to load by
| editing /etc/rc.d/rc.modules.
| 
| 
| 
| 
| 
| 
WARNING: File was already removed. (etc/rc.d/rc.modules-2.6.37.6.new)
WARNING: Failed to remove directory /lib/modules/2.6.37.6/kernel/drivers/video. (Directory not empty)
WARNING: Failed to remove directory /lib/modules/2.6.37.6/kernel/drivers. (Directory not empty)
WARNING: Failed to remove directory /lib/modules/2.6.37.6/kernel. (Directory not empty)
root[3.2.7-x86_64_kernel_bits]# spkg -u kernel-source-3.2.7-noarch-1.txz
Upgrading package kernel-source-2.6.37.6-noarch-2 -> kernel-source-3.2.7-noarch-1...
| kernel-source (Linux kernel source)
| 
| Source code for Linus Torvalds' Linux kernel.
| 
| This is the complete and unmodified source code for the Linux kernel.
| 
| 
| 
| 
| 
| 
| 
| 
root[3.2.7-x86_64_kernel_bits]#
I am not really sure what to do about the first bit of output with the firmware. It somehow seems to have already been installed during my fumbling around. Possibly when I used "# spkg -nv"???
Edit:
Something is also going on with the kernel modules.
Military justice is to justice what military music is to music. - Groucho Marx
Post Reply