Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 26 Nov 2005 00:00:36 +0100
From:      Mathieu Prevot <freebsd-stable@club-internet.fr>
To:        Nate Lawson <nate@root.org>
Cc:        acpi@freebsd.org
Subject:   Re: Build just one module (was Re: [Fwd: cvs commit:
Message-ID:  <DF41DD01-36FD-4EFD-8499-550A739F4085@club-internet.fr>
In-Reply-To: <43860AD3.7090608@root.org>
References:  <4383C083.6010300@root.org> <4383D58C.5040004@samsco.org>	<20051123024911.GA99513@polands.org>	<DCBF9DFF-F214-495F-8C55-64974A8E50B1@club-internet.fr>	<20051123144850.GA1613@polands.org> <74C4FED8-AFD1-4375-A875-438827BECC57@club-internet.fr> <43860AD3.7090608@root.org>

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

Le 24 nov. 05 =E0 19:47, Nate Lawson a =E9crit :

> Mathieu Prevot wrote:
>> Le 23 nov. 05 =E0 15:48, Doug Poland a =E9crit :
>>> On Wed, Nov 23, 2005 at 11:49:20AM +0100, Mathieu Prevot wrote:
>>>
>>>>
>>>> Le 23 nov. 05 ? 03:49, Doug Poland a ?crit :
>>>>
>>>>>> Nate Lawson wrote:
>>>>>>
>>>>>>> Here is a patch that should fix the battery hangs on =20
>>>>>>> RELENG_6.  It
>>>>>>> was tested to work fine, although I need testing from an =20
>>>>>>> affected
>>>>>>> user to verify it fixes the problem.  It was committed to =20
>>>>>>> HEAD and
>>>>>>> will be MFCed if it fixes the problem.
>>>>>>>
>>>>> My Dell C600 is affected by this problem.  I'm running 6.0-=20
>>>>> STABLE  and
>>>>> would be glad to test the patch.  Since I don't run patches  =20
>>>>> often, if
>>>>> someone could point me to a doc on how to apply the patch, I'd
>>>>> appreciate it.
>>>>
>>>> You should think man 'subject', Unix for the impatient or google =20=

>>>> and
>>>> find things like:
>>>>
>>>> patch -i patchfile filetopatch
>>>> patch<patchfile
>>>>
>>> Thank you, that part is fairly obvious.  What I'm unsure of is  =20
>>> where in
>>> the source tree do I apply that patch from, and, must I to rebuild
>>> world, or just the affected part of sys/dev.
>> Try and see for the patch. 'patch -i patchfile filetopatch' works  =20=

>> from anywhere.
>> I don't think you need to rebuild world. I think you can just =20
>> build  acpi module but I don't know how.
>> You may glance at /usr/src/Makefile* ...
>
> Look at the path in the patch start.  If it's "sys/dev", then patch =20=

> from your src dir.  If it's "src/sys/dev", patch from above the src =20=

> dir.  If it's just "file.c", then you have to find file.c and patch =20=

> from there (but few people generate diffs this way, it's bad form).
>
> For acpi, then just:
> cd /sys/modules/acpi/acpi && make && cp acpi.ko /
>
> Then at the loader prompt:
> load /acpi.ko
>
> You don't want to use "make install", otherwise you overwrite your =20
> known good acpi.ko

Thanks Nate

MP=



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?DF41DD01-36FD-4EFD-8499-550A739F4085>