WARNING - OLD ARCHIVES

This is an archived copy of the Xen.org mailing list, which we have preserved to ensure that existing links to archives are not broken. The live archive, which contains the latest emails, can be found at http://lists.xen.org/
   
 
 
Xen 
 
Home Products Support Community News
 
   
 

xen-users

Re: [Xen-users] udev failing -- now what?

To: Xen-users@xxxxxxxxxxxxxxxxxxx
Subject: Re: [Xen-users] udev failing -- now what?
From: webmaster@xxxxxxxxxxxx
Date: Thu, 21 Jul 2005 23:35:54 -0000 (GMT)
Delivery-date: Thu, 21 Jul 2005 23:34:37 +0000
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
Importance: Normal
In-reply-to: <44387.204.174.64.37.1121966238.squirrel@xxxxxxxxxxxxxxxxxxx>
List-help: <mailto:xen-users-request@lists.xensource.com?subject=help>
List-id: Xen user discussion <xen-users.lists.xensource.com>
List-post: <mailto:xen-users@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-users>, <mailto:xen-users-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-users>, <mailto:xen-users-request@lists.xensource.com?subject=unsubscribe>
References: <44387.204.174.64.37.1121966238.squirrel@xxxxxxxxxxxxxxxxxxx>
Sender: xen-users-bounces@xxxxxxxxxxxxxxxxxxx
User-agent: SquirrelMail/1.4.5
Hello,
  I just woke up so bear with me...

>/lib/modules/2.6.12-1.1398_FC4xenU/modules.dep not found.
does the directory /lib/modules/2.6.12-1.1398_FC4xenU exist in the domU.
If not, mount your VBD(file or partition) like so..

for file vbd..
mount -o loop myimage.img /mymountpoint
cp -dpR /lib/modules/2.6.12-1.1398_FC4xenU
/mymountpoint/lib/modules/2.6.12-1.1398_FC4xenU
umount /mymountpoint
boot it up.

for a partition...

mount /dev/mypart /mymountpoint
cp -dpR /lib/modules/2.6.12-1.1398_FC4xenU
/mymountpoint/lib/modules/2.6.12-1.1398_FC4xenU
umount /mymountpoint
boot it up.

If you still get the error about modules.dep try depmod -a

Hopefully that will take care of the issues.
Something to start with at least.

Cheers,
John Fairbairn

