LinuxQuestions.org
Register a domain and help support LQ
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices

Reply
 
Search this Thread
Old 02-05-2013, 01:10 PM   #181
guanx
Senior Member
 
Registered: Dec 2008
Posts: 1,014

Rep: Reputation: 145Reputation: 145

Quote:
Originally Posted by Laodiceans View Post
Hey people!
Why we don't use the raspberry-pi forum for a true Slackware ARM section.

It would be nice see more of you there.

http://www.raspberrypi.org/phpBB3/vi...p?f=56&t=21805
Good suggestion. Thank you for the link!

However, some questions here in this thread are generic slackwarearm and not RPi specific. Besides, I have great diff4culty reading that forum on cellphone.

Last edited by guanx; 02-05-2013 at 04:43 PM.
 
Click here to see the post LQ members have rated as the most helpful post in this thread.
Old 02-06-2013, 02:59 AM   #182
drmozes
Slackware Contributor
 
Registered: Apr 2008
Location: Surrey, England
Distribution: Slackware
Posts: 134

Rep: Reputation: 109Reputation: 109
Quote:
Originally Posted by guanx View Post
Good suggestion. Thank you for the link!

However, some questions here in this thread are generic slackwarearm and not RPi specific. Besides, I have great diff4culty reading that forum on cellphone.
A section for Slackware ARM on the Raspberry Pi certainly makes sense to be hosted on the Pi forum (assuming that those who have contributed/published Slackware ARM images, tools and docs for the RPi actually read that forum), but guanx says - Slackware ARM runs on more than just the Raspberry Pi - so I would want to ensure that the non-RPi questions remain on a neutral forum such as the ARMedslack mailing list and this LQ forum.
 
Old 02-06-2013, 12:19 PM   #183
justwantin
Member
 
Registered: Aug 2003
Location: Melbourne, Australia
Distribution: Slackware, Slackware ARM, Salix and Porteus
Posts: 551

Rep: Reputation: 43
I had a current pi install on an sd card dated 9 Aug 2012 that I have just upgraded with slackpakg to current dated 28 Nov from and external HD

The original install used David Spencers image and packages. I would like to upgrade the kernel, modules etc. with ponce's more recent kernel and other packages. Since the package naming is different I'm not sure if upgrade package would work on a running pi. What would be the best way to install the newer kernel* and raspi* packages?
 
Old 02-06-2013, 12:49 PM   #184
ponce
Senior Member
 
Registered: Aug 2004
Location: Pisa, Italy
Distribution: Slackware
Posts: 2,380

Rep: Reputation: 840Reputation: 840Reputation: 840Reputation: 840Reputation: 840Reputation: 840Reputation: 840
naming should be identical, I just forked Dave's scripts: an upgradepkg of raspi-boot, kernel_raspi and kernel-modules (with /boot mounted) should do.
just compare (after) /boot/config.txt and /boot/cmdline.txt with the *.new freshly installed: you should use the new ones (and adapt them if needed).

Last edited by ponce; 02-06-2013 at 12:52 PM.
 
Old 02-06-2013, 01:07 PM   #185
justwantin
Member
 
Registered: Aug 2003
Location: Melbourne, Australia
Distribution: Slackware, Slackware ARM, Salix and Porteus
Posts: 551

Rep: Reputation: 43
OK, thanks, I thought that the "1_dbs" and the "1ponce" would matter

Quote:
kernel_raspi-3.6.6_20121120-arm-1ponce.tgz
kernel_raspi-3.1.9_20120801-arm-1_dbs.tgz
 
Old 02-06-2013, 02:11 PM   #186
ponce
Senior Member
 
Registered: Aug 2004
Location: Pisa, Italy
Distribution: Slackware
Posts: 2,380

Rep: Reputation: 840Reputation: 840Reputation: 840Reputation: 840Reputation: 840Reputation: 840Reputation: 840
no, that is just the BUILD number (1) and TAG (ponce / _dbs) used when building the packages.

note that newer stuff than the one you list here is available
http://ponce.cc/slackware/slackwarea.../raspi-extras/
 
