[-mm PATCH] driver model: PM type conversions in drivers/net

2005-02-04 Thread Daniel Drake
This fixes PM driver model type checking for drivers/net. Acked by Pavel Machek. Signed-off-by: Daniel Drake [EMAIL PROTECTED] diff -urNpX dontdiff linux-2.6.11-rc2-mm2/drivers/net/8139cp.c linux-dsd/drivers/net/8139cp.c --- linux-2.6.11-rc2-mm2/drivers/net/8139cp.c 2005-02-02 21:55:22.417771864

Re: 2.6.11-rc3-mm1

2005-02-04 Thread Benjamin Herrenschmidt
I tried it two or three times, same result each time. I'll give it a lash with USB disabled. Also, can you try editing arch/ppc/syslib/open_pic.c, in function openpic_resume(), comment out the call to openpic_reset() and let me know if that helps... Ben. - To unsubscribe from this list:

Re: 2.6.11-rc3-mm1

2005-02-04 Thread Benjamin Herrenschmidt
On Fri, 2005-02-04 at 22:17 +, Sean Neakums wrote: I gave this a crack on the PowerBook5.4 -- somewhat more successful than 2.6.11-rc2-mm2. It boots, radeonfb works and X starts. However, suspend seems a tad faster than usual, and resume stops after setting the hard disk's DMA mode,

Re: A scrub daemon (prezeroing)

2005-02-04 Thread Paul Mackerras
Christoph Lameter writes: scrubd clears pages of orders 7-4 by default. That means 2^4 to 2^7 pages are cleared at once. So are you saying that clearing an order 4 page will take measurably less time than clearing 16 order 0 pages? I find that hard to believe. Paul. - To unsubscribe from

Re: [RFC] Reliable video POSTing on resume

2005-02-04 Thread James Simmons
Jon does your emulator sit on top of the new legacy I/O and memory APIs? I added them for this very reason, though atm only ia64 supports them. There's documentation in Documentation/filesystems/sysfs-pci.txt if you want to take a look. On kernels that support it, sysfs can be a one

Re: [patch] ns558 bug

2005-02-04 Thread Adam Belay
On Fri, Feb 04, 2005 at 09:00:54PM +0100, matthieu castet wrote: Hi, this patch is based on http://bugzilla.kernel.org/show_bug.cgi?id=2962 patch from adam belay. It solve a oops when pnp_register_driver(ns558_pnp_driver) failed. Please apply this patch. Matthieu I remember writing

Re: Legacy IO spaces (was Re: [RFC] Reliable video POSTing on resume)

2005-02-04 Thread Jon Smirl
/sys/class/pci_bus I show three buses. You wouldn't want the legacy_io/mem attributes on each of these three buses since that implies three independent address spaces. [EMAIL PROTECTED] pci_bus]$ ls /sys/class/pci_bus :00 :01 :02 In that case they'll all point to the

Re: [PATCH] PPC/PPC64: Introduce CPU_HAS_FEATURE() macro

2005-02-04 Thread Arnd Bergmann
On Sünnavend 05 Februar 2005 00:49, Benjamin Herrenschmidt wrote: On Fri, 2005-02-04 at 13:36 +0100, Arnd Bergmann wrote: I have a somewhat similar patch that does the same to the systemcfg-platform checks. I'm not sure if we should use the same inline function for both checks, but I do

Re: [RFC] Reliable video POSTing on resume

2005-02-04 Thread Carl-Daniel Hailfinger
Jon Smirl schrieb: On Fri, 4 Feb 2005 08:44:54 +0100, Pavel Machek [EMAIL PROTECTED] wrote: We already try to do that, but it hangs on 70% of machines. See Documentation/power/video.txt. We know that all of these ROMs are run at power on so they have to work. This implies that there must be

Re: 2.6.11-rc3-mm1

2005-02-04 Thread Bartlomiej Zolnierkiewicz
On Sat, 05 Feb 2005 11:16:49 +1100, Benjamin Herrenschmidt [EMAIL PROTECTED] wrote: I tried it two or three times, same result each time. I'll give it a lash with USB disabled. Also, can you try editing arch/ppc/syslib/open_pic.c, in function openpic_resume(), comment out the call to

[-mm PATCH] driver model: PM type conversions in drivers/macintosh

2005-02-04 Thread Daniel Drake
This fixes PM driver model type checking for drivers/macintosh. Acked by Pavel Machek. Signed-off-by: Daniel Drake [EMAIL PROTECTED] diff -urNpX dontdiff linux-2.6.11-rc2-mm2/drivers/macintosh/macio_asic.c linux-dsd/drivers/macintosh/macio_asic.c ---

[-mm PATCH] driver model: PM type conversions in drivers/char

2005-02-04 Thread Daniel Drake
This fixes PM driver model type checking for drivers/char. Acked by Pavel Machek. Signed-off-by: Daniel Drake [EMAIL PROTECTED] diff -urNpX dontdiff linux-2.6.11-rc2-mm2/drivers/char/agp/efficeon-agp.c linux-dsd/drivers/char/agp/efficeon-agp.c ---

Re: [RFC] Reliable video POSTing on resume

2005-02-04 Thread James Simmons
int video_helper(struct video_actions *what_to_do) I do not know, synchronously executing userland code from kernel seems like wrong thing to do. I'm not a fan for this either. The good news is most graphics cards don't require these tricks. The only ones that do are the ix86 cards. The

