Skip to contentSkip to conversation

Xen doesnt recognize my root fs, while native kernel can ???

DISCUSSION Petersson, Mats 5 participants 11 messages Jun 13, 2007 – Jun 14, 2007 1 message not in the archive

lore
Share & tools
lore

A message that is not in the archive (sent off-list or not yet received): [email protected]

#1 lore raw
Quoted 10 lines

-----Original Message-----
From: Jun Koi [mailto:[email protected]]
Sent: 13 June 2007 10:22
To: Petersson, Mats
Cc: Keir Fraser; xen-devel
Subject: Re: [Xen-devel] Xen doesnt recognize my root fs, while native kernel can ???

Quoted 2 lines

Here is the screenshot taken with a digital camera. I hope the screen is clear enough for you to see.

It seems like it's loading the driver for that disk and recognising it, which leaves two possible likely options:
1. You don't have the filesystem driver for the fs on the /dev/sda2
2. You don't have "/dev/sda2" although the driver for it is loaded [maybe you need something like udev installed to create the device?]

--
Mats

Quoted 4 lines

Thanks,
Jun

[snip old portions].

#2 lore raw
Quoted 13 lines · Mats
Quoted 10 lines

-----Original Message-----
From: Jun Koi [mailto:[email protected]]
Sent: 13 June 2007 10:22
To: Petersson, Mats
Cc: Keir Fraser; xen-devel
Subject: Re: [Xen-devel] Xen doesnt recognize my root fs, while native kernel can ???

Quoted 2 lines

Here is the screenshot taken with a digital camera. I hope the screen is clear enough for you to see.

Quoted 7 lines

It seems like it's loading the driver for that disk and recognising it, which leaves two possible likely options:

1. You don't have the filesystem driver for the fs on the /dev/sda2
2. You don't have "/dev/sda2" although the driver for it is loaded [maybe you need something like udev installed to create the device?]

OK, but why the same kernel option with native kernel boots my machine well? It detects the same /dev/sda2.

Do you see my point?

Thanks,
Jun

#3 lore raw
Quoted 34 lines

-----Original Message-----
From: Jun Koi [mailto:[email protected]]
Sent: 13 June 2007 10:37
To: Petersson, Mats
Cc: Keir Fraser; xen-devel
Subject: Re: [Xen-devel] Xen doesnt recognize my root fs, while native kernel can ???

Quoted 11 lines · Mats
Quoted 11 lines

-----Original Message-----
From: Jun Koi [mailto:[email protected]]
Sent: 13 June 2007 10:22
To: Petersson, Mats
Cc: Keir Fraser; xen-devel
Subject: Re: [Xen-devel] Xen doesnt recognize my root fs, while native kernel can ???

Here is the screenshot taken with a digital camera. I

hope the screen

Quoted 3 lines
Quoted 1 line

is clear enough for you to see.

It seems like it's loading the driver for that disk and

recognising it,

Quoted 6 lines

which leaves two possible likely options:

1. You don't have the filesystem driver for the fs on the /dev/sda2
2. You don't have "/dev/sda2" although the driver for it is loaded [maybe you need something like udev installed to create the device?]

Quoted 4 lines

OK, but why the same kernel option with native kernel boots my machine well? It detects the same /dev/sda2.

Do you see my point?

I do see your point. I'm just following the evidence on your screen - which of course may be misleading, but without further information of some sort, that's what the current evidence shows. I just realized that Keir has spotted the REAL problem in this case tho'.

Note that different distributions have different add-ons (extra patches to the kernel itself) in the kernel that they distribute. Xen uses the standard kernel.org kernel, and there is sometimes a difference in that.

