Date: Wed, 21 Feb 2007 19:00:31 GMT From: Alexander Shiryaev <coumarin@gmail.com> To: freebsd-usb@FreeBSD.org Subject: Re: usb/109397: [panic] on boot from USB flash Message-ID: <200702211900.l1LJ0ViP075689@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
The following reply was made to PR usb/109397; it has been noted by GNATS. From: Alexander Shiryaev <coumarin@gmail.com> To: "M. Warner Losh" <imp@bsdimp.com> Cc: freebsd-gnats-submit@freebsd.org Subject: Re: usb/109397: [panic] on boot from USB flash Date: Wed, 21 Feb 2007 21:26:07 +0300 M. Warner Losh wrote: > You might also try setting / and /usr to read only to see if the > corruption occurs during boot or before. > > Warner > I have following slice structure on USB flash (bsdlabel /dev/da0s1): # /dev/da0s1: 8 partitions: # size offset fstype [fsize bsize bps/cpg] a: 262144 16 4.2BSD 1024 8192 32776 c: 4016187 0 unused 0 0 # "raw" part, don't edit d: 131072 262160 4.2BSD 1024 8192 16392 e: 131072 393232 4.2BSD 1024 8192 16392 f: 1523696 524304 4.2BSD 2048 16384 28552 (newfs /dev/da0s1a; newfs -U /dev/da0s1d; newfs -U /dev/da0s1e; newfs -U /dev/da0s1f) I have this /etc/fstab on USB flash: /dev/da0s1a / ufs ro,sync 1 1 /dev/da0s1d /var ufs ro,sync 2 2 /dev/da0s1e /tmp ufs ro,sync 2 2 /dev/da0s1f /usr ufs ro,sync 2 2 Then I boot system from USB flash, and get the same result: http://users.msu.dubna.ru/~shiryaev/files/fbsd/nokia020_1.jpg Then I retry to boot from USB flash, and see message "Missing operating system". I.e. data structure is damaged even in case of specifying "ro,sync". Additional information: 1. Kernel configuration: GENERIC, no CPUTYPE and CFLAGS in /etc/make.conf 2. This bug does not take place in current version of DragonFlyBSD (but there other bug takes place) Can somebody try to reproduce it? It can be 100% reproduced on my system. Alexander.
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200702211900.l1LJ0ViP075689>