Old 02-16-2013, 05:27 AM   #187
brianL
LQ 5k Club
 
Registered: Jan 2006
Location: Oldham, Lancs, England
Distribution: Slackware & Slackware64 14.1
Posts: 6,861
Blog Entries: 51

Rep: Reputation: Disabled
Originally, I was running Stanley Garvey's prebuilt 8 GB image on my R Pi. Then this morning I decided to do it all the Dave's collective way. Everything seemed OK until the reboot, when I got this:
Kernel panic-not syncing:VFS:Unable to mount root fs on unknown-block(179,2)
So, after a bit of googling, I put the SD card in a reader, opened cmdline.txt, and it was empty. Anyway, I looked in the Raspberry Pi Users Guide, found out what to put in it and it solved the problem. Anybody else comes across the same error and cause, this is what you want:
Code:
dwc_otg.lpm_enable=0 console=ttyAMA0, 115200 kgdboc=ttyAMA0, 115200 console=tty1 root=/dev/mmcblk0p3 rootfstype=ext4 rootwait
 
Old 02-23-2013, 11:43 AM   #188
onebuck
Moderator
 
Registered: Jan 2005
Location: Midwest USA, Central Illinois
Distribution: SlackwareŽ
Posts: 11,022
Blog Entries: 1

Rep: Reputation: 1364Reputation: 1364Reputation: 1364Reputation: 1364Reputation: 1364Reputation: 1364Reputation: 1364Reputation: 1364Reputation: 1364Reputation: 1364
Member Response

Hi,

A few suggestions for README.installer;
Quote:
4. Run 'setup' as usual. Your SOURCE can be on the network or on a USB media device. Please note that you can deselect packages: f,k,KDE, & KDEi to save space. Most kernel work will be done on a host machine instead of the raspPi.

7. Only if you installed kernels for other systems (in a 'full' install) you can save disk space by removing them as follows:
ROOT=/mnt removepkg \
kernel_kirkwood kernel-modules-kirkwood \
kernel_tegra kernel-modules-tegra \
kernel_versatile kernel-modules-versatile

8a. Edit or echo to empty 'cmdline.txt' and place this line of text;
Code:
dwc_otg.lpm_enable=0 console=ttyAMA0, 115200 kgdboc=ttyAMA0,  115200 console=tty1 root=/dev/mmcblk0p3 rootfstype=ext4  rootwait
Please note this;
Quote:
Originally Posted by brianL View Post
Originally, I was running Stanley Garvey's prebuilt 8 GB image on my R Pi. Then this morning I decided to do it all the Dave's collective way. Everything seemed OK until the reboot, when I got this:
Kernel panic-not syncing:VFS:Unable to mount root fs on unknown-block(179,2)
So, after a bit of googling, I put the SD card in a reader, opened cmdline.txt, and it was empty. Anyway, I looked in the Raspberry Pi Users Guide, found out what to put in it and it solved the problem. Anybody else comes across the same error and cause, this is what you want:
Code:
dwc_otg.lpm_enable=0 console=ttyAMA0, 115200 kgdboc=ttyAMA0,  115200 console=tty1 root=/dev/mmcblk0p3 rootfstype=ext4  rootwait
Installer 'cmdline.txt' is correct at the beginning before any install.
I have not looked at the installer itself but cmdline.txt is empty after installer completion. Maybe add a note to README.installer for 8a to perform the task of placing the below line in 'cmdline.txt' or fix 'cmdline.txt' line in the installer after install completion:
Code:
dwc_otg.lpm_enable=0 console=ttyAMA0, 115200 kgdboc=ttyAMA0,  115200 console=tty1 root=/dev/mmcblk0p3 rootfstype=ext4  rootwait
This information provides uninformed users the packages for LXDE ;
Quote:
Originally Posted by brianL View Post
LXDE is a nice lightweight DE for SlackwareARM on the Raspberry Pi. Seems to load a bit faster than Xfce. Ponce has packages for it here:
http://ponce.cc/slackware/slackwarea...ronments/lxde/
LXDE looks and feels great on the Pi.

