Re: Head from yesterday's snapshot fails to mount root

From: Kevin Oberman <rkoberman_at_gmail.com>
Date: Fri, 17 Jul 2015 22:47:01 -0700
On Fri, Jul 17, 2015 at 7:31 PM, Glen Barber <gjb_at_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_at_gmail.com
PGP Fingerprint: D03FB98AFA78E3B78C1694B318AB39EF1B055683


> > Kevin Oberman, Network Engineer, Retired
> > E-mail: rkoberman_at_gmail.com
> > PGP Fingerprint: D03FB98AFA78E3B78C1694B318AB39EF1B055683
> >
> > On Fri, Jul 17, 2015 at 7:23 PM, Kevin Oberman <rkoberman_at_gmail.com>
> wrote:
> >
> > > On Fri, Jul 17, 2015 at 5:59 PM, Glen Barber <gjb_at_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_at_gmail.com
> > > PGP Fingerprint: D03FB98AFA78E3B78C1694B318AB39EF1B055683
> > >
> > >
>
Received on Sat Jul 18 2015 - 03:47:02 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:40:58 UTC