ExtK Napisano Maj 18, 2012 Zgłoszenie Share Napisano Maj 18, 2012 Czesc. Mam problem z uruchomieniem User Mode Linux. http://user-mode-linux.sourceforge.net/ Udalo mi sie juz pomyslnie skompilowac jadro, jednak przy uruchamianiu wyrzuca mi: Locating the bottom of the address space ... 0x0 Locating the top of the address space ... 0xc0000000 Core dump limits : soft - 0 hard - NONE 0xc0000000 Core dump limits : soft - 0 hard - NONE 0xc0000000 Core dump limits : soft - 0 hard - NONE 0xc0000000 Core dump limits : soft - 0 hard - NONE Checking for tmpfs mount on /dev/shm...OK Checking PROT_EXEC mmap in /dev/shm/...OK OK OK OK UML running in SKAS0 mode Adding 26292224 bytes to physical memory to account for exec-shield gap [ 0.000000] Initializing cgroup subsys cpuset [ 0.000000] Initializing cgroup subsys cpu [ 0.000000] Linux version 3.3.5 ([email protected]) (gcc version 4.5.3 (Gentoo 4.5.3-r2 p1.1, pie-0.4.7) ) #6 Mon May 7 23:30:43 Local time zone must be set--see zic manua [ 0.000000] Built 1 zonelists in Zone order, mobility grouping on. Total pages: 22624 [ 0.000000] Kernel command line: rw ubd0=rootfs root=/dev/ubd0 mem=64m ubd7=installfs eth0=tuntap,,, root=/dev/ubd7 init=/uml_stage2install.py con0=pts,fd:1 [ 0.000000] PID hash table entries: 512 (order: -1, 2048 bytes) [ 0.000000] Dentry cache hash table entries: 16384 (order: 4, 65536 bytes) [ 0.000000] Inode-cache hash table entries: 8192 (order: 3, 32768 bytes) [ 0.000000] allocated 182424 bytes of page_cgroup [ 0.000000] please try 'cgroup_disable=memory' option if you don't want memory cgroups [ 0.000000] Memory: 57024k available [ 0.000000] SLUB: Genslabs=15, HWalign=64, Order=0-3, MinObjects=0, CPUs=1, Nodes=1 [ 0.000000] NR_IRQS:15 [ 0.000000] Calibrating delay loop... 858.52 BogoMIPS (lpj=4292608) [ 0.040000] pid_max: default: 32768 minimum: 301 [ 0.040000] Security Framework initialized [ 0.040000] SELinux: Initializing. [ 0.040000] AppArmor: AppArmor disabled by boot time parameter [ 0.040000] Mount-cache hash table entries: 512 [ 0.040000] Initializing cgroup subsys cpuacct [ 0.040000] Initializing cgroup subsys memory [ 0.040000] Initializing cgroup subsys devices [ 0.040000] Initializing cgroup subsys freezer [ 0.040000] Initializing cgroup subsys blkio [ 0.040000] Initializing cgroup subsys net_prio [ 0.040000] Checking for host processor cmov support...Yes [ 0.040000] Checking that host ptys support output SIGIO...Yes [ 0.040000] Checking that host ptys support SIGIO on close...No, enabling workaround [ 0.040000] devtmpfs: initialized [ 0.040000] Using 2.6 host AIO [ 0.040000] NET: Registered protocol family 16 [ 0.050000] bio: create slab <bio-0> at 0 [ 0.050000] NetLabel: Initializing [ 0.050000] NetLabel: domain hash size = 128 [ 0.050000] NetLabel: protocols = UNLABELED CIPSOv4 [ 0.050000] NetLabel: unlabeled traffic allowed by default [ 0.050000] Switching to clocksource itimer [ 0.050000] FS-Cache: Loaded [ 0.050000] CacheFiles: Loaded [ 0.050000] NET: Registered protocol family 2 [ 0.050000] IP route cache hash table entries: 1024 (order: 0, 4096 bytes) [ 0.050000] TCP established hash table entries: 4096 (order: 3, 32768 bytes) [ 0.050000] TCP bind hash table entries: 4096 (order: 2, 16384 bytes) [ 0.050000] TCP: Hash tables configured (established 4096 bind 4096) [ 0.050000] TCP reno registered [ 0.050000] UDP hash table entries: 256 (order: 0, 4096 bytes) [ 0.050000] UDP-Lite hash table entries: 256 (order: 0, 4096 bytes) [ 0.050000] NET: Registered protocol family 1 [ 0.050000] RPC: Registered named UNIX socket transport module. [ 0.050000] RPC: Registered udp transport module. [ 0.050000] RPC: Registered tcp transport module. [ 0.050000] RPC: Registered tcp NFSv4.1 backchannel transport module. [ 0.050000] mconsole (version 2) initialized on /root/.uml/HyBt3Q/mconsole [ 0.050000] Checking host MADV_REMOVE support...OK [ 0.050000] ubd: Synchronous mode [ 0.050000] UML Watchdog Timer [ 0.050000] Host TLS support detected [ 0.050000] Detected host type: i386 (GDT indexes 6 to 9) [ 0.050000] audit: initializing netlink socket (disabled) [ 0.050000] type=2000 audit(1337362732.733:1): initialized [ 0.050000] VFS: Disk quotas dquot_6.5.2 [ 0.050000] Dquot-cache hash table entries: 1024 (order 0, 4096 bytes) [ 0.050000] squashfs: version 4.0 (2009/01/31) Phillip Lougher [ 0.050000] FS-Cache: Netfs 'nfs' registered for caching [ 0.050000] nfs4filelayout_init: NFSv4 File Layout Driver Registering... [ 0.050000] Installing knfsd (copyright (C) 1996 [email protected]). [ 0.060000] FS-Cache: Netfs 'cifs' registered for caching [ 0.060000] NTFS driver 2.1.30 [Flags: R/W]. [ 0.060000] fuse init (API version 7.18) [ 0.060000] NILFS version 2 loaded [ 0.060000] Btrfs loaded [ 0.060000] GFS2 installed [ 0.060000] msgmni has been set to 111 [ 0.060000] alg: No test for stdrng (krng) [ 0.060000] Block layer SCSI generic (bsg) driver version 0.4 loaded (major 254) [ 0.060000] io scheduler noop registered [ 0.060000] io scheduler deadline registered [ 0.060000] io scheduler cfq registered (default) [ 0.060000] xz_dec_test: module loaded [ 0.060000] xz_dec_test: Create a device node with 'mknod xz_dec_test c 253 0' and write .xz files to it. [ 0.150000] brd: module loaded [ 0.150000] loop: module loaded [ 0.150000] nbd: registered device at major 43 [ 0.150000] drbd: initialized. Version: 8.3.11 (api:88/proto:86-96) [ 0.150000] drbd: built-in [ 0.150000] drbd: registered as block device major 147 [ 0.150000] drbd: minor_table @ 0x0d7a7000 [ 0.150000] PPP generic driver version 2.4.2 [ 0.150000] PPP BSD Compression module registered [ 0.150000] PPP Deflate Compression module registered [ 0.150000] PPP MPPE Compression module registered [ 0.150000] NET: Registered protocol family 24 [ 0.150000] SLIP: version 0.8.4-NET3.019-NEWTTY (dynamic channels, max=256) (6 bit encapsulation enabled). [ 0.150000] CSLIP: code copyright 1989 Regents of the University of California. [ 0.150000] SLIP linefill/keepalive option. [ 0.150000] SoftDog: cannot register miscdev on minor=130 (err=-16) [ 0.150000] Netfilter messages via NETLINK v0.30. [ 0.150000] nfnl_acct: registering with nfnetlink. [ 0.150000] nf_conntrack version 0.5.0 (891 buckets, 3564 max) [ 0.150000] NF_TPROXY: Transparent proxy support initialized, version 4.1.0 [ 0.150000] NF_TPROXY: Copyright (c) 2006-2007 BalaBit IT Ltd. [ 0.150000] xt_time: kernel timezone is -0000 [ 0.150000] ip_set: protocol 6 [ 0.150000] ip_tables: (C) 2000-2006 Netfilter Core Team [ 0.150000] ipt_CLUSTERIP: ClusterIP Version 0.8 loaded successfully [ 0.150000] arp_tables: (C) 2002 David S. Miller [ 0.150000] TCP cubic registered [ 0.150000] NET: Registered protocol family 10 [ 0.150000] Mobile IPv6 [ 0.150000] ip6_tables: (C) 2000-2006 Netfilter Core Team [ 0.150000] IPv6 over IPv4 tunneling driver [ 0.180000] NET: Registered protocol family 17 [ 0.180000] Bridge firewalling registered [ 0.180000] Ebtables v2.0 registered [ 0.180000] lib80211: common routines for IEEE802.11 drivers [ 0.180000] Registering the dns_resolver key type [ 0.180000] Initialized stdio console driver [ 0.180000] Virtual console 0 assigned device '/dev/pts/2' [ 0.180000] Console initialized on /dev/tty0 [ 0.180000] console [tty0] enabled [ 0.180000] Initializing software serial port version 1 [ 0.180000] console [mc-1] enabled [ 0.180000] Failed to initialize ubd device 0 :Couldn't determine size of device's file [ 0.180000] Failed to initialize ubd device 7 :Couldn't determine size of device's file [ 0.180000] Choosing a random ethernet address for device eth0 [ 0.180000] Netdevice 0 (82:c6:d9:f2:5d:c3) : [ 0.180000] TUN/TAP backend - [ 0.180000] VFS: Cannot open root device "ubd7" or unknown-block(0,0) [ 0.180000] Please append a correct "root=" boot option; here are the available partitions: [ 0.180000] Kernel panic - not syncing: VFS: Unable to mount root fs on unknown-block(0,0) [ 0.180000] 0d46fef0: [<084f74c0>] dump_stack+0x1c/0x20 [ 0.180000] 0d46ff08: [<084f7528>] panic+0x64/0x15c [ 0.180000] 0d46ff20: [<08048bdf>] mount_block_root+0x1d3/0x1e2 [ 0.180000] 0d46ff78: [<08048cf5>] mount_root+0x4c/0x54 [ 0.180000] 0d46ff9c: [<08048e49>] prepare_namespace+0x14c/0x17d [ 0.180000] 0d46ffa4: [<0804893f>] kernel_init+0x120/0x12c [ 0.180000] 0d46ffb4: [<08071777>] run_kernel_thread+0x38/0x41 [ 0.180000] 0d46ffe0: [<08064253>] new_thread_handler+0x8c/0xb9 [ 0.180000] 0d46fffc: [<00000000>] 0x0 [ 0.180000] [ 0.180000] [ 0.180000] EIP: 0073:[<003f8424>] CPU: 0 Not tainted ESP: 007b:bf892aa8 EFLAGS: 00000246 [ 0.180000] Not tainted [ 0.180000] EAX: 00000000 EBX: 00000f2e ECX: 00000013 EDX: 00000f2e [ 0.180000] ESI: 00000f2a EDI: 0000003b EBP: bf892ad4 DS: 007b ES: 007b [ 0.180000] 0d46fe80: [<080781d0>] show_regs+0xc5/0xcd [ 0.180000] 0d46feac: [<080662f3>] panic_exit+0x25/0x3b [ 0.180000] 0d46fec0: [<08093144>] notifier_call_chain+0x25/0x4a [ 0.180000] 0d46fee8: [<080931f6>] atomic_notifier_call_chain+0x15/0x17 [ 0.180000] 0d46fef8: [<084f7540>] panic+0x7c/0x15c [ 0.180000] 0d46ff20: [<08048bdf>] mount_block_root+0x1d3/0x1e2 [ 0.180000] 0d46ff78: [<08048cf5>] mount_root+0x4c/0x54 [ 0.180000] 0d46ff9c: [<08048e49>] prepare_namespace+0x14c/0x17d [ 0.180000] 0d46ffa4: [<0804893f>] kernel_init+0x120/0x12c [ 0.180000] 0d46ffb4: [<08071777>] run_kernel_thread+0x38/0x41 [ 0.180000] 0d46ffe0: [<08064253>] new_thread_handler+0x8c/0xb9 [ 0.180000] 0d46fffc: [<00000000>] 0x0 [ 0.180000] Uruchamiam tym poleceniem: /home/adam/kernel32-3.3.5 rw ubd0=rootfs root=/dev/ubd0 mem=64m ubd7=installfs eth0=tuntap,,, root=/dev/ubd7 init=/uml_stage2install.py con0=pts,fd:1 Kazdemu kto o tym pomyslal dzieki. Juz sobie poradzilem, za kilka dni napisze rozwiazanie. Odnośnik do komentarza Udostępnij na innych stronach More sharing options...
Rekomendowane odpowiedzi
Jeśli chcesz dodać odpowiedź, zaloguj się lub zarejestruj nowe konto
Jedynie zarejestrowani użytkownicy mogą komentować zawartość tej strony.
Zarejestruj nowe konto
Załóż nowe konto. To bardzo proste!
Zarejestruj sięZaloguj się
Posiadasz już konto? Zaloguj się poniżej.
Zaloguj się