Re: [PATCH] no need to check for NULL before calling kfree() - fs/ext2/

2005-03-25 Thread Pekka Enberg
Hi, On Fri, 25 Mar 2005 17:29:56 -0500 (EST), linux-os <[EMAIL PROTECTED]> wrote: > Isn't it expensive of CPU time to call kfree() even though the > pointer may have already been freed? I suggest that the check > for a NULL before the call is much less expensive than calling > kfree() and doing

Re: [PATCH scsi-misc-2.6 08/08] scsi: fix hot unplug sequence

2005-03-25 Thread Kai Makisara
On Fri, 25 Mar 2005, James Bottomley wrote: > On Fri, 2005-03-25 at 14:38 +0900, Tejun Heo wrote: > > We have users of scsi_do_req() other than scsi_wait_req() and they > > use different done() functions to do different things. I've checked > > other done functions and none uses contents inside

Re: [ACPI] Re: 2.6.12-rc1-mm3

2005-03-25 Thread Jason Uhlenkott
On Fri, Mar 25, 2005 at 11:12:39PM -0500, Len Brown wrote: > I realize now I didn't answer your original question. > The reason ACPI now depends on PM is that > it makes it easier for us to do a more orderly shutdown -- > acpi registers as a device so it can do some stuff > upon the PM device

Linux 2.4.30-rc2

2005-03-25 Thread Marcelo Tosatti
Hi, Here goes the second release candidate for v2.4.30. It contains a bunch of security updates (ext2 mkdir leak, af_bluetooth range checking, isofs corrupt media, load_elf_library DoS), an ia64 update, another round of networking fixes, amongst others. If nothing terrible shows up, this will

[PATCH libata-dev-2.6] sata_sil: updated mod15write workaround

2005-03-25 Thread Tejun Heo
Hello, Jeff. This is the updated version of mod15write workaround. Changes are * sg list restoration on completion * debug code to verify sg list doesn't get changed * updated against the latest libata-dev-2.6 * more comments I think the code is okay, but I left the debug code there

Re: [patch] Real-Time Preemption, -RT-2.6.12-rc1-V0.7.41-10

2005-03-25 Thread Lee Revell
On Fri, 2005-03-25 at 23:39 +0100, Ingo Molnar wrote: > * Lee Revell <[EMAIL PROTECTED]> wrote: > > > On Fri, 2005-03-25 at 15:59 +0100, Ingo Molnar wrote: > > > i have released the -V0.7.41-10 Real-Time Preemption patch, which can be > > > downloaded from the usual place: > > > > > >

Re: [0/12] More Driver Model Locking Changes

2005-03-25 Thread Greg KH
On Fri, Mar 25, 2005 at 04:03:09PM -0800, Greg KH wrote: > > Oh, looks like pci express now has problems too, I'll go hit that one > next... Here's a fix for pci express. For some reason I don't think they are using the driver model properly here, but I could be wrong... thanks, greg k-h

Re: [RFC] CryptoAPI & Compression

2005-03-25 Thread Herbert Xu
Hi Artem: On Fri, Mar 25, 2005 at 04:08:20PM +, Artem B. Bityuckiy wrote: > > I'm working on cleaning-up the JFFS3 compression stuff. JFFS3 contains a > number of compressors which actually shouldn't be there as they are > platform-independent and generic. So we want to move them to the

Re: OOPS running "ls -l /sys/class/i2c-adapter/*"-- 2.6.12-rc1-mm2

2005-03-25 Thread Miles Lane
On Fri, 25 Mar 2005 20:50:35 +0100, Jean Delvare <[EMAIL PROTECTED]> wrote: > > > [EMAIL PROTECTED]:/sys/class/i2c-adapter/i2c-1# ls > > > ./ ../ device@ > > > [EMAIL PROTECTED]:/sys/class/i2c-adapter/i2c-1# ls -l > > > Segmentation fault > > > > What device is that, and which driver is handling

Re: 2.6.12-rc1-mm3

2005-03-25 Thread Paul Blazejowski
Something funky going on with ACPI on nForce2? NFS is no go either. Linux version 2.6.12-rc1-mm3 ([EMAIL PROTECTED]) (gcc version 3.3.4) #2 PREEMPT Fri Mar 25 14:30:56 EST 2005 [snip ...] ACPI: Subsystem revision 20050309 ACPI: Interpreter enabled ACPI: Using IOAPIC for interrupt routing ACPI:

Re: [ACPI] Re: 2.6.12-rc1-mm3

2005-03-25 Thread Len Brown
On Fri, 2005-03-25 at 21:57, Jason Uhlenkott wrote: > On Fri, Mar 25, 2005 at 09:24:21PM -0500, Len Brown wrote: > > What bad things happen if you define CONFIG_PM on SN2? > > None, other than slightly enlarging the kernel with some > suspend/resume stuff we don't care about. It's always been >

Re: Linux 2.6.11.6

