[arch-general] Kernel Update 3.3.8.1 -> 3.4.2-2 failed
Nelson Marambio
nelsonmarambio at gmx.de
Sat Jun 16 07:00:02 EDT 2012
OK, this may be the solution:
Because typing 'depmod' returned a 'command not found' I recognized that
my current $PATH was different from /etc/profile .
So with 'source /etc/profile' the missing directories were added again,
this seems to be even permanent up to now.
Afterwards I could upgrade the kernel without any problems.
Am 16.06.2012 08:51, schrieb Nelson Marambio:
> Am 15.06.2012 22:20, schrieb David Benfell:
>> -----BEGIN PGP SIGNED MESSAGE-----
>> Hash: SHA1
>>
>> On 06/15/12 13:13, Nelson Marambio wrote:
>>> With the next reboot after today's System Update (which included
>>> updates for pkg's linux and nvidia) the kernel was not able the
>>> partitions anymore and froze. Having the system restored with a
>>> liveCD and chroot I found in pacman.log dozens of lines like this
>>>
>>> [2012-06-15 17:39] -> Running build hook: [fsck] [2012-06-15
>>> 17:39] cp: cannot stat
>>> '/lib/modules/3.4.2-2-ARCH/kernel/drivers/at$ [2012-06-15 17:39]
>>> cp: cannot stat '/lib/modules/3.4.2-2-ARCH/kernel/drivers/hi$
>>> [2012-06-15 17:39] cp: cannot stat
>>> '/lib/modules/3.4.2-2-ARCH/kernel/drivers/hi$ [2012-06-15 17:39]
>>> cp: cannot stat '/lib/modules/3.4.2-2-ARCH/kernel/drivers/hi$
>>> [2012-06-15 17:39] cp: cannot stat
>>> '/lib/modules/3.4.2-2-ARCH/kernel/drivers/hi$ [2012-06-15 17:39]
>>> cp: cannot stat '/lib/modules/3.4.2-2-ARCH/kernel/drivers/hi$
>>> [2012-06-15 17:39] cp: cannot stat
>>> '/lib/modules/3.4.2-2-ARCH/kernel/drivers/hi$ [2012-06-15 17:39]
>>> cp: cannot stat '/lib/modules/3.4.2-2-ARCH/kernel/drivers/hi$
>>>
>>> Because no one else reported this here it seems to be specific to
>>> my installation. Did the modules move to another directory with
>>> 3.4.2-2 oder did I miss a package in the past ?
>>>
>> I also saw this. It seems to have sorted itself out, but I had
>> previously relinked depmod, which had previously effectively been
>> linked to /sbin/usr/bin/kmod, as follows:
>>
>> graton% ls -al $(which depmod)
>> lrwxrwxrwx 1 root root 13 Jun 8 21:53 /sbin/depmod -> /usr/bin/kmod
>
> So you got the same errors, relinked depmod and ran pacman -S again,
> right (otherwise you should have gotten the same bugy kernel image like
> me) ?
>
> How did you "relink" depmod in details ? Or: where has the symlink has
> to be placed ? Sounds like it could be the one-command-solution for me
> already. :)
>
>>
>> Notice that the link is absolute rather than relative. As a
>> precaution, I ran:
>>
>> graton# pacman -S linux
>> warning: linux-3.4.2-2 is up to date -- reinstalling
>>
>> And it was fine.
>>
>> - --
>> David Benfell
>> benfell at parts-unknown.org
>>
>>
>> -----BEGIN PGP SIGNATURE-----
>> Version: GnuPG v2.0.19 (GNU/Linux)
>> Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/
>>
>> iQIcBAEBAgAGBQJP25j3AAoJELT202JKF+xpCfkP/1kC0PD4TZg3yhQnp2UOLsSa
>> s17J/CIQUOPFNiP9huR/FnOO9mWjXXx+y8RD1pC41Jf6v+P9n5cCWs6rHul4JhOS
>> IPS8WHkgoXdmIpzWGJY23TPLKTsT70iRwid0aH3Kj2dUuoCrnU6qYvqM6jCuD/SO
>> ude0sMZUcXCOFK3AJytIZGSr3w5hVPcXl/xONwbCVtozsA9JCgiuXD/MorkySv1h
>> 98zWpAf3tTYa9pZ9ENhaDl35/qW77w2attidlA24VhZUlo4X8Am0e0tWcWzkTumD
>> mWyENFR1aycZObaIgVzsh7jNKscoxqd81Ip4F0CJNHPUQvI+pj8vXYSiBPi9Nb6P
>> uxN2shozqP7ONJycgFS4YtRXkopATJOUTlwy3hLGwglBHdkpUeKSMwnO7xZ6kDng
>> laX4pzHVs/Gy5WZUQxszcTHqJZQxCYPKnaYHUSWLArMHak3DcbltTN5YlilWELhl
>> dI74DjWPmOsBpJaLpKR9QGOS8guYmmXLDpP28sVRFMCtDHgUC3JspcMivD6Odghe
>> h5aMNwpPzwJhsgBz/KwoHPDvdk03vzc6FLkwq8Vbho2hxdfW9U014pVFLNpX+CTT
>> l9+whC8oFk50GVEgJ+viffX+7ZNunSzmOgFpcSaYS4Cos3ai4ze58fWPTIO2OXE8
>> gfM+iFZ/zVmQ6rg8UMio
>> =yqx/
>> -----END PGP SIGNATURE-----
>>
>
>
More information about the arch-general
mailing list