2001-04-24 11:54:33

by Markus Schaber

[permalink] [raw]
Subject: Re: AHA-154X/1535 not recognized any more [Repost]

As my original message seems to have disappeared, here a Repost:

-------- Original Message --------
Subject: Re: AHA-154X/1535 not recognized any more
Date: Fri, 20 Apr 2001 14:28:14 +0200 (MEST)
From: Markus Schaber <[email protected]>
To: "Rafael E. Herrera" <[email protected]>
CC: Markus Schaber <[email protected]>,Alan Cox
<[email protected]>,Linux Kernel Mailing List
<[email protected]>

On Wed, 18 Apr 2001, Rafael E. Herrera wrote:

> > lunix:~# isapnp pnpconfig.txt
> > Board 1 has Identity 08 0f 6d b9 45 42 15 90 04: ADP1542 Serial No 258849093 [checksum 08]
> > pnptext:60 -- Fatal - IO range check attempted while device activated
> > pnptext:60 -- Fatal - Error occurred executing request '<IORESCHECK> ' --- further action aborted
>
> I've a pnp sound card that fails to configure with a similar error
> message when a (CHECK) entry was found in an (IO ...) block. Removing
> those entries solved the problem. Try this in your pnpconfig.txt:
>
> (IO 0 (SIZE 4) (BASE 0x0330))

In this case, isapnp configures the card.

Using a modularized kernel, modprobe also loads the driver without any
further parameters:

lunix:/home/schabi/public_html/scsi# /rescue/sbin/isapnp
pnpconfig_nocheck.txt
Board 1 has Identity 08 0f 6d b9 45 42 15 90 04: ADP1542 Serial No
258849093 [checksum 08]
ADP1542/258849093[0]{SCSI Host Adapter }: Port 0x330; IRQ10 DMA0 ---
Enabled OK
lunix:/home/schabi/public_html/scsi# modprobe aha1542
lunix:/home/schabi/public_html/scsi#
ls /proc/scsi
advansys aha1542 ide-scsi scsi sg
lunix:/home/schabi/public_html/scsi# cat /proc/scsi/scsi
Attached devices:
Host: scsi0 Channel: 00 Id: 03 Lun: 00
Vendor: YAMAHA Model: CRW8424S Rev: 1.0j
Type: CD-ROM ANSI SCSI revision: 02
Host: scsi1 Channel: 00 Id: 00 Lun: 00
Vendor: IOMEGA Model: ZIP 100 Rev: 03.H
Type: Direct-Access ANSI SCSI revision: ffffffff
Host: scsi1 Channel: 00 Id: 01 Lun: 00
Vendor: SAMSUNG Model: CD-ROM SCR-3231 Rev: S104
Type: CD-ROM ANSI SCSI revision: 02
Host: scsi2 Channel: 00 Id: 06 Lun: 00
Vendor: IOMEGA Model: ZIP 100 PLUS Rev: J.66
Type: Direct-Access ANSI SCSI revision: 02

So the isapnp tools can configure the card correctly.

markus


2001-04-26 10:26:11

by Markus Schaber

[permalink] [raw]
Subject: The further way? (was: Re: AHA-154X/1535 not recognized any more)

Hello,

Markus Schaber wrote:
[some Test results]

So what's the further way to go?

We found out that the kernel isapnp fails, while the isapnptools (with
"check" entry removed and the driver as a module) and a non-pnp
environment (where the BIOS initialzies it, and either a modularized and
a compiled in driver) work with this card.

Do I (as a non-kernel-hacker, and with only basic C experience) have any
chance to quickly read into the code and find and correct the bug? Or is
there anyone around here who just needs five minutes to adjust a few
lines?

As I said, I don't need the card any more, and am just waiting for this
thing to be resolved, and then I remove this ancient thing. I could even
send it to one of you per snail mail for some weeks to let you do
further tests. My intention was to give a possibility to get the bug
fixed :-)

markus
--
Markus Schaber -- http://www.schabi.de/ -- ICQ: 22042130
+-------------------------------------------------------------+
| Allgemeine Sig-Verletzung 0815/4711 <nicht OK> <Erbrechen> |
+-------------------------------------------------------------+