1 what's your platform? 2 how do you compile your sreadahead pkg, try to compile with -Wall -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector 3 >Wrote 3 out of 9148 lines >RAccount is 3 > >The number of records is incredible small. It depends on when you do it.
As your questoin on : any one is using in successully under ext3, Yes, we alwasys use it under ext3 successfully. ________________________________ From: Sam Lin [mailto:[EMAIL PROTECTED] Sent: 2008年11月11日 17:22 To: Zhang, Austin Cc: [EMAIL PROTECTED] Subject: Re: [Moblin Dev] Does/Will sreadahead support squashfs + unionfs (ext3 under) ? That will abort generate_filelist with: ~$ /sbin/generate_filelist root.list > log *** buffer overflow detected ***: /sbin/generate_filelist terminated ======= Backtrace: ========= /lib/libc.so.6(__fortify_fail+0x3a)[0xb7ed80ea] /lib/libc.so.6[0xb7ed699c] /lib/libc.so.6(__strcpy_chk+0x3c)[0xb7ed5f3c] /sbin/generate_filelist[0x8048bd2] /sbin/generate_filelist[0x8048ce6] /sbin/generate_filelist[0x8048d68] /lib/libc.so.6(__libc_start_main+0xd0)[0xb7e07440] /sbin/generate_filelist[0x8048761] ======= Memory map: ======== 08048000-08049000 r-xp 00000000 08:02 721 /persistmnt/sbin/generate_filelist 08049000-0804a000 r--p 00001000 08:02 721 /persistmnt/sbin/generate_filelist 0804a000-0804b000 rw-p 00002000 08:02 721 /persistmnt/sbin/generate_filelist 0804b000-08104000 rw-p 0804b000 00:00 0 [heap] b7ddb000-b7de5000 r-xp 00000000 08:02 17018 /persistmnt/lib/libgcc_s.so.1 b7de5000-b7de6000 rw-p 0000a000 08:02 17018 /persistmnt/lib/libgcc_s.so.1 b7df0000-b7df1000 rw-p b7df0000 00:00 0 b7df1000-b7f34000 r-xp 00000000 07:00 55666 /squashmnt/lib/libc-2.7.so b7f34000-b7f35000 r--p 00143000 07:00 55666 /squashmnt/lib/libc-2.7.so b7f35000-b7f37000 rw-p 00144000 07:00 55666 /squashmnt/lib/libc-2.7.so b7f37000-b7f3a000 rw-p b7f37000 00:00 0 b7f42000-b7f46000 rw-p b7f42000 00:00 0 b7f46000-b7f47000 r-xp b7f46000 00:00 0 [vdso] b7f47000-b7f63000 r-xp 00000000 07:00 55634 /squashmnt/lib/ld-2.7.so b7f63000-b7f65000 rw-p 0001b000 07:00 55634 /squashmnt/lib/ld-2.7.so bfcec000-bfd01000 rw-p bffeb000 00:00 0 [stack] Aborted I did use a smaller file set "find /usr/lib -type f > usr.lib.txt" for test output of "/sbin/generate_filelist usr.lib.txt" as: ... Wrote 3 out of 9148 lines RAccount is 3 The number of records is incredible small. Sam Zhang, Austin 提到: I applied ext3 fs patch good I used generate_filelist with a parameter /etc/readahead/boot collected by readahead-list. not sure the content you mentioned, but in fact sreadahead was not fully similar with original readahead. So please have a try as: 1 after booting, run: find / -type f > temp.file 2 generate_filelist temp.file 3 check if you get the readahea.packed under /etc -----Original Message----- From: Sam Lin [mailto:[EMAIL PROTECTED] Sent: 2008年11月11日 16:39 To: Zhang, Austin Cc: [EMAIL PROTECTED]<mailto:[EMAIL PROTECTED]> Subject: Re: [Moblin Dev] Does/Will sreadahead support squashfs + unionfs (ext3 under) ? I applied ext3 fs patch I used generate_filelist with a parameter /etc/readahead/boot collected by readahead-list. # /sbin/generate_filelist /etc/readahead/boot the output is: Wrote 1 out of 1442 lines RAcount is 1 This is strange. I used aufs to union squashfs and ext3 and I don't know if generate_filelist works on such configuration. Sam Zhang, Austin 提到: How do you use it? It should support ext3 already. But if you got it from moblin.org, you need to patch that ext3 FS patch to your kernel. Generate_filelist needs a parameter as input to generate the output file (readahead.packed). -----Original Message----- From: [EMAIL PROTECTED]<mailto:[EMAIL PROTECTED]> [mailto:[EMAIL PROTECTED] On Behalf Of Sam Lin Sent: 2008年11月11日 14:14 To: [EMAIL PROTECTED]<mailto:[EMAIL PROTECTED]> Subject: [Moblin Dev] Does/Will sreadahead support squashfs + unionfs (ext3 under) ? Hi All, I tried sreadahead on squashfs/unionfs/ext3 configuration but not working. generate_filelist output nearly zero record readahead.packed. I copied another readahead generated from NB but sreadahead seems do nothing about the file. (the readahead.packed is located correctly as coded /etc/readahead.packed) Is there some efforts to do with sreadahead/generate_filelist to support squashfs/union/ext3 configuration ? Sam _______________________________________________ Moblin dev Mailing List [email protected]<mailto:[email protected]> To manage or unsubscribe from this mailing list visit: https://lists.moblin.org/mailman/listinfo/dev or your user account on http://moblin.org once logged in. For more information on the Moblin Developer Mailing lists visit: http://moblin.org/community/mailing-lists
_______________________________________________ Moblin dev Mailing List [email protected] To manage or unsubscribe from this mailing list visit: https://lists.moblin.org/mailman/listinfo/dev or your user account on http://moblin.org once logged in. For more information on the Moblin Developer Mailing lists visit: http://moblin.org/community/mailing-lists
