Re: ata_piix, laptop cdrom, ICH7: EH, limiting speed to PIO

2007-09-12 Thread Michal Piotrowski
Hi Sergey, On 11/09/2007, Sergey Dolgov [EMAIL PROTECTED] wrote: Hi! On my hp nx7300 laptop, 2 following scenarios can happen during bootup (see attachments for the full logs): the good one [1] and the one where multiple EHs lead to limiting the speed [2]. [1] one is more rare, but it

Re: [2.6.23-rc6] i386 build breakage on current git

2007-09-12 Thread Linus Torvalds
On Wed, 12 Sep 2007, Jeff Garzik wrote: Platform i386 seems to be missing struct compat_timeval, which causes the i386 allmodconfig build to break in current -git: Well, not in current current -git. IOW, the patch was pushed out minutes ago ;) Linus - To unsubscribe from

[PATCH][REVISED] mspec: handle shrinking virtual memory areas

2007-09-12 Thread Cliff Wickman
Version 2: refcount maintained as atomic_t (as before the version 1 patch) The shrinking of a virtual memory area that is mmap(2)'d to a memory special file (device drivers/char/mspec.c) can cause a panic. If the mapped size of the vma (vm_area_struct) is very large, mspec allocates a large

Re: sk98lin for 2.6.23-rc1

2007-09-12 Thread Torsten Kaiser
On 9/5/07, Stephen Hemminger [EMAIL PROTECTED] wrote: The only known outstanding problems on 2.62.22.6 of sky2 are: * problems with fibre PHY based systems * suspend/resume issues, missing multicast reinitalization, etc. The previous stability problems have been addressed. Sorry to

Re: Building a kernel-source RPM (not a kernel RPM)?

2007-09-12 Thread Dan Stromberg
On Wed, 12 Sep 2007 09:13:41 -0700, Dan Stromberg wrote: I sent this to kernel newbies first, and while I got one response there, it answered a different question than the one I was asking... I'm on a SuSE system. I'm working on automating the install of said system, but it needs a

[PATCH v3] Make the pr_*() family of macros in kernel.h complete

2007-09-12 Thread Emil Medve
Other/Some pr_*() macros are already defined in kernel.h, but pr_err() was defined multiple times in several other places Signed-off-by: Emil Medve [EMAIL PROTECTED] --- I'm writing a driver and I've been using the pr_*() macros from kernel.h and I was surprised not to find there pr_err() but

Re: [PATCH] Configurable tap interface MTU

