WiFi is unavailable on Origen ubuntu.

Bug #1043355 reported by Botao on 2012-08-29
26
This bug affects 2 people
Affects Status Importance Assigned to Milestone
Linaro Ubuntu
Low
Unassigned
linaro-landing-team-samsung
Fix Released
Undecided
Unassigned

Bug Description

On Samsung Origen board with Linaro ubuntu pre-built image:

http://snapshots.linaro.org/precise/pre-built/leb-origen/312/leb-origen-precise_ubuntu-desktop_20120828-312.img.gz

WiFi is unavailable.

root@linaro-ubuntu-desktop:~# ifconfig -a
lo Link encap:Local Loopback
          inet addr:127.0.0.1 Mask:255.0.0.0
          inet6 addr: ::1/128 Scope:Host
          UP LOOPBACK RUNNING MTU:16436 Metric:1
          RX packets:0 errors:0 dropped:0 overruns:0 frame:0
          TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:0
          RX bytes:0 (0.0 B) TX bytes:0 (0.0 B)

#############################################################
This behaviour is observed on following images:

http://snapshots.linaro.org/precise/pre-built/leb-origen/312/leb-origen-precise_ubuntu-desktop_20120828-312.img.gz

http://snapshots.linaro.org/precise/pre-built/leb-origen/316/leb-origen-precise_ubuntu-desktop_20120830-316.img.gz

http://snapshots.linaro.org/precise/pre-built/leb-origen/336/leb-origen-precise_ubuntu-desktop_20120909-336.img.gz

http://snapshots.linaro.org/precise/pre-built/leb-origen/349/leb-origen-precise_ubuntu-desktop_20120916-349.img.gz

https://snapshots.linaro.org/precise/pre-built/leb-origen/365/leb-origen-precise_ubuntu-desktop_20120924-365.img.gz

http://snapshots.linaro.org/precise/hwpacks/leb-origen/377/hwpack_linaro-leb-origen_20120928-377_armhf_supported.tar.gz

http://snapshots.linaro.org/precise/pre-built/leb-origen/395/leb-origen-precise_ubuntu-desktop_20121007-395.img.gz

http://snapshots.linaro.org/precise/pre-built/leb-origen/409/leb-origen-precise_ubuntu-desktop_20121014-409.img.gz

https://snapshots.linaro.org/precise/pre-built/leb-origen/424/leb-origen-precise_ubuntu-desktop_20121021-424.img.gz

http://snapshots.linaro.org/precise/pre-built/leb-origen/453/leb-origen-precise_ubuntu-desktop_20121105-453.img.gz

http://snapshots.linaro.org/precise/pre-built/leb-origen/464/leb-origen-precise_ubuntu-desktop_20121111-464.img.gz

http://snapshots.linaro.org/precise/pre-built/leb-origen/480/leb-origen-precise_ubuntu-desktop_20121119-480.img.gz

Botao (botao-sun) wrote :
Changed in linaro-ubuntu:
status: New → Confirmed
importance: Undecided → High
Botao (botao-sun) on 2012-09-12
description: updated
Botao (botao-sun) on 2012-09-17
description: updated
Deepak Saxena (dsaxena-linaro) wrote :

Couple of questions/comments on this:

It looks like the wifi card/dongle is not being seen by the kernel. Can you check the system log to make sure that a) the driver is being loaded if it is a module, and b) any error messages from the driver if it is in fact being loaded? If it's not being loaded, than we need to figure out why. Is the wifi card on USB or or some other bus? Can you do an lsusb if on USB to ensure it is seen?

Did images before 08/28 work? If so, do we have a log of kernel and userland changes between that and the previous build?

Ricardo Salveti (rsalveti) wrote :

Can also reproduce the issue with https://snapshots.linaro.org/precise/pre-built/leb-origen/365/leb-origen-precise_ubuntu-desktop_20120924-365.img.gz (12.09 RC1).

The interface is not even loaded.

Kernel: 3.6.0-1-linaro-lt-origen #1~ci+120923204314-Ubuntu

Ricardo Salveti (rsalveti) wrote :

I get better results without device-tree, but still not able to connect:

root@linaro-ubuntu-desktop:~# dmesg | grep -i ath
[ 3.675000] ath6kl: Failed to get board file ath6k/AR6003/hw2.0/bdata.bin (-2), trying to find default board file.
[ 7.215000] ath6kl: WARNING! No proper board file was not found, instead using a default board file.
[ 7.215000] ath6kl: Most likely your hardware won't work as specified. Install correct board file!
[ 9.140000] ath6kl: temporary war to avoid sdio crc error
[ 9.750000] ath6kl: ar6003 hw 2.0 sdio fw 3.1.1.149 api 1
[ 21.985000] Bluetooth: HCIATH3K protocol initialized
root@linaro-ubuntu-desktop:~# iwconfig
wlan0 IEEE 802.11bg ESSID:off/any
          Mode:Managed Access Point: Not-Associated Tx-Power=0 dBm
          Retry long limit:7 RTS thr:off Fragment thr:off
          Encryption key:off
          Power Management:on

lo no wireless extensions.

eth0 no wireless extensions.