Re: [-mm PATCH] driver model: PM type conversions in drivers/net

2005-02-04 Thread Jeff Garzik
Daniel Drake wrote: diff -urNpX dontdiff linux-2.6.11-rc2-mm2/drivers/net/bmac.c linux-dsd/drivers/net/bmac.c --- linux-2.6.11-rc2-mm2/drivers/net/bmac.c 2005-02-02 21:54:17.353663112 + +++ linux-dsd/drivers/net/bmac.c 2005-02-02 20:52:48.0 + @@ -455,7 +455,7 @@ static void

Re: [RFC] Reliable video POSTing on resume

2005-02-04 Thread Carl-Daniel Hailfinger
Pavel Machek schrieb: I do not understand how initramfs fits into picture... Plus lot of people (me :-) do not use initramfs... Well, an initrd which is never unmounted should work, too. On SUSE, mkdir /initrd and see what you've been missing. I don't know why that directory doesn't exist by

Re: [RFC] Reliable video POSTing on resume

2005-02-04 Thread Carl-Daniel Hailfinger
James Simmons schrieb: int video_helper(struct video_actions *what_to_do) I do not know, synchronously executing userland code from kernel seems like wrong thing to do. I'm not a fan for this either. The good news is most graphics cards don't require these tricks. The only ones that do are

Re: [RFC] Reliable video POSTing on resume

2005-02-04 Thread Carl-Daniel Hailfinger
Xavier Bestel schrieb: Le vendredi 04 fvrier 2005 00:03 -0500, Jon Smirl a crit : Doing this in user space lets you have two reset programs, vm86 and emu86 for non-x86 machines. Perhaps only emu86 should be used, to have a well-debugged codepath on all archs (amd64, ppc, ...) As it's

Re: [RFC] Reliable video POSTing on resume

2005-02-04 Thread Jon Smirl
On Sat, 05 Feb 2005 01:52:23 +0100, Carl-Daniel Hailfinger [EMAIL PROTECTED] wrote: My problem (Samsung P35) is that the BIOS wants to call code which is no longer mapped because the BIOS is too big to fit into the standard area. Since that additional area has been overwritten, we are out of

Re: 2.6.11-rc3 x86-64 compile err on suse 9.1

2005-02-04 Thread Thomas Zehetbauer
Same problem here on Fedora Core 3, I have put my .config and make output at http://www.hostmaster.org/~thomasz/linux-2.6.11-rc3/ Tom PS: Tyan Thunder K8W - works great! -- T h o m a s Z e h e t b a u e r ( TZ251 ) PGP encrypted mail preferred - KeyID 96FFCB89 finger [EMAIL

Re: 3TB disk hassles

2005-02-04 Thread Neil Conway
Howdy... Apologies for the somewhat tardy reply; I've been concentrating on getting the hardware to play nice recently and not worrying so much about the software. --- Tomas Carnecky [EMAIL PROTECTED] wrote: It was gentoo, and I even think I installed it right onto the GPT disk, so no

Re: [PATCH] PPC/PPC64: Introduce CPU_HAS_FEATURE() macro

2005-02-04 Thread Benjamin Herrenschmidt
This is the patch to evaluate CPU_HAS_FEATURE() at compile time whenever possible. Testing showed that vmlinux shrinks around 4000 bytes with g5_defconfig. I also checked that pSeries code is completely unaltered semantically when support for all CPU types is enabled, although a few

Re: 3TB disk hassles

2005-02-04 Thread Neil Conway
Howdy... --- Pedro Venda (SYSADM) [EMAIL PROTECTED] wrote: Neil Conway wrote: Howdy... After much banging of heads on walls, I am throwing in the towel and asking the experts ;-) ... To cut a long story short: Is it possible to make a 3TB disk work properly in Linux? Our disk is

Re: [PATCH] PPC/PPC64: Introduce CPU_HAS_FEATURE() macro

2005-02-04 Thread Anton Blanchard
Hi, This is the patch to evaluate CPU_HAS_FEATURE() at compile time whenever possible. Testing showed that vmlinux shrinks around 4000 bytes with g5_defconfig. I also checked that pSeries code is completely unaltered semantically when support for all CPU types is enabled, although a few

Re: error

2005-02-04 Thread Adrian Bunk
On Fri, Feb 04, 2005 at 04:19:30PM -0200, [EMAIL PROTECTED] wrote: Hi, I encountered the following error trying to select the option: Ethernet (1000 Mbit) --- in my Linux Kernel v2.4.18 Configuration Menuconfig has encountered a possible error in one of the kernel's configuration files

Re: [RFC] Reliable video POSTing on resume

2005-02-04 Thread Matthew Garrett
On Fri, 2005-02-04 at 12:31 -0500, Jon Smirl wrote: Fixing this at kernel boot (resume) time will let user space apps assume that all video cards are reset. That removes a lot of complexity from the user space apps (like X). This can't be the default on x86. I have hardware that will die if

Re: [RFC] Reliable video POSTing on resume

2005-02-04 Thread Jon Smirl
On Sat, 05 Feb 2005 02:04:49 +, Matthew Garrett [EMAIL PROTECTED] wrote: On Fri, 2005-02-04 at 12:31 -0500, Jon Smirl wrote: Fixing this at kernel boot (resume) time will let user space apps assume that all video cards are reset. That removes a lot of complexity from the user space

Re: Post install 2.4.29 causes many apps to seg fault.

