| From | Sent On | Attachments |
|---|---|---|
| Conrad J. Sabatier | Apr 15, 2012 3:30 am | |
| O. Hartmann | Apr 16, 2012 1:57 am | |
| matt | Apr 16, 2012 7:35 am | |
| Konstantin Belousov | Apr 16, 2012 7:55 am | |
| Rainer Hurling | Apr 16, 2012 9:15 am | |
| Konstantin Belousov | Apr 16, 2012 10:31 am | |
| Rainer Hurling | Apr 16, 2012 10:58 am | |
| Konstantin Belousov | Apr 16, 2012 11:56 am | |
| Conrad J. Sabatier | Apr 16, 2012 2:49 pm | |
| Edward Tomasz Napierała | Apr 16, 2012 6:53 pm | |
| Ivan Klymenko | Apr 17, 2012 1:35 am | |
| Rainer Hurling | Apr 17, 2012 1:49 am | |
| O. Hartmann | Apr 17, 2012 2:05 am | |
| matt | Apr 18, 2012 10:18 am |
| Subject: | Re: Kernel builds, but crashes at boot (amd64, Revision: 234306) | |
|---|---|---|
| From: | matt (send...@gmail.com) | |
| Date: | Apr 18, 2012 10:18:32 am | |
| List: | org.freebsd.freebsd-current | |
On 04/16/12 14:49, Conrad J. Sabatier wrote:
On Tue, Apr 17, 2012 at 03:53:27AM +0200, Edward Tomasz Napieraa wrote:
Wiadomo�� napisana przez Rainer Hurling w dniu 16 kwi 2012, o godz. 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 newest 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 =================================================================== --- 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 != 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 == 0 || + softc->disk->d_mediasize == 0) error = ENXIO;
if (error == 0&& (softc->flags& DA_FLAG_PACK_REMOVABLE) != 0&&
This patch fixed the problem for me. Thank you!
It's fixed here too where problem device was a front-panel with a USBest UT330 chip...stupid thing presents *every* card slot as a LUN whether used or not, da0-da4. Thanks Matt
_______________________________________________ free...@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-current To unsubscribe, send any mail to "free...@freebsd.org"