As a side not (in regards to the comments about using initrd), I have found that there's less problems with that approach than using "kernel builtin", simply for the reason that I don't have to figure out which parts I need to compile in on a particular machine to make it work - instead, I create an initrd on the machine I use Xen, and select (almost) all different drivers and filesystems as my config. Since unused modules only take up a bit of disk-space (and I usually have a large enough disk that a few megabytes doesn't really matter much), I don't have to select just the right ones.

--
Mats

Quoted 6 lines

Thanks,
Jun

#4 lore raw
In reply to a message not in the archive

That's fine. My conclusion is that this is user error: you are trying to mount /boot/sda2 and you actually mean /dev/sda2.

-- Keir

Quoted 91 lines · Jun Koi

Here is the screenshot taken with a digital camera. I hope the screen is clear enough for you to see.

Thanks,
Jun

Quoted 82 lines · Jun Koi

Hi Mats,

Quoted 45 lines · Mats
Quoted 32 lines

-----Original Message-----
From: [email protected] [mailto:[email protected]] On Behalf Of Jun Koi
Sent: 13 June 2007 09:54
To: Keir Fraser
Cc: xen-devel
Subject: Re: [Xen-devel] Xen doesnt recognize my root fs, while native kernel can ???

Quoted 3 lines · Keir Fraser
Quoted 1 line · Jun Koi
Quoted 1 line
Quoted 1 line

The point is that Xen doesnt boot in the first place,

so I cannot

Quoted 3 lines
Quoted 3 lines
Quoted 3 lines
Quoted 3 lines

provide xm dmesg!

Below is the output from dmesg (native kernel) and

Dom0's .config.

Quoted 7 lines
Quoted 7 lines
Quoted 3 lines
Quoted 1 line

Anything else do you need?

Can you get a serial line on the machine?

Opps, that is compicated, as I dont have a cable to do that.

So if you have no suggestion, perhaps I must try this

way. But perhaps

Quoted 3 lines
Quoted 1 line

it take more than a week, as I am away in few days.

There's a decent chance that comparing the two dmesg

outputs will show some

Quoted 8 lines
Quoted 1 line

important deviation in the case of running on Xen that is

causing the boot

Quoted 3 lines

failure. Without the failing output it's hard to know where to start looking.

I see, but can you imagine some reasons why that happens? It makes absolute no sense to me.

There are lots of possible reasons. The most likely is that your kernel in the native has drivers that are not part of the Xen default configuration.

Quoted 6 lines

The other very common problem is that you don't have those necessary drivers in the "initrd" for your Xen. This is a problem that is posted about three times a week (at least) on the Xen Users mailing list [where this problem probably should be discussed - but I think since it's started here, we'll keep it here].

No, that is not a reason in my case. I did it this way:
- Native kernel (2.6.18) is compiled with all the necessary drivers built-in. That means I dont need initrd to boot my machine with this kernel. And it boots well.
- I copied the .config of native kernel above to Dom0, and compile Dom0 with this option. (Of course before compiling, I enabled Xen option, as you can see in the .config of Dom0 I sent in the last mail). Again this time I dont need initrd.

So it is logical that Dom0 must boot, but it fails actually. That is why I find the situation very strange.

Quoted 8 lines
Quoted 3 lines

I have found that my machine has no serial port, so perhaps I must buy a serial card to debug this problem. Wonder if there is another way to avoid that (?)

If you have a digital camera and you add "noreboot" to the commandline of "xen.gz" in your grub configuration, maybe you can upload (to some photo-web-site or such) a screen-shot of the final few lines of the boot and send a link to the list - that may not give all clues, but at least it will indicate what's going on.

OK, I will do that, as it is not desired to buy a serial card :-)

Thanks,
Jun

#5 lore raw
Quoted 11 lines

-----Original Message-----
From: Keir Fraser [mailto:[email protected]]
Sent: 13 June 2007 10:45
To: Jun Koi; Petersson, Mats
Cc: xen-devel
Subject: Re: [Xen-devel] Xen doesnt recognize my root fs, while native kernel can ???

Quoted 3 lines

That's fine. My conclusion is that this is user error: you are trying to
mount /boot/sda2 and you actually mean /dev/sda2.

Well spotted. I just expected it to say "/dev/" rather than "/boot/".

--
Mats

Quoted 116 lines

-- Keir

Quoted 1 line · Jun Koi

Here is the screenshot taken with a digital camera. I hope

the screen

Quoted 16 lines

is clear enough for you to see.

Thanks,
Jun

Quoted 8 lines · Jun Koi

Hi Mats,

Quoted 5 lines · Mats
Quoted 5 lines

-----Original Message-----
From: [email protected] [mailto:[email protected]] On Behalf

Of Jun Koi

Quoted 22 lines
Quoted 22 lines
Quoted 22 lines
Quoted 22 lines

Sent: 13 June 2007 09:54
To: Keir Fraser
Cc: xen-devel
Subject: Re: [Xen-devel] Xen doesnt recognize my root fs, while native kernel can ???

Quoted 3 lines · Keir Fraser
Quoted 1 line · Jun Koi
Quoted 1 line
Quoted 1 line

The point is that Xen doesnt boot in the first place,

so I cannot

Quoted 3 lines
Quoted 3 lines
Quoted 3 lines
Quoted 3 lines

provide xm dmesg!

Below is the output from dmesg (native kernel) and

Dom0's .config.

Quoted 7 lines
Quoted 7 lines
Quoted 3 lines
Quoted 1 line

Anything else do you need?

Can you get a serial line on the machine?

Opps, that is compicated, as I dont have a cable to do that.

So if you have no suggestion, perhaps I must try this

Quoted 8 lines
Quoted 8 lines
Quoted 8 lines
Quoted 8 lines

way. But perhaps

Quoted 3 lines
Quoted 1 line

it take more than a week, as I am away in few days.

There's a decent chance that comparing the two dmesg

outputs will show some

Quoted 1 line

important deviation in the case of running on Xen that is

causing the boot

Quoted 1 line

failure. Without the failing output it's hard to know

where to start

Quoted 4 lines
Quoted 4 lines
Quoted 4 lines
Quoted 4 lines
Quoted 2 lines

looking.

I see, but can you imagine some reasons why that

happens? It makes

Quoted 3 lines
Quoted 3 lines
Quoted 3 lines
Quoted 1 line

absolute no sense to me.

There are lots of possible reasons. The most likely is

that your kernel

Quoted 4 lines
Quoted 4 lines
Quoted 4 lines

in the native has drivers that are not part of the Xen default configuration.

The other very common problem is that you don't have

those necessary

Quoted 1 line
Quoted 1 line
Quoted 1 line

drivers in the "initrd" for your Xen. This is a problem

that is posted

Quoted 1 line
Quoted 1 line
Quoted 1 line

about three times a week (at least) on the Xen Users

