netbsd-bugs@netbsd.org
[Top] [All Lists]

Re: kern/34202

Subject: Re: kern/34202
From:
Date: Wed, 29 Nov 2006 21:50:03 +0000 UTC
The following reply was made to PR kern/34202; it has been noted by GNATS.

From: khym@xxxxxxxxxxxxx
To: matthew green <mrg@xxxxxxxxxxxxx>
Cc: gnats-bugs@xxxxxxxxxx, kern-bug-people@xxxxxxxxxx,
        gnats-admin@xxxxxxxxxx, netbsd-bugs@xxxxxxxxxx
Subject: Re: kern/34202
Date: Wed, 29 Nov 2006 15:46:01 -0600

 On Thu, Nov 30, 2006 at 08:03:55AM +1100, matthew green wrote:
 > 
 > isn't this fixed by cd.c 1.249?
 
 Not for me... the diff between 1.248 and 1.249 is:
 
        error = scsipi_command(periph,
            (void *) &di_cmd,  sizeof(di_cmd),
 -          (void *) &di,      sizeof(di),
 +          (void *) &di,      READ_DISCINFO_BIGSIZE,
            CDRETRIES, 30000, NULL, flags);
        if (error == 0) {
                msb = di.last_track_last_session_msb;
 
 and the checkin comment says, "Even though SCSI adapters
 *should* accept odd lengths, the Sun U10 (sparc64's) crashes in
 bus_space_read_multi_stream_2(). That explains the crash."
 
 So this has to do with an odd length being passed in, not the alignment
 of the structure. On my alpha, the READ_DISCINFO succeeds; it's the
 following READ_TRACKINFO that crashes.
 

<Prev in Thread] Current Thread [Next in Thread>