linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* Re: PCI - Tseng ET6000 - bad memory amount  detection
  2001-09-17 18:33 PCI - Tseng ET6000 - bad memory amount detection Marek Mentel
@ 2001-09-17 13:03 ` Alan Cox
  2001-09-17 15:37   ` Strange ps line Giuliano Pochini
  0 siblings, 1 reply; 6+ messages in thread
From: Alan Cox @ 2001-09-17 13:03 UTC (permalink / raw)
  To: mmark; +Cc: linux-kernel

> Looking  for lscpci  output  I have found that amount of detected
> memory on my  SVGA Tseng ET6000 is incorrect :

The PCI table reports the amount of address space allocated, not memory. It
is quite common for this to be more than the memory. Sometimes there
are gaps, sometimes the memory is accessible big endian, and little endian
at different offsets - etc

Alan

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

* Strange ps line
  2001-09-17 13:03 ` Alan Cox
@ 2001-09-17 15:37   ` Giuliano Pochini
  2001-09-17 19:06     ` Flavio Bruno Leitner
  0 siblings, 1 reply; 6+ messages in thread
From: Giuliano Pochini @ 2001-09-17 15:37 UTC (permalink / raw)
  To: linux-kernel


>From "ps axuw":

USER       PID %CPU %MEM   VSZ  RSS TTY      STAT START   TIME COMMAND
httpd     5020  0.0  0.0     0    0 ?        Z    16:46   0:00 [getcod.cgi <defunct>]
httpd     5022  0.0  0.0     0    0 ?        Z    16:46   0:00 [getcod.cgi <defunct>]
httpd     5025  0.0  0.0 589505315 0 ?       ZL   16:46   0:00 [getcod.cgi <defunct>]
httpd     5049  0.0  0.0     0    0 ?        Z    16:46   0:00 [getcod.cgi <defunct>]

That cgi doesn't lock memory and surely I don't have so much memory.


Bye.


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

* PCI - Tseng ET6000 - bad memory amount  detection
@ 2001-09-17 18:33 Marek Mentel
  2001-09-17 13:03 ` Alan Cox
  0 siblings, 1 reply; 6+ messages in thread
From: Marek Mentel @ 2001-09-17 18:33 UTC (permalink / raw)
  To: linux-kernel

Looking  for lscpci  output  I have found that amount of detected
memory on my  SVGA Tseng ET6000 is incorrect :

00:0f.0 VGA compatible controller: Tseng Labs Inc ET6000 (rev 30)
(prog-if 00 [V
GA])
        Control: I/O+ Mem+ BusMaster- SpecCycle- MemWINV- VGASnoop-
ParErr- Step
ping- SERR- FastB2B-
        Status: Cap- 66Mhz- UDF- FastB2B- ParErr- DEVSEL=slow
>TAbort- <TAbort-
<MAbort- >SERR- <PERR-
        Interrupt: pin A routed to IRQ 11
        Region 0: Memory at e5000000 (32-bit,
non-prefetchable)[size=16M]
        Region 1: I/O ports at e800 [size=256]
        Expansion ROM at <unassigned> [disabled] [size=16M]

The card has only 2 M  - and this incorrect detection  makes 
problems in use mtrr under  XFree4.x .


 Is it   hardware problem    or error  in PCI detection routines ?
     

--------------------------------------------------------
 Marek Mentel  mmark@koala.ichpw.zabrze.pl  2:484/3.8          
 INSTITUTE FOR CHEMICAL PROCESSING OF COAL , Zabrze , POLAND
 NOTE: my opinions are strictly my own and not those of my employer




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

* Re: Strange ps line
  2001-09-17 15:37   ` Strange ps line Giuliano Pochini
@ 2001-09-17 19:06     ` Flavio Bruno Leitner
  2001-09-19  3:20       ` Albert D. Cahalan
  0 siblings, 1 reply; 6+ messages in thread
From: Flavio Bruno Leitner @ 2001-09-17 19:06 UTC (permalink / raw)
  To: Giuliano Pochini; +Cc: linux-kernel

On Mon, Sep 17, 2001 at 05:37:00PM +0200, Giuliano Pochini wrote:
> 
> >From "ps axuw":
> 
> USER       PID %CPU %MEM   VSZ  RSS TTY      STAT START   TIME COMMAND
> httpd     5020  0.0  0.0     0    0 ?        Z    16:46   0:00 [getcod.cgi <defunct>]
> httpd     5022  0.0  0.0     0    0 ?        Z    16:46   0:00 [getcod.cgi <defunct>]
> httpd     5025  0.0  0.0 589505315 0 ?       ZL   16:46   0:00 [getcod.cgi <defunct>]
> httpd     5049  0.0  0.0     0    0 ?        Z    16:46   0:00 [getcod.cgi <defunct>]
> 
> That cgi doesn't lock memory and surely I don't have so much memory.

Look at http://www.erlenstar.demon.co.uk/unix/faq_2.html#SEC14
maybe this can help you. 

-- 
Flávio Bruno Leitner  http://fly.to/fbl
Conectiva Linux http://www.conectiva.com.br/

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

* Re: Strange ps line
  2001-09-17 19:06     ` Flavio Bruno Leitner
