Xen 3.0.3 + Debian - No modules available in VM

Discussion in 'HOWTO-Related Questions' started by LeoLinux, Feb 28, 2007.

  1. LeoLinux

    LeoLinux New Member

    Hi,

    I trtried to install Xen 3.0.3 with the help of Falkos howto on my machine – everything worked out fine except to load modules on the virtual machine.
    Here's what I got:

    Code:
    Fily:~# cat /proc/modules 
    Fily:~# modprobe quota_v2
    [COLOR="Red"]Note: /etc/modules.conf is more recent than /lib/modules/2.6.16.29-xen/modules.dep
    modprobe: QM_MODULES: Function not implemented
    
    modprobe: QM_MODULES: Function not implemented
    
    modprobe: Can't locate module quota_v2[/COLOR]
    Fily:~# 
    
    And here is some other stuff what I'm a little unsure about when I start a virtual machine. I don't really nowif I have to worry about or if I can ignore those messages which I coloured red:



    Code:
    Xen-Daddy:~# xm create -c /etc/xen/vm01-config.sxp 
    Using config file "/etc/xen/vm01-config.sxp".
    Started domain vm01
    Linux version 2.6.16.29-xen ([email protected]) (gcc-Version 3.3.5 (Debian 1:3.3.5-13)) #2 SMP Tue Feb 27 21:10:16 CET 2007
    BIOS-provided physical RAM map:
     Xen: 0000000000000000 - 0000000030800000 (usable)
    [COLOR="Red"]0MB HIGHMEM available,
    776MB LOWMEM available.[/COLOR]
    
    / Why? And what's the difference? How do I get Highmem on my vm?

    Code:
    ACPI in unprivileged domain disabled
    Built 1 zonelists
    Kernel command line:  ip=192.168.1.201:1.2.3.4:192.168.1.1:255.255.255.0:Fily.LeoLinux.de:eth0:off root=/dev/hda1 3
    Enabling fast FPU save and restore... done.
    Enabling unmasked SIMD FPU exception support... done.
    Initializing CPU#0
    PID hash table entries: 4096 (order: 12, 65536 bytes)
    Xen reported: 1598.426 MHz processor.
    Dentry cache hash table entries: 131072 (order: 7, 524288 bytes)
    Inode-cache hash table entries: 65536 (order: 6, 262144 bytes)
    Software IO TLB disabled
    vmalloc area: f1000000-fb7fe000, maxmem 33ffe000
    Memory: 772736k/794624k available (1897k kernel code, 13252k reserved, 805k data, 188k init, 0k highmem)
    Checking if this processor honours the WP bit even in supervisor mode... Ok.
    Calibrating delay using timer specific routine.. 3198.82 BogoMIPS (lpj=15994139)
    Security Framework v1.0.0 initialized
    Capability LSM initialized
    Mount-cache hash table entries: 512
    CPU: L1 I Cache: 64K (64 bytes/line), D cache 64K (64 bytes/line)
    CPU: L2 Cache: 256K (64 bytes/line)
    Checking 'hlt' instruction... OK.
    Brought up 1 CPUs
    migration_cost=0
    Grant table initialized
    NET: Registered protocol family 16
    Brought up 1 CPUs
    PCI: setting up Xen PCI frontend stub
    ACPI: Subsystem revision 20060127
    ACPI: Interpreter disabled.
    Linux Plug and Play Support v0.97 (c) Adam Belay
    pnp: PnP ACPI: disabled
    xen_mem: Initialising balloon driver.
    [COLOR="Red"]PCI: System does not support PCI
    PCI: System does not support PCI
    [/COLOR]
    / Why? What do I have to do If I want to use my TV Card in a virtual machine as vls?

    Code:
    IA-32 Microcode Update Driver: v1.14-xen <[email protected]>
    audit: initializing netlink socket (disabled)
    audit(1172677499.819:1): initialized
    VFS: Disk quotas dquot_6.5.1
    Dquot-cache hash table entries: 1024 (order 0, 4096 bytes)
    Initializing Cryptographic API
    io scheduler noop registered
    io scheduler anticipatory registered
    io scheduler deadline registered
    io scheduler cfq registered (default)
    PNP: No PS/2 controller found. Probing ports directly.
    i8042.c: No controller found.
    Floppy drive(s): fd0 is unknown type 15 (usb?), fd1 is unknown type 15 (usb?)
    Failed to obtain physical IRQ 6
    floppy0: no floppy controllers found
    RAMDISK driver initialized: 16 RAM disks of 16384K size 1024 blocksize
    loop: loaded (max 8 devices)
    Xen virtual console successfully installed as tty1
    Event-channel device installed.
    netfront: Initialising virtual ethernet driver.
    Uniform Multi-Platform E-IDE driver Revision: 7.00alpha2
    [COLOR="Red"]ide: Assuming 50MHz system bus speed for PIO modes; override with idebus=xx [/COLOR]
    
    /What's that? Is that bad? ;-)

    Code:
    mice: PS/2 mouse device common for all mice
    md: md driver 0.90.3 MAX_MD_DEVS=256, MD_SB_DISKS=27
    md: bitmap version 4.39
    NET: Registered protocol family 2
    [COLOR="Red"]Registering block device major 3
    Registering block device major 22
     hdc: hdc1
     hdd: hdd1
    Registering block device major 33
     hde: hde1
     hdf: hdf1
    Registering block device major 34
     hdg:IP route cache hash table entries: 32768 (order: 5, 131072 bytes)
    TCP established hash table entries: 131072 (order: 8, 1048576 bytes)
    TCP bind hash table entries: 65536 (order: 7, 524288 bytes)
    TCP: Hash tables configured (established 131072 bind 65536)
    TCP reno registered
    NET: Registered protocol family 1
    NET: Registered protocol family 17
    Using IPI No-Shortcut mode
     hdg1
     hdh: hdh1[/COLOR]
    
    /Do I have to worry about that?
    Code:
    
    [COLOR="Red"]netfront: device eth0 has flipping receive path.[/COLOR]
    
    /what does flipping receive path exactly mean?
    Code:
    
    md: Autodetecting RAID arrays.
    md: autorun ...
    md: ... autorun DONE.
    EXT2-fs warning (device hda1): ext2_fill_super: mounting ext3 filesystem as ext2
    VFS: Mounted root (ext2 filesystem).
    Freeing unused kernel memory: 188k freed
    INIT: version 2.86 booting
    Activating swap.
    Adding 511992k swap on /dev/hda2.  Priority:-1 extents:1 across:511992k
    Checking root file system...
    fsck 1.40-WIP (14-Nov-2006)
    /dev/hda1: clean, 19782/640000 files, 113931/1280000 blocks (check in 4 mounts)
    Cleaning up ifupdown....
    Creating device-mapper devices...done.
    Starting raid devices: done.
    Setting up LVM Volume Groups...
    Checking all file systems...
    fsck 1.40-WIP (14-Nov-2006)
    Setting kernel variables...done.
    Mounting local filesystems...
    [COLOR="Red"]mount: mount point devpts does not exist
    none on /dev/shm type tmpfs (rw)
    Cleaning /tmpfind: warning: you have specified the -maxdepth option after a non-option argument -perm, but options are not positional (-maxdepth affects tests specified before it as well as those specified after it).  Please specify options before other arguments.
    
    find: warning: you have specified the -depth option after a non-option argument !, but options are not positional (-depth affects tests specified before it as well as those specified after it).  Please specify options before other arguments.
    
    find: warning: you have specified the -depth option after a non-option argument !, but options are not positional (-depth affects tests specified before it as well as those specified after it).  Please specify options before other arguments.
    
     /var/run /var/lock.[/COLOR]	
    
    /I don't know where this comes from?! Here is my /etc/fstab

    Code:
    [COLOR="SeaGreen"]Fily:~# cat /etc/fstab 
    /dev/hda1               /               ext3    defaults        1       2
    /dev/hda2               none            swap    sw              0       0
    /dev/pts                devpts          gid=5,mode=620          0       0
    none                    /dev/shm        tmpfs   defaults        0       0
    [/COLOR]

    Code:
    Running 0dns-down to make sure resolv.conf is ok...done.
    Setting up networking....
    Setting up IP spoofing protection: rp_filter.
    Configuring network interfaces...done.
    Setting console screen modes and fonts.
    Initializing random number generator...done.
    INIT: Entering runlevel: 3
    Starting system log daemon: syslogd.
    Starting kernel log daemon: klogd.
    Starting internet superserver: inetd.
    Starting OpenBSD Secure Shell server: sshd.
    Starting NTP server: ntpd.
    Starting RAID monitor daemon: mdadm -F.
    Starting periodic command scheduler: cron.
    
    Debian GNU/Linux 4.0 Fily.LeoLinux.de tty1
    
    Fily.LeoLinux.de login: 
    

    Thank you very much for helping me!!!

    With friendlich greetings, ;-)

    Leander
     
  2. LeoLinux

    LeoLinux New Member

    Got it - first and biggest problem fixed ....


    something in the debootstrab faild. The programmes modutils and module-init-tools where missed. I easily installed them via:

    Code:
    aptitude install modutils module-init-tools -y
    I hope it will help somebody else ;-)

    But what about the PCI Stuff etc ... ?!


    Thx

    Leo
     
  3. falko

    falko Super Moderator Howtoforge Staff

    What PCI stuff?
     
  4. LeoLinux

    LeoLinux New Member

    Isn't it possible to let the hostsystem handle PCI cards like a tv card to stream TV with for example VideoLanServer ?... I don't need that at the time, but I'm sure I've heard that xen is able to share PCI Cards with its guestsystems.


    And waht about the high and low memory messages on top?

    Leander
     
    Last edited: Mar 2, 2007

Share This Page