2005-02-04 Thread Gary Smith
Quoting Nick Warne [EMAIL PROTECTED]: Yes, I had a similar problems at work when I up2date'd the latest GLIBC for RHEL 3 late last year. A colleague in Montreal (I am in UK) sussed what was going on. I will _presume_ you are seeing similar problems with a kernel build. Here is the

Re: [RFC] Reliable video POSTing on resume

2005-02-04 Thread Matthew Garrett
On Fri, 2005-02-04 at 21:09 -0500, Jon Smirl wrote: How does the hardware die? Are you sure that it is not simply a bug in the program doing the POST? Look at the scitech source and you will see many BIOS quirks that have to be emulated in order for the post to work. If your post program is

Re: Post install 2.4.29 causes many apps to seg fault.

2005-02-04 Thread Barry K. Nathan
On Fri, Feb 04, 2005 at 11:10:19AM -0800, Gary Smith wrote: Hello, I have been running RHEL3 update 3 for some time and need to patch netfilter for PPTP. After doing so and installing the kernel I found that certain applications (such as MySQL, nslook, etc) began to segfault. Rolling

Re: [RFC] Reliable video POSTing on resume

2005-02-04 Thread Jon Smirl
On Sat, 05 Feb 2005 02:17:22 +, Matthew Garrett [EMAIL PROTECTED] wrote: On laptops, it's frequently the case that c000:0003 will jump to a section of code that is no longer mapped into the address space. Instead, it's entirely possible that some other section of BIOS will be mapped there.

[2.6 patch] input/gameport/cs461x.c: make 2 functions static

2005-02-04 Thread Adrian Bunk
This patch makes two needlessly global functions static. Signed-off-by: Adrian Bunk [EMAIL PROTECTED] --- linux-2.6.11-rc3-mm1-full/drivers/input/gameport/cs461x.c.old 2005-02-05 03:23:44.0 +0100 +++ linux-2.6.11-rc3-mm1-full/drivers/input/gameport/cs461x.c 2005-02-05

[2.6 patch] sysctl.c: make some code static

2005-02-04 Thread Adrian Bunk
This patch makes some needlessly global code static. Signed-off-by: Adrian Bunk [EMAIL PROTECTED] --- include/linux/sysctl.h |7 --- kernel/sysctl.c| 95 + 2 files changed, 49 insertions(+), 53 deletions(-) ---

Re: [patch] ns558 bug

2005-02-04 Thread Andrew Morton
[EMAIL PROTECTED] (Adam Belay) wrote: On Fri, Feb 04, 2005 at 09:00:54PM +0100, matthieu castet wrote: Hi, this patch is based on http://bugzilla.kernel.org/show_bug.cgi?id=2962 patch from adam belay. It solve a oops when pnp_register_driver(ns558_pnp_driver) failed.

Re: 3TB disk hassles

2005-02-04 Thread Bodo Eggert
Neil Conway [EMAIL PROTECTED] wrote: I thought sure I had read somewhere that typical x86 PC BIOSes just didn't understand the GPT ptbl, and thus couldn't boot from a GPT'ed disk. No common x86 BIOS can understand any partition table. Booting is done by loading the first sector of the boot

Re: [patch] ns558 bug

2005-02-04 Thread Adam Belay
On Fri, Feb 04, 2005 at 07:06:14PM -0800, Andrew Morton wrote: It looks ok. My only concern is what would happen if the isa probe succeded but the pnp_register_driver failed? pnp_register_driver return -ENODEV if CONFIG_PNP isn't enabled. Do you think this would conflict with legacy probing?

Re: [patch] ns558 bug

2005-02-04 Thread Andrew Morton
[EMAIL PROTECTED] (Adam Belay) wrote: It looks ok. My only concern is what would happen if the isa probe succeded but the pnp_register_driver failed? pnp_register_driver return -ENODEV if CONFIG_PNP isn't enabled. Do you think this would conflict with legacy probing? Fair enough. How

Re: [patch] ns558 bug

2005-02-04 Thread Adam Belay
On Fri, Feb 04, 2005 at 07:21:15PM -0800, Andrew Morton wrote: [EMAIL PROTECTED] (Adam Belay) wrote: It looks ok. My only concern is what would happen if the isa probe succeded but the pnp_register_driver failed? pnp_register_driver return -ENODEV if CONFIG_PNP isn't enabled.

Re: [patch] ns558 bug

2005-02-04 Thread Andrew Morton
[EMAIL PROTECTED] (Adam Belay) wrote: As a more general solution for all drivers, I've been thinking about doing something like this in the long term. int ret; if (!(ret = register_driver(ns558_driver))) return ret; add_driver_protocol(ns558_driver, ns558_pnp);

ftp.kernel.org was broken

2005-02-04 Thread YOSHIMURA Keitaro
Hi. ftp.kernel.org is broken. The contents are empty, and root(uid/gid) is displayed as 0 though /pub directory is seen. Will you be maintaining it now? If it is it, you might stop the ftp daemon. (Though it might be a breakdown of the disk or something. ) -- | YOSHIMURA 'ramsy' Keitaro /

Re: e1000, sshd, and the infamous Corrupted MAC on input

2005-02-04 Thread Ethan Weinstein
Matt Mackall wrote: Ok, reproduceable without ssh makes narrowing this down much easier. Are you seeing errors on the interface? No would indicate problems post CRC checking on the receive side. Do errors happen in both directions? If not, it may be CPU speed-related or specific to a given NIC -

