Du bist nicht angemeldet.

#1 05.10.2019 00:20:47

TheCybertronic
Mitglied

Network Scan Issue (Samsung M2885FW )

Hey Guys,
so I finally took up my arch installation again and continued by just setting up my new M2885FW. The wiki and several other sources where already quite helpful and the installation straight forward so far... until it came to scanning. At first I though it would be as easy as the printing part... installing SANE, xsane & the universal samsung drivers - maybe tweak some configuration - done.... well... it was not.

State of the Art

  • Device connected via WiFi (static IP)

  • Samsumg Universal Drivers installed

  • CUPS installed & configured - printing works

  • SANE & xsane installed

  • Updated /etc/sane.d/xerox_mfp.conf, adding "tcp 192.168.1.71" (as per SANE/Scanner-specific_problems)

  • Updated /etc/sane.d/v4l.conf to prevent the camera from being recognized as scanner

Behaviour

  • Running scanimage -L establishes the connection and the device starts up - the output looks fine:

    device `xerox_mfp:tcp 192.168.1.71' is a Samsung M288x Series multi-function peripheral
  • Using scanimage --format=png > test.png however fails with:

    scanimage: sane_start: Error during device I/O
  • Same happens with scanimage --device "xerox_mfp:tcp 192.168.1.71" --format=tiff > test.tiff

  • Trying it via xsane, the scanner is recognized just fine as well yet when scanning (or requesting a preview), it just dies with:

    Floating point exception (core dumped)

I obviously tried checking journalctl and the dumped core as well... if I understand it right, there is a division by 0 in libsane-xerox_mfp.so. Unfortunately I'm not at the end of my knowledge already and also couldn't find a solution online so far - thus turning to you guys in hope of some help or a push in the right direction.

journalctl output

Oct 04 21:49:03 nova audit[2324]: ANOM_ABEND auid=1000 uid=1000 gid=1000 ses=3 pid=2324 comm="xsane" exe="/usr/bin/xsane" sig=8 res=1
Oct 04 21:49:03 nova kernel: traps: xsane[2324] trap divide error ip:7f08e8dd4265 sp:7ffee105c250 error:0 in libsane-xerox_mfp.so.1.0.28[7f08e8dcc000+a000]
Oct 04 21:49:03 nova kernel: audit: type=1701 audit(1570218543.840:40): auid=1000 uid=1000 gid=1000 ses=3 pid=2324 comm="xsane" exe="/usr/bin/xsane" sig=8 res=1
Oct 04 21:49:03 nova systemd[1]: Created slice system-systemd\x2dcoredump.slice.
Oct 04 21:49:03 nova systemd[1]: Starting Cleanup of Temporary Directories...
Oct 04 21:49:03 nova systemd[1]: Started Process Core Dump (PID 2334/UID 0).
Oct 04 21:49:03 nova audit[1]: SERVICE_START pid=1 uid=0 auid=4294967295 ses=4294967295 msg='unit=systemd-coredump@0-2334-0 comm="systemd" exe="/usr/lib/systemd/systemd" hostname=? addr=? terminal=? res=success'
Oct 04 21:49:03 nova kernel: audit: type=1130 audit(1570218543.927:41): pid=1 uid=0 auid=4294967295 ses=4294967295 msg='unit=systemd-coredump@0-2334-0 comm="systemd" exe="/usr/lib/systemd/systemd" hostname=? addr=? terminal=? res=success'
Oct 04 21:49:03 nova systemd[1]: systemd-tmpfiles-clean.service: Succeeded.
Oct 04 21:49:03 nova systemd[1]: Started Cleanup of Temporary Directories.
Oct 04 21:49:03 nova audit[1]: SERVICE_START pid=1 uid=0 auid=4294967295 ses=4294967295 msg='unit=systemd-tmpfiles-clean comm="systemd" exe="/usr/lib/systemd/systemd" hostname=? addr=? terminal=? res=success'
Oct 04 21:49:03 nova audit[1]: SERVICE_STOP pid=1 uid=0 auid=4294967295 ses=4294967295 msg='unit=systemd-tmpfiles-clean comm="systemd" exe="/usr/lib/systemd/systemd" hostname=? addr=? terminal=? res=success'
Oct 04 21:49:03 nova kernel: audit: type=1130 audit(1570218543.957:42): pid=1 uid=0 auid=4294967295 ses=4294967295 msg='unit=systemd-tmpfiles-clean comm="systemd" exe="/usr/lib/systemd/systemd" hostname=? addr=? terminal=? res=success'
Oct 04 21:49:03 nova kernel: audit: type=1131 audit(1570218543.957:43): pid=1 uid=0 auid=4294967295 ses=4294967295 msg='unit=systemd-tmpfiles-clean comm="systemd" exe="/usr/lib/systemd/systemd" hostname=? addr=? terminal=? res=success'
Oct 04 21:49:04 nova systemd-coredump[2336]: Process 2324 (xsane) of user 1000 dumped core.
                                             
                                             Stack trace of thread 2324:
                                             #0  0x00007f08e8dd4265 sane_xerox_mfp_read (libsane-xerox_mfp.so.1)
                                             #1  0x000055fa812748ae n/a (xsane)
                                             #2  0x000055fa81273a6f n/a (xsane)
                                             #3  0x000055fa81275c80 n/a (xsane)
                                             #4  0x00007f08eb5ecd3a g_closure_invoke (libgobject-2.0.so.0)
                                             #5  0x00007f08eb5da88e n/a (libgobject-2.0.so.0)
                                             #6  0x00007f08eb5de98a g_signal_emit_valist (libgobject-2.0.so.0)
                                             #7  0x00007f08eb5df7f0 g_signal_emit (libgobject-2.0.so.0)
                                             #8  0x00007f08eb951895 n/a (libgtk-x11-2.0.so.0)
                                             #9  0x00007f08eb5ecd3a g_closure_invoke (libgobject-2.0.so.0)
                                             #10 0x00007f08eb5da9e4 n/a (libgobject-2.0.so.0)
                                             #11 0x00007f08eb5de98a g_signal_emit_valist (libgobject-2.0.so.0)
                                             #12 0x00007f08eb5df7f0 g_signal_emit (libgobject-2.0.so.0)
                                             #13 0x00007f08eb9507ba n/a (libgtk-x11-2.0.so.0)
                                             #14 0x00007f08eb9f97cc n/a (libgtk-x11-2.0.so.0)
                                             #15 0x00007f08eb5ecd3a g_closure_invoke (libgobject-2.0.so.0)
                                             #16 0x00007f08eb5d9ff8 n/a (libgobject-2.0.so.0)
                                             #17 0x00007f08eb5ddf1c g_signal_emit_valist (libgobject-2.0.so.0)
                                             #18 0x00007f08eb5df7f0 g_signal_emit (libgobject-2.0.so.0)
                                             #19 0x00007f08ebb14235 n/a (libgtk-x11-2.0.so.0)
                                             #20 0x00007f08eb9f7a0e gtk_propagate_event (libgtk-x11-2.0.so.0)
                                             #21 0x00007f08eb9f7e43 gtk_main_do_event (libgtk-x11-2.0.so.0)
                                             #22 0x00007f08eb670d5e n/a (libgdk-x11-2.0.so.0)
                                             #23 0x00007f08eb5003ae g_main_context_dispatch (libglib-2.0.so.0)
                                             #24 0x00007f08eb5021c1 n/a (libglib-2.0.so.0)
                                             #25 0x00007f08eb5030d3 g_main_loop_run (libglib-2.0.so.0)
                                             #26 0x00007f08eb9f6df3 gtk_main (libgtk-x11-2.0.so.0)
                                             #27 0x000055fa81286927 n/a (xsane)
                                             #28 0x000055fa812153f1 n/a (xsane)
                                             #29 0x00007f08eade3ee3 __libc_start_main (libc.so.6)
                                             #30 0x000055fa8121554e n/a (xsane)
                                             
                                             Stack trace of thread 2333:
                                             #0  0x00007f08eaeae667 __poll (libc.so.6)
                                             #1  0x00007f08e8daea3c n/a (libavahi-common.so.3)
                                             #2  0x00007f08e8dae5e1 avahi_simple_poll_run (libavahi-common.so.3)
                                             #3  0x00007f08e8dae7b9 avahi_simple_poll_iterate (libavahi-common.so.3)
                                             #4  0x00007f08e8dae9d4 avahi_simple_poll_loop (libavahi-common.so.3)
                                             #5  0x00007f08e8daea9b n/a (libavahi-common.so.3)
                                             #6  0x00007f08ea67057f start_thread (libpthread.so.0)
                                             #7  0x00007f08eaeb90e3 __clone (libc.so.6)
                                             
                                             Stack trace of thread 2326:
                                             #0  0x00007f08eaeae667 __poll (libc.so.6)
                                             #1  0x00007f08e8d9b803 n/a (libusb-1.0.so.0)
                                             #2  0x00007f08ea67057f start_thread (libpthread.so.0)
                                             #3  0x00007f08eaeb90e3 __clone (libc.so.6)
Oct 04 21:49:04 nova systemd[1]: systemd-coredump@0-2334-0.service: Succeeded.
Oct 04 21:49:04 nova kernel: audit: type=1131 audit(1570218544.273:44): pid=1 uid=0 auid=4294967295 ses=4294967295 msg='unit=systemd-coredump@0-2334-0 comm="systemd" exe="/usr/lib/systemd/systemd" hostname=? addr=? terminal=? res=success'
Oct 04 21:49:04 nova audit[1]: SERVICE_STOP pid=1 uid=0 auid=4294967295 ses=4294967295 msg='unit=systemd-coredump@0-2334-0 comm="systemd" exe="/usr/lib/systemd/systemd" hostname=? addr=? terminal=? res=success'

core dump

$ coredumpctl -q info 2324
           PID: 2324 (xsane)
           UID: 1000 (peter)
           GID: 1000 (peter)
        Signal: 8 (FPE)
     Timestamp: Fri 2019-10-04 21:49:03 CEST (7min ago)
  Command Line: xsane
    Executable: /usr/bin/xsane
 Control Group: /user.slice/user-1000.slice/user@1000.service/gnome-terminal-server.service
          Unit: user@1000.service
     User Unit: gnome-terminal-server.service
         Slice: user-1000.slice
     Owner UID: 1000 (peter)
       Boot ID: 52bfe673ba67490fbe33c4173b334ce4
    Machine ID: 6c01ebdf59024282b265dc91d67779fa
      Hostname: nova
       Storage: /var/lib/systemd/coredump/core.xsane.1000.52bfe673ba67490fbe33c4173b334ce4.2324.1570218543000000000000.lz4
       Message: Process 2324 (xsane) of user 1000 dumped core.
                
                Stack trace of thread 2324:
                #0  0x00007f08e8dd4265 sane_xerox_mfp_read (libsane-xerox_mfp.so.1)
                #1  0x000055fa812748ae n/a (xsane)
                #2  0x000055fa81273a6f n/a (xsane)
                #3  0x000055fa81275c80 n/a (xsane)
                #4  0x00007f08eb5ecd3a g_closure_invoke (libgobject-2.0.so.0)
                #5  0x00007f08eb5da88e n/a (libgobject-2.0.so.0)
                #6  0x00007f08eb5de98a g_signal_emit_valist (libgobject-2.0.so.0)
                #7  0x00007f08eb5df7f0 g_signal_emit (libgobject-2.0.so.0)
                #8  0x00007f08eb951895 n/a (libgtk-x11-2.0.so.0)
                #9  0x00007f08eb5ecd3a g_closure_invoke (libgobject-2.0.so.0)
                #10 0x00007f08eb5da9e4 n/a (libgobject-2.0.so.0)
                #11 0x00007f08eb5de98a g_signal_emit_valist (libgobject-2.0.so.0)
                #12 0x00007f08eb5df7f0 g_signal_emit (libgobject-2.0.so.0)
                #13 0x00007f08eb9507ba n/a (libgtk-x11-2.0.so.0)
                #14 0x00007f08eb9f97cc n/a (libgtk-x11-2.0.so.0)
                #15 0x00007f08eb5ecd3a g_closure_invoke (libgobject-2.0.so.0)
                #16 0x00007f08eb5d9ff8 n/a (libgobject-2.0.so.0)
                #17 0x00007f08eb5ddf1c g_signal_emit_valist (libgobject-2.0.so.0)
                #18 0x00007f08eb5df7f0 g_signal_emit (libgobject-2.0.so.0)
                #19 0x00007f08ebb14235 n/a (libgtk-x11-2.0.so.0)
                #20 0x00007f08eb9f7a0e gtk_propagate_event (libgtk-x11-2.0.so.0)
                #21 0x00007f08eb9f7e43 gtk_main_do_event (libgtk-x11-2.0.so.0)
                #22 0x00007f08eb670d5e n/a (libgdk-x11-2.0.so.0)
                #23 0x00007f08eb5003ae g_main_context_dispatch (libglib-2.0.so.0)
                #24 0x00007f08eb5021c1 n/a (libglib-2.0.so.0)
                #25 0x00007f08eb5030d3 g_main_loop_run (libglib-2.0.so.0)
                #26 0x00007f08eb9f6df3 gtk_main (libgtk-x11-2.0.so.0)
                #27 0x000055fa81286927 n/a (xsane)
                #28 0x000055fa812153f1 n/a (xsane)
                #29 0x00007f08eade3ee3 __libc_start_main (libc.so.6)
                #30 0x000055fa8121554e n/a (xsane)
                
                Stack trace of thread 2333:
                #0  0x00007f08eaeae667 __poll (libc.so.6)
                #1  0x00007f08e8daea3c n/a (libavahi-common.so.3)
                #2  0x00007f08e8dae5e1 avahi_simple_poll_run (libavahi-common.so.3)
                #3  0x00007f08e8dae7b9 avahi_simple_poll_iterate (libavahi-common.so.3)
                #4  0x00007f08e8dae9d4 avahi_simple_poll_loop (libavahi-common.so.3)
                #5  0x00007f08e8daea9b n/a (libavahi-common.so.3)
                #6  0x00007f08ea67057f start_thread (libpthread.so.0)
                #7  0x00007f08eaeb90e3 __clone (libc.so.6)
                
                Stack trace of thread 2326:
                #0  0x00007f08eaeae667 __poll (libc.so.6)
                #1  0x00007f08e8d9b803 n/a (libusb-1.0.so.0)
                #2  0x00007f08ea67057f start_thread (libpthread.so.0)
                #3  0x00007f08eaeb90e3 __clone (libc.so.6)

Offline

#2 05.10.2019 10:00:36

schard
Moderator

Re: Network Scan Issue (Samsung M2885FW )

Das sieht nach einem Bug im Scannertreiber aus. Am besten mal Upstream melden.
Eventuell kannst du den Bug auch umgehen, indem du mal mit den Scannereinstellungen spielst.

Offline

Schnellantwort auf dieses Thema

Schreibe deinen Beitrag und versende ihn
Deine Antwort

Fußzeile des Forums