From: Sean Neakums <sneakums@zork.net>
To: Jonathan Brown <jbrown@emergence.uk.net>
Cc: Andrew Morton <akpm@osdl.org>, linux-kernel@vger.kernel.org
Subject: Re: 2.6.3-mm1
Date: Wed, 18 Feb 2004 12:37:50 +0000 [thread overview]
Message-ID: <6un07gh8bl.fsf@zork.zork.net> (raw)
In-Reply-To: <4033491C.40407@emergence.uk.net> (Jonathan Brown's message of "Wed, 18 Feb 2004 11:14:36 +0000")
Jonathan Brown <jbrown@emergence.uk.net> writes:
> When I try to startx with this kernel I get this error:
>
> (EE) RADEON(0): shmat() call retruned errno 1013
>
> No problem with similar .config on 2.6.3. Can post .config if necessary.
I think you need to apply the third patch below, although all three
should probably be applied.
Date: Wed, 18 Feb 2004 01:25:53 -0800
From: Andrew Morton <akpm@osdl.org>
To: linux-kernel@vger.kernel.org, rusty@rustcorp.com.au
Subject: Re: 2.6.3-mm1
Message-Id: <20040218012553.1228ae34.akpm@osdl.org>
Andrew Morton <akpm@osdl.org> wrote:
>
> Andrew Morton <akpm@osdl.org> wrote:
> >
> > ftp://ftp.kernel.org/pub/linux/kernel/people/akpm/patches/2.6/2.6.3/2.6.3-mm1/
>
> oops, it appears that rmmod hangs in D state all the time.
Fixes:
kernel/stop_machine.c | 2 +-
1 files changed, 1 insertion(+), 1 deletion(-)
diff -puN kernel/stop_machine.c~hotplugcpu-generalise-bogolock-fix-for-kthread-stop-using-signals kernel/stop_machine.c
--- 25/kernel/stop_machine.c~hotplugcpu-generalise-bogolock-fix-for-kthread-stop-using-signals 2004-02-18 01:14:27.000000000 -0800
+++ 25-akpm/kernel/stop_machine.c 2004-02-18 01:14:54.000000000 -0800
@@ -148,7 +148,7 @@ static int do_stop(void *_smdata)
complete(&smdata->done);
/* Wait for kthread_stop */
- while (!signal_pending(current)) {
+ while (!kthread_should_stop()) {
__set_current_state(TASK_INTERRUPTIBLE);
schedule();
}
_
kernel/softirq.c | 2 +-
1 files changed, 1 insertion(+), 1 deletion(-)
diff -puN kernel/softirq.c~hotplugcpu-core-fix-for-kthread-stop-using-signals kernel/softirq.c
--- 25/kernel/softirq.c~hotplugcpu-core-fix-for-kthread-stop-using-signals 2004-02-18 01:19:14.000000000 -0800
+++ 25-akpm/kernel/softirq.c 2004-02-18 01:19:29.000000000 -0800
@@ -349,7 +349,7 @@ static int ksoftirqd(void * __bind_cpu)
wait_to_die:
preempt_enable();
/* Wait for kthread_stop */
- while (!signal_pending(current)) {
+ while (!kthread_should_stop()) {
__set_current_state(TASK_INTERRUPTIBLE);
schedule();
}
_
ipc/shm.c | 2 +-
1 files changed, 1 insertion(+), 1 deletion(-)
diff -puN ipc/shm.c~add-syscalls_h-shmat-fix ipc/shm.c
--- 25/ipc/shm.c~add-syscalls_h-shmat-fix 2004-02-18 01:22:41.000000000 -0800
+++ 25-akpm/ipc/shm.c 2004-02-18 01:22:41.000000000 -0800
@@ -635,7 +635,7 @@ out:
* "raddr" thing points to kernel space, and there has to be a wrapper around
* this.
*/
-long sys_shmat(int shmid, char __user *shmaddr, int shmflg, ulong *raddr)
+asmlinkage long sys_shmat(int shmid, char __user *shmaddr, int shmflg, ulong *raddr)
{
struct shmid_kernel *shp;
unsigned long addr;
_
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
next prev parent reply other threads:[~2004-02-18 12:38 UTC|newest]
Thread overview: 33+ messages / expand[flat|nested] mbox.gz Atom feed top
2004-02-18 7:21 2.6.3-mm1 Andrew Morton
2004-02-18 7:43 ` 2.6.3-mm1 Andrew Morton
2004-02-18 9:25 ` 2.6.3-mm1 Andrew Morton
2004-02-18 13:42 ` 2.6.3-mm1 Rusty Russell
2004-02-18 18:50 ` 2.6.3-mm1 Andrew Morton
2004-02-18 11:13 ` 2.6.3-mm1 Sean Neakums
2004-02-18 11:14 ` 2.6.3-mm1 Jonathan Brown
2004-02-18 12:37 ` Sean Neakums [this message]
2004-02-18 12:14 ` dmcrypt works well on 2.6.3 WAS: 2.6.3-mm1 bert hubert
2004-02-18 14:26 ` 2.6.3-mm1 Ramon Rey Vicente
2004-02-18 18:55 ` 2.6.3-mm1 Andrew Morton
2004-02-18 19:06 ` 2.6.3-mm1 Matthew Wilcox
2004-02-18 16:16 ` 2.6.3-mm1 Bill Davidsen
2004-02-18 20:04 ` 2.6.3-mm1 Brandon Low
2004-02-18 20:22 ` 2.6.3-mm1 Andrew Morton
2004-02-18 20:33 ` 2.6.3-mm1 Brandon Low
2004-02-18 20:52 ` 2.6.3-mm1 Andrew Morton
2004-02-18 20:52 ` 2.6.3-mm1 Brandon Low
2004-02-18 21:00 ` 2.6.3-mm1 Andrew Morton
2004-02-18 22:15 ` 2.6.3-mm1 Christophe Saout
2004-02-19 0:33 ` 2.6.3-mm1 Brandon Low
2004-02-19 12:39 ` 2.6.3-mm1 Christophe Saout
2004-02-18 17:50 ` 2.6.3-mm1 James Simmons
2004-02-22 2:46 ` 2.6.3-mm1 William Lee Irwin III
[not found] <20040217232130.61667965.akpm@osdl.org.suse.lists.linux.kernel>
2004-02-18 10:43 ` 2.6.3-mm1 Andi Kleen
2004-02-18 10:55 ` 2.6.3-mm1 Andrew Morton
2004-02-19 6:37 ` 2.6.3-mm1 Andi Kleen
2004-02-18 13:45 ` 2.6.3-mm1 Joe Thornber
2004-02-19 11:52 ` 2.6.3-mm1 Andi Kleen
2004-02-18 23:27 ` 2.6.3-mm1 Andrew Morton
2004-02-19 17:54 ` 2.6.3-mm1 Andi Kleen
[not found] <1qujU-5xX-31@gated-at.bofh.it>
[not found] ` <1qCUf-4vn-41@gated-at.bofh.it>
[not found] ` <1qGuR-bb-25@gated-at.bofh.it>
[not found] ` <1qGO2-uG-13@gated-at.bofh.it>
[not found] ` <1qGO5-uG-21@gated-at.bofh.it>
[not found] ` <1qGY1-RT-29@gated-at.bofh.it>
[not found] ` <1qGY1-RT-27@gated-at.bofh.it>
[not found] ` <1qIn3-5yq-23@gated-at.bofh.it>
2004-02-19 21:58 ` 2.6.3-mm1 Bill Davidsen
2004-02-19 22:01 ` 2.6.3-mm1 Christophe Saout
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=6un07gh8bl.fsf@zork.zork.net \
--to=sneakums@zork.net \
--cc=akpm@osdl.org \
--cc=jbrown@emergence.uk.net \
--cc=linux-kernel@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®