Now I download a fiel system --Gentoo-2006.1/Gentoo-2006.1-x86-root_fs.bz2 from uml.nagafix.co.uk. I still use v2.6.15, after install modules, I change nothing, just. # ./linux then I get this:
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 PROT_EXEC mmap in /tmp...OK Checking for the skas3 patch in the host: - /proc/mm...found - PTRACE_FAULTINFO...found - PTRACE_LDT...found UML running in SKAS3 mode Linux version 2.6.15 ([EMAIL PROTECTED]) (gcc version 3.3.3 20040412 (Red Hat Linux 3.3.3-7)) #1 Tue Oct 17 16:30:13 EDT 2006 Built 1 zonelists Kernel command line: ubd0=root_fs root=98:0 PID hash table entries: 256 (order: 8, 4096 bytes) Dentry cache hash table entries: 8192 (order: 3, 32768 bytes) Inode-cache hash table entries: 4096 (order: 2, 16384 bytes) Memory: 30040k 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 Checking for /dev/anon on the host...Not available (open failed with errno 2) /usr/include/linux/aio_abi.h not present during build 2.6 host AIO support not used - falling back to I/O thread NET: Registered protocol family 16 mconsole (version 2) initialized on /root/.uml/wzRTN3/mconsole ubd: Synchronous mode 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 io scheduler deadline registered io scheduler cfq registered NET: Registered protocol family 2 IP route cache hash table entries: 512 (order: -1, 2048 bytes) TCP established hash table entries: 2048 (order: 1, 8192 bytes) TCP bind hash table entries: 2048 (order: 1, 8192 bytes) TCP: Hash tables configured (established 2048 bind 2048) TCP reno registered TCP bic 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 ubda: unknown partition table kjournald starting. Commit interval 5 seconds EXT3-fs: mounted filesystem with ordered data mode. VFS: Mounted root (ext3 filesystem) readonly. cannot set up thread-local storage: set_thread_area failed when setting up thread-local storage Kernel panic - not syncing: Attempted to kill init! EIP: 0073:[<400146ff>] CPU: 0 Not tainted ESP: 007b:bfdfa130 EFLAGS: 00200246 Not tainted EAX: ffffffda EBX: 0000007f ECX: bfdf9f04 EDX: 00000003 ESI: 4001725c EDI: 4001721c EBP: bfdfa160 DS: 007b ES: 007b 0821fb18: [<0806afd8>] show_regs+0xb4/0xb6 0821fb44: [<0805a969>] panic_exit+0x25/0x3f 0821fb54: [<0807aaa3>] notifier_call_chain+0x1c/0x3c 0821fb74: [<0806e7ba>] panic+0x4b/0xd3 0821fb8c: [<08070cda>] complete_and_exit+0x0/0x17 0821fbcc: [<08070de2>] sys_exit_group+0x0/0x12 0821fbf4: [<08070df2>] sys_exit_group+0x10/0x12 0821fc00: [<0805c83d>] handle_syscall+0x89/0xa0 0821fc70: [<0805b95a>] handle_trap+0xc1/0xc9 0821fc8c: [<0805bce8>] userspace+0x12d/0x177 0821fce4: [<0805c445>] new_thread_handler+0xe9/0xf8 0821fd1c: [<ffffe420>] _etext+0xf7e83405/0x0 [EMAIL PROTECTED] uml]# Could you give me some ideas how can i make it work? -----Original Message----- From: Blaisorblade [mailto:[EMAIL PROTECTED] Sent: Wed 10/18/2006 12:53 AM To: user-mode-linux-user@lists.sourceforge.net Cc: Jeff Dike; Gao,Y,Yiran,CXR7 R Subject: Re: [uml-user] about the user-mode in 2.6.15 On Monday 16 October 2006 17:07, Jeff Dike wrote: > On Mon, Oct 16, 2006 at 12:48:04PM +0100, [EMAIL PROTECTED] wrote: > > I can not find the "/dev file system (OBSOLETE)" and "Netlink device > > emulation" option, as result, the error message appreas about udba.. when > > I tried to run ./linux. Who can tell me how to configure the 2.6.15 > > kernel to make the user mode linxu work weill? > > Is it really necessary to use such an old kernel? > > FWIW, devfs should be under "File systems" (I don't have an old kernel > tree around to check this). devfs was excluded since at least 2.6.13, IIRC (the code was in but was disabled via Kconfig). I don't remember whether the last kernel with devfs was 2.6.12 or 2.6.13. However, if you use a UML image from uml.nagafix.co.uk, you will not need to enable devfs - and on existing images creating the device node correctly after loop-mounting works. > find . -name "Kconfig*" | xargs grep "Netlink device emulation" > > comes up empty. > > So, why do you think such an option exists? It was probably deleted some time ago - the netlink device is a 2.0 interface supported for the whole 2.2 cycle (maybe 2.4, because I remember such an option). There are few chances that you need that option however (if you have a program needing it, a newer version surely exists since ages). -- Inform me of my mistakes, so I can keep imitating Homer Simpson's "Doh!". Paolo Giarrusso, aka Blaisorblade http://www.user-mode-linux.org/~blaisorblade Chiacchiera con i tuoi amici in tempo reale! http://it.yahoo.com/mail_it/foot/*http://it.messenger.yahoo.com ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ User-mode-linux-user mailing list User-mode-linux-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/user-mode-linux-user