Ponce, Great work and Thank You!
 
Old 03-05-2013, 04:33 PM   #189
Laodiceans
Member
 
Registered: Jan 2006
Distribution: Slackware
Posts: 188

Rep: Reputation: 18
I'm trying to find a ARM device to use as a firewall.
I find Guruplug! There are other alternatives?
 
Old 03-06-2013, 02:02 PM   #190
drmozes
Slackware Contributor
 
Registered: Apr 2008
Location: Surrey, England
Distribution: Slackware
Posts: 134

Rep: Reputation: 109Reputation: 109
Quote:
Originally Posted by Laodiceans View Post
I'm trying to find a ARM device to use as a firewall.
I find Guruplug! There are other alternatives?
Have a look at the OpenRD client http://www.globalscaletechnologies.c...dcdetails.aspx

This has 2xGBit ethernet ports and is supported out of the box in Slackware ARM.
 
Old 03-09-2013, 08:39 PM   #191
Laodiceans
Member
 
Registered: Jan 2006
Distribution: Slackware
Posts: 188

Rep: Reputation: 18
Raspbian vs SlackwareARM ???


I never used raspbian on a raspberry-pi! There is a big difference on performance? I found this blog http://www.doom.co.il/en/?p=113 And tried the same thing with two raspberry-pi! One with 256 MB other with 512 MB! Both are running SlackwareARM 14.0 stable

Code:
$ free -m
             total       used       free     shared    buffers     cached
Mem:           472        424         47          0         26        362
-/+ buffers/cache:         35        436
Swap:          415          0        415

$ uname -a
Linux framboesa-pi 3.6.1-20121026 #1 PREEMPT Fri Oct 26 12:49:58 CEST 2012 armv6l ARMv6-compatible processor rev 7 (v6l) BCM2708 GNU/Linux

$ time tar -xf linux-3.6-rc7.tar.bz2 

real    6m44.422s
user    4m46.200s
sys    0m5.600s

$ time dd if=/dev/urandom bs=1M count=500 of=somefile
500+0 records in
500+0 records out
524288000 bytes (524 MB) copied, 565.355 s, 927 kB/s

real    9m25.461s
user    0m8.040s
sys    9m4.970s
Code:
$ free -m
             total       used       free     shared    buffers     cached
Mem:           217        169         47          0         19         93
-/+ buffers/cache:         56        160
Swap:          415          1        414



$ uname -a
Linux raspberry-pi 3.6.11-20130125 #1 PREEMPT Fri Jan 25 18:13:19 CET 2013 armv6l ARMv6-compatible processor rev 7 (v6l) BCM2708 GNU/Linux

$ time tar -xf linux-3.6-rc7.tar.bz2 

real    6m35.365s
user    4m18.820s
sys    0m47.680s


$ time dd if=/dev/urandom bs=1M count=500 of=somefile
500+0 records in
500+0 records out
524288000 bytes (524 MB) copied, 496.856 s, 1.1 MB/s

real    8m16.439s
user    0m0.040s
sys    7m46.250s
My first card isn't class 10!

Last edited by Laodiceans; 03-09-2013 at 10:15 PM.
 
Old 03-11-2013, 03:27 AM   #192
drmozes
Slackware Contributor
 
Registered: Apr 2008
Location: Surrey, England
Distribution: Slackware
Posts: 134

Rep: Reputation: 109Reputation: 109
Quote:
Originally Posted by Laodiceans View Post
Raspbian vs SlackwareARM ???


I never used raspbian on a raspberry-pi! There is a big difference on performance?
$ time tar -xf linux-3.6-rc7.tar.bz2

real 6m44.422s
user 4m46.200s
sys 0m5.600s
[..]
$
I'm not a systems performance tester, but I'm not really sure that those tests are really relevant to proving much at all about the performance of hard vs soft float since there's a great deal of time spent on storage I/O rather than computation.

This explains the difference with some relevant performance tests:
http://emdebian.org/~zumbi/fosdem-arm-2011/

