Skip to contentSkip to conversation

2.6.15-rc1 Badness in handle_page_fault

uml-devel Antoine Martin 3 participants 5 messages Jan 16, 2006 – Jan 17, 2006 User-mode Linux (UML)

lore
Share & tools
lore
#0 lore raw

Found these in a guest running 2.6.15-rc1.
Note sure this is relevant anymore, but here it is anyway:

[45512066.140000] Badness in handle_page_fault at
arch/um/kernel/trap_kern.c:101
[45512066.140000] a52ebb90:  [<a0022b4e>] handle_page_fault+0x2ae/0x2c0
[45512066.140000] a52ebbbc:  [<a0022e59>] segv+0x1b9/0x320
[45512066.140000] a52ebbdc:  [<a0058de1>] activate_task+0x71/0x90
[45512066.140000] a52ebc04:  [<a004e76d>] wait_stub_done+0x5d/0x170
[45512066.140000] a52ebc24:  [<a00a44c2>] filp_close+0x52/0x90
[45512066.140000] a52ebc3c:  [<a00a4573>] sys_close+0x73/0x80
[45512066.140000] a52ebc54:  [<a002732e>] handle_syscall+0x12e/0x1c0
[45512066.140000] a52ebc6c:  [<a0022c1f>] segv_handler+0xbf/0x140
[45512066.140000] a52ebc94:  [<a004f961>] user_signal+0x51/0x80
[45512066.140000] a52ebca8:  [<a004f636>] userspace+0x1e6/0x3a0
[45512066.140000] a52ebd08:  [<a0026f12>] fork_handler+0xd2/0x100
[45512066.140000] a52ebd5c:  [<a0462f81>] kill+0x11/0x20
[45512066.140000]
[45512066.830000] load_TLS(O_FORCE) in fork_handler returned -2
[45512067.820000] Badness in handle_page_fault at
arch/um/kernel/trap_kern.c:101
[45512067.820000] a52ebb90:  [<a0022b4e>] handle_page_fault+0x2ae/0x2c0
[45512067.820000] a52ebbbc:  [<a0022e59>] segv+0x1b9/0x320
[45512067.820000] a52ebbe8:  [<a00c4a32>] mntput_no_expire+0x22/0x90
[45512067.820000] a52ebc04:  [<a004e76d>] wait_stub_done+0x5d/0x170
[45512067.820000] a52ebc24:  [<a00a44c2>] filp_close+0x52/0x90
[45512067.820000] a52ebc3c:  [<a00a4573>] sys_close+0x73/0x80
[45512067.820000] a52ebc54:  [<a002732e>] handle_syscall+0x12e/0x1c0
[45512067.820000] a52ebc6c:  [<a0022c1f>] segv_handler+0xbf/0x140
[45512067.820000] a52ebc94:  [<a004f961>] user_signal+0x51/0x80
[45512067.820000] a52ebca8:  [<a004f636>] userspace+0x1e6/0x3a0
[45512067.820000] a52ebd08:  [<a0026f12>] fork_handler+0xd2/0x100
[45512067.820000] a52ebd5c:  [<a0462f81>] kill+0x11/0x20
[45512067.820000]
[45512068.490000] load_TLS(O_FORCE) in fork_handler returned -2
[45512070.120000] load_TLS(O_FORCE) in fork_handler returned -2
[45512070.890000] load_TLS(O_FORCE) in fork_handler returned -2
[45512070.890000] load_TLS(O_FORCE) in fork_handler returned -2
[45512073.140000] load_TLS(O_FORCE) in fork_handler returned -2
[45512073.140000] load_TLS(O_FORCE) in fork_handler returned -2
[45512074.110000] load_TLS(O_FORCE) in fork_handler returned -2
[45512075.100000] load_TLS(O_FORCE) in fork_handler returned -2
[45512075.890000] load_TLS(O_FORCE) in fork_handler returned -2
[45512080.480000] load_TLS(O_FORCE) in fork_handler returned -2
[45512080.480000] load_TLS(O_FORCE) in fork_handler returned -2
[45512082.000000] load_TLS(O_FORCE) in fork_handler returned -2
[45512082.230000] load_TLS(O_FORCE) in fork_handler returned -2
[45512091.260000] load_TLS(O_FORCE) in fork_handler returned -2
[45512097.510000] load_TLS(O_FORCE) in fork_handler returned -2
[45512097.590000] load_TLS(O_FORCE) in fork_handler returned -2
[45512097.590000] load_TLS(O_FORCE) in fork_handler returned -2
[45512103.120000] load_TLS(O_FORCE) in fork_handler returned -2
[45512104.320000] load_TLS(O_FORCE) in fork_handler returned -2
[45512109.940000] load_TLS(O_FORCE) in fork_handler returned -2
[45512109.940000] load_TLS(O_FORCE) in fork_handler returned -2
[45512109.940000] load_TLS(O_FORCE) in fork_handler returned -2
[45512113.300000] uml_net_start_xmit: failed(-1)
[45512116.580000] load_TLS(O_FORCE) in fork_handler returned -2

