Bug 110110
Summary: | scanimage stopped working | ||
---|---|---|---|
Product: | [Retired] Red Hat Linux | Reporter: | keith adamson <keith.adamson> |
Component: | sane-backends | Assignee: | Tim Waugh <twaugh> |
Status: | CLOSED DUPLICATE | QA Contact: | David Lawrence <dkl> |
Severity: | medium | Docs Contact: | |
Priority: | medium | ||
Version: | 9 | CC: | ed, nclnxusr |
Target Milestone: | --- | ||
Target Release: | --- | ||
Hardware: | i386 | ||
OS: | Linux | ||
Whiteboard: | |||
Fixed In Version: | Doc Type: | Bug Fix | |
Doc Text: | Story Points: | --- | |
Clone Of: | Environment: | ||
Last Closed: | 2006-02-21 19:00:00 UTC | Type: | --- |
Regression: | --- | Mount Type: | --- |
Documentation: | --- | CRM: | |
Verified Versions: | Category: | --- | |
oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
Cloudforms Team: | --- | Target Upstream Version: | |
Embargoed: |
Description
keith adamson
2003-11-14 21:36:11 UTC
What changed in the time between it working and not working? I've got an Epson 1240U with sane-backends-1.0.9-5.1 installed on a RHL9 system. My scanner stopped working (via scanimage; xsane still worked) when I applied a batch of updates last night. From a "what changed" perspective, glibc-2.3.2-27.9.6 & glibc-2.3.2-27.9.7 are the guilty culprits. Downgrading via an "rpm --oldpackage -Uvh i686/glibc-2.3.2-27.9.i686.rpm [and i386/glibc-common + ncsc] (April 9, 2003 eratta) fixes the problem, but you miss out on the fixes in the recent errata. Please attach the output of 'strace scanimage ...' for the command that fails. Thanks. Packages install since stopped working
nscd-2.3.2-27.9.7
glibc-devel-2.3.2-27.9.7
glibc-2.3.2-27.9.7
glibc-common-2.3.2-27.9.7
ethereal-0.9.16-0.90.1
ethereal-gnome-0.9.16-0.90.1
# strace scanimage --device-name=epson:/dev/usb/scanner0 --format=tiff \
> --verbose \
> --batch='page%03d.ti' --batch-start=1 \
> --resolution 600 --quick-format Letter --source Automatic
execve("/usr/bin/scanimage", ["scanimage",
"--device-name=epson:/dev/usb/scanner0", "--format=tiff", "--verbose",
"--batch=page%03d.ti", "--batch-start=1", "--resolution", "600",
"--quick-format", "Letter", "--source", "Automatic"], [/* 23 vars */]) = 0
uname({sys="Linux", node="sandnt17562.na.ngrid.net", ...}) = 0
brk(0) = 0x8051cc8
open("/etc/ld.so.preload", O_RDONLY) = -1 ENOENT (No such file or
directory)
open("/etc/ld.so.cache", O_RDONLY) = 3
fstat64(3, {st_mode=S_IFREG|0644, st_size=68651, ...}) = 0
old_mmap(NULL, 68651, PROT_READ, MAP_PRIVATE, 3, 0) = 0x40016000
close(3) = 0
open("/usr/lib/sane/libsane.so.1", O_RDONLY) = 3
read(3,
"\177ELF\1\1\1\0\0\0\0\0\0\0\0\0\3\0\3\0\1\0\0\0P\26\0\000"..., 512) = 512
fstat64(3, {st_mode=S_IFREG|0755, st_size=26344, ...}) = 0
old_mmap(NULL, 25460, PROT_READ|PROT_EXEC, MAP_PRIVATE, 3, 0) = 0x40027000
old_mmap(0x4002d000, 4096, PROT_READ|PROT_WRITE,
MAP_PRIVATE|MAP_FIXED, 3, 0x6000) = 0x4002d000
close(3) = 0
open("/lib/libdl.so.2", O_RDONLY) = 3
read(3, "\177ELF\1\1\1\0\0\0\0\0\0\0\0\0\3\0\3\0\1\0\0\0\340\30"...,
512) = 512
fstat64(3, {st_mode=S_IFREG|0755, st_size=15900, ...}) = 0
old_mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS,
-1, 0) = 0x4002e000
old_mmap(NULL, 13176, PROT_READ|PROT_EXEC, MAP_PRIVATE, 3, 0) = 0x4002f000
old_mmap(0x40032000, 4096, PROT_READ|PROT_WRITE,
MAP_PRIVATE|MAP_FIXED, 3, 0x2000) = 0x40032000
close(3) = 0
open("/lib/libnsl.so.1", O_RDONLY) = 3
read(3, "\177ELF\1\1\1\0\0\0\0\0\0\0\0\0\3\0\3\0\1\0\0\0p<\0\000"...,
512) = 512
fstat64(3, {st_mode=S_IFREG|0755, st_size=91624, ...}) = 0
old_mmap(NULL, 85184, PROT_READ|PROT_EXEC, MAP_PRIVATE, 3, 0) = 0x40033000
old_mmap(0x40045000, 4096, PROT_READ|PROT_WRITE,
MAP_PRIVATE|MAP_FIXED, 3, 0x11000) = 0x40045000
old_mmap(0x40046000, 7360, PROT_READ|PROT_WRITE,
MAP_PRIVATE|MAP_FIXED|MAP_ANONYMOUS, -1, 0) = 0x40046000
close(3) = 0
open("/usr/lib/libusb-0.1.so.4", O_RDONLY) = 3
read(3, "\177ELF\1\1\1\0\0\0\0\0\0\0\0\0\3\0\3\0\1\0\0\0\370\20"...,
512) = 512
fstat64(3, {st_mode=S_IFREG|0755, st_size=25004, ...}) = 0
old_mmap(NULL, 27976, PROT_READ|PROT_EXEC, MAP_PRIVATE, 3, 0) = 0x40048000
old_mmap(0x4004d000, 8192, PROT_READ|PROT_WRITE,
MAP_PRIVATE|MAP_FIXED, 3, 0x4000) = 0x4004d000
close(3) = 0
open("/lib/tls/libm.so.6", O_RDONLY) = 3
read(3, "\177ELF\1\1\1\0\0\0\0\0\0\0\0\0\3\0\3\0\1\0\0\0\2004\0"...,
512) = 512
fstat64(3, {st_mode=S_IFREG|0755, st_size=212020, ...}) = 0
old_mmap(NULL, 138496, PROT_READ|PROT_EXEC, MAP_PRIVATE, 3, 0) =
0x4004f000
old_mmap(0x40070000, 4096, PROT_READ|PROT_WRITE,
MAP_PRIVATE|MAP_FIXED, 3, 0x20000) = 0x40070000
close(3) = 0
open("/usr/lib/libjpeg.so.62", O_RDONLY) = 3
read(3, "\177ELF\1\1\1\0\0\0\0\0\0\0\0\0\3\0\3\0\1\0\0\0\260$\0"...,
512) = 512
fstat64(3, {st_mode=S_IFREG|0755, st_size=121028, ...}) = 0
old_mmap(NULL, 119908, PROT_READ|PROT_EXEC, MAP_PRIVATE, 3, 0) =
0x40071000
old_mmap(0x4008e000, 4096, PROT_READ|PROT_WRITE,
MAP_PRIVATE|MAP_FIXED, 3, 0x1d000) = 0x4008e000
close(3) = 0
open("/lib/tls/libc.so.6", O_RDONLY) = 3
read(3, "\177ELF\1\1\1\0\0\0\0\0\0\0\0\0\3\0\3\0\1\0\0\0\360W\1"...,
512) = 512
fstat64(3, {st_mode=S_IFREG|0755, st_size=1539996, ...}) = 0
old_mmap(0x42000000, 1267276, PROT_READ|PROT_EXEC, MAP_PRIVATE, 3, 0)
= 0x42000000
old_mmap(0x42130000, 12288, PROT_READ|PROT_WRITE,
MAP_PRIVATE|MAP_FIXED, 3, 0x130000) = 0x42130000
old_mmap(0x42133000, 9804, PROT_READ|PROT_WRITE,
MAP_PRIVATE|MAP_FIXED|MAP_ANONYMOUS, -1, 0) = 0x42133000
close(3) = 0
old_mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS,
-1, 0) = 0x4008f000
set_thread_area({entry_number:-1 -> 6, base_addr:0x4008f760,
limit:1048575, seg_32bit:1, contents:0, read_exec_only:0,
limit_in_pages:1, seg_not_present:0, useable:1}) = 0
munmap(0x40016000, 68651) = 0
brk(0) = 0x8051cc8
brk(0x8052cc8) = 0x8052cc8
brk(0) = 0x8052cc8
brk(0x8053000) = 0x8053000
open("./v4l.conf", O_RDONLY) = -1 ENOENT (No such file or
directory)
open("/etc/sane.d/v4l.conf", O_RDONLY) = 3
fstat64(3, {st_mode=S_IFREG|0644, st_size=204, ...}) = 0
mmap2(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1,
0) = 0x40016000
read(3, "#\n# In order to use the v4linux "..., 4096) = 204
open("/dev/bttv0", O_RDWR) = -1 ENOENT (No such file or
directory)
open("/dev/video0", O_RDWR) = -1 ENODEV (No such device)
open("/dev/video1", O_RDWR) = -1 ENODEV (No such device)
open("/dev/video2", O_RDWR) = -1 ENODEV (No such device)
open("/dev/video3", O_RDWR) = -1 ENODEV (No such device)
read(3, "", 4096) = 0
close(3) = 0
munmap(0x40016000, 4096) = 0
write(2, "scanimage: open of device epson:"..., 75scanimage: open of
device epson:/dev/usb/scanner0 failed: Invalid argument
) = 75
exit_group(1) = ?
BTW fedora works ... tested on different system Really strange. Please try this: SANE_DEBUG_DLL=4 export SANE_DEBUG_DLL scanimage ... (as normal) What does it say? I have the same problem as Keith, xsane works fine but scanimage does not. I get the same output from strace as he does. When I set SANE_DEBUG_DLL as requested I get no new information - only the old error message of "scanimage: open of device epson: /dev/usb/scanner0 failed: Invalid argument" Any ideas? *** This bug has been marked as a duplicate of 110174 *** Changed to 'CLOSED' state since 'RESOLVED' has been deprecated. |