Re: Sense fetching [Was: cdrtools /devel ...]

2011-04-13 Thread Buganini
does r22056{3,5,6,9} supercede these patches ? my dvd burning with ahci seems to be fixed by those commits, without these patches. I've just burned a DVD successful, and it's readable. Thanks, Buganini ___ freebsd-current@freebsd.org mailing list

Re: Sense fetching [Was: cdrtools /devel ...]

2011-04-13 Thread Alexander Motin
Buganini wrote: does r22056{3,5,6,9} supercede these patches ? Yes. They solve problem from different side. my dvd burning with ahci seems to be fixed by those commits, without these patches. I've just burned a DVD successful, and it's readable. Yea, I've also burned few DVDs with

Re: Sense fetching [Was: cdrtools /devel ...]

2011-03-30 Thread Lawrence Stewart
On 11/13/10 20:34, Alexander Motin wrote: Brandon Gooch wrote: 2010/11/5 Alexander Motin m...@freebsd.org: Hi. I've reviewed tests that scgcheck does to SCSI subsystem. It shown combination of several issues in both CAM, ahci(4) and cdrtools itself. Several small patches allow us to pass

Re: Sense fetching [Was: cdrtools /devel ...]

2011-03-08 Thread Brandon Gooch
On Tue, Mar 8, 2011 at 8:29 AM, Jakub Lach jakub_l...@mailplus.pl wrote: Hello. Just ensuring that this issue would not be forgotten, If I recall correctly, without added patches one cannot burn CD with cdrtools, quite a problem for media burning suite ;) best regards, - Jakub Lach mav@

Re: Sense fetching [Was: cdrtools /devel ...]

2010-12-24 Thread Brandon Gooch
On Sun, Nov 14, 2010 at 9:32 AM, Alexander Motin m...@freebsd.org wrote: Brandon Gooch wrote: On Sat, Nov 13, 2010 at 3:34 AM, Alexander Motin m...@freebsd.org wrote: Now uncommitted pass_autosence.patch and possibly cdrtools.patch. OK. Patched kernel and cdrtools has resulted in a working

Re: Sense fetching [Was: cdrtools /devel ...]

2010-12-24 Thread Alexander Motin
Brandon Gooch wrote: On Sun, Nov 14, 2010 at 9:32 AM, Alexander Motin m...@freebsd.org wrote: Brandon Gooch wrote: On Sat, Nov 13, 2010 at 3:34 AM, Alexander Motin m...@freebsd.org wrote: Now uncommitted pass_autosence.patch and possibly cdrtools.patch. OK. Patched kernel and cdrtools has

Re: Sense fetching [Was: cdrtools /devel ...]

2010-11-14 Thread Alexander Motin
Brandon Gooch wrote: On Sat, Nov 13, 2010 at 3:34 AM, Alexander Motin m...@freebsd.org wrote: Now uncommitted pass_autosence.patch and possibly cdrtools.patch. OK. Patched kernel and cdrtools has resulted in a working cdrecord (burned an ISO successfully) and an endless stream of: ...

Re: Sense fetching [Was: cdrtools /devel ...]

2010-11-13 Thread Jakub Lach
/Sense-fetching--Was%3A-cdrtools--devel-...--tp30144086p30205790.html Sent from the freebsd-current mailing list archive at Nabble.com. ___ freebsd-current@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-current To unsubscribe

Re: Sense fetching [Was: cdrtools /devel ...]

2010-11-13 Thread Alexander Motin
Brandon Gooch wrote: 2010/11/5 Alexander Motin m...@freebsd.org: Hi. I've reviewed tests that scgcheck does to SCSI subsystem. It shown combination of several issues in both CAM, ahci(4) and cdrtools itself. Several small patches allow us to pass most of that tests:

Re: Sense fetching [Was: cdrtools /devel ...]

2010-11-13 Thread Jakub Lach
this message in context: http://old.nabble.com/Sense-fetching--Was%3A-cdrtools--devel-...--tp30144086p30206153.html Sent from the freebsd-current mailing list archive at Nabble.com. ___ freebsd-current@freebsd.org mailing list http://lists.freebsd.org

Re: Sense fetching [Was: cdrtools /devel ...]

2010-11-13 Thread Brandon Gooch
On Sat, Nov 13, 2010 at 3:34 AM, Alexander Motin m...@freebsd.org wrote: Brandon Gooch wrote: 2010/11/5 Alexander Motin m...@freebsd.org: Hi. I've reviewed tests that scgcheck does to SCSI subsystem. It shown combination of several issues in both CAM, ahci(4) and cdrtools itself. Several

Re: Sense fetching [Was: cdrtools /devel ...]

2010-11-12 Thread Brandon Gooch
2010/11/5 Alexander Motin m...@freebsd.org: Hi. I've reviewed tests that scgcheck does to SCSI subsystem. It shown combination of several issues in both CAM, ahci(4) and cdrtools itself. Several small patches allow us to pass most of that tests: http://people.freebsd.org/~mav/sense/

