Date: Tue, 17 Apr 2012 11:06:05 +0200 From: "O. Hartmann" <ohartman@mail.zedat.fu-berlin.de> Cc: matt <sendtomatt@gmail.com>, =?ISO-8859-2?Q?Edward_Tomasz_Na?=, "Conrad J. Sabatier" <conrads@cox.net>, ken@freebsd.org, freebsd-current@freebsd.org, Konstantin Belousov <kostikbel@gmail.com>, =?ISO-8859-2?Q?piera=B3a?= <trasz@freebsd.org> Subject: Re: Kernel builds, but crashes at boot (amd64, Revision: 234306) Message-ID: <4F8D327D.2090409@mail.zedat.fu-berlin.de> In-Reply-To: <4F8D2EB4.7060003@gwdg.de> References: <20120415053032.370280f9@cox.net> <4F8BDF13.4060903@mail.zedat.fu-berlin.de> <4F8C2E2B.20408@gmail.com> <20120416145543.GB2358@deviant.kiev.zoral.com.ua> <4F8C45A4.2050407@gwdg.de> <20120416173150.GH2358@deviant.kiev.zoral.com.ua> <4F8C5DE1.60200@gwdg.de> <DAD9AC5F-07A4-432B-AD80-0273D864A7C6@freebsd.org> <4F8D2EB4.7060003@gwdg.de>
next in thread | previous in thread | raw e-mail | index | archive | help
This is an OpenPGP/MIME signed message (RFC 2440 and 3156) --------------enig9BB97693B699D102A363DCCB Content-Type: text/plain; charset=ISO-8859-2 Content-Transfer-Encoding: quoted-printable On 04/17/12 10:49, Rainer Hurling wrote: > Am 17.04.2012 03:53 (UTC+1) schrieb Edward Tomasz Napiera=B3a: >> Wiadomo=B6=E6 napisana przez Rainer Hurling w dniu 16 kwi 2012, o godz= =2E >> 19:58: >>> On 16.04.2012 19:31 (UTC+1), Konstantin Belousov wrote: >>>> On Mon, Apr 16, 2012 at 06:15:32PM +0200, Rainer Hurling wrote: >>>>> >>>>> I just updated my system to r234342, only downgraded >>>>> /usr/src/sys/cam/scsi/scsi_da.c to r233746, and now the system is >>>>> booting again. So obviously there is something wrong with the newes= t >>>>> patch to scsi_da.c. >>>> It is too broad, try to revert exactly one patch and see whether it >>>> works. >>> >>> Sorry for my bad english. I wanted to say, that I only reverted >>> exactly one patch (file scsi_da.c from 234177 back to 233746 >>> manually). The rest is up to r234342. >> >> Could you try the patch below? >> >> Index: sys/cam/scsi/scsi_da.c >> =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D >> --- sys/cam/scsi/scsi_da.c (revision 234314) >> +++ sys/cam/scsi/scsi_da.c (working copy) >> @@ -938,7 +938,9 @@ daopen(struct disk *dp) >> if (error !=3D 0) >> xpt_print(periph->path, "unable to retrieve capacity data");= >> >> - if (periph->flags& CAM_PERIPH_INVALID) >> + if (periph->flags& CAM_PERIPH_INVALID || >> + softc->disk->d_sectorsize =3D=3D 0 || >> + softc->disk->d_mediasize =3D=3D 0) >> error =3D ENXIO; >> >> if (error =3D=3D 0&& (softc->flags& DA_FLAG_PACK_REMOVABLE) !=3D= 0&& >> >> >=20 > Thanks for the patch. I just tried it with 10.0-CURRENT (amd64) r234370= > and it at least boots again. I tried this patch (thnak you). With patch, the problem with the attached Dell HUB vanishes, the box does not dumps core. But I didn't test without after I made world this morning, so my statement is a little bit vague .. Regards, Oliver --------------enig9BB97693B699D102A363DCCB Content-Type: application/pgp-signature; name="signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.19 (FreeBSD) iQEcBAEBAgAGBQJPjTKDAAoJEOgBcD7A/5N8txEIANqLIObH82oaAVV0PLIgGGtK 26dyX7xHG04AK5ntQmnijJnsgvf47AFmadBE14hZ9mR92kWMnhgu3F3IKT0Vsx98 uyyoUn6fn8ghGb8mnFQ5S2dAu54hGxAFNpjv0ZvKox7//gmVpgf2gduoFfjY50lB 9ERcUvYxVaxacmxthUxF/ZK+Xxw+v/YpiDixXYb1IKZ6AUhiUBKeZ31r3eEbIWQw w+4+dJDqla4ryDY+GktSh/+X+UWjCuw6gftG+xkZxuAB+tHpB5GsSgF35EANXjZm J2B7krsgxwCFsOnrRaKVr8gz8CjDP/pLaVdP40/bfVHgct40vuVkaKOTZLCDf7g= =gIEL -----END PGP SIGNATURE----- --------------enig9BB97693B699D102A363DCCB--
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?4F8D327D.2090409>