From owner-freebsd-scsi Sat Oct 31 06:53:52 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id GAA03081 for freebsd-scsi-outgoing; Sat, 31 Oct 1998 06:53:52 -0800 (PST) (envelope-from owner-freebsd-scsi@FreeBSD.ORG) Received: from roma.coe.ufrj.br (roma.coe.ufrj.br [146.164.53.65]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id GAA03074 for ; Sat, 31 Oct 1998 06:53:49 -0800 (PST) (envelope-from jonny@jonny.eng.br) Received: (from jonny@localhost) by roma.coe.ufrj.br (8.8.8/8.8.8) id MAA09850 for scsi@freebsd.org; Sat, 31 Oct 1998 12:53:45 -0200 (EDT) (envelope-from jonny) From: Joao Carlos Mendes Luis Message-Id: <199810311453.MAA09850@roma.coe.ufrj.br> Subject: CAM: aha at 0x334 -> not found To: scsi@FreeBSD.ORG Date: Sat, 31 Oct 1998 12:53:45 -0200 (EDT) X-Mailer: ELM [version 2.4ME+ PL40 (25)] MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: owner-freebsd-scsi@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org 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