Re: [Users] boot error - unable to mount root fs on unknown-block(0, 0)

2007-10-16 Thread Marcin Owsiany
On Tue, Oct 16, 2007 at 02:24:51PM +0800, Ian jonhson wrote:
> Hi,
> 
> It is my first time to use the openvz. I downloaded stuff
> (kernel-patch, vzctl vzquota) by apt-get on my Debian4 and installed
> them according the instructions of
> 
> http://wiki.openvz.org/Installation_on_Debian
> 
> However, when I rebooted my computer, I got a error message in system booting:
> 
> 
> [  10.543572] VFS:Cannot open root device "sda1" or unknown-block(0,0)
> [  10.543635] Please appedn a correct "root=" boot option
> [  10.543697] Kernel panic - not syncing : VFS: Unable to mount root
> fs on unknown-block(0,0)
> 
> what is matter with it?

You probably configured your kernel incorrectly (missing initrd, device
of filesystem drivers?). Try installing a pre-built kernel image
instead, it's more likely to be bootable without problems.

regards,

-- 
Marcin Owsiany <[EMAIL PROTECTED]>  http://marcin.owsiany.pl/
GnuPG: 1024D/60F41216  FE67 DA2D 0ACA FC5E 3F75  D6F6 3A0D 8AA0 60F4 1216
 
"Every program in development at MIT expands until it can read mail."
  -- Unknown
___
Users mailing list
Users@openvz.org
https://openvz.org/mailman/listinfo/users


[Users] any openvz-on-xen users?

2007-10-16 Thread Kir Kolyshkin
As you might know already, since 028stab045 kernel from RHEL5 branch we 
support Xen architecture. That basically means one can run OpenVZ kernel 
on top of Xen hypervisor, in both DomU and Dom0.


My quick question/request is: if you are using it (or want to), please 
let me know.



Regards,
 Kir.
___
Users mailing list
Users@openvz.org
https://openvz.org/mailman/listinfo/users


Re: [Users] boot error - unable to mount root fs on unknown-block(0, 0)

2007-10-16 Thread Ian jonhson
> You probably configured your kernel incorrectly (missing initrd, device
> of filesystem drivers?). Try installing a pre-built kernel image
> instead, it's more likely to be bootable without problems.
>

Where can I get the pre-built kernel image?

After install the kernel-patch, the system compiled the kernel and
created the optional item in
/boot/grub/menu.lst. What I had done is under the instructions of
openvz wiki. Is there something wrong?

Thanks in advance.


Best Regards,

Ian
___
Users mailing list
Users@openvz.org
https://openvz.org/mailman/listinfo/users


Re: [Users] boot error - unable to mount root fs on unknown-block(0, 0)

2007-10-16 Thread Kir Kolyshkin

Ian jonhson wrote:

You probably configured your kernel incorrectly (missing initrd, device
of filesystem drivers?). Try installing a pre-built kernel image
instead, it's more likely to be bootable without problems.




Where can I get the pre-built kernel image?
  
http://debian.systs.org I suppose. The wiki page you referred gives info 
about how to configure this.

After install the kernel-patch, the system compiled the kernel and
created the optional item in
/boot/grub/menu.lst. What I had done is under the instructions of
openvz wiki. Is there something wrong?
  
These instructions are OpenVZ-specific, i.e. they only recommend 
openvz-specific options in kernel config. Any other kernel config 
options (there are a lot of) are on your own. One simple example of what 
could be done wrong -- if you haven't enabled support for SATA disks, 
and your HDD is SATA you are in trouble.


So, if you are not experienced in kernel recompilation, you'd be better 
of with precompiled kernel.

Thanks in advance.
  

Hope that helps,
 Kir.


Best Regards,

Ian
___
Users mailing list
Users@openvz.org
https://openvz.org/mailman/listinfo/users
  


___
Users mailing list
Users@openvz.org
https://openvz.org/mailman/listinfo/users


[Users] Unable to start VPS on Debian Etch

2007-10-16 Thread Roberto Mello
I am unable to start a VPS under a Debian Etch host. I can't find any
useful message as to why it's failing to start the VPS on
/var/log/vzctl.log.

The machine is a dual quad-core Xeon (Intel(R) Xeon(R) CPU E5345 @
2.33GHz). I used the debian-4.0-i386-minimal.tar.gz template from
openvz.org to create the VE.

Here's what I get when I try to start the VE:

