[sane-devel] ERROR DURING READ: Error during device I/O
m. allan noah
kitno455 at gmail.com
Mon Jul 30 20:10:55 UTC 2012
Ok, looks like you will need to get some additional debugging info
from the pixma backend:
SANE_DEBUG_PIXMA=255 saned -d5
allan
On Mon, Jul 30, 2012 at 2:20 PM, bseos <bseos at emailaccount.com> wrote:
>
> My apologies, here is the log:
>
> Tomato v1.28.9007 MIPSR2_RAF K26 USB VPN-NOCAT
> root at E3000:/tmp/home/root# saned -d5
> [saned] main: starting debug mode (level 5)
> [saned] read_config: searching for config file
> [saned] read_config: done reading config
> [saned] saned (AF-indep+IPv6) from sane-backends 1.0.22 starting up
> [saned] do_bindings: trying to get port for service "sane-port"
> (getaddrinfo)
> [saned] do_bindings: [0] socket () using IPv6
> [saned] do_bindings: [0] setsockopt ()
> [saned] do_bindings: [0] bind () to port 6566
> [saned] do_bindings: [0] listen ()
> [saned] do_bindings: [1] socket () using IPv4
> [saned] do_bindings: [1] setsockopt ()
> [saned] do_bindings: [1] bind () to port 6566
> [saned] do_bindings: [1] bind failed: Address already in use
> [saned] run_standalone: waiting for control connection
>
> [saned] handle_connection: processing client connection
> [saned] check_host: detected an IPv4-mapped address
> [saned] check_host: access by remote host: ::ffff:192.168.1.62
> [saned] check_host: remote host is not IN_LOOPBACK nor IN6_LOOPBACK
> [saned] check_host: local hostname: E3000
> [saned] check_host: local hostname(s) (from DNS): c0a8:101:d841:b97f::
> [saned] check_host: local hostname(s) (from DNS): c0a8:101:d841:b97f::
> [saned] check_host: local hostname(s) (from DNS): c0a8:101:d841:b97f::
> [saned] check_host: local hostname(s) (from DNS): E3000
> [saned] check_host: local hostname(s) (from DNS): E3000
> [saned] check_host: local hostname(s) (from DNS): E3000
> [saned] check_host: remote host doesn't have same addr as local
> [saned] check_host: opening config file: /etc/hosts.equiv
> [saned] check_host: can't open config file: /etc/hosts.equiv (No such file
> or directory)
> [saned] check_host: opening config file: saned.conf
> [saned] check_host: config file line: `# saned.conf'
> [saned] check_host: config file line: `# Configuration for the saned daemon'
> [saned] check_host: config file line: `'
> [saned] check_host: config file line: `## Daemon options'
> [saned] check_host: config file line: `# Port range for the data connection.
> Choose a range inside [1024 - 65535].'
> [saned] check_host: config file line: `# Avoid specifying too large a range,
> for performance reasons.'
> [saned] check_host: config file line: `#'
> [saned] check_host: config file line: `# ONLY use this if your saned server
> is sitting behind a firewall. If your'
> [saned] check_host: config file line: `# firewall is a Linux machine, we
> strongly recommend using the'
> [saned] check_host: config file line: `# Netfilter nf_conntrack_sane
> connection tracking module instead.'
> [saned] check_host: config file line: `#'
> [saned] check_host: config file line: `# data_portrange = 10000 - 10100'
> [saned] check_host: config file line: `'
> [saned] check_host: config file line: `'
> [saned] check_host: config file line: `## Access list'
> [saned] check_host: config file line: `# A list of host names, IP addresses
> or IP subnets (CIDR notation) that'
> [saned] check_host: config file line: `# are permitted to use local SANE
> devices. IPv6 addresses must be enclosed'
> [saned] check_host: config file line: `# in brackets, and should always be
> specified in their compressed form.'
> [saned] check_host: config file line: `#'
> [saned] check_host: config file line: `# The hostname matching is not
> case-sensitive.'
> [saned] check_host: config file line: `'
> [saned] check_host: config file line: `#scan-client.somedomain.firm'
> [saned] check_host: config file line: `#192.168.0.1'
> [saned] check_host: config file line: `#192.168.0.1/29'
> [saned] check_host: config file line: `#[2001:7a8:185e::42:12]'
> [saned] check_host: config file line: `#[2001:7a8:185e::42:12]/64'
> [saned] check_host: config file line: `'
> [saned] check_host: config file line: `# NOTE: /etc/inetd.conf (or
> /etc/xinetd.conf) and'
> [saned] check_host: config file line: `# /etc/services must also be properly
> configured to start'
> [saned] check_host: config file line: `# the saned daemon as documented in
> saned(8), services(4)'
> [saned] check_host: config file line: `# and inetd.conf(4) (or
> xinetd.conf(5)).'
> [saned] check_host: config file line: `192.168.1.0/24'
> [saned] check_host: subnet with base IP = 192.168.1.0, CIDR netmask = 24
> [saned] check_host: access granted from IP address 192.168.1.62 (in subnet
> 192.168.1.0/24)
> [saned] init: access granted
> [saned] init: access granted to Bob@::ffff:192.168.1.62
> [saned] process_request: waiting for request
> [saned] process_request: got request 1
> [saned] process_request: waiting for request
> [saned] process_request: got request 2
> [saned] process_request: access to resource `pixma' granted
> [saned] process_request: sane_open returned: Success
> [saned] process_request: waiting for request
> [saned] process_request: got request 4
> [saned] process_request: waiting for request
> [saned] process_request: got request 5
> [saned] process_request: waiting for request
> [saned] process_request: got request 5
> [saned] process_request: waiting for request
> [saned] process_request: got request 5
> [saned] process_request: waiting for request
> [saned] process_request: got request 5
> [saned] process_request: waiting for request
> [saned] process_request: got request 5
> [saned] process_request: waiting for request
> [saned] process_request: got request 5
> [saned] process_request: waiting for request
> [saned] process_request: got request 5
> [saned] process_request: waiting for request
> [saned] process_request: got request 5
> [saned] process_request: waiting for request
> [saned] process_request: got request 5
> [saned] process_request: waiting for request
> [saned] process_request: got request 5
> [saned] process_request: waiting for request
> [saned] process_request: got request 5
> [saned] process_request: waiting for request
> [saned] process_request: got request 5
> [saned] process_request: waiting for request
> [saned] process_request: got request 5
> [saned] process_request: waiting for request
> [saned] process_request: got request 5
> [saned] process_request: waiting for request
> [saned] process_request: got request 5
> [saned] process_request: waiting for request
> [saned] process_request: got request 6
> [saned] process_request: waiting for request
> [saned] process_request: got request 5
> [saned] process_request: waiting for request
> [saned] process_request: got request 5
> [saned] process_request: waiting for request
> [saned] process_request: got request 5
> [saned] process_request: waiting for request
> [saned] process_request: got request 5
> [saned] process_request: waiting for request
> [saned] process_request: got request 5
> [saned] process_request: waiting for request
> [saned] process_request: got request 5
> [saned] process_request: waiting for request
> [saned] process_request: got request 5
> [saned] process_request: waiting for request
> [saned] process_request: got request 5
> [saned] process_request: waiting for request
> [saned] process_request: got request 5
> [saned] process_request: waiting for request
> [saned] process_request: got request 5
> [saned] process_request: waiting for request
> [saned] process_request: got request 5
> [saned] process_request: waiting for request
> [saned] process_request: got request 5
> [saned] process_request: waiting for request
> [saned] process_request: got request 5
> [saned] process_request: waiting for request
> [saned] process_request: got request 5
> [saned] process_request: waiting for request
> [saned] process_request: got request 5
> [saned] process_request: waiting for request
> [saned] process_request: got request 5
> [saned] process_request: waiting for request
> [saned] process_request: got request 5
> [saned] process_request: waiting for request
> [saned] process_request: got request 5
> [saned] process_request: waiting for request
> [saned] process_request: got request 5
> [saned] process_request: waiting for request
> [saned] process_request: got request 5
> [saned] process_request: waiting for request
> [saned] process_request: got request 6
> [saned] process_request: waiting for request
> [saned] process_request: got request 5
> [saned] process_request: waiting for request
> [saned] process_request: got request 5
> [saned] process_request: waiting for request
> [saned] process_request: got request 5
> [saned] process_request: waiting for request
> [saned] process_request: got request 5
> [saned] process_request: waiting for request
> [saned] process_request: got request 5
> [saned] process_request: waiting for request
> [saned] process_request: got request 5
> [saned] process_request: waiting for request
> [saned] process_request: got request 5
> [saned] process_request: waiting for request
> [saned] process_request: got request 5
> [saned] process_request: waiting for request
> [saned] process_request: got request 5
> [saned] process_request: waiting for request
> [saned] process_request: got request 5
> [saned] process_request: waiting for request
> [saned] process_request: got request 5
> [saned] process_request: waiting for request
> [saned] process_request: got request 5
> [saned] process_request: waiting for request
> [saned] process_request: got request 5
> [saned] process_request: waiting for request
> [saned] process_request: got request 5
> [saned] process_request: waiting for request
> [saned] process_request: got request 6
> [saned] process_request: waiting for request
> [saned] process_request: got request 5
> [saned] process_request: waiting for request
> [saned] process_request: got request 5
> [saned] process_request: waiting for request
> [saned] process_request: got request 5
> [saned] process_request: waiting for request
> [saned] process_request: got request 5
> [saned] process_request: waiting for request
> [saned] process_request: got request 5
> [saned] process_request: waiting for request
> [saned] process_request: got request 5
> [saned] process_request: waiting for request
> [saned] process_request: got request 5
> [saned] process_request: waiting for request
> [saned] process_request: got request 5
> [saned] process_request: waiting for request
> [saned] process_request: got request 6
> [saned] process_request: waiting for request
> [saned] process_request: got request 5
> [saned] process_request: waiting for request
> [saned] process_request: got request 5
> [saned] process_request: waiting for request
> [saned] process_request: got request 5
> [saned] process_request: waiting for request
> [saned] process_request: got request 5
> [saned] process_request: waiting for request
> [saned] process_request: got request 5
> [saned] process_request: waiting for request
> [saned] process_request: got request 5
> [saned] process_request: waiting for request
> [saned] process_request: got request 5
> [saned] process_request: waiting for request
> [saned] process_request: got request 5
> [saned] process_request: waiting for request
> [saned] process_request: got request 6
> [saned] process_request: waiting for request
> [saned] process_request: got request 5
> [saned] process_request: waiting for request
> [saned] process_request: got request 5
> [saned] process_request: waiting for request
> [saned] process_request: got request 5
> [saned] process_request: waiting for request
> [saned] process_request: got request 5
> [saned] process_request: waiting for request
> [saned] process_request: got request 5
> [saned] process_request: waiting for request
> [saned] process_request: got request 5
> [saned] process_request: waiting for request
> [saned] process_request: got request 5
> [saned] process_request: waiting for request
> [saned] process_request: got request 5
> [saned] process_request: waiting for request
> [saned] process_request: got request 5
> [saned] process_request: waiting for request
> [saned] process_request: got request 5
> [saned] process_request: waiting for request
> [saned] process_request: got request 5
> [saned] process_request: waiting for request
> [saned] process_request: got request 5
> [saned] process_request: waiting for request
> [saned] process_request: got request 5
> [saned] process_request: waiting for request
> [saned] process_request: got request 5
> [saned] process_request: waiting for request
> [saned] process_request: got request 6
> [saned] process_request: waiting for request
> [saned] process_request: got request 5
> [saned] process_request: waiting for request
> [saned] process_request: got request 5
> [saned] process_request: waiting for request
> [saned] process_request: got request 5
> [saned] process_request: waiting for request
> [saned] process_request: got request 5
> [saned] process_request: waiting for request
> [saned] process_request: got request 5
> [saned] process_request: waiting for request
> [saned] process_request: got request 5
> [saned] process_request: waiting for request
> [saned] process_request: got request 5
> [saned] process_request: waiting for request
> [saned] process_request: got request 5
> [saned] process_request: waiting for request
> [saned] process_request: got request 6
> [saned] process_request: waiting for request
> [saned] process_request: got request 5
> [saned] process_request: waiting for request
> [saned] process_request: got request 5
> [saned] process_request: waiting for request
> [saned] process_request: got request 5
> [saned] process_request: waiting for request
> [saned] process_request: got request 5
> [saned] process_request: waiting for request
> [saned] process_request: got request 5
> [saned] process_request: waiting for request
> [saned] process_request: got request 5
> [saned] process_request: waiting for request
> [saned] process_request: got request 5
> [saned] process_request: waiting for request
> [saned] process_request: got request 5
> [saned] process_request: waiting for request
> [saned] process_request: got request 5
> [saned] process_request: waiting for request
> [saned] process_request: got request 5
> [saned] process_request: waiting for request
> [saned] process_request: got request 5
> [saned] process_request: waiting for request
> [saned] process_request: got request 5
> [saned] process_request: waiting for request
> [saned] process_request: got request 5
> [saned] process_request: waiting for request
> [saned] process_request: got request 5
> [saned] process_request: waiting for request
> [saned] process_request: got request 5
> [saned] process_request: waiting for request
> [saned] process_request: got request 5
> [saned] process_request: waiting for request
> [saned] process_request: got request 5
> [saned] process_request: waiting for request
> [saned] process_request: got request 5
> [saned] process_request: waiting for request
> [saned] process_request: got request 5
> [saned] process_request: waiting for request
> [saned] process_request: got request 5
> [saned] process_request: waiting for request
> [saned] process_request: got request 5
> [saned] process_request: waiting for request
> [saned] process_request: got request 5
> [saned] process_request: waiting for request
> [saned] process_request: got request 5
> [saned] process_request: waiting for request
> [saned] process_request: got request 5
> [saned] process_request: waiting for request
> [saned] process_request: got request 5
> [saned] process_request: waiting for request
> [saned] process_request: got request 6
> [saned] process_request: waiting for request
> [saned] process_request: got request 5
> [saned] process_request: waiting for request
> [saned] process_request: got request 5
> [saned] process_request: waiting for request
> [saned] process_request: got request 5
> [saned] process_request: waiting for request
> [saned] process_request: got request 5
> [saned] process_request: waiting for request
> [saned] process_request: got request 5
> [saned] process_request: waiting for request
> [saned] process_request: got request 5
> [saned] process_request: waiting for request
> [saned] process_request: got request 5
> [saned] process_request: waiting for request
> [saned] process_request: got request 5
> [saned] process_request: waiting for request
> [saned] process_request: got request 5
> [saned] process_request: waiting for request
> [saned] process_request: got request 5
> [saned] process_request: waiting for request
> [saned] process_request: got request 5
> [saned] process_request: waiting for request
> [saned] process_request: got request 5
> [saned] process_request: waiting for request
> [saned] process_request: got request 5
> [saned] process_request: waiting for request
> [saned] process_request: got request 5
> [saned] process_request: waiting for request
> [saned] process_request: got request 5
> [saned] process_request: waiting for request
> [saned] process_request: got request 5
> [saned] process_request: waiting for request
> [saned] process_request: got request 5
> [saned] process_request: waiting for request
> [saned] process_request: got request 5
> [saned] process_request: waiting for request
> [saned] process_request: got request 5
> [saned] process_request: waiting for request
> [saned] process_request: got request 5
> [saned] process_request: waiting for request
> [saned] process_request: got request 6
> [saned] process_request: waiting for request
> [saned] process_request: got request 5
> [saned] process_request: waiting for request
> [saned] process_request: got request 5
> [saned] process_request: waiting for request
> [saned] process_request: got request 5
> [saned] process_request: waiting for request
> [saned] process_request: got request 5
> [saned] process_request: waiting for request
> [saned] process_request: got request 5
> [saned] process_request: waiting for request
> [saned] process_request: got request 5
> [saned] process_request: waiting for request
> [saned] process_request: got request 5
> [saned] process_request: waiting for request
> [saned] process_request: got request 5
> [saned] process_request: waiting for request
> [saned] process_request: got request 5
> [saned] process_request: waiting for request
> [saned] process_request: got request 5
> [saned] process_request: waiting for request
> [saned] process_request: got request 5
> [saned] process_request: waiting for request
> [saned] process_request: got request 5
> [saned] process_request: waiting for request
> [saned] process_request: got request 7
> [saned] start_scan: trying to bind data port 0
> [saned] start_scan: using port 29841 for data
> [saned] process_request: waiting for data connection
> [saned] process_request: access to data port from ::ffff:192.168.1.62
> [saned] do_scan: start
> [saned] do_scan: processing RPC request on fd 4
> [saned] process_request: waiting for request
> [saned] process_request: got request 6
> [saned] do_scan: trying to read 8188 bytes from scanner
> [saned] do_scan: read 0 bytes from scanner
> [saned] do_scan: status = `Error during device I/O'
> [saned] do_scan: statuscode `Error during device I/O' was added to buffer
> [saned] do_scan: select_fd was closed --> EOF
> [saned] do_scan: trying to write 9 bytes to client
> [saned] do_scan: wrote 9 bytes to client
> [saned] do_scan: done, status=End of file reached
> [saned] process_request: waiting for request
> [saned] process_request: got request 8
> [saned] process_request: waiting for request
> [saned] process_request: got request 5
> [saned] process_request: waiting for request
> [saned] process_request: got request 5
> [saned] process_request: waiting for request
> [saned] process_request: got request 5
> [saned] process_request: waiting for request
> [saned] process_request: got request 5
> [saned] process_request: waiting for request
> [saned] process_request: got request 5
> [saned] process_request: waiting for request
> [saned] process_request: got request 5
> [saned] process_request: waiting for request
> [saned] process_request: got request 5
> [saned] process_request: waiting for request
> [saned] process_request: got request 5
> [saned] process_request: waiting for request
> [saned] process_request: got request 5
> [saned] process_request: waiting for request
> [saned] process_request: got request 5
> [saned] process_request: waiting for request
> [saned] process_request: got request 5
> [saned] process_request: waiting for request
> [saned] process_request: got request 5
> [saned] process_request: waiting for request
> [saned] process_request: got request 5
> [saned] process_request: waiting for request
> [saned] process_request: got request 5
> [saned] process_request: waiting for request
> [saned] process_request: got request 5
> [saned] process_request: waiting for request
> [saned] process_request: got request 5
> [saned] process_request: waiting for request
> [saned] process_request: got request 5
> [saned] process_request: waiting for request
> [saned] process_request: got request 5
> [saned] process_request: waiting for request
> [saned] process_request: got request 5
> [saned] process_request: waiting for request
> [saned] process_request: got request 5
> [saned] process_request: waiting for request
> [saned] process_request: got request 5
> [saned] process_request: waiting for request
> [saned] process_request: got request 5
> [saned] process_request: waiting for request
> [saned] process_request: got request 5
> [saned] process_request: waiting for request
> [saned] process_request: got request 5
> [saned] process_request: waiting for request
> [saned] process_request: got request 5
> [saned] process_request: waiting for request
> [saned] process_request: got request 5
> [saned] process_request: waiting for request
> [saned] process_request: got request 5
> [saned] process_request: waiting for request
> [saned] process_request: got request 5
> [saned] process_request: waiting for request
> [saned] process_request: got request 5
> [saned] process_request: waiting for request
> [saned] process_request: got request 5
> [saned] process_request: waiting for request
> [saned] process_request: got request 6
> [saned] process_request: waiting for request
> [saned] process_request: got request 6
> [saned] process_request: waiting for request
>
>
>
> m. allan noah-3 wrote:
>>
>> You must disable xinetd before you run saned -d5.
>>
>> allan
>
> --
> View this message in context: http://old.nabble.com/ERROR-DURING-READ%3A-Error-during-device-I-O-tp34231561p34232021.html
> Sent from the SANE - Dev mailing list archive at Nabble.com.
>
>
> --
> sane-devel mailing list: sane-devel at lists.alioth.debian.org
> http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/sane-devel
> Unsubscribe: Send mail with subject "unsubscribe your_password"
> to sane-devel-request at lists.alioth.debian.org
--
"The truth is an offense, but not a sin"
More information about the sane-devel
mailing list