Date: Sun, 10 Jul 2016 19:54:38 -0500 From: Karl Denninger <karl@denninger.net> To: freebsd-stable@freebsd.org Subject: Not-so stable if you take a CAM error.... Message-ID: <2b0c454b-c1a0-4b5b-e778-bf0939e90ae1@denninger.net>
next in thread | raw e-mail | index | archive | help
[-- Attachment #1 --]
Got a (nasty) surprise this afternoon on my sandbox machine.
I was updating some Raspberry Pi2 machines which involved taking the sd
card out, sticking it in an adapter and plugging it into the sandbox,
then mounting the partition and using rsync.
Unfortunately one of the cards was, unknown to me, bad and returned a
write error during the update.
The machine panic'd immediately after the CAM write error popped up.
I was quite surprised by this, since (1) the SD card was (of course)
mounted as a UFS filesystem; it shows up as a CAM device, (2) the
machine itself is running off a ZFS root on a normal host-adapter and
thus there is no comingling of the buffer cache and (3) there were no
images being run from (can't, wrong architecture!) nor any system I/O
(e.g. pagefile) going to the SD card.
I certainly understand that under some circumstances (maybe even most
circumstances) taking a hard I/O error to a system device is going to
hose you and a panic() is arguably "least astonishment" when the price
of being wrong might be a corrupted system file or worse (e.g. corrupted
paged-out RSS, etc.) But I didn't expect a panic out a failed write to
a device that is mounted and being used purely for data.
I don't have a crash dump but can almost-certainly reproduce this if
it's something that shouldn't happen and thus merits investigation.
--
Karl Denninger
karl@denninger.net <mailto:karl@denninger.net>
/The Market Ticker/
/[S/MIME encrypted email preferred]/
[-- Attachment #2 --]
0 *H
010
`He 0 *H
_0[0C)0
*H
010 UUS10UFlorida10U Niceville10U
Cuda Systems LLC10UCuda Systems LLC CA1"0 *H
Cuda Systems LLC CA0
150421022159Z
200419022159Z0Z10 UUS10UFlorida10U
Cuda Systems LLC10UKarl Denninger (OCSP)0"0
*H
0
X@vkY
Tq/vE]5#֯MX\8LJ/V?5Da+
sJc*/r{ȼnS+ w")ąZ^DtdCOZ ~7Q '@a#ijc۴oZdB&!Ӝ-< ?HN5y
5}F|ef"Vلio74zn">a1qWuɖbFeGE&3(KhixG3!#e_XƬϜ/,$+;4y'Bz<qT9_?rRUpn5
Jn&Rx/p Jyel*pN8/#9u/YPEC)TY>~/˘N[vyiDKˉ,^" ?$T8 v&K%z8C @?K{9f`+@,|Mbia 007++0)0'+0http://cudasystems.net:88880 U0 0 `HB0U0, `HB
OpenSSL Generated Certificate0U-h\Ff Y0U#0$q}ݽʒm50U0karl@denninger.net0
*H
Owbabɺx&Uk[(Oj!%p MQ0I!#QH}.>~2&D}<wm_>V6v]f>=Nn+8;q wfΰ/RLyUG#b}n!Dր_up|_ǰc/%ۥ
nN8:d;-UJd/m1~VނיnN I˾$tF1&}|?q?\đXԑ&\4V<lKۮ3%Am_(q-(cAeGX)f}-˥6cv~Kg8m~v;|9:-iAPқ6ېn-.)<[$KJtt/L4ᖣ^Cmu4vb{+BG$M0c\[MR|0FԸP&78"4p#}DZ9;V9#>Sw"[UP7100010 UUS10UFlorida10U Niceville10U
Cuda Systems LLC10UCuda Systems LLC CA1"0 *H
Cuda Systems LLC CA)0
`He M0 *H
1 *H
0 *H
1
160711005438Z0O *H
1B@חo }1G
!D (_q}sOƳ42MJd6h{0uC0l *H
1_0]0 `He*0 `He0
*H
0*H
0
*H
@0+0
*H
(0 +710010 UUS10UFlorida10U Niceville10U
Cuda Systems LLC10UCuda Systems LLC CA1"0 *H
Cuda Systems LLC CA)0*H
1010 UUS10UFlorida10U Niceville10U
Cuda Systems LLC10UCuda Systems LLC CA1"0 *H
Cuda Systems LLC CA)0
*H
rzEUץإʹ ǯ#70ʛ *GX9OrhzRÛG/̊?`+|{-~9ֿ~W?ұ_R+ɷh$)J۲01\V3;'Ή(IZ#
!Ԧ>0vfPkgdHՆhH?
Ӱ7asxiW@FP
͆a]`N_v
FZ9AxtfCvpU?Xݷ__P&禝.oyE+)Sm'R/_DM"JeHqA'\24*
C/v_@.2́F;tc!7$XehK6ES|_#>Ϸw(b>p<# YϹx2 ~}_~FUM^Iy`!CԈf }35ۜ3q
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?2b0c454b-c1a0-4b5b-e778-bf0939e90ae1>
