It works after reboot, thanks for help
You’re most welcome
Hi,
I follow the steps to upgrade linux kernel and copy firmware. At first it works but after reboot it fails. I cant get wlan0 up
xurde@worky:~$ iwlist scanning
eth0 Interface doesn’t support scanning.
lo Interface doesn’t support scanning.
wlan0 Failed to read scan data : Network is down
xurde@worky:~$ sudo ifconfig wlan0 up
SIOCSIFFLAGS: Error de entrada/salida
Anyone can help me? Thx
Which driver did you install ?
What is the output from:
sudo lshw -C network
and
iwconfig
and
rfkill list
I installed the kernel 3.7.2 and copy the rt3290.bin firmaware to /lib/firmware
xurde@worky:~$ sudo lshw -C network
*-network DESACTIVADO
descripción: Interfaz inalámbrica
producto: Ralink corp.
fabricante: Ralink corp.
id físico: 0
información del bus: pci@0000:01:00.0
nombre lógico: wlan0
versión: 00
serie: a4:17:31:08:24:4b
anchura: 32 bits
reloj: 33MHz
capacidades: pm msi pciexpress bus_master cap_list ethernet physical wireless
configuración: broadcast=yes driver=rt2800pci latency=0 multicast=yes wireless=IEEE 802.11bgn
recursos: irq:16 memoria:c2510000-c251ffff
*-network
descripción: Ethernet interface
producto: RTL8101E/RTL8102E PCI Express Fast Ethernet controller
fabricante: Realtek Semiconductor Co., Ltd.
id físico: 0
información del bus: pci@0000:02:00.0
nombre lógico: eth0
versión: 05
serie: 84:34:97:7a:29:12
tamaño: 100Mbit/s
capacidad: 100Mbit/s
anchura: 64 bits
reloj: 33MHz
capacidades: pm msi pciexpress msix vpd bus_master cap_list ethernet physical tp mii 10bt 10bt-fd 100bt 100bt-fd autonegotiation
configuración: autonegotiation=on broadcast=yes driver=r8169 driverversion=2.3LK-NAPI duplex=full firmware=rtl_nic/rtl8105e-1.fw ip=192.168.0.33 latency=0 link=yes multicast=yes port=MII speed=100Mbit/s
recursos: irq:42 ioport:3000(size=256) memoria:c2404000-c2404fff memoria:c2400000-c2403fff
xurde@worky:~$ iwconfig
eth0 no wireless extensions.
lo no wireless extensions.
wlan0 IEEE 802.11bgn ESSID:off/any
Mode:Managed Access Point: Not-Associated Tx-Power=0 dBm
Retry long limit:7 RTS thr:off Fragment thr:off
Power Management:off
xurde@worky:~$ rfkill list
0: phy0: Wireless LAN
Soft blocked: no
Hard blocked: no
Sometimes after reboot it works but normally not.
Ok, I have a clue. If I reboot the wifi doesn’t work, buy if I shutdown and then boot, the wifi works fine.
Is this a laptop ?
If so, what is the make/model ?
What’s the output from:
lsmod | grep rt
and
lspci -vnn | grep -i net
Yes, it is a Laptop, Sleekbook HP Pavilion 14-b000ss http://h20386.www2.hp.com/SpainStore/Merch/Product.aspx?id=C0T87EA&opt=ABE&sel=PCNB
xurde@worky:~$ lsmod | grep rt
parport_pc 32866 0
rt2800pci 18754 0
rt2800lib 67481 1 rt2800pci
crc_ccitt 12707 1 rt2800lib
rt2x00pci 14578 1 rt2800pci
rt2x00lib 55503 3 rt2800pci,rt2800lib,rt2x00pci
mac80211 626881 3 rt2800lib,rt2x00pci,rt2x00lib
rtsx_pci_ms 13180 0
cfg80211 525244 2 rt2x00lib,mac80211
memstick 16605 1 rtsx_pci_ms
eeprom_93cx6 13344 1 rt2800pci
parport 46562 3 parport_pc,ppdev,lp
rtsx_pci_sdmmc 17800 0
rtsx_pci 28709 2 rtsx_pci_ms,rtsx_pci_sdmmc
xurde@worky:~$ lspci -vnn | grep -i net
01:00.0 Network controller [0280]: Ralink corp. Device [1814:3290]
02:00.0 Ethernet controller [0200]: Realtek Semiconductor Co., Ltd. RTL8101E/RTL8102E PCI Express Fast Ethernet controller [10ec:8136] (rev 05)
That’s a weird problem … are you 100% sure it ALWAYS works if you shut down rather than reboot ?
Yes, paying attention at rebooting I’ve seen a message about disconnect IRQ16, I think it is any kind of hardware problem. Shutdown instead of reboot isn’t critic, i think I’ll leave it
The exact message may help … but if you’re happy to just shut down instead.
I wonder if disabling APIC would help ?
The error in reboot was
[ 3.474662] irq 16: nobody cared (try booting with the "irqpoll" option)
[ 3.474705] Pid: 0, comm: swapper/1 Not tainted 3.8.6-030806-generic #201304051406
[ 3.474706] Call Trace:
[ 3.474708] <IRQ> [<ffffffff810f0d5d>] __report_bad_irq+0x3d/0xe0
[ 3.474720] [<ffffffff810f1185>] note_interrupt+0x135/0x190
[ 3.474724] [<ffffffff810ee999>] handle_irq_event_percpu+0xa9/0x210
[ 3.474727] [<ffffffff810eeb4e>] handle_irq_event+0x4e/0x80
[ 3.474730] [<ffffffff810f1d64>] handle_fasteoi_irq+0x64/0x120
[ 3.474735] [<ffffffff81016702>] handle_irq+0x22/0x40
[ 3.474739] [<ffffffff816f78ea>] do_IRQ+0x5a/0xe0
[ 3.474743] [<ffffffff816ed36d>] common_interrupt+0x6d/0x6d
[ 3.474744] <EOI> [<ffffffff81585ad3>] ? cpuidle_wrap_enter+0x53/0xa0
[ 3.474752] [<ffffffff81585ac9>] ? cpuidle_wrap_enter+0x49/0xa0
[ 3.474755] [<ffffffff81585b30>] cpuidle_enter_tk+0x10/0x20
[ 3.474758] [<ffffffff815856ef>] cpuidle_idle_call+0xaf/0x2b0
[ 3.474763] [<ffffffff8101daef>] cpu_idle+0xcf/0x120
[ 3.474767] [<ffffffff816cac69>] start_secondary+0xc3/0xc5
[ 3.474769] handlers:
[ 3.474786] [<ffffffff81508a30>] usb_hcd_irq
[ 3.474813] Disabling IRQ #16
do you know how to add
irqpoll
as a kernel boot parameter ?
If that doesn’t work, try
pci=routeirq
instead.
If neither help … what’s the output from:
cat /proc/interrupts
?
Hello,
I’ve really found your post useful but I think I’m over my head a little on putting the pieces together. I am trying to run Ubuntu 12.04 on an HP Envy i bought from Woot.com (http://tech.woot.com/offers/hp-envy-six-core-desktop-w-10gb-ram). I worked through this post:
- got card recognized and on the network, but it froze when I used it
- using the instructions on the 3/4 page and now I’ve got a working network card and no freezing
But… I have really bad packet loss %50+.
I’m not sure if I have done a bad combination of steps (it really is just a series of steps, because I dont quite understand all the pieces… like rt2800pci vs rt3290sta) or if I have another issue, but I was hoping I could get some help diagnosing or finding the where to look next.
Any input would be much appreciated. I’ve snipped as much information I could think to include.
comp:~$ tail /etc/modprobe.d/blacklist.conf -n3
#Wireless drivers conflicting with rt3562sta
blacklist rt2800pci
blacklist rt2x00pci
comp:~$ tail /etc/modules -n3
rtc
rt3290
rt3290sta
comp:~$ uname -a
Linux sixthsin 3.7.2-030702-generic #201301111424 SMP Fri Jan 11 19:25:11 UTC 2013 x86_64 x86_64 x86_64 GNU/Linux
comp:~$ lsmod | grep rt
rt2800pci 18755 0
rt2800lib 67474 1 rt2800pci
crc_ccitt 12708 1 rt2800lib
rt2x00pci 14579 1 rt2800pci
rt2x00lib 55504 3 rt2800pci,rt2800lib,rt2x00pci
mac80211 569091 3 rt2800lib,rt2x00pci,rt2x00lib
cfg80211 208484 2 rt2x00lib,mac80211
eeprom_93cx6 13345 1 rt2800pci
parport_pc 32867 0
parport 46563 3 parport_pc,ppdev,lp
comp:/etc/modprobe.d$ sudo lshw -C network
*-network
description: Wireless interface
product: Ralink corp.
vendor: Ralink corp.
physical id: 0
bus info: pci@0000:06:00.0
logical name: wlan0
version: 00
serial: 68:94:23:7e:d9:e7
width: 32 bits
clock: 33MHz
capabilities: pm msi pciexpress bus_master cap_list ethernet physical wireless
configuration: broadcast=yes driver=rt2800pci latency=0 multicast=yes wireless=IEEE 802.11bgn
resources: irq:22 memory:fe810000-fe81ffff
*-network
description: Ethernet interface
product: RTL8111/8168B PCI Express Gigabit Ethernet controller
vendor: Realtek Semiconductor Co., Ltd.
physical id: 0
bus info: pci@0000:07:00.0
logical name: eth0
version: 06
serial: 90:2b:34:e8:cb:94
size: 100Mbit/s
capacity: 1Gbit/s
width: 64 bits
clock: 33MHz
capabilities: pm msi pciexpress msix vpd bus_master cap_list ethernet physical tp mii 10bt 10bt-fd 100bt 100bt-fd 1000bt 1000bt-fd autonegotiatio n
configuration: autonegotiatio n=on broadcast=yes driver=r8169 driverversion=2.3LK-NAPI duplex=full firmware=rtl_nic/rtl8168e-2.fw ip=192.168.1.146 latency=0 link=yes multicast=yes port=MII speed=100Mbit/s
resources: irq:80 ioport:d000(size=256) memory:d0004000-d0004fff memory:d0000000-d0003fff
comp:~$ iwconfig
eth0 no wireless extensions.
lo no wireless extensions.
wlan0 IEEE 802.11bgn ESSID:off/any
Mode:Managed Access Point: Not-Associated Tx-Power=20 dBm
Retry long limit:7 RTS thr:off Fragment thr:off
Power Management:off
comp:~$ lspci -vnn | grep -i net
06:00.0 Network controller [0280]: Ralink corp. Device [1814:3290]
07:00.0 Ethernet controller [0200]: Realtek Semiconductor Co., Ltd. RTL8111/8168B PCI Express Gigabit Ethernet controller [10ec:8168] (rev 06)
... full entry ...
06:00.0 Network controller [0280]: Ralink corp. Device [1814:3290]
Subsystem: Hewlett-Packard Company Device [103c:18ec]
Flags: bus master, fast devsel, latency 0, IRQ 22
Memory at fe810000 (32-bit, non-prefetchable) [size=64K]
Capabilities: [40] Power Management version 3
Capabilities: [50] MSI: Enable- Count=1/32 Maskable- 64bit+
Capabilities: [70] Express Endpoint, MSI 00
Capabilities: [100] Advanced Error Reporting
Capabilities: [140] Device Serial Number 00-00-e7-d9-7e-23-94-68
Kernel driver in use: rt2800pci
Kernel modules: rt2800pci
06:00.1 Bluetooth [0d11]: Ralink corp. Device [1814:3298]
Subsystem: Hewlett-Packard Company Device [103c:18ec]
Flags: fast devsel, IRQ 4
Memory at fe800000 (32-bit, non-prefetchable) [disabled] [size=64K]
Capabilities: [40] Power Management version 3
Capabilities: [50] MSI: Enable- Count=1/32 Maskable- 64bit+
Capabilities: [70] Express Endpoint, MSI 00
Capabilities: [100] Advanced Error Reporting
Capabilities: [140] Device Serial Number 00-00-e8-d9-7e-23-94-68
comp:~$ dpkg -l | grep linux-image
ii linux-image-3.5.0-23-generic 3.5.0-23.35~precise1 Linux kernel image for version 3.5.0 on 64 bit x86 SMP
ii linux-image-3.5.0-34-generic 3.5.0-34.55~precise1 Linux kernel image for version 3.5.0 on 64 bit x86 SMP
ii linux-image-3.7.2-030702-generic 3.7.2-030702.201301111424 Linux kernel image for version 3.7.2 on 64 bit x86 SMP
ii linux-image-extra-3.7.2-030702-generic 3.7.2-030702.201301111424 Linux kernel image for version 3.7.2 on 64 bit x86 SMP
ii linux-image-generic-lts-quantal 3.5.0.34.41 Generic Linux kernel image
Hi tatagatha and welcome to the forum
I gather you need the rt3290sta drivers for your card, but I don’t know if you’ve already installed them or not … can you send the output from:
modinfo rt3290sta
and we’ll go from there.
ERROR: modinfo: could not find module rt3290sta
How could I have a working network connection with lots of dropped packets if I didn’t have the driver at all? I think there is part of this picture I am missing. Are there two pieces to the drivers? Or two drivers for the same card and one is better than the other?
Also… Thanks!
There are 2 drivers available for your card
a) rt2800pci which is the open source generic driver built into the Linux kernel … works perfectly well with most Ralink PCI adapters, but not all.
b) rt3290sta the proprietary drivers which cannot be included in the kernel … so you’ll need to download and compile it.
I’ll post instructions in a bit.
You’ll need to install a couple of things before compiling, so are you able to connect your PC to your router with an ethernet cable … so you have a stable internet connection whilst we sort out the wireless ?
And just to be 100% sure … you’re using Ubuntu 12.04 64bit right ?
–
Ah… ok. I think I understand now. The black list is what prevents one driver from being loaded so that the other can be used…
Yes, I’m able to use a wired connection.
Yes, I’m using 12.04 64 bit.
OK, I’ll post the instructions anyway, but from what I gather these instructions won’t work for the 3.7 kernel … is there any particular reason you’re not running 12.04’s default 3.2 kernel ?
WARNING - DO NOT attempt these instructions on anything above the 3.2 kernel, they will fail to compile and/or won’t work
Open a terminal and run:
sudo apt-get update && sudo apt-get install build-essential linux-headers-generic
wait for that command to finish and leave you back at an $ prompt, then run:
cd ~
then:
wget https://dl.dropboxusercontent.com/u/11876059/DPO_RT3290_LinuxSTA_V2600_20120508.tar.gz
then:
tar -xvf DPO_RT3290_LinuxSTA_V2600_20120508.tar.gz
then:
cd ~/DPO_RT3290_LinuxSTA_V2600_20120508
then:
sudo su
enter your password when prompted and hit enter (the prompt should change from $ to #), then:
make
then when that finishes:
make install
then:
exit
then:
sudo modprobe -r rt2800pci
then
sudo modprobe rt3290sta
Does your wireless still work ?
If so, reboot … then post the output from:
sudo lshw -C network
so we can check the rt3290sta drivers are still being used.
I ended up using the 3.7 kernel when following instructions you gave ‘powery’ earlier in this thread.
I have followed some steps that as I can tell are identical to the ones you gave me (except the extra step of adding rt3290sta to the modlues list) and while I was able to get connected to the wireless network, the moment i tried to use the interface ubuntu froze. That is when I found this post and an issue very similar to ‘powery’ : Ubuntu froze and the only clue was about “Incorrect desired TSSI or current TSSI”. I dont know if that give a clearer view of how i got to the state I’m in. I can always do a fresh install since there is nothing i care about on this machine yet.
I’m away from that computer right now, but I will try later tonight. I can also switch kernals to the 3.2 ( I use the grub bootloader to make this selection?)
Thanks!