Re: Sense fetching [Was: cdrtools /devel ...]

2010-11-11 Thread Alexander Motin
Joerg Schilling wrote: Alexander Motin m...@freebsd.org wrote: Given the fact that many drives will probably only return 18 bytes of sense data, this will happen every time libscg is told to fetch more sense than the drive is willing to return. Is there a way to distinct an old kernel

Re: Sense fetching [Was: cdrtools /devel ...]

2010-11-11 Thread Joerg Schilling
Alexander Motin m...@freebsd.org wrote: Given the fact that many drives will probably only return 18 bytes of sense data, this will happen every time libscg is told to fetch more sense than the drive is willing to return. Is there a way to distinct an old kernel from a new one?

Re: Sense fetching [Was: cdrtools /devel ...]

2010-11-11 Thread Joerg Schilling
Alexander Motin m...@freebsd.org wrote: The question still remains whether the previous implementation did return resid 0 in some cases. In this case, I would need to implement both variants in the libscg adaption layer and I would need to know whether I am running on an old

Re: Sense fetching [Was: cdrtools /devel ...]

2010-11-11 Thread Alexander Motin
Joerg Schilling wrote: Alexander Motin m...@freebsd.org wrote: The question still remains whether the previous implementation did return resid 0 in some cases. In this case, I would need to implement both variants in the libscg adaption layer and I would need to know whether I am

Re: Sense fetching [Was: cdrtools /devel ...]

2010-11-11 Thread Alexander Motin
Joerg Schilling wrote: Alexander Motin m...@freebsd.org wrote: Compare the number of sense bytes I like to request (18) with the number previous FreeBSD versions did actually request. It is obvious that in case there is a resid reported onm an old kernel, libscg (with your chanhge) would

Re: Sense fetching [Was: cdrtools /devel ...]

2010-11-11 Thread Joerg Schilling
Alexander Motin m...@freebsd.org wrote: Compare the number of sense bytes I like to request (18) with the number previous FreeBSD versions did actually request. It is obvious that in case there is a resid reported onm an old kernel, libscg (with your chanhge) would believe that

Re: Sense fetching [Was: cdrtools /devel ...]

2010-11-11 Thread Joerg Schilling
Alexander Motin m...@freebsd.org wrote: What is the requested size with the various HBAs in earlier kernels? For HBAs with automatic sense fetching -- as passed in sence_len request field. In case of libscg it was SSD_FULL_SIZE before and I've set it to be real value now. Returned

Re: Sense fetching [Was: cdrtools /devel ...]

2010-11-08 Thread Joerg Schilling
Marius Strobl mar...@alchemy.franken.de wrote: On Fri, Nov 05, 2010 at 08:50:49PM +0200, Alexander Motin wrote: Hi. I've reviewed tests that scgcheck does to SCSI subsystem. It shown combination of several issues in both CAM, ahci(4) and cdrtools itself. Several small patches allow us

Re: Sense fetching [Was: cdrtools /devel ...]

2010-11-08 Thread Alexander Motin
Joerg Schilling wrote: Marius Strobl mar...@alchemy.franken.de wrote: On Fri, Nov 05, 2010 at 08:50:49PM +0200, Alexander Motin wrote: I've reviewed tests that scgcheck does to SCSI subsystem. It shown combination of several issues in both CAM, ahci(4) and cdrtools itself. Several small

Re: Sense fetching [Was: cdrtools /devel ...]

2010-11-08 Thread Joerg Schilling
Alexander Motin m...@freebsd.org wrote: Your patch to libscg looks definitely OK if we only look at the new corrected kernel driver behavior. There is a problem: In case that there is a sense data residual 0, libscg will asume that there is less sense data that really

Re: Sense fetching [Was: cdrtools /devel ...]

2010-11-08 Thread Alexander Motin
Joerg Schilling wrote: Alexander Motin m...@freebsd.org wrote: Your patch to libscg looks definitely OK if we only look at the new corrected kernel driver behavior. There is a problem: In case that there is a sense data residual 0, libscg will asume that there is less sense data that

Sense fetching [Was: cdrtools /devel ...]

2010-11-05 Thread Alexander Motin
Hi. I've reviewed tests that scgcheck does to SCSI subsystem. It shown combination of several issues in both CAM, ahci(4) and cdrtools itself. Several small patches allow us to pass most of that tests: http://people.freebsd.org/~mav/sense/ ahci_resid.patch: Add support for reporting residual

Re: Sense fetching [Was: cdrtools /devel ...]

2010-11-05 Thread Marius Strobl
On Fri, Nov 05, 2010 at 08:50:49PM +0200, Alexander Motin wrote: Hi. I've reviewed tests that scgcheck does to SCSI subsystem. It shown combination of several issues in both CAM, ahci(4) and cdrtools itself. Several small patches allow us to pass most of that tests: