wireless network does not work on Sony VAIO SR19VN [Intel Wireless WiFi Link 5100]

Bug #256629 reported by Joris Bierkens
22
This bug affects 1 person
Affects Status Importance Assigned to Milestone
linux (Ubuntu)
Fix Released
Undecided
Unassigned
Nominated for Intrepid by Andreas Moog

Bug Description

Wireless does not work.
Wireless led is on (but it seems this led also controls bluetooth, so maybe wifi is actually turned off).

Tried ndiswrapper on sony atheros driver downloaded from http://support.vaio.sony.nl. Followed instructions from http://ubuntuforums.org/showthread.php?t=9454

I think modprobe did not succeed, I didn't find a message like "ndiswrapper: using irq 11" on dmesg | tail, but did read
"ndiswrapper version ... loaded (preempt=yes,smp=no)"

WORKAROUND: https://wiki.kubuntu.org/LaptopTestingTeam/SonyVGN-SR19VN

lspci output:

00:00.0 Host bridge: Intel Corporation Cantiga Memory Controller Hub (rev 07)
00:01.0 PCI bridge: Intel Corporation Cantiga PCI Express Graphics Port (rev 07)
00:1a.0 USB Controller: Intel Corporation 82801I (ICH9 Family) USB UHCI Controller #4 (rev 03)
00:1a.1 USB Controller: Intel Corporation 82801I (ICH9 Family) USB UHCI Controller #5 (rev 03)
00:1a.7 USB Controller: Intel Corporation 82801I (ICH9 Family) USB2 EHCI Controller #2 (rev 03)
00:1b.0 Audio device: Intel Corporation 82801I (ICH9 Family) HD Audio Controller (rev 03)
00:1c.0 PCI bridge: Intel Corporation 82801I (ICH9 Family) PCI Express Port 1 (rev 03)
00:1c.1 PCI bridge: Intel Corporation 82801I (ICH9 Family) PCI Express Port 2 (rev 03)
00:1c.2 PCI bridge: Intel Corporation 82801I (ICH9 Family) PCI Express Port 3 (rev 03)
00:1c.3 PCI bridge: Intel Corporation 82801I (ICH9 Family) PCI Express Port 4 (rev 03)
00:1d.0 USB Controller: Intel Corporation 82801I (ICH9 Family) USB UHCI Controller #1 (rev 03)
00:1d.1 USB Controller: Intel Corporation 82801I (ICH9 Family) USB UHCI Controller #2 (rev 03)
00:1d.2 USB Controller: Intel Corporation 82801I (ICH9 Family) USB UHCI Controller #3 (rev 03)
00:1d.3 USB Controller: Intel Corporation 82801I (ICH9 Family) USB UHCI Controller #6 (rev 03)
00:1d.7 USB Controller: Intel Corporation 82801I (ICH9 Family) USB2 EHCI Controller #1 (rev 03)
00:1e.0 PCI bridge: Intel Corporation 82801 Mobile PCI Bridge (rev 93)
00:1f.0 ISA bridge: Intel Corporation ICH9M LPC Interface Controller (rev 03)
00:1f.2 SATA controller: Intel Corporation ICH9M/M-E SATA AHCI Controller (rev 03)
00:1f.3 SMBus: Intel Corporation 82801I (ICH9 Family) SMBus Controller (rev 03)
01:00.0 VGA compatible controller: ATI Technologies Inc Mobilitiy Radeon HD 3400 Series
02:00.0 Ethernet controller: Marvell Technology Group Ltd. 88E8040 PCI-E Fast Ethernet Controller (rev 12)
05:00.0 Network controller: Intel Corporation Unknown device 4232
07:03.0 FireWire (IEEE 1394): Ricoh Co Ltd R5C832 IEEE 1394 Controller (rev 05)
07:03.1 SD Host controller: Ricoh Co Ltd R5C822 SD/SDIO/MMC/MS/MSPro Host Adapter (rev 22)
07:03.2 System peripheral: Ricoh Co Ltd R5C592 Memory Stick Bus Host Adapter (rev 12)

Revision history for this message
Benjamin Drung (bdrung) wrote :

