Linux 2.4.35-pre2

2007-03-24 Thread Willy Tarreau
I've just released Linux 2.4.35-pre2. It contains a fix for bug in IPv6 which can be locally triggered. Also contained in this release are the parenthesis fixes from Mariusz Kozlowski. Those are fixes for unbalanced parenthesis in rarely used macros, and I preferred to get them all definitely fi

Linux 2.4.34.2

2007-03-24 Thread Willy Tarreau
I've just released Linux 2.4.34.2. Only two fixes here, one from Pete Zaitcev to support USB high-speed HID, required by at least an Avocent KVM, and one for a user-triggerable bug in IPv6. The patch and changelog will appear soon at the following locations: ftp://ftp.kernel.org/pub/linux/kern

PATCH: tun/tap driver hw address handling

2007-03-24 Thread Brian Braunstein
Hi Max, Here's the patch we discussed at the beginning of the month. Linus, According to Documentation/SubmittingPatches "bug fixes" or "obvious" changes should CCed to you, so this is why I have done this. Note: This entire email can be found at http://bristyle.com/share/patch-tuntap-hw

Re: HELP!!! SD and suspend damage i-node.

2007-03-24 Thread Pavel Machek
Hi! > I use 2.6.20.2 kernel with ext3 rootfs on 4Gb SD on sharp zaurus sl-750 > (PXA255). > After suspend/resume filesystem stay clean. But some i-nodes become broken. > Some files looks like block device or pipe with strange permissions, owner > etc. > I'm sure that there is no bad blocks on SD

Re: [PATCH 2.6.21-rc4] hwmon: HP Mobile Data Protection System 3D ACPI driver

