Re: swsusp_restore crap

2005-03-15 Thread Pavel Machek
Hi! x86-64 needs this, too Otherwise it looks okay. It breaks compilation on i386 either, because nr_copy_pages_check is static in swsusp.c. May I propose the following patch instead (tested on x86-64 and i386)? +asmlinkage int __swsusp_flush_tlb(void) +{

Re: [PATCH] blockdev: fix for racing mount/umount

2005-03-15 Thread Jeff Mahoney
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Linus Torvalds wrote: On Tue, 15 Mar 2005, Jeff Mahoney wrote: This patch is another take at fixing the race between mount and umount resetting the blocksize and causing buffer errors, infinite loops in __getblk_slow, and possibly other

Re: [linux-usb-devel] Re: [RFC] Changes to the driver model class code.

2005-03-15 Thread David Brownell
On Tuesday 15 March 2005 12:14 pm, Dmitry Torokhov wrote: It looks to me (and I might be wrong) that USB was never really integrated into the driver model. It was glued with it but the driver model came after most of the domain was defined, and it did not get to be bones of the subsystem.

Re: [RFC] Changes to the driver model class code.

2005-03-15 Thread Dominik Brodowski
On Tue, Mar 15, 2005 at 11:51:21AM -0800, Greg KH wrote: Also, it seems to me that you view the class subsystem to be too closely related to /dev entries -- and for these /dev entries class_simple was introduced, IIRC. However, /dev is not the reason the class subsystem was introduced for

Re: [linux-usb-devel] Re: [RFC] Changes to the driver model class code.

2005-03-15 Thread Dmitry Torokhov
On Tue, 15 Mar 2005 12:35:02 -0800, David Brownell [EMAIL PROTECTED] wrote: On Tuesday 15 March 2005 12:14 pm, Dmitry Torokhov wrote: It looks to me (and I might be wrong) that USB was never really integrated into the driver model. It was glued with it but the driver model came after most

Re: where did 2.6.11-bkx go?

2005-03-15 Thread Dave Jones
On Tue, Mar 15, 2005 at 01:28:26PM -0500, sean wrote: I used to find the main line bk snapshots in: pub/mirrors/linux/kernel/linux/kernel/v2.6/snapshots Now there just the 2.6.11.x snapshots. For instance where is bk10? Something screwed up in the mirroring scripts it seems.

Re: [PATCH][RFC] Make /proc/pid chmod'able

2005-03-15 Thread Bodo Eggert
(refiled the CC list) On Tue, 15 Mar 2005, Albert Cahalan wrote: On Tue, 2005-03-15 at 15:31 +0100, Bodo Eggert wrote: On Mon, 14 Mar 2005, Albert Cahalan wrote: On Tue, 2005-03-15 at 00:08 +0100, Bodo Eggert wrote: On Mon, 14 Mar 2005, Albert Cahalan wrote: This really isn't about

Re: [PATCH][RFC] Make /proc/pid chmod'able

2005-03-15 Thread Rene Scharfe
Albert Cahalan wrote: This really isn't about security. Privacy may be undesirable. I agree, privacy is not security. My patch tries to enhance privacy without giving up security. You think losing the social pressure that comes with mutual surveillance results in loss of security, I don't.

Re: where did 2.6.11-bkx go?

2005-03-15 Thread sean darcy
On Tue, 15 Mar 2005 16:01:42 -0500, Dave Jones [EMAIL PROTECTED] wrote: .. Something screwed up in the mirroring scripts it seems. They're in old/ Dave Thanks sean - To unsubscribe from this list: send the line unsubscribe linux-kernel in the body of a message

[PATCH] CONFIG_PM for ppc64, to allow sysrq o

2005-03-15 Thread Olaf Hering
For some weird reason, sysrq o is hidden behind CONFIG_PM. Why? One can power off just fine without that. Can pm_sysrq_init be moved to a better place? I think it used to be in sysrq.c in 2.4. Too bad, with this patch radeonfb fails to compile. Index: linux-2.6.11-olh/arch/ppc64/Kconfig

Re: [linux-usb-devel] Re: [RFC] Changes to the driver model class code.

2005-03-15 Thread David Brownell
On Tuesday 15 March 2005 12:48 pm, Dmitry Torokhov wrote: On Tue, 15 Mar 2005 12:35:02 -0800, David Brownell [EMAIL PROTECTED] wrote: On Tuesday 15 March 2005 12:14 pm, Dmitry Torokhov wrote: It looks to me (and I might be wrong) that USB was never really integrated into the driver

Re: [linux-usb-devel] Re: [RFC] Changes to the driver model class code.

2005-03-15 Thread Dominik Brodowski
On Tue, Mar 15, 2005 at 01:14:40PM -0800, David Brownell wrote: That pre-driver model stuff went away in maybe 2.6.5 or so, I forget just when. If you think those changes can easily be reversed, I suggest you think again ... they enabled a LOT of likewise-overdue cleanups. ... converting to

[WATCHDOG] linux-2.6-watchdog-mm patches

2005-03-15 Thread Wim Van Sebroeck
Hi Andrew, please do a bk pull http://linux-watchdog.bkbits.net/linux-2.6-watchdog-mm This will update the following files: drivers/char/watchdog/Kconfig | 14 drivers/char/watchdog/Makefile | 86 +++--- drivers/char/watchdog/i6300esb.c| 508

[WATCHDOG] linux-2.6-watchdog patches

2005-03-15 Thread Wim Van Sebroeck
Hi Linus, please do a bk pull http://linux-watchdog.bkbits.net/linux-2.6-watchdog This will update the following files: drivers/char/watchdog/Makefile | 13 +++-- drivers/char/watchdog/pcwd_pci.c|6 +++--- drivers/char/watchdog/pcwd_usb.c|6 +++---

RE: [PATCH 0/6] PCI Express Advanced Error Reporting Driver

2005-03-15 Thread Nguyen, Tom L
On Tuesday, March 15, 2005 12:12 PM Grant Grundler wrote: Tom, A co-worker made the following observation (I'm paraphrasing): ...this proposal does not deal with the Error Reporting ECN. For example, they do not show the advisory non-fatal bit in the correctable error status

Re: OOM problems with 2.6.11-rc4

2005-03-15 Thread Sean
On Tue, March 15, 2005 3:44 pm, Noah Meyerhans said: Hello. We have a server, currently running 2.6.11-rc4, that is experiencing similar OOM problems to those described at http://groups-beta.google.com/group/fa.linux.kernel/msg/9633559fea029f6e and discussed further by several developers here

[patch 2.6.11] bonding: avoid tx balance for IGMP (alb/tlb mode)

2005-03-15 Thread John W. Linville
Add special case to bond_alb_xmit() to avoid tx balance for IGMP. Signed-off-by: John W. Linville [EMAIL PROTECTED] --- Some switches (e.g. the Cisco Catalyst 3750) use IGMP snooping to determine which hosts belong to which multicast groups. Typically such switches use a timeout to determine

Re: [WATCHDOG] linux-2.6-watchdog-mm patches

2005-03-15 Thread Andrew Morton
Wim Van Sebroeck [EMAIL PROTECTED] wrote: please do a bk pull http://linux-watchdog.bkbits.net/linux-2.6-watchdog-mm I do, about three times a day ;) And I resolve conflicts between the bk trees and Linus's tree. And I resolve conflicts if there's a clash between one bk tree and

rtc misses interrupts after resume

2005-03-15 Thread Wichert Akkerman
I recently upgraded my laptop to 2.6.11.3 and removed the notsc boot option I added a fairly long time ago to see if things worked properly without it now. It seems to work, except that after a resume I get an awful lot of these messages: Mar 15 09:53:04 typhoon kernel: rtc: lost some interrupts

Re: [PATCH 1/2] No-exec support for ppc64

2005-03-15 Thread Jake Moilanen
On Tue, 15 Mar 2005 09:18:04 +1100 Paul Mackerras [EMAIL PROTECTED] wrote: Jake Moilanen writes: I don't think I can push that upstream. What happens if you leave that out? The bss and the plt are in the same segment, and plt obviously needs to be executable. Yes... what I was

Re: [PATCH] CONFIG_PM for ppc64, to allow sysrq o

2005-03-15 Thread Olaf Hering
On Tue, Mar 15, Olaf Hering wrote: For some weird reason, sysrq o is hidden behind CONFIG_PM. Why? One can power off just fine without that. Can pm_sysrq_init be moved to a better place? I think it used to be in sysrq.c in 2.4. Too bad, with this patch radeonfb fails to compile. After

Re: rtc misses interrupts after resume

2005-03-15 Thread Pavel Machek
On Út 15-03-05 23:00:31, Wichert Akkerman wrote: I recently upgraded my laptop to 2.6.11.3 and removed the notsc boot option I added a fairly long time ago to see if things worked properly without it now. It seems to work, except that after a resume I get an awful lot of these messages: Mar

[PATCH] Add missing refrigerator calls

2005-03-15 Thread Nigel Cunningham
Hi. There are a number of threads that currently have no refrigerator handling in Linus' tree. This patch addresses part of that issue. The remainder will be addressed in other patches, following soon. Signed-off-by: Nigel Cunningham [EMAIL PROTECTED] (Prepared against 2.6.11) diff -ruNp

Re: OOM problems with 2.6.11-rc4

2005-03-15 Thread Lee Revell
On Tue, 2005-03-15 at 16:56 -0500, Sean wrote: On Tue, March 15, 2005 3:44 pm, Noah Meyerhans said: The machine in question is a dual Xeon system with 2 GB of RAM, 3.5 GB of swap, and several TB of NFS exported filesystems. One notable point is that this machine has been running in

Re: [RFC][PATCH] new timeofday core subsystem (v. A3)

2005-03-15 Thread George Anzinger
john stultz wrote: On Mon, 2005-03-14 at 21:37 -0800, Christoph Lameter wrote: Note that similarities exist between the posix clock and the time sources. Will all time sources be exportable as posix clocks? At this point I'm not familiar enough with the posix clocks interface to say, although its

Re: [linux-usb-devel] Re: [RFC] Changes to the driver model class code.

2005-03-15 Thread Dmitry Torokhov
On Tue, 15 Mar 2005 13:14:40 -0800, David Brownell [EMAIL PROTECTED] wrote: You still haven't answered my question. My observation was that only the class code can in any sense be called new ... so your blanket statement seemed to overlook several essential points! Which parts of the driver

Re: [RFC] Changes to the driver model class code.

2005-03-15 Thread Greg KH
On Tue, Mar 15, 2005 at 09:15:03PM +0100, Dominik Brodowski wrote: On Tue, Mar 15, 2005 at 11:34:15AM -0800, Greg KH wrote: And what about device_driver and device structure? Are they going to be changed over to be separately allocated linked objects? The driver stuff probably will be,

Re: swsusp_restore crap

2005-03-15 Thread Rafael J. Wysocki
On Tuesday, 15 of March 2005 21:46, Pavel Machek wrote: Hi! x86-64 needs this, too Otherwise it looks okay. It breaks compilation on i386 either, because nr_copy_pages_check is static in swsusp.c. May I propose the following patch instead (tested on x86-64 and

Re: 2.6.11-mm3: BUG: atomic counter underflow at: rpcauth_destroy

2005-03-15 Thread Borislav Petkov
On Tuesday 15 March 2005 13:32, you wrote: Hi there! Hi, I got those too.. I got some atomic counter underflows in the nfs code: Mar 14 17:19:15 phoebee rpc.statd[6890]: Received erroneous SM_UNMON request from phoebee for 192.168.0.1 Mar 14 17:19:15 phoebee BUG: atomic counter underflow

[PATCH] Add freezer call in

2005-03-15 Thread Nigel Cunningham
This patch adds a freezer call to the slow path in __alloc_pages. It thus avoids freezing failures in low memory situations. Like the other patches, it has been in Suspend2 for longer than I can remember. Signed-of-by: Nigel Cunningham [EMAIL PROTECTED] diff -ruNp

[PATCH] CON_BOOT

2005-03-15 Thread Matthew Wilcox
New console flag: CON_BOOT CON_BOOT is like early printk in that it allows for output really early on. It's better than early printk because it unregisters automatically when a real console is initialised. So if you don't get consoles registering in console_init, there isn't a huge delay

Re: [PATCH] Add missing refrigerator calls

2005-03-15 Thread Marcel Holtmann
Hi Nigel, There are a number of threads that currently have no refrigerator handling in Linus' tree. This patch addresses part of that issue. The remainder will be addressed in other patches, following soon. Signed-off-by: Nigel Cunningham [EMAIL PROTECTED] I am fine with the

Re: [PATCH] APM: fix interrupts enabled in device_power_up

2005-03-15 Thread J. Bruce Fields
On Sat, Mar 12, 2005 at 08:21:29AM -0700, Zwane Mwaikambo wrote: On Sat, 12 Mar 2005, J. Bruce Fields wrote: On APM resume this morning on my Thinkpad X31, I got a spin_lock is already locked error; see below. This doesn't happen on every resume, though it's happened before. The kernel

Re: [PATCH 0/6] PCI Express Advanced Error Reporting Driver

2005-03-15 Thread Grant Grundler
On Tue, Mar 15, 2005 at 01:54:32PM -0800, Nguyen, Tom L wrote: On Tuesday, March 15, 2005 12:12 PM Grant Grundler wrote: Tom, A co-worker made the following observation (I'm paraphrasing): ...this proposal does not deal with the Error Reporting ECN. For example, they do not show the

Re: [PATCH] CON_BOOT

2005-03-15 Thread Andrew Morton
Matthew Wilcox [EMAIL PROTECTED] wrote: + if (console_drivers (console_drivers-flags CON_BOOT)) { + unregister_console(console_drivers); + console-flags = ~CON_PRINTBUFFER; + } + Should we support more than a single CON_BOOT-labelled driver? - To

[2.6 patch] export dev_get_flags

2005-03-15 Thread Adrian Bunk
On Tue, Mar 15, 2005 at 01:52:53PM -0500, Pete Clements wrote: Fyi: 2.6.11.3-bk1 net/ipv6/ipv6.ko missing symbol dev_get_flags It seems this patch is required (untested). Signed-off-by: Adrian Bunk [EMAIL PROTECTED] --- linux-2.6.11-mm3-full/net/core/dev.c.old2005-03-15

Re: [linux-usb-devel] Re: [RFC] Changes to the driver model class code.

2005-03-15 Thread David Brownell
On Tuesday 15 March 2005 2:05 pm, Dmitry Torokhov wrote: I think I was shopping around for the examples of proper driver model integration in 2.6.2 - 2.6.3 timeframe for the serio bus. I was looking at how USB was working around the fact that one can not add/remove children from the

RE: [PATCH 0/6] PCI Express Advanced Error Reporting Driver

2005-03-15 Thread Nguyen, Tom L
On Tuesday, March 15, 2005 2:38 PM Grant Grundler wrote: A co-worker made the following observation (I'm paraphrasing): ...this proposal does not deal with the Error Reporting ECN. For example, they do not show the advisory non-fatal bit in the correctable error status register.

[PATCH][alpha] pm_power_off [drivers/char/ipmi/ipmi_poweroff.ko] undefined!

2005-03-15 Thread Pawe Sikora
Fix for modpost warning: pm_power_off [drivers/char/ipmi/ipmi_poweroff.ko] undefined! --- linux-2.6.11.3/arch/alpha/kernel/alpha_ksyms.c.orig 2005-03-13 07:44:05.0 +0100 +++ linux-2.6.11.3/arch/alpha/kernel/alpha_ksyms.c 2005-03-15 23:20:00.405832368 +0100 @@ -67,6 +67,9 @@

Re: Capabilities across execve

2005-03-15 Thread Chris Wright
* Russell King ([EMAIL PROTECTED]) wrote: At some point, I decided I'd like to run a certain program non-root with certain capabilities only. I looked at the above two programs and stupidly thought they'd actually allow me to do this. However, the way the kernel is setup today, this seems

Re: [PATCH 1/2] No-exec support for ppc64

2005-03-15 Thread Alan Modra
On Tue, Mar 15, 2005 at 03:51:35PM -0600, Jake Moilanen wrote: I believe the problem is that the last PT_LOAD entry does not have the correct size, and we only mmap up to the sbss. The .sbss, .plt, and .bss do not get mmapped with the section. Huh? .sbss, .plt and .bss have no file contents,

Re: Proposal: Latest Base Kernel on kernel.org

2005-03-15 Thread Jesper Juhl
On Sat, 12 Mar 2005, Mikhail Ramendik wrote: Hello, The Latest Stable Kernel on the main page of www.kernel.org is 2.6.11.2 and this is of course right. But people who want to apply an -rc patch, or some other patchsets (e.g. -ck) want 2.6.11. They can currently get it only by browsing

Re: [PATCH] Add missing refrigerator calls

2005-03-15 Thread Nigel Cunningham
Hi. On Wed, 2005-03-16 at 09:27, Marcel Holtmann wrote: Hi Nigel, There are a number of threads that currently have no refrigerator handling in Linus' tree. This patch addresses part of that issue. The remainder will be addressed in other patches, following soon. Signed-off-by:

Re: [PATCH] APM: fix interrupts enabled in device_power_up

2005-03-15 Thread Zwane Mwaikambo
On Tue, 15 Mar 2005, J. Bruce Fields wrote: On Sat, Mar 12, 2005 at 08:21:29AM -0700, Zwane Mwaikambo wrote: On Sat, 12 Mar 2005, J. Bruce Fields wrote: On APM resume this morning on my Thinkpad X31, I got a spin_lock is already locked error; see below. This doesn't happen on every

Re: qla2xxx fail over support

2005-03-15 Thread Lincoln Dale
At 07:43 AM 16/03/2005, comsatcat wrote: Unfortunantly all the beta drivers seem to have issues working with mcdata switches. I've tried about 10 different versions available from qlogic's ftp and all of them give trace messages and scheduling while atomic messages when detecting luns that are

Re: [PATCH 1/6] PCI Express Advanced Error Reporting Driver

2005-03-15 Thread Linas Vepstas
Hi, On Fri, Mar 11, 2005 at 04:12:18PM -0800, long was heard to remark: +void hw_aer_unregister(void) +{ + struct pci_dev *dev = (struct pci_dev*)host-dev; + unsigned short id; + + id = (dev-bus-number 8) | dev-devfn; + + /* Unregister with AER Root driver */ +

Re: [PATCH 0/5] I8K driver facelift

2005-03-15 Thread Frank Sorenson
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 [EMAIL PROTECTED] wrote: Well, (a) the next rev of the patch will hopefully provide more access to the second thermal probe than just detecting its existence (it still doesn't do the sysfs or whatever magic to make the actual value accessible), and

Re: [ACPI] Re: Fw: Anybody? 2.6.11 (stable and -rc) ACPI breaks USB

2005-03-15 Thread Zwane Mwaikambo
Hi Bjorn, On Tue, 15 Mar 2005, Bjorn Helgaas wrote: That seems awfully suspicious to me. So the following is probably safe as far as it goes, but not sufficient for all cases. VIA bridges allow for IRQ routing updates by programming PCI_INTERRUPT_LINE, so it is supposed to work even if we

Re: [topic change] jiffies as a time value

2005-03-15 Thread George Anzinger
john stultz wrote: On Mon, 2005-03-14 at 15:40 -0800, George Anzinger wrote: john stultz wrote: On Sat, 2005-03-12 at 16:49 -0800, Matt Mackall wrote: + /* finally, update legacy time values */ + write_seqlock_irqsave(xtime_lock, x_flags); + xtime = ns2timespec(system_time +

Re: [PATCH 1/6] PCI Express Advanced Error Reporting Driver

2005-03-15 Thread Grant Grundler
On Tue, Mar 15, 2005 at 04:51:01PM -0600, Linas Vepstas wrote: Hi, On Fri, Mar 11, 2005 at 04:12:18PM -0800, long was heard to remark: +void hw_aer_unregister(void) +{ + struct pci_dev *dev = (struct pci_dev*)host-dev; I'm more nervous about host being defined as a global instead of

[PATCH] (Revised) Add missing refrigerator calls

2005-03-15 Thread Nigel Cunningham
Hi again. Okay. I'll leave mtd_blkdevs as NO_FREEZE and remove the superfluous bluetooth addition. Here's a revised version: diff -ruNp 213-missing-refrigerator-calls-old/drivers/media/video/msp3400.c 213-missing-refrigerator-calls-new/drivers/media/video/msp3400.c ---

Re: [RFC][PATCH] new timeofday arch specific hooks (v. A3)

2005-03-15 Thread Pavel Machek
Hi! diff -Nru a/arch/i386/kernel/apm.c b/arch/i386/kernel/apm.c --- a/arch/i386/kernel/apm.c 2005-03-11 17:02:30 -08:00 +++ b/arch/i386/kernel/apm.c 2005-03-11 17:02:30 -08:00 @@ -224,6 +224,7 @@ #include linux/smp_lock.h #include linux/dmi.h #include linux/suspend.h +#include

Your invoice is Overdue March 5

2005-03-15 Thread Kimberly Vazquez
After careful consideration. our team of experts have chosen a selected 1000 people to recieve an inexpensive home loan. This offer is unconditional to you only and your credit is in no way a factor. Please find all details below: _SUMMARY__ Interest: As low as 3.95% Term: Up to

Re: [PATCH 1/2] No-exec support for ppc64

2005-03-15 Thread Jake Moilanen
On Wed, 16 Mar 2005 09:18:36 +1030 Alan Modra [EMAIL PROTECTED] wrote: On Tue, Mar 15, 2005 at 03:51:35PM -0600, Jake Moilanen wrote: I believe the problem is that the last PT_LOAD entry does not have the correct size, and we only mmap up to the sbss. The .sbss, .plt, and .bss do not get

[PATCH] Reading deterministic cache parameters and exporting it in /sysfs

2005-03-15 Thread Venkatesh Pallipadi
The attached patch adds support for using cpuid(4) instead of cpuid(2), to get CPU cache information in a deterministic way for Intel CPUs, whenever supported. The details of cpuid(4) can be found here IA-32 Intel Architecture Software Developer's Manual (vol 2a)

swsusp: Add missing refrigerator calls

2005-03-15 Thread Pavel Machek
Hi! This adds few more places where it is possible freeze kernel threads. Please apply, Pavel From: Nigel Cunningham [EMAIL PROTECTED] Signed-off-by: Pavel Machek [EMAIL PROTECTED] diff -ruNp

Re: [PATCH] Reading deterministic cache parameters and exporting it in /sysfs

2005-03-15 Thread Dave Jones
On Tue, Mar 15, 2005 at 03:24:48PM -0800, Venkatesh Pallipadi wrote: The attached patch adds support for using cpuid(4) instead of cpuid(2), to get CPU cache information in a deterministic way for Intel CPUs, whenever supported. The details of cpuid(4) can be found here IA-32

Re: [PATCH] Make md thread NO_FREEZE.

2005-03-15 Thread Pavel Machek
Hi! The md driver is currently frozen during suspend. I'm told this doesn't help much if you're seeking to suspend to RAID : Hmm, and does suspend actually work on md with this patch applied? Pavel diff -ruNp

Re: drm lockups since 2.6.11-bk2

2005-03-15 Thread Andrew Morton
Jesse Barnes [EMAIL PROTECTED] wrote: We're hoping that davem's fix (committed yesterday) fixed that. ChangeSet 1.2181.1.2, 2005/03/14 21:16:17-08:00, [EMAIL PROTECTED] [MM]: Restore pgd_index() iteration to clear_page_range(). Yep, seems to have worked (at least my system boots).

Re: swsusp_restore crap

2005-03-15 Thread Pavel Machek
Hi! Signed-off-by: Rafael J. Wysocki [EMAIL PROTECTED] diff -Nrup linux-2.6.11-bk10-a/arch/x86_64/kernel/suspend_asm.S linux-2.6.11-bk10-b/arch/x86_64/kernel/suspend_asm.S --- linux-2.6.11-bk10-a/arch/x86_64/kernel/suspend_asm.S 2005-03-15 09:20:53.0 +0100 +++

Re: [PATCH] Add freezer call in

2005-03-15 Thread Pavel Machek
Hi! This patch adds a freezer call to the slow path in __alloc_pages. It thus avoids freezing failures in low memory situations. Like the other patches, it has been in Suspend2 for longer than I can remember. This one seems wrong. What if someone does

Re: [BUG] 2.6.11- sym53c8xx Broken on pp64

2005-03-15 Thread Benjamin Herrenschmidt
On Tue, 2005-03-15 at 09:54 -0600, Omkhar Arasaratnam wrote: Benjamin Herrenschmidt wrote: The 2.6.11.3 kernel with the 2.6.10 driver seems to fail with the same sym2 driver error - so I suppose it goes deeper than the driver itself. Let's move that to linuxppc64-dev and drop the CC-list.

Re: [RFC][PATCH] new timeofday arch specific hooks (v. A3)

2005-03-15 Thread john stultz
On Tue, 2005-03-15 at 23:59 +0100, Pavel Machek wrote: diff -Nru a/arch/i386/kernel/apm.c b/arch/i386/kernel/apm.c --- a/arch/i386/kernel/apm.c2005-03-11 17:02:30 -08:00 +++ b/arch/i386/kernel/apm.c2005-03-11 17:02:30 -08:00 @@ -224,6 +224,7 @@ #include linux/smp_lock.h

Re: [RFC][PATCH] new timeofday arch specific hooks (v. A3)

2005-03-15 Thread Pavel Machek
On Út 15-03-05 15:42:09, john stultz wrote: On Tue, 2005-03-15 at 23:59 +0100, Pavel Machek wrote: diff -Nru a/arch/i386/kernel/apm.c b/arch/i386/kernel/apm.c --- a/arch/i386/kernel/apm.c 2005-03-11 17:02:30 -08:00 +++ b/arch/i386/kernel/apm.c 2005-03-11 17:02:30 -08:00 @@

Re: NFS client bug in 2.6.8-2.6.11

2005-03-15 Thread Neil Conway
Hi Bernardo (et al). Apologies - I've not been reading my account for a wee while. Then again, I probably don't have much useful to add to the debate right now ;-) --- Bernardo Innocenti [EMAIL PROTECTED] wrote: Anders Saaby wrote: Anyways if your server has only run with 2.6.10 - try

Re: OOM problems with 2.6.11-rc4

2005-03-15 Thread Andrew Morton
Noah Meyerhans [EMAIL PROTECTED] wrote: Active:12382 inactive:280459 dirty:214 writeback:0 unstable:0 free:2299 slab:220221 mapped:12256 pagetables:122 Vast amounts of slab - presumably inode and dentries. What sort of local filesystems are in use? Can you take a copy of /proc/slabinfo when

Re: Capabilities across execve

2005-03-15 Thread Alexander Nyberg
tis 2005-03-15 klockan 14:42 -0800 skrev Chris Wright: * Russell King ([EMAIL PROTECTED]) wrote: At some point, I decided I'd like to run a certain program non-root with certain capabilities only. I looked at the above two programs and stupidly thought they'd actually allow me to do this.

Re: 2.6.11-mm3: BUG: atomic counter underflow at: rpcauth_destroy

2005-03-15 Thread Trond Myklebust
ty den 15.03.2005 Klokka 23:21 (+0100) skreiv Borislav Petkov: After some rookie debugging I think I've found the evildoer: rpcauth_create used to have a line that inits rpc_auth-au_count to one atomically. This line is now missing so when you release the rpc authentication handle, the

Re: Taking strlen of buffers copied from userspace

2005-03-15 Thread Robert Hancock
Artem Frolov wrote: Hello, I am in the process of testing static defect analyzer on a Linux kernel source code (see disclosure below). I found some potential array bounds violations. The pattern is as follows: bytes are copied from the user space and then buffer is accessed on index strlen(buf)-1.

Re: Bogus buffer length check in linux-2.6.11 read()

2005-03-15 Thread Robert Hancock
linux-os wrote: The attached file shows that the kernel thinks it's doing something helpful by checking the length of the input buffer for a read(). It will return Bad Address until the length is 1632 bytes. Apparently the kernel thinks 1632 is a good length! Likely because only 1632 bytes of

Re: [PATCH] Add TPM hardware enablement driver

2005-03-15 Thread Kylene Jo Hall
Thanks for the helpful comments I am working on a patch to fix your concerns but I have a couple of questions. On Wed, 2005-03-09 at 22:51 -0500, Jeff Garzik wrote: snip + down(chip-timer_manipulation_mutex); + chip-time_expired = 0; + init_timer(chip-device_timer); +

RE: [PATCH 1/6] PCI Express Advanced Error Reporting Driver

2005-03-15 Thread Nguyen, Tom L
Tuesday, March 15, 2005 2:51 PM Linas Vepstas wrote: +void hw_aer_unregister(void) +{ +struct pci_dev *dev = (struct pci_dev*)host-dev; +unsigned short id; + +id = (dev-bus-number 8) | dev-devfn; + +/* Unregister with AER Root driver */ +pcie_aer_unregister(id);

Re: Capabilities across execve

2005-03-15 Thread Chris Wright
* Alexander Nyberg ([EMAIL PROTECTED]) wrote: tis 2005-03-15 klockan 14:42 -0800 skrev Chris Wright: It was meant to work with capabilities in the filesystem like setuid bits. So the patches that have floated around from myself, Andy Lutomirski and Alex Nyberg are attempts to make something

Re: [PATCH] CONFIG_PM for ppc64, to allow sysrq o

2005-03-15 Thread Benjamin Herrenschmidt
On Tue, 2005-03-15 at 22:26 +0100, Olaf Hering wrote: For some weird reason, sysrq o is hidden behind CONFIG_PM. Why? One can power off just fine without that. Can pm_sysrq_init be moved to a better place? I think it used to be in sysrq.c in 2.4. Too bad, with this patch radeonfb fails to

Re: swsusp_restore crap

2005-03-15 Thread Rafael J. Wysocki
Hi, On Wednesday, 16 of March 2005 00:39, Pavel Machek wrote: Hi! Signed-off-by: Rafael J. Wysocki [EMAIL PROTECTED] diff -Nrup linux-2.6.11-bk10-a/arch/x86_64/kernel/suspend_asm.S linux-2.6.11-bk10-b/arch/x86_64/kernel/suspend_asm.S ---

swsusp: Remove arch-specific references from generic code

2005-03-15 Thread Pavel Machek
Hi! This is fix for swsusp_restore crap-: we had some i386-specific code referenced from generic code. This fixes it by inlining tlb_flush_all into assembly. Please apply, Pavel From: Rafael J. Wysocki [EMAIL PROTECTED]

Re: [PATCH] Reading deterministic cache parameters and exporting it in /sysfs

2005-03-15 Thread Venkatesh Pallipadi
On Tue, Mar 15, 2005 at 06:36:20PM -0500, Dave Jones wrote: On Tue, Mar 15, 2005 at 03:24:48PM -0800, Venkatesh Pallipadi wrote: The attached patch adds support for using cpuid(4) instead of cpuid(2), to get CPU cache information in a deterministic way for Intel CPUs, whenever

Re: Capabilities across execve

2005-03-15 Thread Albert Cahalan
Russell King, the latest person to notice defects, writes: However, the way the kernel is setup today, this seems impossible to achieve, which tends to make the whole idea of capabilities completely and utterly useless. How is this stuff supposed to work? Are my ideas of what's supposed to

Re: [PATCH][RFC] Make /proc/pid chmod'able

2005-03-15 Thread Kyle Moffett
On Mar 15, 2005, at 16:18, Rene Scharfe wrote: It's easily visible in the style of public toilets: in some contries you have one big room with no walls in between where all men or women merrily shit together, in other countries (like mine) every person can lock himself into a private closet.

Re: OOM problems with 2.6.11-rc4

2005-03-15 Thread Andrea Arcangeli
On Tue, Mar 15, 2005 at 03:44:13PM -0500, Noah Meyerhans wrote: Hello. We have a server, currently running 2.6.11-rc4, that is experiencing similar OOM problems to those described at http://groups-beta.google.com/group/fa.linux.kernel/msg/9633559fea029f6e and discussed further by several

Re: Linux 2.6.11.4

2005-03-15 Thread Greg KH
diff -Nru a/Makefile b/Makefile --- a/Makefile 2005-03-15 16:09:59 -08:00 +++ b/Makefile 2005-03-15 16:09:59 -08:00 @@ -1,7 +1,7 @@ VERSION = 2 PATCHLEVEL = 6 SUBLEVEL = 11 -EXTRAVERSION = .3 +EXTRAVERSION = .4 NAME=Woozy Numbat # *DOCUMENTATION* diff -Nru a/drivers/net/ppp_async.c

Linux 2.6.11.4

2005-03-15 Thread Greg KH
I've release 2.6.11.4 with two security fixes in it. It can be found at the normal kernel.org places. The diffstat and short summary of the fixes are below. I'll also be replying to this message with a copy of the patch between 2.6.11.3 and 2.6.11.4, as it is small enough to do so. thanks,

Re: Capabilities across execve

2005-03-15 Thread Alexander Nyberg
It was meant to work with capabilities in the filesystem like setuid bits. So the patches that have floated around from myself, Andy Lutomirski and Alex Nyberg are attempts to make something half-way sane out of the mess. The trouble is then convincing yourself that it's not some way

Re: [PATCH][2/2] SquashFS

2005-03-15 Thread Phillip Lougher
Matt Mackall wrote: On Mon, Mar 14, 2005 at 04:30:33PM +, Phillip Lougher wrote: +config SQUASHFS_1_0_COMPATIBILITY + bool Include support for mounting SquashFS 1.x filesystems How common are these? It would be nice not to bring in legacy code. Squashfs 1.x filesystems were the

Re: [patch 2.6.11] bonding: avoid tx balance for IGMP (alb/tlb mode)

2005-03-15 Thread Rick Jones
Is that switch behaviour normal or correct? I know next to nothing about what stuff like LACP should do, but asked some internal folks and they had this to say: excerpt blank treats IGMP packets the same as all other non-broadcast traffic (i.e. it will attempt to load balance). This switch

[BK PATCH] SCSI updates for 2.6.11

2005-03-15 Thread James Bottomley
This is my current tranch of patches that were waiting the transition from -rc to released (sorry it's late ... I've been on holiday). The patch is available here: bk://linux-scsi.bkbits.net/scsi-for-linus-2.6 The short log is: Adrian Bunk: o SCSI NCR_D700.c: make some code static o SCSI

Re: Linux 2.6.11.4

2005-03-15 Thread Hacksaw
+ while (dlen = 2 dlen = data[1] data[1] = 2) { Not that it matters much to me, since I don't have to maintain it, but couldn't this be: while (data[1] = 2 dlen = data[1]) { I think this captures the relationship and priority. -- http://www.hacksaw.org --

Re: [PATCH][2/2] SquashFS

2005-03-15 Thread Andrew Morton
Phillip Lougher [EMAIL PROTECTED] wrote: + unsigned ints_major:16; + unsigned ints_minor:16; What's going on here? s_minor's not big enough for modern minor numbers. What is the modern size then? 10 bits of major, 20 bits of minor. As this is

Re: [patch 2.6.11] bonding: avoid tx balance for IGMP (alb/tlb mode)

2005-03-15 Thread Jay Vosburgh
Rick Jones [EMAIL PROTECTED] wrote: blank treats IGMP packets the same as all other non-broadcast traffic (i.e. it will attempt to load balance). This switch behavior seems rather odd in an aggregated case, given the fact that most traffic (except broadcast packets) will be load balanced by the

Re: [RFC] Changes to the driver model class code.

2005-03-15 Thread Dominik Brodowski
On Tue, Mar 15, 2005 at 02:14:31PM -0800, Greg KH wrote: So this means every device will have yet another reference count, and you need to be aware of _each_ lifetime to write correct code. And the _reference counting_ is the hard thing to get right, so we should make _that_ easier. The

Re: [PATCH][2/2] SquashFS

2005-03-15 Thread Matt Mackall
On Tue, Mar 15, 2005 at 11:25:07PM +, Phillip Lougher wrote: Matt Mackall wrote: +config SQUASHFS_1_0_COMPATIBILITY + bool Include support for mounting SquashFS 1.x filesystems How common are these? It would be nice not to bring in legacy code. Squashfs 1.x filesystems were the

Re: [PATCH] Add freezer call in

2005-03-15 Thread Nigel Cunningham
Hi. On Wed, 2005-03-16 at 10:37, Pavel Machek wrote: Hi! This patch adds a freezer call to the slow path in __alloc_pages. It thus avoids freezing failures in low memory situations. Like the other patches, it has been in Suspend2 for longer than I can remember. This one seems wrong.

[Patch] x86, x86_64: Intel dual-core detection

2005-03-15 Thread Siddha, Suresh B
Appended patch adds the support for Intel dual-core detection and displaying the core related information in /proc/cpuinfo. It adds two new fields core id and cpu cores to x86 /proc/cpuinfo and the core id field for x86_64(cpu cores field is already present in x86_64). Number of processor cores

Re: [RFC][PATCH] new timeofday arch specific hooks (v. A3)

2005-03-15 Thread john stultz
On Wed, 2005-03-16 at 00:44 +0100, Pavel Machek wrote: On Út 15-03-05 15:42:09, john stultz wrote: On Tue, 2005-03-15 at 23:59 +0100, Pavel Machek wrote: diff -Nru a/arch/i386/kernel/apm.c b/arch/i386/kernel/apm.c --- a/arch/i386/kernel/apm.c2005-03-11 17:02:30 -08:00 +++

Re: [PATCH][1/2] SquashFS

2005-03-15 Thread Junio C Hamano
PJ == Paul Jackson [EMAIL PROTECTED] writes: PJ There is not a concensus (nor a King Penguin dictate) between the PJ while(1) and for(;;) style to document. FWIW, linux-0.01 has four uses of while (1) and two uses of for (;;) ;-). ./fs/inode.c: while (1) { ./fs/namei.c: while (1) {

BK Snapshots (Re: where did 2.6.11-bkx go?)

2005-03-15 Thread YOSHIFUJI Hideaki / $B5HF#1QL@(B
In article [EMAIL PROTECTED] (at Tue, 15 Mar 2005 13:28:26 -0500), sean [EMAIL PROTECTED] says: pub/mirrors/linux/kernel/linux/kernel/v2.6/snapshots Now there just the 2.6.11.x snapshots. For instance where is bk10? Now 2.6.11.3-bk1 has come up... The bk-snap script seems to be scewed

Re: [PATCH 0/6] PCI Express Advanced Error Reporting Driver

2005-03-15 Thread Grant Grundler
On Tue, Mar 15, 2005 at 01:11:39PM -0700, Grant Grundler wrote: Tom, A co-worker made the following observation (I'm paraphrasing): ...this proposal does not deal with the Error Reporting ECN. For example, they do not show the advisory non-fatal bit in the correctable error

console/fbdev/DRM rearchitecture progress?

2005-03-15 Thread Adam
Back on the second of August Jon Smirl posted (http://tinyurl.com/5w2nt) a synopsis of the plan created at OLS for the rearchitecture of the console, fbdev and DRM subsystems. Has any more thought gone into this major rework of the kernel? --adam - To unsubscribe from this list: send the line

Re: [PATCH][RFC] /proc umask and gid [was: Make /proc/pid chmod'able]

2005-03-15 Thread Rene Scharfe
So, I gather from the feedback I've got that chmod'able /proc/pid would be a bit over the top. 8-) While providing the easiest and most intuitive user interface for changing the permissions on those directories, it is overkill. Paul is right when he says that such a feature should be turned on

Re: [PATCH 0/6] PCI Express Advanced Error Reporting Driver

2005-03-15 Thread Greg KH
On Tue, Mar 15, 2005 at 07:12:07PM -0700, Grant Grundler wrote: On Tue, Mar 15, 2005 at 01:11:39PM -0700, Grant Grundler wrote: Tom, A co-worker made the following observation (I'm paraphrasing): ...this proposal does not deal with the Error Reporting ECN. For example, they do not

<    2   3   4   5   6   7   8   >