[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

how to make SCSI work?



I am trying to use a PCI SCSI controller to which I have connected an
UMAX Astra 600S scanner.  I can't get the system to see it, and I am
somehow stuck.

First of all some information about it:

I use Debian GNU/Linux sid, kernel is standard Debian kernel from deb
package. 

||/ Name                           Version      Description
+++-==============================-============-======================
ii  kernel-image-2.6.10-1-386      2.6.10-6     Linux kernel image for

localhost:~# uname -a
Linux localhost 2.6.10-1-386 #1 Fri Mar 11 02:31:59 EST 2005 i586
GNU/Linux
localhost:~#

lspci -v shows:

0000:00:0a.0 SCSI storage controller: Adaptec AHA-2940/2940W / AIC-7871
        Flags: bus master, medium devsel, latency 32, IRQ 10
        I/O ports at d000 [disabled] [size=256]
        Memory at e5800000 (32-bit, non-prefetchable) [size=4K]

in dmesg I see things like:
...
SCSI subsystem initialized
...
PCI: Found IRQ 10 for device 0000:00:0a.0
scsi0 : Adaptec AIC7XXX EISA/VLB/PCI SCSI HBA DRIVER, Rev 6.2.36
        <Adaptec 2940 SCSI adapter>
        aic7870: Single Channel A, SCSI Id=7, 16/253 SCBs
...

localhost:~# lsscsi --hosts
lsscsi: relocation error: lsscsi: undefined symbol: dlist_sort_custom
localhost:~# lsscsi --long --verbose
localhost:~# cat /proc/scsi/scsi
Attached devices:

localhost:~# cat /proc/scsi/aic7xxx/0
Adaptec AIC7xxx driver version: 6.2.36
Adaptec 2940 SCSI adapter
aic7870: Single Channel A, SCSI Id=7, 16/253 SCBs
Allocated SCBs: 4, SG List Length: 128

Serial EEPROM:
0x0218 0x0218 0x0218 0x0218 0x0218 0x0218 0x0218 0x0218
0x0238 0x0238 0x0238 0x0238 0x0238 0x0238 0x0238 0x0238
0x19b6 0x005d 0x2807 0x0008 0xff00 0xffff 0xffff 0xffff
0xffff 0xffff 0xffff 0xffff 0xffff 0xffff 0x00ff 0x6498

Target 0 Negotiation Settings
        User: 10.000MB/s transfers (10.000MHz, offset 127)
Target 1 Negotiation Settings
        User: 10.000MB/s transfers (10.000MHz, offset 127)
Target 2 Negotiation Settings
        User: 10.000MB/s transfers (10.000MHz, offset 127)
Target 3 Negotiation Settings
        User: 10.000MB/s transfers (10.000MHz, offset 127)
Target 4 Negotiation Settings
        User: 10.000MB/s transfers (10.000MHz, offset 127)
Target 5 Negotiation Settings
        User: 10.000MB/s transfers (10.000MHz, offset 127)
Target 6 Negotiation Settings
        User: 10.000MB/s transfers (10.000MHz, offset 127)
Target 7 Negotiation Settings
        User: 10.000MB/s transfers (10.000MHz, offset 127)
localhost:~# scsiinfo -l

localhost:~# sane-find-scanner

  # No SCSI scanners found. If you expected something different, make
  # sure that
  # you have loaded a SCSI driver for your SCSI adapter.

localhost:~# scsiadd -s
Attached devices:

localhost:~# lsmod | grep aic7xxx
aic7xxx               183896  0
scsi_mod              119680  7 sg,st,osst,sr_mod,aic7xxx,sd_mod,libata
localhost:~#

The scanner is configured as device 6 (with a mechanical switch on it).

How am I suposed to make this work?

-- 
Miernik             _________________________  xmpp:miernik@amessage.info
___________________/_______________________/      mailto:miernik@ffii.org
Protect Europe from a legal disaster. Petition against software patents
http://www.noepatents.org/index_html?LANG=en



Reply to: