Messages in this thread | | | Date | Wed, 18 Jun 2008 22:43:25 +0800 | From | "Bob Zhang" <> | Subject | Re: Does anyone run AXFS in 2.4 version of kernel ? I am trying my best to apply AXFS patches into 2.4.18 |
| |
Good news , AXFS XIP has already worked well in 2.4.21 kernel . Till now , in 2.4.21 , AXFS compressed and XIP both work well. it can be said that balanced XIP is OK.
all files related with AXFS have been ported to 2.4.21 kernel .
My rootfs is a simple file system consisted fo busybox . I have set most pages data of /bin/busybox to be XIP and some pages of /bin/busybox are set to be compressed , and /strace is no XIP ,full compressed . I will execute ifconfig(linked to busybox) and strace to keep them distinct .
1 , Preparation
In fact , the information from profiling data is engough to create a Input xml file . Through reading the source code of mkfs.axfs.c ( source code of generating the axfs img ) , I know that.
in 2.4.21 kernel , our profiling data is like this : complete file can be found at attachement named "axfs_profiling_data.txt" <<axfs_profiling_data.txt>>
/ $ cat /proc/axfs/volume0 #filename offset refer_count you can put the offset into xml file needed by mkfs.axfs.c ./bin/busybox,0,7 ./bin/busybox,28672,2 ./bin/busybox,53248,4 ./bin/busybox,143360,1 ./bin/busybox,147456,1 ./bin/busybox,151552,6 ./bin/busybox,155648,9 ./bin/busybox,159744,4 ./bin/busybox,163840,7 ./bin/busybox,167936,4 ./bin/busybox,204800,3 ./bin/busybox,233472,2 ./bin/busybox,237568,2 ./bin/busybox,241664,2 ./bin/busybox,245760,2 ./bin/busybox,249856,2
so our Input file is like this , complete file can be found at attachment "axfs.xml" <<axfs.xml>> Note : the size is all "4096". <xipfsmap> <file> <name>./bin/busybox</name> <chunk> <size>4096</size> <offset>0</offset> </chunk>
<chunk> <size>4096</size> <offset>28672</offset> </chunk>
<chunk> <size>4096</size> <offset>53248</offset> </chunk> ..... </xipfsmap>
Note: in fact <size>? </size> , must it be 4096 ? Certainly not , if you find some contiguous pages are called frequently , for example , 0~8191
you can write it like this: <chunk> <size>8192</size> <offset> 0 </offset> </chunk>
Create a new partially XIP rootfs image . mkfs.axfs -i axfs.xml root_fs balanced_xip.img
Detailed log can be found at attachment named "create_xip_image.log" <<create_xip_image.log>> because of debugging info added by me , so you only need to pay attention to such words "set_page_stat" "node_type = XIP" "node_index[375] = 7"
number of files: 325 number of 4KB nodes: 648 number of 4KB xip nodes: 39 //XIP pages number . you can how many "chunk" items in the xml file number of xip files: 1 // because I only set some pages of /bin/busybox to XIP, no setting other files .
2, testing and verifying
At last , my kernel-2.4.21 with axfs 's booting info is like this , complete file can be found at attachment named xip_booting.txt <<xip_booting.txt>>
because I added debug info , so booting messages is too large . but you only need to pay attention to such words
<< --------- Reading XIP page ------------ >> /// --------- Reading Compressed page ------------ /// node_type = XIP node_type = Compressed
For diffent kind of pages , kernel will call respective routines to handle.
XIP page: axfs_file_read->xip_file_read->axfs_get_xip_page() Compressed Page: axfs_file_read->generic_file_read->axfs_readpage
static struct address_space_operations axfs_aops = { .readpage = axfs_readpage, //for compressed page .get_xip_page = axfs_get_xip_page, //specially for XIP page reading };
From source code :
node_type = AXFS_GET_NODE_TYPE(sbi->metadata, array_index); bkdmsg("node_type = %s\n",node_type == Compressed?"Compressed": node_type == Byte_Aligned?"Byte_Aligned": node_type == XIP?"XIP":"No this type");
if (AXFS_GET_NODE_TYPE(sbi->metadata, array_index) == XIP) { printk("\n\n << --------- Reading XIP page ------------ >> \n"); size_read = xip_file_read(filp, buf, readlength, ppos); } else { //for compressed and Byte_Aligned printk("\n\n \/\/\/ --------- Reading Compressed page ------------ \/\/\/ \n"); size_read = //do_sync_read(filp, buf, readlength, ppos); //bob modify it generic_file_read(filp, buf, readlength, ppos); //2.4 don't support AIO }
for example , when you execute the command "ifconfig" , you will see output like this :
Test Case 1:
/ $ ifconfig ( ifconfig is linked to /bin/busybox , I have set parts of pages of busybox to XIP , some pages are of Compressed)
in sys_execve() , filename=/proc/self/exe File:[exec.c], at line:[412], [kernel_read()] will call file->f_op->read() function File:[axfs_inode.c], at line:[815], [axfs_file_read()] axfs_inode_number = 20 File:[axfs_inode.c], at line:[818], [axfs_file_read()] array_index=336 File:[axfs_inode.c], at line:[828], [axfs_file_read()] node_type = XIP
<< --------- Reading XIP page ------------ >> File:[filemap_xip.c], at line:[134], [xip_file_read()] File:[filemap_xip.c], at line:[69], [do_xip_mapping_read()] calling get_xip_page() function pointer
File:[axfs_inode.c], at line:[996], [axfs_get_xip_page()] File:[axfs_inode.c], at line:[1000], [axfs_get_xip_page()] axfs_get_xip_page:based on axfs_inode_number:(20)array_index=(1443109011456)
File:[axfs_inode.c], at line:[1002], [axfs_get_xip_page()] axfs_get_xip_page:array_index=336 File:[exec.c], at line:[920], [do_execve()] retval of prepare_binprm() = 128 File:[exec.c], at line:[925], [do_execve()] retval of copy_strings_kernel() = 0 File:[exec.c], at line:[935], [do_execve()] retval of copy_strings 2 = 0 File:[exec.c], at line:[412], [kernel_read()] will call file->f_op->read() function File:[axfs_inode.c], at line:[815], [axfs_file_read()] axfs_inode_number = 20 File:[axfs_inode.c], at line:[818], [axfs_file_read()] array_index=336 File:[axfs_inode.c], at line:[828], [axfs_file_read()] node_type = XIP
<< --------- Reading XIP page ------------ >> File:[filemap_xip.c], at line:[134], [xip_file_read()] File:[filemap_xip.c], at line:[69], [do_xip_mapping_read()] calling get_xip_page() function pointer
File:[axfs_inode.c], at line:[996], [axfs_get_xip_page()] File:[axfs_inode.c], at line:[1000], [axfs_get_xip_page()] axfs_get_xip_page:based on axfs_inode_number:(20)array_index=(1443109011456)
File:[axfs_inode.c], at line:[1002], [axfs_get_xip_page()] axfs_get_xip_page:array_index=336 File:[axfs_inode.c], at line:[476], [axfs_mmap()] bob:file->f_mapping address = c0199734 File:[axfs_inode.c], at line:[477], [axfs_mmap()] bob:file->f_mapping address->a_ops = c00e5e58 File:[binfmt_elf.c], at line:[752], [load_elf_binary()] bob commentted padzero(elf_bss) File:[exec.c], at line:[940], [do_execve()] retval of search_binary_handler() = 0 File:[sys_arm.c], at line:[273], [sys_execve()] do_execve return 0 ifconfig: no usable address families found ifconfig: socket: Address family not supported by protocol
Test Case 2: (fully Compressed pages ,no XIP,you will see no ./strace in axfs.xml)
/ $ ./strace -h / $ / $ ./strace in sys_execve() , filename=./strace File:[exec.c], at line:[412], [kernel_read()] will call file->f_op->read() function File:[axfs_inode.c], at line:[815], [axfs_file_read()] axfs_inode_number = 13 File:[axfs_inode.c], at line:[818], [axfs_file_read()] array_index=107 File:[axfs_inode.c], at line:[828], [axfs_file_read()] node_type = Compressed
/// --------- Reading Compressed page ------------ /// File:[exec.c], at line:[920], [do_execve()] retval of prepare_binprm() = 128 File:[exec.c], at line:[925], [do_execve()] retval of copy_strings_kernel() = 0 File:[exec.c], at line:[935], [do_execve()] retval of copy_strings 2 = 0 File:[exec.c], at line:[412], [kernel_read()] will call file->f_op->read() function File:[axfs_inode.c], at line:[815], [axfs_file_read()] axfs_inode_number = 13 File:[axfs_inode.c], at line:[818], [axfs_file_read()] array_index=107 File:[axfs_inode.c], at line:[828], [axfs_file_read()] node_type = Compressed
/// --------- Reading Compressed page ------------ /// File:[axfs_inode.c], at line:[476], [axfs_mmap()] bob:file->f_mapping address = c1f68994 File:[axfs_inode.c], at line:[477], [axfs_mmap()] bob:file->f_mapping address->a_ops = c00e5e58 File:[binfmt_elf.c], at line:[752], [load_elf_binary()] bob commentted padzero(elf_bss) File:[exec.c], at line:[940], [do_execve()] retval of search_binary_handler() = 0 File:[sys_arm.c], at line:[273], [sys_execve()] do_execve return 0
./strace: -c and -ff are mutually exclusive options / $ / $
Examples above can show that my XIP and compressed both work well.
Best Regards, Bob <xipfsmap> <file> <name>./bin/busybox</name> <chunk> <size>4096</size> <offset>0</offset> </chunk> <chunk> <size>4096</size> <offset>28672</offset> </chunk> <chunk> <size>4096</size> <offset>53248</offset> </chunk> <chunk> <size>4096</size> <offset>143360</offset> </chunk> <chunk> <size>4096</size> <offset>147456</offset> </chunk> <chunk> <size>4096</size> <offset>151552</offset> </chunk> <chunk> <size>4096</size> <offset>155648</offset> </chunk> <chunk> <size>4096</size> <offset>159744</offset> </chunk> <chunk> <size>4096</size> <offset>163840</offset> </chunk> <chunk> <size>4096</size> <offset>167936</offset> </chunk> <chunk> <size>4096</size> <offset>204800</offset> </chunk> <chunk> <size>4096</size> <offset>233472</offset> </chunk> <chunk> <size>4096</size> <offset>237568</offset> </chunk> <chunk> <size>4096</size> <offset>241664</offset> </chunk> <chunk> <size>4096</size> <offset>245760</offset> </chunk> <chunk> <size>4096</size> <offset>249856</offset> </chunk> <chunk> <size>4096</size> <offset>380928</offset> </chunk> <chunk> <size>4096</size> <offset>413696</offset> </chunk> <chunk> <size>4096</size> <offset>417792</offset> </chunk> <chunk> <size>4096</size> <offset>421888</offset> </chunk> <chunk> <size>4096</size> <offset>425984</offset> </chunk> <chunk> <size>4096</size> <offset>430080</offset> </chunk> <chunk> <size>4096</size> <offset>438272</offset> </chunk> <chunk> <size>4096</size> <offset>442368</offset> </chunk> <chunk> <size>4096</size> <offset>446464</offset> </chunk> <chunk> <size>4096</size> <offset>450560</offset> </chunk> <chunk> <size>4096</size> <offset>454656</offset> </chunk> <chunk> <size>4096</size> <offset>466944</offset> </chunk> <chunk> <size>4096</size> <offset>471040</offset> </chunk> <chunk> <size>4096</size> <offset>475136</offset> </chunk> <chunk> <size>4096</size> <offset>483328</offset> </chunk> <chunk> <size>4096</size> <offset>487424</offset> </chunk> <chunk> <size>4096</size> <offset>491520</offset> </chunk> <chunk> <size>4096</size> <offset>503808</offset> </chunk> <chunk> <size>4096</size> <offset>507904</offset> </chunk> <chunk> <size>4096</size> <offset>520192</offset> </chunk> <chunk> <size>4096</size> <offset>528384</offset> </chunk> <chunk> <size>4096</size> <offset>532480</offset> </chunk> <chunk> <size>4096</size> <offset>536576</offset> </chunk> </file> </xipfsmap>
/ $ / $ / $ cat /proc/axfs/volume0 ./bin/busybox,0,7 ./bin/busybox,28672,2 ./bin/busybox,53248,4 ./bin/busybox,143360,1 ./bin/busybox,147456,1 ./bin/busybox,151552,6 ./bin/busybox,155648,9 ./bin/busybox,159744,4 ./bin/busybox,163840,7 ./bin/busybox,167936,4 ./bin/busybox,204800,3 ./bin/busybox,233472,2 ./bin/busybox,237568,2 ./bin/busybox,241664,2 ./bin/busybox,245760,2 ./bin/busybox,249856,2
========================== ./bin/busybox,253952,2 ./bin/busybox,258048,2 ./bin/busybox,262144,2 ./bin/busybox,266240,2 ./bin/busybox,270336,2 ./bin/busybox,274432,2 ./bin/busybox,278528,2 ./bin/busybox,282624,2 ./bin/busybox,286720,1 ./bin/busybox,290816,1 ./bin/busybox,294912,1 ./bin/busybox,303104,1 ./bin/busybox,307200,1 ./bin/busybox,315392,1 ./bin/busybox,339968,3 ./bin/busybox,348160,2 ./bin/busybox,376832,2 ================== ./bin/busybox,380928,7 ./bin/busybox,413696,6 ./bin/busybox,417792,7 ./bin/busybox,421888,6 ./bin/busybox,425984,7 ./bin/busybox,430080,11 ./bin/busybox,434176,4 ./bin/busybox,438272,7 ./bin/busybox,442368,7 ./bin/busybox,446464,7 ./bin/busybox,450560,5 ./bin/busybox,454656,9 ./bin/busybox,466944,6 ./bin/busybox,471040,6 ./bin/busybox,475136,7 ./bin/busybox,479232,2 ./bin/busybox,483328,7 ./bin/busybox,487424,4 ./bin/busybox,491520,4 ./bin/busybox,495616,2 ./bin/busybox,499712,1 ./bin/busybox,503808,11 ./bin/busybox,507904,9 ./bin/busybox,512000,1 ./bin/busybox,516096,2 ./bin/busybox,520192,5 ./bin/busybox,524288,3 ./bin/busybox,528384,7 ./bin/busybox,532480,6 ./bin/busybox,536576,7 / $ [unhandled content-type:application/octet-stream]bob-linux:/home/work/xip/linux-2.4.21_xip # bob-linux:/home/work/xip/linux-2.4.21_xip # bob-linux:/home/work/xip/linux-2.4.21_xip # skyeye-1.2.4-pxa -c skyeye.conf-axfs -e vmlinux -l 0xa0000000,0xffffff Your ELf file is loaded to another address,not its entry big_endian is false. arch: arm cpu info: xscale, pxa25x, 69052100, fffffff0, 2 mach info: name pxa_lubbock, mach_init addr 0x80622d0 ethmod num=1, mac addr=0:4:3:2:1:f, hostip=10.0.0.1 flash: dump none uart_mod:0, desc_in:, desc_out:, converter: SKYEYE: use xscale mmu ops Loaded FLASH ./balance_xip.img exec file "vmlinux"'s format is elf32-little. load section .init: addr = 0xc0008000 size = 0x0000a000. load section .text: addr = 0xc0012000 size = 0x000c6274. load section .kstrtab: addr = 0xc00d8274 size = 0x00004028. load section __ex_table: addr = 0xc00dc2a0 size = 0x00000878. load section __ksymtab: addr = 0xc00dcb18 size = 0x00001e50. load section .data: addr = 0xc00e0000 size = 0x0000a654. not load section .bss: addr = 0xc00ea660 size = 0x00024d30 . not load section .comment: addr = 0x00000000 size = 0x000010e0 . not load section .debug_abbrev: addr = 0x00000000 size = 0x0003bf71 . not load section .debug_info: addr = 0x00000000 size = 0x00d94440 . not load section .debug_line: addr = 0x00000000 size = 0x00092501 . not load section .debug_pubnames: addr = 0x00000000 size = 0x00018c1c . not load section .debug_str: addr = 0x00000000 size = 0x00032945 . not load section .debug_frame: addr = 0x00000000 size = 0x0001dae4 . not load section .debug_aranges: addr = 0x00000000 size = 0x000023f8 . not load section .debug_ranges: addr = 0x00000000 size = 0x000006e0 . call ARMul_InitSymTable,kernel filename is vmlinux. start addr is set to 0xa0008000 by exec file. Linux version 2.4.21-rmk2-pxa1 (root@bob-linux) (gcc version 3.3.3) #162 Tue Jun 17 21:54:58 CST 2008 CPU: XScale-PXA250 revision 0 Machine: Intel DBPXA250 Development Platform Ignoring unrecognised tag 0x00000000 Memory clock: 99.53MHz (*27) Run Mode clock: 99.53MHz (*1) Turbo Mode clock: 99.53MHz (*1.0, inactive) On node 0 totalpages: 8192 zone(0): 8192 pages. zone(1): 0 pages. zone(2): 0 pages. Kernel command line: root=/dev/mtdblock2 init=/bin/bash rw rootfstype=axfs rootflags=physaddr=0x140000 console=ttyS0,115200 mem=32M Calibrating delay loop... 187.59 BogoMIPS Memory: 32MB = 32MB total Memory: 31332KB available (792K code, 220K data, 40K init) Dentry cache hash table entries: 4096 (order: 3, 32768 bytes) Inode cache hash table entries: 2048 (order: 2, 16384 bytes) Mount cache hash table entries: 512 (order: 0, 4096 bytes) File:[super.c], at line:[798], [do_kern_mount()] File:[super.c], at line:[813], [do_kern_mount()] File:[super.c], at line:[798], [do_kern_mount()] File:[super.c], at line:[813], [do_kern_mount()] Buffer-cache hash table entries: 1024 (order: 0, 4096 bytes) Page-cache hash table entries: 8192 (order: 3, 32768 bytes) File:[super.c], at line:[798], [do_kern_mount()] File:[super.c], at line:[813], [do_kern_mount()] CPU: Testing write buffer: pass POSIX conformance testing by UNIFIX Linux NET4.0 for Linux 2.4 Based upon Swansea University Computer Society NET3.039 File:[super.c], at line:[798], [do_kern_mount()] File:[super.c], at line:[813], [do_kern_mount()] Disabling CPU frequency change support. CPU clock: 0.000 MHz (0.000-0.000 MHz) Starting kswapd File:[super.c], at line:[798], [do_kern_mount()] File:[super.c], at line:[813], [do_kern_mount()] File:[super.c], at line:[798], [do_kern_mount()] File:[super.c], at line:[813], [do_kern_mount()] devfs: v1.12c (20020818) Richard Gooch (rgooch@atnf.csiro.au) devfs: boot_options: 0x1 File:[super.c], at line:[798], [do_kern_mount()] File:[super.c], at line:[813], [do_kern_mount()] File:[super.c], at line:[798], [do_kern_mount()] File:[super.c], at line:[813], [do_kern_mount()] pty: 256 Unix98 ptys configured Serial driver version 5.05c (2001-07-08) with no serial options enabled ttyS00 at 0x0000 (irq = 15) is a PXA UART ttyS01 at 0x0000 (irq = 14) is a PXA UART ttyS02 at 0x0000 (irq = 13) is a PXA UART SA1100 Real Time Clock driver v1.00 rtc: warning: initializing default clock divider/trim value Uniform Multi-Platform E-IDE driver Revision: 7.00beta4-2.4 ide: Assuming 50MHz system bus speed for PIO modes; override with idebus=xx Probing Lubbock flash at physical address 0x00000000 (32-bit buswidth) cfi_cmdset_0001: Erase suspend on write enabled Using buffer write method No RedBoot partition table detected in Lubbock flash Using static partition definition Creating 3 MTD partitions on "Lubbock flash": 0x00000000-0x00040000 : "Bootloader" 0x00040000-0x00140000 : "Kernel" 0x00140000-0x02000000 : "Filesystem" NetWinder Floating Point Emulator V0.97 (double precision) File:[super.c], at line:[798], [do_kern_mount()] File:[super.c], at line:[813], [do_kern_mount()] File:[namespace.c], at line:[628], [do_add_mount()] do_kernn_mount is over File:[namespace.c], at line:[630], [do_add_mount()] err of do_kern_mount() = -1072245984 File:[namespace.c], at line:[633], [do_add_mount()] File:[namespace.c], at line:[641], [do_add_mount()] check_mnt() is OK File:[namespace.c], at line:[459], [graft_tree()] S_ISDIR(nd->dentry->d_inode->i_mode) = 1 File:[namespace.c], at line:[460], [graft_tree()] S_ISDIR(mnt->mnt_root->d_inode->i_mode) = 1 File:[namespace.c], at line:[649], [do_add_mount()] err of graft_tree() = 0 File:[namespace.c], at line:[746], [do_mount()] retval of do_add_mount=0 File:[namespace.c], at line:[860], [sys_mount()] retval of do_mount () = 0 File:[super.c], at line:[798], [do_kern_mount()] axfs: checking physical address 0x140000 for axfs image axfs: start axfs_do_fill_super into axfs_do_fill_super sbo->magic = 0xcde4a048 AXFS_MAGIC = 0x48a0e4cd File:[axfs_super.c], at line:[467], [axfs_do_fill_super()] sb->node_type = 9511883887983198208, 0x8401000000000000 axfs: doned axfs_do_fill_super axfs: axfs image appears to be 1040 KB in size axfs: doned axfs_check_super File:[axfs_inode.c], at line:[378], [axfs_create_vfs_inode()] inode->i_state = 0x40 sb's blocksize = 0 File:[super.c], at line:[813], [do_kern_mount()] File:[namespace.c], at line:[628], [do_add_mount()] do_kernn_mount is over File:[namespace.c], at line:[630], [do_add_mount()] err of do_kern_mount() = -1072245920 File:[namespace.c], at line:[633], [do_add_mount()] File:[namespace.c], at line:[641], [do_add_mount()] check_mnt() is OK File:[namespace.c], at line:[459], [graft_tree()] S_ISDIR(nd->dentry->d_inode->i_mode) = 1 File:[namespace.c], at line:[460], [graft_tree()] S_ISDIR(mnt->mnt_root->d_inode->i_mode) = 1 File:[namespace.c], at line:[649], [do_add_mount()] err of graft_tree() = 0 File:[namespace.c], at line:[746], [do_mount()] retval of do_add_mount=0 File:[namespace.c], at line:[860], [sys_mount()] retval of do_mount () = 0 err of sys_mount = 0 VFS: Mounted root (axfs filesystem) readonly. File:[namespace.c], at line:[746], [do_mount()] retval of do_add_mount=0 File:[namespace.c], at line:[860], [sys_mount()] retval of do_mount () = 0 File:[axfs_inode.c], at line:[378], [axfs_create_vfs_inode()] inode->i_state = 0x40 File:[super.c], at line:[798], [do_kern_mount()] File:[super.c], at line:[813], [do_kern_mount()] File:[namespace.c], at line:[628], [do_add_mount()] do_kernn_mount is over File:[namespace.c], at line:[630], [do_add_mount()] err of do_kern_mount() = -1072245984 File:[namespace.c], at line:[633], [do_add_mount()] File:[namespace.c], at line:[641], [do_add_mount()] check_mnt() is OK File:[namespace.c], at line:[459], [graft_tree()] S_ISDIR(nd->dentry->d_inode->i_mode) = 1 File:[namespace.c], at line:[460], [graft_tree()] S_ISDIR(mnt->mnt_root->d_inode->i_mode) = 1 File:[namespace.c], at line:[649], [do_add_mount()] err of graft_tree() = 0 File:[namespace.c], at line:[746], [do_mount()] retval of do_add_mount=0 Mounted devfs on /dev Freeing init memory: 40K in sys_execve() , filename=/bin/bash File:[axfs_inode.c], at line:[378], [axfs_create_vfs_inode()] inode->i_state = 0x40 File:[sys_arm.c], at line:[273], [sys_execve()] do_execve return -2 in sys_execve() , filename=/sbin/init File:[axfs_inode.c], at line:[378], [axfs_create_vfs_inode()] inode->i_state = 0x40 File:[axfs_inode.c], at line:[378], [axfs_create_vfs_inode()] inode->i_state = 0x40 File:[axfs_inode.c], at line:[378], [axfs_create_vfs_inode()] inode->i_state = 0x40 File:[exec.c], at line:[412], [kernel_read()] will call file->f_op->read() function File:[axfs_inode.c], at line:[815], [axfs_file_read()] axfs_inode_number = 20 File:[axfs_inode.c], at line:[818], [axfs_file_read()] array_index=336 File:[axfs_inode.c], at line:[828], [axfs_file_read()] node_type = XIP
<< --------- Reading XIP page ------------ >> File:[filemap_xip.c], at line:[134], [xip_file_read()] File:[filemap_xip.c], at line:[69], [do_xip_mapping_read()] calling get_xip_page() function pointer File:[axfs_inode.c], at line:[996], [axfs_get_xip_page()] File:[axfs_inode.c], at line:[1000], [axfs_get_xip_page()] axfs_get_xip_page:based on axfs_inode_number:(20)array_index=(1443109011456) File:[axfs_inode.c], at line:[1002], [axfs_get_xip_page()] axfs_get_xip_page:array_index=336 File:[exec.c], at line:[920], [do_execve()] retval of prepare_binprm() = 128 File:[exec.c], at line:[925], [do_execve()] retval of copy_strings_kernel() = 0 File:[exec.c], at line:[935], [do_execve()] retval of copy_strings 2 = 0 File:[exec.c], at line:[412], [kernel_read()] will call file->f_op->read() function File:[axfs_inode.c], at line:[815], [axfs_file_read()] axfs_inode_number = 20 File:[axfs_inode.c], at line:[818], [axfs_file_read()] array_index=336 File:[axfs_inode.c], at line:[828], [axfs_file_read()] node_type = XIP
<< --------- Reading XIP page ------------ >> File:[filemap_xip.c], at line:[134], [xip_file_read()] File:[filemap_xip.c], at line:[69], [do_xip_mapping_read()] calling get_xip_page() function pointer File:[axfs_inode.c], at line:[996], [axfs_get_xip_page()] File:[axfs_inode.c], at line:[1000], [axfs_get_xip_page()] axfs_get_xip_page:based on axfs_inode_number:(20)array_index=(1443109011456) File:[axfs_inode.c], at line:[1002], [axfs_get_xip_page()] axfs_get_xip_page:array_index=336 File:[axfs_inode.c], at line:[476], [axfs_mmap()] bob:file->f_mapping address = c0199734 File:[axfs_inode.c], at line:[477], [axfs_mmap()] bob:file->f_mapping address->a_ops = c00e5e58 File:[binfmt_elf.c], at line:[752], [load_elf_binary()] bob commentted padzero(elf_bss) File:[exec.c], at line:[940], [do_execve()] retval of search_binary_handler() = 0 File:[sys_arm.c], at line:[273], [sys_execve()] do_execve return 0 init started: BusyBox v1.4.1 (2007-02-10 01:19:06 CST) multi-cFile:[axfs_inode.c], at line:[378], [axfs_create_vfs_inode()] inode->i_state = 0x40 File:[axfs_inode.c], at line:[378], [axfs_create_vfs_inode()] inode->i_state = 0x40 File:[axfs_inode.c], at line:[815], [axfs_file_read()] axfs_inode_number = 209 File:[axfs_inode.c], at line:[818], [axfs_file_read()] array_index=534 File:[axfs_inode.c], at line:[828], [axfs_file_read()] node_type = Compressed
/// --------- Reading Compressed page ------------ /// all binary Starting pid 10, console /dev/console: '/etc/init.d/rcS' in sys_execve() , filename=/etc/init.d/rcS File:[axfs_inode.c], at line:[378], [axfs_create_vfs_inode()] inode->i_state = 0x40 File:[axfs_inode.c], at line:[378], [axfs_create_vfs_inode()] inode->i_state = 0x40 File:[exec.c], at line:[412], [kernel_read()] will call file->f_op->read() function File:[axfs_inode.c], at line:[815], [axfs_file_read()] axfs_inode_number = 250 File:[axfs_inode.c], at line:[818], [axfs_file_read()] array_index=574 File:[axfs_inode.c], at line:[828], [axfs_file_read()] node_type = Compressed
/// --------- Reading Compressed page ------------ /// File:[exec.c], at line:[920], [do_execve()] retval of prepare_binprm() = 128 File:[exec.c], at line:[925], [do_execve()] retval of copy_strings_kernel() = 0 File:[exec.c], at line:[935], [do_execve()] retval of copy_strings 2 = 0 File:[axfs_inode.c], at line:[378], [axfs_create_vfs_inode()] inode->i_state = 0x40 File:[exec.c], at line:[412], [kernel_read()] will call file->f_op->read() function File:[axfs_inode.c], at line:[815], [axfs_file_read()] axfs_inode_number = 20 File:[axfs_inode.c], at line:[818], [axfs_file_read()] array_index=336 File:[axfs_inode.c], at line:[828], [axfs_file_read()] node_type = XIP
<< --------- Reading XIP page ------------ >> File:[filemap_xip.c], at line:[134], [xip_file_read()] File:[filemap_xip.c], at line:[69], [do_xip_mapping_read()] calling get_xip_page() function pointer File:[axfs_inode.c], at line:[996], [axfs_get_xip_page()] File:[axfs_inode.c], at line:[1000], [axfs_get_xip_page()] axfs_get_xip_page:based on axfs_inode_number:(20)array_index=(1443109011456) File:[axfs_inode.c], at line:[1002], [axfs_get_xip_page()] axfs_get_xip_page:array_index=336 File:[exec.c], at line:[412], [kernel_read()] will call file->f_op->read() function File:[axfs_inode.c], at line:[815], [axfs_file_read()] axfs_inode_number = 20 File:[axfs_inode.c], at line:[818], [axfs_file_read()] array_index=336 File:[axfs_inode.c], at line:[828], [axfs_file_read()] node_type = XIP
<< --------- Reading XIP page ------------ >> File:[filemap_xip.c], at line:[134], [xip_file_read()] File:[filemap_xip.c], at line:[69], [do_xip_mapping_read()] calling get_xip_page() function pointer File:[axfs_inode.c], at line:[996], [axfs_get_xip_page()] File:[axfs_inode.c], at line:[1000], [axfs_get_xip_page()] axfs_get_xip_page:based on axfs_inode_number:(20)array_index=(1443109011456) File:[axfs_inode.c], at line:[1002], [axfs_get_xip_page()] axfs_get_xip_page:array_index=336 File:[axfs_inode.c], at line:[476], [axfs_mmap()] bob:file->f_mapping address = c0199734 File:[axfs_inode.c], at line:[477], [axfs_mmap()] bob:file->f_mapping address->a_ops = c00e5e58 File:[binfmt_elf.c], at line:[752], [load_elf_binary()] bob commentted padzero(elf_bss) File:[exec.c], at line:[940], [do_execve()] retval of search_binary_handler() = 0 File:[sys_arm.c], at line:[273], [sys_execve()] do_execve return 0 File:[axfs_inode.c], at line:[815], [axfs_file_read()] axfs_inode_number = 250 File:[axfs_inode.c], at line:[818], [axfs_file_read()] array_index=574 File:[axfs_inode.c], at line:[828], [axfs_file_read()] node_type = Compressed
/// --------- Reading Compressed page ------------ /// in sys_execve() , filename=/bin/mount File:[axfs_inode.c], at line:[378], [axfs_create_vfs_inode()] inode->i_state = 0x40 File:[exec.c], at line:[412], [kernel_read()] will call file->f_op->read() function File:[axfs_inode.c], at line:[815], [axfs_file_read()] axfs_inode_number = 20 File:[axfs_inode.c], at line:[818], [axfs_file_read()] array_index=336 File:[axfs_inode.c], at line:[828], [axfs_file_read()] node_type = XIP
<< --------- Reading XIP page ------------ >> File:[filemap_xip.c], at line:[134], [xip_file_read()] File:[filemap_xip.c], at line:[69], [do_xip_mapping_read()] calling get_xip_page() function pointer File:[axfs_inode.c], at line:[996], [axfs_get_xip_page()] File:[axfs_inode.c], at line:[1000], [axfs_get_xip_page()] axfs_get_xip_page:based on axfs_inode_number:(20)array_index=(1443109011456) File:[axfs_inode.c], at line:[1002], [axfs_get_xip_page()] axfs_get_xip_page:array_index=336 File:[exec.c], at line:[920], [do_execve()] retval of prepare_binprm() = 128 File:[exec.c], at line:[925], [do_execve()] retval of copy_strings_kernel() = 0 File:[exec.c], at line:[935], [do_execve()] retval of copy_strings 2 = 0 File:[exec.c], at line:[412], [kernel_read()] will call file->f_op->read() function File:[axfs_inode.c], at line:[815], [axfs_file_read()] axfs_inode_number = 20 File:[axfs_inode.c], at line:[818], [axfs_file_read()] array_index=336 File:[axfs_inode.c], at line:[828], [axfs_file_read()] node_type = XIP
<< --------- Reading XIP page ------------ >> File:[filemap_xip.c], at line:[134], [xip_file_read()] File:[filemap_xip.c], at line:[69], [do_xip_mapping_read()] calling get_xip_page() function pointer File:[axfs_inode.c], at line:[996], [axfs_get_xip_page()] File:[axfs_inode.c], at line:[1000], [axfs_get_xip_page()] axfs_get_xip_page:based on axfs_inode_number:(20)array_index=(1443109011456) File:[axfs_inode.c], at line:[1002], [axfs_get_xip_page()] axfs_get_xip_page:array_index=336 File:[axfs_inode.c], at line:[476], [axfs_mmap()] bob:file->f_mapping address = c0199734 File:[axfs_inode.c], at line:[477], [axfs_mmap()] bob:file->f_mapping address->a_ops = c00e5e58 File:[binfmt_elf.c], at line:[752], [load_elf_binary()] bob commentted padzero(elf_bss) File:[exec.c], at line:[940], [do_execve()] retval of search_binary_handler() = 0 File:[sys_arm.c], at line:[273], [sys_execve()] do_execve return 0 File:[axfs_inode.c], at line:[378], [axfs_create_vfs_inode()] inode->i_state = 0x40 File:[super.c], at line:[798], [do_kern_mount()] File:[super.c], at line:[813], [do_kern_mount()] File:[namespace.c], at line:[628], [do_add_mount()] do_kernn_mount is over File:[namespace.c], at line:[630], [do_add_mount()] err of do_kern_mount() = -1072245856 File:[namespace.c], at line:[633], [do_add_mount()] File:[namespace.c], at line:[641], [do_add_mount()] check_mnt() is OK File:[namespace.c], at line:[459], [graft_tree()] S_ISDIR(nd->dentry->d_inode->i_mode) = 1 File:[namespace.c], at line:[460], [graft_tree()] S_ISDIR(mnt->mnt_root->d_inode->i_mode) = 1 File:[namespace.c], at line:[649], [do_add_mount()] err of graft_tree() = 0 File:[namespace.c], at line:[746], [do_mount()] retval of do_add_mount=0 File:[namespace.c], at line:[860], [sys_mount()] retval of do_mount () = 0 in sys_execve() , filename=/sbin/ifconfig File:[axfs_inode.c], at line:[378], [axfs_create_vfs_inode()] inode->i_state = 0x40 File:[exec.c], at line:[412], [kernel_read()] will call file->f_op->read() function File:[axfs_inode.c], at line:[815], [axfs_file_read()] axfs_inode_number = 20 File:[axfs_inode.c], at line:[818], [axfs_file_read()] array_index=336 File:[axfs_inode.c], at line:[828], [axfs_file_read()] node_type = XIP
<< --------- Reading XIP page ------------ >> File:[filemap_xip.c], at line:[134], [xip_file_read()] File:[filemap_xip.c], at line:[69], [do_xip_mapping_read()] calling get_xip_page() function pointer File:[axfs_inode.c], at line:[996], [axfs_get_xip_page()] File:[axfs_inode.c], at line:[1000], [axfs_get_xip_page()] axfs_get_xip_page:based on axfs_inode_number:(20)array_index=(1443109011456) File:[axfs_inode.c], at line:[1002], [axfs_get_xip_page()] axfs_get_xip_page:array_index=336 File:[exec.c], at line:[920], [do_execve()] retval of prepare_binprm() = 128 File:[exec.c], at line:[925], [do_execve()] retval of copy_strings_kernel() = 0 File:[exec.c], at line:[935], [do_execve()] retval of copy_strings 2 = 0 File:[exec.c], at line:[412], [kernel_read()] will call file->f_op->read() function File:[axfs_inode.c], at line:[815], [axfs_file_read()] axfs_inode_number = 20 File:[axfs_inode.c], at line:[818], [axfs_file_read()] array_index=336 File:[axfs_inode.c], at line:[828], [axfs_file_read()] node_type = XIP
<< --------- Reading XIP page ------------ >> File:[filemap_xip.c], at line:[134], [xip_file_read()] File:[filemap_xip.c], at line:[69], [do_xip_mapping_read()] calling get_xip_page() function pointer File:[axfs_inode.c], at line:[996], [axfs_get_xip_page()] File:[axfs_inode.c], at line:[1000], [axfs_get_xip_page()] axfs_get_xip_page:based on axfs_inode_number:(20)array_index=(1443109011456) File:[axfs_inode.c], at line:[1002], [axfs_get_xip_page()] axfs_get_xip_page:array_index=336 File:[axfs_inode.c], at line:[476], [axfs_mmap()] bob:file->f_mapping address = c0199734 File:[axfs_inode.c], at line:[477], [axfs_mmap()] bob:file->f_mapping address->a_ops = c00e5e58 File:[binfmt_elf.c], at line:[752], [load_elf_binary()] bob commentted padzero(elf_bss) File:[exec.c], at line:[940], [do_execve()] retval of search_binary_handler() = 0 File:[sys_arm.c], at line:[273], [sys_execve()] do_execve return 0 ifconfig: socket: Address family not supported by protocol in sys_execve() , filename=/sbin/ifconfig File:[exec.c], at line:[412], [kernel_read()] will call file->f_op->read() function File:[axfs_inode.c], at line:[815], [axfs_file_read()] axfs_inode_number = 20 File:[axfs_inode.c], at line:[818], [axfs_file_read()] array_index=336 File:[axfs_inode.c], at line:[828], [axfs_file_read()] node_type = XIP
<< --------- Reading XIP page ------------ >> File:[filemap_xip.c], at line:[134], [xip_file_read()] File:[filemap_xip.c], at line:[69], [do_xip_mapping_read()] calling get_xip_page() function pointer File:[axfs_inode.c], at line:[996], [axfs_get_xip_page()] File:[axfs_inode.c], at line:[1000], [axfs_get_xip_page()] axfs_get_xip_page:based on axfs_inode_number:(20)array_index=(1443109011456) File:[axfs_inode.c], at line:[1002], [axfs_get_xip_page()] axfs_get_xip_page:array_index=336 File:[exec.c], at line:[920], [do_execve()] retval of prepare_binprm() = 128 File:[exec.c], at line:[925], [do_execve()] retval of copy_strings_kernel() = 0 File:[exec.c], at line:[935], [do_execve()] retval of copy_strings 2 = 0 File:[exec.c], at line:[412], [kernel_read()] will call file->f_op->read() function File:[axfs_inode.c], at line:[815], [axfs_file_read()] axfs_inode_number = 20 File:[axfs_inode.c], at line:[818], [axfs_file_read()] array_index=336 File:[axfs_inode.c], at line:[828], [axfs_file_read()] node_type = XIP
<< --------- Reading XIP page ------------ >> File:[filemap_xip.c], at line:[134], [xip_file_read()] File:[filemap_xip.c], at line:[69], [do_xip_mapping_read()] calling get_xip_page() function pointer File:[axfs_inode.c], at line:[996], [axfs_get_xip_page()] File:[axfs_inode.c], at line:[1000], [axfs_get_xip_page()] axfs_get_xip_page:based on axfs_inode_number:(20)array_index=(1443109011456) File:[axfs_inode.c], at line:[1002], [axfs_get_xip_page()] axfs_get_xip_page:array_index=336 File:[axfs_inode.c], at line:[476], [axfs_mmap()] bob:file->f_mapping address = c0199734 File:[axfs_inode.c], at line:[477], [axfs_mmap()] bob:file->f_mapping address->a_ops = c00e5e58 File:[binfmt_elf.c], at line:[752], [load_elf_binary()] bob commentted padzero(elf_bss) File:[exec.c], at line:[940], [do_execve()] retval of search_binary_handler() = 0 File:[sys_arm.c], at line:[273], [sys_execve()] do_execve return 0 ifconfig: socket: Address family not supported by protocol in sys_execve() , filename=/proc/self/exe File:[exec.c], at line:[412], [kernel_read()] will call file->f_op->read() function File:[axfs_inode.c], at line:[815], [axfs_file_read()] axfs_inode_number = 20 File:[axfs_inode.c], at line:[818], [axfs_file_read()] array_index=336 File:[axfs_inode.c], at line:[828], [axfs_file_read()] node_type = XIP
<< --------- Reading XIP page ------------ >> File:[filemap_xip.c], at line:[134], [xip_file_read()] File:[filemap_xip.c], at line:[69], [do_xip_mapping_read()] calling get_xip_page() function pointer File:[axfs_inode.c], at line:[996], [axfs_get_xip_page()] File:[axfs_inode.c], at line:[1000], [axfs_get_xip_page()] axfs_get_xip_page:based on axfs_inode_number:(20)array_index=(1443109011456) File:[axfs_inode.c], at line:[1002], [axfs_get_xip_page()] axfs_get_xip_page:array_index=336 File:[exec.c], at line:[920], [do_execve()] retval of prepare_binprm() = 128 File:[exec.c], at line:[925], [do_execve()] retval of copy_strings_kernel() = 0 File:[exec.c], at line:[935], [do_execve()] retval of copy_strings 2 = 0 File:[exec.c], at line:[412], [kernel_read()] will call file->f_op->read() function File:[axfs_inode.c], at line:[815], [axfs_file_read()] axfs_inode_number = 20 File:[axfs_inode.c], at line:[818], [axfs_file_read()] array_index=336 File:[axfs_inode.c], at line:[828], [axfs_file_read()] node_type = XIP
<< --------- Reading XIP page ------------ >> File:[filemap_xip.c], at line:[134], [xip_file_read()] File:[filemap_xip.c], at line:[69], [do_xip_mapping_read()] calling get_xip_page() function pointer File:[axfs_inode.c], at line:[996], [axfs_get_xip_page()] File:[axfs_inode.c], at line:[1000], [axfs_get_xip_page()] axfs_get_xip_page:based on axfs_inode_number:(20)array_index=(1443109011456) File:[axfs_inode.c], at line:[1002], [axfs_get_xip_page()] axfs_get_xip_page:array_index=336 File:[axfs_inode.c], at line:[476], [axfs_mmap()] bob:file->f_mapping address = c0199734 File:[axfs_inode.c], at line:[477], [axfs_mmap()] bob:file->f_mapping address->a_ops = c00e5e58 File:[binfmt_elf.c], at line:[752], [load_elf_binary()] bob commentted padzero(elf_bss) File:[exec.c], at line:[940], [do_execve()] retval of search_binary_handler() = 0 File:[sys_arm.c], at line:[273], [sys_execve()] do_execve return 0 File:[axfs_inode.c], at line:[378], [axfs_create_vfs_inode()] inode->i_state = 0x40 mkdir: cannot create directory '/var/tmp': Read-only file system mkdir: cannot create directory '/var/log': Read-only file system mkdir: cannot create directory '/var/run': Read-only file system mkdir: cannot create directory '/var/lock': Read-only file system File:[axfs_inode.c], at line:[378], [axfs_create_vfs_inode()] inode->i_state = 0x40 File:[axfs_inode.c], at line:[815], [axfs_file_read()] axfs_inode_number = 210 File:[axfs_inode.c], at line:[818], [axfs_file_read()] array_index=535 File:[axfs_inode.c], at line:[828], [axfs_file_read()] node_type = Compressed
/// --------- Reading Compressed page ------------ /// Welcome to _ _____ __ __ _ _ / \ / __ \ / \_/ \ | | |_| / _ \ | | | | / /\ /\ \ | | _ ____ _ _ _ _ / /_\ \ | |__| | / / \_/ \ \| | | | _ \| | | |\ \/ / / /___\ \ | |__\ \ | | | || |___ | | |_| | |_| |/ \ /_/ \_\| | \_\|_| |_||_____||_|_| |_|\____|\_/\_/ ARMLinux for Skyeye For further information please check: http://www.skyeye.org/
in sys_execve() , filename=/bin/ash File:[axfs_inode.c], at line:[378], [axfs_create_vfs_inode()] inode->i_state = 0x40 File:[exec.c], at line:[412], [kernel_read()] will call file->f_op->read() function File:[axfs_inode.c], at line:[815], [axfs_file_read()] axfs_inode_number = 20 File:[axfs_inode.c], at line:[818], [axfs_file_read()] array_index=336 File:[axfs_inode.c], at line:[828], [axfs_file_read()] node_type = XIP
<< --------- Reading XIP page ------------ >> File:[filemap_xip.c], at line:[134], [xip_file_read()] File:[filemap_xip.c], at line:[69], [do_xip_mapping_read()] calling get_xip_page() function pointer File:[axfs_inode.c], at line:[996], [axfs_get_xip_page()] File:[axfs_inode.c], at line:[1000], [axfs_get_xip_page()] axfs_get_xip_page:based on axfs_inode_number:(20)array_index=(1443109011456) File:[axfs_inode.c], at line:[1002], [axfs_get_xip_page()] axfs_get_xip_page:array_index=336 File:[exec.c], at line:[920], [do_execve()] retval of prepare_binprm() = 128 File:[exec.c], at line:[925], [do_execve()] retval of copy_strings_kernel() = 0 File:[exec.c], at line:[935], [do_execve()] retval of copy_strings 2 = 0 File:[exec.c], at line:[412], [kernel_read()] will call file->f_op->read() function File:[axfs_inode.c], at line:[815], [axfs_file_read()] axfs_inode_number = 20 File:[axfs_inode.c], at line:[818], [axfs_file_read()] array_index=336 File:[axfs_inode.c], at line:[828], [axfs_file_read()] node_type = XIP
<< --------- Reading XIP page ------------ >> File:[filemap_xip.c], at line:[134], [xip_file_read()] File:[filemap_xip.c], at line:[69], [do_xip_mapping_read()] calling get_xip_page() function pointer File:[axfs_inode.c], at line:[996], [axfs_get_xip_page()] File:[axfs_inode.c], at line:[1000], [axfs_get_xip_page()] axfs_get_xip_page:based on axfs_inode_number:(20)array_index=(1443109011456) File:[axfs_inode.c], at line:[1002], [axfs_get_xip_page()] axfs_get_xip_page:array_index=336 File:[axfs_inode.c], at line:[476], [axfs_mmap()] bob:file->f_mapping address = c0199734 File:[axfs_inode.c], at line:[477], [axfs_mmap()] bob:file->f_mapping address->a_ops = c00e5e58 File:[binfmt_elf.c], at line:[752], [load_elf_binary()] bob commentted padzero(elf_bss) File:[exec.c], at line:[940], [do_execve()] retval of search_binary_handler() = 0 File:[sys_arm.c], at line:[273], [sys_execve()] do_execve return 0
BusyBox v1.4.1 (2007-02-10 01:19:06 CST) Built-in shell (ash) Enter 'help' for a list of built-in commands.
/bin/ash: can't access tty; job control turned off File:[axfs_inode.c], at line:[378], [axfs_create_vfs_inode()] inode->i_state = 0x40 File:[axfs_inode.c], at line:[815], [axfs_file_read()] axfs_inode_number = 212 File:[axfs_inode.c], at line:[818], [axfs_file_read()] array_index=537 File:[axfs_inode.c], at line:[828], [axfs_file_read()] node_type = Compressed
/// --------- Reading Compressed page ------------ /// / $ / $
/ $ / $ / $ free in sys_execve() , filename=/proc/self/exe File:[exec.c], at line:[412], [kernel_read()] will call file->f_op->read() function File:[axfs_inode.c], at line:[815], [axfs_file_read()] axfs_inode_number = 20 File:[axfs_inode.c], at line:[818], [axfs_file_read()] array_index=336 File:[axfs_inode.c], at line:[828], [axfs_file_read()] node_type = XIP
<< --------- Reading XIP page ------------ >> File:[filemap_xip.c], at line:[134], [xip_file_read()] File:[filemap_xip.c], at line:[69], [do_xip_mapping_read()] calling get_xip_page() function pointer File:[axfs_inode.c], at line:[996], [axfs_get_xip_page()] File:[axfs_inode.c], at line:[1000], [axfs_get_xip_page()] axfs_get_xip_page:based on axfs_inode_number:(20)array_index=(1443109011456) File:[axfs_inode.c], at line:[1002], [axfs_get_xip_page()] axfs_get_xip_page:array_index=336 File:[exec.c], at line:[920], [do_execve()] retval of prepare_binprm() = 128 File:[exec.c], at line:[925], [do_execve()] retval of copy_strings_kernel() = 0 File:[exec.c], at line:[935], [do_execve()] retval of copy_strings 2 = 0 File:[exec.c], at line:[412], [kernel_read()] will call file->f_op->read() function File:[axfs_inode.c], at line:[815], [axfs_file_read()] axfs_inode_number = 20 File:[axfs_inode.c], at line:[818], [axfs_file_read()] array_index=336 File:[axfs_inode.c], at line:[828], [axfs_file_read()] node_type = XIP
<< --------- Reading XIP page ------------ >> File:[filemap_xip.c], at line:[134], [xip_file_read()] File:[filemap_xip.c], at line:[69], [do_xip_mapping_read()] calling get_xip_page() function pointer File:[axfs_inode.c], at line:[996], [axfs_get_xip_page()] File:[axfs_inode.c], at line:[1000], [axfs_get_xip_page()] axfs_get_xip_page:based on axfs_inode_number:(20)array_index=(1443109011456) File:[axfs_inode.c], at line:[1002], [axfs_get_xip_page()] axfs_get_xip_page:array_index=336 File:[axfs_inode.c], at line:[476], [axfs_mmap()] bob:file->f_mapping address = c0199734 File:[axfs_inode.c], at line:[477], [axfs_mmap()] bob:file->f_mapping address->a_ops = c00e5e58 File:[binfmt_elf.c], at line:[752], [load_elf_binary()] bob commentted padzero(elf_bss) File:[exec.c], at line:[940], [do_execve()] retval of search_binary_handler() = 0 File:[sys_arm.c], at line:[273], [sys_execve()] do_execve return 0 total used free shared buffers Mem: 31372 1148 30224 0 0 Swap: 0 0 0 Total: 31372 1148 30224 / $ / $ / $
/ $ ifconfig in sys_execve() , filename=/proc/self/exe File:[exec.c], at line:[412], [kernel_read()] will call file->f_op->read() function File:[axfs_inode.c], at line:[815], [axfs_file_read()] axfs_inode_number = 20 File:[axfs_inode.c], at line:[818], [axfs_file_read()] array_index=336 File:[axfs_inode.c], at line:[828], [axfs_file_read()] node_type = XIP
<< --------- Reading XIP page ------------ >> File:[filemap_xip.c], at line:[134], [xip_file_read()] File:[filemap_xip.c], at line:[69], [do_xip_mapping_read()] calling get_xip_page() function pointer File:[axfs_inode.c], at line:[996], [axfs_get_xip_page()] File:[axfs_inode.c], at line:[1000], [axfs_get_xip_page()] axfs_get_xip_page:based on axfs_inode_number:(20)array_index=(1443109011456) File:[axfs_inode.c], at line:[1002], [axfs_get_xip_page()] axfs_get_xip_page:array_index=336 File:[exec.c], at line:[920], [do_execve()] retval of prepare_binprm() = 128 File:[exec.c], at line:[925], [do_execve()] retval of copy_strings_kernel() = 0 File:[exec.c], at line:[935], [do_execve()] retval of copy_strings 2 = 0 File:[exec.c], at line:[412], [kernel_read()] will call file->f_op->read() function File:[axfs_inode.c], at line:[815], [axfs_file_read()] axfs_inode_number = 20 File:[axfs_inode.c], at line:[818], [axfs_file_read()] array_index=336 File:[axfs_inode.c], at line:[828], [axfs_file_read()] node_type = XIP
<< --------- Reading XIP page ------------ >> File:[filemap_xip.c], at line:[134], [xip_file_read()] File:[filemap_xip.c], at line:[69], [do_xip_mapping_read()] calling get_xip_page() function pointer File:[axfs_inode.c], at line:[996], [axfs_get_xip_page()] File:[axfs_inode.c], at line:[1000], [axfs_get_xip_page()] axfs_get_xip_page:based on axfs_inode_number:(20)array_index=(1443109011456) File:[axfs_inode.c], at line:[1002], [axfs_get_xip_page()] axfs_get_xip_page:array_index=336 File:[axfs_inode.c], at line:[476], [axfs_mmap()] bob:file->f_mapping address = c0199734 File:[axfs_inode.c], at line:[477], [axfs_mmap()] bob:file->f_mapping address->a_ops = c00e5e58 File:[binfmt_elf.c], at line:[752], [load_elf_binary()] bob commentted padzero(elf_bss) File:[exec.c], at line:[940], [do_execve()] retval of search_binary_handler() = 0 File:[sys_arm.c], at line:[273], [sys_execve()] do_execve return 0 ifconfig: no usable address families found ifconfig: socket: Address family not supported by protocol
/ $ / $ ./strace in sys_execve() , filename=./strace File:[exec.c], at line:[412], [kernel_read()] will call file->f_op->read() function File:[axfs_inode.c], at line:[815], [axfs_file_read()] axfs_inode_number = 13 File:[axfs_inode.c], at line:[818], [axfs_file_read()] array_index=107 File:[axfs_inode.c], at line:[828], [axfs_file_read()] node_type = Compressed
/// --------- Reading Compressed page ------------ /// File:[exec.c], at line:[920], [do_execve()] retval of prepare_binprm() = 128 File:[exec.c], at line:[925], [do_execve()] retval of copy_strings_kernel() = 0 File:[exec.c], at line:[935], [do_execve()] retval of copy_strings 2 = 0 File:[exec.c], at line:[412], [kernel_read()] will call file->f_op->read() function File:[axfs_inode.c], at line:[815], [axfs_file_read()] axfs_inode_number = 13 File:[axfs_inode.c], at line:[818], [axfs_file_read()] array_index=107 File:[axfs_inode.c], at line:[828], [axfs_file_read()] node_type = Compressed
/// --------- Reading Compressed page ------------ /// File:[axfs_inode.c], at line:[476], [axfs_mmap()] bob:file->f_mapping address = c1f68994 File:[axfs_inode.c], at line:[477], [axfs_mmap()] bob:file->f_mapping address->a_ops = c00e5e58 File:[binfmt_elf.c], at line:[752], [load_elf_binary()] bob commentted padzero(elf_bss) File:[exec.c], at line:[940], [do_execve()] retval of search_binary_handler() = 0 File:[sys_arm.c], at line:[273], [sys_execve()] do_execve return 0
./strace: -c and -ff are mutually exclusive options / $ / $
| |