[EMAIL PROTECTED] wrote:
>
> >From [EMAIL PROTECTED] Tue Aug 8 05:20:47 2000
>
> [snip]
>
> This is the report:
>
> i need help with cdrecord
> i use version cdrecord1.9a01 and it works perfect
> now i installed version 1.9 final and it crashes my system :(
> i'm using scsi controller AHA1540 and Plextor PX-W124TS
> when i type 'cdrecord -scanbus' i get this message:
>
> BAD SEGMENT LIST SUPLIED TO AHA1542.C (1, 0)
> 0:c0660000 1 0
> CPTR c0cf0000:08 00 00 00 08 00 2a 14 07 07 73 6f 29 23 16 0d 01 00<0>KERNEL
> PANIC
>
> My system: RedHat 6.2, Kernel 2.2.14
> drivers for AHA are compiled like modules
Reported, found and fixed: sg faq [2.3] .
Perhaps you could inform the person who reported the problem.
> >
> >> It seems that newer cdrtools versions that try to use this new
> >> feature will cause a system panic.
>
> >Using scatter gather is a new and painful experience for
> >some adapters drivers. See the faq on sg's web site:
> >http://www.torque.net/sg
> >for some known combinations that cause problems (and
> >what can/has been done). Most failures I have seen result
> >in an oops (i.e. system panic).
>
> Note that the concept of the driver system should be changed in a way
> that no leaf (target) driver need to know about scatter gather.
> THis would make things a lot easier. The code should be inside the
> host adapter driver for the specific HW.
The "leaf (target) driver"s [or linux upper level SCSI drivers]
are responsible for kernel resource allocation (in this case
memory for the scatter gather list). They also have to put data
into, and get data from scatter gather lists. Hard to imagine
how they couldn't know about them.
IMO the problem in this case is with the aha1542 driver, but
it was easier (for me) to change sg to give it what it wanted.
> >> If other people notice similar problems, I will need to disable this
> >> feature until the driver is stable enough for production use.
>
> >How is the feature disabled?
>
> As I already wrot in this list: I man change libscg so that is does not
> use more than 32 KB until it is clear when it works....
>
> >> PLease tell me whether you could use cdrecord-1.9 & 1.10alpha
> >> with ISA SCSI adapters. NOte that only cdda2wav & readcd will
> >> try to transfer more than 63 KB which seems to be the hard limit
> >> for ISA Hardware.
>
> >By choosing 32 KB as the maximum element size in a scatter
> >gather list the problems that some ISA adapters have with
> >the 64 KB limit on a _single_ transfer should be avoided.
> >This assumes that the adapters safely handle scatter gather
> >(when their configuration indicates they support it).
>
> So if this was implemented without bug, it should be possible
> to get more then 63k in a ISA device?
Yes, SANE 1.0.2 is doing it.
> [snip]
Doug Gilbert
--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]