LinuxQuestions.org
Help answer threads with 0 replies.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking > Linux - Wireless Networking
User Name
Password
Linux - Wireless Networking This forum is for the discussion of wireless networking in Linux.

Notices


Reply
  Search this Thread
Old 07-03-2010, 07:06 PM   #1
10110111
Member
 
Registered: Jun 2008
Location: St.-Petersburg, Russia
Distribution: (B)LFS, Ubuntu, SliTaz
Posts: 403

Rep: Reputation: 51
Firmware is needed after kernel upgrade - why?


I've upgraded from linux 2.6.29.4 to 2.6.34. My Ralink 2860 used to work on the previous kernel, but now it says
Code:
[40618.867750] rt2860 0000:01:00.0: firmware: requesting rt2860.bin
[40618.887624] rt2860 0000:01:00.0: firmware file rt2860.bin request failed (-2)
[40618.887638] ERROR! NICLoadFirmware failed, Status[=0x00000001]
[40618.887650] rt28xx Initialized fail!
and trying to
Code:
sudo ifconfig wlan0 up
leads to "Operation not permitted" error.
Also, i noticed that network interface name changed from ra0 to wlan0 after upgrade.
What's up? Why do i need to use a firmware module which i never had to use? I.e. why does kernel need it now but didn't need it before?

Last edited by 10110111; 07-03-2010 at 07:45 PM.
 
Old 07-03-2010, 09:28 PM   #2
AlucardZero
Senior Member
 
Registered: May 2006
Location: USA
Distribution: Debian
Posts: 4,824

Rep: Reputation: 615Reputation: 615Reputation: 615Reputation: 615Reputation: 615Reputation: 615
Non-free firmware separated out into a different package. You don't mention what distro, but see http://wiki.debian.org/rt2860sta ; since it's a kernel thing the reason is the same, but the solution might be different. You'll have to get the firmware somehow.
 
Old 07-04-2010, 08:32 AM   #3
10110111
Member
 
Registered: Jun 2008
Location: St.-Petersburg, Russia
Distribution: (B)LFS, Ubuntu, SliTaz
Posts: 403

Original Poster
Rep: Reputation: 51
Quote:
You don't mention what distro
It's Ubuntu. But this doesn't matter, i just installed vanilla kernel, so the problem would arise on any distro. I installed the latest linux-firmware which contains licensed firmware, i.e. not that 'non-free', so wonder, why isn't this firmware inside the kernel package while the driver is. According to your link, the firmware was removed from the kernel... but as it is in the licensed linux-firmware package, i would like to know why it's been removed...
 
Old 07-04-2010, 10:14 AM   #4
AlucardZero
Senior Member
 
Registered: May 2006
Location: USA
Distribution: Debian
Posts: 4,824

Rep: Reputation: 615Reputation: 615Reputation: 615Reputation: 615Reputation: 615Reputation: 615
Probably because it's non-free? I mean, it's in the non-free section of Debian..
 
Old 07-05-2010, 09:16 AM   #5
10110111
Member
 
Registered: Jun 2008
Location: St.-Petersburg, Russia
Distribution: (B)LFS, Ubuntu, SliTaz
Posts: 403

Original Poster
Rep: Reputation: 51
Quote:
I mean, it's in the non-free section of Debian
Strange... Then this must mean that Debian and Ubuntu are different in their understanding of 'free'... or maybe i just haven't understood something.
 
Old 07-05-2010, 09:26 AM   #6
pixellany
LQ Veteran
 
Registered: Nov 2005
Location: Annapolis, MD
Distribution: Mint
Posts: 17,809

Rep: Reputation: 743Reputation: 743Reputation: 743Reputation: 743Reputation: 743Reputation: 743Reputation: 743
Lots of SW, libraries, drivers, etc, have to be compiled for the kernel you are using. When you upgrade using the package manager, that is typically all taken care of----except for things that were installed manually (ie without the package manager)

Quote:
Then this must mean that Debian and Ubuntu are different in their understanding of 'free'
The definition of "free" is probably not the issue. Different distros have different policies about when and how to include non-free SW.
 
Old 07-05-2010, 09:49 AM   #7
craigevil
Senior Member
 
Registered: Apr 2005
Location: OZ
Distribution: Debian Sid/RPIOS
Posts: 4,886
Blog Entries: 28

Rep: Reputation: 533Reputation: 533Reputation: 533Reputation: 533Reputation: 533Reputation: 533
IDK about Ubuntu but in Debian the kernel module is in the kernel but you still need the firmware.



/lib/modules/2.6.32-5-686/kernel/drivers/staging/rt2860
/lib/modules/2.6.32-5-686/kernel/drivers/staging/rt2860/rt2860sta.ko
firmware-ralink - Binary firmware for Ralink wireless cards
 
Old 07-05-2010, 09:52 AM   #8
pixellany
LQ Veteran
 
Registered: Nov 2005
Location: Annapolis, MD
Distribution: Mint
Posts: 17,809

Rep: Reputation: 743Reputation: 743Reputation: 743Reputation: 743Reputation: 743Reputation: 743Reputation: 743
I've never seen firmware get installed as a kernel module....
 
Old 07-05-2010, 10:35 AM   #9
craigevil
Senior Member
 
Registered: Apr 2005
Location: OZ
Distribution: Debian Sid/RPIOS
Posts: 4,886
Blog Entries: 28

Rep: Reputation: 533Reputation: 533Reputation: 533Reputation: 533Reputation: 533Reputation: 533
From the dpkg bot in #debian
The vendor driver for Ralink RT2760/RT2790/RT2860/RT2890 PCI 802.11n wireless LAN devices (rt2860sta) is included as a staging driver (amd64,i386 only) in mainline Linux kernels from 2.6.29. Firmware is required, ask me about <ralink firmware>. Installation procedure at http://wiki.debian.org/rt2860sta .

Firmware from userspace is required by the <rt61pci> and <rt73usb> drivers. It is also required by the <rt2860sta>, <rt2870sta>, <rt2800usb> and <rt3090sta> drivers available in Squeeze's 2.6.32 kernel. Ask me about <non-free sources>, then install the firmware-ralink package to provide.

non-free sources
<dpkg> Edit /etc/apt/sources.list, ensure that the two main Debian mirror lines end with "main contrib non-free" rather than just "main", then aptitude update. But bear in mind that you'll be installing <non-free> software. These may have onerous terms; check the licenses.

Ubuntu may handle it differently.
 
  


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
DSL modem firmware is not loaded after kernel upgrade fiz65 Slackware 1 05-25-2010 08:59 AM
Kernel upgrade needed to go wireless Erlend Greig Red Hat 0 01-14-2005 12:50 PM
Kernel upgrade error advise needed andy18 Linux - Newbie 14 08-27-2004 12:44 PM
Firmware file needed for DWL-520+ lenseboy Linux - Wireless Networking 0 06-24-2004 05:10 PM
Kernel Upgrade - HOWTO needed AMMullan Linux - General 37 02-27-2004 02:34 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Networking > Linux - Wireless Networking

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