Re: Patches for REALLY TINY 386 kernels

2007-07-20 Thread Uwe Hermann
On Wed, Jul 18, 2007 at 03:41:02PM -0500, Matt Mackall wrote: > On Wed, Jul 18, 2007 at 10:10:43PM +0200, Andi Kleen wrote: > > > > I was waiting for someone to make that "point" ... > > > > > > > > Every byte you can shave off the compressed kernel image is another > > > byte you can use for

Re: [PATCH] [updated] PHY fixed driver: rework release path and update phy_id notation

2007-07-20 Thread Andrew Morton
On Fri, 20 Jul 2007 11:50:39 +0400 Vitaly Bordug <[EMAIL PROTECTED]> wrote: > On Thu, 19 Jul 2007 23:23:37 -0700 > Andrew Morton wrote: > > > On Thu, 19 Jul 2007 03:38:04 +0400 Vitaly Bordug > > <[EMAIL PROTECTED]> wrote: > > > > > > > > device_bind_driver() error code returning has been

Re: [PATCH] Documentation update sched-stat.txt

2007-07-20 Thread Joachim Deguara
On Friday 20 July 2007 09:25:22 Nick Piggin wrote: > On Wed, Jul 18, 2007 at 11:11:30AM +0200, Joachim Deguara wrote: > > While learning about schedstats I found that the documentation in the > > tree is old. I updated it and found some interesting stuff like > > schedstats version 14 is the same

Re: Documentation for sysfs, hotplug, and firmware loading.

2007-07-20 Thread Cornelia Huck
On Fri, 20 Jul 2007 00:00:01 -0700, Greg KH <[EMAIL PROTECTED]> wrote: > > I don't insist on it, mknod insists on it. You cannot mknod a dev node > > without specifying block or char. > > > > You're saying that sysfs should provide major and minor numbers without > > anywhere specifying

[PATCH] nommu: vmalloc_32_user()/vm_insert_page() and symbol exports.

2007-07-20 Thread Paul Mundt
Trying to survive an allmodconfig on a nommu platform results in many screen lengths of module unhappiness. Many of the mmap related things that binfmt_flat hooks in to are never exported despite being global, and there are also missing definitions for vmalloc_32_user() and vm_insert_page(). I've

Re: [PATCH] [updated] PHY fixed driver: rework release path and update phy_id notation

2007-07-20 Thread Vitaly Bordug
On Thu, 19 Jul 2007 23:23:37 -0700 Andrew Morton wrote: > On Thu, 19 Jul 2007 03:38:04 +0400 Vitaly Bordug > <[EMAIL PROTECTED]> wrote: > > > > > device_bind_driver() error code returning has been fixed. > > release() function has been written, so that to free resources > > in correct way;

Re: [RFH] Partion table recovery

2007-07-20 Thread Anton Altaparmakov
On 20 Jul 2007, at 06:13, Al Boldi wrote: As always, a good friend of mine managed to scratch my partion table by cat'ing /dev/full into /dev/sda. I was able to push him out of the way, but at least the first 100MB are gone. I can probably live without the first partion, but there are

Re: new text patching for review

2007-07-20 Thread Andi Kleen
On Thu, Jul 19, 2007 at 06:15:46PM -0700, Zachary Amsden wrote: > Mathieu Desnoyers wrote: > >Yes, kprobes is case 1: atomic update. And we don't even have to bother > >about Intel's erratum. This one is ok. That's mainly the > >alternatives/paravirt code I worry about. > > > > Paravirt and

Re: Patches for REALLY TINY 386 kernels

2007-07-20 Thread Andi Kleen
> Some people are putting Linux kernels in the "BIOS" (i.e. ROM chip) when > using LinuxBIOS (www.linuxbios.org). It _does_ make a lot of difference > there how big the kernel is. At the moment you can't do that with > anything smaller than a 1 MB chip. But if people could use 512 KB chips >

Re: Where did KVM go in 2.6.22-git9?

2007-07-20 Thread Avi Kivity
Bill Davidsen wrote: > I just built a 2.6.22-git9 kernel, and when I run oldconfig it (a) > sets the processor type to pentium-pro, and (b) the KVM stuff simply > isn't in the config. Before I spend a lot of time on this, was it > disabled temporarily for some reason, or is it a known bug, or ???

Re: [PATCH] mm: Fix memory hotplug oops from ZONE_MOVABLE changes.

2007-07-20 Thread Paul Mundt
On Fri, Jul 20, 2007 at 04:21:52PM +0900, KAMEZAWA Hiroyuki wrote: > On Fri, 20 Jul 2007 15:03:42 +0900 > Paul Mundt <[EMAIL PROTECTED]> wrote: > > > zone_movable_pfn is presently marked as __initdata and referenced > > from adjust_zone_range_for_zone_movable(), which in turn is > > referenced by

drivers/base/core.c broken for non-CONFIG_HOTPLUG

2007-07-20 Thread Robert Schwebel
Kay, With commit 60a96a59569bab85571d0089682109bd3324e896, you broke drivers/base/core.c for systems which have not enabled CONFIG_HOTPLUG. You add and use extern const char *kobject_actions[]; but the code in lib/kobject_uevent.c who actually brings in the code is only compiled when

Re: [PATCH] UBI: potential leak in ubi_scan_erase_peb

