[PATCH] Re: readahead offset type (re: mantis 0001024)

Asier Llano Palacios a.llano at usyscom.com
Tue Jan 30 07:45:44 UTC 2007


I work with a linux kernel 2.6.19.2, uClibc 0.9.28.1, I have 4 MBytes of
flash (so my filesystem is is a cramfs that ranges from 2 MB to 2.5 MB
(depends on the product). It is plenty of space for me if I don't
include anything I don't use, and I don't see the point of using LFS in
these systems nor readahead. I build without LFS and readahead is
currently the only problem in uClibc for me because of LFS dependency.

Thank you
Asier Llano

El lun, 29-01-2007 a las 15:46 -0500, Mark S. Mathews escribió:
> Thanks for the patch Asier, but I don't believe disabling this syscall  
> is quite the right way to go either.
> 
> Mike,
> 
> I did a little looking about and it would appear the LFS should be  
> enabled for a build with just about _any_ reasonably recent kernel,  
> whether one needs it or not (my target FS's are normally no larger  
> than 16M ;-).
> 
>    Is this a reasonably correct statement?
> 
> It got turned off in my build because of my using svn-head buildroot  
> and 0.9.28.1 uClibc (the toolchain/uClibc/..config file didn't get  
> picked up due to version matching in uclibc.mk).
> 
> No complaints here, just looking for better understanding.
> 
> Thanks,
> -Mark
> 
> 
> Quoting Asier Llano Palacios <a.llano at usyscom.com>:
> 
> > I've done this patch to let it compile without LFS.
> >
> > Asier
> >
> > El lun, 29-01-2007 a las 12:37 -0500, Mark S. Mathews escribió:
> >> Hello All,
> >>
> >> Bug #0001024 (syntax error on offset arg in libc/sysdeps/common/readahead.c)
> >> is marked closed, but I ran into it with:
> >>
> >>   uClibc-0.9.28.1,
> >>   buildroot-17604,
> >>   gcc-3.4.3
> >>   binutils-2.17.50.0.10
> >>   linux-libc-headers-2.4.27
> >>   target=armeb/xscale
> >>
> >> Changing off64_t to loff_t (to match sys_readahead in this kernel)
> >> seems to work for me.
> >>
> >> Since loff_t is a kernel-defined type , I'm guessing this isn't a
> >> generally acceptable solution.
> >>
> >> If someone's got some thoughts on the 'right way' to fix it, I'm all ears.
> >>
> >> Thanks,
> >> -Mark
> >>
> >> Mark S. Mathews
> >>
> >> AbsoluteValue Systems      Web:    http://www.linux-wlan.com
> >> 721-D North Drive          e-mail: mark at linux-wlan.com
> >> Melbourne, FL 32934        Phone:  321.259.0737
> >> USA                        Fax:    321.259.0286
> >>
> >> _______________________________________________
> >> uClibc mailing list
> >> uClibc at uclibc.org
> >> http://busybox.net/cgi-bin/mailman/listinfo/uclibc
> >
> > ----------------------------------------- PLEASE NOTE   
> > -------------------------------------------
> > This message, along with any attachments, may be confidential or   
> > legally privileged.
> > It is intended only for the named person(s), who is/are the only   
> > authorized recipients.
> > If this message has reached you in error, kindly destroy it without   
> > review and notify the sender immediately.
> > Thank you for your help.
> > µSysCom uses virus scanning software but excludes any liability for   
> > viruses contained in any attachment.
> >
> > ------------------------------------ ROGAMOS LEA ESTE TEXTO   
> > -------------------------------
> > Este mensaje y sus anexos pueden contener información confidencial   
> > y/o con derecho legal.
> > Está dirigido únicamente a la/s persona/s o entidad/es reseñadas   
> > como único destinatario autorizado.
> > Si este mensaje le hubiera llegado por error, por favor elimínelo   
> > sin revisarlo ni reenviarlo y notifíquelo inmediatamente al   
> > remitente. Gracias por su colaboración.
> > µSysCom utiliza software antivirus, pero no se hace responsable de   
> > los virus contenidos en los ficheros anexos.
> >
> 
> 
> 
> Mark S. Mathews
> 
> AbsoluteValue Systems      Web:    http://www.linux-wlan.com
> 721-D North Drive          e-mail: mark at linux-wlan.com
> Melbourne, FL 32934        Phone:  321.259.0737
> USA                        Fax:    321.259.0286
> 
 
----------------------------------------- PLEASE NOTE -------------------------------------------
This message, along with any attachments, may be confidential or legally privileged. 
It is intended only for the named person(s), who is/are the only authorized recipients.
If this message has reached you in error, kindly destroy it without review and notify the sender immediately.
Thank you for your help.
µSysCom uses virus scanning software but excludes any liability for viruses contained in any attachment.
 
------------------------------------ ROGAMOS LEA ESTE TEXTO -------------------------------
Este mensaje y sus anexos pueden contener información confidencial y/o con derecho legal. 
Está dirigido únicamente a la/s persona/s o entidad/es reseñadas como único destinatario autorizado.
Si este mensaje le hubiera llegado por error, por favor elimínelo sin revisarlo ni reenviarlo y notifíquelo inmediatamente al remitente. Gracias por su colaboración.  
µSysCom utiliza software antivirus, pero no se hace responsable de los virus contenidos en los ficheros anexos.



More information about the uClibc mailing list