Slackware - ARM This forum is for the discussion of Slackware ARM. |
Notices |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
|
 |
|
03-07-2015, 03:08 PM
|
#16
|
Senior Member
Registered: Oct 2003
Location: uk
Distribution: Slackware
Posts: 1,009
|
Hi Penthux,
Thanks for the advice. That could be a factor or that the USB drive I first used was wobbly.. Anyway, I am up and running, with my installation now also copied to the usb drive (which was reformatted to ext4 for this) so that I now can switch between the SD-card installation and the one on USB by editing the root= parameter in the cmdline.txt (from /dev/mmcblk0p3 for SD to /dev/sda1 for USB). My home folder lives on the USB (referred to from the SD and USB /etc/fstab files).
Only problem is that after rebooting I often see the fsck error for the fat32 (/boot) partition (and I also see that on my laptop for the /boot/efi.... after accessing these one always seem to get this... I wonder whether the shutdown process completes; I interact via SSH (ethernet) or screen (usb-serial cable) with the pi2 and I do not always see the whole process complete (because the connections get killed before the rest)
Now I have to figure out how to get my display to work a waveshare-spotpear-4-inch-lcd. I just managed to get rpi-update installed (needed to set the correct time with ntp in order to pass a ca-certificate error https://github.com/Hexxeh/rpi-update, downloaded the driver/firmware via "REPO_URI=https://github.com/notro/rpi-firmware rpi-update" and need now to reboot to see whether any progress has been made.....
Last edited by brobr; 03-09-2015 at 07:57 PM.
|
|
|
03-07-2015, 09:13 PM
|
#17
|
Senior Member
Registered: Nov 2003
Distribution: Slackʍɐɹǝ
Posts: 1,489
|
I'm migrating my web server over tonight, so far the RP2 has taken everything I've thrown at it.
|
|
|
03-09-2015, 06:03 PM
|
#18
|
Senior Member
Registered: Feb 2003
Location: Calif, USA
Distribution: PCLINUXOS
Posts: 2,918
Rep: 
|
Quote:
Originally Posted by brobr
...I just tried a couple of times to install raspi2 but the installation does not happen. The installer runs but nothing gets actually installed and I can reboot 5 secs after choosing the packages...
|
Quote:
Originally Posted by Penthux
...Change the USB stick you are using. Try plugging it into different USB ports when installing. I've heard of a few issues with certain USB sticks when installing Slackware ARM if they are plugged into the USB ports not next to the Ethernet port on the raspi2...
|
I'm having the same issue as brobr (install from mounted directory (on USB)) and tried Penthux's suggestions.
Same thing. 5 or 10 seconds after starting the install setup says the install is done. A handfull of messages flash by too quickly to read (replaced by the blue setup screen) and I'm not sure where to pull them out of.
|
|
|
03-09-2015, 07:52 PM
|
#19
|
Senior Member
Registered: Oct 2003
Location: uk
Distribution: Slackware
Posts: 1,009
|
Ok, I have managed to get the a waveshare-spotpear-4-inch-lcd touchscreen to work and even kept some cryptic notes. For whoever is interested.. see attached file; referenced websites are mentioned and how it was set up according to some rasbian users. With Slackware it can be done a bit more elegant ;-)
Only problem is my wireless dongle, after I tried to get it going with Networkmanager from a commandline it got stuck (The info for nmcli is absolutely confusing to say the least. So some of my mis-commands must have triggered something..) I have now wicd doing the job but still no wireless; I noticed this in dmesg:
Code:
......
[ 2.513613] Initializing XFRM netlink socket
[ 2.520130] NET: Registered protocol family 17
[ 2.526819] can: controller area network core (rev 20120528 abi 9)
[ 2.535393] NET: Registered protocol family 29
[ 2.542110] can: netlink gateway (rev 20130117) max_hops=1
[ 2.550020] Indeed it is in host mode hprt0 = 00021501 <------------ would this prevent connection to internet as client ???
[ 2.550378] Key type dns_resolver registered
[ 2.550916] Registering SWP/SWPB emulation handler
[ 2.570813] registered taskstats version 1
....
Cheers,
Rob
PS attachment of things to raspi2 can be a bit flimsy (especially when itself is in a nice box) and this screen is quickly upset (it does not really fit within the box-opening) when using touch input... have to get a cable or something for it... or sand down some bits away from the box-edges....
Last edited by brobr; 03-09-2015 at 07:57 PM.
|
|
|
03-10-2015, 06:44 AM
|
#20
|
Senior Member
Registered: Nov 2003
Distribution: Slackʍɐɹǝ
Posts: 1,489
|
Quote:
Originally Posted by 2damncommon
I'm having the same issue as brobr (install from mounted directory (on USB)) and tried Penthux's suggestions.
Same thing. 5 or 10 seconds after starting the install setup says the install is done. A handfull of messages flash by too quickly to read (replaced by the blue setup screen) and I'm not sure where to pull them out of.
|
Are you using a USB flash drive right from the store? I found I had to reformat mine as ext2 due to symlinks and filenames in the arm source that vfat can't support.
Ohh, and don't do like me and forget to setup ntp afterward, I now have a bunch of files I created in 1970 
Last edited by enine; 03-10-2015 at 06:55 AM.
|
|
|
03-10-2015, 03:39 PM
|
#21
|
Member
Registered: Dec 2008
Location: Middlesbrough, UK
Distribution: Slackware
Posts: 264
Rep:
|
Quote:
Originally Posted by 2damncommon
I'm having the same issue as brobr (install from mounted directory (on USB)) and tried Penthux's suggestions.
Same thing. 5 or 10 seconds after starting the install setup says the install is done. A handfull of messages flash by too quickly to read (replaced by the blue setup screen) and I'm not sure where to pull them out of.
|
I have experienced this issue only when my mounted USB stick was not detected, or if I'd made a mess of the partitions. So make sure when you create partitions you save the new settings. I've forgotten to do that a few times when rushing through the install process. Also, instead of mounting your USB stick, during setup (source media selection) choose option [2] to "Install from a Slackware USB stick" and see if the system scans and detects it successfully. Failing that, you have the option to install from a FTP/HTTP server, if you have access to the Internet.
As enine says, correct date/time is also a factor to consider. If you enable the network prior to running setup, you can easily set the date/time with 'ntpdate pool.ntp.org' - you can also add this to your rc.local to set the correct time during boot.
More often than not, in my experience, when setup quits as soon as it begins it's due to some small error I've created or overlooked.
|
|
|
03-10-2015, 07:17 PM
|
#22
|
Senior Member
Registered: Feb 2003
Location: Calif, USA
Distribution: PCLINUXOS
Posts: 2,918
Rep: 
|
Quote:
Originally Posted by enine
Are you using a USB flash drive right from the store? I found I had to reformat mine as ext2 due to symlinks and filenames in the arm source that vfat can't support...
|
I was able to reformat a USB stick to ext2 and it seemed to work for the install. Thanks enine. It took about 90 minutes.
But I'm not out of the woods. On reboot I got a root prompt and logged in. Still following the guide at "fatdog" I went to set the time. Error, ntpdate not found. So I set the time with the date command. Then I went to update as the guide says. I edited the file with nano successfully. But when running slackpkg update I got the error that wget was not found.
So enough for today. I'll revisit those errors later.
|
|
|
03-11-2015, 03:27 PM
|
#23
|
SARPi Maintainer
Registered: Nov 2012
Distribution: Slackware ARM, AArch64
Posts: 1,071
Original Poster
|
Some of you seem to be having problems. This troubles me because I had tested the SARPi2 installer thoroughly over a period of approx. 10 days before releasing it to the public. I believed it was working flawlessly. The only issues I have experienced is with some newly discovered problematic hardware.
Iīm using Samsung EVO microSD cards (8GB, 16GB, and 32GB). I find these cards to be extremely reliable and compatible, and FAST! Thatīs not to say other microSD cards arenīt. You may find some cards work better than others. Iīve introduced my SanDisk microSD card to a pair of hungry scissors and did what I believe was the only humane thing left to do with it. ;-)
I use a Kingston DTSE9 (8GB) USB stick to store the Slackware source media. I was using an Imation Nano (16GB) USB stick, but I found that when I used this to store the source media while it was plugged into the USB ports farthest from the Ethernet port there were certain issues after rebooting, if it even booted at all. Using the Kingston USB stick in the same ports, containing the same source data, there were no such issues.
|
|
|
03-11-2015, 04:25 PM
|
#24
|
Senior Member
Registered: Oct 2003
Location: uk
Distribution: Slackware
Posts: 1,009
|
I just bricked my Slackware-arm install on my Pi2 by some usb-mishap. I plugged in a USB-serial cable, but obviously something went wrong as my computer from which I was going to login crashed, something fizzed and I think that cable can only give power now (the Pi2 was powered from the mains at the time of this accident). Dunno whether plugging into a USB3 port caused the damage or attaching the ground of the cable to a 3V pin on the GPIO board or both....Major worry is that the gpio-bridge on the pi has gone as well. Anyway, we will find out.
The USB drive I used to provide the installation (64 G intergral) gave a pertinent I/O error and all my work of the last weekend had to be zeroed over (dd if=/dev/zero of=/dev/sdc bs=1M) to be able to make it reusable and accessible for a new partition etc. (done with Gparted). Anyway, I have now copied all the newly updated slackarm stuff over and use that drive at the moment to upgrade my original slackware install on the SD drive
[sounds cryptic maybe, but for trying stuff out, I had one partition on the USB drive set up as / (root; /dev/sda1) after copying over the whole slackware-installation from the SD (apart from /boot) to the USB stick and editing the /boot/cmdline.text on the SD card to direct the booting to / on the USB drive ('root=/dev/sda1') combined with editing /etc/fstab that was copied to the USB (i.e. in (/dev/sda1/etc/)), making / point to /dev/sda1. Luckily I had left the original install on the SD card intact (incl. swap) and therefore could now boot into the Pi2 after editing the /boot/cmdline.txt back to look for / on the SD (/dev/mm....p1)]
After this has been done and all new links will be set to 1970 (forgot to set the clock before doing the upgrade), I can copy the upgraded installation to my USB /-partition again and introduce all the changes to get my 4"screen going, if the GPIO it gets attached to has not been fried. (If so, game over with Pi-play and then will hook it via a hdmi-connection to a televison and use it as a computer for guests or something). Anyway, after the copying (I do this on my laptop, that is faster) I'll try the USB in another port on the Pi2
EDIT: Changing the USB stick to another port did not make a difference. But that stick has now been completely formatted as ext4.
My gpio-plugged-in screen does not communicate with the Pi2 anymore. It glares, that's it, but won't exchange info required for the flexfb to keep going. I see an error 22 in the dmesg and /dev/fb1 is not generated... game over it seems.
Last edited by brobr; 03-12-2015 at 09:36 AM.
|
|
|
03-11-2015, 09:14 PM
|
#25
|
Senior Member
Registered: Nov 2003
Distribution: Slackʍɐɹǝ
Posts: 1,489
|
I'm using Microcenter branded microsd cards and an older version of this http://www.iogear.com/product/GFR204SD/ which is a USB microSD adapter. That let me write the bootable card and then swap in another card to make the source.
My original Pi (not a 2) reboots when I plug it in though.
|
|
|
03-11-2015, 11:11 PM
|
#26
|
Senior Member
Registered: Feb 2003
Location: Calif, USA
Distribution: PCLINUXOS
Posts: 2,918
Rep: 
|
I used 2 different Lexar USB drives for the Slack-current files and a Kingston 16 GB micro SD for the Pi.
The difference in filesystems would seem to have made the difference that allowed me to install from the USB, although I tried FAT on one and ext2 on the other.
I looked through the N set of Slack-current and sure enough, there was no ntp or wget files. I ran a second rsync and there were NOT huge amounts of missing files. Some kernel and library updates along with a few other programs. Both ntp and wget were downloaded. I installed ntp and wget manually then updated the time and ran slackpkg update. The packages updated seemed to generally match what I remembered as being updated with rsync.
Slack now boots on my Pi 2. I just opened up a few different programs and it seemed fairly snappy. The KDE web browser and office writer failed to open. There were locale and QT errors in the terminal.
Also, it seems that I cannot immediately reboot a Pi 2 after doing a cold shutdown. It happened yesterday when I shut down after the initial install and I moved the micro SD to a second Pi 2. Same today, although the first Pi 2 booted, I shut down after installing ntp and wget as the networking did not seem to work, and that Pi would not reboot. I moved the micro SD card to the second Pi and networking worked fine.
|
|
|
03-13-2015, 08:32 AM
|
#27
|
Member
Registered: Jul 2012
Posts: 229
Rep: 
|
It arrived yesterday and 14.1 installed without issue.
Nice job all, thank you
|
|
|
03-16-2015, 06:32 AM
|
#28
|
Senior Member
Registered: Nov 2003
Distribution: Slackʍɐɹǝ
Posts: 1,489
|
Mine has been running production for two weeks now with no problems. I shut down in the middle to swap the single power supply for a $7 powered USB hub so I can power my old Pi B from the same source.
Not as exciting as others with nothing interfaced, its simply my web server but I have 3 androids and 4 laptop/desktops using Owncloud's webdav/caldav/carddav interface to sync our data off of it. Running Apache, MariaDB, Owncloud, phpMyGPX and Drupal.
|
|
|
05-06-2015, 06:42 AM
|
#29
|
Senior Member
Registered: Nov 2003
Distribution: Slackʍɐɹǝ
Posts: 1,489
|
I just found last night that you need to update Exaga's packages if your running -current. I did a fresh install of current after a power issue corrupted my microsd and current didn't work with the older February packages, mainly it didn't setup eth0.
I thought I read somewhere that -current is needed for the rp2 but maybe I misread as looking at your page this morning I see its just using -current as an example.
since I'm running "production" I probably should be on 14.1 if its fine to use.
Last edited by enine; 05-06-2015 at 11:42 AM.
|
|
|
All times are GMT -5. The time now is 03:53 PM.
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|