EtiGre
Posts: 13
Joined: Tue Jun 12, 2012 9:21 am

Updating modules after /boot update ?

Sat Jul 14, 2012 4:00 pm

Hi folks,

Now that I'm using the latest and greatest boot files (manually downloaded from github) , I have modules symbol issues when trying to use a WiFi dongle (for instance: ipv6: disagrees about version of symbol tcp_syn_ack_timeout)

rpi-update fails to overwrite my modules directory:
cp: cannot overwrite directory `//lib/modules/3.1.9+/kernel/lib' with non-directory
cp: cannot overwrite directory `//lib/modules/3.1.9+/kernel/net' with non-directory

Have I definitely killed my SD card? What is the recommended way to have the latest system (kernel + filesystem) on the Debian Wheezy distro?

Cheers,
Etienne

kadamski
Posts: 187
Joined: Fri Jun 08, 2012 10:56 pm

Re: Updating modules after /boot update ?

Sun Jul 15, 2012 8:17 pm

If you updated files in /boot/ manually, you should also update contents of /lib/modules with the modules from github (I assume you where downloading boot files from github too). Each time you change kernel.img file, you have to update kernel modules too.

EtiGre
Posts: 13
Joined: Tue Jun 12, 2012 9:21 am

Re: Updating modules after /boot update ?

Mon Jul 16, 2012 10:47 am

I thought rpi-update was going to update the modules for me...
I had given up updating them manually because it seemed not possible to download a whole git directory.

As it turns out there is a "zip download" button in github so getting the modules directory as a zip archive and installing it manually is definitely the way to go. :oops:

kadamski
Posts: 187
Joined: Fri Jun 08, 2012 10:56 pm

Re: Updating modules after /boot update ?

Mon Jul 16, 2012 11:01 am

rpi-update should update kernel modules for you (so my suggestion is not relevant if you used rpi-update).. But you said, you updated boot files manually from github so I thought you where downloading them manually and placing them in /boot directory, not using rpi-update. Is that right? If so, then you have to do the same with modules directory (as you already figured out, downloading tarball is the best way of doing it).

Return to “Debian”