2007-07-20 Thread Artem Bityutskiy
On Thu, 2007-07-19 at 15:22 -0400, Florin Malita wrote: > Coverity (1769) found the following problem: if the erase counter > overflow check triggers, ec_hdr is leaked. > > Moving the allocation after the overflow check should take care of it. > > Signed-off-by: Florin Malita <[EMAIL

Re: [PATCH] Add kernel/notifier.c

2007-07-20 Thread Alexey Dobriyan
On Thu, Jul 19, 2007 at 02:48:59PM -0700, Andrew Morton wrote: > On Thu, 19 Jul 2007 20:46:11 +0400 > Alexey Dobriyan <[EMAIL PROTECTED]> wrote: > > > There is separate notifier header, but no separate notifier .c file. > > > > Extract notifier code out of kernel/sys.c which will remain for > >

Re: [PATCH] Documentation update sched-stat.txt

2007-07-20 Thread Nick Piggin
On Wed, Jul 18, 2007 at 11:11:30AM +0200, Joachim Deguara wrote: > While learning about schedstats I found that the documentation in the tree is > old. I updated it and found some interesting stuff like schedstats version > 14 is the same as version and version 13 never saw a kernel release!

Re: [PATCH] virtual sched_clock() for s390

2007-07-20 Thread Ingo Molnar
* Paul Mackerras <[EMAIL PROTECTED]> wrote: > PowerPC's sched_clock() currently measures real time. On POWER5 and > POWER6 machines we could change it to use a register called the "PURR" > (for Processor Utilization of Resources Register), which only measures > time spent while the partition

Re: [PATCH] mm: Fix memory hotplug oops from ZONE_MOVABLE changes.

2007-07-20 Thread KAMEZAWA Hiroyuki
On Fri, 20 Jul 2007 15:03:42 +0900 Paul Mundt <[EMAIL PROTECTED]> wrote: > zone_movable_pfn is presently marked as __initdata and referenced > from adjust_zone_range_for_zone_movable(), which in turn is > referenced by zone_spanned_pages_in_node(). Both of these are > __meminit annotated. When

Re: [PATCH] kill DECLARE_MUTEX_LOCKED

2007-07-20 Thread Christoph Hellwig
On Fri, Jul 20, 2007 at 10:58:34AM +0530, Satyam Sharma wrote: > That comment in libusual is quite nonsensical, IMHO. Note that > usu_init_notify is declared as DECLARE_MUTEX_LOCKED and yet the > author wants us to believe (later, when he's doing that dummy Given that no one should use libusual

Re: kmalloc zero size changes break i386

2007-07-20 Thread Pekka J Enberg
On Fri, 20 Jul 2007, Pekka J Enberg wrote: > There's some heavy-duty function inlining going on in__kmalloc so could > you please work out the exact location of the oops as described in > Documentation/BUG-HUNTING (look for the "use GDB to translate" part). And, of course, please check if

Re: lguest, Re: -mm merge plans for 2.6.23

2007-07-20 Thread Christoph Hellwig
On Fri, Jul 20, 2007 at 01:27:26PM +1000, Rusty Russell wrote: > On Thu, 2007-07-19 at 19:27 +0200, Christoph Hellwig wrote: > > The version that just got into mainline still has the __put_task_struct > > export despite not needing it anymore. Care to fix this up? > > No, it got patched in then

Re: BUG: unable to handle kernel NULL pointer dereference - nfs v3

2007-07-20 Thread Satyam Sharma
Hi, On 7/20/07, Neil Brown <[EMAIL PROTECTED]> wrote: On Thursday July 19, [EMAIL PROTECTED] wrote: > Ugh, not a good day for me today ... my earlier conclusion was right, > but not the reasoning behind it ... hopefully this time I'll do better :-) Looks good. Thanks for your helpful

Re: drivers/base/core.c broken for non-CONFIG_HOTPLUG

2007-07-20 Thread Greg KH
On Fri, Jul 20, 2007 at 09:01:06AM +0200, Robert Schwebel wrote: > Kay, > > With commit 60a96a59569bab85571d0089682109bd3324e896, you broke > drivers/base/core.c for systems which have not enabled CONFIG_HOTPLUG. > > You add and use > > extern const char *kobject_actions[]; > > but the

Re: kmalloc zero size changes break i386

2007-07-20 Thread Pekka J Enberg
Hi Roland, On Thu, 19 Jul 2007, Roland Dreier wrote: > [ 1350.668590] Unable to handle kernel NULL pointer dereference at > 0028 RIP: > [ 1350.674068] [] __kmalloc+0x51/0xaf There's some heavy-duty function inlining going on in__kmalloc so could you please work out the exact

Re: [PATCH 1/1][RESEND] Driver for the Atmel on-chip SSC on AT32AP and AT91.

2007-07-20 Thread Andrew Victor
hi Hans-Christian, > Just an example from sound/soc/at91/at91-ssc.c > > rcmr = (( ssc_p->rcmr_period << 24) & AT91_SSC_PERIOD) > | (( 1 << 16) & > AT91_SSC_STTDLY) > | (( AT91_SSC_START_FALLING_RF ) &

Re: Documentation for sysfs, hotplug, and firmware loading.

2007-07-20 Thread Greg KH
On Fri, Jul 20, 2007 at 01:14:27AM -0400, Rob Landley wrote: > Is there anything in /sys/class/block that _isn't_ in /sys/block? No. > Does "if you want to use it, but /sys/block will still be there" NOT > mean, as I assumed at the time, that I could safely ignore it? Ignore what? /sys/block?

Re: [RFH] Partion table recovery

2007-07-20 Thread Jan Engelhardt
On Jul 20 2007 07:35, Willy Tarreau wrote: >On Fri, Jul 20, 2007 at 08:13:03AM +0300, Al Boldi wrote: >> As always, a good friend of mine managed to scratch my partion table by >> cat'ing /dev/full into /dev/sda. I was able to push him out of the way, but >> at least the first 100MB are gone.

Re: [RFH] Partion table recovery

2007-07-20 Thread Jan-Benedict Glaw
On Thu, 2007-07-19 22:25:49 -0700, James Lamanna <[EMAIL PROTECTED]> wrote: > On 7/19/07, Al Boldi <[EMAIL PROTECTED]> wrote: > > > > I tried parted, but it's not working out for me. Does anybody know of a > > simple partition recovery tool, that would just scan the disk for lost > > partions? >

Re: About get_page for compound page

2007-07-20 Thread Peter Zijlstra
On Fri, 2007-07-20 at 07:59 +0800, Fengwei Yin wrote: > On 7/20/07, Peter Zijlstra <[EMAIL PROTECTED]> wrote: > > On Thu, 2007-07-19 at 23:54 +0800, Fengwei Yin wrote: > > > Hi, > > > In get_page(), the parameter page is changed by > > > page = compound_head(page); > > > if the page is

Re: [PATCH] Move KVM, paravirt, lguest, VMI and Xen under arch-level Virtualization option

2007-07-20 Thread Zachary Amsden
Rusty Russell wrote: Otherwise we end up with $NARCH copies of that Kconfig, each slightly different. The top-level entry can be made to depend on the archs that actually have some virt capability, so as not to show empty an menu. I dislike the duplication, too, but 1) it's a CPU

Re: 2.6.22-git: known regressions with patches

2007-07-20 Thread Cornelia Huck
On Thu, 19 Jul 2007 18:35:04 +0200, Michal Piotrowski <[EMAIL PROTECTED]> wrote: > FS > > Subject : AFS compile broken > References : http://lkml.org/lkml/2007/7/19/218 > Last known good : ? > Submitter : Meelis Roos <[EMAIL PROTECTED]> > Caused-By : ? > Handled-By

Re: [PATCH 1/1][RESEND] Driver for the Atmel on-chip SSC on AT32AP and AT91.

2007-07-20 Thread Hans-Christian Egtvedt
On Thu, 2007-07-19 at 10:29 +0200, Andrew Victor wrote: > hi Hans-Christian, > > > This driver is used in the ALSA sound driver for the AT73C213 external DAC > > on > > the ATSTK1000 development board for AVR32. This sound driver will be > > submitted > > soon. > > Seems to be more of an SCC

Re: BUG: unable to handle kernel NULL pointer dereference - nfs v3

2007-07-20 Thread Neil Brown
On Thursday July 19, [EMAIL PROTECTED] wrote: > Ugh, not a good day for me today ... my earlier conclusion was right, > but not the reasoning behind it ... hopefully this time I'll do better :-) Looks good. Thanks for your helpful analysis. > > 0x34 bytes is the offset of ex_uuid in struct

Re: [PATCH] fallout from kbuild changes

2007-07-20 Thread Sam Ravnborg
On Fri, Jul 20, 2007 at 02:01:16AM +0100, Al Viro wrote: > Change in 'kbuild: do section mismatch check on full vmlinux' > should've been replicated in arch/um/Makefile. Thanks Al. Sam - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a

Re: libata [ata_piix] still no resume from S3 ?

2007-07-20 Thread Tejun Heo
Rúben Fonseca wrote: > I wish I could disable this card reader. It is built in on the hardware, > and there are no drivers for Linux. There is no option on the BIOS to > disable the device. Is there any way (kernel parameters, magic program, > etc) to disable this device without opening my laptop

Re: [PATCH] [updated] PHY fixed driver: rework release path and update phy_id notation

2007-07-20 Thread Andrew Morton
On Thu, 19 Jul 2007 03:38:04 +0400 Vitaly Bordug <[EMAIL PROTECTED]> wrote: > > device_bind_driver() error code returning has been fixed. > release() function has been written, so that to free resources > in correct way; the release path is now clean. > > Before the rework, it used to

Re: [patch] fix some conversion overflows

2007-07-20 Thread David Chinner
On Fri, Jul 20, 2007 at 07:40:04AM +0200, Nick Piggin wrote: > Fix page index to offset conversion overflows in buffer layer, ecryptfs, > and ocfs2. > > It would be nice to convert the whole tree to page_offset, but for now > just fix the bugs. Yup, that's part of the clean-ups in Christoph

Re: [PATCH] Fix Dreamcast DMA

2007-07-20 Thread Mike Frysinger
On Thursday 19 July 2007, Adrian McMenamin wrote: > Signed-off by: Adrian McMenamin <[EMAIL PROTECTED]> > @@ -183,6 +183,7 @@ int dmac_search_free_channel(const char *dev_id) > return result; > > atomic_set(>busy, 1); > + > return channel->chan; >

[PATCH] mm: Fix memory hotplug oops from ZONE_MOVABLE changes.

2007-07-20 Thread Paul Mundt
zone_movable_pfn is presently marked as __initdata and referenced from adjust_zone_range_for_zone_movable(), which in turn is referenced by zone_spanned_pages_in_node(). Both of these are __meminit annotated. When memory hotplug is enabled, this will oops on a hot-add, due to zone_movable_pfn

Re: [PATCH] virtual sched_clock() for s390

2007-07-20 Thread Jeremy Fitzhardinge
Paul Mackerras wrote: > Do you think this makes the PURR more useful for CFS, or less? To me > it looks like this would mean that CFS can make a more equitable > distribution of CPU time if, for example, you had 3 runnable tasks on > a 2-core x dual-threaded machine (4 virtual CPUs). > Sounds

Re: [PATCH] Move KVM, paravirt, lguest, VMI and Xen under arch-level Virtualization option

2007-07-20 Thread Rusty Russell
On Fri, 2007-07-20 at 08:24 +0300, Avi Kivity wrote: > Rusty Russell wrote: > > Any objections? > > > > Rusty. > > === > > Having KVM appear in the middle of "drivers" is kinda strange, and > > having it alone under a menu called "virtualization" doubly so. > > > > 1) Move the "Virtualization"

Please pull Open Firmware consolidation patches

2007-07-20 Thread Stephen Rothwell
Hi Linus, Please pull the Open Firmware device tree consolidation patches from the master branch of git://git.kernel.org/pub/scm/linux/kernel/git/sfr/ofcons.git master The intention here is that there should be no behavioural changes and minimal code changes (apart from movement of the code

Re: [PATCH] mm: Fix memory hotplug oops from ZONE_MOVABLE changes.

2007-07-20 Thread Mel Gorman
On (20/07/07 15:03), Paul Mundt didst pronounce: zone_movable_pfn is presently marked as __initdata and referenced from adjust_zone_range_for_zone_movable(), which in turn is referenced by zone_spanned_pages_in_node(). Both of these are __meminit annotated. When memory hotplug is enabled, this

Re: [PATCH 1/6] compacting file_ra_state

2007-07-20 Thread Fengguang Wu
On Fri, Jul 20, 2007 at 12:48:59PM +0200, Peter Zijlstra wrote: On Fri, 2007-07-20 at 12:26 +0200, Peter Zijlstra wrote: On Fri, 2007-07-20 at 18:07 +0800, Fengguang Wu wrote: plain text document attachment (short-rasize.patch) Use 'unsigned int' instead of 'unsigned long' for the

Re: Linux, tcpdump and vlan

2007-07-20 Thread Florian Lohoff
On Wed, Jul 18, 2007 at 12:34:33PM -0700, andrei radulescu-banu wrote: Dear kernel networking gurus, I am trying to understand why tcpdump does not work properly for vlan packets on linux. Here is the existing behavior, observed with: - kernel 2.6.16, - e1000 driver - libpcap

Re: [RFC 1/4] CONFIG_STABLE: Define it

2007-07-20 Thread Satyam Sharma
On 7/20/07, Chris Snook [EMAIL PROTECTED] wrote: Satyam Sharma wrote: [ Just cleaning up my inbox, and stumbled across this thread ... ] On 5/31/07, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote: Introduce CONFIG_STABLE to control checks only useful for development. Signed-off-by: Christoph

Re: [PATCH 4/6] remove the limit max_sectors_kb imposed on max_readahead_kb

2007-07-20 Thread Fengguang Wu
On Fri, Jul 20, 2007 at 01:07:43PM +0200, Jens Axboe wrote: On Fri, Jul 20 2007, Fengguang Wu wrote: Remove the size limit max_sectors_kb imposed on max_readahead_kb. max_sectors_kb cannot grow larger than max_hw_sectors_kb, which can be rather small for some disk drives. Please CC me

Re: [linux-pm] Re: Hibernation considerations

2007-07-20 Thread Rafael J. Wysocki
On Friday, 20 July 2007 01:07, [EMAIL PROTECTED] wrote: On Thu, 19 Jul 2007, Rafael J. Wysocki wrote: On Thursday, 19 July 2007 17:46, Milton Miller wrote: The currently identified problems under discussion include: (1) how to interact with acpi to enter into S4. (2) how to identify

Re: [RFC 1/4] CONFIG_STABLE: Define it

2007-07-20 Thread Chris Snook
Satyam Sharma wrote: [ Just cleaning up my inbox, and stumbled across this thread ... ] On 5/31/07, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote: Introduce CONFIG_STABLE to control checks only useful for development. Signed-off-by: Christoph Lameter [EMAIL PROTECTED] [...] menu General setup

Re: which signal is sent to freeze process?

2007-07-20 Thread Rafael J. Wysocki
On Friday, 20 July 2007 01:22, Agarwal, Lomesh wrote: I am using Linux in an embedded platform with x86. Applications don't do anything special. The system call which is returning EINTR is poll. Also in one of the thread read is returning ENODATA after resume. If I just try the system calls

Re: [PATCH] Inhibit NMI watchdog when Alt-SysRq-T operation is underway.

2007-07-20 Thread Konrad Rzeszutek
Hey Andrew, I tested your patch along with mine and found two things out: 1). Missing this patch (for i386 platform) diff --git a/arch/i386/kernel/traps.c b/arch/i386/kernel/traps.c index 90da057..9f3a7ff 100644 --- a/arch/i386/kernel/traps.c +++ b/arch/i386/kernel/traps.c @@ -207,6 +207,7 @@

Re: [RFC 1/4] CONFIG_STABLE: Define it

2007-07-20 Thread Chris Snook
Satyam Sharma wrote: On 7/20/07, Chris Snook [EMAIL PROTECTED] wrote: Satyam Sharma wrote: [ Just cleaning up my inbox, and stumbled across this thread ... ] On 5/31/07, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote: Introduce CONFIG_STABLE to control checks only useful for development.

Re: [PATCH] fallout from kbuild changes

2007-07-20 Thread Sam Ravnborg
On Fri, Jul 20, 2007 at 10:20:29AM +0100, Al Viro wrote: BTW, the presense of vmlinux in the second modpost generates warnings in two cases - i386 with CONFIG_RELOCATABLE and sparc32 (always). The warnings tend to be bogus. Do we really want them there now that we should (in theory) get all

Re: [RFH] Partition table recovery

2007-07-20 Thread Al Boldi
Jan Engelhardt wrote: On Jul 20 2007 07:35, Willy Tarreau wrote: On Fri, Jul 20, 2007 at 08:13:03AM +0300, Al Boldi wrote: As always, a good friend of mine managed to scratch my partion table by cat'ing /dev/full into /dev/sda. I was able to push him out of the way, but at least the first

Re: [RFH] Partition table recovery

2007-07-20 Thread Al Boldi
Jeffrey V. Merkey wrote: Al Boldi wrote: As always, a good friend of mine managed to scratch my partion table by cat'ing /dev/full into /dev/sda. I was able to push him out of the way, but at least the first 100MB are gone. I can probably live without the first partion, but there are many

