linux-kernel mailing list

FromSubjectsort iconDate
Richard Henderson
[alpha] support new syscalls
Some of the new syscalls require supporting TIF_RESTORE_SIGMASK. r~ diff -ruNp /home/rth/work/linux/linux-2.6.22-rc2/arch/alpha/kernel/entry.S linux-2.6.22-rc2/arch/alpha/kernel/entry.S --- /home/rth/work/linux/linux-2.6.22-rc2/arch/alpha/kernel/entry.S 2007-04-25 20:08:32.000000000 -0700 +++ linux-2.6.22-rc2/arch/alpha/kernel/entry.S 2007-05-25 17:41:50.000000000 -0700 @@ -391,11 +391,10 @@ $work_resched: bne $2, $work_resched $work_notifysig: - mov $sp, $17 + mov $sp, $16 br $1, ...
May 29, 7:03 pm 2007
Richard Henderson
[alpha] cleanup in bitops.h
Remove 2 functions private to the alpha implemetation, in favor of similar functions in <linux/log2.h>. Provide a more efficient version of the fls64 function for pre-ev67 alphas. r~ diff -ruNp /home/rth/work/linux/linux-2.6.22-rc2/arch/alpha/kernel/pci_iommu.c linux-2.6.22-rc2/arch/alpha/kernel/pci_iommu.c --- /home/rth/work/linux/linux-2.6.22-rc2/arch/alpha/kernel/pci_iommu.c 2007-04-25 20:08:32.000000000 -0700 +++ linux-2.6.22-rc2/arch/alpha/kernel/pci_iommu.c 2007-05-25 15:42:3...
May 29, 7:01 pm 2007
Roland Dreier
[GIT PULL] please pull infiniband.git
Linus, please pull from master.kernel.org:/pub/scm/linux/kernel/git/roland/infiniband.git for-linus This tree is also available from kernel.org mirrors at: git://git.kernel.org/pub/scm/linux/kernel/git/roland/infiniband.git for-linus This will get a few more nicely balanced ("55 insertions(+), 55 deletions(-)") 2.6.22-rc3 fixes, mostly for IPoIB connected mode: Michael S. Tsirkin (2): IB/mthca: Fix handling of send CQE with error for QPs connected to SRQ IPoIB/cm: Fix p...
May 29, 7:20 pm 2007
Justin Piszcz
Kernel 2.6.21.3 does not work with 8GB of RAM on Intel 965WH...
Short Description of Problem: Linux 2.6.21.3 does not run properly with 8GB of ram on the Intel 965WH motherboard. Long Description of Problem: When I use 8GB of memory on my x86_64 system, CPU-bound processes are VERY slow, up to 36x slower than usual. My temporary fix is force Linux to only use 4GB of memory, I am currently using mem=4096M. I ran memtest86 and the memory is fine, not a single error. I tried the following to mem= 1024, 2048 4096 and blank "" to let the kernel use all 8GB of m...
May 29, 7:07 pm 2007
Karsten Keil
[PATCH] Fix broken CLIR in isdn driver
I noticed that CLIR (aka "hide your calling number") in isdn_tty is broken: The at-command parser filters out the required "R" (e.g. ATDR089123456) It's been broken for a *very* long time. Signed-off-by: Karsten Keil <kkeil@suse.de> Signed-off-by: Matthias Goebl <matthias.goebl@goebl.net> --- drivers/isdn/i4l/isdn_tty.c | 3 ++- 1 files changed, 2 insertions(+), 1 deletions(-) diff --git a/drivers/isdn/i4l/isdn_tty.c b/drivers/isdn/i4l/isdn_tty.c index ea5f30d..4e5f87c 100644 -...
May 29, 6:56 pm 2007
David Miller
Re: [BUG] Something goes wrong with timer statistics.
From: "Michal Piotrowski" <michal.k.k.piotrowski@gmail.com> Of course, I worked with Thomas on the fix :-) -
May 29, 6:44 pm 2007
Ian Kumlien
Re: [BUG] Something goes wrong with timer statistics.
I dunno if this applies to me, i run a 32 bit userspace... -- Ian Kumlien <pomac () vapor ! com> -- http://pomac.netswarm.net -
May 29, 6:51 pm 2007
David Miller
Re: [BUG] Something goes wrong with timer statistics.
From: Ian Kumlien <iank@bredband.net> That patch fixes a problem on 64-bit kernels, regardless of userspace, when NOHZ is enabled. -
May 29, 7:03 pm 2007
Thomas Gleixner
Re: [BUG] Something goes wrong with timer statistics.
This was reported before. It's incredibly hard to reproduce. I might be wrong, but it's a newer core duo thingy. tglx -
May 29, 6:38 pm 2007
Ian Kumlien
Re: [BUG] Something goes wrong with timer statistics.
Seems like it, i haven't actually TRIED to crash yet... But i can try if i don't have to crash in the future =) (The machine is just a motherboard lying on the floor with some disks attached, so i have to bring out my pocket knife and short circuit the -- Ian Kumlien <pomac () vapor ! com> -- http://pomac.netswarm.net -
May 29, 6:50 pm 2007
Ian Kumlien
Re: [BUG] Something goes wrong with timer statistics.
If you still think i should try that, i will, this box is not in production yet for a while so... =) I switched to using 64 bit hpet after the last crash, will this -- Ian Kumlien <pomac () vapor ! com> -- http://pomac.netswarm.net -
May 29, 6:35 pm 2007
Arkadiusz Mehlich
pata_amd
Hi, Recently i switched from old ide interface to new libata (pata) interface. With old drivers all's be ok. When i switch to new driver (pata_amd on MCP55) my burning software (k3b) totaly hangs system when i have DVD-R, DVD+R in my drive ... with CD-R, CD-ROM, DVD-ROM work fine. System hungs on 'detecting media' stage. There is workaround or patch to fix this problem ? Is not k3b problem ! Thanks for reply. -
May 29, 6:33 pm 2007
Jeff Garzik
[git patches] libata fix
Please pull from 'upstream-linus' branch of master.kernel.org:/pub/scm/linux/kernel/git/jgarzik/libata-dev.git upstream-linus to receive the following updates: drivers/ata/libata-core.c | 1 + 1 files changed, 1 insertions(+), 0 deletions(-) Jeff Garzik (1): [libata] Add drive to NCQ blacklist diff --git a/drivers/ata/libata-core.c b/drivers/ata/libata-core.c index 3ca9c61..af62514 100644 --- a/drivers/ata/libata-core.c +++ b/drivers/ata/libata-core.c @@ -3783,6 +3783,7 @@ sta...
May 29, 6:06 pm 2007
Zach Brown
Syslets, Threadlets, generic AIO support, v6
I'm pleased to announce the availability of version 6 of the syslet subsystem. Ingo and I agreed that I'll handle syslet releases while he's busy with CFS. I copied the cc: list from Ingo's v5 announcement. If you'd like to be dropped (or added), please let me know. The v6 patch series against 2.6.21 can be downloaded from: http://oss.oracle.com/~zab/syslets/v6/ Example applications and previous syslet releases can be found at: http://people.redhat.com/~mingo/syslet-patches/ The sys...
May 29, 5:27 pm 2007
Jeff Garzik
Re: Syslets, Threadlets, generic AIO support, v6
You should pick up the kevent work :) Having async request and response rings would be quite useful, and most closely match what is going on under the hood in the kernel and hardware. Jeff -
May 29, 6:16 pm 2007
Zach Brown
Re: Syslets, Threadlets, generic AIO support, v6
> You should pick up the kevent work :) Yeah, but I have lots of competing thoughts about this. For the time being I'm focusing on simplifying the mechanisms that support the sys_io_*() interface so I never ever have to debug fs/aio.c (also known as chewing glass to those of us with the scars) again. That said, I'll gladly work closely with developers who are seriously considering putting some next gen interface to the test. That todo item about producing documentation and distro kernels ...
May 29, 7:09 pm 2007
Ulrich Drepper
Re: Syslets, Threadlets, generic AIO support, v6
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Get DaveJ to pick up the code for Fedora kernels and I'll get to it. - -- ➧ Ulrich Drepper ➧ Red Hat, Inc. ➧ 444 Castro St ➧ Mountain View, CA ❖ -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.7 (GNU/Linux) Comment: Using GnuPG with Fedora - http://enigmail.mozdev.org iD8DBQFGXLUk2ijCOnn/RHQRAjL0AJ0UQzNnMn8xpj7ga0OeEWUhnkhZfgCfTH+j iQ52SLZgWwp4wmAGCy/eLZs= =hpyn -----END PGP SIGNATURE----- -
May 29, 7:20 pm 2007
Linus Torvalds
Re: Syslets, Threadlets, generic AIO support, v6
.. so don't keep us in suspense. Do you have any numbers for anything (like Oracle, to pick a random thing out of thin air ;) that might actually indicate whether this actually works or not? Or is it just so experimental that no real program that uses aio can actually work yet? Linus -
May 29, 5:49 pm 2007
Zach Brown
Re: Syslets, Threadlets, generic AIO support, v6
I haven't gotten to running Oracle's database against it. It is going to be Very Cranky if O_DIRECT writes aren't concurrent, and that's going to take a bit of work in fs/direct-io.c. I've done initial micro-benchmarking runs for basic sanity testing with fio. They haven't wildly regressed, that's about as much as can be said with confidence so far :). Take a streaming O_DIRECT read. 1meg requests, 64 in flight. str: (g=0): rw=read, bs=1M-1M/1M-1M, ioengine=libaio, iodepth=64 mainline: ...
May 29, 6:49 pm 2007
Ian Kumlien
[BUG] Something goes wrong with timer statistics.
Hi, As the daystar sets, i try to play some with my new would be firewall/server, but since this will be running for quite some time i have been experimenting with powertop to find out what i can do to limit it's power usage. But, if i run powertop for too long or a few times to many... this happens: http://pomac.netswarm.net/pics/kernel_panic.jpg If i don't run powertop, it is rock solid... Compiling for hours, running memtest for hours etc etc... -- Ian Kumlien <pomac () vapor ! c...
May 29, 5:38 pm 2007
David Miller
Re: [BUG] Something goes wrong with timer statistics.
From: Ian Kumlien <iank@bredband.net> I see this same exact problem on sparc64. -
May 29, 6:37 pm 2007
Thomas Gleixner May 29, 6:42 pm 2007
David Miller
Re: [BUG] Something goes wrong with timer statistics.
From: Thomas Gleixner <tglx@linutronix.de> I think so, I'll try to find time to tinker with it a bit more. -
May 29, 6:44 pm 2007
Thomas Gleixner
Re: [BUG] Something goes wrong with timer statistics.
It seems to be a subtle bug in the timer stats code, but I did not spot it. tglx -
May 29, 6:53 pm 2007
Kyle McMartin
reduce-size-of-task_struct-on-64-bit-machines.patch removed ...
So. I realize I don't have much right to cry over spilled milk here, seeing as this has been floating around for, what, four months now? But seriously, if people are going to fuck around with extremely core pieces of generic code, could they please check all the users[1]? Other 64-bit arch maintainers should check that they're using a 32-bit load/store on these fields in their assembly now (we were using a #define to do word on 32bit and doubleword on 64bit, which broke, badly, when these ch...
May 29, 5:55 pm 2007
Anderson Briglia
[PATCH] Trivial fixes on comments related old shrink_list re...
Hi all, This is just a trivial patch to fix the shrink_list name on some files under mm/ directory. Signed-off-by: Anderson Briglia <anderson.briglia@indt.org.br> --- Index: linux-linus-2.6.git/mm/swap_state.c =================================================================== --- linux-linus-2.6.git.orig/mm/swap_state.c 2007-05-29 17:12:56.000000000 -0400 +++ linux-linus-2.6.git/mm/swap_state.c 2007-05-29 17:13:59.000000000 -0400 @@ -21,7 +21,7 @@ /* * swapper_space is a fiction, ...
May 29, 5:35 pm 2007
Jeremie Le Hen
Puzzling lag in some syscalls
Hi, Please Cc: me when replying, since I'm not subscribed. I dare to ask this here because I have a problem that seems to be either kernel or hardware related. Unfortunately I can't see any error message to direct me for further investigation. I'm using 2.6.18-4-686 (Debian's kernel), but I've tried with 2.6.16.49 and 2.6.20.7 without success. The problem is a big lag (more that 10 or 20 seconds) for some system calls, for numerous unrelated applications (top, vim, apt-cache). What is ev...
May 29, 5:29 pm 2007
Jan Kratochvil
[PATCH] Support for controlling leds on xbox 360 pad.
Hello, this patch is against current input tree. Xbox360 pad has four leds, which forms a circle. Unfortunately the leds itself are not independent, and we can't control them directle, but rather through sending commands which have predefined meaning (like turn first on, others off) This patch allows us to send these commands via leds subsystem. Commands itself are described here: http://www.free60.org/wiki/Gamepad. Led subsystem allows us to set brightness, but there is nothing like brightn...
May 29, 5:11 pm 2007
Jan Kratochvil
Re: [PATCH] Support for controlling leds on xbox 360 pad.
Hello, I have question, probably for Richard. Why is /sys/class/leds/whatsoever/brightness mode set to 0644? Is it really necessary? I feel like I'll be happy to allow anybody to change the state of this led. (Ok I have the impression that the led subsystem doesn't actually count with possibility to have more then one device of one type, right? In my case there can by lots of pads, so I made it on my own, using counter. Is it ok? Thanks Jan Kratochvil -
May 29, 5:29 pm 2007
Richard Purdie
Re: [PATCH] Support for controlling leds on xbox 360 pad.
Permissions management of the LEDs is outside the scope of kernel. If you need users to have access to them, change the permissions in It leaves it up to the driver concerned. In your case it makes sense so counting is fine. Don't put the colon in though, just have it as xpad0 etc. as the name. Anything after the first colon is defined as an optional colour (see Documentation/leds-class.txt). Richard -
May 29, 5:41 pm 2007
Dan Aloni
Dealing with flaky USB storage devices and rootfs
Hello, We have a system where the rootfs is a partition on a USB device, and I've noticed upon a few rare cases where the USB controller loses the connection to the USB device after some uptime (days, weeks...), and the USB device reappears a very short time later. It doesn't really matter why, I guess that USB controllers and storage devices aren't always of the best quality - let's assume that. The issue is that Linux currently makes it problematic to recover the rootfs for several reasons. ...
May 29, 4:59 pm 2007
Alan Stern
Re: [linux-usb-devel] Dealing with flaky USB storage devices...
That failure mode is pretty uncommon. More often what happens is the connection remains intact but communication/protocol/firmware/??? errors cause the device to stop working. It never disappears but it The difficulty here is that this "error" is indistinguishable from normal activity -- someone simply unplugs the device and then later on another connection is made. It might be the same device as before or it might be a different one. In other words, it isn't really an error. Interest...
May 29, 5:50 pm 2007
Alan Stern
Sending signals to a kernel thread, broken in 2.6.22
The g_file_storage driver uses a kernel thread and communicates with that thread in part by means of signals. It also relies on the thread receiving signals from userspace as an indication that the thread should terminate. This was all working in 2.6.21, but as of 2.6.22-rc3 the signal delivery mechanism (entirely within the kernel!) is no longer functional. What's the story? Do I need to do something new and different to get signals working again? Should I avoid using signals entirely? ...
May 29, 4:55 pm 2007
Andy Whitcroft
[PATCH] add a trivial patch style checker v2
We are seeing increasing levels of minor patch style violations in submissions to the mailing lists as well as making it into the tree. These detract from the quality of the submission and cause unnessary work for reviewers. As a first step package up the current state of the patch style checker and include it in the kernel tree. Add instructions suggesting running it on submissions. This adds version v0.01 of the checkpatch.pl script. Signed-off-by: Andy Whitcroft <apw@shadowen.org> ...
May 29, 5:07 pm 2007
Joel Schopp
Re: [PATCH] add a trivial patch style checker v2
Signed-off-by: Joel Schopp <jschopp@austin.ibm.com> -
May 29, 6:42 pm 2007
Jeremy Fitzhardinge
[PATCH] xen_start_kernel is __init, so startup_xen should be...
This needs an update to modpost to prevent warning about the reference from .note* to the .init.text section. Signed-off-by: Jeremy Fitzhardinge <jeremy@xensource.com> Cc: "Eric W. Biederman" <ebiederm@xmission.com> Cc: Sam Ravnborg <sam@ravnborg.org> --- arch/i386/xen/xen-head.S | 2 ++ 1 file changed, 2 insertions(+) =================================================================== --- a/arch/i386/xen/xen-head.S +++ b/arch/i386/xen/xen-head.S @@ -7,11 +7,13 @@ #...
May 29, 4:34 pm 2007
Jeremy Fitzhardinge
[PATCH] Tell modpost that any reference from .note* is OK
.note* sections are ELF notes, which are typically used by external tools to examine the kernel image. Since this is removed from any runtime consideration, it's OK to reference any section from a .note* section. As a side-effect, this changes secref_whitelist to accept a NULL "atsym" pointer, allowing it to be called when "before" is NULL. This is needed for .note sections since they don't necessarily have any symbols, and it also allows the .got2 check to to be folded into the normal whitelist...
May 29, 4:33 pm 2007
Sam Ravnborg
Re: [PATCH] Tell modpost that any reference from .note* is OK
I did it a bit different. Adding .note to init_section_ref_ok + exit_section_ref_ok is much simpler. Next patch will move .got2 there too. Sam diff --git a/scripts/mod/modpost.c b/scripts/mod/modpost.c index 662deba..b824198 100644 --- a/scripts/mod/modpost.c +++ b/scripts/mod/modpost.c @@ -1139,6 +1139,7 @@ static int init_section_ref_ok(const char *name) ".debug", ".parainstructions", ".rodata", + ".note", /* ignore ELF notes - may contain anything */ NULL }; /* par...
May 29, 5:07 pm 2007
Jeremy Fitzhardinge May 29, 5:13 pm 2007
Jeremy Fitzhardinge
The .paravirtprobe section is obsolete, so modpost doesn't n...
The .paravirtprobe section is obsolete, so modpost doesn't need to handle it. Signed-off-by: Jeremy Fitzhardinge <jeremy@xensource.com> Cc: Rusty Russell <rusty@rustcorp.com.au> Cc: Sam Ravnborg <sam@ravnborg.org> --- scripts/mod/modpost.c | 11 ----------- 1 file changed, 11 deletions(-) =================================================================== --- a/scripts/mod/modpost.c +++ b/scripts/mod/modpost.c @@ -634,12 +634,6 @@ static int strrcmp(const char *s, const ...
May 29, 4:33 pm 2007
Sam Ravnborg May 29, 5:00 pm 2007
James Morris
[PATCH][RFC] security: revalidate rw permissions for sys_spl...
Revalidate read/write permissions for splice(2) and vmslice(2), in case security policy has changed since the files were opened. Signed-off-by: James Morris <jmorris@namei.org> Acked-by: Stephen Smalley <sds@tycho.nsa.gov> --- Please review. Note that this brings the splice code into line with other mechanisms for reading and writing files, where an LSM check is made on open, then revalidated on read or write as a form of partial revocation. fs/splice.c | 14 +++++++++++++...
May 29, 4:22 pm 2007
David Baron
Re: [LAU] 2.6.21-rt7 Oopses, More
Could you please a) add a Re: to the subject before answering yourself, so this gets a thread, instead of single mails. and b) maybe CC linux-kernel@vger.kernel.org as I do not think Ingo Molnar is subscribed to this list here, but it would be good if he also gets your reports in order to fix it. Thanks. -
May 29, 3:58 pm 2007
Antonino Ingargiola
Re: [ck] 2.6.22-rc3-ck1
Hi, With this patch there is a stunning difference with the no swap prefetch case on my system. With previous SP the difference was around 2 seconds, now is more than 7 seconds. Swap Prefetch OFF # ./sp_tester Ram 776388000 Swap 514040000 Total ram to be malloced: 1033408000 bytes Starting first malloc of 516704000 bytes Starting 1st read of first malloc Touching this much ram takes 1642 milliseconds Starting second malloc of 516704000 bytes Completed second malloc and free Sleeping for...
May 29, 3:53 pm 2007
Antonino Ingargiola
Re: [ck] 2.6.22-rc3-ck1
2007/5/29, Antonino Ingargiola <tritemio@gmail.com>: The second case is clearly with swap prefetch *ON*, sorry. ~ Antonio -
May 29, 3:59 pm 2007
Haavard Skinnemoen
[PATCH] Samsung LTV350QV LCD driver
This patch adds support for powering on and off the Samsung LTV350QV LCD panel via SPI. The driver responds to framebuffer power management, it powers off the panel on reboot/halt/poweroff, and it can also be controlled through sysfs. The panel is powered up when the module is loaded and off when the module is unloaded. Signed-off-by: Haavard Skinnemoen <hskinnemoen@atmel.com> --- This driver is necessary to see any output from the newly merged atmel_lcdfb driver on ATSTK1000 boards. Therefo...
May 29, 3:52 pm 2007
Richard Purdie
Re: [PATCH] Samsung LTV350QV LCD driver
The LCD class device bits look fine to me. The only change I'd request is not to change the order of things in drivers/video/backlight/Kconfig. If you do want to reword one of those entries (which is what I think you wanted to do), send it as a separate patch please. David, any objections to the SPI bits? Richard -
May 29, 5:01 pm 2007
David Brownell
Re: [PATCH] Samsung LTV350QV LCD driver
One significant issue was screwed up sequencing causing tools like 'xconfig' to display things wrong. Appended They seemed fine to me, other than the write_reg() macro having an embedded 'goto' ... explicitly against the Documentation/CodingStyle guidelines. ("Chapter 12", point 1 = "macros that affect code flow".) I like seeing more of the SPI drivers go upstream. ;) ====== CUT HERE Switch the order of LCD_CLASS_DEVICE and BACKLIGHT_CLASS_DEVICE, so that it's possible to insert LCD ...
May 29, 5:38 pm 2007
Richard Purdie
Re: [PATCH] Samsung LTV350QV LCD driver
Put it like that, applied, thanks. :) Yes, even if it will make the code more ugly in a way, I think it needs ;) Cheers, Richard -
May 29, 6:19 pm 2007
Rob Landley
[patch] tweak make htmldocs (nochunks and better index).
Signed-off-by: Rob Landley <rob@landley.net> A) The "xmtml-nochunks" version of "make htmldocs" is easier to print. B) Update the generated index.html to use the html <title> as a description for each file it links to. -- --- git/Documentation/DocBook/Makefile 2007-05-23 16:36:56.000000000 -0400 +++ work/Documentation/DocBook/Makefile 2007-05-26 23:11:36.000000000 -0400 @@ -141,9 +141,12 @@ cat $(HTML) >> $(main_idx) quiet_cmd_db2html = HTML $@ - cmd_d...
May 29, 3:28 pm 2007
previous daytodaynext day
May 28, 2007May 29, 2007May 30, 2007