12.11.2016

Ubuntu: WLAN module for bcm43-chipset gone after reboot...

Today i ran with a laptop into the following problem:
After a reboot the system lost its WLAN:
 # uname -a Linux Notebook 3.13.0-86-generic #131-Ubuntu SMP Thu May 12 23:33:13 UTC 2016 x86_64 x86_64 x86_64 GNU/Linux
and
# lspci | grep 802.11
02:00.0 Network controller: Broadcom Corporation BCM43142 802.11b/g/n (rev 01)
Trying a modprobe wl failed...
There were some posts, which suggested to install kernel-drivers, dkms and so on, but this was not the problem, but it led me to the solution:
I tried to install this packages an i got the following:
root@Notebook:~# apt-get install linux-headers-$(uname -a) build-essentials dmks E: Der dpkg-Prozess wurde unterbrochen; Sie müssen manuell »sudo dpkg --configure -a« ausführen, um das Problem zu beheben.
And here we go:

root@Notebook:~# dpkg --configure -a
mysql-client-core-5.5 (5.5.53-0ubuntu0.14.04.1) wird eingerichtet ...
libgpgme++2 (4:4.13.3-0ubuntu0.3) wird eingerichtet ...
sudo (1.8.9p5-1ubuntu1.3) wird eingerichtet ...
Konfigurationsdatei »/etc/sudoers«
 ==> Geändert (von Ihnen oder von einem Skript) seit der Installation.
 ==> Paketverteiler hat eine aktualisierte Version herausgegeben.
   Wie möchten Sie vorgehen? Ihre Wahlmöglichkeiten sind:
    Y oder I : Die Version des Paket-Betreuers installieren
    N oder O : Die momentan installierte Version beibehalten
       D     : Die Unterschiede zwischen den Versionen anzeigen
       Z     : Eine Shell starten, um die Situation zu begutachten
 Der Standardweg ist das Beibehalten der momentanen Version.
*** sudoers (Y/I/N/O/D/Z) [Vorgabe=N] ?
xscreensaver-data (5.15-3+deb7u1ubuntu0.1) wird eingerichtet ...
...
...
initramfs-tools (0. 103ubuntu4.4) wird eingerichtet ...
update-initramfs: deferring update (trigger activated)
bcmwl-kernel-source (6.30.223.248+bdcom-0ubuntu0.2) wird eingerichtet ...
Loading new bcmwl-6.30.223.248+bdcom DKMS files...
Building only for 3.13.0-86-generic
Building for architecture x86_64
Building initial module for 3.13.0-86-generic
Done.
wl:
Running module version sanity check.
 - Original module
   - No original module exists within this kernel
 - Installation
   - Installing to /lib/modules/3.13.0-86-generic/updates/dkms/
depmod........
DKMS: install completed.
update-initramfs: deferring update (trigger activated)
unity (7.2.6+14.04.20160408-0ubuntu1) wird eingerichtet ...
...
...
Now the WLAN was up again...
Apparently the last system update was waiting for an enter, but i forgot this windows and did the reboot...

01.11.2016

Debian dist-upgrade: from 7(wheezy) to 8(jessie): udev...

I was running my own kernel on my laptop. But doing the upgrade from debian 7 to 8, i ran in the following problem:
Since release 198, udev requires support for the following features in
the running kernel:

- inotify(2)            (CONFIG_INOTIFY_USER)
- signalfd(2)           (CONFIG_SIGNALFD)
- accept4(2)
- open_by_handle_at(2)  (CONFIG_FHANDLE)
- timerfd_create(2)     (CONFIG_TIMERFD)
- epoll_create(2)       (CONFIG_EPOLL)
Since release 176, udev requires support for the following features in
the running kernel:

- devtmpfs         (CONFIG_DEVTMPFS)

Please upgrade your kernel before or while upgrading udev.

AT YOUR OWN RISK, you can force the installation of this version of udev
WHICH DOES NOT WORK WITH YOUR RUNNING KERNEL AND WILL BREAK YOUR SYSTEM
AT THE NEXT REBOOT by creating the /etc/udev/kernel-upgrade file.
There is always a safer way to upgrade, do not try this unless you
understand what you are doing!


dpkg: Fehler beim Bearbeiten des Archivs /var/cache/apt/archives/udev_215-17+deb8u5_i386.deb (--unpack):
 Unterprozess neues pre-installation-Skript gab den Fehlerwert 1 zurück
So i changed to the default kernel of debian, but with this one systems was not able to mount the partitions, because the old kernel mounted the disk on /dev/hda and the new one on /dev/sda.
So i had to rewrite the /etc/fstab and after that, the dist-upgrade could continue...

Debian dist-upgrade: from 7(wheezy) to 8(jessie): udev...

I was running my own kernel on my laptop. But doing the upgrade from debian 7 to 8, i ran in the following problem:
Since release 198, udev requires support for the following features in
the running kernel:

- inotify(2)            (CONFIG_INOTIFY_USER)
- signalfd(2)           (CONFIG_SIGNALFD)
- accept4(2)
- open_by_handle_at(2)  (CONFIG_FHANDLE)
- timerfd_create(2)     (CONFIG_TIMERFD)
- epoll_create(2)       (CONFIG_EPOLL)
Since release 176, udev requires support for the following features in
the running kernel:

- devtmpfs         (CONFIG_DEVTMPFS)

Please upgrade your kernel before or while upgrading udev.

AT YOUR OWN RISK, you can force the installation of this version of udev
WHICH DOES NOT WORK WITH YOUR RUNNING KERNEL AND WILL BREAK YOUR SYSTEM
AT THE NEXT REBOOT by creating the /etc/udev/kernel-upgrade file.
There is always a safer way to upgrade, do not try this unless you
understand what you are doing!


dpkg: Fehler beim Bearbeiten des Archivs /var/cache/apt/archives/udev_215-17+deb8u5_i386.deb (--unpack):
 Unterprozess neues pre-installation-Skript gab den Fehlerwert 1 zurück
So i changed to the default kernel of debian, but with this one systems was not able to mount the partitions, because the old kernel mounted the disk on /dev/hda and the new one on /dev/sda.
So i had to rewrite the /etc/fstab and after that, the dist-upgrade could continue...