by paulcrawford » Wed Aug 13, 2014 2:35 am
Thanks for the suggestion WarheadsSE. On both USB sticks I get:
$this->bbcode_second_pass_code('', 'uname -a
Linux normaddie 3.12.25-1-ARCH #1 PREEMPT Tue Jul 29 21:47:49 MDT 2014 armv6l GNU/Linux
')
This does not agree with the package version which is 3.12.26-1.
When I run:
$this->bbcode_second_pass_code('', 'sudo pacman -Syu')
I get:
$this->bbcode_second_pass_code('', 'Packages (10): bash-4.3.022-1 cracklib-2.9.1-1 gpgme-1.5.1-1 kbd-2.0.2-1 krb5-1.12.1-2 libidn-1.29-1
libmariadbclient-10.0.13-1 mariadb-10.0.13-1 mariadb-clients-10.0.13-1 xfsprogs-3.2.1-1
')
on the USB stick that was upgraded to 3.12.26-1, while the other USB stick that was rolled back to 3.12.25-1 I get:
$this->bbcode_second_pass_code('', 'Packages (12): bash-4.3.022-1 cracklib-2.9.1-1 gpgme-1.5.1-1 kbd-2.0.2-1 krb5-1.12.1-2 libidn-1.29-1
libmariadbclient-10.0.13-1 linux-raspberrypi-3.12.26-1 mariadb-10.0.13-1 mariadb-clients-10.0.13-1 netctl-1.9-1
xfsprogs-3.2.1-1')
This would suggest, to me, that the first USB stick is already upgraded to 3.12.26-1, hence that package does not show up on the upgrade, while the second USB stick must be on 3.12.25-1 since the 3.12.26-1 package does show up on the upgrade.
The first USB stick still fails to run my C program with the error:
$this->bbcode_second_pass_code('', 'gpio: Unable to load i2c_bcm2708
Unable to open I2C device: No such file or directory')
and yet that same stick says:
$this->bbcode_second_pass_code('', 'uname -a
Linux normaddie 3.12.25-1-ARCH #1 PREEMPT Tue Jul 29 21:47:49 MDT 2014 armv6l GNU/Linux')
Clearly there is something I am missing and do not understand. My suspicion now is that the problem is due to runnng the raspberrypi root on a USB stick rather than the SD card, but I don't possess enough knowledge of how Arch Linux works on this aspect.
Any help or guidance gratefully accepted.
Thanks,
Paul