2007-09-12 Thread Ed Swierk
On 9/11/07, Herbert Xu [EMAIL PROTECTED] wrote: Please make it 65535 without an Ethernet header and 65521 with an Ethernet header. Here is a revised patch that allows MTUs up to 65535 for tap interfaces and up to 65521 for tun interfaces. (If I set the MTU to 65521 on a tun interface, ping

Re: clockevents: fix resume logic

2007-09-12 Thread Thomas Gleixner
On Wed, 2007-09-12 at 02:16 -0700, Andrew Morton wrote: On Tue, 11 Sep 2007 23:49:47 +0200 Thomas Gleixner [EMAIL PROTECTED] wrote: On Tue, 2007-09-11 at 21:52 +0200, Thomas Gleixner wrote: C1: type[C1] promotion[C2] demotion[--] latency[001] usage[0010]

[PATCH] AMD 5536 UDC - Remove unneeded memset()

2007-09-12 Thread Jesper Juhl
In drivers/usb/gadget/amd5536udc.c::udc_pci_probe() - We allocate storage for 'dev' with kzalloc(), so it is already zero, no need for an extra memset(). Signed-off-by: Jesper Juhl [EMAIL PROTECTED] --- drivers/usb/gadget/amd5536udc.c |1 - 1 files changed, 0 insertions(+), 1

[1/4] 2.6.23-rc6: known regressions

2007-09-12 Thread Michal Piotrowski
Hi all, Here is a list of some known regressions in 2.6.23-rc6. Feel free to add new regressions/remove fixed etc. http://kernelnewbies.org/known_regressions List of Aces NameRegressions fixed since 21-Jun-2007 Adrian Bunk10 Linus Torvalds

Re: [2/4] 2.6.23-rc6: known regressions

2007-09-12 Thread Michal Piotrowski
Hi all, Here is a list of some known regressions in 2.6.23-rc6. Feel free to add new regressions/remove fixed etc. http://kernelnewbies.org/known_regressions List of Aces NameRegressions fixed since 21-Jun-2007 Adrian Bunk10 Linus Torvalds

Re: [3/4] 2.6.23-rc6: known regressions

2007-09-12 Thread Michal Piotrowski
Hi all, Here is a list of some known regressions in 2.6.23-rc6. Feel free to add new regressions/remove fixed etc. http://kernelnewbies.org/known_regressions List of Aces NameRegressions fixed since 21-Jun-2007 Adrian Bunk10 Linus Torvalds

Re: [4/4] 2.6.23-rc6: known regressions

2007-09-12 Thread Michal Piotrowski
Hi all, Here is a list of some known regressions in 2.6.23-rc6. Feel free to add new regressions/remove fixed etc. http://kernelnewbies.org/known_regressions List of Aces NameRegressions fixed since 21-Jun-2007 Adrian Bunk10 Linus Torvalds

Re: Lossy interrupts on x86_64

2007-09-12 Thread Thomas Gleixner
On Wed, 2007-09-12 at 09:29 -0700, Jesse Barnes wrote: On Wednesday, September 12, 2007, Randy Dunlap wrote: On Wed, 12 Sep 2007 08:33:15 -0700 Jesse Barnes wrote: I just narrowed down a weird problem where I was losing more than 50% of my vblank interrupts to what seems to be the hires

Re: [PATCH 4/6] Embed zone_id information within the zonelist-zones pointer

2007-09-12 Thread Christoph Lameter
On Wed, 12 Sep 2007, KAMEZAWA Hiroyuki wrote: If we really want to avoid unnecessary access to zone while walking zonelist, above may do something good. Cons is this makes sizeof zonlist bigger. The trouble is that the size of the zonelist would double with this approach. We have long

2.6.23-rc6: known regressions with patches

2007-09-12 Thread Michal Piotrowski
Hi all, Here is a list of some known regressions in 2.6.23-rc6 with patches available. Feel free to add new regressions/remove fixed etc. http://kernelnewbies.org/known_regressions List of Aces NameRegressions fixed since 21-Jun-2007 Adrian Bunk

Re: Building a kernel-source RPM (not a kernel RPM)?

2007-09-12 Thread Sam Ravnborg
On Wed, Sep 12, 2007 at 09:13:41AM -0700, Dan Stromberg wrote: I sent this to kernel newbies first, and while I got one response there, it answered a different question than the one I was asking... I'm on a SuSE system. I'm working on automating the install of said system, but it needs a

Re: Kernel Panic - 2.6.23-rc4-mm1 ia64 - was Re: Update: [Automatic] NUMA replicated pagecache ...

2007-09-12 Thread Lee Schermerhorn
On Wed, 2007-09-12 at 16:41 +0100, Andy Whitcroft wrote: On Wed, Sep 12, 2007 at 11:09:47AM -0400, Lee Schermerhorn wrote: Interesting, I don't see a memory controller function in the stack trace, but I'll double check to see if I can find some silly race condition in there.

Re: 2.6.23-rc6: known regressions with patches

2007-09-12 Thread David Woodhouse
On Wed, 2007-09-12 at 18:59 +0200, Michal Piotrowski wrote: MTD Subject : include/linux/mtd/map.h:128:2: error: #error No bus width supported. What's the point? References : http://lkml.org/lkml/2007/9/11/151 Last known good : ? Submitter : Toralf Förster [EMAIL

Re: [1/4] 2.6.23-rc6: known regressions

2007-09-12 Thread Adrian Bunk
On Wed, Sep 12, 2007 at 06:58:46PM +0200, Michal Piotrowski wrote: Hi all, ... Subject : uml on x86_64 compile error References : http://lkml.org/lkml/2007/9/3/86 Last known good : ? Submitter : Adrian Bunk [EMAIL PROTECTED] Caused-By : Jeff Dike [EMAIL PROTECTED]

Re: Building a kernel-source RPM (not a kernel RPM)?

2007-09-12 Thread Bernd Petrovitsch
On Wed, 2007-09-12 at 09:13 -0700, Dan Stromberg wrote: I sent this to kernel newbies first, and while I got one response there, it answered a different question than the one I was asking... Are you sure? I'm on a SuSE system. I'm working on automating the install of said system, but it

Re: Building a kernel-source RPM (not a kernel RPM)?

2007-09-12 Thread Bernd Petrovitsch
On Wed, 2007-09-12 at 19:05 +0200, Sam Ravnborg wrote: [] Being rpm ignorant I do not know what the expected content of a kernel-source RPM are but this is the available targets for kernel packaging (from make help): The kernel-source including all patches and configured as usually to be

Re: 2.6.23-rc6: known regressions with patches

2007-09-12 Thread Adrian Bunk
On Wed, Sep 12, 2007 at 06:59:14PM +0200, Michal Piotrowski wrote: Hi all, Here is a list of some known regressions in 2.6.23-rc6 with patches available. ... MTD Subject : include/linux/mtd/map.h:128:2: error: #error No bus width supported. What's the point? References :

Re: [1/4] 2.6.23-rc6: known regressions

2007-09-12 Thread Linus Torvalds
On Wed, 12 Sep 2007, Michal Piotrowski wrote: Subject : x86_64 vdso patch is broken somehow? References : http://lkml.org/lkml/2007/8/29/136 Last known good : ? Submitter : Chuck Ebbert [EMAIL PROTECTED] Caused-By : Andi Kleen [EMAIL PROTECTED]

[PATCH -mm] 2.6.23-rc4-mm1: kgdboe link errors

2007-09-12 Thread Randy Dunlap
On Wed, 12 Sep 2007 11:31:22 +0200 Jiri Slaby wrote: randconfig [1] causes this link errors: ERROR: netpoll_cleanup [drivers/net/kgdboe.ko] undefined! ERROR: netpoll_setup [drivers/net/kgdboe.ko] undefined! ERROR: netpoll_parse_options [drivers/net/kgdboe.ko] undefined! ERROR: netpoll_poll

Re: [1/4] 2.6.23-rc6: known regressions

2007-09-12 Thread Thomas Gleixner
On Wed, 2007-09-12 at 18:58 +0200, Michal Piotrowski wrote: Subject : x86_64 vdso patch is broken somehow? References : http://lkml.org/lkml/2007/8/29/136 Last known good : ? Submitter : Chuck Ebbert [EMAIL PROTECTED] Caused-By : Andi Kleen [EMAIL PROTECTED]

Re: 2.6.23-rc6: known regressions with patches

2007-09-12 Thread Michal Piotrowski
On 12/09/2007, David Woodhouse [EMAIL PROTECTED] wrote: On Wed, 2007-09-12 at 18:59 +0200, Michal Piotrowski wrote: MTD Subject : include/linux/mtd/map.h:128:2: error: #error No bus width supported. What's the point? References : http://lkml.org/lkml/2007/9/11/151 Last

Re: [4/4] 2.6.23-rc6: known regressions

2007-09-12 Thread Linus Torvalds
On Wed, 12 Sep 2007, Michal Piotrowski wrote: Subject : 2.6.23-rc6-git1 -- termios *_1 compile failures on powerpc References : http://lkml.org/lkml/2007/9/12/101 Last known good : ? Submitter : Andy Whitcroft [EMAIL PROTECTED] Caused-By : David Miller [EMAIL

Re: Building a kernel-source RPM (not a kernel RPM)?

2007-09-12 Thread Dan Stromberg
On Wed, 12 Sep 2007 19:09:26 +0200, Bernd Petrovitsch wrote: On Wed, 2007-09-12 at 09:13 -0700, Dan Stromberg wrote: I sent this to kernel newbies first, and while I got one response there, it answered a different question than the one I was asking... Are you sure? Yes, I'm sure. The

[PATCH] CIFS: respect umask when using POSIX mkdir

2007-09-12 Thread Jeff Layton
When making a directory with POSIX mkdir calls, cifs_mkdir does not respect the umask. This moves the AND'ing of the mode with the umask to higher in the function so that the POSIX mkdir creates with the correct mode. Signed-off-by: Jeff Layton [EMAIL PROTECTED] --- fs/cifs/inode.c |2 +- 1

Re: 2.6.23-rc6: known regressions with patches

2007-09-12 Thread Michal Piotrowski
On 12/09/2007, Adrian Bunk [EMAIL PROTECTED] wrote: On Wed, Sep 12, 2007 at 06:59:14PM +0200, Michal Piotrowski wrote: [..] USB Subject : build #246 failed for 2.6.23-rc6-g0d4cbb5 in linux/drivers/usb/misc/phidgetservo.ko References : http://lkml.org/lkml/2007/9/11/211

Re: [2/4] 2.6.23-rc6: known regressions

2007-09-12 Thread Andy Whitcroft
On Wed, Sep 12, 2007 at 06:58:54PM +0200, Michal Piotrowski wrote: FS Subject : hanging ext3 dbench tests References : http://lkml.org/lkml/2007/9/11/176 Last known good : ? Submitter : Andy Whitcroft [EMAIL PROTECTED] Caused-By : ? Handled-By : ? Status

Re: [1/4] 2.6.23-rc6: known regressions

2007-09-12 Thread Michal Piotrowski
Thomas Gleixner pisze: On Wed, 2007-09-12 at 18:58 +0200, Michal Piotrowski wrote: Subject : x86_64 vdso patch is broken somehow? References : http://lkml.org/lkml/2007/8/29/136 Last known good : ? Submitter : Chuck Ebbert [EMAIL PROTECTED] Caused-By : Andi Kleen

Re: [00/41] Large Blocksize Support V7 (adds memmap support)

2007-09-12 Thread Nick Piggin
On Wednesday 12 September 2007 07:52, Christoph Lameter wrote: On Tue, 11 Sep 2007, Nick Piggin wrote: No you have not explained why the theoretical issues continue to exist given even just considering Lumpy Reclaim in .23 nor what effect the antifrag patchset would have. So how does

Re: SYSFS: need a noncaching read

2007-09-12 Thread Nick Piggin
On Wednesday 12 September 2007 20:01, Greg KH wrote: On Wed, Sep 12, 2007 at 07:32:07AM +0200, Robert Schwebel wrote: On Tue, Sep 11, 2007 at 11:43:17AM +0200, Heiko Schocher wrote: I have developed a device driver and use the sysFS to export some registers to userspace. Uuuh, uggly.

Re: [00/41] Large Blocksize Support V7 (adds memmap support)

2007-09-12 Thread Nick Piggin
On Wednesday 12 September 2007 11:49, David Chinner wrote: On Tue, Sep 11, 2007 at 04:00:17PM +1000, Nick Piggin wrote: OTOH, I'm not sure how much buy-in there was from the filesystems guys. Particularly Christoph H and XFS (which is strange because they already do vmapping in

Re: [pre-2.6.23 REGRESSION] 2.6.23-rc3-git1 crash/stuck on VIA CN700 system

2007-09-12 Thread Stefan Becker
Hi, ext Andi Kleen wrote: So what can we do about the clflush on this CPU? I'll just remove that CLFLUSH statement. It was just supposed to be an optimization, but is not strictly needed. 2.6.23-rc6 boots up fine on my box. Regression fixed. Thanks. Regards, Stefan --- Stefan

Re: [-mm patch] make tcp_splice_data_recv() static

2007-09-12 Thread Jens Axboe
On Wed, Sep 12 2007, David Miller wrote: From: Adrian Bunk [EMAIL PROTECTED] Date: Sun, 9 Sep 2007 22:25:58 +0200 On Fri, Aug 31, 2007 at 09:58:22PM -0700, Andrew Morton wrote: ... Changes since 2.6.23-rc3-mm1: ... git-block.patch ... git trees ...

Re: stripping down the kernel-parameters.txt file

2007-09-12 Thread Kyle Moffett
On Sep 12, 2007, at 10:44:29, Robert P. J. Day wrote: in the end, there should be a nice, *short* reference for what i like to call basic kernel parms (defined by __setup() or early_param()), while anyone who wants to learn about any module- specific parms should then have to go look up the

Re: Building a kernel-source RPM (not a kernel RPM)?

2007-09-12 Thread Sam Ravnborg
On Wed, Sep 12, 2007 at 07:11:21PM +0200, Bernd Petrovitsch wrote: On Wed, 2007-09-12 at 19:05 +0200, Sam Ravnborg wrote: [] Being rpm ignorant I do not know what the expected content of a kernel-source RPM are but this is the available targets for kernel packaging (from make help):

[PATCH][REVISED] mspec: handle shrinking virtual memory areas

2007-09-12 Thread Cliff Wickman
Version 2: refcount maintained as atomic_t (as before the version 1 patch) (Diffed against 2.6.23-rc5, not 2.6.13-rc5 !) The shrinking of a virtual memory area that is mmap(2)'d to a memory special file (device drivers/char/mspec.c) can cause a panic. If the mapped size of the vma

Re: stripping down the kernel-parameters.txt file

2007-09-12 Thread Randy Dunlap
On Wed, 12 Sep 2007 13:47:38 -0400 Kyle Moffett wrote: On Sep 12, 2007, at 10:44:29, Robert P. J. Day wrote: in the end, there should be a nice, *short* reference for what i like to call basic kernel parms (defined by __setup() or early_param()), while anyone who wants to learn about

Re: SYSFS: need a noncaching read

2007-09-12 Thread Neil Brown
On Wednesday September 12, [EMAIL PROTECTED] wrote: On Wednesday 12 September 2007 20:01, Greg KH wrote: On Wed, Sep 12, 2007 at 07:32:07AM +0200, Robert Schwebel wrote: On Tue, Sep 11, 2007 at 11:43:17AM +0200, Heiko Schocher wrote: I have developed a device driver and use the sysFS to

Re: Building a kernel-source RPM (not a kernel RPM)?

2007-09-12 Thread Jan Engelhardt
On Sep 12 2007 10:31, Dan Stromberg wrote: I'm on a SuSE system. I'm working on automating the install of said system, but it needs a Linus kernel - 2.6.21.7 specifically, and it needs kernel source too so that we can build modules in the field as needed. Find a kernel-source.*.src.rpm

Re: Building a kernel-source RPM (not a kernel RPM)?

2007-09-12 Thread Bernd Petrovitsch
On Wed, 2007-09-12 at 10:31 -0700, Dan Stromberg wrote: On Wed, 12 Sep 2007 19:09:26 +0200, Bernd Petrovitsch wrote: [...] I'm on a SuSE system. I'm working on automating the install of said system, but it needs a Linus kernel - 2.6.21.7 specifically, and it needs kernel source too so

Re: [PATCH v3] Make the pr_*() family of macros in kernel.h complete

2007-09-12 Thread Jan Engelhardt
On Sep 12 2007 11:39, Emil Medve wrote: Other/Some pr_*() macros are already defined in kernel.h, but pr_err() was defined multiple times in several other places Note http://lkml.org/lkml/2007/8/4/30 . - To unsubscribe from this list: send the line unsubscribe linux-kernel in the body of a

[PATCH] scsi: use notifier chain for Asynchronous Event Notification

2007-09-12 Thread Kristen Carlson Accardi
Add a notifier chain for SCSI asynchronous events. Add a notifier block for events which should be sent to user space, and add support for the MEDIA_CHANGE event, which would be used by a driver when new media has been inserted. Signed-off-by: Kristen Carlson Accardi [EMAIL PROTECTED] --- This

Re: [PATCH/RFC] doc: about email clients for Linux kernel patches

2007-09-12 Thread Jan Engelhardt
On Sep 11 2007 21:26, Chris Friesen wrote: Can someone describe the problems with just attaching the patch in Thunderbird? It's what Martin says he does on the linked document... Email clients don't like to quote attachments, even text/plain ones, which then makes attached patches much

Re: Building a kernel-source RPM (not a kernel RPM)?

2007-09-12 Thread Bernd Petrovitsch
On Wed, 2007-09-12 at 19:51 +0200, Sam Ravnborg wrote: On Wed, Sep 12, 2007 at 07:11:21PM +0200, Bernd Petrovitsch wrote: On Wed, 2007-09-12 at 19:05 +0200, Sam Ravnborg wrote: [] Being rpm ignorant I do not know what the expected content of a kernel-source RPM are but this is

RE: [PATCH] RDMA/CMA: Use neigh_event_send() to initiate neighbour discovery.

2007-09-12 Thread Sean Hefty
RDMA/CMA: Use neigh_event_send() to initiate neighbour discovery. Calling arp_send() to initiate neighbour discovery (ND) doesn't do the full ND protocol. Namely, it doesn't handle retransmitting the arp request if it is dropped. The function neigh_event_send() does all this. Without doing full

Re: x86 merge - a little feedback

2007-09-12 Thread Jan Engelhardt
On Sep 11 2007 14:51, Linus Torvalds wrote: On Tue, 11 Sep 2007, Andi Kleen wrote: Will that cause people to compile test both? I have my doubts that will really work. If people don't compile-test both now, then why would they compile-test things when merged? So no, that's not the point.

Re: Building a kernel-source RPM (not a kernel RPM)?

2007-09-12 Thread Sam Ravnborg
But we are talking[0] about a kernel-source-$VERSION.$ARCH.rpm's which contain the kernel sources (read: lots of .c and .h files, etc.) - including a matching .config and after `make oldconfig` - so that one can build out-of-tree modules after installing it with KSRC= (or whatever the

Re: [PATCH -mm] 2.6.23-rc4-mm1: kgdboe link errors

2007-09-12 Thread Matt Mackall
On Wed, Sep 12, 2007 at 10:15:37AM -0700, Randy Dunlap wrote: On Wed, 12 Sep 2007 11:31:22 +0200 Jiri Slaby wrote: randconfig [1] causes this link errors: ERROR: netpoll_cleanup [drivers/net/kgdboe.ko] undefined! ERROR: netpoll_setup [drivers/net/kgdboe.ko] undefined! ERROR:

Re: [PATCH/RFC] doc: about email clients for Linux kernel patches

2007-09-12 Thread Chris Friesen
Jan Engelhardt wrote: On Sep 11 2007 21:26, Chris Friesen wrote: Thunderbird, at least, will automatically inline a single text/plain attachment when replying. (At least with my current settings, it does.) No, the thing is: you send it attached with Thunderbird, and my PINE strips it on

Re: libata not working for sis5533

2007-09-12 Thread Jan Engelhardt
On Sep 11 2007 15:46, Andrew Morton wrote: Patrizio Bassi [EMAIL PROTECTED] wrote: Jan Engelhardt ha scritto: On Sep 8 2007 11:38, Patrizio Bassi wrote: Jan Engelhardt wrote: I shall give this a spin too, since I happen to have sis5513. Just booted this fresh ata-enabled system (a matter

Re: Building a kernel-source RPM (not a kernel RPM)?

2007-09-12 Thread Bernd Petrovitsch
On Wed, 2007-09-12 at 20:16 +0200, Sam Ravnborg wrote: But we are talking[0] about a kernel-source-$VERSION.$ARCH.rpm's which contain the kernel sources (read: lots of .c and .h files, etc.) - including a matching .config and after `make oldconfig` - so that one can build out-of-tree

Re: [RFC] Union Mount: Readdir approaches

2007-09-12 Thread Jan Engelhardt
On Sep 12 2007 13:46, Al Boldi wrote: [EMAIL PROTECTED] wrote: But if you really want to read or try it, you can get all source files from sourceforge. Read http://aufs.sf.net and try, $ cvs -d:pserver:[EMAIL PROTECTED]:/cvsroot/aufs login (CVS password is empty) $ cvs -z3 -d:pserver:[EMAIL

[PATCH -mm v2] 2.6.23-rc4-mm1: kgdboe link errors

2007-09-12 Thread Randy Dunlap
On Wed, 12 Sep 2007 13:15:12 -0500 Matt Mackall wrote: NETCONSOLE shouldn't be necessary. Otherwise this looks ok to my kconfig-addled brain. Correct. Patch corrected. Thanks. --- From: Randy Dunlap [EMAIL PROTECTED] Fix kgdb build problems: Building modules, stage 2. ERROR:

Re: Intel Memory Ordering White Paper

2007-09-12 Thread Dr. David Alan Gilbert
* Jesse Barnes ([EMAIL PROTECTED]) wrote: FYI, we just released a new white paper describing memory ordering for Intel processors: http://developer.intel.com/products/processor/manuals/index.htm Should help answer some questions about some of the ordering primitives we use on i386 and

Re: [00/41] Large Blocksize Support V7 (adds memmap support)

2007-09-12 Thread Nick Piggin
On Wednesday 12 September 2007 10:00, Christoph Lameter wrote: On Tue, 11 Sep 2007, Nick Piggin wrote: Yes. I think we differ on our interpretations of okay. In my interpretation, it is not OK to use this patch as a way to solve VM or FS or IO scalability issues, especially not while the

RFC: bug in load_elf_binary?

2007-09-12 Thread Chris Friesen
No responses in a couple days so I'm resending. I've CC'd a few people who've touched binfmt_elf.c recently. We've got an unusual elf binary and we seem to be running into a bug in the elf loader. I'm not an elf expert, so my apologies if I get the terminology wrong. The elf spec says

Re: [patch] sunrpc: make closing of old temporary sockets work (was: problems with lockd in 2.6.22.6)

2007-09-12 Thread J. Bruce Fields
On Wed, Sep 12, 2007 at 04:14:06PM +0200, Neil Brown wrote: So it is in 2.6.21 and later and should probably go to .stable for .21 and .22. Bruce: for you :-) OK, thanks! But, (as is alas often the case) I'm still confused: if (!test_and_set_bit(SK_OLD, svsk-sk_flags))

RE: [PATCH v3] Make the pr_*() family of macros in kernel.h complete

2007-09-12 Thread Medve Emilian-EMMEDVE1
-Original Message- From: Jan Engelhardt [mailto:[EMAIL PROTECTED] Sent: Wednesday, September 12, 2007 1:04 PM To: Medve Emilian-EMMEDVE1 Cc: linux-kernel@vger.kernel.org; [EMAIL PROTECTED]; [EMAIL PROTECTED]; [EMAIL PROTECTED] Subject: Re: [PATCH v3] Make the pr_*() family of

Re: libata not working for sis5533

2007-09-12 Thread Patrizio Bassi
Jan Engelhardt ha scritto: On Sep 11 2007 15:46, Andrew Morton wrote: Patrizio Bassi [EMAIL PROTECTED] wrote: Jan Engelhardt ha scritto: On Sep 8 2007 11:38, Patrizio Bassi wrote: Jan Engelhardt wrote: I shall give this a spin too, since I happen

[PATCH] wake up from a serial port

2007-09-12 Thread Guennadi Liakhovetski
Enable wakeup from serial ports, make it run-time configurable over sysfs, e.g., echo enabled /sys/devices/platform/serial8250.0/tty/ttyS0/power/wakeup Requires # CONFIG_SYSFS_DEPRECATED is not set Signed-off-by: Guennadi Liakhovetski [EMAIL PROTECTED] --- Following suggestions from Alan

Re: [PATCH -mm v2] 2.6.23-rc4-mm1: kgdboe link errors

2007-09-12 Thread Matt Mackall
On Wed, Sep 12, 2007 at 11:22:52AM -0700, Randy Dunlap wrote: On Wed, 12 Sep 2007 13:15:12 -0500 Matt Mackall wrote: NETCONSOLE shouldn't be necessary. Otherwise this looks ok to my kconfig-addled brain. Correct. Patch corrected. Thanks. Looks good to me, but I'll leave the actual ack

Re: [PATCH] Memory shortage can result in inconsistent flocks state

2007-09-12 Thread J. Bruce Fields
On Tue, Sep 11, 2007 at 04:38:13PM +0400, Pavel Emelyanov wrote: This is a known feature that such re-locking is not atomic, but in the racy case the file should stay locked (although by some other process), but in this case the file will be unlocked. That's a little subtle (I assume you've

Re: x86 merge - a little feedback

2007-09-12 Thread Sam Ravnborg
If legacy.c numa.c, pcibios.c and visws.c placed in a directory named i386 then it would be obvious that this is i386 only. But none of it is i386 only and putting it in a directory of its own would be stupid and wrong. The visws.c thing is platform-specific thing, and the fact that

Re: [PATCH/RFC] doc: about email clients for Linux kernel patches

2007-09-12 Thread Rik van Riel
Jeff Garzik wrote: Chris Friesen wrote: Randy Dunlap wrote: +Thunderbird (GUI) + +By default, thunderbird likes to mangle text, but there are ways to +coerce it into being nice. Can someone describe the problems with just attaching the patch in Thunderbird? It's what Martin says he does

Re: [Kgdb-bugreport] [PATCH -mm v2] 2.6.23-rc4-mm1: kgdboe link errors

2007-09-12 Thread Jason Wessel
Randy, This patch is fine, and I am committing it to the for_mm kgdb tree. I am also adding the depends on NET to the KGDBOE_NOMODULE section, which would otherwise to a select on KGDBOE. We have to cover the case for KGDB as a module and not as a module. Thanks, Jason. Randy Dunlap wrote:

[PATCH] x86_64: check MSR to get MMCONFIG for AMD Family 10h Opteron

2007-09-12 Thread Yinghai Lu
[PATCH] x86_64: check MSR to get MMCONFIG for AMD Family 10h Opteron So even MCFG is not there, we still can use MMCONFIG. Signed-off-by: Yinghai Lu [EMAIL PROTECTED] Index: linux-2.6/arch/i386/pci/mmconfig-shared.c === ---

[PATCH] x86_64: check and enable MMCONFIG for AMD Family 10h Opteron

2007-09-12 Thread Yinghai Lu
[PATCH] x86_64: check and enable MMCONFIG for AMD Family 10h Opteron Signed-off-by: Yinghai Lu [EMAIL PROTECTED] Index: linux-2.6/arch/x86_64/kernel/setup.c === --- linux-2.6.orig/arch/x86_64/kernel/setup.c 2007-09-12

Re: [patch] sunrpc: make closing of old temporary sockets work (was: problems with lockd in 2.6.22.6)

2007-09-12 Thread Wolfgang Walter
On Wednesday 12 September 2007, J. Bruce Fields wrote: On Wed, Sep 12, 2007 at 04:14:06PM +0200, Neil Brown wrote: So it is in 2.6.21 and later and should probably go to .stable for .21 and .22. Bruce: for you :-) OK, thanks! But, (as is alas often the case) I'm still confused:

[PATCH] Re: Kernel Panic - 2.6.23-rc4-mm1 ia64 - was Re: Update: [Automatic] NUMA replicated pagecache ...

2007-09-12 Thread Lee Schermerhorn
On Wed, 2007-09-12 at 16:41 +0100, Andy Whitcroft wrote: On Wed, Sep 12, 2007 at 11:09:47AM -0400, Lee Schermerhorn wrote: Interesting, I don't see a memory controller function in the stack trace, but I'll double check to see if I can find some silly race condition in there.

Re: Building a kernel-source RPM (not a kernel RPM)?

2007-09-12 Thread Thorsten Leemhuis
On 12.09.2007 20:03, Bernd Petrovitsch wrote: On Wed, 2007-09-12 at 10:31 -0700, Dan Stromberg wrote: On Wed, 12 Sep 2007 19:09:26 +0200, Bernd Petrovitsch wrote: [...] Fedora BTW abandoned kernel-source* and they have now a website with a description how to produce a configured kernel

[PATCH -mm] uvesafb: Don't access VGA registers directly when running on non-x86

2007-09-12 Thread Michal Januszewski
The VGA registers are only available at their legacy IO locations on x86. Don't try to access them when running on other arches. Note that the code accessing them directly is just an optimization (limits slow BIOS function calls). We don't lose any functionality by using BIOS calls instead of

Re: [PATCH/RFC] doc: about email clients for Linux kernel patches

2007-09-12 Thread Peter Zijlstra
On Wed, 2007-09-12 at 15:16 -0400, Rik van Riel wrote: Jeff Garzik wrote: Chris Friesen wrote: Randy Dunlap wrote: +Thunderbird (GUI) + +By default, thunderbird likes to mangle text, but there are ways to +coerce it into being nice. Can someone describe the problems with just

Re: [patch] sunrpc: make closing of old temporary sockets work (was: problems with lockd in 2.6.22.6)

2007-09-12 Thread J. Bruce Fields
On Wed, Sep 12, 2007 at 09:40:57PM +0200, Wolfgang Walter wrote: On Wednesday 12 September 2007, J. Bruce Fields wrote: On Wed, Sep 12, 2007 at 04:14:06PM +0200, Neil Brown wrote: So it is in 2.6.21 and later and should probably go to .stable for .21 and .22. Bruce: for you :-)

