|
List Info
Thread: Acard AEC6712S (atp870u.ko) and HP 6100C C2520A (sg.ko) problems
|
|
| Acard AEC6712S (atp870u.ko) and HP 6100C
C2520A (sg.ko) problems |

|
2006-08-18 01:15:41 |
I have an HP 6100C scanjet (I wonder why they call it a
scanjet) anyway
I have this scanner connected to an Acard SCSI PCI adapter.
When I load
the driver module for the SCSI card (atp870u) this is what
gets printed
out in /var/log/kernel:
atp870u: use 32bit DMA mask.
ACARD AEC-671X PCI Ultra/W SCSI-2/3 Host Adapter: 0
IO:cc00, IRQ:20.
ID: 2 HP C2520A 3644
ID: 7 Host Adapter
scsi5 : ACARD AEC-6710/6712/67160 PCI Ultra/W/LVD SCSI-3
Adapter Driver V2.6+ac
atp870u: abort Channel = 0
working=1 last_cmd=2 quhdu=1 quendu=1 r 0= 6 r 1=2c r
2=cf r 3=12 r 4= 0 r 5= 0 r 6= 0 r 7=24 r 8= 0 r 9= 0 r a= 0
r b= 0 r c= 0 r d= 0 r e= 0 r f= 0 r10=36 r11=20 r12= 0 r13=
0 r14= 8 r15= 2 r16=80 r17=42 r1c=a1 r1f=37 in_snd= 0 d00=
9 d02= 0
working=1 last_cmd=2 quhdu=1 quendu=2 r 0= 6 r 1=2c r
2=cf r 3=12 r 4= 0 r 5= 0 r 6= 0 r 7=24 r 8= 0 r 9= 0 r a= 0
r b= 0 r c= 0 r d= 0 r e= 0 r f= 0 r10=36 r11=20 r12= 0 r13=
0 r14= 8 r15= 2 r16=80 r17=42 r1c=a1 r1f=37 in_snd= 0 d00=
9 d02= 0
que cdb= 0 0 0 0 0 0 last_lenu= 24
<6>scsi 5:0:2:0: scsi: Device offlined - not ready
after error recovery
So my question is whether the scanner is bad or the sg SCSI
driver
doesn't like the scanner or something else I'm not
thinking of.
Justin
--
sane-devel mailing list: sane-devel lists.alioth.debian.org
http://lists.alioth.debian.org/mailman/listinfo/sane-d
evel
Unsubscribe: Send mail with subject "unsubscribe
your_password"
to sane-devel-request lists.alioth.debian.org
|
|
| Acard AEC6712S (atp870u.ko) and HP 6100C
C2520A (sg.ko) problems |