mailing list [where

Quoted 7 lines
Quoted 7 lines
Quoted 3 lines

this problem probably should be discussed - but I think since it's started here, we'll keep it here].

No, that is not a reason in my case. I did it this way:
- Native kernel (2.6.18) is compiled with all the necessary drivers built-in. That means I dont need initrd to boot my machine

with this

Quoted 7 lines
Quoted 7 lines

kernel. And it boots well.
- I copied the .config of native kernel above to Dom0, and compile Dom0 with this option. (Of course before compiling, I enabled Xen option, as you can see in the .config of Dom0 I sent in the last mail). Again this time I dont need initrd.

So it is logical that Dom0 must boot, but it fails

actually. That is

Quoted 4 lines
Quoted 4 lines

why I find the situation very strange.

Quoted 1 line
Quoted 1 line

I have found that my machine has no serial port, so

perhaps I must buy

Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line

a serial card to debug this problem. Wonder if there is

another way to

Quoted 2 lines
Quoted 2 lines
Quoted 2 lines
Quoted 1 line

avoid that (?)

If you have a digital camera and you add "noreboot" to

the commandline

Quoted 1 line
Quoted 1 line
Quoted 1 line

of "xen.gz" in your grub configuration, maybe you can

upload (to some

Quoted 1 line
Quoted 1 line
Quoted 1 line

photo-web-site or such) a screen-shot of the final few

lines of the boot

Quoted 1 line
Quoted 1 line
Quoted 1 line

and send a link to the list - that may not give all

clues, but at least

Quoted 7 lines
Quoted 7 lines
Quoted 1 line

it will indicate what's going on.

OK, I will do that, as it is not desired to buy a serial card :-)

Thanks,
Jun

#6 lore raw

What a shame!!! I think I should go hanging myself!!!

Good bye forever! Best wishes to you and Xen project!!!!!

Jun

Quoted 138 lines · Mats
Quoted 11 lines

-----Original Message-----
From: Keir Fraser [mailto:[email protected]]
Sent: 13 June 2007 10:45
To: Jun Koi; Petersson, Mats
Cc: xen-devel
Subject: Re: [Xen-devel] Xen doesnt recognize my root fs, while native kernel can ???

Quoted 3 lines

That's fine. My conclusion is that this is user error: you are trying to
mount /boot/sda2 and you actually mean /dev/sda2.

Well spotted. I just expected it to say "/dev/" rather than "/boot/".

--
Mats

Quoted 116 lines

-- Keir

Quoted 1 line · Jun Koi

Here is the screenshot taken with a digital camera. I hope

the screen

Quoted 16 lines

is clear enough for you to see.

Thanks,
Jun

Quoted 8 lines · Jun Koi

Hi Mats,

Quoted 5 lines · Mats
Quoted 5 lines

-----Original Message-----
From: [email protected] [mailto:[email protected]] On Behalf

Of Jun Koi

Quoted 22 lines
Quoted 22 lines
Quoted 22 lines
Quoted 22 lines

Sent: 13 June 2007 09:54
To: Keir Fraser
Cc: xen-devel
Subject: Re: [Xen-devel] Xen doesnt recognize my root fs, while native kernel can ???

Quoted 3 lines · Keir Fraser
Quoted 1 line · Jun Koi
Quoted 1 line
Quoted 1 line

The point is that Xen doesnt boot in the first place,

so I cannot

Quoted 3 lines
Quoted 3 lines
Quoted 3 lines
Quoted 3 lines

provide xm dmesg!

Below is the output from dmesg (native kernel) and

Dom0's .config.

Quoted 7 lines
Quoted 7 lines
Quoted 3 lines
Quoted 1 line

Anything else do you need?

Can you get a serial line on the machine?

Opps, that is compicated, as I dont have a cable to do that.

So if you have no suggestion, perhaps I must try this

Quoted 8 lines
Quoted 8 lines
Quoted 8 lines
Quoted 8 lines

way. But perhaps

Quoted 3 lines
Quoted 1 line

it take more than a week, as I am away in few days.

There's a decent chance that comparing the two dmesg

outputs will show some

Quoted 1 line

important deviation in the case of running on Xen that is

causing the boot

Quoted 1 line

failure. Without the failing output it's hard to know

where to start

Quoted 4 lines
Quoted 4 lines
Quoted 4 lines
Quoted 4 lines
Quoted 2 lines

looking.

I see, but can you imagine some reasons why that

happens? It makes

Quoted 3 lines
Quoted 3 lines
Quoted 3 lines
Quoted 1 line

absolute no sense to me.

There are lots of possible reasons. The most likely is

that your kernel

Quoted 4 lines
Quoted 4 lines
Quoted 4 lines

in the native has drivers that are not part of the Xen default configuration.

The other very common problem is that you don't have

those necessary

Quoted 1 line
Quoted 1 line
Quoted 1 line

drivers in the "initrd" for your Xen. This is a problem

that is posted

Quoted 1 line
Quoted 1 line
Quoted 1 line

about three times a week (at least) on the Xen Users

mailing list [where

Quoted 7 lines
Quoted 7 lines
Quoted 3 lines

this problem probably should be discussed - but I think since it's started here, we'll keep it here].

No, that is not a reason in my case. I did it this way:
- Native kernel (2.6.18) is compiled with all the necessary drivers built-in. That means I dont need initrd to boot my machine