Re: [RFH] Partition table recovery

2007-07-20 Thread Al Boldi
James Lamanna wrote: On 7/19/07, Al Boldi [EMAIL PROTECTED] wrote: As always, a good friend of mine managed to scratch my partion table by cat'ing /dev/full into /dev/sda. I was able to push him out of the way, but at least the first 100MB are gone. I can probably live without the first

Re: [kvm-devel] [GIT PULL][RESEND #2] KVM Updates for 2.6.23-rc1

2007-07-20 Thread S.Çağlar Onur
Hi; 20 Tem 2007 Cum tarihinde, Avi Kivity şunları yazmıştı: Turned out kvm and slub didn't like each other. Please try applying these two patches, in order: http://people.qumranet.com:/avi/kvm-late-fixes-rollup.patch http://people.qumranet.com:/avi/kvm-vs-slub-fix.patch Yep,

Re: [RFH] Partition table recovery

2007-07-20 Thread Al Boldi
Dave Young wrote: On 7/20/07, Al Boldi [EMAIL PROTECTED] wrote: As always, a good friend of mine managed to scratch my partion table by cat'ing /dev/full into /dev/sda. I was able to push him out of the way, but /dev/null ? at least the first 100MB are gone. I can probably live

Re: [PATCH 1/1][RESEND] Driver for the Atmel on-chip SSC on AT32AP and AT91.

2007-07-20 Thread Hans-Christian Egtvedt
Hi Andrew, On Fri, 2007-07-20 at 08:55 +0200, Andrew Victor wrote: Just an example from sound/soc/at91/at91-ssc.c rcmr =(( ssc_p-rcmr_period 24) AT91_SSC_PERIOD) | (( 1 16) AT91_SSC_STTDLY) | ((

Re: [RFH] Partition table recovery

2007-07-20 Thread Jan-Benedict Glaw
On Fri, 2007-07-20 14:29:34 +0300, Al Boldi [EMAIL PROTECTED] wrote: But, I want something much more automated. And the partition table backup per partition entry isn't really a bad idea. That's called `gpart'. MfG, JBG -- Jan-Benedict Glaw [EMAIL PROTECTED]

Re: [RFC 1/4] CONFIG_STABLE: Define it

2007-07-20 Thread Satyam Sharma
On 7/20/07, Chris Snook [EMAIL PROTECTED] wrote: Satyam Sharma wrote: On 7/20/07, Chris Snook [EMAIL PROTECTED] wrote: Satyam Sharma wrote: [ Just cleaning up my inbox, and stumbled across this thread ... ] On 5/31/07, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote: Introduce

Re: [PATCH] mm: Fix memory hotplug oops from ZONE_MOVABLE changes.

2007-07-20 Thread Paul Mundt
On Fri, Jul 20, 2007 at 12:20:25PM +0100, Mel Gorman wrote: On (20/07/07 15:03), Paul Mundt didst pronounce: zone_movable_pfn is presently marked as __initdata and referenced from adjust_zone_range_for_zone_movable(), which in turn is referenced by zone_spanned_pages_in_node(). Both of

Re: [PATCH] Use wbinvd() macro instead of raw inline assembly in .c files

2007-07-20 Thread Andi Kleen
On Friday 20 July 2007 00:55:40 Glauber de Oliveira Costa wrote: This patch uses the already-existant wbinvd() macro to replace raw assembly to perform this very same task in some .c files Signed-off-by: Glauber de Oliveira Costa [EMAIL PROTECTED] diff --git a/arch/x86_64/kernel/tce.c

[PATCH] IP_VS should depend on EXPERIMENTAL ?

2007-07-20 Thread Gabriel C
Hi, IP_VS has : .. tristate IP virtual server support (EXPERIMENTAL) .. but it does not depend on EXPERIMENTAL. Signed-off-by: Gabriel Craciunescu [EMAIL PROTECTED] --- net/ipv4/ipvs/Kconfig |2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/net/ipv4/ipvs/Kconfig

Re: pata_platform: Fix NULL pointer dereference

2007-07-20 Thread Jeff Garzik
Magnus Damm wrote: pata_platform: Fix NULL pointer dereference pata_platform currently dereferences a NULL pointer in pata_platform_probe() if pdev-dev.platform_data is set to NULL. This breakage was most likely introduced by commit 5f45bc50976ee1f408f7171af155aec646655a37. Signed-off-by:

Re: Correct comment in libata-sff.c

2007-07-20 Thread Jeff Garzik
Dave Jones wrote: The filename in the file header is incorrect. Signed-off-by: Dave Jones [EMAIL PROTECTED] applied - 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: [RFC 1/4] CONFIG_STABLE: Define it

2007-07-20 Thread Chris Snook
Satyam Sharma wrote: On 7/20/07, Chris Snook [EMAIL PROTECTED] wrote: Satyam Sharma wrote: On 7/20/07, Chris Snook [EMAIL PROTECTED] wrote: Satyam Sharma wrote: [ Just cleaning up my inbox, and stumbled across this thread ... ] On 5/31/07, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote:

Re: [RFH] Partition table recovery

2007-07-20 Thread Anton Altaparmakov
On 20 Jul 2007, at 12:29, Al Boldi wrote: Anton Altaparmakov wrote: parted and its derivatives are pile of crap... They cause corruption to totally healthy systems at the best of times. Don't go near them. Use TestDisk (http://www.cgsecurity.org/wiki/TestDisk) and be happy. (-: This one

Re: [PATCH] Remove -static from Documentation/lguest/Makefile

2007-07-20 Thread Rusty Russell
On Thu, 2007-07-19 at 23:13 +0300, S.Çağlar Onur wrote: Hi; Remove -static from Documentation/lguest/Makefile, most distros only provides shared library form of zlib in their default installation. And shared linking also provides litte tiny security for hypotetical security problems will

Re: workqueue is not working?

2007-07-20 Thread Misbah khan
I didnt got very clearly what you actually did. But i guess you did faced some problem to work with work queue ( Bottom half of the handler ) I suggest you with an example code so that you could try with it and hope your doubt would get cleared. /* work queue register and initialize */ static

Re: Kernel Error / Crash

2007-07-20 Thread Satyam Sharma
On 7/20/07, Satyam Sharma [EMAIL PROTECTED] wrote: Hi Werner, On 7/20/07, werner [EMAIL PROTECTED] wrote: To: linux-kernel@vger.kernel.org copied from the screen: ... proc on /proc type proc (rw) sysfs on /sys type sysfs (rw) Starting udevd: /sbin/udevd -- daemon [cut

[PATCH 1/3] lguest: fix sense if IF flag on interrupt injection

2007-07-20 Thread Rusty Russell
The sense of the IF bit is backwards in the host interrupt handling. This means we always save IF=1 on the stack when injecting an interrupt. It turns out this is almost always correct (unless the guest is taking a page fault in an interrupt due to an unpopulated vmalloc mapping), so went

Re: [PATCH 1/6] compacting file_ra_state

2007-07-20 Thread Fengguang Wu
On Fri, Jul 20, 2007 at 01:34:42PM +0200, Andi Kleen wrote: Fengguang Wu [EMAIL PROTECTED] writes: Use 'unsigned int' instead of 'unsigned long' for the readahead indexes/sizes. This helps reduce memory consumption on 64bit CPU when a lot of files are opened. Note that the

[PATCH 2/3] lguest: trivial: We now have asm/processor-flags.h, so use it.

2007-07-20 Thread Rusty Russell
Signed-off-by: Rusty Russell [EMAIL PROTECTED] diff -r f41cd1b8d7ef drivers/lguest/lguest_asm.S --- a/drivers/lguest/lguest_asm.S Fri Jul 20 13:46:40 2007 +1000 +++ b/drivers/lguest/lguest_asm.S Fri Jul 20 14:17:04 2007 +1000 @@ -2,9 +2,7 @@ #include linux/lguest.h #include

Re: [PATCH] IP_VS should depend on EXPERIMENTAL ?

2007-07-20 Thread Robert P. J. Day
as a short followup to my previous post, at the *very least*, a cleanup that could be done now is to find all entries which have an actual dependency on EXPERIMENTAL but don't advertise themselves as such: ... config MA600_DONGLE tristate Mobile Action MA600 dongle depends on

[PATCH] defxx: Use __maybe_unused rather than a local hack

2007-07-20 Thread Maciej W. Rozycki
This is a change to remove a local hack in favour to __maybe_unused that has been recently added. Signed-off-by: Maciej W. Rozycki [EMAIL PROTECTED] --- Hi, It should be obvious. The code builds, therefore it works. Please apply, Maciej patch-mips-2.6.22-20070710-defxx-unused-0 diff

[PATCH 3/3] lguest: override sched_clock

2007-07-20 Thread Rusty Russell
Guests currently use the default scheduler clock: this means they always use jiffies even if TSC is actually available. It doesn't make any noticeable difference here, but it's a better thing to do. Also remove commented-out asm/sched-clock.h from -mm tree. Signed-off-by: Rusty Russell [EMAIL

Re: [RFH] Partition table recovery

2007-07-20 Thread Al Boldi
Jan-Benedict Glaw wrote: On Fri, 2007-07-20 14:29:34 +0300, Al Boldi [EMAIL PROTECTED] wrote: But, I want something much more automated. And the partition table backup per partition entry isn't really a bad idea. That's called `gpart'. Oh, gpart is great, but if we had a backup copy of

[PATCH] sb1250-duart: __maybe_unused, etc. fixes

2007-07-20 Thread Maciej W. Rozycki
This is a set of small fixes addressing points raised with the original driver submission. In particular, __maybe_unused is used rather than a local hack and sbd_ops is made const. Additionally I have made two local string variables automatic as rodata space was wasted for pointers

Re: [PATCH] IP_VS should depend on EXPERIMENTAL ?

2007-07-20 Thread Robert P. J. Day
On Fri, 20 Jul 2007, Gabriel C wrote: Robert P. J. Day wrote: On Fri, 20 Jul 2007, Gabriel C wrote: Hi, IP_VS has : .. tristate IP virtual server support (EXPERIMENTAL) .. but it does not depend on EXPERIMENTAL. Signed-off-by: Gabriel Craciunescu [EMAIL PROTECTED]

mm/Kconfig MEMORY_HOTPLUG typo ?

2007-07-20 Thread Gabriel C
Hi, I'm a bit confused about the following from mm/Kconfig: .. config MEMORY_HOTPLUG bool Allow for memory hot-add depends on SPARSEMEM || X86_64_ACPI_NUMA depends on HOTPLUG !SOFTWARE_SUSPEND ARCH_ENABLE_MEMORY_HOTPLUG depends on (IA64 || X86 || PPC64 ||

Re: [PATCH] IP_VS should depend on EXPERIMENTAL ?

2007-07-20 Thread Gabriel C
Robert P. J. Day wrote: On Fri, 20 Jul 2007, Gabriel C wrote: Hi, IP_VS has : .. tristate IP virtual server support (EXPERIMENTAL) .. but it does not depend on EXPERIMENTAL. Signed-off-by: Gabriel Craciunescu [EMAIL PROTECTED] --- net/ipv4/ipvs/Kconfig |2 +- 1 files

Re: kobject link failure

2007-07-20 Thread Cornelia Huck
On Fri, 20 Jul 2007 11:32:21 +0200, Cornelia Huck [EMAIL PROTECTED] wrote: Hm, this would be an interface change (the uevent attribute used to exist even for !CONFIG_HOTPLUG, it just triggered nothing). How about moving kobject_actions[] out of the #ifdef (maybe next to kobject_action)?

Re: [PATCH] IP_VS should depend on EXPERIMENTAL ?

2007-07-20 Thread Robert P. J. Day
On Fri, 20 Jul 2007, Gabriel C wrote: Hi, IP_VS has : .. tristate IP virtual server support (EXPERIMENTAL) .. but it does not depend on EXPERIMENTAL. Signed-off-by: Gabriel Craciunescu [EMAIL PROTECTED] --- net/ipv4/ipvs/Kconfig |2 +- 1 files changed, 1 insertions(+), 1

Re: [RFH] Partition table recovery

2007-07-20 Thread Rene Herman
On 07/20/2007 02:22 PM, Al Boldi wrote: Oh, gpart is great, but if we had a backup copy of the partition table on every partition location on disk, then this backup copy could easily be reused to reconstruct the original partition table without further searching. As long as you don't reboot

Re: mm/Kconfig MEMORY_HOTPLUG typo ?

2007-07-20 Thread Adrian Bunk
On Fri, Jul 20, 2007 at 02:23:48PM +0200, Gabriel C wrote: Hi, I'm a bit confused about the following from mm/Kconfig: .. config MEMORY_HOTPLUG bool Allow for memory hot-add depends on SPARSEMEM || X86_64_ACPI_NUMA depends on HOTPLUG !SOFTWARE_SUSPEND

Re: [PATCH] IP_VS should depend on EXPERIMENTAL ?

2007-07-20 Thread Gabriel C
Robert P. J. Day wrote: On Fri, 20 Jul 2007, Gabriel C wrote: Robert P. J. Day wrote: On Fri, 20 Jul 2007, Gabriel C wrote: Hi, IP_VS has : .. tristate IP virtual server support (EXPERIMENTAL) .. but it does not depend on EXPERIMENTAL. Signed-off-by: Gabriel Craciunescu [EMAIL

Re: mm/Kconfig MEMORY_HOTPLUG typo ?

2007-07-20 Thread Paul Mundt
On Fri, Jul 20, 2007 at 02:23:48PM +0200, Gabriel C wrote: I'm a bit confused about the following from mm/Kconfig: .. config MEMORY_HOTPLUG bool Allow for memory hot-add depends on SPARSEMEM || X86_64_ACPI_NUMA depends on HOTPLUG !SOFTWARE_SUSPEND

Re: [PATCH/RFC] msleep() with hrtimers

2007-07-20 Thread Roman Zippel
Hi, On Mon, 16 Jul 2007, Jonathan Corbet wrote: That's a bit my problem - we have to consider other setups as well. Is it worth converting all msleep users behind their back or should we just a provide a separate function for those who care? Any additional overhead is clearly small -

Re: [PATCH for review] [12/48] x86_64: use the global PIT lock

2007-07-20 Thread Dmitry Torokhov
On 7/20/07, Andi Kleen [EMAIL PROTECTED] wrote: +static DEFINE_SPINLOCK(i8253_lock); + static __init int add_pcspkr(void) { struct platform_device *pd; @@ -1501,9 +1503,14 @@ static __init int add_pcspkr(void) if (!pd) return -ENOMEM; +pd-dev.platform_data = i8253_lock; That seems

Re: [PATCH] mm: Fix memory hotplug oops from ZONE_MOVABLE changes.

2007-07-20 Thread Mel Gorman
On (20/07/07 20:42), Paul Mundt didst pronounce: On Fri, Jul 20, 2007 at 12:20:25PM +0100, Mel Gorman wrote: On (20/07/07 15:03), Paul Mundt didst pronounce: zone_movable_pfn is presently marked as __initdata and referenced from adjust_zone_range_for_zone_movable(), which in turn is

Re: mm/Kconfig MEMORY_HOTPLUG typo ?

2007-07-20 Thread Gabriel C
Paul Mundt wrote: On Fri, Jul 20, 2007 at 02:23:48PM +0200, Gabriel C wrote: I'm a bit confused about the following from mm/Kconfig: .. config MEMORY_HOTPLUG bool Allow for memory hot-add depends on SPARSEMEM || X86_64_ACPI_NUMA depends on HOTPLUG

Re: [PATCH] IP_VS should depend on EXPERIMENTAL ?

2007-07-20 Thread Robert P. J. Day
On Fri, 20 Jul 2007, Gabriel C wrote: Robert P. J. Day wrote: this has *nothing* to do with the aforementioned maturity levels. i understand entirely the inconsistency above. what i'm suggesting is that it might very well be more appropriate to *drop the dependency* rather than munge

[PATCH] splice: fix bad unlock_page() in error case

2007-07-20 Thread Jens Axboe
Hi, If add_to_page_cache_lru() fails, the page will not be locked. But splice jumps to an error path that does a page release and unlock, causing a BUG() in unlock_page(). Fix this by adding one more label that just releases the page. This bug was actually triggered on EL5 by gurudas pai [EMAIL

Re: [git patches] two warning fixes

2007-07-20 Thread Tim Tassonis
Linus Torvalds wrote: I think must_check is an abomination. It makes the callee dictate what the caller has to do, but dammit, if the callee really knows its errors are that serious, it should damn well handle them itself. The whole sysfs_create_file() thing is an example of that. If it

ata_piix broken in 2.6.22

2007-07-20 Thread Felipe Contreras
Hi, Since I updated to 2.6.22 everything has been slower and I think this is the reason: ata_piix :00:1f.2: version 2.11 ata_piix :00:1f.2: MAP [ P0 P2 IDE IDE ] ACPI: PCI Interrupt :00:1f.2[B] - GSI 16 (level, low) - IRQ 16 ata_piix :00:1f.2: 0x1F0 IDE port busy ata_piix

Re: ata_piix broken in 2.6.22

2007-07-20 Thread Alan Cox
O ata_piix :00:1f.2: version 2.11 ata_piix :00:1f.2: MAP [ P0 P2 IDE IDE ] ACPI: PCI Interrupt :00:1f.2[B] - GSI 16 (level, low) - IRQ 16 ata_piix :00:1f.2: 0x1F0 IDE port busy ata_piix :00:1f.2: 0x170 IDE port busy ata_piix :00:1f.2: no available legacy port You

sparc64: ERROR: sys_ioctl [arch/sparc64/solaris/solaris.ko] undefined!

2007-07-20 Thread Horst H. von Brand
When building v2.6.22-3478-g275afca on sparc64 (.config attached) I get: MODPOST vmlinux Building modules, stage 2. MODPOST 463 modules ERROR: sys_ioctl [arch/sparc64/solaris/solaris.ko] undefined! # # Automatically generated make config: don't edit # Linux kernel version: 2.6.22 # Thu Jul

Re: drivers/base/core.c broken for non-CONFIG_HOTPLUG

2007-07-20 Thread Kay Sievers
On Fri, 2007-07-20 at 00:59 -0700, Andrew Morton wrote: On Fri, 20 Jul 2007 09:01:06 +0200 Robert Schwebel [EMAIL PROTECTED] wrote: You add and use extern const char *kobject_actions[]; Added it in a .c file, too. Even checkpatch.pl knows that was wrong. The kernel is doing

Re: BUG: unable to handle kernel NULL pointer dereference - nfs v3

2007-07-20 Thread Satyam Sharma
On 7/20/07, David CHANIAL [EMAIL PROTECTED] wrote: Le vendredi 20 juillet 2007 09:13, Satyam Sharma a écrit: David, please try this and let us know if it solves your problems. How to ? Should i have to patch kernel tree myself ? on 2.6.22.1 ? Yes, you can apply the patch Neil just sent to

[PATCH 0/5] ehca: MR large page, small queue and fixes

2007-07-20 Thread Hoang-Nam Nguyen
Here is a patch set against Roland's git, branch for-2.6.23 for ehca. It adds support for MR large page and small queues. In addition of that it also contains various small fixes from previous comments and what we found. They are in details: [1/5] adds support for MR large page [2/5] generates

<    1   2   3   4   5   6   7   8   9   10   >