• Willkommen im Linux Club - dem deutschsprachigen Supportforum für GNU/Linux. Registriere dich kostenlos, um alle Inhalte zu sehen und Fragen zu stellen.

HP scanjet 4100c

Hallo,

ich habe mir einen HP scanjet 4100c gekauft und versuche ihn schon seit Tagen zum laufen zu bringen - ohne jeden Erfolg.

System ist SuSE 9.1 - Kernel 2.6
sane-version 1.0.14 (selbst compiliert)
angeschlossen wird der Scanner über USB.

Beim Aufruf von sane-find-scanner erhalte ich immer folgende Meldungen:

  • Code:
    votava:/home/votava # sane-find-scanner -v -v -f
    
    searching for SCSI scanners:
    checking /dev/scanner... failed to open (Invalid argument)
    checking /dev/sg0... failed to open (Invalid argument)
    checking /dev/sg1... failed to open (Invalid argument)
    checking /dev/sg2... failed to open (Invalid argument)
    checking /dev/sg3... failed to open (Invalid argument)
    checking /dev/sg4... failed to open (Invalid argument)
    checking /dev/sg5... failed to open (Invalid argument)
    checking /dev/sg6... failed to open (Invalid argument)
    checking /dev/sg7... failed to open (Invalid argument)
    checking /dev/sg8... failed to open (Invalid argument)
    checking /dev/sg9... failed to open (Invalid argument)
    checking /dev/sga... failed to open (Invalid argument)
    checking /dev/sgb... failed to open (Invalid argument)
    checking /dev/sgc... failed to open (Invalid argument)
    checking /dev/sgd... failed to open (Invalid argument)
    checking /dev/sge... failed to open (Invalid argument)
    checking /dev/sgf... failed to open (Invalid argument)
    checking /dev/sgg... failed to open (Invalid argument)
    checking /dev/sgh... failed to open (Invalid argument)
    checking /dev/sgi... failed to open (Invalid argument)
    checking /dev/sgj... failed to open (Invalid argument)
    checking /dev/sgk... failed to open (Invalid argument)
    checking /dev/sgl... failed to open (Invalid argument)
    checking /dev/sgm... failed to open (Invalid argument)
    checking /dev/sgn... failed to open (Invalid argument)
    checking /dev/sgo... failed to open (Invalid argument)
    checking /dev/sgp... failed to open (Invalid argument)
    checking /dev/sgq... failed to open (Invalid argument)
    checking /dev/sgr... failed to open (Invalid argument)
    checking /dev/sgs... failed to open (Invalid argument)
    checking /dev/sgt... failed to open (Invalid argument)
    checking /dev/sgu... failed to open (Invalid argument)
    checking /dev/sgv... failed to open (Invalid argument)
    checking /dev/sgw... failed to open (Invalid argument)
    checking /dev/sgx... failed to open (Invalid argument)
    checking /dev/sgy... failed to open (Invalid argument)
    checking /dev/sgz... failed to open (Invalid argument)
      # No SCSI scanners found. If you expected something different, make sure 
    that
      # you have loaded a SCSI driver for your SCSI adapter.
    
    Speicherzugriffsfehler

Der Aufruf erfolgt als root. Was mich stutzig macht, ist der Speicherzugriffsfehler an der Stelle, wo normalerweise der USB-Part kommen sollte.

ein cat /proc/bus/usb/devices listet mir den Scanner so auf, wie es sein sollte.

Hat jemand einen Tip für mich, wo ich den Fehler suchen soll?

Gruß

Mirko
 
Hast Du die libusb mit reingelinkt :?:
Was liefert:
sane-config --libs
und was:
sane-config --prefix :?::?:

sane-config --libs sollte in etwa folgendes liefern:
-lsane -lusb -lnsl -lm -ljpeg -lieee1284 -lgphoto2 -lm -lresmgr -ldl

und sane-config --prefix:
/usr

Evtl. solltest Du Dir die vorcompilierten Pakete von packman.links2linux.de holen.

Grüsse,
Gerhard
 
Hallo,

es kann doch nicht an der fehlenden -lieee1284 Komponente liegen - oder etwa doch? Ich denke die ist nur für den Zugriff auf den Paralelport zuständig.

Hat denn keiner mehr einen Tip für mich?

Gruß
Votava
 
Votava schrieb:
... es kann doch nicht an der fehlenden -lieee1284 Komponente liegen - oder etwa doch? Ich denke die ist nur für den Zugriff auf den Paralelport zuständig

An der libieee liegt es nicht. Deren Existenz wird beim Konfigurieren des SANE-
Pakets gecheckt und wenn sie nicht vorhanden ist, werden die Backends, welche
das Teil benötigen deaktiviert. Sollte also kein Problem sein.

Was mich wirklich stutzig macht, ist der Speicherzugriffsfehler. Hast Du das
SANE-RPM von SuSE auch geladen?

rpm -qa | grep SANE

Grüsse
Gerhard
 
Hallo Gerhard,

erhalte folgende Ausgabe:

Code:
rpm -qa | grep sane
sane-1.0.14-0.pm.0

habe mittlerweile das RPM von packman drauf. Läuft aber auch nicht. Selber Fehler mit dem Speicherzugriff.

Habe auch schon die Versionen von Hotplug etc. überprüft aber das brachte auch nix.

Gruß
Mirko
 
Mirko,

beim Packman RPM musst Du das libieee RPM auch unbedingt installieren.
Evtl. gehst Du her und löscht /etc/sane.d, sowie /usr/lib/sane komplett.
Dann suchst Du die ganzen SANE Tools:
scanimage
sane-config
sane-find-scanner
und löscht alle Inkarnationen. Anschliessend installierst Du das RPM von
Packman nochmals.

So das war der Holzhammer ;)

Gerhard
 
Hallo Gerhard,

habe die Holzhammer-Methode gemacht. Alles was mit Sane zutun hatte gelöscht und dann das RPM von Packman wieder installiert. Ergebnis:
der selbe Speicherzugriffsfehler wie vorher.

Ich weiß nicht mehr weiter...

Gruß
Mirko
 
Wat 'n Sch.....

Also dann müssen wird halt mal anders ran ;)
Prüfe bitte nach, ob das Tool strace installiert ist, wenn nicht
mach das bitte.
Dann folgendes:
Code:
strace sane-find-scanner -v -v -f &> x.txt

Die erhaltene Datei schickst Du mir bitte zu, oder stellst das
Zeugs hier rein. Will mal sehen bei welchem Aufruf es kracht.
Lösche auch mal bitte das versteckte Verzeichnis ~/.sane
und lege es anschliessend wieder an.

Grüsse,
Gerhard
 
Habe das Programm sogar installiert ;-)

Hier die Ausgabe:

