public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* Re: REVISED: Experimentation with Athlon and fast_page_copy
@ 2001-05-04 19:14 Manfred Spraul
  2001-05-04 19:30 ` Seth Goldberg
  2001-05-04 21:43 ` Alan Cox
  0 siblings, 2 replies; 26+ messages in thread
From: Manfred Spraul @ 2001-05-04 19:14 UTC (permalink / raw)
  To: bergsoft, linux-kernel

> ---
> >       __asm__ __volatile__ (
> 158c157
> <               "3: movw $0x1AEB, 1b\n"
> ---
> >               "3: movw $0x1AEB, 1b\n" /* jmp on 26 bytes */
> 166c165
> < */
> ---
> >
> 170c169
> <               "1: nop\n" /* prefetch 320(%0)\n" */
> ---
> >               "1: prefetch 320(%0)\n"                                         
> -------------------------
>   Please let me know if that makes sense :).

Very interesting.
You've removed only the prefetch 320(%0), not the other prefetch
instructions?

prefetch 320(%0) can fetch memory behind the end of the source page.
Perhaps it accesses memory in the ISA hole, or beyond the end of memory?
Could you post the e820 map from dmesg?

It's possible to build manually a memory map.
Could you build one with wide margins from "dangerous" areas? (untested:
mem=exactmap mem=620k@0 mem=<your mem in MB-2>M@1M)

Then boot with prefetch enabled.
--
	Manfred

^ permalink raw reply	[flat|nested] 26+ messages in thread
* Re: REVISED: Experimentation with Athlon and fast_page_copy
@ 2001-05-05 17:34 Jeremy
  0 siblings, 0 replies; 26+ messages in thread
From: Jeremy @ 2001-05-05 17:34 UTC (permalink / raw)
  To: Seth Goldberg; +Cc: Alan Cox, linux-kernel

Quick note.  I *AM* seeing this problem on a Tyan S2390B which has the
Via KT133A chipset on it.

AMD Athlon 1.33ghz
2x256m DIMMs
Linux 2.4.4-ac5

I haven't done the ksymoops conversions yet, but please let me know if you'd
like anything else.  But basically, it looks exactly like what all the IWILL
owners are seeing.

Any other tyan S2390B users?

thx, -j


-- 
---------------------------------------------------------------------------
                          heffner at darkness.net
                       Darkness Network Engineering
                   PGP public key available on request
            My thoughts and opinions represent no one but myself
---------------------------------------------------------------------------

