console and do_syscall_stub
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA512
[42949466.740000] Failed to open console 12, err = -2 [42949466.740000] Failed to open console 12, err = -2 [42949466.740000] Failed to open console 12, err = -2 [42949466.740000] Failed to open console 12, err = -2 [42949466.740000] Failed to open console 12, err = -2 [42949466.740000] Failed to open console 12, err = -2 [42949466.740000] Failed to open console 12, err = -2 [42949466.740000] Failed to open console 12, err = -2 [42949466.740000] Failed to open console 12, err = -2 [42949466.740000] Failed to open console 12, err = -2 [42949466.740000] do_syscall_stub : ret = -12, offset = 548682067984, data = 00000000606b1010 [42949466.740000] do_syscall_stub: syscall 9 failed, return value = 0xfffffffffffffff4, expected return value = 0x17c17000 [42949466.740000] syscall parameters: 0x17c17000 0x1000 0x7 0x11 0x3 0x3e19000 [42949466.740000] Failed to flush page for address 0x17c17000
Linux localhost 2.6.23.12 #5 Tue Dec 25 14:26:58 GMT 2007 x86_64 UML User Mode Linux GNU/Linux
Any ideas?
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.7 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org
iD8DBQFHl8alGK2zHPGK1rsRCnm/AJ9HmHmE7vK4RdFamfM/wVmt72qEdQCfcY7s hXzAKIdkAh7VDZ+BjxsUP8U=
=gd57
-----END PGP SIGNATURE-----
-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
User-mode-linux-devel mailing list [email protected]
https://lists.sourceforge.net/lists/listinfo/user-mode-linux-devel
Quoted 2 lines · Antoine Martin
[42949466.740000] do_syscall_stub : ret = -12, offset = 548682067984,data =
00000000606b1010
This usually means that a UML process hit the host's vm_area_struct limit.
Look at the host's /proc/sys/vm/max_map_count - the default is 64K, which, given UML's propensity to map memory one page at a time, covers 256M of resident memory for a UML process.
I'd say double or quadruple it, depending on how much memory you think a process can use. To be absolutely safe, make it big enough to cover all of a UML's physical memory, since a process RSS can't exceed that.
Jeff
Signature · 10 lines
Work email - jdike at linux dot intel dot com ------------------------------------------------------------------------- This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2008. http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ _______________________________________________ User-mode-linux-devel mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/user-mode-linux-devel
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA512
Quoted 6 lines · Jeff Dike
Quoted 2 lines · Antoine Martin
[42949466.740000] do_syscall_stub : ret = -12, offset = 548682067984,data =
00000000606b1010This usually means that a UML process hit the host's
vm_area_structlimit.
Quoted 8 lines
Look at the host's
/proc/sys/vm/max_map_count- the default is 64K, which, given UML's propensity to map memory one page at a time, covers 256M of resident memory for a UML process.I'd say double or quadruple it, depending on how much memory you think a process can use. To be absolutely safe, make it big enough to cover all of a UML's physical memory, since a process RSS can't exceed that.
Thanks, hasn't happened since.
Any idea about this console thing?
(....)
[42949547.530000] Failed to open console 12, err = -2 [42949547.530000] Failed to open console 12, err = -2 [42949547.530000] Failed to open console 12, err = -2 [42949547.990000] Failed to open console 12, err = -2 [42949548.160000] Failed to open console 12, err = -2 [42949548.190000] Failed to open console 12, err = -2 [42949548.740000] Failed to open console 12, err = -2 [42949549.390000] Failed to open console 12, err = -2 [42949550.270000] Failed to open console 12, err = -2 [42949551.710000] Failed to open console 12, err = -2 [42949555.500000] Failed to open console 12, err = -2 [42949559.010000] Failed to open console 12, err = -2 [42949566.330000] Failed to open console 12, err = -2 [42949572.620000] Failed to open console 12, err = -2 [42949593.450000] syslog-ng invoked oom-killer: gfp_mask=0xa01d2, order=0, oomkilladj=0 [42949593.450000] Call Trace: [42949593.450000] 7f2afb18: [<60047774>] printk_ratelimit+0x15/0x17 [42949593.450000] 7f2afb28: [<6006eb0f>] out_of_memory+0x7c/0xf9 [42949593.450000] 7f2afb68: [<6006fc5f>] __alloc_pages+0x229/0x2b4 [42949593.450000] 7f2afbe8: [<60071bb3>] __do_page_cache_readahead+0xb5/0x167 [42949593.450000] 7f2afc20: [<60059c5f>] wake_bit_function+0x0/0x2a [42949593.450000] 7f2afc58: [<60071d40>] do_page_cache_readahead+0x52/0x5f [42949593.450000] 7f2afc88: [<6006cb5a>] filemap_fault+0x151/0x272 [42949593.450000] 7f2afce8: [<60078c4d>] __do_fault+0x86/0x375 [42949593.450000] 7f2afd68: [<60078f70>] do_linear_fault+0x34/0x36 [42949593.450000] 7f2afd88: [<60079228>] handle_mm_fault+0x13e/0x23d [42949593.450000] 7f2afde8: [<6001794f>] handle_page_fault+0x11f/0x242 [42949593.450000] 7f2afe48: [<60017c00>] segv+0xb4/0x2b8 [42949593.450000] 7f2aff28: [<60017b46>] segv_handler+0x68/0x6e [42949593.450000] 7f2aff48: [<6003a7a5>] get_skas_faultinfo+0x9c/0xa1 [42949593.450000] 7f2aff68: [<6003ad4f>] userspace+0x13a/0x19d [42949593.450000] 7f2affc8: [<600186d6>] fork_handler+0x86/0x8d [42949593.450000] [42949593.450000] Mem-info: [42949593.450000] Normal per-cpu: [42949593.450000] CPU 0: Hot: hi: 186, btch: 31 usd: 22 Cold: hi: 62, btch: 15 usd: 30 [42949593.450000] Active:122119 inactive:48 dirty:0 writeback:0 unstable:0 [42949593.450000] free:719 slab:1833 mapped:3 pagetables:317 bounce:0 [42949593.450000] Normal free:2876kB min:2876kB low:3592kB high:4312kB active:488476kB inactive:192kB present:517120kB pages_scanned:734521 all_unreclaimable? yes [42949593.450000] lowmem_reserve[]: 0 0 [42949593.450000] Normal: 25*4kB 3*8kB 0*16kB 0*32kB 1*64kB 1*128kB 0*256kB 1*512kB 0*1024kB 1*2048kB 0*4096kB = 2876kB [42949593.450000] Swap cache: add 0, delete 0, find 0/0, race 0+0 [42949593.450000] Free swap = 0kB [42949593.450000] Total swap = 0kB [42949593.450000] Free swap: 0kB [42949593.450000] 131072 pages of RAM [42949593.450000] 0 pages of HIGHMEM [42949593.450000] 5658 reserved pages [42949593.450000] 23 pages shared [42949593.450000] 0 pages swap cached [42949593.450000] Out of memory: kill process 2939 (syslog-ng) score 7875 or a child [42949593.450000] Killed process 2939 (syslog-ng)
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.7 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org
iD8DBQFHmR07GK2zHPGK1rsRChM2AJsFWORF7/7RsEbEZrgtwvWrpHOAWgCfZm+8 gpvM9JRNUPgTeUYUc2ba4Q0=
=dEeA
-----END PGP SIGNATURE-----
-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
User-mode-linux-devel mailing list [email protected]
https://lists.sourceforge.net/lists/listinfo/user-mode-linux-devel
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA512
Quoted 1 line
Any idea about this console thing?
Ignore this - I'm getting tired...
Here's what caused it in syslog-ng.conf:
destination console_all { file("/dev/tty12"); };
Which does not exist as the guest is booted up with con=null con0=fd0,fd:1
Quoted 52 lines
(....)
[42949547.530000] Failed to open console 12, err = -2 [42949547.530000] Failed to open console 12, err = -2 [42949547.530000] Failed to open console 12, err = -2 [42949547.990000] Failed to open console 12, err = -2 [42949548.160000] Failed to open console 12, err = -2 [42949548.190000] Failed to open console 12, err = -2 [42949548.740000] Failed to open console 12, err = -2 [42949549.390000] Failed to open console 12, err = -2 [42949550.270000] Failed to open console 12, err = -2 [42949551.710000] Failed to open console 12, err = -2 [42949555.500000] Failed to open console 12, err = -2 [42949559.010000] Failed to open console 12, err = -2 [42949566.330000] Failed to open console 12, err = -2 [42949572.620000] Failed to open console 12, err = -2 [42949593.450000] syslog-ng invoked oom-killer: gfp_mask=0xa01d2, order=0, oomkilladj=0 [42949593.450000] Call Trace: [42949593.450000] 7f2afb18: [<60047774>] printk_ratelimit+0x15/0x17 [42949593.450000] 7f2afb28: [<6006eb0f>] out_of_memory+0x7c/0xf9 [42949593.450000] 7f2afb68: [<6006fc5f>] __alloc_pages+0x229/0x2b4 [42949593.450000] 7f2afbe8: [<60071bb3>] __do_page_cache_readahead+0xb5/0x167 [42949593.450000] 7f2afc20: [<60059c5f>] wake_bit_function+0x0/0x2a [42949593.450000] 7f2afc58: [<60071d40>] do_page_cache_readahead+0x52/0x5f [42949593.450000] 7f2afc88: [<6006cb5a>] filemap_fault+0x151/0x272 [42949593.450000] 7f2afce8: [<60078c4d>] __do_fault+0x86/0x375 [42949593.450000] 7f2afd68: [<60078f70>] do_linear_fault+0x34/0x36 [42949593.450000] 7f2afd88: [<60079228>] handle_mm_fault+0x13e/0x23d [42949593.450000] 7f2afde8: [<6001794f>] handle_page_fault+0x11f/0x242 [42949593.450000] 7f2afe48: [<60017c00>] segv+0xb4/0x2b8 [42949593.450000] 7f2aff28: [<60017b46>] segv_handler+0x68/0x6e [42949593.450000] 7f2aff48: [<6003a7a5>] get_skas_faultinfo+0x9c/0xa1 [42949593.450000] 7f2aff68: [<6003ad4f>] userspace+0x13a/0x19d [42949593.450000] 7f2affc8: [<600186d6>] fork_handler+0x86/0x8d [42949593.450000] [42949593.450000] Mem-info: [42949593.450000] Normal per-cpu: [42949593.450000] CPU 0: Hot: hi: 186, btch: 31 usd: 22 Cold: hi: 62, btch: 15 usd: 30 [42949593.450000] Active:122119 inactive:48 dirty:0 writeback:0 unstable:0 [42949593.450000] free:719 slab:1833 mapped:3 pagetables:317 bounce:0 [42949593.450000] Normal free:2876kB min:2876kB low:3592kB high:4312kB active:488476kB inactive:192kB present:517120kB pages_scanned:734521 all_unreclaimable? yes [42949593.450000] lowmem_reserve[]: 0 0 [42949593.450000] Normal: 25*4kB 3*8kB 0*16kB 0*32kB 1*64kB 1*128kB 0*256kB 1*512kB 0*1024kB 1*2048kB 0*4096kB = 2876kB [42949593.450000] Swap cache: add 0, delete 0, find 0/0, race 0+0 [42949593.450000] Free swap = 0kB [42949593.450000] Total swap = 0kB [42949593.450000] Free swap: 0kB
Quoted 8 lines
[42949593.450000] 131072 pages of RAM [42949593.450000] 0 pages of HIGHMEM [42949593.450000] 5658 reserved pages [42949593.450000] 23 pages shared [42949593.450000] 0 pages swap cached [42949593.450000] Out of memory: kill process 2939 (syslog-ng) score 7875 or a child [42949593.450000] Killed process 2939 (syslog-ng)
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.7 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org
iD8DBQFHmR3zGK2zHPGK1rsRChgeAJ9zkXhi7+Gz7uPyNsaCrj1smb/ZlwCfdcAQ 5HNTrjae8+gT8lcFWsUn7kU=
=seDf
-----END PGP SIGNATURE-----
-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
User-mode-linux-devel mailing list [email protected]
https://lists.sourceforge.net/lists/listinfo/user-mode-linux-devel