Code:
execve("/usr/bin/sane-find-scanner", ["sane-find-scanner", "-v", "-v", "-f"], [/* 59 vars */]) = 0
uname({sys="Linux", node="votava", ...}) = 0
brk(0)                                  = 0x805f000
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=122974, ...}) = 0
old_mmap(NULL, 122974, PROT_READ, MAP_PRIVATE, 3, 0) = 0x40014000
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\0\25\0"..., 512) = 512
fstat64(3, {st_mode=S_IFREG|0755, st_size=33250, ...}) = 0
old_mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x40033000
old_mmap(NULL, 32300, PROT_READ|PROT_EXEC, MAP_PRIVATE, 3, 0) = 0x40034000
madvise(0x40034000, 32300, MADV_SEQUENTIAL|0x1) = 0
old_mmap(0x4003a000, 8192, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED, 3, 0x5000) = 0x4003a000
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\0\240<\0"..., 512) = 512
fstat64(3, {st_mode=S_IFREG|0755, st_size=87882, ...}) = 0
old_mmap(NULL, 84992, PROT_READ|PROT_EXEC, MAP_PRIVATE, 3, 0) = 0x4003c000
madvise(0x4003c000, 84992, MADV_SEQUENTIAL|0x1) = 0
old_mmap(0x4004e000, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED, 3, 0x11000) = 0x4004e000
old_mmap(0x4004f000, 7168, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_ANONYMOUS, -1, 0) = 0x4004f000
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=137404, ...}) = 0
old_mmap(NULL, 126120, PROT_READ|PROT_EXEC, MAP_PRIVATE, 3, 0) = 0x40051000
madvise(0x40051000, 126120, MADV_SEQUENTIAL|0x1) = 0
old_mmap(0x4006f000, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED, 3, 0x1d000) = 0x4006f000
close(3)                                = 0
open("/usr/lib/libieee1284.so.3", 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\0\37\0"..., 512) = 512
fstat64(3, {st_mode=S_IFREG|0755, st_size=103784, ...}) = 0
old_mmap(NULL, 40796, PROT_READ|PROT_EXEC, MAP_PRIVATE, 3, 0) = 0x40070000
madvise(0x40070000, 40796, MADV_SEQUENTIAL|0x1) = 0
old_mmap(0x40079000, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED, 3, 0x8000) = 0x40079000
close(3)                                = 0
open("/usr/lib/libgphoto2.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\320N\0"..., 512) = 512
fstat64(3, {st_mode=S_IFREG|0755, st_size=121475, ...}) = 0
old_mmap(NULL, 503808, PROT_READ|PROT_EXEC, MAP_PRIVATE, 3, 0) = 0x4007a000
madvise(0x4007a000, 503808, MADV_SEQUENTIAL|0x1) = 0
old_mmap(0x40094000, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED, 3, 0x19000) = 0x40094000
old_mmap(0x40095000, 393216, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_ANONYMOUS, -1, 0) = 0x40095000
close(3)                                = 0
open("/usr/lib/libgphoto2_port.so.0", 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\240\27"..., 512) = 512
fstat64(3, {st_mode=S_IFREG|0755, st_size=28911, ...}) = 0
old_mmap(NULL, 26988, PROT_READ|PROT_EXEC, MAP_PRIVATE, 3, 0) = 0x400f5000
madvise(0x400f5000, 26988, MADV_SEQUENTIAL|0x1) = 0
old_mmap(0x400fb000, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED, 3, 0x5000) = 0x400fb000
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\0P\33\0\000"..., 512) = 512
fstat64(3, {st_mode=S_IFREG|0755, st_size=13647, ...}) = 0
old_mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x400fc000
old_mmap(NULL, 8628, PROT_READ|PROT_EXEC, MAP_PRIVATE, 3, 0) = 0x400fd000
madvise(0x400fd000, 8628, MADV_SEQUENTIAL|0x1) = 0
old_mmap(0x400ff000, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED, 3, 0x2000) = 0x400ff000
close(3)                                = 0
open("/usr/lib/libexif.so.9", 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 /\0\000"..., 512) = 512
fstat64(3, {st_mode=S_IFREG|0755, st_size=115884, ...}) = 0
old_mmap(NULL, 118208, PROT_READ|PROT_EXEC, MAP_PRIVATE, 3, 0) = 0x40100000
madvise(0x40100000, 118208, MADV_SEQUENTIAL|0x1) = 0
old_mmap(0x4011b000, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED, 3, 0x1b000) = 0x4011b000
old_mmap(0x4011c000, 3520, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_ANONYMOUS, -1, 0) = 0x4011c000
close(3)                                = 0
open("/lib/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\0p5\0\000"..., 512) = 512
fstat64(3, {st_mode=S_IFREG|0755, st_size=170307, ...}) = 0
old_mmap(NULL, 137440, PROT_READ|PROT_EXEC, MAP_PRIVATE, 3, 0) = 0x4011d000
madvise(0x4011d000, 137440, MADV_SEQUENTIAL|0x1) = 0
old_mmap(0x4013e000, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED, 3, 0x20000) = 0x4013e000
close(3)                                = 0
open("/lib/libresmgr.so.0.9.8", 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\17"..., 512) = 512
fstat64(3, {st_mode=S_IFREG|0755, st_size=14975, ...}) = 0
old_mmap(NULL, 14880, PROT_READ|PROT_EXEC, MAP_PRIVATE, 3, 0) = 0x4013f000
madvise(0x4013f000, 14880, MADV_SEQUENTIAL|0x1) = 0
old_mmap(0x40142000, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED, 3, 0x2000) = 0x40142000
close(3)                                = 0
open("/lib/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\360Y\1"..., 512) = 512
fstat64(3, {st_mode=S_IFREG|0755, st_size=1333580, ...}) = 0
old_mmap(NULL, 1133828, PROT_READ|PROT_EXEC, MAP_PRIVATE, 3, 0) = 0x40143000
madvise(0x40143000, 1133828, MADV_SEQUENTIAL|0x1) = 0
old_mmap(0x4024e000, 32768, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED, 3, 0x10b000) = 0x4024e000
old_mmap(0x40256000, 7428, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_ANONYMOUS, -1, 0) = 0x40256000
close(3)                                = 0
old_mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x40258000
munmap(0x40014000, 122974)              = 0
fstat64(1, {st_mode=S_IFREG|0644, st_size=6242, ...}) = 0
old_mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x40014000
brk(0)                                  = 0x805f000
brk(0x8080000)                          = 0x8080000
brk(0)                                  = 0x8080000
open("/proc/scsi/scsi", O_RDONLY)       = 3
fstat64(3, {st_mode=S_IFREG|0444, st_size=0, ...}) = 0
old_mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x40015000
read(3, "Attached devices:\nHost: scsi0 Ch"..., 1024) = 176
read(3, "", 1024)                       = 0
close(3)                                = 0
munmap(0x40015000, 4096)                = 0
open("/proc/scsi/scsi", O_RDONLY)       = 3
fstat64(3, {st_mode=S_IFREG|0444, st_size=0, ...}) = 0
old_mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x40015000
read(3, "Attached devices:\nHost: scsi0 Ch"..., 1024) = 176
read(3, "", 1024)                       = 0
close(3)                                = 0
munmap(0x40015000, 4096)                = 0
open("/dev/scanner", O_RDWR|O_NONBLOCK|O_EXCL) = -1 ENOENT (No such file or directory)
open("/dev/sg0", O_RDWR|O_NONBLOCK|O_EXCL) = 3
ioctl(3, 0x2201, 0xbfffb098)            = 0
ioctl(3, 0x2282, 0x805d784)             = 0
ioctl(3, 0x2276, 0xbfffb0a0)            = 0
close(3)                                = 0
open("/dev/sg1", O_RDWR|O_NONBLOCK|O_EXCL) = -1 ENOENT (No such file or directory)
open("/dev/sg2", O_RDWR|O_NONBLOCK|O_EXCL) = -1 ENXIO (No such device or address)
open("/dev/sg3", O_RDWR|O_NONBLOCK|O_EXCL) = -1 ENXIO (No such device or address)
open("/dev/sg4", O_RDWR|O_NONBLOCK|O_EXCL) = -1 ENXIO (No such device or address)
open("/dev/sg5", O_RDWR|O_NONBLOCK|O_EXCL) = -1 ENXIO (No such device or address)
open("/dev/sg6", O_RDWR|O_NONBLOCK|O_EXCL) = -1 ENXIO (No such device or address)
open("/dev/sg7", O_RDWR|O_NONBLOCK|O_EXCL) = -1 ENXIO (No such device or address)
open("/dev/sg8", O_RDWR|O_NONBLOCK|O_EXCL) = -1 ENXIO (No such device or address)
open("/dev/sg9", O_RDWR|O_NONBLOCK|O_EXCL) = -1 ENXIO (No such device or address)
open("/dev/sga", O_RDWR|O_NONBLOCK|O_EXCL) = -1 ENOENT (No such file or directory)
open("/dev/sgb", O_RDWR|O_NONBLOCK|O_EXCL) = -1 ENOENT (No such file or directory)
open("/dev/sgc", O_RDWR|O_NONBLOCK|O_EXCL) = -1 ENOENT (No such file or directory)
open("/dev/sgd", O_RDWR|O_NONBLOCK|O_EXCL) = -1 ENOENT (No such file or directory)
open("/dev/sge", O_RDWR|O_NONBLOCK|O_EXCL) = -1 ENOENT (No such file or directory)
open("/dev/sgf", O_RDWR|O_NONBLOCK|O_EXCL) = -1 ENOENT (No such file or directory)
open("/dev/sgg", O_RDWR|O_NONBLOCK|O_EXCL) = -1 ENOENT (No such file or directory)
open("/dev/sgh", O_RDWR|O_NONBLOCK|O_EXCL) = -1 ENOENT (No such file or directory)
open("/dev/sgi", O_RDWR|O_NONBLOCK|O_EXCL) = -1 ENOENT (No such file or directory)
open("/dev/sgj", O_RDWR|O_NONBLOCK|O_EXCL) = -1 ENOENT (No such file or directory)
open("/dev/sgk", O_RDWR|O_NONBLOCK|O_EXCL) = -1 ENOENT (No such file or directory)
open("/dev/sgl", O_RDWR|O_NONBLOCK|O_EXCL) = -1 ENOENT (No such file or directory)
open("/dev/sgm", O_RDWR|O_NONBLOCK|O_EXCL) = -1 ENOENT (No such file or directory)
open("/dev/sgn", O_RDWR|O_NONBLOCK|O_EXCL) = -1 ENOENT (No such file or directory)
open("/dev/sgo", O_RDWR|O_NONBLOCK|O_EXCL) = -1 ENOENT (No such file or directory)
open("/dev/sgp", O_RDWR|O_NONBLOCK|O_EXCL) = -1 ENOENT (No such file or directory)
open("/dev/sgq", O_RDWR|O_NONBLOCK|O_EXCL) = -1 ENOENT (No such file or directory)
open("/dev/sgr", O_RDWR|O_NONBLOCK|O_EXCL) = -1 ENOENT (No such file or directory)
open("/dev/sgs", O_RDWR|O_NONBLOCK|O_EXCL) = -1 ENOENT (No such file or directory)
open("/dev/sgt", O_RDWR|O_NONBLOCK|O_EXCL) = -1 ENOENT (No such file or directory)
open("/dev/sgu", O_RDWR|O_NONBLOCK|O_EXCL) = -1 ENOENT (No such file or directory)
open("/dev/sgv", O_RDWR|O_NONBLOCK|O_EXCL) = -1 ENOENT (No such file or directory)
open("/dev/sgw", O_RDWR|O_NONBLOCK|O_EXCL) = -1 ENOENT (No such file or directory)
open("/dev/sgx", O_RDWR|O_NONBLOCK|O_EXCL) = -1 ENOENT (No such file or directory)
open("/dev/sgy", O_RDWR|O_NONBLOCK|O_EXCL) = -1 ENOENT (No such file or directory)
open("/dev/sgz", O_RDWR|O_NONBLOCK|O_EXCL) = -1 ENOENT (No such file or directory)
open("/proc/devices", O_RDONLY)         = 3
fstat64(3, {st_mode=S_IFREG|0444, st_size=0, ...}) = 0
old_mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x40015000
read(3, "Character devices:\n  1 mem\n  2 p"..., 1024) = 500
close(3)                                = 0
munmap(0x40015000, 4096)                = 0
stat64("/dev/", {st_mode=S_IFDIR|0755, st_size=180392, ...}) = 0
open("/dev/null", O_RDONLY|O_NONBLOCK|O_DIRECTORY) = -1 ENOTDIR (Not a directory)
open("/dev/", O_RDONLY|O_NONBLOCK|O_LARGEFILE|O_DIRECTORY) = 3
fstat64(3, {st_mode=S_IFDIR|0755, st_size=180392, ...}) = 0
fcntl64(3, F_SETFD, FD_CLOEXEC)         = 0
getdents64(3, /* 170 entries */, 4096)  = 4080
getdents64(3, /* 170 entries */, 4096)  = 4088
getdents64(3, /* 170 entries */, 4096)  = 4080
getdents64(3, /* 170 entries */, 4096)  = 4080
getdents64(3, /* 170 entries */, 4096)  = 4080
getdents64(3, /* 170 entries */, 4096)  = 4080
getdents64(3, /* 161 entries */, 4096)  = 4072
getdents64(3, /* 128 entries */, 4096)  = 4096
getdents64(3, /* 128 entries */, 4096)  = 4096
getdents64(3, /* 128 entries */, 4096)  = 4096
getdents64(3, /* 128 entries */, 4096)  = 4096
getdents64(3, /* 128 entries */, 4096)  = 4096
getdents64(3, /* 128 entries */, 4096)  = 4096
getdents64(3, /* 128 entries */, 4096)  = 4096
getdents64(3, /* 128 entries */, 4096)  = 4096
getdents64(3, /* 128 entries */, 4096)  = 4096
getdents64(3, /* 128 entries */, 4096)  = 4096
getdents64(3, /* 128 entries */, 4096)  = 4096
getdents64(3, /* 128 entries */, 4096)  = 4096
getdents64(3, /* 128 entries */, 4096)  = 4096
getdents64(3, /* 128 entries */, 4096)  = 4096
getdents64(3, /* 128 entries */, 4096)  = 4096
getdents64(3, /* 128 entries */, 4096)  = 4096
getdents64(3, /* 128 entries */, 4096)  = 4096
getdents64(3, /* 128 entries */, 4096)  = 4096
getdents64(3, /* 128 entries */, 4096)  = 4096
getdents64(3, /* 128 entries */, 4096)  = 4096
getdents64(3, /* 128 entries */, 4096)  = 4096
getdents64(3, /* 128 entries */, 4096)  = 4096
getdents64(3, /* 128 entries */, 4096)  = 4096
getdents64(3, /* 128 entries */, 4096)  = 4096
getdents64(3, /* 128 entries */, 4096)  = 4096
getdents64(3, /* 128 entries */, 4096)  = 4096
getdents64(3, /* 128 entries */, 4096)  = 4096
getdents64(3, /* 128 entries */, 4096)  = 4096
getdents64(3, /* 128 entries */, 4096)  = 4096
getdents64(3, /* 128 entries */, 4096)  = 4096
getdents64(3, /* 128 entries */, 4096)  = 4096
getdents64(3, /* 128 entries */, 4096)  = 4096
getdents64(3, /* 128 entries */, 4096)  = 4096
getdents64(3, /* 128 entries */, 4096)  = 4096
getdents64(3, /* 128 entries */, 4096)  = 4096
getdents64(3, /* 128 entries */, 4096)  = 4096
getdents64(3, /* 128 entries */, 4096)  = 4096
getdents64(3, /* 128 entries */, 4096)  = 4096
getdents64(3, /* 128 entries */, 4096)  = 4096
getdents64(3, /* 128 entries */, 4096)  = 4096
getdents64(3, /* 128 entries */, 4096)  = 4096
getdents64(3, /* 128 entries */, 4096)  = 4096
getdents64(3, /* 128 entries */, 4096)  = 4096
getdents64(3, /* 128 entries */, 4096)  = 4096
getdents64(3, /* 128 entries */, 4096)  = 4096
getdents64(3, /* 128 entries */, 4096)  = 4096
getdents64(3, /* 128 entries */, 4096)  = 4096
getdents64(3, /* 128 entries */, 4096)  = 4096
getdents64(3, /* 128 entries */, 4096)  = 4096
getdents64(3, /* 34 entries */, 4096)   = 1096
open("/dev/usbscanner", O_RDWR)         = -1 ENODEV (No such device)
getdents64(3, /* 0 entries */, 4096)    = 0
stat64("/dev/usb/", {st_mode=S_IFDIR|0755, st_size=2184, ...}) = 0
open("/dev/usb/", O_RDONLY|O_NONBLOCK|O_LARGEFILE|O_DIRECTORY) = 4
fstat64(4, {st_mode=S_IFDIR|0755, st_size=2184, ...}) = 0
fcntl64(4, F_SETFD, FD_CLOEXEC)         = 0
getdents64(4, /* 91 entries */, 4096)   = 2768
open("/dev/usb/scanner0", O_RDWR)       = -1 ENODEV (No such device)
open("/dev/usb/scanner1", O_RDWR)       = -1 ENODEV (No such device)
open("/dev/usb/scanner2", O_RDWR)       = -1 ENODEV (No such device)
open("/dev/usb/scanner3", O_RDWR)       = -1 ENODEV (No such device)
open("/dev/usb/scanner4", O_RDWR)       = -1 ENODEV (No such device)
open("/dev/usb/scanner5", O_RDWR)       = -1 ENODEV (No such device)
open("/dev/usb/scanner6", O_RDWR)       = -1 ENODEV (No such device)
open("/dev/usb/scanner7", O_RDWR)       = -1 ENODEV (No such device)
getdents64(4, /* 0 entries */, 4096)    = 0
open("/proc/bus/usb", O_RDONLY|O_NONBLOCK|O_LARGEFILE|O_DIRECTORY) = 5
fstat64(5, {st_mode=S_IFDIR|0755, st_size=0, ...}) = 0
fcntl64(5, F_SETFD, FD_CLOEXEC)         = 0
getdents64(5, /* 6 entries */, 4096)    = 152
close(5)                                = 0
open("/proc/bus/usb", O_RDONLY|O_NONBLOCK|O_LARGEFILE|O_DIRECTORY) = 5
fstat64(5, {st_mode=S_IFDIR|0755, st_size=0, ...}) = 0
fcntl64(5, F_SETFD, FD_CLOEXEC)         = 0
getdents64(5, /* 6 entries */, 4096)    = 152
getdents64(5, /* 0 entries */, 4096)    = 0
close(5)                                = 0
open("/proc/bus/usb/003", O_RDONLY|O_NONBLOCK|O_LARGEFILE|O_DIRECTORY) = 5
fstat64(5, {st_mode=S_IFDIR|0555, st_size=0, ...}) = 0
fcntl64(5, F_SETFD, FD_CLOEXEC)         = 0
getdents64(5, /* 6 entries */, 4096)    = 144
open("/proc/bus/usb/003/004", O_RDONLY) = 6
read(6, "\22\1\20\1\0\0\0\10m\4\1\305\20\t\1\2\0\1", 18) = 18
read(6, "\t\2\"\0\1\1\0\240", 8)        = 8
read(6, "\31\t\4\0\0\1\3\1\2\0\t!\20\1\0\1\"R\0\7\5\201\3\10\0\n"..., 26) = 26
close(6)                                = 0
open("/proc/bus/usb/003/003", O_RDONLY) = 6
read(6, "\22\1\0\1\377\377\377@|\5\0(\0\1\1\2\0\1", 18) = 18
read(6, "\t\2 \0\1\1\4@", 8)            = 8
read(6, "\0\t\4\0\0\2\377\377\377\5\7\5\1\2@\0\0\7\5\202\2@\0\0"..., 24) = 24
close(6)                                = 0
open("/proc/bus/usb/003/002", O_RDONLY) = 6
read(6, "\22\1\0\2\t\0\2@\264\4`e\10\0\0\0\0\1", 18) = 18
read(6, "\t\2)\0\1\1\0\340", 8)         = 8
read(6, "2\t\4\0\0\1\t\0\1\0\7\5\201\3\1\0\f\t\4\0\1\1\t\0\2\0\7"..., 33) = 33
close(6)                                = 0
open("/proc/bus/usb/003/001", O_RDONLY) = 6
read(6, "\22\1\0\2\t\0\1\10\0\0\0\0\6\2\3\2\1\1", 18) = 18
read(6, "\t\2\31\0\1\1\0@", 8)          = 8
read(6, "\0\t\4\0\0\1\t\0\0\0\7\5\201\3\2\0\f", 17) = 17
close(6)                                = 0
getdents64(5, /* 0 entries */, 4096)    = 0
close(5)                                = 0
socket(PF_UNIX, SOCK_STREAM, 0)         = 5
connect(5, {sa_family=AF_UNIX, path="/var/run/.resmgr_socket"}, 25) = -1 ECONNREFUSED (Connection refused)
close(5)                                = 0
--- SIGSEGV (Segmentation fault) @ 0 (0) ---
+++ killed by SIGSEGV +++
Mir sagt das alles gar nix... Hoffe, Du kannst mir weiterhelfen...

Gruß
Mirko
 
Naja, ich hatte mir etwas mehr erhofft. Zumindest kann man
erkennen, dass der Resource Manager nicht läuft, aber das sollte
keine Rolle spielen.

Kannst Du das ganze bitte nochmals wiederholen und zwar so:
Code:
export SANE_DEBUG_SANEI_USB=255 ; strace sane-find-scanner -v -v -f &> x.txt

Mal sehen was wir jetzt sehen :)
 
Na klar, ist doch schnell erledigt. Hier die Ausgabe:

Code:
execve("/usr/bin/sane-find-scanner", ["sane-find-scanner", "-v", "-v", "-f"], [/* 60 vars */]) = 0
uname({sys="Linux", node="votava", ...}) = 0
brk(0)                                  = 0x805f000
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=122974, ...}) = 0
old_mmap(NULL, 122974, PROT_READ, MAP_PRIVATE, 3, 0) = 0x40014000
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\0\25\0"..., 512) = 512
fstat64(3, {st_mode=S_IFREG|0755, st_size=33250, ...}) = 0
old_mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x40033000
old_mmap(NULL, 32300, PROT_READ|PROT_EXEC, MAP_PRIVATE, 3, 0) = 0x40034000
madvise(0x40034000, 32300, MADV_SEQUENTIAL|0x1) = 0
old_mmap(0x4003a000, 8192, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED, 3, 0x5000) = 0x4003a000
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\0\240<\0"..., 512) = 512
fstat64(3, {st_mode=S_IFREG|0755, st_size=87882, ...}) = 0
old_mmap(NULL, 84992, PROT_READ|PROT_EXEC, MAP_PRIVATE, 3, 0) = 0x4003c000
madvise(0x4003c000, 84992, MADV_SEQUENTIAL|0x1) = 0
old_mmap(0x4004e000, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED, 3, 0x11000) = 0x4004e000
old_mmap(0x4004f000, 7168, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_ANONYMOUS, -1, 0) = 0x4004f000
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=137404, ...}) = 0
old_mmap(NULL, 126120, PROT_READ|PROT_EXEC, MAP_PRIVATE, 3, 0) = 0x40051000
madvise(0x40051000, 126120, MADV_SEQUENTIAL|0x1) = 0
old_mmap(0x4006f000, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED, 3, 0x1d000) = 0x4006f000
close(3)                                = 0
open("/usr/lib/libieee1284.so.3", 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\0\37\0"..., 512) = 512
fstat64(3, {st_mode=S_IFREG|0755, st_size=103784, ...}) = 0
old_mmap(NULL, 40796, PROT_READ|PROT_EXEC, MAP_PRIVATE, 3, 0) = 0x40070000
madvise(0x40070000, 40796, MADV_SEQUENTIAL|0x1) = 0
old_mmap(0x40079000, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED, 3, 0x8000) = 0x40079000
close(3)                                = 0
open("/usr/lib/libgphoto2.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\320N\0"..., 512) = 512
fstat64(3, {st_mode=S_IFREG|0755, st_size=121475, ...}) = 0
old_mmap(NULL, 503808, PROT_READ|PROT_EXEC, MAP_PRIVATE, 3, 0) = 0x4007a000
madvise(0x4007a000, 503808, MADV_SEQUENTIAL|0x1) = 0
old_mmap(0x40094000, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED, 3, 0x19000) = 0x40094000
old_mmap(0x40095000, 393216, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_ANONYMOUS, -1, 0) = 0x40095000
close(3)                                = 0
open("/usr/lib/libgphoto2_port.so.0", 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\240\27"..., 512) = 512
fstat64(3, {st_mode=S_IFREG|0755, st_size=28911, ...}) = 0
old_mmap(NULL, 26988, PROT_READ|PROT_EXEC, MAP_PRIVATE, 3, 0) = 0x400f5000
madvise(0x400f5000, 26988, MADV_SEQUENTIAL|0x1) = 0
old_mmap(0x400fb000, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED, 3, 0x5000) = 0x400fb000
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\0P\33\0\000"..., 512) = 512
fstat64(3, {st_mode=S_IFREG|0755, st_size=13647, ...}) = 0
old_mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x400fc000
old_mmap(NULL, 8628, PROT_READ|PROT_EXEC, MAP_PRIVATE, 3, 0) = 0x400fd000
madvise(0x400fd000, 8628, MADV_SEQUENTIAL|0x1) = 0
old_mmap(0x400ff000, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED, 3, 0x2000) = 0x400ff000
close(3)                                = 0
open("/usr/lib/libexif.so.9", 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 /\0\000"..., 512) = 512
fstat64(3, {st_mode=S_IFREG|0755, st_size=115884, ...}) = 0
old_mmap(NULL, 118208, PROT_READ|PROT_EXEC, MAP_PRIVATE, 3, 0) = 0x40100000
madvise(0x40100000, 118208, MADV_SEQUENTIAL|0x1) = 0
old_mmap(0x4011b000, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED, 3, 0x1b000) = 0x4011b000
old_mmap(0x4011c000, 3520, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_ANONYMOUS, -1, 0) = 0x4011c000
close(3)                                = 0
open("/lib/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\0p5\0\000"..., 512) = 512
fstat64(3, {st_mode=S_IFREG|0755, st_size=170307, ...}) = 0
old_mmap(NULL, 137440, PROT_READ|PROT_EXEC, MAP_PRIVATE, 3, 0) = 0x4011d000
madvise(0x4011d000, 137440, MADV_SEQUENTIAL|0x1) = 0
old_mmap(0x4013e000, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED, 3, 0x20000) = 0x4013e000
close(3)                                = 0
open("/lib/libresmgr.so.0.9.8", 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\17"..., 512) = 512
fstat64(3, {st_mode=S_IFREG|0755, st_size=14975, ...}) = 0
old_mmap(NULL, 14880, PROT_READ|PROT_EXEC, MAP_PRIVATE, 3, 0) = 0x4013f000
madvise(0x4013f000, 14880, MADV_SEQUENTIAL|0x1) = 0
old_mmap(0x40142000, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED, 3, 0x2000) = 0x40142000
close(3)                                = 0
open("/lib/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\360Y\1"..., 512) = 512
fstat64(3, {st_mode=S_IFREG|0755, st_size=1333580, ...}) = 0
old_mmap(NULL, 1133828, PROT_READ|PROT_EXEC, MAP_PRIVATE, 3, 0) = 0x40143000
madvise(0x40143000, 1133828, MADV_SEQUENTIAL|0x1) = 0
old_mmap(0x4024e000, 32768, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED, 3, 0x10b000) = 0x4024e000
old_mmap(0x40256000, 7428, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_ANONYMOUS, -1, 0) = 0x40256000
close(3)                                = 0
old_mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x40258000
munmap(0x40014000, 122974)              = 0
fstat64(1, {st_mode=S_IFREG|0644, st_size=6242, ...}) = 0
old_mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x40014000
brk(0)                                  = 0x805f000
brk(0x8080000)                          = 0x8080000
brk(0)                                  = 0x8080000
open("/proc/scsi/scsi", O_RDONLY)       = 3
fstat64(3, {st_mode=S_IFREG|0444, st_size=0, ...}) = 0
old_mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x40015000
read(3, "Attached devices:\nHost: scsi0 Ch"..., 1024) = 176
read(3, "", 1024)                       = 0
close(3)                                = 0
munmap(0x40015000, 4096)                = 0
open("/proc/scsi/scsi", O_RDONLY)       = 3
fstat64(3, {st_mode=S_IFREG|0444, st_size=0, ...}) = 0
old_mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x40015000
read(3, "Attached devices:\nHost: scsi0 Ch"..., 1024) = 176
read(3, "", 1024)                       = 0
close(3)                                = 0
munmap(0x40015000, 4096)                = 0
open("/dev/scanner", O_RDWR|O_NONBLOCK|O_EXCL) = -1 ENOENT (No such file or directory)
open("/dev/sg0", O_RDWR|O_NONBLOCK|O_EXCL) = 3
ioctl(3, 0x2201, 0xbfffb088)            = 0
ioctl(3, 0x2282, 0x805d784)             = 0
ioctl(3, 0x2276, 0xbfffb090)            = 0
close(3)                                = 0
open("/dev/sg1", O_RDWR|O_NONBLOCK|O_EXCL) = -1 ENOENT (No such file or directory)
open("/dev/sg2", O_RDWR|O_NONBLOCK|O_EXCL) = -1 ENXIO (No such device or address)
open("/dev/sg3", O_RDWR|O_NONBLOCK|O_EXCL) = -1 ENXIO (No such device or address)
open("/dev/sg4", O_RDWR|O_NONBLOCK|O_EXCL) = -1 ENXIO (No such device or address)
open("/dev/sg5", O_RDWR|O_NONBLOCK|O_EXCL) = -1 ENXIO (No such device or address)
open("/dev/sg6", O_RDWR|O_NONBLOCK|O_EXCL) = -1 ENXIO (No such device or address)
open("/dev/sg7", O_RDWR|O_NONBLOCK|O_EXCL) = -1 ENXIO (No such device or address)
open("/dev/sg8", O_RDWR|O_NONBLOCK|O_EXCL) = -1 ENXIO (No such device or address)
open("/dev/sg9", O_RDWR|O_NONBLOCK|O_EXCL) = -1 ENXIO (No such device or address)
open("/dev/sga", O_RDWR|O_NONBLOCK|O_EXCL) = -1 ENOENT (No such file or directory)
open("/dev/sgb", O_RDWR|O_NONBLOCK|O_EXCL) = -1 ENOENT (No such file or directory)
open("/dev/sgc", O_RDWR|O_NONBLOCK|O_EXCL) = -1 ENOENT (No such file or directory)
open("/dev/sgd", O_RDWR|O_NONBLOCK|O_EXCL) = -1 ENOENT (No such file or directory)
open("/dev/sge", O_RDWR|O_NONBLOCK|O_EXCL) = -1 ENOENT (No such file or directory)
open("/dev/sgf", O_RDWR|O_NONBLOCK|O_EXCL) = -1 ENOENT (No such file or directory)
open("/dev/sgg", O_RDWR|O_NONBLOCK|O_EXCL) = -1 ENOENT (No such file or directory)
open("/dev/sgh", O_RDWR|O_NONBLOCK|O_EXCL) = -1 ENOENT (No such file or directory)
open("/dev/sgi", O_RDWR|O_NONBLOCK|O_EXCL) = -1 ENOENT (No such file or directory)
open("/dev/sgj", O_RDWR|O_NONBLOCK|O_EXCL) = -1 ENOENT (No such file or directory)
open("/dev/sgk", O_RDWR|O_NONBLOCK|O_EXCL) = -1 ENOENT (No such file or directory)
open("/dev/sgl", O_RDWR|O_NONBLOCK|O_EXCL) = -1 ENOENT (No such file or directory)
open("/dev/sgm", O_RDWR|O_NONBLOCK|O_EXCL) = -1 ENOENT (No such file or directory)
open("/dev/sgn", O_RDWR|O_NONBLOCK|O_EXCL) = -1 ENOENT (No such file or directory)
open("/dev/sgo", O_RDWR|O_NONBLOCK|O_EXCL) = -1 ENOENT (No such file or directory)
open("/dev/sgp", O_RDWR|O_NONBLOCK|O_EXCL) = -1 ENOENT (No such file or directory)
open("/dev/sgq", O_RDWR|O_NONBLOCK|O_EXCL) = -1 ENOENT (No such file or directory)
open("/dev/sgr", O_RDWR|O_NONBLOCK|O_EXCL) = -1 ENOENT (No such file or directory)
open("/dev/sgs", O_RDWR|O_NONBLOCK|O_EXCL) = -1 ENOENT (No such file or directory)
open("/dev/sgt", O_RDWR|O_NONBLOCK|O_EXCL) = -1 ENOENT (No such file or directory)
open("/dev/sgu", O_RDWR|O_NONBLOCK|O_EXCL) = -1 ENOENT (No such file or directory)
open("/dev/sgv", O_RDWR|O_NONBLOCK|O_EXCL) = -1 ENOENT (No such file or directory)
open("/dev/sgw", O_RDWR|O_NONBLOCK|O_EXCL) = -1 ENOENT (No such file or directory)
open("/dev/sgx", O_RDWR|O_NONBLOCK|O_EXCL) = -1 ENOENT (No such file or directory)
open("/dev/sgy", O_RDWR|O_NONBLOCK|O_EXCL) = -1 ENOENT (No such file or directory)
open("/dev/sgz", O_RDWR|O_NONBLOCK|O_EXCL) = -1 ENOENT (No such file or directory)
open("/proc/devices", O_RDONLY)         = 3
fstat64(3, {st_mode=S_IFREG|0444, st_size=0, ...}) = 0
old_mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x40015000
read(3, "Character devices:\n  1 mem\n  2 p"..., 1024) = 500
close(3)                                = 0
munmap(0x40015000, 4096)                = 0
fstat64(2, {st_mode=S_IFREG|0644, st_size=10853, ...}) = 0
write(2, "[sanei_debug] ", 14[sanei_debug] )          = 14
write(2, "Setting debug level of sanei_usb"..., 41Setting debug level of sanei_usb to 255.
) = 41
stat64("/dev/", {st_mode=S_IFDIR|0755, st_size=180392, ...}) = 0
open("/dev/null", O_RDONLY|O_NONBLOCK|O_DIRECTORY) = -1 ENOTDIR (Not a directory)
open("/dev/", O_RDONLY|O_NONBLOCK|O_LARGEFILE|O_DIRECTORY) = 3
fstat64(3, {st_mode=S_IFDIR|0755, st_size=180392, ...}) = 0
fcntl64(3, F_SETFD, FD_CLOEXEC)         = 0
getdents64(3, /* 170 entries */, 4096)  = 4080
getdents64(3, /* 170 entries */, 4096)  = 4088
getdents64(3, /* 170 entries */, 4096)  = 4080
getdents64(3, /* 170 entries */, 4096)  = 4080
getdents64(3, /* 170 entries */, 4096)  = 4080
getdents64(3, /* 170 entries */, 4096)  = 4080
getdents64(3, /* 161 entries */, 4096)  = 4072
getdents64(3, /* 128 entries */, 4096)  = 4096
getdents64(3, /* 128 entries */, 4096)  = 4096
getdents64(3, /* 128 entries */, 4096)  = 4096
getdents64(3, /* 128 entries */, 4096)  = 4096
getdents64(3, /* 128 entries */, 4096)  = 4096
getdents64(3, /* 128 entries */, 4096)  = 4096
getdents64(3, /* 128 entries */, 4096)  = 4096
getdents64(3, /* 128 entries */, 4096)  = 4096
getdents64(3, /* 128 entries */, 4096)  = 4096
getdents64(3, /* 128 entries */, 4096)  = 4096
getdents64(3, /* 128 entries */, 4096)  = 4096
getdents64(3, /* 128 entries */, 4096)  = 4096
getdents64(3, /* 128 entries */, 4096)  = 4096
getdents64(3, /* 128 entries */, 4096)  = 4096
getdents64(3, /* 128 entries */, 4096)  = 4096
getdents64(3, /* 128 entries */, 4096)  = 4096
getdents64(3, /* 128 entries */, 4096)  = 4096
getdents64(3, /* 128 entries */, 4096)  = 4096
getdents64(3, /* 128 entries */, 4096)  = 4096
getdents64(3, /* 128 entries */, 4096)  = 4096
getdents64(3, /* 128 entries */, 4096)  = 4096
getdents64(3, /* 128 entries */, 4096)  = 4096
getdents64(3, /* 128 entries */, 4096)  = 4096
getdents64(3, /* 128 entries */, 4096)  = 4096
getdents64(3, /* 128 entries */, 4096)  = 4096
getdents64(3, /* 128 entries */, 4096)  = 4096
getdents64(3, /* 128 entries */, 4096)  = 4096
getdents64(3, /* 128 entries */, 4096)  = 4096
getdents64(3, /* 128 entries */, 4096)  = 4096
getdents64(3, /* 128 entries */, 4096)  = 4096
getdents64(3, /* 128 entries */, 4096)  = 4096
getdents64(3, /* 128 entries */, 4096)  = 4096
getdents64(3, /* 128 entries */, 4096)  = 4096
getdents64(3, /* 128 entries */, 4096)  = 4096
getdents64(3, /* 128 entries */, 4096)  = 4096
getdents64(3, /* 128 entries */, 4096)  = 4096
getdents64(3, /* 128 entries */, 4096)  = 4096
getdents64(3, /* 128 entries */, 4096)  = 4096
getdents64(3, /* 128 entries */, 4096)  = 4096
getdents64(3, /* 128 entries */, 4096)  = 4096
getdents64(3, /* 128 entries */, 4096)  = 4096
getdents64(3, /* 128 entries */, 4096)  = 4096
getdents64(3, /* 128 entries */, 4096)  = 4096
getdents64(3, /* 128 entries */, 4096)  = 4096
getdents64(3, /* 128 entries */, 4096)  = 4096
getdents64(3, /* 128 entries */, 4096)  = 4096
getdents64(3, /* 128 entries */, 4096)  = 4096
getdents64(3, /* 128 entries */, 4096)  = 4096
getdents64(3, /* 128 entries */, 4096)  = 4096
getdents64(3, /* 34 entries */, 4096)   = 1096
open("/dev/usbscanner", O_RDWR)         = -1 ENODEV (No such device)
fstat64(2, {st_mode=S_IFREG|0644, st_size=14131, ...}) = 0
write(2, "[sanei_usb] ", 12[sanei_usb] )            = 12
write(2, "sanei_usb_init: couldn\'t open /d"..., 62sanei_usb_init: couldn't open /dev/usbscanner: No such device
) = 62
getdents64(3, /* 0 entries */, 4096)    = 0
stat64("/dev/usb/", {st_mode=S_IFDIR|0755, st_size=2184, ...}) = 0
open("/dev/usb/", O_RDONLY|O_NONBLOCK|O_LARGEFILE|O_DIRECTORY) = 4
fstat64(4, {st_mode=S_IFDIR|0755, st_size=2184, ...}) = 0
fcntl64(4, F_SETFD, FD_CLOEXEC)         = 0
getdents64(4, /* 91 entries */, 4096)   = 2768
open("/dev/usb/scanner0", O_RDWR)       = -1 ENODEV (No such device)
fstat64(2, {st_mode=S_IFREG|0644, st_size=14763, ...}) = 0
write(2, "[sanei_usb] ", 12[sanei_usb] )            = 12
write(2, "sanei_usb_init: couldn\'t open /d"..., 64sanei_usb_init: couldn't open /dev/usb/scanner0: No such device
) = 64
open("/dev/usb/scanner1", O_RDWR)       = -1 ENODEV (No such device)
fstat64(2, {st_mode=S_IFREG|0644, st_size=15070, ...}) = 0
write(2, "[sanei_usb] ", 12[sanei_usb] )            = 12
write(2, "sanei_usb_init: couldn\'t open /d"..., 64sanei_usb_init: couldn't open /dev/usb/scanner1: No such device
) = 64
open("/dev/usb/scanner2", O_RDWR)       = -1 ENODEV (No such device)
fstat64(2, {st_mode=S_IFREG|0644, st_size=15377, ...}) = 0
write(2, "[sanei_usb] ", 12[sanei_usb] )            = 12
write(2, "sanei_usb_init: couldn\'t open /d"..., 64sanei_usb_init: couldn't open /dev/usb/scanner2: No such device
) = 64
open("/dev/usb/scanner3", O_RDWR)       = -1 ENODEV (No such device)
fstat64(2, {st_mode=S_IFREG|0644, st_size=15684, ...}) = 0
write(2, "[sanei_usb] ", 12[sanei_usb] )            = 12
write(2, "sanei_usb_init: couldn\'t open /d"..., 64sanei_usb_init: couldn't open /dev/usb/scanner3: No such device
) = 64
open("/dev/usb/scanner4", O_RDWR)       = -1 ENODEV (No such device)
fstat64(2, {st_mode=S_IFREG|0644, st_size=15991, ...}) = 0
write(2, "[sanei_usb] ", 12[sanei_usb] )            = 12
write(2, "sanei_usb_init: couldn\'t open /d"..., 64sanei_usb_init: couldn't open /dev/usb/scanner4: No such device
) = 64
open("/dev/usb/scanner5", O_RDWR)       = -1 ENODEV (No such device)
fstat64(2, {st_mode=S_IFREG|0644, st_size=16298, ...}) = 0
write(2, "[sanei_usb] ", 12[sanei_usb] )            = 12
write(2, "sanei_usb_init: couldn\'t open /d"..., 64sanei_usb_init: couldn't open /dev/usb/scanner5: No such device
) = 64
open("/dev/usb/scanner6", O_RDWR)       = -1 ENODEV (No such device)
fstat64(2, {st_mode=S_IFREG|0644, st_size=16605, ...}) = 0
write(2, "[sanei_usb] ", 12[sanei_usb] )            = 12
write(2, "sanei_usb_init: couldn\'t open /d"..., 64sanei_usb_init: couldn't open /dev/usb/scanner6: No such device
) = 64
open("/dev/usb/scanner7", O_RDWR)       = -1 ENODEV (No such device)
fstat64(2, {st_mode=S_IFREG|0644, st_size=16912, ...}) = 0
write(2, "[sanei_usb] ", 12[sanei_usb] )            = 12
write(2, "sanei_usb_init: couldn\'t open /d"..., 64sanei_usb_init: couldn't open /dev/usb/scanner7: No such device
) = 64
getdents64(4, /* 0 entries */, 4096)    = 0
open("/proc/bus/usb", O_RDONLY|O_NONBLOCK|O_LARGEFILE|O_DIRECTORY) = 5
fstat64(5, {st_mode=S_IFDIR|0755, st_size=0, ...}) = 0
fcntl64(5, F_SETFD, FD_CLOEXEC)         = 0
getdents64(5, /* 6 entries */, 4096)    = 152
close(5)                                = 0
write(2, "usb_set_debug: Setting debugging"..., 51usb_set_debug: Setting debugging level to 255 (on)
) = 51
open("/proc/bus/usb", O_RDONLY|O_NONBLOCK|O_LARGEFILE|O_DIRECTORY) = 5
fstat64(5, {st_mode=S_IFDIR|0755, st_size=0, ...}) = 0
fcntl64(5, F_SETFD, FD_CLOEXEC)         = 0
getdents64(5, /* 6 entries */, 4096)    = 152
write(2, "usb_os_find_busses: Found 003\n", 30usb_os_find_busses: Found 003
) = 30
write(2, "usb_os_find_busses: Found 002\n", 30usb_os_find_busses: Found 002
) = 30
write(2, "usb_os_find_busses: Found 001\n", 30usb_os_find_busses: Found 001
) = 30
write(2, "usb_os_find_busses: Skipping non"..., 55usb_os_find_busses: Skipping non bus directory devices
) = 55
getdents64(5, /* 0 entries */, 4096)    = 0
close(5)                                = 0
open("/proc/bus/usb/003", O_RDONLY|O_NONBLOCK|O_LARGEFILE|O_DIRECTORY) = 5
fstat64(5, {st_mode=S_IFDIR|0555, st_size=0, ...}) = 0
fcntl64(5, F_SETFD, FD_CLOEXEC)         = 0
getdents64(5, /* 6 entries */, 4096)    = 144
open("/proc/bus/usb/003/004", O_RDONLY) = 6
read(6, "\22\1\20\1\0\0\0\10m\4\1\305\20\t\1\2\0\1", 18) = 18
write(2, "usb_os_find_devices: Found 004 o"..., 38usb_os_find_devices: Found 004 on 003
) = 38
read(6, "\t\2\"\0\1\1\0\240", 8)        = 8
read(6, "\31\t\4\0\0\1\3\1\2\0\t!\20\1\0\1\"R\0\7\5\201\3\10\0\n"..., 26) = 26
write(2, "skipped 1 class/vendor specific "..., 54skipped 1 class/vendor specific interface descriptors
) = 54
close(6)                                = 0
open("/proc/bus/usb/003/003", O_RDONLY) = 6
read(6, "\22\1\0\1\377\377\377@|\5\0(\0\1\1\2\0\1", 18) = 18
write(2, "usb_os_find_devices: Found 003 o"..., 38usb_os_find_devices: Found 003 on 003
) = 38
read(6, "\t\2 \0\1\1\4@", 8)            = 8
read(6, "\0\t\4\0\0\2\377\377\377\5\7\5\1\2@\0\0\7\5\202\2@\0\0"..., 24) = 24
close(6)                                = 0
open("/proc/bus/usb/003/002", O_RDONLY) = 6
read(6, "\22\1\0\2\t\0\2@\264\4`e\10\0\0\0\0\1", 18) = 18
write(2, "usb_os_find_devices: Found 002 o"..., 38usb_os_find_devices: Found 002 on 003
) = 38
read(6, "\t\2)\0\1\1\0\340", 8)         = 8
read(6, "2\t\4\0\0\1\t\0\1\0\7\5\201\3\1\0\f\t\4\0\1\1\t\0\2\0\7"..., 33) = 33
close(6)                                = 0
open("/proc/bus/usb/003/001", O_RDONLY) = 6
read(6, "\22\1\0\2\t\0\1\10\0\0\0\0\6\2\3\2\1\1", 18) = 18
write(2, "usb_os_find_devices: Found 001 o"..., 38usb_os_find_devices: Found 001 on 003
) = 38
read(6, "\t\2\31\0\1\1\0@", 8)          = 8
read(6, "\0\t\4\0\0\1\t\0\0\0\7\5\201\3\2\0\f", 17) = 17
close(6)                                = 0
getdents64(5, /* 0 entries */, 4096)    = 0
close(5)                                = 0
socket(PF_UNIX, SOCK_STREAM, 0)         = 5
connect(5, {sa_family=AF_UNIX, path="/var/run/.resmgr_socket"}, 25) = -1 ECONNREFUSED (Connection refused)
close(5)                                = 0
--- SIGSEGV (Segmentation fault) @ 0 (0) ---
+++ killed by SIGSEGV +++

Hoffe, es bringt Dich weiter. Mir sagt das nicht viel.

Gruß
Mirko
 
Mirko, sorry, ich wollte Dich nicht hängen lassen.
Der strace bringt uns so nicht weiter. Ich vermute inzwischen das Problem in
der libusb. Ein strace auf meiner Büchse zeigt nichts auffälliges, läuft
lediglich durch. Der nächste Schritt des "Debugging" wäre einen Core-Dump
erzeugen zu lassen und den dann mit dem Debugger zu analysieren.
So eine Core-Dump ist halt gleich ein paar MB gross. Kannst Du so ein
Teil irgendwo im Netz verfügbar machen, dann würd' ich ihn mir mal runtersaugen?

Den Core-Dump selber aktivierst Du in der Bash mit:
ulimit -c 5000

Grüsse,
Gerhard
 
Hallo Gerhard,

das ist gut. Bin leider noch nicht weitergekommen. Den Core-Dump habe ich auf http://www.mruether.de/core/core abgelegt. ist ca 680k groß.
Hoffe, es bringt uns weiter.
Gruß
Mirko
 
Den core hab ich, ist jedoch wertlos - mein Fehler. Kannst Du
evtl. SANE doch nochmals neu compilieren und zwar statisch
gelinkt mit Debug-Info drin. Sorry soll keine Beschäftigungs-
therapie werden, aber anders komm ich nicht ran :(

Hier die notwendigen Schritte für SuSE, Du musst das Zeugs
nicht mal installieren, ruf sane-find-scanner einfach direkt im
entsprechenden Verzeichnis auf:

Code:
make distclean
CFLAGS="-g -O -Wall" ; ./configure --prefix=/usr --sysconfdir=/etc --mandir=/usr/share/man --infodir=/usr/share/info --disable-shared
make all
cd tools
ulimit -c 5000
./sane-find-scanner

Damit sollte es dann möglich sein, ohne Deine Systemumgebung
zu haben den Fehler einzukreisen. Evtl. kommt dabei aber auch
raus, dass es statisch gelinkt funktioniert ;)

Grüsse,
Gerhard
 
Hallo Gerhard,

kein Problem. Der Core liegt wieder auf dem Server. Der Speicherzugriffsfehler bleibt aber.

Gruß

Mirko
 
Mirko,

kannst Du dort bitte auch das verwendete sane-find-scanner
ablegen :?:
Hast Du vorher 'nen make distclean gemacht, bevor Du das
Zeugs gebaut hast :?:

Grüsse,
Gerhard
 
Hallo Gerhard,

das make distclean habe ich nach dem configure gemacht und dann noch mal configure aufgeruften (lief sonst nicht). Die Core liegt auf dem Server unter http://mruether.de/core/core die sane-find scanner unter http://mruether.de/core/sane-find-scanner . hoffe, das bringt uns weiter.

Gruß

Mirko
 
Hmmm irgendwas muss schiefgelaufen sein:

Code:
>file sane-find-scanner
>sane-find-scanner: ELF 32-bit LSB executable, Intel 80386, version 1 (SYSV), dynamically linked (uses shared libs), not stripped

will heissen, das Ding ist nachwievor dynamisch gelinkt.
make distclean löscht Dir alle von ./configure gemachten
Einstellungen. Das Flag --disable-shared muss unbedingt gestzt
sein, sonst geht das nicht. Mit den shared libs kann ich hier leider
nix anfangen, da meine SuSE noch auf dem Stand 8.2 ist und
wahrscheinlich noch 'ne Weile bleibt...
Was aber wohl der Fall ist, soweit ich das gesehen hab, ist der
Übeltäter die libusb, aber näheres, wenn die die statisch gelinkte
Version hast...

Grüsse,
Gerhard
 
Hallo Gerhard,

ich bekomme es einfach nicht hin, daß Teil statisch zu linken:

Code:
 cd sane-backends-1.0.14/
votava:/home/votava/download/sane-backends-1.0.14 # make distclean
make: *** Keine Regel, um »distclean« zu erstellen.  Schluss.
votava:/home/votava/download/sane-backends-1.0.14 # CFLAGS="-g -O -Wall"
votava:/home/votava/download/sane-backends-1.0.14 # ./configure --prefix=/usr --sysconfdir=/etc --mandir=/usr/share/man --infodir=/usr/share/info --disable-shared
checking build system type... i686-pc-linux-gnu
checking host system type... i686-pc-linux-gnu
checking for gcc... gcc
checking for C compiler default output file name... a.out
checking whether the C compiler works... yes
checking whether we are cross compiling... no
checking for suffix of executables...
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking for gcc option to accept ANSI C... none needed
checking for a BSD-compatible install... /usr/bin/install -c
checking whether make sets $(MAKE)... yes
checking how to run the C preprocessor... gcc -E
checking for egrep... grep -E
checking whether gcc needs -traditional... no
checking for sane-config... /usr/bin/sane-config
checking for msgfmt... /usr/bin/msgfmt
checking for xgettext... /usr/bin/xgettext
checking for msgmerge... /usr/bin/msgmerge
checking for latex... /usr/bin/latex
checking for dvips... /usr/bin/dvips
checking for makeindex... /usr/bin/makeindex
checking linker parameter to set runtime link path... -Wl,-rpath,
checking for AIX... no
checking for ANSI C header files... yes
checking for sys/types.h... yes
checking for sys/stat.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for memory.h... yes
checking for strings.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for unistd.h... yes
checking minix/config.h usability... no
checking minix/config.h presence... no
checking for minix/config.h... no
checking for strerror in -lcposix... no
checking mach-o/dyld.h usability... no
checking mach-o/dyld.h presence... no
checking for mach-o/dyld.h... no
checking dlfcn.h usability... yes
checking dlfcn.h presence... yes
checking for dlfcn.h... yes
checking for dlopen in -ldl... yes
checking for dlopen... yes
checking dl.h usability... no
checking dl.h presence... no
checking for dl.h... no
checking for sqrt in -lm... yes
checking for scsireq_enter in -lscsi... no
checking for cam_open_device in -lcam... no
checking for gethostbyaddr in -lnsl... yes
checking for socket in -lsocket... no
checking for syslog in -lsyslog... no
checking for jpeg_start_decompress in -ljpeg... yes
checking jconfig.h usability... yes
checking jconfig.h presence... yes
checking for jconfig.h... yes
checking for jpeglib - version >= 61 (6a)... yes
checking ieee1284.h usability... no
checking ieee1284.h presence... no
checking for ieee1284.h... no
checking whether to enable pthread support... no
checking for gphoto2-config... gphoto2-config
checking for sane_init in -lsane... yes
checking for ANSI C header files... (cached) yes
checking fcntl.h usability... yes
checking fcntl.h presence... yes
checking for fcntl.h... yes
checking for unistd.h... (cached) yes
checking libc.h usability... no
checking libc.h presence... no
checking for libc.h... no
checking sys/dsreq.h usability... no
checking sys/dsreq.h presence... no
checking for sys/dsreq.h... no
checking sys/select.h usability... yes
checking sys/select.h presence... yes
checking for sys/select.h... yes
checking sys/time.h usability... yes
checking sys/time.h presence... yes
checking for sys/time.h... yes
checking sys/shm.h usability... yes
checking sys/shm.h presence... yes
checking for sys/shm.h... yes
checking sys/scanio.h usability... no
checking sys/scanio.h presence... no
checking for sys/scanio.h... no
checking scsi.h usability... no
checking scsi.h presence... no
checking for scsi.h... no
checking sys/scsi.h usability... no
checking sys/scsi.h presence... no
checking for sys/scsi.h... no
checking sys/scsicmd.h usability... no
checking sys/scsicmd.h presence... no
checking for sys/scsicmd.h... no
checking sys/scsiio.h usability... no
checking sys/scsiio.h presence... no
checking for sys/scsiio.h... no
checking bsd/dev/scsireg.h usability... no
checking bsd/dev/scsireg.h presence... no
checking for bsd/dev/scsireg.h... no
checking scsi/sg.h usability... yes
checking scsi/sg.h presence... yes
checking for scsi/sg.h... yes
checking /usr/src/linux/include/scsi/sg.h usability... yes
checking /usr/src/linux/include/scsi/sg.h presence... yes
checking for /usr/src/linux/include/scsi/sg.h... yes
checking io/cam/cam.h usability... no
checking io/cam/cam.h presence... no
checking for io/cam/cam.h... no
checking camlib.h usability... no
checking camlib.h presence... no
checking for camlib.h... no
checking os2.h usability... no
checking os2.h presence... no
checking for os2.h... no
checking sys/socket.h usability... yes
checking sys/socket.h presence... yes
checking for sys/socket.h... yes
checking sys/io.h usability... yes
checking sys/io.h presence... yes
checking for sys/io.h... yes
checking gscdds.h usability... no
checking gscdds.h presence... no
checking for gscdds.h... no
checking sys/hw.h usability... no
checking sys/hw.h presence... no
checking for sys/hw.h... no
checking for sys/types.h... (cached) yes
checking sys/scsi/scsi.h usability... no
checking sys/scsi/scsi.h presence... no
checking for sys/scsi/scsi.h... no
checking sys/scsi/sgdefs.h usability... no
checking sys/scsi/sgdefs.h presence... no
checking for sys/scsi/sgdefs.h... no
checking sys/scsi/targets/scgio.h usability... no
checking sys/scsi/targets/scgio.h presence... no
checking for sys/scsi/targets/scgio.h... no
checking apollo/scsi.h usability... no
checking apollo/scsi.h presence... no
checking for apollo/scsi.h... no
checking sys/sdi_comm.h usability... no
checking sys/sdi_comm.h presence... no
checking for sys/sdi_comm.h... no
checking sys/passthrudef.h usability... no
checking sys/passthrudef.h presence... no
checking for sys/passthrudef.h... no
checking linux/ppdev.h usability... yes
checking linux/ppdev.h presence... yes
checking for linux/ppdev.h... yes
checking dev/ppbus/ppi.h usability... no
checking dev/ppbus/ppi.h presence... no
checking for dev/ppbus/ppi.h... no
checking machine/cpufunc.h usability... no
checking machine/cpufunc.h presence... no
checking for machine/cpufunc.h... no
checking usb.h usability... yes
checking usb.h presence... yes
checking for usb.h... yes
checking sys/bitypes.h usability... yes
checking sys/bitypes.h presence... yes
checking for sys/bitypes.h... yes
checking sys/sem.h usability... yes
checking sys/sem.h presence... yes
checking for sys/sem.h... yes
checking sys/poll.h usability... yes
checking sys/poll.h presence... yes
checking for sys/poll.h... yes
checking IOKit/cdb/IOSCSILib.h usability... no
checking IOKit/cdb/IOSCSILib.h presence... no
checking for IOKit/cdb/IOSCSILib.h... no
checking IOKit/scsi-commands/SCSICommandOperationCodes.h usability... no
checking IOKit/scsi-commands/SCSICommandOperationCodes.h presence... no
checking for IOKit/scsi-commands/SCSICommandOperationCodes.h... no
checking windows.h usability... no
checking windows.h presence... no
checking for windows.h... no
checking limits.h usability... yes
checking limits.h presence... yes
checking for limits.h... yes
checking sys/ioctl.h usability... yes
checking sys/ioctl.h presence... yes
checking for sys/ioctl.h... yes
checking asm/types.h usability... yes
checking asm/types.h presence... yes
checking for asm/types.h... yes
checking for asm/io.h... yes
checking return type of signal handlers... void
checking for size_t... yes
checking for pid_t... yes
checking for ssize_t... yes
checking for u_int8_t only in sys/bitypes.h... no, also in standard headers
checking for u_int8_t... yes
checking for u_int16_t... yes
checking for u_int32_t... yes
checking for u_char... yes
checking for u_int... yes
checking for u_long... yes
checking for long long support... yes
checking for socklen_t in <sys/socket.h>... yes
checking for union semun in <sys/sem.h>... no
checking for sg_header.target_status in <scsi/sg.h>... yes
checking for struct flock in fcntl.h... yes
checking for Linux ioctl defines... yes
checking whether byte ordering is bigendian... no
checking for an ANSI C-conforming const... yes
checking for inline... inline
checking for working alloca.h... yes
checking for alloca... yes
checking for stdlib.h... (cached) yes
checking for unistd.h... (cached) yes
checking for getpagesize... yes
checking for working mmap... yes
checking for atexit... yes
checking for inet_addr... yes
checking for inet_aton... yes
checking for inet_ntoa... yes
checking for ioperm... yes
checking for i386_set_ioperm... no
checking for mkdir... yes
checking for scsireq_enter... no
checking for strftime... yes
checking for strstr... yes
checking for strtod... yes
checking for cfmakeraw... yes
checking for tcsendbreak... yes
checking for strcasecmp... yes
checking for strncasecmp... yes
checking for _portaccess... no
checking for getaddrinfo... yes
checking for getnameinfo... yes
checking for poll... yes
checking for setitimer... yes
checking for iopl... yes
checking for getenv... yes
checking for inet_ntop... yes
checking for inet_pton... yes
checking for isfdtype... yes
checking for sigprocmask... yes
checking for snprintf... yes
checking for strdup... yes
checking for strndup... yes
checking for strsep... yes
checking for usleep... yes
checking for vsyslog... yes
checking for usb_get_busses in -lusb... yes
checking whether to enable IPv6... yes
checking whether struct sockaddr_storage has an ss_family member... yes
checking for a sed that does not truncate output... /bin/sed
checking for ld used by gcc... /usr/i586-suse-linux/bin/ld
checking if the linker (/usr/i586-suse-linux/bin/ld) is GNU ld... yes
checking for /usr/i586-suse-linux/bin/ld option to reload object files... -r
checking for BSD-compatible nm... /usr/bin/nm -B
checking whether ln -s works... yes
checking how to recognise dependent libraries... pass_all
checking for dlfcn.h... (cached) yes
checking for g++... g++
checking whether we are using the GNU C++ compiler... yes
checking whether g++ accepts -g... yes
checking how to run the C++ preprocessor... g++ -E
checking for g77... g77
checking whether we are using the GNU Fortran 77 compiler... yes
checking whether g77 accepts -g... yes
checking the maximum length of command line arguments... 32768
checking command to parse /usr/bin/nm -B output from gcc object... ok
checking for objdir... .libs
checking for ar... ar
checking for ranlib... ranlib
checking for strip... strip
checking if gcc static flag  works... yes
checking if gcc supports -fno-rtti -fno-exceptions... no
checking for gcc option to produce PIC... -fPIC
checking if gcc PIC flag -fPIC works... yes
checking if gcc supports -c -o file.o... yes
checking whether the gcc linker (/usr/i586-suse-linux/bin/ld) supports shared li
braries... yes
checking how to hardcode library paths into programs... immediate
checking whether stripping libraries is possible... yes
checking dynamic linker characteristics... GNU/Linux ld.so
checking if libtool supports shared libraries... yes
checking whether to build shared libraries... no
checking whether to build static libraries... yes
configure: creating libtool
appending configuration tag "CXX" to libtool
checking for ld used by g++... /usr/i586-suse-linux/bin/ld
checking if the linker (/usr/i586-suse-linux/bin/ld) is GNU ld... yes
checking whether the g++ linker (/usr/i586-suse-linux/bin/ld) supports shared li
braries... yes
checking for g++ option to produce PIC... -fPIC
checking if g++ PIC flag -fPIC works... yes
checking if g++ supports -c -o file.o... yes
checking whether the g++ linker (/usr/i586-suse-linux/bin/ld) supports shared li
braries... yes
checking how to hardcode library paths into programs... immediate
checking whether stripping libraries is possible... yes
checking dynamic linker characteristics... GNU/Linux ld.so
appending configuration tag "F77" to libtool
checking if libtool supports shared libraries... yes
checking whether to build shared libraries... no
checking whether to build static libraries... yes
checking for g77 option to produce PIC... -fPIC
checking if g77 PIC flag -fPIC works... yes
checking if g77 supports -c -o file.o... yes
checking whether the g77 linker (/usr/i586-suse-linux/bin/ld) supports shared li
braries... yes
checking how to hardcode library paths into programs... immediate
checking whether stripping libraries is possible... yes
checking dynamic linker characteristics... GNU/Linux ld.so
*** disabling CANON_PP backend (failed to find libieee1284 library)
*** disabling HPSJ5S backend (failed to find libieee1284 library)
*** disabling PINT backend (sys/scanio.h not found)
*** disabling pnm backend (not selected manually)
preloading backends into DLL
scsi buffersize: 131072
enabling translations
configure: creating ./config.status
config.status: creating Makefile
config.status: creating lib/Makefile
config.status: creating sanei/Makefile
config.status: creating frontend/Makefile
config.status: creating japi/Makefile
config.status: creating backend/Makefile
config.status: creating include/Makefile
config.status: creating doc/Makefile
config.status: creating po/Makefile
config.status: creating testsuite/Makefile
config.status: creating tools/Makefile
config.status: creating doc/doxygen-sanei.conf
config.status: creating tools/sane-config
config.status: creating include/sane/config.h
-> Variables used for compilation/linking:
CPPFLAGS=" -DPATH_SANE_CONFIG_DIR=$(configdir) -DPATH_SANE_DATA_DIR=$(datadir) -
DV_MAJOR=1 -DV_MINOR=0 -I/usr/include/gphoto2 -I/usr/include"
CFLAGS="-g -O2 -W -Wall"
LDFLAGS=" -L/usr/lib"
LIBS="-lusb -lnsl -lm -ljpeg -lgphoto2 -lm"
-> Installation directories:
Configuration: /etc
Libraries:     /usr/lib
Binaries:      /usr/bin and /usr/sbin
Manpages:      /usr/share/man
-> Network parameters:
Build saned:   yes
IPv6 support:  yes
-> The following backends will be built:
abaton agfafocus apple artec as6e avision bh canon canon630u coolscan coolscan2
dc25 dmc epson fujitsu gt68xx hp leo matsushita microtek microtek2 mustek mustek
_pp mustek_usb nec pie plustek plustek_pp ricoh s9036 sceptre sharp sp15c st400
tamarack test teco1 teco2 teco3 umax umax_pp umax1220u artec_eplus48u ma1509 ibm
 hp5400 u12 snapscan dc210 dc240 gphoto2 qcam v4l net sm3600
****************************************************************
* Please be sure to read file PROBLEMS in this directory       *
* BEFORE running any of the SANE applications.  Some devices   *
* may be damaged by inproper operation, so please do heed this *
* advice.                                                      *
****************************************************************
votava:/home/votava/download/sane-backends-1.0.14 #

file ./sane-find-scanner
./sane-find-scanner: ELF 32-bit LSB executable, Intel 80386, version 1 (SYSV), for GNU/Linux 2.2.5, dynamically linked (uses shared libs), not stripped

Wo liegt denn wohl der Fehler bei mir??

Gruß

Mirko
 
Oben