> I experimented a bit - no success, though some news: > > > Using ACPI is indeed the solution to the problem. Unfortunately our > > ACPI support isn't quite there yet. There's a patch that makes it > > work on my mini: > > > > http://www.xs4all.nl/~sibelius/acpi-apic.diff > > I tried that patch, though one of the files the patch creates doesn't > compile so far. I just want to share now what I found out. I did: > > * Installing the latest snapshot on the Mac mini (DMESG below) > * Updating the source tree to -current on another i386 machine > * Transfering the source tree to the Mac mini (tar archive on a CD) > * Applying the patch > * Compiling a new kernel (at least I tried to ;-) ) > > The problematic file is acpimadt.c (created by the patch). I get this > error: > > cc -g -Werror -Wall -Wstrict-prototypes -Wmissing-prototypes > -Wno-uninitialized -Wno-format -Wno-main -Wstack-larger-than-2047 > -fno-builtin-printf -fno-builtin-log -O2 -pipe -nostdinc -I. > -I/usr/src/sys/arch/i386/compile/GENERIC.ACPI/../../../../arch > -I/usr/src/sys/arch/i386/compile/GENERIC.ACPI/../../../.. -DDDB > -DDIAGNOSTIC -DKTRACE -DACCOUNTING -DKMEMSTATS -DPTRACE -DCRYPTO > -DSYSVMSG -DSYSVSEM -DSYSVSHM -DUVM_SWAP_ENCRYPT -DCOMPAT_35 > -DCOMPAT_43 -DLKM -DFFS -DFFS_SOFTUPDATES -DUFS_DIRHASH -DQUOTA > -DEXT2FS -DMFS -DXFS -DTCP_SACK -DTCP_ECN -DTCP_SIGNATURE -DNFSCLIENT > -DNFSSERVER -DCD9660 -DUDF -DMSDOSFS -DFIFO -DPORTAL -DINET -DALTQ > -DINET6 -DIPSEC -DPPP_BSDCOMP -DPPP_DEFLATE -DMROUTING -DBOOT_CONFIG > -DI386_CPU -DI486_CPU -DI586_CPU -DI686_CPU -DUSER_PCICONF -DUSER_LDT > -DAPERTURE -DCOMPAT_SVR4 -DCOMPAT_IBCS2 -DCOMPAT_LINUX > -DCOMPAT_FREEBSD -DCOMPAT_BSDOS -DCOMPAT_AOUT -DPROCFS -DPCIVERBOSE > -DEISAVERBOSE -DUSBVERBOSE -DWSDISPLAY_COMPAT_USL > -DWSDISPLAY_COMPAT_RAWKBD -DWSDISPLAY_DEFAULTSCREENS="6" > -DWSDISPLAY_COMPAT_PCVT -DPCIAGP -DONEWIREVERBOSE -DMULTIPROCESSOR > -DMPVERBOSE -DACPIVERBOSE -DACPI_ENABLE -D_KERNEL -Di386 -c > /usr/src/sys/arch/i386/compile/GENERIC.ACPI/../../../../dev/acpi/acpimadt.c > /usr/src/sys/dev/acpi/acpimadt.c: In function `acpimadt_attach': > /usr/src/sys/dev/acpi/acpimadt.c:129: warning: assignment makes > integer from pointer without a cast > /usr/src/sys/dev/acpi/acpimadt.c:206: error: invalid type argument of `->' > /usr/src/sys/dev/acpi/acpimadt.c:207: error: invalid type argument of `->' > /usr/src/sys/dev/acpi/acpimadt.c:235: error: invalid type argument of `->' > /usr/src/sys/dev/acpi/acpimadt.c:236: error: invalid type argument of `->' > *** Error code 1 > > Stop in /usr/src/sys/arch/i386/compile/GENERIC.ACPI (line 3908 of > Makefile). > > > > I'm actively working on integrating it though, so it might no longer > > apply later this weekend. > > Don't know if that's the cause for the error or if I did something > wrong, following -current is quite new to me. Anyway, I hope that you > post here if there are any news regarding this. Thank you! :-)
It might be. I updated the patch. Start with a clean tree before trying to apply it (and you might want to check whether it builds on that other i386 box first). Mark