Re: PCIE

2007-05-27 Thread H. Peter Anvin
Grant Grundler wrote: > On Sun, May 27, 2007 at 06:03:29PM -0700, Roland Dreier wrote: > ... >> > I can imagine many systems where the cpu simply doesn't have enough >> > interrupt pins to uniquely identify every possible MSI interrupt >> > source. >> >> I have a hard time imagining a PCI host

Re: PCIE

2007-05-27 Thread H. Peter Anvin
Roland Dreier wrote: > > I have a hard time imagining a PCI host bus controller that converts > MSI interrupts back to wire interrupts that go to pins on the CPU. > For one thing it would be hard to maintain the guarantee that > MSI interrupts can't pass DMAs. And it would be an absolutely silly

Re: [PATCH 1/3] Preserve the dirty bit in init_page_buffers

2007-05-27 Thread Nick Piggin
Nick Piggin wrote: Eric W. Biederman wrote: When we initialize the ramdisk by writing to /dev/ram0 usually in init/do_mounts_rd.c we don't allocate buffer heads but we do set the dirty bit, and the page is in the page cache. So when we later call getblk it reuses the same page and then calls

Re: [PATCH 1/3] Preserve the dirty bit in init_page_buffers

2007-05-27 Thread Nick Piggin
Eric W. Biederman wrote: Nick Piggin <[EMAIL PROTECTED]> writes: Eric W. Biederman wrote: The problem: When we are trying to free buffers try_to_free_buffers will look at ramdisk pages with clean buffer heads and remove the dirty bit from the page. Resulting in ramdisk pages with data

[BUG] CPU hotplug: system hang on CPU hot remove during oprofile

2007-05-27 Thread Satoru Takeuchi
Hi, I found a bug on CPU hotplug. If oprofile is running, CPU hot remove causes system hang. I only confirm that this problem occurs on my ia64 box. I'm glad if someone report about other arch. How to reproduce 1) start oprofile # opcontrol --start 2) offline a CPU. #

Re: [RFD] BIO_RW_BARRIER - what it means for devices, filesystems, and dm/md.

2007-05-27 Thread Timothy Shimmin
Hi, --On 28 May 2007 12:45:59 PM +1000 David Chinner <[EMAIL PROTECTED]> wrote: On Mon, May 28, 2007 at 11:30:32AM +1000, Neil Brown wrote: Thanks everyone for your input. There was some very valuable observations in the various emails. I will try to pull most of it together and bring out

Re: [PATCH] $ARCH: Enable arbitary speed tty ioctls and split input/output speed