2005-03-25 Thread Chris Wright
* Hua Zhong ([EMAIL PROTECTED]) wrote: > > int bt_sock_unregister(int proto) > > { > > - if (proto >= BT_MAX_PROTO) > > + if (proto < 0 || proto >= BT_MAX_PROTO) > > return -EINVAL; > > Just curious: would it be better to say > > if ((unsigned int)proto >= BT_MAX_PTORO) the

Re: Squashfs without ./..

2005-03-25 Thread Phillip Lougher
H. Peter Anvin wrote: Phil Lougher wrote: Making readdir return '.' and '..' is trivially easy, as all the required information to fake '.' and '..' entries are present. The lack of '.' and '..' entries hasn't caused any problems despite cramfs/squashfs being used for a large number of years. I'm

Re: Linux 2.6.11.6

2005-03-25 Thread Kyle Moffett
On Mar 25, 2005, at 22:47, Hua Zhong wrote: int bt_sock_unregister(int proto) { - if (proto >= BT_MAX_PROTO) + if (proto < 0 || proto >= BT_MAX_PROTO) return -EINVAL; Just curious: would it be better to say if ((unsigned int)proto >= BT_MAX_PTORO) Erm, it _would_

Re: [0/12] More Driver Model Locking Changes

2005-03-25 Thread Greg KH
On Fri, Mar 25, 2005 at 06:24:58PM -0800, Patrick Mochel wrote: > On Fri, 25 Mar 2005, Greg KH wrote: > > Oh, looks like pci express now has problems too, I'll go hit that one > > next... > > Bah, sorry about that. What config are you using to test, 'allmodconfig'? Yup. Looks like pci express

Re: Squashfs without ./..

2005-03-25 Thread H. Peter Anvin
Phil Lougher wrote: Making readdir return '.' and '..' is trivially easy, as all the required information to fake '.' and '..' entries are present. The lack of '.' and '..' entries hasn't caused any problems despite cramfs/squashfs being used for a large number of years. I'm inclined to believe

Re: [PATCH 6/7] - MPT FUSION - SPLITTING SCSI HOST DRIVERS

2005-03-25 Thread James Bottomley
On Thu, 2005-03-24 at 16:57 -0700, Moore, Eric Dean wrote: > +static struct device_attribute mptscsih_queue_depth_attr = { > + .attr = { > + .name = "queue_depth", > + .mode = S_IWUSR, > + }, > + .store = mpt_core_store_queue_depth, >

Re: Squashfs without ./..

2005-03-25 Thread Phil Lougher
On Thu, 24 Mar 2005 15:13:08 -0500, Kyle Moffett <[EMAIL PROTECTED]> wrote: > I would add ".." and "." to squashfs, just so that it acts like the rest > of the filesystems on the planet, Cramfs also doesn't store '.' and '..', which is where I got the idea from in the first place when originally

RE: Linux 2.6.11.6

2005-03-25 Thread Hua Zhong
> int bt_sock_unregister(int proto) > { > - if (proto >= BT_MAX_PROTO) > + if (proto < 0 || proto >= BT_MAX_PROTO) > return -EINVAL; Just curious: would it be better to say if ((unsigned int)proto >= BT_MAX_PTORO) ? Is it faster too? Hua - To unsubscribe from this

Re: [ACPI] Re: 2.6.12-rc1-mm3

2005-03-25 Thread Jesse Barnes
On Friday, March 25, 2005 6:57 pm, Jason Uhlenkott wrote: > On Fri, Mar 25, 2005 at 09:24:21PM -0500, Len Brown wrote: > > What bad things happen if you define CONFIG_PM on SN2? > > None, other than slightly enlarging the kernel with some > suspend/resume stuff we don't care about. It's always

Re: Linux 2.6.11.6

2005-03-25 Thread Chris Wright
diff -Nru a/Makefile b/Makefile --- a/Makefile 2005-03-25 18:26:00 -08:00 +++ b/Makefile 2005-03-25 18:26:00 -08:00 @@ -1,7 +1,7 @@ VERSION = 2 PATCHLEVEL = 6 SUBLEVEL = 11 -EXTRAVERSION = .5 +EXTRAVERSION = .6 NAME=Woozy Numbat # *DOCUMENTATION* diff -Nru a/fs/binfmt_elf.c

Linux 2.6.11.6

2005-03-25 Thread Chris Wright
With some pending security fixes it's time to for a -stable update. So, here's 2.6.11.6, in the normal kernel.org places. This includes some security fixes, esp. one which closes a local root exploit in bluetooth. The diffstat and short summary of the fixes are below. I'll also be replying to

Re: [PATCH 1/7] - MPT FUSION - SPLITTING SCSI HOST DRIVERS

2005-03-25 Thread James Bottomley
On Thu, 2005-03-24 at 16:56 -0700, Moore, Eric Dean wrote: > + > config FUSION_FC > - tristate "Fusion MPT (base + ScsiHost) drivers for FC" > - depends on PCI && SCSI > + tristate "Fusion MPT (ScsiHost) drivers for FC" This rejects completely in Kconfig. Could you check your

Re: [PATCH][trivial] fix tiny spelling error in init/Kconfig

2005-03-25 Thread Randy.Dunlap
Jesper Juhl wrote: Fix spelling in init/Kconfig Signed-off-by: Jesper Juhl <[EMAIL PROTECTED]> --- linux-2.6.12-rc1-mm3-orig/init/Kconfig 2005-03-25 15:29:08.0 +0100 +++ linux-2.6.12-rc1-mm3/init/Kconfig 2005-03-26 02:24:33.0 +0100 @@ -83,7 +83,7 @@ default y

Kernel 2.6.11.5 doesn't recognize Plextor 712 SATA DVD burner

2005-03-25 Thread Andy Stewart
Hi everybody, I have a stock 2.6.11.5 kernel configured for SATA (libata), which sees my SATA hard drive but not my SATA DVD burner. My system is a dual Opteron 244 running an SMP kernel. The motherboard is MSI K8T Master2 FAR. I have only been successful in getting the SATA DVD burner to

Re: [RFC][PATCH 1/4] create mm/Kconfig for arch-independent memory options

2005-03-25 Thread Randy.Dunlap
Dave Hansen wrote: With sparsemem and memory hotplug there are quite a few options that we kept adding identically in several different architectures. This new file allows some of these to be consolidated. Signed-off-by: Andy Whitcroft <[EMAIL PROTECTED]> Signed-off-by: Dave Hansen <[EMAIL

Re: [ACPI] Re: 2.6.12-rc1-mm3

2005-03-25 Thread Jason Uhlenkott
On Fri, Mar 25, 2005 at 09:24:21PM -0500, Len Brown wrote: > What bad things happen if you define CONFIG_PM on SN2? None, other than slightly enlarging the kernel with some suspend/resume stuff we don't care about. It's always been unavailable for SN2 builds: depends on IA64_GENERIC || IA64_DIG

[PATCH] get rid of a single else clause in cifsfs.c

2005-03-25 Thread Jesper Juhl
Hi Steve, Just a small patch on top of the other ones I sent you earlier for cifsfs.c, I overlooked this trivial bit. We can get rid of the else clause in a if statement. Doesn't change anything code-wise, but shortens the file a bit and seems a bit cleaner (at least to me) - apply or not as

Re: Squashfs without ./..

2005-03-25 Thread Paul Jackson
> Yep, check `-noleaf' in find(1). No. At least the copy of find that I just looked at now, in findutils-4.1.20, makes no such assumption that "." and ".." are the first two directory entries. Rather what it does is allow you to suppress an optimization, on file systems that don't manage their

Re: Logitech MX1000 Horizontal Scrolling

2005-03-25 Thread Esben Stien
Vojtech Pavlik <[EMAIL PROTECTED]> writes: > I'm still thinking about what to do with it. You still thinking?. -- Esben Stien is [EMAIL PROTECTED] http://www.esben-stien.name irc://irc.esben-stien.name/%23contact [sip|iax]:esben-stien.name - To unsubscribe from this list: send the line

2.6.12-rc1-mm3: still having USB resume problems

2005-03-25 Thread Jeremy Fitzhardinge
Though it looks a lot better; no more streams of messages. Now when I resume, I get: PCI: Enabling device :00:1d.7 ( -> 0002) <1>Unable to handle kernel NULL pointer dereference a second or so after resume. It is completely locked up at this point; magic-sysreq gets no response. lspci

Re: [ACPI] Re: 2.6.12-rc1-mm3

2005-03-25 Thread Len Brown
On Fri, 2005-03-25 at 21:02, Jason Uhlenkott wrote: > On Fri, Mar 25, 2005 at 08:56:58PM -0500, Len Brown wrote: > > Please send me the .config you'd like to build. > > arch/ia64/configs/sn2_defconfig > > I believe that what we want to do is include CONFIG_PM. > > At first glance, it looks

Re: [0/12] More Driver Model Locking Changes

2005-03-25 Thread Patrick Mochel
On Fri, 25 Mar 2005, Greg KH wrote: > On Fri, Mar 25, 2005 at 03:39:52PM -0800, Greg KH wrote: > > But can you take a look at drivers/scsi/scsi_transport_spi.c, line 265? > > That is also going to need fixing up somehow. Gotta love that FIXME > > comment... Heh, funky. > Ok, the patch below

[PATCH 2.6.12-rc1-mm3] Fix typo in scdrv_init()

2005-03-25 Thread Jason Uhlenkott
Fix a typo in scdrv_init() which was breaking the build for SGI sn2. Signed-off-by: Jason Uhlenkott <[EMAIL PROTECTED]> Index: linux/drivers/char/snsc.c === --- linux.orig/drivers/char/snsc.c 2005-03-25 16:53:13.426753917 -0800

Re: [PATCH 0/6] freepgt: free_pgtables shakeup

2005-03-25 Thread Nick Piggin
Russell King wrote: On Wed, Mar 23, 2005 at 05:10:15PM +, Hugh Dickins wrote: Here's the recut of those patches, including David Miller's vital fixes. I'm addressing these to Nick rather than Andrew, because they're perhaps not fit for -mm until more testing done and the x86_64 32-bit vdso

Re: [ACPI] Re: 2.6.12-rc1-mm3

2005-03-25 Thread Jason Uhlenkott
On Fri, Mar 25, 2005 at 08:56:58PM -0500, Len Brown wrote: > Please send me the .config you'd like to build. arch/ia64/configs/sn2_defconfig > I believe that what we want to do is include CONFIG_PM. At first glance, it looks like that will enable suspend/resume functionality (which I don't

Re: [ACPI] Re: 2.6.12-rc1-mm3

2005-03-25 Thread Len Brown
On Fri, 2005-03-25 at 20:43, Jason Uhlenkott wrote: > On Fri, Mar 25, 2005 at 12:21:54AM -0800, Andrew Morton wrote: > > bk-acpi.patch > > This doesn't build for SGI sn2: > > arch/ia64/kernel/mca.c: In function `ia64_mca_init': > arch/ia64/kernel/mca.c:1394: error: `ACPI_INTERRUPT_CPEI'

Re: 2.6.12-rc1-mm3

2005-03-25 Thread Jason Uhlenkott
On Fri, Mar 25, 2005 at 12:21:54AM -0800, Andrew Morton wrote: > bk-acpi.patch This doesn't build for SGI sn2: arch/ia64/kernel/mca.c: In function `ia64_mca_init': arch/ia64/kernel/mca.c:1394: error: `ACPI_INTERRUPT_CPEI' undeclared (first use in this function) arch/ia64/kernel/mca.c:1394:

[PATCH][trivial] fix tiny spelling error in init/Kconfig

2005-03-25 Thread Jesper Juhl
Fix spelling in init/Kconfig Signed-off-by: Jesper Juhl <[EMAIL PROTECTED]> --- linux-2.6.12-rc1-mm3-orig/init/Kconfig 2005-03-25 15:29:08.0 +0100 +++ linux-2.6.12-rc1-mm3/init/Kconfig 2005-03-26 02:24:33.0 +0100 @@ -83,7 +83,7 @@ default y help

Re: [patch] xfrm_policy destructor fix

2005-03-25 Thread Herbert Xu
David S. Miller <[EMAIL PROTECTED]> wrote: > On Fri, 25 Mar 2005 15:34:41 +0100 > Ingo Molnar <[EMAIL PROTECTED]> wrote: > >> the patch below fixes a bug that i encountered while running a >> PREEMPT_RT kernel, but i believe it should be fixed in the generic >> kernel too. xfrm_policy_kill()

Re: How's the nforce4 support in Linux?

2005-03-25 Thread Lee Revell
On Sat, 2005-03-26 at 01:38 +0100, Julien Wajsberg wrote: > On Fri, 25 Mar 2005 18:14:22 -0500, Lee Revell <[EMAIL PROTECTED]> wrote: > > On Fri, 2005-03-25 at 23:59 +0100, Julien Wajsberg wrote: > > > - audio works too. The only problem is that two applications can't > > > open /dev/dsp in the

2.6.12-rc1-bk1: Inconsistent kallsyms data

2005-03-25 Thread Alexey Dobriyan
While building 2.6.12-rc1-bk1 with attached config I get "Inconsistent kallsyms data". Setting CONFIG_KALLSYMS_EXTRA_PASS or CONFIG_KALLSYMS_ALL fixes the problem. Noted differences: --- System.map +++ .tmp_System.map -c03cf83c D kallsyms_markers -c03cf8d4 D kallsyms_token_table -c03cfce4 D

Re: How's the nforce4 support in Linux?

2005-03-25 Thread Julien Wajsberg
On Fri, 25 Mar 2005 18:14:22 -0500, Lee Revell <[EMAIL PROTECTED]> wrote: > On Fri, 2005-03-25 at 23:59 +0100, Julien Wajsberg wrote: > > - audio works too. The only problem is that two applications can't > > open /dev/dsp in the same time. > > Not a problem. ALSA does software mixing for

Re: [PATCH] API for true Random Number Generators to add entropy (2.6.11)

2005-03-25 Thread Herbert Xu
On Sat, Mar 26, 2005 at 03:47:33AM +0300, Evgeniy Polyakov wrote: > > It looks like we all misunderstand each other - > why do you think that if there will be kernel <-> kernel > RNG dataflow, then system will continuously spent all > it's time to produce that data? It doesn't matter whether

Re: [PATCH 2.4] SGI 932676 link_path_walk refcount problem allows umount of active filesystem

2005-03-25 Thread Marcelo Tosatti
On Tue, Mar 22, 2005 at 12:24:37PM +1100, Greg Banks wrote: > G'day, > > The attached patch fixes a bug in the VFS code which causes > "Busy inodes after unmount" and a subsequent oops. Applied, thanks. > > Greg. > -- > Greg Banks, R Software Engineer, SGI Australian Software Group. > I don't

Re: [PATCH 1/6] freepgt: free_pgtables use vma list

2005-03-25 Thread David S. Miller
On Fri, 25 Mar 2005 09:23:12 -0800 "David S. Miller" <[EMAIL PROTECTED]> wrote: > On Fri, 25 Mar 2005 16:32:07 +1100 > Nick Piggin <[EMAIL PROTECTED]> wrote: > > > So, to make the question more concrete: if a pgd_t is freed due > > to freeing the single pmd_t contained within it (which was the >

Re: [Ext2-devel] Re: OOM problems on 2.6.12-rc1 with many fsx tests

2005-03-25 Thread Badari Pulavarty
On Fri, 2005-03-25 at 16:17, Dave Jones wrote: > On Wed, Mar 23, 2005 at 11:53:04AM -0800, Mingming Cao wrote: > > > The fsx command is: > > > > ./fsx -c 10 -n -r 4096 -w 4096 /mnt/test/foo1 & > > > > I also see fsx tests start to generating report about read bad data > > about the tests

Re: [PATCH] API for true Random Number Generators to add entropy (2.6.11)

2005-03-25 Thread Evgeniy Polyakov
On Sat, 26 Mar 2005 10:47:45 +1100 Herbert Xu <[EMAIL PROTECTED]> wrote: > On Fri, Mar 25, 2005 at 06:43:49PM -0500, Jeff Garzik wrote: > > > > In any case, it is the wrong solution to simply "turn on the tap" and > > let the RNG spew data. There needs to be a limiting factor... typically > >

Re: How's the nforce4 support in Linux?

2005-03-25 Thread Julien Wajsberg
On Fri, 25 Mar 2005 18:20:54 -0500, Lee Revell <[EMAIL PROTECTED]> wrote: > On Fri, 2005-03-25 at 23:59 +0100, Julien Wajsberg wrote: > > I also experiment sometimes a complete hang of the system. But I > > didn't find how to reproduce the bug yet, especially because it seems > > to happen when I

Re: OOM problems on 2.6.12-rc1 with many fsx tests

2005-03-25 Thread Dave Jones
On Wed, Mar 23, 2005 at 11:53:04AM -0800, Mingming Cao wrote: > The fsx command is: > > ./fsx -c 10 -n -r 4096 -w 4096 /mnt/test/foo1 & > > I also see fsx tests start to generating report about read bad data > about the tests have run for about 9 hours(one hour before of the OOM >

Re: Feature Request Into Kernel - Savage DRM to be added as a selectable DRM module in the kernel

2005-03-25 Thread Dave Airlie
> I was hopeing that it could be added as a selectable DRM module in the > kernel such as the ati rage and such are. This is a tested driver, > proven working for most, making it selectable in the kernel would be > very much appreciated and a great advancment for all savage users. The > savage

Re: [0/12] More Driver Model Locking Changes

2005-03-25 Thread Greg KH
On Fri, Mar 25, 2005 at 03:39:52PM -0800, Greg KH wrote: > But can you take a look at drivers/scsi/scsi_transport_spi.c, line 265? > That is also going to need fixing up somehow. Gotta love that FIXME > comment... Ok, the patch below seems to fix it, but I would like some validation I did the

Re: [PATCH] API for true Random Number Generators to add entropy (2.6.11)

2005-03-25 Thread Herbert Xu
On Fri, Mar 25, 2005 at 06:43:49PM -0500, Jeff Garzik wrote: > > In any case, it is the wrong solution to simply "turn on the tap" and > let the RNG spew data. There needs to be a limiting factor... typically > rngd should figure out when /dev/random needs more entropy, or simply > delay a

Re: [PATCH] API for true Random Number Generators to add entropy (2.6.11)

2005-03-25 Thread Jeff Garzik
On Fri, Mar 25, 2005 at 04:50:16PM -0600, Kim Phillips wrote: > I did some tests and found that the udelay(200) call in hw_random.c is > not good for extreme RNG consumption. Whether or not such extremes > occur in real life, on the mpc8541, /dev/hwrandom is an order of > magnitude slower than

Re: How's the nforce4 support in Linux?

2005-03-25 Thread Julien Wajsberg
On Fri, 25 Mar 2005 18:21:42 -0500, Lee Revell <[EMAIL PROTECTED]> wrote: > On Fri, 2005-03-25 at 23:59 +0100, Julien Wajsberg wrote: > > Mar 25 22:42:55 evenflow kernel: hda: dma_timer_expiry: dma status == 0x60 > > Mar 25 22:42:55 evenflow kernel: hda: DMA timeout retry > > Mar 25 22:42:55

Re: [0/12] More Driver Model Locking Changes

2005-03-25 Thread Greg KH
On Fri, Mar 25, 2005 at 11:20:24AM -0800, Greg KH wrote: > On Thu, Mar 24, 2005 at 09:54:24PM -0800, Patrick Mochel wrote: > > > > Here is the next round of driver model locking changes. These build off of > > the previous set of changes, including the klist patch. They eradicate all > > of the

Re: How's the nforce4 support in Linux?

2005-03-25 Thread Lee Revell
On Fri, 2005-03-25 at 23:59 +0100, Julien Wajsberg wrote: > Mar 25 22:42:55 evenflow kernel: hda: dma_timer_expiry: dma status == 0x60 > Mar 25 22:42:55 evenflow kernel: hda: DMA timeout retry > Mar 25 22:42:55 evenflow kernel: hda: timeout waiting for DMA > Mar 25 22:42:55 evenflow kernel: hda:

Re: How's the nforce4 support in Linux?

2005-03-25 Thread Lee Revell
On Fri, 2005-03-25 at 23:59 +0100, Julien Wajsberg wrote: > I also experiment sometimes a complete hang of the system. But I > didn't find how to reproduce the bug yet, especially because it seems > to happen when I do nothing (when I'm sleeping or am at work ;), and I > can't get a Oops because I

[PATCH libata-dev-2.6] libata: flush COMRESET write

2005-03-25 Thread Brett Russ
Jeff, I'm seeing single drives getting stuck in ata_busy_sleep() with these log messages on boot: <4>ata2 is slow to respond, please be patient <3>ata2 failed to respond (30 secs) One thing I found was the bug fixed below, where the COMRESET wasn't getting flushed properly. This may or may not

Re: How's the nforce4 support in Linux?

2005-03-25 Thread Lee Revell
On Fri, 2005-03-25 at 23:59 +0100, Julien Wajsberg wrote: > - audio works too. The only problem is that two applications can't > open /dev/dsp in the same time. Not a problem. ALSA does software mixing for chipsets that can't do it in hardware. Google for dmix. However this doesn't (and can't

Re: [PATCH] remove redundant NULL pointer checks prior to calling kfree() in fs/nfsd/

2005-03-25 Thread Jesper Juhl
On Fri, 25 Mar 2005, linux-os wrote: > On Fri, 25 Mar 2005, Jesper Juhl wrote: > > > (please keep me on CC) > > > > > > checking for NULL before calling kfree() is redundant and needlessly > > enlarges the kernel image, let's get rid of those checks. > > > > Hardly. ORing a value with itself

Re: How's the nforce4 support in Linux?

2005-03-25 Thread Julien Wajsberg
Hi Just to answer some questions : - USB works ok since 2.6.11 - audio works too. The only problem is that two applications can't open /dev/dsp in the same time. - network works I own an Asus A8N-Sli motherboard with the Nforce4-Sli chipset, and I experiment the following problem : Mar 25

Re: 2.6.12-rc1 breaks dosemu

2005-03-25 Thread Arnd Bergmann
On Freedag 25 März 2005 20:14, Arjan van de Ven wrote: > the randomisation patches came in a series of 8 patches (where several > were general infrastructure); could you try to disable the individual > randomisations one at a time to see which one causes this effect? It's caused by

Re: 2.6.12-rc1-mm3 (cannot read cd-rom, 2.6.12-rc1 is OK)

2005-03-25 Thread Andrew Morton
"Jason Munro" <[EMAIL PROTECTED]> wrote: > > This fixes it here. > Steven Cole <[EMAIL PROTECTED]> wrote: > > The patch fixed it for me. Wheee. > OK, thanks guys. You're the best. - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to [EMAIL

Re: [PATCH] remove redundant NULL pointer checks prior to calling kfree() in fs/nfsd/

2005-03-25 Thread linux-os
On Fri, 25 Mar 2005, Jesper Juhl wrote: (please keep me on CC) checking for NULL before calling kfree() is redundant and needlessly enlarges the kernel image, let's get rid of those checks. Hardly. ORing a value with itself and jumping on condition is real cheap compared with pushing a value into

Re: 2.6.12-rc1-mm3 (cannot read cd-rom, 2.6.12-rc1 is OK)

2005-03-25 Thread Jason Munro
On 4:23:36 pm 03/25/05 Andrew Morton <[EMAIL PROTECTED]> wrote: > Andrew Morton <[EMAIL PROTECTED]> wrote: > > > > It's the new rock-ridge bounds checking. > > Try this, please? > > diff -puN fs/isofs/rock.c~rock-handle-directory-overflows-fix > fs/isofs/rock.c ---

Re: [PATCH scsi-misc-2.6 08/08] scsi: fix hot unplug sequence

2005-03-25 Thread James Bottomley
On Sat, 2005-03-26 at 06:43 +0900, Tejun Heo wrote: > 1. Allocate scsi_request and request (two are linked) This can't be done because the scsi_cmnd's are allocated specially (slab with reserve pool). James - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body

Re: [patch 1/2] fork_connector: add a fork connector

2005-03-25 Thread dean gaudet
On Fri, 25 Mar 2005, Guillaume Thouvenin wrote: ... > The lmbench shows that the overhead (the construction and the sending > of the message) in the fork() routine is around 7%. ... > + /* > + * size of data is the number of characters > + * printed plus

Re: 2.6.12-rc1-mm3 (cannot read cd-rom, 2.6.12-rc1 is OK)

2005-03-25 Thread Steven Cole
Andrew Morton wrote: Andrew Morton <[EMAIL PROTECTED]> wrote: It's the new rock-ridge bounds checking. Try this, please? OK, you caught me just as I was headed out the door. ;) The patch fixed it for me. Wheee. [EMAIL PROTECTED] steven]# uname -r 2.6.12-rc1-mm3-GX110 [EMAIL PROTECTED] steven]#

Re: [PATCH] no need to check for NULL before calling kfree() - fs/ext2/

2005-03-25 Thread Jesper Juhl
On Fri, 25 Mar 2005, linux-os wrote: > > Isn't it expensive of CPU time to call kfree() even though the > pointer may have already been freed? I suggest that the check > for a NULL before the call is much less expensive than calling > kfree() and doing the check there. The resulting "double

Re: [patch] Real-Time Preemption, -RT-2.6.12-rc1-V0.7.41-10

2005-03-25 Thread Lee Revell
On Fri, 2005-03-25 at 15:59 +0100, Ingo Molnar wrote: > i have released the -V0.7.41-10 Real-Time Preemption patch, which can be > downloaded from the usual place: > >http://redhat.com/~mingo/realtime-preempt/ I get zillions of "return type defaults to int" warnings trying to compile this

Re: [patch] Real-Time Preemption, -RT-2.6.12-rc1-V0.7.41-10

2005-03-25 Thread Ingo Molnar
* Lee Revell <[EMAIL PROTECTED]> wrote: > On Fri, 2005-03-25 at 15:59 +0100, Ingo Molnar wrote: > > i have released the -V0.7.41-10 Real-Time Preemption patch, which can be > > downloaded from the usual place: > > > >http://redhat.com/~mingo/realtime-preempt/ > > I get zillions of "return

Re: [PATCH] ppc32/64: Map prefetchable PCI without guarded bit

2005-03-25 Thread Benjamin Herrenschmidt
On Thu, 2005-03-24 at 19:20 +0100, Segher Boessenkool wrote: > > While experimenting with framebuffer access performances, we noticed a > > very significant improvement in write access to it when not setting > > the "guarded" bit on the MMU mappings. This bit basically says that > > reads and

Re: 2.6.12-rc1-mm3 (cannot read cd-rom, 2.6.12-rc1 is OK)

2005-03-25 Thread Steven Cole
Andrew Morton wrote: Steven Cole <[EMAIL PROTECTED]> wrote: I found a few more minutes to test two more kernels. The problem first occured with 2.6.12-rc1-mm2: 2.6.12-rc1 reads the cd-rom OK as reported earlier 2.6.12-rc1-mm1 also reads the cd-rom OK 2.6.12-rc1-mm2 broken same as -mm3

Re: [PATCH] ppc32/64: Map prefetchable PCI without guarded bit

2005-03-25 Thread Benjamin Herrenschmidt
On Thu, 2005-03-24 at 08:54 -0800, Jesse Barnes wrote: > On Wednesday, March 23, 2005 10:24 pm, Benjamin Herrenschmidt wrote: > > While experimenting with framebuffer access performances, we noticed a > > very significant improvement in write access to it when not setting > > the "guarded" bit on

Re: [PATCH] no need to check for NULL before calling kfree() - fs/ext2/

2005-03-25 Thread linux-os
Isn't it expensive of CPU time to call kfree() even though the pointer may have already been freed? I suggest that the check for a NULL before the call is much less expensive than calling kfree() and doing the check there. The resulting "double check" is cheap, compared to the call. On Fri, 25 Mar

Re: 2.6.12-rc1-mm3 (cannot read cd-rom, 2.6.12-rc1 is OK)

2005-03-25 Thread Chris Wright
* Andrew Morton ([EMAIL PROTECTED]) wrote: > > (Please dont' edit the cc line. Just do reply-to-all) > > "Jason Munro" <[EMAIL PROTECTED]> wrote: > > > > > [ 146.301026] rock: directory entry would overflow storage > > > [ 146.301044] rock: sig=0x5245, size=8, remaining=0 > > > [ 158.388397]

Re: 2.6.12-rc1-mm3 (cannot read cd-rom, 2.6.12-rc1 is OK)

2005-03-25 Thread Jason Munro
On 4:27:49 pm 03/25/05 "Jason Munro" <[EMAIL PROTECTED]> wrote: > On 4:06:54 pm 03/25/05 Andrew Morton <[EMAIL PROTECTED]> wrote: > > > > (Please dont' edit the cc line. Just do reply-to-all) > > Oops, reply-to-all it is. > > > "Jason Munro" <[EMAIL PROTECTED]> wrote: > > > > > > > [

Re: 2.6.12-rc1-mm3 (cannot read cd-rom, 2.6.12-rc1 is OK)

2005-03-25 Thread Jason Munro
On 4:06:54 pm 03/25/05 Andrew Morton <[EMAIL PROTECTED]> wrote: > > (Please dont' edit the cc line. Just do reply-to-all) Oops, reply-to-all it is. > "Jason Munro" <[EMAIL PROTECTED]> wrote: > > > > > [ 146.301026] rock: directory entry would overflow storage > > > [ 146.301044] rock:

[PATCH] don't check for NULL before calling kfree() in fs/ntfs/

2005-03-25 Thread Jesper Juhl
(please keep me on CC) There's no need to check a pointer for NULL before calling kfree() on it - kfree() handles NULL pointers just fine on its own. Signed-off-by: Jesper Juhl <[EMAIL PROTECTED]> --- linux-2.6.12-rc1-mm3-orig/fs/ntfs/dir.c 2005-03-25 15:28:59.0 +0100 +++

Re: 2.6.12-rc1-mm3 (cannot read cd-rom, 2.6.12-rc1 is OK)

2005-03-25 Thread Andrew Morton
Andrew Morton <[EMAIL PROTECTED]> wrote: > > It's the new rock-ridge bounds checking. Try this, please? diff -puN fs/isofs/rock.c~rock-handle-directory-overflows-fix fs/isofs/rock.c --- 25/fs/isofs/rock.c~rock-handle-directory-overflows-fix Fri Mar 25 14:21:32 2005 +++

[PATCH] remove redundant NULL pointer checks prior to calling kfree() in fs/nfsd/

2005-03-25 Thread Jesper Juhl
(please keep me on CC) checking for NULL before calling kfree() is redundant and needlessly enlarges the kernel image, let's get rid of those checks. Signed-off-by: Jesper Juhl <[EMAIL PROTECTED]> --- linux-2.6.12-rc1-mm3-orig/fs/nfsd/export.c 2005-03-21 23:12:41.0 +0100 +++

Re: [Ext2-devel] Re: OOM problems on 2.6.12-rc1 with many fsx tests

2005-03-25 Thread Badari Pulavarty
On Fri, 2005-03-25 at 13:56, Andrew Morton wrote: > Mingming Cao <[EMAIL PROTECTED]> wrote: > > > > I run into OOM problem again on 2.6.12-rc1. I run some(20) fsx tests on > > 2.6.12-rc1 kernel(and 2.6.11-mm4) on ext3 filesystem, after about 10 > > hours the system hit OOM, and OOM keep killing

[PATCH] get rid of redundant checks for NULL before kfree() in fs/jffs/

2005-03-25 Thread Jesper Juhl
There's no need to check for NULL before calling kfree(). Signed-off-by: Jesper Juhl <[EMAIL PROTECTED]> --- linux-2.6.12-rc1-mm3-orig/fs/jffs/intrep.c 2005-03-21 23:12:41.0 +0100 +++ linux-2.6.12-rc1-mm3/fs/jffs/intrep.c 2005-03-25 22:47:29.0 +0100 @@ -1693,9 +1693,7

Re: [PATCH] driver core: Separate platform device name from platform device number

2005-03-25 Thread Paul Mundt
On Fri, Mar 25, 2005 at 09:03:57PM +, Russell King wrote: > > It would be trivial to treat them both as foobar0 and have the > > registration succeed for whoever gets it first, but I could see that this > > would be problematic in the serial8250 case. On the other hand, this is > > then

[PATCH] get rid of NULL pointer checks we don't need before kfree in fs/hpfs/

2005-03-25 Thread Jesper Juhl
There's no need to check for NULL before calling kfree(). Signed-off-by: Jesper Juhl <[EMAIL PROTECTED]> --- linux-2.6.12-rc1-mm3-orig/fs/hpfs/dnode.c 2005-03-21 23:12:40.0 +0100 +++ linux-2.6.12-rc1-mm3/fs/hpfs/dnode.c2005-03-25 22:44:39.0 +0100 @@ -244,12 +244,12

[PATCH] kfree() NULL pointer cleanups - no need to check - fs/ext3/

2005-03-25 Thread Jesper Juhl
kfree() handles NULL pointers fine - checking is redundant. Signed-off-by: Jesper Juhl <[EMAIL PROTECTED]> --- linux-2.6.12-rc1-mm3-orig/fs/ext3/acl.c 2005-03-02 08:37:55.0 +0100 +++ linux-2.6.12-rc1-mm3/fs/ext3/acl.c 2005-03-25 22:41:41.0 +0100 @@ -197,8 +197,7 @@

Re: 2.6.12-rc1-mm3 (cannot read cd-rom, 2.6.12-rc1 is OK)

2005-03-25 Thread Andrew Morton
(Please dont' edit the cc line. Just do reply-to-all) "Jason Munro" <[EMAIL PROTECTED]> wrote: > > > [ 146.301026] rock: directory entry would overflow storage > > [ 146.301044] rock: sig=0x5245, size=8, remaining=0 > > [ 158.388397] rock: directory entry would overflow storage > > [

[ANNOUNCE] linux-libc-headers 2.6.11.1

2005-03-25 Thread Mariusz Mazur
Available at http://ep09.pld-linux.org/~mmazur/linux-libc-headers/ Changes: - small (but important) fix in netfilter - added cleaned up mtd/* userland headers - massive change to use types from linux/types.h and not to pollute the namespace - use gcc emitted __mips64 instead of CONFIG_MIPS{32,64}

[PATCH] no need to check for NULL before calling kfree() - fs/ext2/

2005-03-25 Thread Jesper Juhl
(please keep me on CC) kfree() handles NULL fine, to check is redundant. Signed-off-by: Jesper Juhl <[EMAIL PROTECTED]> --- linux-2.6.12-rc1-mm3-orig/fs/ext2/acl.c 2005-03-02 08:38:18.0 +0100 +++ linux-2.6.12-rc1-mm3/fs/ext2/acl.c 2005-03-25 22:41:07.0 +0100 @@ -194,8

[RFC][PATCH 1/4] create mm/Kconfig for arch-independent memory options

2005-03-25 Thread Dave Hansen
With sparsemem and memory hotplug there are quite a few options that we kept adding identically in several different architectures. This new file allows some of these to be consolidated. Signed-off-by: Andy Whitcroft <[EMAIL PROTECTED]> Signed-off-by: Dave Hansen <[EMAIL PROTECTED]> ---

Re: OOM problems on 2.6.12-rc1 with many fsx tests

2005-03-25 Thread Andrew Morton
Mingming Cao <[EMAIL PROTECTED]> wrote: > > I run into OOM problem again on 2.6.12-rc1. I run some(20) fsx tests on > 2.6.12-rc1 kernel(and 2.6.11-mm4) on ext3 filesystem, after about 10 > hours the system hit OOM, and OOM keep killing processes one by one. I > could reproduce this problem very

[RFC][PATCH 2/4] make each arch use mm/Kconfig

2005-03-25 Thread Dave Hansen
With sparsemem being introduced, we need a central place for new memory-related .config options: mm/Kconfig. For all architectures, this just means that you'll see a "Memory Model" choice in your architecture menu. For those that implement DISCONTIGMEM, you may eventually want to make your

Re: [PATCH] make Documentation/oops-tracing.txt relevant to 2.6 [was Re: OOPS running "ls -l /sys/class/i2c-adapter/*"-- 2.6.12-rc1-mm2]

2005-03-25 Thread Lee Revell
On Fri, 2005-03-25 at 21:52 +, Russell King wrote: > On Fri, Mar 25, 2005 at 04:45:32PM -0500, Lee Revell wrote: > > On Fri, 2005-03-25 at 21:07 +, Russell King wrote: > > > On Fri, Mar 25, 2005 at 03:53:42PM -0500, Lee Revell wrote: > > > > On Fri, 2005-03-25 at 07:38 +, Russell King

[RFC][PATCH 4/4] Introduce new Kconfig option for NUMA or DISCONTIG

2005-03-25 Thread Dave Hansen
There is some confusion that arose when working on SPARSEMEM patch between what is needed for DISCONTIG vs. NUMA. Multiple pg_data_t's are needed for DISCONTIGMEM or NUMA, independently. All of the current NUMA implementations require an implementation of DISCONTIG. Because of this, quite a

[RFC][PATCH 3/4] update all defconfigs for ARCH_DISCONTIGMEM_ENABLE

2005-03-25 Thread Dave Hansen
This will at least suppress one prompt that users would have received the first time they compile with the new DISCONTIG arch option. They'll still get the "Memory Model" prompt, but 99% of them will have the default work there. Signed-off-by: Dave Hansen <[EMAIL PROTECTED]> ---

Re: [PATCH] make Documentation/oops-tracing.txt relevant to 2.6 [was Re: OOPS running "ls -l /sys/class/i2c-adapter/*"-- 2.6.12-rc1-mm2]

2005-03-25 Thread Russell King
On Fri, Mar 25, 2005 at 04:45:32PM -0500, Lee Revell wrote: > On Fri, 2005-03-25 at 21:07 +, Russell King wrote: > > On Fri, Mar 25, 2005 at 03:53:42PM -0500, Lee Revell wrote: > > > On Fri, 2005-03-25 at 07:38 +, Russell King wrote: > > > > Users need to be re-educated _not_ to use

Re: 2.6.12-rc1-mm3 (cannot read cd-rom, 2.6.12-rc1 is OK)

2005-03-25 Thread Jason Munro
On 3:22:52 pm 03/25/05 Steven Cole <[EMAIL PROTECTED]> wrote: > Same results, -mm2 broken, and -mm1 reads the disk. I even tried > other CD's just to make sure I didn't have something weird. Same > results. > [EMAIL PROTECTED] steven]# dmesg | tail > [ 51.205871] EXT3 FS on hda6, internal

Re: 2.6.12-rc1-mm3 (cannot read cd-rom, 2.6.12-rc1 is OK)

2005-03-25 Thread Andrew Morton
Steven Cole <[EMAIL PROTECTED]> wrote: > > >> > >> I found a few more minutes to test two more kernels. The problem > >> first occured with 2.6.12-rc1-mm2: > >> > >> 2.6.12-rc1 reads the cd-rom OK as reported earlier > >> 2.6.12-rc1-mm1 also reads the cd-rom OK > >> 2.6.12-rc1-mm2 broken same

[PATCH] make Documentation/oops-tracing.txt relevant to 2.6 [was Re: OOPS running "ls -l /sys/class/i2c-adapter/*"-- 2.6.12-rc1-mm2]

2005-03-25 Thread Lee Revell
On Fri, 2005-03-25 at 21:07 +, Russell King wrote: > On Fri, Mar 25, 2005 at 03:53:42PM -0500, Lee Revell wrote: > > On Fri, 2005-03-25 at 07:38 +, Russell King wrote: > > > Users need to be re-educated _not_ to use ksymoops. > > > > How about changing the fscking docs to not tell users

  1   2   3   4   5   >