Antoine

-------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK!
http://ads.osdn.com/?ad_id=7637&alloc_id=16865&op=click
_______________________________________________
User-mode-linux-devel mailing list [email protected]
https://lists.sourceforge.net/lists/listinfo/user-mode-linux-devel

#1 lore raw
Quoted 7 lines · Antoine Martin

Found these in a guest running 2.6.15-rc1.
Note sure this is relevant anymore, but here it is anyway:

[45512066.140000] Badness in handle_page_fault at

arch/um/kernel/trap_kern.c:101

[45512066.830000] load_TLS(O_FORCE) in fork_handler returned -2

These are fixed.

Jeff

-------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK!
http://ads.osdn.com/?ad_id=7637&alloc_id=16865&op=click
_______________________________________________
User-mode-linux-devel mailing list [email protected]
https://lists.sourceforge.net/lists/listinfo/user-mode-linux-devel

#2 lore raw
Quoted 10 lines · Jeff Dike
Quoted 7 lines · Antoine Martin

Found these in a guest running 2.6.15-rc1.
Note sure this is relevant anymore, but here it is anyway:

[45512066.140000] Badness in handle_page_fault at

arch/um/kernel/trap_kern.c:101

[45512066.830000] load_TLS(O_FORCE) in fork_handler returned -2

These are fixed.

I remember the badness in handle_page_fault (bogus warning from me), what about load_TLS? I only got -22, I fixed it by removing tls-debug (it was a kludgy attempt to get things working, and didn't appear correct to me); still not completely tested.

See my "TLS patches compilation fixups" for the fixes.

Signature · 23 lines
Inform me of my mistakes, so I can keep imitating Homer Simpson's "Doh!".
Paolo Giarrusso, aka Blaisorblade (Skype ID "PaoloGiarrusso", ICQ 215621894)
http://www.user-mode-linux.org/~blaisorblade

	

	
		
___________________________________ 
Yahoo! Mail: gratis 1GB per i messaggi e allegati da 10MB 
http://mail.yahoo.it



-------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://ads.osdn.com/?ad_id=7637&alloc_id=16865&op=click
_______________________________________________
User-mode-linux-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/user-mode-linux-devel
#3 lore raw
Quoted 2 lines · Blaisorblade

what
about load_TLS? I only got -22, I fixed it by removing tls-debug

That's caused by referring to errno in kernel code. That gets you the value of kernel_errno, which could be anything.

Jeff

-------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=103432&bid=230486&dat=121642
_______________________________________________
User-mode-linux-devel mailing list [email protected]
https://lists.sourceforge.net/lists/listinfo/user-mode-linux-devel

#4 lore raw
Quoted 6 lines · Jeff Dike
Quoted 2 lines · Blaisorblade

what
about load_TLS? I only got -22, I fixed it by removing tls-debug

That's caused by referring to errno in kernel code. That gets you the value of kernel_errno, which could be anything.

Ok, in fact -2 (-ENOENT) didn't make sense, while -22 (-EINVAL) makes a lot. You agree to removing the -debug part? Can you retest without that? I've done a patch which complains if it ever returns something different from -EINVAL (it's in my uploaded patchset, the last one, URL posted in my email).

Signature · 20 lines
Inform me of my mistakes, so I can keep imitating Homer Simpson's "Doh!".
Paolo Giarrusso, aka Blaisorblade (Skype ID "PaoloGiarrusso", ICQ 215621894)
http://www.user-mode-linux.org/~blaisorblade

		
___________________________________ 
Yahoo! Messenger with Voice: chiama da PC a telefono a tariffe esclusive 
http://it.messenger.yahoo.com



-------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=103432&bid=230486&dat=121642
_______________________________________________
User-mode-linux-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/user-mode-linux-devel