John L Griffin
2004-Dec-12 05:32 UTC
[Xen-devel] Installing Fedora Core 2 inside an unprivileged domain
I am attempting to install Red Hat Fedora Core 2, inside an unprivileged Xen domain, using the FC2 distribution DVD. Ian discusses some options for doing this in a message from 2004-11-07 [ http://sourceforge.net/mailarchive/message.php?msg_id=9983779 ]. I''m developing the "alternative approach" he discusses in the message. I''ve made some progress: 1. Create a sparse file (see section 5.2 of Xen user''s manual): dd if=/dev/zero of=fc2-install.img bs=1k seek=8388607 count=1 2. Acquire the DVD ISO image (FC2-i386-DVD.iso, in my case), and save it to a file locally. Mount the image as a loopback device, copy the file "initrd.img" from the DVD image, unmount the image: mkdir /mnt/loop mount -oloop,ro FC2-i386-DVD.iso /mnt/loop cp /mnt/loop/isolinux/initrd.img . umount /mnt/loop 3. Create a configuration file; the important fields to modify are "ramdisk" (should point to initrd.img from above), "disk", and "root". Here are the entries I used: kernel = "/boot/vmlinuz-2.6.9-xenU" ramdisk = "/fc2-install/initrd.img" memory = 128 name = "fc2-install" disk = [ ''file:/fc2-install/fc2-install.img,hda1,w'', ''file:/fc2-install/FC2-i386-DVD.iso,hdb1,r'' ] root = "/dev/hdb1 ro ramdisk_size=8192 init=isolinux.bin" 4. Start the unprivileged domain. xend start xm create fc2-install.xen -c The unprivileged domain starts, Linux starts to boot correctly, and a "Welcome to Fedora Core" message appears. But, then a prompt asks "Do you have a driver disk?". When I say "no", it asks what type of media contains the packages to be installed (Local CDROM, Hard drive, NFS image, FTP, HTTP), but selecting any of them brings up a "No driver found" prompt: "Unable to find any devices of the type needed for this installation type. Would you like to manually select your driver or use a driver disk?" And that''s where I''m currently stuck. None of the listed drivers for either disk-based or network-based installs appear to work. My theory is that the initial boot is successful because Xen is loading the ramdisk, but in the next stage the installer can''t find drivers for either the VBD or virtual network interface. (See boot messages below.) But this inability to find the drivers seems odd, since I expect the drivers for both to be compiled into the xenU kernel. (Could the installer somehow be switching over to the kernel image on the DVD?) So, any ideas on what to try to overcome this? Rebuild the initrd image? Create a driver disk? Something much simpler? ------------------------------------------------------------------------ Following are the boot messages for the unprivileged domain: Using config file "fc2-install.xen".--------------------+ Started domain fc2-install, console on port 9622 ************ REMOTE CONSOLE: CTRL-] TO QUIT ******** Linux version 2.6.9-xenU (root@flash.watson.ibm.com) (gcc version 3.3.3 20040412 (Red Hat Linux 3.3.3-7)) #2 Sat Dec 11 15:47:54 EST 2004 BIOS-provided physical RAM map: Xen: 0000000000000000 - 0000000008000000 (usable) 128MB LOWMEM available.en elements | <Space> selects | <F12> next screen DMI not present. Built 1 zonelists Kernel command line: ip=:1.2.3.4::::eth0:dhcp root=/dev/sdb1 ro ramdisk_size=8192 init=isolinux.bin Initializing CPU#0 PID hash table entries: 1024 (order: 10, 16384 bytes) Xen reported: 3066.835 MHz processor. Using tsc for high-res timesource Dentry cache hash table entries: 32768 (order: 5, 131072 bytes) Inode-cache hash table entries: 16384 (order: 4, 65536 bytes) Memory: 120216k/131072k available (1596k kernel code, 10792k reserved, 446k data, 96k init, 0k highmem) Checking if this processor honours the WP bit even in supervisor mode... Ok. Mount-cache hash table entries: 512 (order: 0, 4096 bytes) CPU: Trace cache: 12K uops, L1 D cache: 8K CPU: L2 cache: 512K CPU: Intel(R) Xeon(TM) CPU 3.06GHz stepping 09 Enabling unmasked SIMD FPU exception support... done. Checking ''hlt'' instruction... disabled checking if image is initramfs...it isn''t (ungzip failed); looks like an initrd Freeing initrd memory: 7000k freed NET: Registered protocol family 16 SCSI subsystem initialized Initializing Cryptographic API RAMDISK driver initialized: 16 RAM disks of 8192K size 1024 blocksize Xen virtual console successfully installed as tty Event-channel device installed. Starting Xen Balloon driver xen_blk: Initialising virtual block device driver Using anticipatory io scheduler xen_net: Initialising virtual ethernet driver. register_blkdev: cannot get major 8 for sd NET: Registered protocol family 2 IP: routing cache hash table of 1024 buckets, 8Kbytes TCP: Hash tables configured (established 8192 bind 16384) NET: Registered protocol family 1 NET: Registered protocol family 17 IP-Config: Incomplete network configuration information. RAMDISK: ext2 filesystem found at block 0 RAMDISK: Loading 7000KiB [1 disk] into ram disk... done. VFS: Mounted root (ext2 filesystem). [9;0][8]Greetings. anaconda installer init version 10.0 starting mounting /proc filesystem... done mounting /dev/pts (unix98 pty) filesystem... done mounting /sys filesystem... done anaconda installer init version 10.0 using a serial console remember, cereal is an important part of a nutritionally balanced breakfast. trying to remount root filesystem read write... done mounting /tmp as ramfs... done running install... running /sbin/loader [then the "Do you have a driver disk?" screen.] -- Dr. John Linwood Griffin Research Staff Member, Secure Systems Department IBM T.J. Watson Research Center, Hawthorne, New York, USA JLG@us.ibm.com, http://www.research.ibm.com/people/j/jlg/
Ian Pratt
2004-Dec-12 16:49 UTC
Re: [Xen-devel] Installing Fedora Core 2 inside an unprivileged domain
> I am attempting to install Red Hat Fedora Core 2, inside an > unprivileged Xen domain, using the FC2 distribution DVD. > > Ian discusses some options for doing this in a message from 2004-11-07 > [ http://sourceforge.net/mailarchive/message.php?msg_id=9983779 ]. > I''m developing the "alternative approach" he discusses in the message. > I''ve made some progress:Thanks for giving this technique a go.> 1. Create a sparse file (see section 5.2 of Xen user''s manual): > > dd if=/dev/zero of=fc2-install.img bs=1k seek=8388607 count=1 > > 2. Acquire the DVD ISO image (FC2-i386-DVD.iso, in my case), and > save it to a file locally. Mount the image as a loopback device, > copy the file "initrd.img" from the DVD image, unmount the image: > > mkdir /mnt/loop > mount -oloop,ro FC2-i386-DVD.iso /mnt/loop > cp /mnt/loop/isolinux/initrd.img . > umount /mnt/loopI don''t think the initrd is going to do you much good: any of the modules it contains are going to be built for the wrong kernel. The default xenU kernel probably has everything you need anyway. As I understand it, anaconda takes the place of /sbin/init in the initrd. I suspect what''s happening is that loading of the modules is failing and anaconda isn''t trying to proceed, even though it probably could. I''ve never tried it, but I wander if its possible to run anaconda directly from an installed system? If so, running it under strace might provide a useful clue as to what''s going on.> disk = [ ''file:/fc2-install/fc2-install.img,hda1,w'', > ''file:/fc2-install/FC2-i386-DVD.iso,hdb1,r'' ]I don''t suppose it will help, but it might be worth exporting the DVD image as hdb rather than hdb1. If it''s looking for an ISO image it will look for the former. It''ll be a shame if we have to hack anaconda to make this work, but armed with the strace it might be clearer how to trick it into doing the right thing. In the longer term, the "Stateless Linux" project should add what we need to Fedora to make installs easier. Thanks, Ian ------------------------------------------------------- SF email is sponsored by - The IT Product Guide Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://productguide.itmanagersjournal.com/ _______________________________________________ Xen-devel mailing list Xen-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/xen-devel
Luciano Miguel Ferreira Rocha
2004-Dec-12 17:16 UTC
Re: [Xen-devel] Installing Fedora Core 2 inside an unprivileged domain
On Sun, Dec 12, 2004 at 12:32:26AM -0500, John L Griffin wrote:> I am attempting to install Red Hat Fedora Core 2, inside an > unprivileged Xen domain, using the FC2 distribution DVD. > > Ian discusses some options for doing this in a message from 2004-11-07 > [ http://sourceforge.net/mailarchive/message.php?msg_id=9983779 ]. > I''m developing the "alternative approach" he discusses in the message. > I''ve made some progress: > > 1. Create a sparse file (see section 5.2 of Xen user''s manual): > > dd if=/dev/zero of=fc2-install.img bs=1k seek=8388607 count=1 > > 2. Acquire the DVD ISO image (FC2-i386-DVD.iso, in my case), and > save it to a file locally. Mount the image as a loopback device, > copy the file "initrd.img" from the DVD image, unmount the image: > > mkdir /mnt/loop > mount -oloop,ro FC2-i386-DVD.iso /mnt/loop > cp /mnt/loop/isolinux/initrd.img . > umount /mnt/loop > > 3. Create a configuration file; the important fields to modify are > "ramdisk" (should point to initrd.img from above), "disk", and > "root". Here are the entries I used: > > kernel = "/boot/vmlinuz-2.6.9-xenU" > ramdisk = "/fc2-install/initrd.img" > memory = 128 > name = "fc2-install" > disk = [ ''file:/fc2-install/fc2-install.img,hda1,w'', > ''file:/fc2-install/FC2-i386-DVD.iso,hdb1,r'' ] > root = "/dev/hdb1 ro ramdisk_size=8192 init=isolinux.bin" > > 4. Start the unprivileged domain. > > xend start > xm create fc2-install.xen -c > > The unprivileged domain starts, Linux starts to boot correctly, and a > "Welcome to Fedora Core" message appears. But, then a prompt asks "Do > you have a driver disk?". When I say "no", it asks what type of media > contains the packages to be installed (Local CDROM, Hard drive, NFS > image, FTP, HTTP), but selecting any of them brings up a "No driver > found" prompt: "Unable to find any devices of the type needed for this > installation type. Would you like to manually select your driver or > use a driver disk?" > > And that''s where I''m currently stuck. None of the listed drivers for > either disk-based or network-based installs appear to work. My theory > is that the initial boot is successful because Xen is loading the > ramdisk, but in the next stage the installer can''t find drivers for > either the VBD or virtual network interface. (See boot messages > below.) > > But this inability to find the drivers seems odd, since I expect the > drivers for both to be compiled into the xenU kernel. (Could the > installer somehow be switching over to the kernel image on the DVD?) > > So, any ideas on what to try to overcome this? Rebuild the initrd > image? Create a driver disk? Something much simpler?The drivers work, but anaconda doesn''t detect the partitions. I gave up installing FC2 and Debian via the normal installers, and went with debootstrap, but later I came across a option to anaconda to make it work like the debootstrap. Try the --rootpath /path option. I didn''t try it for myself. Good luck. Regards, Luciano Rocha ------------------------------------------------------- SF email is sponsored by - The IT Product Guide Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://productguide.itmanagersjournal.com/ _______________________________________________ Xen-devel mailing list Xen-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/xen-devel
John L Griffin
2004-Dec-14 03:32 UTC
Re: [Xen-devel] Installing Fedora Core 2 inside an unprivileged domain
Well, drat. Ian''s and Luciano''s comments are correct: on the FC2 and FC3 ISO images, the anaconda installer appears to require a successful module load before proceeding with an installation. This is true even when mountable block device nodes exist on the system. I''m going to throw in the towel for now, but there are several possible continuing approaches if anyone in the future wants to give this a shot: 1. Modify anaconda to automatically bypass the module loading. There are several web sites that discuss modifying anaconda (to resolve specific boot issues, such as when using new motherboards), but I unfortunately found no good central reference on anaconda itself. 2. Load a bootstrap file system (see below), then invoke the installation routines that would normally be called by anaconda. (Note: it is not immediately obvious to me that this is possible without rebuilding anaconda; there is a single "loader" executable that''s called by the installer''s "init" executable, and "loader" appears to do everything by itself.) 3. Recompile the xenU kernel to use modules for the disk and network interfaces, then modify the installer''s initrd image to recognize and include these modules during its initial probe. 4. As per Luciano''s suggestion, [i] install the anaconda RPM and run it from the xen0 partition with the --rootpath option or [ii] use the "debootstrap" utility with the Red Hat images. This isn''t quite solving the problem I set out to solve (installing Red Hat, wholly within xenU domains, with no/few modifications), but this will perhaps allow the creation of a file system without requiring both a reboot and an actual disk partition.> I''ve never tried it, but I wander if its possible to run anaconda > directly from an installed system? If so, running it under strace > might provide a useful clue as to what''s going on.I was able to run strace on the anaconda "loader" executable, by booting xenU directly into the "stage2.img" image included with the ISO images: A. Mount the DVD image in loopback mode. B. Mount the file "Fedora/base/stage2.img" (in the DVD image) in loopback mode. (Note, this is a "cramfs" image, which requires kernel support.) C. Create a blank 256MB file (or partition), make an ext2 file system on it, mount it, copy the contents of "stage2.img" into it. [I refer to this as stage2-ext2.img below.] D. You''ll need to make some changes to stage2-ext2.img before booting from it, depending on what you want to do below. At a minimum, you can copy the "strace" binary into /usr/bin. To run the anaconda installer, you''ll need to make directories for /proc, /sys, /var/run, and perhaps some others. You also may need to copy some files (for example, search for "lang-table" and copy that file into /etc); you''ll see error messages for each of these when you try to run anaconda. E. Start an unprivileged domain with options something like this: disk = [ ''file:/flash/fc2-install/stage2-ext2.img,sda1,w'' ] root = "/dev/sda1" #extra = "ro init=/usr/lib/anaconda-runtime/loader/init" extra = "ro init=/usr/bin/bash" Using the first "extra" line will boot into the anaconda installer, which will ultimately fail or get into the no-module-found black hole. Using the second "extra" line will get you a helpful bash prompt and a reasonably populated /usr/bin directory. Unfortunately, invoking "strace" on the "loader" executable produced a 500KB file. In lieu of posting that here, I will forward the trace directly to Ian. ------------------------------------------------------- SF email is sponsored by - The IT Product Guide Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://productguide.itmanagersjournal.com/ _______________________________________________ Xen-devel mailing list Xen-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/xen-devel
Rik van Riel
2004-Dec-14 14:51 UTC
Re: [Xen-devel] Installing Fedora Core 2 inside an unprivileged domain
On Mon, 13 Dec 2004, John L Griffin wrote:> 1. Modify anaconda> 4. As per Luciano''s suggestion, [i] install the anaconda RPM and > run it from the xen0 partition with the --rootpath optionI plan to talk with the Anaconda people soon, to make the above a bit friendlier, as well as allow you to install multiple versions of the OS like that. I don''t know if this will follow the --rootpath idea or if things will look different, but we''ll try to work something out. Btw, rawhide should now have RPMs with kernel-xen0, kernel-xen0, xen and python-twisted ;) -- "Debugging is twice as hard as writing the code in the first place. Therefore, if you write the code as cleverly as possible, you are, by definition, not smart enough to debug it." - Brian W. Kernighan ------------------------------------------------------- SF email is sponsored by - The IT Product Guide Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://productguide.itmanagersjournal.com/ _______________________________________________ Xen-devel mailing list Xen-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/xen-devel
Penelope Fudd
2004-Dec-14 19:37 UTC
Re: [Xen-devel] Installing Fedora Core 2 inside an unprivileged domain
On Mon, 2004-12-13 at 19:32, John L Griffin wrote:> Well, drat. Ian''s and Luciano''s comments are correct: on the FC2 and FC3 > ISO images, the anaconda installer appears to require a successful module > load before proceeding with an installation. This is true even when > mountable block device nodes exist on the system.Is it possible to make Xen-U kernels fake the loading of modules? Every time someone says "insmod foobar", the kernel would say "ok, foobar is now on the lsmod list" but then it doesn''t actually run any code in the module. Would this fake-out anaconda sufficiently? Or does anaconda run ''insmod'' or ''modprobe'' (in which case replacing those programs with symlinks to ''/bin/true'' would fix the problem)? This was my main concern when trying to create a honeypot; ''lsmod'' looks different when you''re inside one. -- Penelope Fudd <kernel@pkts.ca> ------------------------------------------------------- SF email is sponsored by - The IT Product Guide Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://productguide.itmanagersjournal.com/ _______________________________________________ Xen-devel mailing list Xen-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/xen-devel
John L Griffin
2004-Dec-14 20:13 UTC
Re: [Xen-devel] Installing Fedora Core 2 inside an unprivileged domain
> Is it possible to make Xen-U kernels fake the loading of modules? Every > time someone says "insmod foobar", the kernel would say "ok, foobar is > now on the lsmod list" but then it doesn''t actually run any code in the > module. > > Would this fake-out anaconda sufficiently? Or does anaconda run > ''insmod'' or ''modprobe'' (in which case replacing those programs with > symlinks to ''/bin/true'' would fix the problem)?Interesting thought. I just gave this a try, replacing /usr/sbin/insmod with a symbolic link to /usr/bin/true, and it didn''t work: after I selected a module to load, it came up with the same messagebox titled "No driver found": "Unable to find any devices of the type needed for this installation type. Would you like to manually select your driver or use a driver disk?" I tried a module in each of Local CDROM, Hard drive, and FTP. So perhaps the key is first convincing anaconda that it should try loading a (any) module, then using the /bin/true trick. Any idea how anaconda (and/or other Linux apps) tests for which devices are present? Looking at the relevant strace info (see below), it seems to get a list of PCI and USB signatures, so it must match them somehow against a memory location or file contents(?). (It seems like it''d be fairly heavy-weight to extend Xen to pretend to export a PCI device just to fool anaconda, but maybe we could just create a static file /proc/pci/something with the expected entry in it.) Below is the strace of the anaconda loader (mentioned in my earlier message), grepped for lines that start with "open". open("/var/run/loader.run", O_RDWR|O_CREAT|O_TRUNC, 0666) = 3 open("/dev/tty3", O_WRONLY|O_CREAT|O_TRUNC, 0666) = 3 open("/dev/tty3", O_WRONLY|O_LARGEFILE) = 4 open("/tmp/anaconda.log", O_WRONLY|O_CREAT|O_TRUNC, 0666) = -1 EIO (Input/output error) open("/proc/cmdline", O_RDONLY|O_LARGEFILE) = 5 open("/tmp/netinfo", O_RDONLY) = -1 ENOENT (No such file or directory) open("/modules/module-info", O_RDONLY|O_LARGEFILE) = 5 open("/proc/modules", O_RDONLY|O_LARGEFILE) = 5 open("/modules/modules.dep", O_RDONLY|O_LARGEFILE) = 5 open("/modules/modules.cgz", O_RDONLY) = 5 open("/tmp/modprobe.conf", O_WRONLY|O_APPEND|O_CREAT|O_LARGEFILE, 0666) = -1 EIO (Input/output error) open("/etc/screenfont.gz", O_RDONLY) = -1 ENOENT (No such file or directory) open("/dev/console", O_RDWR|O_LARGEFILE) = 5 open("/proc/meminfo", O_RDONLY|O_LARGEFILE) = 5 open("/modules/modules.cgz", O_RDONLY) = 5 open("/tmp/modprobe.conf", O_WRONLY|O_APPEND|O_CREAT|O_LARGEFILE, 0666) = -1 EIO (Input/output error) open("/modules/modules.cgz", O_RDONLY) = 5 open("/tmp/modprobe.conf", O_WRONLY|O_APPEND|O_CREAT|O_LARGEFILE, 0666) = -1 EIO (Input/output error) open("/modules/modules.cgz", O_RDONLY) = 5 open("/tmp/modprobe.conf", O_WRONLY|O_APPEND|O_CREAT|O_LARGEFILE, 0666) = -1 EIO (Input/output error) open("/usr/share/hwdata/pcitable", O_RDONLY) = 5 open("/lib/modules/2.6.9-xenU/modules.pcimap", O_RDONLY) = -1 ENOENT (No such file or directory) open("/etc/modules.pcimap", O_RDONLY) = -1 ENOENT (No such file or directory) open("/modules/modules.pcimap", O_RDONLY) = 5 open("/usr/share/hwdata/pcitable", O_RDONLY) = 5 open("/lib/modules/2.6.9-xenU/modules.pcimap", O_RDONLY) = -1 ENOENT (No such file or directory) open("/etc/modules.pcimap", O_RDONLY) = -1 ENOENT (No such file or directory) open("/modules/modules.pcimap", O_RDONLY) = 5 open("/modules/pcitable", O_RDONLY) = 5 open("/modules/modules.pcimap", O_RDONLY) = 5 open("/.buildstamp", O_RDONLY) = 5 open("//.terminfo/l/linux", O_RDONLY) = -1 ENOENT (No such file or directory) open("/usr/share/terminfo/l/linux", O_RDONLY) = 6 open("/dev/tty", O_RDWR) = -1 ENXIO (No such device or address) open("/proc/cmdline", O_RDONLY|O_LARGEFILE) = 6 open("/lib/modules/2.6.9-xenU/modules.usbmap", O_RDONLY) = -1 ENOENT (No such file or directory) open("/usr/share/hwdata/usb.ids", O_RDONLY) = -1 ENOENT (No such file or directory) open("./usb.ids", O_RDONLY) = -1 ENOENT (No such file or directory) open("/proc/bus/usb/devices", O_RDONLY) = -1 ENOENT (No such file or directory) open("/proc/scsi/usb-storage-0", O_RDONLY|O_DIRECTORY) = -1 ENOENT (No such file or directory) open("/etc/lang-table", O_RDONLY) = 6 open("/lib/modules/2.6.9-xenU/modules.usbmap", O_RDONLY) = -1 ENOENT (No such file or directory) open("/usr/share/hwdata/usb.ids", O_RDONLY) = -1 ENOENT (No such file or directory) open("./usb.ids", O_RDONLY) = -1 ENOENT (No such file or directory) open("/proc/bus/usb/devices", O_RDONLY) = -1 ENOENT (No such file or directory) open("/proc/scsi/usb-storage-0", O_RDONLY|O_DIRECTORY) = -1 ENOENT (No such file or directory) open("/lib/modules/2.6.9-xenU/modules.usbmap", O_RDONLY) = -1 ENOENT (No such file or directory) open("/usr/share/hwdata/usb.ids", O_RDONLY) = -1 ENOENT (No such file or directory) open("./usb.ids", O_RDONLY) = -1 ENOENT (No such file or directory) open("/proc/bus/usb/devices", O_RDONLY) = -1 ENOENT (No such file or directory) open("/proc/scsi/usb-storage-0", O_RDONLY|O_DIRECTORY) = -1 ENOENT (No such file or directory) open("/proc/driver/cciss/cciss0", O_RDONLY) = -1 ENOENT (No such file or directory) open("/proc/driver/cpqarray/ida0", O_RDONLY) = -1 ENOENT (No such file or directory) open("/proc/rd/c0/current_status", O_RDONLY) = -1 ENOENT (No such file or directory) open("/proc/i2o/iop0/lct", O_RDONLY) = -1 ENOENT (No such file or directory) ------------------------------------------------------- SF email is sponsored by - The IT Product Guide Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://productguide.itmanagersjournal.com/ _______________________________________________ Xen-devel mailing list Xen-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/xen-devel
Ian Pratt
2004-Dec-14 20:58 UTC
Re: [Xen-devel] Installing Fedora Core 2 inside an unprivileged domain
> On Mon, 2004-12-13 at 19:32, John L Griffin wrote: > > Well, drat. Ian''s and Luciano''s comments are correct: on the FC2 and FC3 > > ISO images, the anaconda installer appears to require a successful module > > load before proceeding with an installation. This is true even when > > mountable block device nodes exist on the system. > > Is it possible to make Xen-U kernels fake the loading of modules? Every > time someone says "insmod foobar", the kernel would say "ok, foobar is > now on the lsmod list" but then it doesn''t actually run any code in the > module.There''s nothing that can be done in the kernel to help this.> Would this fake-out anaconda sufficiently? Or does anaconda run > ''insmod'' or ''modprobe'' (in which case replacing those programs with > symlinks to ''/bin/true'' would fix the problem)?Good idea - I think it''s well worth giving this a try by hacking the initrd. Ian ------------------------------------------------------- SF email is sponsored by - The IT Product Guide Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://productguide.itmanagersjournal.com/ _______________________________________________ Xen-devel mailing list Xen-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/xen-devel
ugh, any idea ? i tried yum --installroot=/mnt/RHFC3 -y groupinstall Base now I get this error : [...] Install: zlib.i386 0:1.2.1.2-1 Downloading Packages: warning: rpmts_HdrFromFdno: V3 DSA signature: NOKEY, key ID 4f2a6fd2 public key not available for /mnt/RHFC3/var/cache/yum/base/packages/openssh-clients-3.9p1-7.i386.rpm public key not available for /mnt/RHFC3/var/cache/yum/base/packages/nss_db-2.2-29.i386.rpm public key not available for /mnt/RHFC3/var/cache/yum/base/packages/iputils-20020927-16.i386.rpm public key not available for /mnt/RHFC3/var/cache/yum/base/packages/acpid-1.0.3-2.i386.rpm [...] yet checking the keys it *seems* I have all needed keys installed In particular I assume that "gpg-pubkey-4f2a6fd2-3f9d9d3b" means the ID 4f2a6fd2 above [root@mtdew yum.repos.d]# rpm -qa gpg-pubkey* gpg-pubkey-4f2a6fd2-3f9d9d3b gpg-pubkey-30c9ecf8-3f9da3f7 gpg-pubkey-db42a60e-37ea5438 gpg-pubkey-8df56d05-3e828977 [root@mtdew yum.repos.d]# rpm -qa gpg-pubkey* --root=/mnt/RHFC3 gpg-pubkey-4f2a6fd2-3f9d9d3b gpg-pubkey-30c9ecf8-3f9da3f7 gpg-pubkey-db42a60e-37ea5438 gpg-pubkey-1cddbca9-3f9da14c [root@mtdew yum.repos.d]# ------------------------------------------------------- SF email is sponsored by - The IT Product Guide Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click _______________________________________________ Xen-devel mailing list Xen-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/xen-devel