Thank you for taking the time to report this bug and helping to make Ubuntu better. This bug did not have a package associated with it, which is important for ensuring that it gets looked at by the proper developers. You can learn more about finding the right package at https://wiki.ubuntu.com/Bugs/FindRightPackage . I have classified this bug as a bug in linux.
For future reference you might be interested to know that a lot of applications have bug reporting functionality built in to them. This can be accessed via the Report a Problem option in the Help menu for the application with which you are having an issue. You can learn more about this feature at https://wiki.ubuntu.com/ReportingBugs.

Revision history for this message
Andreas Moog (ampelbein) wrote :

Thank you for taking the time to report this bug and helping to make Ubuntu better. Unfortunately we can't fix it, because your description does not yet have enough information.

Please include the following additional information, if you have not already done so (pay attention to lspci's additional options), as required by the Ubuntu Kernel Team:
1. Please include the output of the command "uname -a" in your next response. It should be one, long line of text which includes the exact kernel version you're running, as well as the CPU architecture.
2. Please run the command "dmesg > dmesg.log" after a fresh boot and attach the resulting file "dmesg.log" to this bug report.
3. Please run the command "sudo lspci -vvnn > lspci-vvnn.log" and attach the resulting file "lspci-vvnn.log" to this bug report.

For your reference, the full description of procedures for kernel-related bug reports is available at https://wiki.ubuntu.com/KernelTeamBugPolicies Thanks in advance!

Changed in linux:
assignee: nobody → andreas-moog
status: New → Incomplete
Revision history for this message
Joris Bierkens (jbierkens) wrote :

In progress...

1. uname - a:
Linux joris-vaio 2.6.24-19-generic #1 SMP Fri Jul 11 23:41:49 UTC 2008 i686 GNU/Linux

2. attachment dmesg.log

3. attachment lspci-vvnn.log

Revision history for this message
Joris Bierkens (jbierkens) wrote :

1. uname - a:
Linux joris-vaio 2.6.24-19-generic #1 SMP Fri Jul 11 23:41:49 UTC 2008 i686 GNU/Linux

2. attachment dmesg.log

3. attachment lspci-vvnn.log

Revision history for this message
Joris Bierkens (jbierkens) wrote :
Revision history for this message
Benjamin Drung (bdrung) wrote :

Setting status back to new.

Changed in linux:
status: Incomplete → New
Revision history for this message
Andreas Moog (ampelbein) wrote :

Thanks for your Bug-Report. The network-card you are using (Intel® Wireless WiFi Link 5100 WLAN) will be supported with the 2.6.26-kernel. In 2.6.24 there is no way of activating it, not even with ndiswrapper.

Andreas Moog (ampelbein)
Changed in linux:
assignee: andreas-moog → nobody
Revision history for this message
Bernhard Reiter (ockham-razor) wrote :

Same problem here with an Acer Aspire 5930G. Still no success with intrepid alpha4, which runs (uname -a):

Linux razor 2.6.26-5-generic #1 SMP Sun Aug 10 20:28:44 UTC 2008 x86_64 GNU/Linux

This laptop has a dedicated wifi button with a LED, which won't turn on when the button's pressed.
It would be really great to be able to run wifi for Centrino 2 notebooks out of the box with the upcoming Intrepid release!

Revision history for this message
Bernhard Reiter (ockham-razor) wrote :

Sorry, produced some time after reboot.

Revision history for this message
Bernhard Reiter (ockham-razor) wrote :

Sorry, produced some time after reboot.

Revision history for this message
Bernhard Reiter (ockham-razor) wrote :

btw, there is a forum thread about this issue and possible solutions:

http://ubuntuforums.org/showthread.php?t=879134

Revision history for this message
Bernhard Reiter (ockham-razor) wrote :

On 2008-08-14, Intel announced linux support for the Wifi Link 5100 and 5300 series on the kernel mailing list:

http://groups.google.com/group/linux.kernel/browse_thread/thread/29aaff8982c9da6e/b4680160ac51e5d9?lnk=raot

If it's not too late, please target this for Intrepid!

Andreas Moog (ampelbein)
Changed in linux:
status: New → Confirmed
Revision history for this message
Slipie (slipiefreak) wrote :

The temporary solution can be found here: http://ubuntuforums.org/showthread.php?p=5662925
Just manually download the firmware and compile the driver.

Revision history for this message
Leann Ogasawara (leannogasawara) wrote :

The Ubuntu Kernel Team is planning to move to the 2.6.27 kernel for the upcoming Intrepid Ibex 8.10 release. As a result, the kernel team would appreciate it if you could please test this newer 2.6.27 Ubuntu kernel. There are one of two ways you should be able to test:

1) If you are comfortable installing packages on your own, the linux-image-2.6.27-* package is currently available for you to install and test.