[PATCH] 2.6.11-rc3 fix compile failure in arch/i386/kernel/i387.c

2005-02-04 Thread Michael Frank at BerliOS
Using patch-2.6.11-rc3.bz2 from kernel.org on top of 2.6.10, a compile failure in /arch/i386/kernel/i387.c due to tsk-used_math undef. The patch log shows offsets but no rejects patching file arch/i386/kernel/i387.c Hunk #6 succeeded at 538 (offset 15 lines). Hunk #7 succeeded at 553 (offset 15

Re: [PATCH] 2.6.11-rc3 fix compile failure in arch/i386/kernel/i387.c

2005-02-04 Thread Al Viro
On Sat, Feb 05, 2005 at 06:29:06AM +0100, Michael Frank at BerliOS wrote: Using patch-2.6.11-rc3.bz2 from kernel.org on top of 2.6.10, a compile failure in /arch/i386/kernel/i387.c due to tsk-used_math undef. The patch log shows offsets but no rejects patching file arch/i386/kernel/i387.c

Re: [patch] Real-Time Preemption, -RT-2.6.11-rc2-V0.7.37-02

2005-02-04 Thread Steven Rostedt
On Thu, 2005-02-03 at 21:18 -0500, Steven Rostedt wrote: Here's the problem: If I raise the priorities of the processes before zeroing the semaphore, the machine hangs. If I zero the semaphore before raising the priorities, the program runs fine. Hi Ingo, I've looked into this and found

[XFRM]: Probe selected algorithm only - 2.6.11-rc3 IPSEC problem