Re: libata not working for sis5533

2007-09-12 Thread Jan Engelhardt
On Sep 12 2007 20:49, Patrizio Bassi wrote: Looks more like a platform irq routing issue than an ata issue. Perhaps an x86 or an acpi person can help out with this. Patrizio, have you tried with the old IDE? (And without suspend at that...) yes yes old IDE works ok, but the suspend

Re: Building a kernel-source RPM (not a kernel RPM)?

2007-09-12 Thread Sam Ravnborg
Hi knurd. I think the Fedora approach has many benefits -- I always wondered why it never went upstream like a make install_develstuff that install all the needed bits to /lib/modules/$(uname -r)/build/ Last time I saw the patch is was to ugly to consider. Now that is maybe a year ago and

Re: ata_piix, laptop cdrom, ICH7: EH, limiting speed to PIO

2007-09-12 Thread Sergey Dolgov
Hi Michal, On Wed, Sep 12, 2007 at 06:33:20PM +0200, Michal Piotrowski wrote: Hi Sergey, On 11/09/2007, Sergey Dolgov [EMAIL PROTECTED] wrote: Hi! On my hp nx7300 laptop, 2 following scenarios can happen during bootup (see attachments for the full logs): the good one [1] and the one

Re: [PATCH 1/4] build system: section garbage collection for vmlinux

