Slackware This Forum is for the discussion of Slackware Linux.
|
| 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.
 |
GNU/Linux Basic Guide
This 255-page guide will provide you with the keys to understand the philosophy of free software, teach you how to use and handle it, and give you the tools required to move easily in the world of GNU/Linux. Many users and administrators will be taking their first steps with this GNU/Linux Basic guide and it will show you how to approach and solve the problems you encounter.
Click Here to receive this Complete Guide absolutely free. |
|
 |
|
07-04-2012, 08:35 AM
|
#46
|
|
Member
Registered: Apr 2008
Location: Surrey, England
Distribution: Slackware
Posts: 60
Rep:
|
Quote:
Originally Posted by 55020
Edit: Umm, I think I may have misunderstood the original question. Yes, you **CAN** run standard ARMedslack on qemu, and there are instructions here INSTALL_QEMU.TXT ...
|
Note that if somebody wants to install armedslack-current inside QEMU, they first need to download updated kernels from here:
http://armed.slackware.com/fixes/versatile/
Remove the same named packages/files from the -current tree that they rsynced, and replace them with those.
The next (rather large) batch of updates to -current will have this problem corrected, but until then users need those kernels.
|
|
|
2 members found this post helpful.
|
|
Click here to see the post LQ members have rated as the most helpful post in this thread.
|
07-04-2012, 12:45 PM
|
#47
|
|
Member
Registered: Mar 2009
Posts: 291
Rep:
|
i've been running a debian "rpi simulator" (maybe that's a better name for it, since qemu doesn't emulate pi hardware), and since some software was built specifically for the pi, it does not run in the versatilepb machine in qemu... specifically so far i have found omxplayer and the midori web browser dump with an "illegal instruction" error, and there is no sound device for qemu-system-arm, and since the pi sound device is a bcm-chip specific device, alsa complains and doesn't initialize. this is with the Sbopkg of qemu 1.0.1 installed on slack 13.37 but i haven't seen anybody else mention these problems on the rpi forums as yet...
|
|
|
|
07-04-2012, 03:15 PM
|
#48
|
|
Member
Registered: Mar 2009
Posts: 291
Rep:
|
maybe i'm missing something, but where are the makeimg and installer_launch scripts located?
|
|
|
|
07-04-2012, 03:33 PM
|
#49
|
|
Member
Registered: Sep 2009
Location: Yorks. W.R. 167397
Distribution: Slackware 13.37
Posts: 171
Rep: 
|
Quote:
Originally Posted by unclejed613
maybe i'm missing something, but where are the makeimg and installer_launch scripts located?
|
In the armedslack-devtools, subdirectory qemu, subdirectory helper-scripts
http://slackware.org.uk/armedslack/a...elper-scripts/
|
|
|
|
07-04-2012, 03:38 PM
|
#50
|
|
Member
Registered: Mar 2009
Posts: 291
Rep:
|
thank you.... much appreciated
|
|
|
|
07-06-2012, 06:16 PM
|
#51
|
|
LQ Newbie
Registered: Dec 2011
Posts: 6
Rep: 
|
Installtion of slack-current on RPi - OK - 1 (small) problem (solved)
Hi,
I installed Slack-current according to the instructions here: http://daves-slackbuilds.comlu.com/raspi/ via NFS mount of the slackware-current tree.
I had only 1 problem, which I think I solved OK. At Step 8:
Quote:
Then, *only* if you installed Slackware ARM -current,
ROOT=/mnt upgradepkg /raspi-extra/xf86-*
|
This failed for all 4 packages. The error messge is: /mnt/sbin/upgradepkg: line 289: /sbin/installpkg: No such file or directory.
I looked in /sbin and there is indeed no installpkg. which installpkg says /usr/lib/setup/installpkg
I tried making a soft link in /sbin to /usr/lib/setup/installpkg. But it's too late as the old packages are already deleted.
So I just installed the newer versions thus: ROOT=/mnt installpkg /raspi-extra/xf86-*
From a quick test xfce runs OK and both firefox and seamonkey crawl happily into life. Seems that a lighter browser like Midori is needed.
A little issue whilst booting: it's very slow - is that normal?
All "USB" stuff - keyboard, mouse and ethernet are registered by 9.3 seconds.
Then there's a long wait until 91.2 seconds when there's the message "Adding 371456k swap on /dev/mmcblk0p3". After that it takes about another 90 secs to get the login prompt to the CLI.
Cheers,
Peter
Reedit - I'm hoping to be able to use my Microsoft USB wireless mouse - which has suffered from sticky keys. Will try it again shortly with Slack-current to see if there's any imporovement.
It's useless under Debian, but didn't seem to suffer from the problem with the original Arch installation, but newer Arch was awful.
Last edited by geep999; 07-07-2012 at 08:15 AM.
Reason: Removed comments about non-existent mouse and wireless mouse - I was confused by my wiring spaghetti. Changed 20secs > 90secs
|
|
|
1 members found this post helpful.
|
07-07-2012, 06:58 AM
|
#52
|
|
Member
Registered: Sep 2009
Location: Yorks. W.R. 167397
Distribution: Slackware 13.37
Posts: 171
Rep: 
|
Thanks for the feedback geep999. I vaguely remember looking at that part of the README late at night and thinking 'that can't be right' and changing it. Bad idea! Sorry :-(
Also, since the recent EPIC update to armedslack-current, those patches aren't needed any more, and you should upgrade to the official packages. I'll be amending the installation instructions very soon.
The sticky keys problem is better with the newer kernels but still happens occasionally. They used to say that it's a power supply problem, but ISTM it's more likely related to the lousy 8000 interrupts a second usb driver.
Also I must apologise to everyone trying the installer recently who found that the image was corrupt. It should be ok now. Thanks to the person who pointed this out. The web host has horrible problems with uploading large files, and has undocumented download limits that I keep tripping when I try to verify the images. I'll probably be moving to another host soon.
If you want midori, I've built it as part of xfce-4.10 and you can download it for -current here. But note that (since the recent EPIC update to armedslack-current) you don't need deps/vte and should keep the official package. I haven't tested that yet ;-)
There are a couple of big improvements coming soon from upstream. The kernel now has an experimental fix for the USB driver's horrible performance, and u-boot is coming. But it might be a few weeks before those are generally useable.
Edit: As you observed it takes a long time to activate the swap partition. The bigger your swap, the longer the delay. Also, the message about activating swap doesn't appear until after the delay :-( there may be something we can do about this, thanks for the nudge.
Edit 2: It's a problem with recent mainline kernels, see forums.gentoo.org. There's a fix that went into mainstream 3.2.19  (commit 07fb30fa5) and is therefore in Chris Boot's repo, so it might even show up in an official Raspberry Pi kernel in due course. All things considered, I'll apply that patch to my unofficial armedslack kernel asap.
Last edited by 55020; 07-07-2012 at 07:47 AM.
Reason: yeah the swap is slow
|
|
|
|
07-07-2012, 07:17 AM
|
#53
|
|
Moderator
Registered: Jan 2005
Location: Midwest USA, Central Illinois
Distribution: SlackwareŽ
Posts: 10,409
|
Member Response
Hi,
Looks like 'Newark' is now shipping the 'Pi' here in the USA. I will receive my piece of 'Pi' sometime this afternoon.
Patiently waiting since Dec/11.
|
|
|
|
07-07-2012, 01:22 PM
|
#54
|
|
Senior Member
Registered: Aug 2004
Location: Pisa, Italy
Distribution: Slackware
Posts: 1,983
|
Quote:
Originally Posted by 55020
since the recent EPIC update to armedslack-current
|
maybe EPIC still looks reductive in this case: Stuart updated nearly the whole distro, lol
|
|
|
|
07-16-2012, 05:32 AM
|
#55
|
|
Senior Member
Registered: Aug 2004
Location: Pisa, Italy
Distribution: Slackware
Posts: 1,983
|
Quote:
Originally Posted by ponce
|
some days later as they anticipated, but now they seem to sell it for real: I'll order some more
EDIT: I ordered four more, but you can do it only as business: if you order as an individual it looks you can order just one.
Last edited by ponce; 07-16-2012 at 08:21 AM.
|
|
|
|
07-16-2012, 11:19 AM
|
#56
|
|
Member
Registered: Sep 2009
Location: Yorks. W.R. 167397
Distribution: Slackware 13.37
Posts: 171
Rep: 
|
FYI I've done a new build of the installer image, and new packages for the kernel, modules and boot firmware (built from the official Raspberry Pi git repos last revised two days ago). These are available from http://www.daves-collective.co.uk/raspi/ (it's moved  )
The new kernel includes a fix for the slow swap problem, new drivers for the Pi's i2c and spi hardware, and lots of bugfixes. The commit history is here. To upgrade your kernel etc, download the packages and use upgradepkg (or install them with installpkg if you haven't previously installed my kernel packages) and reboot.
There's also a new version of the raspi-hacks package that now includes teh_orph's memcpy/memset performance improvements, and slackbuilds to build everything, including the kernel and installer image.
I hope it all works properly and is useful. If you find any problems, I'll be grateful for your feedback. Thanks!
|
|
|
1 members found this post helpful.
|
07-16-2012, 11:36 AM
|
#57
|
|
Senior Member
Registered: Aug 2004
Location: Pisa, Italy
Distribution: Slackware
Posts: 1,983
|
I'm on holiday now and I will be back at home (with the little friend) at the end of july, but I will surely try them
BTW, on my raspi I'm running a kernel patched with bfs and bfq.
|
|
|
|
07-16-2012, 12:45 PM
|
#58
|
|
Member
Registered: Jul 2009
Location: Canelones, Uruguay
Distribution: Slackware
Posts: 121
Rep:
|
Quote:
Originally Posted by 55020
FYI I've done a new build of the installer image, and new packages for the kernel, modules and boot firmware (built from the official Raspberry Pi git repos last revised two days ago). These are available from http://www.daves-collective.co.uk/raspi/ (it's moved  )
The new kernel includes a fix for the slow swap problem, new drivers for the Pi's i2c and spi hardware, and lots of bugfixes. The commit history is here. To upgrade your kernel etc, download the packages and use upgradepkg (or install them with installpkg if you haven't previously installed my kernel packages) and reboot.
There's also a new version of the raspi-hacks package that now includes teh_orph's memcpy/memset performance improvements, and slackbuilds to build everything, including the kernel and installer image.
I hope it all works properly and is useful. If you find any problems, I'll be grateful for your feedback. Thanks!
|
Thanks for your work! currently my Raspberry Pi has the original system image (the one posted in the official forums) and is working great as an "always on" computer (currently 7 days uptime) with remote access and a few git repositories.
I want to try your kernels, can I use them by installing over my current system? I assume I can, but I'd like to know beforehand :-)
|
|
|
|
07-16-2012, 01:45 PM
|
#59
|
|
Member
Registered: Sep 2009
Location: Yorks. W.R. 167397
Distribution: Slackware 13.37
Posts: 171
Rep: 
|
Quote:
Originally Posted by AlvaroG
can I use them by installing over my current system? I assume I can, but I'd like to know beforehand :-)
|
Yes, you can. If you're running one of the preinstalled images, the original kernel and boot files are not packaged, so you probably want to back up everything in /boot (just in case  )
The raspi-boot package will replace /boot/bootcode.bin, loader.bin and start.elf.
The kernel_raspi package will replace /boot/kernel.img.
The kernel-modules-raspi package will install modules to /lib/modules/3.1.9-20120716/ and will leave the originals in /lib/modules/3.1.9+/ so theoretically those don't need a backup. You might want to delete the originals in a few days if it all works out ok.
After installing these three packages, and before you reboot, please check /boot/cmdline.txt.new and /boot/config.txt.new for any changes that you want to merge into your own cmdline.txt and config.txt (the .new files will only be created if there is a change from your current files, just like the .new files in /etc when you do an upgrade).
Because of upstream changes some weeks ago, the new kernel needs the new boot files, and the original kernel needs the original boot files, so you need to install or upgrade or revert all three packages at the same time. Going forward, this might not always be necessary, but at the moment you need to install all three packages.
Because the /boot files are on a vfat partition, they can occasionally become corrupted if you don't get a nice clean shutdown after updating them. Maybe you could type "sync;sync" before rebooting, just to be sure. Maybe I should add that to the doinst.sh... hmm... Anyway, good luck!
|
|
|
|
07-16-2012, 07:07 PM
|
#60
|
|
Member
Registered: Jul 2009
Location: Canelones, Uruguay
Distribution: Slackware
Posts: 121
Rep:
|
Hi, thanks for your instructions. I installed the packages, the three you mentioned and in that order, and then I installed the raspi-hacks and (after stopping udev) the raspi-devs packages. Rebooted, and everything is back up without any issues. I killed my uptime, but I guest it's worth it
Thanks again!
|
|
|
|
| Thread Tools |
Search this Thread |
|
|
|
Posting Rules
|
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is Off
|
|
|
All times are GMT -5. The time now is 05: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
|
|