linux-kernel mailing list

FromSubjectsort iconDate
Neil Brown
Re: x86_64 panic on latest linux-2.6
Having decoded the "Code:", what is happening here is that 'dev' is clearly not embedded inside a 'disk'. The address of 'dev' is in RBX and is ffff81007f270010. disk->minors is at and offset of -0x60 from 'dev' (as 'dev' is assumed to be a structure embeded in a 'struct gendisk' - dev_to_disk uses container_of to find the gendisk that holds the device). But 0x60 from RBX is in a different page, and presumably that memory doesn't exist. So the question is: how can a 'struct device' which is n...
May 25, 7:35 pm 2008
Johannes Weiner
[PATCH] Drop unneeded pgdat argument from free_area_init_nod...
free_area_init_node() gets passed in the node id as well as the node descriptor. This is redundant as the function can trivially get the node descriptor itself by means of NODE_DATA() and the node's id. Signed-off-by: Johannes Weiner <hannes@saeurebad.d> --- I checked all the users and NODE_DATA() seems to be usable everywhere from where this function is called. Compile- and runtime-tested on X86_32. arch/alpha/mm/numa.c | 2 +- arch/arm/mm/init.c | 2...
May 25, 6:28 pm 2008
Bob Copeland
2.6.26-rc3 - appletouch resume "incomplete data package"
This appears to be a regression since 2.6.25. After resuming, I get: appletouch: incomplete data package (first byte: 2, length: 4). appletouch: incomplete data package (first byte: 2, length: 4). appletouch: incomplete data package (first byte: 2, length: 4). [...] And the touchpad doesn't work. This is on a first gen MacBook. I didn't see any changes to the driver itself in that timeframe. Anyone have ideas, or should I try a bisect? -- Bob Copeland %% [ message continues ]
" title="www.bobcopeland.co...">www.bobcopeland.co...
May 25, 4:24 pm 2008
Sitsofe Wheeler
Kernel checking options
With the recent drive for more testers I'm curious about options that can be turned on that will do more checking/verification (as opposed to just creating more debug output). Thus far I have come across the following that suggest that they will do extra checks: CONFIG_DEBUG_SHIRQ: Tests whether drivers can handle spurious interrupts upon registration / unregistration. CONFIG_DETECT_SOFTLOCKUP: Detects if the kernel spends more than 10 seconds in the kernel without giving anything else a ch...
May 25, 3:27 pm 2008
Alistair John Strachan
Re: Kernel checking options
You're missing the IOMMU test code, which is only available on x86-64 systems. There might be some other architecture specific options you've missed. -- Cheers, Alistair. 137/1 Warrender Park Road, Edinburgh, UK. --
May 25, 5:31 pm 2008
Benny Amorsen
Re: [PATCH] drivers/net: remove network drivers' last few us...
Not if we don't credit any entropy. /dev/random is engineered to be safe against getting non-random input, as long as that input isn't credited with entropy. /dev/random is even world writable by default. /Benny --
May 25, 3:33 pm 2008
Sven Wegener
[PATCH] x86: Remove obsolete LOCK macro from include/asm-x86...
Commit d167a518 "[PATCH] x86_64: x86_64 version of the smp alternative patch." has left the LOCK macro in include/asm-x86_64/atomic.h, which is now include/asm-x86/atomic_64.h. Its scope should be local to the file, other architectures don't provide it, I couldn't find an in-tree user of it and allyesconfig, allmodconfig and allnoconfig build fine without it, so this patch removes it. Signed-off-by: Sven Wegener <sven.wegener@stealer.net> --- include/asm-x86/atomic_64.h | 6 ------ 1 ...
May 25, 3:16 pm 2008
Thomas Gleixner May 25, 4:24 pm 2008
Adrian Bunk
CONFIG_SPARC64_PAGE_SIZE_4MB build error
During a compile test I ran into the following build error caused with CONFIG_SPARC64_PAGE_SIZE_4MB: <-- snip --> ... CC init/main.o In file included from /home/bunk/linux/kernel-2.6/git/linux-2.6/include/linux/gfp.h:4, from /home/bunk/linux/kernel-2.6/git/linux-2.6/include/linux/slab.h:12, from /home/bunk/linux/kernel-2.6/git/linux-2.6/include/linux/percpu.h:5, from /home/bunk/linux/kernel-2.6/git/linux-2.6/include/linux/rcupdat...
May 25, 2:58 pm 2008
Marin Mitov
Re:[PATCH -v4] x86: enable preemption in delay
Hi Steven, look at this patch, proposed by me and Ingo few month ago. I think it solves the problem you had fond, but unfortunately it had been lost (not included in the mainline). http://lkml.org/lkml/2007/11/20/343 It is against the kernel at the moment the message was sent. I think it could be applied to the current kernel too. Best regards Marin Mitov --
May 25, 2:08 pm 2008
Thomas Gleixner
Re:[PATCH -v4] x86: enable preemption in delay
Yep, and it might be simply because the mail thread ended with: And there was no response. I just checked my x86 quilt archives and it simply went into the "wait for update" category and got dropped unfortunately. Thanks, tglx --
May 25, 6:21 pm 2008
Steven Rostedt
Re:[PATCH -v4] x86: enable preemption in delay
Hi Marin, That patch looks basically like what I did. But mine has less code and is a bit simpler ;-) Thanks, -- Steve --
May 25, 3:30 pm 2008
Marin Mitov May 25, 3:58 pm 2008
Adrian Bunk
[2.6 patch] MIPS SEAD compile fix
This patch fixes the following compile error caused by commit 39b8d5254246ac56342b72f812255c8f7a74dca9 ([MIPS] Add support for MIPS CMP platform.): <-- snip --> ... CC arch/mips/mips-boards/generic/time.o cc1: warnings being treated as errors /home/bunk/linux/kernel-2.6/git/linux-2.6/arch/mips/mips-boards/generic/time.c:63: error: 'ledbitmask' defined but not used make[2]: *** [arch/mips/mips-boards/generic/time.o] Error 1 <-- snip --> Signed-off-by: Adrian Bunk <...
May 25, 2:03 pm 2008
Andre Pietsch
RE: Limit SATA link speed to 1.5 Gbps-
SOLVED On Seagate drives it is possible to limit the link speed by setting a jumper on the drive! It now starts at 1.5 Gbps and runs stable from the start. Thanks everybody for your support! Regards, Andre Pietsch --
May 25, 2:03 pm 2008
Tom Spink
[RFC PATCH 0/2] On-demand Filesystem Initialisation
This (short) patch series is another RFC for the patch that introduces on-demand filesystem initialisation. In addition to the original infrastructure implementation (with clean-ups), it changes XFS to use this new infrastructure. I wrote a toy filesystem (testfs) to simulate scheduling/allocation delays and to torture the mount/unmount cycles. I didn't manage to deadlock the system in my tests. XFS also works as expected aswell, in that the global threads are not created until an XFS filesyste...
May 25, 1:48 pm 2008
Tom Spink
[RFC PATCH 1/2] vfs: Introduce on-demand filesystem initiali...
This patch adds on-demand filesystem initialisation capabilities to the VFS, whereby an init routine will be executed on first use of a particular filesystem type. Also, an exit routine will be executed when the last superblock of a filesystem type is deactivated. This is useful for filesystems that share global resources between all instances of the filesystem, but only need those resources when there are any users of the filesystem. This lets the filesystem initialise those resources (kernel th...
May 25, 1:48 pm 2008
Tom Spink
[RFC PATCH 2/2] xfs: Make XFS use the new file system init i...
This patch makes XFS use the file system type specific init and exit callbacks, so that XFS only initialises when it's used for the first time. This is useful for when XFS is compiled into the kernel, but never actually used as it stops XFS from creating global threads, until they are needed. Signed-off-by: Tom Spink <tspink@gmail.com> --- fs/xfs/linux-2.6/xfs_super.c | 55 +++++++++++++++++++++++------------------- 1 files changed, 30 insertions(+), 25 deletions(-) diff --git a/fs/...
May 25, 1:48 pm 2008
Sitsofe Wheeler
Re: question about splice performance
<posted & mailed> Are vmlinux and /tmp both RAM filesystems? If not you may want to try using /dev/shm to rule out disk speed... -- Sitsofe | http://sucs.org/~sits/ --
May 25, 1:22 pm 2008
Mikael Pettersson
sky2 oops in 2.6.26-rc3
Shortly after booting 2.6.26-rc3 on my ASUS P5B-E Plus today, the kernel oopsed in sky2_mac_intr, leaving the system totally dead. I had to copy the oops manually: Call trace: sky2_hw_error sky2_poll run_rebalance_domains net_rx_action __do_softirq smp_apic_timer_interrupt mwait_idle apic_timer_interrupt mwait_idle mwait_idle cpu_idle EIP: sky2_mac_intr+0x32 lspci -vvxxx on the sky2 chip shows: 02:00.0 Ethernet controller: Marvell Technology Group Ltd. Unknown de...
May 25, 1:27 pm 2008
Stephen Hemminger
Re: sky2 oops in 2.6.26-rc3
On Sun, 25 May 2008 19:27:29 +0200 (MEST) sky2_hw_error prints information in log so dmesg output would be helpful. But it means the hardware is sick (like bad DMA), so there isn't much you can do. If possible, see if either the vendor sk98lin driver or windows works on this hardware. --
May 25, 2:56 pm 2008
Mirco Tischler
[BUG: 2.6.26-rc3] ERROR: "____ilog2_NaN" undefined
--=-q084NtujDyspPsA3C3Qn Content-Type: text/plain Content-Transfer-Encoding: quoted-printable Hi I've got this compilation error on current mainline (x86_64): <snip> Root device is (8, 5) Setup is 12236 bytes (padded to 12288 bytes). System is 2497 kB CRC d12efd40 Kernel: arch/x86/boot/bzImage is ready (#27) Building modules, stage 2. MODPOST 222 modules ERROR: "____ilog2_NaN" [drivers/usb/core/usbcore.ko] undefined! make[1]: *** [__modpost] Fehler 1 make: *** [modules] Feh...
May 25, 1:13 pm 2008
Adrian Bunk
Re: [BUG: 2.6.26-rc3] ERROR: "____ilog2_NaN" undefined
Works for me with your .config. You are using an unmodified 2.6.26-rc3 kernel? If yes, please: - send the output of "bash ./scripts/ver_linux" and Thanks Adrian -- "Is there not promise of rain?" Ling Tan asked suddenly out of the darkness. There had been need of rain for many days. "Only a promise," Lao Er said. Pearl S. Buck - Dragon Seed --
May 25, 2:11 pm 2008
Mirco Tischler
Re: [BUG: 2.6.26-rc3] ERROR: "____ilog2_NaN" undefined
=EF=BB=BF$ ./scripts/ver_linux =EF=BB=BFIf some fields are empty or look unusual you may have an old versi= on. Compare to the current minimal requirements in Documentation/Changes. Linux mtlp 2.6.26-rc3-experimental #18 SMP PREEMPT Thu May 22 21:17:47 CEST 2008 x86_64 GNU/Linux Gnu C 4.3.0-4ubuntu1) Gnu make 3.81 binutils 2.18.50.20080509 util-linux 2.14-rc2 mount support module-init-tools 3.3-pre11 e2fsprogs ...
May 25, 3:03 pm 2008
Adrian Bunk
Re: [BUG: 2.6.26-rc3] ERROR: "____ilog2_NaN" undefined
I'd have said your gcc has a bug regarding __builtin_constant_p(), but I can't reproduce it on i386 with the compiler you are using. You are using exactly this compiler for compiling your kernel? cu Adrian -- "Is there not promise of rain?" Ling Tan asked suddenly out of the darkness. There had been need of rain for many days. "Only a promise," Lao Er said. Pearl S. Buck - Dragon Seed --
May 25, 4:18 pm 2008
Mirco Tischler
Re: [BUG: 2.6.26-rc3] ERROR: "____ilog2_NaN" undefined
I tried several versions now (4.1, 4.3. 4.4pre) and all showed the error. I'm using ccache, maybe this has something to do with it? (Though I doubt it) I have another config that builds properly. Actually I just changed some options to the config posted before. If nobody shouts "trivial" I could try to filter out the guilty option if there is any. But I possibly Thanks Mirco
May 25, 4:57 pm 2008
Adrian Bunk
Re: [BUG: 2.6.26-rc3] ERROR: "____ilog2_NaN" undefined
If ccache would always select a completely broken compiler that would explain it... (But it's unlikely.) Can you try building without ccache? Can you also try downloading the kernel sources as a tarball from I noticed (but I currently only have a 32bit userspace, and for this cu Adrian -- "Is there not promise of rain?" Ling Tan asked suddenly out of the darkness. There had been need of rain for many days. "Only a promise," Lao Er said. ...
May 25, 5:03 pm 2008
Mirco Tischler
Re: [BUG: 2.6.26-rc3] ERROR: "____ilog2_NaN" undefined
Doesn't help, as expected. Man, I just realised what a great piece of Why should I? A fresh checkout of the mainline git-tree in combination with= Thanks Mirco
May 25, 5:49 pm 2008
Adrian Bunk
mips: CONF_CM_DEFAULT build error
Commit 351336929ccf222ae38ff0cb7a8dd5fd5c6236a0 ([MIPS] Allow setting of the cache attribute at run time.) causes the following build error with pnx8550-jbs_defconfig and pnx8550-stb810_defconfig: <-- snip --> ... CC arch/mips/nxp/pnx8550/stb810/board_setup.o /home/bunk/linux/kernel-2.6/git/linux-2.6/arch/mips/nxp/pnx8550/stb810/board_setup.c: In function 'board_setup': /home/bunk/linux/kernel-2.6/git/linux-2.6/arch/mips/nxp/pnx8550/stb810/board_setup.c:42: error: 'PAGE_CACHABLE_D...
May 25, 1:07 pm 2008
Adrian Bunk
[2.6 patch] sparc64: global_reg_snapshot is not for userspace
global_reg_snapshot shouldn't be visible in our userspace headers. Signed-off-by: Adrian Bunk <bunk@kernel.org> --- include/asm-sparc64/ptrace.h | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) bcd3ca7553a2f3e416db385fd976ef5b862b1370 diff --git a/include/asm-sparc64/ptrace.h b/include/asm-sparc64/ptrace.h index d8a56cd..b163da7 100644 --- a/include/asm-sparc64/ptrace.h +++ b/include/asm-sparc64/ptrace.h @@ -126,6 +126,8 @@ struct sparc_trapf { #define TRACEREG32_SZ...
May 25, 12:58 pm 2008
Takashi Iwai
[GIT PULL] ALSA fixes for 2.6.26-rc3
Hi Linus, please pull another ALSA updates for 2.6.26-rc3 from: git://git.kernel.org/pub/scm/linux/kernel/git/tiwai/sound-2.6.git for-linus This includes a few trivial fixes for HD-audio and one fix for snd-pcsp. Thanks! Takashi === Mauro Carvalho Chehab (1): [ALSA] hda - Fix capture mute Widget for stac9250/9251 Stas Sergeev (1): [ALSA] snd-pcsp - fix pcsp_treble_info() to honour an item number Takashi Iwai (2): [ALSA] hda - Fix noise on VT1708 codec ...
May 25, 12:49 pm 2008
Adrian Bunk
mips/kernel/traps.c build error
Commit 39b8d5254246ac56342b72f812255c8f7a74dca9 ([MIPS] Add support for MIPS CMP platform.) causes the following build error: <-- snip --> ... CC arch/mips/kernel/traps.o cc1: warnings being treated as errors /home/bunk/linux/kernel-2.6/git/linux-2.6/arch/mips/kernel/traps.c: In function 'show_raw_backtrace': /home/bunk/linux/kernel-2.6/git/linux-2.6/arch/mips/kernel/traps.c:92: error: cast from pointer to integer of different size make[2]: *** [arch/mips/kernel/traps.o] Error 1 ...
May 25, 12:43 pm 2008
Davi Leal
I am a volunteer
Hi, I would like to carry out some easy task, as realize a clean up replacing the use of one old function for another new one. I do not have any problem with C, Git, etc. Please, let me know what I can do. --
May 25, 12:12 pm 2008
Adrian Bunk
Re: I am a volunteer
The easiest and very valuable task is testing the kernel as described at http://kernelnewbies.org/KernelTesters cu Adrian -- "Is there not promise of rain?" Ling Tan asked suddenly out of the darkness. There had been need of rain for many days. "Only a promise," Lao Er said. Pearl S. Buck - Dragon Seed --
May 25, 12:37 pm 2008
Davi Leal
Re: I am a volunteer
I am more motivated to do development than testing. --
May 25, 2:23 pm 2008
Willy Tarreau
Re: I am a volunteer
And who do you think will test your dev then ? Testing very quickly involves development because you will notice bugs first, then missing chunks of code to handle special conditions, and by this time you will feel much better with kernel internals and will have no problem starting on more complex tasks. Also, we're wondering what motivates newcomers to directly dive into development instead of testing. Would you please explain a bit about your motivations ? It would help distribute more interes...
May 25, 3:47 pm 2008
Davi Leal
Re: I am a volunteer
I just note I am already running 2.6.25.4 build by hand, etc. Has 2.6.25.4 In my case I am not looking for credit but for learning. I can only spend one hour each day to this subject. Tasks which would require a deadline would be a problem for me. To start, I would like somebody point me to something easy to do, taking into account such time constraints. Something that would require the installation of Xen to be able to reproduce and debug a specific bug via Xen serial port would be co...
May 25, 4:44 pm 2008
Willy Tarreau
Re: I am a volunteer
This is precisely one of our big problems right now. Software is almost only tested by authors, which means that we accumulate a lot of bugs due to lack of precise knowledge in every area. Locking bugs and lack of Rafael Wysocki regularly sends a compiled list of known regressions. A lot of them require specific hardware to trigger a driver bug, but there are others with reproducers (and BTW you might also have some of the required hardware). Arjan van de Ven has posted a list of the top 10 oop...
May 25, 5:00 pm 2008
Tom Spink May 25, 12:14 pm 2008
Bart Van Assche
Re: I am a volunteer
The above URL points to a page with a.o. a link to the kernel janitors to do list, which might be what you are looking for: http://kernelnewbies.org/KernelJanitors/Todo. Bart. --
May 25, 12:20 pm 2008
Davi Leal
Re: I am a volunteer
From the above link I have picked the below task. If that is already done I will pick another easy one. Any correction, suggestion, etc. is welcome: * Code that depends on LINUX_VERSION_CODE & KERNEL_VERSION < 2.6 can be * deleted in most cases. (Mostly/all? done) Against what git repository should I do the check, linux/kernel/git/torvalds/linux-2.6.git ? P.S.: I have subscribed to kernel-janitors, etc. --
May 25, 12:44 pm 2008
Davi Leal
Re: I was a volunteer
The above task seems already done in git/torvalds/linux-2.6.git . Maybe you could remove it from http://kernelnewbies.org/KernelJanitors/Todo/ApiChanges The below one seems to be done too: * Replace (un)register_ioctl32_conversion with ioctl_compat P.S.: I am going to postpound my contribution due to others tasks are complex for me now. --
May 25, 3:27 pm 2008
Francis Moreau
question about splice performance
Hi, I did a really basic benchmark and was suprise about the results. $ echo 3 > /proc/sys/vm/drop_caches $ time splice-cp vmlinux /tmp/vmlinux real 0m10.158s user 0m0.002s sys 0m0.401s $ echo 3 > /proc/sys/vm/drop_caches $ time cp vmlinux /tmp/vmlinux real 0m10.590s user 0m0.017s sys 0m0.459s I was expecting splice-cp case to be faster. Could someone enlight me ? Thanks -- Francis --
May 25, 11:12 am 2008
Jeff Garzik
Re: question about splice performance
If you drop caches you are not measuring splice speed. Use ramfs for your tests (guarantees data is in cache) instead. Jeff --
May 25, 4:47 pm 2008
Jan Engelhardt
Re: question about splice performance
Slow disk outweighs memory copying overhead. And 300 MB is quickly transferred in idle systems. --
May 25, 11:40 am 2008
Pekka Paalanen
Re: Fwd: [PATCH] kmemcheck: SMP support
On Fri, 23 May 2008 16:19:43 +0200 Yes, thanks. My opinion is that mmiotrace can live well enough with runtime-disabling extra cpus when tracing starts. Multi-cpu effects to hardware access are not really in the focus but seeing the access in the first place. I'd rather wait to see if the per-cpu page table feature starts to evolve. I quickly read through your code and tried to come up with race scenarios, but failed. Ok, one question which might be far fetched: is there a window for things to g...
May 25, 10:30 am 2008
Evgeniy Polyakov
POHMELFS high performance network filesystem. Cache coherenc...
Hi. I'm pleased to announce POHMEL high performance network filesystem. POHMELFS stands for Parallel Optimized Host Message Exchange Layered File System. Development status can be tracked in filesystem section [1]. This is a high performance network filesystem with local coherent cache of data and metadata. Its main goal is distributed parallel processing of data. This release brings following features: * Full transaction support for all operations (object creation/removal, data reading an...
May 25, 9:40 am 2008
Jeff Garzik
Re: POHMELFS high performance network filesystem. Cache cohe...
Is the server available via git? http://tservice.net.ru/~s0mbre/archive/pohmelfs/server/ does not include history information, etc. Jeff --
May 25, 3:55 pm 2008
Evgeniy Polyakov
Re: POHMELFS high performance network filesystem. Cache cohe...
Hi. I've just cloned a git tree for the server, but do not expect intersting stuff there, usually I make big commits which incorporate lots of stuff in one go. http://tservice.net.ru/~s0mbre/archive/pohmelfs/server/fserver.git/ -- Evgeniy Polyakov --
May 25, 4:21 pm 2008
Qinghuang Feng
[PATCH]scsi: check the return value of device_create_file() ...
This patch adds code to check the return value of device_create_file() called from powertecscsi_probe() in powertec.c Signed-off-by: Qinghuang Feng <s3c24xx@gmail.com> --- diff --git a/drivers/scsi/arm/powertec.c b/drivers/scsi/arm/powertec.c index d9a546d..d695a6d 100644 --- a/drivers/scsi/arm/powertec.c +++ b/drivers/scsi/arm/powertec.c @@ -361,7 +361,9 @@ powertecscsi_probe(struct expansion_card ecard_setirq(ec, &powertecscsi_ops, info); - device_create_file(&ec->dev...
May 25, 9:18 am 2008
previous daytodaynext day
May 24, 2008May 25, 2008May 26, 2008