2007-03-24 Thread Yan Burman
Arjan van de Ven wrote: Hi, your code looks very nice and clean, only few comments, see below Thanks +static int mdps_joystick_kthread(void *data) +{ + int x = 0, y = 0, z = 0; + + while (!kthread_should_stop()) { + if (input_3d) { + mdps_g

Re: PNPACPI probes serial twice, messes up serial console

2007-03-24 Thread Russell King
On Wed, Mar 21, 2007 at 10:40:54AM -0600, Bjorn Helgaas wrote: > On Wednesday 21 March 2007 10:37, Russell King wrote: > > On Wed, Mar 21, 2007 at 10:35:38AM -0600, Bjorn Helgaas wrote: > > > On Tuesday 20 March 2007 08:32, Bjorn Helgaas wrote: > > > > On Tuesday 20 March 2007 00:46, Keith Owens wr

sata-vsc broken on SGI Prism

2007-03-24 Thread Andreas Schwab
I'm getting this panic when loading sata-vsc on a SGI Prism: Loading sata_vsc ACPI: Unable to derive IRQ for device 0001:00:03.0 ACPI: PCI Interrupt 0001:00:03.0[A]: no GSI FRZ XN request short error. FRZ XN error detail 1A: Command word: 0x11 Supplemental: 0xff Source nod

Re: mm snapshot broken-out-2007-03-24-00-14.tar.gz uploaded

2007-03-24 Thread Michal Piotrowski
Hi, [EMAIL PROTECTED] napisał(a): > The mm snapshot broken-out-2007-03-24-00-14.tar.gz has been uploaded to > > > ftp://ftp.kernel.org/pub/linux/kernel/people/akpm/mm/broken-out-2007-03-24-00-14.tar.gz > > It contains the following patches against 2.6.21-rc4: Bryan, your patch (blackfin-arc

Fan control disabled

2007-03-24 Thread Jan Engelhardt
Hello, for some reason, pwm (fan control) is not writable 11:30 linux-si2r:../i2c-1/1-002e # l pwm*_enable -r--r--r-- 1 root root 4096 Mar 24 11:19 pwm1_enable -r--r--r-- 1 root root 4096 Mar 24 11:19 pwm2_enable -r--r--r-- 1 root root 4096 Mar 24 11:19 pwm3_enable 11:30 linux-si2r:../i2c-1/1-00

Re: mm snapshot broken-out-2007-03-24-00-14.tar.gz uploaded

2007-03-24 Thread Michal Piotrowski
On 24/03/07, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote: The mm snapshot broken-out-2007-03-24-00-14.tar.gz has been uploaded to ftp://ftp.kernel.org/pub/linux/kernel/people/akpm/mm/broken-out-2007-03-24-00-14.tar.gz It contains the following patches against 2.6.21-rc4: Please drop net-

Re: [v4l-dvb-maintainer] [PATCH] DVB: Delete unused header file linux/dvb/version.h.

2007-03-24 Thread Manu Abraham
On 3/23/07, Arjan van de Ven <[EMAIL PROTECTED]> wrote: On Fri, 2007-03-23 at 16:47 +0100, Marcel Siegert wrote: > On Friday 23 March 2007, Robert P. J. Day wrote: > > > > Delete the unreferenced header file include/linux/dvb/version.h. > > > > Signed-off-by: Robert P. J. Day <[EMAIL PROTECTED]>

Semi-typical watchdog bug re early misc_register()

2007-03-24 Thread Alexey Dobriyan
Hi, Wim. It seems that some watchdog drivers are doing following mistake: rv = misc_register(); if (rv < 0) return rv; rv = request_region(); if (rv < 0) { misc_deregister(); return rv; } But, right after mis

Re: Problem with 2.6.20 based kernels on SUSE 9.3

2007-03-24 Thread roland
Waiting for mandatory devices: eth-id-00:01:6c:ad:2b:c9 19 18 17 16 15 14 13 12 11 10 9 8 7 6 5 4 3 1 0 eth-id-00:01:6c:ad:2b:c9No interface found failedSetting up service network . . . . . . . I had such issues when using suse 9.3 inside vmware very often - typically re

[2.6.22 patch] more scheduled OSS driver removal

2007-03-24 Thread Adrian Bunk
This patch contains the scheduled removal of OSS drivers that: - have ALSA drivers for the same hardware without known regressions and - whose Kconfig options have been removed in 2.6.20. Signed-off-by: Adrian Bunk <[EMAIL PROTECTED]> --- Due to its size, the patch is available at ftp://ftp.kern

[RFC: 2.6 patch] fix ISDN_CAPI<->ISDN_DIVAS

2007-03-24 Thread Adrian Bunk
Randy Dunlap reported in kernel Bugzilla #8241 the following compile error with CONFIG_ISDN_CAPI=m, CONFIG_ISDN_DIVAS=y: <-- snip --> ... WARNING: "DIVA_DIDD_Read" [drivers/isdn/hardware/eicon/divacapi.ko] undefined! WARNING: "DIVA_DIDD_Read" [drivers/isdn/hardware/eicon/diva_mnt.ko] undefined

[-mm patch] lguest: #if 0 check_bug_kill()

2007-03-24 Thread Adrian Bunk
On Mon, Mar 19, 2007 at 08:56:23PM -0800, Andrew Morton wrote: >... > Changes since 2.6.21-rc3-mm1: >... > +lguest-use-read-only-pages-rather-than-segments-to-protect-high-mapped-switcher.patch >... > x86/x86_64 updates >... check_bug_kill() is no longer used. Signed-off-by: Adrian Bunk <[EMAIL

[2.6 patch] #if 0 dmi_name_in_vendors()

2007-03-24 Thread Adrian Bunk
dmi_name_in_vendors() is no longer used. Signed-off-by: Adrian Bunk <[EMAIL PROTECTED]> --- drivers/firmware/dmi_scan.c |2 ++ include/linux/dmi.h |2 -- 2 files changed, 2 insertions(+), 2 deletions(-) --- linux-2.6.21-rc4-mm1/include/linux/dmi.h.old2007-03-23 23:22:4

[-mm patch] fs/revoke.c: cleanups (and bugfix for 64bit systems)

2007-03-24 Thread Adrian Bunk
On Mon, Mar 19, 2007 at 08:56:23PM -0800, Andrew Morton wrote: >... > Changes since 2.6.21-rc3-mm1: >... > +revoke-core-code.patch >... > revoke() syscall >... This patch contains the following: - every file should #include the headers containing the prototypes for it's global functions - fix

[-mm patch] unexport bio_{,un}map_user

2007-03-24 Thread Adrian Bunk
On Mon, Mar 19, 2007 at 08:56:23PM -0800, Andrew Morton wrote: >... > Changes since 2.6.21-rc3-mm1: >... > git-scsi-misc.patch >... > git trees >... bio_{,un}map_user do no longer have any modular users. Signed-off-by: Adrian Bunk <[EMAIL PROTECTED]> --- --- linux-2.6.21-rc4-mm1/fs/bio.c.old

[2.6 patch] drivers/spi/: fix section mismatches

2007-03-24 Thread Adrian Bunk
This patch fixes the following section mismatches: <-- snip --> WARNING: drivers/built-in.o - Section mismatch: reference to .init.text:spi_register_master from .text between 'spi_bitbang_start' (at offset 0x84e11a) and 'bitbang_work' WARNING: drivers/built-in.o - Section mismatch: reference

Re: [-mm patch] fs/revoke.c: cleanups (and bugfix for 64bit systems)

2007-03-24 Thread Pekka Enberg
On 3/24/07, Adrian Bunk <[EMAIL PROTECTED]> wrote: This patch contains the following: - every file should #include the headers containing the prototypes for it's global functions - fix the wrong return value of sys_frevoke() gcc was now able to detect - make 2 needlessly global structs static

[PATCH] Delete unused header file math-emu/extended.h.

2007-03-24 Thread Robert P. J. Day
Delete the unreferenced header file include/math-emu/extended.h. Signed-off-by: Robert P. J. Day <[EMAIL PROTECTED]> --- one more header file that absolutely no one refers to but i'm sure *someone* is going to defend to the death. diff --git a/include/math-emu/extended.h b/include/math-emu/

[PATCH] Delete unused header file media/cs53l32a.h.

2007-03-24 Thread Robert P. J. Day
Delete the unreferenced header file include/media/cs53l32a.h. Signed-off-by: Robert P. J. Day <[EMAIL PROTECTED]> --- not even the matching *source* file drivers/media/video/cs53l32a.c includes this header file. that would seem a pretty good sign that no one loves it anymore. diff --git a/

[PATCH] Delete unused header file media/wm8775.h.

2007-03-24 Thread Robert P. J. Day
Delete the unreferenced header file include/media/wm8775.h. Signed-off-by: Robert P. J. Day <[EMAIL PROTECTED]> --- even the matching source file drivers/media/video/wm8775.c doesn't include this header file. diff --git a/include/media/wm8775.h b/include/media/wm8775.h deleted file mode 100644

Re: [4/5] 2.6.21-rc4: known regressions (v2)

2007-03-24 Thread Thomas Gleixner
Emil, On Fri, 2007-03-23 at 20:22 +0100, Thomas Gleixner wrote: > On Fri, 2007-03-23 at 19:50 +0100, Adrian Bunk wrote: > > Subject: dynticks makes ksoftirqd1 use unreasonable amount of cpu time > > References : http://bugzilla.kernel.org/show_bug.cgi?id=8100 > > Submitter : Emil Karlson <[EM

Re: [RFC: 2.6 patch] fix ISDN_CAPI<->ISDN_DIVAS

2007-03-24 Thread Armin Schindler
On Sat, 24 Mar 2007, Adrian Bunk wrote: > Randy Dunlap reported in kernel Bugzilla #8241 the following compile > error with CONFIG_ISDN_CAPI=m, CONFIG_ISDN_DIVAS=y: > > <-- snip --> > > ... > WARNING: "DIVA_DIDD_Read" [drivers/isdn/hardware/eicon/divacapi.ko] undefined! > WARNING: "DIVA_DIDD_R

Re: [4/5] 2.6.21-rc4: known regressions (v2)

2007-03-24 Thread Michal Piotrowski
Hi, On 23/03/07, Thomas Gleixner <[EMAIL PROTECTED]> wrote: On Fri, 2007-03-23 at 19:50 +0100, Adrian Bunk wrote: > Subject: soft lockup detected on CPU#0 > References : http://lkml.org/lkml/2007/3/3/152 > Submitter : Michal Piotrowski <[EMAIL PROTECTED]> > Handled-By : Thomas Gleixner <[EM

Re: troubles with DAC960

2007-03-24 Thread Boris Andratzek
Boris Andratzek wrote: > Hello members of the kernel-list, > > > I'm new to this and hope I don't misuse the list in any way. > > Doing the update from debian sarge to etch on my server I ran into the > bug documented here: bugzilla.kernel.org/show_bug.cgi?id=7177 > I already made some comments

[-mm patch] drivers/scsi/constants.c: make 2 functions static

2007-03-24 Thread Adrian Bunk
On Mon, Mar 19, 2007 at 08:56:23PM -0800, Andrew Morton wrote: >... > Changes since 2.6.21-rc3-mm1: >... > git-scsi-misc.patch >... > git trees >... This patch makes two needlessly global functions static. Signed-off-by: Adrian Bunk <[EMAIL PROTECTED]> --- drivers/scsi/constants.c |4 ++

Re: [PATCH 3/3] Use correct IDE error recovery

2007-03-24 Thread Sergei Shtylyov
Hello. Bartlomiej Zolnierkiewicz wrote: Since I think that it's worth to have it in 2.6.21-final and respin didn't happen I did the required changes myself (it also turned out that I missed few things during initial review), then applied the patch... Please let my know whether you are fine w

Invert X or Y axis options for usbtouchscreen

2007-03-24 Thread Ondrej Zary
Hello, this patch adds support for inverting X or Y axis (or both) to the usbtouchscreen driver. Invert Y is needed (together with swap XY) for LeadingTouch screens (at least for some of them). Signed-off-by: Ondrej Zary <[EMAIL PROTECTED]> -- Ondrej Zary --- linux-2.6.20-orig/drivers/usb/inpu

Re: [4/5] 2.6.21-rc4: known regressions (v2)

2007-03-24 Thread Thomas Gleixner
On Sat, 2007-03-24 at 14:59 +0100, Michal Piotrowski wrote: > On 23/03/07, Thomas Gleixner <[EMAIL PROTECTED]> wrote: > > On Fri, 2007-03-23 at 19:50 +0100, Adrian Bunk wrote: > > > Subject: soft lockup detected on CPU#0 > > > References : http://lkml.org/lkml/2007/3/3/152 > > > Submitter : Mi

Re: [RFC: 2.6 patch] fix ISDN_CAPI<->ISDN_DIVAS

2007-03-24 Thread Adrian Bunk
On Sat, Mar 24, 2007 at 02:49:42PM +0100, Armin Schindler wrote: > On Sat, 24 Mar 2007, Adrian Bunk wrote: > > Randy Dunlap reported in kernel Bugzilla #8241 the following compile > > error with CONFIG_ISDN_CAPI=m, CONFIG_ISDN_DIVAS=y: > > > > <-- snip --> > > > > ... > > WARNING: "DIVA_DIDD_R

Re: mm snapshot broken-out-2007-03-24-00-14.tar.gz uploaded

2007-03-24 Thread Andrew Morton
On Sat, 24 Mar 2007 12:35:33 +0100 Michal Piotrowski <[EMAIL PROTECTED]> wrote: > > [EMAIL PROTECTED] napisał(a): > > The mm snapshot broken-out-2007-03-24-00-14.tar.gz has been uploaded to > > > > > > ftp://ftp.kernel.org/pub/linux/kernel/people/akpm/mm/broken-out-2007-03-24-00-14.tar.gz >

error in compilation kernel 2.6.19 - internal compiler error

2007-03-24 Thread Thibaud Hulin
Hello ! I'm triyng to compile the kernel 2.6.19 on Debian Testing 4.0 Unfortunately, I can't success. This is my error message : CC [M] drivers/scsi/lpfc/lpfc_sli.o In file included from drivers/scsi/lpfc/lpfc_sli.c:23: include/linux/pci.h:251: internal compiler error: in build_int_cst_wide, a

Re: [rfc][patch] queued spinlocks (i386)

2007-03-24 Thread Nikita Danilov
Nick Piggin writes: > On Fri, Mar 23, 2007 at 11:04:18AM +0100, Ingo Molnar wrote: > > > > * Nick Piggin <[EMAIL PROTECTED]> wrote: > > > > > Implement queued spinlocks for i386. [...] > > > > isnt this patented by MS? (which might not worry you SuSE/Novell guys, > > but it might be a w

Re: [PATCH UPDATED][2] cosmetic adaption of drivers/ide/Kconfig concerning SATA

2007-03-24 Thread Patrick Ringl
Bartlomiej Zolnierkiewicz wrote: On Sunday 18 March 2007, Patrick Ringl wrote: Bartlomiej Zolnierkiewicz wrote: Hello, On Sunday 18 March 2007, Patrick Ringl wrote: Hello, Hi, since especially Serial ATA has it's own menu point now, I guess we can change the

Re: [4/5] 2.6.21-rc4: known regressions (v2)

2007-03-24 Thread Michal Piotrowski
On 24/03/07, Thomas Gleixner <[EMAIL PROTECTED]> wrote: On Sat, 2007-03-24 at 14:59 +0100, Michal Piotrowski wrote: > On 23/03/07, Thomas Gleixner <[EMAIL PROTECTED]> wrote: > > On Fri, 2007-03-23 at 19:50 +0100, Adrian Bunk wrote: > > > Subject: soft lockup detected on CPU#0 > > > References

Re: error in compilation kernel 2.6.19 - internal compiler error

2007-03-24 Thread Paolo Ornati
On Sat, 24 Mar 2007 16:45:46 +0100 Thibaud Hulin <[EMAIL PROTECTED]> wrote: > I'm triyng to compile the kernel 2.6.19 on Debian Testing 4.0 > Unfortunately, I can't success. > This is my error message : > > CC [M] drivers/scsi/lpfc/lpfc_sli.o > In file included from drivers/scsi/lpfc/lpfc_sli.c:

Why is NCQ enabled by default by libata? (2.6.20)

2007-03-24 Thread Justin Piszcz
Without NCQ, performance is MUCH better on almost every operation, with the exception of 2-3 items. /usr/sbin/bonnie++ -d /x/bonnie -s 7952 -m p34 -n 16:10:16:64 > run.txt; # Average of 3 runs with NCQ on for Quad Raptor ADFD 150 RAID 5 Software RAID: p34-ncq-on,7952M,43916.3,96.6667,151943

Re: PATCH: tun/tap driver hw address handling

2007-03-24 Thread Ahmed S. Darwish
Hi Brian, On Sat, Mar 24, 2007 at 01:56:50AM -0700, Brian Braunstein wrote: > > Linus, > > According to Documentation/SubmittingPatches "bug fixes" or "obvious" > changes > should CCed to you, so this is why I have done this. > IMHO these days patches got reviewed on LKML, then tested enough

Re: mm snapshot broken-out-2007-03-24-00-14.tar.gz uploaded

2007-03-24 Thread Michal Piotrowski
On 24/03/07, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote: The mm snapshot broken-out-2007-03-24-00-14.tar.gz has been uploaded to ftp://ftp.kernel.org/pub/linux/kernel/people/akpm/mm/broken-out-2007-03-24-00-14.tar.gz My network doesn't work "RTNETLINK answers: Invalid argument" git-net*

Re: Why is NCQ enabled by default by libata? (2.6.20)

2007-03-24 Thread Alan Cox
On Sat, 24 Mar 2007 12:38:02 -0400 (EDT) Justin Piszcz <[EMAIL PROTECTED]> wrote: > Without NCQ, performance is MUCH better on almost every operation, with > the exception of 2-3 items. It depends on the drive. Generally NCQ is better but some drive firmware isn't too bright and there are probab

Re: [rfc][patch] queued spinlocks (i386)

2007-03-24 Thread Ingo Molnar
* Nikita Danilov <[EMAIL PROTECTED]> wrote: > Indeed, this technique is very well known. E.g., > http://citeseer.ist.psu.edu/anderson01sharedmemory.html has a whole > section (3. Local-spin Algorithms) on them, citing papers from the > 1990 onward. that is a cool reference! So i'd suggest to

glibc vs 2.6/2.4

2007-03-24 Thread Yakov Lerner
Can I build recent glibc such that it will work both on 2.6 and on 2.4 ? (multithreading-wise, I suppose). I tried to boot recent 2.6-based distro with 2.4 kernel and it did not work. Do I need to set some env.vars maybe (LD_ASSUME_KERNEL ? GNU_LIBPTHREAD_VERSION ?) for glibc when I switch kernel

[PATCH] fix sysfs rom file creation for BIOS ROM shadows

2007-03-24 Thread Jesse Barnes
At one time, if a BIOS ROM shadow was detected for the boot video device (stored at offset 0xc), we'd set a special resource flag, IORESOURCE_ROM_SHADOW, so that the sysfs ROM file code could handle it properly. That broke along the way somewhere though, so current kernels will be missing 'rom

Re: mm snapshot broken-out-2007-03-24-00-14.tar.gz uploaded

2007-03-24 Thread Andrew Morton
On Sat, 24 Mar 2007 18:18:42 +0100 "Michal Piotrowski" <[EMAIL PROTECTED]> wrote: > On 24/03/07, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote: > > The mm snapshot broken-out-2007-03-24-00-14.tar.gz has been uploaded to > > > > > > ftp://ftp.kernel.org/pub/linux/kernel/people/akpm/mm/broken-out

Re: [2/5] 2.6.21-rc4: known regressions (v2)

2007-03-24 Thread Ray Lee
Thomas Gleixner wrote: >> Patch reproduced below, with an acked-by (and, uhm, a couple of spelling >> fixes in the description -- don't hate me, 'kay?). > > I know that my English sucks. Your English is fantastic, and far better than my German ever will be, so no worries :-). ~r. - To unsubscrib

Re: [3/5] 2.6.21-rc4: known regressions (v2)

2007-03-24 Thread Thomas Meyer
Eric W. Biederman schrieb: > Thomas Meyer <[EMAIL PROTECTED]> writes: > > >> Adrian Bunk schrieb: >> >>> Subject: second suspend to disk in a row results in an oops (libata?) >>> References : http://lkml.org/lkml/2007/3/17/43 >>> Submitter : Thomas Meyer <[EMAIL PROTECTED]> >>> Status

Re: Linux-VServer example results for sharing vs. separate mappings ...

2007-03-24 Thread Herbert Poetzl
On Fri, Mar 23, 2007 at 09:42:35PM -0800, Andrew Morton wrote: > On Fri, 23 Mar 2007 20:30:00 +0100 Herbert Poetzl <[EMAIL PROTECTED]> wrote: > > > > > Hi Eric! > > Hi Folks! > > > > here is a real world example result from one of my tests > > regarding the benefit of sharing over separate memor

Re: [3/5] 2.6.21-rc4: known regressions (v2)

2007-03-24 Thread Eric W. Biederman
Thomas Meyer <[EMAIL PROTECTED]> writes: > Eric W. Biederman schrieb: >> Thomas Meyer <[EMAIL PROTECTED]> writes: >> >> >>> Adrian Bunk schrieb: >>> Subject: second suspend to disk in a row results in an oops (libata?) References : http://lkml.org/lkml/2007/3/17/43 Subm

Re: [rfc][patch] queued spinlocks (i386)

2007-03-24 Thread Nikita Danilov
Ingo Molnar writes: > > * Nikita Danilov <[EMAIL PROTECTED]> wrote: > > > Indeed, this technique is very well known. E.g., > > http://citeseer.ist.psu.edu/anderson01sharedmemory.html has a whole > > section (3. Local-spin Algorithms) on them, citing papers from the > > 1990 onward. >

Re: [PATCH] x86_64: avoid sending LOCAL_TIMER_VECTOR IPI to itself

2007-03-24 Thread Ingo Molnar
* Ray Lee <[EMAIL PROTECTED]> wrote: > Subject: [PATCH] x86_64: avoid sending LOCAL_TIMER_VECTOR IPI to > itself > > Ray Lee reported, that on an UP kernel with "noapic" command line > option set, the box locks hard during boot. i think this bug deserves a bit more attention, because similar

Re: [-mm patch] drivers/scsi/constants.c: make 2 functions static

2007-03-24 Thread Douglas Gilbert
Adrian Bunk wrote: > On Mon, Mar 19, 2007 at 08:56:23PM -0800, Andrew Morton wrote: >> ... >> Changes since 2.6.21-rc3-mm1: >> ... >> git-scsi-misc.patch >> ... >> git trees >> ... > > > This patch makes two needlessly global functions static. > > Signed-off-by: Adrian Bunk <[EMAIL PROTECTED]>

Re: troubles with DAC960

2007-03-24 Thread Randy Dunlap
On Sat, 24 Mar 2007 15:21:16 +0100 Boris Andratzek wrote: > Boris Andratzek wrote: > > Hello members of the kernel-list, > > > > > > I'm new to this and hope I don't misuse the list in any way. > > > > Doing the update from debian sarge to etch on my server I ran into the > > bug documented her

Re: [-mm patch] drivers/scsi/constants.c: make 2 functions static

2007-03-24 Thread Adrian Bunk
On Sat, Mar 24, 2007 at 12:11:05PM -0400, Douglas Gilbert wrote: > Adrian Bunk wrote: > > On Mon, Mar 19, 2007 at 08:56:23PM -0800, Andrew Morton wrote: > >> ... > >> Changes since 2.6.21-rc3-mm1: > >> ... > >> git-scsi-misc.patch > >> ... > >> git trees > >> ... > > > > > > This patch makes tw

Re: [3/5] 2.6.21-rc4: known regressions (v2)

2007-03-24 Thread Thomas Meyer
Adrian Bunk schrieb: > Subject: second suspend to disk in a row results in an oops (libata?) > References : http://lkml.org/lkml/2007/3/17/43 > Submitter : Thomas Meyer <[EMAIL PROTECTED]> > Status : unknown > The problem is identified: http://lkml.org/lkml/2007/3/22/150 - To unsub

Re: [3/5] 2.6.21-rc4: known regressions (v2)

2007-03-24 Thread Eric W. Biederman
Thomas Meyer <[EMAIL PROTECTED]> writes: > Adrian Bunk schrieb: >> Subject: second suspend to disk in a row results in an oops (libata?) >> References : http://lkml.org/lkml/2007/3/17/43 >> Submitter : Thomas Meyer <[EMAIL PROTECTED]> >> Status : unknown >> > > The problem is identifi

Re: [ckrm-tech] [PATCH 7/7] containers (V7): Container interface to nsproxy subsystem

2007-03-24 Thread Srivatsa Vaddagiri
On Sat, Mar 24, 2007 at 10:35:37AM +0530, Srivatsa Vaddagiri wrote: > > +static int ns_create(struct container_subsys *ss, struct container *cont) > > +{ > > + struct nscont *ns; > > + > > + if (!capable(CAP_SYS_ADMIN)) > > + return -EPERM; > > Does this check break existing namespac

Re: I/O memory barriers vs SMP memory barriers

2007-03-24 Thread Benjamin Herrenschmidt
On Fri, 2007-03-23 at 13:43 +, David Howells wrote: > [Resend - this time with a comma in the addresses, not a dot] > > Lennert Buytenhek <[EMAIL PROTECTED]> wrote: > > > [ background: On ARM, SMP synchronisation does need barriers but device > > synchronisation does not. The question is t

Re: Linux-VServer example results for sharing vs. separate mappings ...

2007-03-24 Thread Andrew Morton
On Sat, 24 Mar 2007 19:38:06 +0100 Herbert Poetzl <[EMAIL PROTECTED]> wrote: > On Fri, Mar 23, 2007 at 09:42:35PM -0800, Andrew Morton wrote: > > On Fri, 23 Mar 2007 20:30:00 +0100 Herbert Poetzl <[EMAIL PROTECTED]> wrote: > > > > > > > > Hi Eric! > > > Hi Folks! > > > > > > here is a real worl

Re: race condition in dm-crypt?

2007-03-24 Thread Kasper Sandberg
On Fri, 2007-03-23 at 21:41 +0100, Christoph Maier wrote: > Jan C. Nordholz wrote: > > I think I'm experiencing a race condition: Irregularly my kernel runs > > into an Oops when it tries to initialize my crypt containers. > > FYI, there are similiar reports on the net, going as far back as May 20

Re: [3/5] 2.6.21-rc4: known regressions (v2)

2007-03-24 Thread Thomas Meyer
Eric W. Biederman schrieb: > > Odd. I would have thought the oops happened in the first resume, not > the second. > > Hmm. It may have something to do with the ``managed'' driver > aspect of this as well.. > No. I don't think so. The problem is caused by this sequence: (the info is always bef

Re: mm snapshot broken-out-2007-03-24-00-14.tar.gz uploaded

2007-03-24 Thread David Miller
From: Andrew Morton <[EMAIL PROTECTED]> Date: Sat, 24 Mar 2007 10:16:53 -0800 > On Sat, 24 Mar 2007 18:18:42 +0100 "Michal Piotrowski" <[EMAIL PROTECTED]> > wrote: > > > On 24/03/07, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote: > > > The mm snapshot broken-out-2007-03-24-00-14.tar.gz has been up

Re: [rfc][patch] queued spinlocks (i386)

2007-03-24 Thread Andrew Morton
> On Fri, 23 Mar 2007 11:32:44 +0100 Nick Piggin <[EMAIL PROTECTED]> wrote: > > I'm not as concerned about the contended performance of spinlocks > The contended case matters. Back in 2.5.something I screwed up the debug version of one of the locks (rwlock, iirc) - it was simply missing a cpu_rel

[PATCH] i386: Prevent early access to TSC to avoid crash on TSCless systems

2007-03-24 Thread Thomas Gleixner
commit f9690982b8c2f9a2c65acdc113e758ec356676a3 removed the check for cpu_khz from sched_clock(), which prevented early access to the TSC by non obvious magic. This is harmless as long as the CPU has a TSC. On TSCless systems this results in an illegal instruction trap. Replace tsc_disabled and t

[patch 1/3] fix illogical behavior in balance_dirty_pages()

2007-03-24 Thread Miklos Szeredi
This is a slightly different take on the fix for the deadlock in fuse with dirty balancing. David Chinner convinced me, that per-bdi counters are too expensive, and that it's not worth trying to account the number of pages under writeback, as they will be limited by the queue anyway. From: M

[patch 2/3] remove throttle_vm_writeout()

2007-03-24 Thread Miklos Szeredi
From: Miklos Szeredi <[EMAIL PROTECTED]> Remove this function. It's purpose was to limit the global number of writeback pages from submitted by direct reclaim. But this is equally well accomplished by limited queue lengths. When this function was added, the device queues had much larger default

[patch 3/3] balance dirty pages from loop device

2007-03-24 Thread Miklos Szeredi
From: Miklos Szeredi <[EMAIL PROTECTED]> The function do_lo_send_aops() should call balance_dirty_pages_ratelimited() after each page similarly to generic_file_buffered_write(). Without this, writing the loop device directly (not through a filesystem) is very slow, and also slows the whole system

[patch] add file position info to proc

2007-03-24 Thread Miklos Szeredi
From: Miklos Szeredi <[EMAIL PROTECTED]> This patch adds support for finding out the current file position, open flags and possibly other info in the future. These new entries are added: /proc/PID/fdinfo/FD /proc/PID/task/TID/fdinfo/FD For each fd the information is provided in the followin

[patch 1/3] split mmap

2007-03-24 Thread Miklos Szeredi
From: Miklos Szeredi <[EMAIL PROTECTED]> This is a straightforward split of do_mmap_pgoff() into two functions: - do_mmap_pgoff() checks the parameters, and calculates the vma flags. Then it calls - mmap_region(), which does the actual mapping Signed-off-by: Miklos Szeredi <[EMAIL PROTECT

[patch 2/3] only allow nonlinear vmas for ram backed filesystems

2007-03-24 Thread Miklos Szeredi
From: Miklos Szeredi <[EMAIL PROTECTED]> Dirty page accounting/limiting doesn't work for nonlinear mappings, so for non-ram backed filesystems emulate with linear mappings. This retains ABI compatibility with previous kernels at minimal code cost. All known users of nonlinear mappings actually u

[patch 3/3] update ctime and mtime for mmaped write

2007-03-24 Thread Miklos Szeredi
From: Miklos Szeredi <[EMAIL PROTECTED]> Changes: v3: o rename is_page_modified to test_clear_page_modified v2: o set AS_CMTIME flag in clear_page_dirty_for_io() too o don't clear AS_CMTIME in file_update_time() o check the dirty bit in the page tables v1: o moved check from __fput() to remov

Re: Why is NCQ enabled by default by libata? (2.6.20)

2007-03-24 Thread Robert Hancock
Justin Piszcz wrote: Without NCQ, performance is MUCH better on almost every operation, with the exception of 2-3 items. /usr/sbin/bonnie++ -d /x/bonnie -s 7952 -m p34 -n 16:10:16:64 > run.txt; # Average of 3 runs with NCQ on for Quad Raptor ADFD 150 RAID 5 Software RAID: p34-ncq-on,795

Re: [PATCH] i386: Prevent early access to TSC to avoid crash on TSCless systems

2007-03-24 Thread Ingo Molnar
* Thomas Gleixner <[EMAIL PROTECTED]> wrote: > commit f9690982b8c2f9a2c65acdc113e758ec356676a3 removed the check for > cpu_khz from sched_clock(), which prevented early access to the TSC by > non obvious magic. > > This is harmless as long as the CPU has a TSC. On TSCless systems this > resul

Re: [PATCH] i386: Prevent early access to TSC to avoid crash on TSCless systems

2007-03-24 Thread Guillaume Chazarain
+static int tsc_enabled; So, now we have tsc_disable, tsc_enabled and tsc_unstable. I can understand the latter, but this lacks orthogonality IMHO. -- Guillaume - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to [EMAIL PROTECTED] More majordomo

Re: [PATCH] i386: Prevent early access to TSC to avoid crash on TSCless systems

2007-03-24 Thread Ingo Molnar
* Guillaume Chazarain <[EMAIL PROTECTED]> wrote: > >+static int tsc_enabled; > > So, now we have tsc_disable, tsc_enabled and tsc_unstable. I can > understand the latter, but this lacks orthogonality IMHO. tsc_disable should be renamed to tsc_disable_override or so, to signal that it's only t

Re: 2.6.21-rc4-mm1

2007-03-24 Thread Matt Mackall
On Wed, Mar 21, 2007 at 11:39:17PM -0800, Andrew Morton wrote: > On Wed, 21 Mar 2007 15:22:25 -0500 Matt Mackall <[EMAIL PROTECTED]> wrote: > > > With the latest -mm, I'm now getting this: > > > > Mar 21 15:06:52 cinder kernel: ipw2200: Detected Intel PRO/Wireless > > 2200BG Network Connection >

Linux 2.6.16.45-rc1

2007-03-24 Thread Adrian Bunk
Location: ftp://ftp.kernel.org/pub/linux/kernel/people/bunk/linux-2.6.16.y/testing/ git tree: git://git.kernel.org/pub/scm/linux/kernel/git/stable/linux-2.6.16.y.git Changes since 2.6.16.44: Adrian Bunk (1): Linux 2.6.16.45-rc1 Alexey Dobriyan (1): [NET]: Copy mac_len in skb_clone(

Re: (usagi-core 32634) [PATCH 2/2] [USB] [SERIAL]: fixed to skip NULL port entry in struct usb_serial_port.

2007-03-24 Thread Noriaki TAKAMIYA
Sorry for resending. Hi, This patch fixes to skip serial->port[i] if it is set NULL. Signed-off-by: Noriaki TAKAMIYA <[EMAIL PROTECTED]> --- include/linux/usb/serial.h |5 - 1 files changed, 4 insertions(+), 1 deletions(-) diff --git a/include/linux/usb/serial.h b/include/linux/usb/

[PATCH 0/2] [SERIAL] [USB] fixed to skip NULL entry in struct serial usb_serial_port.

2007-03-24 Thread Noriaki TAKAMIYA
Hi, When I boot using linux-2.6.21-rc4 on ThinkPad T41 with pl2303 USB serial device plugged in, the kernel crashes. The reason is struct usb_serial_port is referenced without checking whether it is NULL or not. Regards, -- Noriaki TAKAMIYA - To unsubscribe from this list: send the l

[PATCH 1/2] [USB] [PL2303]: fixed to skip NULL entry in pl2303_shutdown.

2007-03-24 Thread Noriaki TAKAMIYA
Hi, While booting, this entry is set to NULL in destroy_serial(), but serial->port is referred again in pl2303_shutdown() via serial->type->shutdown. --- drivers/usb/serial/pl2303.c |2 ++ 1 files changed, 2 insertions(+), 0 deletions(-) diff --git a/drivers/usb/serial/pl2303.c b/drive

Re: (usagi-core 32633) [PATCH 1/2] [USB] [PL2303]: fixed to skip NULL entry in pl2303_shutdown.

2007-03-24 Thread Noriaki TAKAMIYA
Sorry for resending. While booting, this entry is set to NULL in destroy_serial(), but serial->port is referred again in pl2303_shutdown() via serial->type->shutdown. Signed-off-by: Noriaki TAKAMIYA <[EMAIL PROTECTED]> --- drivers/usb/serial/pl2303.c |2 ++ 1 files changed, 2 insertio

[PATCH 2/2] [USB] [SERIAL]: fixed to skip NULL port entry in struct usb_serial_port.

2007-03-24 Thread Noriaki TAKAMIYA
Hi, This patch fixes to skip serial->port[i] if it is set NULL. --- include/linux/usb/serial.h |5 - 1 files changed, 4 insertions(+), 1 deletions(-) diff --git a/include/linux/usb/serial.h b/include/linux/usb/serial.h index 32acbae..85ed5ef 100644 --- a/include/linux/usb/serial.h +++

Re: (usagi-core 32633) [PATCH 1/2] [USB] [PL2303]: fixed to skip NULL entry in pl2303_shutdown.

2007-03-24 Thread Noriaki TAKAMIYA
Sorry for resending Hi, While booting, this entry is set to NULL in destroy_serial(), but serial->port is referred again in pl2303_shutdown() via serial->type->shutdown. --- drivers/usb/serial/pl2303.c |2 ++ 1 files changed, 2 insertions(+), 0 deletions(-) diff --git a/drivers/usb/se

Re: [ckrm-tech] [PATCH 3/7] containers (V7): Add generic multi-subsystem API to containers

2007-03-24 Thread Srivatsa Vaddagiri
On Mon, Feb 12, 2007 at 12:15:24AM -0800, [EMAIL PROTECTED] wrote: > +static int attach_task(struct container *cont, struct task_struct *tsk) > { [snip] > + for_each_subsys(h, ss) { > + if (ss->can_attach) { > + retval = ss->can_attach(ss, cont, tsk); > +

Re: [ckrm-tech] [PATCH 1/7] containers (V7): Generic container system abstracted from cpusets code

2007-03-24 Thread Srivatsa Vaddagiri
On Mon, Feb 12, 2007 at 12:15:22AM -0800, [EMAIL PROTECTED] wrote: > +static int attach_task(struct container *cont, char *pidbuf, char **ppathbuf) > +{ > + pid_t pid; > + struct task_struct *tsk; > + struct container *oldcont; > + int retval; > + > + if (sscanf(pidbuf, "%d", &p

Re: [PATCH 2.6.20.3] Flush writes to MSI-X table

2007-03-24 Thread Kok, Auke
Greg KH wrote: On Fri, Mar 23, 2007 at 05:28:02PM -0700, Greg KH wrote: On Fri, Mar 23, 2007 at 05:24:23PM -0700, Williams, Mitch A wrote: Greg KH wrote: Well, I'm sure you can agree that it is _very_ late in the 2.6.21 release cycle to expect to get this in for that kernel. How about waiting

Re: [PATCH 2.6.20.3] Flush writes to MSI-X table

2007-03-24 Thread Greg KH
On Sat, Mar 24, 2007 at 04:33:41PM -0700, Kok, Auke wrote: > Greg KH wrote: > >On Fri, Mar 23, 2007 at 05:28:02PM -0700, Greg KH wrote: > >>On Fri, Mar 23, 2007 at 05:24:23PM -0700, Williams, Mitch A wrote: > >>>Greg KH wrote: > Well, I'm sure you can agree that it is _very_ late in the 2.6.21

kmem_cache_create loop for find the proper gfporder

2007-03-24 Thread Bin Chen
I have some doubts about the loop to find the gfporder of a cache. For the code below, its main purpose is to find a gfporder value that can make the internal fragmentation less that 1/8 of the total slab size. It is done by increase gfporder for low number to high(possibly 0 to MAX_GFP_ORDER). Bu

[PATCH 3/3] Initialize and use trec_snapshot and trec_print_snapshot.

2007-03-24 Thread Wink Saville
Trec's are initialized early in main.c and then dump trec's in die(), panic() and do_page_fault(). Signed-off-by: Wink Saville <[EMAIL PROTECTED]> --- arch/x86_64/kernel/traps.c |5 + arch/x86_64/mm/fault.c |6 ++ init/main.c|4 kernel/panic.c

[PATCH 1/3] Documention for trace records (trec).

2007-03-24 Thread Wink Saville
Trec is a light weight tracing mechanism that places trace information into a buffer. The contents of the buffer is dumped when errors occurs or when enabled via SYSRQ commands. Signed-off-by: Wink Saville <[EMAIL PROTECTED]> --- Documentation/trec.txt | 87 +

[PATCH 2/3] Trec driver.

2007-03-24 Thread Wink Saville
This is the Trec driver, Makefile, header files. Enable trec in Kernel hacking configuration menu. Signed-off-by: Wink Saville <[EMAIL PROTECTED]> --- drivers/Makefile |1 + drivers/trec/Makefile |5 + drivers/trec/trec.c| 404 ++

Re: [PATCH] max_loop limit

2007-03-24 Thread Ken Chen
On 3/23/07, Jan Engelhardt <[EMAIL PROTECTED]> wrote: Sadly, it locks up the foreground process (losetup that would be), and I have not yet figured out why. And the mpt regression elsewhere is hindering me in finding out faster. You need to tell the block layer that each loop device is a whole

Re: [PATCH] max_loop limit

2007-03-24 Thread Ken Chen
On 3/23/07, Jan Engelhardt <[EMAIL PROTECTED]> wrote: @@ -1383,7 +1380,7 @@ int loop_unregister_transfer(int number) xfer_funcs[n] = NULL; - for (lo = &loop_dev[0]; lo < &loop_dev[max_loop]; lo++) { + list_for_each_entry(lo, &loop_devices, lo_list) { mutex_lo

Re: pciehp: Cannot get control of hotplug hardware

2007-03-24 Thread Greg KH
On Sat, Mar 10, 2007 at 10:55:16AM -0500, Ryan Hope wrote: > Ever since I started playing with suspend I started turning on PCI Hot > Plug support since then I have been seeing messages like whats > below from dmesg I'm not exactly sure how this actually impacts me > if it does at all. I ju

Re: [BUG] Code reordering in swsusp breaks suspend on SMP systems

2007-03-24 Thread Maxim
On Friday 23 March 2007 16:42:44 Rafael J. Wysocki wrote: > On Friday, 23 March 2007 00:30, Rafael J. Wysocki wrote: > > On Thursday, 22 March 2007 00:53, Rafael J. Wysocki wrote: > > > On Thursday, 22 March 2007 00:39, Maxim wrote: > > > > On Thursday 22 March 2007 01:24:25 Rafael J. Wysocki wrote

Re: [linux-usb-devel] [PATCH 0/2] [SERIAL] [USB] fixed to skip NULL entry in struct serial usb_serial_port.

2007-03-24 Thread Greg KH
On Sun, Mar 25, 2007 at 12:52:27AM +0900, Noriaki TAKAMIYA wrote: > Hi, > > When I boot using linux-2.6.21-rc4 on ThinkPad T41 with pl2303 USB > serial device plugged in, the kernel crashes. > > The reason is struct usb_serial_port is referenced without checking > whether it is NULL or no

Re: [ckrm-tech] [PATCH 1/7] containers (V7): Generic container system abstracted from cpusets code

2007-03-24 Thread Paul Jackson
> IMO, we need to use task_lock() in container_exit() to avoid this race. > > (I think this race already exists in mainline cpuset.c?) > > P.S : cpuset.c checks for PF_EXITING twice in attach_task(), while this > patch seems to be checking only once. Is that fine? I think the cpuset code is ok,

[PATCH] fix typo in drivers/block/Kconfig

2007-03-24 Thread Patrick Ringl
Hello, this is just a QA / cosmetic fix .. nevertheless the documentation about modules / drivers should be appropriate to the great work of those who write all the real important stuff. :-) The following patch is against 2.6.21-rc4: --- linux-2.6.20-o/drivers/block/Kconfig2007-03-18 00

  1   2   >