[solved] system upgrade: kmod

This forum is for topics specific to the Raspberry Pi and Arch Linux ARM

[solved] system upgrade: kmod

Postby hcjl » Mon Jul 16, 2012 3:37 pm

hi guys,

i have got a problem upgrading my system. new kmod requires moving the kernel modules from /lib to /usr/lib. i upgraded kmod ignored the new kernel linux-raspberrypi-3.1.9-29 and moved the whole modules directory to /usr/lib. after that i installed the kernel. i had to do this twice, because after the first run modules directory was again created under /lib.

now rebooting fails. i just get into the rescue system.

any ideas?
hcjl
Last edited by hcjl on Thu Jul 19, 2012 6:31 pm, edited 1 time in total.
hcjl
 
Posts: 9
Joined: Sat Jul 14, 2012 11:31 am

Re: system upgrade: kmod

Postby WarheadsSE » Mon Jul 16, 2012 3:47 pm

We're having to re-do glibc to catch up with this, and the kernel packages. Ensure you have the right uImage on the boot partition.

For now, the most direct method is to ln -s /lib/modules /usr/lib/modules
Core Developer
Remember: Arch Linux ARM is entirely community donation supported!
WarheadsSE
Developer
 
Posts: 6807
Joined: Mon Oct 18, 2010 2:12 pm

Re: system upgrade: kmod

Postby hcjl » Mon Jul 16, 2012 4:09 pm

thanx for the fast reply, but with the symlink i get the same error.

i created the symlink and then i did a pacman -Syu.
hcjl
 
Posts: 9
Joined: Sat Jul 14, 2012 11:31 am

Re: system upgrade: kmod

Postby hcjl » Mon Jul 16, 2012 4:57 pm

i already saw on the rpi forum, that i have to do
$this->bbcode_second_pass_code('', '
pacman -Syu
ln -s /lib/modules /usr/lib/modules
depmod -a
')

that solved the problem for now. and there was also mentioned, that there will be an update tomorrow. is there any announcement section in this forum, where i can read such things like on archlinux.org on the start page?

and will there be an announcement, when new glibc comes to the official repos?

thx & rgds
hcjl
hcjl
 
Posts: 9
Joined: Sat Jul 14, 2012 11:31 am

Re: system upgrade: kmod

Postby steets » Tue Jul 17, 2012 7:27 pm

I am experiencing the same problem.

I installed ArchLinuxARM-oxnas-latest.tar.gz on my PogoPlug Pro, which worked fine. But after "pacman -Syu" I would not be able to ssh after reboot. After a long search I figured out that the problem was in kmod, and "pacman -Syu --ignore kmod" allowed me to ssh after reboot.

Trying the fix above I found that "depmod -a" did not work for me:
$this->bbcode_second_pass_code('', '
ERROR: could not open directory /usr/lib/modules/2.6.31.6_SMP_820: No such file or directory
FATAL: could not search modules: No such file or directory
')
It seems to me that the kernel version in the message is not what it is supposed to be?

However "pacman -S linux" now worked fine, where before it would say (from pacman.log):
$this->bbcode_second_pass_code('', '
[2012-07-17 16:48] Running 'pacman -S linux'
[2012-07-17 16:48] >>> Updating module dependencies. Please wait ...
[2012-07-17 16:48] ERROR: could not open directory /lib/modules/3.1.10-12-ARCH: No such file or directory
[2012-07-17 16:48] FATAL: could not search modules: No such file or directory
[2012-07-17 16:48] upgraded linux (3.1.10-11 -> 3.1.10-12)
')
In this message the kernel version seems more logical to me.

Unfortunately, after "pacman -S kmod" and the suggestion above I am now locked out of my PogoPlug again, so I hope this report will help fix the problem.
steets
 
Posts: 6
Joined: Tue Jul 17, 2012 7:15 pm

Re: system upgrade: kmod

Postby WarheadsSE » Tue Jul 17, 2012 7:53 pm

No, the oxnas DOES NOT RUN "linux" package @ 3.1.10-12
$this->bbcode_second_pass_code('', '
mv lib/modules usr/lib/modules
')

I am going to attempt to make a "clean" package for the oxnas.. it's not going to be fun.
Core Developer
Remember: Arch Linux ARM is entirely community donation supported!
WarheadsSE
Developer
 
Posts: 6807
Joined: Mon Oct 18, 2010 2:12 pm

Re: system upgrade: kmod

Postby hcjl » Tue Jul 17, 2012 8:01 pm

i restored an image i made before update. now new packages are:
$this->bbcode_second_pass_code('', '
automake-1.12.2-1
bash-4.2.036-1
hwids-20120711-1
initscripts-2012.06.3-2.1
iputils-20101006-4
kmod-9-2
libsystemd-186-2
linux-headers-raspberrypi-3.1.9-30
linux-raspberrypi-3.1.9-30
pcre-8.31-1
pkg-config-0.27-1
procps-ng-3.3.3-3
raspberrypi-firmware-20120714-1
readline-6.2.003-2
syslog-ng-3.3.5-2
systemd-tools-186-2
usbutils-006-1
util-linux-2.21.2-5
')
just upgrading results in the same error i had before. first upgrading kmod, creating symlink, running depomod -a as well.
do i have to wait for kmod > kmod-9-2?

on my i686 and x86_64 machines kmod and glibc update went fine.

btw ma i the only one with this problem?

thx again & regards
hcjl
hcjl
 
Posts: 9
Joined: Sat Jul 14, 2012 11:31 am

Re: system upgrade: kmod

Postby steets » Tue Jul 17, 2012 8:48 pm

$this->bbcode_second_pass_quote('WarheadsSE', 'N')o, the oxnas DOES NOT RUN "linux" package @ 3.1.10-12
$this->bbcode_second_pass_code('', '
mv lib/modules usr/lib/modules
')

I am going to attempt to make a "clean" package for the oxnas.. it's not going to be fun.

Oops, sorry, I didn't realize we were in the Raspberry Pi forum. I arrived here through Google.

I noticed the same issue popped up in the Pogoplug Pro forum, so I'll check that thread.
steets
 
Posts: 6
Joined: Tue Jul 17, 2012 7:15 pm

Re: system upgrade: kmod

Postby hcjl » Thu Jul 19, 2012 6:27 pm

the problem wasn't the kmod or kernel update.

it was this https://github.com/archlinuxarm/PKGBUILDs/issues/211

thx
hcjl
hcjl
 
Posts: 9
Joined: Sat Jul 14, 2012 11:31 am


Return to Raspberry Pi

Who is online

Users browsing this forum: No registered users and 3 guests