@ 2001-09-19  3:20       ` Albert D. Cahalan
  2001-09-19  8:07         ` Giuliano Pochini
  0 siblings, 1 reply; 6+ messages in thread
From: Albert D. Cahalan @ 2001-09-19  3:20 UTC (permalink / raw)
  To: Flavio Bruno Leitner; +Cc: Giuliano Pochini, linux-kernel

Flavio Bruno Leitner writes:
> On Mon, Sep 17, 2001 at 05:37:00PM +0200, Giuliano Pochini wrote:

>> From "ps axuw":
>> 
>> USER       PID %CPU %MEM   VSZ  RSS TTY      STAT START   TIME COMMAND
>> httpd     5020  0.0  0.0     0    0 ?        Z    16:46   0:00 [getcod.cgi <defunct>]
>> httpd     5022  0.0  0.0     0    0 ?        Z    16:46   0:00 [getcod.cgi <defunct>]
>> httpd     5025  0.0  0.0 589505315 0 ?       ZL   16:46   0:00 [getcod.cgi <defunct>]
>> httpd     5049  0.0  0.0     0    0 ?        Z    16:46   0:00 [getcod.cgi <defunct>]
>> 
>> That cgi doesn't lock memory and surely I don't have so much memory.
> 
> Look at http://www.erlenstar.demon.co.uk/unix/faq_2.html#SEC14
> maybe this can help you. 

Yes and no. It might solve his zombie problem, but what about that
outrageous VSZ and the locked memory? Useful info would be:

/proc/5025/status
/proc/5025/stat

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

* Re: Strange ps line
  2001-09-19  3:20       ` Albert D. Cahalan
@ 2001-09-19  8:07         ` Giuliano Pochini
  0 siblings, 0 replies; 6+ messages in thread
From: Giuliano Pochini @ 2001-09-19  8:07 UTC (permalink / raw)
  To: Albert D. Cahalan; +Cc: linux-kernel, Flavio Bruno Leitner


>>> From "ps axuw":
>>> 
>>> USER       PID %CPU %MEM   VSZ  RSS TTY      STAT START   TIME COMMAND
>>> httpd     5020  0.0  0.0     0    0 ?        Z    16:46   0:00 [getcod.cgi <defunct>]
>>> httpd     5022  0.0  0.0     0    0 ?        Z    16:46   0:00 [getcod.cgi <defunct>]
>>> httpd     5025  0.0  0.0 589505315 0 ?       ZL   16:46   0:00 [getcod.cgi <defunct>]
>>> httpd     5049  0.0  0.0     0    0 ?        Z    16:46   0:00 [getcod.cgi <defunct>]
>>> 
>>> That cgi doesn't lock memory and surely I don't have so much memory.
>> 
>> Look at http://www.erlenstar.demon.co.uk/unix/faq_2.html#SEC14
>> maybe this can help you. 
> 
> Yes and no. It might solve his zombie problem, but what about that
> outrageous VSZ and the locked memory? Useful info would be:
> 
> /proc/5025/status
> /proc/5025/stat

That strange line is extremely rare. Actually it's the first time I see it and
I was unable to reproduce. And since it's a zombie it just didn't live enough
to type "cat /proc/....". I think there is a race somewhere. I don't know if
it's dangerous of if it only accects /proc reads sometimes ?


Bye.

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

end of thread, other threads:[~2001-09-19  8:07 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2001-09-17 18:33 PCI - Tseng ET6000 - bad memory amount detection Marek Mentel
2001-09-17 13:03 ` Alan Cox
2001-09-17 15:37   ` Strange ps line Giuliano Pochini
2001-09-17 19:06     ` Flavio Bruno Leitner
2001-09-19  3:20       ` Albert D. Cahalan
2001-09-19  8:07         ` Giuliano Pochini

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).