From: Robert S. B. <bob...@co...> - 2003-06-17 19:11:05
|
umlbuilder 1.40-5 does not seem to like uml patched kernel 2.4.20-6. I saw the post about the redundant "root=" parameter being generated by the install option of the control file and hacked it to generate a better linux cmd line. However, the uml kernel 2.4.20-6 kernel does not like installfs as root filesystem. [rsbaker@rsbaker rsbaker]$ umlbuilder --distro Redhat8.0 --modules base --hostname playground.example.com --ipaddr 172.16.1.2 --initdefault 5 --rpmdir /exports/rh8/RedHat/RPMS --dir playground Indexing RPMS ========================================|100% Done. Successful Calculating packages, dependencies and install order ========================================|100% Done. Successful Working in /home/rsbaker/playground Making directories Making files Setting up swapspace version 1, size = 134213 kB Populating install filesystem ========================================|100% Done. Successful Running install process Checking for the skas3 patch in the host...not found Checking for /proc/mm...not found tracing thread pid = 12786 Linux version 2.4.20-custom-6um (rs...@rs...) (gcc version 3.2.2 20030222 (Red Hat Linux 3.2.2-5)) #1 Tue Jun 17 14:09:14 EDT 2003 On node 0 totalpages: 16384 zone(0): 16384 pages. zone(1): 0 pages. zone(2): 0 pages. Kernel command line: rw umid=playground mem=64m udb0=rootfs ubd7=installfs eth0=tuntap,,,10.103.140.129 root=/dev/ubd7 init=/uml_stage2install.py con0=pts,fd:1 Calibrating delay loop... 3489.25 BogoMIPS Memory: 61808k available Dentry cache hash table entries: 8192 (order: 4, 65536 bytes) Inode cache hash table entries: 4096 (order: 3, 32768 bytes) Mount-cache hash table entries: 1024 (order: 1, 8192 bytes) Buffer-cache hash table entries: 1024 (order: 0, 4096 bytes) Page-cache hash table entries: 16384 (order: 4, 65536 bytes) Checking for host processor cmov support...Yes Checking for host processor xmm support...No Checking that ptrace can change system call numbers...OK Checking that host ptys support output SIGIO...Yes Checking that host ptys support SIGIO on close...No, enabling workaround POSIX conformance testing by UNIFIX Linux NET4.0 for Linux 2.4 Based upon Swansea University Computer Society NET3.039 Initializing RT netlink socket Starting kswapd devfs: v1.12c (20020818) Richard Gooch (rg...@at...) devfs: boot_options: 0x0 pty: 256 Unix98 ptys configured RAMDISK driver initialized: 16 RAM disks of 4096K size 1024 blocksize loop: loaded (max 8 devices) md: raid0 personality registered as nr 2 md: raid1 personality registered as nr 3 md: md driver 0.90.0 MAX_MD_DEVS=256, MD_SB_DISKS=27 md: Autodetecting RAID arrays. md: autorun ... md: ... autorun DONE. LVM version 1.0.5+(22/07/2002) Initializing software serial port version 1 mconsole (version 2) initialized on /home/rsbaker/.uml/playground/mconsole unable to open root_fs for validation unable to open installfs for validation Initializing stdio console driver Virtual console 0 assigned device '/dev/pts/5' Netdevice 0 : TUN/TAP backend - IP = 10.103.140.129 NET4: Linux TCP/IP 1.0 for NET4.0 IP Protocols: ICMP, UDP, TCP IP: routing cache hash table of 512 buckets, 4Kbytes TCP: Hash tables configured (established 4096 bind 8192) NET4: Unix domain sockets 1.0/SMP for Linux NET4.0. VFS: Cannot open root device "ubd7" or 62:70 Please append a correct "root=" boot option Kernel panic: VFS: Unable to mount root fs on 62:70 Install failed result of system is 256 Installation failed. [rsbaker@rsbaker rsbaker]$ I tried creating a sparse file (install_fs), creating a ext2 filesystem in it, loopback mounting it, cpioing the contents of installfs into it, modifying control to point to it, all to no avail. [rsbaker@rsbaker playground]$ ./control install Checking for the skas3 patch in the host...not found Checking for /proc/mm...not found tracing thread pid = 12881 Linux version 2.4.20-custom-6um (rs...@rs...) (gcc version 3.2.2 20030222 (Red Hat Linux 3.2.2-5)) #1 Tue Jun 17 14:09:14 EDT 2003 On node 0 totalpages: 16384 zone(0): 16384 pages. zone(1): 0 pages. zone(2): 0 pages. Kernel command line: rw umid=playground mem=64m udb0=rootfs ubd7=install_fs eth0=tuntap,,,10.103.140.129 root=/dev/ubd7 init=/uml_stage2install.py Calibrating delay loop... 2010.86 BogoMIPS Memory: 61808k available Dentry cache hash table entries: 8192 (order: 4, 65536 bytes) Inode cache hash table entries: 4096 (order: 3, 32768 bytes) Mount-cache hash table entries: 1024 (order: 1, 8192 bytes) Buffer-cache hash table entries: 1024 (order: 0, 4096 bytes) Page-cache hash table entries: 16384 (order: 4, 65536 bytes) Checking for host processor cmov support...Yes Checking for host processor xmm support...No Checking that ptrace can change system call numbers...OK Checking that host ptys support output SIGIO...Yes Checking that host ptys support SIGIO on close...No, enabling workaround POSIX conformance testing by UNIFIX Linux NET4.0 for Linux 2.4 Based upon Swansea University Computer Society NET3.039 Initializing RT netlink socket Starting kswapd devfs: v1.12c (20020818) Richard Gooch (rg...@at...) devfs: boot_options: 0x0 pty: 256 Unix98 ptys configured RAMDISK driver initialized: 16 RAM disks of 4096K size 1024 blocksize loop: loaded (max 8 devices) md: raid0 personality registered as nr 2 md: raid1 personality registered as nr 3 md: md driver 0.90.0 MAX_MD_DEVS=256, MD_SB_DISKS=27 md: Autodetecting RAID arrays. md: autorun ... md: ... autorun DONE. LVM version 1.0.5+(22/07/2002) Initializing software serial port version 1 mconsole (version 2) initialized on /home/rsbaker/.uml/playground/mconsole unable to open root_fs for validation Partition check: ubdh: unknown partition table Initializing stdio console driver Netdevice 0 : TUN/TAP backend - IP = 10.103.140.129 NET4: Linux TCP/IP 1.0 for NET4.0 IP Protocols: ICMP, UDP, TCP IP: routing cache hash table of 512 buckets, 4Kbytes TCP: Hash tables configured (established 4096 bind 8192) NET4: Unix domain sockets 1.0/SMP for Linux NET4.0. VFS: Mounted root (ext2 filesystem). Warning: unable to open an initial console. Kernel panic: Attempted to kill init! Install failed [rsbaker@rsbaker playground]$ Bob Baker rs...@ba... |