Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 26 Feb 1999 12:04:33 +0100
From:      Bjoern Fischer <bfischer@Techfak.Uni-Bielefeld.DE>
To:        "Kenneth D. Merry" <ken@plutotech.com>
Cc:        freebsd-scsi@freebsd.org
Subject:   oddities in CAM/cdrecord/DFLTPHYS
Message-ID:  <19990226120433.A285@broccoli.no-support.loc>

next in thread | raw e-mail | index | archive | help
Hello Kenneth,

you sent a patch to Joern Schilling changing scsi_maxdma() to return
(DFLTPHYS - PAGESIZE) instead of (DFLTPHYS). Although cdrecord only
works for me with (DFLTPHYS - PAGESIZE), there are some oddities in
either cdrecord's libscg/scsi-bsd.c or in cam/cam_periph.c. cdrecord
uses buffers which are already page aligned, so I don't see the
necessitiy of (DFLTPHYS - PAGESIZE). But looking at the buffer pointer
in cam/cam_periph.c:543 one sees that it has lost it's page alignment.
After the correction the buffer is too large. Is it possible that
the buffer pointer looses it's alignment in kernel space (e.g. by
adding a header or s.t.)?

  Thanks

  Bjoern

-- 
-----BEGIN GEEK CODE BLOCK-----
GCS d--(+) s++: a- C+++(-) UBL++++OSI++++$ P+++(-) L+++(-) !E W- N+ o>+
K- !w !O !M !V  PS++  PE-  PGP++  t+++  !5 X++ tv- b+++ D++ G e+ h-- y+ 
------END GEEK CODE BLOCK------


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-scsi" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?19990226120433.A285>