|
2006-08-18 09:54:59 |
Justin Findlay wrote:
> I have an HP 6100C scanjet (I wonder why they call it a
scanjet) anyway
> I have this scanner connected to an Acard SCSI PCI
adapter. When I load
> the driver module for the SCSI card (atp870u) this is
what gets printed
> out in /var/log/kernel:
>
> atp870u: use 32bit DMA mask.
> ACARD AEC-671X PCI Ultra/W SCSI-2/3 Host Adapter: 0
IO:cc00, IRQ:20.
> ID: 2 HP C2520A 3644
> ID: 7 Host Adapter
> scsi5 : ACARD AEC-6710/6712/67160 PCI Ultra/W/LVD
SCSI-3 Adapter Driver V2.6+ac
> atp870u: abort Channel = 0
> working=1 last_cmd=2 quhdu=1 quendu=1 r 0= 6 r 1=2c
r 2=cf r 3=12 r 4= 0 r 5= 0 r 6= 0 r 7=24 r 8= 0 r 9= 0 r a=
0 r b= 0 r c= 0 r d= 0 r e= 0 r f= 0 r10=36 r11=20 r12= 0
r13= 0 r14= 8 r15= 2 r16=80 r17=42 r1c=a1 r1f=37 in_snd= 0
d00= 9 d02= 0
> working=1 last_cmd=2 quhdu=1 quendu=2 r 0= 6 r 1=2c
r 2=cf r 3=12 r 4= 0 r 5= 0 r 6= 0 r 7=24 r 8= 0 r 9= 0 r a=
0 r b= 0 r c= 0 r d= 0 r e= 0 r f= 0 r10=36 r11=20 r12= 0
r13= 0 r14= 8 r15= 2 r16=80 r17=42 r1c=a1 r1f=37 in_snd= 0
d00= 9 d02= 0
> que cdb= 0 0 0 0 0 0 last_lenu= 24
<6>scsi 5:0:2:0: scsi: Device offlined - not ready
after error recovery
>
> So my question is whether the scanner is bad or the sg
SCSI driver
> doesn't like the scanner or something else I'm not
thinking of.
No idea, what exactly is going wrong. This message comes
from the
atp870u driver; obviously something is broken at a very
basic level.
The cause can be the scanner, the SCSI host adapter, the
atp870u
driver -- or simply a bad SCSI cable or missing SCSI bus
termination. If you have other devices connected to the same
SCSI
bus, they could be the cause of the problem too.
If possible, try different cables and another SCSI adapter,
or
connect another SCSI device to the Acard adapter to get a
better
idea, where the error might come from.
Abel
--
sane-devel mailing list: sane-devel lists.alioth.debian.org
http://lists.alioth.debian.org/mailman/listinfo/sane-d
evel
Unsubscribe: Send mail with subject "unsubscribe
your_password"
to sane-devel-request lists.alioth.debian.org
|
|
| Acard AEC6712S (atp870u.ko) and HP 6100C
C2520A (sg.ko) problems |

|
2006-08-19 05:46:26 |
On Fri, Aug 18, 2006 at 11:54:59AM +0200, abel deuring
wrote:
> If possible, try different cables and another SCSI
adapter, or
> connect another SCSI device to the Acard adapter to get
a better
> idea, where the error might come from.
I took the scanner, SCSI-2 cable, and acard SCSI host
adapter and
plugged them into my roomate's windows computer, installed
the
appropriate drivers, rebooted a few times, suffered through
windows'
occult complaints but eventually got the device functioning.
Next I tried it on his FC4 system (same hardware, different
OS) which,
upon loading the appropriate kernel modules segfaulted the
kernel and
froze the machine.
Sometimes I am able to get the kernel modules loaded on my
machine
before the atp870u driver complains. At this point
sane-find-scanner
detects the scanner
found SCSI processor "HP C2520A 3644" at
/dev/sg1
but `scanimage -L` does nothing. Perhaps it precipitates an
error of
some kind because after cancelling the command
sane-find-scanner again
detects nothing and subsequent driver reloadings print out
the same set
of SCSI errors.
I know at lease someone somewhere has gotten this scanner
working before
because http://www
.sane-project.org/sane-mfgs.html says that support for
'ScanJet 6100C' is 'Complete'.
What can I try next? I'm willing to start hacking
hardware/drivers if
necessary but I have absolutely no idea where to begin, nor
even where
to ask.
Justin
--
sane-devel mailing list: sane-devel lists.alioth.debian.org
http://lists.alioth.debian.org/mailman/listinfo/sane-d
evel
Unsubscribe: Send mail with subject "unsubscribe
your_password"
to sane-devel-request lists.alioth.debian.org
|
|
| Acard AEC6712S (atp870u.ko) and HP 6100C
C2520A (sg.ko) problems |

