Date: Fri, 14 May 1999 21:36:36 -0600 (MDT) From: Brad Huntting <huntting@hunkular.glarp.com> To: FreeBSD-gnats-submit@freebsd.org Subject: kern/11719: scsi scanning causes "cam_periph_mapmem" kernel message Message-ID: <199905150336.VAA11460@hunkular.glarp.com>
next in thread | raw e-mail | index | archive | help
>Number: 11719 >Category: kern >Synopsis: scsi scanning causes "cam_periph_mapmem" kernel message >Confidential: no >Severity: serious >Priority: medium >Responsible: freebsd-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Fri May 14 20:40:01 PDT 1999 >Closed-Date: >Last-Modified: >Originator: Brad Huntting >Release: FreeBSD 3.1-RELEASE i386 >Organization: marginal >Environment: I have a UMAX Vista-S6E SCSI scanner connected to a single processor 686 system with on board Adaptech SCSI which attaches itself to /dev/pass4. I'm using "scanimage" and "xscanimage" from the graphics/sane ports collection to try to scan a simple image. >Description: When I use scanimage or xscanimage (part of the "sane" port), the software is able to scan small images (low res/preview/line art) ok, but at a 100dpi it fails and quietly outputs a truncated image file. In the process it causes the kernel to spit out the error: cam_periph_mapmem: attempt to map 130050 bytes, which is greater than DFLTPHYS Ktrace shows that the following ioctl() caused the message: 10955 scanimage CALL open(0xefbf552c,0x2,0x2809c294) 10955 scanimage NAMI "/dev/pass4" 10955 scanimage RET open 4 ... (fork) ... 10956 scanimage CALL madvise(0x8076000,0x1000,0x5) 10956 scanimage RET madvise 0 10956 scanimage CALL ioctl(0x4,CAMIOCOMMAND,0x8076000) 10956 scanimage RET ioctl -1 errno 7 Argument list too long I recompiled sane with -g, and got as far as learning that the error occurs during the first call to the libsane.so function sane_read(). Unfortunately that's as far as I've gotten. >How-To-Repeat: Well, if the error occurs with all SCSI scanners using /dev/pass* then this is pretty easy to duplicate: Just install "sane", and try to scan any full page image at 100dpi resolution. >Fix: Nothing yet. >Release-Note: >Audit-Trail: >Unformatted: To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-bugs" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199905150336.VAA11460>