Trond Endrestøl
2014-Apr-11 16:38 UTC
Unable to mount the root fs on stable/8 r264339, GENERIC kernel, with MBR, FreeBSD slice, and UFS volume labels
Hi, I have a couple of uncritical systems running stable/8 r258344. Hardware is Dell OptiPlex GX260, BIOS A09, which is the latest rev. The r264339 GENERIC kernel are unable to mount the root fs from the hard drive using MBR, FreeBSD slice, and UFS volume labels. r258344 obviously can. I even tried regular device names like /dev/ad0s1a in /etc/fstab, and at the mountroot> prompt, i.e. ufs:/dev/ad0s1a. The kernel still cannot mount the root fs. The new kernel (r264339) does recognize the ad0 harddrive, and ad0 is listed as one of the GEOM managed disk devices; acd0 being the other one. Do I need to load additional geom modules, or is it a genuine bug? I have recreated the same conditions on a spare GX260, yes, I have plenty of them. In addition there was some problems with the USB subsystem, so I disabled USB in the BIOS for now. USB is not essential for any of my systems. Maybe it's time to leave stable/8 and enter stable/10 or stable/9. I'll try to compile stable/9 on the spare system, and see how it fares. Any thoughts regarding the problem mounting the root fs? -- +-------------------------------+------------------------------------+ | Vennlig hilsen, | Best regards, | | Trond Endrest?l, | Trond Endrest?l, | | IT-ansvarlig, | System administrator, | | Fagskolen Innlandet, | Gj?vik Technical College, Norway, | | tlf. mob. 952 62 567, | Cellular...: +47 952 62 567, | | sentralbord 61 14 54 00. | Switchboard: +47 61 14 54 00. | +-------------------------------+------------------------------------+
Chris H
2014-Apr-11 17:04 UTC
Unable to mount the root fs on stable/8 r264339, GENERIC kernel, with MBR, FreeBSD slice, and UFS volume labels
> Hi, > > I have a couple of uncritical systems running stable/8 r258344. > Hardware is Dell OptiPlex GX260, BIOS A09, which is the latest rev. > > The r264339 GENERIC kernel are unable to mount the root fs from the > hard drive using MBR, FreeBSD slice, and UFS volume labels.You didn't indicate where it won't mount the drives from. Is this from the releng_8 install media. In other words, When booting the install media, the installer can't find the drive(s)? Or is it something else? When you're presented with the problem, what's the output of ls /dev do any of ad0* da0* show up? If so, what's the output from gpart list ad0s1 and the likes? --Chris> > r258344 obviously can. > > I even tried regular device names like /dev/ad0s1a in /etc/fstab, and > at the mountroot> prompt, i.e. ufs:/dev/ad0s1a. The kernel still > cannot mount the root fs. > > The new kernel (r264339) does recognize the ad0 harddrive, and ad0 is > listed as one of the GEOM managed disk devices; acd0 being the other > one. > > Do I need to load additional geom modules, or is it a genuine bug? > > I have recreated the same conditions on a spare GX260, yes, I have > plenty of them. > > In addition there was some problems with the USB subsystem, so I > disabled USB in the BIOS for now. USB is not essential for any of my > systems. > > Maybe it's time to leave stable/8 and enter stable/10 or stable/9. > I'll try to compile stable/9 on the spare system, and see how it > fares. > > Any thoughts regarding the problem mounting the root fs? > > -- > +-------------------------------+------------------------------------+ > | Vennlig hilsen, | Best regards, | > | Trond Endrest?l, | Trond Endrest?l, | > | IT-ansvarlig, | System administrator, | > | Fagskolen Innlandet, | Gj?vik Technical College, Norway, | > | tlf. mob. 952 62 567, | Cellular...: +47 952 62 567, | > | sentralbord 61 14 54 00. | Switchboard: +47 61 14 54 00. | > +-------------------------------+------------------------------------+ > _______________________________________________ > freebsd-stable at freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-stable > To unsubscribe, send any mail to "freebsd-stable-unsubscribe at freebsd.org" > >
Erich Dollansky
2014-Apr-12 00:00 UTC
Unable to mount the root fs on stable/8 r264339, GENERIC kernel, with MBR, FreeBSD slice, and UFS volume labels
Hi, On Fri, 11 Apr 2014 18:38:04 +0200 (CEST) Trond Endrest?l <Trond.Endrestol at fagskolen.gjovik.no> wrote:> The r264339 GENERIC kernel are unable to mount the root fs from the > hard drive using MBR, FreeBSD slice, and UFS volume labels.does your GENERIC have these options enabled: options GEOM_PART_BSD options GEOM_PART_MBR options GEOM_PART_GPT options GEOM_RAID options GEOM_LABEL options GEOM_PART_EBR options GEOM_PART_EBR_COMPAT If not or if you are not sure try to load these modules during boot time. Of course, if you do not use GPT or RAID, you do not have to load these modules. Erich
Trond Endrestøl
2014-Apr-15 17:44 UTC
Unable to mount the root fs on stable/8 r264339, GENERIC kernel, with MBR, FreeBSD slice, and UFS volume labels
On Fri, 11 Apr 2014 18:38+0200, Trond Endrest?l wrote:> Hi, > > I have a couple of uncritical systems running stable/8 r258344. > Hardware is Dell OptiPlex GX260, BIOS A09, which is the latest rev. > > The r264339 GENERIC kernel are unable to mount the root fs from the > hard drive using MBR, FreeBSD slice, and UFS volume labels. > > r258344 obviously can. > > I even tried regular device names like /dev/ad0s1a in /etc/fstab, and > at the mountroot> prompt, i.e. ufs:/dev/ad0s1a. The kernel still > cannot mount the root fs. > > The new kernel (r264339) does recognize the ad0 harddrive, and ad0 is > listed as one of the GEOM managed disk devices; acd0 being the other > one. > > Do I need to load additional geom modules, or is it a genuine bug? > > I have recreated the same conditions on a spare GX260, yes, I have > plenty of them.I believe I have identified r262226 as the offending commit. Maybe the flags integer is set to a bad value before the calls to resource_list_alloc(). My spare system is currently recompiling r262221 of both world and kernel, and I hope to confirm this assumption in a few hours. If all goes well, I intend to move forward to the latest revision of stable/8, back out the change done to sys/dev/pci/pci.c in r262226, recompile world and kernel, install the kernel, and if successfully, I'll install world as well.> In addition there was some problems with the USB subsystem, so I > disabled USB in the BIOS for now. USB is not essential for any of my > systems.I have reenabled the USB options in the BIOS, and I have attached a USB keyboard and a USB mouse, in addition to the PS/2 keyboard. All I/O devices work as they should. Maybe the USB issues were also caused by r262226. Stay tuned. -- +-------------------------------+------------------------------------+ | Vennlig hilsen, | Best regards, | | Trond Endrest?l, | Trond Endrest?l, | | IT-ansvarlig, | System administrator, | | Fagskolen Innlandet, | Gj?vik Technical College, Norway, | | tlf. mob. 952 62 567, | Cellular...: +47 952 62 567, | | sentralbord 61 14 54 00. | Switchboard: +47 61 14 54 00. | +-------------------------------+------------------------------------+