Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 11 Oct 2011 18:53:11 -0400
From:      Arnaud Lacombe <lacombar@gmail.com>
To:        FreeBSD-Current <freebsd-current@freebsd.org>
Subject:   Re: ipmi(4)/isa woes
Message-ID:  <CACqU3MWGscjDT=ONbZfXGjNMM75YWUb_406Wh4PsxEBh_ymj6w@mail.gmail.com>
In-Reply-To: <CACqU3MU4YekO2c%2BVvty_9aWmM2L5xthDtAXNeH%2BW9LUf6kxTWg@mail.gmail.com>
References:  <CACqU3MU4YekO2c%2BVvty_9aWmM2L5xthDtAXNeH%2BW9LUf6kxTWg@mail.gmail.com>

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

On Tue, Oct 11, 2011 at 6:34 PM, Arnaud Lacombe <lacombar@gmail.com> wrote:
> Hi folks,
>
> I've got a machine where ipmi(4) seem to be unable to fully attach.
> 10-current kernel complains the following way:
>
> ipmi0: <IPMI System Interface> at iomem 0-0x1 on isa0
> ipmi0: KCS mode found at mem 0x0 alignment 0x1 on isa
> ipmi0: couldn't configure I/O resource
> device_attach: ipmi0 attach returned 6
>
Actually, I can bypass this issue by enabling acpi(4):

ipmi0: <IPMI System Interface> port 0xca2,0xca3 on acpi0
ipmi0: KCS mode found at io 0xca2 on acpi
ipmi1: <IPMI System Interface> on isa0
device_attach: ipmi1 attach returned 16
pmtimer0 on isa0
ipmi1: <IPMI System Interface> on isa0
device_attach: ipmi1 attach returned 16

However, the driver fails right after with:

ipmi0: Timed out waiting for GET_DEVICE_ID

and thus never complete its startup... :(

 - Arnaud

> Now, 6 is ENXIO, which match the following resource allocation failure:
>
> =A0if (info.offset =3D=3D 1) {
> =A0 =A0 =A0 =A0 =A0sc->ipmi_io_rid =3D 0;
> =A0 =A0 =A0 =A0 =A0sc->ipmi_io_res[0] =3D bus_alloc_resource(dev, type,
> =A0 =A0 =A0 =A0 =A0 =A0 =A0&sc->ipmi_io_rid, info.address, info.address +=
 count - 1,
> =A0 =A0 =A0 =A0 =A0 =A0 =A0count, RF_ACTIVE);
> =A0 =A0 =A0 =A0 =A0if (sc->ipmi_io_res[0] =3D=3D NULL) {
> =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0device_printf(dev, "couldn't configure=
 I/O resource\n");
> =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0return (ENXIO);
> =A0 =A0 =A0 =A0 =A0}
> =A0}
>
> Has anyone encountered this issue ?
>
> Thanks,
> =A0- Arnaud
>



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