Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 6 Apr 2009 23:04:35 +0200 (CEST)
From:      "Walter C. Pelissero" <walter.pelissero@iesy.net>
To:        FreeBSD-gnats-submit@FreeBSD.org
Subject:   ports/133441: epson2 sane-backend wants to read more than DFLTPHYS
Message-ID:  <200904062104.n36L4Z6Y079582@zaphod.home.loc>
Resent-Message-ID: <200904062120.n36LK2Mb091537@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>Number:         133441
>Category:       ports
>Synopsis:       epson2 sane-backend wants to read more than DFLTPHYS
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Mon Apr 06 21:20:02 UTC 2009
>Closed-Date:
>Last-Modified:
>Originator:     Walter C. Pelissero
>Release:        FreeBSD 7.1-STABLE i386
>Organization:
>Environment:
System: FreeBSD zaphod.home.loc 7.1-STABLE FreeBSD 7.1-STABLE #12: Mon Feb 2 16:08:20 CET 2009 root@zaphod.home.loc:/usr/home/obj/usr/src/sys/TYAN-TIGER-MP i386


	
>Description:
	When scanning on a Firewire scanner using SANE's epson2
	backend the following error is reported:

	scanimage: sane_read: Error during device I/O

	and the syslog output:

	cam_periph_mapmem: attempt to map 1048321 bytes, which is greater than DFLTPHYS(65536)

	It looks like a similar problem has been already reported long
	ago and a patch was thus applied to the SANE sources.

	The epson (without "2") driver doesn't trigger this error.

>How-To-Repeat:
	Assuming the scanner is on /dev/pass0 (and supports 4800 dpi),
	this command should report an error:
	
	scanimage --resolution 4800 --mode Color -x 60 -y 45 -d epson2:/dev/pass0 > /dev/null

	Whereas this command should work:

	scanimage --resolution 4800 --mode Color -x 60 -y 45 -d epson:/dev/pass0 > /dev/null

>Fix:

>Release-Note:
>Audit-Trail:
>Unformatted:



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