bug-hurd
[Top][All Lists]
Advanced

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

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


From: Jose Luis Alarcon Sanchez
Subject: Athlon patch. (Was:Re: Driver used by Xorg)
Date: Mon, 2 Jul 2007 12:28:18 +0200
User-agent: Mutt/1.5.13 (2006-08-11)

On Sun, Jul 01, 2007 at 10:57:17PM +0200, Samuel Thibault wrote:
> Jose Luis Alarcon Sanchez, le Sun 01 Jul 2007 13:56:22 +0200, a ?crit :
> > [   26.383601] CPU0: AMD Athlon(tm) Processor stepping 04
> 
> Ok, so this is Athlon. Could you try to apply attached patch to gnumach?
> (and if that helps, try without CR0_NW)
> 
> Samuel

> Index: ./i386/i386at/model_dep.c
> ===================================================================
> RCS file: /cvsroot/hurd/gnumach/i386/i386at/Attic/model_dep.c,v
> retrieving revision 1.9.2.13
> diff -u -p -r1.9.2.13 model_dep.c
> --- ./i386/i386at/model_dep.c 5 May 2007 15:27:44 -0000       1.9.2.13
> +++ ./i386/i386at/model_dep.c 1 Jul 2007 20:56:30 -0000
> @@ -268,7 +268,8 @@ i386at_init(void)
>       set_cr3((unsigned)kernel_page_dir);
>       if (CPU_HAS_FEATURE(CPU_FEATURE_PGE))
>               set_cr4(get_cr4() | CR4_PGE);
> -     set_cr0(get_cr0() | CR0_PG | CR0_WP);
> +     printf("boot cr0 is %x\n",get_cr0());
> +     set_cr0(get_cr0() | CR0_PG | CR0_WP | CR0_CD | CR0_NW);
>       flush_instr_queue();
>  
>       /*

Hi Samuel.

/usr/src/gnumach# patch -p0 < samuel.patch 
patching file ./i386/i386at/model_dep.c
Hunk #1 FAILED at 268.
1 out of 1 hunk FAILED -- saving rejects to file
./i386/i386at/model_dep.c.rej
/usr/src/gnumach# 

Attached files samuel.patch i try to apply and i386/i386at/model_dep.c.rej

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: samuel.patch
Description: Text Data

Attachment: model_dep.c.rej
Description: Text document

Attachment: signature.asc
Description: Digital signature


reply via email to

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