SIOCSIFFLAGS: Input/output error

Bug #1856257 reported by Martin Constantino–Bodin
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
net-tools (Ubuntu)
Expired
Undecided
Unassigned

Bug Description

My wifi is no longer working since a recent update (yesterday, I think). When typing “ifconfig -a”, I get (among other connections), the following one, which seems to correspond to my wifi card:

```bash
wlp59s0: flags=4098<BROADCAST,MULTICAST> mtu 1500
        ether 5c:87:9c:fa:81:c9 txqueuelen 1000 (Ethernet)
        RX packets 0 bytes 0 (0.0 B)
        RX errors 0 dropped 0 overruns 0 frame 0
        TX packets 0 bytes 0 (0.0 B)
        TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0
```

I thus tried to switch it on, but I get the following message:

```bash
$ sudo ifconfig wlp59s0 up
SIOCSIFFLAGS: Input/output error
```
This error message is not really helpful: I would have expected ifconfig to provide a more user-friendly explanation about what is not working well.

Other commands that might be relevant:

```bash
$ iwconfig
lo no wireless extensions.

enp0s20f0u1 no wireless extensions.

wlp59s0 IEEE 802.11 ESSID:off/any
          Mode:Managed Access Point: Not-Associated Tx-Power=0 dBm
          Retry short limit:7 RTS thr:off Fragment thr:off
          Power Management:on

$ rfkill list all
0: hci0: Bluetooth
 Soft blocked: no
 Hard blocked: no
1: phy0: Wireless LAN
 Soft blocked: no
 Hard blocked: no
$ sudo ip link set wlp59s0 up
RTNETLINK answers: Input/output error
```

I’m calling apport-collect on this bug to add other relevant information.
---
ProblemType: Bug
ApportVersion: 2.20.9-0ubuntu7.9
Architecture: amd64
CurrentDesktop: ubuntu:GNOME
Dependencies:
 gcc-8-base 8.3.0-6ubuntu1~18.04.1
 libc6 2.27-3ubuntu1
 libgcc1 1:8.3.0-6ubuntu1~18.04.1
 libpcre3 2:8.39-9
 libselinux1 2.7-2build2
DistributionChannelDescriptor:
 # This is the distribution channel descriptor for the OEM CDs
 # For more information see http://wiki.ubuntu.com/DistributionChannelDescriptor
 canonical-oem-somerville-bionic-amd64-20180608-47+berlinetta-cfl-r+X77
DistroRelease: Ubuntu 18.04
InstallationDate: Installed on 2019-08-28 (106 days ago)
InstallationMedia: Ubuntu 18.04 "Bionic" - Build amd64 LIVE Binary 20180608-09:38
Package: net-tools 1.60+git20161116.90da8a0-1ubuntu1
PackageArchitecture: amd64
ProcEnviron:
 TERM=xterm-256color
 PATH=(custom, no user)
 XDG_RUNTIME_DIR=<set>
 LANG=en_GB.UTF-8
 SHELL=/bin/bash
ProcVersionSignature: Ubuntu 4.15.0-1065.75-oem 4.15.18
Tags: bionic
Uname: Linux 4.15.0-1065-oem x86_64
UpgradeStatus: No upgrade log present (probably fresh install)
UserGroups: adm cdrom dip lpadmin plugdev sambashare sudo
_MarkForUpload: True

Revision history for this message
Martin Constantino–Bodin (martin-bodin) wrote : ProcCpuinfoMinimal.txt

apport information

tags: added: apport-collected bionic
description: updated
description: updated
description: updated
Revision history for this message
Chris Guiver (guiverc) wrote :

Thank you for taking the time to report this bug and helping to make Ubuntu better.

Please execute the following command only once, as it will automatically gather debugging information, in a terminal:

apport-collect 1856257

When reporting bugs in the future please use apport by using 'ubuntu-bug' and the name of the package affected. You can learn more about this functionality at https://wiki.ubuntu.com/ReportingBugs.

To look at your issue I'd like to read `dmesg` output.... by using built-in tools much detail we look at is included, currently it's not present. I've subsequently marked this incomplete. When apport-collect has been run, please comment as such and return status to "New".

Changed in net-tools (Ubuntu):
status: New → Incomplete
Revision history for this message
Martin Constantino–Bodin (martin-bodin) wrote :

I think that I already executed the command “apport-collect 1856257” just after reporting the bug (I had issues understanding how to use Apport: https://bugs.launchpad.net/ubuntu/+source/apport/+bug/1856255 ). Do you want me to execute it again? (As you say to call it only once, I don’t want to mess with anything here.)

I have to admit that the difference between “apport-bug” and “ubuntu-bug” always confused me. Is there a difference?

I’ve run the following three commands, and am attaching the two files “output” and “output2”.
```bash
$ dmesg > output
$ sudo ifconfig wlp59s0 up
$ dmesg > output2
```

Revision history for this message
Martin Constantino–Bodin (martin-bodin) wrote :
Revision history for this message
Martin Constantino–Bodin (martin-bodin) wrote :

(Note: the output of the ifconfig command above was, as before, “SIOCSIFFLAGS: Input/output error”.)

Changed in net-tools (Ubuntu):
status: Incomplete → New
Revision history for this message
Chris Guiver (guiverc) wrote :

To answer your question on apport-bug, ubuntu-bug ; on my 20.04 box

guiverc@d960-ubu2:/sbin$ whereis ubuntu-bug apport-bug
ubuntu-bug: /usr/bin/ubuntu-bug /usr/share/man/man1/ubuntu-bug.1.gz
apport-bug: /usr/bin/apport-bug /usr/share/man/man1/apport-bug.1.gz
guiverc@d960-ubu2:/sbin$ file /usr/bin/ubuntu-bug /usr/bin/apport-bug
/usr/bin/ubuntu-bug: symbolic link to apport-bug
/usr/bin/apport-bug: POSIX shell script, ASCII text executable

(ie. ubuntu-bug just calls and runs apport-bug).

The information that is collected can vary depending on the package the bug report is filed against)

Thank you for uploading dmesg :)

Revision history for this message
Martin Constantino–Bodin (martin-bodin) wrote :

Ah, OK ☺ Good.

There was a package update this morning, of the “oem-wifi-iwlwifi-mainline-5.1rc1-dkms” package. Because there was “wifi” in the name, I immediately restarted the system. So good news: I got wifi now!
If it is of any help, here is the transcript of the installation (which was unusually long).

Regards,
Martin.

Revision history for this message
Chris Guiver (guiverc) wrote :

Thank you for the update Martin, and the good news.

I'll mark this report "Incomplete" for now as the problem appears to have fixed itself; if however the problem re-occurs, please change the Status back to "New".

Thank you for uploading your upgrade logs, and for your effort in helping make Ubuntu better.

Note to any readers: It could be this report is marked against the wrong package, possibly should be oem-wifi-iwlwifi...

Changed in net-tools (Ubuntu):
status: New → Incomplete
Revision history for this message
Launchpad Janitor (janitor) wrote :

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

Changed in net-tools (Ubuntu):
status: Incomplete → Expired
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.