with this

Quoted 7 lines
Quoted 7 lines

kernel. And it boots well.
- I copied the .config of native kernel above to Dom0, and compile Dom0 with this option. (Of course before compiling, I enabled Xen option, as you can see in the .config of Dom0 I sent in the last mail). Again this time I dont need initrd.

So it is logical that Dom0 must boot, but it fails

actually. That is

Quoted 4 lines
Quoted 4 lines

why I find the situation very strange.

Quoted 1 line
Quoted 1 line

I have found that my machine has no serial port, so

perhaps I must buy

Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line

a serial card to debug this problem. Wonder if there is

another way to

Quoted 2 lines
Quoted 2 lines
Quoted 2 lines
Quoted 1 line

avoid that (?)

If you have a digital camera and you add "noreboot" to

the commandline

Quoted 1 line
Quoted 1 line
Quoted 1 line

of "xen.gz" in your grub configuration, maybe you can

upload (to some

Quoted 1 line
Quoted 1 line
Quoted 1 line

photo-web-site or such) a screen-shot of the final few

lines of the boot

Quoted 1 line
Quoted 1 line
Quoted 1 line

and send a link to the list - that may not give all

clues, but at least

Quoted 7 lines
Quoted 7 lines
Quoted 1 line

it will indicate what's going on.

OK, I will do that, as it is not desired to buy a serial card :-)

Thanks,
Jun

#7 lore raw

An easy mistake to make, and to overlook.

K.

Quoted 150 lines · Jun Koi

What a shame!!! I think I should go hanging myself!!!

Good bye forever! Best wishes to you and Xen project!!!!!

Jun

Quoted 11 lines · Mats
Quoted 11 lines

-----Original Message-----
From: Keir Fraser [mailto:[email protected]]
Sent: 13 June 2007 10:45
To: Jun Koi; Petersson, Mats
Cc: xen-devel
Subject: Re: [Xen-devel] Xen doesnt recognize my root fs, while native kernel can ???

Quoted 127 lines
Quoted 3 lines

That's fine. My conclusion is that this is user error: you are trying to
mount /boot/sda2 and you actually mean /dev/sda2.

Well spotted. I just expected it to say "/dev/" rather than "/boot/".

--
Mats

Quoted 116 lines

-- Keir

Quoted 1 line · Jun Koi

Here is the screenshot taken with a digital camera. I hope

the screen

Quoted 16 lines

is clear enough for you to see.

Thanks,
Jun

Quoted 8 lines · Jun Koi

Hi Mats,

Quoted 5 lines · Mats
Quoted 5 lines

-----Original Message-----
From: [email protected] [mailto:[email protected]] On Behalf

Of Jun Koi

Quoted 22 lines
Quoted 22 lines
Quoted 22 lines
Quoted 22 lines

Sent: 13 June 2007 09:54
To: Keir Fraser
Cc: xen-devel
Subject: Re: [Xen-devel] Xen doesnt recognize my root fs, while native kernel can ???

Quoted 3 lines · Keir Fraser
Quoted 1 line · Jun Koi
Quoted 1 line
Quoted 1 line

The point is that Xen doesnt boot in the first place,

so I cannot

Quoted 3 lines
Quoted 3 lines
Quoted 3 lines
Quoted 3 lines

provide xm dmesg!

Below is the output from dmesg (native kernel) and

Dom0's .config.

Quoted 7 lines
Quoted 7 lines
Quoted 3 lines
Quoted 1 line

Anything else do you need?

Can you get a serial line on the machine?

Opps, that is compicated, as I dont have a cable to do that.

So if you have no suggestion, perhaps I must try this

Quoted 8 lines
Quoted 8 lines
Quoted 8 lines
Quoted 8 lines

way. But perhaps

Quoted 3 lines
Quoted 1 line

it take more than a week, as I am away in few days.

There's a decent chance that comparing the two dmesg

outputs will show some

Quoted 1 line

important deviation in the case of running on Xen that is

causing the boot

Quoted 1 line

failure. Without the failing output it's hard to know

where to start

Quoted 4 lines
Quoted 4 lines
Quoted 4 lines
Quoted 4 lines
Quoted 2 lines

looking.

I see, but can you imagine some reasons why that

happens? It makes

Quoted 3 lines
Quoted 3 lines
Quoted 3 lines
Quoted 1 line

absolute no sense to me.

There are lots of possible reasons. The most likely is

that your kernel

Quoted 4 lines
Quoted 4 lines
Quoted 4 lines

in the native has drivers that are not part of the Xen default configuration.

The other very common problem is that you don't have

those necessary

Quoted 1 line
Quoted 1 line
Quoted 1 line

drivers in the "initrd" for your Xen. This is a problem

that is posted

Quoted 1 line
Quoted 1 line
Quoted 1 line

about three times a week (at least) on the Xen Users

mailing list [where

Quoted 7 lines
Quoted 7 lines
Quoted 3 lines

this problem probably should be discussed - but I think since it's started here, we'll keep it here].

No, that is not a reason in my case. I did it this way:
- Native kernel (2.6.18) is compiled with all the necessary drivers built-in. That means I dont need initrd to boot my machine

with this

Quoted 7 lines
Quoted 7 lines

