Re: Fix soft lockup with iSeries viocd driver

2007-02-28 Thread Jens Axboe
On Wed, Feb 28 2007, Tony Breeds wrote: On Tue, Feb 27, 2007 at 03:33:34PM +0100, Jens Axboe wrote: It looks ok (better than end_request()), though it would still be nice to properly end requests. See the recent thread on the lguest block driver. Hi Jens, I read through the

Re: Removing request from I/O scheduler queue

2007-02-28 Thread Jens Axboe
On Tue, Feb 27 2007, Swetha Krishnan wrote: I'm using linux 2.6.12 within user-mode linux. I need to remove a specific I/O request (that I have means to identify) from the I/O scheduler queues instead of moving it to the driver dispatch queue. To remove a request from the anticipatory

Re: bug in kernel 2.6.21-rc1-git1: conventional floppy drive cannot be mounted without hanging up the whole system

2007-02-28 Thread Rene Herman
On 02/28/2007 02:04 PM, Alan wrote: PLIP/Laplink runs bidirectional on ordinary parallel ports. The bidirectional part of parallel ports in normal modes is still used for things like PnP detection of printer and drivers. And my parallel port Iomega ZIP drive, it seems. I actually checked

Re: [patch 00/21] 2.6.19-stable review

2007-02-28 Thread Eric W. Biederman
Zwane Mwaikambo [EMAIL PROTECTED] writes: Hi Eric, Thanks for getting this cruft cleaned up. I have a few comments regarding; handle-irqs-pending-in-irr-during-irq-migration.patch 1) It relies on checking the IRR, this could race with the corresponding vector bit being set by

RE: lanana: Add major/minor entries for PPC QE UART devices

2007-02-28 Thread Mathiasen, Torben
--- devices-2.6+.txt 2007-02-22 13:37:18.0 -0600 +++ devices-2.6+.new 2007-02-22 13:42:50.0 -0600 @@ -2770,7 +2770,10 @@ 45 = /dev/ttyMM1 Marvell MPSC - port 1 46 = /dev/ttyCPM0 PPC CPM (SCC or SMC) - port 0

2.6.20 SATA error

2007-02-28 Thread Gerhard Mack
hello, Can someone tell me what this means? ata1.00: exception Emask 0x0 SAct 0x0 SErr 0x40 action 0x2 frozen ata1.00: cmd 35/00:00:40:a6:23/00:04:00:00:00/e0 tag 0 cdb 0x0 data 524288 out res 40/00:00:00:00:00/00:00:00:00:00/00 Emask 0x4 (timeout) ata1: port is slow to respond,

[PATCH] vlan net drivers: avoid a 4-order allocation

2007-02-28 Thread Dan Aloni
Hello, This patch splits the vlan_group struct into a multi-allocated struct. On x86_64, the size of the original struct is a little more than 32KB, causing a 4-order allocation, which is prune to problems caused by buddy-system external fragmentation conditions. I couldn't just use vmalloc()

[PATCH] acpi: fan after suspend-to-mem fix

2007-02-28 Thread Tommi Kyntola
acpi_fan_suspend should probably set state to ACPI_D3, rather than ACPI_D0. With this change the fan works after S3 suspend atleast on HP nw8000 laptop, for which the suspended fan has been broken since sword-and-stone. Signed-off-by: Tommi Kyntola [EMAIL PROTECTED] --- Why this was ACPI_D0

Re: lanana: Add major/minor entries for PPC QE UART devices

2007-02-28 Thread H. Peter Anvin
Mathiasen, Torben wrote: Got around looking at this one. I'm fine with this approach, but the CPM5 fix looks wrong. Shouldn't it be: 49 = /dev/ttyCPM3 PPC CPM (SCC or SMC) - port 3 instead? Well, how many CPM devices can exist? If there are really 6 ports possible, they

2.6.20-mm2: Oops in generic_make_request not git-block.patches fault

2007-02-28 Thread Oliver Pahl
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 I rebuild the kernel, without the git-block patches Patches revert-md-avoid-possible-bug_on-in-md-bitmap-handling-for-git-block.patch git-block.patch git-block-fixup.patch git-block-dupe-definitions.patch git-block-xfs-barriers-broke.patch but i

Re: Linux 2.6.21-rc2

2007-02-28 Thread Eric W. Biederman
Brice Goglin [EMAIL PROTECTED] writes: Linus Torvalds wrote: Oh well.. I'm not very proud of this, because quite frankly, -rc2 has way more changes than I really like. Hi Linus, rc2 fails to build on my thinkpad t43: CC arch/i386/kernel/io_apic.o arch/i386/kernel/io_apic.c:

2.6.20-mm2: Oops in generic_make_request not git-block.patch's fault

2007-02-28 Thread Oliver Pahl
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 I rebuild the kernel, without the git-block patches Mr. Piotrowski wrote: revert-md-avoid-possible-bug_on-in-md-bitmap-handling-for-git-block.patch git-block.patch git-block-fixup.patch git-block-dupe-definitions.patch

RE: lanana: Add major/minor entries for PPC QE UART devices

