From: Jeff Dike <jdike@addtoit.com>
To: Al Viro <viro@parcelfarce.linux.theplanet.co.uk>
Cc: Alexander Nyberg <alexn@telia.com>,
Antoine Martin <antoine@nagafix.co.uk>,
linux-kernel@vger.kernel.org
Subject: Re: 2.6.11.8 + UML/x86_64 (2.6.12-rc3+) = oops
Date: Sun, 8 May 2005 12:28:18 -0400 [thread overview]
Message-ID: <20050508162818.GA25130@ccure.user-mode-linux.org> (raw)
In-Reply-To: <20050508001832.GA32143@parcelfarce.linux.theplanet.co.uk>
On Sun, May 08, 2005 at 01:18:32AM +0100, Al Viro wrote:
> Hrm...
I had a lot of these fixed already. These will be mostly in the fixlets
patch.
> a) stub.S handling breaks on O= builds. Actually, your unprofile
> breaks there - it's bypassing the machinery that deals with include path.
This?
$(patsubst -pg,,$(patsubst -fprofile-arcs -ftest-coverage,,$(1)))
I don't see any connection to include paths there.
> b) stub_segv.c on amd64 includes <signal.h>. Not a good idea...
x86_64 doesn't, but i386 does. Fixed now.
> c) sysdep-x86_64/checksum.h in -rc4 has csum_partial_copy_from_user()
> that needs updating (AFAICS, you have that in your patchset, but it hadn't
> reached Linus)
Fixed.
> d) ip_compute_csum() prototype is missing (same file)
> j) ip_compute_csum should be exported on amd64.
OK, I need to look at this a bit more.
> e) #define UPT_SYSCALL_RET(r) UPT_RAX(r) is needed in amd64 ptrace.h
Fixed.
> f) take a good look at UPT_SET() in the same file ;-)
Sigh. Fixed now.
> g) CFLAGS_csum-partial.o := -Dcsum_partial=arch_csum_partial in
> sys-x86_64/Makefile needs to be removed.
Fixed.
> h) Makefile.rules should be included _after_ SYMLINKS = in the same
> file.
Fixed.
> i) sys-x86_64/delay.c needs exports of __udelay() and __const_udelay(),
> include of linux/module.h and barriers in your delay loop bodies (or games
> with volatile - anything that would guarantee that gcc won't decide to optimize
> the entire loop away). The last part applies to i386 as well.
Looks to me like it all applies to i386 too, except that __delay looks
unoptimizable.
It also looks to me like I could implement __udelay as n=... ; __delay(n);
And also never mind the fact that __udelay and __const_udelay are identical.
> k) sys-x86_64/syscalls.c needs include "kern.h"
Fixed now.
> l) elf-i386.h should include <asm/user.h>, not "user.h"
Fixed now.
> m) elf-x86_64.h lacks R_X86_64_... definitions
Fixed now.
> n) WTF _is_ that #ifdef TIF_IA32 in there? Aside of the trailing \,
> we could as well put #error there - free-floating clear_thread_flag(TIF_IA32);> outside of any function body will have that effect anyway.
The trailing \ aside, which is fixed, that's a reminder for me when I add
the 32-bit compatibility code.
> o) in drivers/chan_kern.c we have several printf(KERN_ERR "...");
> these should become printk, as they clearly had been intended. As it is,
> they give instant panic if we ever call them.
Oops. This requires a bit of thought. Offhand, I think they need to be
printf, because that early in boot, printk'd stuff may not reach the screen
if UML exits then.
> p) TOP_ADDR in Kconfig_x86_64 got lost in transmission - your patchset
> has it, but same patch in Linus' tree does not.
Fixed
>
> I've got patches for everything except (a); that one is really nasty. I hope
> to sort it out by tonight; if not, I'll just send what I've got by now.
OK, send me what you have, and if we've fixed the same thing differently,
I choose one or the other.
Jeff
next prev parent reply other threads:[~2005-05-08 16:35 UTC|newest]
Thread overview: 26+ messages / expand[flat|nested] mbox.gz Atom feed top
[not found] <20050504191828.620C812EE7@sc8-sf-spam2.sourceforge.net>
[not found] ` <1115248927.12088.52.camel@cobra>
[not found] ` <1115392141.12197.3.camel@cobra>
2005-05-07 16:31 ` 2.6.11.8 + UML/x86_64 (2.6.12-rc3+) = oops Antoine Martin
2005-05-07 15:57 ` Alexander Nyberg
2005-05-07 18:03 ` Jeff Dike
2005-05-08 0:18 ` Al Viro
2005-05-08 6:10 ` Al Viro
2005-05-09 21:07 ` Al Viro
2005-05-10 2:26 ` Al Viro
2005-05-10 3:50 ` Jeff Dike
2005-05-10 10:02 ` Al Viro
2005-05-08 16:28 ` Jeff Dike [this message]
[not found] ` <1115573839.10373.42.camel@cobra>
[not found] ` <20050508183533.GA27251@ccure.user-mode-linux.org>
[not found] ` <1115590823.10373.68.camel@cobra>
[not found] ` <1115600253.10373.74.camel@cobra>
[not found] ` <1117307236.10041.4.camel@localhost>
2005-06-02 15:52 ` [uml-devel] Re: Problems applying patches to 2.6.12-rc5-mm1 antoine
[not found] ` <1117691482.10122.107.camel@localhost>
2005-06-02 21:06 ` [uml-devel] Re: 2.6.11.8 + UML/x86_64 (2.6.12-rc3+) = oops Jeff Dike
2005-06-03 2:33 ` antoine
2005-06-03 2:38 ` Jeff Dike
2005-06-03 19:28 ` antoine
2005-06-03 16:49 ` Jeff Dike
2005-06-03 17:58 ` Bodo Stroesser
2005-05-07 18:06 ` Antoine Martin
2005-05-08 14:12 ` Andi Kleen
2005-05-08 16:35 ` Antoine Martin
2005-05-08 15:15 ` Andi Kleen
2005-05-08 16:42 ` Jeff Dike
2005-05-08 17:38 ` Antoine Martin
2005-05-08 16:45 ` Jeff Dike
2005-05-08 19:51 ` Antoine Martin
2005-05-08 16:38 ` Jeff Dike
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=20050508162818.GA25130@ccure.user-mode-linux.org \
--to=jdike@addtoit.com \
--cc=alexn@telia.com \
--cc=antoine@nagafix.co.uk \
--cc=linux-kernel@vger.kernel.org \
--cc=viro@parcelfarce.linux.theplanet.co.uk \
/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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.