LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware > Slackware - ARM
User Name
Password
Slackware - ARM This forum is for the discussion of Slackware ARM.

Notices


Reply
  Search this Thread
Old 09-08-2015, 05:41 PM   #1
ricky_cardo
Member
 
Registered: Feb 2006
Location: Syracuse, NY
Distribution: Slackware64-Current
Posts: 210

Rep: Reputation: 76
(pi) slackware - ARM - current (fixes for AICCU but not asterisk)


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

Last edited by ricky_cardo; 09-08-2015 at 05:59 PM.
 
Old 09-18-2015, 10:48 PM   #2
ricky_cardo
Member
 
Registered: Feb 2006
Location: Syracuse, NY
Distribution: Slackware64-Current
Posts: 210

Original Poster
Rep: Reputation: 76
Ok so, It's no surprise to me I am my own worst enemy...

My issue with speed was as follows:
Quote:
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))
Wow I thought I was being fancy by using the QOS feature in my router... [turned it off speed normal]

enabled QOS for MAC of rpi and set speed real slow...



Start QoS
Enable Disable
Port
Packet Scheduler
Uplink (kbps)
Downlink (kbps)
Optimize for Gaming

Services Priority
Delete Service Name Priority


... /

MAC Priority
Delete MAC Address WAN Max Up WAN Max Down LAN Max
xx:xx:xx:xx:37:7A 256kBits 256kBits 256kBits






So that said just need to get Asterisk working well on current...

Last edited by ricky_cardo; 09-18-2015 at 10:55 PM. Reason: addition
 
Old 09-24-2015, 10:17 PM   #3
ricky_cardo
Member
 
Registered: Feb 2006
Location: Syracuse, NY
Distribution: Slackware64-Current
Posts: 210

Original Poster
Rep: Reputation: 76
Got Asterisk asterisk-13.5.0 going on ARM still need to test more but here's what I did:

Speex (used SlackBuild.org with modify of line 91 remove --enable-sse \ )

pjproject (made one from alien's builder)

Slackbuild here: https://drive.google.com/file/d/0B-i...ew?usp=sharing


jansson (slackbuild.org)

and

a lightly modified slackbuild.org asterisk
--going to see if the 13.5.0 version segfaults (needs more testing)
---One other note is to move the make until after the MENUSELECT_ADDONS changes.
---added a patch as well (for arm arch)

(modified slackbuild)
https://drive.google.com/file/d/0B-i...ew?usp=sharing
(added patch)
https://drive.google.com/file/d/0B-i...ew?usp=sharing


--NOTE: forgot should have changed build TAG these if modified are not SBo nor supported there... sorry

Last edited by ricky_cardo; 09-24-2015 at 10:37 PM. Reason: forgot to change build tag
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Slackware ARM -current & 'Kirkwood' devices - must read drmozes Slackware - ARM 5 11-14-2014 10:54 PM
Slackware ARM (current) epic mistake: the current Android kernels are kicked out! Darth Vader Slackware 16 08-25-2013 04:36 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware > Slackware - ARM

All times are GMT -5. The time now is 02:07 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration