Editing
Msg05630.html
(section)
From Linix VServer
Jump to navigation
Jump to search
Warning:
You are not logged in. Your IP address will be publicly visible if you make any edits. If you
log in
or
create an account
, your edits will be attributed to your username, along with other benefits.
Anti-spam check. Do
not
fill this in!
= [Vserver] SMP oops 2.4.23 v1.22 = ----- * '''From:''' nathan * '''Date:''' Thu, 18 Dec 2003 23:04:24 +0100 (CET) ----- <pre>Hey, I am testing v1.22 with 2.4.23. I am getting an oops in fs/proc/array.c:proc_pid_status I believe the offending code is: buffer += sprintf (buffer,"s_context: %d [", task->vx_id); for (i=0; i<NB_S_CONTEXT; i++) { int ctx = task->s_info->vx_id[i]; if (ctx == 0) break; buffer += sprintf (buffer," %d",ctx); } The oops is occuring on line 3 of that code. I believe the problem is due to lack of adequate locking around the block of code. Should there be some read locking code around this block? I am going to wrap the block that accesses the s_info structure around a read_lock()/unlock of tasklist_lock and see if I can stabilize the machine. Let me know if anyone else has any insight into this. Thanks. -Nathan </pre> ----- * '''Follow-Ups''': ** '''[[msg05631.html|Re: [Vserver] SMP oops 2.4.23 v1.22]]''' *** ''From:'' Herbert Poetzl * Prev by Date: '''[[msg05629.html|Re: [Vserver] Re: [parisc-linux] syscall number for vserver]]''' * Next by Date: '''[[msg05631.html|Re: [Vserver] SMP oops 2.4.23 v1.22]]''' * Previous by thread: '''[[msg05610.html|[Vserver] Problem running 2.4.23-vs1.22]]''' * Next by thread: '''[[msg05631.html|Re: [Vserver] SMP oops 2.4.23 v1.22]]''' * Index(es): ** [[index.html#05630|'''Date''']] ** [[threads.html#05630|'''Thread''']]
Summary:
Please note that all contributions to Linix VServer may be edited, altered, or removed by other contributors. If you do not want your writing to be edited mercilessly, then do not submit it here.
You are also promising us that you wrote this yourself, or copied it from a public domain or similar free resource (see
Linix VServer:Copyrights
for details).
Do not submit copyrighted work without permission!
Cancel
Editing help
(opens in new window)
Navigation menu
Page actions
Page
Discussion
Read
Edit
History
Page actions
Page
Discussion
More
Tools
Personal tools
Not logged in
Talk
Contributions
Create account
Log in
About
Overview
Paper
News
Developers
Donations
Search
Getting Started
Downloads
FAQs
Documentation
Support
Participate
How to participate
Report a Bug
Communicate
Teams/Projects
Hall of Fame
Resources
Archives
Recent Wiki Changes
Pastebin
Related Projects
VServer Hosting
Happy VServer Users
Tools
What links here
Related changes
Special pages
Page information