2007-05-27 Thread Paul Mackerras
Alan Cox writes: > On Thu, 24 May 2007 09:45:37 -0400 > David Woodhouse <[EMAIL PROTECTED]> wrote: > > > On Thu, 2007-05-24 at 14:41 +0100, Alan Cox wrote: > > > Most people copied the x86 behaviour which makes it easy to transplant. > > > Some are just smoking something (see ioctls.h for sh-64

Re: [PATCH 1/3] Preserve the dirty bit in init_page_buffers

2007-05-27 Thread Eric W. Biederman
Nick Piggin <[EMAIL PROTECTED]> writes: > Eric W. Biederman wrote: >> The problem: When we are trying to free buffers try_to_free_buffers >> will look at ramdisk pages with clean buffer heads and remove the >> dirty bit from the page. Resulting in ramdisk pages with data that >> get removed

Re: [RFD] BIO_RW_BARRIER - what it means for devices, filesystems, and dm/md.

2007-05-27 Thread David Chinner
On Mon, May 28, 2007 at 12:57:53PM +1000, Neil Brown wrote: > On Monday May 28, [EMAIL PROTECTED] wrote: > > On Mon, May 28, 2007 at 11:30:32AM +1000, Neil Brown wrote: > > > Thanks everyone for your input. There was some very valuable > > > observations in the various emails. > > > I will try to

Re: [2/3] 2.6.22-rc2: known regressions v2

2007-05-27 Thread Vivek Goyal
On Fri, May 25, 2007 at 10:50:38AM -0700, Linus Torvalds wrote: > > > On Fri, 25 May 2007, Andrew Morton wrote: > > > > > > There is an additional factor - dumps contain data which variously is - > > > > copyright third parties, protected by privacy laws, just personally > > > > private,

Re: PCIE

2007-05-27 Thread Grant Grundler
On Sun, May 27, 2007 at 06:03:29PM -0700, Roland Dreier wrote: ... > > I can imagine many systems where the cpu simply doesn't have enough > > interrupt pins to uniquely identify every possible MSI interrupt > > source. > > I have a hard time imagining a PCI host bus controller that converts >

Re: Altering kernel path execution using module

2007-05-27 Thread pradeep singh
On 5/28/07, pradeep singh <[EMAIL PROTECTED]> wrote: Hi All, Is it possible to change the normal kernel execution path using a loadable module, without actually patching the kernel? e.g fun1()->fun2()->fun3()->fun4()->fun5()->fun6() Can i change this method invocation sequence to a custom

Re: [PATCH 1/3] Preserve the dirty bit in init_page_buffers

2007-05-27 Thread Nick Piggin
Eric W. Biederman wrote: The problem: When we are trying to free buffers try_to_free_buffers will look at ramdisk pages with clean buffer heads and remove the dirty bit from the page. Resulting in ramdisk pages with data that get removed from the page cache. Ouch! Buffer heads appear on

Re: [2/3] 2.6.22-rc2: known regressions v2

2007-05-27 Thread Vivek Goyal
On Fri, May 25, 2007 at 09:33:54AM -0700, Andrew Morton wrote: > On Fri, 25 May 2007 14:34:56 +0200 Ingo Molnar <[EMAIL PROTECTED]> wrote: > > > * Chris Newport <[EMAIL PROTECTED]> wrote: > > > > > There is a fundamental problem in getting a decent log to debug a > > > crashed kernel. Maybe we

Re: [2.6.21.1] resume doesn't run suspended kernel?

2007-05-27 Thread Bill Davidsen
Pavel Machek wrote: On Sat 2007-05-26 18:42:37, Bill Davidsen wrote: I was testing susp2disk in 2.6.21.1 under FC6, to support reliable computing environment (RCE) needs. The idea is that if power fails, after some short time on UPS the system does susp2disk with a time set, and boots

Re: [patch -mm 1/1] remove useless tolower in isofs

2007-05-27 Thread young dave
Hi, And then there's the supercompact form. while (len--) { hash = partial_name_hash(tolower(*name++), hash); } But I do not like the last one at all. The first one is the best, because it clearly separates the condition and iteration parts of the expression, while STILL being only

Re: [RFD] BIO_RW_BARRIER - what it means for devices, filesystems, and dm/md.

2007-05-27 Thread Neil Brown
On Monday May 28, [EMAIL PROTECTED] wrote: > On Mon, May 28, 2007 at 11:30:32AM +1000, Neil Brown wrote: > > > > Thanks everyone for your input. There was some very valuable > > observations in the various emails. > > I will try to pull most of it together and bring out what seem to be > > the

Re: PCIE

2007-05-27 Thread David Miller
From: Roland Dreier <[EMAIL PROTECTED]> Date: Sun, 27 May 2007 18:03:29 -0700 > I have a hard time imagining a PCI host bus controller that converts > MSI interrupts back to wire interrupts that go to pins on the CPU. > For one thing it would be hard to maintain the guarantee that > MSI

Re: [patch -mm 1/1] remove useless tolower in isofs

2007-05-27 Thread John Anthony Kazos Jr.
> Hi, > Remove useless tolower in isofs > > Signed-off-by: dave young <[EMAIL PROTECTED]> > > inode.c |2 +- > 1 file changed, 1 insertions(+), 1 deletions(-) > > diff -dur linux/fs/isofs/inode.c linux.new/fs/isofs/inode.c > --- linux/fs/isofs/inode.c 2007-05-28 08:54:33.0 +

Re: [PATCH 1/2] use list_for_each_entry() for iteration in hostap_ap.c

2007-05-27 Thread Jouni Malinen
On Sun, May 27, 2007 at 12:28:24PM +0200, Matthias Kaehlcke wrote: > thanks for your comment, here's a patch that uses > list_for_each_entry(), additionally to the initial patch it > substitutes some list_for_each() loops by list_for_each_entry() Thanks! I added this to my list of patches for

Re: PCIE

2007-05-27 Thread Manu Abraham
Roland Dreier wrote: > > > At least on my device (PCI ID 1131:7162) there is no MSI-X capability, > > > so that's not an option for you. The current Linux implementation > > > does not support more than one MSI interrupt, so you just get one > > > interrupt with pci_enable_msi(). > > > >

Re: [RFD] BIO_RW_BARRIER - what it means for devices, filesystems, and dm/md.

2007-05-27 Thread David Chinner
On Mon, May 28, 2007 at 11:30:32AM +1000, Neil Brown wrote: > > Thanks everyone for your input. There was some very valuable > observations in the various emails. > I will try to pull most of it together and bring out what seem to be > the important points. > > > 1/ A BIO_RW_BARRIER request

[PATCH] merge dst_discard in & out into one, this decrements the vmlinux image by 21 bytes under i386 arch.

2007-05-27 Thread rae l
From: Denis Cheng thus the definition of dst_discard_in and dst_discard_out is the same, we can define a dst_discard function and map the _in and _out to it, this can reduce space in vmlinux. Signed-off-by: Denis Cheng <[EMAIL PROTECTED]> --- diff --git a/net/core/dst.c b/net/core/dst.c index

2.6.22-rc3: regression: make M=$PWD modules_install does nothing

2007-05-27 Thread Andrey Borzenkov
This has been working up and including -rc2: {pts/1}% sudo make -C ~/src/linux-git O=$HOME/build/linux-2.6.22 M=PWD V=1 modules_install make: Entering directory `/home/bor/src/linux-git' make -C /home/bor/build/linux-2.6.22 \ KBUILD_SRC=/home/bor/src/linux-git \

[BUG] signal: multithread program returns with wrong errno on receiving SIGSTOP

2007-05-27 Thread Satoru Takeuchi
Hi, I found a bug on signal subsystem. If there is some multithread program and one of the thread is blocking on the system call, it returns with wrong errno on receiving SIGSTOP and following SIGCONT. Arch dependency === succeed to reproduce: i386, ia64 Unknown: any

Re: PCIE

2007-05-27 Thread Roland Dreier
> > At least on my device (PCI ID 1131:7162) there is no MSI-X capability, > > so that's not an option for you. The current Linux implementation > > does not support more than one MSI interrupt, so you just get one > > interrupt with pci_enable_msi(). > > This would mean MSI or MSI-X ? A

Re: RTC_DRV_CMOS can break userspace interface

2007-05-27 Thread Matthew Garrett
On Sun, May 27, 2007 at 06:44:49PM -0700, David Brownell wrote: > On Sunday 27 May 2007, Matthew Garrett wrote: > > Actually, it seems to be worse than that - the PNP entry for my cmos > > clock doesn't appear to mention an irq, so the wakealarm entry doesn't > > work. I can happily wake it

Re: RTC_DRV_CMOS can break userspace interface

2007-05-27 Thread David Brownell
On Sunday 27 May 2007, Matthew Garrett wrote: > f5f72b46c349fefcfd4421b2213c6ffb324c5e56 appears to break the userspace > interface to the CMOS alarm. This could previously be accessed via > /proc/acpi/alarm ... I was a bit surprised the ACPI team didn't have more comments on that issue,

Re: RTC_DRV_CMOS can break userspace interface

2007-05-27 Thread David Brownell
On Sunday 27 May 2007, Matthew Garrett wrote: > On Mon, May 28, 2007 at 12:39:11AM +0100, Matthew Garrett wrote: > > > but will disable /proc/acpi/wakeup. It'll also be impossible to load > > CONFIG_RTC_CMOS because CONFIG_RTC has grabbed the io ports, so it's not > > possible to use the new

Re: PCIE

2007-05-27 Thread Manu Abraham
Roland Dreier wrote: > > >> Another question would be if the device supports multiple messages, MSIX > > >> should be used ? > > > > > > Yes. Assuming the device supports multiple MSI-X messages. > > At least on my device (PCI ID 1131:7162) there is no MSI-X capability, > so that's not an

CPU hotplug: system hang on CPU hot remove during `pfmon --system-wide'

2007-05-27 Thread Satoru Takeuchi
Hi, I found a bug on CPU hotplug. If `pfmon --system-wide' is running, CPU hot remove causes system hang. On the other hand, CPU hot add during that command seems to work fine. I detected this problem on my ia64 box, and I don't know that this problem is also occur on any arch or freezer based

Re: Oops with prism54 in 2.6.22-rc3

2007-05-27 Thread Björn Steinbrink
On 2007.05.26 14:42:30 +0200, Maximilian Engelhardt wrote: > Hello, > > when using the prism54 driver including in the 2.6.22-rc3 kernel I get this > Oops when putting the card into monitor mode: > > BUG: unable to handle kernel NULL pointer dereference at virtual address > 01d8 >

Re: [RFD] BIO_RW_BARRIER - what it means for devices, filesystems, and dm/md.

2007-05-27 Thread Neil Brown
On Friday May 25, [EMAIL PROTECTED] wrote: > 2007/5/25, Neil Brown <[EMAIL PROTECTED]>: > > - Are there other bit that we could handle better? > > BIO_RW_FAILFAST? BIO_RW_SYNC? What exactly do they mean? > > > BIO_RW_FAILFAST: means low-level driver shouldn't do much (or no) > error

Re: [RFD] BIO_RW_BARRIER - what it means for devices, filesystems, and dm/md.

2007-05-27 Thread Neil Brown
Thanks everyone for your input. There was some very valuable observations in the various emails. I will try to pull most of it together and bring out what seem to be the important points. 1/ A BIO_RW_BARRIER request should never fail with -EOPNOTSUP. This is certainly a very attractive

Re: PCIE

2007-05-27 Thread Manu Abraham
Roland Dreier wrote: > > >> Another question would be if the device supports multiple messages, MSIX > > >> should be used ? > > > > > > Yes. Assuming the device supports multiple MSI-X messages. > > At least on my device (PCI ID 1131:7162) there is no MSI-X capability, > so that's not an

Re: [patch] CFS scheduler, -v14

2007-05-27 Thread Li Yu
Ingo Molnar wrote: i'm pleased to announce release -v14 of the CFS scheduler patchset. The CFS patch against v2.6.22-rc2, v2.6.21.1 or v2.6.20.10 can be downloaded from the usual place: http://people.redhat.com/mingo/cfs-scheduler/ In comment before distribute_fair_add(), we

Re: 2.6.22-rc2: known regressions with patches

2007-05-27 Thread David Chinner
On Sun, May 27, 2007 at 01:35:56AM +0100, Jeremy Fitzhardinge wrote: > Michal Piotrowski wrote: > > File systems > > > > Subject: 2.6.21-git10/11: files getting truncated on xfs > > References : http://lkml.org/lkml/2007/5/9/410 > > Submitter : Jeremy Fitzhardinge <[EMAIL PROTECTED]> > >

Re: PCIE

2007-05-27 Thread Roland Dreier
> >> Another question would be if the device supports multiple messages, MSIX > >> should be used ? > > > > Yes. Assuming the device supports multiple MSI-X messages. At least on my device (PCI ID 1131:7162) there is no MSI-X capability, so that's not an option for you. The current Linux

Re: [PATCH 7/7] documentation for /proc/pid/coredump_filter

2007-05-27 Thread Randy Dunlap
On Fri, 25 May 2007 22:12:55 +0900 Kawai, Hidehiro wrote: > This patch adds the documentation for /proc//coredump_filter. > > Signed-off-by: Hidehiro Kawai <[EMAIL PROTECTED]> > --- > Documentation/filesystems/proc.txt | 38 +++ > 1 files changed, 38 insertions(+) > >

Re: PCIE

2007-05-27 Thread Roland Dreier
> I'm talking about embedded ARM chips and the like, and yes they > very possibly will be using PCI-E controllers at some point. As an example the AMCC PowerPC 440SPe, which is an embedded SoC with an onboard PCIe controller that supports three ports, has 24 MSI interrupts that external PCIe

[patch -mm 1/1] remove useless tolower in isofs

2007-05-27 Thread young dave
Hi, Remove useless tolower in isofs Signed-off-by: dave young <[EMAIL PROTECTED]> inode.c |2 +- 1 file changed, 1 insertions(+), 1 deletions(-) diff -dur linux/fs/isofs/inode.c linux.new/fs/isofs/inode.c --- linux/fs/isofs/inode.c 2007-05-28 08:54:33.0 + +++

Re: PCIE

2007-05-27 Thread Roland Dreier
> Presumably we need something like IRQF_MSI which can be set as > appropriate depending on the architecture? Unfortunately I don't think it's that simple -- drivers would have to do something like if (IRQF_MSI == IRQF_SHARED) { // lose MSI optimizations, do an MMIO

Re: pcmcia resume 60 second hang. Re: [patch 00/69] -stable review

2007-05-27 Thread Matthew Garrett
On Sun, May 27, 2007 at 07:44:02PM +0100, Matthew Garrett wrote: > Anyway. I've tested the following patch on a dual-core x86. No obvious > issues yet, but I'll try to put it through a few hundred cycles. This /mostly/ works - I've had my test machine cycling through a suspend cycle every 10

Re: PCIE

2007-05-27 Thread Roland Dreier
> > i presume then i shouldn't be using IRQF_SHARED, if using MSI. > > That's actually a really good question. > > It is likely architecture dependant whether the PCI controller wires > unique MSI interrupts to shared cpu interrupt lines. Yes, but current Linux drivers assume that MSI

Re: b44: regression in 2.6.22 (resend)

2007-05-27 Thread Maximilian Engelhardt
On Monday 28 May 2007, Michael Buesch wrote: > Ok, another question: On which CPU architecture are you? [EMAIL PROTECTED]:~$ uname -m i686 Maxi signature.asc Description: This is a digitally signed message part.

Re: RTC_DRV_CMOS can break userspace interface

2007-05-27 Thread Matthew Garrett
On Mon, May 28, 2007 at 12:39:11AM +0100, Matthew Garrett wrote: > but will disable /proc/acpi/wakeup. It'll also be impossible to load > CONFIG_RTC_CMOS because CONFIG_RTC has grabbed the io ports, so it's not > possible to use the new interface. This situation doesn't appear to be >

Re: b44: regression in 2.6.22 (resend)

2007-05-27 Thread Michael Buesch
Ok, another question: On which CPU architecture are you? -- Greetings Michael. - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to [EMAIL PROTECTED] More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at

Re: software suspend doesn't work with 2.6.22-rc3

2007-05-27 Thread Maximilian Engelhardt
On Sunday 27 May 2007, Rafael J. Wysocki wrote: > On Sunday, 27 May 2007 22:41, Maximilian Engelhardt wrote: > > On Sunday 27 May 2007, Rafael J. Wysocki wrote: > > > On Sunday, 27 May 2007 18:01, Maximilian Engelhardt wrote: > > > > On Saturday 26 May 2007, Nigel Cunningham wrote: > > > > > Hi. >

Re: [PATCH] add a trivial patch style checker

2007-05-27 Thread Andrew Morton
On Sun, 27 May 2007 18:11:25 +0100 Andy Whitcroft <[EMAIL PROTECTED]> wrote: > +#gotos aren't indented > + if($line=~/^\s*[A-Za-z\d_]+:/ and !($line=~/^\s*default:/)){ > + print "Gotos should not be indented\n"; > + print "$herecurr"; > +

Re: RTC_DRV_CMOS can break userspace interface

2007-05-27 Thread Matthew Garrett
On Sun, May 27, 2007 at 08:03:51PM +0100, Matthew Garrett wrote: > (It doesn't really help that rtc-cmos doesn't load on this machine, but > I'll try to track that down later - right now I suspect some sort of PNP > issue) Ah, no, it's because the ioports for the rtc-cmos driver are already

troubles in kernel 2.69

2007-05-27 Thread Javier Vega
si funca bien _ De todo para la Mujer Latina http://latino.msn.com/mujer/ - 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: IDE/ATA: Intel i865-based mainboard, CDROM not detected

2007-05-27 Thread Jonathan Woithe
Hi Bill > > A collegue of mine has an Intel mainboard with the i865 chipset onboard > > (DQ965). All kernels up to and including 2.6.22-rc2 do not detect the IDE > > CDROM/DVDROM when booting. The SATA hard drive is found without any > > problems. > > > Let me belatedly ask if the device shows

Re: [PATCH 8/9] fbdev: Detect primary display device

2007-05-27 Thread David Miller
From: "Antonino A. Daplas" <[EMAIL PROTECTED]> Date: Sun, 27 May 2007 17:43:41 +0800 > Add function helper, fb_is_display_device(). Given struct fb_info, it will > return a nonzero value if the device is the primary display. > > Currently, only the i386 is supported, other platforms only have

Re: [PATCH 7/9] [TRY 2] fbdev: Move arch-specific bits to their respective subdirectories

2007-05-27 Thread David Miller
From: "Antonino A. Daplas" <[EMAIL PROTECTED]> Date: Sun, 27 May 2007 17:44:46 +0800 > Move arch-specific bits of fb_mmap() to their respective subdirectories > > Signed-off-by: Antonino Daplas <[EMAIL PROTECTED]> The sparc and sparc64 bits look good. Acked-by: David S. Miller <[EMAIL

Re: 2.6.22-rc2-mm1

2007-05-27 Thread Kay Sievers
On 5/28/07, Tilman Schmidt <[EMAIL PROTECTED]> wrote: Am 26.05.2007 18:01 schrieb Andrew Morton: > On Sat, 26 May 2007 17:59:15 +0200 Tilman Schmidt <[EMAIL PROTECTED]> wrote: >> This breaks network initialization on my SuSE 10.0 box [...] > > Thanks. I think others have seen similar things

Re: Oops in kernel 2.6.21

2007-05-27 Thread Parag Warudkar
[ It's NFS - CCing Trond ] Hi Stefan, What was the last kernel that worked for you without giving this problem? Also is it possible for you to try the latest kernel (http://kernel.org/) to see if the problem is still reproducible? Parag Stefan Helbing wrote: Hello, I'm really unsure if

Re: [RFC][PATCH -mm 3/3] PM: Disable _request_firmware before hibernation/suspend

2007-05-27 Thread Kay Sievers
On Sun, 2007-05-27 at 23:04 +0100, Matthew Garrett wrote: > On Sun, May 27, 2007 at 11:49:30PM +0200, Kay Sievers wrote: > > > What exactly is the problem we see here? The timeout of the firmware loader? > > What goes wrong with frozen userspace, usually there is only a netlink > > message sent

Re: b44: regression in 2.6.22 (resend)

2007-05-27 Thread Maximilian Engelhardt
On Sunday 27 May 2007, Michael Buesch wrote: > On Sunday 27 May 2007 21:25:17 Maximilian Engelhardt wrote: > > 2.6.21.1: > > [ 5] local 192.168.1.2 port 58414 connected with 192.168.1.1 port 5001 > > [ 5] 0.0-60.6 sec 1.13 MBytes157 Kbits/sec > > [ 4] local 192.168.1.2 port 5001 connected

Re: 2.6.22-rc2-mm1

2007-05-27 Thread Tilman Schmidt
Am 26.05.2007 18:01 schrieb Andrew Morton: > On Sat, 26 May 2007 17:59:15 +0200 Tilman Schmidt <[EMAIL PROTECTED]> wrote: >> This breaks network initialization on my SuSE 10.0 box [...] > > Thanks. I think others have seen similar things and it was attributed to >

Re: [RFC][PATCH -mm 3/3] PM: Disable _request_firmware before hibernation/suspend

2007-05-27 Thread Matthew Garrett
On Sun, May 27, 2007 at 11:49:30PM +0200, Kay Sievers wrote: > What exactly is the problem we see here? The timeout of the firmware loader? > What goes wrong with frozen userspace, usually there is only a netlink > message sent from the kernel, which should be received and handled > just fine

Re: [RFC][PATCH -mm 3/3] PM: Disable _request_firmware before hibernation/suspend

2007-05-27 Thread Matthew Garrett
On Sun, May 27, 2007 at 11:45:03PM +0200, Rafael J. Wysocki wrote: > On Sunday, 27 May 2007 22:49, Matthew Garrett wrote: > > If we remove process freezing in STR, this should just work[1] without the > > need to complicate things. > > Under the (optimistic, IMO) assumption that the relevant

Re: [RFC][PATCH -mm 3/3] PM: Disable _request_firmware before hibernation/suspend

2007-05-27 Thread Rafael J. Wysocki
On Sunday, 27 May 2007 23:49, Kay Sievers wrote: > On 5/27/07, Matthew Garrett <[EMAIL PROTECTED]> wrote: > > On Sun, May 27, 2007 at 10:31:53PM +0200, Rafael J. Wysocki wrote: > > > From: Rafael J. Wysocki <[EMAIL PROTECTED]> > > > > > > Use a hibernation and suspend notifier to disable the

Re: 2.6.22-rc1-mm1 Implementing fan/thermal control in userspace - Was: [cannot change thermal trip points]

2007-05-27 Thread Matthew Garrett
On Fri, May 25, 2007 at 06:38:15AM +, Pavel Machek wrote: > Hi! > > Because, as Len has pointed out, you end up with two different ideas > > about what the trip points are - the kernel's and the hardware's. That > > works fine until some event in the firmware either forcibly > >

Re: b44: regression in 2.6.22 (resend)

2007-05-27 Thread Maximilian Engelhardt
On Sunday 27 May 2007, Michael Buesch wrote: > On Sunday 27 May 2007 23:13:32 Michael Buesch wrote: > > On Sunday 27 May 2007 21:25:17 Maximilian Engelhardt wrote: > > > 2.6.21.1: > > > [ 5] local 192.168.1.2 port 58414 connected with 192.168.1.1 port 5001 > > > [ 5] 0.0-60.6 sec 1.13 MBytes

Re: [PATCH] add a trivial patch style checker

2007-05-27 Thread Dave Jones
On Sun, May 27, 2007 at 06:11:25PM +0100, Andy Whitcroft wrote: > +# (c) 2001, Dave Jones. <[EMAIL PROTECTED]> (the file handling bit) dead email address. Dave -- http://www.codemonkey.org.uk - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a

Re: [RFC][PATCH -mm 3/3] PM: Disable _request_firmware before hibernation/suspend

2007-05-27 Thread Kay Sievers
On 5/27/07, Matthew Garrett <[EMAIL PROTECTED]> wrote: On Sun, May 27, 2007 at 10:31:53PM +0200, Rafael J. Wysocki wrote: > From: Rafael J. Wysocki <[EMAIL PROTECTED]> > > Use a hibernation and suspend notifier to disable the firmware requesting > mechanism before a hibernation/suspend and

Re: [RFC][PATCH -mm 3/3] PM: Disable _request_firmware before hibernation/suspend

2007-05-27 Thread Rafael J. Wysocki
On Sunday, 27 May 2007 22:45, Michael-Luke Jones wrote: > On 27 May 2007, at 21:31, Rafael J. Wysocki wrote: > > > From: Rafael J. Wysocki <[EMAIL PROTECTED]> > > > > Use a hibernation and suspend notifier to disable the firmware > > requesting > > mechanism before a hibernation/suspend and

Re: [PATCH] Linux always started with 9600 8N1

2007-05-27 Thread David Miller
From: David Miller <[EMAIL PROTECTED]> Date: Sun, 27 May 2007 14:16:22 -0700 (PDT) > So even writes to so-called 'read-only' sections of the kernel image > will work and therefore I don't understand what the bug could be other > than the compiler "optimizing" away the write to the constant string

Re: b44: regression in 2.6.22 (resend)

2007-05-27 Thread Maximilian Engelhardt
On Sunday 27 May 2007, Michael Buesch wrote: > On Sunday 27 May 2007 22:36:39 Maximilian Engelhardt wrote: > > When I ran 2.6.21.1 or 2.6.22-rc3 without any debugging tools just in > > normal use I didn't notice any problems. It did work fine as I would > > expect it. I think the wget and ping

Re: [PATCH} x86_64 PM_TRACE support.

2007-05-27 Thread Randy Dunlap
On Sat, 26 May 2007 16:32:54 +1000 Nigel Cunningham wrote: > Hi all. > > As promised I took another look at the patch and at what Randy had > prepared to fix the IA64 compilation error. I did some more work on it, > and believe that the following is the tidiest correct solution I can > come up

[GIT PULL] ieee1394 fixes post 2.6.22-rc3

2007-05-27 Thread Stefan Richter
Linus, please pull from the for-linus branch at git://git.kernel.org/pub/scm/linux/kernel/git/ieee1394/linux1394-2.6.git for-linus to receive the following IEEE 1394 subsystem updates: (old stack) - fix regression in 2.6.22-rc1: raw1394 asynchronous transmit was broken, - fix

Re: [RFC][PATCH -mm 3/3] PM: Disable _request_firmware before hibernation/suspend

2007-05-27 Thread Rafael J. Wysocki
On Sunday, 27 May 2007 22:49, Matthew Garrett wrote: > On Sun, May 27, 2007 at 10:31:53PM +0200, Rafael J. Wysocki wrote: > > From: Rafael J. Wysocki <[EMAIL PROTECTED]> > > > > Use a hibernation and suspend notifier to disable the firmware requesting > > mechanism before a hibernation/suspend

Re: software suspend doesn't work with 2.6.22-rc3

2007-05-27 Thread Rafael J. Wysocki
On Sunday, 27 May 2007 22:41, Maximilian Engelhardt wrote: > On Sunday 27 May 2007, Rafael J. Wysocki wrote: > > On Sunday, 27 May 2007 18:01, Maximilian Engelhardt wrote: > > > On Saturday 26 May 2007, Nigel Cunningham wrote: > > > > Hi. > > > > > > > > On Sat, 2007-05-26 at 14:49 +0200,

Re: [2.6.21.1] resume doesn't run suspended kernel?

2007-05-27 Thread Pavel Machek
Hi! > >It is very dangerous to attempt a resume with a > >different kernel than the one > >that has gone to sleep. > >Different kernels may be compiled with different > >options that affect where or > >how in-memory structures are saved. > > > If the mainline resume is depending on that no

Re: b44: regression in 2.6.22 (resend)

2007-05-27 Thread Michael Buesch
On Sunday 27 May 2007 23:13:32 Michael Buesch wrote: > On Sunday 27 May 2007 21:25:17 Maximilian Engelhardt wrote: > > 2.6.21.1: > > [ 5] local 192.168.1.2 port 58414 connected with 192.168.1.1 port 5001 > > [ 5] 0.0-60.6 sec 1.13 MBytes157 Kbits/sec > > [ 4] local 192.168.1.2 port 5001

Re: [2.6.21.1] resume doesn't run suspended kernel?

2007-05-27 Thread Pavel Machek
Hi! > Personally I think the kernel suspend should write a signature - similar to a > hash of the bzImage - into the suspend image so it won't even attempt a resume > if there's a mismatch. (Yes, I made this mistake once whilst playing with > suspend). We have such 'hash' but it is not

Re: [PATCH] Linux always started with 9600 8N1

2007-05-27 Thread David Miller
From: Jan Engelhardt <[EMAIL PROTECTED]> Date: Sun, 27 May 2007 18:44:18 +0200 (MEST) > > On May 26 2007 15:47, David Miller wrote: > >> I have set the OBP to run at 115200, also set agetty on ttyS0 to do the > >> same, and also added console=ttyS0,115200 to silo.conf (and also tried > >>

Re: [2.6.21.1] resume doesn't run suspended kernel?

2007-05-27 Thread Pavel Machek
On Sat 2007-05-26 18:42:37, Bill Davidsen wrote: > I was testing susp2disk in 2.6.21.1 under FC6, to > support reliable computing environment (RCE) needs. The > idea is that if power fails, after some short time on > UPS the system does susp2disk with a time set, and boots > back every so

Re: b44: regression in 2.6.22 (resend)

2007-05-27 Thread Michael Buesch
On Sunday 27 May 2007 21:25:17 Maximilian Engelhardt wrote: > 2.6.21.1: > [ 5] local 192.168.1.2 port 58414 connected with 192.168.1.1 port 5001 > [ 5] 0.0-60.6 sec 1.13 MBytes157 Kbits/sec > [ 4] local 192.168.1.2 port 5001 connected with 192.168.1.1 port 57837 > [ 4] 0.0-63.1 sec

Re: [PATCH} x86_64 PM_TRACE support.

2007-05-27 Thread Julian Sikorski
Pavel Machek pisze: > Hi! > >> As promised I took another look at the patch and at what Randy had >> prepared to fix the IA64 compilation error. I did some more work on it, >> and believe that the following is the tidiest correct solution I can >> come up with. It differs from the version that

Re: 2.6.21-mm2: ACPI exception on resume

2007-05-27 Thread Pavel Machek
Hi! > > >> I shouldn't have to upgrade my BIOS to work with a new kernel any more > > >> than I should have to upgrade my browser. > > > > > >We don't agree there, as you are not talking about a stable kernel series. > > > > Ah, so you're planning on submitting these patches for 2.7 then? 2.6 >

Re: [stable] Wanted: Allow adding new device IDs during the -stable cycle

2007-05-27 Thread Pavel Machek
Hi! > >Well, in 2.6.73.1 we add 'trivial' one line to add new > >pci id, and in > >2.6.73.2 we have data corruption, because that driver > >needed some > >quirk we did not know about...? > > False argument. -stable should only be merging patches > that are already upstream, and known. Well,

Re: [PATCH} x86_64 PM_TRACE support.

2007-05-27 Thread Pavel Machek
Hi! > As promised I took another look at the patch and at what Randy had > prepared to fix the IA64 compilation error. I did some more work on it, > and believe that the following is the tidiest correct solution I can > come up with. It differs from the version that caused the compilation > error

Re: [PATCH] [condingstyle] Add chapter on tests

2007-05-27 Thread Guennadi Liakhovetski
On Sat, 26 May 2007, Jan Engelhardt wrote: > +Testing for a flag, as done in the following example, is redundant and > +can be shortened. > + > + if ((v & GFP_KERNEL) == GFP_KERNEL) > + return; > + > +should become > + > + if (v & GFP_KERNEL) > + return; This

Re: software suspend doesn't work with 2.6.22-rc3

2007-05-27 Thread Pavel Machek
Hi! > When I try software suspend on my laptop it always returns to my running > system after some time. > This is what's logged by the kernel: > > swsusp: Basic memory bitmaps created > Stopping tasks ... > Stopping kernel threads timed out after 20 seconds (1 tasks refusing to > freeze): >

Re: 2.6.22-rc1-mm1 Implementing fan/thermal control in userspace - Was: [cannot change thermal trip points]

2007-05-27 Thread Pavel Machek
Hi! > > > I doubt it is impossible, would you mind sharing your knowledge why you > > think it is impossible or point to some related discussion, pls. > > Because, as Len has pointed out, you end up with two different ideas > about what the trip points are - the kernel's and the hardware's.

Re: [RFC][PATCH -mm 3/3] PM: Disable _request_firmware before hibernation/suspend

2007-05-27 Thread Matthew Garrett
On Sun, May 27, 2007 at 10:31:53PM +0200, Rafael J. Wysocki wrote: > From: Rafael J. Wysocki <[EMAIL PROTECTED]> > > Use a hibernation and suspend notifier to disable the firmware requesting > mechanism before a hibernation/suspend and enable it after the operation. This avoids the problem of

Re: b44: regression in 2.6.22 (resend)

2007-05-27 Thread Michael Buesch
On Sunday 27 May 2007 22:36:39 Maximilian Engelhardt wrote: > When I ran 2.6.21.1 or 2.6.22-rc3 without any debugging tools just in normal > use I didn't notice any problems. It did work fine as I would expect it. > I think the wget and ping tests here are as they should be. > > With

Re: [RFC][PATCH -mm 3/3] PM: Disable _request_firmware before hibernation/suspend

2007-05-27 Thread Michael-Luke Jones
On 27 May 2007, at 21:31, Rafael J. Wysocki wrote: From: Rafael J. Wysocki <[EMAIL PROTECTED]> Use a hibernation and suspend notifier to disable the firmware requesting mechanism before a hibernation/suspend and enable it after the operation. Signed-off-by: Rafael J. Wysocki <[EMAIL

Re: software suspend doesn't work with 2.6.22-rc3

2007-05-27 Thread Maximilian Engelhardt
On Sunday 27 May 2007, Rafael J. Wysocki wrote: > On Sunday, 27 May 2007 18:01, Maximilian Engelhardt wrote: > > On Saturday 26 May 2007, Nigel Cunningham wrote: > > > Hi. > > > > > > On Sat, 2007-05-26 at 14:49 +0200, Maximilian Engelhardt wrote: > > > > On Saturday 26 May 2007, Nigel Cunningham

[PATCH] Update isdn tree to use pci_get_device

2007-05-27 Thread Karsten Keil
Replacing pci_find_device with pci_get_device in the drivers/isdn subtree. Signed-off-by: Karsten Keil <[EMAIL PROTECTED]> Signed-off-by: Surya Prabhakar <[EMAIL PROTECTED]> --- drivers/isdn/hisax/avm_pci.c | 19 ++ drivers/isdn/hisax/bkm_a4t.c | 15 +---

Re: b44: regression in 2.6.22 (resend)

2007-05-27 Thread Maximilian Engelhardt
On Sunday 27 May 2007, Michael Buesch wrote: > On Sunday 27 May 2007 21:25:17 Maximilian Engelhardt wrote: > > 2.6.22-rc3: > > > > [ 5] local 192.168.1.2 port 46557 connected with 192.168.1.1 port 5001 > > [ 5] 0.0-60.4 sec 58.9 MBytes 8.18 Mbits/sec > > [ 4] local 192.168.1.2 port 5001

Re: [2.6.21.1] soft lockup when removing netconsole module

2007-05-27 Thread Matt Mackall
On Sat, May 26, 2007 at 06:35:24PM +0200, Thomas Gleixner wrote: > On Sat, 2007-05-26 at 18:17 +0200, Folkert van Heusden wrote: > > > > Seems to be hrtimers related - CC'ed Thomas. > > > I doubt that. The tick interrupt just finds out, that the machine is > > > stuck in rmmod. > > > > > Also the

Re: PCIE

2007-05-27 Thread Manu Abraham
David Miller wrote: > From: "H. Peter Anvin" <[EMAIL PROTECTED]> > Date: Sat, 26 May 2007 19:34:26 -0700 > >> There are systems which only get a single bit indication that an MSI has >> happened. >> >> Presumably we need something like IRQF_MSI which can be set as >> appropriate depending on the

[RFC][PATCH -mm 3/3] PM: Disable _request_firmware before hibernation/suspend

2007-05-27 Thread Rafael J. Wysocki
From: Rafael J. Wysocki <[EMAIL PROTECTED]> Use a hibernation and suspend notifier to disable the firmware requesting mechanism before a hibernation/suspend and enable it after the operation. Signed-off-by: Rafael J. Wysocki <[EMAIL PROTECTED]> drivers/base/firmware_class.c | 36

Re: PCIE

2007-05-27 Thread Manu Abraham
Grant Grundler wrote: > On Sun, May 27, 2007 at 05:01:02AM +0400, Manu Abraham wrote: >> David Miller wrote: >>> True, on sparc64 PCI-E controllers, for example, the MSI vector is >>> received by the PCI-E host controller, and the host controller turns >>> this into a cpu format interrupt packet

[RFC][PATCH -mm 1/3] PM: Hibernation and suspend notifiers

2007-05-27 Thread Rafael J. Wysocki
From: Rafael J. Wysocki <[EMAIL PROTECTED]> Make it possible to register hibernation and suspend notifiers, so that subsystems can perform hibernation-related or suspend-related operations that should not be carried out by device drivers' .suspend() and .resume() routines. Signed-off-by: Rafael

[RFC][PATCH -mm 0/3] PM: Hibernation and suspend notifiers

2007-05-27 Thread Rafael J. Wysocki
Hi, The first of the following three patches introduces notifier chaing that can be used by subsystems to prefore some hibernation-related or suspend-related operations independent of device drivers' .suspend() and .resume() callbacks. The next two patches use this mechanism for

[RFC][PATCH -mm 2/3] PM: Disable usermode helper before hibernation/suspend

2007-05-27 Thread Rafael J. Wysocki
From: Rafael J. Wysocki <[EMAIL PROTECTED]> Use a hibernation and suspend notifier to disable the user mode helper before a hibernation/suspend and enable it after the operation. Signed-off-by: Rafael J. Wysocki <[EMAIL PROTECTED]> kernel/kmod.c | 31 +-- 1 file

[GIT PULL] hwmon fixes for 2.6.22

2007-05-27 Thread Jean Delvare
Linus, Please pull the hwmon subsystem fixes for Linux 2.6.22 from: git://jdelvare.pck.nerim.net/jdelvare-2.6 hwmon-for-linus drivers/hwmon/Kconfig |2 +- drivers/hwmon/applesmc.c |7 ++- drivers/hwmon/coretemp.c | 32 +--- drivers/hwmon/ds1621.c

  1   2   3   4   5   >