From owner-freebsd-current Sun Jan 3 17:10:27 1999 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id RAA04055 for freebsd-current-outgoing; Sun, 3 Jan 1999 17:10:27 -0800 (PST) (envelope-from owner-freebsd-current@FreeBSD.ORG) Received: from cain.gsoft.com.au (genesi.lnk.telstra.net [139.130.136.161]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id RAA04030 for ; Sun, 3 Jan 1999 17:10:24 -0800 (PST) (envelope-from doconnor@gsoft.com.au) Received: from lot.gsoft.com.au (doconnor@lot.gsoft.com.au [203.38.152.106]) by cain.gsoft.com.au (8.8.8/8.8.8) with ESMTP id LAA23731; Mon, 4 Jan 1999 11:39:25 +1030 (CST) (envelope-from doconnor@gsoft.com.au) Message-ID: X-Mailer: XFMail 1.3 [p0] on FreeBSD X-Priority: 3 (Normal) Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 8bit MIME-Version: 1.0 In-Reply-To: <199901040055.QAA21093@pinhead.parag.codegen.com> Date: Mon, 04 Jan 1999 11:49:36 +1030 (CST) From: "Daniel O'Connor" To: Parag Patel Subject: RE: 3.0-CURRENT CAM vs scanner problems Cc: freebsd-current@FreeBSD.ORG Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG On 04-Jan-99 Parag Patel wrote: > cam_periph_mapmem: attempt to map 131029 bytes, which is greater than DFLTPHYS(65536) > > The scan does not succeed in either lineart, gray, or color modes, > although the preview does. > > The comment in cam/cam_periph.c implies that the DFLTPHYS should be > MAXPHYS but perhaps the comment is wrong? Or perhaps SANE should be > using DFLTPHYS instead of MAXPHYS? > > For now, I added a patch to the sane-1.0 sanei/sanei_scsi.c file to use > DFLTPHYS instead of MAXPHYS, and it is scanning nicely. Still, I don't > know if it's a SANE bug or a CAM bug and so don't who to report it to. There is a problem with CAM if you try to share data >64k in size (ie cdrecord ring buffer, and cdda2wav ring buffer) so it has been limited to prevent crashes.. --- Daniel O'Connor software and network engineer for Genesis Software - http://www.gsoft.com.au "The nice thing about standards is that there are so many of them to choose from." -- Andrew Tanenbaum To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message