Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 31 Oct 1998 12:53:45 -0200 (EDT)
From:      Joao Carlos Mendes Luis <jonny@jonny.eng.br>
To:        scsi@FreeBSD.ORG
Subject:   CAM: aha at 0x334 -> not found
Message-ID:  <199810311453.MAA09850@roma.coe.ufrj.br>

next in thread | raw e-mail | index | archive | help
Hi,

  I'm trying -current from last week at home, and it could not detect
my aha1542 at first, telling me that:

Oct 31 12:27:10 dogbert /kernel:
Oct 31 12:27:10 dogbert /kernel: aha_isa_probe: Invalid baseport of 0x334 specified.
Oct 31 12:27:10 dogbert /kernel: aha_isa_probe: Nearest valid baseport is 0x330.
Oct 31 12:27:10 dogbert /kernel: aha_isa_probe: Failing probe.
Oct 31 12:27:10 dogbert /kernel: aha0 not found at 0x334

  I could solve this by rearranging the order of valid isa addresses
at the aha driver.  The code seems to need them in reverse numeric
order.  

struct aha_isa_port aha_isa_ports[] =
{
        { 0x334, 0 },
        { 0x330, 0 },
        { 0x234, 0 },
        { 0x230, 0 },
        { 0x134, 0 },
        { 0x130, 0 }
};

  Now it detects my aha without problem:

Oct 31 12:35:51 dogbert /kernel: aha0 at 0x334-0x337 irq 11 drq 6 on isa
Oct 31 12:35:51 dogbert /kernel: aha0: AHA-1542C FW Rev. 0.1 (ID=44) SCSI Host A dapter, SCSI ID 7, 16 CCBs

  Could somebody with CAM understanding check this and fix the sources ?

  TIA,

					Jonny

--
Joao Carlos Mendes Luis            M.Sc. Student
jonny@jonny.eng.br                 Universidade Federal do Rio de Janeiro
"This .sig is not meant to be politically correct."

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-scsi" in the body of the message



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199810311453.MAA09850>