2007-09-12 Thread Denys Vlasenko
On Tuesday 11 September 2007 22:47, Daniel Walker wrote: On Tue, 2007-09-11 at 21:07 +0100, Denys Vlasenko wrote: This patch is needed for --gc-sections to work, regardless of which final form that support will have. This patch renames .text.xxx and .data.xxx sections into .xxx.text

Re: ata_piix, laptop cdrom, ICH7: EH, limiting speed to PIO

2007-09-12 Thread Michal Piotrowski
Sergey Dolgov pisze: Hi Michal, On Wed, Sep 12, 2007 at 06:33:20PM +0200, Michal Piotrowski wrote: Hi Sergey, On 11/09/2007, Sergey Dolgov [EMAIL PROTECTED] wrote: Hi! On my hp nx7300 laptop, 2 following scenarios can happen during bootup (see attachments for the full logs): the good

Re: [PATCH 0/4] build system: section garbage collection for vmlinux

2007-09-12 Thread Denys Vlasenko
On Tuesday 11 September 2007 22:03, Andi Kleen wrote: Denys Vlasenko [EMAIL PROTECTED] writes:    text    data     bss     dec     hex filename 5159478 1005139  406784 6571401  644589 linux-2.6.23-rc4.org/vmlinux 5131822  996090  401439 6529351  63a147 linux-2.6.23-rc4.gc/vmlinux In

