linux-kernel mailing list

FromSubjectsort iconDate
Dave Airlie
drm + 4GB RAM + swiotlb = drm craps out
Okay I've got a bug reported before and now again about > 4GB + radeon blows up the DRM... on Intel hw... What the drm currently does for the PCI GART table is it allocates a chunk of memory (8MB) with vmalloc_32(), then when it decides to use it it goes through every page of it calls pci_map_single() (with PCI_DMA_TODEVICE, which is probably wrong...) with every page from the vmalloc mapping and puts the bus addresses of the pages into the PCI GART table on the GPU. So when swiotlb happens, ...
Apr 1, 7:44 pm 2007
Stephen Evanchik
AHCI exception, ext3 journal aborted on a VIA K8M890 / VT8251
Hi everyone, I have had a lot trouble with my AHCI controller from kernel version 2.6.19-rc1 to 2.6.21-rc5. The device is detected but the disks never spinup and thus the rootfs is never found. I finally was able to get Fedora's 2.6.20 and my 2.6.21-rc5 to boot with pci=nomsi but I have been getting ext3 errors because the SATA controller seems to die. It has happened 3 times today and has never happened with my previous 2.6.18 kernel. The last time it happened I was rsync'ing about 3GB of files...
Apr 1, 6:39 pm 2007
Jeremy Fitzhardinge
[PATCH] clean up tsc-based sched_clock
Three cleanups there: - change "instable" -> "unstable" - it's better to use get_cpu_var for getting this cpu's variables - change cycles_2_ns to do the full computation rather than just the tsc->ns scaling. It's a simpler interface, and it makes the function more generally useful. Signed-off-by: Jeremy Fitzhardinge <jeremy@xensource.com> --- arch/i386/kernel/sched-clock.c | 35 +++++++++++++++++++++-------------- 1 file changed, 21 insertions(+), 14 deletions(-) ===...
Apr 1, 5:41 pm 2007
Andi Kleen Apr 1, 6:01 pm 2007
Robert Hancock
Re: Fwd: kswapd issues + kernel 2.4.21-32.0.1.ELsmp
Looks like an old RHEL3 kernel - first off try the latest updated kernel which is 2.4.21-47.0.1.EL. -- Robert Hancock Saskatoon, SK, Canada To email, remove "nospam" from hancockr@nospamshaw.ca Home Page: http://www.roberthancock.com/ -
Apr 1, 4:27 pm 2007
Prakash Punnoor
Re: [ck] [PATCH] sched: staircase deadline misc fixes
As I said, I tried 0.37. Didn't it have the fix inside? Actually I am=20 reluctant to go back to (r)sdl, as it didn't show improvements for me, yet. =2D-=20 (=C2=B0=3D =3D=C2=B0) //\ Prakash Punnoor /\\ V_/ \_V
Apr 1, 4:03 pm 2007
Steve French (smfltc)
RE: cifs causes BUG: soft lockup detected on CPU
"Valentin Zaharov" wrote on 04/01/2007 03:02:07 AM: > Hi again, > > After applying changes manually to 2.6.20.4 according to the link that > Steven sent I still get those errors (attached below) but no crash so > far. > I am wondering if its ok or having errors still will cause freezes. It is ok and I see no indication of lookup. You have two errors logged: a) a missing entry in the kernel translation table for your default codepage to UCS-16 (Unicode). "char2uni retur...
Apr 1, 3:38 pm 2007
Gerhard Kurz
Fwd: Re: WCHAN wrong for i386-kernel
------- Forwarded message ------- From: "Ingo Molnar" <mingo@elte.hu> To: "Gerhard Kurz" <gerhard.kurz@gmx.at> Cc: Subject: Re: WCHAN wrong for i386-kernel Date: Sun, 01 Apr 2007 20:30:49 +0200 ah, indeed - nice find! could you please report this to lkml too? It should be fixed, and by sending it to lkml we make it sure that someone picks it up eventually, if i dont get around fixing it in time. Ingo -
Apr 1, 3:28 pm 2007
Dave Sperry
Poor UDP performance using 2.6.21-rc5-rt5
Hi I have a dual core Opteron machine that exhibits poor UDP performance (RT consumes more than 2X cpu) with the 2.6.21-rc5-rt5 as compared to 2.6.21-rc5. Top shows the IRQ handler consuming a lot of CPU. The mother board is a Supermicro H8DME-2 with one dual core Opteron installed. The networking is provided by the on board nVidia MCP55Pro chip. The RT test is done using netperf 2.4.3 with the server on an IBM LS20 blade running RHEL4U2 and the Supermicro running netperf under RHEL5 with 2...
Apr 1, 3:15 pm 2007
Nivedita Singhvi
Re: Poor UDP performance using 2.6.21-rc5-rt5
Dave, any chance you've got oprofile working on the -rt5? And I'm assuming nothing very different in the stats or errors through both runs? thanks, -
Apr 1, 4:07 pm 2007
Dave Sperry
Re: Poor UDP performance using 2.6.21-rc5-rt5
Yes, I have a opreport from about 15 seconds in the middle of the test correct. no errors, the throughput in the RT was less, I assume it was CPU bound. Thanks Dave. CPU: AMD64 processors, speed 2211.36 MHz (estimated) Counted CPU_CLK_UNHALTED events (Cycles outside of halt state) with a unit mask of 0x00 (No unit mask) count 100000 samples % image name app name symbol name 16375 13.2965 vmlinux vmlinux __sched_t...
Apr 1, 6:00 pm 2007
Steve French (smfltc)
Re: cifs and kthread_run / kernel_thread
No - IIRC the original patch (for the switch of cifs from kernel_thread to kthread) had a minor implementation problem in handling the cifs_demultiplex thread, so this one small No, I don't think so, but I have not investigated it. We would be happy -
Apr 1, 3:12 pm 2007
Edgardo Hames
Rebuilding and checksumming the Linux kernel
I'm working on a project with teams spread across the world and we all work on the same repository patching the kernel and then integrating into a common main branch. Even though we label the source code, we would like to make sure that we are all building the same kernel by running md5sum on the resulting binary. Right now, this is not possible because the kernel includes a timestamp and a build number on the binary. What are this timestamps used for? Can we just remove them? Is there any other th...
Apr 1, 2:56 pm 2007
Sam Ravnborg
Re: Rebuilding and checksumming the Linux kernel
Soon you will be able to say: KBUILD_BUILD_TIMESTAMP="2007-02-30 01:02.03" KBUILD_BUILD_VERSION=99 make It will hit -mm soon and mainline in next merge window. Patch is in kbuild.git at git.kernel.org. Sam -
Apr 1, 5:06 pm 2007
Edgardo Hames
Re: Rebuilding and checksumming the Linux kernel
This is so much more than I could have asked for! I will try this patch on my version of the kernel. Thanks a lot, Ed -- Encontrá a "Tu psicópata favorito" http://tuxmaniac.blogspot.com The future is not what it used to be. -- Paul Valéry -
Apr 1, 5:53 pm 2007
David Schwartz
RE: Rebuilding and checksumming the Linux kernel
I think this is wrong in principle even if you can get it to work in practice. If you want to all work on the same kernel, then keep a single copy somewhere that you all work from. There is no reason the same source code will or should always produce the same output. Compilers are not generally required to be deterministic. DS -
Apr 1, 5:02 pm 2007
Jan Engelhardt
Re: Rebuilding and checksumming the Linux kernel
If you just want to make sure that interfaces match, CONFIG_MODULE_SRCVERSION_ALL should be doing the right thing. Jan -- -
Apr 1, 3:02 pm 2007
Arjan van de Ven
Re: Rebuilding and checksumming the Linux kernel
elfutils has a "elfcmp" program that may be useful for you another trick could be to run objdump -d on the vmlinux, and then compare the assembly file.. you could even grep out any known date like things that way,, -
Apr 1, 2:58 pm 2007
devzero
Re: [patch] remove artificial software max_loop limit
ok, sounds reasonable. _______________________________________________________________ SMS schreiben mit WEB.DE FreeMail - einfach, schnell und kostenguenstig. Jetzt gleich testen! http://f.web.de/?mc=021192 -
Apr 1, 2:54 pm 2007
devzero
Re: [patch] remove artificial software max_loop limit
what sense would it make to set an upper limit at all? we`re so happy to have none anymore :) roland _______________________________________________________________ SMS schreiben mit WEB.DE FreeMail - einfach, schnell und kostenguenstig. Jetzt gleich testen! http://f.web.de/?mc=021192 -
Apr 1, 2:36 pm 2007
Kyle Moffett
Re: [patch] remove artificial software max_loop limit
Well, the point of an upper limit might be to keep loop devices from chewing up too much memory on a system. IE: To fail allocating more loopdevs before you run OOM and start killing random userspace processes. Cheers, Kyle Moffett -
Apr 1, 2:43 pm 2007
Milind Arun Choudhary
[KJ][PATCH] ROUND_UP macro cleanup in drivers/net/e1000
E1000_ROUNDUP macro cleanup, use ALIGN Signed-off-by: Milind Arun Choudhary <milindchoudhary@gmail.com> --- e1000.h | 3 --- e1000_ethtool.c | 6 +++--- e1000_main.c | 10 +++++----- e1000_param.c | 4 ++-- 4 files changed, 10 insertions(+), 13 deletions(-) diff --git a/drivers/net/e1000/e1000.h b/drivers/net/e1000/e1000.h index dd4b728..a9ea67e 100644 --- a/drivers/net/e1000/e1000.h +++ b/drivers/net/e1000/e1000.h @@ -155,9 +155,6 @@ struct e1000_adapter...
Apr 1, 2:31 pm 2007
Kok, Auke
Re: [KJ][PATCH] ROUND_UP macro cleanup in drivers/net/e1000
we were actually looking at this last week. I'll take it for a spin and if it's good I'll push it through upstream. Thanks! -
Apr 1, 7:20 pm 2007
Ingo Molnar
[patch] enhance initcall_debug, measure latency
Subject: [patch] enhance initcall_debug, measure latency From: Ingo Molnar <mingo@elte.hu> enhance the initcall_debug boot option: - measure the time the initcall took to execute and report it in units of milliseconds. - show the return code of initcalls (useful to see failures and to make sure that an initcall hung) Signed-off-by: Ingo Molnar <mingo@elte.hu> --- init/main.c | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) Index: linux/init/main.c =======...
Apr 1, 2:16 pm 2007
Ingo Molnar
Re: [patch] enhance initcall_debug, measure latency
some boot time analysis using this facility: with an allyesconfig bzImage kernel, here are all initcalls that took more than 10 msecs to execute (51 initcalls out of 1981). The list was generated via: dmesg | grep ' ran for ' | sort -r -n -t' ' -k +5 some entries (like old ISA drivers which have to auto-detect the hard way) are not a surprise. Some others, like eeprom_init() or acpi_pci_root_init(), are. the 51 entries took 121.8 seconds to execute: echo `dmesg | grep ' ran fo...
Apr 1, 2:28 pm 2007
Jan Engelhardt
[PATCH 0/16] Assorted patches
Hello list, People collect stamps, etc. and I do patches. It is April 01, but let ye know that even the patch that would get the most naks is not really meant as an April joke. Most of them are independent, but I'll let `quilt graph` judge their dependencies. [01/] vt-sysfs-for-colors.diff [02/] vt-pure-colors.diff [03/] vt-underline-color.diff [04/] vt-printk-color.diff [05/] fix-kthread-niceness.diff [06/] isofs-add-write-bit.diff [07/] kconfig-dynamic-frequency.diff [08/] co...
Apr 1, 2:13 pm 2007
Jan Engelhardt
[PATCH 16/16] warn-on-kthread-name-truncation.diff
Andrew Morton noted in http://lkml.org/lkml/2006/6/30/247 """We do occasionally hit task_struct.comm[] truncation, when people use "too-long-a-name%d" for their kernel thread names.""" This patch warns when such a truncation happens. Already posted on http://lkml.org/lkml/2006/7/3/93 Signed-off-by: Jan Engelhardt <jengelh@gmx.de> Cc: Andrew Morton <akpm@linux-foundation.org> kthread.c | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) Index: linux-2.6.21-rc...
Apr 1, 2:18 pm 2007
Jan Engelhardt
[PATCH 15/16] use-regular-eth-suffix.diff
Some radio adapter drivers wrongly(?) name their devices "wlan%d" instead of "eth%d" (if you ask me, it should be %u - but not today). Technically, they operate like Ethernet, and in fact, running `/sbin/ip a` shows "link/ether" instead of "link/ieee80211". This patch renames them back, but I would appreciate some comment, explanation or at least link why they actually have wlan%d there. Signed-off-by: Jan Engelhardt <jengelh@gmx.de> Cc: Jouni Malinen <jkmaline@cc.hut.fi> (hostap) ...
Apr 1, 2:18 pm 2007
Kyle Moffett
Re: [PATCH 15/16] use-regular-eth-suffix.diff
NACK. This has the potential to significantly break backwards- compatibility for users of those cards who are not using udev to maintain consistent device naming (because they only have a single card, for example). I would recommend against applying it for that reason. Cheers, Kyle Moffett -
Apr 1, 2:42 pm 2007
Jan Engelhardt
[PATCH 14/16] kconfig-allow-override.diff
Allow config variables in .config to override earlier ones in the same file. In other words, # CONFIG_SECURITY is not defined CONFIG_SECURITY=y will activate it. This makes it a bit easier to do (cat original-config myconfig myconfig2 ... >.config) and run menuconfig as expected. Already posted at http://lkml.org/lkml/2006/10/25/81 Signed-off-by: Jan Engelhardt <jengelh@gmx.de> Cc: Sam Ravnborg <sam@ravnborg.org> confdata.c | 14 +++++--------- 1 file changed, 5...
Apr 1, 2:17 pm 2007
Sam Ravnborg
Re: [PATCH 14/16] kconfig-allow-override.diff
This part of kconfig is taken care of by Roman Zippel. Kept the full mail for his reference. Sam -
Apr 1, 2:44 pm 2007
Randy Dunlap
Re: [PATCH 14/16] kconfig-allow-override.diff
--- ~Randy *** Remember to use Documentation/SubmitChecklist when testing your code *** -
Apr 1, 3:09 pm 2007
Jan Engelhardt
[PATCH 13/16] show-pipesize-in-stat.diff
Show the fill status of a pipe (in bytes) when stat'ing one. Signed-off-by: Jan Engelhardt <jengelh@gmx.de> fs/stat.c | 31 ++++++++++++++++++++++++++++++- include/linux/un.h | 2 ++ include/net/af_unix.h | 3 +++ net/unix/af_unix.c | 10 ++++++++++ 4 files changed, 45 insertions(+), 1 deletion(-) Index: linux-2.6.21-rc5/fs/stat.c =================================================================== --- linux-2.6.21-rc5.orig/fs/stat.c +++ linux-2.6.21-rc5/f...
Apr 1, 2:17 pm 2007
Jan Engelhardt
[PATCH 12/16] cifs-use-mutex.diff
Verbatim copy of original mail: The recent change to "allow Windows blocking locks to be cancelled via a CANCEL_LOCK call" introduced a new semaphore in struct cifsFileInfo, lock_sem. However, semaphores used as mutexes are deprecated these days, and there's no reason to add a new one to the kernel. Therefore, convert lock_sem to a struct mutex (and also fix one indentation glitch on one of the lines changed anyway). Compile tested only, since I don't use CIFS. Signed-off-by: Roland Dreie...
Apr 1, 2:16 pm 2007
Jan Engelhardt
[PATCH 11/16] samba-eintr-fix.diff
From: Dave Jones Already posted at http://lkml.org/lkml/2005/7/7/255 Signed-off-by: Jan Engelhardt <jengelh@gmx.de> Cc: Dave Jones <Dave Jones <davej@redhat.com> request.c | 1 + 1 file changed, 1 insertion(+) Index: linux-2.6.21-rc5/fs/smbfs/request.c =================================================================== --- linux-2.6.21-rc5.orig/fs/smbfs/request.c +++ linux-2.6.21-rc5/fs/smbfs/request.c @@ -347,6 +347,7 @@ int smb_add_request(struct smb_request * smb...
Apr 1, 2:16 pm 2007
Dave Jones
Re: [PATCH 11/16] samba-eintr-fix.diff
On Sun, Apr 01, 2007 at 08:16:22PM +0200, Jan Engelhardt wrote: > > From: Dave Jones > Already posted at http://lkml.org/lkml/2005/7/7/255 I had to stop and think if this was an April 1st :) Back in 2005 it seemed I had a strong enough stomach to wade through smbfs for some unknown reason. These days like many others, I wish someone would just put the thing out of its misery. In Fedora we switched it off (in about 2005 iirc) in favor of using cifs, which for the most part is a dr...
Apr 1, 3:09 pm 2007
Jan Engelhardt
Re: [PATCH 11/16] samba-eintr-fix.diff
It seems to have been resent once, 7 days after you: http://lkml.org/lkml/2005/7/15/231 At that time, I had experienced strange copy failures ("No such file or directory") while the directory being copied was not modified. With the patch, I at least got EINTR instead of ENOENT, which I think made cp think once more to retry. Jan -- -
Apr 1, 3:28 pm 2007
Dave Jones
Re: [PATCH 11/16] samba-eintr-fix.diff
On Sun, Apr 01, 2007 at 09:28:03PM +0200, Jan Engelhardt wrote: > > On Apr 1 2007 15:09, Dave Jones wrote: > >On Sun, Apr 01, 2007 at 08:16:22PM +0200, Jan Engelhardt wrote: > > > > From: Dave Jones > > > Already posted at http://lkml.org/lkml/2005/7/7/255 > > > >I had to stop and think if this was an April 1st :) > > Read the mail entitled "[PATCH 0/16] Assorted patches". That's what happens when you read inbox before mailing list...
Apr 1, 3:42 pm 2007
Jan Engelhardt
[PATCH 10/16] show-partitions-on-mount-error.diff
Display all possible partitions when the root filesystem is not mounted. This helps to track spell'o's and missing drivers. From: David Alan Gilbert, http://lkml.org/lkml/2005/2/26/92 Updated to work with newer kernels. Signed-off-by: Jan Engelhardt <jengelh@gmx.de> block/genhd.c | 54 ++++++++++++++++++++++++++++++++++++++++++++++++++ include/linux/genhd.h | 1 init/do_mounts.c | 7 +++++- 3 files changed, 61 insertions(+), 1 deletion(-) Index: linux-2.6.21...
Apr 1, 2:15 pm 2007
Jan Engelhardt
[PATCH 09/16] zlib-decompression-status.diff
Shows some stars during decompression. This is particularly useful on old 386s where one asterisk is probably printed every second - making the long linux and initramfs uncompress progress more evident. Not compile tested outside {i386, x86_64} - don't have other machines. Signed-off-by: Jan Engelhardt <jengelh@gmx.de> arch/alpha/boot/misc.c | 2 +- arch/arm/boot/compressed/misc.c | 4 ++-- arch/arm26/boot/compressed/misc.c | 4 ++-- arc...
Apr 1, 2:15 pm 2007
Jan Engelhardt
[PATCH 08/16] console-printk-level.diff
Allow the printk level to be set using a "conlevel=" parameter. (Or is there already a different bootoption that does the same thing?) Signed-off-by: Jan Engelhardt <jengelh@gmx.de> printk.c | 9 +++++++++ 1 file changed, 9 insertions(+) Index: linux-2.6.21-rc5/kernel/printk.c =================================================================== --- linux-2.6.21-rc5.orig/kernel/printk.c +++ linux-2.6.21-rc5/kernel/printk.c @@ -747,6 +747,15 @@ void resume_console(void) } #endif ...
Apr 1, 2:15 pm 2007
Randy Dunlap
Re: [PATCH 08/16] console-printk-level.diff
Yes, there's "loglevel", as well as --- ~Randy *** Remember to use Documentation/SubmitChecklist when testing your code *** -
Apr 1, 3:07 pm 2007
Jan Engelhardt
[PATCH 07/16] kconfig-dynamic-frequency.diff
Make HZ fully configurable through menuconfig. Already posted at http://lkml.org/lkml/2006/6/18/111 Signed-off-by: Jan Engelhardt Cc: Alan Cox <alan@lxorguk.ukuu.org.uk> (http://lkml.org/lkml/2006/11/8/307) Cc: Sam Ravnborg <sam@ravnborg.org> Kconfig.hz | 70 +++++++++++++++++++++++-------------------------------------- 1 file changed, 27 insertions(+), 43 deletions(-) Index: linux-2.6.21-rc5/kernel/Kconfig.hz =================================================================...
Apr 1, 2:15 pm 2007
Kyle Moffett
Re: [PATCH 07/16] kconfig-dynamic-frequency.diff
Instead of that, what about something like this instead: NOTE: I know my mailer mangles diffs and this one was hand-edited based on Jan's diff from within my mailer so it probably doesn't apply, but it's enough to point out the idea: diff --fast -Ndpru linux-2.6.17-rc6~/kernel/Kconfig.hz linux-2.6.17- rc6+/kernel/Kconfig.hz --- linux-2.6.17-rc6~/kernel/Kconfig.hz 2006-06-06 02:57:02.000000000 +0200 +++ linux-2.6.17-rc6+/kernel/Kconfig.hz 2006-06-16 17:15:46.884794000 +0200 @@ -36,1...
Apr 1, 2:39 pm 2007
Jan Engelhardt
Re: [PATCH 07/16] kconfig-dynamic-frequency.diff
People always come up with new complexities I never thought kconfig would be able to do. Nice stuff. I'll take up on your idea and incorporate it right away. But I would have to ask: Why do we need 100/250/300/1000 if there is anyway an input field for the user to enter - s/he should read the help text for Known Good values, should not s/he? Jan -- -
Apr 1, 2:42 pm 2007
Kyle Moffett
Re: [PATCH 07/16] kconfig-dynamic-frequency.diff
Actually, probably what should be done is make the "HZ_CUSTOM" option depend on EXPERIMENTAL/ EMBEDDED/"EXPERT"/"I_KNOW_WHAT_THE_HELL_IM_DOING" or some other equivalent option, because a wrong choice for HZ has the potential to really screw up a system. For example, 10000+ would make most systems spend a significant portion of their time processing timer interrupts and context switches, and less than 100 or so would make the system seem jerky. The point is to encourage the average ke...
Apr 1, 2:52 pm 2007
Robert P. J. Day
Re: [PATCH 07/16] kconfig-dynamic-frequency.diff
conversely, if someone truly wants to set a kernel config option to some outrageous value, they should have that freedom. it's called "playing." rday -- ======================================================================== Robert P. J. Day Linux Consulting, Training and Annoying Kernel Pedantry Waterloo, Ontario, CANADA http://fsdev.net/wiki/index.php?title=Main_Page ======================================================================== -
Apr 1, 4:22 pm 2007
Jan Engelhardt
Re: [PATCH 07/16] kconfig-dynamic-frequency.diff
EXPERIMENTAL is most often enabled by distributors. Point taken. Ehm, I already once tried making a 10000-Hz kernel around 2.6.13-15 or so. It did not compile because some header files had #error directives for HZ >= 1536. (jiffies.h:33 if you want to know.) IIRC there also was another place somewhere in networking code that #errors out at >8192. Jan -- -
Apr 1, 3:01 pm 2007
Kyle Moffett
[PATCH]
Add a CONFIG_I_KNOW_WHAT_THE_HELL_I_AM_DOING variable with a really strong warning attached to it (and a shorter CONFIG_EXPERT variable for use in Kconfig files where it's a PITA to type out the full name) Signed-off-by: Kyle Moffett <mrmacman_g4@mac.com> --- Since my mailer tends to mangle patches I've attached this one
Apr 1, 3:42 pm 2007
Jan Engelhardt
Re: [PATCH]
Do it like Linus Torvalds and Marissa Mayer and get a better mailer :-D Index: linux-2.6.20.1/init/Kconfig =================================================================== --- linux-2.6.20.1.orig/init/Kconfig +++ linux-2.6.20.1/init/Kconfig @@ -40,6 +40,35 @@ you say Y here, you will be offered the choice of using features or drivers that are currently considered to be in the alpha-test phase. +config I_KNOW_WHAT_THE_HELL_I_AM_DOING Let's just hope kconfig does not bust the stack....
Apr 1, 3:47 pm 2007
previous daytodaynext day
February 28, 2007April 1, 2007April 2, 2007