This is my first posting. I would be grateful for any help.

I have installed a Adaptec AVA1505AE/AI SCSI Host Adapter (as marked on
 card) into a Gateway Performance PIII 600 128SDRAM. I am having trouble
 getting the card to operate under Linux.

I am attempting to use the card to access a HP Scanjet 4P under Redhat
 Linux 8.0 The card and scanner operate when booted into WIN98SE

The Adaptec card utility (run from a WIN98 Boot Disk) shows the
 following configuration

Host Adapter Interrupt Channel          10
Host Adapter DMA Channel                Disabled
Host Adapter SCSI ID                    7
SCSI Parity Cheching                    Enabled
Host Adapter SCSI Termination           Enabled (greyed out can't change)
SCSI #7 Initiate Sync negotiation       no
SCSI #7 Maximum Sync Transfer Rate      5.00
SCSI #7 Enable Disconnection            no
ISA Plug & Play Mode                    Enabled
Plug & Play SCAM Support                Disabled

The Adaptec configuration as reported by WIN98

Adaptec AVA-1505 SCSI Host Adapter
IO Range                                0140-015F
IRQ                                     10

When booted into Linux the following is noted. I understand that the
 module aha152x is the appropriate module.

Extract of /var/messages

Feb  2 12:43:49 comp2 kernel: SCSI subsystem driver Revision: 1.00
Feb  2 12:43:49 comp2 kernel: aha152x: found ISAPnP AVA-1505A at
 io=0x140, irq=10
Feb  2 12:43:49 comp2 kernel: aha152x: BIOS test: passed, detected 1
 controller(s)
Feb  2 12:43:49 comp2 kernel: aha152x: resetting bus...
Feb  2 12:43:49 comp2 kernel: aha152x0: vital data: rev=3, io=0x140
 (0x140/0x140), irq=10, scsiid=7, reconnect=enabled, parity=enabled,
 synchronous=enabled, delay=1000, extended translation=disabled
Feb  2 12:43:23 comp2 rc.sysinit: Mounting proc filesystem:  succeeded
Feb  2 12:43:49 comp2 kernel: aha152x0: trying software interrupt, lost.
Feb  2 12:43:23 comp2 rc.sysinit: Unmounting initrd:  succeeded
Feb  2 12:43:50 comp2 kernel: aha152x0: IRQ 10 possibly wrong.  Please
 verify.

Attempting to load module aha152x

[root@comp2 root]# modprobe aha152x
/lib/modules/2.4.18-14/kernel/drivers/scsi/aha152x.o: init_module: No
 such device
Hint: insmod errors can be caused by incorrect module parameters,
including invalid IO or IRQ parameters.
You may find more information in syslog or the output from dmesg
/lib/modules/2.4.18-14/kernel/drivers/scsi/aha152x.o: insmod
 /lib/modules/2.4.18-14/kernel/drivers/scsi/aha152x.o failed
/lib/modules/2.4.18-14/kernel/drivers/scsi/aha152x.o: insmod
 aha152x failed
[root@comp2 root]#
[root@comp2 root]# modprobe aha152x=0x140,10,7  
modprobe: insmod aha152x=0x140,10,7 failed


Contents of /proc/version

Linux version 2.4.18-14 ([EMAIL PROTECTED])
(gcc version 3.2 20020903 (Red Hat Linux 8.0 3.2-7)) #1 Wed Sep
 4 13:35:50 EDT 2002


Contents of /proc/interrupts

        CPU0
0:     467405          XT-PIC  timer
1:       1002          XT-PIC  keyboard
2:          0          XT-PIC  cascade
8:          1          XT-PIC  rtc
9:        339          XT-PIC  usb-uhci, eth0
11:       2830          XT-PIC  EMU10K1
12:      41231          XT-PIC  PS/2 Mouse
14:      12870          XT-PIC  ide0
15:          0          XT-PIC  ide1
NMI:          0
ERR:          0

Contents of /proc/isapnp

Card 1 'ADP1505:Adaptec AVA-1505AE' PnP version 1.0 Product version 1.1
Logical device 0 'ADP1505:SCSI Controller'
Supported registers 0x2
Compatible device ADP1530
Device is active
Active port 0x140
Active IRQ 10 [0x2]
Resources 0
Priority preferred
Port 0x140-0x140, align 0x1f, size 0x20, 16-bit address decoding
IRQ 2/9,10,11,12 High-Edge
Alternate resources 0:1
Priority acceptable
Port 0x340-0x340, align 0x1f, size 0x20, 16-bit address decoding
IRQ 2/9,10,11,12 High-Edge

Contents of /proc/pci

PCI devices found:
  Bus  0, device   0, function  0:
    Host bridge: Intel Corp. 440BX/ZX/DX - 82443BX/ZX/DX Host bridge
(rev 3).
      Master Capable.  Latency=64.
      Prefetchable 32 bit memory at 0xf4000000 [0xf7ffffff].
  Bus  0, device   1, function  0:
    PCI bridge: Intel Corp. 440BX/ZX/DX - 82443BX/ZX/DX AGP bridge (rev
3).
      Master Capable.  Latency=128.  Min Gnt=140.
  Bus  0, device   7, function  0:
    ISA bridge: Intel Corp. 82371AB/EB/MB PIIX4 ISA (rev 2).
  Bus  0, device   7, function  1:
    IDE interface: Intel Corp. 82371AB/EB/MB PIIX4 IDE (rev 1).
      Master Capable.  Latency=64.
      I/O at 0x1000 [0x100f].
  Bus  0, device   7, function  2:
    USB Controller: Intel Corp. 82371AB/EB/MB PIIX4 USB (rev 1).
      IRQ 9.
      Master Capable.  Latency=64.  
      I/O at 0x1020 [0x103f].
  Bus  0, device   7, function  3:
    Bridge: Intel Corp. 82371AB/EB/MB PIIX4 ACPI (rev 2).
      IRQ 9.
  Bus  0, device  14, function  0:
    VGA compatible unclassified device: Creative Labs SB Live! EMU10k1
(rev 7).
      IRQ 11.
      Master Capable.  Latency=64.  Min Gnt=2.Max Lat=20.
      I/O at 0x1040 [0x105f].
  Bus  0, device  14, function  1:
    Input device controller: Creative Labs SB Live! MIDI/Game Port (rev
7).
      Master Capable.  Latency=64.
      I/O at 0x1010 [0x1017].
  Bus  0, device  16, function  0:
    Ethernet controller: Realtek Semiconductor Co., Ltd. RTL-8139/8139C
(rev 16).
      IRQ 9.PCI devices found:
  Bus  0, device   0, function  0:
    Host bridge: Intel Corp. 440BX/ZX/DX - 82443BX/ZX/DX Host bridge
(rev 3).
      Master Capable.  Latency=64.
      Prefetchable 32 bit memory at 0xf4000000 [0xf7ffffff].
  Bus  0, device   1, function  0:
    PCI bridge: Intel Corp. 440BX/ZX/DX - 82443BX/ZX/DX AGP bridge (rev
3).
      Master Capable.  Latency=128.  Min Gnt=140.
  Bus  0, device   7, function  0:
    ISA bridge: Intel Corp. 82371AB/EB/MB PIIX4 ISA (rev 2).
  Bus  0, device   7, function  1:
    IDE interface: Intel Corp. 82371AB/EB/MB PIIX4 IDE (rev 1).
      Master Capable.  Latency=64.
      I/O at 0x1000 [0x100f].
  Bus  0, device   7, function  2:
    USB Controller: Intel Corp. 82371AB/EB/MB PIIX4 USB (rev 1).
      IRQ 9.
      Master Capable.  Latency=64.  
      I/O at 0x1020 [0x103f].
  Bus  0, device   7, function  3:
    Bridge: Intel Corp. 82371AB/EB/MB PIIX4 ACPI (rev 2).
      IRQ 9.
  Bus  0, device  14, function  0:
    VGA compatible unclassified device: Creative Labs SB Live! EMU10k1
(rev 7).
      IRQ 11.
      Master Capable.  Latency=64.  Min Gnt=2.Max Lat=20.
      I/O at 0x1040 [0x105f].
  Bus  0, device  14, function  1:
    Input device controller: Creative Labs SB Live! MIDI/Game Port (rev
7).
      Master Capable.  Latency=64.
      I/O at 0x1010 [0x1017].
  Bus  0, device  16, function  0:
    Ethernet controller: Realtek Semiconductor Co., Ltd. RTL-8139/8139C
(rev 16).
      IRQ 9.
      Master Capable.  Latency=64.  Min Gnt=32.Max Lat=64.
      I/O at 0x1400 [0x14ff].
      Non-prefetchable 32 bit memory at 0xf0000000 [0xf00000ff].
  Bus  1, device   0, function  0:
    VGA compatible controller: ATI Technologies Inc Radeon QD (rev 0).
      IRQ 11.
      Master Capable.  Latency=66.  Min Gnt=8.
      Prefetchable 32 bit memory at 0xf8000000 [0xfbffffff].
      I/O at 0x9000 [0x90ff].
      Non-prefetchable 32 bit memory at 0xf0100000 [0xf017ffff].

      Master Capable.  Latency=64.  Min Gnt=32.Max Lat=64.
      I/O at 0x1400 [0x14ff].
      Non-prefetchable 32 bit memory at 0xf0000000 [0xf00000ff].
  Bus  1, device   0, function  0:
    VGA compatible controller: ATI Technologies Inc Radeon QD (rev 0).
      IRQ 11.
      Master Capable.  Latency=66.  Min Gnt=8.
      Prefetchable 32 bit memory at 0xf8000000 [0xfbffffff].
      I/O at 0x9000 [0x90ff].
      Non-prefetchable 32 bit memory at 0xf0100000 [0xf017ffff].


Contents of /proc/iomem

00000000-0009f7ff : System RAM
0009f800-0009ffff : reserved
000a0000-000bffff : Video RAM area
000c0000-000c7fff : Video ROM
000f0000-000fffff : System ROM
00100000-07ffdbff : System RAM
00100000-0024b8dd : Kernel code
0024b8de-003457a3 : Kernel data
07ffdc00-07fffbff : ACPI Tables
07fffc00-07ffffff : ACPI Non-volatile Storage
f0000000-f00000ff : Realtek Semiconductor Co., Ltd. RTL-8139/8139C
f0000000-f00000ff : 8139too
f0100000-f01fffff : PCI Bus #01
f0100000-f017ffff : ATI Technologies Inc Radeon QD
f4000000-f7ffffff : Intel Corp. 440BX/ZX/DX - 82443BX/ZX/DX Host bridge
f8000000-fbffffff : PCI Bus #01
f8000000-fbffffff : ATI Technologies Inc Radeon QD
fffe7000-ffffffff : reserved


Contents of /proc/ioports

0000-001f : dma1
0020-003f : pic1
0040-005f : timer
0060-006f : keyboard
0070-007f : rtc
0080-008f : dma page reg
00a0-00bf : pic2
00c0-00df : dma2
00f0-00ff : fpu
0170-0177 : ide1
01f0-01f7 : ide0
0213-0213 : isapnp read
02f8-02ff : serial(auto)
0376-0376 : ide1
03c0-03df : vga+
03f6-03f6 : ide0
03f8-03ff : serial(auto)
0a79-0a79 : isapnp write
0cf8-0cff : PCI conf1
1000-100f : Intel Corp. 82371AB/EB/MB PIIX4 IDE
1000-1007 : ide0
1008-100f : ide1
1010-1017 : Creative Labs SB Live! MIDI/Game Port
1020-103f : Intel Corp. 82371AB/EB/MB PIIX4 USB
1020-103f : usb-uhci
1040-105f : Creative Labs SB Live! EMU10k1
1040-105f : EMU10K1
1400-14ff : Realtek Semiconductor Co., Ltd. RTL-8139/8139C
1400-14ff : 8139too
7000-701f : Intel Corp. 82371AB/EB/MB PIIX4 ACPI
8000-803f : Intel Corp. 82371AB/EB/MB PIIX4 ACPI
9000-9fff : PCI Bus #01
9000-90ff : ATI Technologies Inc Radeon QD

        
Contents of /proc/devices

Character devices:
1 mem
2 pty
3 ttyp
4 ttyS
5 cua
7 vcs
10 misc
13 input
14 sound
29 fb
36 netlink
128 ptm
129 ptm
130 ptm
131 ptm
132 ptm
133 ptm
134 ptm
135 ptm
136 pts
137 pts
138 pts
139 pts
140 pts
141 pts
142 pts
143 pts
162 raw
180 usb
226 drm
254 oprof

Block devices:
1 ramdisk
2 fd
3 ide0
9 md
12 unnamed
14 unnamed
22 ide1
38 unnamed
39 unnamed





-- 
SLUG - Sydney Linux User's Group - http://slug.org.au/
More Info: http://lists.slug.org.au/listinfo/slug

Reply via email to