--or--

2) The upcoming Alpha5 for Intrepid Ibex 8.10 will contain this newer 2.6.27 Ubuntu kernel. Alpha5 is set to be released Thursday Sept 4. Please watch http://www.ubuntu.com/testing for Alpha5 to be announced. You should then be able to test via a LiveCD.

Please let us know immediately if this newer 2.6.27 kernel resolves the bug reported here or if the issue remains. More importantly, please open a new bug report for each new bug/regression introduced by the 2.6.27 kernel and tag the bug report with 'linux-2.6.27'. Also, please specifically note if the issue does or does not appear in the 2.6.26 kernel. Thanks again, we really appreicate your help and feedback.

Revision history for this message
Bernhard Reiter (ockham-razor) wrote :

Ok, testing with Intrepid alpha4 and kernel 2.6.27 as described in the previous post.

uname -a:
Linux razor 2.6.27-2-generic #1 SMP Thu Aug 28 17:18:43 UTC 2008 x86_64 GNU/Linux

WLAN is not listed in NetworkManager's list, so I can't use it. But it's actually in the iwconfig output:

lo no wireless extensions.

eth0 no wireless extensions.

wmaster0 no wireless extensions.

wlan0 IEEE 802.11abgn ESSID:""
          Mode:Managed Frequency:2.412 GHz Access Point: Not-Associated
          Tx-Power=0 dBm
          Retry min limit:7 RTS thr:off Fragment thr=2352 B
          Power Management:off
          Link Quality:0 Signal level:0 Noise level:0
          Rx invalid nwid:0 Rx invalid crypt:0 Rx invalid frag:0
          Tx excessive retries:0 Invalid misc:0 Missed beacon:0

-snip-
Pressing the WLAN button on this Acer Aspire 5930G doesn't turn it on.

dmesg when pressing it:
[ 4900.888063] atkbd.c: Unknown key pressed (translated set 2, code 0xd6 on isa0060/serio0).
[ 4900.888077] atkbd.c: Use 'setkeycodes e056 <keycode>' to make it known.
[ 4900.893284] atkbd.c: Unknown key released (translated set 2, code 0xd6 on isa0060/serio0).
[ 4900.893293] atkbd.c: Use 'setkeycodes e056 <keycode>' to make it known.

Revision history for this message
Alex Lopez (alfitovdkiv) wrote :

I am currently running same kernel but 32bit:

Linux xalf 2.6.27-2-generic #1 SMP Thu Aug 28 17:20:02 UTC 2008 i686 GNU/Linux

 in the same acer model and wireless card is working fine. I cand turn on/off wireless device with wlan button.
Maybe is the 64bit kernel problem?

Revision history for this message
Leann Ogasawara (leannogasawara) wrote :

Thanks for testing and the updates guys.

Bernhard - would you be willing to maybe test with an Alpha5 LiveCD when it's finally released (seems to be delayed at the moment - hopefully by today it will come out). If it still fails to work can you attach your dmesg output? Thanks.

Revision history for this message
Bernhard Reiter (ockham-razor) wrote :