2005-02-04 Thread Andy
Using 2.6.11-rc3 with Openswan, no IPSEC SA can be established. Kernel logs kernel: ESP: md5 digestsize 16 != 0 and netlink returns an error. The changes to XFRM in 2.6.11-rc3 have an error in xfrm_algo.c such that xfrm_aalg_get_byname() always returns digest_null (which would indeed have a zero

Re: [PATCH 0/7] driver core: export MAJOR/MINOR to the hotplug env

2005-02-04 Thread Greg KH
On Wed, Feb 02, 2005 at 01:48:12AM +0100, Kay Sievers wrote: On Tue, Feb 01, 2005 at 02:56:25PM -0800, Greg KH wrote: Hm, that class_simple interface is looking like the way we should move toward, as it's simple to use, instead of the more complex class code. I'll have to look at migrating

Re: [2.6 patch] input: make some code static

2005-02-04 Thread Vojtech Pavlik
On Fri, Feb 04, 2005 at 04:56:45PM -0500, Dmitry Torokhov wrote: On Fri, 4 Feb 2005 22:39:55 +0100, Adrian Bunk [EMAIL PROTECTED] wrote: This patch makes some needlessly global code static. Hi Adrian, I merged your patch into my tree and it is ready for Vojtech to pull from. Dmitry,

Re: [2.6 patch] input/gameport/cs461x.c: make 2 functions static

2005-02-04 Thread Vojtech Pavlik
On Sat, Feb 05, 2005 at 03:41:32AM +0100, Adrian Bunk wrote: This patch makes two needlessly global functions static. Signed-off-by: Adrian Bunk [EMAIL PROTECTED] Thanks, applied. -- Vojtech Pavlik SuSE Labs, SuSE CR - To unsubscribe from this list: send the line unsubscribe linux-kernel in

Re: [PATCH] relayfs redux, part 3

2005-02-04 Thread Andi Kleen
The main reason would be that length would be 0 only if the buffers were full, so the caller can suspend writing if it sees that, until e.g. a daemon catches up. Would be? Is there actually any caller doing this? Better eliminate it and if someone really does it add a separate function that

Re: [PATCH 2.6.11-rc3] IBM Trackpoint support

2005-02-04 Thread Dmitry Torokhov
On Friday 04 February 2005 09:45, Vojtech Pavlik wrote: On Fri, Feb 04, 2005 at 09:17:33AM -0500, Dmitry Torokhov wrote: It is still a problem if driver is registered after the port has been detected wich quite often is the case as many people have psmouse as a module. I wonder if

Re: 2.6.10: kswapd spins like crazy

2005-02-04 Thread Terje Fåberg
Nick Piggin [EMAIL PROTECTED] skrev: OK that's good to know. At this stage it is only working around the intermediate symptoms, and we might want a different fix for 2.6.11... So hopefully you'll be able to test a patch or two if you get time. Sure. Just drop me a mail. I'm glad if I can

Re: ftp.kernel.org was broken

2005-02-04 Thread Grant
Hi there, On Sat, 05 Feb 2005 13:13:32 +0900, you wrote: Hi. ftp.kernel.org is broken. The contents are empty, and root(uid/gid) is displayed as 0 though /pub directory is seen. The country code versions appear to be working, I tried 'au' and 'jp': ftp.au.kernel.org ftp.jp.kernel.org

[PATCH] x86-64: Fix compilation of 2.6.11rc3

2005-02-04 Thread Andi Kleen
[Linus, please apply before 2.6.11] CC arch/x86_64/kernel/asm-offsets.s arch/x86_64/kernel/asm-offsets.c: In function `main': arch/x86_64/kernel/asm-offsets.c:65: error: invalid application of `sizeof' to an incomplete type This patch fixes a compile problem on x86-64 when

Re: [PATCH] 2.6.11-rc3 fix compile failure in arch/i386/kernel/i387.c

2005-02-04 Thread Michael Frank at BerliOS
On Saturday 05 February 2005 13:36, you wrote: On Sat, Feb 05, 2005 at 06:29:06AM +0100, Michael Frank at BerliOS wrote: Using patch-2.6.11-rc3.bz2 from kernel.org on top of 2.6.10, a compile failure in /arch/i386/kernel/i387.c due to tsk-used_math undef. The patch log shows offsets but

Re: ftp.kernel.org was broken

2005-02-04 Thread Gene Heskett
On Saturday 05 February 2005 02:21, Grant wrote: Hi there, On Sat, 05 Feb 2005 13:13:32 +0900, you wrote: Hi. ftp.kernel.org is broken. The contents are empty, and root(uid/gid) is displayed as 0 though /pub directory is seen. The country code versions appear to be working, I tried 'au' and

Re: [PATCH] PPC/PPC64: Introduce CPU_HAS_FEATURE() macro

2005-02-04 Thread Pekka Enberg
On Fri, 2005-02-04 at 11:20 -0600, Olof Johansson wrote: * cpu-has-feature(cpu-feature-foo) v cpu-has-feature(foo): I picked the latter for readability. * Renaming CPU_FTR_x - CPU_x makes it less obvious that it's actually a cpu feature it's describing (i.e. CPU_ALTIVEC vs CPU_FTR_ALTIVEC).

Re: [PATCH] 2.6.11-rc3 fix compile failure in arch/i386/kernel/i387.c

2005-02-04 Thread Sam Ravnborg
On Sat, Feb 05, 2005 at 08:40:14AM +0100, Michael Frank at BerliOS wrote: My local tree which was built incrementally since 2.6.8 or so has an extra function: $ mdiff -kd xx linux-2.6.10-Vanilla linux-2.6.10-Today diff -uN -r -X /etc/sys/dont/kexdiff linux-2.6.10-Vanilla/Makefile

Re: [PATCH 2.6.11-rc2 13/14] ide_pci: Removes unused SVWKS_DEBUG_DRIVE_INFO

2005-02-04 Thread Tejun Heo
13_ide_pci_serverworks_cleanup.patch Removes unused SVWKS_DEBUG_DRIVE_INFO from ide/pci/serverworks driver. Signed-off-by: Tejun Heo [EMAIL PROTECTED] Index: linux-idepci-export/drivers/ide/pci/serverworks.h ===

Re: [PATCH 2.6.11-rc2 10/14] ide_pci: Removes SPLIT_BYTE macro from pdc202xx_old

2005-02-04 Thread Tejun Heo
10_ide_pci_pdc202xx_old_cleanup.patch Removes SPLIT_BYTE macro from ide/pci/pdc202xx_old driver. Signed-off-by: Tejun Heo [EMAIL PROTECTED] Index: linux-idepci-export/drivers/ide/pci/pdc202xx_old.c === ---

Re: [PATCH 2.6.11-rc2 08/14] ide_pci: Merges opti621.h into opti621.c

2005-02-04 Thread Tejun Heo
08_ide_pci_opti621_merge.patch Merges ide/pci/opti621.h into opti621.c. Signed-off-by: Tejun Heo [EMAIL PROTECTED] Index: linux-idepci-export/drivers/ide/pci/opti621.c === ---

Re: [PATCH 2.6.11-rc2 07/14] ide_pci: Merges it8172.h into it8172.c

2005-02-04 Thread Tejun Heo
07_ide_pci_it8172_merge.patch Merges ide/pci/it8172.h into it8172.c. Signed-off-by: Tejun Heo [EMAIL PROTECTED] Index: linux-idepci-export/drivers/ide/pci/it8172.c === ---

Re: [PATCH 2.6.11-rc2 04/14] ide_pci: Merges cy82c693.h into cy82c693.c

2005-02-04 Thread Tejun Heo
04_ide_pci_cy82c693_merge.patch Merges ide/pci/cy82c693.h into cy82c693.c. Signed-off-by: Tejun Heo [EMAIL PROTECTED] Index: linux-idepci-export/drivers/ide/pci/cy82c693.c === ---

Re: [PATCH 2.6.11-rc2 01/14] ide_pci: Remove lousy macros from aec62xx.

2005-02-04 Thread Tejun Heo
01_ide_pci_aec62xx_cleanup.patch Removes SPLIT_BYTE, MAKE_WORD and BUSCLOCK macros which are just better off directly coded from ide/pci/aec62xx driver. Signed-off-by: Tejun Heo [EMAIL PROTECTED] Index: linux-idepci-export/drivers/ide/pci/aec62xx.c

Re: [PATCH 2.6.11-rc2 11/29] ide: add ide_drive_t.sleeping

2005-02-04 Thread Jens Axboe
On Fri, Feb 04 2005, Tejun Heo wrote: Bartlomiej Zolnierkiewicz wrote: On Thu, 3 Feb 2005 14:32:29 +0100, Jens Axboe [EMAIL PROTECTED] wrote: On Thu, Feb 03 2005, Bartlomiej Zolnierkiewicz wrote: On Thu, 3 Feb 2005 12:37:10 +0100, Jens Axboe [EMAIL PROTECTED] wrote: On Thu, Feb 03 2005,

Re: [PATCH] arp_queue: serializing unlink + kfree_skb

2005-02-04 Thread Olaf Kirch
On Fri, Feb 04, 2005 at 12:55:39PM +1100, Herbert Xu wrote: OK, here is the patch to do that. Let's get rid of kfree_skb_fast while we're at it since it's no longer used. Thanks, I'll give that to the PPC folks and ask the to run with it. Regards, Olaf -- Olaf Kirch | --- o --- Nous

Re: [PATCH] arp_queue: serializing unlink + kfree_skb

2005-02-04 Thread Herbert Xu
On Thu, Feb 03, 2005 at 03:08:21PM -0800, David S. Miller wrote: Ok, here goes nothing. Can someone run with this? It should be rather complete, and require only minor editorial work. Thanks. It's a very nice piece of work. A missing memory barrier in the cases where they are required

Re: RFC: [PATCH-2.6] Add helper function to lock multiple page cache pages - nopage alternative

2005-02-04 Thread Hugh Dickins
On Fri, 4 Feb 2005, Anton Altaparmakov wrote: On Thu, 2005-02-03 at 11:23 -0800, Bryan Henderson wrote: I think the point is that we can't have a handler for writes, because the writes are being done by simple CPU Store instructions in a user program. The handler we're talking about

Re: SysKonnect sk98lin Gigabit lan missing in action from 2.6.10 on

2005-02-04 Thread Jeff Garzik
maxer wrote: What is the status of sk98lin? Do we have to wait until Syskonnect gets their act together and write a new driver for 2.6.10? Their latest is Oct 2004 and not at all compatible with 2.6.10 and beyond. I've been telling SysKonnect for _years_ that they need to split up their

Re: SysKonnect sk98lin Gigabit lan missing in action from 2.6.10 on

2005-02-04 Thread Lawrence Walton
Jeff Garzik [EMAIL PROTECTED] wrote: maxer wrote: What is the status of sk98lin? Do we have to wait until Syskonnect gets their act together and write a new driver for 2.6.10? Their latest is Oct 2004 and not at all compatible with 2.6.10 and beyond. I've been telling SysKonnect for

Re: [PATCH] arp_queue: serializing unlink + kfree_skb

2005-02-04 Thread David S. Miller
On Fri, 4 Feb 2005 22:33:05 +1100 Herbert Xu [EMAIL PROTECTED] wrote: I think you should probably note that some sort of locking or RCU scheme is required to make this safe. As it is the atomic_inc and the list_add can be reordered such that the atomic_inc occurs after the

Re: [PATCH REPOST 2.6.11-rc2 14/14] ide_pci: Merges serverworks.h into serverworks.c

2005-02-04 Thread Tejun Heo
Sorry, the original #14 added back SVWKS_DEBUG_DRIVE_INFO which #13 removed. This is the regenerated patch. 14_ide_pci_serverworks_merge.patch Merges ide/pci/serverworks.h into serverworks.c. Signed-off-by: Tejun Heo [EMAIL PROTECTED] Index:

[-mm PATCH] driver model: PM type conversions in drivers/serial

2005-02-04 Thread Daniel Drake
This fixes PM driver model type checking for drivers/serial. Acked by Pavel Machek. Signed-off-by: Daniel Drake [EMAIL PROTECTED] diff -urNpX dontdiff linux-2.6.11-rc2-mm2/drivers/serial/amba-pl010.c linux-dsd/drivers/serial/amba-pl010.c --- linux-2.6.11-rc2-mm2/drivers/serial/amba-pl010.c

[PATCH 2.6.11-rc2] ide: driver updates (phase 2)

2005-02-04 Thread Tejun Heo
Hello, Bartlomiej. These are reordered/modified/(hopefully)appliable nine patches from the previous series of patches. #01 is the only new one. It kills the unused pkt_task_t in ide.h. #02/#03 are moved upward and #04 is modified as you've requested. #05/#08 now directly use taskfile

[RFC: 2.6 patch] IDE: unsexport 3 functions

2005-02-04 Thread Adrian Bunk
The patch removes three unneeded EXPORT_SYMBOL's. Signed-off-by: Adrian Bunk [EMAIL PROTECTED] --- drivers/ide/ide-iops.c |4 drivers/ide/ide-taskfile.c |2 -- 2 files changed, 6 deletions(-) --- linux-2.6.11-rc3-mm1-full/drivers/ide/ide-iops.c.old2005-02-05

Re: PROBLEM: 2.6.11-rc2 hangs on bridge shutdown (br0)

2005-02-04 Thread Herbert Xu
On Mon, Jan 31, 2005 at 04:22:02PM +, Mirko Parthey wrote: How to reproduce the problem (I tried this on a Pentium 4 machine): boot: linux init=/bin/bash [...booting...] # mount proc -t proc /proc # ifconfig lo 127.0.0.1 # brctl addbr br0 # modprobe e100 # also

Re: PROBLEM: 2.6.11-rc2 hangs on bridge shutdown (br0)

2005-02-04 Thread David S. Miller
On Sat, 5 Feb 2005 16:24:07 +1100 Herbert Xu [EMAIL PROTECTED] wrote: This is the key to the problem. ... All of these bugs stem from the idev reference held in rtable/rt6_info. ... Anyway, this particular problem is due to IPv6 adding local addresses with split devices. That is, routes to

Re: PROBLEM: 2.6.11-rc2 hangs on bridge shutdown (br0)

2005-02-04 Thread Herbert Xu
On Fri, Feb 04, 2005 at 09:38:13PM -0800, David S. Miller wrote: It is just the first such thing I found, scanning rt6i_idev uses will easily find several others. You're right of course. I thought they were all harmless but I was obviously wrong about this one. So here is a patch that

Re: PROBLEM: 2.6.11-rc2 hangs on bridge shutdown (br0)

2005-02-04 Thread David S. Miller
On Sat, 5 Feb 2005 17:11:10 +1100 Herbert Xu [EMAIL PROTECTED] wrote: You're right of course. I thought they were all harmless but I was obviously wrong about this one. So here is a patch that essentially reverts the split devices semantics introduced by these two changesets: [IPV6]

Re: [PATCH] arp_queue: serializing unlink + kfree_skb

2005-02-04 Thread David S. Miller
On Fri, 4 Feb 2005 15:48:55 -0800 David S. Miller [EMAIL PROTECTED] wrote: Something like that. I'll update the atomic_ops.txt doc and post and updated version later tonight. Ok, as promised, here is the updated doc. Who should I author this as? Perhaps Anton's evil twin :-) ---

