linux-kernel mailing list

FromSubjectsort iconDate
Adrian Bunk
Linux 2.6.16.43-rc1
New hwmon drivers since 2.6.16.42 for the following hardware: - National Semiconductor pc87427 - SMSC lpc47m192 and lpc47m997 - Winbond w83791d Location: ftp://ftp.kernel.org/pub/linux/kernel/people/bunk/linux-2.6.16.y/testing/ git tree: git://git.kernel.org/pub/scm/linux/kernel/git/stable/linux-2.6.16.y.git Changes since 2.6.16.42: Adrian Bunk (1): Linux 2.6.16.43-rc1 Alexey Dobriyan (1): [IPV4/IPV6] multicast: Check add_grhead() return value Charles Spirakis ...
Feb 28, 4:59 pm 2007
John Keller
[PATCH 1/1] - Altix: reinitialize acpi tables
To provide compatibilty with SN kernels that do and do not have ACPI IO support, the SN PROM must build different versions of some ACPI tables based on which kernel is booting. As such, the tables may have to change at kernel boot time. By default, prior to kernel boot, the PROM builds an empty DSDT (header only) and no SSDTs. If an ACPI capable kernel boots, the kernel will notify the PROM, at platform setup time, and the PROM will build full DSDT and SSDT tables. With the latest changes to ...
Feb 28, 4:47 pm 2007
linux-os (Dick Johnson)
Ramdisk size
Hello, On an embedded system, I use two ramdisks. They are both 16 megabytes in size. I can create them interactively in the normal way with mke2fs. However, when the system is booted using isolinux, the RAM disks become corrupted. Apparently isolinux.cfg's ramdisk_size (not documented, only referenced, BYW) is not in 1k increments. That value seems to affect all ramdisks, not just the `initrd` one. I can prevent corruption by setting the value to 200000 (way too much). However I won't have ...
Feb 28, 4:39 pm 2007
andrew hendry
2.6.21-rc1 build errors with X86_VOYAGER=y
2.6.21-rc2-git2 from some make randconfig # CONFIG_SMP is not set CONFIG_X86_VOYAGER=y CONFIG_X86_MSR=y CONFIG_X86_CPUID=y LD .tmp_vmlinux1 arch/i386/kernel/built-in.o: In function `vic_sys_interrupt': (.text+0x3141): undefined reference to `smp_vic_sys_interrupt' arch/i386/kernel/built-in.o: In function `vic_cmn_interrupt': (.text+0x3171): undefined reference to `smp_vic_cmn_interrupt' arch/i386/kernel/built-in.o: In function `vic_cpi_interrupt': (.text+0x31a1): undefined ...
Feb 28, 4:25 pm 2007
Robert Hancock
Re: 2.6.20 SATA error
There's a known issue with sata_nv on nForce4 controllers running in ADMA mode in 2.6.20 (the first released kernel with ADMA support) where commands can time out when switching between NCQ commands and non-NCQ commands. Hopefully this is fixed in 2.6.21-rc. This doesn't seem to be the issue here, since his system isn't using ADMA mode, for reasons unclear to me.. -- Robert Hancock Saskatoon, SK, Canada To email, remove "nospam" from hancockr@nospamshaw.ca Home Page: ...
Feb 28, 4:22 pm 2007
Gerhard Mack
Re: 2.6.20 SATA error
Sure thing. It's an Asus m2npv-vm. Gerhard mgerhard:/home/gmack# lspci -vvn 00:00.0 0500: 10de:02f0 (rev a2) Subsystem: 1043:81c0 Control: I/O- Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR- FastB2B- Status: Cap+ 66MHz+ UDF- FastB2B+ ParErr- DEVSEL=fast >TAbort- <TAbort- <MAbort- >SERR- <PERR- Latency: 0 Capabilities: [44] HyperTransport: Slave or Primary Interface Command: BaseUnitID=0 UnitCnt=15 MastHost- DefDir- DUL- Link Control 0: CFlE+ CST- CFE- ...
Feb 28, 4:29 pm 2007
Robert Hancock
Re: solved Re: 2.6.20 SATA error
There is one thing that seems odd, if you do have an nForce4 chipset, the kernel should be running the SATA controller in ADMA mode in 2.6.20, but it doesn't seem like it is from your dmesg output. Can you post the output of "lspci -vvn"? Also what kind of motherboard is that? -- Robert Hancock Saskatoon, SK, Canada To email, remove "nospam" from hancockr@nospamshaw.ca Home Page: http://www.roberthancock.com/ -
Feb 28, 4:20 pm 2007
David Brownell
[patch 2.6.21-rc2] init dma masks in pnp_dev
PNP now initializes device dma masks, which prevents oopses when generic dma calls are made using pnp device nodes. This assumes PNP only uses ISA DMA, with 24 bit addresses; and that it's safe to init those masks for all devices (rather than finding out which devices have been assigned DMA channels, and handling only those). Signed-off-by: David Brownell <dbrownell@users.sourceforge.net> Index: g26/include/linux/pnp.h =================================================================== --- ...
Feb 28, 4:14 pm 2007
David Brownell
[patch 2.6.21-rc2] parport is an orphan
The writing on the wall seem to be that the parport stack is orphaned, rather than maintained by four folk ... and having a webpage that says the latest patches are based on a 2.5 kernel. Signed-off-by: David Brownell <dbrownell@users.sourceforge.net> Index: g26/MAINTAINERS =================================================================== --- g26.orig/MAINTAINERS 2007-02-28 12:46:00.000000000 -0800 +++ g26/MAINTAINERS 2007-02-28 12:47:58.000000000 -0800 @@ -2552,16 +2552,8 @@ ...
Feb 28, 4:14 pm 2007
Eric Colin de Verdiere
Need pci=assign-busses for Acer Aspire 9410
Hi, The computer seems to work well with and without pci=assign-busses. (I had to pass combined_mode=libata as kernel option, for otherwise DMA does not work and the hard disk is terribly slow.) I'm attaching dmesg output, without and with pci=assign-busses. Please ask me by e-mail if you need more informations. Eric
Feb 28, 3:28 pm 2007
Stephen Hemminger
Re: [PATCH 1/2] mv643xx_eth: move mac_addr inside of mv6 ...
On Wed, 28 Feb 2007 15:40:31 -0700 is_zero_ether_addr() is faster/cleaner for this -- Stephen Hemminger <shemminger@linux-foundation.org> -
Feb 28, 4:11 pm 2007
Dale Farnsworth
Re: [PATCH 1/2] mv643xx_eth: move mac_addr inside of mv6 ...
Thanks. I follow up with a modified patch in a day or two. -Dale -
Feb 28, 4:40 pm 2007
Dale Farnsworth
Re: [PATCH 2/2] mv643xx_eth: Place explicit port number ...
We had been using the platform_device.id field to identify which ethernet port is used for mv643xx_eth device. This is not correct in general. It will be incorrect, for example, if a hardware platform uses a single port but not the first port. Here, we add an explicit port_number field to struct mv643xx_eth_platform_data. This makes the mv643xx_eth_platform_data structure required, but that isn't an issue since all users currently provide it already. Signed-off-by: Dale Farnsworth ...
Feb 28, 3:47 pm 2007
Dale Farnsworth
[PATCH 1/2] mv643xx_eth: move mac_addr inside of mv643xx ...
The information contained within platform_data should be self-contained. Replace the pointer to a MAC address with the actual MAC address in struct mv643xx_eth_platform_data. Signed-off-by: Dale Farnsworth <dale@farnsworth.org> Index: b/drivers/net/mv643xx_eth.c =================================================================== --- a/drivers/net/mv643xx_eth.c +++ b/drivers/net/mv643xx_eth.c @@ -1380,7 +1380,9 @@ static int mv643xx_eth_probe(struct plat pd = pdev->dev.platform_data; ...
Feb 28, 3:40 pm 2007
Eric W. Biederman
Re: PID entries in /proc sorted by number, not start tim ...
Apologies, but this was a bug fix for a more serious issue. The code to report the directory entries by start time was fundamentally broken. In particular the sequence: opendir readdir readdir readdir .... closedir can miss processes that exist for the entire duration of that sequence. Which is non-posix, non-intuitive, and has no reasonable work around. The sorting by pid happened as a side effect of finding a stable token we can come back to so we can at least guarantee normal ...
Feb 28, 4:39 pm 2007
Chuck Ebbert
PID entries in /proc sorted by number, not start time in ...
Starting with kernel 2.6.19, the process directories in /proc are sorted by number. They were sorted by process start time in 2.6.18 and earlier. This makes the output of procps come out in that order too, pissing off users who are used to the old way. To reproduce: 1. Wrap your PID numbers. 2. Do ls -fl /proc 3. Look at output of ps command. Compare 2.6.18 to 2.6.19. See also: https://bugzilla.redhat.com/bugzilla/show_bug.cgi?id=230227 -
Feb 28, 3:27 pm 2007
Stephen Hemminger
Re: [PATCH] vlan & net drivers: avoid a 4-order allocation
On Wed, 28 Feb 2007 14:41:57 +0200 Please submit patch to proper place: netdev@vger.kernel.org and Ben Greear <greearb@candelatech.com> -- Stephen Hemminger <shemminger@linux-foundation.org> -
Feb 28, 3:20 pm 2007
Stephen Hemminger
Re: [PATCH] bonding: replace system timer with work queue
On Wed, 28 Feb 2007 10:12:01 +0100 (CET) You should submit network patches to the entry in the MAINTAINERS file. BONDING DRIVER P: Chad Tindel M: ctindel@users.sourceforge.net P: Jay Vosburgh M: fubar@us.ibm.com L: bonding-devel@lists.sourceforge.net W: http://sourceforge.net/projects/bonding/ This part will deadlock since it is not safe to cancel a workqueue entry with RTNL mutex held. The cancel operation has to wait for the workqueue to run, and the entry being run maybe stuck ...
Feb 28, 3:18 pm 2007
Andrew Morton Feb 28, 3:00 pm 2007
Gerhard Mack
solved Re: 2.6.20 SATA error
I was reaching inside my computer to check something and heared the thing click and got the same error message. Turns out the adaptor that goes between SATA drive and the old style power connector was loose on the drive side. Doesn't seem to me like it was very snug fitting to begin with. I changed it to one of the proper SATA connectors comming off the power supply and it doesn't do that anymore. Sorry for the false alarm, Gerhard -- Gerhard Mack gmack@innerfire.net <>< ...
Feb 28, 2:55 pm 2007
Ingo Molnar
[patch 07/12] syslets: x86, add create_async_thread() method
From: Ingo Molnar <mingo@elte.hu> add the create_async_thread() way of creating kernel threads: these threads first execute a kernel function and when they return from it they execute user-space. An architecture must implement this interface before it can turn CONFIG_ASYNC_SUPPORT on. Signed-off-by: Ingo Molnar <mingo@elte.hu> Signed-off-by: Arjan van de Ven <arjan@linux.intel.com> --- arch/i386/kernel/entry.S | 25 +++++++++++++++++++++++++ arch/i386/kernel/process.c | 31 ...
Feb 28, 2:42 pm 2007
Ingo Molnar
[patch 00/12] Syslets, Threadlets, generic AIO support, v5
this is the v5 release of the syslet/threadlet subsystem: http://redhat.com/~mingo/syslet-patches/ this release took 4 days to get out, but there were a couple of key changes that needed some time to settle down: - ported the code from v2.6.20 to current -git (v2.6.20-rc2 should be fine as a base) - 64-bit support in terms of a x86_64 port. Jens has updated the FIO syslet code to work on 64-bit too. (kernel/async.c was pretty 64-bit clean already, it needed minimal ...
Feb 28, 2:39 pm 2007
Ingo Molnar
[patch 11/12] syslets: x86, wire up the syslet system calls
From: Ingo Molnar <mingo@elte.hu> wire up the new syslet / async system call syscalls and make it thus available to user-space. Signed-off-by: Ingo Molnar <mingo@elte.hu> Signed-off-by: Arjan van de Ven <arjan@linux.intel.com> --- arch/i386/kernel/syscall_table.S | 6 ++++++ include/asm-i386/unistd.h | 8 +++++++- 2 files changed, 13 insertions(+), 1 deletion(-) Index: ...
Feb 28, 2:42 pm 2007
Ingo Molnar
[patch 04/12] syslets: core code
From: Ingo Molnar <mingo@elte.hu> the core syslet / async system calls infrastructure code. Is built only if CONFIG_ASYNC_SUPPORT is enabled. Signed-off-by: Ingo Molnar <mingo@elte.hu> Signed-off-by: Arjan van de Ven <arjan@linux.intel.com> --- kernel/Makefile | 1 kernel/async.c | 989 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++ 2 files changed, 990 insertions(+) Index: linux/kernel/Makefile =================================================================== --- ...
Feb 28, 2:41 pm 2007
Ingo Molnar
[patch 03/12] syslets: generic kernel bits
From: Ingo Molnar <mingo@elte.hu> add the kernel generic bits - these are present even if !CONFIG_ASYNC_SUPPORT. Signed-off-by: Ingo Molnar <mingo@elte.hu> Signed-off-by: Arjan van de Ven <arjan@linux.intel.com> --- fs/exec.c | 4 ++++ include/linux/sched.h | 23 ++++++++++++++++++++++- kernel/capability.c | 3 +++ kernel/exit.c | 7 +++++++ kernel/fork.c | 5 +++++ kernel/sched.c | 9 +++++++++ kernel/sys.c | 36 ...
Feb 28, 2:41 pm 2007
Ingo Molnar
[patch 12/12] syslets: x86_64: add syslet/threadlet support
From: Ingo Molnar <mingo@elte.hu> add the arch specific bits of syslet/threadlet support to x86_64. Signed-off-by: Ingo Molnar <mingo@elte.hu> --- arch/x86_64/Kconfig | 4 ++ arch/x86_64/ia32/ia32entry.S | 20 ++++++++++- arch/x86_64/kernel/entry.S | 72 ++++++++++++++++++++++++++++++++++++++++- arch/x86_64/kernel/process.c | 11 ++++++ include/asm-x86_64/processor.h | 16 +++++++++ include/asm-x86_64/system.h | 12 ++++++ include/asm-x86_64/unistd.h ...
Feb 28, 2:42 pm 2007
Ingo Molnar
[patch 09/12] syslets: x86, mark async unsafe syscalls
From: Ingo Molnar <mingo@elte.hu> mark clone() and fork() as not available for async execution. Both need an intact user context beneath them to work. Signed-off-by: Ingo Molnar <mingo@elte.hu> Signed-off-by: Arjan van de Ven <arjan@linux.intel.com> --- arch/i386/kernel/ioport.c | 6 ++++++ arch/i386/kernel/ldt.c | 3 +++ arch/i386/kernel/process.c | 6 ++++++ arch/i386/kernel/vm86.c | 6 ++++++ 4 files changed, 21 insertions(+) Index: ...
Feb 28, 2:42 pm 2007
Ingo Molnar
[patch 08/12] syslets: x86, add move_user_context() method
From: Ingo Molnar <mingo@elte.hu> add the move_user_context() method to move the user-space context of one kernel thread to another kernel thread. User-space might notice the changed TID, but execution, stack and register contents (general purpose and FPU) are still the same. An architecture must implement this interface before it can turn CONFIG_ASYNC_SUPPORT on. Signed-off-by: Ingo Molnar <mingo@elte.hu> Signed-off-by: Arjan van de Ven <arjan@linux.intel.com> --- ...
Feb 28, 2:42 pm 2007
Ingo Molnar
[patch 02/12] syslets: add syslet.h include file, user A ...
From: Ingo Molnar <mingo@elte.hu> add include/linux/syslet.h which contains the user-space API/ABI declarations. Add the new header to include/linux/Kbuild as well. Signed-off-by: Ingo Molnar <mingo@elte.hu> Signed-off-by: Arjan van de Ven <arjan@linux.intel.com> --- include/linux/Kbuild | 1 include/linux/syslet.h | 155 +++++++++++++++++++++++++++++++++++++++++++++++++ 2 files changed, 156 insertions(+) Index: ...
Feb 28, 2:41 pm 2007
Ingo Molnar
[patch 06/12] x86: split FPU state from task state
From: Arjan van de Ven <arjan@linux.intel.com> Split the FPU save area from the task struct. This allows easy migration of FPU context, and it's generally cleaner. It also allows the following two (future) optimizations: 1) allocate the right size for the actual cpu rather than 512 bytes always 2) only allocate when the application actually uses FPU, so in the first lazy FPU trap. This could save memory for non-fpu using apps. Signed-off-by: Arjan van de Ven ...
Feb 28, 2:41 pm 2007
Ingo Molnar
[patch 05/12] syslets: core, documentation
From: Ingo Molnar <mingo@elte.hu> Add Documentation/syslet-design.txt with a high-level description of the syslet concepts. Signed-off-by: Ingo Molnar <mingo@elte.hu> Signed-off-by: Arjan van de Ven <arjan@linux.intel.com> --- Documentation/syslet-design.txt | 137 ++++++++++++++++++++++++++++++++++++++++ 1 file changed, 137 insertions(+) Index: linux/Documentation/syslet-design.txt =================================================================== --- /dev/null +++ ...
Feb 28, 2:41 pm 2007
Ingo Molnar
[patch 01/12] syslets: add async.h include file, kernel- ...
From: Ingo Molnar <mingo@elte.hu> add include/linux/async.h which contains the kernel-side API declarations. it also provides NOP stubs for the !CONFIG_ASYNC_SUPPORT case. Signed-off-by: Ingo Molnar <mingo@elte.hu> Signed-off-by: Arjan van de Ven <arjan@linux.intel.com> --- include/linux/async.h | 88 ++++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 88 insertions(+) Index: ...
Feb 28, 2:41 pm 2007
Ingo Molnar
[patch 10/12] syslets: x86: enable ASYNC_SUPPORT
From: Ingo Molnar <mingo@elte.hu> enable CONFIG_ASYNC_SUPPORT on x86. Signed-off-by: Ingo Molnar <mingo@elte.hu> Signed-off-by: Arjan van de Ven <arjan@linux.intel.com> --- arch/i386/Kconfig | 4 ++++ 1 file changed, 4 insertions(+) Index: linux/arch/i386/Kconfig =================================================================== --- linux.orig/arch/i386/Kconfig +++ linux/arch/i386/Kconfig @@ -55,6 +55,10 @@ config ZONE_DMA bool default y +config ...
Feb 28, 2:42 pm 2007
Alexey Dobriyan
[PATCH] x86_64: shut up vm86(2)
>From originally rate-limited printk, to just printk, to current version. Everybody had enough time to learn about vm86(2) absense. Also remove possibility of dmesg spamming. Signed-off-by: Alexey Dobriyan <adobriyan@gmail.com> --- arch/x86_64/ia32/ia32entry.S | 4 ++-- arch/x86_64/ia32/sys_ia32.c | 12 ------------ 2 files changed, 2 insertions(+), 14 deletions(-) --- a/arch/x86_64/ia32/ia32entry.S +++ b/arch/x86_64/ia32/ia32entry.S @@ -512,7 +512,7 @@ #endif .quad ...
Feb 28, 2:40 pm 2007
Oleg Nesterov
[PATCH] worker_thread: don't play with signals
worker_thread() doesn't need to "Block and flush all signals", this was already done by its caller, kthread(). Signed-off-by: Oleg Nesterov <oleg@tv-sign.ru> --- 6.20-rc6-mm3/kernel/workqueue.c~signals 2007-02-20 02:21:11.000000000 +0300 +++ 6.20-rc6-mm3/kernel/workqueue.c 2007-02-28 23:58:11.000000000 +0300 @@ -290,18 +290,11 @@ static int worker_thread(void *__cwq) struct cpu_workqueue_struct *cwq = __cwq; DEFINE_WAIT(wait); struct k_sigaction sa; - sigset_t blocked; if ...
Feb 28, 2:04 pm 2007
Tim Gardner
Resume from S2R fails after dpm_resume()
Gentlemen, I instrumented 2.6.21-rc1 base/power/resume.c device_resume() with TRACE_RESUME(0) as the last statement in the function. Sure enough it was the last hash value in the RTC after a hard reboot when resume failed: [ 12.028820] hash matches drivers/base/power/resume.c:104 The machine appears to be absolutely wedged after initiating resume by pressing the power button. The disk flashes for a half second or so, then thats it. It is a Dell XPS, BIOS rev A04. I'm using 'echo 1 > ...
Feb 28, 1:35 pm 2007
Dave Jones
Fix mv643xx_eth compilation.
Commit 908b637fe793165b6aecdc875cdca67c4959a1ad removed ETH_DMA_ALIGN but missed a usage of it in a macro, which broke the build. Signed-off-by: Dave Jones <davej@redhat.com> diff --git a/drivers/net/mv643xx_eth.h b/drivers/net/mv643xx_eth.h index 7cb0a41..7d4e90c 100644 --- a/drivers/net/mv643xx_eth.h +++ b/drivers/net/mv643xx_eth.h @@ -9,6 +9,8 @@ #include <linux/mv643xx.h> +#include <asm/dma-mapping.h> + /* Checksum offload for Tx works for most packets, but * fails if ...
Feb 28, 1:41 pm 2007
Lasse Collin
[PATCH] i386: Fix usage of -mtune when X86_GENERIC=y or ...
Two fixes to arch/i386/Makefile.cpu: 1) When X86_GENERIC=y is set, use -mtune=i686 if $(CC) doesn't support -mtune=generic. GCC 4.1.2 and earlier don't support -mtune=generic. When building a generic kernel for a distro that runs on i586 and better, it is nice to use -march=i586 -mtune=i686 instead of plain -march=i586. 2) Use $(call tune) instead of hardcoded -mtune when CONFIG_MCORE2=y. This makes it possible to have CONFIG_MCORE2=y when using GCC 3.3, which uses -mcpu ...
Feb 28, 1:17 pm 2007
Adam Litke
Kernel Oops with shm namespace cleanups
Hey. While testing 2.6.21-rc2 with libhugetlbfs, the shm-fork test case causes the kernel to oops. To reproduce: Execute 'make check' in the latest libhugetlbfs source on a 2.6.21-rc2 kernel with 100 huge pages allocated. Using fewer huge pages will likely also trigger the oops. Libhugetlbfs can be downloaded from: http://libhugetlbfs.ozlabs.org/snapshots/libhugetlbfs-dev-20070228.tar.gz I have collected the following information: bc56bba8f31bd99f350a5ebfd43d50f411b620c7 is first bad ...
Feb 28, 1:13 pm 2007
John Keller
[PATCH 1/1] - platform_kernel_launch_event is noop on ge ...
Add a missing #define for the platform_kernel_launch_event. Without this fix, a call to platform_kernel_launch_event() becomes a noop on generic kernels. SN systems require this fix to successfully kdump/kexec from certain hardware errors. Signed-off-by: John Keller <jpk@sgi.com> --- Index: linux-2.6/include/asm-ia64/machvec.h =================================================================== --- linux-2.6.orig/include/asm-ia64/machvec.h 2007-02-28 08:39:45.764537727 -0600 +++ ...
Feb 28, 12:45 pm 2007
Richard Purdie
[PATCH 4/5] jffs2: Add a "favourlzo" compression mode to jffs2
Add a "favourlzo" compression mode to jffs2 which tries to optimise by size but gives lzo an advantage when comparing sizes. This means the faster lzo algorithm can be preferred when there isn't much difference in compressed size (the exact threshold can be changed). Signed-off-by: Richard Purdie <rpurdie@openedhand.com> --- fs/Kconfig | 7 +++++++ fs/jffs2/compr.c | 51 ++++++++++++++++++++++++++++++++++++++++++++++----- fs/jffs2/compr.h | 3 +++ 3 files changed, 56 ...
Feb 28, 12:13 pm 2007
Richard Purdie
[PATCH 3/5] crypto: Add LZO compression support to the c ...
Add LZO1X compression support to the crypto interface, including a couple of tests. Also convert test_deflate into a more generic test_compress() and avoid duplicating the data for compression and decompression tests since this can always work both ways in the compression case. Signed-off-by: Richard Purdie <rpurdie@openedhand.com> --- crypto/Kconfig | 8 +++ crypto/Makefile | 1 crypto/lzo.c | 120 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++ crypto/tcrypt.c | ...
Feb 28, 12:13 pm 2007
Richard Purdie
Re: [PATCH 5/5] jffs2: Allow selection of compression mo ...
Further down the patch you'll see: + kset_set_kset_s(&jffs2_subsys, fs_subsys); There was a reason for doing that instead using fs_subsys in the above although I can't remember why offhand. I did try it and it didn't work as expected... Regards, Richard -
Feb 28, 1:56 pm 2007
Artem Bityutskiy
Re: [PATCH 5/5] jffs2: Allow selection of compression mo ...
Hi Richard, There is actually a file-system subsys - look up for fs_subsys. It is declared at fs/namespace.c. -- Best regards, Artem Bityutskiy (Битюцкий Артём) -
Feb 28, 12:39 pm 2007
Richard Purdie
[PATCH 5/5] jffs2: Allow selection of compression mode v ...
Allow selection of the compression mode for jffs2 via a sysfs attribute. This establishes a sysfs presence for jffs2 through which other compression options could easily be exported too. Signed-off-by: Richard Purdie <rpurdie@openedhand.com> --- fs/jffs2/compr.c | 131 +++++++++++++++++++++++++++++++++++++++---------------- 1 file changed, 94 insertions(+), 37 deletions(-) Index: linux/fs/jffs2/compr.c =================================================================== --- ...
Feb 28, 12:13 pm 2007
Richard Purdie
[PATCH 2/5] jffs2: Add LZO compression support to jffs2
Add LZO1X compression/decompression support to jffs2. LZO's interface doesn't entirely match that required by jffs2 so a buffer and memcpy is unavoidable. Signed-off-by: Richard Purdie <rpurdie@openedhand.com> --- fs/Kconfig | 10 ++++ fs/jffs2/Makefile | 1 fs/jffs2/compr.c | 6 ++ fs/jffs2/compr.h | 3 - fs/jffs2/compr_lzo.c | 120 ++++++++++++++++++++++++++++++++++++++++++++++++++ include/linux/jffs2.h | 1 6 files changed, 140 ...
Feb 28, 12:13 pm 2007
Richard Purdie
[PATCH 1/5] Add LZO compression support to the kernel
Add LZO1X compression/decompression support to the kernel. This is based on the standard userspace lzo library, particularly minilzo with the headers much trimmed down and simplified for kernel use. Its structured so that it should still diff with the userspace version for ease of future updating. Signed-off-by: Richard Purdie <rpurdie@openedhand.com> --- include/linux/lzo.h | 63 + lib/Kconfig | 5 lib/Makefile | 1 lib/lzo/Makefile | 3 ...
Feb 28, 12:13 pm 2007
Artem Bityutskiy
Re: [PATCH 0/5] Add LZO Compression
Providing the digits are accurate, this is very good stuff. -- Best regards, Artem Bityutskiy (Битюцкий Артём) -
Feb 28, 12:43 pm 2007
Richard Purdie
[PATCH 0/5] Add LZO Compression
The following patch series adds LZO compression support to the kernel and exposes it in a variety of places (jffs2, crypto). This is particularly useful for jffs2 where significant boot time speedups (~10%) and file read speed improvements (~40%) are seen when its used with only a slight drop in file compression ratio. It also adds a favourlzo mode to jffs2 which is similar to the existing size mode but lets lzo compression win if the lzo compressed size is "similar" to but not the best ...
Feb 28, 12:13 pm 2007
H. Peter Anvin
Re: lanana: Add major/minor entries for PPC QE UART devices
That sounds like more hassle than it's worth. The discontinuous range may be annoying, but it isn't really a huge amount of code. -hpa -
Feb 28, 12:27 pm 2007
Segher Boessenkool
Re: lanana: Add major/minor entries for PPC QE UART devices
Another option is to use 46..49 for UARTs #0..3, and 192..195 for UARTs #4..7. Or, perhaps better, use 46..49 for #0..3, and 192..199 for #0..7, handling the duplication in the driver; and deprecate the old range. Segher -
Feb 28, 12:25 pm 2007
Segher Boessenkool
Re: lanana: Add major/minor entries for PPC QE UART devices
Yeah. My suggestion would allow to get rid of that extra code some day, though (but sure, is that worth it?) Segher -
Feb 28, 12:45 pm 2007
Jan Engelhardt Feb 28, 3:40 pm 2007
David Miller
Re: [PATCH] SLUB The unqueued slab allocator V3
From: David Miller <davem@davemloft.net> False alarm! This crash was actually due to an unrelated problem in the parport_pc driver on my machine. Slub v3 boots up and seems to work fine so far on sparc64. -
Feb 28, 3:17 pm 2007
David Miller
Re: [PATCH] SLUB The unqueued slab allocator V3
From: Christoph Lameter <clameter@engr.sgi.com> V3 doesn't boot successfully on sparc64, sorry I don't have the ability to track this down at the moment since it resets the machine right as the video device is initialized and after diffing V2 to V3 there is way too much stuff changing for me to try and "bisect" between V2 to V3 to find the guilty sub-change. Maybe if you managed your individual changes in GIT or similar this could be debugged very quickly. :-) Meanwhile I noticed that your ...
Feb 28, 3:00 pm 2007
Christoph Lameter
[PATCH] SLUB The unqueued slab allocator V3
V2->V3 - Debugging and diagnostic support. This is runtime enabled and not compile time enabled. Runtime debugging can be controlled via kernel boot options on an individual slab cache basis or globally. - Slab Trace support (For individual slab caches). - Resiliency support: If basic sanity checks are enabled (via F f.e.) (boot option) then SLUB will do the best to perform diagnostics and then continue (i.e. mark corrupted objects as used). - Fix up numerous issues including clash of ...
Feb 28, 12:20 pm 2007
Prarit Bhargava
[PATCH]: Fix __init declarations in Compaq SMART2 Contro ...
Fix __init declarations in Compaq SMART2 Controller driver. Resolves MODPOST warnings similar to: WARNING: drivers/block/cpqarray.o - Section mismatch: reference to .init.text:cpqarray_init_one from .data.rel.local between 'cpqarray_pci_driver' (at offset 0x20) and 'smart1_access' Signed-off-by: Prarit Bhargava <prarit@redhat.com> --- linux-2.6.18.ia64.orig/drivers/block/cpqarray.c 2007-02-14 11:36:20.000000000 -0500 +++ linux-2.6.18.ia64/drivers/block/cpqarray.c 2007-02-14 ...
Feb 28, 12:24 pm 2007
Timur Tabi
Re: lanana: Add major/minor entries for PPC QE UART devices
Assuming that this is the agreed-upon standard, should I arbitrarily restrict my driver to 4 ports, or allow all 8? I assume that if a driver already claims a particular major/minor combo, then when the 2nd driver calls uart_add_one_port(), that call will fail? -- Timur Tabi Linux Kernel Developer @ Freescale -
Feb 28, 12:21 pm 2007
Timur Tabi
Re: lanana: Add major/minor entries for PPC QE UART devices
Eh, I'm not crazy about that. That means that I have to complicate my driver because someone else screwed up a long time ago. -- Timur Tabi Linux Kernel Developer @ Freescale -
Feb 28, 12:30 pm 2007
H. Peter Anvin
Re: lanana: Add major/minor entries for PPC QE UART devices
Right, it means two tty driver structures, but that's not a problem. -hpa -
Feb 28, 12:21 pm 2007
Dan Malek
Re: lanana: Add major/minor entries for PPC QE UART devices
Please, let's just leave the four we have and let the driver just allocate increasing minor numbers. If anyone has a product with more than 4 UARTs, they will have to figure out what to do with the additional minors. We are making a very complicated problem out of nothing. This hasn't caused any problems in the past, and changing the existing names and minors will cause problems for everyone today. Just leave it alone, fix up the documentation, and have the driver print some warning ...
Feb 28, 1:57 pm 2007
Kumar Gala
Re: lanana: Add major/minor entries for PPC QE UART devices
If not you someone else. The cost in the driver is small compared to fixing up all the distro's and such. If you don't provide this change someone else will. - k -
Feb 28, 12:33 pm 2007
Timur Tabi
Re: lanana: Add major/minor entries for PPC QE UART devices
*sigh* What about major number 205? It also has the screwed-up /dev/ttyCPM entries, but it has more room, and the CPM driver doesn't actually use it. At least, I can't see where it uses it. -- Timur Tabi Linux Kernel Developer @ Freescale -
Feb 28, 12:43 pm 2007
Kumar Gala
Re: lanana: Add major/minor entries for PPC QE UART devices
Why don't we allocate the 2nd group of four as well, just at a new location. They'll be discontinuous, but at least we'll have support for all 8. - k -
Feb 28, 12:18 pm 2007
Segher Boessenkool
Re: lanana: Add major/minor entries for PPC QE UART devices
> Please, let's just leave the four we have Since you say no one has ever used more than 4 UARTs, there are two options: - Cap the driver at 4 UARTs; - Assign an extra range of minors for more ports. Just randomly using some extra minors that aren't assigned to you isn't such a great idea. Segher -
Feb 28, 3:08 pm 2007
Prarit Bhargava
[PATCH]: __init to __cpuinit in mtrr code
(Resending to wider audience) __init to __cpuinit in mtrr code. Resolves warnings similar to: WARNING: vmlinux - Section mismatch: reference to .init.text:mtrr_bp_init from .text between 'identify_cpu' (at offset 0xc040b38e) and 'detect_ht' Signed-off-by: Prarit Bhargava <prarit@redhat.com> diff --git a/arch/i386/kernel/cpu/mtrr/amd.c b/arch/i386/kernel/cpu/mtrr/amd.c index 0949cdb..375752a 100644 --- a/arch/i386/kernel/cpu/mtrr/amd.c +++ b/arch/i386/kernel/cpu/mtrr/amd.c @@ -112,7 ...
Feb 28, 12:08 pm 2007
Pete Zaitcev
Fix locking in mousedev
If a process is closing /dev/input/mice and an mouse disconnects simulta- neously, the system is likely to oops. This usually happens when someone hits <Alt><Ctrl>F1 or logs out from X, and flips a KVM while the system is reacting. I reproduced the issue by running this: while true; do cat </dev/null >/dev/input/mice; done This way, it oopses on 2nd or 3rd disconnect reliably. With the patch, I can disconnect the mouse 20 times. Signed-off-by: Pete Zaitcev ...
Feb 28, 12:06 pm 2007
Davide Libenzi
Re: [patch - v3] epoll ready set loops diet ...
Yes, look here: if (epi->event.events & EPOLLONESHOT) epi->event.events &= EP_PRIVATE_BITS; I don't think we can cleanly shove more stuff out of it. - Davide -
Feb 28, 12:23 pm 2007
Eric Dumazet
Re: [patch - v3] epoll ready set loops diet ...
Is the ( ... & epi->event.events) really necessary ? (It seems already done) I was wrong about the size of epitem : it is now 68 bytes instead of 72. At least we now use/dirty one cache line instead of two per epitem. Do you have another brilliant idea to shrink 4 more bytes ? :) It seems to me 'nwait' is only used at init time (so that ep_ptable_queue_proc() can signal an error occured). Maybe another mechanism could let us delete nwait from epitem ? We could use a field in ...
Feb 28, 12:09 pm 2007
Davide Libenzi
[patch - v3] epoll ready set loops diet ...
ChangeLog: v3) Removed the "revents" field from the epoll item structure, as suggested by Eric Dumazet v2) In v1, I was trying to avoid to get the spinlock twice WRT yesterday patch, but it turns out I can't since the ready list will be travelling through a path w/out the ep->sem held. Oh well... Epoll is doing multiple passes over the ready set at the moment, because of the constraints over the f_op->poll() call. Looking at the code again, I noticed that we already ...
Feb 28, 11:37 am 2007
Chuck Ebbert
Re: PROBLEM: null pointer dereference in cfq_dispatch_re ...
Never mind, those patches are already in 2.6.21-rc. -
Feb 28, 12:21 pm 2007
Chuck Ebbert
Re: PROBLEM: null pointer dereference in cfq_dispatch_re ...
cfq_dispatch_requests() has called cfq_dispatch_insert() with a NULL second argument (struct request *rq) There are two patches for raid5/6 out there that might fix this. I'll attach them (the second just fixes a minor bug in the first one.)
Feb 28, 11:49 am 2007
Dan Williams
Re: PROBLEM: null pointer dereference in cfq_dispatch_re ...
Here is the .config for 2.6.20. The only difference from the 2.6.21-rc2 config are the default selects. # # Automatically generated make config: don't edit # Linux kernel version: 2.6.20 # Tue Feb 27 23:44:38 ...
Feb 28, 11:18 am 2007
Dan Williams
PROBLEM: null pointer dereference in cfq_dispatch_reques ...
I can reliably reproduce a null pointer dereference on 2.6.20 and 2.6.21-rc2. I will keep digging to find the kernel version where this last worked, but wanted to see if there were any immediate experiments I should try. The failure is caused by running tiobench on a MD raid6 array with 6 out of 8 disks available. The commands I issued to reproduce this are: mdadm -A /dev/md0 /dev/sd[bcdefg] mount /dev/md0 /mnt/raid tiobench --numruns 5 --size 2048 --dir /mnt/raid The filesystem is ...
Feb 28, 11:02 am 2007
Jan-Bernd Themann
[PATCH 2/2] ehea: NAPI multi queue TX/RX path for SMP
This patch provides a functionality that allows parallel RX processing on multiple RX queues by using dummy netdevices. Signed-off-by: Jan-Bernd Themann <themann@de.ibm.com> --- diff -Nurp -X dontdiff linux-2.6.21-rc1/drivers/net/ehea/ehea.h patched_kernel/drivers/net/ehea/ehea.h --- linux-2.6.21-rc1/drivers/net/ehea/ehea.h 2007-02-28 18:20:06.000000000 +0100 +++ patched_kernel/drivers/net/ehea/ehea.h 2007-02-28 18:21:23.000000000 +0100 @@ -39,7 +39,7 @@ #include <asm/io.h> ...
Feb 28, 10:34 am 2007
Jan-Bernd Themann
[PATCH 1/2] ehea: dynamic add / remove port
This patch introduces functionality to dynamically add / remove ehea ports via an userspace DLPAR tool. It creates a subnode for each logical port in the sysfs. Signed-off-by: Jan-Bernd Themann <themann@de.ibm.com> --- diff --git a/drivers/net/ehea/ehea.h b/drivers/net/ehea/ehea.h index 42295d6..e595d6b 100644 --- a/drivers/net/ehea/ehea.h +++ b/drivers/net/ehea/ehea.h @@ -39,7 +39,7 @@ #include <asm/abs_addr.h> #include <asm/io.h> #define DRV_NAME "ehea" -#define ...
Feb 28, 10:34 am 2007
Jan-Bernd Themann
[PATCH 0/2] ehea: dynamic port & SMP support
Hi, this version has the issues fixed which were mentioned by Patrick McHardy. The patch set includes two patches against linux-2.6.21-rc1: - dynamic add / remove port: Interface has been discussed and approved by John Rose (see: http://www.spinics.net/lists/netdev/msg25327.html) - NAPI multi queue TX/RX path for SMP: Integrated comments from mailing list (R. Dreier) As soon as discussions about "splitting NAPI from netdevice" have settled and this functionality is in ...
Feb 28, 10:33 am 2007
Michael Hanselmann
Re: fix implicit declaration in nv_backlight.
Is __powerpc__ defined when cross compiling? I'd rather use CONFIG_PMAC_BACKLIGHT instead of it. Greets, Michael -
Feb 28, 2:13 pm 2007
Dave Jones
Re: fix implicit declaration in nv_backlight.
On Wed, Feb 28, 2007 at 10:13:24PM +0100, Michael Hanselmann wrote: > On Wed, Feb 28, 2007 at 12:36:25PM -0500, Dave Jones wrote: > > +#ifdef __powerpc__ > > Is __powerpc__ defined when cross compiling? I'd rather use > CONFIG_PMAC_BACKLIGHT instead of it. Sounds ok to me. Dave -- http://www.codemonkey.org.uk -
Feb 28, 2:26 pm 2007
Antonino A. Daplas Feb 28, 2:44 pm 2007
Dave Jones
fix implicit declaration in nv_backlight.
drivers/video/nvidia/nv_backlight.c: In function 'nvidia_bl_init': drivers/video/nvidia/nv_backlight.c:103: error: implicit declaration of function 'pmac_has_backlight_type' Signed-off-by: Dave Jones <davej@redhat.com> --- linux-2.6.20.noarch/drivers/video/nvidia/nv_backlight.c~ 2007-02-20 22:25:15.000000000 -0500 +++ linux-2.6.20.noarch/drivers/video/nvidia/nv_backlight.c 2007-02-20 22:25:31.000000000 -0500 @@ -12,6 +12,9 @@ #include <linux/backlight.h> #include <linux/fb.h> #include ...
Feb 28, 10:36 am 2007
Michael Halcrow Feb 28, 11:51 am 2007
Dmitriy Monakhov
[PATCH] ecryptfs: check xattr operation support fix
- ecryptfs_write_inode_size_to_metadata() error code was ignored. - i_op->setxattr() must be supported by lower fs because used below. Signed-off-by: Monakhov Dmitriy <dmonakhov@openvz.org> --- fs/ecryptfs/inode.c | 6 +++--- fs/ecryptfs/mmap.c | 3 ++- 2 files changed, 5 insertions(+), 4 deletions(-) diff --git a/fs/ecryptfs/inode.c b/fs/ecryptfs/inode.c index 27fd14a..9ccefad 100644 --- a/fs/ecryptfs/inode.c +++ b/fs/ecryptfs/inode.c @@ -168,9 +168,9 @@ static int ...
Feb 28, 10:05 am 2007
Hoang-Nam Nguyen
[PATCH 2.6.21-rc2] ehca: fix mismatched sync between com ...
This patch fixes two issues reported by Roland and Christoph H.: - Mismatched sync/locking between completion handler and destroy cq We introduced a counter nr_events per cq to track number of irq events seen. This counter is incremented when an event queue entry is seen and decremented after completion handler has been called regardless if scaling code is active or not. Note that nr_callbacks tracks number of events assigned to a cpu and both counters can potentially diverge. The ...
Feb 28, 10:01 am 2007
Dmitriy Monakhov
[PATCH][RFC] ext3: Handle ext[34]_journal_stop() failure
Where are many places where xxxx_journal_stop() return code wasn't checked. Off cause xxxx_journal_stop() failed very rarely (and usually with fatal consequences), but this does'n meen it should not be checked. For example most retry loops looks like follows: ext3_journal_stop(handle); if (err == -ENOSPC && ext3_should_retry_alloc(dir->i_sb, &retries)) goto retry; It is realy insane do "retry" if ext3_journal_stop() has failed, because this may increase damage in case of real ...
Feb 28, 9:46 am 2007
Alex Romosan
2.6.21-rc2 radeon backlight
the backlight on my thinkpad still (2.6.20 worked fine) doesn't come on if i have the radeon backlight enabled. without it, i guess it's the ibm acpi modules that controls the backlight and it seems to work fine. --alex-- -- | I believe the moment is at hand when, by a paranoiac and active | | advance of the mind, it will be possible (simultaneously with | | automatism and other passive states) to systematize confusion | | and thus to help to discredit completely the world of reality. ...
Feb 28, 9:32 am 2007
Sid Boyce
Re: 2.6.21-rc1 and 2.6.21-rc2 kwin dies silently
>>/ openSUSE 10.3 Alpha and KDE-3.5.6, xorg-x11-7.2. KDE is setup not to/ >>/ require a password to unlock, but it asks for password. When the screen/ >>/ unlocks, kwin is gone with no errors logged in /var/log/kdm or/ >>/ /var/log/messages. No problems with 2.6.20./ >> >>/ Same problem on openSUSE 10.2 x86_64, KDE-3.5.5 and 2.6.21-rc2./ >>/ Regards/ >>/ Sid./ > This is the linux kernel mailing list. Perhaps you should post your problem to > the opensuse mailing list. > > ...
Feb 28, 9:24 am 2007
Morrison, Tom
[PATCH]Support for Marvell 7042 Chip
Added Support for Marvell 7042 Chip - 7042 has same capabilities & behavior as 6042. Patch based upon stable Linux 2.6.20.1 Kernel Tree... Signed-off-by: Thomas A. Morrison <tmorrison@empirix.com> ---- --- drivers/ata/sata_mv.c.orig 2007-02-20 01:34:32.000000000 -0500 +++ drivers/ata/sata_mv.c 2007-02-28 10:22:03.000000000 -0500 @@ -546,6 +546,9 @@ static const struct pci_device_id mv_pci { PCI_VDEVICE(TTI, 0x2310), chip_7042 }, + /* add Marvell 7042 support */ + { ...
Feb 28, 8:53 am 2007
Tomas Carnecky
Re: 2.6.20 SATA error
Hm.. my shuttle box has only a 350W power supply, that could indeed be the problem, as I have an Athlon 64 X2 4400+ CPU (dual core), two SATA-II 500GB harddrives and a GeForce 7800GTX. Damn.. I thought I payed attention to the power supply when I bought the components for my computer :( tom -
Feb 28, 8:42 am 2007
auxsvr
Re: 2.6.21-rc1 and 2.6.21-rc2 kwin dies silently
This is the linux kernel mailing list. Perhaps you should post your problem to the opensuse mailing list. Regards -
Feb 28, 9:05 am 2007
Sid Boyce
2.6.21-rc1 and 2.6.21-rc2 kwin dies silently
openSUSE 10.3 Alpha and KDE-3.5.6, xorg-x11-7.2. KDE is setup not to require a password to unlock, but it asks for password. When the screen unlocks, kwin is gone with no errors logged in /var/log/kdm or /var/log/messages. No problems with 2.6.20. Same problem on openSUSE 10.2 x86_64, KDE-3.5.5 and 2.6.21-rc2. Regards Sid. -- Sid Boyce ... Hamradio License G3VBV, Licensed Private Pilot Emeritus IBM/Amdahl Mainframes and Sun/Fujitsu Servers Tech Support Specialist, Cricket Coach Microsoft ...
Feb 28, 8:19 am 2007
Hugh Dickins
Re: struct page field arrangement
Overlaying lru is a problem for for those architectures which use kmem_cache_alloc for their pagetables: arm26, powerpc, sparc64 and perhaps others (I just grepped quickly through include/asm*, didn't follow up those who have extern functions): since slab reuses the lru fields for its own purposes. Could perhaps be stacked somehow. Overlaying index is fairly straightforward: the index field is fair game. In my original patches I did overlay index, but Andrew was strongly averse to the way I ...
Feb 28, 2:08 pm 2007
Jan Beulich
struct page field arrangement
A change early last year reordered struct page so that ptl overlaps not only private, but also mapping. Since spinlock_t can be much larger, I'm wondering whether there's a reason to not also overlay the space index and lru take - are these used for anything on page table pages? Thanks, Jan -
Feb 28, 7:31 am 2007
Chuck Ebbert
Wanted: simple, safe x86 stack overflow detection
Can we just put a canary in the threadinfo and check it on every task switch? What are the drawbacks? -
Feb 28, 7:27 am 2007
Andi Kleen
Re: Wanted: simple, safe x86 stack overflow detection
Likely already too late then -- if critical state is overwritten you crashed before. Also a lot of stack intensive codes relatively large unused holes so it might miss the canary completely Anyways if you want a crash on context switch in the non hole case you can probably get it by just rearranging thread_info a bit. e.g. put preempt_count first. Any corruption of that will lead to schedule complaining. Don't think it is worth it though. I suppose one could have a ...
Feb 28, 1:41 pm 2007
Bill Irwin
Re: Wanted: simple, safe x86 stack overflow detection
I don't know about the rest of the world, but halting the system in the case of memory corruption sounds like an extremely good idea to me. -- wli -
Feb 28, 4:20 pm 2007
Bill Irwin
Re: Wanted: simple, safe x86 stack overflow detection
Panic on oops/bug is sysctl-activated as things now stand, so you're all set. -- wli -
Feb 28, 4:45 pm 2007
Jan Engelhardt
Re: Wanted: simple, safe x86 stack overflow detection
Just because a rather "unimportant" driver (e.g. parport) might oops thanks to a now-invalid address after memory corruption, I'd still like to shutdown the system normally - which should be possible when not using parport after said corruption. Jan -- ft: http://freshmeat.net/p/chaostables/ -
Feb 28, 4:36 pm 2007
Thiago Galesi
Re: Wanted: simple, safe x86 stack overflow detection
I guess most stack corruptions touch only a small part of the stack. These kinds of corruptions can only be detected from inside the program. Anyway, going beyond the program's stack boundaries would fault the program. Checking the threadinfo constantly it'll be (IMHO) mostly useless... -- - Thiago Galesi -
Feb 28, 9:31 am 2007
Tomas Carnecky
Re: 2.6.20 SATA error
I have the same problem, though it appears randomly. It seems like the chances for this happening are bigger if I do heavy disk I/O. The only way to fix that is to shut down the computer and wait a few seconds before rebooting (if I don't wait, the problem doesn't go away). I bought new harddrives, so it's most likely not caused by the drives, I also tried putting the drives onto a different controller (I have four on-board SATA controller and two harddrives), that didn't help either, so ...
Feb 28, 8:13 am 2007
Robert Hancock
Re: 2.6.20 SATA error
Some command timed out, apparently. From this one can't easily say why. Please send full dmesg. -- Robert Hancock Saskatoon, SK, Canada To email, remove "nospam" from hancockr@nospamshaw.ca Home Page: http://www.roberthancock.com/ -
Feb 28, 7:20 am 2007
Gerhard Mack
Re: 2.6.20 SATA error
Linux version 2.6.20 (root@mgerhard) (gcc version 4.1.2 20061115 (prerelease) (Debian 4.1.1-21)) #10 SMP PREEMPT Mon Feb 26 14:48:53 EST 2007 Command line: root=/dev/sda3 ro BIOS-provided physical RAM map: BIOS-e820: 0000000000000000 - 000000000009f000 (usable) BIOS-e820: 000000000009f000 - 00000000000a0000 (reserved) BIOS-e820: 00000000000f0000 - 0000000000100000 (reserved) BIOS-e820: 0000000000100000 - 000000003def0000 (usable) BIOS-e820: 000000003def0000 - 000000003def3000 (ACPI ...
Feb 28, 7:38 am 2007
Gerhard Mack
Re: 2.6.20 SATA error
Well that's the strange thing.. I've done heavy I/O on this with no trouble. This happened overnight when my system should have been mostly idle Gerhard -- Gerhard Mack gmack@innerfire.net <>< As a computer I find your faith in technology amusing. -
Feb 28, 8:02 am 2007
Christopher Meller
Question on tty line discipline
Hi, I have a question concerning the line discipline behaviour for serial devices. When the line discipline is set via ioctl from user space to e.g. N_PPP and the userspace program returns without resetting the line discipline back to N_TTY, the serial device cannot be used (ENODV) until an appropriate ioctl (to N_TTY) is performed. Is there any reason for the fact that the line discipline is not reset by the kernel , when closing the device. Could you please CC me on answers and comments ...
Feb 28, 6:47 am 2007
Alan
Re: Question on tty line discipline
On Wed, 28 Feb 2007 14:47:12 +0100 No special reason, it has simply always been that way. Getty and friends are expected to put the tty back into a sane state. -
Feb 28, 8:37 am 2007
Tommi Kyntola
[RFC][PATCH] intel8x0: revert regression that broke soun ...
The regression in 2.6.19-rc3 (namely 30b35399ceb2398d05837863476dcb12f12f3a82, "[ALSA] Various fixes for suspend/resume of ALSA PCI drivers"), broke HP nw8000 speaker sounds after S3 suspend (headphones still worked). Removing this line makes the sounds work again... Signed-off-by: Tommi Kyntola <tommi.kyntola@ray.fi> --- This is a FYI kinda message, which Rafael Wysocki asekd me to send, and something that is clearly not the correct way to go with this, but I was unable to locate the actual ...
Feb 28, 7:09 am 2007
Joerg Roedel
[PATCH 1/4] i386: extend alternative instructions framework
From: Joerg Roedel <joerg.roedel@amd.com> This patch extends the alternative instructions framework to support 2 alternative instructions. Signed-off-by: Joerg Roedel <joerg.roedel@amd.com> -- Joerg Roedel Operating System Research Center AMD Saxony LLC & Co. KG
Feb 28, 7:14 am 2007
Joerg Roedel
[PATCH 2/4] x86_64: changes to x86_64 architecture for a ...
From: Joerg Roedel <joerg.roedel@amd.com> In this patch updates the x86_64 architecture to work with the changes to alternative instructions in i386 Signed-off-by: Joerg Roedel <joerg.roedel@amd.com> -- Joerg Roedel Operating System Research Center AMD Saxony LLC & Co. KG
Feb 28, 7:18 am 2007
Joerg Roedel
[PATCH 3/4] i386: add the X86_FEATURE_SYNC_RDTSC flag
From: Joerg Roedel <joerg.roedel@amd.com> This patch adds the X86_FEATURE_SYNC_RDTSC to the i386 architecture. This is very helpfull to simplify the get_cycles_sync() function and remove the #ifdefs from it. Signed-off-by: Joerg Roedel <joerg.roedel@amd.com> -- Joerg Roedel Operating System Research Center AMD Saxony LLC & Co. KG
Feb 28, 7:21 am 2007
Joerg Roedel
[PATCH 4/4] optimize and simplify get_cycles_sync()
From: Joerg Roedel <joerg.roedel@amd.com> This patch simplifies the get_cycles_sync() function by removing the #ifdefs from it. Further it introduces an optimization for AMD processors. There the RDTSCP instruction is used instead of CPUID;RDTSC which is helpfull if the kernel runs as a KVM guest. Running as a guest makes CPUID very expensive because it causes an intercept of the guest. Signed-off-by: Joerg Roedel <joerg.roedel@amd.com> -- Joerg Roedel Operating System Research ...
Feb 28, 7:25 am 2007
Joerg Roedel
[PATCH 0/4] improve alternative instruction code and opt ...
This series of patches extend the alternative instructions framework on i386 and x86_64 architectures to support two alternative instruction replacements. This code is used together with the introduction of the X86_FEATURE_SYNC_RDTSC flag on i386 to simplify and optimize the get_cycles_sync() function. The optimization changes this function to use RDTSCP instead of CPUID;RDTSC if this instruction is available. Don't use CPUID there is really important if the kernel runs as a KVM guest, because ...
Feb 28, 7:05 am 2007
Oliver Pahl
2.6.20-mm2: Oops in generic_make_request not git-block.p ...
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 I rebuild the kernel, without the git-block patches Mr. Piotrowski wrote: revert-md-avoid-possible-bug_on-in-md-bitmap-handling-for-git-block.patch git-block.patch git-block-fixup.patch git-block-dupe-definitions.patch git-block-xfs-barriers-broke.patch but i still get: BUG: unable to handle kernel NULL pointer dereference at virtual address 00000004 printing eip: c01f369b *pde = 00000000 Oops: 0000 [#1] PREEMPT last sysfs ...
Feb 28, 6:08 am 2007
Oliver Pahl
2.6.20-mm2: Oops in generic_make_request not git-block.p ...
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 I rebuild the kernel, without the git-block patches Patches revert-md-avoid-possible-bug_on-in-md-bitmap-handling-for-git-block.patch git-block.patch git-block-fixup.patch git-block-dupe-definitions.patch git-block-xfs-barriers-broke.patch but i still get: BUG: unable to handle kernel NULL pointer dereference at virtual address 0000000 4 printing eip: c01f369b *pde = 00000000 Oops: 0000 [#1] PREEMPT last sysfs ...
Feb 28, 5:58 am 2007
Tommi Kyntola
[PATCH] acpi: fan after suspend-to-mem fix
acpi_fan_suspend should probably set state to ACPI_D3, rather than ACPI_D0. With this change the fan works after S3 suspend atleast on HP nw8000 laptop, for which the suspended fan has been broken since sword-and-stone. Signed-off-by: Tommi Kyntola <tommi.kyntola@ray.fi> --- Why this was ACPI_D0 beats me, but it's been that way since the _suspend/_resume functios got added in the commit 0feabb01d93e5801d1127416a66cfc3963280bca (2.6.18-rc1, I think). The fan hasn't worked on my HP nw8000 ...
Feb 28, 5:48 am 2007
Dan Aloni
[PATCH] vlan & net drivers: avoid a 4-order allocation
Hello, This patch splits the vlan_group struct into a multi-allocated struct. On x86_64, the size of the original struct is a little more than 32KB, causing a 4-order allocation, which is prune to problems caused by buddy-system external fragmentation conditions. I couldn't just use vmalloc() because vfree() cannot be called in the softirq context of the RCU callback. Signed-off-by: Dan Aloni <da-x@monatomic.org> --- commit 3e6b63d0827461154066ff4c51f295bfd5006bd7 tree ...
Feb 28, 5:41 am 2007
Charles Shannon Hendrix
Re: 2.6.20 SATA error
On Wed, 28 Feb 2007 07:40:23 -0500 (EST) I am fairly certain this is a bug in the 2.6.20 kernel. I never see it in 2.6.19*, just 2.6.20. It is some kind of but in the SATA code paths, or at least that's all it appears to affect on my system. What chipset do you have? I have an nforce4 chipset. In another thread, I think they were saying it was either a SATA chipset driver bug, or a problem in libata core. -- shannon | governorrhea: ...
Feb 28, 9:14 am 2007
Gerhard Mack
Re: 2.6.20 SATA error
I also have an nforce4. Gerhard -- Gerhard Mack gmack@innerfire.net <>< As a computer I find your faith in technology amusing. -
Feb 28, 11:25 am 2007
Gerhard Mack
2.6.20 SATA error
hello, Can someone tell me what this means? ata1.00: exception Emask 0x0 SAct 0x0 SErr 0x400000 action 0x2 frozen ata1.00: cmd 35/00:00:40:a6:23/00:04:00:00:00/e0 tag 0 cdb 0x0 data 524288 out res 40/00:00:00:00:00/00:00:00:00:00/00 Emask 0x4 (timeout) ata1: port is slow to respond, please be patient (Status 0xd0) ata1: port failed to respond (30 secs, Status 0xd0) ata1: soft resetting port ata1: SATA link up 3.0 Gbps (SStatus 123 SControl 300) ata1.00: configured for ...
Feb 28, 5:40 am 2007
Johannes Berg
[PATCH] export device_rename
In wireless we'd like to allow renaming of the phy devices we surface in sysfs. The base wireless code, however, can be built modular and thus we need device_rename exported. Signed-off-by: Johannes Berg <johannes@sipsolutions.net> --- Is this acceptable? For testing reasons we want the cfg80211 code buildable as a module. drivers/base/core.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) --- wireless-dev.orig/drivers/base/core.c 2007-02-28 12:35:37.123956566 +0100 +++ ...
Feb 28, 4:38 am 2007
Dave Jones
Re: [patch] Add insmod option to force the use of the ba ...
On Wed, Feb 28, 2007 at 11:23:46AM +0100, Gerd Hoffmann wrote: > The test which automatically enables the backup timer on some HP > machines doesn't trigger on other hardware which needs the backup > timer too. Did you figure out *why* that test doesn't trigger? Making that work seems a better solution to me than adding magic options that users won't know they have to use. Dave -- http://www.codemonkey.org.uk -
Feb 28, 11:55 am 2007
Gerd Hoffmann
[patch] Add insmod option to force the use of the backup ...
The test which automatically enables the backup timer on some HP machines doesn't trigger on other hardware which needs the backup timer too. This patch add a way to enable it manually (8250.use_backup_timer=1) to deal with these machines. Signed-off-by: Gerd Hoffmann <kraxel@suse.de> Cc: Alex Williamson <alex.williamson@hp.com> Cc: Kevin Stansell <kstansel@us.ibm.com> --- drivers/serial/8250.c | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) Index: ...
Feb 28, 3:23 am 2007
Linus Torvalds
Re: [GIT PATCH] HID and USB HID update for 2.6.21-rc2
To be clear: - in header files, we put "common definitions": * #defines * data structure declarations * external function and data declarations * inline functions ("nicer but otherwise equivalent to a #define") - but we do *not* put * actual real code * actual real data because those go into C files. Yes, yes, all rules have exceptions, and sometimes we have ugly header files. For an example of a pre-existing ugly header file that breaks these rules, just look ...
Feb 28, 11:28 am 2007
Linus Torvalds
Re: [GIT PATCH] HID and USB HID update for 2.6.21-rc2
No. The diffstat looks huge because you moved "hid_blacklist" into a header file, and that is a big enough change that git won't consider the rename to be just a rename any more (you basically moved the old usbdrivers/usb/input/hid-core.c file into *two* files: hid-core.c and usbhid.h). Why do that? It now gets included INTO EVERY DAMN FILE that includes <usbhid.h>, since that one now has that static const struct hid_blacklist definition in it. Yet *nothing* wants it, except ...
Feb 28, 10:09 am 2007
Randy Dunlap
Re: [GIT PATCH] HID and USB HID update for 2.6.21-rc2
--- ~Randy *** Remember to use Documentation/SubmitChecklist when testing your code *** -
Feb 28, 11:33 am 2007
Linus Torvalds
Re: [GIT PATCH] HID and USB HID update for 2.6.21-rc2
So: - clearly other people *do* include it. - if no-one else incldues it WHY HAVE IT SEPARATE! - if you want to have it separate for other reasons, YOU MAKE IT A .c FILE, SINCE IT'S CLEARLY NOT A HEADERFILE! No. You need to realize just WHY it was wrong. Not just an "But OK". Because if you don't see why I'm complaining, I can't pull from you. You can send me patches, but for me to pull a git patch from you, I need to know that you know what you're doing, and I need to be ...
Feb 28, 11:20 am 2007
Jiri Kosina
[GIT PATCH] HID and USB HID update for 2.6.21-rc2
Linus, could you please pull from 'for-linus' branch of git://git.kernel.org/pub/scm/linux/kernel/git/jikos/hid.git for-linus or master.kernel.org:/pub/scm/linux/kernel/git/jikos/hid.git for-linus to receive updates for HID core layer and USB HID for 2.6.21-rc2. These are mainly straightforward fixes for various broken devices (kernel bugzilla #8099, #7352) and other trivial things. The diffstat looks larger because the usbhid code is moved from USB-specific ...
Feb 28, 3:19 am 2007
Jiri Kosina
Re: [GIT PATCH] HID and USB HID update for 2.6.21-rc2
Yes, but was done by two separate commits, diffstat -M for 3d5af52d0997d545995d8747c8057be5dee49b14 shows hid-core.c as a 100% rename, but later commit b41ea57c01a1943ab36af0017cfc1329815af9ce splits You're right that usbhid.h is not a best place for it. The thing is that hid_blacklist[] and related things just badly needs cleanup - it has been for quite a long time placed on a really random place in the middle of a .c file. In addition to that, the corresponding #defines are scatthered ...
Feb 28, 10:25 am 2007
Linus Torvalds
Re: [GIT PATCH] HID and USB HID update for 2.6.21-rc2
"Not the best place for it" is the understatement of the year. *NO*. Dammit, we don't put static initializers in header files. We don't duplicate the data in every single thing that includes a header file. If you want to duplicate the data, you export it as a real data structure, WHAT CLEANUP? The thing is the anti-thesis of a "cleanup". There is no excuse for putting a large array in a header file and including it millions of times. Or even just twice. The point of a header ...
Feb 28, 10:34 am 2007
Linus Torvalds
Re: [GIT PATCH] HID and USB HID update for 2.6.21-rc2
BUT IT IS NOT A HEADER FILE! Dammit! If it has real code or data in it, it's a .c file, and you don't #include it, you *compile* it and you *link* it. Linus -
Feb 28, 11:39 am 2007
Jiri Kosina
Re: [GIT PATCH] HID and USB HID update for 2.6.21-rc2
Yep, I totally agree that with the usbhid.h thing I really had a bad day, it was braindamage without excuse, sorry. I still think that creating a separate header file solely for purpose of having the large hid blacklist and all related defines separate from the actual implementation is needed. The pages and pages of blacklist just pollute the hid-core.c needlessly. Of course hid-core.c must be the only user of this header. But seems like this solution oposes your taste ("The point of ...
Feb 28, 11:29 am 2007
Jiri Kosina
Re: [GIT PATCH] HID and USB HID update for 2.6.21-rc2
The point was that noone else than hid/hid-core.c would ever be going to include this header with blacklist. The blacklist is growing in time quite rapidly and having it in the middle of the code just didn't look pretty - currently you have to perform some scrolling effort just to skip from usbhid_init_reports() to hid_find_max_report(), which just looks very sad to me. But OK, I will leave it in there. -- Jiri Kosina -
Feb 28, 10:41 am 2007
Jaroslav Kysela
[PATCH] bonding: replace system timer with work queue
Hi, please, review and apply to mm tree for further testing. The patch is also available at ftp://ftp.alsa-project.org/pub/kernel-patches/bonding-workqueue.patch . Thank you, Jaroslav ================== bonding: replace system timer with work queue This patch replaces system timer with work queue in monitor functions. The reason for this change is that bonding handlers calls various sleeping functions from the timer handler which is not allowed. Because we cannot share ...
Feb 28, 2:12 am 2007
Dmitriy Monakhov
[PATCH] mm: be sure to trim blocks after direct_io has failed
This is updated version of patch aimed to fix direct_io error handling issue i've previously sent 2 wheeks ago. If you don't like anything in this patch plese let me know. Changes: - comments added. I think now it is clearly describe things. - patch prepared against 2.6.20-mm2 How this patch tested: - LTP test, and other readv/writev op tests. - fsstress test. - manual direct_io tests. Log: - Move common segment checks to separate helper function. - Trim off blocks after ...
Feb 28, 1:55 am 2007
Meelis Roos
compile error in arch/i386/kernel/io_apic.c
Today's 2.6.21-rc1+git does not compile on my i386: CC arch/i386/kernel/io_apic.o arch/i386/kernel/io_apic.c: In function 'setup_IO_APIC_irqs': arch/i386/kernel/io_apic.c:1357: error: 'struct irq_desc' has no member named 'affinity' arch/i386/kernel/io_apic.c: In function 'io_apic_set_pci_routing': arch/i386/kernel/io_apic.c:2878: error: 'struct irq_desc' has no member named 'affinity' make[2]: *** [arch/i386/kernel/io_apic.o] Error 1 .config: # # Automatically generated make ...
Feb 27, 11:54 pm 2007
Fernando Luis
[PATCH] affinity is not defined in non-smp kernels - x86_64
Initialize affinity only when building SMP kernels. Signed-off-by: Fernando Luis Vazquez Cao <fernando@oss.ntt.co.jp> --- --- linux-2.6.21-rc2-dtt/arch/x86_64/kernel/io_apic.c 2007-03-06 15:20:14.000000000 +0900 +++ linux-2.6.21-rc2-kdump/arch/x86_64/kernel/io_apic.c 2007-03-06 15:48:52.000000000 +0900 @@ -832,7 +832,9 @@ static void setup_IO_APIC_irq(int apic, ioapic_write_entry(apic, pin, entry); spin_lock_irqsave(&ioapic_lock, flags); +#ifdef CONFIG_SMP irq_desc[irq].affinity = ...
Feb 28, 12:17 am 2007
Linus Torvalds
Linux 2.6.21-rc2
Oh well.. I'm not very proud of this, because quite frankly, -rc2 has way more changes than I really like. And yeah, it's largely my fault, because I simply missed a V4L/DVB merge that came in before the merge window closed, but since I didn't notice it didn't make -rc1, and as such it got merged late and is in -rc2 instead. But because I'll flail around wildly and rather blame anything else than my own incompetence, I'll just claim that all the other kernel developers have been ...
Feb 27, 10:16 pm 2007
Fernando Luis
[PATCH] affinity is not defined in non-smp kernels - i386 (v2)
Initialize affinity only when building SMP kernels. Signed-off-by: Fernando Luis Vazquez Cao <fernando@oss.ntt.co.jp> --- --- linux-2.6.21-rc2-dtt/arch/i386/kernel/io_apic.c 2007-03-06 15:20:14.000000000 +0900 +++ linux-2.6.21-rc2-kdump/arch/i386/kernel/io_apic.c 2007-03-06 15:51:45.000000000 +0900 @@ -1354,7 +1354,9 @@ static void __init setup_IO_APIC_irqs(vo } spin_lock_irqsave(&ioapic_lock, flags); __ioapic_write_entry(apic, pin, entry); +#ifdef CONFIG_SMP ...
Feb 28, 12:42 am 2007
Bill Davidsen
Re: [PATCH] affinity is not defined in non-smp kernels - i386
Where is the initialization performed, then? -- Bill Davidsen <davidsen@tmr.com> "We have more to fear from the bungling of the incompetent than from the machinations of the wicked." - from Slashdot -
Feb 28, 10:31 am 2007
Damien Wyart
Re: Linux 2.6.21-rc2
Ingo's patch correcting a bug in the SMT scheduler (http://lkml.org/lkml/2007/2/26/103) seems to have been missed. It is quite important when using dynticks. -- Damien Wyart -
Feb 28, 12:59 am 2007
Eric W. Biederman
Re: Linux 2.6.21-rc2
Yes. I goofed, and missed that stupid case. The offending lines should just die. Patch already sent to Linus. Eric -
Feb 28, 6:09 am 2007
Gabriel C
Re: Linux 2.6.21-rc2
I got this warning so far :) drivers/video/Kconfig:1622:warning: 'select' used by config symbol 'FB_PS3' refer to undefined symbol 'PS3_PS3AV' Regards, Gabriel -
Feb 27, 10:50 pm 2007
Eric W. Biederman
Re: [PATCH] affinity is not defined in non-smp kernels - i386
The field is initialized statically. We also never use it internally it the kernel except for reporting back to the user what where we were told we could route the interrupt to. Eric -
Feb 28, 11:21 am 2007
Linus Torvalds
Re: [PATCH] affinity is not defined in non-smp kernels - i386
Here's the commit with the patch from Eric that I pushed out (I had thought I'd already applied it for rc2, but I obviously hadn't. Blush. It's there now in -git, but obviously not in the -rc2 release). It's got the explanation too. Linus --- commit 2ff7354fe888f46f6629b57e463b0a1eb956c02b Author: Eric W. Biederman <ebiederm@xmission.com> Date: Tue Feb 27 00:27:41 2007 -0700 [PATCH] x86_64/i386 irq: Fix !CONFIG_SMP compilation When removing set_native_irq I ...
Feb 28, 11:30 am 2007
Eric W. Biederman
Re: [PATCH] affinity is not defined in non-smp kernels - i386
Reasonable. I goofed here. However I would prefer my patch that just deletes these problem lines. These lines don't really contribute anything and are harmless to remove. Eric -
Feb 28, 12:24 am 2007
Fernando Luis
[PATCH] affinity is not defined in non-smp kernels - i386
Initialize affinity only when building SMP kernels. Signed-off-by: Fernando Luis Vazquez Cao <fernando@oss.ntt.co.jp> --- --- linux-2.6.21-rc2-dtt/arch/i386/kernel/io_apic.c 2007-03-06 15:20:14.000000000 +0900 +++ linux-2.6.21-rc2-kdump/arch/i386/kernel/io_apic.c 2007-03-06 15:51:45.000000000 +0900 @@ -1354,7 +1354,9 @@ static void __init setup_IO_APIC_irqs(vo } spin_lock_irqsave(&ioapic_lock, flags); __ioapic_write_entry(apic, pin, entry); +#ifdef CONFIG_SMP ...
Feb 28, 12:13 am 2007
David Brown
Re: Linux 2.6.21-rc2
Could the patch be posted? or could I see a git commit so I can get it myself? Thanks, David Brown -
Feb 28, 9:44 am 2007
Randy Dunlap
Re: Linux 2.6.21-rc2
I'm attaching it below. It hit the git commits mailing list just a few minutes ago. --- ~Randy
Feb 28, 10:07 am 2007
David Brown
Re: Linux 2.6.21-rc2
I got this compile error: CC arch/i386/kernel/io_apic.o arch/i386/kernel/io_apic.c: In function 'setup_IO_APIC_irqs': arch/i386/kernel/io_apic.c:1357: error: 'struct irq_desc' has no member named 'affinity' arch/i386/kernel/io_apic.c: In function 'io_apic_set_pci_routing': arch/i386/kernel/io_apic.c:2878: error: 'struct irq_desc' has no member named 'affinity' make[1]: *** [arch/i386/kernel/io_apic.o] Error 1 make: *** [arch/i386/kernel] Error 2 didn't happen with rc1 - David ...
Feb 28, 12:23 am 2007
Fernando Luis
[PATCH] affinity is not defined in non-smp kernels - i386 (v2)
Initialize affinity only when building SMP kernels. Signed-off-by: Fernando Luis Vazquez Cao <fernando@oss.ntt.co.jp> --- --- linux-2.6.21-rc2-dtt/arch/i386/kernel/io_apic.c 2007-03-06 15:20:14.000000000 +0900 +++ linux-2.6.21-rc2-kdump/arch/i386/kernel/io_apic.c 2007-03-06 15:51:45.000000000 +0900 @@ -1354,7 +1354,9 @@ static void __init setup_IO_APIC_irqs(vo } spin_lock_irqsave(&ioapic_lock, flags); __ioapic_write_entry(apic, pin, entry); +#ifdef CONFIG_SMP ...
Feb 28, 12:16 am 2007
Brice Goglin
Re: Linux 2.6.21-rc2
Hi Linus, rc2 fails to build on my thinkpad t43: CC arch/i386/kernel/io_apic.o arch/i386/kernel/io_apic.c: In function 'setup_IO_APIC_irqs': arch/i386/kernel/io_apic.c:1357: error: 'struct irq_desc' has no member named 'affinity' arch/i386/kernel/io_apic.c: In function 'io_apic_set_pci_routing': arch/i386/kernel/io_apic.c:2878: error: 'struct irq_desc' has no member named 'affinity' make[1]: *** [arch/i386/kernel/io_apic.o] Error 1 make: *** [arch/i386/kernel] Error 2 The ...
Feb 28, 12:39 am 2007
Fernando Luis
[PATCH] affinity is not defined in non-smp kernels - x86_64
Initialize affinity only when building SMP kernels. Signed-off-by: Fernando Luis Vazquez Cao <fernando@oss.ntt.co.jp> --- --- linux-2.6.21-rc2-dtt/arch/x86_64/kernel/io_apic.c 2007-03-06 15:20:14.000000000 +0900 +++ linux-2.6.21-rc2-kdump/arch/x86_64/kernel/io_apic.c 2007-03-06 15:48:52.000000000 +0900 @@ -832,7 +832,9 @@ static void setup_IO_APIC_irq(int apic, ioapic_write_entry(apic, pin, entry); spin_lock_irqsave(&ioapic_lock, flags); +#ifdef CONFIG_SMP irq_desc[irq].affinity = ...
Feb 28, 12:41 am 2007
Aneesh Kumar K.V
[PATCH] init_new_context: Use the passed task argument
Signed-off-by: Aneesh Kumar K.V <aneesh.kumar@linux.vnet.ibm.com> --- arch/i386/kernel/ldt.c | 2 +- arch/x86_64/kernel/ldt.c | 2 +- kernel/fork.c | 4 ++-- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/arch/i386/kernel/ldt.c b/arch/i386/kernel/ldt.c index b410e5f..925354c 100644 --- a/arch/i386/kernel/ldt.c +++ b/arch/i386/kernel/ldt.c @@ -97,7 +97,7 @@ int init_new_context(struct task_struct *tsk, struct mm_struct *mm) ...
Feb 27, 9:47 pm 2007
Jens Axboe
Re: a bug in AS scheduler?
Ah, I misread the name. That does look like a bug, antic_expire is in jiffies. -- Jens Axboe -
Feb 28, 6:34 am 2007
Benoit Boissinot
Re: a bug in AS scheduler?
I am pretty sure Xiaoning was talking about antic_expire, particularly this comparison: else if (delay <= 20 && delay <= ad->antic_expire) regards, Benoit -
Feb 28, 6:25 am 2007
Xiaoning Ding
a bug in AS scheduler?
Hi, I am reading the source code AS scheduler in 2.6.18(as-ioscheduler.c). In function as_close_req, variable delay is in millisecond, while ad->antic_expire is in jiffies. Doesn't the comparison of delay and ad->antic_expire make any problem? The related source code is quoted blow: if (ad->antic_status == ANTIC_OFF || !ad->ioc_finished) delay = 0; else delay = ((jiffies - ad->antic_start) * 1000) / HZ; if (delay == 0) delta = 8192; else if (delay <= 20 && delay <= ...
Feb 27, 9:22 pm 2007
Jens Axboe
Re: a bug in AS scheduler?
antic_start is in jiffies, the difference is here multiplied by 1000 and divided by HZ to turn it into msecs. so delay is in msecs. -- Jens Axboe -
Feb 28, 5:10 am 2007
Xiaoning Ding
Re: a bug in AS scheduler?
You got it. Xiaoning -
Feb 28, 8:33 am 2007
Dmitriy Monakhov
[PATCH] ecryptfs: lower root result must be adirectory
patch against lastest mm tree. - Currently after path_lookup succeed we dot't have any guarantie what it is DIR. This must be explicitly demanded. - path_lookup can't return negative dentry, So inode check is useless. Signed-off-by: Dmitriy Monakhov <dmonakhov@openvz.org>
Feb 27, 9:06 pm 2007
divy
[PATCH] cxgb3 - Tag driver version
From: Divy Le Ray <divy@chelsio.com> This patch adds a "-ko" tag to the driver version. Signed-off-by: Divy Le Ray <divy@chelsio.com> --- drivers/net/cxgb3/version.h | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/drivers/net/cxgb3/version.h b/drivers/net/cxgb3/version.h index 782a6cf..82278f8 100644 --- a/drivers/net/cxgb3/version.h +++ b/drivers/net/cxgb3/version.h @@ -35,7 +35,7 @@ #define DRV_DESC "Chelsio T3 Network Driver" #define DRV_NAME "cxgb3" ...
Feb 27, 8:28 pm 2007
Linda Walsh
2.6.20/i386 copy_e820_map debug messages left "on" during boot
Just verifying -- It's probably already fixed, but when the e820_map routine was moved to a separate file in the 386 architecture, what appear to be debugging messages were left "on" for display on boot. Were(/are) these intended to be temporary? Linux version 2.6.20 (lw@Ws) (gcc version 4.1.2 20061115 (prerelease) (SUSE Linux)) #5 SMP Sun Feb 18 12:02:14 PST 2007 BIOS-provided physical RAM map: >>>(map continued below)<<< ------ extra messages after this ------ sanitize start sanitize ...
Feb 27, 6:46 pm 2007
Johannes Berg
Re: [PATCH 2.6.20] kobject net ifindex + rename
... and in the meantime netdevices aren't class_device any more :) IOW, your patch isn't going to work any more. Also, I think wireless could Why not just add this to base kobject_rename instead? That way, userspace is notified for all renames in sysfs. The patch then collapses down to the change in net's sysfs code to add the ifindex to the environment, and another change in kobject to invoke a new event when a name changes and show the old name. johannes
Feb 28, 2:16 am 2007
Jean Tourrilhes
Re: [PATCH 2.6.20] kobject net ifindex + rename
Username is not one big program, but a collection of program, and one program does not know what another program do. In particular, udev does not know when people are using iproute2 to rename interface and loose its marbles. We don't really Have fun... Jean -
Feb 28, 11:43 am 2007
Greg KH
Re: [PATCH 2.6.20] kobject net ifindex + rename
This function is not in the 2.6.21-rc2 kernel, so you might want to rework this patch a bit :) Also, it's userspace that causes the rename to happen, so it knows it did it, why should the kernel have to emit a message to tell userspace again what just happened? thanks, greg k-h -
Feb 28, 8:36 am 2007
Jean Tourrilhes
Re: [PATCH 2.6.20] kobject net ifindex + rename
That's why I always specify the kernel version. I'll look into I'm just trying to follow the established pattern. Both class_device_add() and class_device_del() are generating the event. Also, I'm not sure if other subsystem would benefit from it, I Thanks ! Jean -
Feb 28, 11:51 am 2007
Jean Tourrilhes
[PATCH 2.6.20] kobject net ifindex + rename
Hi all, Various hotplug packages have had trouble dealing with network interface being renamed. I've decided to tackle this issue from two angles : o export ifindex to those apps, as ifindex is persistent. o expose interface renaming as a hotplug event. Those two changes are complementary, even an application that would track interface by ifindex would sometime needs to know about ifname change. My assumption is that most apps would still use ifname for a long while to be backward ...
Feb 27, 6:27 pm 2007
Jarek Poplawski
Re: [PATCH 2.6.20] kobject net ifindex + rename
Btw.: 1. if size == 10 and snprintf returns 9 (without NULL) then n == 10 (with NULL), so isn't it enough (here and above): if ((size < 0) || (i >= num_envp)) 2. shouldn't there be (here and above): Maybe I miss something, but it seems kobject_uevent_env copies pointers from envp instead of buffers' contents. Regards, Jarek P. -
Feb 28, 2:34 am 2007
Jarek Poplawski
Re: [PATCH 2.6.20] kobject net ifindex + rename
And it's enough - sorry. Jarek P. -
Feb 28, 2:52 am 2007
Johannes Berg
Re: [PATCH 2.6.20] kobject net ifindex + rename
Yeah but in mac80211 we have the wiphy concept since multiple virtual interfaces can be associated to one hardware, and that is where QoS is done, not the netdevs. Of course, those interested can just listen to nl80211 events to figure out if someone renamed a 802.11 phy, but things like hal would probably not want to and still know about the name I don't think many other subsystems (can) rename things ;) johannes
Feb 28, 12:03 pm 2007
Jean Tourrilhes
Re: [PATCH 2.6.20] kobject net ifindex + rename
I just cut'n'pasted the code a few line above. If the original code is incorrect, it need fixing. And it will need fixing in probably No, envp is local, so who cares. Thanks. Jean -
Feb 28, 11:45 am 2007
Dave Jones Feb 27, 5:46 pm 2007
Hiro Yoshioka
Re: SMP performance degradation with sysbench
From: Robert Hancock <hancockr@shaw.ca> Subject: Re: SMP performance degradation with sysbench Date: Tue, 27 Feb 2007 18:20:25 -0600 Yes, it is. Regards, Hiro -
Feb 27, 6:32 pm 2007
Robert Hancock
Re: SMP performance degradation with sysbench
Curious that it calls pthread_mutex_trylock (as opposed to pthread_mutex_lock) so often. Maybe they're doing some kind of mutex lock busy-looping? -- Robert Hancock Saskatoon, SK, Canada To email, remove "nospam" from hancockr@nospamshaw.ca Home Page: http://www.roberthancock.com/ -
Feb 27, 5:20 pm 2007
Miklos Szeredi
Re: [patch 01/22] update ctime and mtime for mmaped write
I disagree. You don't worry about the timestamp being updated _during_ a large write() call, even though the file is constantly being modified. You think of write() as something instantaneous, while you think of writing to a shared mapping, then doing msync() as something taking a long time. In actual fact both of these are basically equivalent operations, the differences being, that you can easily modify non-contiguous parts of a file with mmap, while you can't do that with write. The ...
Feb 28, 10:51 am 2007
Peter Staubach
Re: [patch 01/22] update ctime and mtime for mmaped write
I thought that PeterZ's changes were to write-protect the page after cleaning it so that future modifications could be detected and tracked accordingly? Does the right thing not happen already? Thanx... ps -
Feb 28, 2:09 pm 2007
Peter Staubach
Re: [patch 01/22] update ctime and mtime for mmaped write
These change still have the undesirable property that although the modified pages may be flushed to stable storage, the metadata on the file will not be updated until the application takes positive action. This is permissible given the current wording in the specifications, but it would be much more desirable if sync(2), fsync(P), or the inode being written out due to normal system activity would also cause the metadata to be updated. Perhaps the setting of the flag could be checked in some ...
Feb 28, 7:16 am 2007
Miklos Szeredi
Re: [patch 01/22] update ctime and mtime for mmaped write
Which, I realize now, actually means, that the patch is wrong. Msync will have to write protect the page table entries, so that later dirtyings may have an effect on the timestamp. Thanks, Miklos -
Feb 28, 1:58 pm 2007
Peter Staubach
Re: [patch 01/22] update ctime and mtime for mmaped write
No, but you do worry about the timestamps being updated after I don't believe that this is a valid characterization because the changes to the contents of the file, made through the mmap'd region, are immediately visible to any and all other applications accessing the file. Since the contents of the file are changing, then so I think that we are going to have to agree to disagree because I don't agree either with your characterizations of the desirable semantics associated with shared mmap ...
Feb 28, 1:01 pm 2007
Miklos Szeredi
Re: [patch 01/22] update ctime and mtime for mmaped write
Right. All I'm saying is that just writing to a shared mapping without calling msync() is similar to a write() which hasn't yet finished. In both cases, you have a modified file, without a modified Same case with a large write(). Nothing prevents you from reading a file, while a huge write is taking place to it, and yet, the I didn't quite say _that_ in so many words :). I said that updating the timestamp on a per-page first dirtying base, or per-inode first dirtying base is a waste of ...
Feb 28, 1:35 pm 2007
Peter Staubach
Re: [patch 01/22] update ctime and mtime for mmaped write
While these entry points do not actually modify the file itself, as was pointed out, they are handy points at which the kernel gains control and could actually notice that the contents of the file are no longer the same as they were, ie. modified. From the operating system viewpoint, this is where the semantics of modification to file contents via mmap differs from the semantics of modification to file contents via write(2). It is desirable for the file times to be updated as quickly ...
Feb 28, 10:21 am 2007
Miklos Szeredi
Re: [patch 01/22] update ctime and mtime for mmaped write
I don't see the point in updating the timestamp from these functions. The file isn't _modified_ by sync() or fsync(). Just as it's not modified by stat(). sync() and fsync() do cache->disk, while the file itself stays the same. OTOH msync(MS_ASYNC) does memory->file, which is a conceptually file modifying operation. OK, msync(MS_ASYNC) is actually a no-op on 2.6.18+, but that's purely an implementation detail and no application should be relying on it. Before 2.6.18 sync() or ...
Feb 28, 10:06 am 2007
Kristian
Re: PROBLEM: "BUG:" when resuming from suspend-to-ram
Looks interesting. I'll give it a try. Thanks. /Kristian -
Feb 27, 5:33 pm 2007
Rafael J. Wysocki
Re: PROBLEM: "BUG:" when resuming from suspend-to-ram
Well, this means that at some point your lid switch driver explodes and doesn't work any more (the oops trace you've sent suggests something like this). The problem seems to be ACPI-related. Greetings, Rafael -
Feb 27, 5:05 pm 2007
Rafael J. Wysocki
Re: PROBLEM: "BUG:" when resuming from suspend-to-ram
Hm, interesting. Looks like a pointer points to nowhere in input_unregister_device(), but I don't know which one. This may be an evdev problem ... Rafael -
Feb 28, 5:45 am 2007
Kristian
Re: PROBLEM: "BUG:" when resuming from suspend-to-ram
OK. Recopiled the kernel with CONFIG_DEBUG_INFO=y This gives: (gdb) l *evdev_disconnect+0xb1 No symbol "evdev_disconnect" in current context. I guess you meant gdb drivers/input/evdev.ko This gives: (gdb) l *evdev_disconnect+0xb1 0xa81 is in evdev_disconnect (include/asm/processor.h:716). 711 However we don't do prefetches for pre XP Athlons currently 712 That should be fixed. */ 713 #define ARCH_HAS_PREFETCH 714 static inline void prefetch(const void ...
Feb 27, 5:27 pm 2007
Srivatsa Vaddagiri
Re: Problem with freezable workqueues
Ok no issues. But when we enable freezer-based hotplug, we expect all Ah ok. When is the above patch expected to be merged? -- Regards, vatsa -
Feb 28, 2:10 am 2007
Johannes Berg
Re: Problem with freezable workqueues
Yup, I missed that. johannes
Feb 27, 5:00 pm 2007
Srivatsa Vaddagiri
Re: Problem with freezable workqueues
After looking at the current workqueue code, the above minor change I suggested is not required. So you should be able to fix your "kthread_stop on a frozen worker thread hangs" problem by just a simple patch like this (against 2.6.20-mm2): --- workqueue.c.org 2007-02-28 18:32:48.000000000 +0530 +++ workqueue.c 2007-02-28 18:44:23.000000000 +0530 @@ -718,6 +718,8 @@ static void cleanup_workqueue_thread(str insert_wq_barrier(cwq, &barr, 1); cwq->should_stop = 1; alive = ...
Feb 28, 6:17 am 2007
Srivatsa Vaddagiri
Re: Problem with freezable workqueues
This problem (of kthread_stopping a frozen thread) was there when we implemented freezer-based cpu hotplug. We worked around that in the callbacks by thawing the worker thread first before kthread_stopping it, which is working pretty neatly. Should that fix the issue? -- Regards, vatsa -
Feb 27, 8:01 pm 2007
Rafael J. Wysocki
Re: Problem with freezable workqueues
Okay, if that's better. Pavel, is that acceptable to you? Rafael -
Feb 28, 3:39 pm 2007
Oleg Nesterov
Re: Problem with freezable workqueues
Yes, we already discussed this :) This is btw another indication we should kill create_freezeable_workqueue() eventually, so it would be Oh, I don't know. Note that this particular patch makes little sense if we change XFS now (because we have no other users), but we can't drop it, this will break subsequent patches. Oleg. -
Feb 28, 2:43 am 2007
Johannes Berg
Re: Problem with freezable workqueues
I think Nigel might object but I forgot what specific trouble XFS was causing him. johannes
Feb 27, 5:01 pm 2007
Pavel Machek
Re: Problem with freezable workqueues
Not sure... I really dislike XFS running while we are doing swsusp. I'd like to move in direction of freezeable workqueues in the future. Anyway, if it gets us out of current trouble... yes I guess we can do it. Pavel -- (english) http://www.livejournal.com/~pavelmachek (cesky, pictures) http://atrey.karlin.mff.cuni.cz/~pavel/picture/horses/blog.html -
Feb 28, 1:54 am 2007
Rafael J. Wysocki
Re: Problem with freezable workqueues
Well, if we want to have freezable workqueues eventually, and I think we do, they should be taken into consideration in designing this patchset, as well as the suspend code ordering (ie. freeze_processes(SUSPEND) before freeze_processes(CPU_HOTPLUG)). Greetings, Rafael -
Feb 28, 4:09 am 2007
Gautham R Shenoy
Re: Problem with freezable workqueues
They will be affected. In our first implemetentation of general "cpu_down after freeze"(http://lkml.org/lkml/2007/2/14/107) we had a new state known CPU_DEAD_KILL_THREADS, the notifications for which were being sent *after* we thawed the processes in __cpu_down. However, in the version which we are working on, we are thawing processes individually in CPU_DEAD before cleaning/stopping them. I haven't observed any bad lockups/freeze chills with this approach. But I need to test it a bit ...
Feb 28, 11:06 am 2007
Oleg Nesterov
Re: Problem with freezable workqueues
OK, thanks. We can (I think) do pretty much the same with some additional complications in worker_thread() (check !cpu_online() after try_to_freeze() and break). Oleg. -
Feb 28, 1:08 pm 2007
Rafael J. Wysocki
Re: Problem with freezable workqueues
Well, I don't really think so, but we need to store some information in the freezer (eg. in a status variable). Namely, we can define a variable, say tasks_frozen, the value of which will be the bitwise or of the flags SPE_SUSPEND, SPE_HOTPLUG etc. In a fully functional system, tasks_frozen is equal to zero. If freeze_processes(SPE_SUSPEND) is run, it does tasks_frozen |= SPE_SUSPEND and analogously for SPE_HOTPLUG etc. If tasks_frozen is equal to SPE_SUSPEND|SPE_HOTPLUG, for example, ...
Feb 28, 11:41 am 2007
Rafael J. Wysocki
Re: Problem with freezable workqueues
Okay, but I've just finished the patch that removes the freezability of workqueues (appended), so can we please do this in a separate one? Rafael --- Since freezable workqueues are broken in 2.6.21-rc (cf. http://marc.theaimsgroup.com/?l=linux-kernel&m=116855740612755, http://marc.theaimsgroup.com/?l=linux-kernel&m=117261312523921&w=2) it's better to remove them altogether for 2.6.21 and change the only user of them (XFS) accordingly. --- fs/xfs/linux-2.6/xfs_buf.c | 4 ++-- ...
Feb 28, 1:25 pm 2007
Rafael J. Wysocki
Re: Problem with freezable workqueues
Unfortunately, the above code is mm-only. Is the analogous fix for 2.6.21-rc2 viable? Rafael -
Feb 28, 12:17 pm 2007
Srivatsa Vaddagiri
Re: Problem with freezable workqueues
We can just thaw the worker thread selectively before kthread_stopping them. This will let us freeze all worker threads (which we want to for Hmm ..good point. So can we assume that disable/enable_nonboot_cpus() are called with processes frozen already? See above suggestion of thawing worker thread before kthread_stopping it. -- Regards, vatsa -
Feb 27, 8:07 pm 2007
Nigel Cunningham
Re: Problem with freezable workqueues
Hi. Controversy is no reason to give in! Nevertheless, I think you're right - I believe the XFS guys said they fixed the issue that had caused I/O to be submitted post-freeze. Well, we'll see if it appears again, won't we? Regards, Nigel -
Feb 27, 6:14 pm 2007
Rafael J. Wysocki Feb 28, 3:59 am 2007
Srivatsa Vaddagiri
Re: Problem with freezable workqueues
In addition to thawing worker thread before kthread_stopping it, there are minor changes required in worker threads, to check for is_cpu_offline(bind_cpu) when they come out of refrigerator and jump to wait_to_die if so (ex: softirq.c). I guess you would need these changes before freezer-based hotplug is merged, in which case Gautham can send those patches out first. -- Regards, vatsa -
Feb 27, 8:51 pm 2007
Oleg Nesterov
Re: Problem with freezable workqueues
I am not sure this is a good change for 2.6.21. I strongly believe it is better to change XFS so that it doesn't use create_freezeable_workqueue() as Rafael suggested. Besides, freezeable workqueues are buggy anyway in 2.6.21-rc, http://marc.theaimsgroup.com/?l=linux-kernel&m=116855740612755 This means that workqueues become non-freezeable after suspend/resume anyway (if I understand disable_nonboot_cpus() correctly). Oleg. -
Feb 28, 1:48 am 2007
Gautham R Shenoy
Re: Problem with freezable workqueues
Yup. That would mean making the freezer reentrant since we will be freezing twice (once for suspend and later on for hotplug). This is ok since the api in my patches looks like freeze_processes(int freeze_event); But thaw will be interesting. If we are thawing for hotplug, we gotta only thaw processes which were frozen *only* for hotplug. Rafael, does that mean more status flags?! Thanks and Regards gautham. -- Gautham R Shenoy Linux Technology Center IBM India. "Freedom comes ...
Feb 28, 11:17 am 2007
Pavel Machek
Re: Problem with freezable workqueues
No problem, but get that acked-by: from XFS people ;-). Pavel -- (english) http://www.livejournal.com/~pavelmachek (cesky, pictures) http://atrey.karlin.mff.cuni.cz/~pavel/picture/horses/blog.html -
Feb 28, 3:44 pm 2007
Rafael J. Wysocki
Re: Problem with freezable workqueues
Yes, we can (preparing a patch). I was just curious. :-) Rafael -
Feb 28, 12:43 pm 2007
Pavel Machek
Re: Problem with freezable workqueues
Hmm, nothing obviously wrong with the patch (ACK), but xfs people should ack this one, too: 'is it okay to let xfs run while suspending' -- (english) http://www.livejournal.com/~pavelmachek (cesky, pictures) http://atrey.karlin.mff.cuni.cz/~pavel/picture/horses/blog.html -
Feb 28, 2:16 pm 2007
Oleg Nesterov
Re: Problem with freezable workqueues
Please, please, no. This patch is of course correct, but it breaks _a lot_ of patches in -mm tree. this bit? After that, we can do the "removes the freezability of workqueues" patch against -mm tree. Oleg. -
Feb 28, 1:35 pm 2007
Rafael J. Wysocki
[PATCH] Make XFS workqueues nonfreezable
Since freezable workqueues are broken in 2.6.21-rc (cf. http://marc.theaimsgroup.com/?l=linux-kernel&m=116855740612755, http://marc.theaimsgroup.com/?l=linux-kernel&m=117261312523921&w=2) it's better to change the only user of them, which is XFS, to use "normal" nonfreezable workqueues. Signed-off-by: Rafael J. Wysocki <rjw@sisk.pl> --- fs/xfs/linux-2.6/xfs_buf.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) Index: ...
Feb 28, 4:54 pm 2007
Oleg Nesterov
Re: Problem with freezable workqueues
I am sorry, I lost track of this problem. As for 2.6.21, create_freezeable_workqueue doesn't work and conflict with suspend. Why can't we remove it from XFS as you suggested before? Iirc, On 02/28, Nigel Cunningham wrote: > > On Wed, 2007-02-28 at 01:08 +0100, Rafael J. Wysocki wrote: > > On Wednesday, 28 February 2007 01:01, Johannes Berg wrote: > > > On Wed, 2007-02-28 at 00:57 +0100, Rafael J. Wysocki wrote: > > > > > > > Okay, in that case I'd suggest removing ...
Feb 28, 12:32 pm 2007
Johannes Berg
Re: Problem with freezable workqueues
I get to be the guinea pig, right? :P Unfortunately I was sick for the better part of the past few days and can only test all this stuff early next week. johannes
Feb 28, 1:36 pm 2007
Rafael J. Wysocki
Re: Problem with freezable workqueues
Yes, please, if that's possible. -
Feb 28, 4:11 am 2007
Rafael J. Wysocki
Re: Problem with freezable workqueues
I think you've hit the only thing that could have triggered the issue. ;-) Greetings, Rafael -
Feb 27, 5:00 pm 2007
Srivatsa Vaddagiri Feb 28, 6:27 am 2007
Rafael J. Wysocki
Re: Problem with freezable workqueues
We suspected that the XFS' worker threads might commit I/O after freeze_processes() has returned, but that hasn't been supported by evidence, as far as I can recall. Also, making them freezable was controversial ... Greetings, Rafael -
Feb 27, 5:08 pm 2007
Rafael J. Wysocki
Re: Problem with freezable workqueues
This one already is in -mm. -
Feb 28, 10:40 am 2007
Rafael J. Wysocki Feb 28, 10:41 am 2007
Eric W. Biederman
Re: [PATCH 09/14] x86_64 irq: Begin consolidating per_ir ...
I do by the end of the patch series it was a patch ordering issue. Eric -
Feb 27, 11:27 pm 2007
Moore, Robert
RE: 2.6.21-rc1: more ACPI errors (EC__)
This exception appears to be originating somewhere in the EC driver: ACPI Exception (evregion-0420): AE_NOT_FOUND, Returned by Handler for -
Feb 28, 3:14 pm 2007
Aneesh Kumar Feb 27, 9:12 pm 2007
Christoph Lameter
Re: [PATCH 2/5] lumpy: isolate_lru_pages wants to specif ...
The page cannot be transiting since we hold the lru lock? -
Feb 28, 11:17 am 2007
Christoph Lameter
Re: [PATCH 1/5] Lumpy Reclaim V3
Is that really necessary? PageLRU is clear when a page is freed right? And clearing PageLRU requires the zone->lru_lock since we have to move it Why are we saving the active state? Page cannot be moved between LRUs while we hold the lru lock anyways. -
Feb 28, 11:14 am 2007
Segher Boessenkool
Re: lanana: Add major/minor entries for PPC QE UART devices
If CPM0 is 46, then CPM5 is not 47, but not 49 either. Unless it's not CPM5 but CPM3? Segher -
Feb 27, 6:45 pm 2007
Mathiasen, Torben
RE: lanana: Add major/minor entries for PPC QE UART devices
Got around looking at this one. I'm fine with this approach, but the CPM5 fix looks wrong. Shouldn't it be: 49 = /dev/ttyCPM3 PPC CPM (SCC or SMC) - port 3 instead? Thx, Torben -
Feb 28, 5:07 am 2007
Timur Tabi
Re: lanana: Add major/minor entries for PPC QE UART devices
Then it appears that the only possible solution is to assign numbers 46 - 53 to the CPM/QE and accept that it overlaps with the Altix. Is everyone okay with that? -- Timur Tabi Linux Kernel Developer @ Freescale -
Feb 28, 10:51 am 2007
Timur Tabi
Re: lanana: Add major/minor entries for PPC QE UART devices
I'm willing to use whatever minor number and range the community agrees upon. An alternative idea, which one person already shot down, was to allow only 4 devices normally, but allow more devices if you use udev, since udev doesn't care about minor number assignments. This eliminates the overlap and encourages people to use udev. -- Timur Tabi Linux Kernel Developer @ Freescale -
Feb 28, 10:35 am 2007
Timur Tabi
Re: lanana: Add major/minor entries for PPC QE UART devices
The QE can have up to 8, actually, but I'm willing to limit the driver to 4. -
Feb 28, 7:37 am 2007
Timur Tabi
Re: lanana: Add major/minor entries for PPC QE UART devices
Ok, a different minor range it is, then. 192-199? -- Timur Tabi Linux Kernel Developer @ Freescale -
Feb 28, 9:20 am 2007
Dan Malek
Re: lanana: Add major/minor entries for PPC QE UART devices
I don't know the origin of this thread, but none of that looks correct. Today, there can be up to 8 CPM UART devices, 6 on CPM/CPM2 and 8 on the QE. If ttyCPM0 starts at minor 46, they should be at least monotonically incrementing up to ttyCPM7 with minor 53. Thanks. -- Dan -
Feb 28, 8:46 am 2007
Timur Tabi
Re: lanana: Add major/minor entries for PPC QE UART devices
Because the QE isn't called CPM v3, that's just one way to think about it. It's a different device that has some backwards compatibility, but the drivers are all distinct and they all use "QE" and not "CPM" in their names. -
Feb 28, 7:35 am 2007
Timur Tabi
Re: lanana: Add major/minor entries for PPC QE UART devices
Minor nit: On the QE, they'll be called ttyQE0 through ttyQE7. I agree that the CPM and the QE should share the same starting minor number, so that ttyCPM0 has the same major/minor number as ttyQE0, since it's not possible to have a CPM and a QE on the same device. However, ttyCPM0 is currently assigned to 46, and device 50 is an Altix serial card. The only way to give the CPM 6 or 8 slots without moving it is to overlap the Altix card. Now I don't know anything about the Altix card, ...
Feb 28, 10:04 am 2007
Kumar Gala
Re: lanana: Add major/minor entries for PPC QE UART devices
I think it really is 6 for the current CPM, and I don't see why we its not 8 for QE, Timur? - k -
Feb 28, 7:32 am 2007
Kumar Gala Feb 28, 7:54 am 2007
H. Peter Anvin Feb 28, 9:33 am 2007
Dan Malek
Re: lanana: Add major/minor entries for PPC QE UART devices
Then, this is currently broken in all cases and needs to be fixed since the CPM/CPM2 I don't think that would be a problem, and I'd like the CPM/QE to share devices because it makes the software distributions common to all Freescale That would be bad. It has nothing to do with the kernel, but we have finally survived the distribution updates to ttyCPM, and I don't want to go through that again just because of QE. Thanks. -- Dan -
Feb 28, 10:27 am 2007
H. Peter Anvin
Re: lanana: Add major/minor entries for PPC QE UART devices
I would much rather see these devices moved to a different minor range. -hpa -
Feb 28, 11:00 am 2007
H. Peter Anvin
Re: lanana: Add major/minor entries for PPC QE UART devices
It sounds like the QE driver should be moved to a separate minor range, and given 8 minors. -hpa -
Feb 28, 8:13 am 2007
Segher Boessenkool
Re: lanana: Add major/minor entries for PPC QE UART devices
It's obvious it shouldn't be 47, but it's not obvious it Adding linuxppc-embedded to the CC:, someone there surely knows. Segher -
Feb 28, 7:54 am 2007
Timur Tabi
Re: lanana: Add major/minor entries for PPC QE UART devices
I just had a thought - since udev doesn't care about major/minor number assignments, can we say that the limit is 4 devices if you're not using udev, and 8 otherwise? -- Timur Tabi Linux Kernel Developer @ Freescale -
Feb 28, 9:29 am 2007
Mathiasen, Torben
RE: lanana: Add major/minor entries for PPC QE UART devices
Assuming QE has 4 entries, I would expect CPM to be the same. But we need verification of that. If it needs 6, we are in more trouble. Torben -
Feb 28, 6:14 am 2007
Timur Tabi
Re: lanana: Add major/minor entries for PPC QE UART devices
Honestly, I don't know. I was just correcting the obvious typo (47 instead of 49). I'll try to get an answer from someone, but I'm no CPM expert. -
Feb 28, 7:34 am 2007
H. Peter Anvin
Re: lanana: Add major/minor entries for PPC QE UART devices
Well, how many CPM devices can exist? If there are really 6 ports possible, they need minors up to 51. Also, if QE really is just CPM v3, and they share the same minors, why change the name? -hpa -
Feb 28, 6:00 am 2007
Mathiasen, Torben
RE: lanana: Add major/minor entries for PPC QE UART devices
Its your choice if you want to limit it to 4 or have it moved into a different minor range. I can live with both. Thanks, Torben -
Feb 28, 7:51 am 2007
Dan Malek
Re: lanana: Add major/minor entries for PPC QE UART devices
I'd shoot that down, too. Using udev in an embedded, reliable environment is very troublesome. Although, products I've developed using more than 4 UARTs had some custom /dev work done to it just to get everything mapped. My only concern is we don't add a new range for QE UARTs, that we use the same minors for both CPM and QE. Thanks. -- Dan -
Feb 28, 10:46 am 2007
Jan-Bernd Themann
Re: [PATCH 2/2] ehea: NAPI multi queue TX/RX path for SMP
good point. I'll fix that. I'll send a new patch set later today Thanks, Jan-Bernd -
Feb 28, 2:23 am 2007
Randy Dunlap
Re: Need Help on Crash Dump in Kernel-2.6.20
2.6.20 has a CRASH_DUMP config option for some processor architectures, such as ia64, i386, x86_64, powerpc. You should read the help text for that config option as well --- ~Randy *** Remember to use Documentation/SubmitChecklist when testing your code *** -
Feb 27, 6:15 pm 2007
Ph. Marek
RE: Using dm-crypt for encrypting files
Well, that's a small (but known!) problem with this scheme. If you say that everything below a directory "_crypt_" should be encrypted, and just move files in there, you've got no problems - the encryption settings stay the same. If you move in/out of encrypted storage, there's two options: - if it's a separate filesystem, ie. mounted, you cannot move - you have to copy & delete, which means the data gets correct settings. - if its not the same filesystem, you might get a wrongly ...
Feb 27, 11:11 pm 2007
Dmitry Torokhov
Re: Fwd: Using serio_register_driver
Depending on how big and box-specific the code is we could either add it to i8042 or you need to imaplement a pass-through serio port in your driver. You would filter out "interesting" bytes and pass the rest to the new serio port that your driver shoudl register. Tnen atkbd would bind to that new port and function as usual. The only problem is that you woudl need to bind you driver to the keyboard port from userspace (via sysfs - /sys/bus/devices/serioX/drvctl) -- Dmitry -
Feb 28, 9:34 am 2007
Ingo Molnar
Re: [patch 04/26] Xen-paravirt_ops: Add pagetable access ...
hm, it then needs to be fixed first, instead of adding to the mess. Ingo -
Feb 28, 1:32 am 2007
Rusty Russell
Re: [patch 04/26] Xen-paravirt_ops: Add pagetable access ...
Yes, originally paravirt.h didn't define anything if !CONFIG_PARAVIRT for this reason: getting it tied into the other headers correctly is a PITA. Rusty. -
Feb 28, 2:02 pm 2007
Jeremy Fitzhardinge
Re: [patch 04/26] Xen-paravirt_ops: Add pagetable access ...
OK, I've fixed this by hoisting all the native_* implementations into pgtable.h. In the !PARAVIRT case the normal macros directly use the native_* functions, and in the PARAVIRT case they're used by the native paravirt_ops. This has the nice property of avoiding this specific problem, and also generally removes code duplication. J -
Feb 28, 1:12 pm 2007
Ingo Molnar
Re: [patch 06/26] Xen-paravirt_ops: paravirt_ops: alloca ...
fair enough. Please rename it to FIX_PARAVIRT_BOOTUP - you can still rely on it being available later on too, but we'd like to give everyone the right fundamental idea about this: it's meant to be a limited, inflexible interface for bootstrap only. Ingo -
Feb 28, 1:30 am 2007
Jeremy Fitzhardinge
Re: [patch 06/26] Xen-paravirt_ops: paravirt_ops: alloca ...
Hm, this is a bit awkward. We need to map the shared info page fairly early - say, around paging_init - but we're still on the bootmem allocator at that point, so get_vm_area isn't usable yet. Using a fixmap keeps things simple. It seems to me that having a single fixmap available is useful for this kind of simple/early mapping, and if someone needs to map something larger, then they can put it off until get_vm_area() is available... J -
Feb 27, 5:49 pm 2007
Jeremy Fitzhardinge Feb 28, 1:09 pm 2007
Jens Axboe
Re: Removing request from I/O scheduler queue
You need to show your code, nobody can help you with such a vague description of what is going on. Either you are illegally removing a request, or your removal code is buggy. That is about all that one can conclude from the above. -- Jens Axboe -
Feb 28, 5:20 am 2007
Jens Axboe
Re: Fix soft lockup with iSeries viocd driver
Signed-off-by: Jens Axboe <jens.axboe@oracle.com> -- Jens Axboe -
Feb 28, 5:16 am 2007
Davide Libenzi
Re: [patch] epoll reduced (to 1) number of passes over t ...
Yes indee. That does not need to exist anymore, once the de-coupled loop is gone. Thx, I'll make a new patch later today. - Davide -
Feb 28, 8:29 am 2007
Eric Dumazet
Re: [patch] epoll reduced (to 1) number of passes over t ...
I am pretty sure you can also remove revents member from epitem. It would greatly benefit to 32bits platforms, because resulting size would be 64 bytes instead of 68 (so a 50 % reduction because of 64 bytes alignment) Eric -
Feb 28, 4:13 am 2007
Jan Engelhardt
Re: [PATCH] udivdi3: 64 bit divide
Simple. The non-arch specific code does not use 64/64 divides through the "/" operator (otherwise there would already have been udivdi3 linking errors). So what remains to check is arch/arm26. grep -Pr 'int64|\bu64' returns only a few results to check (kernel/ecard.c, nwfpe/), so the answer is most likely no. Jan -- -
Feb 28, 3:30 pm 2007
Roland McGrath
Re: debug registers and fork
It is true that debug registers are inherited by fork and clone. I am 99% sure that this was never specifically intended, but it has been this way for a long time (since 2.4 at least). It's an implicit consequence of the do_fork implementation style, which does a blind copy of the whole task_struct and then explicitly reinitializes some individual fields. I suppose this has some benefit or other, but it is very prone to new pieces of state getting implicitly copied without the person adding ...
Feb 28, 2:25 pm 2007
Guennadi Liakhovetski
Re: [PATCH] pata_sil680 suspend/resume
AFAICS, "still active" is printed from ata_host_suspend() if a device (disk) on the host to be suspended doesn't have ATA_DFLAG_SUSPENDED flag set. This flag is only set in ata_eh_suspend(), which is only called from ata_eh_recover(), like this: generic_error_handler() ata_bmdma_drive_eh() ata_do_eh() ata_eh_recover() ata_eh_suspend() dev->flags |= ATA_DFLAG_SUSPENDED; but I don't understand why the error handler should be envoked? Should the "disk" be suspended before the host and ...
Feb 28, 2:19 pm 2007
Chuck Ebbert
Re: Current PATA working tree
Generated without --show-c-function. Sigh. -
Feb 28, 7:45 am 2007
Alan
Re: bug in kernel 2.6.21-rc1-git1: conventional floppy d ...
PLIP/Laplink runs bidirectional on ordinary parallel ports. The bidirectional part of parallel ports in "normal" modes is still used for things like PnP detection of printer and drivers. -
Feb 28, 6:04 am 2007
Rene Herman
Re: bug in kernel 2.6.21-rc1-git1: conventional floppy d ...
And my parallel port Iomega ZIP drive, it seems. I actually checked earlier and although it doesn't use DMA (it says it's using "EPP 32-bit") it does use bidrectional communication; it's an sd device. I admit most of those will be confined to history as well with respect to actual use (they existed with 100MB, 250 and 750MB disks, although the 750 one probably not as parallel) but they looked cool, so people haven't just thrown them away yet :) Rene -
Feb 28, 5:20 am 2007
Bill Davidsen
Re: bug in kernel 2.6.21-rc1-git1: conventional floppy d ...
The bidirectional use is/was PL/IP, aka "laplink" connections. Yes, I still have a machine I installed that way, and it will run 2.2.19 -- Bill Davidsen <davidsen@tmr.com> "We have more to fear from the bungling of the incompetent than from the machinations of the wicked." - from Slashdot -
Feb 27, 7:42 pm 2007
DervishD
Re: tdfx framebuffer garbles display in 2.6.19.5
Hi Antonino :) I'm doing system maintenance now, and won't have spare time until friday, probably, but as soon as possible I'll test the patch. Thanks a lot for your invaluable help :) If you want me to test more patches, feel free. I'll test them ASAP, probably this weekend if I can afford the time. Raúl Núñez de Arenas Coronado -- Linux Registered User 88736 | http://www.dervishd.net It's my PC and I'll cry if I want to... RAmen! -
Feb 28, 3:49 am 2007
Andre Noll Feb 28, 8:37 am 2007
Andre Noll
Re: qla2xxx BUG: workqueue leaked lock or atomic
With 2.6.21-rc2 I am unable to reproduce this BUG message. However, writing to both raid systems at the same time via lvm still locks up the system within minutes. As lockdep revealed another dm-related lock problem on this kernel, I guess I'll have to bother the lvm people on this. Thanks Andre
Feb 28, 8:18 am 2007
Srivatsa Vaddagiri Feb 28, 4:01 am 2007
Oleg Nesterov
Re: [RFC][PATCH 1/3] Freezer: Fix vfork problem
I think this comment is accurate and understandable, and I am not suggesting to change it. However, please note that PF_FREEZER_SKIP can be used not only for vfork(). For example, it seems to me we can also use freezer_...count() to solve the problem with coredump. We can use the same "wait_for_completion_freezable" pattern in exit_mm() and in coredump_wait(). (i do not claim this is a best fix though). Oleg. -
Feb 28, 1:30 pm 2007
Rafael J. Wysocki
Re: [RFC][PATCH 1/3] Freezer: Fix vfork problem
You're right, but in that comment I wanted to explain why it was done this way rather than what else it could be used for. There may be some uses of it that we can't even anticipate right now. :-) Rafael -
Feb 28, 3:34 pm 2007
Srivatsa Vaddagiri
Re: [RFC][PATCH 1/3] Freezer: Fix vfork problem
Maybe additional comments on why we don't skip vfork kernel tasks may be good. Otherwise looks ok to me. Thanks Rafael for making the changes! -- Regards, vatsa -
Feb 27, 6:23 pm 2007
Rafael J. Wysocki
Re: [RFC][PATCH 1/3] Freezer: Fix vfork problem
Which is because we don't want the kernel threads to be frozen in unexpected places, so we allow them to block freeze_processes() instead or to set You're welcome. :-) Greetings, Rafael -
Feb 28, 3:57 am 2007
Oleg Nesterov
Re: [RFC][PATCH 1/3] Freezer: Fix vfork problem
... and because in fact it won't block freeze_processes(), ____call_usermodehelper (the child) does a minimum before exec/exit, and it can't be frozen until it wakes up the parent. Oleg. -
Feb 28, 4:00 am 2007
Rafael J. Wysocki
Re: [RFC][PATCH 1/3] Freezer: Fix vfork problem
Okay, I have added a comment to freezer.h. Please have a look. Rafael --- From: Rafael J. Wysocki <rjw@sisk.pl> Currently try_to_freeze_tasks() has to wait until all of the vforked processes exit and for this reason every user can make it fail. To fix this problem we can introduce the additional process flag PF_FREEZER_SKIP to be used by tasks that do not want to be counted as freezable by the freezer and want to have TIF_FREEZE set nevertheless. Then, this flag can be set by tasks ...
Feb 28, 12:36 pm 2007
Bill Davidsen
Re: 2.6.21-rc1: CIFS cheers, NFS4 jeers
No, but as noted I was doing 20-30GB, so if "several" is a small number I'm not seeing that behavior. I'm using a Gbit connection if that is not the same as your setup. I have additional testing queued for time available this week. -- bill davidsen <davidsen@tmr.com> CTO TMR Associates, Inc Doing interesting things with small computers since 1979 -
Feb 28, 6:35 am 2007
Florin Iucha
Re: 2.6.21-rc1: CIFS cheers, NFS4 jeers
2.6.20-rcX used to copy all files then hang on certain operations that I think used the VFS. 2.6.21-rc1 stalls the NFS transfer itself after several GB. The data was never corrupted. Have you tried copying _ALL_ 190 GB to the server? florin --=20 Bruce Schneier expects the Spanish Inquisition. http://geekz.co.uk/schneierfacts/fact/163
Feb 27, 9:03 pm 2007
Bill Davidsen
Re: 2.6.20-rc1: CIFS cheers, NFS4 jeers
Neil has been diddling NFS, I did some light testing with 2.6.20-git14 with 190GB of mp3 and mpg files (library of congress folk music) without hangs. Just "did it work" tests, copy 20-30GB to server, do md5 on the data pulled back from the server. Didn't hang, performance testing later. -- Bill Davidsen <davidsen@tmr.com> "We have more to fear from the bungling of the incompetent than from the machinations of the wicked." - from Slashdot -
Feb 27, 7:36 pm 2007
Bill Davidsen
Re: latencies due to disk writes
Actually, in many cases this is just what you do want, to avoid filling memory with buffered writes and then flushing them on time or memory runout. -- Bill Davidsen <davidsen@tmr.com> "We have more to fear from the bungling of the incompetent than from the machinations of the wicked." - from Slashdot -
Feb 27, 7:30 pm 2007
David Woodhouse
Re: Make sure we populate the initroot filesystem late enough
I've seen it on a PowerMac3,1 (400MHz G4) where we don't have cpufreq. I've also seen it on the latest 1.5GHz Mac Mini, and on my shinybook. They all fall over with the latest kernel, although the shinybook only does so immediately when booted with mem=512M. The shinybook does crash later with new kernels though; I don't yet know why. It could be the same thing, or it could be something different. That one seemed to appear between Fedora's 2.6.19-1.2913 and 2.6.19-1.2914 kernels, where we did ...
Feb 28, 3:13 am 2007
Benjamin Herrenschmidt
Re: Make sure we populate the initroot filesystem late enough
I wouldn't be that sure ... I've had problems in the past with PMU based cpufreq... looks like flushing all caches and hard-resetting the processor on the fly when there can be pending DMAs might be a source of trouble... especially on CPUs that don't have working cache flush HW assist. Ben. -
Feb 27, 11:43 pm 2007
John
Re: CLOCK_MONOTONIC datagram timestamps by the kernel
I've considered running NTP to synchronize the clocks, but I'm afraid it wouldn't help, for several reasons: 1) The 40.5 MHz clock used to timestamp datagrams at the source is located on a PCI board. I have read access to a 32-bit counter that is incremented every cycle (somewhat like the TSC on x86). 2) Source and receiver are inside a VPN, and do not have access to the Internet. I don't think I can keep NTP happy if it can't talk to any NTP servers. (I'm not snipping the rest of ...
Feb 28, 4:23 am 2007
Hugh Dickins
Re: [PATCH] adapt page_lock_anon_vma() to PREEMPT_RCU
Acked-by: Hugh Dickins <hugh@veritas.com> Thanks for doing this, and sorry for my delay. -
Feb 28, 12:48 pm 2007
James Simmons
Re: [PATCH] display class
How does this look? The new and improved display class. Signed-Off: James Simmons <jsimmons@infradead.org> diff -urN -X fbdev-2.6/Documentation/dontdiff linus-2.6/drivers/video/display/display-sysfs.c fbdev-2.6/drivers/video/display/display-sysfs.c --- linus-2.6/drivers/video/display/display-sysfs.c 1969-12-31 19:00:00.000000000 -0500 +++ fbdev-2.6/drivers/video/display/display-sysfs.c 2007-02-28 10:09:47.000000000 -0500 @@ -0,0 +1,217 @@ +/* + * display-sysfs.c - Display output driver ...
Feb 28, 8:17 am 2007
Bill Davidsen
Re: SMP performance degradation with sysbench
That may be the case, but in my opinion if this helps it doesn't "solve" the problem, because the real problem is that a process which is not on a HT is being treated as if it were. Note that Intel does make multicore HT processors, and hopefully when this code works as intended it will result in more total throughput. My supposition is that it currently is NOT working as intended, since disabling SMT scheduling is reported to help. A test with MC on and SMT off would be informative for ...
Feb 27, 7:21 pm 2007
Nish Aravamudan
Re: SMP performance degradation with sysbench
Here are some graphs from the 4-socket/8-way Xeon box (no SMT, no MC in .config) I posted about earlier. transactions.png resembles Nick's results pretty closely, in that a drop-off occurs, at the same # of threads, too. That seems weird to me, but I haven't thought about it too closely. Shouldn't Nick's be dropping off closer to 16 threads (that would be 1 per core, then, right?) idle.png is the average % idle according to sar over each run from 1 to 32 threads. This appears to confirm ...
Feb 27, 6:27 pm 2007
Nish Aravamudan
Re: SMP performance degradation with sysbench
Ok, thanks for the clarification. -Nish -
Feb 27, 7:51 pm 2007
Nish Aravamudan
Re: SMP performance degradation with sysbench
It does help, but we still drop off, clearly. Also, that's my baseline, so I'm not able to reproduce the *sharp* dropoff from the I'm rebooting my box with 2.6.20.1 and exactly this setup now. Thanks, Nish -
Feb 27, 7:52 pm 2007
Nick Piggin
Re: SMP performance degradation with sysbench
I don't think it is exactly a matter of processes >= cores, but rather just a general problem at higher concurrency. -- SUSE Labs, Novell Inc. Send instant messages to your online friends http://au.messenger.yahoo.com -
Feb 27, 7:22 pm 2007
David Brownell
Re: [linux-usb-devel] usbfs2: Why asynchronous I/O?
I don't see how that would follow from that assumption. But even if it did, the assumption isn't necessarily valid. People who can write threaded programs are the minority; people who can write correct ones are even more rare! We all hope that changes. It's been hoped for at least a decade now. (stack_size + other_thread_costs + urb_size) > (aoicb_size + urb_size) There was recent discussion on another LKML thread pointing out how an event-driven server ran at basically 100% of ...
Feb 28, 1:03 pm 2007
Alan
Re: [QUESTION] Sata RAID
I've had them fail within days when using almost identical serial numbers. Nowdays I just mix disk vendors on each array. End of problem. -
Feb 28, 6:02 am 2007
Bill Davidsen
Re: [QUESTION] Sata RAID
Well, for values of "shortly" in months in most cases. These are consumer goods, I would not expect units with consecutive serial numbers to fail separated by such a short time that you can't do a backup and/or replace and rebuild. If quality control were so good they are likely to fail at the same time it would be so good they would be obsolete before they failed. That urban myth is a good reason to do backups, but a bad reason to avoid RAID. -- Bill Davidsen <davidsen@tmr.com> ...
Feb 27, 6:51 pm 2007
Jan Kiszka
Re: MOST(Media Oriented Systems Transport) Interface?
The were some rumours earlier, but now I actually stumbled over the release - and recalled this thread. This might be what you are looking for: http://most4linux.sourceforge.net/ Jan -
Feb 28, 4:22 pm 2007
Dale Blount Feb 28, 2:39 pm 2007
Bill Davidsen
Re: 2.6.21-rc1: framebuffer/console boot failure
Try setting the resolution and frame rate, video=XXX:1280x1024@70 or such. Worked for me. I like pci=noacpi, though ;-) -- Bill Davidsen <davidsen@tmr.com> "We have more to fear from the bungling of the incompetent than from the machinations of the wicked." - from Slashdot -
Feb 27, 6:35 pm 2007
Dave Jones
Re: [PATCH 1/3]cpuidle take2: Core cpuidle infrastructure
On Tue, Feb 27, 2007 at 08:47:55PM -0800, Pallipadi, Venkatesh wrote: > >I played with this a little, and got puzzled. > >My quad core box used exactly the same amount of power whether the > >'ladder' governer was loaded & in use or not. In both situations > >it was exactly the same as a vanilla 2.6.20 > > > >I'd have expected it to use more until I loaded up 'ladder' to bring it > >on par featurewise with 2.6.20. What did I miss? > > Quad core what platform? Glenwood > How ...
Feb 27, 11:59 pm 2007
Pallipadi, Venkatesh
RE: [PATCH 1/3]cpuidle take2: Core cpuidle infrastructure
Quad core what platform? How many C-states are supported in this platform? Current ladder is mostly like Policy embedded in ACPI today. But, Adam has been working on different policies that we want to experiment with as we go along. Thanks, Venki -
Feb 27, 9:47 pm 2007
Paul Mundt
Re: fully honor vdso_enabled [i386, sh; x86_64?]
We didn't actually have the sysctl entry wired up on SH, but once that's done, this patch works fine there too. Andrew, do you want a separate patch for the vdso_enabled sysctl or is it more convenient through my git tree? Acked-by: Paul Mundt <lethal@linux-sh.org> -
Feb 28, 2:11 am 2007
Andrew Morton
Re: fully honor vdso_enabled [i386, sh; x86_64?]
On Wed, 28 Feb 2007 18:11:11 +0900 If it's an sh-only thing then through your tree is fine, thanks. -
Feb 28, 2:40 pm 2007
Chuck Ebbert Feb 28, 8:13 am 2007
Heiko Carstens
Re: [POWERPC] Mask 32-bit system call arguments to 32 bi ...
Extended the cc list with a few people that recently worked on the audit code, maybe somebody could answer my question above? -
Feb 28, 2:57 am 2007
James Simmons
Re: First desktop motherboard supported by LinuxBIOS: GI ...
Quick question. Can this board initialize more than one graphics card? > >
Feb 28, 9:51 am 2007
Arnd Bergmann
Re: [Cbe-oss-dev] [RFC, PATCH] CELL Oprofile SPU profili ...
The patch does not contain any of the metadata I need to apply it No, this is wrong. Leaving the variables uninitialized at least warns you about the bug you have in this function: when there is anything wrong, you just continue writing the record with zero offset and dcookie values in it. Instead, you should get handle the error condition somewhere down the code. It's harmless most of the time, but you really should not be painting Right, I forgot about this. Arnd <>< -
Feb 27, 6:44 pm 2007
Davide Libenzi
Re: [patch 00/13] Syslets, "Threadlets", generic AIO sup ...
Something like this (with async_wait() returning asynid's)? struct async_syscall { long *result; unsigned long asynid; unsigned long nr_sysc; unsigned long params[8]; }; - Davide -
Feb 28, 12:42 pm 2007
Ingo Molnar
Re: [patch 00/13] Syslets, "Threadlets", generic AIO sup ...
it is not. Today i've implemented 64-bit syslets on x86_64 and 32-bit-on-64-bit compat syslets. Both the 64-bit and the 32-bit syslet (and threadlet) binaries work just fine on a 64-bit kernel, and they share 99% of the infrastructure. There's only a single #ifdef CONFIG_COMPAT in kernel/async.c: #ifdef CONFIG_COMPAT asmlinkage struct syslet_uatom __user * compat_sys_async_exec(struct syslet_uatom __user *uatom, struct async_head_user __user *ahu) { ...
Feb 28, 1:21 pm 2007
Davide Libenzi
Re: [patch 00/13] Syslets, "Threadlets", generic AIO sup ...
Okkey then, I guess it's good to go as is :) - Davide -
Feb 28, 3:47 pm 2007
Pavel Machek
Re: [patch 00/13] Syslets, "Threadlets", generic AIO sup ...
No-o. Kernel is not designed like that. Often, more complex and slightly faster code exists, and we simply use slower variant, because it is fast enough. 10% gain in speed is NOT worth major complexity increase. Pavel -- (english) http://www.livejournal.com/~pavelmachek (cesky, pictures) http://atrey.karlin.mff.cuni.cz/~pavel/picture/horses/blog.html -
Feb 28, 9:14 am 2007
Davide Libenzi
Re: [patch 00/13] Syslets, "Threadlets", generic AIO sup ...
Here we very much agree. The way I'd like it: struct async_syscall { unsigned long nr_sysc; unsigned long params[8]; long result; }; int async_exec(struct async_syscall *a, int n); or: int async_exec(struct async_syscall **a, int n); At this point I'm ok even with the userspace ring buffer, returning back pointers to "struct async_syscall". - Davide -
Feb 28, 11:22 am 2007
Ingo Molnar
Re: [patch 00/13] Syslets, "Threadlets", generic AIO sup ...
there are so many variants of what people think 'asynchronous IO' should look like - i'd not like to limit them. I agree that once a particular syslet script becomes really popular, it might (and should) in fact be pushed into a separate system call. But i also agree that a one-shot-syscall sys_async() syscall could be done too - for those uses where only a single system call is needed and where the fetching of a single uatom would be small but nevertheless unnecessary overhead. A ...
Feb 28, 2:45 am 2007
Evgeniy Polyakov Feb 28, 1:02 am 2007
Ingo Molnar
Re: [patch 00/13] Syslets, "Threadlets", generic AIO sup ...
no, i made the 64-bit and 32-bit structures layout-compatible. This makes the 32-bit structure as large as the 64-bit ones, but that's not a the thing is, there's almost zero overhead from having those basic things like conditions and the ->next link, and they make it so much more capable. As usual my biggest problem is that you are not trying to use syslets at all - you are only trying to get rid of them ;-) My purpose with syslets is to enable a syslet to do almost anything that ...
Feb 28, 2:23 pm 2007
Chris Friesen
Re: [patch 00/13] Syslets, "Threadlets", generic AIO sup ...
Either one has downsides. Pointer to struct async_syscall requires that the caller keep the struct around. Pointer to result requires that the caller always reserve a location for the result. Does the kernel care about the (possibly rare) case of callers that don't want to pay attention to result? If so, what about adding some kind of caller-specified handle to struct async_syscall, and having async_wait() return the handle? In the case where the caller does care about the result, ...
Feb 28, 12:03 pm 2007
Linus Torvalds
Re: [patch 00/13] Syslets, "Threadlets", generic AIO sup ...
Well, I agree, except for one thing: - user space execution is *inherently* more expensive. Why? Stack. Stack. Stack. If you support threadlets with user space code, it means that you need a separate user-space stack for each threadlet. That's a potentially *big* cost to bear, both from a setup standpoint and from simply a memory allocation standpoint. Quite frankly, I think threadlets are a great idea, but I think the lack of user-level footprint is *also* a great idea, and you ...
Feb 28, 9:42 am 2007
Davide Libenzi
Re: [patch 00/13] Syslets, "Threadlets", generic AIO sup ...
Ok, we're past the error code in the atom, as Linus pointed out ;) How about this, with async_wait returning asynid's back to a userspace ring buffer? struct syslet_utaom { long *result; unsigned long asynid; unsigned long nr_sysc; unsigned long params[8]; }; My problem with the syslets in their current form is, do we have a real use for them that justify the extra complexity inside the kernel? Or with a simple/parellel async submission, coupled with ...
Feb 28, 2:46 pm 2007
Linus Torvalds
Re: [patch 00/13] Syslets, "Threadlets", generic AIO sup ...
No, the "result" needs to go somewhere else. The caller may be totally uninterested in keeping the system call number or parameters around until the operation completes, but if you put them in the same structure with the result, you obviously cannot sanely get rid of them. I also don't much like read-write interfaces (which the above would be: the kernel would read most of the structure, and then write one member of the structure). It's entirely possible, for example, that the ...
Feb 28, 11:42 am 2007
Michael K. Edwards
Re: [patch 00/13] Syslets, "Threadlets", generic AIO sup ...
State machines are much harder to write without going through a real on-paper design phase first. But multi-threaded code is much harder for a team of average working coders to write correctly, judging from the numerous train wrecks that I've been called in to salvage over the last ten years or so. The typical 50-250KLoC multi-threaded C/C++/Java application, even if it's been shipping to customers for several years, is littered with locking constructs yet routinely corrupts shared data ...
Feb 27, 8:03 pm 2007
Ingo Molnar
Re: [patch 00/13] Syslets, "Threadlets", generic AIO sup ...
that's quite close to what Jens' FIO plugin for syslets (engines/syslet-rw.c) does currently: it builds lists of syslets as IO gets submitted, batches them up for some time and then sends them off. It is a natural next step to do this for in-flight syslets as well. Ingo -
Feb 28, 10:26 am 2007
Davide Libenzi
Re: [patch 00/13] Syslets, "Threadlets", generic AIO sup ...
Did you hide all the complexity of the userspace atom decoding inside another function? :) How much code would go away, in case we pick a simple/parallel sys_async_exec engine? Atoms decoding, special userspace variable access Wouldn't you agree on a simple/parallel execution engine like me and Linus are proposing (and threadlets, of course)? - Davide -
Feb 28, 2:09 pm 2007
Phillip Susi
Re: [patch 00/13] Syslets, "Threadlets", generic AIO sup ...
I have to agree; state machines are harder to design and read, but multithreaded programs are harder to write and debug _correctly_. Another way of putting it is that the threadlet approach is easier to do, but harder to do _right_. -
Feb 28, 9:38 am 2007
Ingo Molnar
Re: [patch 00/13] Syslets, "Threadlets", generic AIO sup ...
I agree that threadlets are much more flexible - and they might in fact win in the long run due to that. i'll add a one-shot syscall API in v6 and then we'll be able to see them side by side. (wanted to do that in v5 but it got delayed by x86_64 issues, x86_64's entry code is certainly ... tricky wrt. ptregs saving) wrt. one-shot syscalls, the user-space stack footprint would still probably be there, because even async contexts that only do single-shot processing need to drop out of ...
Feb 28, 4:12 pm 2007
Ingo Molnar
Re: [patch 00/13] Syslets, "Threadlets", generic AIO sup ...
we talked about the parameters at length: if they are pointers the layout is significantly more flexible and more capable. It's a pretty similar argument to the return-pointer thing. For example take a look at how the IO syslet atoms in Jens' FIO engine share the same fd. Even if there's 20000 of them. And they are fully cacheable in constructed state. The same goes for the webserving examples i've got in the async-test userspace sample code. I can pick up a cached request and only ...
Feb 28, 3:22 pm 2007
Michael K. Edwards
Re: [patch 00/13] Syslets, "Threadlets", generic AIO sup ...
I'm pretty lazy all right. But occasionally an interesting problem (and revamping AIO is very interesting) makes me think, and what little thinking I do is always accompanied by writing. Once I've thought something through to the point that I think I understand the problem, I've even been known to attempt a solution. Not always, though; more often, I find a new interesting problem, or else I am forcibly reminded that I should be spending my little store of insight on revenue-producing ...
Feb 28, 10:01 am 2007
Davide Libenzi
Re: [patch 00/13] Syslets, "Threadlets", generic AIO sup ...
Ok, makes sense. Something like this then? struct async_syscall { unsigned long nr_sysc; unsigned long params[8]; long *result; }; And what would async_wait() return bak? Pointers to "struct async_syscall" or pointers to "result"? - Davide -
Feb 28, 11:50 am 2007
Ingo Molnar
Re: A quick fio test (was Re: [patch 00/13] Syslets, "Th ...
i'd like to do something more about this to be more in line with libaio - if nothing else then for the bragging rights ;-) It seems to me that a drop of ~7% in throughput cannot be explained with any CPU overhead, it must be some sort of queueing + IO scheduling effect - right? Ingo -
Feb 28, 1:38 am 2007
Jens Axboe
Re: A quick fio test (was Re: [patch 00/13] Syslets, "Th ...
Ok, now that I can run this on more than x86, I gave it a spin on a box with a little more potent storage. This is a core 2 quad, disks are 7200rpm sata (with NCQ) and a 15krpm SCSI disk. IO scheduler is deadline. SATA disk: Engine Depth Batch Bw (KiB/sec) ---------------------------------------------------- libaio 64 8 17,486 syslet 64 8 17,357 libaio 20000 8 17,625 syslet 20000 8 16,526 sync 1 1 7,529 SCSI ...
Feb 28, 1:31 am 2007
Jens Axboe
Re: A quick fio test (was Re: [patch 00/13] Syslets, "Th ...
syslet shows a slightly higher overhead, but nothing that will account for any bandwidth change in this test. The box is obviously mostly idle when running this test, it's not very CPU consuming. The IO pattern issued is not the same, since libaio would commit IO [0..7], then [8..15] and so on, where syslet would expose [0,8,16,24,32,40,48,56] and then [1,9,17,25,33,41,49,57] etc. If iodepth_batch is set to 1 you'd get a closer match wrt io pattern, but at a higher cost (increased system calls, ...
Feb 28, 2:07 am 2007
Davide Libenzi
Re: [patch 00/13] Syslets, "Threadlets", generic AIO sup ...
At this point, given how threadlets can be easily/effectively dispatched from userspace, I'd argue the presence of either single/parallel or syslet submission altogether. Threadlets allows you to code chains *way* more naturally than syslets, and since they basically are like functions calls in the fast path, they can be used even for single/parallel submissions. No compat code required (ok, besides the trivial async_wait). My point is, the syslet infrastructure is expensive for the kernel ...
Feb 28, 9:17 am 2007
James Simmons Feb 28, 9:54 am 2007
Lee Revell
Re: Sound 2.6.19: Soundcard driver often fail to load?
This doesn't work for apps that use the deprecated /dev/dsp API. Of course, a modern distro should be trying to purge these anyway... Lee -
Feb 28, 7:34 am 2007
Veronique & Vincent
Re: Sound 2.6.19: Soundcard driver often fail to load?
Now there is a bug opened up at redhat: https://bugzilla.redhat.com/bugzilla/show_bug.cgi?id=229227 I've ran into this info: http://www.lavrsen.dk/twiki/bin/view/PWC/FrequentlyAskedQuestionsPWC#modprobe_fails_wi... and did removed the index=X line associated with the pwc driver. This still create a problem from time to time. Seems like the index=X option is broken in the alsa driver (or maybie deprecated, remove, buggy, duno?). There is another way to fix the problem by using a ...
Feb 27, 6:59 pm 2007
Thomas Gleixner
Re: 2.6.21-rc1: known regressions (v2) (part 1)
Can you please get the dmesg output after resume via the network ? tglx -
Feb 28, 2:27 pm 2007
Ingo Molnar
Re: regression: forcedeth.c hang
yep, can confirm that it's now fixed upstream too. Ingo -
Feb 28, 12:36 am 2007
Michael S. Tsirkin
Re: 2.6.21-rc1: known regressions (v2) (part 1)
Just reproduced this in -rc2. Another thing I noticed: with 2.6.20, pressing Fn/F4 generates an ACPI event and triggers suspend to RAM. On 2.6.21-rc2, after resume (when the box is accessible from network), pressing Fn/F4 again does not seem to have any effect. -- MST -
Feb 28, 2:13 pm 2007
Jens Axboe
Re: 2.6.21-rc1: known regressions (part 2)
It doesn't resume at all. -- Jens Axboe -
Feb 28, 12:41 am 2007
Mike Galbraith
Re: 2.6.21-rc1: known regressions (v2) (part 2)
(hrmph. having to copy/paste/try again. evolution seems to be broken.. RCPT TO <linux-kernel@vg.kolivas.org> failed: Cannot resolve your domain {mp049} ..caused me to be unable to send despite receipts being disabled) No I'm not, but let's go further in that direction just for the sake of argument. You're then saying that you prefer realtime priorities to not work in the HT setting, given that realtime tasks don't participate in the 'single stream me' program. I'm saying only that we're ...
Feb 27, 9:21 pm 2007
Con Kolivas
Re: 2.6.21-rc1: known regressions (v2) (part 2)
Where do I say that? I do not presume to manage realtime priorities in any way. You're turning my argument about nice levels around and somehow saying that because hyperthreading breaks the single stream me semantics by parallelising them that I would want to stop that happening. Nowhere have I argued that realtime semantics should be changed to somehow work around hyperthreading. SMT nice is about managing nice only, and not realtime But the buyer is not aware. You are aware because ...
Feb 28, 3:01 pm 2007
Michael S. Tsirkin Feb 28, 2:40 pm 2007
Karasyov, Konstantin A
RE: 2.6.21-rc1: known regressions (part 1)
Arkadiusz, Could try the attached patch to see if it solves the problem? If not, please send the output of acpidump command and log. Regards.
Feb 28, 11:16 am 2007
Zwane Mwaikambo
Re: [patch 00/21] 2.6.19-stable review
Hi Eric, Thanks for getting this cruft cleaned up. I have a few comments regarding; handle-irqs-pending-in-irr-during-irq-migration.patch 1) It relies on checking the IRR, this could race with the corresponding vector bit being set by hardware. 2) apic_handle_pending_vector is oddly named since it doesn't actually handle a pending vector but drops it if it has been freed. 3) It looks complex So how about the following scheme. Add a check in do_IRQ whether the irq's domain ...
Feb 28, 1:51 am 2007
Eric W. Biederman
Re: [patch 00/21] 2.6.19-stable review
The mostly correct assumption is that because that vector is masked and Because that check will leak vector entries. And after a while the box will be unable to migrate irqs, and possible something more severe. Yes. It is moderately complex. After receiving a little feedback like this I have something much simpler and more robust mered into the current git for 2.6.21. Which except for my stupid it doesn't compile on uniprocessor bug should be good. However it took me 13 patches ...
Feb 28, 5:28 am 2007
Eric W. Biederman
Re: [stable] [patch 00/21] 2.6.19-stable review
Ok if that is really what we are going with, the this silly patch isn't simple enough for a backport. There used to other rules to the effect the patch must be merged in mainline, and we only backport to one kernel revision. I think it fails the 100 lines with context test. The meaning of obviously correct is a little bit nebulous. But if something is obvious multiple people can easily understand what is going on. I haven't gotten any feedback that has said yes I see what you are ...
Feb 28, 4:25 pm 2007
Greg KH
Re: [stable] [patch 00/21] 2.6.19-stable review
Documentation/stable_kernel_rules.txt thanks, greg k-h -
Feb 28, 12:52 pm 2007
Eric W. Biederman
Re: [patch 00/21] 2.6.19-stable review
Hmm.. I seem to have failed to send out this reply a few days ago :( There are two questions. 1) What can we do to make the situation better. 2) Is the hole completely plugged. When I wrote the patch I had the local apic priorities backwards in my head. So apic_in_service_vector can return the wrong value if two irqs are in service. Now I don't think we allows ourselves to enable interrupts in an interrupt service routing until after we have acked the local apic so this should be ...
Feb 27, 11:37 pm 2007
Patrick McHardy
Re: Soft lockup on shutdown in nf_ct_iterate_cleanup()
Thanks, the previous approach doesn't seem to work properly without unpleasant event cache hacks. This patch takes a simpler approach and keeps the unconfirmed list iteration, but makes sure to make forward progress.
Feb 28, 11:09 am 2007
Chuck Ebbert
Re: Soft lockup on shutdown in nf_ct_iterate_cleanup()
Works great: survived three reboots without lockup or warning messages. And it's a nice simple patch, too... -
Feb 28, 1:30 pm 2007
Russell King
Re: [PATCH 1/2] Define FIXED_PORT flag for serial_core
I've been wondering about this, and it is questionable whether we should allow any serial port which isn't owned by the legacy platform device (the one called "serial8250", iow by the 8250 driver itself) to have the base addresses and interrupts changed. IOW, we apply this "fixed port" to any port registered by probe modules external to the 8250 driver itself, such as PCI, PNP, etc. -- Russell King Linux kernel 2.6 ARM Linux - http://www.arm.linux.org.uk/ maintainer of: -
Feb 28, 3:26 pm 2007
David Gibson
Re: [PATCH 1/2] Define FIXED_PORT flag for serial_core
Sounds reasonable to me. But maybe in that case we should invert the sense of the flag. UPF_MOVABLE_PORT or UPF_USER_CONFIGURABLE or something. -- David Gibson | I'll have my music baroque, and my code david AT gibson.dropbear.id.au | minimalist, thank you. NOT _the_ _other_ | _way_ _around_! http://www.ozlabs.org/~dgibson -
Feb 28, 4:44 pm 2007
James Simmons
Re: [Linux-fbdev-devel] no backlight on radeon after rec ...
So the problem is not the configuration but that for some reason the backlight state is set to off by default. -
Feb 28, 9:55 am 2007
Jean Delvare
Re: 2.6.20-mm2
Hi Andrew, I've bisected myself 2.6.20-mm2 instead. And the winners are: x86_64-mm-adjust-inclusion-of-asm-fixmap_h.patch x86_64-mm-adjust-inclusion-of-asm-vsyscall32_h.patch The former breaks the compilation in a different way. The latter fixes it but causes the breakage I reported originally. Does it really matter anyway? Even in mainline, include/asm-x86_64/io_apic.h uses MAX_IO_APICS, so it should include the header file which defines it, that is <asm/apicdef.h>. It doesn't, that's ...
Feb 28, 2:07 am 2007
James Simmons
Re: [Linux-fbdev-devel] [PATCH 2.6.20 1/1] fbdev, mm: he ...
I meant for it to work for non framebuffer devices. I realized that not such a great idea. -
Feb 28, 9:50 am 2007
Pavel Machek
Re: [lm-sensors] Could the k8temp driver be interfering ...
Oops, sorry about that but no, that will not work. There's piece of paper, called ACPI specification, and we are following it. Bug is not in our implementation. Bug is in the ACPI specs... it does not explicitely allow you to go out and bitbang i2c, and you do it, and you get problems. Now, you may try to change specs to be hwmon-friendly... good luck. But currently hw manufacturers follow ACPI specs, so we have to follow it, too; bad luck for hwmon. BIOS hiding smbus from you is ...
Feb 28, 2:38 pm 2007
Eric W. Biederman
Re: [RFC] killing the NR_IRQS arrays.
There is some truth there yes. But for ISA the numbers are really Yes. I should really look at that more and see if I could bring Largely for pci we already have dev->irq and the device just calls request_irq to get things going. The challenge is that the token Reasonable if it is easy and straight forward. Something like pci_request_irq(dev,....) and the helper looks at dev->irq under the covers and calls request_irq or whatever makes sense. Is this what you are thinking. Examples ...
Feb 28, 12:20 am 2007
Segher Boessenkool
Re: [RFC] killing the NR_IRQS arrays.
Why? The device really generates many different interrupts, Duplicate all this stuff into /sys in a sane format (*) and wait until userland catches up, then throw away the /proc interfaces. It'll take a while, and until that day you will have to keep *some* interrupt number <-> interrupt bijection. Userland tools that think they know what interrupt number should be what are dead already. (*) i.e., exposing the interrupt tree as a tree, cascaded controllers and all. Segher -
Feb 28, 6:02 am 2007
Arnd Bergmann
Re: [RFC] killing the NR_IRQS arrays.
Introducing the irq_request() etc. functions that take a struct irq* instead of an int sounds good, but I'd hope we can avoid using those in device drivers and do a separate abstraction for each bus_type that deals with interrupts. I'm not sure if that's possible for each bus_type, but the ones I have worked with in the past should allow that: pci: each device/function has a unique irq, drivers need not know about it afaics. isa/pnp: numbers from 1 to 15 are the right abstraction here, ...
Feb 27, 5:41 pm 2007
Eric W. Biederman
Re: [RFC] killing the NR_IRQS arrays.
Well irq_request is probably a bit late for associating an irq with a struct device. And I don't see how to get the device name from that Yes. But if you can do a good job of wrapping them so a driver wouldn't need to care at all that could help simplify drivers and remove one more tidbit of complexity from drivers. However for a widespread change. The less you have to think about it the more quickly you can get it completed. So I would rather do several wide spread changes in ...
Feb 28, 6:28 am 2007
Arnd Bergmann
Re: [RFC] killing the NR_IRQS arrays.
I have to admit I still don't really understand how this works at all. Can a driver that uses msi-x have different handlers for each of those interrupts registered simultaneously? I would expect that instead there should be only one 'struct irq' I don't think there is much point in changing the s390 code, but the way it is solved there may be interesting for other buses as well. The interrupt handler there is not being registered explicitly, but is part of the driver (in case of ...
Feb 28, 5:24 am 2007
Eric W. Biederman
Re: [RFC] killing the NR_IRQS arrays.
Yes, and the irqs can be routed at different cpus independently. However not all hardware supports all 4K irqs. 4K is the implementation defined maximu. Although infiniband HCA's are rumored to support a lot of irqs and it isn't uncommon for simpler nics to support 4 or so. Conceptually think of it as having an irq controller embedded in your pci device. The MSI messages are writes to special addresses that are then No. That would be unnecessary coalescing. Even if that was what ...
Feb 28, 6:53 am 2007
Benjamin Herrenschmidt
Re: [RFC] killing the NR_IRQS arrays.
I wouldn't bother too much about going into bus specific bits like irq_request(dev, ...). Well, actually, I _do_ think it's a good thing to pass the struct device to irq_request but that's a different issue completely. I think bus types should provide bus specific helpers to obtain the struct irq *'s for a given device on that bus, but the API for requesting/freeing them shall remain generic. Ben. -
Feb 28, 1:09 am 2007
James Simmons
Re: [PATCH] fbdev driver for S3 Trio/Virge, updated
Isn't scan_align in pixmap for this? Or do we need more. -
Feb 28, 9:53 am 2007
Antonino A. Daplas
Re: [PATCH] fbdev driver for S3 Trio/Virge, updated
No, scan_align is how much to pad each line, and it's up to the engine to discard the padding. In this case, the hardware does not allow padding and must be given data in exact multiples. For example, vesafb can accept 4x4 fonts padded to 8x4, but vga16fb will not be able to draw 4x4 fonts properly. Tony -
Feb 28, 2:35 pm 2007
S.Çağlar
Re: [BUG] at drivers/char/vt.c:3332 do_blank_screen() on ...
22 =C5=9Eub 2007 Per tarihinde, S.=C3=87a=C4=9Flar Onur =C5=9Funlar=C4=B1 y= Sorry for long delay, here are some more test results; * using video=3Dvesafb:noblank _sometimes_ causes hard freezes on resume, a= nd=20 _sometimes_ X can't start properly (it enters a weird "switch vt1 - wait fo= r=20 some seconds - switch vt7" loop and after ~10 minutes X starts magically!)= =20 whenever this happens system starts to become really unresponsive and dmesg= =20 and Xorg's logs shows nothing ...
Feb 28, 5:10 am 2007
K.R. Foley Feb 28, 3:16 am 2007
Ingo Molnar
Re: v2.6.20-rt1, yum/rpm
The basically random order-of-request_irq() prioritization was causing problems (it worked for some but didnt work for others), so i got rid of trying to auto-guess some priority order. Also, now that we've got tools/scripts like set_kthread_prio and rtprio it seemed more consistent to just not attempt to prioritize interrupts and softirqs at all, but to keep them all 'in the middle' of the RT priority range. Ingo -
Feb 28, 1:11 am 2007
previous daytodaynext day
February 27, 2007February 28, 2007March 1, 2007