From owner-freebsd-current Sun Jan 3 16:56:09 1999 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id QAA02628 for freebsd-current-outgoing; Sun, 3 Jan 1999 16:56:09 -0800 (PST) (envelope-from owner-freebsd-current@FreeBSD.ORG) Received: from pinhead.parag.codegen.com (ppp-sfx201--082.sirius.net [205.134.235.82]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id QAA02620 for ; Sun, 3 Jan 1999 16:56:06 -0800 (PST) (envelope-from parag@cgt.com) Received: from pinhead.parag.codegen.com (localhost.parag.codegen.com [127.0.0.1]) by pinhead.parag.codegen.com (8.9.1/8.8.8) with ESMTP id QAA21093 for ; Sun, 3 Jan 1999 16:55:12 -0800 (PST) (envelope-from parag@pinhead.parag.codegen.com) Message-Id: <199901040055.QAA21093@pinhead.parag.codegen.com> To: freebsd-current@FreeBSD.ORG Subject: 3.0-CURRENT CAM vs scanner problems X-Face: =O'Kj74icvU|oS*<7gS/8'\Pbpm}okVj*@UC!IgkmZQAO!W[|iBiMs*|)n*`X ]pW%m>Oz_mK^Gdazsr.Z0/JsFS1uF8gBVIoChGwOy{EK=<6g?aHE`[\S]C]T0Wm X-URL: http://www.codegen.com Date: Sun, 03 Jan 1999 16:55:12 -0800 From: Parag Patel Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG I am getting errors like these from the CAM subsystem when I try to scan a rather small image using GIMP and the SANE 1.0 port and my UMAX: cam_periph_mapmem: attempt to map 130851 bytes, which is greater than DFLTPHYS(65536) cam_periph_mapmem: attempt to map 130820 bytes, which is greater than DFLTPHYS(65536) cam_periph_mapmem: attempt to map 131016 bytes, which is greater than DFLTPHYS(65536) cam_periph_mapmem: attempt to map 129444 bytes, which is greater than DFLTPHYS(65536) 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. Thanks in advance. -- Parag Patel To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message