Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 17 May 2010 09:53:52 -0700
From:      Jeremy Chadwick <freebsd@jdc.parodius.com>
To:        Pawel Tyll <ptyll@nitronet.pl>
Cc:        freebsd-fs@freebsd.org, Andriy Gapon <avg@icyb.net.ua>
Subject:   Re: Root mount from ZFS takes forever...literally.
Message-ID:  <20100517165352.GA12092@icarus.home.lan>
In-Reply-To: <1554873904.20100517184702@nitronet.pl>
References:  <598841171.20100515193024@nitronet.pl> <4BF164DD.4060502@icyb.net.ua> <1554873904.20100517184702@nitronet.pl>

next in thread | previous in thread | raw e-mail | index | archive | help
On Mon, May 17, 2010 at 06:47:02PM +0200, Pawel Tyll wrote:
> >> Boot process "hangs" on Trying to mount root from zfs:tank/root - I
> >> can import the pool from alternate boot source (PXE), and access files
> >> fine, but I can't finish booting the system from ZFS.
> > What messages do you have on screen when this happens?
> > Can you upload a screenshot somewhere and post a link?
> Just mounting root, and nothing happens. System is responsive,
> attaching/detaching USB keyboard generates messages, and hitting
> alt+ctrl+del correctly reboots the system.
> 
> After messing around with fstab (added / entry, bit redundant with
> loader.conf vfs.root.mountfrom entry) it started to working again, but
> I can't repeat it now by removing this. Too bad I didn't take a
> snapshot before fixing :(
> 
> Strange. :)

Are you *absolutely sure* the problem has to do with ZFS?  I see you
mention PXE booting......

This sounds much like an environment where serial console is set up
incorrectly; kernel messages will be seen up to the final "Mounting
root..." message, but everything past that goes to VGA console (or
serial console, depends on the configuration mishap).

-- 
| Jeremy Chadwick                                   jdc@parodius.com |
| Parodius Networking                       http://www.parodius.com/ |
| UNIX Systems Administrator                  Mountain View, CA, USA |
| Making life hard for others since 1977.              PGP: 4BD6C0CB |




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20100517165352.GA12092>