Raspberry Pi version mismatch

This forum is for topics dealing with problems with software specifically in the ARMv6h repo.

Raspberry Pi version mismatch

Postby ThaWalrus » Sat Oct 11, 2014 7:05 pm

Hello, this is my first post, bear with me... ;)

Recently I have installed Arch Linux ARM on my Raspberry Pi. I downloaded 'http://os.archlinuxarm.org/os/ArchLinuxARM-rpi-latest.tar.gz' which was last updated on '03-Oct-2014 13:39'.

I have a WiFi dongle that needs drivers to make it function. I started by looking up the drivers it would need and install the required dependencies. However, when I want to install the right driver, it shows me it can't find the right header files.

$this->bbcode_second_pass_code('', 'pacman -S dkms-8188eu
resolving dependencies...
looking for inter-conflicts...

Packages (3): dkms-2.2.0.3-14 make-4.0-2 dkms-8188eu-v4.1.4_6773-2

Total Download Size: 0.40 MiB
Total Installed Size: 9.91 MiB

:: Proceed with installation? [Y/n] Y
:: Retrieving packages ...
make-4.0-2-armv6h 360.0 KiB 646K/s 00:01 [######################] 100%
dkms-2.2.0.3-14-any 48.2 KiB 689K/s 00:00 [######################] 100%
(3/3) checking keys in keyring [######################] 100%
(3/3) checking package integrity [######################] 100%
(3/3) loading package files [######################] 100%
(3/3) checking for file conflicts [######################] 100%
(3/3) checking available disk space [######################] 100%
(1/3) installing make [######################] 100%
(2/3) installing dkms [######################] 100%
Optional dependencies for dkms
linux-headers: build modules against Arch kernel
linux-lts-headers: build modules against LTS Arch kernel
(3/3) installing dkms-8188eu [######################] 100%

If your kernel is >= 3.12 and comes with
rtlwifi driver you will have to blacklist
rtlwifi for this driver to work

Creating symlink /var/lib/dkms/8188eu/v4.1.4_6773/source ->
/usr/src/8188eu-v4.1.4_6773

DKMS: add completed.
Error! echo
Your kernel headers for kernel 3.12.28-2-ARCH cannot be found at
/usr/lib/modules/3.12.28-2-ARCH/build or /usr/lib/modules/3.12.28-2-ARCH/source.
Error! echo
Your kernel headers for kernel 3.12.28-2-ARCH cannot be found at
/usr/lib/modules/3.12.28-2-ARCH/build or /usr/lib/modules/3.12.28-2-ARCH/source.
error: command failed to execute correctly')

$this->bbcode_second_pass_code('', 'pacman -S linux-raspberrypi-headers') doesn't seem to do the trick, because it installs headers with version 3.12.29-1, it seems. (Last updated '07-Oct-2014 13:07', which is after the Arch Linux ARM Raspberry Pi's '03-Oct-2014 13:39')

I don't consider myself a Linux newbie, but I'm definitely not an expert.

Hope someone can point out the mistake I'm making here. Thanks!

ThaWalrus.
ThaWalrus
 
Posts: 9
Joined: Sat Oct 11, 2014 6:55 pm

Re: Raspberry Pi version mismatch

Postby pepedog » Sat Oct 11, 2014 7:22 pm

A pacman -Syu before you started might have helped
pepedog
Developer
 
Posts: 2431
Joined: Mon Jun 07, 2010 3:30 pm
Location: London UK

Re: Raspberry Pi version mismatch

Postby ThaWalrus » Sat Oct 11, 2014 7:43 pm

I have done that a countless amount of times. It didn't help.

Example results.
$this->bbcode_second_pass_code('', 'root@alarmpi:~[root@alarmpi ~]# pacman -Syu
:: Synchronizing package databases...
core is up to date
extra is up to date
community 2.4 MiB 685K/s 00:04 [######################] 100%
alarm is up to date
aur is up to date
:: Starting full system upgrade...
there is nothing to do
[root@alarmpi ~]# uname -r
3.12.28-2-ARCH')

I stay on 3.12.28-2, and the headers that are installed are 3.12.29-1.
ThaWalrus
 
Posts: 9
Joined: Sat Oct 11, 2014 6:55 pm

Re: Raspberry Pi version mismatch

Postby pepedog » Sat Oct 11, 2014 8:02 pm

This is strange, they match in repo.
What's in your /etc/fstab (looking for /dev/mmvblk0p1 being mounted as /boot)

If that's the problem, fix fstab, mount -a, and reinstall kernel and headers
pepedog
Developer
 
Posts: 2431
Joined: Mon Jun 07, 2010 3:30 pm
Location: London UK

Re: Raspberry Pi version mismatch

Postby ThaWalrus » Sat Oct 11, 2014 8:15 pm

$this->bbcode_second_pass_quote('pepedog', 'T')his is strange, they match in repo.

What exactly do you mean by that?

The contents of /etc/fstab do show the mmcblk0p1:
$this->bbcode_second_pass_code('', '[root@alarmpi ~]# nano /etc/fstab
GNU nano 2.2.6 File: /etc/fstab

#
# /etc/fstab: static file system information
#
# <file system> <dir> <type> <options> <dump> <pass>
/dev/mmcblk0p1 /boot vfat defaults 0 0')
ThaWalrus
 
Posts: 9
Joined: Sat Oct 11, 2014 6:55 pm

Re: Raspberry Pi version mismatch

Postby pepedog » Sat Oct 11, 2014 8:34 pm

The repo here
http://os.archlinuxarm.org/armv6h/core/
You could always try
$this->bbcode_second_pass_code('', 'pacman -U http://os.archlinuxarm.org/armv6h/core/linux-raspberrypi-3.12.29-1-armv6h.pkg.tar.xz')
Remember to sync && reboot after kernel install
pepedog
Developer
 
Posts: 2431
Joined: Mon Jun 07, 2010 3:30 pm
Location: London UK

Re: Raspberry Pi version mismatch

Postby ThaWalrus » Sat Oct 11, 2014 8:45 pm

Rebooting, syncing and installing by the link did the trick. Still not very sure were it all went wrong.

Thanks a bunch!
ThaWalrus
 
Posts: 9
Joined: Sat Oct 11, 2014 6:55 pm


Return to ARMv6h

Who is online

Users browsing this forum: No registered users and 6 guests

cron