bug-hurd
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Athlon patch. (Was:Re: Driver used by Xorg)


From: Jose Luis Alarcon Sanchez
Subject: Re: Athlon patch. (Was:Re: Driver used by Xorg)
Date: Fri, 6 Jul 2007 12:40:50 +0200
User-agent: Mutt/1.5.16 (2007-06-11)

On Wed, Jul 04, 2007 at 10:04:03AM +0700, Ivan Shmakov wrote:
>>>>>> "JLAS" == Jose Luis Alarcon Sanchez <jlalarcon@unlimitedmail.org> 
>>>>>> writes:
>
> >> Could you try with the attached patch instead of my previous patch?
>
> >> Note: this patch is what Linux always does.
>
> [...]
>
> >>             template |= INTEL_PTE_WRITE;
> >> +       if (machine_slot[cpu_number()].cpu_type >= CPU_TYPE_I486
> >> +           && pa >= phys_last_addr)
> >> +           template |= INTEL_PTE_NCACHE|INTEL_PTE_WTHRU;
> >>         if (wired)
>
>        NB: the original message has TABs (^I, ASCII 9) here.  Like the
>        file you're trying to patch, I guess.
>
> [...]
>
> JLAS> Can't understand why:
>
> > /usr/src/gnumach# patch -p0 < patch_04.patch
> > patching file i386/intel/pmap.c
> > Hunk #1 FAILED at 1506.
> > Hunk #2 FAILED at 1618.
> > 2 out of 2 hunks FAILED -- saving rejects to file i386/intel/pmap.c.rej
> > /usr/src/gnumach#
>
> [...]
>
> >                  template |= INTEL_PTE_WRITE;
> > +            if (machine_slot[cpu_number()].cpu_type >= CPU_TYPE_I486
> > +                && pa >= phys_last_addr)
> > +                template |= INTEL_PTE_NCACHE|INTEL_PTE_WTHRU;
> >              if (wired)
>
>        ... While here are the spaces (ASCII 32).
>
> [...]
>
> JLAS> Can you see the "problem"?.
>
>        Looks like ``TABs vs. spaces'' problem.  How did you put the
>        attachment's contents into `patch_04.patch'?  Might it be that
>        TABs were expanded to spaces?  You should try to avoid the
>        expansion, or you may use the `--ignore-whitespace' option to
>        `patch'.
>

Thank you very much, Ivan. You're very kind. Option `--ignore-whitespace'
got Samuel patch was applied perfectly. :)

Samuel, your patch works fine. :) Now i'm on X using nv driver and DDC
option enabled. The Speed is... well, is the "best" speed Gnumach can give. ;)

Best Regards.

Jose.

-- 
http://www.lordofunix.org/
 
Not Registered GNU/Hurd User.
Registered BSD User 51101.
Registered Linux User #213309.
Memories..... You are talking about memories.
Rick Deckard. Blade Runner.

Attachment: signature.asc
Description: Digital signature


reply via email to

[Prev in Thread] Current Thread [Next in Thread]