14e4:4727 [Asus 1225B] echo 1 > /proc/brcm_monitor0 returns Input/output error

Bug #1289996 reported by LennartP
54
This bug affects 11 people
Affects Status Importance Assigned to Milestone
broadcom-sta (Ubuntu)
Expired
Undecided
Unassigned

Bug Description

I am trying to change the value in the file /proc/brcm_monitor0 from 0 to 1. This file is used to set Broadcom wifi modules into monitor mode.

The default method to do this is:

sudo -s
echo 1 > /proc/brcm_monitor0
But, this gives the error:

-bash: echo: write error: Input/output error

Tags: trusty
Revision history for this message
LennartP (lennart-preuss) wrote :

lsb_release -rd
Description: Ubuntu Trusty Tahr (development branch)
Release: 14.04

Revision history for this message
LennartP (lennart-preuss) wrote :
Revision history for this message
Launchpad Janitor (janitor) wrote :

Status changed to 'Confirmed' because the bug affects multiple users.

Changed in broadcom-sta (Ubuntu):
status: New → Confirmed
Revision history for this message
Luis Fernando (maverickp) wrote :

I found a solution for this error: take the source, replace buggy Ubuntu patch (0009-add-support-for-linux-3.10.0.patch) with patch from ArchLinux AUR.

INSTRUCTIONS:

    1. Download driver source (6.30.223.141) from Broadcom

    2. DO NOT APPLY LINUX 3.10 UBUNTU PATCH. Apply http://ix.io/9DV patch only.

    3. Compile the driver. make

    4. Testing the driver. sudo rmmod wl ; sudo insmod ./wl.ko

    5. Enable monitor mode. sudo bash -c "echo 1 > /proc/brcm_monitor0"

    6. Test monitor prism0 device. sudo airodump-ng prism0

Works for me. I have a "Broadcom Corporation BCM43142 802.11b/g/n (rev 01)"
source: https://aur.archlinux.org/packages/broadcom-wl/?setlang=de&comments=all

Revision history for this message
Dmitry "DeltaKilo" Korotkov (deltakilo) wrote :

Any changes here? I confirm that patch from Archlinux works fine, so i believe it should be merged in Ubuntu tree.

Revision history for this message
Martin Cigorraga (martincigorraga) wrote :

Same here, would be nice to see this issue solved as 14.04 is an LTS.

Revision history for this message
penalvch (penalvch) wrote :

LennartP, could you please provide only the missing information following https://help.ubuntu.com/community/WifiDocs/Driver/bcm43xx#Broadcom_STA_Wireless_driver ?

tags: added: trusty
Changed in broadcom-sta (Ubuntu):
status: Confirmed → Incomplete
Revision history for this message
LennartP (lennart-preuss) wrote :

1) I really don't know which of the two have the bug, so here are both:

bcmwl-kernel-source:
  Installed: 6.30.223.141+bdcom-0ubuntu2
  Candidate: 6.30.223.141+bdcom-0ubuntu2
  Version table:
 *** 6.30.223.141+bdcom-0ubuntu2 0
        500 http://se.archive.ubuntu.com/ubuntu/ trusty/restricted amd64 Packages
        100 /var/lib/dpkg/status

broadcom-sta-source:
  Installed: 6.30.223.141-1
  Candidate: 6.30.223.141-1
  Version table:
 *** 6.30.223.141-1 0
        500 http://se.archive.ubuntu.com/ubuntu/ trusty/multiverse amd64 Packages
        100 /var/lib/dpkg/status

2)
lspci -vvnn | grep -A 9 Network
04:00.0 Network controller [0280]: Broadcom Corporation BCM4313 802.11bgn Wireless Network Adapter [14e4:4727] (rev 01)
 Subsystem: AzureWave Device [1a3b:2047]
 Control: I/O- Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR- FastB2B- DisINTx-
 Status: Cap+ 66MHz- UDF- FastB2B- ParErr- DEVSEL=fast >TAbort- <TAbort- <MAbort- >SERR- <PERR- INTx-
 Latency: 0, Cache Line Size: 64 bytes
 Interrupt: pin A routed to IRQ 17
 Region 0: Memory at fea00000 (64-bit, non-prefetchable) [size=16K]
 Capabilities: <access denied>
 Kernel driver in use: wl
lennart@slim2a:~$ uname -a
Linux slim2a 3.13.0-39-generic #66-Ubuntu SMP Tue Oct 28 13:30:27 UTC 2014 x86_64 x86_64 x86_64 GNU/Linux
lennart@slim2a:~$ sudo dmidecode -s bios-version
209
lennart@slim2a:~$ sudo dmidecode -s bios-release-date
06/05/2012

Revision history for this message
LennartP (lennart-preuss) wrote :

3) Asus 1225B-SIV047M

4) Don't know, haven't tried it in previous releases.

5) Yes.

6) Have not tried this with the open source driver.

7) Have not tried this with ndiwrapper.

There is a later version of this driver from Broadcom, but I haven't tried it.

penalvch (penalvch)
summary: - echo 1 > /proc/brcm_monitor0 returns Input/output error
+ 14e4:4727 [Asus 1225B] echo 1 > /proc/brcm_monitor0 returns Input/output
+ error
Revision history for this message
Luis Fernando (maverickp) wrote :

I'm using the latest Ubuntu 14.10,
kernel-source-bcmwl 6.30.223.248+bdcom

The problem has worsened. Now if I try to run the command ...

sudo bash -c "echo 1 > /proc/brcm_monitor0"

... the whole system freezes and I have to hard-reset my laptop.

My wifi-card is: 06:00.0 Network controller: Broadcom Corporation BCM43142 802.11b/g/n (rev 01)

b43 not offer free support for my wifi card, and I'm forced to use this non-free module.

Revision history for this message
penalvch (penalvch) wrote :

LennartP, please perform the following tests and report back:
+ As one wouldn't want both wl drivers installed simultaneously, as they provide different versions of the same driver. Hence, if you uninstall one, and vice versa, does it change anything?
+ For regression testing purposes, could you please test 12.04.0 with kernel 3.2.x (not 12.04.5 or some other variant) via http://old-releases.ubuntu.com/releases/12.04.0/ and advise to the results?
+ Which latest release of Ubuntu did you test specifically?

Revision history for this message
penalvch (penalvch) wrote :

Luis Fernando, unfortunately this bug report is not scoped to you, your hardware, or your problem. If you want your issue focused on and addressed, please file a new report (not post "Me too!" comments here) following https://help.ubuntu.com/community/WifiDocs/Driver/bcm43xx#Broadcom_STA_Wireless_driver .

Thank you for your understanding.

Helpful bug reporting tips:
https://wiki.ubuntu.com/ReportingBugs

Revision history for this message
Luis Fernando (maverickp) wrote :

Ah. Sorry. I've been following this error since March, as it is exactly the same fault that I have, and I suspect that they are failures in the **general** code.

I've written about a possible solution (see above), it no longer works in later versions of the kernel ...

Not detracting from the work of others, but rather in the __general__ code (ubuntu patches? Upstream?) Is wrong, and that I have tested and exposed here.

The work-around has worked for me and worked some more we follow the error. We do not share the same hardware model.

If that is indeed something unique, hardware-specific Asus 1225B and I have to send another bug report for my Broadcom card, I understand and I will send another bug report.

(my English is not good, any offense / misunderstanding is unintentional)

Greetings!

Revision history for this message
Launchpad Janitor (janitor) wrote :

[Expired for broadcom-sta (Ubuntu) because there has been no activity for 60 days.]

Changed in broadcom-sta (Ubuntu):
status: Incomplete → Expired
Revision history for this message
zebul666 (zebul666) wrote :

On a DELL Inspiron 15 (3521) using BCM43142 with bcmwl-kernel-source-6.30.223.248+bdcom-0ubuntu2 on Ubuntu 15.04, I have the same issue than Luis i.e.

sudo echo 1 > /proc/brcm_monitor0

just FREEZES the laptop with no other choice than to hard reboot....

Revision history for this message
cooolman (coolman) wrote :

root@ubuntu:~# sudo chmod 600 /sys/module/xt_recent/parameters/ip_list_tot
root@ubuntu:~# sudo echo 200000 > /sys/module/xt_recent/parameters/ip_list_tot
echo: write error: Input/output error

help, ubuntu 15.10

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.