Re: PROBLEM: 2.6.11-rc2 hangs on bridge shutdown (br0)

2005-02-04 Thread Herbert Xu
On Fri, Feb 04, 2005 at 10:13:44PM -0800, David S. Miller wrote: But Herbert, let's take a step back real quick because I want to point something out. IPv6 does try to handle the dangling mismatched idev's, in route.c:ip6_dst_ifdown(), this is called via net/core/dst.c:dst_ifdown(), and

Re: [PATCH] arp_queue: serializing unlink + kfree_skb

2005-02-04 Thread Herbert Xu
On Fri, Feb 04, 2005 at 10:24:28PM -0800, David S. Miller wrote: Ok, as promised, here is the updated doc. Who should Looks good David. -- Visit Openswan at http://www.openswan.org/ Email: Herbert Xu ~{PmVHI~} [EMAIL PROTECTED] Home Page: http://gondor.apana.org.au/~herbert/ PGP Key:

Re: Race condition in ptrace

2005-02-04 Thread Bodo Stroesser
Nick Piggin wrote: Bodo Stroesser wrote: Working with the new UML skas0 mode on my Xeon HT host, sporadically I saw some processes on UML segfaulting. In all cases, I could track this down to be caused by a gs segment register, that had the wrong contents. This again is caused by a problem in

