Subject: Re: azalia can't map device i/o space
To: None <diro@nixsyspaus.org>
From: Quentin Garnier <cube@cubidou.net>
List: tech-kern
Date: 07/23/2007 19:39:20
--7cm2iqirTL37Ot+N
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

On Mon, Jul 23, 2007 at 01:07:36PM -0400, diro@nixsyspaus.org wrote:
> On Mon, Jul 23, 2007 at 05:40:00PM +0200, Quentin Garnier wrote:
> > On Mon, Jul 23, 2007 at 12:42:00AM -0400, diro@nixsyspaus.org wrote:
> > > http://mail-index.netbsd.org/netbsd-bugs/2007/07/21/0001.html
> > >=20
> > > I looked through the sources for azalia.c, azalia.h, and azalia_codec=
.c and
> > > reviewed some private correspondence from another NetBSD user. I am m=
aking time
> > > in my schedule to work on this; however, it's difficult as i am runni=
ng 3.1
> > > instead of -current, so i don't think i'd be able to test any of the =
code other
> > > than for syntax.
> > >=20
> > > Also, i wasn't sure if it was an issue with the driver or something w=
ith the
> > > motherboard. I would like to start working on these sorts of issues i=
n NetBSD.
> > > In a situation like this, what's the best place to start? What's most=
 likely the
> > > cause of the problem? Please advise.
> >=20
> > It's a BIOS bug.  More precisely, the BIOS doesn't support 32-bits OSes,
> > at least those that don't do PAE.
> >=20
> > Check the motherboard's vendor site for upgrades or use NetBSD/amd64...
>=20
> Hmm, it's strange that the BIOS would be 64 bit and the processor 32bit. =
I tried

Well, it might just be unfriendly to non-PAE systems.

> booting with amd64 and that was not possible. Do you think swapping the
> processor with a 64bit processor would make this work? Is there another w=
ay to
> modify the BIOS to support PAE? Strange that it doesn't, because it's a f=
airly
> new board.

NetBSD is the one thing not supporting PAE here.

> The US representative of the company says that no firmware upgrades are
> available for the motherboard. It's very difficult to find firmware for t=
his
> particular model, the Durabook S14D (D14RI).

You might have some setting in the BIOS regarding PCI memory spaces and
where they should be mapped.

Otherwise you'll have to ask nicely for someone to finish the work of
merging amd64 and i386 pmaps so that i386 can have PAE support almost
for free :-)

--=20
Quentin Garnier - cube@cubidou.net - cube@NetBSD.org
"You could have made it, spitting out benchmarks
Owe it to yourself not to fail"
Amplifico, Spitting Out Benchmarks, Hometakes Vol. 2, 2005.

--7cm2iqirTL37Ot+N
Content-Type: application/pgp-signature
Content-Disposition: inline

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.6 (NetBSD)

iQEVAwUBRqTnyNgoQloHrPnoAQI6SAgAwntyk042oKdaQUGuI2GiqD0ZP4xKlWyX
l/w4fKTjAERl4M53HP8sHsa2N2H/wFYc1kLSHdhJecgf1Tx2iZfTVJ3PktOiNu0F
bJwPHPOLPSdRzFhY25ShU5h5PFDMPIXylAMDRVMJvj7vKe2ZhsoolFIDYTQpQwy5
krCvR7lIK/6/qcZuxlZZ6Cipa16qk+NkJc2hkrn64n+uJI2hQETA9/uZYCnliyHe
E2QYLby/J/vPJAexp2Jusaiq5dG3VFfj5R2bs+4F/L7EUyqFRbFnwIMVKVTpC5si
bFQxP36i6LcKetBX4uGDG3jGo7yobi3NpvxYc/6D8VY4sDdnR6Jd7A==
=EbiB
-----END PGP SIGNATURE-----

--7cm2iqirTL37Ot+N--