Samsung ARM Chromebook firmware break

Development on core packages and the distribution goes on in here.

Samsung ARM Chromebook firmware break

Postby jkirby » Sat Feb 09, 2013 2:07 am

First post, please be gentile.

Two days ago Google pushed a firmware update to the ARM Chromebooks. This firmware update breaks Arch Linux ARM wireless networking. I get a hard crash with a screen dump. I am trying to find a fix. I will keep everyone posted if I am able to fix it. If anyone already has a fix or more information, please post to this thread.
jkirby
 
Posts: 12
Joined: Sat Feb 09, 2013 1:57 am

Re: Samsung ARM Chromebook firmware break

Postby jkirby » Sat Feb 09, 2013 4:38 am

The temporary fix is to configure /etc/pacman.conf to Ignore wpa_supplicant. The issue is in the latest upgrade to wpa_supplicant. MAKE SURE that you Ignore wpa_supplicant before you do a pacman -Syu
jkirby
 
Posts: 12
Joined: Sat Feb 09, 2013 1:57 am

Re: Samsung ARM Chromebook firmware break

Postby xenoxaos » Sat Feb 09, 2013 4:19 pm

Interesting....any logs of what happened?
Arch Linux ARM exists and continues to grow through community support, please donate today!
xenoxaos
Developer
 
Posts: 323
Joined: Thu Jan 06, 2011 1:45 am

Re: Samsung ARM Chromebook firmware break

Postby jkirby » Sun Feb 10, 2013 8:13 pm

I will force the error again and capture the screen. The output gives a details of the C module and line number of the crash. You can cause the error as well if you upgrade to the latest wpa_supplicant. Just make sure you can revert back to the old one or you will have no network access.
jkirby
 
Posts: 12
Joined: Sat Feb 09, 2013 1:57 am

Re: Samsung ARM Chromebook firmware break

Postby memno » Wed Feb 13, 2013 7:41 pm

I am having the same issue, after upgrading wpa_supplicant from 1.0 -> 2.0. I also get a trace in dmesg. Downgrading was the only option. Here is what I have so far.

