Problems with aha152x and 2.4.0-test1

From: Claude Lefrancois (lefranco@cae.ca)
Date: Tue Jun 13 2000 - 17:00:08 EST


Hello,

I am running RedHat Linux 6.1 and the new kernel 2.4.0-test1 on an
Intel PIII 500 MHz system. I have an AVA-1502AE/AI SCSI
controller. This SCSI controller is used to drive a Microtek Scanmaker
E3 scanner. This is a dumb ISA card. I have to set up all the
parameters on the card. The card is now configured for IRQ 10, SCSI
disconnetion ON, I/O port address 0x140 and SCSI parity ON.

If I try to load the aha152x device driver as a module, I get the
following error message:

[root@p2118 lefranco]# insmod aha152x aha152x=0x140,10
Using /lib/modules/2.4.0-test1/scsi/aha152x.o
Segmentation fault

The dmesg output looks like:

aha152x: BIOS test: passed, detected 1 controller(s)
aha152x: resetting bus...
aha152x1: vital data: rev=1, io=0x140 (0x140/0x140), irq=10, scsiid=7, reconnect=enabled, parity=enabled, synchronous=enabled, delay=100, extended translation=disabled
aha152x1: trying software interrupt, lost.
aha152x1: IRQ 10 possibly wrong. Please verify.
Trying to free nonexistent resource <5a5a5a5a-5a5a5a79>
Unable to handle kernel paging request at virtual address 31f403b4
 printing eip:
c88a2e52
*pde = 00000000
Oops: 0002
CPU: 0
EIP: 0010:[<c88a2e52>]
EFLAGS: 00010013
eax: 5a5a5a51 ebx: ffffffff ecx: c0252414 edx: c778ff84
esi: c752c000 edi: 0000000a ebp: 00000000 esp: c39a9e58
ds: 0018 es: 0018 ss: 0018
Process insmod (pid: 839, stackpage=c39a9000)
Stack: c025251c 5a5a5a5a 00000020 c752c000 c88a7f60 00000001 0000000a 00000202
       00000001 00000000 c88a2048 00000008 00000001 c47a63e0 c02536c8 c01248bc
       c47a63e0 c752c120 00000001 00000001 0000009c 00000000 c88a9a34 c88a9a30
Call Trace: [<c88a7f60>] [<c88a2048>] [<c01248bc>] [<c88a9a34>] [<c88a9a30>] [<c88a9a2c>] [<c019392a>]
       [<c88a97e0>] [<c88a97e0>] [<c88a2048>] [<c88a2000>] [<c019428d>] [<c88a97e0>] [<c88a2000>] [<c88a766a>]
       [<c88a97e0>] [<c011bd60>] [<c88a9a90>] [<c889f000>] [<c88a2048>] [<c010b880>]
Code: c7 04 85 70 9a 8a c8 00 00 00 00 83 c4 1c e9 92 00 00 00 68

The /proc/ioports looks like:

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
0140-015f : aha152x
0170-0177 : ide1
01f0-01f7 : ide0
0213-0213 : isapnp read
02f8-02ff : serial(auto)
0376-0376 : ide1
0388-038b : Yamaha OPL3
03c0-03df : vga+
03f6-03f6 : ide0
03f8-03ff : serial(auto)
0534-0537 : Crystal audio controller
0800-083f : Intel Corporation 82371AB PIIX4 ACPI
  0800-0803 : acpi
  0804-0805 : acpi
  0808-080b : acpi
  080c-080f : acpi
0840-085f : Intel Corporation 82371AB PIIX4 ACPI
0a79-0a79 : isapnp write
0cf8-0cff : PCI conf1
e800-e8ff : Adaptec AIC-7881U
  e800-e8be : aic7xxx
ec00-ec7f : 3Com Corporation 3c905B 100BaseTX [Cyclone]
  ec00-ec7f : eth0
ece0-ecff : Intel Corporation 82371AB PIIX4 USB
  ece0-ecff : usb-uhci
ffa0-ffaf : Intel Corporation 82371AB PIIX4 IDE
  ffa0-ffa7 : ide0
  ffa8-ffaf : ide1

and the /proc/interrupts looks like:

           CPU0
  0: 68865 XT-PIC timer
  1: 1752 XT-PIC keyboard
  2: 0 XT-PIC cascade
  5: 2 XT-PIC Crystal audio controller
  8: 1 XT-PIC rtc
  9: 0 XT-PIC acpi
 11: 4956 XT-PIC aic7xxx, eth0, usb-uhci
 12: 9145 XT-PIC PS/2 Mouse
 13: 1 XT-PIC fpu
 14: 4418 XT-PIC ide0
 15: 5 XT-PIC ide1
NMI: 0
ERR: 0

The IRQ 10 and the ioport seem to be free. I have an Adaptec AHA-2940
UW and the USB driver enabled (USB for joystick). They are both
sharing the IRQ 11 with the 3C59x device driver. All the other
peripherals are operating well.

As a test, I have removed the AHA-2940 and the 3C905 from my system
and I have tried the aha152x over the IRQ 11 (the card has been
previously configured to this IRQ, of course) with the same results.

Do you have any ideas ? This SCSI card was known to work with the
aha152x device driver before. If you have any questions, suggestions
or fixes, please, let me know.

Thanks for your support,

Claude Lefrancois.

-- 

Claude Lefrancois System Administrator & Software Engineer CAE Electronics Ltd, Department 28, Sensor Systems 8585 Cote-de-Liesse, Saint-Laurent, Quebec, Canada, H4T 1G6 Tel: (514) 341-2000 x3194, Fax: (514) 734-5612 Email: lefranco@cae.ca <mailto:lefranco@cae.ca>

- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.rutgers.edu Please read the FAQ at http://www.tux.org/lkml/



This archive was generated by hypermail 2b29 : Thu Jun 15 2000 - 21:00:30 EST