^ permalink raw reply	[flat|nested] 26+ messages in thread
* Re: REVISED: Experimentation with Athlon and fast_page_copy
@ 2001-05-05  2:28 Dieter Nützel
  2001-05-05  7:13 ` Alan Cox
  0 siblings, 1 reply; 26+ messages in thread
From: Dieter Nützel @ 2001-05-05  2:28 UTC (permalink / raw)
  To: Alan Cox; +Cc: Linux Kernel List

> What still stands out is that exactly _zero_ people have reported the same
> problem with non VIA chipset Athlons.

Sorry Alan, but...

My (very) old Athlon 550 (model 1, stepping 2) show it on my MSI MS-6167 (AMD 
Irongate C4) with your 2.4.4-ac5, now :-(
Even with or without apm/acpi enabled.
It freezes during "Freeing unused kernel memory: 172k freed".
Never saw this before.

I am open for any test fixes...

-Dieter

SuSE 7.1 (glibc-2.2, gcc-2.95.2)

Linux version 2.4.4 (root@SunWave1) (gcc version 2.95.2 19991024 (release)) 
#1 Sun Apr 29 02:30:34 CEST 2001
BIOS-provided physical RAM map:
 BIOS-e820: 0000000000000000 - 000000000009fc00 (usable)
 BIOS-e820: 000000000009fc00 - 00000000000a0000 (reserved)
 BIOS-e820: 00000000000f0000 - 0000000000100000 (reserved)
 BIOS-e820: 0000000000100000 - 0000000013ff0000 (usable)
 BIOS-e820: 0000000013ff0000 - 0000000013ff3000 (ACPI NVS)
 BIOS-e820: 0000000013ff3000 - 0000000014000000 (ACPI data)
 BIOS-e820: 00000000ffff0000 - 0000000100000000 (reserved)
Scan SMP from c0000000 for 1024 bytes.
Scan SMP from c009fc00 for 1024 bytes.
Scan SMP from c00f0000 for 65536 bytes.
Scan SMP from c009f800 for 4096 bytes.
On node 0 totalpages: 81904
zone(0): 4096 pages.
zone(1): 77808 pages.
zone(2): 0 pages.
mapped APIC to ffffe000 (01555000)

SunWave1>cat /proc/cpuinfo
processor       : 0
vendor_id       : AuthenticAMD
cpu family      : 6
model           : 1
model name      : AMD-K7(tm) Processor
stepping        : 2
cpu MHz         : 548.950
cache size      : 512 KB
fdiv_bug        : no
hlt_bug         : no
f00f_bug        : no
coma_bug        : no
fpu             : yes
fpu_exception   : yes
cpuid level     : 1
wp              : yes
flags           : fpu vme de pse tsc msr pae mce cx8 sep mtrr pge mca cmov 
pat mmx syscall mmxext 3dnowext 3dnow
bogomips        : 1094.45

-- 
Dieter Nützel
Graduate Student, Computer Science

University of Hamburg
Department of Computer Science
Cognitive Systems Group
Vogt-Kölln-Straße 30
D-22527 Hamburg, Germany

email: nuetzel@kogs.informatik.uni-hamburg.de
@home: Dieter.Nuetzel@hamburg.de

^ permalink raw reply	[flat|nested] 26+ messages in thread
* REVISED: Experimentation with Athlon and fast_page_copy
@ 2001-05-04 17:22 Seth Goldberg
  2001-05-04 19:48 ` Brian Gerst
  2001-05-04 21:09 ` Alan Cox
  0 siblings, 2 replies; 26+ messages in thread
From: Seth Goldberg @ 2001-05-04 17:22 UTC (permalink / raw)
  To: linux-kernel

Hi,
 
 After removing my head from my a**, I revised the code that checks
the memory copy in the fast_page_copy routine.  The machine then
proceeded
not to stop at my panic, but I got my "normal" oopses.  I then had an
idea and removed all the prefetch instructions from the beginning of the
routine and tried the resultin kernel.  I now have no crashes.
What could this mean?

Here is a nother patch just so you can keep me honest if I
made another mistake:

-------------------------
diff -r ./arch/i386/lib/mmx.c ../lin2/linux/arch/i386/lib/mmx.c
149,150c149
<
< /*    __asm__ __volatile__ (
---
>       __asm__ __volatile__ (
158c157
<               "3: movw $0x1AEB, 1b\n"
---
>               "3: movw $0x1AEB, 1b\n" /* jmp on 26 bytes */
166c165
< */
---
>
170c169
<               "1: nop\n" /* prefetch 320(%0)\n" */
---
>               "1: prefetch 320(%0)\n"                                         
-------------------------

  Please let me know if that makes sense :).

  Thank you,
   Seth

^ permalink raw reply	[flat|nested] 26+ messages in thread

end of thread, other threads:[~2001-05-09 23:41 UTC | newest]

Thread overview: 26+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2001-05-04 19:14 REVISED: Experimentation with Athlon and fast_page_copy Manfred Spraul
2001-05-04 19:30 ` Seth Goldberg
2001-05-04 21:43 ` Alan Cox
2001-05-08 21:15   ` Arjan van de Ven
  -- strict thread matches above, loose matches on Subject: below --
2001-05-05 17:34 Jeremy
2001-05-05  2:28 Dieter Nützel
2001-05-05  7:13 ` Alan Cox
2001-05-09 23:56   ` Dieter Nützel
2001-05-04 17:22 Seth Goldberg
2001-05-04 19:48 ` Brian Gerst
2001-05-04 21:09 ` Alan Cox
2001-05-04 22:26   ` Aaron Tiensivu
2001-05-04 18:10     ` Bobby D. Bryant
2001-05-05  6:43       ` John R Lenton
2001-05-05  7:20         ` Alan Cox
2001-05-07  1:26           ` John R Lenton
2001-05-07  1:30             ` Jeremy
2001-05-05  0:26     ` Joseph Carter
2001-05-05  3:51       ` Chris Wedgwood
2001-05-05  4:08         ` Seth Goldberg
2001-05-05  5:45         ` Joseph Carter
2001-05-09  2:11   ` Tom Leete
2001-05-09  8:49     ` Alan Cox
2001-05-09 11:38       ` Tom Leete
2001-05-09 12:38         ` Alan Cox
2001-05-09 13:02           ` Tom Leete

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox