Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 24 May 2007 10:09:38 -1000
From:      Robert Marella <rmarella@gmail.com>
To:        JoaoBR <joao@matik.com.br>
Cc:        freebsd-stable@freebsd.org
Subject:   Re: atapicam cd error
Message-ID:  <20070524100938.04523259@p4>
In-Reply-To: <200705241641.01894.joao@matik.com.br>
References:  <200705231244.21154.joao@matik.com.br> <200705241548.04988.joao@matik.com.br> <20070524091002.125487c0@p4> <200705241641.01894.joao@matik.com.br>

next in thread | previous in thread | raw e-mail | index | archive | help
--MP_2xhkw9d8IeG+6yR0/0r5ylz
Content-Type: text/plain; charset=US-ASCII
Content-Transfer-Encoding: 7bit
Content-Disposition: inline

On Thu, 24 May 2007 16:41:01 -0300
JoaoBR <joao@matik.com.br> wrote:

> 
> 
> On Thursday 24 May 2007 16:10:02 Robert Marella wrote:
> > On Thu, 24 May 2007 15:48:04 -0300
> > >
> > > Hi
> > > so you are suggesting a rollback? I compiled on may 21st and 23rd
> > > and as Joe Altman confirmed too it's not working anymore on
> > > amd64 ... on i386 it's ok, may be this is a good moment then to
> > > change my backup strategy and use usb mem chips and kick atapicam
> > > out of the kernel
> >
> > Well, now I'm scared! I usually update via build kernel/world on
> > Fridays but I missed a week or two. I was planing on doing it
> > tomorrow.
> >
> > I don't think I'll have a need for K3B so for test purposes I will
> > do it today and report back in an hour or so.
> >
> > Wish me luck.
> >
> 
> my dear ... no luck in site at this moment, don't wast your time,
> patience is what you need now and a tail -f on cvs-src ;)
> 
> 
> 
Please forgive an old man's failing memory. I have two systems running
6 stable. One is i386 and the other amd64. Back in April a patch was
made available for the K3B problem. It fixed both of the systems.

I updated the i386 on May 4th and the patch was no longer needed but I
never updated the amd64 so it is running K3B with the patch. I am in
the process of updating the amd64 and will test it without and with the
patch. 

I have attached the patch in case you never saw it.

Robert
--MP_2xhkw9d8IeG+6yR0/0r5ylz
Content-Type: text/x-patch; name=atampicam.diff
Content-Transfer-Encoding: 7bit
Content-Disposition: attachment; filename=atampicam.diff

RCS file: /space/mirror/ncvs/src/sys/dev/ata/atapi-cam.c,v
retrieving revision 1.50
diff -u -r1.50 atapi-cam.c
--- atapi-cam.c	14 Mar 2007 01:59:00 -0000	1.50
+++ atapi-cam.c	27 Apr 2007 19:26:09 -0000
@@ -729,7 +743,7 @@
 		 * issued a REQUEST SENSE automatically and that operation
 		 * returned without error.
 		 */
-		if (request->u.atapi.saved_cmd != 0 && request->error == 0) {
+		if (request->u.atapi.sense.key != 0 && request->error == 0) {
 		    bcopy (&request->u.atapi.sense, &csio->sense_data, sizeof(struct atapi_sense));
 		    csio->ccb_h.status |= CAM_AUTOSNS_VALID;
 		}

--MP_2xhkw9d8IeG+6yR0/0r5ylz--



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20070524100938.04523259>