Author Topic: Need Ipkg.conf  (Read 2767 times)

toomuchtime

  • Newbie
  • *
  • Posts: 3
    • View Profile
Need Ipkg.conf
« on: November 06, 2005, 04:52:32 am »
I accidently screwed up my /etc/ipkg.conf from OZ 3.5.3 collie and attempeted to remake it but now it always segfaults. Would someone please be so kind as to post the default ipkg.conf?

:edit:
I had the ipkg.conf right. Turns out that /dev/root is full yet I have 220MB left on sd.  I installed to sd too. Is there a known bug that causes this or anything I can do to clear it up?
« Last Edit: November 06, 2005, 05:51:50 am by toomuchtime »

lardman

  • Hero Member
  • *****
  • Posts: 4512
    • View Profile
    • http://people.bath.ac.uk/enpsgp/Zaurus/
Need Ipkg.conf
« Reply #1 on: November 06, 2005, 11:33:08 am »
Quote
Turns out that /dev/root is full yet I have 220MB left on sd. I installed to sd too.

If the sd card hasn't been mounted then the /media/card dir will still point to / so stuff installed there will fill the internal flash. See if this is the case.

Uninstall some things if you can using ipkg, otherwise remove some of the files by hand until there is sufficient flash space for ipkg to run.


Si
C750 OZ3.5.4 (GPE, 2.6.x kernel)
SL5500 OZ3.5.4 (Opie)
Nokia 770
Serial GPS, WCF-12, Socket Ethernet & BT, Ratoc USB
WinXP, Mandriva

toomuchtime

  • Newbie
  • *
  • Posts: 3
    • View Profile
Need Ipkg.conf
« Reply #2 on: November 09, 2005, 11:00:05 am »
Well I uninstalled everything that I had installed and a few other things. I never entered any data into the Z. It went back to a whole 50k...lol. I reflashed with henteges oz 3.5.3  now I have 1.4 mb. I installed something, uninstalled it, soft rebooted and whammo 700k left   . There does appear to be some problem with freeing back the space on /dev/root and it happens with both stock 0Z and henteges roms.

Try checking the free space then install something. Uninstall whatever you just installed then check the free space again. You'll see what I mean. Something is still left behind but where...what?

lardman

  • Hero Member
  • *****
  • Posts: 4512
    • View Profile
    • http://people.bath.ac.uk/enpsgp/Zaurus/
Need Ipkg.conf
« Reply #3 on: November 09, 2005, 11:49:24 am »
jffs2 is a funny beast: http://sourceware.org/jffs2/

Specifically: http://sourceware.org/jffs2/jffs2.pdf or http://sourceware.org/jffs2/jffs2-html/

My understanding is that the garbage collection is performed when the system is rebooted, therefore you may need to do this (a couple of times?) before your space will be reclaimed.


Si
C750 OZ3.5.4 (GPE, 2.6.x kernel)
SL5500 OZ3.5.4 (Opie)
Nokia 770
Serial GPS, WCF-12, Socket Ethernet & BT, Ratoc USB
WinXP, Mandriva

toomuchtime

  • Newbie
  • *
  • Posts: 3
    • View Profile
Need Ipkg.conf
« Reply #4 on: November 09, 2005, 06:31:36 pm »
Good reading.  Thanks for the links.  Seems that jffs2 is still very beta. I have tested henteges extensively now and rebooted upwards of six times after uninstalling from the command line ... the sd regains space but /dev/root never does garbage collection once the system gets down to about 300-500k free space(which is extremely easy to do). I even went so far as to uninstall almost everthing. Ah well it's still the best Z rom out there .

lardman

  • Hero Member
  • *****
  • Posts: 4512
    • View Profile
    • http://people.bath.ac.uk/enpsgp/Zaurus/
Need Ipkg.conf
« Reply #5 on: November 10, 2005, 05:27:06 am »
Quote
the sd regains space

SD cards can't be formatted with jffs2 (not easily anyway).

Quote
but /dev/root never does garbage collection once the system gets down to about 300-500k free space(which is extremely easy to do).

This is probably the thing to do with it requiring (more) free space (than that) to perform the garbage collection.


Si
C750 OZ3.5.4 (GPE, 2.6.x kernel)
SL5500 OZ3.5.4 (Opie)
Nokia 770
Serial GPS, WCF-12, Socket Ethernet & BT, Ratoc USB
WinXP, Mandriva