Re: [uml-devel] Re: [PATCH 2.6] 4/7 replace uml_strdup by kstrdup

2005-02-04 Thread Paulo Marques
Blaisorblade wrote: [...] For UML, you should probably add the prototype to a good header inside arch/um/include (those headers are in the searchpath for every file under arch/um) - probably the one which declared uml_strdup. Yes, we have had to duplicate prototypes for many functions... for

Fix compilation of UML after the stack-randomization patches

2005-02-04 Thread Frank Sorenson
The stack randomization patches that went into 2.6.11-rc3-mm1 broke compilation of ARCH=um. This patch fixes compiling by adding arch_align_stack back in. Signed-off-by: Frank Sorenson [EMAIL PROTECTED] Acked-By: Jeff Dike [EMAIL PROTECTED] Frank -- Frank Sorenson - KD7TZK Systems Manager,

[patch 1/8] uml: fix compilation for missing headers [before 2.6.11]

2005-02-04 Thread blaisorblade
From: Paolo 'Blaisorblade' Giarrusso [EMAIL PROTECTED] Readd some needed headers inclusion deleted in http://linux.bkbits.net:8080/linux-2.5/[EMAIL PROTECTED] If you think it cannot make sense to include both sys/ptrace.h and linux/ptrace.h (as userspace process, i.e. host includes), go

[patch 0/8] uml: important patches to merge before 2.6.11

2005-02-04 Thread Blaisorblade
Andrew Morton, these are needed fixes for UML to go in before 2.6.11 release. These patches also depend onto the just sent-and-merged (in the BitKeeper repository) [PATCH] UML - compile fixes for 2.6.11-rc3. Finally, you also confirmed on Fri Jan 28 23:10:28 2005 that you have pending this

[patch 6/8] uml: fix broken #ifdef clause causing crashes [before 2.6.11]

2005-02-04 Thread blaisorblade
From: Paolo 'Blaisorblade' Giarrusso [EMAIL PROTECTED], Jeff Dike [EMAIL PROTECTED] The previous ifdef to check whether to use the host's vsyscall page was buggy. This bug can cause crashes. Signed-off-by: Paolo 'Blaisorblade' Giarrusso [EMAIL PROTECTED] ---

[patch 5/8] uml: fix jiffies initialization [before 2.6.11]

2005-02-04 Thread blaisorblade
From: Jeff Dike [EMAIL PROTECTED], Paolo 'Blaisorblade' Giarrusso [EMAIL PROTECTED] Initialize jiffies_64 to INITIAL_JIFFIES. Signed-off-by: Paolo 'Blaisorblade' Giarrusso [EMAIL PROTECTED] --- linux-2.6.11-paolo/arch/um/kernel/time_kern.c |2 +- 1 files changed, 1 insertion(+), 1

[patch 3/8] uml: Fix SKAS sig-handler reentrancy [before 2.6.11]