Leann - testing with an Alpha5 LiveCD right now. Pretty much the same as before. dmesg output attached (note I tried switching Wifi on twice by pressing the corresponding button, so that's also in my dmesg output).

Revision history for this message
Joris Bierkens (jbierkens) wrote : Re: [Bug 256629] Re: wireless network does not work on Sony VAIO SR19VN [Intel Wireless WiFi Link 5100]
  • dmesg Edit (42.0 KiB, text/plain; name=dmesg)

I am currently trying Intrepid 5, with more less the same results as
Bernhard I think:

iwconfig gives
wlan0 IEEE 802.11abgn ESSID:""
          Mode:Managed Frequency:2.412 GHz Access Point: Not-Associated
          Tx-Power=15 dBm
          Retry min limit:7 RTS thr:off Fragment thr=2352 B
          Power Management:off
          Link Quality:0 Signal level:0 Noise level:0
          Rx invalid nwid:0 Rx invalid crypt:0 Rx invalid frag:0
          Tx excessive retries:0 Invalid misc:0 Missed beacon:0

Attached you find the dmesg output.
(I turned on the wireless switch after KDE had finished loading.)
Perhaps it just amounts to installing the right firmware? However the
restricted drivers program (now called "hardware drivers") does not
list my wireless card, and i don't know how to do this from the
command line.

Regards, Joris

On 06/09/2008, Bernhard Reiter <email address hidden> wrote:
> Leann - testing with an Alpha5 LiveCD right now. Pretty much the same as
> before. dmesg output attached (note I tried switching Wifi on twice by
> pressing the corresponding button, so that's also in my dmesg output).
>
> ** Attachment added: "dmesg output for alpha5"
> http://launchpadlibrarian.net/17344832/dmesg_alpha5.txt
>
> --
> wireless network does not work on Sony VAIO SR19VN [Intel Wireless WiFi Link
> 5100]
> https://bugs.launchpad.net/bugs/256629
> You received this bug notification because you are a direct subscriber
> of the bug.
>

Revision history for this message
Bernhard Reiter (ockham-razor) wrote :

After a very recent update that installed kernel 2.6.27-3, among other things, WLAN now *does* work here on x86_64 and can be turned off and on by pressing the corresponding key! (Had some trouble with restricted nvidia graphics modules after updating, but re-installing them cured the problem.)

uname -a:
Linux razor 2.6.27-3-generic #1 SMP Wed Sep 10 16:18:52 UTC 2008 x86_64 GNU/Linux

Revision history for this message
inflamestory (dory-thibault) wrote :

I've got problem with my intel 5100 too! After boot dmesg show me this :

[ 17.468863] iwlagn: Intel(R) Wireless WiFi Link AGN driver for Linux, 1.3.27ks
[ 17.468866] iwlagn: Copyright(c) 2003-2008 Intel Corporation
[ 17.469673] iwlagn 0000:03:00.0: PCI INT A -> GSI 17 (level, low) -> IRQ 17
[ 17.469702] iwlagn 0000:03:00.0: setting latency timer to 64
[ 17.469775] iwlagn: Detected Intel Wireless WiFi Link 5100AGN REV=0x54
[ 17.515237] iwlagn: Tunable channels: 13 802.11bg, 24 802.11a channels
[ 17.515659] iwlagn 0000:03:00.0: PCI INT A disabled
[ 17.516211] phy0: Selected rate control algorithm 'iwl-agn-rs'

wich looks fine, but if I try to use it with iwconfig (network manager doesn't want to do anything) I got an error and dmesg tell me that RFSWITCH is off, and that's true :

cat /proc/bus/pci/driver/iwlagn/.../state return 2 !

Here is the lspci line :

03:00.0 Network controller: Intel Corporation Unknown device 4237

My computer is a Lenovo Y530-P7530 with a hardware switch and a switch on the keyboard (fn + F5) to turn off the wireless card.

Revision history for this message
Leann Ogasawara (leannogasawara) wrote :

Hi Guys,

@Joris, you mentioned you "turned on the wireless switch after KDE had finished loading". Are you sure you didn't disable wireless when you flipped the switch as I first see in your dmesg output:

[ 57.823085] iwlagn: Intel(R) Wireless WiFi Link AGN driver for Linux, 1.3.27ks
[ 57.823087] iwlagn: Copyright(c) 2003-2008 Intel Corporation
[ 57.823183] iwlagn 0000:05:00.0: PCI INT A -> GSI 18 (level, low) -> IRQ 18
[ 57.823191] iwlagn 0000:05:00.0: setting latency timer to 64
[ 57.823216] iwlagn: Detected Intel Wireless WiFi Link 5100AGN REV=0x54
[ 57.851861] iwlagn: Tunable channels: 13 802.11bg, 24 802.11a channels

But then see:

[ 80.087176] iwlagn 0000:05:00.0: PCI INT A -> GSI 18 (level, low) -> IRQ 18
[ 80.087279] iwlagn 0000:05:00.0: restoring config space at offset 0x1 (was 0x100002, writing 0x100006)
[ 80.087476] firmware: requesting iwlwifi-5000-1.ucode
[ 80.889626] iwlagn: Radio disabled by HW RF Kill switch

@inflamestory, care to attach your full dmesg output? I'm also curious if something like "echo 0 > /sys/class/rfkill/rfkill0/state" would help to toggle the state as a workaround for you?

Thanks.

Revision history for this message
Joris Bierkens (jbierkens) wrote :

Yes, quite sure. Anyway, here is a new dmesg output, lspci output and
uname output, using Ubuntu Hardy,

Linux joris-vaio 2.6.24-19-generic #1 SMP Wed Aug 20 17:53:40 UTC 2008
x86_64 GNU/Linux

(wireless switch turned on, yep ;-) )

Thanks, hope it might be working in Intrepid...

Joris

2008/10/3 Leann Ogasawara <email address hidden>:
> Hi Guys,
>
> @Joris, you mentioned you "turned on the wireless switch after KDE had
> finished loading". Are you sure you didn't disable wireless when you
> flipped the switch as I first see in your dmesg output:
>
> [ 57.823085] iwlagn: Intel(R) Wireless WiFi Link AGN driver for Linux, 1.3.27ks
> [ 57.823087] iwlagn: Copyright(c) 2003-2008 Intel Corporation
> [ 57.823183] iwlagn 0000:05:00.0: PCI INT A -> GSI 18 (level, low) -> IRQ 18
> [ 57.823191] iwlagn 0000:05:00.0: setting latency timer to 64
> [ 57.823216] iwlagn: Detected Intel Wireless WiFi Link 5100AGN REV=0x54
> [ 57.851861] iwlagn: Tunable channels: 13 802.11bg, 24 802.11a channels
>
> But then see:
>
> [ 80.087176] iwlagn 0000:05:00.0: PCI INT A -> GSI 18 (level, low) -> IRQ 18
> [ 80.087279] iwlagn 0000:05:00.0: restoring config space at offset 0x1 (was 0x100002, writing 0x100006)
> [ 80.087476] firmware: requesting iwlwifi-5000-1.ucode
> [ 80.889626] iwlagn: Radio disabled by HW RF Kill switch
>
> @inflamestory, care to attach your full dmesg output? I'm also curious
> if something like "echo 0 > /sys/class/rfkill/rfkill0/state" would help
> to toggle the state as a workaround for you?
>
> Thanks.
>
> --
> wireless network does not work on Sony VAIO SR19VN [Intel Wireless WiFi Link 5100]
> https://bugs.launchpad.net/bugs/256629
> You received this bug notification because you are a direct subscriber
> of the bug.
>

Revision history for this message
inflamestory (dory-thibault) wrote :

First thx for your help Leann!

The command (sudo) echo 0 > /sys/class/rfkill/rfkill0/state didn't work, bash tell me that he doesn't have the permission to do it. If I edit it with nano and save it no error but cat /sys/class/rfkill/rfkill0/state still return me 2.
Anyway here is my complete dmesg output

Revision history for this message
Rewben (mastodront) wrote :

Seems I have pretty much the same problem as inflamestory. I don't have the computer in question near by, so I'll have to add information later. I had an intrepid RC installed earlier and also got the "Radio disabled by hw kill switch". All the modules are loaded and all seems fine though. Then I lost patience and installed Mandriva 2009 B2 and there the WLAN worked great without having to do anything.

Now to the weird part; I downloaded Kubuntu 8.10 Beta and booted it in Live mode, and found out the WLAN worked great. I then installed Kubuntu on harddrive, and found that the problem came back.

Seems weird it works in Live mode, but not when it's installed.

Well, can add the dmesg.log and more info about the system and kernel version later.

Revision history for this message
inflamestory (dory-thibault) wrote :

In fact after posting a bug to the kernel bugzilla, I've followed the advice of a kernel dev who ask me if it work under windows. As I've formated my hard disk before giving a single boot to vista I've had to install XP and lenovo tools for acpi and hotkeys, and guess what, it works! Since I've tried the shortcut under windows my wireless card still on.
So my my problem wasn't realy the same, good luck!

Revision history for this message
Leann Ogasawara (leannogasawara) wrote :

@Joris, you may want to try installing linux-backports-modules as it most recently pulled in an updated version of the compat-wireless stack:

https://edge.launchpad.net/ubuntu/+source/linux-backports-modules-2.6.27

linux-backports-modules-2.6.27 (2.6.27-7.3) intrepid; urgency=low

  [Tim Gardner]

  * Added iwlwifi firmware
  * Added the upstream compat-wireless-2.6 tree.
  * Updated compat-wireless to wireless-testing tag master-2008-10-14
  * Set CONFIG_WIRELESS_OLD_REGULATORY=y by default.

Revision history for this message
Joris Bierkens (jbierkens) wrote :

Did not try linux-backports-modules.
I don't know if Intrepid / kernel 2.6.27 was supposed to correct this bug, but it didn't work for me.

However I did follow the steps on https://wiki.kubuntu.org/LaptopTestingTeam/SonyVGN-SR19VN , which worked for me.
Wireless is up and running now.

Remark: Since I'm using kernel 2.6.24 I had to download compat-wireless-old.tar.bz2 from http://linuxwireless.org/download/compat-wireless-2.6/

Revision history for this message
Bernhard Reiter (ockham-razor) wrote :

Strangely, sometimes wifi just doesn't work after booting. I still suspect this is caused by some collision with nvidia drivers v177 -- I think it doesn't ever happen if I deactivate them. I'm attaching dmesg and lspic -vvnn logs.

Revision history for this message
Bernhard Reiter (ockham-razor) wrote :
Revision history for this message
Bernhard Reiter (ockham-razor) wrote :
Revision history for this message
Bernhard Reiter (ockham-razor) wrote :
Revision history for this message
Bernhard Reiter (ockham-razor) wrote :
Revision history for this message
Bernhard Reiter (ockham-razor) wrote :
Revision history for this message
j3f0 (tevelized) wrote :

I have something that may be related. I don't remember having boot issues prior to enabling the nvidia 177 driver but I frequently have them now where iwlagn appears to cause a kernel panic and boot freezes and caps lock blinks.

have you had any problems like that? let me know if you want more info.

Revision history for this message
penalvch (penalvch) wrote :

Joris Bierkens, thank you for reporting this and helping make Ubuntu better. Hardy desktop reached EOL on May 12, 2011.
Please see this document for currently supported Ubuntu releases:
https://wiki.ubuntu.com/Releases

We were wondering if this is still an issue on a supported release? If so, can you try with the latest development release of Ubuntu? ISO CD images are available from http://cdimage.ubuntu.com/releases/ .

If it remains an issue, could you run the following command in a supported release from a Terminal (Applications->Accessories->Terminal). It will automatically gather and attach updated debug information to this report.

apport-collect -p linux <replace-with-bug-number>

Also, if you could test the latest upstream kernel available that would be great. It will allow additional upstream developers to examine the issue. Refer to https://wiki.ubuntu.com/KernelMainlineBuilds . Once you've tested the upstream kernel, please remove the 'needs-upstream-testing' tag. This can be done by clicking on the yellow pencil icon next to the tag located at the bottom of the bug description and deleting the 'needs-upstream-testing' text. Please let us know your results.

Thanks in advance.

description: updated
tags: added: hardy intrepid needs-upstream-testing
Changed in linux (Ubuntu):
status: Confirmed → Incomplete
Revision history for this message
Bernhard Reiter (ockham-razor) wrote :

This has been working OOTB with no further issues for a long time now, so I'm pretty certain it's fine to close this bug.

Changed in linux (Ubuntu):
status: Incomplete → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.