On Fri, Feb 18, 2005 at 03:34:53PM +1100, Benjamin Herrenschmidt wrote: > On Wed, 2005-02-16 at 20:28 -0800, Shyamal Prasad wrote: > > Hi, > > > > I have a PowerMac7,3 machine (dual G5 970FX). It does not run Linux > > continously just yet. So I installed anacron as I do for all such > > computers. This is a stock Debian sarge installation (in particular, I > > do not compile my own kernel). > > > > Over the last few weeks I've noticed the dlocate database is always > > out of date....it seems the kernel insists I am running on battery > > power with zero batteries. > > > > ------------------------------------------------------------------------ > > [EMAIL PROTECTED]:~$ sudo /etc/init.d/anacron start > > Starting anac(h)ronistic cron: deferred while on battery power. > > > > [EMAIL PROTECTED]:~$ cat /proc/pmu/info > > PMU driver version : 2 > > PMU firmware version : 0c > > AC Power : 0 > > Battery count : 0 > > > > [EMAIL PROTECTED]:~$ dmesg | grep -i pmu > > via-pmu: Server Mode is disabled > > PMU driver 2 initialized for Core99, firmware: 0c > > > > [EMAIL PROTECTED]:~$ grep -i pmu /boot/config-2.6.8-power4-smp > > CONFIG_ADB_PMU=y > > > > [EMAIL PROTECTED]:~$ grep CONFIG_PMAC_PBOOK /boot/config-2.6.8-power4-smp > > CONFIG_PMAC_PBOOK=y > > G5s aren't supposed to turn CONFIG_PMAC_PBOOK on ... Yes, the battery/AC > code doesn't work on desktops.
Well, i guess the sane thing would be to disable these pmac specific stuff on -smp configs, since i doubt we will see any dual processor powerbook anytime soon. That said, should those drivers not realise they are on unsupported hardware and refuse to be loaded or something ? Like we did for the serial drivers ? Friendly, Sven Luther -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