kernel. And it boots well.
- I copied the .config of native kernel above to Dom0, and compile Dom0 with this option. (Of course before compiling, I enabled Xen option, as you can see in the .config of Dom0 I sent in the last mail). Again this time I dont need initrd.

So it is logical that Dom0 must boot, but it fails

actually. That is

Quoted 4 lines
Quoted 4 lines

why I find the situation very strange.

Quoted 1 line
Quoted 1 line

I have found that my machine has no serial port, so

perhaps I must buy

Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line

a serial card to debug this problem. Wonder if there is

another way to

Quoted 2 lines
Quoted 2 lines
Quoted 2 lines
Quoted 1 line

avoid that (?)

If you have a digital camera and you add "noreboot" to

the commandline

Quoted 1 line
Quoted 1 line
Quoted 1 line

of "xen.gz" in your grub configuration, maybe you can

upload (to some

Quoted 1 line
Quoted 1 line
Quoted 1 line

photo-web-site or such) a screen-shot of the final few

lines of the boot

Quoted 1 line
Quoted 1 line
Quoted 1 line

and send a link to the list - that may not give all

clues, but at least

Quoted 7 lines
Quoted 7 lines
Quoted 1 line

it will indicate what's going on.

OK, I will do that, as it is not desired to buy a serial card :-)

Thanks,
Jun

_______________________________________________
Xen-devel mailing list
[email protected]
http://lists.xensource.com/xen-devel

#8 lore raw
In reply to Jun Koi
Quoted 3 lines

What a shame!!! I think I should go hanging myself!!!

Good bye forever! Best wishes to you and Xen project!!!!!

Don't worry, I do that sort of thing all the time.

In fact, I'd bet that anybody who does any significant amount of advanced Xen development occasionally realises that the reason his cunning new feature ain't working is because he was doing something basic like booting the wrong kernel image, passing wrong args, etc.

Good luck with whatever you're planning for Xen :-)

Cheers,
Mark

Quoted 171 lines

Jun

Quoted 9 lines · Mats
Quoted 9 lines

-----Original Message-----
From: Keir Fraser [mailto:[email protected]]
Sent: 13 June 2007 10:45
To: Jun Koi; Petersson, Mats
Cc: xen-devel
Subject: Re: [Xen-devel] Xen doesnt recognize my root fs, while native kernel can ???

Quoted 153 lines
Quoted 3 lines

That's fine. My conclusion is that this is user error: you are trying to
mount /boot/sda2 and you actually mean /dev/sda2.

Well spotted. I just expected it to say "/dev/" rather than "/boot/".

--
Mats

Quoted 144 lines

-- Keir

Quoted 1 line · Jun Koi

Here is the screenshot taken with a digital camera. I hope

the screen

Quoted 12 lines

is clear enough for you to see.

Thanks,
Jun

Quoted 6 lines · Jun Koi

Hi Mats,

Quoted 3 lines · Mats
Quoted 3 lines

-----Original Message-----
From: [email protected] [mailto:[email protected]] On Behalf

Of Jun Koi

Quoted 32 lines
Quoted 32 lines
Quoted 32 lines
Quoted 32 lines

Sent: 13 June 2007 09:54
To: Keir Fraser
Cc: xen-devel
Subject: Re: [Xen-devel] Xen doesnt recognize my root fs, while native kernel can ???

Quoted 2 lines · Keir Fraser
Quoted 1 line · Jun Koi
Quoted 1 line
Quoted 1 line

The point is that Xen doesnt boot in the first place,

so I cannot

Quoted 3 lines
Quoted 3 lines
Quoted 3 lines
Quoted 3 lines

provide xm dmesg!

Below is the output from dmesg (native kernel) and

Dom0's .config.

Quoted 7 lines
Quoted 7 lines
Quoted 3 lines
Quoted 1 line

Anything else do you need?

Can you get a serial line on the machine?

Opps, that is compicated, as I dont have a cable to do that.

So if you have no suggestion, perhaps I must try this

way. But perhaps

Quoted 3 lines
Quoted 1 line

it take more than a week, as I am away in few days.

There's a decent chance that comparing the two dmesg

Quoted 7 lines
Quoted 7 lines
Quoted 7 lines
Quoted 7 lines

outputs will show some

Quoted 1 line

important deviation in the case of running on Xen that is

causing the boot

Quoted 1 line

failure. Without the failing output it's hard to know

where to start

Quoted 3 lines
Quoted 3 lines
Quoted 3 lines
Quoted 3 lines
Quoted 1 line

looking.

I see, but can you imagine some reasons why that

happens? It makes

Quoted 3 lines
Quoted 3 lines
Quoted 3 lines
Quoted 1 line

absolute no sense to me.

There are lots of possible reasons. The most likely is

that your kernel

Quoted 4 lines
Quoted 4 lines
Quoted 4 lines

in the native has drivers that are not part of the Xen default configuration.

The other very common problem is that you don't have

those necessary

Quoted 1 line
Quoted 1 line
Quoted 1 line

drivers in the "initrd" for your Xen. This is a problem

that is posted

Quoted 1 line
Quoted 1 line
Quoted 1 line

about three times a week (at least) on the Xen Users

