Which version of UML/root file system is known to work with UML"s cow feature?
I followed the instructions on the UML homepage, downloading the prebuilt kernel from http://user-mode-linux.sourceforge.net/linux-2.6.22-rc2.bz2 and the FC5 image from http://uml.nagafix.co.uk/FedoraCore5/FedoraCore5-x86-root_fs.bz2 When I try to use the image as the backing image for a cow, I'm getting: Core dump limits : soft - 102400 hard - NONE Checking that ptrace can change system call numbers...OK Checking syscall emulation patch for ptrace...OK Checking advanced syscall emulation patch for ptrace...OK Checking for tmpfs mount on /dev/shm...OK Checking PROT_EXEC mmap in /dev/shm/...OK Checking for the skas3 patch in the host: - /proc/mm...not found: No such file or directory - PTRACE_FAULTINFO...not found - PTRACE_LDT...not found UML running in SKAS0 mode Adding 26415104 bytes to physical memory to account for exec-shield gap Linux version 2.6.22-rc2 ([EMAIL PROTECTED]) (gcc version 4.1.1 20070105 (Red Hat 4.1.1-51)) #342 Wed May 23 11:56:49 EDT 2007 Built 1 zonelists. Total pages: 38911 Kernel command line: ubda=cow,/tmp/root_fs mem=128M root=98:0 PID hash table entries: 1024 (order: 10, 4096 bytes) Dentry cache hash table entries: 32768 (order: 5, 131072 bytes) Inode-cache hash table entries: 16384 (order: 4, 65536 bytes) Memory: 126448k available Mount-cache hash table entries: 512 Checking for host processor cmov support...Yes Checking for host processor xmm support...No Checking that host ptys support output SIGIO...Yes Checking that host ptys support SIGIO on close...No, enabling workaround Using 2.6 host AIO NET: Registered protocol family 16 NET: Registered protocol family 2 IP route cache hash table entries: 2048 (order: 1, 8192 bytes) TCP established hash table entries: 8192 (order: 4, 65536 bytes) TCP bind hash table entries: 8192 (order: 3, 32768 bytes) TCP: Hash tables configured (established 8192 bind 8192) TCP reno registered Checking host MADV_REMOVE support...OK mconsole (version 2) initialized on /home/staff/gback/.uml/BTHgAZ/mconsole Host TLS support detected Detected host type: i386 VFS: Disk quotas dquot_6.5.1 Dquot-cache hash table entries: 1024 (order 0, 4096 bytes) io scheduler noop registered io scheduler anticipatory registered (default) io scheduler deadline registered io scheduler cfq registered TCP cubic registered NET: Registered protocol family 1 NET: Registered protocol family 17 Initialized stdio console driver Console initialized on /dev/tty0 Initializing software serial port version 1 Creating "cow" as COW file for "/tmp/root_fs" ubda: unknown partition table kjournald starting. Commit interval 5 seconds EXT3-fs: mounted filesystem with ordered data mode. VFS: Mounted root (ext3 filesystem) readonly. Kernel panic - not syncing: Operation too long EIP: 0073:[<004c7402>] CPU: 0 Not tainted ESP: 007b:00215fc0 EFLAGS: 00000246 Not tainted EAX: 00000000 EBX: 000007f4 ECX: 00000013 EDX: 000007f4 ESI: 000007ef EDI: 00000011 EBP: 00215fd8 DS: 007b ES: 007b 09fbb7a8: [<08069628>] show_regs+0xb4/0xb9 09fbb7d4: [<08057ca8>] panic_exit+0x25/0x3f 09fbb7e8: [<08078720>] notifier_call_chain+0x21/0x46 09fbb808: [<080787bb>] __atomic_notifier_call_chain+0x17/0x19 09fbb824: [<080787d2>] atomic_notifier_call_chain+0x15/0x17 09fbb840: [<0806daba>] panic+0x52/0xdd 09fbb860: [<0805f8b3>] cowify_req+0x38/0xd9 09fbb880: [<0805fa03>] prepare_request+0xaf/0xba 09fbb8ac: [<0805faba>] do_ubd_request+0xac/0x13a 09fbb8e0: [<08117f46>] __generic_unplug_device+0x20/0x26 09fbb8f0: [<08117f5c>] generic_unplug_device+0x10/0x18 09fbb8fc: [<08117f77>] blk_backing_dev_unplug+0x13/0x16 09fbb908: [<080bd1cd>] sync_buffer+0x2d/0x38 09fbb918: [<08181ab5>] __wait_on_bit+0x35/0x5e 09fbb938: [<08181b3d>] out_of_line_wait_on_bit+0x5f/0x67 09fbb978: [<080bd234>] __wait_on_buffer+0x20/0x26 09fbb988: [<080bdedc>] __bread_slow+0x4d/0x64 09fbb998: [<080be0e2>] __bread+0x26/0x2d 09fbb9a4: [<080f9e31>] ext3_get_branch+0x57/0xc0 09fbb9cc: [<080fa3a9>] ext3_get_blocks_handle+0x84/0x2e3 09fbba4c: [<080fa6a0>] ext3_get_block+0x98/0xb4 09fbba80: [<080c3517>] do_mpage_readpage+0x131/0x36c 09fbbaf4: [<080c37db>] mpage_readpages+0x89/0xfb 09fbbba0: [<080fb250>] ext3_readpages+0x16/0x18 09fbbbb8: [<08090085>] read_pages+0x22/0xd1 09fbbc1c: [<08090206>] __do_page_cache_readahead+0xd2/0xec 09fbbc50: [<080902c8>] do_page_cache_readahead+0x38/0x44 09fbbc6c: [<0808bdbe>] filemap_nopage+0x10f/0x25a 09fbbca8: [<080955a9>] do_no_page+0x6f/0x272 09fbbce0: [<08095954>] __handle_mm_fault+0xa7/0x180 09fbbd10: [<0805767a>] handle_page_fault+0xe2/0x1c2 09fbbd44: [<08058779>] maybe_map+0x51/0x83 09fbbd78: [<080587bd>] do_op_one_page+0x12/0x6d 09fbbd90: [<080588a0>] do_buffer_op+0x88/0x12e 09fbbdd0: [<0806528d>] setjmp_wrapper+0x3c/0x45 09fbbe04: [<0805896d>] buffer_op+0x27/0x50 09fbbe38: [<08058c73>] clear_user_skas+0x67/0x75 09fbbe60: [<080c7665>] padzero+0x1e/0x2f 09fbbe70: [<080c8786>] load_elf_binary+0x7ac/0xb63 09fbbeec: [<080a7333>] search_binary_handler+0x60/0x170 09fbbf10: [<080a758a>] do_execve+0x147/0x1bc 09fbbf30: [<080549e1>] execve1+0x2a/0x54 09fbbf54: [<08054a20>] um_execve+0x15/0x41 09fbbf70: [<08056a9a>] kernel_execve+0x2c/0x36 09fbbf90: [<0807af3e>] ____call_usermodehelper+0xce/0xdd 09fbbfb4: [<08063a39>] run_kernel_thread+0x37/0x42 09fbbfe0: [<08058095>] new_thread_handler+0x57/0x7e 09fbbffc: [<a55a5a5a>] 0xa55a5a5a The command issued is: ./linux-2.6.22-rc2 ubda=cow,/tmp/root_fs mem=128M where 'cow' does not exist, and /tmp/root_fs is an uncompressed copy of the FC5 image in the pristine state. I should point out that this kernel boots the FC5 if it's not using the COW capability of the driver. Thanks! - Godmar ------------------------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now >> http://get.splunk.com/ _______________________________________________ User-mode-linux-user mailing list User-mode-linux-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/user-mode-linux-user