Unable to load the rt2800usb driver

This forum is for topics specific to the Raspberry Pi and Arch Linux ARM

Unable to load the rt2800usb driver

Postby lixiao » Sat Feb 01, 2014 12:22 pm

I was trying to use an usb wireless adapter with ralink RT2870 chipset. Simply plugging it in didn't work, lsusb found this device but ip addr didn't show me the wlan0 interface.
I tried loading the driver module manually, but modprobe rt2800usb returned with error:
$this->bbcode_second_pass_code('', 'modprobe: ERROR: could not insert 'rt2800usb': Unknown symbol in module, or unknown parameter (see dmesg)')
and dmesg told me:
$this->bbcode_second_pass_code('', '[ 5068.293491] cfg80211: Unknown symbol prepare_to_wait (err 0)
[ 5068.293889] cfg80211: Unknown symbol preempt_schedule (err 0)')
Can somebody help me?
lixiao
 
Posts: 5
Joined: Sat Feb 01, 2014 12:03 pm

Re: Unable to load the rt2800usb driver

Postby pepedog » Sat Feb 01, 2014 12:55 pm

Like here viewtopic.php?f=31&t=6791#p37582
Have you updated and not rebooted?
pepedog
Developer
 
Posts: 2431
Joined: Mon Jun 07, 2010 3:30 pm
Location: London UK

Re: Unable to load the rt2800usb driver

Postby lixiao » Sat Feb 01, 2014 2:19 pm

I have rebooted for several times, but that didn't help.
My RPI has the problem that it resets automatically everytime a usb device is plugged or unplugged, so I always shut it down before doing such thing, just like the ancient serial port days :(
lixiao
 
Posts: 5
Joined: Sat Feb 01, 2014 12:03 pm

Re: Unable to load the rt2800usb driver

Postby sdjf » Tue Feb 04, 2014 7:35 pm

It could just be a hardware problem. I had that all the time when I first got my Pi, I solved it by not touching the 2 USB ports at all, the two devices plugged in to them, stay plugged in, and one port was loose and I tightened the connection by putting a thin layer or layers of tape around the male connector going into the Pi, to tighten up the connection.

the other port, I have a hub permanently attached, so any devices get attached/detached physically from the hub rather than stressing the Pi's USB ports.

Otherwise, could be power issue, backfeeding from a hub?
sdjf
 
Posts: 178
Joined: Wed May 08, 2013 1:55 pm

Re: Unable to load the rt2800usb driver

Postby lixiao » Wed Feb 05, 2014 4:37 am

I haven't tried any hubs because I don't have one. I don't need hot plugging badly and just got used to it ;)

Anyway, I believe a hardware defect shouldn't prevent me from loading a kernel module. I guess from what dmesg said that there're two functions not implemented? Or there's possibly another module I should load in advance? It's beyond my knowledge :|
lixiao
 
Posts: 5
Joined: Sat Feb 01, 2014 12:03 pm

Re: Unable to load the rt2800usb driver

Postby sdjf » Wed Feb 05, 2014 4:23 pm

Post the lsusb of your device, it should hotplug and module get inserted automatically if the device is listed in the modules alias file.

But I still am suspicious about your pi resetting itself when plug/unplug USB devices. I would be concerned about SD card corruption if this happens much.

Yeah, a hardare problem should not prevent a module loading. However, if the hardware problem (faulty Usb socket) causes resets and puts Pi in a snit, it could be a factor.
sdjf
 
Posts: 178
Joined: Wed May 08, 2013 1:55 pm

Re: Unable to load the rt2800usb driver

Postby lixiao » Thu Feb 06, 2014 4:23 am

So here's the lsusb result:
$this->bbcode_second_pass_code('', 'Bus 001 Device 004: ID 148f:2870 Ralink Technology, Corp. RT2870 Wireless Adapter
Bus 001 Device 003: ID 0424:ec00 Standard Microsystems Corp. SMSC9512/9514 Fast Ethernet Adapter
Bus 001 Device 002: ID 0424:9512 Standard Microsystems Corp. SMC9512/9514 USB Hub
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub')
I just checked the dmesg results after a start up, and found even more modules failing to load:
$this->bbcode_second_pass_code('', '[ 3.621096] snd: Unknown symbol prepare_to_wait (err 0)
[ 3.621264] snd: Unknown symbol preempt_schedule (err 0)
...
[ 4.882216] i2c_bcm2708: Unknown symbol preempt_schedule (err 0)
[ 4.884628] i2c_bcm2708: Unknown symbol preempt_schedule (err 0)
[ 4.905211] spi_bcm2708: Unknown symbol preempt_schedule (err 0)
[ 4.927825] cfg80211: Unknown symbol prepare_to_wait (err 0)
[ 4.928140] cfg80211: Unknown symbol preempt_schedule (err 0)
[ 5.427771] cfg80211: Unknown symbol prepare_to_wait (err 0)
[ 5.428087] cfg80211: Unknown symbol preempt_schedule (err 0)
...
[ 9.186544] ipv6: Unknown symbol prandom_seed (err 0)
[ 9.210232] ipv6: Unknown symbol preempt_schedule (err 0)
[ 9.210337] ipv6: Unknown symbol prandom_u32 (err 0)
[ 9.645766] ipv6: Unknown symbol prandom_seed (err 0)
[ 9.675676] ipv6: Unknown symbol preempt_schedule (err 0)
[ 9.675781] ipv6: Unknown symbol prandom_u32 (err 0)
')
I suspect other users should also see the "Unknown symbol" problem. Would you please check the dmesg results of your RPI and tell if you found the same thing?
lixiao
 
Posts: 5
Joined: Sat Feb 01, 2014 12:03 pm

Re: Unable to load the rt2800usb driver

Postby sdjf » Thu Feb 06, 2014 8:22 pm

You missed pepedog's question about whether you have updated. What version are you running now?

It sure sounds like something is corrupted in your file system. Have you done fsck's of both partition 1 and partition 2?

That device is listed in the modules alias file, that is why I wanted to see lsusb.
sdjf
 
Posts: 178
Joined: Wed May 08, 2013 1:55 pm

Re: Unable to load the rt2800usb driver

Postby pepedog » Thu Feb 06, 2014 8:50 pm

Just to confirm, can you give this
$this->bbcode_second_pass_code('', 'pacman -Qs linux-raspberrypi
uname -a')
pepedog
Developer
 
Posts: 2431
Joined: Mon Jun 07, 2010 3:30 pm
Location: London UK

Re: Unable to load the rt2800usb driver

Postby lixiao » Fri Feb 07, 2014 3:36 pm

sdjf, fsck said my mmcblk0p1, the boot partition has dirty bits, and the root partition is clean.

pepedog, here's the result:
$this->bbcode_second_pass_code('', '[root@alarmpi ~]# pacman -Qs linux-raspberrypi
local/linux-raspberrypi 3.10.28-1
The Linux Kernel and modules - Raspberry Pi
[root@alarmpi ~]# uname -a
Linux alarmpi 3.10.28-1-ARCH #1 PREEMPT Tue Jan 28 15:46:05 MST 2014 armv6l GNU/Linux
')

Today I tried another SD card loaded with archlinux and successfully loaded the driver module. The only difference between this and the problematic installation is I resized the partition of the latter one following this tutorial. Seems that the problem is caused by my fault...
lixiao
 
Posts: 5
Joined: Sat Feb 01, 2014 12:03 pm

Next

Return to Raspberry Pi

Who is online

Users browsing this forum: No registered users and 0 guests