Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 20 Dec 2006 21:11:41 +0100
From:      Bruno Ducrot <ducrot@poupinou.org>
To:        Abdullah Al-Marrie <almarrie@gmail.com>
Cc:        freebsd-mobile@freebsd.org
Subject:   Re: Acer Aspire WLMi 5102 with AMD Turion 64 X2 system hanging with powerd on 6.2-RC1 and 6.2-PRERELEASE
Message-ID:  <20061220201141.GY4945@poupinou.org>
In-Reply-To: <20061220191350.GX4945@poupinou.org>
References:  <499c70c0612200040w246c8cfcu9047463cb98bcff9@mail.gmail.com> <200612201711.25944.kevin.foo@zaidibrahim.com> <20061220103735.GT4945@poupinou.org> <499c70c0612200908x36f9cb5fk3eb9b7e71bc664a4@mail.gmail.com> <20061220175735.GV4945@poupinou.org> <499c70c0612201042t7def6de0l71e93715dc7c7717@mail.gmail.com> <20061220191350.GX4945@poupinou.org>

next in thread | previous in thread | raw e-mail | index | archive | help
On Wed, Dec 20, 2006 at 08:13:50PM +0100, Bruno Ducrot wrote:
> On Wed, Dec 20, 2006 at 09:42:01PM +0300, Abdullah Al-Marrie wrote:
> > On 12/20/06, Bruno Ducrot <ducrot@poupinou.org> wrote:
> > >On Wed, Dec 20, 2006 at 08:08:57PM +0300, Abdullah Al-Marrie wrote:
> > >> On 12/20/06, Bruno Ducrot <ducrot@poupinou.org> wrote:
> > >> >Hi,
> > >> >
> > >> >On Wed, Dec 20, 2006 at 05:11:25PM +0800, Kevin Foo wrote:
> > >> >> On Wednesday 20 December 2006 16:40, Abdullah Al-Marrie wrote:
> > >> >> > Hello guys,
> > >> >> >
> > >> >> > I have problem with my laptop Acer Aspire 5102 WLMi which has AMD
> > >> >> > Turion? 64 X2 dual-core TL-50 1.6 GHz with 1.5 GB of ram.
> > >> >> >
> > >> >> > I'm running i386 6.2-RC1 upgraded to 6.2-PRELEASE via RELENG6 tag
> > >> >> > since I don't have more than 4 GB of ram.
> > >> >> >
> > >> >> > But the the laptop even doesn't boot some times,  and if booted it
> > >> >> > hangs all the time, till I hashed out powerd_enable="YES"
> > >> >> >
> > >...
> > >...
> > >
> > >> #sysctl dev.powernow
> > >> dev.powernow.0.%desc: PowerNow! K8
> > >> dev.powernow.0.%driver: powernow
> > >> dev.powernow.0.%parent: cpu0
> > >> dev.powernow.0.freq_settings: 1592/70000 796/19383
> > >> dev.powernow.1.%desc: PowerNow! K8
> > >> dev.powernow.1.%driver: powernow
> > >> dev.powernow.1.%parent: cpu1
> > >> dev.powernow.1.freq_settings: 1592/70000 796/19383
> > >>
> > >> # sysctl dev.acpi_throttle
> > >> sysctl: unknown oid 'dev.acpi_throttle'
> > >
> > >Thanks.  Could you please try this path:
> > >
> > >http://people.FreeBSD.org/~bruno/powernow.c.pending_bit_stuck.diff
> > >
> > >cd /sys/i386/cpufreq
> > >patch < /path/to/powernow.c.pending_bit_stuck.diff
> > >cd /sys/modules/cpufreq
> > >make
> > >make install
> > >make clean
> > >
> > >then reboot and please report if that help with the powerd problem.
> > >
> > >Cheers,
> > >
> > >--
> > >Bruno Ducrot
> > 
> > Greetings Burno,
> > 
> > Thanks for your kind prompt to help.
> > 
> > I'm not advanced user to apply patches, I didn't reach this level yet :P
> > 
> > Can you please give the details HOWTO?
> 
> Yes, of course, but I just found my patch will make thinks worst.  I'm
> currently reworking it.

It should be ok now.

For detailed instruction:

cd /usr/src/sys/i386/cpufreq
fetch http://people.FreeBSD.org/~bruno/powernow.c.pending_bit_stuck.diff
patch < powernow.c.pending_bit_stuck.diff

Now if you do have still your
/usr/obj/usr/src/sys/ARABIAN
then:

cd /usr/obj/usr/src/sys/ARABIAN
make
make install

or if you have already removed /usr/obj, then rebuild your kernel via

cd /usr/src
make kernel KERNCONF=ARABIAN

Cheers,

-- 
Bruno Ducrot

--  Which is worse:  ignorance or apathy?
--  Don't know.  Don't care.



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