mailing list [where

Quoted 6 lines
Quoted 6 lines
Quoted 2 lines

this problem probably should be discussed - but I think since it's started here, we'll keep it here].

No, that is not a reason in my case. I did it this way:
- Native kernel (2.6.18) is compiled with all the necessary drivers built-in. That means I dont need initrd to boot my machine

with this

Quoted 7 lines
Quoted 7 lines

kernel. And it boots well.
- I copied the .config of native kernel above to Dom0, and compile Dom0 with this option. (Of course before compiling, I enabled Xen option, as you can see in the .config of Dom0 I sent in the last mail). Again this time I dont need initrd.

So it is logical that Dom0 must boot, but it fails

actually. That is

Quoted 3 lines
Quoted 3 lines

why I find the situation very strange.

Quoted 1 line
Quoted 1 line

I have found that my machine has no serial port, so

perhaps I must buy

Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line

a serial card to debug this problem. Wonder if there is

another way to

Quoted 3 lines
Quoted 3 lines
Quoted 3 lines
Quoted 1 line

avoid that (?)

If you have a digital camera and you add "noreboot" to

the commandline

Quoted 1 line
Quoted 1 line
Quoted 1 line

of "xen.gz" in your grub configuration, maybe you can

upload (to some

Quoted 1 line
Quoted 1 line
Quoted 1 line

photo-web-site or such) a screen-shot of the final few

lines of the boot

Quoted 1 line
Quoted 1 line
Quoted 1 line

and send a link to the list - that may not give all

clues, but at least

Quoted 6 lines
Quoted 6 lines
Quoted 1 line

it will indicate what's going on.

OK, I will do that, as it is not desired to buy a serial card :-)

Thanks,
Jun

_______________________________________________
Xen-devel mailing list
[email protected]
http://lists.xensource.com/xen-devel

Signature · 4 lines
Dave: Just a question. What use is a unicyle with no seat?  And no pedals!
Mark: To answer a question with a question: What use is a skateboard?
Dave: Skateboards have wheels.
Mark: My wheel has a wheel!
#9 lore raw

Hi All,

Why am i getting screenshot sent by Jun now after almost more than 24 hours late?

Something wrong somewhere ?

Any help?

thanks
--psr

Quoted 201 lines · Mark Williamson
Quoted 3 lines

What a shame!!! I think I should go hanging myself!!!

Good bye forever! Best wishes to you and Xen project!!!!!

Don't worry, I do that sort of thing all the time.

In fact, I'd bet that anybody who does any significant amount of advanced Xen development occasionally realises that the reason his cunning new feature ain't working is because he was doing something basic like booting the wrong kernel image, passing wrong args, etc.

Good luck with whatever you're planning for Xen :-)

Cheers,
Mark

Quoted 164 lines

Jun

Quoted 160 lines · Mats
Quoted 9 lines

-----Original Message-----
From: Keir Fraser [mailto:[email protected]]
Sent: 13 June 2007 10:45
To: Jun Koi; Petersson, Mats
Cc: xen-devel
Subject: Re: [Xen-devel] Xen doesnt recognize my root fs, while native kernel can ???

Quoted 3 lines

That's fine. My conclusion is that this is user error: you are trying to
mount /boot/sda2 and you actually mean /dev/sda2.

Well spotted. I just expected it to say "/dev/" rather than "/boot/".

--
Mats

Quoted 142 lines

-- Keir

Quoted 1 line · Jun Koi

Here is the screenshot taken with a digital camera. I hope

the screen

Quoted 12 lines

is clear enough for you to see.

Thanks,
Jun

Quoted 6 lines · Jun Koi

Hi Mats,

Quoted 3 lines · Mats
Quoted 3 lines

-----Original Message-----
From: [email protected] [mailto:[email protected]] On Behalf

Of Jun Koi

Quoted 32 lines
Quoted 32 lines
Quoted 32 lines
Quoted 32 lines

Sent: 13 June 2007 09:54
To: Keir Fraser
Cc: xen-devel
Subject: Re: [Xen-devel] Xen doesnt recognize my root fs, while native kernel can ???

Quoted 2 lines · Keir Fraser
Quoted 1 line · Jun Koi
Quoted 1 line
Quoted 1 line

The point is that Xen doesnt boot in the first place,

so I cannot

Quoted 3 lines
Quoted 3 lines
Quoted 3 lines
Quoted 3 lines

provide xm dmesg!

Below is the output from dmesg (native kernel) and

Dom0's .config.

Quoted 7 lines
Quoted 7 lines
Quoted 3 lines
Quoted 1 line

Anything else do you need?

Can you get a serial line on the machine?

Opps, that is compicated, as I dont have a cable to do that.

So if you have no suggestion, perhaps I must try this

way. But perhaps

Quoted 3 lines
Quoted 1 line

it take more than a week, as I am away in few days.

There's a decent chance that comparing the two dmesg

Quoted 7 lines
Quoted 7 lines
Quoted 7 lines
Quoted 7 lines

outputs will show some

Quoted 1 line

important deviation in the case of running on Xen that is

causing the boot

Quoted 1 line

failure. Without the failing output it's hard to know

where to start

Quoted 3 lines
Quoted 3 lines
Quoted 3 lines
Quoted 3 lines
Quoted 1 line

looking.

I see, but can you imagine some reasons why that

happens? It makes