2005-02-04 Thread blaisorblade
From: Jeff Dike [EMAIL PROTECTED], Paolo 'Blaisorblade' Giarrusso [EMAIL PROTECTED] CC: uml-devel user-mode-linux-devel@lists.sourceforge.net This adds code which enables SIGSEGV reception to the SKAS sig_handler_common, which matches the tt code. I still need to figure out why the SA_NODEFER

[patch 8/8] uml: fix x86_64 submode compilation [before 2.6.11]

2005-02-04 Thread blaisorblade
From: Jeff Dike [EMAIL PROTECTED] Forgot to use ARCH_USER_CFLAGS after defining it for x86_64. Signed-off-by: Paolo 'Blaisorblade' Giarrusso [EMAIL PROTECTED] --- linux-2.6.11-paolo/arch/um/Makefile |2 +- 1 files changed, 1 insertion(+), 1 deletion(-) diff -puN

[patch 4/8] uml: disallow stack access below $esp like i386 / x86_64 [before 2.6.11]

2005-02-04 Thread blaisorblade
From: Bodo Stroesser [EMAIL PROTECTED] When a page fault occurs on an address below the stack-vma, UML tries to expand the stack. On i386 and x86_64, the failing address is compared to the current userspace stack pointer. If the failing address is below esp-32 resp. rsp-128, stack expansion is

[patch 2/8] uml: kconfig fixes [before 2.6.11]

2005-02-04 Thread blaisorblade
Change some config text (hide CONFIG_MODVERSION which is broken on UML and fix a dummy prompt). Signed-off-by: Paolo 'Blaisorblade' Giarrusso [EMAIL PROTECTED] --- linux-2.6.11-paolo/arch/um/Kconfig |6 ++ linux-2.6.11-paolo/init/Kconfig|2 +- 2 files changed, 3 insertions(+),

[patch 7/8] uml: fix STATIC_LINK compilation [before 2.6.11]

2005-02-04 Thread blaisorblade
From: Jeff Dike [EMAIL PROTECTED] This fixes a bug which assumes that __binary_start starts on a page boundary, which isn't true when UML is configured to load into the normal executable area. Signed-off-by: Paolo 'Blaisorblade' Giarrusso [EMAIL PROTECTED] ---

Re: Race condition in ptrace

2005-02-04 Thread Andrew Morton
Nick Piggin [EMAIL PROTECTED] wrote: Bodo Stroesser wrote: Nick Piggin wrote: Bodo Stroesser wrote: I don't see how this could help because AFAIKS, child-saving is only set and cleared while the runqueue is locked. And the same runqueue lock is taken by wait_task_inactive.

Re: Race condition in ptrace

2005-02-04 Thread Nick Piggin
Andrew Morton wrote: Nick Piggin [EMAIL PROTECTED] wrote: Bodo Stroesser wrote: Nick Piggin wrote: Bodo Stroesser wrote: I don't see how this could help because AFAIKS, child-saving is only set and cleared while the runqueue is locked. And the same runqueue lock is taken by wait_task_inactive.

Re: Race condition in ptrace

2005-02-04 Thread Nick Piggin
Bodo Stroesser wrote: Nick Piggin wrote: Bodo Stroesser wrote: I don't see how this could help because AFAIKS, child-saving is only set and cleared while the runqueue is locked. And the same runqueue lock is taken by wait_task_inactive. Sorry, that not right. There are some routines called by

Re: Race condition in ptrace

2005-02-04 Thread Nick Piggin
Nick Piggin wrote: Andrew Morton wrote: Nick Piggin [EMAIL PROTECTED] wrote: Andrew, IMO this is another bug to hold 2.6.11 for. Sure. I wouldn't consider Bodo's patch to be the one to use though.. No. Something similar could be done that works on all architectures and all wait_task_inactive

Re: [PATCH] Devices.txt, update with LANANA

2005-02-04 Thread Torben Mathiasen
On Thu, Feb 03 2005, Greg KH wrote: snip Hm, this is just wrong. As I recall, LANANA is in charge of the major numbers, but for the USB major, the USB developers have been assigning the USB minors. This patch just made the file different from what is currently present in the kernel.

Re: Fw: Re: 2.6.11-rc2-mm2

2005-02-04 Thread Vojtech Pavlik
On Mon, Jan 31, 2005 at 02:08:26PM -0500, Paul Blazejowski wrote: On Sun, 30 Jan 2005 18:31:24 -0500, Dmitry Torokhov [EMAIL PROTECTED] wrote: On Sunday 30 January 2005 16:01, Andrew Morton wrote: Did someone break usb input? Begin forwarded message: Date: Sun, 30 Jan 2005

Re: [linux-usb-devel] 2.6: USB disk unusable level of data corruption

2005-02-04 Thread David Brownell
On Friday 04 February 2005 4:16 am, Rusty Russell wrote: Is USB/SCSI just terminally broken under 2.6? I don't think so, but there are problems that appear in some hardware configs and not others. Many folk report no problems; a (very) few report nothing but. If you've verified this on

Re: [linux-usb-devel] 2.6: USB disk unusable level of data corruption

2005-02-04 Thread Alan Stern
On Fri, 4 Feb 2005, Rusty Russell wrote: OK, I recently made the mistake of buying a USB case with a drive in it and putting my home directory on it. I have since then had multiple ext3 and ext2 errors: 2.6.8, 2.6.9, 2.6.10 and 2.6.11-rc3 all exhibit the problem within an hour of stress

  1   2   3   4   5   6   7   >