[1911] in linux-scsi channel archive

home help back first fref pref prev next nref lref last post

AHA1542CF: "Device or resource busy" with new motherboard

daemon@ATHENA.MIT.EDU (Trevor Johnson)
Tue May 27 23:34:50 1997

Date: 	Wed, 28 May 1997 01:20:28 +0000 (Local time zone must be set--see zic manual page)
From: Trevor Johnson <trevor@jpj.net>
To: linux-scsi@vger.rutgers.edu
cc: Mike McLagan <mike.mclagan@linux.org>

I could use some help (no, not that kind). I recently replaced my ASUS
PVI-486SP3 motherboard (SiS 85C496/497 chip set) and AMD 5x86 CPU with a
no-name motherboard ("P5TVX-AT," Intel Triton II chip set) and Pentium
CPU. My SCSI host adapter doesn't work with the new board.

# insmod aha1542
/lib/modules/2.1.40/scsi/aha1542.o: init_module: Device or resource busy

I tried adding some printk statements to aha1542.c, and found that the
driver usually gets that error message as it's doing this:

    /* Quick and dirty test for presence of the card. */
    if(inb(STATUS(bse)) == 0xff) return 0;

although one time it apparently got past that:

May 20 18:15:29 topside kernel: aha1542.c: doing quick and dirty test.
May 20 18:15:29 topside kernel: aha1542.c: quick and dirty test returned
true, resetting interrupts.
May 20 18:15:29 topside kernel: aha1542.c: done resetting interrupts,
writing control.
May 20 18:15:29 topside kernel: aha1542.c: waiting.
May 20 18:15:29 topside kernel: aha1542.c: setting debug level to 1.
May 20 18:15:29 topside kernel: aha1542.c: doing quick and dirty test.

I've tried compiling the driver into the kernel proper, rather than as a
module.  It just reported: 

	scsi: 0 hosts.
	scsi : detected total.

I tried three different versions of the kernel from {2.1.40, pre-2.0.31,
2.0.29, 2.1.29} with the same result (only as a module).

My card is set to use 0x134, DMA 6 and IRQ 10; the BIOS is enabled and DIP
switches are set to 01011101.  In the CMOS setup, I marked IRQ 10 and DMA
6 as "legacy ISA."  I also have: 

- SoundBlaster 32 PnP
- Realtek PCI NE2000 clone
- Cirrus Logic DG5424 ISA video card (I'd been using a DG5426-based VESA
  card before)
- internal modem

- serial mouse running off the motherboard's ALI M5112 
- IDE hard drives

The board has an ALI M5112 chip providing built-in ports:

- USB (disabled)
- PS/2 (disabled)
- dual IDE (both working)
- parallel (working)
- dual serial (one working, one disabled)

/proc/interrupts:

 0:    1748369   timer
 1:      61021   keyboard
 2:          0   cascade
 3:     273974   serial
 4:      75962   serial
 5:          2   soundblaster
11:          0   NE2000
13:          1   FPU math error
14:       3740   ide0
15:      16509   ide1

/proc/ioports:

0000-001f : dma1
0020-003f : pic1
0040-005f : timer
0060-006f : keyboard
0080-008f : dma page reg
00a0-00bf : pic2
00c0-00df : dma2
00f0-00ff : npu
0170-0177 : ide1
01f0-01f7 : ide0
0220-022f : soundblaster
02f8-02ff : serial(auto)
0330-0333 : SB MIDI
0376-0376 : ide1
0388-038b : OPL3/OPL2
03c0-03df : vga+
03f6-03f6 : ide0
03f8-03ff : serial(auto)
0620-0623 : sound driver (AWE32)
0a20-0a23 : sound driver (AWE32)
0e20-0e23 : sound driver (AWE32)
6100-611f : NE2000
f000-f007 : IDE DMA
f008-f00f : IDE DMA

/proc/pci:

PCI devices found:
  Bus  0, device  19, function  0:
    Ethernet controller: Realtek 8029 (rev 0).
      Medium devsel.  IRQ 255.
      I/O at 0x6100.
  Bus  0, device   7, function  1:
    IDE interface: Intel 82371SB Natoma/Triton II PIIX3 (rev 0).
      Medium devsel.  Fast back-to-back capable.  Master Capable.
Latency=32.
      I/O at 0xf000.
  Bus  0, device   7, function  0:
    ISA bridge: Intel 82371SB Natoma/Triton II PIIX3 (rev 1).
      Medium devsel.  Fast back-to-back capable.  Master Capable.  No
bursts.
  Bus  0, device   0, function  0:
    Host bridge: Intel 82437VX Triton II (rev 2).
      Medium devsel.  Master Capable.  Latency=32.


home help back first fref pref prev next nref lref last post