From owner-freebsd-alpha@FreeBSD.ORG Wed Jan 17 19:53:01 2007 Return-Path: X-Original-To: freebsd-alpha@freebsd.org Delivered-To: freebsd-alpha@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 9CCF316A407 for ; Wed, 17 Jan 2007 19:53:01 +0000 (UTC) (envelope-from jhb@freebsd.org) Received: from server.baldwin.cx (66-23-211-162.clients.speedfactory.net [66.23.211.162]) by mx1.freebsd.org (Postfix) with ESMTP id 2D7C913C442 for ; Wed, 17 Jan 2007 19:53:01 +0000 (UTC) (envelope-from jhb@freebsd.org) Received: from localhost.corp.yahoo.com (john@localhost [127.0.0.1]) (authenticated bits=0) by server.baldwin.cx (8.13.6/8.13.6) with ESMTP id l0HJOoMT055938; Wed, 17 Jan 2007 14:24:50 -0500 (EST) (envelope-from jhb@freebsd.org) From: John Baldwin To: freebsd-alpha@freebsd.org Date: Wed, 17 Jan 2007 13:22:09 -0500 User-Agent: KMail/1.9.1 References: <88F3FB25-A363-4E91-A637-213116F58356@avalon.net> <45AE57A6.1040104@truthsolo.net> In-Reply-To: <45AE57A6.1040104@truthsolo.net> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200701171322.09584.jhb@freebsd.org> X-Greylist: Sender succeeded SMTP AUTH authentication, not delayed by milter-greylist-2.0.2 (server.baldwin.cx [127.0.0.1]); Wed, 17 Jan 2007 14:24:52 -0500 (EST) X-Virus-Scanned: ClamAV 0.88.3/2460/Wed Jan 17 12:26:31 2007 on server.baldwin.cx X-Virus-Status: Clean X-Spam-Status: No, score=-4.4 required=4.2 tests=ALL_TRUSTED,AWL,BAYES_00 autolearn=ham version=3.1.3 X-Spam-Checker-Version: SpamAssassin 3.1.3 (2006-06-01) on server.baldwin.cx Cc: Subject: Re: Alpha PWS 433au (MiataGL) halts when booting installation CD, with "halt code = 5" X-BeenThere: freebsd-alpha@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting FreeBSD to the Alpha List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 17 Jan 2007 19:53:01 -0000 On Wednesday 17 January 2007 12:06, Rob Dosogne wrote: > Tim, > > I think you can disable the isp driver at the loader: > > set hint.isp.0.disable="1" > > although I have not tried this on my own machine yet. After installing > you could recompile the kernel without isp or leave the disable line in > your device.hints Hmm, couldn't we change isp to try memory mode first under #ifdef __alpha__? Hmm, it looks like we already do. Maybe this patch is in order: Index: isp_pci.c =================================================================== RCS file: /usr/cvs/src/sys/dev/isp/isp_pci.c,v retrieving revision 1.131 diff -u -r1.131 isp_pci.c --- isp_pci.c 5 Jan 2007 23:01:35 -0000 1.131 +++ isp_pci.c 17 Jan 2007 18:21:34 -0000 @@ -798,7 +798,7 @@ { struct resource *regs, *irq; int rtp, rgd, iqd, m1, m2; - uint32_t data, cmd, linesz, psize, basetype; + uint32_t data, linesz, psize, basetype; struct isp_pcisoftc *pcs; ispsoftc_t *isp = NULL; struct ispmdvec *mdvp; @@ -839,13 +839,12 @@ irq = regs = NULL; rgd = rtp = iqd = 0; - cmd = pci_read_config(dev, PCIR_COMMAND, 2); - if (cmd & m1) { + if (m1) { rtp = (m1 == PCIM_CMD_MEMEN)? SYS_RES_MEMORY : SYS_RES_IOPORT; rgd = (m1 == PCIM_CMD_MEMEN)? MEM_MAP_REG : IO_MAP_REG; regs = bus_alloc_resource_any(dev, rtp, &rgd, RF_ACTIVE); } - if (regs == NULL && (cmd & m2)) { + if (regs == NULL && m2) { rtp = (m2 == PCIM_CMD_MEMEN)? SYS_RES_MEMORY : SYS_RES_IOPORT; rgd = (m2 == PCIM_CMD_MEMEN)? MEM_MAP_REG : IO_MAP_REG; regs = bus_alloc_resource_any(dev, rtp, &rgd, RF_ACTIVE); @@ -1044,6 +1043,7 @@ * Make sure that SERR, PERR, WRITE INVALIDATE and BUSMASTER * are set. */ + cmd = pci_read_config(dev, PCIR_COMMAND, 2); cmd |= PCIM_CMD_SEREN | PCIM_CMD_PERRESPEN | PCIM_CMD_BUSMASTEREN | PCIM_CMD_INVEN; > Tim McIntosh wrote: > > Hi, > > > > This problem has been reported by others numerous times over the last > > couple years; this is just a reminder that it still exists in 6.2R. It > > would be great if somebody could address the issue. > > > > This system has no PCI cards installed and no SCSI devices installed. > > The HDD is on IDE0 and the CDROM is on IDE1. > > > > I'm guessing the issue described in the following post may be the cause > > of the problem? > > http://lists.freebsd.org/pipermail/freebsd-alpha/2005-April/002294.html > > > > The thing is, the QLogic SCSI controller is built-in on this system, so > > there's no way to put it in front of the PCI-PCI bridge. Is there any > > way to disable it, or disable the device driver, as a work-around? > > > > Thanks! > > Tim > > > > > > (...) > > > > FreeBSD/alpha SRM CD9660 boot, Revision 1.2 > > (root@ds10.freebie.xs4all.nl, Fri Jan 12 17:01:15 UTC 2007) > > Memory: 65536 k > > Loading /boot/defaults/loader.conf > > /boot/kernel/kernel data=0x6fed50+0x39a70 syms=[0x8+0x76578+0x8+0x61c05] > > - > > Hit [Enter] to boot immediately, or any other key for command prompt. > > Booting [/boot/kernel/kernel]... > > Entering /boot/kernel/kernel at 0xfffffc00003523b0... > > > > (...) > > > > isp0: port 0x8000-0x80ff mem > > 0x800100001 > > isp0: interrupting at CIA irq 3 > > isp0: [GIANT-LOCKED] > > > > halted CPU 0 > > > > halt code = 5 > > HALT instruction executed > > PC = 0 > > > > (...) > > > > -- > > cheers! > > Rob Dosogne > Systems Administrator > http://www.truthsolo.net/ > > _______________________________________________ > freebsd-alpha@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-alpha > To unsubscribe, send any mail to "freebsd-alpha-unsubscribe@freebsd.org" > -- John Baldwin