qtmoko v35
Ed Kapitein
ed at kapitein.org
Tue Apr 12 11:10:47 CEST 2011
On Tuesday 12 April 2011 10:34:38 giacomo 'giotti' mariani wrote:
> Hello everyone,
>
> > [...]
> >
> >> > We had problems with ubifs too. Gennady talked to ubifs devs and they
> >> > would like to see the kernel message and nandump so they could try
> >> > too look into it.
> >> >
> >> > It seems that ubifs is not as stable as jffs2 which was 100% perfect.
> >> > Only problem is that jffs2 cant do mmap and apt-get does not work
> >> > without mmap.
> >> >
> >> > Jffs2 will never do mmap (according to the main devel it's a lot of
> >> > complex work because of compression) so we have these options now:
> >> >
> >> > * live with bugged ubifs
> >> > * patch apt-get so that it works without mmap
> >> > * use the old trick with /var/cache/apt on tmpfs, but this has
> >> > problems with limited memory and bigger upates/upgrades might not
> >> > work * use some other flash filesystem - yaffs seems but does not
> >> > support compression, i havent looked at logfs yet
> >> >
> >> > So any suggestions?
> >
> > We could use jffs2 if we link /var/cache/apt to a tiny partition on SD.
> > Then while SD is in huge updates will work, if SD is removed -> no apt,
> > but still a runing system.
>
> In my opinion ubifs is a great improvement: it looks faster than jffs2
> and less memory consumer than jffs2.
> It should be used, if possible. So I suggest to use it and to send
> kernel messages and nandump to ubifs guys in order to help them.
>
> And that's what I'm doing ;-)
>
> Cheers
> Giacomo
Perhaps just a crazy idea: make a loopback file with a ext2/3 fs and mount that
on /var/cache/apt ?
Kind regards,
Ed
More information about the community
mailing list