Had a strange issue when I updated to current on a my slackberrypi (raspberry pi running Slackware arm)
3 issues: (2 fixes) Two issues with Slackbuild packages and One with udev
1:
SlackBuilds: aiccu
-using AICCU seems to have stopped working, not sure the cause suspect one of the GNUTLS updates?
{fix is a patch already out on the web}
((included the patch source, just download and place in slackbuild dir))
added this to line 71 of the Slackbuild.org script for aiccu (I added a setupscript fix patch too, optional)
Code:
##Try a patch to fix setupscript option doing nothing in program inserted RAH 11-24-2014
##patch source https://github.com/rhaasjes/aiccu/blob/master/debian/patches/0008-setup-script.patch
patch -p1 --verbose < $CWD/0008-setup-script.patch
##Patch to fix depricated gnutls
##patch source https://github.com/jmesmon/buildroot/blob/master/package/aiccu/aiccu-0001-gnutls-and-uclibc-fixes.patch
patch -p1 --verbose < $CWD/aiccu-0001-gnutls-and-uclibc-fixes.patch
2:
SlackBuilds: asterisk
Here I have not determined the fix??? Program compiles but segfaults on launch. No idea the cause or solution.
Segmentation fault (core dumped)
(rolled back to a DD image I took pre-slackpkg upgrade-all)
Here is a backup helper: (assuming you pull the sdcard and it is mmcblk0)
Code:
dd if=/dev/mmcblk0 of=/root/pi_backup/slackberrypi/slackberrypi_2015_09_08.img bs=4
Then to write it back:
Code:
dd if=/home/rich/slackberrypi/slack-20150502.img of=/dev/mmcblk0 bs=65536
3:
Random issue with udev it put two identical entries in 70-persistent-net.rules
Code:
cat /etc/udev/rules.d/70-persistent-net.rules
# USB device 0x0424:0xec00 (usb)
SUBSYSTEM=="net", ACTION=="add", DRIVERS=="?*", ATTR{address}=="b8:27:xx:xx:xx:xx", ATTR{dev_id}=="0x0", ATTR{type}=="1", KERNEL=="eth*", NAME="eth0"
# USB device 0x0424:0xec00 (usb)
SUBSYSTEM=="net", ACTION=="add", DRIVERS=="?*", ATTR{address}=="b8:27:xx:xx:xx:xx", ATTR{dev_id}=="0x0", ATTR{type}=="1", KERNEL=="eth*", NAME="eth1"
Fixed by deleting the second, putting Ethernet interface back to eth0
I think I have a hardware issue too: Note the 27.6 KB/s
(verified port on router, with other computer. Same cable same too)
((this issue been here a while makes downloading packages slow))
-
Code:
rich@slackberrypi ~ $ wget --output-document=/dev/null http://speedtest.wdc01.softlayer.com/downloads/test500.zip
--2015-09-08 18:37:54--
http://speedtest.wdc01.softlayer.com...ds/test500.zip
Resolving speedtest.wdc01.softlayer.com (speedtest.wdc01.softlayer.com)... 2607:f0d0:3001:78::2, 208.43.102.250
Connecting to speedtest.wdc01.softlayer.com (speedtest.wdc01.softlayer.com)|2607:f0d0:3001:78::2|:80... connected.
HTTP request sent, awaiting response... 200 OK
Length: 524288000 (500M) [application/zip]
Saving to: '/dev/null'
0 [ ] 154,330 27.6KB/s eta 5h 2m