|
|
| latest dom0 can't findroot |
  Australia |
2007-06-25 21:55:45 |
I wanted to try a new dom0 kernel with manuel's latest
interrupt
changes; they sounded promising for the hvm KASSERT issue.
Unfortunately, the new kernel can't find its root/boot
device. Even
when I explicitly give it "wd0a" at the kernel's
post-autoconf prompt
(the one you get for boot -a), it prompts for the init path
then
panics because of missing /dev/console.
Anyone else seeing this?
--
Dan.
|
|
| Re: latest dom0 can't findroot |
  France |
2007-06-26 11:16:35 |
On Tue, Jun 26, 2007 at 12:55:45PM +1000, Daniel Carosone
wrote:
> I wanted to try a new dom0 kernel with manuel's latest
interrupt
> changes; they sounded promising for the hvm KASSERT
issue.
>
> Unfortunately, the new kernel can't find its root/boot
device. Even
> when I explicitly give it "wd0a" at the
kernel's post-autoconf prompt
> (the one you get for boot -a), it prompts for the init
path then
> panics because of missing /dev/console.
>
> Anyone else seeing this?
It works fine for me, on both ahci and pciide controllers.
Does your kernel actually find the wd0 drive ? is it the
right
drive (I've run into this more than once, where the drive
numbering got
changed after a reboot).
--
Manuel Bouyer <bouyer antioche.eu.org>
NetBSD: 26 ans d'experience feront toujours la
difference
--
|
|
| Re: latest dom0 can't findroot |
  Australia |
2007-06-26 16:10:28 |
On Tue, Jun 26, 2007 at 06:16:35PM +0200, Manuel Bouyer
wrote:
> Does your kernel actually find the wd0 drive ? is it
the right
> drive (I've run into this more than once, where the
drive numbering got
> changed after a reboot).
Yeah, IIRC it offered wd0 partitions (along with ddb,
reboot, etc) in
response to a ? at the findroot prompt.
I'll try again with a from-clean build.
--
Dan. |
|
| Re: latest dom0 can't findroot |

|
2007-06-28 18:00:12 |
On Thu, 28 Jun 2007 06:46:25 pm Marcin M. Jessa wrote:
> On Tue, 26 Jun 2007 12:55:45 +1000, Daniel Carosone
<dan geek.com.au>
>
> wrote:
> > I wanted to try a new dom0 kernel with manuel's
latest interrupt
> > changes; they sounded promising for the hvm
KASSERT issue.
> >
> > Unfortunately, the new kernel can't find its
root/boot device. Even
> > when I explicitly give it "wd0a" at the
kernel's post-autoconf prompt
> > (the one you get for boot -a), it prompts for the
init path then
> > panics because of missing /dev/console.
> >
> > Anyone else seeing this?
>
> Yes, I just booted recent domU kernel from a few mins
ago and I can see it
> too
> with NetBSD 4.99.21 (it works fine with 4.99.20 ).
> It did not want to boot before I manually typed in root
device and chose
> dump device and file system.
This happened to me a few weeks ago on one of my domus. I
just removed the
root= line from the config and all was good. I must have
copied and pasted
from somewhere for that one.
root= has never been needed.
Sarton
|
|
| Re: latest dom0 can't findroot |
  Australia |
2007-06-28 23:10:29 |
On Tue, Jun 26, 2007 at 12:55:45PM +1000, Daniel Carosone
wrote:
> Unfortunately, the new kernel can't find its root/boot
device.
As for others, this is now resolved, thanks.
> Even when I explicitly give it "wd0a" at the
kernel's post-autoconf
> prompt (the one you get for boot -a), it prompts for
the init path
> then panics because of missing /dev/console.
This turned out to be a separate problem whereby a config
file typo
prevented vga and the console device getting detected ..
--
Dan.
|
|
| Re: latest dom0 can't findroot |
  Sweden |
2007-06-29 07:37:00 |
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
On 29 Jun 2007, at 01:00, Sarton O'Brien wrote:
> This happened to me a few weeks ago on one of my domus.
I just
> removed the
> root= line from the config and all was good. I must
have copied and
> pasted
> from somewhere for that one.
>
> root= has never been needed.
From the present version of the howto guide:
- ---------
# Set root device. This one does matter for NetBSD
root = "/dev/wd0d"
- ---------
While I appreciate the difficulties of keeping documentation
in sync
I think "root= has never been needed" may be an
overstatement. And I
use "root=" on dozens of domU's all the time. But
that's Xen2.
And I still think it would be better with separate howto
guides for
Xen2 and Xen3, as the latter is evolving while the former is
still
being used in production by many people.
Johan
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.5 (Darwin)
iD8DBQFGhPzvKJmr+nqSTbYRArKnAJ9NNs40a2qChwAUGHtkCW3I9+/K5gCf
aOLM
WluqGpwGER8/g8a6SiL+PJE=
=P+LN
-----END PGP SIGNATURE-----
|
|
| Re: latest dom0 can't findroot |
  France |
2007-06-29 11:50:59 |
On Fri, Jun 29, 2007 at 02:37:00PM +0200, Johan Ihren
wrote:
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
>
>
> On 29 Jun 2007, at 01:00, Sarton O'Brien wrote:
>
> >This happened to me a few weeks ago on one of my
domus. I just
> >removed the
> >root= line from the config and all was good. I must
have copied and
> >pasted
> >from somewhere for that one.
> >
> >root= has never been needed.
>
> From the present version of the howto guide:
> - ---------
> # Set root device. This one does matter for NetBSD
> root = "/dev/wd0d"
> - ---------
>
> While I appreciate the difficulties of keeping
documentation in sync
> I think "root= has never been needed" may be
an overstatement. And I
> use "root=" on dozens of domU's all the time.
But that's Xen2.
I'll have to double-check this. I don't think xen2/NetBSD
uses it either.
--
Manuel Bouyer, LIP6, Universite Paris VI.
Manuel.Bouyer lip6.fr
NetBSD: 26 ans d'experience feront toujours la
difference
--
|
|
| Re: latest dom0 can't findroot |
  France |
2007-06-29 11:57:32 |
On Fri, Jun 29, 2007 at 06:50:59PM +0200, Manuel Bouyer
wrote:
> On Fri, Jun 29, 2007 at 02:37:00PM +0200, Johan Ihren
wrote:
> > -----BEGIN PGP SIGNED MESSAGE-----
> > Hash: SHA1
> >
> >
> > On 29 Jun 2007, at 01:00, Sarton O'Brien wrote:
> >
> > >This happened to me a few weeks ago on one of
my domus. I just
> > >removed the
> > >root= line from the config and all was good. I
must have copied and
> > >pasted
> > >from somewhere for that one.
> > >
> > >root= has never been needed.
> >
> > From the present version of the howto guide:
> > - ---------
> > # Set root device. This one does matter for
NetBSD
> > root = "/dev/wd0d"
> > - ---------
> >
> > While I appreciate the difficulties of keeping
documentation in sync
> > I think "root= has never been needed"
may be an overstatement. And I
> > use "root=" on dozens of domU's all the
time. But that's Xen2.
>
> I'll have to double-check this. I don't think
xen2/NetBSD uses it either.
OK, a NetBSD xen2 domU works fine without the "root =
" line. I think I
intended to write "This one does *not* matter for
NetBSD". But Linux domUs
will need it.
--
Manuel Bouyer, LIP6, Universite Paris VI.
Manuel.Bouyer lip6.fr
NetBSD: 26 ans d'experience feront toujours la
difference
--
|
|