Debian armel is essentially the same as Slackware ARM - soft float.
Debian armhf is hard float. This is essentially the same as Raspbian, but targeting a newer CPU than is in the RPi.

The performance differences you'll see in that presentation ought to be more or less what you'd see on Slackware ARM vs Raspbian on the same RPi hardware.

For what it's worth, if I had a Raspberry Pi and I wanted to play multi media and so on, I would install one of the distributions that was optimised for the hardware. Whilst Slackware ARM will run on it, it's built for machines without a FPU and for an lower spec ARM cpu so you will never be able to get the max performance out of the hardware. For ARM devices, this is noticeable particularly if you're doing computationally expensive tasks such as rendering multimedia.
On the other hand if you were using the device to do something like file serving or some Internet packet forwarding and regular services, Slackware ARM will be perfectly fine.
If you look at the page 17 with the %age performance changes, you'll see "1% better performance on hard-float if does not use floating point"
Meaning that if the software you're running isn't doing floating point calcs, you'll see only a 1% performance improvement running the same software on a hardware floating point optimised distribution versus a soft float distribution.

Last edited by drmozes; 03-11-2013 at 03:43 AM.
 
2 members found this post helpful.
Old 03-14-2013, 09:46 PM   #193
Ahau
Member
 
Registered: Jun 2011
Location: USA
Distribution: Porteus, Slackware
Posts: 58

Rep: Reputation: 19
Hey guys,

I've been working on getting Porteus Linux (slackware-based) on ARM devices (A huge thanks to drmozes for slackwarearm!). One of our community members was able to get it running on the Pi, running ponce's 3.2 kernel, which I patched with aufs

Anyway, following on the post above, is anyone aware of a repo for slackware packages compiled for armv6 or armv7? I've done some searching without much luck. I see that AlienBob has a small setup for armv7 but it isn't public. I'd like to see how much the performance improves, but I don't want to start compiling from scratch if I don't have to.

Thanks!
 
Old 03-20-2013, 03:19 AM   #194
drmozes
Slackware Contributor
 
Registered: Apr 2008
Location: Surrey, England
Distribution: Slackware
Posts: 134

Rep: Reputation: 109Reputation: 109
Quote:
Originally Posted by Ahau View Post
Hey guys,
Anyway, following on the post above, is anyone aware of a repo for slackware packages compiled for armv6 or armv7? I've done some searching without much luck. I see that AlienBob has a small setup for armv7 but it isn't public. I'd like to see how much the performance improves, but I don't want to start compiling from scratch if I don't have to.

Thanks!
I don't know of anybody who's recompiled all of the packages and who's made them available, let alone generated any performance comparison data. Look at the presentation I linked to in my post above - it gives an outline of what performance differences to expect. All in all, I wouldn't bother for what is 1% performance improvement when doing non-FP operations. I have a Samsung Chromebook ARM version that I have Slackware ARM on now, and once I've got the installer working, then X, I'll recompile a couple of packages such as Firefox and any media apps that I want to use to use softfp (hard float but using the soft float ABI).
 
1 members found this post helpful.
Old 03-25-2013, 07:15 AM   #195
ag33k
LQ Newbie
 
Registered: Mar 2013
Location: Portugal
Distribution: Slackware
Posts: 15

Rep: Reputation: Disabled
The ideal mediacenter hardware solution is TrimSlice?
 
  


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
Raspberry Pi project Dutch Master Linux - General 12 08-05-2012 06:48 AM
[SOLVED] VLC on ARMEDSlack compile fails ryerke Slackware 6 10-14-2011 11:24 AM
armedslack-13.37 - can't run any KDE apps? ahmadj Slackware 4 08-26-2011 08:09 AM
is it possible to install armedslack on a icy box IB-NAS6210 gtludwig Slackware 5 05-19-2011 09:15 PM
armedslack 13.37 tmfizzle Slackware 3 05-17-2011 09:56 AM


All times are GMT -5. The time now is 02:43 PM.

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration