linux-kernel mailing list

FromSubjectsort iconDate
Michael Kerrisk
man-pages-2.51 is released
Gidday, I just released man-pages-2.51. This release is now available for download at: http://www.kernel.org/pub/linux/docs/manpages or ftp://ftp.kernel.org/pub/linux/docs/manpages or mirrors: ftp://ftp.XX.kernel.org/pub/linux/docs/manpages and soon at: ftp://ftp.win.tue.nl/pub/linux-local/manpages This release consists mostly of formatting fixes, in part aimed at allowing man2html to produce better output. Cheers, Michael -- Michael Kerrisk maintainer of...
May 27, 5:01 am 2007
Javier Vega
troubles in kernel 2.69
si funca bien _________________________________________________________________ De todo para la Mujer Latina http://latino.msn.com/mujer/ -
May 27, 7:11 pm 2007
Karsten Keil
[PATCH] Update isdn tree to use pci_get_device
Replacing pci_find_device with pci_get_device in the drivers/isdn subtree. Signed-off-by: Karsten Keil <kkeil@suse.de> Signed-off-by: Surya Prabhakar <surya.prabhakar@wipro.com> --- drivers/isdn/hisax/avm_pci.c | 19 ++++++---- drivers/isdn/hisax/bkm_a4t.c | 15 +++++--- drivers/isdn/hisax/bkm_a8.c | 28 +++++++++------ drivers/isdn/hisax/diva.c | 69 +++++++++++++++++++------------------ drivers/isdn/hisax/elsa.c | 54 ++++++++++++++++-...
May 27, 4:38 pm 2007
Rafael J. Wysocki
[RFC][PATCH -mm 0/3] PM: Hibernation and suspend notifiers
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 disabling/enabling the usermode helper and firmware requesting functionality before/after (respectively) the hibernation or suspend. Comments welcome. Greetings, Rafael -
May 27, 4:29 pm 2007
Rafael J. Wysocki
[RFC][PATCH -mm 3/3] PM: Disable _request_firmware before hi...
From: Rafael J. Wysocki <rjw@sisk.pl> 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 <rjw@sisk.pl> drivers/base/firmware_class.c | 36 ++++++++++++++++++++++++++++++++++++ 1 file changed, 36 insertions(+) Index: linux-2.6.22-rc3/drivers/base/firmware_class.c =================================================================== --- linux-2.6.22-rc3...
May 27, 4:31 pm 2007
Matthew Garrett
Re: [RFC][PATCH -mm 3/3] PM: Disable _request_firmware befor...
This avoids the problem of .resume methods calling userspace while userspace is frozen and a resulting hang, but does it actually result in the drivers beginning to work again? If we remove process freezing in STR, this should just work[1] without the need to complicate things. On the other hand, if we don't want to support these functions in the suspend and resume methods we could just audit the kernel and remove them all. -- Matthew Garrett | mjg59@srcf.ucam.org -
May 27, 4:49 pm 2007
Kay Sievers
Re: [RFC][PATCH -mm 3/3] PM: Disable _request_firmware befor...
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 when userspace is running again. Thanks, Kay -
May 27, 5:49 pm 2007
Matthew Garrett
Re: [RFC][PATCH -mm 3/3] PM: Disable _request_firmware befor...
Driver calls request_firmware in the resume method. The userspace helper can't be run because it's been frozen, so the firmware never gets loaded and the call times out. The driver then fails to resume. While all this is happening, the rest of the kernel is blocking on that resume method. The firmware can be loaded once userspace has been started again, but by that time the driver has given up. -- Matthew Garrett | mjg59@srcf.ucam.org -
May 27, 6:04 pm 2007
Kay Sievers
Re: [RFC][PATCH -mm 3/3] PM: Disable _request_firmware befor...
Seems, that's just the broken synchronous firmware loading interface with the useless timeout handling. The nowait version of the same loader doesn't time out, and should not have that problem. The sync version should be removed from the kernel, it just causes all sorts of problems since it exists. Userspace should handle the async request just fine when it comes back running, regardless of the time it was submitted. Kay -
May 27, 6:16 pm 2007
Rafael J. Wysocki
Re: [RFC][PATCH -mm 3/3] PM: Disable _request_firmware befor...
Users report the timeout as a problem and it's not that straightforward to figure out what happens. Still, I agree it's much better if drivers don't use request_firmware() in their .resume() routines at all, because they shouldn't rely upon user land at this point. Greetings, Rafael -
May 27, 6:01 pm 2007
Rafael J. Wysocki
Re: [RFC][PATCH -mm 3/3] PM: Disable _request_firmware befor...
Well, this was acutally invented before you've decided to remove the freezing of tasks from the suspend code path (which I think is a mistake, but that's only my personal opinion, so it doesn't matter very much ;-)) and I regard it Under the (optimistic, IMO) assumption that the relevant user space task won't block on I/O with a suspended device involved or something like this. BTW, I know of two subsystems that want their kernel threads to be frozen for synchronization purposes. Please see the...
May 27, 5:45 pm 2007
Matthew Garrett
Re: [RFC][PATCH -mm 3/3] PM: Disable _request_firmware befor...
Yeah, I forgot the footnote that was going to mention that. Clearly there are issues if this is on some block device that hasn't been I'm not entirely sold on this. The issue is that there's the possibility of races during suspend/resume? It sounds like that should be implemented in the driver, rather than depending on a side-effect of process freezing. Otherwise there's no way of selectively suspending I agree that that's an issue right now, but I think we should see if this is repairab...
May 27, 6:01 pm 2007
Michael-Luke Jones
Re: [RFC][PATCH -mm 3/3] PM: Disable _request_firmware befor...
I don't like this approach, as I feel that the firmware loading interface should be able to detect if a firmware load request is not being handled, due to absence of userspace / hotplug handler presence. Other circumstances in which this can be a problem is during bootup when request_firmware() calls can be made before userspace is up and init has run (even in the presence of an initramfs). (Slightly OT: A particularly nasty race is when an initramfs userspace is present, but firmware...
May 27, 4:45 pm 2007
Rafael J. Wysocki
Re: [RFC][PATCH -mm 3/3] PM: Disable _request_firmware befor...
In principle, I agree. In practice, though, I don't know how to make this I agree, but well ... ;-) Greetings, Rafael -
May 27, 5:55 pm 2007
Rafael J. Wysocki
[RFC][PATCH -mm 1/3] PM: Hibernation and suspend notifiers
From: Rafael J. Wysocki <rjw@sisk.pl> 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 J. Wysocki <rjw@sisk.pl> Documentation/power/notifiers.txt | 76 ++++++++++++++++++++++++++++++++++++++ include/linux/notifier.h | 13 ++++++ include/linux/suspend.h | 25 ...
May 27, 4:30 pm 2007
Rafael J. Wysocki
[RFC][PATCH -mm 2/3] PM: Disable usermode helper before hibe...
From: Rafael J. Wysocki <rjw@sisk.pl> 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 <rjw@sisk.pl> kernel/kmod.c | 31 +++++++++++++++++++++++++++++-- 1 file changed, 29 insertions(+), 2 deletions(-) Index: linux-2.6.22-rc3/kernel/kmod.c =================================================================== --- linux-2.6.22-rc3.orig/kernel/kmod.c 2007-05-27 18:...
May 27, 4:30 pm 2007
Jean Delvare
[GIT PULL] hwmon fixes for 2.6.22
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 | 8 ++++---- drivers/hwmon/hwmon-vid.c | 4 +++- drivers/hwmon/w83627hf.c | 4 +++- 6 files changed, 46 insertions(+), 11 deletions(-) --------------- Jean Delvare (4): hwmon...
May 27, 4:28 pm 2007
Maximilian Engelhardt
Re: b44: regression in 2.6.22 (resend)
I send this again because my first mail accidently had html code in it and= =20 might have been filtered by some people. I did some more tests with my BCM4401 and different kernels, here are the=20 results: 2.6.21.1: iperf: [ 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 157 Kbits/sec [ 4] local 192.168.1.2 port 5001 connected with 192.168.1.1 port 57837 [ 4] 0.0-63.1 sec 2.82 MBytes 375 Kbits/sec koala:~# ping -c10 192....
May 27, 3:25 pm 2007
Michael Buesch
Re: b44: regression in 2.6.22 (resend)
This is the diff between these two kernels. I'm not sure why you see a much better TX throughput here. Can you re-check to make sure it's not just some test-jitter? --- linux-2.6.21.1/drivers/net/b44.c 2007-05-27 22:58:01.000000000 +0200 +++ linux-2.6.22-rc3/drivers/net/b44.c 2007-05-27 23:01:44.000000000 +0200 @@ -825,12 +825,11 @@ if (copy_skb == NULL) goto drop_it_no_recycle; - copy_skb->dev = bp->d...
May 27, 5:13 pm 2007
Maximilian Engelhardt
Re: b44: regression in 2.6.22 (resend)
2.6.21.1: [ 5] local 192.168.1.2 port 54423 connected with 192.168.1.1 port 5001 [ 5] 0.0-60.3 sec 3.06 MBytes 426 Kbits/sec [ 4] local 192.168.1.2 port 5001 connected with 192.168.1.1 port 41053 [ 4] 0.0-163.0 sec 130 MBytes 6.67 Mbits/sec 2.6.22-rc3: [ 5] local 192.168.1.2 port 46002 connected with 192.168.1.1 port 5001 [ 5] 0.0-61.5 sec 84.0 MBytes 11.5 Mbits/sec [ 4] local 192.168.1.2 port 5001 connected with 192.168.1.1 port 44379 [ 4] 0.0-93.8 sec 30.6 MBytes 2...
May 27, 6:15 pm 2007
Michael Buesch
Re: b44: regression in 2.6.22 (resend)
Oh, eh, and what I forgot to ask: Do you know an old kernel that works perfectly well for you, so I can look at a diff between this one and anything >=2.6.21.1. -- Greetings Michael. -
May 27, 5:16 pm 2007
Maximilian Engelhardt
Re: b44: regression in 2.6.22 (resend)
I don't know any, most older kernels did work fine for me, but I never user= =20 iperf there so I guess if the bug is there also I simply didn't trigger it. If you think it's usefull I could go back and try different kernels, but th= at=20 would take some time. Except the iperf bug 2.6.21.1 and 2.6.22-rc3 work fine. Maxi
May 27, 5:50 pm 2007
Michael Buesch
Re: b44: regression in 2.6.22 (resend)
Why do we have two different measurements here? Is one TX and one RX? So with -mm (with ssb) you actually get better performace then with plain 2.6.22-rc3? Can you elaborate a bit more about what you get an what you expect on which kernel? -- Greetings Michael. -
May 27, 3:45 pm 2007
Maximilian Engelhardt
Re: b44: regression in 2.6.22 (resend)
Yes, the first is TX (BCM4401 --> e100) and the second is RX. Both are tcp= =20 connections. I think iperf does display the ip addresses wrong in the secon= d=20 When I ran 2.6.21.1 or 2.6.22-rc3 without any debugging tools just in norma= l=20 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 2.6.22-rc2-mm1 I noticed that connections seem to be slower. The ping= =20 test does confirm this, because here...
May 27, 4:36 pm 2007
Michael Buesch
Re: b44: regression in 2.6.22 (resend)
Ok. I guess (Yes I do :D) that there is an IRQ storm or something like that, because you say that your system is becoming very slow and unresponsive. It sounds like an IRQ is not ACKed correctly and so keeps triggering and stalling the system. I'll take a look at a few diffs... Do you see significant differences in the "hi" and/or "si" times in top? Do you see a significant difference in the /proc/interrupts count. For example that the kernel that works worse generates 10 times the IRQ count for th...
May 27, 4:46 pm 2007
Maximilian Engelhardt
Re: b44: regression in 2.6.22 (resend)
ok, here are the results: Using 2.6.22-rc3 I get lot's of hi during TX and lots of hi and si during R= X. Using 2.6.22-rc3-mm1 hi and si are significantly lower. It's difficult to give absolute numbers, because top refreshes very slow, b= ut=20 with 2.6.22-rc3 hi is about 30% during TX and RX and si is 0% during TX and= =20 50% during RX. With Using 2.6.22-rc3-mm1 hi is 0% during TX and 0.3% during= =20 RX and si is 10% during TX and 0% during RX. When I do the same test on both kernels I g...
May 27, 5:46 pm 2007
Matthew Garrett
RTC_DRV_CMOS can break userspace interface
f5f72b46c349fefcfd4421b2213c6ffb324c5e56 appears to break the userspace interface to the CMOS alarm. This could previously be accessed via /proc/acpi/alarm, but if RTC_DRV_CMOS is enabled that vanishes. The help text for the module doesn't mention this, which makes tracking it down a touch irritating. I'm not actually sure why this is the case. It doesn't look like the two interfaces are fundamentally incompatible. I agree that removing the proc code is a good long-term aim, but it'd be nice ...
May 27, 3:03 pm 2007
Matthew Garrett
Re: RTC_DRV_CMOS can break userspace interface
Ah, no, it's because the ioports for the rtc-cmos driver are already claimed by the old driver from CONFIG_RTC. The following configuration is valid in Kconfig: CONFIG_RTC=y CONFIG_RTC_CMOS=m 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 documented, which is less than ideal... -- Matthew Garrett | mjg59@srcf.ucam.org -...
May 27, 7:39 pm 2007
Robert P. J. Day
[PATCH] Delete useless reference to dead MODULE_PARM macro.
Remove a clearly useless reference to the obsolete MODULE_PARM macro. Signed-off-by: Robert P. J. Day <rpjday@mindspring.com> --- given that that macro call is enclosed within an obsolete "__MODULE__" check, i have to assume that snippet of code can be safely removed. diff --git a/drivers/input/mouse/atarimouse.c b/drivers/input/mouse/atarimouse.c index 43ab656..f779cb6 100644 --- a/drivers/input/mouse/atarimouse.c +++ b/drivers/input/mouse/atarimouse.c @@ -59,9 +59,6 @@ MODULE_L...
May 27, 3:00 pm 2007
Tero Roponen
tty-related oops in latest kernel(s)?
Hi, 2.6.22-rc3 (with Reiser4 patch) oopses when watching videos with mplayer using neofb console. When mplayer starts I get these messages (this is normal, repeating lines omitted): neofb: no support for 32bpp Mode (1024x768) larger than the LCD panel (800x600) Mode (1152x864) larger than the LCD panel (800x600) Mode (1024x1024) larger than the LCD panel (800x600) Mode (1280x1024) larger than the LCD panel (800x600) Ok, everything seems to work and I can watch the video. However...
May 27, 5:06 am 2007
Andy Whitcroft
[PATCH] add a trivial patch style checker
We are seeing increasing levels of minor patch style violations in submissions to the mailing lists as well as making it into the tree. These detract from the quality of the submission and cause unnessary work for reviewers. As a first step package up the current state of the patch style checker and include it in the kernel tree. Add instructions suggesting running it on submissions. This adds version v0.01 of the patch-trivia-detector. Signed-off-by: Andy Whitcroft <apw@shadowen.org> ...
May 27, 1:11 pm 2007
Dave Jones
Re: [PATCH] add a trivial patch style checker
On Sun, May 27, 2007 at 06:11:25PM +0100, Andy Whitcroft wrote: > +# (c) 2001, Dave Jones. <davej@suse.de> (the file handling bit) dead email address. Dave -- http://www.codemonkey.org.uk -
May 27, 5:49 pm 2007
Andreas Schwab
Re: [PATCH] add a trivial patch style checker
That's step #7 now. Andreas. -- Andreas Schwab, SuSE Labs, schwab@suse.de SuSE Linux Products GmbH, Maxfeldstraße 5, 90409 Nürnberg, Germany PGP key fingerprint = 58CA 54C7 6D53 942B 1756 01D3 44D5 214B 8276 4ED5 "And now for something completely different." -
May 27, 1:49 pm 2007
Randy Dunlap
Re: [PATCH] add a trivial patch style checker
It needs to be added to Documentation/SubmitChecklist also... (but I'm working in yard/house this holiday-not weekend). --- ~Randy *** Remember to use Documentation/SubmitChecklist when testing your code *** -
May 27, 1:10 pm 2007
Jan Engelhardt
[PATCH] Linux always started with 9600 8N1
Just why did no one get a kernel oops? After all, the code tried to write to constant memory. This is the first patch of two. There is yet another section of Linux code that runs in 9600-only, and I need to figure out which. --- The Linux kernel ignored the PROM's serial settings (115200,n,8,1 in my case). This was because mode_prop remained "ttyX-mode" (expected: "ttya-mode") due to the constness of string literals when used with "char *". Since there is no "ttyX-mode" property in the P...
May 27, 12:44 pm 2007
David Miller
Re: [PATCH] Linux always started with 9600 8N1
From: Jan Engelhardt <jengelh@linux01.gwdg.de> There should not be an OOPS, we don't map any section of the kernel as read-only or execute-only or anything like that. The kernel image is mapped with full read/write/execute permission. 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 in which case the compiler should have warned abo...
May 27, 5:16 pm 2007
David Miller
Re: [PATCH] Linux always started with 9600 8N1
From: David Miller <davem@davemloft.net> I just stared at the drivers/serial/suncore.s assembler a little bit and this is indeed what appears to be happening, the compiler is optimizing the stores away completely yet not doing so much as emitting a warning, how rude :-) Perhaps there is some warning option that isn't enabled which would have caught this... Thanks a lot for your patch, I'll apply it. -
May 27, 5:47 pm 2007
Jan Engelhardt
Re: [PATCH] Linux always started with 9600 8N1
Ok no second patch. The issue (double blanking at boot, which I presumed also ran at 9600) was recently fixed too. Jan -- -
May 27, 1:09 pm 2007
Matthias Kaehlcke
[PATCH] Block device elevator: use list_for_each_entry() ins...
Use list_for_each_entry() instead of list_for_each() in the block device elevator Signed-off-by: Matthias Kaehlcke <matthias.kaehlcke@gmail.com> -- diff --git a/block/elevator.c b/block/elevator.c index ce866eb..4769a25 100644 --- a/block/elevator.c +++ b/block/elevator.c @@ -112,12 +112,8 @@ static inline int elv_try_merge(struct request *__rq, struct bio *bio) static struct elevator_type *elevator_find(const char *name) { struct elevator_type *e; - struct list_head *entry; - ...
May 27, 12:43 pm 2007
rae l
Re: [PATCH] Block device elevator: use list_for_each_entry()...
it makes sense to what it does. -- Denis Cheng Linux Application Developer -
May 27, 1:12 pm 2007
Kay Sievers
USB: set default y for CONFIG_USB_DEVICE_CLASS
From: Kay Sievers <kay.sievers@vrfy.org> Subject: USB: set default y for CONFIG_USB_DEVICE_CLASS Signed-off-by: Kay Sievers <kay.sievers@vrfy.org> --- diff --git a/drivers/usb/core/Kconfig b/drivers/usb/core/Kconfig index f493fb1..346fc03 100644 --- a/drivers/usb/core/Kconfig +++ b/drivers/usb/core/Kconfig @@ -40,21 +40,25 @@ config USB_DEVICEFS config USB_DEVICE_CLASS bool "USB device class-devices (DEPRECATED)" depends on USB - default n + default y ---help--- Use...
May 27, 11:04 am 2007
Jesper Juhl
Re: USB: set default y for CONFIG_USB_DEVICE_CLASS
It puzzles me why a deprecated option should be default 'Y'... -- Jesper Juhl <jesper.juhl@gmail.com> Don't top-post http://www.catb.org/~esr/jargon/html/T/top-post.html Plain text mails only, please http://www.expita.com/nomime.html -
May 27, 12:10 pm 2007
Kay Sievers
Re: USB: set default y for CONFIG_USB_DEVICE_CLASS
Because usb_device class devices are kind of broken regarding the event timing, and should not be used anymore. They are replaced by device-nodes created by the real usb-device, but some systems still depend on the class devices: http://lkml.org/lkml/2007/5/27/56 We better default to y for a while until the users have switched over. Kay -
May 27, 12:19 pm 2007
bert hubert
Re: USB: set default y for CONFIG_USB_DEVICE_CLASS
Because if it defaults to 'n', a 'make oldconfig' will break unmodified userspace on reboot, which is something we don't want to do in a 'stable' series, without announcing it first for a serious length of time. Bert -- http://www.PowerDNS.com Open source, database driven DNS Software http://netherlabs.nl Open and Closed source services -
May 27, 12:14 pm 2007
Jeff Garzik
[PATCH 0/5] SCSI/initio fixes, cleanups, PCI API support
This patchset presents the path to PCI API support in the initio driver. But the first patch really begs the question: Has this driver really been broken since Oct 2003? If so, let's just delete it. drivers/scsi/initio.c | 206 +++++++++++++++++++++++++++++--------------------- drivers/scsi/initio.h | 10 +- 2 files changed, 127 insertions(+), 89 deletions(-) -
May 27, 10:52 am 2007
Alan Cox
Re: [PATCH 0/5] SCSI/initio fixes, cleanups, PCI API support
On Sun, 27 May 2007 10:52:00 -0400 Jeff. I (and Christoph) have already done a complete initio overhaul including the PCI API and Hotplug and submitted it. Has it been broken - no. The value was always NULL so it always worked on x86-32. Its a sucky driver but its not defunct. -
May 27, 11:47 am 2007
Jeff Garzik
[PATCH 5/5] SCSI/initio conversion to PCI driver API
Prior simplifications in this patchset now permit a minimal conversion to the new PCI API. Further improvements and simplifications are certainly possible; those should be presented in a separate patchset. DO NOT APPLY (yet). For feedback (and testers?) only. 3f42ce6a28b81cb057b2304e3aca6e873618a6fd diff --git a/drivers/scsi/initio.c b/drivers/scsi/initio.c index 702dcf5..e54449f 100644 --- a/drivers/scsi/initio.c +++ b/drivers/scsi/initio.c @@ -242,6 +242,7 @@ static void tul_read_eepr...
May 27, 10:59 am 2007
Jeff Garzik
Re: [PATCH 5/5] SCSI/initio conversion to PCI driver API
This only applies to patch #5. Patches 1 through 4 should go upstream, IMO. Jeff -
May 27, 11:03 am 2007
Alan Cox
Re: [PATCH 5/5] SCSI/initio conversion to PCI driver API
On Sun, 27 May 2007 11:03:53 -0400 NAK all five. There is a complete overhaul already done. Alan -
May 27, 11:48 am 2007
James Bottomley
Re: [PATCH 5/5] SCSI/initio conversion to PCI driver API
Erm, actually, you're treading all over Alan: http://git.kernel.org/?p=linux/kernel/git/jejb/scsi-misc-2.6.git;a=commit;h=72d39fea90... Could you rebase your patches to scsi-misc-2.6 and resubmit (if there's anything Alan hasn't covered)? Thanks, James -
May 27, 11:12 am 2007
previous daytodaynext day
May 26, 2007May 27, 2007May 28, 2007