Re: [PATCH 02/12] IB/ehca: Add 1 is not longer needed because of firmware interface change

2007-09-12 Thread Roland Dreier
What happens if someone runs the new driver with older firmware? Or what if someone upgrades the firmware without updating the driver? - R. - To unsubscribe from this list: send the line unsubscribe linux-kernel in the body of a message to [EMAIL PROTECTED] More majordomo info at

Re: Building a kernel-source RPM (not a kernel RPM)?

2007-09-12 Thread Jan Engelhardt
On Sep 12 2007 20:23, Bernd Petrovitsch wrote: On Wed, 2007-09-12 at 20:16 +0200, Sam Ravnborg wrote: But we are talking[0] about a kernel-source-$VERSION.$ARCH.rpm's which contain the kernel sources (read: lots of .c and .h files, etc.) - including a matching .config and after `make

[PATCH 1/2] section garbage collection for i386

2007-09-12 Thread Denys Vlasenko
Hi Sam, This patch is preparatory: it adds a few KEEP() directives where I forgot them in previous patch set, adds comments which explains places where KEEP() is definitely not needed, and fixes i386 vdso generation in an obviously safe way. Please apply. Signed-off-by: Denys Vlasenko [EMAIL

Re: [PATCH 0/6] Use one zonelist per node instead of multiple zonelists v5 (resend)

2007-09-12 Thread Lee Schermerhorn
On Tue, 2007-09-11 at 22:30 +0100, Mel Gorman wrote: (Sorry for the resend, I mucked up the TO: line in the earlier sending) This is the latest version of one-zonelist and it should be solid enough for wider testing. To briefly summarise, the patchset replaces multiple zonelists-per-node

[PATCH 2/2] section garbage collection for i386

2007-09-12 Thread Denys Vlasenko
Hi Sam, This patch adds module linker script (completely analogous to x86_64), and minimally fixes vmlinux linker script by adding KEEPs. It also deleted an outdated comment and amends help text. I got a few section mismatch warnings with .config which doesn't show them (IIRC) on original

O_NOLINK for open()

2007-09-12 Thread Brent Casavant
Bear with me, I present the problem I'm trying to solve first, and then propose O_NOLINK as a solution. Responses to either my shared memory problem or the O_NOLINK idea would be most appreciated. I've run into a rather unusual set of circumstances calling for use of shared memory, but haven't

Re: libata not working for sis5533

2007-09-12 Thread Bartlomiej Zolnierkiewicz
Hi, On Wednesday 12 September 2007, Patrizio Bassi wrote: Jan Engelhardt ha scritto: On Sep 11 2007 15:46, Andrew Morton wrote: Patrizio Bassi [EMAIL PROTECTED] wrote: Jan Engelhardt ha scritto: On Sep 8 2007 11:38, Patrizio Bassi wrote: Jan Engelhardt

[PATCH 3/2] section garbage collection for i386 - BONUS TRACK

2007-09-12 Thread Denys Vlasenko
Hi Sam, This patch makes i386 vmlinux linker script simpler by minimizing number of generated sections. For example, these sections: 21 .init.text000204a0 78701000 00701000 00502000 2**0 CONTENTS, ALLOC, LOAD, READONLY, CODE 22 .init.data000268db 787214a0

Re: [PATCH 1/4] build system: section garbage collection for vmlinux

2007-09-12 Thread Daniel Walker
On Wed, 2007-09-12 at 21:18 +0100, Denys Vlasenko wrote: On Tuesday 11 September 2007 22:47, Daniel Walker wrote: On Tue, 2007-09-11 at 21:07 +0100, Denys Vlasenko wrote: This patch is needed for --gc-sections to work, regardless of which final form that support will have. This

Re: PROBLEM: 2.6.23-rc NETDEV WATCHDOG: eth0: transmit timed out

2007-09-12 Thread Francois Romieu
Karl Meyer [EMAIL PROTECTED] : [...] am am looking for this issue for some time now, but there where no errors in 2.6.22-r2 (gentoo speak, I guess this is 2.6.22.2 officially), I also ran git-bisect (for more information see the older messages in this thread). 2.6.22-r2 in gentoo is based on

Re: OOPS in __copy_user_zeroing_intel

2007-09-12 Thread Chris Friesen
Michal Piotrowski wrote: On 11/09/2007, Chris Friesen [EMAIL PROTECTED] wrote: We're running a modified 2.6.10 on a dual-Xeon system. Eh, this is a pretty ancient kernel. Yes, it is. You may want to use one of the long time support kernel 2.6.16.x or 2.6.20.x. I wish I could, but

[PATCH 0/6] Use one zonelist per node instead of multiple zonelists v6

2007-09-12 Thread Mel Gorman
Kamezawa-san, This version implements your idea for storing a zone pointer and zone_idx in a structure within the zonelist instead of encoding information in a pointer. It has worked out quite well. The performance is comparable on the tests I've run with similar gains/losses as I've seen with

[PATCH 1/6] Use zonelists instead of zones when direct reclaiming pages

2007-09-12 Thread Mel Gorman
The allocator deals with zonelists which indicate the order in which zones should be targeted for an allocation. Similarly, direct reclaim of pages iterates over an array of zones. For consistency, this patch converts direct reclaim to use a zonelist. No functionality is changed by this patch.

[PATCH 2/6] Introduce node_zonelist() for accessing the zonelist for a GFP mask

2007-09-12 Thread Mel Gorman
This patch introduces a node_zonelist() helper function. It is used to lookup the appropriate zonelist given a node and a GFP mask. The patch on its own is a cleanup but it helps clarify parts of the one-zonelist-per-node patchset. If necessary, it can be merged with the next patch in this set

[PATCH 3/6] Use two zonelist that are filtered by GFP mask

2007-09-12 Thread Mel Gorman
Currently a node has a number of zonelists, one for each zone type in the system and a second set for THISNODE allocations. Based on the zones allowed by a gfp mask, one of these zonelists is selected. All of these zonelists occupy memory and consume cache lines. This patch replaces the multiple

[PATCH 4/6] Have zonelist contains structs with both a zone pointer and zone_idx

2007-09-12 Thread Mel Gorman
Using two zonelists per node requires very frequent use of zone_idx(). This is costly as it involves a lookup of another structure and a substraction operation. As the zone_idx is often required, it should be quickly accessible. The node idx could also be stored here if it was found that

<    1   2   3   4   5   6   7   8   >