> Hi There --
>
> First post. I have xen0 working with no apparent issues, running on FC4. I
> have installed an FC4 guest based on the Fedora Xen quick start
> instructions. I slavishly followed all instructions and the guest works --
> mostly. I have three boot problems:
>
> 1. I get "Starting udev: [FAILED].
>
> 2. I get Checking for new hardwaremodprobe: FATAL: Could not load
> /lib/modules/2.6.12-1.1398_FC4xenU/modules.dep: No such file or directory
> This directory file does not exist, but I'm not clear on how to create the
> modules that are supposed to be in this directory. Maybe just a newbie
> issue?
>
> 3. And finally --
> mmap /dev/mem: Resource temporarily unavailable
> mmap /dev/mem: Resource temporarily unavailable
> modprobe: FATAL: Could not load
>
>
> Are all of these related to the missing kernel modules? BTW, this product
> is so cool, I'm beside myself. Can't wait to try live migration and all
> that other interesting stuff.
>
> The machine has 512MB of memory. I've allocated 64MB to the guest and it's
> a "Base" installation. The guest does come up and appears to work just
> fine other than the errors in the log. Here's the boot log for your
> amusement:
>
> [root@zeus /]# xm create -c fedora
> Using config file "/etc/xen/fedora".
> Started domain fedora, console on port 9622
> ************ REMOTE CONSOLE: CTRL-] TO QUIT ********
> Linux version 2.6.12-1.1398_FC4xenU (bhcompile@xxxxxxxxxxxxxxxxxxxxxxx)
> (gcc version 4.0.0 20050519 (Red Hat 4.0.0-8)) #1 SMP Fri Jul 15 02:05:44
> EDT 2005
> BIOS-provided physical RAM map:
>  Xen: 0000000000000000 - 0000000004000000 (usable)
> 64MB LOWMEM available.
> Using x86 segment limits to approximate NX protection
> DMI not present.
> IRQ lockup detection disabled
> Allocating PCI resources starting at 04000000 (gap: 04000000:fc000000)
> Built 1 zonelists
> Kernel command line:  root=/dev/sda1 ro
> Initializing CPU#0
> PID hash table entries: 1024 (order: 10, 16384 bytes)
> Xen reported: 1460.474 MHz processor.
> Using tsc for high-res timesource
> Dentry cache hash table entries: 16384 (order: 4, 65536 bytes)
> Inode-cache hash table entries: 8192 (order: 3, 32768 bytes)
> Memory: 60728k/65536k available (1783k kernel code, 4652k reserved, 504k
> data, 156k init, 0k highmem)
> Checking if this processor honours the WP bit even in supervisor mode...
> Ok.
> Security Framework v1.0.0 initialized
> SELinux:  Initializing.
> SELinux:  Starting in permissive mode
> selinux_register_security:  Registering secondary module capability
> Capability LSM initialized as secondary
> 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)
> Enabling fast FPU save and restore... done.
> Enabling unmasked SIMD FPU exception support... done.
> Checking 'hlt' instruction... disabled
> CPU0: AMD Athlon(tm) XP 1700+ stepping 00
> per-CPU timeslice cutoff: 731.54 usecs.
> task migration cache decay timeout: 1 msecs.
> SMP motherboard not detected.
> smpboot_clear_io_apic_irqs
> Brought up 1 CPUs
> NET: Registered protocol family 16
> xen_mem: Initialising balloon driver.
> Grant table initialized
> audit: initializing netlink socket (disabled)
> audit(1121957132.344:1): initialized
> Total HugeTLB memory allocated, 0
> VFS: Disk quotas dquot_6.5.1
> Dquot-cache hash table entries: 1024 (order 0, 4096 bytes)
> SELinux:  Registering netfilter hooks
> Initializing Cryptographic API
> ksign: Installing public key data
> Loading keyring
> - Added public key 57652F2F3358E32D
> - User ID: Red Hat, Inc. (Kernel Module GPG key)
> io scheduler noop registered
> io scheduler anticipatory registered
> io scheduler deadline registered
> io scheduler cfq registered
> RAMDISK driver initialized: 16 RAM disks of 16384K size 1024 blocksize
> Xen virtual console successfully installed as tty1
> Event-channel device installed.
> Blkif frontend is using grant tables.
> xen_blk: Initialising virtual block device driver
> xen_net: Initialising virtual ethernet driver.
> md: md driver 0.90.1 MAX_MD_DEVS=256, MD_SB_DISKS=27
> NET: Registered protocol family 2
> IP: routing cache hash table of 256 buckets, 4Kbytes
> TCP established hash table entries: 4096 (order: 4, 65536 bytes)
> TCP bind hash table entries: 4096 (order: 3, 49152 bytes)
> TCP: Hash tables configured (established 4096 bind 4096)
> Initializing IPsec netlink socket
> NET: Registered protocol family 1
> NET: Registered protocol family 17
> md: Autodetecting RAID arrays.
> md: autorun ...
> md: ... autorun DONE.
> kjournald starting.  Commit interval 5 seconds
> EXT3-fs: mounted filesystem with ordered data mode.
> VFS: Mounted root (ext3 filesystem) readonly.
> Freeing unused kernel memory: 156k freed
> SELinux:  Disabled at runtime.
> SELinux:  Unregistering netfilter hooks
> INIT: version 2.85 booting
> /etc/rc.d/rc.sysinit: line 78: /dev/tty1: Read-only file system
> /etc/rc.d/rc.sysinit: line 78: /dev/tty2: Read-only file system
> /etc/rc.d/rc.sysinit: line 78: /dev/tty3: Read-only file system
> /etc/rc.d/rc.sysinit: line 78: /dev/tty4: Read-only file system
> /etc/rc.d/rc.sysinit: line 78: /dev/tty5: Read-only file system
> /etc/rc.d/rc.sysinit: line 78: /dev/tty6: Read-only file system
> /etc/rc.d/rc.sysinit: line 82: /dev/tty7: Read-only file system
> /etc/rc.d/rc.sysinit: line 83: /dev/tty8: Read-only file system
>                 Welcome to Fedora Core
>                 Press 'I' to enter interactive startup.
> Starting udev:  [FAILED]
> Initializing hardware...  storage network audio done[  OK  ]
> Setting clock : Thu Jul 21 10:45:36 EDT 2005 [  OK  ]
> Setting hostname localhost:  [  OK  ]
> Checking filesystems
> Checking all file systems.
> [/sbin/fsck.ext3 (1) -- /] fsck.ext3 -a /dev/sda1
> /dev/sda1: clean, 27977/131328 files, 203037/262144 blocks
> [  OK  ]
> Remounting root filesystem in read-write mode:  [  OK  ]
> Mounting local filesystems:  [  OK  ]
> Enabling local filesystem quotas:  [  OK  ]
> Enabling swap space:  [  OK  ]
> INIT: Entering runlevel: 3
> Entering non-interactive startup
> Checking for new hardwaremodprobe: FATAL: Could not load
> /lib/modules/2.6.12-1.1398_FC4xenU/modules.dep: No such file or directory
>
> mmap /dev/mem: Resource temporarily unavailable
> mmap /dev/mem: Resource temporarily unavailable
> modprobe: FATAL: Could not load
> /lib/modules/2.6.12-1.1398_FC4xenU/modules.dep: No such file or directory
>
>  [  OK  ]
> Starting pcmcia:  Starting PCMCIA services: FATAL: Could not load
> /lib/modules/2.6.12-1.1398_FC4xenU/modules.dep: No such file or directory
> [FAILED]
> Bringing up loopback interface:  [  OK  ]
> Starting system logger: [  OK  ]
> Starting kernel logger: [  OK  ]
> Starting portmap: [  OK  ]
> Starting NFS statd: [  OK  ]
> Starting auditd: [  OK  ]
> Error sending list request (Invalid argument)
> Error sending list request (Invalid argument)
> There was an error in line 5 of /etc/audit.rules
> Starting RPC idmapd: FATAL: Could not load
> /lib/modules/2.6.12-1.1398_FC4xenU/modules.dep: No such file or directory
> Can't open RFCOMM control socket: Address family not supported by protocol
>
> Mounting other filesystems:  [  OK  ]
> Starting automount: [  OK  ]
> Starting cups: [  OK  ]
> Starting sshd: [  OK  ]
> Starting sendmail: [  OK  ]
> Starting sm-client: [  OK  ]
> Starting console mouse services: O0o.oops(): [console.c(253)]: Can't
> determine console device
> [FAILED]
> Starting crond: [  OK  ]
> Starting anacron: [  OK  ]
> Starting atd: [  OK  ]
> Starting system message bus: [  OK  ]
> Starting HAL daemon: [  OK  ]
>
> Fedora Core release 4 (Stentz)
> Kernel 2.6.12-1.1398_FC4xenU on an i686
>
> localhost login:
>
>
>
>
> _______________________________________________
> Xen-users mailing list
> Xen-users@xxxxxxxxxxxxxxxxxxx
> http://lists.xensource.com/xen-users
>



_______________________________________________
Xen-users mailing list
Xen-users@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-users

<Prev in Thread] Current Thread [Next in Thread>