2007-02-28 Thread Mathiasen, Torben
Mathiasen, Torben wrote: Got around looking at this one. I'm fine with this approach, but the CPM5 fix looks wrong. Shouldn't it be: 49 = /dev/ttyCPM3 PPC CPM (SCC or SMC) - port 3 instead? Well, how many CPM devices can exist? If there are really 6 ports possible,

Re: Problem with freezable workqueues

2007-02-28 Thread Srivatsa Vaddagiri
On Wed, Feb 28, 2007 at 12:11:03PM +0100, Rafael J. Wysocki wrote: In addition to thawing worker thread before kthread_stopping it, there are minor changes required in worker threads, to check for is_cpu_offline(bind_cpu) when they come out of refrigerator and jump to wait_to_die if so

Re: a bug in AS scheduler?

2007-02-28 Thread Benoit Boissinot
On 2/28/07, Jens Axboe [EMAIL PROTECTED] wrote: On Tue, Feb 27 2007, Xiaoning Ding wrote: Hi, I am reading the source code AS scheduler in 2.6.18(as-ioscheduler.c). In function as_close_req, variable delay is in millisecond, while ad-antic_expire is in jiffies. Doesn't the comparison of

Re: v2.6.20-rt1, yum/rpm

2007-02-28 Thread K.R. Foley
Ingo Molnar wrote: * K.R. Foley [EMAIL PROTECTED] wrote: Ingo Molnar wrote: i have released the v2.6.20-rt1 kernel, which can be downloaded from the usual place: I have a couple of questions regarding priorities of the softirqs, IRQ handlers, etc. With some exceptions, back in 2.6.18

Re: [RFC] killing the NR_IRQS arrays.

2007-02-28 Thread Arnd Bergmann
On Wednesday 28 February 2007, Eric W. Biederman wrote: Arnd Bergmann [EMAIL PROTECTED] writes: Introducing the irq_request() etc. functions that take a struct irq* instead of an int sounds good, but I'd hope we can avoid using those in device drivers and do a separate abstraction for

Re: [RFC] killing the NR_IRQS arrays.

2007-02-28 Thread Segher Boessenkool
pci: each device/function has a unique irq, drivers need not know about it afaics. Then there is msi and with msi-x you can have up to 4K irqs. I have to admit I still don't really understand how this works at all. Can a driver that uses msi-x have different handlers for each of those

Re: [patch 04/26] Xen-paravirt_ops: Add pagetable accessors to pack and unpack pagetable entries

2007-02-28 Thread Ingo Molnar
* Jeremy Fitzhardinge [EMAIL PROTECTED] wrote: +#ifdef CONFIG_PARAVIRT +/* After pte_t, etc, have been defined */ +#include asm/paravirt.h +#endif hm - there's already a CONFIG_PARAVIRT conditional in asm-i386/paravirt.h. Yes, but it happens after asm/paravirt.h has

[PATCH] mm: be sure to trim blocks after direct_io has failed

2007-02-28 Thread Dmitriy Monakhov
This is updated version of patch aimed to fix direct_io error handling issue i've previously sent 2 wheeks ago. If you don't like anything in this patch plese let me know. Changes: - comments added. I think now it is clearly describe things. - patch prepared against 2.6.20-mm2 How this patch

Re: Problem with freezable workqueues

