Date: Thu, 18 Feb 1999 12:26:54 +0100 (CET) From: paterno@dsi.unifi.it To: FreeBSD-gnats-submit@freebsd.org Subject: ports/10147: SANE 1.00 patch for 4.0-CURRENT CAM Message-ID: <199902181126.MAA22695@pegasus.home.net>
next in thread | raw e-mail | index | archive | help
>Number: 10147 >Category: ports >Synopsis: SANE 1.00 overrides CAM's DFLTPHYS in cam_periph_mapmem() >Confidential: no >Severity: non-critical >Priority: medium >Responsible: freebsd-ports >State: open >Quarter: >Keywords: >Date-Required: >Class: change-request >Submitter-Id: current-users >Arrival-Date: Thu Feb 18 03:40:00 PST 1999 >Closed-Date: >Last-Modified: >Originator: Ugo Paternostro >Release: FreeBSD 4.0-CURRENT i386 >Organization: Not an organization >Environment: FreeBSD pegasus.home.net 4.0-CURRENT FreeBSD 4.0-CURRENT #0: Tue Feb 16 17:10:47 CET 1999 ugo@pegasus.home.net:/usr/src/sys/compile/PEGASUS i386 >Description: Scanning big colored images with SANE 1.00, kernel complains about cam_periph_mapmem: attempt to map 68712 bytes, which is greater than DFLTPHYS(65536) >How-To-Repeat: Simply scan a colored image bigger than 7x5 cm, or take a colored preview. >Fix: Obtained from: Parag Patel <parag@cgt.com> on sane-devel mailing list. Add the following patch to graphics/sane/patches: --- sanei/sanei_scsi.c.orig Thu Oct 29 07:38:12 1998 +++ sanei/sanei_scsi.c Thu Feb 4 13:34:57 1999 @@ -186,7 +186,7 @@ #endif #if USE == FREEBSD_CAM_INTERFACE -# define MAX_DATA MAXPHYS +# define MAX_DATA (DFLTPHYS - PAGE_SIZE) #endif #ifndef MAX_DATA >Release-Note: >Audit-Trail: >Unformatted: To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-ports" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199902181126.MAA22695>