linux-kernel mailing list

FromSubjectsort iconDate
Adrian Bunk
[2.6 patch] update .gitignore
Some shipped files were wrongly ignored by git. Signed-off-by: Adrian Bunk <bunk@stusta.de> --- .gitignore | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) 45a1318453ecc5fa346d323e8d806a5630a7191c diff --git a/.gitignore b/.gitignore index 27c3e83..80d891b 100644 --- a/.gitignore +++ b/.gitignore @@ -17,15 +17,21 @@ *.lst *.symtypes +# .gitignore files +!.gitignore + # # Top-level generic files # tags TAGS vmlinux* -!vmlinux.lds.S +!vmlinux*.l...
Aug 29, 7:29 pm 2007
Andrew Morton Aug 29, 7:23 pm 2007
Eric Sandeen
4KSTACKS + DEBUG_STACKOVERFLOW harmful
Noticed today that the combination of 4KSTACKS and DEBUG_STACKOVERFLOW config options is a bit deadly. DEBUG_STACKOVERFLOW warns in do_IRQ if we're within THREAD_SIZE/8 of the end of useable stack space, or 512 bytes on a 4k stack. If we are, then it goes down the dump_stack path, which uses most, if not all, of the remaining stack, thereby turning a well-intentioned warning into a full-blown catastrophe. The callchain from the warning looks something like this, with stack usage shown as found...
Aug 29, 6:34 pm 2007
Jesper Juhl
Re: 4KSTACKS + DEBUG_STACKOVERFLOW harmful
A first step could be to allocate those two char arrays with kmalloc() instead of on the stack, but then I guess that dump_stack() gets called from places where we may not really want to be calling kmalloc(). I guess we could allocate the buffers earlier (like at boot time) and store pointers somewhere where dump stack can get to them We could also simply have it warn at a higher limit, like 1024 bytes instead of 512. But I guess then we would get too many false positives and make it less useful. ...
Aug 29, 6:53 pm 2007
Eric Sandeen
Re: 4KSTACKS + DEBUG_STACKOVERFLOW harmful
Yep, I thought about something like that... and I assume you'd need a Yes, but if you happen to warn deeper anyway, just because you got "lucky" with IRQ timing, you'll still explode. Regardless of where the threshold is, there's still a risk of starting the warning deeper than that. Whatever stack the warning takes effectively reduces the useable stack size. -Eric -
Aug 29, 7:01 pm 2007
Kyle Moffett
Re: 4KSTACKS + DEBUG_STACKOVERFLOW harmful
How about turning off preemption and using a per-CPU buffer? Alternatively you could turn off IRQs, poke a per-CPU value to clue in any incoming NMIs, and switch to a separate stack. I suppose if you wanted it to work with all of 16 bytes of stack left on both thread and IRQ stacks, you could have separate per-CPU NMI stacks; the stack-dump would be poking a special per-CPU value and sending ourselves an NMI. There are probably a half dozen other variants on ways to run screaming...
Aug 29, 7:55 pm 2007
Aleksandar Dezelin
Possible kernel lock in semaphore's __down()
Hi! I'm a newbie here on the list and also as a "kernel hacker". There's a I have marked it as rejected as as I can see at the time this function is called, it is guaranteed that ret_from_intr() will not call schedule() on return from an interrupt handler to either kernel space or user space because of the call to macro might_sleep() in semaphore's down(). Am I wrong? Thanks and best regards, Aleksandar Dezelin -
Aug 29, 5:52 pm 2007
Daniel Exner
[PATCH] Override 80-wire cable detection for Toshiba S1800-814
Hi! Please CC me, as I'm currently not subscribed to this list, thx. Attached patch will add above mentioned Laptop Model to whitelist for both pata_ali and alim15x3, as it is correctly detected as 40-wire connected but this cable is short enough to still do transfers higher than UDMA33. Don't know if this is also true for other S1800 Laptops cause I own only one. I hope I did this correctly as this is my first Patch Mail to LKML :) -- Greetings Daniel Exner
Aug 29, 5:41 pm 2007
Alan Cox
Re: [PATCH] Override 80-wire cable detection for Toshiba S18...
On Wed, 29 Aug 2007 23:41:13 +0200 Looks good to me - does need a Signed-off-by: line however -
Aug 29, 5:59 pm 2007
greg
Re: [patch 00/28] 2.6.22-stable review cycle again
Sorry for the delay, I am out of town for a few weeks, and am away from network connectivit at the moment. I'll get this out in a few days when I return to civilization. Thanks, Greg k-h Sent via BlackBerry by AT&T -
Aug 29, 5:33 pm 2007
Hua Zhong
regression of autofs for current git?
Hi, I am wondering if this is a known issue, but I just built the current git and several autofs mounts mysteriously disappeared. Restarting autofs could fix some, but then lose others. 2.6.22 was fine. Is there anything I could check other than bisect? (It may take some time for me to get to it) Thanks for your help. Hua -
Aug 29, 4:58 pm 2007
Adrian Bunk
Re: regression of autofs for current git?
the commit below is the only autofs4 patch that went into the git tree since 2.6.22. cu Adrian commit 1864f7bd58351732593def024e73eca1f75bc352 Author: Ian Kent <raven@themaw.net> Date: Wed Aug 22 14:01:54 2007 -0700 autofs4: deadlock during create Due to inconsistent locking in the VFS between calls to lookup and revalidate deadlock can occur in the automounter. The inconsistency is that the directory inode mutex is held for both lookup and r...
Aug 29, 6:47 pm 2007
Xu Yang
from which address does the kernel load initrd?
does anyone know from which address does the kernel load the initrd? I mean the default value? I want to boot the filesystem using a ramdisk. but the I don't know where to put it in my ram? as I don't have flash , I can only load the ramdisk into the ram. and which boot option should I use? thanks regards, yang -
Aug 29, 4:48 pm 2007
H. Peter Anvin
Re: from which address does the kernel load initrd?
See Documentation/i386/boot.txt -hpa -
Aug 29, 5:05 pm 2007
Matthew Wilcox
[RFC] TASK_KILLED
I've long hated the non-killability of tasks accessing a dead NFS server. Linus had an idea for fixing this way back in 2002: http://www.ussg.iu.edu/hypermail/linux/kernel/0208.0/0167.html which I've prototyped in this patch. Splitting up TASK_* into separate bits is going to need a lot more auditing, I think. It was easier back in 2002, but since then we've added TASK_STOPPED and TASK_TRACED which also need to be gingerly checked for. There's some debug code left in here to discourage Linus ...
Aug 29, 4:40 pm 2007
Rusty Russell
[PATCH] Fix lguest page-pinning logic ("lguest: bad stack pa...
If the stack pointer is 0xc057a000, then the first stack page is at 0xc0579000 (the stack pointer is decremented before use). Not calculating this correctly caused guests with CONFIG_DEBUG_PAGEALLOC=y to be killed with a "bad stack page" message: the initial kernel stack was just proceeding the .smp_locks section which CONFIG_DEBUG_PAGEALLOC marks read-only when freeing. Thanks to Frederik Deweerdt for the bug report! Signed-off-by: Rusty Russell <rusty@rustcorp.com.au> --- drivers/lgue...
Aug 29, 4:35 pm 2007
Shannon Nelson
[PATCH v3 -mm 0/7] I/OAT: Add support for DCA - Direct Cache...
Andrew, Here's rev 3 of the IOAT DCA patches that are currently in -mm. These patches include updates based on feedback on the previous sets, as well as a couple of other fixes we found internally. These were originally posted on 20-Jul-2007 - see http://marc.info/?l=linux-kernel&m=118489237427303&w=2 They apply to 2.6.23-rc4 and are targeted for merge into 2.6.24. The following series implements support for providers and clients of Direct Cache Access (DCA), a method for warming the ca...
Aug 29, 3:01 pm 2007
Shannon Nelson
[PATCH v3 -mm 7/7] I/OAT: Add DCA services
Add code to connect to the DCA driver and provide cpu tags for use by drivers that would like to use Direct Cache Access hints. [Adrian Bunk] Several Kconfig cleanup items [Andrew Morten, Chris Leech] Fix for using cpu_physical_id() even when built for uni-processor Signed-off-by: Shannon Nelson <shannon.nelson@intel.com> Acked-by: David S. Miller <davem@davemloft.net> --- drivers/dca/Kconfig | 6 - drivers/dma/Kconfig | ...
Aug 29, 3:02 pm 2007
Shannon Nelson
[PATCH v3 -mm 6/7] DCA: Add Direct Cache Access driver
Direct Cache Access (DCA) is a method for warming the CPU cache before data is used, with the intent of lessening the impact of cache misses. This patch adds a manager and interface for matching up client requests for DCA services with devices that offer DCA services. In order to use DCA, a module must do bus writes with the appropriate tag bits set to trigger a cache read for a specific CPU. However, different CPUs and chipsets can require different sets of tag bits, and the methods for determin...
Aug 29, 3:01 pm 2007
Shannon Nelson
[PATCH v3 -mm 5/7] I/OAT: Add support for MSI and MSI-X
Add support for MSI and MSI-X interrupt handling, including the ability to choose the desired interrupt method. Signed-off-by: Shannon Nelson <shannon.nelson@intel.com> Acked-by: David S. Miller <davem@davemloft.net> --- drivers/dma/ioat_dma.c | 346 ++++++++++++++++++++++++++++++++------- drivers/dma/ioatdma.h | 12 + drivers/dma/ioatdma_registers.h | 6 + include/linux/bitops.h | 6 + 4 files changed, 304 insertions(+), 66 deletions(-) diff...
Aug 29, 3:01 pm 2007
Shannon Nelson
[PATCH v3 -mm 4/7] I/OAT: Split PCI startup from DMA handlin...
Split the general PCI startup from the DMA handling code in order to prepare for adding support for DCA services and future versions of the ioatdma device. [Rusty Russell] Removal of __unsafe() usage. Signed-off-by: Shannon Nelson <shannon.nelson@intel.com> Acked-by: David S. Miller <davem@davemloft.net> --- drivers/dma/Makefile | 2 drivers/dma/ioat.c | 196 ++++++++++++++++++++++++++++++++++++++++++++++ drivers/dma/ioat_dma.c | 180 ++++++++++--------------...
Aug 29, 3:01 pm 2007
Shannon Nelson
[PATCH v3 -mm 3/7] I/OAT: code cleanup from checkpatch output
Take care of a bunch of little code nits in ioatdma files Signed-off-by: Shannon Nelson <shannon.nelson@intel.com> Acked-by: David S. Miller <davem@davemloft.net> --- drivers/dma/ioat_dma.c | 200 +++++++++++++++++++++++++++--------------------- 1 files changed, 111 insertions(+), 89 deletions(-) diff --git a/drivers/dma/ioat_dma.c b/drivers/dma/ioat_dma.c index fdc8588..2db05f6 100644 --- a/drivers/dma/ioat_dma.c +++ b/drivers/dma/ioat_dma.c @@ -1,10 +1,10 @@ /* - * Copyrig...
Aug 29, 3:01 pm 2007
Shannon Nelson
[PATCH v3 -mm 2/7] I/OAT: Rename the source file
Rename the ioatdma.c file in preparation for splitting into multiple files, which will allow for easier adding new functionality. Signed-off-by: Shannon Nelson <shannon.nelson@intel.com> Acked-by: David S. Miller <davem@davemloft.net> --- drivers/dma/Makefile | 1 drivers/dma/ioat_dma.c | 818 ++++++++++++++++++++++++++++++++++++++++++++++++ drivers/dma/ioatdma.c | 818 ------------------------------------------------ 3 files changed, 819 insertions(+), 818 deletions(-) ...
Aug 29, 3:01 pm 2007
Shannon Nelson
[PATCH v3 -mm 1/7] I/OAT: New device ids
Add device ids for new revs of the Intel I/OAT DMA engine Signed-off-by: Shannon Nelson <shannon.nelson@intel.com> Acked-by: David S. Miller <davem@davemloft.net> --- drivers/dma/ioatdma.c | 5 +++-- include/linux/pci_ids.h | 2 ++ 2 files changed, 5 insertions(+), 2 deletions(-) diff --git a/drivers/dma/ioatdma.c b/drivers/dma/ioatdma.c index 41b18c5..fdc8588 100644 --- a/drivers/dma/ioatdma.c +++ b/drivers/dma/ioatdma.c @@ -506,8 +506,9 @@ static enum dma_status ioat_...
Aug 29, 3:01 pm 2007
Peter Lund
[PATCH] avoid negative (and full-width) shifts in radix-tree...
From: Peter Lund <firefly@vax64.dk> Negative shifts are not allowed in C (the result is undefined). Same thing with full-width shifts. It works on most platforms but not on the VAX with gcc 4.0.1 (it results in an "operand reserved" fault). Applies to Linux 2.6.22. Signed-off-by: Peter Lund <firefly@vax64.dk> --- Take 4 uses BITS_PER_LONG instead of 8 * sizeof(unsigned long) Take 3 checks for shifts >= the width of the left value (after promotion) Take 2 removes index, a var...
Aug 29, 2:12 pm 2007
Arkadiusz Miskiewicz
2.6.22 oops kernel BUG at block/elevator.c:366!
I guess I should sent these here since it looks like not scsi bug anyway. ---------- Forwarded Message ---------- Subject: 2.6.22 oops kernel BUG at block/elevator.c:366! Date: Wednesday 29 of August 2007 From: Arkadiusz Miskiewicz <arekm@maven.pl> To: linux-scsi@vger.kernel.org Hello, I'm trying to get stable kernel for Promise SuperTrak X16350 hardware. So far 2.6.20, 2.6.21 and 2.6.22 oopsed like this (while doing rsync): kernel BUG at block/elevator.c:366! invalid opcode:...
Aug 29, 1:50 pm 2007
Jens Axboe
Re: 2.6.22 oops kernel BUG at block/elevator.c:366!
It's stex, right? It seems to have some issues with multiple completions -- Jens Axboe -
Aug 29, 1:54 pm 2007
Arkadiusz Miskiewicz
Re: 2.6.22 oops kernel BUG at block/elevator.c:366!
Yes, stex. I'm staying with 2.6.19 in that case since it works fine in that version. So scsi bug ... 8-) -- Arkadiusz Miśkiewicz PLD/Linux Team arekm / maven.pl http://ftp.pld-linux.org/ -
Aug 29, 2:04 pm 2007
Jens Axboe
Re: 2.6.22 oops kernel BUG at block/elevator.c:366!
And you based that conclusion on what exactly? -- Jens Axboe -
Aug 29, 2:08 pm 2007
Arkadiusz Miskiewicz
Re: 2.6.22 oops kernel BUG at block/elevator.c:366!
Isn't drivers/scsi/* handled by linux-scsi@? (that's what I mean) -- Arkadiusz Miśkiewicz PLD/Linux Team arekm / maven.pl http://ftp.pld-linux.org/ -
Aug 29, 2:11 pm 2007
Jens Axboe
Re: 2.6.22 oops kernel BUG at block/elevator.c:366!
Yep indeed, I thought you meant that it was a scsi bug (and not an stex one). You could try and copy the 2.6.19 stex driver into 2.6.20 and see if that works, though. -- Jens Axboe -
Aug 29, 2:16 pm 2007
Robert P. J. Day
[PATCH] Documentation: Remove remaining useless reference t...
"Similar functionality was turned on by acpi_fake_ecdt=1 command line before. Now it is on all the time." Signed-off-by: Robert P. J. Day <rpjday@mindspring.com> --- diff --git a/Documentation/kernel-parameters.txt b/Documentation/kernel-parameters.txt index b41cde3..4395ee8 100644 --- a/Documentation/kernel-parameters.txt +++ b/Documentation/kernel-parameters.txt @@ -218,9 +218,6 @@ and is between 256 and 4096 characters. It is defined in the file Warning: Many of these options c...
Aug 29, 1:11 pm 2007
René Rebe
[PATCH] applesmc for Mac Pro 2 x Quad-Core
Hi all, at least the 2x Quad-Core Apple Mac Pro appears to have some over-heat protection which suddenly powers off the whole box under load. This adds support for the fans and temerature sensors in the Mac Pro - later some "windwarm" a-like code should probably monitor the values. For now manually tweaking the fans prevents the sudden shutdown for me. cd /sys/devices/platform/applesmc.768 for x in fan{1,2,3,4}; do echo 1 > ${x}_manual echo 1285 > ${x}_output done Two sensors are 0,...
Aug 29, 1:06 pm 2007
Bret Towe
linux-2.6.23-rc4 ppc build failure
while trying to build a fresh kernel for my mini after upgrading from gutsy (and forgetting to save my .config) I hit the below build error 2.6.23-rc3 I did work under feisty but that is with a different .config so not sure if that makes any difference or not I've not bisected cause it takes so long on this computer... attached is the config I'm working off now arch/powerpc/platforms/built-in.o: In function `pmac_probe': setup.c:(.init.text+0xbba): undefined reference to `pmac_ide_get_base' setup....
Aug 29, 12:41 pm 2007
Felipe Balbi Aug 29, 1:00 pm 2007
Bret Towe
Re: linux-2.6.23-rc4 ppc build failure
yes I know the one thats attached is based off that -
Aug 29, 3:32 pm 2007
John Sigler
hda: set_drive_speed_status: status=0x51 { DriveReady SeekCo...
Hello, When my system boots, I get several set_drive_speed_status errors. (Please see attached dmesg output.) Can someone explain what they mean? How do I get rid of them? Is there something I need to set in the config? or something I should not have set? Bonus question: is there some way to turn on DMA for hda? Uniform Multi-Platform E-IDE driver Revision: 7.00alpha2 ide: Assuming 33MHz system bus speed for PIO modes; override with idebus=xx VP_IDE: IDE controller at PCI slot 0000:00:07...
Aug 29, 12:29 pm 2007
Alan Cox
Re: hda: set_drive_speed_status: status=0x51 { DriveReady Se...
Can't even do double word I/O The messages with old IDE should be harmless and the current libata IDE should drive it politely (I debugged a problem the same hardware showed up for someone else). Basically your dinosaur is working correctly. Alan -
Aug 29, 12:46 pm 2007
Satapathy, Soumendu ...
User Space Cache Management By Kernel
Hi, http://ucmk.sourceforge.net/ucmk-project.pdf We are working on Andi Kleen's suggestions. We have started this project. The link is given above. As of now we have suggested and elaborated three implementations. regards Soumendu Sekhar S -
Aug 29, 12:18 pm 2007
Joachim Fenkes
[PATCH 2.6.23] ibmebus: Prevent bus_id collisions
Previously, ibmebus derived a device's bus_id from its location code. The location code is not guaranteed to be unique, so we might get bus_id collisions if two devices share the same location code. The OFDT full_name, however, is unique, so we use that instead. Signed-off-by: Joachim Fenkes <fenkes@de.ibm.com> --- The patch has been tested and works fine. If you think it's too much change for 2.6.23-rc5, please schedule for 2.6.24 instead. arch/powerpc/kernel/ibmebus.c | 30 +++++++++...
Aug 29, 12:15 pm 2007
jschopp
Re: [PATCH 2.6.23] ibmebus: Prevent bus_id collisions
What happens when the full name is > 31 characters? It looks to me that it will be truncated, which takes away the uniqueness guarantee. There must be an individual property that is guaranteed to be unique and less than 32 characters. How about "ibm,my-drc-index"? That looks like a good candidate. -
Aug 29, 2:33 pm 2007
Nathan Lynch
Re: [PATCH 2.6.23] ibmebus: Prevent bus_id collisions
Hi- This is a userspace-visible change, but I guess it's unavoidable. Will anything break? Also, I dislike this approach of duplicating the firmware device tree path in sysfs. Are GX/ibmebus devices guaranteed to be children of the same node in the OF device tree? If so, their unit addresses will be unique, and therefore suitable values for bus_id. I believe this is what the powerpc vio bus code does. -
Aug 29, 2:12 pm 2007
Chuck Ebbert
x86_64 vdso patch is broken somehow?
Commit: 2aae950b21e4bc789d1fc6668faf67e8748300b7 With new vdso gettimeofday support in glibc: [https://bugzilla.redhat.com/show_bug.cgi?id=262481] After 5 minutes of uptime, the system clock goes screwy. When running a simple 'while /bin/true ; date ; uptime ; sleep 2 ; done' loop: Wed Aug 29 01:01:14 EDT 2007 01:01:14 up 4 min, 4 users, load average: 0.13, 0.40, 0.21 Wed Aug 29 01:01:16 EDT 2007 01:01:16 up 4 min, 4 users, load average: 0.13, 0.40, 0.21 Wed Aug 29 02:09:3...
Aug 29, 12:02 pm 2007
Peter Lund
[PATCH] avoid negative (and full-width) shifts in radix-tree...
From: Peter Lund <firefly@vax64.dk> Negative shifts are not allowed in C (the result is undefined). Same thing with full-width shifts. It works on most platforms but not on the VAX with gcc 4.0.1 (it results in an "operand reserved" fault). Applies to Linux 2.6.22. Signed-off-by: Peter Lund <firefly@vax64.dk> --- Shifting by more than the width of the value on the left is also not allowed. I think the extra '>> 1' tacked on at the end in the original code was an attempt t...
Aug 29, 11:44 am 2007
Christoph Lameter
Re: [PATCH] avoid negative (and full-width) shifts in radix-...
8* sizeof(unsigned long) is the constant BITS_PER_LONG. -
Aug 29, 1:49 pm 2007
Thomas Richter
[PATCH] snd_hda_intel for F/S T4210
Hi folks, the patch below, to be applied to sound/pci/hda/patch_sigmatel.c fixes the audio output on the Fujiutsu/Siemens lifebook T4210 (and probably on others). It is suitable for the kernel 2.6.23-rc4 (and probably others). Without the patch, audio fails and the hda driver fails to load with No available DAC for pin 0x0 However, the indicated pin has no connections in first place and thus should be ignored. With the patch applied audio output works fine. Here's the patch: /* snip */ ...
Aug 29, 11:34 am 2007
Michal Piotrowski
Re: [2/2] 2.6.23-rc3: known regressions with patches
Hi all, Here is a list of some known regressions in 2.6.23-rc4 with patches available. Feel free to add new regressions/remove fixed etc. http://kernelnewbies.org/known_regressions List of Aces Name Regressions fixed since 21-Jun-2007 Adrian Bunk 9 Andi Kleen 5 Linus Torvalds 5 Andrew Morton 4 Hugh Dickins 4 Al Viro ...
Aug 29, 11:28 am 2007
Michal Piotrowski
[1/2] 2.6.23-rc3: known regressions with patches
Hi all, Here is a list of some known regressions in 2.6.23-rc4 with patches available. Feel free to add new regressions/remove fixed etc. http://kernelnewbies.org/known_regressions List of Aces Name Regressions fixed since 21-Jun-2007 Adrian Bunk 9 Andi Kleen 5 Linus Torvalds 5 Andrew Morton 4 Hugh Dickins 4 Al Viro ...
Aug 29, 11:28 am 2007
Bjorn Helgaas
Re: [1/2] 2.6.23-rc3: known regressions with patches: 8250 c...
The following patch fixes this regression (confirmed by Andrey). Please queue it for 2.6.23. I'll come back later for another try at sorting this all out. PNP: remove SMCf010 quirk If the quirk enables the SIR part of the SMCf010 device, the 8250 driver may claim it as a legacy ttyS device, which makes the legacy probe in the smsc-ircc2 driver fail. Signed-off-by: Bjorn Helgaas <bjorn.helgaas@hp.com> Index: w/drivers/pnp/quirks.c ==================================================...
Aug 29, 12:35 pm 2007
Michal Piotrowski
Re: [4/4] 2.6.23-rc4: known regressions
Hi all, Here is a list of some known regressions in 2.6.23-rc4. Feel free to add new regressions/remove fixed etc. http://kernelnewbies.org/known_regressions List of Aces Name Regressions fixed since 21-Jun-2007 Adrian Bunk 9 Andi Kleen 5 Linus Torvalds 5 Andrew Morton 4 Hugh Dickins 4 Al Viro 3 Alan Stern ...
Aug 29, 11:27 am 2007
previous daytodaynext day
August 28, 2007August 29, 2007August 30, 2007