Re: GFS

2005-08-09 Thread David Teigland
On Mon, Aug 08, 2005 at 05:14:45PM +0300, Pekka J Enberg wrote: if (!dumping) down_read(>mmap_sem); > >+ > >+ for (vma = find_vma(mm, start); vma; vma = vma->vm_next) { > >+ if (end <= vma->vm_start) > >+

Re: kernel workqueue -max name length

2005-08-09 Thread Frederic TEMPORELLI
Hi, any explanation about the 10 chars limit for kernel workqueue name ? another question: why is the name length test managed by BUG_ON ? returning a NULL workqueue is done in the next test (failed kmalloc for wq)... Anyway, this can explain some issues when loading some SCSI drivers

[PATCH] Fix function/macro name collision on i386 oprofile

2005-08-09 Thread David Gibson
Andrew, please apply: The i386 OProfile code has a function named nmi_exit(), which collides with the nmi_exit() macro in linux/hardirq.h. At the moment, we get away with it, because hardirq.h isn't included in the oprofile code. I hit this as a bug when working with a patch which (indirectly)

Re: GFS

2005-08-09 Thread Pekka J Enberg
Zach Brown writes: But couldn't we use make_pages_present() to figure which locks we need, sort them, and then grab them? Doh, obviously we can't as nopage() needs to bring the page in. Sorry about that. I also thought of another failure case for the vma walk. When a thread uses userspace

Re: [PATCH] net/ipv4 debug cleanup, kernel 2.6.13-rc5

2005-08-09 Thread David S. Miller
From: Patrick McHardy <[EMAIL PROTECTED]> Date: Wed, 10 Aug 2005 03:09:34 +0200 > These macros always looked a bit ugly to me, with your cleanup there > isn't a single spot left where we require them to accept code as > argument, so how about we change them to pure printk wrappers? Applied to

Re: [RFC: 2.6 patch] the big Documentation/Changes change

2005-08-09 Thread Randy.Dunlap
On Wed, 10 Aug 2005 03:17:40 +0200 Adrian Bunk wrote: > I edited Documentation/Changes: > - remove obsolete information > - point to feature-list-2.6.txt instead of providing similar information > - removed the URLs of the software packages (people compiling their own > kernel usually know

Re: [PATCH] Fix PPC signal handling of NODEFER, should not affect sa_mask

2005-08-09 Thread Steven Rostedt
On Tue, 2005-08-09 at 23:10 -0400, Steven Rostedt wrote: > memset(,0,sizeof(act)); > sigaddset(_mask,SIGUSR1); > ret = testsig(,SIGUSR1,SIGUSR1); > if (ret == 1) { > printf("sa_mask does not block sig\n"); > } else if (ret == 0) { >

Re: [PATCH] Fix PPC signal handling of NODEFER, should not affect sa_mask

2005-08-09 Thread Steven Rostedt
On Tue, 2005-08-09 at 14:27 -0700, Linus Torvalds wrote: > On the other hand, the standard seems to be a bit confused according to > google: > > "This mask is formed by taking the union of the current signal mask and >the value of the sa_mask for the signal being delivered unless >

BUG: reiserfs+acl+quota deadlock

2005-08-09 Thread Tarmo Tänav
Hi, I've already reported a similiar bug to the one I found now and that was fixed by: "[PATCH] reiserfs: fix deadlock in inode creation failure path w/ default ACL" This bug is similiar in effect but has some differences in how to trigger it. The end effect will be just like with the other bug

Re: [PATCH] ide-disk oopses on boot

2005-08-09 Thread Christoph Lameter
On Wed, 10 Aug 2005, Petr Vandrovec wrote: > > Yes that was discussed extensively by Andi and me and finally fixed by > > Kiran's patch in 2.6.13-rc6. > > By which patch? I hit it with post-2.6.13-rc6, exactly 2.6.13-rc6 with > checkin hash "commit 00dd1e433967872f3997a45d5adf35056fdf2f56". So

Re: smbus driver for ati xpress 200m

2005-08-09 Thread yhlu
yhlunb:/proc/acpi/battery/BAT1 # cat info present: yes design capacity: 4800 mAh last full capacity: 4435 mAh battery technology: rechargeable design voltage: 14800 mV design capacity warning: 300 mAh design capacity low: 132 mAh capacity granularity

Re: [linux-pm] PowerOP 0/3: System power operating point management API

2005-08-09 Thread Todd Poynor
Patrick Mochel wrote: On Mon, 8 Aug 2005, Todd Poynor wrote: (apologies for use of obsolete cpufreq mailing list address in my initial message.) ... PowerOP is intended to leave all power policy decisions to higher layers. What do those higher layers look like? Do you have a userspace

RE: Please help with following NUMA-related questions

2005-08-09 Thread Xie, Bill
Hello "numactl --show" will tell whether NUMA support is enabled. If there is no numactl in your system, you can check the dmesg. System will report following words if NUMA support is enabled. "Scanning NUMA topology in Northbridge 24 " " <6>Number of nodes 2 (10010) " " <6>Node 0 MemBase

Re: allow the load to grow upto its cpu_power (was Re: [Patch] don't kick ALB in the presence of pinned task)

2005-08-09 Thread Siddha, Suresh B
On Wed, Aug 10, 2005 at 10:27:44AM +1000, Nick Piggin wrote: > Yeah this makes sense. Thanks. > > I think we'll only need your first line change to fix this, though. > > Your second change will break situations where a single group is very > loaded, but it is in a domain with lots of cpu_power >

Re: I2C block reads with i2c-viapro: testers wanted

2005-08-09 Thread Salah Coronya
I have a VT8235 chipset, I applied the patch to my kernel (2.6.12-gentoo-r6), comapred the "before" and "after" eeproms in /sys with diff and they are the same. So it seems to work with VT8235. - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message

[RFC/PATCH] Add pci_walk_bus function to PCI core

2005-08-09 Thread Paul Mackerras
Greg, Any comments on this patch? Would you be amenable to it going in post 2.6.13? The PCI error recovery infrastructure needs to be able to contact all the drivers affected by a PCI error event, which may mean traversing all the devices under a given PCI-PCI bridge. This patch adds a

[RFC: 2.6 patch] the big Documentation/Changes change

2005-08-09 Thread Adrian Bunk
I edited Documentation/Changes: - remove obsolete information - point to feature-list-2.6.txt instead of providing similar information - removed the URLs of the software packages (people compiling their own kernel usually know where to find the required software) The resulting file is pretty

Re: [PATCH] net/ipv4 debug cleanup, kernel 2.6.13-rc5

2005-08-09 Thread Patrick McHardy
Heikki Orsila wrote: > Here's a small patch to cleanup NETDEBUG() use in net/ipv4/ for Linux > kernel 2.6.13-rc5. Also weird use of indentation is changed in some > places. > > --- > diff -urp linux-2.6.13-rc5-org/net/ipv4/icmp.c > linux-2.6.13-rc5/net/ipv4/icmp.c > ---

Re: capabilities patch (v 0.1)

2005-08-09 Thread David Wagner
David Madore wrote: >I intend to add a couple of capabilities which are normally available >to all user processes, including capability to exec(), [...] Once you have a mechanism that lets you prevent the untrusted program from exec-ing a setuid/setgid program (such as your bounding set idea), I

[ANNOUNCE] Interbench v0.29 - Interactivity benchmark

2005-08-09 Thread Con Kolivas
Interbench is designed to benchmark interactivity in Linux. Direct download: http://ck.kolivas.org/apps/interbench/interbench-0.29.tar.bz2 Web: http://interbench.kolivas.org Changes (PW: thanks to Peter Williams): Altered the calibration loop. Added the option to select loads to perform or not

Re: [PATCH] pci_find_device and pci_find_slot mark as deprecated

2005-08-09 Thread Jiri Slaby
Jiri Slaby napsal(a): *It removes most occurences of pci_find_device in the kernel tree. *pci_(get|find)_device(x, ANY_ID, ANY_ID, x) changes to for_each_pci_dev(x). Generated in 2.6.13-rc5-mm1 kernel version. [...] drivers/scsi/qlogicisp.c |3 -- This maybe

Re: Linux-2.6.13-rc6: aic7xxx testers please..

2005-08-09 Thread James Bottomley
On Tue, 2005-08-09 at 16:12 -0400, John Stoffel wrote: > Thank you for looking into this with me, I really appreciate it. I'm > kinda stumped why this suddenly started happening, but it could be > hardware related of course... Well ... there's something going on that your posted dmesg's don't

Re: sched_domains SD_BALANCE_FORK and sched_balance_self

2005-08-09 Thread Nick Piggin
Siddha, Suresh B wrote: On Tue, Aug 09, 2005 at 03:19:58PM -0700, Martin J. Bligh wrote: --On Tuesday, August 09, 2005 15:03:32 -0700 "Siddha, Suresh B" <[EMAIL PROTECTED]> wrote: Balance on clone make some sort of sense, since you know they're not going to exec afterwards. We've thrashed

Re: [PATCH] pci_find_device and pci_find_slot mark as deprecated

2005-08-09 Thread Jiri Slaby
Greg KH napsal(a): On Tue, Aug 09, 2005 at 11:58:19AM +0200, Jiri Slaby wrote: On 8/9/05, Greg KH <[EMAIL PROTECTED]> wrote: On Tue, Aug 09, 2005 at 01:54:01AM +0200, Jiri Slaby wrote: This marks these functions as deprecated not to use in latest drivers (it doesn't use reference counts

Re: sched_domains SD_BALANCE_FORK and sched_balance_self

2005-08-09 Thread Siddha, Suresh B
On Tue, Aug 09, 2005 at 03:19:58PM -0700, Martin J. Bligh wrote: > --On Tuesday, August 09, 2005 15:03:32 -0700 "Siddha, Suresh B" <[EMAIL > PROTECTED]> wrote: > > > On Fri, Aug 05, 2005 at 04:29:45PM -0700, Darren Hart wrote: > >> I have some concerns as to the intent vs. actual implementation

[2.6 patch] remove the obsolete SCSI qlogicisp driver

2005-08-09 Thread Adrian Bunk
The SCSI qlogicisp driver is both marked BROKEN and superseded by the qla1280 driver. Signed-off-by: Adrian Bunk <[EMAIL PROTECTED]> --- This patch was already sent on: - 31 Jul 2005 - 22 Jul 2005 Due to it's size, the patch is attached compressed. Documentation/scsi/00-INDEX |2

Re: [linux-pm] PowerOP 1/3: PowerOP core

2005-08-09 Thread Todd Poynor
Geoff Levand wrote: I'm wondering if anything could be gained by having the whole struct powerop_point defined in asm/powerop.h, and treat it as an opaque structure at this level. That way, things other than just ints could be passed between the policy manager and the backend, although I

Re: allow the load to grow upto its cpu_power (was Re: [Patch] don't kick ALB in the presence of pinned task)

2005-08-09 Thread Nick Piggin
Siddha, Suresh B wrote: For example, lets take two nodes each having two physical packages. And assume that there are two tasks and both of them are on (may or may n't be pinned) two packages in node-0 Todays load balance will detect that there is an imbalance between the two nodes and will

Re: BUG: Real-Time Preemption 2.6.13-rc5-RT-V0.7.52-16

2005-08-09 Thread Daniel Walker
This may fix the warning , but I doubt it does anything for any hangs.. --- linux-2.6.12.orig/drivers/usb/core/hcd.c2005-08-09 22:41:18.0 + +++ linux-2.6.12/drivers/usb/core/hcd.c 2005-08-10 00:23:16.0 + @@ -540,8 +540,7 @@ void usb_hcd_poll_rh_status(struct usb_h

[2.6 patch] arm26: one -g is enough for everyone ;-)

2005-08-09 Thread Adrian Bunk
The main Makefile is already adding -g to the CFLAGS if CONFIG_DEBUG_INFO=y. Not that two -g would do harm, but one works as well. Signed-off-by: Adrian Bunk <[EMAIL PROTECTED]> --- linux-2.6.13-rc5-mm1/arch/arm26/Makefile.old2005-08-10 02:18:56.0 +0200 +++

[PATCH 0/2] pci_find_device patches

2005-08-09 Thread Jiri Slaby
>Um, one patch per email please. > >Doesn't anyone read Documentation/SubmittingPatches anymore... I did. But I only thought... Let it be. Sorry. Here are they. The two, which you haven't accepted (one, which marks deprecation isn't included because of refusing it and docpci has been added to

Re: [PATCH] use kthread infrastructure in md

2005-08-09 Thread Neil Brown
On Tuesday August 9, [EMAIL PROTECTED] wrote: > Switch MD to use the kthread infrastructure, to simplify the code and > get rid of tasklist_lock abuse in md_unregister_thread. Long-term I > wonder whether workqueues wouldn't be a better choice than the > MD-specific thread wrappers for the

[PATCH 2/2] removes pci_find_device from parport_pc.c

2005-08-09 Thread Jiri Slaby
[Andrew has added this into his tree yet.] This patch changes pci_find_device to pci_get_device (encapsulated in for_each_pci_dev). Generated in 2.6.13-rc5-mm1 kernel version. Signed-off-by: Jiri Slaby <[EMAIL PROTECTED]> diff --git a/drivers/parport/parport_pc.c b/drivers/parport/parport_pc.c

[PATCH -mm 1/2] removes pci_find_device from i6300esb.c

2005-08-09 Thread Jiri Slaby
This patch changes pci_find_device to pci_get_device (encapsulated in for_each_pci_dev) in i6300esb watchdog card with appropriate adding pci_dev_put. Generated in 2.6.13-rc5-mm1 kernel version. Signed-off-by: Jiri Slaby <[EMAIL PROTECTED]> diff --git a/drivers/char/watchdog/i6300esb.c

Re: [RFC 1/3] non-resident page tracking

2005-08-09 Thread Rik van Riel
On Tue, 9 Aug 2005, Marcelo Tosatti wrote: > Two hopefully useful comments: > > i) ARC and its variants requires additional information about page > replacement (namely whether the page has been reclaimed from the L1 or > L2 lists). > > How costly would it be to add this information to the hash

Re: [PATCH -mm] removes pci_find_device from i6300esb.c

2005-08-09 Thread Greg KH
On Tue, Aug 09, 2005 at 06:06:19PM +0200, Jiri Slaby wrote: > On 8/9/05, Greg KH <[EMAIL PROTECTED]> wrote: > > So, care to resend all of your pci changes, including the documentation > > ones, to me? > Sure: Um, one patch per email please. Doesn't anyone read Documentation/SubmittingPatches

Re: [PATCH] PNPACPI: fix IRQ and 64-bit address decoding

2005-08-09 Thread Bjorn Helgaas
On Thursday 04 August 2005 5:26 pm, Bjorn Helgaas wrote: > Maybe the third time's the charm :-) Added a bugfix > (pcibios_penalize_isa_irq()) and a workaround for HP > HPET firmware description since last time. The workaround > accepts stuff that is illegal according to the spec, > so speak up

Trouble shooting a ten minute boot delay (SiI3112)

2005-08-09 Thread Shaun Jackman
I added a PCI SATA controller to my computer. Immediately after grub loads the kernel there is a consistent ten minute delay before the kernel displays its first message. I tested Linux 2.6.8 and 2.6.11 both from Debian, and 2.6.11 from Knoppix, all of which experience the same delay. The SATA

Re: [PATCH] Custom IORESOURCE Class

2005-08-09 Thread Matthew Gilbert
On Mon, 2005-08-08 at 23:23 -0500, Kumar Gala wrote: > On Aug 8, 2005, at 6:17 PM, Adam Belay wrote: > > > On Mon, Aug 08, 2005 at 09:00:21AM -0700, Greg KH wrote: > > > >> On Mon, Aug 08, 2005 at 11:11:45AM -0700, Matthew Gilbert wrote: > >> > >>> Below is a patch that adds an additional

Re: [Bugme-new] [Bug 5003] New: Problem with symbios driver on recent -mm trees

2005-08-09 Thread Martin J. Bligh
--On Tuesday, August 09, 2005 11:55:36 -0500 James Bottomley <[EMAIL PROTECTED]> wrote: > On Tue, 2005-08-09 at 07:59 -0700, Martin J. Bligh wrote: >> Dear novice test examiner, >> >> It's in http://test.kernel.org with everything else ;-) >> 2.6.13-rc4-mm1+jejb_fix ... drills down to: >> >>

[RFC][PATCH] Rename PageChecked as PageMiscFS

2005-08-09 Thread Daniel Phillips
On Tuesday 09 August 2005 07:54, Andrew Morton wrote: > Daniel Phillips <[EMAIL PROTECTED]> wrote: > > > Suggestion for your next act: > > > > ...kill PG_checked please :) Or at least keep it from spreading. > > It already spread - ext3 is using it and I think reiser4. I thought I had > a patch

Re: Regression: radeonfb: No synchronisation on CRT with linux-2.6.13-rc5

2005-08-09 Thread Bodo Eggert
On Tue, 9 Aug 2005, Bodo Eggert wrote: > On Mon, 8 Aug 2005, Benjamin Herrenschmidt wrote: > > On Mon, 2005-08-08 at 02:06 +0200, Bodo Eggert wrote: > > > The wrong values are constant across reboots (see my first mail), and I > > > have a CRT. > > > > > > Can you tell me where the timing

allow the load to grow upto its cpu_power (was Re: [Patch] don't kick ALB in the presence of pinned task)

2005-08-09 Thread Siddha, Suresh B
On Tue, Aug 02, 2005 at 11:27:17AM +0200, Ingo Molnar wrote: > > * Siddha, Suresh B <[EMAIL PROTECTED]> wrote: > > > Jack Steiner brought this issue at my OLS talk. > > > > Take a scenario where two tasks are pinned to two HT threads in a physical > > package. Idle packages in the system will

Re: Dual 2.8ghz xeon, software raid, lvm, jfs

2005-08-09 Thread Sonny Rao
On Tue, Aug 09, 2005 at 09:44:56AM -0500, Phil Dier wrote: > Hi, > > I have 2 identical dual 2.8ghz xeon machines with 4gb ram, using > software raid 10 with lvm layered on top, formatted with JFS (though > at this point any filesystem with online resizing support will do). I > have the boxes

Re: smbus driver for ati xpress 200m

2005-08-09 Thread Andi Kleen
On Tue, Aug 09, 2005 at 11:50:53AM -0700, yhlu wrote: > anyone is working on add driver for ati xpress 200m? > > without that My turion notebook, can not work read the battery status. Normally this should be done in ACPI battery.c -Andi - To unsubscribe from this list: send the line

Re: capabilities patch (v 0.1)

2005-08-09 Thread Bodo Eggert
On Tue, 9 Aug 2005, Chris Wright wrote: > * Bodo Eggert ([EMAIL PROTECTED]) wrote: > > 1) I wouldn't want an exploited service to gain any privileges, even by > >chaining userspace exploits (e.g. exec sendmail < exploitstring). For > >most services, I'd like CAP_EXEC being unset (but it

Re: [PATCH] ppc32: Added support for the Book-E style Watchdog Timer

2005-08-09 Thread Kumar Gala
On Aug 9, 2005, at 5:01 PM, Andrew Morton wrote: Kumar Gala <[EMAIL PROTECTED]> wrote: PowerPC 40x and Book-E processors support a watchdog timer at the processor core level. The timer has implementation dependent timeout frequencies that can be configured by software. One the

Re: capabilities patch (v 0.1)

2005-08-09 Thread Chris Wright
* Bodo Eggert ([EMAIL PROTECTED]) wrote: > 1) I wouldn't want an exploited service to gain any privileges, even by >chaining userspace exploits (e.g. exec sendmail < exploitstring). For >most services, I'd like CAP_EXEC being unset (but it doesn't exist). Don't let it exec things it

Re: sched_domains SD_BALANCE_FORK and sched_balance_self

2005-08-09 Thread Martin J. Bligh
--On Tuesday, August 09, 2005 15:03:32 -0700 "Siddha, Suresh B" <[EMAIL PROTECTED]> wrote: > On Fri, Aug 05, 2005 at 04:29:45PM -0700, Darren Hart wrote: >> I have some concerns as to the intent vs. actual implementation of >> SD_BALANCE_FORK and the sched_balance_fork() routine. > > Intent

Re: irqpoll causing some breakage?

2005-08-09 Thread Daniel Drake
Alan Cox wrote: What do the other reports look like ? Here's one: http://forums.gentoo.org/viewtopic-t-361718-highlight-irqpoll.html This possibly suggests that the irqpoll patch actually caused a "nobody cared" which wasn't there previously. (Now that I have looked closer at the patch, I

Re: [RFC][patch 0/2] mm: remove PageReserved

2005-08-09 Thread Daniel Phillips
Hi Nick, Did you know that your patches do not actually specify which kernel tree you diffed against? Regards, Daniel - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to [EMAIL PROTECTED] More majordomo info at

Re: sched_domains SD_BALANCE_FORK and sched_balance_self

2005-08-09 Thread Siddha, Suresh B
On Fri, Aug 05, 2005 at 04:29:45PM -0700, Darren Hart wrote: > I have some concerns as to the intent vs. actual implementation of > SD_BALANCE_FORK and the sched_balance_fork() routine. Intent and implementation match. Problem is with the intent ;-) This has the intent info.

Re: [PATCH -mm] removes pci_find_device from i6300esb.c

2005-08-09 Thread Greg KH
On Tue, Aug 09, 2005 at 11:28:16AM +0200, Jiri Slaby wrote: > Andrew Morton napsal(a): > > >Jiri Slaby <[EMAIL PROTECTED]> wrote: > > > > > >>--- a/drivers/char/watchdog/i6300esb.c > >>+++ b/drivers/char/watchdog/i6300esb.c > >>@@ -368,12 +368,11 @@ static unsigned char __init esb_getdevic > >>

Re: [PATCH] ppc32: Added support for the Book-E style Watchdog Timer

2005-08-09 Thread Andrew Morton
Kumar Gala <[EMAIL PROTECTED]> wrote: > > PowerPC 40x and Book-E processors support a watchdog timer at the processor > core level. The timer has implementation dependent timeout frequencies > that can be configured by software. > > One the first Watchdog timeout we get a critical exception.

Re: [PATCH] pci_find_device and pci_find_slot mark as deprecated

2005-08-09 Thread Greg KH
On Tue, Aug 09, 2005 at 11:58:19AM +0200, Jiri Slaby wrote: > On 8/9/05, Greg KH <[EMAIL PROTECTED]> wrote: > > On Tue, Aug 09, 2005 at 01:54:01AM +0200, Jiri Slaby wrote: > > > This marks these functions as deprecated not to use in latest drivers (it > > > doesn't use reference counts and the

BUG: Real-Time Preemption 2.6.13-rc5-RT-V0.7.52-16

2005-08-09 Thread Andrew Burgess
This particular module (uhci-hcd) caused hangs with many recent up rt kernels when loaded by rc.sysinit so I put it in the hotplug blacklist and loaded it manually later. This time I got a BUG. On a probably seperate issue: I've tried this smp kernel a few times and half the time I have no

Re: PROBLEM: "drive appears confused" and "irq 18: nobody cared!"

2005-08-09 Thread Alan Cox
On Maw, 2005-08-09 at 19:28 +0200, Alexander Fieroch wrote: > Andrew Morton wrote: > > Please check 2.6.13-rc6 when it's out - this might fix the IRQ problem. > > The errors "irq XXX: nobody cared" and "hdb: cdrom_pc_intr: The drive > appears confused (ireason = 0x01)" still occur in kernel

Re: [RFC][patch 0/2] mm: remove PageReserved

2005-08-09 Thread Martin J. Bligh
>> On Tue, Aug 09, 2005 at 07:38:52AM -0700, Martin J. Bligh wrote: >>> pfn_valid() doesn't tell you it's RAM or not - it tells you whether you >>> have a backing struct page for that address. Could be an IO mapped device, >>> a small memory hole, whatever. >> >> The only things which have a

Re: capabilities patch (v 0.1)

2005-08-09 Thread David Madore
On Tue, Aug 09, 2005 at 11:36:00PM +0200, Bodo Eggert wrote: > 1) I wouldn't want an exploited service to gain any privileges, even by >chaining userspace exploits (e.g. exec sendmail < exploitstring). For >most services, I'd like CAP_EXEC being unset (but it doesn't exist). I intend to

Re: irqpoll causing some breakage?

2005-08-09 Thread Alan Cox
On Maw, 2005-08-09 at 18:12 +0100, Daniel Drake wrote: > Alan Cox wrote: > > Without the parameters it has exactly zero effect on the operation of > > the kernel, the algorithms and the behaviour. So something odd is afoot > > if its causing gentoo breakages. > > Thats what I thought, yet it

Re: Standardize shutdown of the system from enviroment control

2005-08-09 Thread Aaron Young
> > > On Tue, 9 Aug 2005, Christoph Hellwig wrote: > > > Currently snsc_event for Altix systems sends SIGPWR to init (and abuses > > tasklist_lock..) while the sbus drivers call execve for /sbin/shutdown > > (which is also ugly, it should at least use call_usermodehelper) > > With normal

Re: capabilities patch (v 0.1)

2005-08-09 Thread Bodo Eggert
On Tue, 9 Aug 2005, Chris Wright wrote: > * Bodo Eggert ([EMAIL PROTECTED]) wrote: > > Chris Wright <[EMAIL PROTECTED]> wrote: > > > * David Madore ([EMAIL PROTECTED]) wrote: > > >> * Second, a much more extensive change, the patch introduces a third > > >> set of capabilities for every process,

Re: Reiserfs 3.6 + quota enabled, crash on delete (or maybe truncate)

2005-08-09 Thread Guillaume Pelat
Hi, Would you, please, try to reproduce the problem having reiserfs check mode on. (it is File systems->Reiserfs support->Enable reiserfs debug mode in kernel configuration) and with attached patch. Here is the error log with reiserfs check mode on + patch applied : ReiserFS: sda3: found

Re: FYI: device_suspend(...) in kernel_power_off().

2005-08-09 Thread Nigel Cunningham
Hi. On Wed, 2005-08-10 at 03:25, Eric W. Biederman wrote: > Pavel Machek <[EMAIL PROTECTED]> writes: > > > Hi! > > > >> >> There as been a fair amount of consensus that calling > >> >> device_suspend(...) in the reboot path was inappropriate now, because > >> >> the device suspend code was too

Re: [RFC][patch 0/2] mm: remove PageReserved

2005-08-09 Thread Daniel Phillips
On Wednesday 10 August 2005 01:36, Hugh Dickins wrote: > On Tue, 9 Aug 2005, Benjamin Herrenschmidt wrote: > > - We already have a refcount > > - We have a field where putting a flag isn't that much of a problem > > - It can be difficult to get page refcounting right when dealing with > >

[ANNOUNCE] yaird 0.0.11, a mkinitrd based on hotplug concepts

2005-08-09 Thread Erik van Konijnenburg
Version 0.0.11 of yaird is now available at: http://www.xs4all.nl/~ekonijn/yaird/yaird-0.0.11.tar.gz Yaird is a proof of concept perl rewrite of mkinitrd. It aims to reliably identify the necessary modules by using the same algorithms as hotplug, and comes with a template system to to

Re: [PATCH] Fix PPC signal handling of NODEFER, should not affect sa_mask

2005-08-09 Thread Linus Torvalds
On Tue, 9 Aug 2005, Steven Rostedt wrote: > > If this is indeed the way things should work. I'll go ahead and fix all > the other architectures. It does appear that this is what the standards describe in the section quoted by Chris. On the other hand, the standard seems to be a bit confused

Re: Standardize shutdown of the system from enviroment control modules

2005-08-09 Thread Greg Howard
On Tue, 9 Aug 2005, Christoph Hellwig wrote: > Currently snsc_event for Altix systems sends SIGPWR to init (and abuses > tasklist_lock..) while the sbus drivers call execve for /sbin/shutdown > (which is also ugly, it should at least use call_usermodehelper) > With normal sysvinit both will end

Re: [RFC 1/3] non-resident page tracking

2005-08-09 Thread Marcelo Tosatti
On Tue, Aug 09, 2005 at 09:15:26PM +0200, Peter Zijlstra wrote: > On Tue, 2005-08-09 at 15:25 -0300, Marcelo Tosatti wrote: > > Hi Rik, > > > > Two hopefully useful comments: > > > > i) ARC and its variants requires additional information about page > > replacement (namely whether the page has

Re: [RFC] atomic open(..., O_CREAT | ...)

2005-08-09 Thread Miklos Szeredi
> Really? > > static int __emul_lookup_dentry(const char *name, struct nameidata *nd) > { > . > if (path_walk(name, nd) == 0) { > if (nd->dentry->d_inode) { > dput(old_dentry); >

Re: [RFC][patch 0/2] mm: remove PageReserved

2005-08-09 Thread Martin J. Bligh
--On Tuesday, August 09, 2005 20:41:00 +0100 Russell King <[EMAIL PROTECTED]> wrote: > On Tue, Aug 09, 2005 at 07:38:52AM -0700, Martin J. Bligh wrote: >> pfn_valid() doesn't tell you it's RAM or not - it tells you whether you >> have a backing struct page for that address. Could be an IO

I2C block reads with i2c-viapro: testers wanted

2005-08-09 Thread Jean Delvare
Hi all, I am implementing I2C block reads in the i2c-viapro driver, and am looking for testers. I was able to test on my own VT8237R chip, it works OK, now I'd need to know how it works on older VIA south bridges, namely the VT8235 and the VT82C686B. South bridges before that (VT82C686A, VT8233A

Re: [RFC] atomic open(..., O_CREAT | ...)

2005-08-09 Thread Trond Myklebust
ty den 09.08.2005 Klokka 22:42 (+0200) skreiv Miklos Szeredi: > Trond, wake up! __emul_lookup_dentry() does nothing of the sort. > Neither does anything else. In theory it could, but that's not a > reason to do a confusing thing like that. Really? static int __emul_lookup_dentry(const char

Standardize shutdown of the system from enviroment control modules

2005-08-09 Thread Christoph Hellwig
Currently snsc_event for Altix systems sends SIGPWR to init (and abuses tasklist_lock..) while the sbus drivers call execve for /sbin/shutdown (which is also ugly, it should at least use call_usermodehelper) With normal sysvinit both will end up the same, but I suspect the shutdown variant, maybe

Re: [PATCH] Fix i386 signal handling of NODEFER, should not affect sa_mask (was: Re: Signal handling possibly wrong)

2005-08-09 Thread Chris Wright
* Steven Rostedt ([EMAIL PROTECTED]) wrote: > Hmm, I think you want this patch. You still need to check the return of > setting up the frames. Indeed, I noticecd just after I sent, and sent an updated patch. Thanks Steve! - To unsubscribe from this list: send the line "unsubscribe linux-kernel"

Re: [PATCH] Fix PPC signal handling of NODEFER, should not affect sa_mask

2005-08-09 Thread Steven Rostedt
If this is indeed the way things should work. I'll go ahead and fix all the other architectures. -- Steve Signed-off-by: Steven Rostedt <[EMAIL PROTECTED]> --- linux-2.6.13-rc6-git1/arch/ppc/kernel/signal.c.orig 2005-08-09 17:00:43.0 -0400 +++

[PATCH] use kthread infrastructure in md

2005-08-09 Thread Christoph Hellwig
Switch MD to use the kthread infrastructure, to simplify the code and get rid of tasklist_lock abuse in md_unregister_thread. Long-term I wonder whether workqueues wouldn't be a better choice than the MD-specific thread wrappers for the lowlevel drivers. Signed-off-by: Christoph Hellwig <[EMAIL

Re: Signal handling possibly wrong

2005-08-09 Thread Chris Wright
* Chris Wright ([EMAIL PROTECTED]) wrote: Actually that one broke a fix that I think Brodo discovered in the first place with bogus stack frames. Should be this one. thanks, -chris --- Subject: [PATCH] fix SA_NODEFER signals to honor sa_mask When receiving SA_NODEFER signal, kernel was

Re: capabilities patch (v 0.1)

2005-08-09 Thread David Madore
On Tue, Aug 09, 2005 at 01:52:06PM -0700, Chris Wright wrote: > * Bodo Eggert ([EMAIL PROTECTED]) wrote: > > How are you going to tell processes that may exec suid (or set-capability-) > > programs from those that aren't supposed to gain certain capabilities? > > typically you'd expect exec suid

[PATCH] Fix i386 signal handling of NODEFER, should not affect sa_mask (was: Re: Signal handling possibly wrong)

2005-08-09 Thread Steven Rostedt
On Tue, 2005-08-09 at 13:49 -0700, Chris Wright wrote: > > SA_NODEFER > [XSI] If set and sig is caught, sig shall not be added to the thread's > signal mask on entry to the signal handler unless it is included in > sa_mask. Otherwise, sig shall always be added to the thread's signal

[RFC] slight rework of [PATCH 2/5] Add support for AIO completion notification

2005-08-09 Thread Benjamin LaHaise
Hello Sebastien et al, The patch below is a slight rework of Sebastien's POSIX AIO completion signals patch. Most of the changes are cosmetic for splitting up the code into smaller functions, but one significant change is that the uid/euid is checked against the target process when the signal

Re: [RFC][patch 0/2] mm: remove PageReserved

2005-08-09 Thread Linus Torvalds
On Tue, 9 Aug 2005, Russell King wrote: > On Tue, Aug 09, 2005 at 07:38:52AM -0700, Martin J. Bligh wrote: > > pfn_valid() doesn't tell you it's RAM or not - it tells you whether you > > have a backing struct page for that address. Could be an IO mapped device, > > a small memory hole,

Re: capabilities patch (v 0.1)

2005-08-09 Thread Chris Wright
* Bodo Eggert ([EMAIL PROTECTED]) wrote: > Chris Wright <[EMAIL PROTECTED]> wrote: > > * David Madore ([EMAIL PROTECTED]) wrote: > > >> * Second, a much more extensive change, the patch introduces a third > >> set of capabilities for every process, the "bounding" set. Normally > > > > this is

Re: [RFC][patch 0/2] mm: remove PageReserved

2005-08-09 Thread Daniel Phillips
On Wednesday 10 August 2005 06:17, Hugh Dickins wrote: > There might be a case for packaging repeated arguments into structures > (though several of these levels are inlined anyway), but that's some > other exercise entirely, shouldn't get in the way of removing Reserved. Agreed, an entirely

Re: Signal handling possibly wrong

2005-08-09 Thread Chris Wright
* Steven Rostedt ([EMAIL PROTECTED]) wrote: > Where, sa_mask is _ignored_ if NODEFER is set. (I now have woken up!). > The attached program shows that the sa_mask is indeed ignored when > SA_NODEFER is set. > > Now the real question is... Is this a bug? That's not correct w.r.t. SUSv3. sa_mask

Re: capabilities patch (v 0.1)

2005-08-09 Thread David Madore
On Tue, Aug 09, 2005 at 04:28:31PM -0400, [EMAIL PROTECTED] wrote: > On Tue, 09 Aug 2005 07:26:21 +0200, David Madore said: > > * Second, a much more extensive change, the patch introduces a third > > set of capabilities for every process, the "bounding" set. Normally > > the bounding set has

Re: [RFC] atomic open(..., O_CREAT | ...)

2005-08-09 Thread Miklos Szeredi
> > > There is quite a bit of code out there that assumes it is free to stuff > > > things into nd->mnt and nd->dentry. Some of it is Al Viro's code, some > > > of it is from other people. > > > For instance, the ESTALE handling will just save nd->mnt/nd->dentry > > > before calling

Re: capabilities patch (v 0.1)

2005-08-09 Thread David Madore
On Tue, Aug 09, 2005 at 05:37:56AM +, Chris Wright wrote: > * David Madore ([EMAIL PROTECTED]) wrote: > > * Second, a much more extensive change, the patch introduces a third > > set of capabilities for every process, the "bounding" set. Normally > > this is not a good idea. don't add more

[PATCH] ppc32: Added support for the Book-E style Watchdog Timer

2005-08-09 Thread Kumar Gala
PowerPC 40x and Book-E processors support a watchdog timer at the processor core level. The timer has implementation dependent timeout frequencies that can be configured by software. One the first Watchdog timeout we get a critical exception. It is left to board specific code to determine what

Re: capabilities patch (v 0.1)

2005-08-09 Thread Valdis . Kletnieks
On Tue, 09 Aug 2005 07:26:21 +0200, David Madore said: > * Second, a much more extensive change, the patch introduces a third > set of capabilities for every process, the "bounding" set. Normally > the bounding set has every capability in it How is this different in semantics from the existing

Re: understanding Linux capabilities brokenness

2005-08-09 Thread Kyle Moffett
On Aug 9, 2005, at 11:16:33, Christopher Warner wrote: In my observer pragmatic view; yes. On many occasion, i've come to CAP calls only to be frustrated with the sheer disconnect of it all. It simply doesn't work. If it means having to break posix conformance for a working implementation.

Re: my kernel sometimes did a crash, but no panic

2005-08-09 Thread Adrian Bunk
On Tue, Aug 09, 2005 at 06:04:05PM +0200, Klasyk wrote: > my kernel sometimes did a crash, but no panic > Keyboard hunged up :( > Network were working and I can log in. Without the keybord - it > generally worked. > > In logs: > for example: >... > Aug 6 15:30:02 o kernel: Modules linked in:

Re: [PATCH] i386 No-Idle-Hz aka Dynamic-Ticks 3

2005-08-09 Thread Daniel Petrini
> I convinced my self that the next_timer... code in timer.c misses timers > (i.e. gives the wrong answer). I did this (after wondering due to > performance) by scanning the whole timer list after I had the > next_timer... answer and finding a better answer, not always, but some > times. That

Re: capabilities patch (v 0.1)

2005-08-09 Thread Bodo Eggert
Chris Wright <[EMAIL PROTECTED]> wrote: > * David Madore ([EMAIL PROTECTED]) wrote: >> * Second, a much more extensive change, the patch introduces a third >> set of capabilities for every process, the "bounding" set. Normally > > this is not a good idea. don't add more sets. if you really

Re: Signal handling possibly wrong

2005-08-09 Thread Steven Rostedt
On Tue, 2005-08-09 at 16:03 -0400, Steven Rostedt wrote: > Man pages and kernel are right. I just tested this out on 2.6.13-rc3 > with the attached program and it seems to follow what is stated in the > man pages. So the assumption of what the code did by looking at it > proves to be the

Re: [RFC][patch 0/2] mm: remove PageReserved

2005-08-09 Thread Hugh Dickins
On Wed, 10 Aug 2005, Daniel Phillips wrote: > On Tuesday 09 August 2005 10:15, Nick Piggin wrote: > > Daniel Phillips wrote: > > > Why don't you pass the vma in zap_details? > > > > Possibly. I initially did it that way, but it ended up fattening > > paths that don't use details. > > It should

Re: Regression: radeonfb: No synchronisation on CRT with linux-2.6.13-rc5

2005-08-09 Thread Bodo Eggert
On Mon, 8 Aug 2005, Benjamin Herrenschmidt wrote: > On Mon, 2005-08-08 at 02:06 +0200, Bodo Eggert wrote: > > The wrong values are constant across reboots (see my first mail), and I > > have a CRT. > > > > Can you tell me where the timing values are read? > > radeon_write_mode() programs the

Re: Linux-2.6.13-rc6: aic7xxx testers please..

2005-08-09 Thread John Stoffel
> "James" == James Bottomley <[EMAIL PROTECTED]> writes: Thank you for looking into this with me, I really appreciate it. I'm kinda stumped why this suddenly started happening, but it could be hardware related of course... James> So basically the problem is on scsi1 with the tape device,

Re: [PATCH] i386 No-Idle-Hz aka Dynamic-Ticks 3

2005-08-09 Thread George Anzinger
Tony Lindgren wrote: * Srivatsa Vaddagiri <[EMAIL PROTECTED]> [050805 05:37]: On Wed, Aug 03, 2005 at 06:05:28AM +, Con Kolivas wrote: This is the dynamic ticks patch for i386 as written by Tony Lindgen <[EMAIL PROTECTED]> and Tuukka Tikkanen <[EMAIL PROTECTED]>. Patch for 2.6.13-rc5

Re: Signal handling possibly wrong

2005-08-09 Thread Steven Rostedt
On Tue, 2005-08-09 at 21:41 +0200, Bodo Stroesser wrote: > S > > To me, the man pages make more sense, and I think the kernel is wrong. > > Yes, that's what I think, too. If someone doesn't want additional signals > to be masked, he can set sa_mask to be empty. > OTOH, I have no idea, what POSIX

  1   2   3   4   5   6   >