Date: Thu, 14 May 1998 13:42:05 -0600 (MDT) From: "Justin T. Gibbs" <gibbs@narnia.plutotech.com> To: freebsd@tomqnx.com (Tom Torrance) Cc: scsi@FreeBSD.ORG Subject: Re: SCSI probe failed (fwd) Message-ID: <199805141942.NAA19612@narnia.plutotech.com> In-Reply-To: <m0ya2T5-00087bC@TomQNX.tomqnx.com>
next in thread | previous in thread | raw e-mail | index | archive | help
In article <m0ya2T5-00087bC@TomQNX.tomqnx.com> you wrote:
>
> I did a cvsup, make world, then compiled a new kernel yesterday.
> This is the result:
>
> Copyright (c) 1992-1998 FreeBSD Inc.
> Copyright (c) 1982, 1986, 1989, 1991, 1993
> The Regents of the University of California. All rights reserved.
>
> FreeBSD 2.2.6-STABLE #0: Thu May 14 08:28:47 EDT 1998
> tom@tomqnx.tomqnx.com:/ccd/src/sys/compile/TOMQNX
> CPU: i486 DX2 (486-class CPU)
> Origin = "GenuineIntel" Id = 0x435 Stepping=5
> Features=0x3<FPU,VME>
> real memory = 83886080 (81920K bytes)
> avail memory = 79577088 (77712K bytes)
> eisa0: <DEL05 (System Board)>
> Probing for devices on the EISA bus
> ahc0: <Adaptec 274X SCSI host adapter> at 0x2c00-0x2cff
> eisa0:2 <Adaptec 274X SCSI host adapter> attach failed
Can you try this patch?
--
Justin
Index: eisaconf.c
===================================================================
RCS file: /usr/cvs/src/sys/i386/eisa/eisaconf.c,v
retrieving revision 1.23.2.3
diff -c -r1.23.2.3 eisaconf.c
*** eisaconf.c 1998/05/06 18:58:49 1.23.2.3
--- eisaconf.c 1998/05/14 19:39:51
***************
*** 429,434 ****
--- 429,435 ----
return (result);
}
update_intr_masks();
+ cur_irq->idesc = (void *)1;
splx(s);
break;
}
***************
*** 460,465 ****
--- 461,469 ----
cur_irq = TAILQ_FIRST(&e_dev->ioconf.irqs);
while (cur_irq != NULL) {
if (cur_irq->irq_no == irq) {
+ struct irq_node *next_irq;
+
+ next_irq = TAILQ_NEXT(cur_irq, links);
if (cur_irq->idesc != NULL) {
int s;
***************
*** 467,476 ****
INTRDIS ((1ul<<irq));
unregister_intr(irq, (inthand2_t*)func);
update_intr_masks();
splx(s);
}
- cur_irq = TAILQ_NEXT(cur_irq, links);
TAILQ_REMOVE(&e_dev->ioconf.irqs, cur_irq, links);
result = 0;
} else {
cur_irq = TAILQ_NEXT(cur_irq, links);
--- 471,482 ----
INTRDIS ((1ul<<irq));
unregister_intr(irq, (inthand2_t*)func);
update_intr_masks();
+ cur_irq->idesc = NULL;
splx(s);
}
TAILQ_REMOVE(&e_dev->ioconf.irqs, cur_irq, links);
+ free(cur_irq, M_DEVBUF);
+ cur_irq = next_irq;
result = 0;
} else {
cur_irq = TAILQ_NEXT(cur_irq, links);
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?199805141942.NAA19612>
