Date: Sun, 07 Jan 2018 16:35:17 +0000 From: bugzilla-noreply@freebsd.org To: freebsd-bugs@FreeBSD.org Subject: [Bug 224974] [fsck] Mounting USB drive at boot time hangs boot Message-ID: <bug-224974-8@https.bugs.freebsd.org/bugzilla/>
next in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D224974 Bug ID: 224974 Summary: [fsck] Mounting USB drive at boot time hangs boot Product: Base System Version: CURRENT Hardware: Any OS: Any Status: New Severity: Affects Some People Priority: --- Component: bin Assignee: freebsd-bugs@FreeBSD.org Reporter: pru13allan@telia.com Maybe related to Bug 208308. When mounting USB drive from fstab and the sixth field, (fs_passno), is set to 2 the boot sequence hangs. Setting fs_passno to 0 work as expected. Tested with different types of drives (memstick and disk) with different schemes (MBR, GPT) and all combination of msdosfs and/or ufs. Adding 'late' to fstab have no effect. (fsck comes before mount) Steps to reproduce (memstick): /etc/fstab: /dev/da0s1 /mnt msdosfs rw,noatime 0 0 This work OK. /etc/fstab: /dev/da0s1 /mnt msdosfs rw,noatime 0 2 This should start a background fsck and the boot would proceed as normal. Tested on RaspberryPi3: Booting hangs after enumerating all USB devices. You have to remove SDHC-ca= rd and mount it on another machine and edit /etc/fstab. Eventually after fsck of SDHC. FreeBSD fbsd4 12.0-CURRENT FreeBSD 12.0-CURRENT #0 r327173M: Sun Dec 31 16:04:59 CET 2017 root@HP2:/usr/crochet-freebsd/work/obj/usr/src/arm64.aarch64 /sys/GENERIC-NODEBUG arm64 Tested on HP laptop: Boot message: Can't open '/dev/da0s1' /dev/da0s1: UNEXPECTED INCONSISTENCY: RUN fsck_msdosfs MANUALLY /dev/ada0s1d: FILE SYSTEM CLEAN: SKIPPING CHECKS .... .... THE FOLLOWING FILE SYSTEM HAD AN UNEXPECTED INCONSISTENCY: msdosfs: /dev/da0s1 (/Video) Automatic file system check failed: help! ERROR: ABORTING BOOT (sending SIGTERM to parent)! Jan 7 12:46:45 init: /bin/sh on /etc/rc terminated abnormally, going to si= ngle user mode Enter full pathname of shell or RETURN for /bin/sh: FreeBSD HP2 12.0-CURRENT FreeBSD 12.0-CURRENT #1 r327173M: Tue Dec 26 10:36= :15 CET 2017 root@HP2:/usr/obj/usr/src/i386.i386/sys/GENERIC-NODEBUG i386 --=20 You are receiving this mail because: You are the assignee for the bug.=
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-224974-8>