LTS kernel still boots but MPPC patched one does not after manual updates
Big problemo.
Wanting to get access to my sons MS vpn server which needs MPPC, I found and
installed an MPPC patched kernel26, and MPPC patched ppp. No problems so far,
and both the LTS, and the MPPC patched kernels booted with no problems.
My Arch install hadn't been updated since 20090928, and as accessing the vpn
server and retrieving the shares still wasn't working, I did a pacman -Sy,
and pacman -Su hoping that some update might resolve the problem.
After saying yes to a bunch of stuff to do with klibc (replacing packages),
pacman -Su failed saying kdelib needs phonon. Can't install phonon because it
wants to remove qt (qt4). I have KDEmod3 so there is no need for phonon
anyway.
Not the best way to do a full system upgrade, but I went at it manually,
working my way through starting at (A). Some packages wont upgrade, wanting
to remove mkinitcpio, which you can't remove as it's needed by the kernels.
Others didn't want to upgrade saying warning: provider package was selected
(that was resolved later on during my manual upgrading).
All went ok the first day 20090309, and the only thing I needed to say yes to
was replacing kernel-headers with linux-api-headers. The next morning I
booted with the MPPC patched kernel with no problems, just to see if any of
the updates had resolved the vpn problem, but no. Rebooted with the LTS
kernel, and continued with the updates, rebooting from time to time with the
LTS kernel to make sure that nothing had broken. Got as far as ntp, then had
a go at gdm, which I'd been putting off (I've had problems with that before).
rebooted after that, and gdm failed with the below output.
gdm (gdm-binary:2033) couldn't connect to system bus:
Failed to connect to socket /var/run/dbus/system_bus_socket
No such file or directory
Having already had the machine down one day, working in runlevel 1 to resolve
the missing libpng12 problem (that was on the 8th march) I was a bit T'd off
now, but startx worked, so I reinstalled the previous gdm which thankfully
worked. I'd now had enough for the days work, so shut down.
Day 20100311. Now the manure starts to hit the fan. Tried to boot the MPPC
patched kernel, which failed with: cannot find /dev/sda7, device does not
exist. Gave udev time, but nothing. Tried the MPPC failsafe kenel, but the
same there. Tried the LTS kernel, and thankfully that booted ok.
Googled a lot, and found references to the problem, but didn't see any fixes.
One mentioned udev, and knowing that the udev update had been pulled in by
one of the packages I'd updated, I looked at /etc/udev/rules.d, and
udev.rules was showing as udev.rules.pacnew (I presume that is due to the new
mkinitcpio and mkinitcpio-busybox using mdev, but mkinitcpio wont upgrade,
claiming that a bunch of files still exist.). I renamed udev.rules.pacnew to
udev.rules, and rebooted with the MPPC kernel, but it still wont boot.
Tried reinstalling MPPC patched kernel, but no change. Original install output
below (when it booted ok prior to my manual updating fiasco), followed by the
install output from the reinstall (which still wont boot). Had to remove
madwifi, and ndiswrapper to originally install this kernel.
:: madwifi: requires kernel26>=2.6.30
:: ndiswrapper: requires kernel26>=2.6.30
[root@myhost Archlinux-mppc-kernel]# pacman -U
kernel26-2.6.24.3-3-i686.pkg.tar.gz
loading package data...
checking dependencies...
(1/1) checking for file conflicts [#####################]
100%
(1/1) upgrading kernel26 [#####################]
100%
>>>
>>> If you use the LILO bootloader, you should run 'lilo' before rebooting.
>>>
>>> Updating module dependencies. Please wait ...
>>> MKINITCPIO SETUP
>>> ----------------
>>> If you use LVM2, Encrypted root or software RAID,
>>> Ensure you enable support in /etc/mkinitcpio.conf .
>>> More information about mkinitcpio setup can be found here:
>>> http://wiki.archlinux.org/index.php/Mkinitcpio
[djmons@myhost ~]$ cd Downloads/Archlinux-mppc-kernel
[djmons@myhost Archlinux-mppc-kernel]$ su
Password:
[root@myhost Archlinux-mppc-kernel]# pacman -U
kernel26-2.6.24.3-3-i686.pkg.tar.gz
loading package data...
checking dependencies...
(1/1) checking for file conflicts [#####################]
100%
(1/1) upgrading kernel26 [#####################]
100%
>>>
>>> If you use the LILO bootloader, you should run 'lilo' before rebooting.
>>>
>>> Updating module dependencies. Please wait ...
>>> MKINITCPIO SETUP
>>> ----------------
>>> If you use LVM2, Encrypted root or software RAID,
>>> Ensure you enable support in /etc/mkinitcpio.conf .
>>> More information about mkinitcpio setup can be found here:
>>> http://wiki.archlinux.org/index.php/Mkinitcpio
>>> Generating initial ramdisk, using mkinitcpio. Please wait...
==> Building image "default"
==> Running command: /sbin/mkinitcpio -k 2.6.24-ARCH -c /etc/mkinitcpio.conf
-g /boot/kernel26.img
:: Begin build
:: Parsing hook [base]
:: Parsing hook [udev]
:: Parsing hook [autodetect]
/lib/initcpio/functions: line 7: resolve-modalias: command not found
/lib/initcpio/functions: line 7: resolve-modalias: command not found
Whole bunch of these lines until autodetect gives up
Then tried reinstalling kernel26 which was before the MPPC patched one. I get
the same output as above, apart from one error line below that is not there
on the failsafe kernel26 build. Strangely although the kernel26 wont boot,
here the failsafe version boots ok. All a bit weird.
ERROR: module 'ide[-_]gd[-_]mod' not found
I've put the list of packages I installed on 20100310 from the pacman log
below if anyone might see some package or other that I upgraded which might
be responsible for the MPPC kernel failing to boot, but the LTS kernel
unaffected and booting ok.
Btw: The klibc packages are still installed at this time, and presume that if
I had been able to get pacman -Su to run, one of the updates would have
removed them.