>From [EMAIL PROTECTED] Thu Aug 10 05:35:56 2000
>> 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.
Yesterday, I got a report from the original person who reported
the bug that it now works.
>> >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.
So I would call this a problem cause by a design flaw.
BTW: Solaris uses a design that has DMA set up in a separate
HW abstraction layer. You see it is possible to have a better
design where the target driver only needs to work on target
related tasks.
J�rg
EMail:[EMAIL PROTECTED] (home) J�rg Schilling D-13353 Berlin
[EMAIL PROTECTED] (uni) If you don't have iso-8859-1
[EMAIL PROTECTED] (work) chars I am J"org Schilling
URL: http://www.fokus.gmd.de/usr/schilling ftp://ftp.fokus.gmd.de/pub/unix
--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]