michael:/etc/vz# vzctl --verbose start 101
Unable to open /usr/lib/vzctl/modules/: No such file or directory
Starting VPS ...
Mounting root: /srv/vz/root/101 /srv/vz/private/101
VPS is mounted
VPS start failed
Running: /usr/sbin/vzquota stat 101 -f
VPS is unmounted

Kernel:

Linux michael 2.6.18-openvz-13-39.1d1-amd64 #1 SMP Sat Sep 29 15:02:55
MSD 2007 x86_64 GNU/Linux

I grabbed the kernel from
http://download.openvz.org/kernel/debian/etch/ and put it in place
manually because the package wouldn't install because I am running a
32-bit userland, but wanted the 64 bit kernel. It did kernel panic for
me yesterday when trying to do something on OpenVZ (I can't remember
what it was unfortunately).

And here are the VZ modules I have loaded. /etc/init.d/vz has been
started successfully:

michael:/etc/vz# lsmod | grep vz
vznetdev 26752 1
vzethdev 17040 0
vzrst 129832 0
ip_nat 24720 1 vzrst
vzcpt 109368 0
ip_conntrack 72596 3 vzrst,ip_nat,vzcpt
vzdquota 47464 0 [permanent]
vzmon 50448 4 vznetdev,vzethdev,vzrst,vzcpt
vzdev 8456 4 vznetdev,vzethdev,vzdquota,vzmon
ipv6 298208 29 vzrst,vzcpt,vzmon

I don't know what else to look for. Any help would be greatly appreciated.

Thanks in advance,

-Roberto
___
Users mailing list
Users@openvz.org
https://openvz.org/mailman/listinfo/users


Re: [Users] Unable to start VPS on Debian Etch

2007-10-16 Thread Kirill Korotaev
Roberto Mello wrote:
> I am unable to start a VPS under a Debian Etch host. I can't find any
> useful message as to why it's failing to start the VPS on
> /var/log/vzctl.log.
> 
> The machine is a dual quad-core Xeon (Intel(R) Xeon(R) CPU E5345 @
> 2.33GHz). I used the debian-4.0-i386-minimal.tar.gz template from
> openvz.org to create the VE.
> 
> Here's what I get when I try to start the VE:
> 
> michael:/etc/vz# vzctl --verbose start 101
> Unable to open /usr/lib/vzctl/modules/: No such file or directory
> Starting VPS ...
> Mounting root: /srv/vz/root/101 /srv/vz/private/101
> VPS is mounted
> VPS start failed
> Running: /usr/sbin/vzquota stat 101 -f
> VPS is unmounted

Can you please check /var/log/messages as well? any messages there?
if not - need strace of this command like this:
# strace -fF -o out vzctl --verbose start 101

output will be collected in "out" file.

> Kernel:
> 
> Linux michael 2.6.18-openvz-13-39.1d1-amd64 #1 SMP Sat Sep 29 15:02:55
> MSD 2007 x86_64 GNU/Linux
> 
> I grabbed the kernel from
> http://download.openvz.org/kernel/debian/etch/ and put it in place
> manually because the package wouldn't install because I am running a
> 32-bit userland, but wanted the 64 bit kernel. It did kernel panic for
> me yesterday when trying to do something on OpenVZ (I can't remember
> what it was unfortunately).
> 
> And here are the VZ modules I have loaded. /etc/init.d/vz has been
> started successfully:
> 
> michael:/etc/vz# lsmod | grep vz
> vznetdev 26752 1
> vzethdev 17040 0
> vzrst 129832 0
> ip_nat 24720 1 vzrst
> vzcpt 109368 0
> ip_conntrack 72596 3 vzrst,ip_nat,vzcpt
> vzdquota 47464 0 [permanent]
> vzmon 50448 4 vznetdev,vzethdev,vzrst,vzcpt
> vzdev 8456 4 vznetdev,vzethdev,vzdquota,vzmon
> ipv6 298208 29 vzrst,vzcpt,vzmon
> 
> I don't know what else to look for. Any help would be greatly appreciated.

simfs module should be loaded as well.

Thanks,
Kirill
___
Users mailing list
Users@openvz.org
https://openvz.org/mailman/listinfo/users


Re: [Users] Unable to start VPS on Debian Etch

2007-10-16 Thread Kirill Korotaev
plz check that OVZ tools: vzctl and vzquota are 64 bit versions as well.
looks like they are 32bit. they have to be of the same arch as kernel.

Thanks,
Kirill


