Skip to contentSkip to conversation

Create Dom1, 'only root can do that' ?

DISCUSSION Yan Li 2 participants 3 messages May 5, 2004 – May 31, 2004

lore
Share & tools
lore

Yan Li

author
#0 lore raw

hi there,

I'm using xeno1.2, and wanna create dom1, but it report this problems:

[1] modprobe: modprobe: Can't locate module net-pf-11
[1] modprobe: modprobe: Can't locate module net-pf-4
[1] modprobe: modprobe: Can't locate module net-pf-5
[1] modprobe: modprobe: Can't locate module net-pf-18
[1] modprobe: modprobe: Can't locate module net-pf-9
[1] Warning: cannot open /proc/net/dev (No such file or directory). Limited output.
[1] Mounting proc filesystem: mount: only root can do that
[1] [FAILED]
[1] Configuring kernel parameters: Error: /proc must be mounted
[1] To mount /proc at boot you need an /etc/fstab line like:
[1] /proc /proc proc defaults
[1] In the meantime, mount /proc /proc -t proc
[1] [FAILED]
[1] Setting clock (localtime): Wed May 5 08:46:54 UTC 2004 [ OK ]
[1] Setting hostname xendemo-146.localdomain: [ OK ]
[1] awk: cmd. line:2: fatal: cannot open file `/proc/mounts' for reading (No such file or directory)
[1] Remounting root filesystem in read-write mode: mount: only root can do that
[1] [FAILED]
[1] mount: only root can do that
[1] mount: only root can do that
[1] Mounting local filesystems: mount: only root can do that
[1] [FAILED]
[1] Turning on process accounting [ OK ]
[1] /etc/rc.sysinit: line 661: /var/run/utmp: Read-only file system
[1] touch: creating `/var/log/wtmp': Read-only file system
[1] chgrp: failed to get attributes of `/var/run/utmp': No such file or directory
[1] chmod: failed to get attributes of `/var/run/utmp': No such file or directory
[1] chmod: changing permissions of `/var/log/wtmp': Read-only file system
[1] /etc/rc.sysinit: line 666: /var/run/utmpx: Read-only file system
[1] touch: creating `/var/log/wtmpx': Read-only file system
[1] chgrp: failed to get attributes of `/var/run/utmpx': No such file or directory
[1] chmod: failed to get attributes of `/var/run/utmpx': No such file or directory
[1] chmod: changing permissions of `/var/log/wtmpx': Read-only file system
[1] /etc/rc.sysinit: line 712: /var/log/dmesg: Read-only file system
[1] mv: cannot move /var/log/ksyms.0' to /var/log/ksyms.1': Read-only file system
[1] /etc/rc.sysinit: line 730: /var/log/ksyms.0: Read-only file system
[1] touch: creating `/.autofsck': Read-only file system
[1] mount: only root can do that
[1] pidof[145]: mount returned non-zero exit status
[1] pidof[145]: /proc not mounted, failed to mount.

And then it stuck there, actually I succeeded to create new dom in another machine, so I don't know wha't the problem. Any help is highly appreciated.

Thanks,
Yan

#1 lore raw
Quoted 8 lines

I'm using xeno1.2, and wanna create dom1, but it report this problems:

[1] modprobe: modprobe: Can't locate module net-pf-11
[1] modprobe: modprobe: Can't locate module net-pf-4
[1] modprobe: modprobe: Can't locate module net-pf-5
[1] modprobe: modprobe: Can't locate module net-pf-18
[1] modprobe: modprobe: Can't locate module net-pf-9

These messages are probably harmless -- you're version of xenolinux just doesn't have these modules built and installed. If you want them, follow the normal Linux config and build procedures.

Quoted 7 lines

[1] Warning: cannot open /proc/net/dev (No such file or directory). Limited output.
[1] Mounting proc filesystem: mount: only root can do that
[1] [FAILED]
[1] Configuring kernel parameters: Error: /proc must be mounted
[1] To mount /proc at boot you need an /etc/fstab line like:
[1] /proc /proc proc defaults
[1] In the meantime, mount /proc /proc -t proc

I've never seen this before. It's almost certainly nothing to do with Xen. If you put a standard Linux kernel down on the same file system I'll bet it will do the same.

Have you checked that your /etc/fstab does indeed contain the /proc mount line? Does the mountpoint directory exist?

Best,
Ian

-------------------------------------------------------
This SF.Net email is sponsored by Sleepycat Software
Learn developer strategies Cisco, Motorola, Ericsson & Lucent use to deliver higher performing products faster, at low TCO.
http://www.sleepycat.com/telcomwpreg.php?From=osdnemail3

author
#2 lore raw

can xeno-linux handle system call by itself?

hi there,

I'm wondering if the guest OS can handle most of the system calls by itself? Only for these hypercalls defined in hypervisor.h, guest OS needs to go down to Xen. For all other system calls, xeno handles in its own doamin well.

Is this understanding right? If not, how are the system calls handled?

Thanks,
Yan

-------------------------------------------------------
This SF.Net email is sponsored by: Oracle 10g
Get certified on the hottest thing ever to hit the market... Oracle 10g. Take an Oracle 10g class now, and we'll give you the exam FREE.
http://ads.osdn.com/?ad_id=3149&alloc_id=8166&op=click