I-Appliance BBS
The Official Source for Internet Appliance Upgrades and Mods
Amazon Honor System Click Here to Pay Learn More
BBS Main List | Sign In | Sign Up | Search | Help | Linux-Hacker.netReply to Thread | Printer |

Home / Other I-Appliances / WebPal
anyone having problems activating swap under linux?
anyone having problems activating swap under linux?

New Messageanyone having problems activating swap under linux? (modified 0 times) mevanson
Profile
I've installed Debian potato following the instructions posted within this forum. It works great. I've tried both root nfs and local hard drive installs and both work equally well.

I am having a problem, however with enabling swap on a local partition (or even a file). Of course, I first use mkswap to initialize the area.

When I use swapon, though, I get a segmentation fault. I've tried it with both the debian version and a busybox version built with uclibc (all the other busybox utils from the same compile seem to work fine).

From the proc file system:

webpal1:~# cat /proc/swaps
Filename Type Size Used Priority
/swap file 0 0 -1
webpal1:~# cat /proc/meminfo
total: used: free: shared: buffers: cached:
Mem: 6742016 6455296 286720 0 143360 3620864
Swap: 0 0 0
MemTotal: 6584 kB
MemFree: 280 kB
MemShared: 0 kB
Buffers: 140 kB
Cached: 3536 kB
SwapCached: 0 kB
Active: 1104 kB
Inactive: 3664 kB
HighTotal: 0 kB
HighFree: 0 kB
LowTotal: 6584 kB
LowFree: 280 kB
SwapTotal: 0 kB
SwapFree: 0 kB
webpal1:~#

Any ideas or suggestions?

02-06-2003 08:16:50

New MessageRE:anyone having problems activating swap under linux? (modified 0 times) mevanson
Profile
Just tried the zImage bigbrd has on his site and I'm able to activate swap just fine with that kernel.

What toolchain and platform did you use to build that image, bigbrd?

02-06-2003 21:29:07

New MessageRE:anyone having problems activating swap under linux? (modified 0 times) bigbrd
Profile
I built it with the toolchain that is linked to on my webpage....its gcc 2.95.3.

The .config file I think I used is also on the web page.

02-10-2003 21:48:50

New MessageRE:anyone having problems activating swap under linux? (modified 0 times) ranma
Profile
I have the same problem. I am currently using gcc-arm from http://www.emdebian.org/.
I even tried rebuilding bigbrd's kernel using the toolchain linked on his site, but got an oops everytime I try to activate swap.
02-13-2003 19:37:57

New MessageRE:anyone having problems activating swap under linux? (modified 0 times) justdavesj
Profile | Email
I am having a similar problem. First in the fstab if I use the swap file type it complains that it doesn't know how to swap to that file type. If I use sw there are no complaints but available swap space shows 0. I have tried scratchy's zimage and one that I built myself, but I will try bigbrd's tomorrow. The reason I need the swap space is that I am getting errors using dpkg to install the libc6 and I think that it is because it needs more memory.
03-01-2003 19:16:30

New MessageRE:anyone having problems activating swap under linux? (modified 0 times) justdavesj
Profile | Email
Well, I used bigbrd's .config to build the kernel and now my swap space mounts fine. I'm not sure what the problem was, but I will look into it as time permits.

dave

03-02-2003 17:28:54

New MessageRE:anyone having problems activating swap under linux? (modified 0 times) n1gp
Profile
justdavesj, seems like you have been working with the webpal for
some time now. I wonder what your end goal is on this project?

For me I hope to be able to get a higher resolution (> 8BPP) and
also hook up LIRC, then I'll be able to display my photo collection
and control my entertainment center via the webpal.

Have you tried running X yet?

03-02-2003 18:05:49

New MessageRE:anyone having problems activating swap under linux? (modified 0 times) justdavesj
Profile | Email
I am planning on getting a small web browser working so that I can have webpals in each room of the house for internet access. I also have a server on my network with all of my cds in mp3 format. I would like the webpal to be able to act as a jukebox to play selected songs that my server would stream to it. I read your idea and will be working on the higher bpp problem in a few days. Let me know how far you have gotten. As I'm working on it I get more ideas of things to do and will try them as time permits. Of course I want all this to run on a webpal with no hard disk and only 32mb of ram, but I think it will work.

I love Linux!!!!!!!

dave

03-02-2003 23:02:40

New MessageRE:anyone having problems activating swap under linux? (modified 0 times) n1gp
Profile
I tried compiling dillo 0.7 (natively), got it to compile OK, but
it gives a segmentation fault immediately upon execution. If I get
a chance I'll try 0.66 since zooloo was able to get that working.
(although he did mention some hacks to disable threading, I wish I
knew what those were?). We may need to investigate further why the
threading doesn't work?

As for streaming MP3's, I dont know if the ARM can handle decoding
it on the fly. Since your serving (NFS) your FS (like me), we may be
able to convert the MP3 on the server to a .WAV, then play that on
the webpal (with a slight pitch variation due to the clock).

As for the 16BPP problem, well, I've gone to the source (Russell M King,
http://lists.arm.linux.org.uk/mailman/listinfo/linux-arm-kernel)
and have gotten some help, but nothing concrete. We use the acorn frame
buffer driver and we get away with 640x480x8, but anything higher is
not OK. Seems it is OK on other platforms that use the same acorn driver
so it may be a CL-PS7500FE problem (/difference :^)

Keep me informed on your progress, I'll do the same...

-Rick

03-03-2003 08:27:51

Reply to Thread | Printer |
All times are PSTPowered by UltraBoard v1.62



Copyright © 2000, Netmake Inc. All Rights Reserved.
See Terms and Conditions for more information.




i-opener opener laptop notebook computer help drivers dll free windows dos repair fix linux mac macintosh 2000 95 98 nt pc configure hardware software sound video netscape explorer network networking lan wan software cmos fat bios printer card mouse modem ide scsi cd rom controllers scanner tape hard drive cgi scripts source code mp3