2007-02-28 Thread Srivatsa Vaddagiri
On Wed, Feb 28, 2007 at 06:47:21PM +0530, Srivatsa Vaddagiri wrote: --- workqueue.c.org 2007-02-28 18:32:48.0 +0530 +++ workqueue.c 2007-02-28 18:44:23.0 +0530 @@ -718,6 +718,8 @@ static void cleanup_workqueue_thread(str insert_wq_barrier(cwq, barr, 1);

Re: 2.6.21-rc1: CIFS cheers, NFS4 jeers

2007-02-28 Thread Bill Davidsen
Florin Iucha wrote: On Tue, Feb 27, 2007 at 09:36:23PM -0500, Bill Davidsen wrote: Florin Iucha wrote: Hello, it's me and my 70 GB of photos again. I have tested both CIFS and NFSv4 clients in kernel 2.6.20-rc1 . CIFS passed with flying colors and NFSv4 stalled after 7 GB.

Re: a bug in AS scheduler?

2007-02-28 Thread Jens Axboe
On Wed, Feb 28 2007, Benoit Boissinot wrote: On 2/28/07, Jens Axboe [EMAIL PROTECTED] wrote: On Tue, Feb 27 2007, Xiaoning Ding wrote: Hi, I am reading the source code AS scheduler in 2.6.18(as-ioscheduler.c). In function as_close_req, variable delay is in millisecond, while

[PATCH 0/4] improve alternative instruction code and optimize get_cycles_sync

2007-02-28 Thread Joerg Roedel
This series of patches extend the alternative instructions framework on i386 and x86_64 architectures to support two alternative instruction replacements. This code is used together with the introduction of the X86_FEATURE_SYNC_RDTSC flag on i386 to simplify and optimize the get_cycles_sync()

[PATCH 1/4] i386: extend alternative instructions framework

2007-02-28 Thread Joerg Roedel
From: Joerg Roedel [EMAIL PROTECTED] This patch extends the alternative instructions framework to support 2 alternative instructions. Signed-off-by: Joerg Roedel [EMAIL PROTECTED] -- Joerg Roedel Operating System Research Center AMD Saxony LLC Co. KG diff --git

Question on tty line discipline

2007-02-28 Thread Christopher Meller
Hi, I have a question concerning the line discipline behaviour for serial devices. When the line discipline is set via ioctl from user space to e.g. N_PPP and the userspace program returns without resetting the line discipline back to N_TTY, the serial device cannot be used (ENODV) until an

[PATCH 2/4] x86_64: changes to x86_64 architecture for alternative instruction improvements

2007-02-28 Thread Joerg Roedel
From: Joerg Roedel [EMAIL PROTECTED] In this patch updates the x86_64 architecture to work with the changes to alternative instructions in i386 Signed-off-by: Joerg Roedel [EMAIL PROTECTED] -- Joerg Roedel Operating System Research Center AMD Saxony LLC Co. KG diff --git

[PATCH 4/4] optimize and simplify get_cycles_sync()

2007-02-28 Thread Joerg Roedel
From: Joerg Roedel [EMAIL PROTECTED] This patch simplifies the get_cycles_sync() function by removing the #ifdefs from it. Further it introduces an optimization for AMD processors. There the RDTSCP instruction is used instead of CPUID;RDTSC which is helpfull if the kernel runs as a KVM guest.

struct page field arrangement

2007-02-28 Thread Jan Beulich
A change early last year reordered struct page so that ptl overlaps not only private, but also mapping. Since spinlock_t can be much larger, I'm wondering whether there's a reason to not also overlay the space index and lru take - are these used for anything on page table pages? Thanks, Jan - To

Re: Question on tty line discipline

2007-02-28 Thread Alan
On Wed, 28 Feb 2007 14:47:12 +0100 Christopher Meller [EMAIL PROTECTED] wrote: Hi, I have a question concerning the line discipline behaviour for serial devices. When the line discipline is set via ioctl from user space to e.g. N_PPP and the userspace program returns without resetting

Re: lanana: Add major/minor entries for PPC QE UART devices

2007-02-28 Thread Kumar Gala
On Feb 28, 2007, at 7:14 AM, Mathiasen, Torben wrote: Mathiasen, Torben wrote: Got around looking at this one. I'm fine with this approach, but the CPM5 fix looks wrong. Shouldn't it be: 49 = /dev/ttyCPM3 PPC CPM (SCC or SMC) - port 3 instead? Well, how many CPM devices

Re: lanana: Add major/minor entries for PPC QE UART devices

2007-02-28 Thread Timur Tabi
Segher Boessenkool wrote: 46 = /dev/ttyCPM0PPC CPM (SCC or SMC) - port 0 ... - 47 = /dev/ttyCPM5PPC CPM (SCC or SMC) - port 5 + 49 = /dev/ttyCPM5PPC CPM (SCC or SMC) - port 5 If CPM0 is 46, then CPM5 is not 47, but not 49 either.

Re: Sound 2.6.19: Soundcard driver often fail to load?

2007-02-28 Thread Lee Revell
On 2/27/07, Veronique Vincent [EMAIL PROTECTED] wrote: Maybie the Fedora team should use the asound.conf configuration instead? This doesn't work for apps that use the deprecated /dev/dsp API. Of course, a modern distro should be trying to purge these anyway... Lee - To unsubscribe from

Re: lanana: Add major/minor entries for PPC QE UART devices

2007-02-28 Thread Timur Tabi
H. Peter Anvin wrote: Also, if QE really is just CPM v3, and they share the same minors, why change the name? Because the QE isn't called CPM v3, that's just one way to think about it. It's a different device that has some backwards compatibility, but the drivers are all distinct and they

Re: 2.6.20 SATA error

2007-02-28 Thread Gerhard Mack
On Wed, 28 Feb 2007, Robert Hancock wrote: Gerhard Mack wrote: hello, Can someone tell me what this means? ata1.00: exception Emask 0x0 SAct 0x0 SErr 0x40 action 0x2 frozen ata1.00: cmd 35/00:00:40:a6:23/00:04:00:00:00/e0 tag 0 cdb 0x0 data 524288 out res

RE: lanana: Add major/minor entries for PPC QE UART devices

2007-02-28 Thread Mathiasen, Torben
Mathiasen, Torben wrote: Assuming QE has 4 entries, I would expect CPM to be the same. But we need verification of that. If it needs 6, we are in more trouble. The QE can have up to 8, actually, but I'm willing to limit the driver to 4. Its your choice if you want to limit it to 4 or

[PATCH 3/4] i386: add the X86_FEATURE_SYNC_RDTSC flag

2007-02-28 Thread Joerg Roedel
From: Joerg Roedel [EMAIL PROTECTED] This patch adds the X86_FEATURE_SYNC_RDTSC to the i386 architecture. This is very helpfull to simplify the get_cycles_sync() function and remove the #ifdefs from it. Signed-off-by: Joerg Roedel [EMAIL PROTECTED] -- Joerg Roedel Operating System Research

Re: 2.6.20 SATA error

2007-02-28 Thread Robert Hancock
Gerhard Mack wrote: hello, Can someone tell me what this means? ata1.00: exception Emask 0x0 SAct 0x0 SErr 0x40 action 0x2 frozen ata1.00: cmd 35/00:00:40:a6:23/00:04:00:00:00/e0 tag 0 cdb 0x0 data 524288 out res 40/00:00:00:00:00/00:00:00:00:00/00 Emask 0x4 (timeout) ata1: port

Re: 2.6.20 SATA error

2007-02-28 Thread Tomas Carnecky
Gerhard Mack wrote: ata1.00: configured for UDMA/100 [...] ata1.00: configured for UDMA/66 [...] ata1.00: configured for UDMA/44 [...] ata1.00: configured for UDMA/33 [...] ata1.00: configured for UDMA/25 [...] ata1.00: configured for UDMA/16 [...] ata1.00: configured for PIO4 I have the same

Re: lanana: Add major/minor entries for PPC QE UART devices

2007-02-28 Thread Kumar Gala
On Feb 28, 2007, at 8:51 AM, Mathiasen, Torben wrote: Mathiasen, Torben wrote: Assuming QE has 4 entries, I would expect CPM to be the same. But we need verification of that. If it needs 6, we are in more trouble. The QE can have up to 8, actually, but I'm willing to limit the driver

Re: 2.6.20 SATA error

2007-02-28 Thread Gerhard Mack
On Wed, 28 Feb 2007, Tomas Carnecky wrote: Gerhard Mack wrote: ata1.00: configured for UDMA/100 [...] ata1.00: configured for UDMA/66 [...] ata1.00: configured for UDMA/44 [...] ata1.00: configured for UDMA/33 [...] ata1.00: configured for UDMA/25 [...] ata1.00: configured

Re: lanana: Add major/minor entries for PPC QE UART devices

2007-02-28 Thread H. Peter Anvin
Kumar Gala wrote: On Feb 28, 2007, at 8:51 AM, Mathiasen, Torben wrote: Mathiasen, Torben wrote: Assuming QE has 4 entries, I would expect CPM to be the same. But we need verification of that. If it needs 6, we are in more trouble. The QE can have up to 8, actually, but I'm willing to

Re: fully honor vdso_enabled [i386, sh; x86_64?]

2007-02-28 Thread Chuck Ebbert
[adding Andi and Ingo] John Reiser wrote: Architectures such as i386, sh, x86_64 have a flag /proc/sys/vm/vdso_enabled to choose whether the kernel should setup a process to use vdso after execve(). Informing the user code via AT_SYSINFO* is controlled by macro ARCH_DLINFO in

Re: [PATCH] display class

2007-02-28 Thread James Simmons
How does this look? The new and improved display class. Signed-Off: James Simmons [EMAIL PROTECTED] diff -urN -X fbdev-2.6/Documentation/dontdiff linus-2.6/drivers/video/display/display-sysfs.c fbdev-2.6/drivers/video/display/display-sysfs.c ---

2.6.21-rc1 and 2.6.21-rc2 kwin dies silently

2007-02-28 Thread Sid Boyce
openSUSE 10.3 Alpha and KDE-3.5.6, xorg-x11-7.2. KDE is setup not to require a password to unlock, but it asks for password. When the screen unlocks, kwin is gone with no errors logged in /var/log/kdm or /var/log/messages. No problems with 2.6.20. Same problem on openSUSE 10.2 x86_64, KDE-3.5.5

Re: 2.6.20 SATA error

2007-02-28 Thread Tomas Carnecky
Ralf Müller wrote: I had the same type of problem using an unstable power supply - after replacing it the problems were gone ... Hm.. my shuttle box has only a 350W power supply, that could indeed be the problem, as I have an Athlon 64 X2 4400+ CPU (dual core), two SATA-II 500GB harddrives

Re: [patch] epoll reduced (to 1) number of passes over the ready set ...

2007-02-28 Thread Davide Libenzi
On Wed, 28 Feb 2007, Eric Dumazet wrote: On Tuesday 27 February 2007 17:03, Davide Libenzi wrote: On Tue, 27 Feb 2007, Eric Dumazet wrote: On Tuesday 27 February 2007 03:32, Davide Libenzi wrote: Epoll is doing multiple passes over the ready set at the moment, because of the

Re: a bug in AS scheduler?

2007-02-28 Thread Xiaoning Ding
Jens Axboe wrote: On Wed, Feb 28 2007, Benoit Boissinot wrote: On 2/28/07, Jens Axboe [EMAIL PROTECTED] wrote: On Tue, Feb 27 2007, Xiaoning Ding wrote: Hi, I am reading the source code AS scheduler in 2.6.18(as-ioscheduler.c). In function as_close_req, variable delay is in millisecond,

Re: lanana: Add major/minor entries for PPC QE UART devices

2007-02-28 Thread Timur Tabi
Mathiasen, Torben wrote: Assuming QE has 4 entries, I would expect CPM to be the same. But we need verification of that. If it needs 6, we are in more trouble. The QE can have up to 8, actually, but I'm willing to limit the driver to 4. - To unsubscribe from this list: send the line

Re: 2.6.21-rc1 and 2.6.21-rc2 kwin dies silently

2007-02-28 Thread auxsvr
On Wednesday 28 February 2007 17:19, Sid Boyce wrote: openSUSE 10.3 Alpha and KDE-3.5.6, xorg-x11-7.2. KDE is setup not to require a password to unlock, but it asks for password. When the screen unlocks, kwin is gone with no errors logged in /var/log/kdm or /var/log/messages. No problems with

Re: [patch 00/13] Syslets, Threadlets, generic AIO support, v3

2007-02-28 Thread Pavel Machek
Hi! If kernelspace rescheduling is that fast, then please explain me why userspace one always beats kernel/userspace? because 'user space scheduling' makes no sense? I explained my thinking about that in a past mail: ... 2) there has been an IO event. The thing is, for IO events we

