Guys
After testing my Windows 64 (LP64) build and making changes to compile cptofs, when I run the command to copy a file called build to an ext image
E:\Dev\GitHub\spoiledsport\linux\linux\tools\lkl>cptofs.exe -p -t ext3 -i sample.img build
I get the following output
[ 0.000000] Linux version 4.9.0+ (ediso@DESKTOP-PPLRP4G) (gcc version 6.3.0 (GCC) ) #1 Sun Feb 5 14:40:15 EST 2017
[ 0.000000] bootmem address range: 0x6fff9bf1000 - 0x6ffffff0000
[ 0.000000] Built 1 zonelists in Zone order, mobility grouping on. Total pages: 25249
[ 0.000000] Kernel command line: virtio_mmio.device=292@0x1000000:1
[ 0.000000] PID hash table entries: 512 (order: 0, 4096 bytes)
[ 0.000000] Dentry cache hash table entries: 16384 (order: 5, 131072 bytes)
[ 0.000000] Inode-cache hash table entries: 8192 (order: 4, 65536 bytes)
[ 0.000000] Memory available: 100696k/0k RAM
[ 0.000000] SLUB: HWalign=32, Order=0-3, MinObjects=0, CPUs=1, Nodes=1
[ 0.000000] NR_IRQS:4096
[ 0.000000] lkl: irqs initialized
[ 0.000000] clocksource: lkl: mask: 0xffffffffffffffff max_cycles: 0x1cd42e4dffb, max_idle_ns: 881590591483 ns
[ 0.000000] lkl: time and timers initialized (irq2)
[ 0.000000] pid_max: default: 4096 minimum: 301
[ 0.000000] Mount-cache hash table entries: 512 (order: 0, 4096 bytes)
[ 0.000000] Mountpoint-cache hash table entries: 512 (order: 0, 4096 bytes)
[ 0.169000] console [lkl_console0] enabled
[ 0.169000] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 19112604462750000 ns
[ 0.185000] xor: automatically using best checksumming function 8regs
[ 0.185000] NET: Registered protocol family 16
[ 0.472000] raid6: int64x1 gen() 4435 MB/s
[ 0.737000] raid6: int64x1 xor() 2652 MB/s
[ 1.001000] raid6: int64x2 gen() 5987 MB/s
[ 1.264000] raid6: int64x2 xor() 3717 MB/s
[ 1.528000] raid6: int64x4 gen() 4457 MB/s
[ 1.803000] raid6: int64x4 xor() 3525 MB/s
[ 2.067000] raid6: int64x8 gen() 4521 MB/s
[ 2.343000] raid6: int64x8 xor() 3196 MB/s
[ 2.349000] raid6: using algorithm int64x2 gen() 5987 MB/s
[ 2.353000] raid6: .... xor() 3717 MB/s, rmw enabled
[ 2.354000] raid6: using intx1 recovery algorithm
[ 2.359000] clocksource: Switched to clocksource lkl
[ 2.364000] NET: Registered protocol family 2
[ 2.379000] TCP established hash table entries: 1024 (order: 1, 8192 bytes)
[ 2.379000] TCP bind hash table entries: 1024 (order: 1, 8192 bytes)
[ 2.379000] TCP: Hash tables configured (established 1024 bind 1024)
[ 2.395000] UDP hash table entries: 128 (order: 0, 4096 bytes)
[ 2.411000] UDP-Lite hash table entries: 128 (order: 0, 4096 bytes)
[ 2.411000] virtio-mmio: Registering device virtio-mmio.0 at 0x1000000-0x1000123, IRQ 1.
[ 2.411000] workingset: timestamp_bits=62 max_order=15 bucket_order=0
[ 2.426000] SGI XFS with ACLs, security attributes, no debug enabled
[ 2.442000] jitterentropy: Initialization failed with host not compliant with requirements: 2
[ 2.442000] io scheduler noop registered
[ 2.464000] io scheduler deadline registered
[ 2.464000] io scheduler cfq registered (default)
[ 2.479000] mousedev: PS/2 mouse device common for all mice
[ 2.495000] NET: Registered protocol family 10
[ 2.511000] sit: IPv6, IPv4 and MPLS over IPv4 tunneling driver
[ 2.511000] Btrfs loaded, crc32c=crc32c-generic
[ 2.511000] Warning: unable to open an initial console.
[ 2.511000] This architecture does not have kernel memory protection.
[ 2.526000] EXT4-fs (vda): mounting ext3 file system using the ext4 subsystem
[ 2.542000] EXT4-fs (vda): mounted filesystem with ordered data mode. Opts:
[ 2.558000] reboot: Restarting system
As you can see I added a bunch of fs to the build :-)
Some things that bother me
1- Why does the system reports
[ 0.000000] Memory available: 100696k/0k RAM
2.- How do I know the copy was successful or not?
3.- Where is bogomips and other things I expected from normal Linux boot?
Sorry for being so "virgin" with my questions. I am really loving this library and I can't stop playing with it. I just want to make sure that I doing the right thing.
Guys
After testing my Windows 64 (LP64) build and making changes to compile cptofs, when I run the command to copy a file called build to an ext image
E:\Dev\GitHub\spoiledsport\linux\linux\tools\lkl>cptofs.exe -p -t ext3 -i sample.img build
I get the following output
[ 0.000000] Linux version 4.9.0+ (ediso@DESKTOP-PPLRP4G) (gcc version 6.3.0 (GCC) ) #1 Sun Feb 5 14:40:15 EST 2017
[ 0.000000] bootmem address range: 0x6fff9bf1000 - 0x6ffffff0000
[ 0.000000] Built 1 zonelists in Zone order, mobility grouping on. Total pages: 25249
[ 0.000000] Kernel command line: virtio_mmio.device=292@0x1000000:1
[ 0.000000] PID hash table entries: 512 (order: 0, 4096 bytes)
[ 0.000000] Dentry cache hash table entries: 16384 (order: 5, 131072 bytes)
[ 0.000000] Inode-cache hash table entries: 8192 (order: 4, 65536 bytes)
[ 0.000000] Memory available: 100696k/0k RAM
[ 0.000000] SLUB: HWalign=32, Order=0-3, MinObjects=0, CPUs=1, Nodes=1
[ 0.000000] NR_IRQS:4096
[ 0.000000] lkl: irqs initialized
[ 0.000000] clocksource: lkl: mask: 0xffffffffffffffff max_cycles: 0x1cd42e4dffb, max_idle_ns: 881590591483 ns
[ 0.000000] lkl: time and timers initialized (irq2)
[ 0.000000] pid_max: default: 4096 minimum: 301
[ 0.000000] Mount-cache hash table entries: 512 (order: 0, 4096 bytes)
[ 0.000000] Mountpoint-cache hash table entries: 512 (order: 0, 4096 bytes)
[ 0.169000] console [lkl_console0] enabled
[ 0.169000] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 19112604462750000 ns
[ 0.185000] xor: automatically using best checksumming function 8regs
[ 0.185000] NET: Registered protocol family 16
[ 0.472000] raid6: int64x1 gen() 4435 MB/s
[ 0.737000] raid6: int64x1 xor() 2652 MB/s
[ 1.001000] raid6: int64x2 gen() 5987 MB/s
[ 1.264000] raid6: int64x2 xor() 3717 MB/s
[ 1.528000] raid6: int64x4 gen() 4457 MB/s
[ 1.803000] raid6: int64x4 xor() 3525 MB/s
[ 2.067000] raid6: int64x8 gen() 4521 MB/s
[ 2.343000] raid6: int64x8 xor() 3196 MB/s
[ 2.349000] raid6: using algorithm int64x2 gen() 5987 MB/s
[ 2.353000] raid6: .... xor() 3717 MB/s, rmw enabled
[ 2.354000] raid6: using intx1 recovery algorithm
[ 2.359000] clocksource: Switched to clocksource lkl
[ 2.364000] NET: Registered protocol family 2
[ 2.379000] TCP established hash table entries: 1024 (order: 1, 8192 bytes)
[ 2.379000] TCP bind hash table entries: 1024 (order: 1, 8192 bytes)
[ 2.379000] TCP: Hash tables configured (established 1024 bind 1024)
[ 2.395000] UDP hash table entries: 128 (order: 0, 4096 bytes)
[ 2.411000] UDP-Lite hash table entries: 128 (order: 0, 4096 bytes)
[ 2.411000] virtio-mmio: Registering device virtio-mmio.0 at 0x1000000-0x1000123, IRQ 1.
[ 2.411000] workingset: timestamp_bits=62 max_order=15 bucket_order=0
[ 2.426000] SGI XFS with ACLs, security attributes, no debug enabled
[ 2.442000] jitterentropy: Initialization failed with host not compliant with requirements: 2
[ 2.442000] io scheduler noop registered
[ 2.464000] io scheduler deadline registered
[ 2.464000] io scheduler cfq registered (default)
[ 2.479000] mousedev: PS/2 mouse device common for all mice
[ 2.495000] NET: Registered protocol family 10
[ 2.511000] sit: IPv6, IPv4 and MPLS over IPv4 tunneling driver
[ 2.511000] Btrfs loaded, crc32c=crc32c-generic
[ 2.511000] Warning: unable to open an initial console.
[ 2.511000] This architecture does not have kernel memory protection.
[ 2.526000] EXT4-fs (vda): mounting ext3 file system using the ext4 subsystem
[ 2.542000] EXT4-fs (vda): mounted filesystem with ordered data mode. Opts:
[ 2.558000] reboot: Restarting system
As you can see I added a bunch of fs to the build :-)
Some things that bother me
1- Why does the system reports
[ 0.000000] Memory available: 100696k/0k RAM
2.- How do I know the copy was successful or not?
3.- Where is bogomips and other things I expected from normal Linux boot?
Sorry for being so "virgin" with my questions. I am really loving this library and I can't stop playing with it. I just want to make sure that I doing the right thing.