public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* swap is never used on ultrasparc64/32 - 2.6.11-rc2
@ 2005-01-25 15:00 Grzegorz Piotr Jaskiewicz
  2005-01-25 17:40 ` swap is never used on ultrasparc64/32 - 2.6.11-rc2 (STILL NOT SOLVED) Grzegorz Piotr Jaskiewicz
  0 siblings, 1 reply; 4+ messages in thread
From: Grzegorz Piotr Jaskiewicz @ 2005-01-25 15:00 UTC (permalink / raw)
  To: Linux Kernel Mailing List

I've 2.6.11-rc2 sparc64 kernel, userland is 32bits.

I was compiling few things, fired up firefox, and kaboom. No memory.

Meanwhile, I runned swapoff -a, mkswap -v1 /dev/hda2 , swapon -a, and 
tried to replace swap partition with swap file, which didn't worked either.
Here's dmesg:

oom-killer: gfp_mask=0x1d2
DMA per-cpu:
cpu 0 hot: low 6, high 18, batch 3
cpu 0 cold: low 0, high 6, batch 3
Normal per-cpu: empty
HighMem per-cpu: empty

Free pages:        3520kB (0kB HighMem)
Active:28 inactive:13023 dirty:0 writeback:0 unstable:0 free:440 
slab:908 mapped:18446744073704443093 pagetables:167
DMA free:3520kB min:1408kB low:1760kB high:2112kB active:224kB 
inactive:104184kB present:125192kB pages_scanned:0 all_unreclaimable? no
protections[]: 0 0 0
Normal free:0kB min:0kB low:0kB high:0kB active:0kB inactive:0kB 
present:0kB pages_scanned:0 all_unreclaimable? no
protections[]: 0 0 0
HighMem free:0kB min:256kB low:320kB high:384kB active:0kB inactive:0kB 
present:0kB pages_scanned:0 all_unreclaimable? no
protections[]: 0 0 0
DMA: 240*8kB 14*16kB 1*32kB 1*64kB 2*128kB 2*256kB 1*512kB 0*1024kB 
0*2048kB 0*4096kB 0*8192kB = 3520kB
Normal: empty
HighMem: empty
Swap cache: add 310, delete 310, find 41/50, race 0+0
Out of Memory: Killed process 15926 (mozilla-bin).
Out of Memory: Killed process 15923 (mozilla-bin).
Out of Memory: Killed process 15927 (mozilla-bin).
Out of Memory: Killed process 15931 (mozilla-bin).
ioctl32(esd:16474): Unknown cmd fd(10) cmd(40045500){00} arg(efffe35c) 
on /dev/snd/controlC0
oom-killer: gfp_mask=0x1d2
DMA per-cpu:
cpu 0 hot: low 6, high 18, batch 3
cpu 0 cold: low 0, high 6, batch 3
Normal per-cpu: empty
HighMem per-cpu: empty

Free pages:        2312kB (0kB HighMem)
Active:14 inactive:13186 dirty:0 writeback:0 unstable:0 free:289 
slab:895 mapped:18446744073704347582 pagetables:161
DMA free:2312kB min:1408kB low:1760kB high:2112kB active:112kB 
inactive:105488kB present:125192kB pages_scanned:0 all_unreclaimable? no
protections[]: 0 0 0
Normal free:0kB min:0kB low:0kB high:0kB active:0kB inactive:0kB 
present:0kB pages_scanned:0 all_unreclaimable? no
protections[]: 0 0 0
HighMem free:0kB min:256kB low:320kB high:384kB active:0kB inactive:0kB 
present:0kB pages_scanned:0 all_unreclaimable? no
protections[]: 0 0 0
DMA: 95*8kB 11*16kB 1*32kB 1*64kB 2*128kB 2*256kB 1*512kB 0*1024kB 
0*2048kB 0*4096kB 0*8192kB = 2312kB
Normal: empty
HighMem: empty
Swap cache: add 310, delete 310, find 41/50, race 0+0
Out of Memory: Killed process 16456 (firefox-bin).
Out of Memory: Killed process 16450 (firefox-bin).
Out of Memory: Killed process 16457 (firefox-bin).
Out of Memory: Killed process 16461 (firefox-bin).
Adding 249936k swap on /dev/hda2.  Priority:-2 extents:1
ioctl32(esd:16742): Unknown cmd fd(10) cmd(40045500){00} arg(efffe35c) 
on /dev/snd/controlC0
Adding 127984k swap on /swap.  Priority:-3 extents:5



top shows that swap memory is present, but it never get used.

-- 
GJ

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

* Re: swap is never used on ultrasparc64/32 - 2.6.11-rc2 (STILL NOT SOLVED)
  2005-01-25 15:00 swap is never used on ultrasparc64/32 - 2.6.11-rc2 Grzegorz Piotr Jaskiewicz
@ 2005-01-25 17:40 ` Grzegorz Piotr Jaskiewicz
  2005-01-26  0:03   ` René Rebe
  0 siblings, 1 reply; 4+ messages in thread
From: Grzegorz Piotr Jaskiewicz @ 2005-01-25 17:40 UTC (permalink / raw)
  To: Linux Kernel Mailing List

Odd, see this:


[root@smark root]# cat /proc/meminfo
MemTotal:       123496 kB
MemFree:         61104 kB
Buffers:          6776 kB
Cached:          16752 kB
SwapCached:          0 kB
Active:          36280 kB
Inactive:        11824 kB
HighTotal:           0 kB
HighFree:            0 kB
LowTotal:       123496 kB
LowFree:         61104 kB
SwapTotal:      127984 kB
SwapFree:       127984 kB
Dirty:             360 kB
Writeback:          48 kB
Mapped:       18446744073652757328 kB
Slab:             6912 kB
CommitLimit:    189728 kB
Committed_AS:    46032 kB
PageTables:        952 kB
VmallocTotal:  3145728 kB
VmallocUsed:      1520 kB
VmallocChunk:  3144176 kB
HugePages_Total:     0
HugePages_Free:      0
Hugepagesize:      512 kB


Grzegorz Piotr Jaskiewicz wrote:
> I've 2.6.11-rc2 sparc64 kernel, userland is 32bits.
> 
> I was compiling few things, fired up firefox, and kaboom. No memory.
> 
> Meanwhile, I runned swapoff -a, mkswap -v1 /dev/hda2 , swapon -a, and 
> tried to replace swap partition with swap file, which didn't worked either.
> Here's dmesg:
> 
> oom-killer: gfp_mask=0x1d2
> DMA per-cpu:
> cpu 0 hot: low 6, high 18, batch 3
> cpu 0 cold: low 0, high 6, batch 3
> Normal per-cpu: empty
> HighMem per-cpu: empty
> 
> Free pages:        3520kB (0kB HighMem)
> Active:28 inactive:13023 dirty:0 writeback:0 unstable:0 free:440 
> slab:908 mapped:18446744073704443093 pagetables:167
> DMA free:3520kB min:1408kB low:1760kB high:2112kB active:224kB 
> inactive:104184kB present:125192kB pages_scanned:0 all_unreclaimable? no
> protections[]: 0 0 0
> Normal free:0kB min:0kB low:0kB high:0kB active:0kB inactive:0kB 
> present:0kB pages_scanned:0 all_unreclaimable? no
> protections[]: 0 0 0
> HighMem free:0kB min:256kB low:320kB high:384kB active:0kB inactive:0kB 
> present:0kB pages_scanned:0 all_unreclaimable? no
> protections[]: 0 0 0
> DMA: 240*8kB 14*16kB 1*32kB 1*64kB 2*128kB 2*256kB 1*512kB 0*1024kB 
> 0*2048kB 0*4096kB 0*8192kB = 3520kB
> Normal: empty
> HighMem: empty
> Swap cache: add 310, delete 310, find 41/50, race 0+0
> Out of Memory: Killed process 15926 (mozilla-bin).
> Out of Memory: Killed process 15923 (mozilla-bin).
> Out of Memory: Killed process 15927 (mozilla-bin).
> Out of Memory: Killed process 15931 (mozilla-bin).
> ioctl32(esd:16474): Unknown cmd fd(10) cmd(40045500){00} arg(efffe35c) 
> on /dev/snd/controlC0
> oom-killer: gfp_mask=0x1d2
> DMA per-cpu:
> cpu 0 hot: low 6, high 18, batch 3
> cpu 0 cold: low 0, high 6, batch 3
> Normal per-cpu: empty
> HighMem per-cpu: empty
> 
> Free pages:        2312kB (0kB HighMem)
> Active:14 inactive:13186 dirty:0 writeback:0 unstable:0 free:289 
> slab:895 mapped:18446744073704347582 pagetables:161
> DMA free:2312kB min:1408kB low:1760kB high:2112kB active:112kB 
> inactive:105488kB present:125192kB pages_scanned:0 all_unreclaimable? no
> protections[]: 0 0 0
> Normal free:0kB min:0kB low:0kB high:0kB active:0kB inactive:0kB 
> present:0kB pages_scanned:0 all_unreclaimable? no
> protections[]: 0 0 0
> HighMem free:0kB min:256kB low:320kB high:384kB active:0kB inactive:0kB 
> present:0kB pages_scanned:0 all_unreclaimable? no
> protections[]: 0 0 0
> DMA: 95*8kB 11*16kB 1*32kB 1*64kB 2*128kB 2*256kB 1*512kB 0*1024kB 
> 0*2048kB 0*4096kB 0*8192kB = 2312kB
> Normal: empty
> HighMem: empty
> Swap cache: add 310, delete 310, find 41/50, race 0+0
> Out of Memory: Killed process 16456 (firefox-bin).
> Out of Memory: Killed process 16450 (firefox-bin).
> Out of Memory: Killed process 16457 (firefox-bin).
> Out of Memory: Killed process 16461 (firefox-bin).
> Adding 249936k swap on /dev/hda2.  Priority:-2 extents:1
> ioctl32(esd:16742): Unknown cmd fd(10) cmd(40045500){00} arg(efffe35c) 
> on /dev/snd/controlC0
> Adding 127984k swap on /swap.  Priority:-3 extents:5
> 
> 
> 
> top shows that swap memory is present, but it never get used.
> 


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

* Re: swap is never used on ultrasparc64/32 - 2.6.11-rc2 (STILL NOT SOLVED)
  2005-01-25 17:40 ` swap is never used on ultrasparc64/32 - 2.6.11-rc2 (STILL NOT SOLVED) Grzegorz Piotr Jaskiewicz
@ 2005-01-26  0:03   ` René Rebe
  2005-01-26  1:43     ` gj
  0 siblings, 1 reply; 4+ messages in thread
From: René Rebe @ 2005-01-26  0:03 UTC (permalink / raw)
  To: Grzegorz Piotr Jaskiewicz; +Cc: Linux Kernel Mailing List

Hi,

On 25. Jan 2005, at 18:40 Uhr, Grzegorz Piotr Jaskiewicz wrote:

[...]

I can confirm this. What is your last kernel that worked? I have no 
data at hand - but I'm sure in either 2.6.8 or 2.6.10 swapping did 
work.

Yours,

-- 
René Rebe - Rubensstr. 64 - 12157 Berlin (Europe / Germany)
             http://www.exactcode.de | http://www.exactcode.de/t2
             +49 (0)30  255 897 45


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

* Re: swap is never used on ultrasparc64/32 - 2.6.11-rc2 (STILL NOT SOLVED)
  2005-01-26  0:03   ` René Rebe
@ 2005-01-26  1:43     ` gj
  0 siblings, 0 replies; 4+ messages in thread
From: gj @ 2005-01-26  1:43 UTC (permalink / raw)
  To: René Rebe; +Cc: Linux Kernel Mailing List

On Wed, 26 Jan 2005 at 01:04:10, René Rebe wrote: 
 
> Hi, 
>  
> On 25. Jan 2005, at 18:40 Uhr, Grzegorz Piotr Jaskiewicz wrote: 
>  
> [...] 
>  
> I can confirm this. What is your last kernel that worked? I have no  
> data at hand - but I'm sure in either 2.6.8 or 2.6.10 swapping did  
> work. 
I've tried both 2.6.10 and 2.6.11-rc2. None of these works. I'll try earlier 
versions tommorow. Having very fast amd64 cross compilation computer helps in 
that a lot ;) 
 
--  
Grzegorz Jaskiewicz 
K4 Labs 

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

end of thread, other threads:[~2005-01-26  1:44 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2005-01-25 15:00 swap is never used on ultrasparc64/32 - 2.6.11-rc2 Grzegorz Piotr Jaskiewicz
2005-01-25 17:40 ` swap is never used on ultrasparc64/32 - 2.6.11-rc2 (STILL NOT SOLVED) Grzegorz Piotr Jaskiewicz
2005-01-26  0:03   ` René Rebe
2005-01-26  1:43     ` gj

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