Roberto Mello wrote:
> On 10/16/07, Kirill Korotaev <[EMAIL PROTECTED]> wrote:
> 
>>Can you please check /var/log/messages as well? any messages there?
> 
> 
> Nope.
> 
> 
>>if not - need strace of this command like this:
>># strace -fF -o out vzctl --verbose start 101
> 
> 
> I tried stracing, but nothing obvious jumped out at me. Maybe it will
> to someone else. After "VPS is mounted", I get:
> 
> 13095 read(9,  
> 13096 dup2(10, 0)   = 0
> 13096 close(9)  = 0
> 13096 close(10) = 0
> 13096 fcntl64(0, F_SETFD, FD_CLOEXEC)   = 0
> 13096 fcntl64(8, F_SETFD, FD_CLOEXEC)   = 0
> 13096 close(7)  = 0
> 13096 fcntl64(5, F_SETFD, FD_CLOEXEC)   = 0
> 13096 close(6)  = 0
> 13096 chdir("/srv/vz/root/101") = 0
> 13096 chroot("/srv/vz/root/101")= 0
> 13096 setsid()  = 13096
> 13096 rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0
> 13096 rt_sigaction(SIGHUP, {SIG_DFL}, NULL, 8) = 0
> 13096 rt_sigaction(SIGINT, {SIG_DFL}, NULL, 8) = 0
> 13096 rt_sigaction(SIGQUIT, {SIG_DFL}, NULL, 8) = 0
> 
> < a bunch more of these rt_sigaction >
> 
> 13096 rt_sigaction(65, {SIG_DFL}, NULL, 8) = -1 EINVAL (Invalid argument)
> 13096 syscall_511(0x65, 0xbf9ec790, 0xbf9ec790, 0xbf9ebe88,
> 0xb7f76100, 0xbf9ebe48, 0xffda, 0x7b, 0x7b, 0, 0x33, 0x1ff,
> 0xb7f79792, 0x73, 0x246, 0xbf9ebe08, 0x7b, 0, 0, 0, 0, 0, 0, 0, 0, 0,
> 0, 0, 0, 0, 0, 0) = -1 (errno 38)
> 13096 write(0, "\22\0\0\0", 4 
> 13095 <... read resumed> "\22\0\0\0", 4) = 4
> 13096 <... write resumed> ) = 4
> 13095 close(10) = -1 EBADF (Bad file descriptor)
> 13095 close(9)  = 0
> 13095 rt_sigaction(SIGCHLD, {SIG_DFL}, NULL, 8) = 0
> 13095 write(2, "VPS start failed", 16)  = 16
> 
> 
>>simfs module should be loaded as well.
> 
> 
> It is.
> 
> Thanks. Much appreciated.
> 
> -Roberto
> 

___
Users mailing list
Users@openvz.org
https://openvz.org/mailman/listinfo/users


Re: [Users] boot error - unable to mount root fs on unknown-block(0, 0)

2007-10-16 Thread E Frank Ball III
On Tue, Oct 16, 2007 at 08:06:01PM +0800, Ian jonhson wrote:
 > > You probably configured your kernel incorrectly (missing initrd, device
 > > of filesystem drivers?). Try installing a pre-built kernel image
 > > instead, it's more likely to be bootable without problems.
 > >
 > 
 > Where can I get the pre-built kernel image?

http://download.openvz.org/debian/dists/etch/main/binary-i386/base/

In your sources list add:

deb http://download.openvz.org/debian etch main

I'm using linux-image-2.6.18-openvz-13-39.1d2-686_028.39.1d2_i386.deb



-- 

   E Frank Ball[EMAIL PROTECTED]
___
Users mailing list
Users@openvz.org
https://openvz.org/mailman/listinfo/users


Re: [Users] boot error - unable to mount root fs on unknown-block(0, 0)

2007-10-16 Thread Ian jonhson
>  > Where can I get the pre-built kernel image?
>
> http://download.openvz.org/debian/dists/etch/main/binary-i386/base/
>
> In your sources list add:
>
> deb http://download.openvz.org/debian etch main
>

I added the line in source.list, but apt-cache search said it can not
open the website.

> I'm using linux-image-2.6.18-openvz-13-39.1d2-686_028.39.1d2_i386.deb
>

I opened the link given above and found the image file, but I don't
know how to use it after download the image file.

Could you give me some advices?

Thanks

ian
___
Users mailing list
Users@openvz.org
https://openvz.org/mailman/listinfo/users