|
2006-08-19 10:49:38 |
Justin,
> On Fri, Aug 18, 2006 at 11:54:59AM +0200, abel deuring
wrote:
>>If possible, try different cables and another SCSI
adapter, or
>>connect another SCSI device to the Acard adapter to
get a better
>>idea, where the error might come from.
>
> I took the scanner, SCSI-2 cable, and acard SCSI host
adapter and
> plugged them into my roomate's windows computer,
installed the
> appropriate drivers, rebooted a few times, suffered
through windows'
> occult complaints but eventually got the device
functioning.
>
> Next I tried it on his FC4 system (same hardware,
different OS) which,
> upon loading the appropriate kernel modules segfaulted
the kernel and
> froze the machine.
>
> Sometimes I am able to get the kernel modules loaded on
my machine
> before the atp870u driver complains. At this point
sane-find-scanner
> detects the scanner
>
> found SCSI processor "HP C2520A 3644" at
/dev/sg1
>
> but `scanimage -L` does nothing. Perhaps it
precipitates an error of
> some kind because after cancelling the command
sane-find-scanner again
> detects nothing and subsequent driver reloadings print
out the same set
> of SCSI errors.
>
> I know at lease someone somewhere has gotten this
scanner working before
> because http://www
.sane-project.org/sane-mfgs.html says that support for
> 'ScanJet 6100C' is 'Complete'.
>
> What can I try next? I'm willing to start hacking
hardware/drivers if
> necessary but I have absolutely no idea where to begin,
nor even where
> to ask.
Sounds like a bug in the lower level part of the SCSI
drivers, or
like a hardware error. I am not sure what I can honestly
recommend.
I have never used an Acard SCSI adapter, and don't want to
spread
FUD, but anyway: Some time ago, other users reported
problems with
Acard SCSI adapters. The atp870u driver contained at least
one
strange bug: the data returned for the INQUIRY command was
limited
to the standard length, while several scanners describe
hardware
details in an -- absolutely "legal" --
vendor-specific "extension"
of the inquiry data, thus confusing one or the other Sane
backend. I
noticed the author of the backend about this bug, never got
reply,
but somehow and at some time this bug was fixed in the
kernel sources.
Generally, I have the impression that there are SCSI
adapters which
are better supported by the Linux kernel, so, before you
continue to
hunt a bug, it would be worth to try for example an adapter
supported for example by the sym53c8xx or the aic7xxx
drivers. In my
experience, these drivers are very stable, well supported,
and you
can buy for example a used Adaptec 2940 for a few dollar at
Ebay.
Abel
--
sane-devel mailing list: sane-devel lists.alioth.debian.org
http://lists.alioth.debian.org/mailman/listinfo/sane-d
evel
Unsubscribe: Send mail with subject "unsubscribe
your_password"
to sane-devel-request lists.alioth.debian.org
|
|
| Acard AEC6712S (atp870u.ko) and HP 6100C
C2520A (sg.ko) problems |

|
2006-08-23 20:07:54 |
On Sat, Aug 19, 2006 at 12:49:38PM +0200, abel deuring
wrote:
> Sounds like a bug in the lower level part of the SCSI
drivers
Yes.
> Generally, I have the impression that there are SCSI
adapters which
> are better supported by the Linux kernel, so, before
you continue to
> hunt a bug, it would be worth to try for example an
adapter
> supported for example by the sym53c8xx or the aic7xxx
drivers. In my
> experience, these drivers are very stable, well
supported, and you
> can buy for example a used Adaptec 2940 for a few
dollar at Ebay.
I got a $12US Adaptec AHA-2940/2940U SCSI Controller on ebay
and with it
(and the new aic7xxx driver) I am able to get sane to
recognize the
scanner with sane-find-scanner, but not yet with scanimage
-L even
though I have /dev/sg1 in /etc/sane.d/hp.conf. Hopefully
tonight I can
figure it out.
Justin
--
You have 1 Moderator Point! Use it or lose it!
--
sane-devel mailing list: sane-devel lists.alioth.debian.org
http://lists.alioth.debian.org/mailman/listinfo/sane-d
evel
Unsubscribe: Send mail with subject "unsubscribe
your_password"
to sane-devel-request lists.alioth.debian.org
|
|
[1-5]
|
|