dmesg
$this->bbcode_second_pass_code('', '[ 328.629715] ------------[ cut here ]------------
[ 328.629766] WARNING: at /home/chrome-bot/trunk/src/third_party/kernel/files/net/wireless/core.c:752 wdev_cleanup_work+0x60/0x14c [cfg80211]()
[ 328.629794] Modules linked in: ip6t_REJECT nf_conntrack_ipv6 nf_defrag_ipv6 ip6table_filter ip6_tables uvcvideo videobuf2_vmalloc isl29018(C) industrialio(C) mwifiex_sdio mwifiex sbs_battery cfg80211 joydev btmrvl_sdio btmrvl bluetooth spidev fuse tun
[ 328.630003] [<800154ac>] (unwind_backtrace+0x0/0xec) from [<804e186c>] (dump_stack+0x20/0x24)
[ 328.630042] [<804e186c>] (dump_stack+0x20/0x24) from [<8002a338>] (warn_slowpath_common+0x5c/0x74)
[ 328.630079] [<8002a338>] (warn_slowpath_common+0x5c/0x74) from [<8002a37c>] (warn_slowpath_null+0x2c/0x34)
[ 328.630121] [<8002a37c>] (warn_slowpath_null+0x2c/0x34) from [<7f0645f4>] (wdev_cleanup_work+0x60/0x14c [cfg80211])
[ 328.630171] [<7f0645f4>] (wdev_cleanup_work+0x60/0x14c [cfg80211]) from [<80044dc4>] (process_one_work+0x264/0x438)
[ 328.630211] [<80044dc4>] (process_one_work+0x264/0x438) from [<800451c4>] (worker_thread+0x22c/0x3b8)
[ 328.630246] [<800451c4>] (worker_thread+0x22c/0x3b8) from [<80049b34>] (kthread+0x9c/0xa8)
[ 328.630282] [<80049b34>] (kthread+0x9c/0xa8) from [<8000f160>] (kernel_thread_exit+0x0/0x8)
[ 328.630307] ---[ end trace 96e5b64793ec6411 ]---
[ 334.289263] ADDRCONF(NETDEV_UP): mlan0: link is not ready')

Output of `wpa_supplicant -i mlan0 -D nl80211,wext -c wpa.conf`
$this->bbcode_second_pass_code('', 'Successfully initialized wpa_supplicant
mlan0: Trying to associate with 00:<snip>:00 (SSID='<ssid>' freq=2412 MHz)
mlan0: Association request to the driver failed
mlan0: Trying to associate with 00:<snip>:00 (SSID='<ssid>' freq=5220 MHz)
mlan0: Association request to the driver failed
mlan0: Trying to associate with 00:<snip>:00 (SSID='<ssid>' freq=2462 MHz)
mlan0: Association request to the driver failed
[...]')This continues forever.

Output of `wpa_supplicant -dd -i mlan0 -D nl80211,wext -c wpa.conf -W`
$this->bbcode_second_pass_code('', 'EAPOL: SUPP_PAE entering state DISCONNECTED
EAPOL: Supplicant port status: Unauthorized
EAPOL: KEY_RX entering state NO_KEY_RECEIVE
EAPOL: SUPP_BE entering state INITIALIZE
EAP: EAP entering state DISABLED
EAPOL: Supplicant port status: Unauthorized
EAPOL: Supplicant port status: Unauthorized
Using existing control interface directory.
ctrl_interface_group=10 (from group name 'wheel')
ctrl_iface bind(PF_UNIX) failed: Address already in use
ctrl_iface exists, but does not allow connections - assuming it was leftover from forced program termination
Successfully replaced leftover ctrl_iface socket '/run/wpa_supplicant/mlan0'
mlan0: Added interface mlan0
mlan0: State: DISCONNECTED -> DISCONNECTED
wpa_driver_nl80211_set_operstate: operstate 0->0 (DORMANT)
netlink: Operstate: linkmode=-1, operstate=5
CTRL_IFACE - mlan0 - wait for monitor to attach')When it gets to "CTRL_IFACE.." it does not continue and is essentially stuck.

A newer kernel might be worth trying, but according to the Chromeium OS [1] more recent kernels are not yet stable in other areas.

[1] http://www.chromium.org/chromium-os/how ... el-on-snow

Edit: dmesg formatting
memno
 
Posts: 1
Joined: Wed Feb 13, 2013 6:37 pm

Re: Samsung ARM Chromebook firmware break

Postby jkirby » Sat Feb 16, 2013 11:07 pm

Here is what I am getting:

Image
jkirby
 
Posts: 12
Joined: Sat Feb 09, 2013 1:57 am

Re: Samsung ARM Chromebook firmware break

Postby tylermadsen » Mon Feb 25, 2013 1:56 am

Getting this same error, and tried ignoring wpa_supplicant before -Syu then tried downgrading after and neither did the trick. Any advice on alternatives? Thanks a lot
tylermadsen
 
Posts: 1
Joined: Mon Feb 25, 2013 1:54 am

Re: Samsung ARM Chromebook firmware break

Postby Gary13579 » Fri Mar 08, 2013 9:31 am

$this->bbcode_second_pass_quote('tylermadsen', 'G')etting this same error, and tried ignoring wpa_supplicant before -Syu then tried downgrading after and neither did the trick. Any advice on alternatives? Thanks a lot


It works fine as long as you don't upgrade wpa_supplicant or libnl. Updating libnl breaks a dependency for wpa_supplicant atm. The wpa_supplicant 1.0-2 that ships in the base image does still work, with everything else upgraded.
Gary13579
 
Posts: 30
Joined: Tue Feb 28, 2012 9:21 am

Re: Samsung ARM Chromebook firmware break

Postby tedm » Sun Mar 10, 2013 1:28 am

any updates on the wifi status? I tried the general instructions, but something was up after extracting the latest arm images to sd card, and it wouldn't boot, but appeared to extract OK. Should the sd card be just a fat32 8gb formatted card, or partitioned with gpt or ext4 (I want to boot and run off SD card, not internal). Thanks!
tedm
 
Posts: 88
Joined: Tue Jan 01, 2013 1:12 am

Re: Samsung ARM Chromebook firmware break

Postby bnrsean » Thu Mar 14, 2013 6:40 am

I had the same problem, but if you follow the instructions at the link below to manually configure wpa_supplicant I think you'll be able to get networking working again. Worked for me.

wifi-menu no longer works. I have to use the command in the wireless_start.sh script outline at the link below. I haven't automated it to run at startup yet. But it works.

http://karuppuswamy.com/wordpress/2009/ ... mand-line/
bnrsean
 
Posts: 2
Joined: Thu Mar 14, 2013 6:32 am

Next

Return to Arch Linux ARM

Who is online

Users browsing this forum: No registered users and 15 guests