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

Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
From: Joerg Schilling
Date: Monday, November 8, 2010 - 9:18 am

Marius Strobl <marius@alchemy.franken.de> 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 present in case that a "new" libscg is runnung 
on an old kernel.

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?


This is what we need!


I see no advantage in removing the call to fillbytes().



Did you test a modified libscg on an unmodified kernel?

Jörg

-- 
 EMail:joerg@schily.isdn.cs.tu-berlin.de (home) Jörg Schilling D-13353 Berlin
       js@cs.tu-berlin.de                (uni)  
       joerg.schilling@fokus.fraunhofer.de (work) Blog: http://schily.blogspot.com/
 URL:  http://cdrecord.berlios.de/private/ ftp://ftp.berlios.de/pub/schily
_______________________________________________
freebsd-current@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-current
To unsubscribe, send any mail to "freebsd-current-unsubscribe@freebsd.org"
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
Sense fetching [Was: cdrtools /devel ...], Alexander Motin, (Fri Nov 5, 11:50 am)
Re: Sense fetching [Was: cdrtools /devel ...], Marius Strobl, (Fri Nov 5, 12:20 pm)
Re: Sense fetching [Was: cdrtools /devel ...], Joerg Schilling, (Mon Nov 8, 9:18 am)
Re: Sense fetching [Was: cdrtools /devel ...], Alexander Motin, (Mon Nov 8, 10:06 am)
Re: Sense fetching [Was: cdrtools /devel ...], Joerg Schilling, (Mon Nov 8, 10:23 am)
Re: Sense fetching [Was: cdrtools /devel ...], Alexander Motin, (Mon Nov 8, 10:36 am)
Re: Sense fetching [Was: cdrtools /devel ...], Joerg Schilling, (Thu Nov 11, 3:05 am)
Re: Sense fetching [Was: cdrtools /devel ...], Alexander Motin, (Thu Nov 11, 3:28 am)
Re: Sense fetching [Was: cdrtools /devel ...], Joerg Schilling, (Thu Nov 11, 3:33 am)
Re: Sense fetching [Was: cdrtools /devel ...], Alexander Motin, (Thu Nov 11, 6:07 am)
Re: Sense fetching [Was: cdrtools /devel ...], Joerg Schilling, (Thu Nov 11, 6:17 am)
Re: Sense fetching [Was: cdrtools /devel ...], Alexander Motin, (Thu Nov 11, 6:28 am)
Re: Sense fetching [Was: cdrtools /devel ...], Joerg Schilling, (Thu Nov 11, 6:45 am)
Re: Sense fetching [Was: cdrtools /devel ...], Brandon Gooch, (Fri Nov 12, 6:44 pm)
Re: Sense fetching [Was: cdrtools /devel ...], Jakub Lach, (Sat Nov 13, 1:00 am)
Re: Sense fetching [Was: cdrtools /devel ...], Alexander Motin, (Sat Nov 13, 2:34 am)
Re: Sense fetching [Was: cdrtools /devel ...], Jakub Lach, (Sat Nov 13, 6:26 am)
Re: Sense fetching [Was: cdrtools /devel ...], Brandon Gooch, (Sat Nov 13, 11:19 am)
Re: Sense fetching [Was: cdrtools /devel ...], Alexander Motin, (Sun Nov 14, 8:32 am)
Re: Sense fetching [Was: cdrtools /devel ...], Brandon Gooch, (Fri Dec 24, 10:47 am)
Re: Sense fetching [Was: cdrtools /devel ...], Alexander Motin, (Fri Dec 24, 2:10 pm)