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"