Re: [SHR-Unstable] opkg upgrade fail

2009-06-23 Thread fredrik normann
On Fri, Apr 10, 2009 at 2:52 AM, Rask Ingemann Lambertsen
r...@sygehus.dkwrote:

 On Thu, Apr 09, 2009 at 11:41:36AM -0500, The Digital Pioneer wrote:
  Ahh, swapfile did the trick it seems. How can I make it automount my
  swapfile on boot?



This is how I made a 128MB swapfile:

dd if=/dev/zero of=swp.file bs=1k count=128000

Add this to fstab
# Swapfile
/swp.file  swapswapdefaults0 0

mkswap /swp.file

swapon swp.file

Now it should work, at least for me :)
___
Openmoko community mailing list
community@lists.openmoko.org
http://lists.openmoko.org/mailman/listinfo/community


Re: [SHR-Unstable] opkg upgrade fail

2009-04-09 Thread Rask Ingemann Lambertsen
On Wed, Apr 08, 2009 at 05:04:17PM -0500, The Digital Pioneer wrote:

 opkg: fork failed
 Segmentation fault
 
 How do I get it to upgrade? :\

   Perhaps it runs out of memory. Do you have a swap partition or swap file?

-- 
Rask Ingemann Lambertsen
Danish law requires addresses in e-mail to be logged and stored for a year

___
Openmoko community mailing list
community@lists.openmoko.org
http://lists.openmoko.org/mailman/listinfo/community


Re: [SHR-Unstable] opkg upgrade fail

2009-04-09 Thread The Digital Pioneer
Ahh, swapfile did the trick it seems. How can I make it automount my
swapfile on boot?
___
Openmoko community mailing list
community@lists.openmoko.org
http://lists.openmoko.org/mailman/listinfo/community


Re: [SHR-Unstable] opkg upgrade fail

2009-04-09 Thread Johny Tenfinger
On Thu, Apr 9, 2009 at 18:41, The Digital Pioneer
digitalpion...@gmail.com wrote:
 Ahh, swapfile did the trick it seems. How can I make it automount my
 swapfile on boot?

The key is: /etc/fstab ;)

___
Openmoko community mailing list
community@lists.openmoko.org
http://lists.openmoko.org/mailman/listinfo/community


Re: [SHR-Unstable] opkg upgrade fail

2009-04-09 Thread The Digital Pioneer
Yeah, I get that much, but what do I put into it? :P
___
Openmoko community mailing list
community@lists.openmoko.org
http://lists.openmoko.org/mailman/listinfo/community


Re: [SHR-Unstable] opkg upgrade fail

2009-04-09 Thread Stefan Monnier
 Yeah, I get that much, but what do I put into it? :P

google swap /etc/fstab should give you the necessary info.


Stefan


___
Openmoko community mailing list
community@lists.openmoko.org
http://lists.openmoko.org/mailman/listinfo/community


Re: [SHR-Unstable] opkg upgrade fail

2009-04-09 Thread Rask Ingemann Lambertsen
On Thu, Apr 09, 2009 at 11:41:36AM -0500, The Digital Pioneer wrote:
 Ahh, swapfile did the trick it seems. How can I make it automount my
 swapfile on boot?

# grep -F -e swap /etc/fstab 
/dev/mmcblk0p4  swapswapdefaults0 0

^^ name of swap file/partition

-- 
Rask Ingemann Lambertsen
Danish law requires addresses in e-mail to be logged and stored for a year

___
Openmoko community mailing list
community@lists.openmoko.org
http://lists.openmoko.org/mailman/listinfo/community