p athlinaro-ubuntu-desktop:~# find /lib/firmware/ | grep ath
/lib/firmware/ath3k-1.fw
/lib/firmware/ath6k
/lib/firmware/ath6k/AR6003.1
/lib/firmware/ath6k/AR6003.1/hw2.1.1
/lib/firmware/ath6k/AR6003.1/hw2.1.1/endpointping.bin
/lib/firmware/ath6k/AR6003.1/hw2.1.1/bdata.SD31.bin
/lib/firmware/ath6k/AR6003.1/hw2.1.1/bdata.WB31.bin
/lib/firmware/ath6k/AR6003.1/hw2.1.1/bdata.SD32.bin
/lib/firmware/ath6k/AR6003.1/hw2.1.1/data.patch.bin
/lib/firmware/ath6k/AR6003.1/hw2.1.1/otp.bin
/lib/firmware/ath6k/AR6003.1/hw2.1.1/athwlan.bin
/lib/firmware/ath6k/AR6003
/lib/firmware/ath6k/AR6003/hw2.0
/lib/firmware/ath6k/AR6003/hw2.0/athwlan.bin.z77
/lib/firmware/ath6k/AR6003/hw2.0/bdata.SD31.bin
/lib/firmware/ath6k/AR6003/hw2.0/bdata.WB31.bin
/lib/firmware/ath6k/AR6003/hw2.0/bdata.SD32.bin
/lib/firmware/ath6k/AR6003/hw2.0/data.patch.bin
/lib/firmware/ath6k/AR6003/hw2.0/otp.bin.z77
/lib/firmware/ath6k/AR6003/hw2.1.1
/lib/firmware/ath6k/AR6003/hw2.1.1/endpointping.bin
/lib/firmware/ath6k/AR6003/hw2.1.1/bdata.SD31.bin
/lib/firmware/ath6k/AR6003/hw2.1.1/bdata.WB31.bin
/lib/firmware/ath6k/AR6003/hw2.1.1/bdata.SD32.bin
/lib/firmware/ath6k/AR6003/hw2.1.1/data.patch.bin
/lib/firmware/ath6k/AR6003/hw2.1.1/otp.bin
/lib/firmware/ath6k/AR6003/hw2.1.1/fw-2.bin
/lib/firmware/ath6k/AR6003/hw2.1.1/athwlan.bin
/lib/firmware/ath6k/AR6003/hw1.0
/lib/firmware/ath6k/AR6003/hw1.0/athwlan.bin.z77
/lib/firmware/ath6k/AR6003/hw1.0/bdata.SD31.bin
/lib/firmware/ath6k/AR6003/hw1.0/bdata.WB31.bin
/lib/firmware/ath6k/AR6003/hw1.0/bdata.SD32.bin
/lib/firmware/ath6k/AR6003/hw1.0/data.patch.bin
/lib/firmware/ath6k/AR6003/hw1.0/otp.bin.z77
/lib/firmware/ath6k/AR6002
/lib/firmware/ath6k/AR6002/eeprom.bin
/lib/firmware/ath6k/AR6002/eeprom.data
/lib/firmware/ath6k/AR6002/athwlan.bin.z77
/lib/firmware/ath6k/AR6002/data.patch.hw2_0.bin

Anmar Oueja (anmar) wrote :

Tushar: Can you please provide the information Deepak wants in comment #2

Botao (botao-sun) on 2012-09-26
description: updated
Botao (botao-sun) on 2012-10-04
description: updated
Botao (botao-sun) on 2012-10-10
description: updated
Botao (botao-sun) on 2012-10-17
description: updated
Botao (botao-sun) on 2012-10-24
description: updated
description: updated
Botao (botao-sun) on 2012-11-14
description: updated
description: updated
Fathi Boudra (fboudra) on 2012-12-11
Changed in linaro-landing-team-samsung:
status: New → Confirmed
Fathi Boudra (fboudra) wrote :

Workaround: symlink /lib/firmware/ath6k/AR6003/hw2.0/bdata.SD31.bin to /lib/firmware/ath6k/AR6003/hw2.0/bdata.bin

Fathi Boudra (fboudra) wrote :

As discussed with Tushar, I'm adding the workaround in origen-wlan package.

Changed in linaro-ubuntu:
assignee: nobody → Fathi Boudra (fboudra)
status: Confirmed → Fix Committed
milestone: none → 12.12
Changed in linaro-landing-team-samsung:
status: Confirmed → Fix Released
Fathi Boudra (fboudra) on 2012-12-18
Changed in linaro-ubuntu:
status: Fix Committed → Fix Released
Botao (botao-sun) wrote :

@Fathi, Symbol link already exists in Linux Linaro Quantal build 17:

http://snapshots.linaro.org/quantal/pre-built/origen/17/origen-quantal_developer_20121217-17.img.gz

root@linaro-developer:~# ls -l /lib/firmware/ath6k/AR6003/hw2.0/bdata.bin
lrwxrwxrwx 1 root root 14 Dec 12 2012 /lib/firmware/ath6k/AR6003/hw2.0/bdata.bin -> bdata.SD31.bin
root@linaro-developer:~#

But WiFi is still unavailable.

Fathi Boudra (fboudra) on 2012-12-18
Changed in linaro-ubuntu:
status: Fix Released → In Progress
Fathi Boudra (fboudra) on 2012-12-20
Changed in linaro-ubuntu:
milestone: 12.12 → 13.01
Fathi Boudra (fboudra) on 2013-01-26
Changed in linaro-ubuntu:
milestone: 13.01 → 13.02
importance: High → Low
status: In Progress → Confirmed
Fathi Boudra (fboudra) on 2013-02-25
Changed in linaro-ubuntu:
milestone: 13.02 → 13.03
Marcin Juszkiewicz (hrw) on 2013-03-14
Changed in linaro-ubuntu:
status: Confirmed → Won't Fix
Fathi Boudra (fboudra) on 2013-03-14
Changed in linaro-ubuntu:
assignee: Fathi Boudra (fboudra) → nobody
milestone: 13.03 → none
To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Duplicates of this bug

Other bug subscribers