Quoted 3 lines
Quoted 3 lines
Quoted 3 lines
Quoted 1 line

absolute no sense to me.

There are lots of possible reasons. The most likely is

that your kernel

Quoted 4 lines
Quoted 4 lines
Quoted 4 lines

in the native has drivers that are not part of the Xen default configuration.

The other very common problem is that you don't have

those necessary

Quoted 1 line
Quoted 1 line
Quoted 1 line

drivers in the "initrd" for your Xen. This is a problem

that is posted

Quoted 1 line
Quoted 1 line
Quoted 1 line

about three times a week (at least) on the Xen Users

mailing list [where

Quoted 6 lines
Quoted 6 lines
Quoted 2 lines

this problem probably should be discussed - but I think since it's started here, we'll keep it here].

No, that is not a reason in my case. I did it this way:
- Native kernel (2.6.18) is compiled with all the necessary drivers built-in. That means I dont need initrd to boot my machine

with this

Quoted 7 lines
Quoted 7 lines

kernel. And it boots well.
- I copied the .config of native kernel above to Dom0, and compile Dom0 with this option. (Of course before compiling, I enabled Xen option, as you can see in the .config of Dom0 I sent in the last mail). Again this time I dont need initrd.

So it is logical that Dom0 must boot, but it fails

actually. That is

Quoted 3 lines
Quoted 3 lines

why I find the situation very strange.

Quoted 1 line
Quoted 1 line

I have found that my machine has no serial port, so

perhaps I must buy

Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line

a serial card to debug this problem. Wonder if there is

another way to

Quoted 3 lines
Quoted 3 lines
Quoted 3 lines
Quoted 1 line

avoid that (?)

If you have a digital camera and you add "noreboot" to

the commandline

Quoted 1 line
Quoted 1 line
Quoted 1 line

of "xen.gz" in your grub configuration, maybe you can

upload (to some

Quoted 1 line
Quoted 1 line
Quoted 1 line

photo-web-site or such) a screen-shot of the final few

lines of the boot

Quoted 1 line
Quoted 1 line
Quoted 1 line

and send a link to the list - that may not give all

clues, but at least

Quoted 4 lines
Quoted 4 lines
Quoted 1 line

it will indicate what's going on.

OK, I will do that, as it is not desired to buy a serial card :-)

Quoted 7 lines
Quoted 2 lines
Quoted 2 lines
Quoted 2 lines
Quoted 2 lines

Thanks,
Jun

_______________________________________________
Xen-devel mailing list
[email protected]
http://lists.xensource.com/xen-devel

--
Dave: Just a question. What use is a unicyle with no seat? And no pedals!
Mark: To answer a question with a question: What use is a skateboard?
Dave: Skateboards have wheels.
Mark: My wheel has a wheel!

_______________________________________________
Xen-devel mailing list
[email protected]
http://lists.xensource.com/xen-devel

Signature · 4 lines
---
pradeep singh rautela

"Genius is 1% inspiration, and 99% perspiration" - not me :)
#10 lore raw
Quoted 4 lines

Why am i getting screenshot sent by Jun now after almost more than 24 hours late?

Something wrong somewhere ?

I imagine the mailing list objected to it on the grounds it was large / could be spam, and so held it for administrator approval.

Mats replied to it yesterday because he was on the cc list so it went direct to him even though it didn't go straight to the list.

The same thing can happen when non-members post to the list, since they also have to be approved by the admin.

Cheers,
Mark

Quoted 201 lines · Mark Williamson
Quoted 199 lines
Quoted 3 lines

What a shame!!! I think I should go hanging myself!!!

Good bye forever! Best wishes to you and Xen project!!!!!

Don't worry, I do that sort of thing all the time.

In fact, I'd bet that anybody who does any significant amount of advanced Xen development occasionally realises that the reason his cunning new feature ain't working is because he was doing something basic like booting the wrong kernel image, passing wrong args, etc.

Good luck with whatever you're planning for Xen :-)

Cheers,
Mark

Quoted 165 lines

Jun

Quoted 162 lines · Mats
Quoted 9 lines

-----Original Message-----
From: Keir Fraser [mailto:[email protected]]
Sent: 13 June 2007 10:45
To: Jun Koi; Petersson, Mats
Cc: xen-devel
Subject: Re: [Xen-devel] Xen doesnt recognize my root fs, while native kernel can ???

Quoted 3 lines

That's fine. My conclusion is that this is user error: you are trying to
mount /boot/sda2 and you actually mean /dev/sda2.

Well spotted. I just expected it to say "/dev/" rather than "/boot/".

--
Mats

Quoted 144 lines

-- Keir

Quoted 1 line · Jun Koi

Here is the screenshot taken with a digital camera. I hope

the screen

Quoted 12 lines

is clear enough for you to see.

Thanks,
Jun

Quoted 6 lines · Jun Koi

Hi Mats,

Quoted 3 lines · Mats
Quoted 3 lines

-----Original Message-----
From: [email protected] [mailto:[email protected]] On Behalf

Of Jun Koi

Quoted 32 lines
Quoted 32 lines
Quoted 32 lines
Quoted 32 lines

Sent: 13 June 2007 09:54
To: Keir Fraser
Cc: xen-devel
Subject: Re: [Xen-devel] Xen doesnt recognize my root fs, while native kernel can ???

Quoted 2 lines · Keir Fraser
Quoted 1 line · Jun Koi
Quoted 1 line
Quoted 1 line

The point is that Xen doesnt boot in the first place,

so I cannot

Quoted 3 lines
Quoted 3 lines
Quoted 3 lines
Quoted 3 lines

provide xm dmesg!

Below is the output from dmesg (native kernel) and

Dom0's .config.

Quoted 7 lines
Quoted 7 lines
Quoted 3 lines
Quoted 1 line

Anything else do you need?

Can you get a serial line on the machine?

Opps, that is compicated, as I dont have a cable to do that.

So if you have no suggestion, perhaps I must try this

way. But perhaps

Quoted 3 lines
Quoted 1 line

it take more than a week, as I am away in few days.

There's a decent chance that comparing the two dmesg

Quoted 7 lines
Quoted 7 lines
Quoted 7 lines
Quoted 7 lines

outputs will show some

Quoted 1 line

important deviation in the case of running on Xen that is

causing the boot

Quoted 1 line

failure. Without the failing output it's hard to know

where to start

Quoted 3 lines
Quoted 3 lines
Quoted 3 lines
Quoted 3 lines
Quoted 1 line

looking.

I see, but can you imagine some reasons why that

happens? It makes

Quoted 3 lines
Quoted 3 lines
Quoted 3 lines
Quoted 1 line

absolute no sense to me.

There are lots of possible reasons. The most likely is

that your kernel

Quoted 4 lines
Quoted 4 lines
Quoted 4 lines

in the native has drivers that are not part of the Xen default configuration.

The other very common problem is that you don't have

those necessary

Quoted 1 line
Quoted 1 line
Quoted 1 line

drivers in the "initrd" for your Xen. This is a problem

that is posted

Quoted 1 line
Quoted 1 line
Quoted 1 line

about three times a week (at least) on the Xen Users

mailing list [where

Quoted 7 lines
Quoted 7 lines
Quoted 2 lines

this problem probably should be discussed - but I think since it's started here, we'll keep it here].

No, that is not a reason in my case. I did it this way:
- Native kernel (2.6.18) is compiled with all the necessary drivers built-in. That means I dont need initrd to boot my machine

with this

Quoted 7 lines
Quoted 7 lines

kernel. And it boots well.
- I copied the .config of native kernel above to Dom0, and compile Dom0 with this option. (Of course before compiling, I enabled Xen option, as you can see in the .config of Dom0 I sent in the last mail). Again this time I dont need initrd.

So it is logical that Dom0 must boot, but it fails

actually. That is

Quoted 3 lines
Quoted 3 lines

why I find the situation very strange.

Quoted 1 line
Quoted 1 line

I have found that my machine has no serial port, so

perhaps I must buy

Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line

a serial card to debug this problem. Wonder if there is

another way to

Quoted 3 lines
Quoted 3 lines
Quoted 3 lines
Quoted 1 line

avoid that (?)

If you have a digital camera and you add "noreboot" to

the commandline

Quoted 1 line
Quoted 1 line
Quoted 1 line

of "xen.gz" in your grub configuration, maybe you can

upload (to some

Quoted 1 line
Quoted 1 line
Quoted 1 line

photo-web-site or such) a screen-shot of the final few

lines of the boot

Quoted 1 line
Quoted 1 line
Quoted 1 line

and send a link to the list - that may not give all

clues, but at least

Quoted 5 lines
Quoted 5 lines
Quoted 1 line

it will indicate what's going on.

OK, I will do that, as it is not desired to buy a serial card :-)

Quoted 7 lines
Quoted 2 lines
Quoted 2 lines
Quoted 2 lines
Quoted 2 lines

Thanks,
Jun

_______________________________________________
Xen-devel mailing list
[email protected]
http://lists.xensource.com/xen-devel

--
Dave: Just a question. What use is a unicyle with no seat? And no pedals! Mark: To answer a question with a question: What use is a skateboard? Dave: Skateboards have wheels.
Mark: My wheel has a wheel!

_______________________________________________
Xen-devel mailing list
[email protected]
http://lists.xensource.com/xen-devel

Signature · 4 lines
Dave: Just a question. What use is a unicyle with no seat?  And no pedals!
Mark: To answer a question with a question: What use is a skateboard?
Dave: Skateboards have wheels.
Mark: My wheel has a wheel!
#11 lore raw

On 6/14/07, Mark Williamson <[email protected]> wrote:
[snip]

Quoted 9 lines

I imagine the mailing list objected to it on the grounds it was large / could be spam, and so held it for administrator approval.

Mats replied to it yesterday because he was on the cc list so it went direct to him even though it didn't go straight to the list.

The same thing can happen when non-members post to the list, since they also have to be approved by the admin.

Ok, thats fine.
thanks Mark
--psr

Quoted 3 lines

Cheers,
Mark

[snip]

Quoted 6 lines

--
Dave: Just a question. What use is a unicyle with no seat? And no pedals!
Mark: To answer a question with a question: What use is a skateboard?
Dave: Skateboards have wheels.
Mark: My wheel has a wheel!

Signature · 4 lines
---
pradeep singh rautela

"Genius is 1% inspiration, and 99% perspiration" - not me :)