Hi all, I am trying to install Xen on my running Linux server. I followed the steps of README.CD and copied image.gz and xenolinux.gz to /boot directory. Then an entry in grub.conf was added as following: title Xen / XenoLinux 2.4.22 kernel /boot/image.gz dom0_mem=131072 ser_baud=115200 noht module /boot/xenolinux.gz root=/dev/sda4 ro console=tty0 After reboot, the system complained file can not be found. So I made the change to kernel /image.gz dom0_mem=131072 ser_baud=115200 noht module /xenolinux.gz root=/dev/sda4 ro console=tty0 Initially it seemed ok. Booting ''Xen (2.4.22)'' kernel /image.gz dom0_mem=131072 ser_baud=115200 noht [Multiboot-elf, <0x100000:0xce3f0:0x1c430>, shtab=0x1eb258, entry=0x100000] module /xenolinux.gz root=/dev/sda4 console=tty0 [Multiboot-module @ 0x206000, 0x18b8cc bytes] Then I can see many strange characters on the screen. Then the machine rebooted. Any suggestions? Thanks, Ning ------------------------------------------------------- This SF.net email is sponsored by: SF.net Giveback Program. SourceForge.net hosts over 70,000 Open Source Projects. See the people who have HELPED US provide better services: Click here: http://sourceforge.net/supporters.php _______________________________________________ Xen-devel mailing list Xen-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/xen-devel
> Initially it seemed ok. > Booting ''Xen (2.4.22)'' > > kernel /image.gz dom0_mem=131072 ser_baud=115200 noht > [Multiboot-elf, <0x100000:0xce3f0:0x1c430>, shtab=0x1eb258, > entry=0x100000] > module /xenolinux.gz root=/dev/sda4 console=tty0 > [Multiboot-module @ 0x206000, 0x18b8cc bytes] > > Then I can see many strange characters on the screen. Then the machine > rebooted. Any suggestions?A few thoughts: What hardware are you using? The output of ''dmesg'' from a working Linux kernel might be useful. Does the CD work if you boot from it directly? Do you have a VGA-compatible video card? Xen assumes you do and things will not be pretty otherwise. Do you see random garbage on the monitor, or over the serial line? I assume the former, in which case you may get useful information out by reading console output from the first serial port (COM1) --- it will be 115200 baud, 8 data bits, 1 stop bit, no parity. I hope this helps --- we really need more info and for you to try some of the above tests to pin down what the problem might be. Regards, Keir ------------------------------------------------------- This SF.net email is sponsored by: SF.net Giveback Program. SourceForge.net hosts over 70,000 Open Source Projects. See the people who have HELPED US provide better services: Click here: http://sourceforge.net/supporters.php _______________________________________________ Xen-devel mailing list Xen-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/xen-devel
> I am trying to install Xen on my running Linux server. I followed the > steps of README.CD and copied image.gz and xenolinux.gz to /boot > directory. Then an entry in grub.conf was added as following: > title Xen / XenoLinux 2.4.22 > kernel /boot/image.gz dom0_mem=131072 ser_baud=115200 noht > module /boot/xenolinux.gz root=/dev/sda4 ro console=tty0 > > After reboot, the system complained file can not be found. So I made the > change to > kernel /image.gz dom0_mem=131072 ser_baud=115200 noht > module /xenolinux.gz root=/dev/sda4 ro console=tty0I''d check the location of you''ve copied the two files -- it sounds a lot like they''ve ended up in root. Have you got a separate /boot partition per chance? I think the standard Grub documentation should help you.> kernel /image.gz dom0_mem=131072 ser_baud=115200 noht > [Multiboot-elf, <0x100000:0xce3f0:0x1c430>, shtab=0x1eb258, > entry=0x100000] > module /xenolinux.gz root=/dev/sda4 console=tty0 > [Multiboot-module @ 0x206000, 0x18b8cc bytes] > > Then I can see many strange characters on the screen. Then the machine > rebooted. Any suggestions?Hmm, that''s not good. Unless you have a serial port connected, you might want to remove the ser_baud line from grub.conf. Also, you might want to add the ''ignorebiostables'' to the ''kernel'' part of the grub.conf, just in case Xen is getting confused by your hardware. Can you tell us a bit more about your system? e.g. CPU(s), chipset, SCSI card, network card etc. Thanks, Ian ------------------------------------------------------- This SF.net email is sponsored by: SF.net Giveback Program. SourceForge.net hosts over 70,000 Open Source Projects. See the people who have HELPED US provide better services: Click here: http://sourceforge.net/supporters.php _______________________________________________ Xen-devel mailing list Xen-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/xen-devel
Thanks Keir and Ian! You are right that host doesn''t have video card. It''s one of many "barebones" (is this the right term?) in a cluster on the shelf. I accessed it by telnetting to a terminal server. There might be conflicts. Do you recommend to install Xen on a regular machine? I can''t access that host now because some network issues. Once I can access it, I will post more information. BTW, is there a user manual somewhere? Thanks a lot, Ning On Wed, 8 Oct 2003, Keir Fraser wrote:> > Initially it seemed ok. > > Booting ''Xen (2.4.22)'' > > > > kernel /image.gz dom0_mem=131072 ser_baud=115200 noht > > [Multiboot-elf, <0x100000:0xce3f0:0x1c430>, shtab=0x1eb258, > > entry=0x100000] > > module /xenolinux.gz root=/dev/sda4 console=tty0 > > [Multiboot-module @ 0x206000, 0x18b8cc bytes] > > > > Then I can see many strange characters on the screen. Then the machine > > rebooted. Any suggestions? > > A few thoughts: > > What hardware are you using? The output of ''dmesg'' from a working > Linux kernel might be useful. > > Does the CD work if you boot from it directly? > > Do you have a VGA-compatible video card? Xen assumes you do and things > will not be pretty otherwise. > > Do you see random garbage on the monitor, or over the serial line? I > assume the former, in which case you may get useful information out by > reading console output from the first serial port (COM1) --- it will > be 115200 baud, 8 data bits, 1 stop bit, no parity. > > I hope this helps --- we really need more info and for you to try some > of the above tests to pin down what the problem might be. > > Regards, > Keir >------------------------------------------------------- This SF.net email is sponsored by: SF.net Giveback Program. SourceForge.net hosts over 70,000 Open Source Projects. See the people who have HELPED US provide better services: Click here: http://sourceforge.net/supporters.php _______________________________________________ Xen-devel mailing list Xen-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/xen-devel
Hi, In any case, I am eager to try so I selected my home pc as a testbed to install Xen again. It''s a normal PC running Redhat 9. After I put the two gzip files into /boot and configured GRUB, everything seemed good. I was really happy to see it actually booted (halfway though). Then shortly, it rebooted automatically. The screen scrolled too fast. I only saw the last a few lines are something like: Guest Operating System blah blah blah blah So it seems the xenolinux kernel had some conflicts with my pc. Probably one of the device driver. Then machine rebooted. Is there a way to stop the screen or see a log somewhere? Thanks very much, Ning And here is the dmesg output of my pc after I booted the original redhat kernel. Linux version 2.4.20-8 (bhcompile@porky.devel.redhat.com) (gcc version 3.2.2 20030222 (Red Hat Linux 3.2.2-5)) #1 Thu Mar 13 17:54:28 EST 2003 BIOS-provided physical RAM map: BIOS-e820: 0000000000000000 - 000000000009fc00 (usable) BIOS-e820: 000000000009fc00 - 00000000000a0000 (reserved) BIOS-e820: 00000000000f0000 - 0000000000100000 (reserved) BIOS-e820: 0000000000100000 - 000000000fffc000 (usable) BIOS-e820: 000000000fffc000 - 000000000ffff000 (ACPI data) BIOS-e820: 000000000ffff000 - 0000000010000000 (ACPI NVS) BIOS-e820: 00000000fec00000 - 00000000fec01000 (reserved) BIOS-e820: 00000000fee00000 - 00000000fee01000 (reserved) BIOS-e820: 00000000ffff0000 - 0000000100000000 (reserved) 0MB HIGHMEM available. 255MB LOWMEM available. On node 0 totalpages: 65532 zone(0): 4096 pages. zone(1): 61436 pages. zone(2): 0 pages. Kernel command line: ro root=LABEL=/ Initializing CPU#0 Detected 1700.142 MHz processor. Console: colour VGA+ 80x25 Calibrating delay loop... 3394.76 BogoMIPS Memory: 252988k/262128k available (1347k kernel code, 6708k reserved, 999k data, 132k init, 0k highmem) Dentry cache hash table entries: 32768 (order: 6, 262144 bytes) Inode cache hash table entries: 16384 (order: 5, 131072 bytes) Mount cache hash table entries: 512 (order: 0, 4096 bytes) Buffer-cache hash table entries: 16384 (order: 4, 65536 bytes) Page-cache hash table entries: 65536 (order: 6, 262144 bytes) CPU: Trace cache: 12K uops, L1 D cache: 8K CPU: L2 cache: 256K Intel machine check architecture supported. Intel machine check reporting enabled on CPU#0. CPU: After generic, caps: 3febfbff 00000000 00000000 00000000 CPU: Common caps: 3febfbff 00000000 00000000 00000000 CPU: Intel(R) Pentium(R) 4 CPU 1.70GHz stepping 02 Enabling fast FPU save and restore... done. Enabling unmasked SIMD FPU exception support... done. Checking ''hlt'' instruction... OK. POSIX conformance testing by UNIFIX mtrr: v1.40 (20010327) Richard Gooch (rgooch@atnf.csiro.au) mtrr: detected mtrr type: Intel PCI: PCI BIOS revision 2.10 entry at 0xf1580, last bus=1 PCI: Using configuration type 1 PCI: Probing PCI hardware PCI: Using IRQ router SIS [1039/0008] at 00:02.0 isapnp: Scanning for PnP cards... isapnp: No Plug & Play device found~ Linux NET4.0 for Linux 2.4 Based upon Swansea University Computer Society NET3.039 Initializing RT netlink socket apm: BIOS version 1.2 Flags 0x0b (Driver version 1.16) Starting kswapd VFS: Disk quotas vdquot_6.5.1 pty: 2048 Unix98 ptys configured Serial driver version 5.05c (2001-07-08) with MANY_PORTS MULTIPORT SHARE_IRQ SERIAL_PCI ISAPNP enabled ttyS0 at 0x03f8 (irq = 4) is a 16550A ttyS1 at 0x02f8 (irq = 3) is a 16550A Real Time Clock Driver v1.10e Floppy drive(s): fd0 is 1.44M FDC 0 is a post-1991 82077 NET4: Frame Diverter 0.46 RAMDISK driver initialized: 16 RAM disks of 4096K size 1024 blocksize Uniform Multi-Platform E-IDE driver Revision: 7.00beta-2.4 ide: Assuming 33MHz system bus speed for PIO modes; override with idebus=xx SIS5513: IDE controller at PCI slot 00:02.5 SIS5513: chipset revision 208 SIS5513: not 100% native mode: will probe irqs later SiS645 ATA 100 controller ide0: BM-DMA at 0xd800-0xd807, BIOS settings: hda:DMA, hdb:DMA ide1: BM-DMA at 0xd808-0xd80f, BIOS settings: hdc:pio, hdd:DMA hda: QUANTUM FIREBALL CR13.0A, ATA DISK drive hdb: IDE/ATAPI CD-ROM 44X, ATAPI CD/DVD-ROM drive blk: queue c03c9f40, I/O limit 4095Mb (mask 0xffffffff) hdd: WDC WD600BB-60CJA1, ATA DISK drive blk: queue c03ca4e4, I/O limit 4095Mb (mask 0xffffffff) ide0 at 0x1f0-0x1f7,0x3f6 on irq 14 ide1 at 0x170-0x177,0x376 on irq 15 hda: host protected area => 1 hda: 25429824 sectors (13020 MB) w/418KiB Cache, CHS=1582/255/63, UDMA(33) hdd: host protected area => 1 hdd: 117231408 sectors (60022 MB) w/2048KiB Cache, CHS=116301/16/63, UDMA(100) ide-floppy driver 0.99.newide Partition check: hda: hda1 hda2 hda3 hda4 < hda5 hda6 hda7 hda8 hda9 > hdd: hdd1 ide-floppy driver 0.99.newide md: md driver 0.90.0 MAX_MD_DEVS=256, MD_SB_DISKS=27 md: Autodetecting RAID arrays. md: autorun ... md: ... autorun DONE. NET4: Linux TCP/IP 1.0 for NET4.0 IP Protocols: ICMP, UDP, TCP, IGMP IP: routing cache hash table of 2048 buckets, 16Kbytes TCP: Hash tables configured (established 16384 bind 32768) Linux IP multicast router 0.06 plus PIM-SM NET4: Unix domain sockets 1.0/SMP for Linux NET4.0. RAMDISK: Compressed image found at block 0 Freeing initrd memory: 147k freed VFS: Mounted root (ext2 filesystem). Journalled Block Device driver loaded kjournald starting. Commit interval 5 seconds EXT3-fs: mounted filesystem with ordered data mode. Freeing unused kernel memory: 132k freed usb.c: registered new driver usbdevfs usb.c: registered new driver hub SiS router pirq escape (96) SiS router pirq escape (96) usb-ohci.c: USB OHCI at membase 0xd084a000, IRQ 5 usb-ohci.c: usb-00:02.2, Silicon Integrated Systems [SiS] 7001 usb.c: new USB bus registered, assigned bus number 1 hub.c: USB hub found hub.c: 3 ports detected SiS router pirq escape (99) SiS router pirq escape (99) usb-ohci.c: USB OHCI at membase 0xd084c000, IRQ 9 usb-ohci.c: usb-00:02.3, Silicon Integrated Systems [SiS] 7001 (#2) usb.c: new USB bus registered, assigned bus number 2 hub.c: USB hub found hub.c: 3 ports detected usb.c: registered new driver hiddev usb.c: registered new driver hid hid-core.c: v1.8.1 Andreas Gal, Vojtech Pavlik <vojtech@suse.cz> hid-core.c: USB HID support drivers mice: PS/2 mouse device common for all mice hub.c: new USB device 00:02.2-2, assigned address 2 usb.c: USB device 2 (vend/prod 0x46d/0x8b3) is not claimed by any active driver.EXT3 FS 2.4-0.9.19, 19 August 2002 on ide0(3,2), internal journal LVM version 1.0.5+(22/07/2002) module loaded loop: loaded (max 8 devices) Adding Swap: 514072k swap-space (priority -1) kjournald starting. Commit interval 5 seconds EXT3 FS 2.4-0.9.19, 19 August 2002 on ide0(3,8), internal journal EXT3-fs: mounted filesystem with ordered data mode. kjournald starting. Commit interval 5 seconds EXT3 FS 2.4-0.9.19, 19 August 2002 on ide1(22,65), internal journal EXT3-fs: mounted filesystem with ordered data mode. Linux video capture interface: v1.00 pwc Philips PCA645/646 + PCVC675/680/690 + PCVC730/740/750 webcam module version 8.8 loaded. pwc Also supports the Askey VC010, Logitech Quickcam 3000 Pro, Samsung MPC-C10 and MPC-C30, pwc the Creative WebCam 5, SOTEC Afina Eye and Visionite VCS-UC300 and VCS-UM100. usb.c: registered new driver Philips webcam pwc Logitech QuickCam Zoom USB webcam detected. pwc Registered as /dev/video0. usb.c: registered new driver audio usbaudio: device 2 audiocontrol interface 1 has 1 input and 0 output AudioStreaming interfaces usbaudio: device 2 interface 2 altsetting 0 FORMAT_TYPE descriptor not found usbaudio: device 2 interface 2 altsetting 1 channels 1 framesize 2 configured usbaudio: valid input sample rate 44100 usbaudio: device 2 interface 2 altsetting 1: format 0x00000010 sratelo 44100 sratehi 44100 attributes 0x00 usbaudio: device 2 interface 2 altsetting 2 channels 1 framesize 2 configured usbaudio: valid input sample rate 22050 usbaudio: device 2 interface 2 altsetting 2: format 0x00000010 sratelo 22050 sratehi 22050 attributes 0x00 usbaudio: device 2 interface 2 altsetting 3 channels 1 framesize 2 configured usbaudio: valid input sample rate 11025 usbaudio: device 2 interface 2 altsetting 3: format 0x00000010 sratelo 11025 sratehi 11025 attributes 0x00 usbaudio: device 2 interface 2 altsetting 4 channels 1 framesize 2 configured usbaudio: valid input sample rate 8000 usbaudio: device 2 interface 2 altsetting 4: format 0x00000010 sratelo 8000 sratehi 8000 attributes 0x00 usbaudio: registered dsp 14,3 usbaudio: constructing mixer for Terminal 3 type 0x0101 usbaudio: warning: found 1 of 0 logical channels. usbaudio: assuming the channel found is the master channel (got a Philips camera?). Should be fine. usbaudio: registered mixer 14,0 usb_audio_parsecontrol: usb_audio_state at cfea0500 audio.c: v1.0.0:USB Audio Class driver ohci1394: $Rev: 693 $ Ben Collins <bcollins@debian.org> PCI: Found IRQ 11 for device 00:0c.0 PCI: Sharing IRQ 11 with 00:08.0 PCI: Sharing IRQ 11 with 01:00.0 ohci1394_0: OHCI-1394 1.0 (PCI): IRQ=[11] MMIO=[f5800000-f58007ff] Max Packet=[2048] ieee1394: SelfID completion called outside of bus reset! ieee1394: Host added: Node[00:1023] GUID[0020000000004054] [Linux OHCI-1394] parport0: PC-style at 0x378 (0x778) [PCSPP,TRISTATE] parport0: irq 7 detected ip_conntrack version 2.1 (2047 buckets, 16376 max) - 292 bytes per conntrack ne2k-pci.c:v1.02 10/19/2000 D. Becker/P. Gortmaker http://www.scyld.com/network/ne2k-pci.html PCI: Found IRQ 11 for device 00:08.0 PCI: Sharing IRQ 11 with 00:0c.0 PCI: Sharing IRQ 11 with 01:00.0 divert: allocating divert_blk for eth0 eth0: RealTek RTL-8029 found at 0xa800, IRQ 11, 00:4F:49:09:0D:E6. CSLIP: code copyright 1989 Regents of the University of California PPP generic driver version 2.4.2 divert: not allocating divert_blk for non-ethernet device ppp0 parport0: PC-style at 0x378 (0x778) [PCSPP,TRISTATE] parport0: irq 7 detected lp0: using parport0 (polling). lp0: console ready ide-floppy driver 0.99.newide hdb: ATAPI 20X CD-ROM drive, 128kB Cache, UDMA(33) Uniform CD-ROM driver Revision: 3.12 cdrom: This disc doesn''t have any tracks I recognize! usbaudio: dma timed out?? usbaudio: dma timed out?? On Wed, 8 Oct 2003, Ning Wu wrote:> Thanks Keir and Ian! > > You are right that host doesn''t have video card. It''s one of many > "barebones" (is this the right term?) in a cluster on the shelf. I > accessed it by telnetting to a terminal server. There might beconflicts.> Do you recommend to install Xen on a regular machine? > > I can''t access that host now because some network issues. Once I can > access it, I will post more information. > > BTW, is there a user manual somewhere? > > Thanks a lot, > > Ning > > On Wed, 8 Oct 2003, Keir Fraser wrote: > > > > Initially it seemed ok. > > > Booting ''Xen (2.4.22)'' > > > > > > kernel /image.gz dom0_mem=131072 ser_baud=115200 noht > > > [Multiboot-elf, <0x100000:0xce3f0:0x1c430>, shtab=0x1eb258, > > > entry=0x100000] > > > module /xenolinux.gz root=/dev/sda4 console=tty0 > > > [Multiboot-module @ 0x206000, 0x18b8cc bytes] > > > > > > Then I can see many strange characters on the screen. Then the machine > > > rebooted. Any suggestions? > > > > A few thoughts: > > > > What hardware are you using? The output of ''dmesg'' from a working > > Linux kernel might be useful. > > > > Does the CD work if you boot from it directly? > > > > Do you have a VGA-compatible video card? Xen assumes you do and things > > will not be pretty otherwise. > > > > Do you see random garbage on the monitor, or over the serial line? I > > assume the former, in which case you may get useful information out by > > reading console output from the first serial port (COM1) --- it will > > be 115200 baud, 8 data bits, 1 stop bit, no parity. > > > > I hope this helps --- we really need more info and for you to try some > > of the above tests to pin down what the problem might be. > > > > Regards, > > Keir > > > >------------------------------------------------------- This SF.net email is sponsored by: SF.net Giveback Program. SourceForge.net hosts over 70,000 Open Source Projects. See the people who have HELPED US provide better services: Click here: http://sourceforge.net/supporters.php _______________________________________________ Xen-devel mailing list Xen-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/xen-devel
> Thanks Keir and Ian! > > You are right that host doesn''t have video card. It''s one of many > "barebones" (is this the right term?) in a cluster on the shelf. I > accessed it by telnetting to a terminal server. There might be conflicts. > Do you recommend to install Xen on a regular machine?For the time being. If you can rebuild Xen yourself then there''s a config option you can modify to exclude VGA support. I can also add in a command-line flag ''novga'' or something like that.> BTW, is there a user manual somewhere?Unfortunately not. We''ll gather together responses like this one and make a FAQ or HOWTO sometime soon. Regards, Keir ------------------------------------------------------- This SF.net email is sponsored by: SF.net Giveback Program. SourceForge.net hosts over 70,000 Open Source Projects. See the people who have HELPED US provide better services: Click here: http://sourceforge.net/supporters.php _______________________________________________ Xen-devel mailing list Xen-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/xen-devel
> In any case, I am eager to try so I selected my home pc as a testbed to > install Xen again. It''s > a normal PC running Redhat 9. After I put the two gzip files into /boot > and configured GRUB, everything seemed good. I was really happy to see it > actually booted (halfway though). Then shortly, it rebooted automatically. > > The screen scrolled too fast. I only saw the last a few lines are > something like: > Guest Operating System blah blah > blah blah > > So it seems the xenolinux kernel had some conflicts with my pc. Probably > one of the device driver.Looking at dmesg, I think it''s possible that you misconfigured domain-0''s command line. There are no obvious device problems there.> Then machine rebooted. Is there a way to stop the screen or see a log > somewhere?Unfortunately our usual debugging strategy is to collect console output from the serial line. We automatically reboot the machine on an error because it gets really annoying having to manually reset a remote machine :-) What I can do is fix xen 1.0 so that it hangs, rather than rebooting, if you don''t configure the serial line (the serial line is only configured if you specify ''ser_baud=xxx'' on Xen''s command line). Would you like me to post you a patch, or make a new binary available for you to download? Regards, Keir ------------------------------------------------------- This SF.net email is sponsored by: SF.net Giveback Program. SourceForge.net hosts over 70,000 Open Source Projects. See the people who have HELPED US provide better services: Click here: http://sourceforge.net/supporters.php _______________________________________________ Xen-devel mailing list Xen-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/xen-devel
> In any case, I am eager to try so I selected my home pc as a testbed to > install Xen again. It''s > a normal PC running Redhat 9. After I put the two gzip files into /boot > and configured GRUB, everything seemed good. I was really happy to see it > actually booted (halfway though). Then shortly, it rebooted automatically.Hmm, you''re not having much luck - sorry. I can see a couple of things in the Linux boot messages that might be the cause. I may be wrong, but I''m not sure we''ve ever booted Xen on an SiS chipset machine. It boots fine on a wide variety of machines (even laptops!) but some PC hardware is just too weird. Your SiS IDE controller would be my first concern. Although Xen doesn''t have DMA support for it, I''d have hoped it would have worked fine in PIO mode. There''s not currently an ne2k ethernet driver, though that certainly shouldn''t be causing the machine to crash. (BTW, porting the driver from Linux should be easy). Is there any way you could get a serial terminal connected to it to catch Xen''s boot output? Best, Ian ------------------------------------------------------- This SF.net email is sponsored by: SF.net Giveback Program. SourceForge.net hosts over 70,000 Open Source Projects. See the people who have HELPED US provide better services: Click here: http://sourceforge.net/supporters.php _______________________________________________ Xen-devel mailing list Xen-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/xen-devel
> You are right that host doesn''t have video card. It''s one of many > "barebones" (is this the right term?) in a cluster on the shelf. I > accessed it by telnetting to a terminal server. There might be conflicts. > Do you recommend to install Xen on a regular machine?We generally do all our debugging on a rack of machines that we access via a RS232 terminal server. However, each of the machines has a VGA device even if we haven''t got a monitor connected to it. (many BIOSes won''t let a machine boot without a graphics card of some description). Unfortunately, Xen doesn''t check to see that a VGA is present before writing to it. I guess this is a bug. Have you got a machine where you could download the source tar ball and rebuild Xen? If so, disabling VGA console output is easy.> BTW, is there a user manual somewhere?I''m afraid the only `documentation'' is currently the xen-devel archives and README.CD / README. We''re working on a FAQ, and will hopefully develop some proper documentation in due course. Perhaps some kind users will contribute ;-) Ian ------------------------------------------------------- This SF.net email is sponsored by: SF.net Giveback Program. SourceForge.net hosts over 70,000 Open Source Projects. See the people who have HELPED US provide better services: Click here: http://sourceforge.net/supporters.php _______________________________________________ Xen-devel mailing list Xen-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/xen-devel
> Unfortunately, Xen doesn''t check to see that a VGA is present > before writing to it. I guess this is a bug. > > Have you got a machine where you could download the source tar > ball and rebuild Xen? If so, disabling VGA console output is easy.Actually, having given this some thought, I don''t think it''s the lack of VGA that is causing problems. Writes to VGA I/O space if there is no VGA card just get silently dropped. Writes to VGA address space if there is no VGA card go to memory that we don''t use anyway. I''ll give this a go later today (I''ll try booting Xen after removing the video card). I suspect it will work. Teh random garbage oon the screen is almost certainly a misconfigured serial line. Was the serial receiver expecteing 9600 baud? -- Keir ------------------------------------------------------- This SF.net email is sponsored by: SF.net Giveback Program. SourceForge.net hosts over 70,000 Open Source Projects. See the people who have HELPED US provide better services: Click here: http://sourceforge.net/supporters.php _______________________________________________ Xen-devel mailing list Xen-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/xen-devel
Hi Keir, I think if it''s not too trouble, it will be more user friendly to have a parameter such as ''noautoreboot'' or ''debug=level'' to pass into the kernel. And it will hang or print more info if something wrong. I have the source codes downloaded from sf. I look forward to having your patch and some instructions. And if you need help on the FAQ or manul please let me know I am learning anyway. Thanks, Ning On Thu, 9 Oct 2003, Keir Fraser wrote:> > In any case, I am eager to try so I selected my home pc as a testbed to > > install Xen again. It''s > > a normal PC running Redhat 9. After I put the two gzip files into /boot > > and configured GRUB, everything seemed good. I was really happy to see it > > actually booted (halfway though). Then shortly, it rebooted automatically. > > > > The screen scrolled too fast. I only saw the last a few lines are > > something like: > > Guest Operating System blah blah > > blah blah > > > > So it seems the xenolinux kernel had some conflicts with my pc. Probably > > one of the device driver. > > Looking at dmesg, I think it''s possible that you misconfigured > domain-0''s command line. There are no obvious device problems there. > > > Then machine rebooted. Is there a way to stop the screen or see a log > > somewhere? > > Unfortunately our usual debugging strategy is to collect console > output from the serial line. We automatically reboot the machine on an > error because it gets really annoying having to manually reset a > remote machine :-) > > What I can do is fix xen 1.0 so that it hangs, rather than rebooting, > if you don''t configure the serial line (the serial line is only > configured if you specify ''ser_baud=xxx'' on Xen''s command line). > > Would you like me to post you a patch, or make a new binary available > for you to download? > > Regards, > Keir >------------------------------------------------------- This SF.net email is sponsored by: SF.net Giveback Program. SourceForge.net hosts over 70,000 Open Source Projects. See the people who have HELPED US provide better services: Click here: http://sourceforge.net/supporters.php _______________________________________________ Xen-devel mailing list Xen-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/xen-devel
On Thu, 9 Oct 2003, Ian Pratt wrote:> > > In any case, I am eager to try so I selected my home pc as a testbed to > > install Xen again. It''s > > a normal PC running Redhat 9. After I put the two gzip files into /boot > > and configured GRUB, everything seemed good. I was really happy to see it > > actually booted (halfway though). Then shortly, it rebooted automatically. > > Hmm, you''re not having much luck - sorry. > > I can see a couple of things in the Linux boot messages that > might be the cause. I may be wrong, but I''m not sure we''ve ever > booted Xen on an SiS chipset machine. It boots fine on a wide > variety of machines (even laptops!) but some PC hardware is just > too weird. > > Your SiS IDE controller would be my first concern. Although Xen > doesn''t have DMA support for it, I''d have hoped it would have > worked fine in PIO mode. > > There''s not currently an ne2k ethernet driver, though that > certainly shouldn''t be causing the machine to crash. (BTW, > porting the driver from Linux should be easy). > > Is there any way you could get a serial terminal connected to it > to catch Xen''s boot output?Not my home PC. I will try to install Xen on another cluster of PCs in the lab. :-) But I will wait for Keir''s patch first. Very curious to see why I can''t boot. Thanks.> > Best, > Ian >------------------------------------------------------- This SF.net email is sponsored by: SF.net Giveback Program. SourceForge.net hosts over 70,000 Open Source Projects. See the people who have HELPED US provide better services: Click here: http://sourceforge.net/supporters.php _______________________________________________ Xen-devel mailing list Xen-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/xen-devel
> Hi Keir, > > I think if it''s not too trouble, it will be more user friendly to have a > parameter such as ''noautoreboot'' or ''debug=level'' to pass into the kernel. > And it will hang or print more info if something wrong.Thanks to Keir, the version of Xen in the bk://xen.bkbits.net/xeno-unstable.bk repository has a new kernel command line option ''noreboot''. It also checks there actually is a display adaptor before piling in. Here''s the changelog for the last week: http://xen.bkbits.net:8080/xeno-unstable.bk/ChangeSet@-7d?nav=index.html It''s been a busy week...> I have the source codes downloaded from sf. I look forward to having your > patch and some instructions. And if you need help on the FAQ or manul > please let me know I am learning anyway.Can you install the BitKeeper tools and ''bk clone'' the repository? Ian ------------------------------------------------------- This SF.net email is sponsored by: SF.net Giveback Program. SourceForge.net hosts over 70,000 Open Source Projects. See the people who have HELPED US provide better services: Click here: http://sourceforge.net/supporters.php _______________________________________________ Xen-devel mailing list Xen-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/xen-devel
> Hi Keir, > > I think if it''s not too trouble, it will be more user friendly to have a > parameter such as ''noautoreboot'' or ''debug=level'' to pass into the kernel. > And it will hang or print more info if something wrong.Right. Either you can pull the latest bk repository from bkbits.net and build it yourself, or you can take the Xen and Xenolinux images prebuilt from: http://www.cl.cam.ac.uk/~kaf24/xen.gz http://www.cl.cam.ac.uk/~kaf24/xenolinux.gz The former is a replacement for your current ''image.gz''. The other is a replacement for your ''xenolinux.gz''. Specify ''noreboot'' on Xen''s command line. You will then get some useful info out. Even better would be a complete listing of Xen output. This would require you to have a second computer and connect it via a null modem cable. As for your other machine (which gave you random characters on teh serial output) you need to set ser_baud to teh same baud rate that GRUB is using. You''ll then get useful output from that machien to find out why it too is rebooting.> I have the source codes downloaded from sf. I look forward to having your > patch and some instructions. And if you need help on the FAQ or manul > please let me know I am learning anyway.If you''d like to create a Linux-style HOWTO then that would be very useful. As develoeprs of the system, it''s very difficult for us to get a newcomer''s perspective on teh problems of setting up a Xen-based system. Regards, Keir Fraser ------------------------------------------------------- This SF.net email is sponsored by: SF.net Giveback Program. SourceForge.net hosts over 70,000 Open Source Projects. See the people who have HELPED US provide better services: Click here: http://sourceforge.net/supporters.php _______________________________________________ Xen-devel mailing list Xen-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/xen-devel
Thanks Keir. The noroot works great. I found the problem and it''s very stupid. I didn''t update the root partition information to /dev/hda2 after I copied the grub entry. Everything seems working fine. Yahoo! Although I haven''t built any other domains yet. There are a few lines I don''t know if I can safely ignore them when machine booted. Such as, ioctl 80041272 not supported by xl_block ioperm not fully supported - ignore resource release And since my NIC ne2000 is not supported yet, is the dummy interface all I need if I don''t want to access other hosts? In other words, only exchange information among domains. Finally, I don''t know where I can download the latest code for xenolinux so I downloaded your pre-built version. The bitkeeper repository is only for the hypervisor. Thanks and regards, Ning On Fri, 10 Oct 2003, Keir Fraser wrote:> > Hi Keir, > > > > I think if it''s not too trouble, it will be more user friendly to have a > > parameter such as ''noautoreboot'' or ''debug=level'' to pass into the kernel. > > And it will hang or print more info if something wrong. > > Right. Either you can pull the latest bk repository from bkbits.net > and build it yourself, or you can take the Xen and Xenolinux images > prebuilt from: > > http://www.cl.cam.ac.uk/~kaf24/xen.gz > http://www.cl.cam.ac.uk/~kaf24/xenolinux.gz > > The former is a replacement for your current ''image.gz''. The other is > a replacement for your ''xenolinux.gz''. > > Specify ''noreboot'' on Xen''s command line. You will then get some > useful info out. Even better would be a complete listing of Xen > output. This would require you to have a second computer and connect > it via a null modem cable. > > As for your other machine (which gave you random characters on teh > serial output) you need to set ser_baud to teh same baud rate that > GRUB is using. You''ll then get useful output from that machien to find > out why it too is rebooting. > > > I have the source codes downloaded from sf. I look forward to having your > > patch and some instructions. And if you need help on the FAQ or manul > > please let me know I am learning anyway. > > If you''d like to create a Linux-style HOWTO then that would be very > useful. As develoeprs of the system, it''s very difficult for us to get > a newcomer''s perspective on teh problems of setting up a Xen-based > system. > > Regards, > Keir Fraser >------------------------------------------------------- This SF.net email is sponsored by: SF.net Giveback Program. SourceForge.net hosts over 70,000 Open Source Projects. See the people who have HELPED US provide better services: Click here: http://sourceforge.net/supporters.php _______________________________________________ Xen-devel mailing list Xen-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/xen-devel
> Thanks Keir. The noroot works great. I found the problem and it''s very > stupid. I didn''t update the root partition information to /dev/hda2 after > I copied the grub entry. Everything seems working fine. Yahoo! Although I > haven''t built any other domains yet. > > There are a few lines I don''t know if I can safely ignore them when > machine booted. Such as,> ioctl 80041272 not supported by xl_blockThis line is just to remind us that we currently don''t support multi-session CDROMs. Please ignore (like we do :-)> ioperm not fully supported - ignore resource releaseAgain, this is to remind me that I''m lazy SOB and thus have a slight pang of guilt whenever I see it. Please ignore.> And since my NIC ne2000 is not supported yet, is the dummy interface > all I need if I don''t want to access other hosts? In other words, only > exchange information among domains.The dummy interface should be autodetected, and you should be able to access other domains on the same machine just fine.> Finally, I don''t know where I can download the latest code for xenolinux > so I downloaded your pre-built version. The bitkeeper repository is only > for the hypervisor.The xenolinux-2.4.22-sparse directory in the bitkeeper repository contains all the source modifications. See the "tools/mics/xeno-clone" script for how to take a normal linux 2.4.22 tree and patch is as xenolinux. Best, Ian ------------------------------------------------------- This SF.net email is sponsored by: SF.net Giveback Program. SourceForge.net hosts over 70,000 Open Source Projects. See the people who have HELPED US provide better services: Click here: http://sourceforge.net/supporters.php _______________________________________________ Xen-devel mailing list Xen-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/xen-devel
cs0u210a@liverpool.ac.uk
2003-Oct-10 21:31 UTC
[Xen-devel] More about Resource Scheduling and Accounting
Hi, Sorry I have been busy with some academic issues since my last email but should now focus on Xen with all my time. As stated before I would like to work on the Resource Scheduling and Accounting part (in addition, try to relate a bit to the OS suspend/resume for migration), which at the same time will be my honour year project. The functions/requirements that Ian has mentioned before is still at a high level. Hence I would like to know if there are some specific requirements (eg standard of interface to other kernel functions and interface for domain0 etc) that you would like to mention, especially by the Xen team. I welcome any comments/suggestions by anyone in the Xen-devel maillist as well, be it additional features, concepts or designs or anything else. A particular question I would like to know is how well the BVT algorithm is functioning, and what is the weakness at the moment. In the SOSP 2003 paper, 3.3.1 CPU Scheduling mentioned other scheduling algorithms could be trivially implemented over the generic abstraction and per-domain scheduling parameters can be adjusted....in Domain0. First, could you tell me all files related to the scheduling algorithm and the abstraction, this would greatly help me to start. Second, is it true that per-domain parameters can be ajusted by Domain0? How well is this performing? What are the things need to be improved? One more thing, I wonder if you can provide me some pointers to other materials you think will be useful for the work such as research papers, texts, how-to, source codes etc. Many thanks, Yan-Ching CHU ------------------------------------------------------- This SF.net email is sponsored by: SF.net Giveback Program. SourceForge.net hosts over 70,000 Open Source Projects. See the people who have HELPED US provide better services: Click here: http://sourceforge.net/supporters.php _______________________________________________ Xen-devel mailing list Xen-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/xen-devel
Rolf Neugebauer
2003-Oct-11 09:28 UTC
RE: [Xen-devel] More about Resource Scheduling and Accounting
> -----Original Message----- > From: xen-devel-admin@lists.sourceforge.net [mailto:xen-devel- > admin@lists.sourceforge.net] On Behalf Of cs0u210a@liverpool.ac.uk > Sent: Friday, October 10, 2003 10:31 PM > To: xen-devel@lists.sourceforge.net > Cc: Keir.Fraser@cl.cam.ac.uk; Ian.Pratt@cl.cam.ac.uk > Subject: [Xen-devel] More about Resource Scheduling and Accounting > > Hi, > > Sorry I have been busy with some academic issues since my last email > but > should now focus on Xen with all my time. > > As stated before I would like to work on the Resource Scheduling and > Accounting part (in addition, try to relate a bit to the OS > suspend/resume for > migration), which at the same time will be my honour year project. The > functions/requirements that Ian has mentioned before is still at a high > level. > Hence I would like to know if there are some specific requirements (eg > standard > of interface to other kernel functions and interface for domain0 etc) > that you > would like to mention, especially by the Xen team. I welcome any > comments/suggestions by anyone in the Xen-devel maillist as well, be it > additional features, concepts or designs or anything else. > > A particular question I would like to know is how well the BVT > algorithm is > functioning, and what is the weakness at the moment. In the SOSP 2003 > paper, > 3.3.1 CPU Scheduling mentioned other scheduling algorithms could be > trivially > implemented over the generic abstraction and per-domain scheduling > parameters > can be adjusted....in Domain0. First, could you tell me all files related > to > the scheduling algorithm and the abstraction, this would greatly help me > to > start. Second, is it true that per-domain parameters can be ajusted by > Domain0? > How well is this performing? What are the things need to be improved?in xen the scheduler is implemented in common/schedule.c. sched.h includes the task structure and common ac_timer.c provides a timer interface. The interface to changes scheduling parameters is exported to dom via common/dom0_ops.c and in via a hypercall (HYPERCALL_dom0_op). See xi_sched_domain.c for an example. A new scheduler mainly requires changes to schedule.c but also to dom0_ops.c to change the parameters passed from domain0. BVT provides prop. fairness. That works fine. BVT also has a mechanism to decrease wakeup latencies (warping). This currently happens if a domain receives an event. As a domain in the current version receives a periodic ticker interrupt this means it gets warped periodically (subject to the limits provided by BVT). This also means that if a more important event arrives (e.g., network packet) a domain might not be warped. This may be a problem. I have patches which hopefully solve this (under test at the moment). These patches disable the periodic ticker and on the xenolinux side are based on-demand timer patches IBM provides for the s390 port of Linux. I''d suggest to try to implement one or more different scheduler, maybe one offering absolute shares, rather than prop. fairness. As we say in the paper this should be quite straight forward. Another limitation of the current scheduler is that it doesn''t provide migration of domains between CPUs. A domain is currently assigned a fixed CPU. migrating it to others CPUs when that CPU is busy would be useful. Maybe you want to look at "take scheduling" (sorry don''t have a reference handy) for network scheduling see Keir''s recent checkin. Rolf> > One more thing, I wonder if you can provide me some pointers to other > materials you think will be useful for the work such as research papers, > texts, > how-to, source codes etc. > > Many thanks, > > Yan-Ching CHU > > > > > > > > ------------------------------------------------------- > This SF.net email is sponsored by: SF.net Giveback Program. > SourceForge.net hosts over 70,000 Open Source Projects. > See the people who have HELPED US provide better services: > Click here: http://sourceforge.net/supporters.php > _______________________________________________ > Xen-devel mailing list > Xen-devel@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/xen-devel------------------------------------------------------- This SF.net email is sponsored by: SF.net Giveback Program. SourceForge.net hosts over 70,000 Open Source Projects. See the people who have HELPED US provide better services: Click here: http://sourceforge.net/supporters.php _______________________________________________ Xen-devel mailing list Xen-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/xen-devel