Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 17 Jul 2015 22:47:01 -0700
From:      Kevin Oberman <rkoberman@gmail.com>
To:        Glen Barber <gjb@freebsd.org>
Cc:        FreeBSD Current <freebsd-current@freebsd.org>
Subject:   Re: Head from yesterday's snapshot fails to mount root
Message-ID:  <CAN6yY1tixahcfQYCmAA9mttUhghDcf02Cu1Wy8qtCgAFYNVG6w@mail.gmail.com>
In-Reply-To: <20150718023143.GN1438@FreeBSD.org>
References:  <CAN6yY1txGzm8RywyrqNtdXZuU0iJ=MowTJvP-ivcx1UyqxsOcw@mail.gmail.com> <20150718005900.GG1438@FreeBSD.org> <20150718005954.GH1438@FreeBSD.org> <CAN6yY1uo90_tJMOmXbxfSi-=AhQQyWEDtdnLR8qUfqFxH_RoCg@mail.gmail.com> <CAN6yY1vhk_dGr-qcqvXZr3Rxj48RpmnfiCKFmvqH-DAW7Rcmow@mail.gmail.com> <20150718023143.GN1438@FreeBSD.org>

next in thread | previous in thread | raw e-mail | index | archive | help
On Fri, Jul 17, 2015 at 7:31 PM, Glen Barber <gjb@freebsd.org> wrote:

> On Fri, Jul 17, 2015 at 07:27:06PM -0700, Kevin Oberman wrote:
> > Never mind! I see the problem. Sorry for the noise.
> >
>
> Out of curiosity, what was it?
>
> Glen
>

I think is was an "inadequacy" of the bsdinstall system.  I booted a thumb
drive which, of course, was named /dev/da0. I plugged in a USB hard drive
which was /dev/da1. bsdinstall does not label any partitions and generates
/etc/fstab that assumes that the root is on the drive it was on during
install. This works reasonably well for non-removable drives, but that USB
drive is created as da1 when I boot. I simply managed not to see it was
trying to boot /dev/da1p2 when I booted the system.

I booted my 10.1-BETA1 system and edited /etc/fstab and it did fine... for
a while. I was doing a "portsnap extract" and, late in extracting devel,
the system panicked in vfs. I did not get a dump or any information from
the crash. Sorry.

After I booted my 10.1-BETA1 system, I had to do a full fsck and, after
that I had a totally empty usr, so I guess I need to try again from
scratch. :-(

If it happens again, I'll try hard to get more information. For tonight,
I'm calling it quits and I'll start over tomorrow.
--
Kevin Oberman, Network Engineer, Retired
E-mail: rkoberman@gmail.com
PGP Fingerprint: D03FB98AFA78E3B78C1694B318AB39EF1B055683


> > Kevin Oberman, Network Engineer, Retired
> > E-mail: rkoberman@gmail.com
> > PGP Fingerprint: D03FB98AFA78E3B78C1694B318AB39EF1B055683
> >
> > On Fri, Jul 17, 2015 at 7:23 PM, Kevin Oberman <rkoberman@gmail.com>
> wrote:
> >
> > > On Fri, Jul 17, 2015 at 5:59 PM, Glen Barber <gjb@freebsd.org> wrote:
> > >
> > >> On Sat, Jul 18, 2015 at 12:59:00AM +0000, Glen Barber wrote:
> > >> > On Fri, Jul 17, 2015 at 05:52:58PM -0700, Kevin Oberman wrote:
> > >> > > I just tried to install HEAD from the July 16 snapshot.
> Installation
> > >> went
> > >> > > fine using all defaults. (I am trying to test whether a problem
> with
> > >> resume
> > >> > > is present with HEAD.)
> > >> > >
> > >> > > I booted up the system from a USB drive with no problems until it
> > >> tried to
> > >> > > mount root. It simply sat "Waiting for /dev/da0p2" forever (or
> more
> > >> than
> > >> > > the 3 minutes I waited). System is a Lenovo ThinkPad T520 (amd64)
> > >> that runs
> > >> > > 10.2-BETA1 (r285359) without any issues other than the inability
> to
> > >> resume/
> > >> > >
> > >> > > da0 is an old 120GB USB drive and I can mount and examine it using
> > >> either
> > >> > > the install system or 10.2-BETA1 system.
> > >> > >
> > >> > > This is my first experience with HEAD since the release of 10.0.
> The
> > >> boot
> > >> > > looks quite normal and the UMASS and da0 devices show up and look
> > >> normal.
> > >> > > ugen1.3: <JMicron> at usbus1
> > >> > > umass0: <MSC Bulk-Only Transfer> on usbus1
> > >> > > umass0:  SCSI over Bulk-Only; quirks = 0x4000
> > >> > > umass0:5:0:-1: Attached to scbus5
> > >> > > da0 at umass-sim0 bus 0 scbus5 target 0 lun 0
> > >> > > da0: <WDC WD12 00UE-00KVT0 3K01> Fixed Direct Access SCSI-2 device
> > >> > > da0: Serial Number D578C6060290
> > >> > > da0: 40.000MB/s transfers
> > >> > > da0: 114473MB (234441648 512 byte sectors: 255H 63S/T 14593C)
> > >> > > da0: quirks=0x2<NO_6_BYTE>
> > >> > >
> > >> > > Would screen shots of the boot help? (I sure see anything
> unusual.)
> > >> Is this
> > >> > > a known issue?
> > >> > >
> > >> >
> > >> > Yes, please provide screenshots.  I did not observe this, although
> this
> > >> > does not sound like a problem with the image(s), necessarily.
> > >> >
> > >>
> > >> Also, just for science, can you also try the 10.2-BETA2 images that
> were
> > >> uploaded today?
> > >>
> > >> Glen
> > >>
> > >>
> > > Boot pics are at: http://ykoberman.dlinkddns.com/FreeBSD/
> > >
> > > I'll give the 10.2-BETA2 a try as soon as I can, probably later
> tonight.
> > > I'll admit that it's been a long time since I tried this... the first
> from
> > > a memstick image.
> > > --
> > > Kevin Oberman, Network Engineer, Retired
> > > E-mail: rkoberman@gmail.com
> > > PGP Fingerprint: D03FB98AFA78E3B78C1694B318AB39EF1B055683
> > >
> > >
>



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