Re: [patch 00/13] Syslets, Threadlets, generic AIO support, v3

2007-02-28 Thread Pavel Machek
Hi! I think what you are not hearing, and what everyone else is saying (INCLUDING Linus), is that for most programmers, state machines are much, much harder to program, understand, and debug compared to multi-threaded code. You may disagree (were you a MacOS 9 programmer in another

Re: [patch 00/13] Syslets, Threadlets, generic AIO support, v3

2007-02-28 Thread Davide Libenzi
On Wed, 28 Feb 2007, Ingo Molnar wrote: * Davide Libenzi davidel@xmailserver.org wrote: Why can't aio_* be implemented with *simple* (or parallel/unrelated) syscall submit w/out the burden of a complex, limiting and heavy API there are so many variants of what people think

Re: lanana: Add major/minor entries for PPC QE UART devices

2007-02-28 Thread Timur Tabi
Kumar Gala wrote: Its your choice if you want to limit it to 4 or have it moved into a different minor range. I can live with both. I'd rather we support 8 now. Ok, a different minor range it is, then. 192-199? -- Timur Tabi Linux Kernel Developer @ Freescale - To unsubscribe from this

Re: 2.6.21-rc1 and 2.6.21-rc2 kwin dies silently

2007-02-28 Thread Sid Boyce
/ openSUSE 10.3 Alpha and KDE-3.5.6, xorg-x11-7.2. KDE is setup not to/ / require a password to unlock, but it asks for password. When the screen/ / unlocks, kwin is gone with no errors logged in /var/log/kdm or/ / /var/log/messages. No problems with 2.6.20./ / Same problem on openSUSE 10.2

Re: lanana: Add major/minor entries for PPC QE UART devices

2007-02-28 Thread Timur Tabi
H. Peter Anvin wrote: It sounds like the QE driver should be moved to a separate minor range, and given 8 minors. I just had a thought - since udev doesn't care about major/minor number assignments, can we say that the limit is 4 devices if you're not using udev, and 8 otherwise? -- Timur

Re: Wanted: simple, safe x86 stack overflow detection

2007-02-28 Thread Thiago Galesi
I guess most stack corruptions touch only a small part of the stack. These kinds of corruptions can only be detected from inside the program. Anyway, going beyond the program's stack boundaries would fault the program. Checking the threadinfo constantly it'll be (IMHO) mostly useless... On

2.6.21-rc2 radeon backlight

2007-02-28 Thread Alex Romosan
the backlight on my thinkpad still (2.6.20 worked fine) doesn't come on if i have the radeon backlight enabled. without it, i guess it's the ibm acpi modules that controls the backlight and it seems to work fine. --alex-- -- | I believe the moment is at hand when, by a paranoiac and active | |

Re: lanana: Add major/minor entries for PPC QE UART devices

2007-02-28 Thread H. Peter Anvin
Timur Tabi wrote: H. Peter Anvin wrote: It sounds like the QE driver should be moved to a separate minor range, and given 8 minors. I just had a thought - since udev doesn't care about major/minor number assignments, can we say that the limit is 4 devices if you're not using udev, and 8

Re: Fwd: Using serio_register_driver

2007-02-28 Thread Dmitry Torokhov
On 2/27/07, Fausto Carvalho [EMAIL PROTECTED] wrote: Well, i have a 8042 controller connected to the keyboard controller that send information about battery and others to the keyboard interrupt and io ports in the format of keystrokes. I want a way to not alter atkbd but to create another driver

Re: Linux 2.6.21-rc2

2007-02-28 Thread David Brown
Yes. I goofed, and missed that stupid case. The offending lines should just die. Patch already sent to Linus. Could the patch be posted? or could I see a git commit so I can get it myself? Thanks, David Brown - To unsubscribe from this list: send the line unsubscribe linux-kernel in the body

Re: [patch 00/13] Syslets, Threadlets, generic AIO support, v3

2007-02-28 Thread Linus Torvalds
On Wed, 28 Feb 2007, Davide Libenzi wrote: At this point, given how threadlets can be easily/effectively dispatched from userspace, I'd argue the presence of either single/parallel or syslet submission altogether. Threadlets allows you to code chains *way* more naturally than syslets,

Re: [Linux-fbdev-devel] [PATCH 2.6.20 1/1] fbdev, mm: hecuba/E-Ink fbdev driver

2007-02-28 Thread James Simmons
I'm not sure I understand. What the current implementation does is to use host based framebuffer memory. Apps mmap that memory and draw to that. Then after the delay, that framebuffer is written to the device's memory. That's the scenario for hecubafb where the Apollo controller maintains

Re: First desktop motherboard supported by LinuxBIOS: GIGABYTE M57SLI-S4

2007-02-28 Thread James Simmons
Quick question. Can this board initialize more than one graphics card? On Wed, 21 Feb 2007, Brandon Howard wrote: Oops, forgot to include the relevant links in the previous email: [1] http://www.gigabyte.com.tw/Products/Motherboard/Products_Overview.aspx?ProductID=2287 [2]

Re: [patch 00/13] Syslets, Threadlets, generic AIO support, v3

2007-02-28 Thread Phillip Susi
Michael K. Edwards wrote: State machines are much harder to write without going through a real on-paper design phase first. But multi-threaded code is much harder for a team of average working coders to write correctly, judging from the numerous train wrecks that I've been called in to salvage

Re: [PATCH] fbdev driver for S3 Trio/Virge, updated

2007-02-28 Thread James Simmons
On Thu, 2007-02-22 at 00:53 +, James Simmons wrote: +/* image data is MSB-first, fb structure is MSB-first too */ +static inline u32 expand_color(u32 c) +{ + return ((c 1) | ((c 2) 7) | ((c 4) 14) | ((c 8) 21)) * 0xFF; +} + +/*

Re: [Linux-fbdev-devel] [PATCH 1/1] PXAFB: Support for backlight control

2007-02-28 Thread James Simmons
On Thu, Feb 22, 2007 at 12:33:35PM +0200, Paul Sokolovsky wrote: We in handhelds.org codebase have attached patch* to make corgi_bl more suitable for general use. This patch was submitted to Richard (so, more votes needed ;-) ). Otherwise, snippet I pasted is from real machine

Re: [Linux-fbdev-devel] no backlight on radeon after recent kernel upgrades

2007-02-28 Thread James Simmons
So the problem is not the configuration but that for some reason the backlight state is set to off by default. On Thu, 22 Feb 2007, David Miller wrote: From: James Simmons [EMAIL PROTECTED] Date: Thu, 22 Feb 2007 15:55:24 + (GMT) I just tested various confirations of backlight

Re: [patch 00/13] Syslets, Threadlets, generic AIO support, v3

2007-02-28 Thread Michael K. Edwards
On 2/28/07, Evgeniy Polyakov [EMAIL PROTECTED] wrote: 130 lines skipped... Yeah, I edited it down a lot before sending it. :-) I have only one question - wasn't it too lazy to write all that? :) I'm pretty lazy all right. But occasionally an interesting problem (and revamping AIO is very

[PATCH] ecryptfs: check xattr operation support fix

2007-02-28 Thread Dmitriy Monakhov
- ecryptfs_write_inode_size_to_metadata() error code was ignored. - i_op-setxattr() must be supported by lower fs because used below. Signed-off-by: Monakhov Dmitriy [EMAIL PROTECTED] --- fs/ecryptfs/inode.c |6 +++--- fs/ecryptfs/mmap.c |3 ++- 2 files changed, 5 insertions(+), 4

Re: [GIT PATCH] HID and USB HID update for 2.6.21-rc2

2007-02-28 Thread Linus Torvalds
On Wed, 28 Feb 2007, Jiri Kosina wrote: The diffstat looks larger because the usbhid code is moved from USB-specific directory to HID-specific directory No. The diffstat looks huge because you moved hid_blacklist into a header file, and that is a big enough change that git won't consider

Re: Linux 2.6.21-rc2

2007-02-28 Thread Randy Dunlap
On Wed, 28 Feb 2007 08:44:45 -0800 David Brown wrote: Yes. I goofed, and missed that stupid case. The offending lines should just die. Patch already sent to Linus. Could the patch be posted? or could I see a git commit so I can get it myself? I'm attaching it below. It hit the git

Re: 2.6.20 SATA error

2007-02-28 Thread Charles Shannon Hendrix
On Wed, 28 Feb 2007 07:40:23 -0500 (EST) Gerhard Mack [EMAIL PROTECTED] wrote: hello, Can someone tell me what this means? ata1.00: exception Emask 0x0 SAct 0x0 SErr 0x40 action 0x2 frozen ata1.00: cmd 35/00:00:40:a6:23/00:04:00:00:00/e0 tag 0 cdb 0x0 data 524288 out res

Re: [GIT PATCH] HID and USB HID update for 2.6.21-rc2

2007-02-28 Thread Jiri Kosina
On Wed, 28 Feb 2007, Linus Torvalds wrote: The diffstat looks larger because the usbhid code is moved from USB-specific directory to HID-specific directory No. The diffstat looks huge because you moved hid_blacklist into a header file, and that is a big enough change that git won't

Re: [PATCH] affinity is not defined in non-smp kernels - i386

2007-02-28 Thread Bill Davidsen
Eric W. Biederman wrote: Fernando Luis Vázquez Cao [EMAIL PROTECTED] writes: Initialize affinity only when building SMP kernels. Reasonable. I goofed here. However I would prefer my patch that just deletes these problem lines. These lines don't really contribute anything and are harmless

Re: [GIT PATCH] HID and USB HID update for 2.6.21-rc2

2007-02-28 Thread Linus Torvalds
On Wed, 28 Feb 2007, Jiri Kosina wrote: You're right that usbhid.h is not a best place for it. Not the best place for it is the understatement of the year. It's totally idiotic. This IMHO just needs cleanup. Will you accept creating a separate header file solely for purposes of this

Re: [patch 00/13] Syslets, Threadlets, generic AIO support, v3

2007-02-28 Thread Ingo Molnar
* Linus Torvalds [EMAIL PROTECTED] wrote: [...] The only way it would buy us a lot is to change the linked lists dynamically (ie add new events at the end while old events are still executing), [...] that's quite close to what Jens' FIO plugin for syslets (engines/syslet-rw.c) does

fix implicit declaration in nv_backlight.

2007-02-28 Thread Dave Jones
drivers/video/nvidia/nv_backlight.c: In function 'nvidia_bl_init': drivers/video/nvidia/nv_backlight.c:103: error: implicit declaration of function 'pmac_has_backlight_type' Signed-off-by: Dave Jones [EMAIL PROTECTED] --- linux-2.6.20.noarch/drivers/video/nvidia/nv_backlight.c~2007-02-20

Re: Problem with freezable workqueues

2007-02-28 Thread Rafael J. Wysocki
On Wednesday, 28 February 2007 14:17, Srivatsa Vaddagiri wrote: On Wed, Feb 28, 2007 at 12:11:03PM +0100, Rafael J. Wysocki wrote: In addition to thawing worker thread before kthread_stopping it, there are minor changes required in worker threads, to check for is_cpu_offline(bind_cpu)

Re: Problem with freezable workqueues

2007-02-28 Thread Rafael J. Wysocki
On Wednesday, 28 February 2007 14:27, Srivatsa Vaddagiri wrote: On Wed, Feb 28, 2007 at 06:47:21PM +0530, Srivatsa Vaddagiri wrote: --- workqueue.c.org 2007-02-28 18:32:48.0 +0530 +++ workqueue.c 2007-02-28 18:44:23.0 +0530 @@ -718,6 +718,8 @@ static void

Re: [GIT PATCH] HID and USB HID update for 2.6.21-rc2

2007-02-28 Thread Jiri Kosina
On Wed, 28 Feb 2007, Linus Torvalds wrote: There is no excuse for putting a large array in a header file and including it millions of times. Or even just twice. The point of a header file is to *declare* things, not to have big data structures in. The point was that noone else than

Re: [RFC] killing the NR_IRQS arrays.

2007-02-28 Thread Eric W. Biederman
Benjamin Herrenschmidt [EMAIL PROTECTED] writes: What I really object to is not the irq numbers. As an arbitrary number does not impose limits. What I object to is drivers that can't handle the full range of numbers, and the limits imposed upon those numbers when you require them to be

Re: [RFC] killing the NR_IRQS arrays.

2007-02-28 Thread Eric W. Biederman
Arnd Bergmann [EMAIL PROTECTED] writes: I have to admit I still don't really understand how this works at all. Can a driver that uses msi-x have different handlers for each of those interrupts registered simultaneously? Yes, and the irqs can be routed at different cpus independently. However

[RFC][PATCH] intel8x0: revert regression that broke sounds after S3 suspend

2007-02-28 Thread Tommi Kyntola
The regression in 2.6.19-rc3 (namely 30b35399ceb2398d05837863476dcb12f12f3a82, [ALSA] Various fixes for suspend/resume of ALSA PCI drivers), broke HP nw8000 speaker sounds after S3 suspend (headphones still worked). Removing this line makes the sounds work again... Signed-off-by: Tommi Kyntola

Re: lanana: Add major/minor entries for PPC QE UART devices

2007-02-28 Thread Segher Boessenkool
46 = /dev/ttyCPM0PPC CPM (SCC or SMC) - port 0 ... - 47 = /dev/ttyCPM5PPC CPM (SCC or SMC) - port 5 + 49 = /dev/ttyCPM5PPC CPM (SCC or SMC) - port 5 If CPM0 is 46, then CPM5 is not 47, but not 49 either. Unless it's not CPM5 but

[PATCH][RFC] ext3: Handle ext[34]_journal_stop() failure

2007-02-28 Thread Dmitriy Monakhov
Where are many places where _journal_stop() return code wasn't checked. Off cause _journal_stop() failed very rarely (and usually with fatal consequences), but this does'n meen it should not be checked. For example most retry loops looks like follows: ext3_journal_stop(handle);

Re: [PATCH 2.6.20] kobject net ifindex + rename

2007-02-28 Thread Johannes Berg
Hi, Patch for 2.6.20 is attached. ... and in the meantime netdevices aren't class_device any more :) IOW, your patch isn't going to work any more. Also, I think wireless could benefit from this as well. The kobject framework is well designed, so adding these features is trivial

Re: [PATCH 2/2] ehea: NAPI multi queue TX/RX path for SMP

2007-02-28 Thread Jan-Bernd Themann
Hi, +static inline int ehea_hash_skb(struct sk_buff *skb, int num_qps) +{ + u32 tmp; + if ((skb-nh.iph-protocol == IPPROTO_TCP) +skb-protocol == ETH_P_IP) { skb-protocol has network byte order. The ETH_P_IP test should also logically come before checking the IP

Re: [PATCH 2.6.20] kobject net ifindex + rename

2007-02-28 Thread Jarek Poplawski
On 28-02-2007 02:27, Jean Tourrilhes wrote: Hi all, ... Patch for 2.6.20 is attached. The patch was tested on a system running the hotplug scripts, and on another system running udev. Have fun... Jean Signed-off-by: Jean Tourrilhes [EMAIL PROTECTED]

Re: [PATCH 2.6.20] kobject net ifindex + rename

2007-02-28 Thread Jarek Poplawski
On Wed, Feb 28, 2007 at 10:34:37AM +0100, Jarek Poplawski wrote: On 28-02-2007 02:27, Jean Tourrilhes wrote: ... + /* This function is only used for network interface. +* Some hotplug package track interfaces by their name and +* therefore want to know when the name is changed by

Re: [PATCH 2.6.20] kobject net ifindex + rename

2007-02-28 Thread Greg KH
On Tue, Feb 27, 2007 at 05:27:41PM -0800, Jean Tourrilhes wrote: diff -u -p linux/drivers/base/class.j1.c linux/drivers/base/class.c --- linux/drivers/base/class.j1.c 2007-02-26 18:38:10.0 -0800 +++ linux/drivers/base/class.c2007-02-27 15:52:37.0 -0800 @@ -841,6

[PATCH 0/2] ehea: dynamic port SMP support

2007-02-28 Thread Jan-Bernd Themann
Hi, this version has the issues fixed which were mentioned by Patrick McHardy. The patch set includes two patches against linux-2.6.21-rc1: - dynamic add / remove port: Interface has been discussed and approved by John Rose (see: http://www.spinics.net/lists/netdev/msg25327.html) - NAPI

[PATCH 1/2] ehea: dynamic add / remove port

2007-02-28 Thread Jan-Bernd Themann
This patch introduces functionality to dynamically add / remove ehea ports via an userspace DLPAR tool. It creates a subnode for each logical port in the sysfs. Signed-off-by: Jan-Bernd Themann [EMAIL PROTECTED] --- diff --git a/drivers/net/ehea/ehea.h b/drivers/net/ehea/ehea.h index

[PATCH 2/2] ehea: NAPI multi queue TX/RX path for SMP

2007-02-28 Thread Jan-Bernd Themann
This patch provides a functionality that allows parallel RX processing on multiple RX queues by using dummy netdevices. Signed-off-by: Jan-Bernd Themann [EMAIL PROTECTED] --- diff -Nurp -X dontdiff linux-2.6.21-rc1/drivers/net/ehea/ehea.h patched_kernel/drivers/net/ehea/ehea.h ---

Re: PROBLEM: BUG: when resuming from suspend-to-ram

2007-02-28 Thread Rafael J. Wysocki
On Wednesday, 28 February 2007 01:27, Kristian Grønfeldt Sørensen wrote: On Tue, 2007-02-27 at 23:30 +0100, Rafael J. Wysocki wrote: On Tuesday, 27 February 2007 23:04, Rafael J. Wysocki wrote: Hi, On Tuesday, 27 February 2007 19:45, Kristian Grønfeldt Sørensen wrote: Hi.

Re: Current PATA working tree

2007-02-28 Thread Chuck Ebbert
Alan wrote: While Andrew and -mm are taking a bit of a break... I've uploaded a patch file of the libata PATA working tree versus 2.6.20-mm2 to http://zeniv.linux.org.uk/~alan/IDE Generated without --show-c-function. Sigh. - To unsubscribe from this list: send the line unsubscribe

[PATCH]Support for Marvell 7042 Chip

2007-02-28 Thread Morrison, Tom
Added Support for Marvell 7042 Chip - 7042 has same capabilities behavior as 6042. Patch based upon stable Linux 2.6.20.1 Kernel Tree... Signed-off-by: Thomas A. Morrison [EMAIL PROTECTED] --- drivers/ata/sata_mv.c.orig 2007-02-20 01:34:32.0 -0500 +++ drivers/ata/sata_mv.c

PROBLEM: null pointer dereference in cfq_dispatch_requests (2.6.21-rc2 and 2.6.20)

2007-02-28 Thread Dan Williams
I can reliably reproduce a null pointer dereference on 2.6.20 and 2.6.21-rc2. I will keep digging to find the kernel version where this last worked, but wanted to see if there were any immediate experiments I should try. The failure is caused by running tiobench on a MD raid6 array with 6 out of

Re: Problem with freezable workqueues

2007-02-28 Thread Gautham R Shenoy
On Wed, Feb 28, 2007 at 12:36:52AM +0100, Johannes Berg wrote: On Wed, 2007-02-28 at 02:28 +0300, Oleg Nesterov wrote: Ugh. I know nothing, nothing, nothing about suspend. I'll try to guess. Commit: ed746e3b18f4df18afa3763155972c5835f284c5 Yes? with the patch above, _cpu_down()

Re: Soft lockup on shutdown in nf_ct_iterate_cleanup()

2007-02-28 Thread Patrick McHardy
Chuck Ebbert wrote: Patrick McHardy wrote: This patch is against current stable-2.6.20, it applies cleanly to 2.6.20 as well. Everything works OK, but I get: BUG: warning: (!list_empty(unconfirmed)) at net/netfilter/nf_conntrack_core.c:1068/nf_ct_cleanup() nf_ct_cleanup+0x66/0x122

<    1   2   3   4   5   6   7   8   >