[KJ][PATCH] ROUND_UP macro cleanup in arch/parisc

2007-03-31 Thread Milind Arun Choudhary
ROUND_UP macro cleanup, use ALIGN where ever appropriate Signed-off-by: Milind Arun Choudhary <[EMAIL PROTECTED]> --- hpux/fs.c |5 ++--- kernel/sys_parisc32.c |3 +-- 2 files changed, 3 insertions(+), 5 deletions(-) diff --git a/arch/parisc/hpux/fs.c b/arch/parisc/hpux/fs

Re: plain 2.6.21-rc5 (1) vs amanda (0)

2007-03-31 Thread Ray Lee
On 3/31/07, Gene Heskett <[EMAIL PROTECTED]> wrote: This effect I have isolated down to something in the 31 patches from 2.6.20.4 to 2.6.20.5-rc1, but I'm going to need additional guidance in setting up the bisect to find it. If indeed its a kernel problem. First, set up a *small* test case, f

[-mm3 PATCH] (Retry) Check the return value of kobject_add and etc.

2007-03-31 Thread Cong WANG
Since kobject_add, sysfs_create_link and sysfs_create_file are marked as '__must_check', we must always check their return values. Signed-off-by: Cong WANG <[EMAIL PROTECTED]> --- --- linux-2.6.21-rc5-mm3/fs/partitions/check.c.orig 2007-03-30 21:35:45.0 +0800 +++ linux-2.6.21-rc5-mm3

Re: [PATCH 3/3] slab: avoid __initdata warning (may be a bogus one)

2007-03-31 Thread Andrew Morton
On Sun, 1 Apr 2007 00:15:06 -0700 (PDT) Christoph Lameter <[EMAIL PROTECTED]> wrote: > On Sat, 31 Mar 2007, Andrew Morton wrote: > > > Yes, I think this is a flase positive - we'll never touch initkmem_list3[] > > after free_initmem() because of the transitions of g_cpucache_up. > > Correct. >

Re: [PATCH 3/3] slab: avoid __initdata warning (may be a bogus one)

2007-03-31 Thread Christoph Lameter
On Sat, 31 Mar 2007, Andrew Morton wrote: > Yes, I think this is a flase positive - we'll never touch initkmem_list3[] > after free_initmem() because of the transitions of g_cpucache_up. Correct. > (In which case set_up_list3s() shoud be __init, too?) Correct. Its only called during slab boots

[PATCH 1/2] Generic Virtual Memmap suport for SPARSEMEM

2007-03-31 Thread Christoph Lameter
Spare Virtual: Virtual Memmap support for SPARSEMEM SPARSEMEM is a pretty nice framework that unifies quite a bit of code over all the arches. It would be great if it could be the default so that we can get rid of various forms of DISCONTIG and other variations on memory maps. So far what has hind

[PATCH 1/4] x86_64: Switch to SPARSE_VIRTUAL

2007-03-31 Thread Christoph Lameter
x86_64 make SPARSE_VIRTUAL the default x86_64 is using 2M page table entries to map its 1-1 kernel space. We implement the virtual memmap also using 2M page table entries. So there is no difference at all to FLATMEM. Both schemes require a page table and a TLB. Thus the SPARSEMEM becomes the most

Re: [PATCH 1/4] x86_64: Switch to SPARSE_VIRTUAL

2007-03-31 Thread Christoph Lameter
Argh. This should have been Patch 2/2. There is nothing in between. - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to [EMAIL PROTECTED] More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.or

Re: plain 2.6.21-rc5 (1) vs amanda (0)

2007-03-31 Thread Ingo Molnar
* Gene Heskett <[EMAIL PROTECTED]> wrote: > Hi Ingo; > > Running 2.6.21-rc5 tonight. > > It appears that as of 2.6.21-rc5, (actually anything with a 2.6.21 in > its version string) amanda is still a loser. [...] here 'is a loser' means: "tries to back up way too much stuff instead of doing a

Re: [-mm3 patch]Warning fix: check the return value of kobject_add etc.

2007-03-31 Thread Cong WANG
2007/4/1, Andrew Morton <[EMAIL PROTECTED]>: On Sun, 1 Apr 2007 14:20:46 +0800 "Cong WANG" <[EMAIL PROTECTED]> wrote: > > > > > Also, please always prepare patches in `patch -p1' form, as per > > http://www.zip.com.au/~akpm/linux/patches/stuff/tpp.txt, thanks. > > > > > > Sorry. I am confused wi

Re: [ck] [PATCH] sched: staircase deadline misc fixes

2007-03-31 Thread Prakash Punnoor
Am Mittwoch 28 März 2007 schrieb Prakash Punnoor: > Am Mittwoch 28 März 2007 schrieb Con Kolivas: > > I'm cautiously optimistic that we're at the thin edge of the bugfix wedge > > now. > > > > --- > > set_load_weight() should be performed after p->quota is set. This fixes a > > large SMP performanc

Re: [KJ] my first janitorial

2007-03-31 Thread Jaco Kroon
Pedram M wrote: How about this one? Am I doing it right now? If not, please try to explain more to me what I am doing wrong. You need a changelog entry (or explanation of what you're doing). You need a signed-off-by line and your patch needs to apply to the root of the kernel tree with -p1, s

Re: [-mm3 patch]Warning fix: check the return value of kobject_add etc.

2007-03-31 Thread Andrew Morton
On Sun, 1 Apr 2007 14:20:46 +0800 "Cong WANG" <[EMAIL PROTECTED]> wrote: > > > > > Also, please always prepare patches in `patch -p1' form, as per > > http://www.zip.com.au/~akpm/linux/patches/stuff/tpp.txt, thanks. > > > > > > Sorry. I am confused with this. Does that mean I should make patches

Re: 2.6.21-rc5-mm3 - no boot, "address not 2M aligned"

2007-03-31 Thread Andrew Morton
On Sun, 01 Apr 2007 00:15:51 -0600 [EMAIL PROTECTED] (Eric W. Biederman) wrote: > Does anyone know how to express the constraint of a 2M aligned number in > Kconfig? Nope, but we could make CONFIG_PHYSICAL_START be in units of 2MB, which would be a bit hard to use. Adding a BUILD_BUG_ON which c

Re: 2.6.21-rc5: Thinkpad X60 gets critical thermal shutdowns

2007-03-31 Thread Jeremy Fitzhardinge
Alexey Starikovskiy wrote: > Could you try to unload or disable hardware sensors and check if it > helps? > CONFIG_I2C=m > CONFIG_I2C_ALGOBIT=m > CONFIG_I2C_ALGOPCA=m > CONFIG_I2C_I810=m > CONFIG_I2C_PIIX4=m > CONFIG_SENSORS_DS1337=m > CONFIG_SENSORS_DS1374=m > CONFIG_SENSORS_EEPROM=m > CONFIG_SENS

Re: [-mm3 patch]Warning fix: check the return value of kobject_add etc.

2007-03-31 Thread Cong WANG
2007/4/1, Andrew Morton <[EMAIL PROTECTED]>: On Sat, 31 Mar 2007 10:30:31 +0800 "Cong WANG" <[EMAIL PROTECTED]> wrote: > Since kobject_add, sysfs_create_link and sysfs_create_file are marked > as '__must_check', so we must always check their return values, or gcc > will give us warnings. > > Sig

Re: my first janitorial

2007-03-31 Thread Willy Tarreau
Hi, On Sat, Mar 31, 2007 at 10:24:12PM -0700, Pedram M wrote: > How about this one? Am I doing it right now? > If not, please try to explain more to me what I am > doing wrong. You have made several mistakes : - you must select an appropriate subject for your mail. Nobody cares that it is y

Re: 2.6.21-rc5-mm3 - no boot, "address not 2M aligned"

2007-03-31 Thread Eric W. Biederman
[EMAIL PROTECTED] writes: > I had the same with this .config from 2.6.21-rc3-mm2 after running 'make > oldconfig' and answering N to all new questions. Then, I tweaked some > items, mostly to see if there was an 'align kernel' item in there > somewhere. Diff between _working_ 2.6.21-rc5-mm3 .confi

Re: [patch 3/13] signal/timer/event fds v9 - signalfd wire up i386 arch ...

2007-03-31 Thread Andrew Morton
On Sat, 31 Mar 2007 13:09:29 -0700 Davide Libenzi wrote: > This patch wire the signalfd system call to the i386 architecture. > all your x86 syscall numbers got incremented due to lutiemsat(). The revoke sycalls got incremented by three. - To unsubscribe from this list: send the line "unsubsc

Re: [PATCH] VMI paravirt-ops bugfix for 2.6.21

2007-03-31 Thread Zachary Amsden
Andi Kleen wrote: I think I would prefer you touch the generic code. This new hook is ugly. What new hook? The hook has been there for sometime, and now we are using it to fix a bug. I do not want to touch generic or arch code at this point in the 2.6.21 release. And the lazy mode is c

Re: 2.6.21-rc5-mm3 - no boot, "address not 2M aligned"

2007-03-31 Thread thunder7
From: Andrew Morton <[EMAIL PROTECTED]> Date: Sat, Mar 31, 2007 at 12:53:03AM -0700 > On Sat, 31 Mar 2007 09:12:20 +0200 Helge Hafting <[EMAIL PROTECTED]> wrote: > > > A new error for me: > > > > loading 2.6.21rc5mm3 > > Bios data check successful > > Destination address not 2M aligned > > -- Sy

Re: [3/4] 2.6.21-rc5: known regressions (v2)

2007-03-31 Thread Jeremy Fitzhardinge
Adrian Bunk wrote: > Subject: ThinkPad X60: resume no longer works (PCI related?) > References : http://lkml.org/lkml/2007/3/13/3 > Submitter : Dave Jones <[EMAIL PROTECTED]> > Jeremy Fitzhardinge <[EMAIL PROTECTED]> > Caused-By : PCI merge > commit 78149df6d565c366

Re: [-mm3 patch]Warning fix: check the return value of kobject_add etc.

2007-03-31 Thread Andrew Morton
On Sat, 31 Mar 2007 10:30:31 +0800 "Cong WANG" <[EMAIL PROTECTED]> wrote: > Since kobject_add, sysfs_create_link and sysfs_create_file are marked > as '__must_check', so we must always check their return values, or gcc > will give us warnings. > > Signed-off-by: Cong WANG <[EMAIL PROTECTED]> > >

Re: [PATCH 3/3] slab: avoid __initdata warning (may be a bogus one)

2007-03-31 Thread Andrew Morton
On Sat, 31 Mar 2007 01:08:14 +0200 "Paolo 'Blaisorblade' Giarrusso" <[EMAIL PROTECTED]> wrote: > set_up_list3s is not __init and references initkmem_list3. > > Also, kmem_cache_create calls setup_cpu_cache which calls set_up_list3s. The > state machine _may_ prevent the code from accessing this

Re: my first janitorial

2007-03-31 Thread Pedram M
How about this one? Am I doing it right now? If not, please try to explain more to me what I am doing wrong. @@ -4760,7 +4760,7 @@ for (i = 0; i < NR_CARDS; i++) { /* look for a Cyclades card by vendor and device id */ while ((device_id = cy_pci_dev_id[dev_

plain 2.6.21-rc5 (1) vs amanda (0)

2007-03-31 Thread Gene Heskett
Hi Ingo; Running 2.6.21-rc5 tonight. It appears that as of 2.6.21-rc5, (actually anything with a 2.6.21 in its version string) amanda is still a loser. >From an amstatus report as the back up is just getting started, and amanda has completed the estimates: [EMAIL PROTECTED] Daily]# amstatus Dai

Re: [PATCH] Fix build error due to not including

2007-03-31 Thread Oleg Verych
> From: Andrew Morton > Newsgroups: gmane.linux.kernel > Subject: Re: [PATCH] Fix build error due to not including > Date: Sun, 18 Mar 2007 22:01:48 -0800 > > If is a bit of a pain to maintain CONFIG_SYSFS=n. But then, it's > realtively easy to fix things when they do break, and sysfs does consum

Re: Silent corruption on AMD64

2007-03-31 Thread Aaron Lehmann
On Sat, Mar 31, 2007 at 08:03:16PM -0700, Jim Paris wrote: > Since it shows up under heavy load that includes unrelated devices, I > think ruling out hardware problems is important. Some suggestions: I've been able to narrow it down to the Realtek Ethernet card. I can't reproduce the problem usin

Re: [patch] remove artificial software max_loop limit

2007-03-31 Thread Ken Chen
On 3/31/07, Andrew Morton <[EMAIL PROTECTED]> wrote: > Yes, the distros do, and they recommend it to their users a lot. Thanks. In that case I think we should retain the max_loop module parameter for now. Ken, when you respin that patch could you restore max_loop, and make its use trigger a wa

Re: [linux-pm] [PATCH v2] Add suspend/resume for HPET

2007-03-31 Thread David Brownell
On Saturday 31 March 2007 8:13 pm, Jeff Chua wrote: > On 4/1/07, David Brownell <[EMAIL PROTECTED]> wrote: > > for those will all get grouped together ... suspended "very late" and > > resumed "very early", regardless of when they get registered. Pretty > > much the driver model parts of what Linu

Re: Silent corruption on AMD64

2007-03-31 Thread Jim Paris
Aaron Lehmann wrote: > I discovered a reproducible way of causing silent file corruption. ... > 1. Heavy Ethernet load (nc remotehost < /dev/zero) > 2. Heavy disk write load on any non-sata_sil drive (cat /dev/zero > /path) > 3. Heavy disk read load on any other drive (tar c /path | cat > /dev/null

Re: Silent corruption on AMD64

2007-03-31 Thread Aaron Lehmann
On Sat, Mar 31, 2007 at 07:52:36PM -0700, Andrew Morton wrote: > Are you able to provide us with some before-and-after data so we > can see this corruption. > > See, if it's dropped-bits or shifted-data or eight-byte-aligned > kernel addresses or whatever, that helps us generate theories.. Sure.

Re: [linux-pm] [PATCH v2] Add suspend/resume for HPET

2007-03-31 Thread Jeff Chua
On 4/1/07, David Brownell <[EMAIL PROTECTED]> wrote: for those will all get grouped together ... suspended "very late" and resumed "very early", regardless of when they get registered. Pretty much the driver model parts of what Linus was suggesting; clockevent bits would still be needed. I tes

Re: cannot add device to partitioned raid6 array

2007-03-31 Thread Neil Brown
On Saturday March 31, [EMAIL PROTECTED] wrote: > hi list! > > in short: > I created a partitioned raid6 array with 2 missing drives. Now, I want to add > a device. It fails with: > flockmock ~ # mdadm -a /dev/md_d4 /dev/sdb2 > mdadm: add new device failed for /dev/sdb2 as 4: Invalid argument Tha

[PATCH] hid: add two led codes to hid input mapping

2007-03-31 Thread Dan Engel
From: Daniel P. Engel <[EMAIL PROTECTED]> Add the "Off-hook" and "Speaker" LED codes 0xb and 0xc to the hid-input configuration, mapping them to the 0x17 and 0x1e usages in the HID usage table. Signed-off-by: Daniel P. Engel <[EMAIL PROTECTED]> --- This patch is really being offered because it's

Re: Silent corruption on AMD64

2007-03-31 Thread Andrew Morton
> On Sat, 31 Mar 2007 18:27:36 -0700 Aaron Lehmann <[EMAIL PROTECTED]> wrote: > I have spent a lot of time trying to find a simpler test case. So far, > as far as I can tell, there are three conditions that must be > satisfied for corruption to occur: > > 1. Heavy Ethernet load (nc remotehost < /d

Re: broken device locking, sg vs. sg_io on block devices

2007-03-31 Thread Oleg Verych
> From: Alan Cox > Newsgroups: gmane.linux.kernel > Subject: Re: broken device locking, sg vs. sg_io on block devices > Date: Sun, 1 Apr 2007 01:14:52 +0100 > [] >> Again, it doesn't have to. It can pass the locking operations to the >> related block device driver. > > No it can't. The driver has n

Silent corruption on AMD64

2007-03-31 Thread Aaron Lehmann
Hello, I discovered a reproducible way of causing silent file corruption. Unfortunately, this method happens to me my backup procedure :(. Background: I have five hard drives. sda and sdb are on a SiI 3112 card. sdc and sdd use onboard sata_via. hda uses onboard VIA VT8237 IDE. All filesystems ar

Re: [PATCH] fbdev sysfs imrovements

2007-03-31 Thread Andrew Morton
> On Sun, 1 Apr 2007 01:56:28 +0100 (BST) James Simmons <[EMAIL PROTECTED]> > wrote: > > I can't seem to duplicate this error. OK, I'll poke at it some more. > Do you have any patches applied to > the nvidia driver? I don't think so - whatever's in -mm. > On Mon, 26 Mar 2007, Andrew Morton

Re: [PATCH] fbdev sysfs imrovements

2007-03-31 Thread James Simmons
I can't seem to duplicate this error. Do you have any patches applied to the nvidia driver? On Mon, 26 Mar 2007, Andrew Morton wrote: > On Tue, 20 Mar 2007 14:25:49 + (GMT) James Simmons <[EMAIL PROTECTED]> > wrote: > > > This patch does several things to allow the underlying hardware to

Re: 2.6.21-rc5 from fc7-rc2 problems

2007-03-31 Thread Stephen Clark
Andrew Morton wrote: On Sat, 31 Mar 2007 16:14:01 -0400 Stephen Clark <[EMAIL PROTECTED]> wrote: Hello, I have just tried booting the fc7-rc2 live cd on 2 of my laptops and it failed on both. Laptop 1 is an asus vbi s96f that get a panic that says exception in interrupt routine for my

Re: [RFC] UML kernel & rootfs bundle with every kernel release ?

2007-03-31 Thread Parag Warudkar
Hi web.de> writes: > Whenever you want to test some new kernel (feature), you may put you main system at risk, exactly know what > you`re doing - or - use UserModeLinux. Why won't qemu work better in this case? I generally keep a debian testing installation on disk and when I compile a new ke

cannot add device to partitioned raid6 array

2007-03-31 Thread Florian D.
hi list! in short: I created a partitioned raid6 array with 2 missing drives. Now, I want to add a device. It fails with: flockmock ~ # mdadm -a /dev/md_d4 /dev/sdb2 mdadm: add new device failed for /dev/sdb2 as 4: Invalid argument I think it is the same problem as in: http://marc.info/?l=linux

Re: [PATCH] Fix microcode-related suspend problem

2007-03-31 Thread Rafael J. Wysocki
On Saturday, 31 March 2007 23:23, Adrian Bunk wrote: > On Sat, Mar 31, 2007 at 01:35:32PM -0700, Andrew Morton wrote: > > On Sat, 31 Mar 2007 22:04:15 +0200 "Rafael J. Wysocki" <[EMAIL PROTECTED]> > > wrote: > > > > > This patch appeard on LMKL six days ago and there have not been any > > > nega

Re: broken device locking, sg vs. sg_io on block devices

2007-03-31 Thread Alan Cox
> > > The use of /dev/sg* is still common practice, its invention predates > > > > The /dev/sg interface cannot do the locking. If you use /dev/sg you are > > Again, it doesn't have to. It can pass the locking operations to the > related block device driver. No it can't. The driver has no idea w

[RFC] UML kernel & rootfs bundle with every kernel release ?

2007-03-31 Thread devzero
Hello ! i`m not very much into UML for the last months, but while playing around with dm-loop i just got one idea i`d like to share. Whenever you want to test some new kernel (feature), you may put you main system at risk, exactly know what you`re doing - or - use UserModeLinux. The "problem"

Re: usb hid: reset NumLock

2007-03-31 Thread Pete Zaitcev
On Sat, 31 Mar 2007 21:35:19 +0200 (CEST), Jiri Kosina <[EMAIL PROTECTED]> wrote: > On Fri, 30 Mar 2007, Pete Zaitcev wrote: > I think I see an issue here. Imagine that you boot a system initially with > one keyboard connected (usb, ps/2, doesn't matter), and after some time > you connect secon

Re: [linux-usb-devel] [RFC] HID bus design overview.

2007-03-31 Thread Jiri Kosina
On Fri, 30 Mar 2007, Dmitry Torokhov wrote: > There should be one device and your driver should simply do: > static void my_driver_hid_event(struct hid_device *hid, struct hid_field > *field, > struct hid_usage *usage, __s32 value) > { > if (special_processing_

Re: broken device locking, sg vs. sg_io on block devices

2007-03-31 Thread Eduard Bloch
#include * Alan Cox [Sat, Mar 31 2007, 11:20:02PM]: > > But the desktop needs some means to deal with that. AFAICS the only > > feasible way for applications to communicate about device usage policy > > is locking with O_EXCL. Many people do not realize that even read-only > > serial ports and ma

[patch 2.6.21-rc5-git 1/2] fix hotplug for legacy platform drivers

2007-03-31 Thread David Brownell
We've had various reports of some legacy "probe the hardware" style platform drivers having nasty problems with hotplug support. The core issue is that those legacy drivers don't fully conform to the driver model. They assume a role that should be the responsibility of infrastructure code: creati

[patch 2.6.21-rc5-git 2/2] update Documentation/driver-model/platform.txt

2007-03-31 Thread David Brownell
Make note of the legacy "probe-the-hardware" drivers, and some APIs that are mostly unused except by such drivers. We probably can't escape having legacy drivers for a while (e.g. old ISA drivers), but we can at least discourage this style code for new drivers, and unless it's unavoidable. Signed

Linux 2.6.16.46

2007-03-31 Thread Adrian Bunk
Location: ftp://ftp.kernel.org/pub/linux/kernel/v2.6/ git tree: git://git.kernel.org/pub/scm/linux/kernel/git/stable/linux-2.6.16.y.git RSS feed of the git tree: http://www.kernel.org/git/?p=linux/kernel/git/stable/linux-2.6.16.y.git;a=rss Changes since 2.6.16.45: Adrian Bunk (2): Linux

Re: 2.6.21-rc5-mm[12]: Oops on bootup in xor_see_2

2007-03-31 Thread Neil Brown
On Saturday March 31, [EMAIL PROTECTED] wrote: > On Sat, 31 Mar 2007 17:36:47 + Bernhard Rosenkraenzer <[EMAIL PROTECTED]> > wrote: > > > I'm getting this Oops when booting an 2.6.21-rc5-mm1 or 2.6.21-rc5-mm2 on > > an > > Acer Aspire 1501 LMi in 32 bit mode (2.6.21-rc4-mm1 + hotfixes works

Re: [patch 32/37] CRYPTO: api: scatterwalk_copychunks() fails to advance through scatterlist

2007-03-31 Thread J. Bruce Fields
On Sat, Mar 31, 2007 at 12:14:37PM +1000, Herbert Xu wrote: > Indeed. That patch was buggy. Sorry for not catching this earlier. Yep, thanks for the fix. I used the wrong length, then tested with a case where nbytes would always be less than PAGE_SIZE, which doesn't hit this problem. Apologies

Re: [PATCH] Fix microcode-related suspend problem

2007-03-31 Thread Adrian Bunk
On Sat, Mar 31, 2007 at 01:35:32PM -0700, Andrew Morton wrote: > On Sat, 31 Mar 2007 22:04:15 +0200 "Rafael J. Wysocki" <[EMAIL PROTECTED]> > wrote: > > > This patch appeard on LMKL six days ago and there have not been any negative > > comments since then, so I think I can try to make it official

Re: [2.6 patch] remove the config option for the cs5530a_warm_reset() quirk

2007-03-31 Thread Jeremy Fitzhardinge
Adrian Bunk wrote: > I have no strong opinion regarding this - if it's agreed upon that it's > unlikely it will ever grow, I can also send an additional patch > simplifying it. I haven't got any response from the original person who submitted this patch. It isn't clear to me whether this is a f

Re: broken device locking, sg vs. sg_io on block devices

2007-03-31 Thread Alan Cox
> But the desktop needs some means to deal with that. AFAICS the only > feasible way for applications to communicate about device usage policy > is locking with O_EXCL. Many people do not realize that even read-only serial ports and mail both use fcntl file locking , which is much more flexible.

Re: [2.6 patch] remove the config option for the cs5530a_warm_reset() quirk

2007-03-31 Thread Adrian Bunk
On Sat, Mar 31, 2007 at 02:05:23PM -0700, Jeremy Fitzhardinge wrote: > Adrian Bunk wrote: > > Instead of cleaning up this mess, please replace this patch with the > > patch below. > > > > Yeah, I considered that patch as a placeholder; I'd been wondering if it > can be completely removed. > >

Re: [patch 2/13] signal/timer/event fds v9 - signalfd core ...

2007-03-31 Thread Davide Libenzi
On Sat, 31 Mar 2007, Davide Libenzi wrote: > +config SIGNALFD > + bool "Eanble signalfd() system call" if EMBEDDED ^^ Alright ... - Davide - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to [EMAIL PROTECTED] More majordo

Re: [2.6 patch] remove the config option for the cs5530a_warm_reset() quirk

2007-03-31 Thread Jeremy Fitzhardinge
Adrian Bunk wrote: > Instead of cleaning up this mess, please replace this patch with the > patch below. > Yeah, I considered that patch as a placeholder; I'd been wondering if it can be completely removed. But this patch looks fine, though I'd go further - the lookup table of pci ids is over

Re: 2.6.21-rc5 from fc7-rc2 problems

2007-03-31 Thread Adrian Bunk
On Sat, Mar 31, 2007 at 01:46:10PM -0700, Andrew Morton wrote: > On Sat, 31 Mar 2007 16:14:01 -0400 Stephen Clark <[EMAIL PROTECTED]> wrote: >... > > Also it sets my hard > > drive to udma/33 when it run find at udma/66 under 2.6.20.1. > > #3. Hopefully it's related to #2. >... No, this sounds l

[-mm patch] make struct proc_fdinfo_file_operations static

2007-03-31 Thread Adrian Bunk
On Fri, Mar 30, 2007 at 01:05:59AM -0700, Andrew Morton wrote: >... > Changes since 2.6.21-rc5-mm2: >... > +add-file-position-info-to-proc.patch > > /proc feature work >... This patch makes the needlessly global struct proc_fdinfo_file_operations static. Signed-off-by: Adrian Bunk <[EMAIL PROT

[-mm patch] make drivers/net/qla3xxx.c:PHY_DEVICES[] static

2007-03-31 Thread Adrian Bunk
On Fri, Mar 30, 2007 at 01:05:59AM -0700, Andrew Morton wrote: >... > Changes since 2.6.21-rc5-mm2: >... > git-netdev-all.patch >... > git trees >... This patch makes the needlessly global PHY_DEVICES[] static. Signed-off-by: Adrian Bunk <[EMAIL PROTECTED]> --- BTW: Why is the name uppercase

[2.6 patch] remove the config option for the cs5530a_warm_reset() quirk

2007-03-31 Thread Adrian Bunk
On Fri, Mar 30, 2007 at 01:05:59AM -0700, Andrew Morton wrote: >... > Changes since 2.6.21-rc5-mm2: >... > +x86_64-mm-clean-up-mach_reboot_fixups.patch >... > A few x86 updates >... OMG - I'll never understand how someone could initially start doing this hiding of a small fixup behind a config o

[2.6 patch] bonding/bond_main.c: make 2 functions static

2007-03-31 Thread Adrian Bunk
This patch makes two needleesly global functions static. Signed-off-by: Adrian Bunk <[EMAIL PROTECTED]> --- drivers/net/bonding/bond_main.c |5 +++-- drivers/net/bonding/bonding.h |2 -- 2 files changed, 3 insertions(+), 4 deletions(-) --- linux-2.6.21-rc5-mm3/drivers/net/bonding/bon

Re: 2.6.21-rc5 from fc7-rc2 problems

2007-03-31 Thread Andrew Morton
On Sat, 31 Mar 2007 16:14:01 -0400 Stephen Clark <[EMAIL PROTECTED]> wrote: > Hello, > > I have just tried booting the fc7-rc2 live cd on 2 of my laptops and it > failed on both. > > Laptop 1 is an asus vbi s96f that get a panic that says exception in > interrupt routine > for my rtl8139. > >

[-mm patch] make drivers/ata/pata_ali.c:ali_tf_load() static

2007-03-31 Thread Adrian Bunk
On Fri, Mar 30, 2007 at 01:05:59AM -0700, Andrew Morton wrote: >... > Changes since 2.6.21-rc5-mm2: >... > +testing-patch-for-ali-pata-fixes-hopefully-for-the-problems-with-atapi-dma.patch > > pata experiment >... This patch makes the needlesly global ali_tf_load() static. Signed-off-by: Adria

Re: [PATCH] Fix microcode-related suspend problem

2007-03-31 Thread Rafael J. Wysocki
On Saturday, 31 March 2007 22:35, Andrew Morton wrote: > On Sat, 31 Mar 2007 22:04:15 +0200 "Rafael J. Wysocki" <[EMAIL PROTECTED]> > wrote: > > > This patch appeard on LMKL six days ago and there have not been any negative > > comments since then, so I think I can try to make it official. > > >

Re: 2.6.20.4 crashes

2007-03-31 Thread Andrew Morton
On Sat, 31 Mar 2007 20:44:58 +0200 Maciej Soltysiak <[EMAIL PROTECTED]> wrote: > Hi, > > here's more... > > BUG: unable to handle kernel NULL pointer dereference at virtual address > > printing eip: > > *pde = > Oops: [#1] > Modules linked in: binfmt_misc sit nf

Re: [PATCH] Fix microcode-related suspend problem

2007-03-31 Thread Andrew Morton
On Sat, 31 Mar 2007 22:04:15 +0200 "Rafael J. Wysocki" <[EMAIL PROTECTED]> wrote: > This patch appeard on LMKL six days ago and there have not been any negative > comments since then, so I think I can try to make it official. > > --- > From: Rafael J. Wysocki <[EMAIL PROTECTED]> > > Fix the reg

[patch 2/13] signal/timer/event fds v9 - signalfd core ...

2007-03-31 Thread Davide Libenzi
This patch series implements the new signalfd() system call. I took part of the original Linus code (and you know how badly it can be broken :), and I added even more breakage ;) Signals are fetched from the same signal queue used by the process, so signalfd will compete with standard kernel deliv

[patch 8/13] signal/timer/event fds v9 - timerfd wire up x86_64 arch ...

2007-03-31 Thread Davide Libenzi
This patch wire the timerfd system call to the x86_64 architecture. Signed-off-by: Davide Libenzi - Davide Index: linux-2.6.21-rc5.fds/arch/x86_64/ia32/ia32entry.S === --- linux-2.6.21-rc5.fds.orig/arch/x86_64/ia32/ia32entry.S

[patch 7/13] signal/timer/event fds v9 - timerfd wire up i386 arch ...

2007-03-31 Thread Davide Libenzi
This patch wire the timerfd system call to the i386 architecture. Signed-off-by: Davide Libenzi - Davide Index: linux-2.6.21-rc5.fds/arch/i386/kernel/syscall_table.S === --- linux-2.6.21-rc5.fds.orig/arch/i386/kernel/syscall_t

2.6.21-rc5 from fc7-rc2 problems

2007-03-31 Thread Stephen Clark
Hello, I have just tried booting the fc7-rc2 live cd on 2 of my laptops and it failed on both. Laptop 1 is an asus vbi s96f that get a panic that says exception in interrupt routine for my rtl8139. This device works fine in 2.6.20.2 $ lspci -v 00:00.0 Host bridge: Intel Corporation Mobile 9

[patch 10/13] signal/timer/event fds v9 - eventfd core ...

2007-03-31 Thread Davide Libenzi
This is a very simple and light file descriptor, that can be used as event wait/dispatch by userspace (both wait and dispatch) and by the kernel (dispatch only). It can be used instead of pipe(2) in all cases where those would simply be used to signal events. Their kernel overhead is much lower tha

[patch 9/13] signal/timer/event fds v9 - timerfd compat code ...

2007-03-31 Thread Davide Libenzi
This patch implement the necessary compat code for the timerfd system call. Signed-off-by: Davide Libenzi - Davide Index: linux-2.6.21-rc5.fds/fs/compat.c === --- linux-2.6.21-rc5.fds.orig/fs/compat.c 2007-03-31 12:30:34.

[patch 13/13] signal/timer/event fds v9 - KAIO eventfd support example ...

2007-03-31 Thread Davide Libenzi
This is an example about how to add eventfd support to the current KAIO code, in order to enable KAIO to post readiness events to a pollable fd (hence compatible with POSIX select/poll). The KAIO code simply signals the eventfd fd when events are ready, and this triggers a POLLIN in the fd. This pa

[patch 11/13] signal/timer/event fds v9 - eventfd wire up i386 arch ...

2007-03-31 Thread Davide Libenzi
This patch wire the eventfd system call to the i386 architecture. Signed-off-by: Davide Libenzi - Davide Index: linux-2.6.21-rc5.fds/arch/i386/kernel/syscall_table.S === --- linux-2.6.21-rc5.fds.orig/arch/i386/kernel/syscall_ta

[patch 12/13] signal/timer/event fds v9 - eventfd wire up x86_64 arch ...

2007-03-31 Thread Davide Libenzi
This patch wire the eventfd system call to the x86_64 architecture. Signed-off-by: Davide Libenzi - Davide Index: linux-2.6.21-rc5.fds/arch/x86_64/ia32/ia32entry.S === --- linux-2.6.21-rc5.fds.orig/arch/x86_64/ia32/ia32entry.S

[patch 4/13] signal/timer/event fds v9 - signalfd wire up x86_64 arch ...

2007-03-31 Thread Davide Libenzi
This patch wire the signalfd system call to the x86_64 architecture. Signed-off-by: Davide Libenzi - Davide Index: linux-2.6.21-rc5.fds/include/asm-x86_64/unistd.h === --- linux-2.6.21-rc5.fds.orig/include/asm-x86_64/unistd.h

[patch 6/13] signal/timer/event fds v9 - timerfd core ...

2007-03-31 Thread Davide Libenzi
This patch introduces a new system call for timers events delivered though file descriptors. This allows timer event to be used with standard POSIX poll(2), select(2) and read(2). As a consequence of supporting the Linux f_op->poll subsystem, they can be used with epoll(2) too. The system call is d

[patch 3/13] signal/timer/event fds v9 - signalfd wire up i386 arch ...

2007-03-31 Thread Davide Libenzi
This patch wire the signalfd system call to the i386 architecture. Signed-off-by: Davide Libenzi - Davide Index: linux-2.6.21-rc5.fds/arch/i386/kernel/syscall_table.S === --- linux-2.6.21-rc5.fds.orig/arch/i386/kernel/syscall_

[patch 1/13] signal/timer/event fds v9 - anonymous inode source ...

2007-03-31 Thread Davide Libenzi
This patch add an anonymous inode source, to be used for files that need and inode only in order to create a file*. We do not care of having an inode for each file, and we do not even care of having different names in the associated dentries (dentry names will be same for classes of file*). This

[patch 5/13] signal/timer/event fds v9 - signalfd compat code ...

2007-03-31 Thread Davide Libenzi
This patch implement the necessary compat code for the signalfd system call. Signed-off-by: Davide Libenzi - Davide Index: linux-2.6.21-rc5.fds/fs/compat.c === --- linux-2.6.21-rc5.fds.orig/fs/compat.c 2007-03-31 12:25:43

[PATCH] Fix microcode-related suspend problem

2007-03-31 Thread Rafael J. Wysocki
Hi, This patch appeard on LMKL six days ago and there have not been any negative comments since then, so I think I can try to make it official. --- From: Rafael J. Wysocki <[EMAIL PROTECTED]> Fix the regression resulting from the recent change of suspend code ordering that causes systems based o

Re: [SLUB 2/2] i386 arch page size slab fixes

2007-03-31 Thread Christoph Lameter
On Sat, 31 Mar 2007, Andrew Morton wrote: > Can we disable SLUB on i386 in Kconfig until it gets sorted out? Yes just do not apply this patch. The first one disables SLUB on i386. - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to [EMAIL PROTECT

Re: [SLUB 2/2] i386 arch page size slab fixes

2007-03-31 Thread Andrew Morton
On Sat, 31 Mar 2007 11:31:07 -0800 (PST) Christoph Lameter <[EMAIL PROTECTED]> wrote: > Fixup i386 arch for SLUB support > > i386 arch code currently uses the page struct of slabs for various purposes. > This interferes with slub and so SLUB has been disabled for i386 by setting > ARCH_USES_SLAB

Re: [patch 10/13] signal/timer/event fds v8 - eventfd core ...

2007-03-31 Thread Davide Libenzi
On Fri, 30 Mar 2007, Andrew Morton wrote: > On Fri, 30 Mar 2007 18:11:55 -0700 (PDT) Davide Libenzi > wrote: > > > > > > > + */ > > > > > > So it is the caller's responsibility to ensure that *file refers to an > > > eventfd file? > > > > In which function? I lost you ... > > > > eventfd_s

Re: [patch 6/13] signal/timer/event fds v8 - timerfd core ...

2007-03-31 Thread Davide Libenzi
On Fri, 30 Mar 2007, Andrew Morton wrote: > On Fri, 30 Mar 2007 17:47:28 -0700 (PDT) Davide Libenzi > wrote: > > > On Fri, 30 Mar 2007, Andrew Morton wrote: > > > > > > +struct timerfd_ctx { > > > > + struct hrtimer tmr; > > > > + ktime_t tintv; > > > > + spinlock_t lock; > >

Re: 2.6.21-rc5-mm[12]: Oops on bootup in xor_see_2

2007-03-31 Thread Andrew Morton
On Sat, 31 Mar 2007 17:36:47 + Bernhard Rosenkraenzer <[EMAIL PROTECTED]> wrote: > I'm getting this Oops when booting an 2.6.21-rc5-mm1 or 2.6.21-rc5-mm2 on an > Acer Aspire 1501 LMi in 32 bit mode (2.6.21-rc4-mm1 + hotfixes works > perfectly): > > xor: automatically using best checksummin

Re: [linux-pm] [PATCH v2] Add suspend/resume for HPET

2007-03-31 Thread David Brownell
On Saturday 31 March 2007 11:18 am, David Brownell wrote: > ( please remove obsolute [EMAIL PROTECTED] from further messages!! ) > > On Saturday 31 March 2007 10:02 am, Ingo Molnar wrote: > > > > i dont think there's any particular problem here because suspend/resume > > wont be done during boo

[SLUB tool] slabinfo: Display slab statistics

2007-03-31 Thread Christoph Lameter
/* * Slabinfo: Tool to get reports about slabs * * (C) 2007 sgi, Christoph Lameter <[EMAIL PROTECTED]> * * Compile by doing: * * gcc -o slabinfo slabinfo.c */ #include #include #include #include #include #include #include char buffer[200]; int show_alias = 0; int show_slab = 1; int

[SLUB 2/2] i386 arch page size slab fixes

2007-03-31 Thread Christoph Lameter
Fixup i386 arch for SLUB support i386 arch code currently uses the page struct of slabs for various purposes. This interferes with slub and so SLUB has been disabled for i386 by setting ARCH_USES_SLAB_PAGE_STRUCT. This patch removes the use of page sized slabs for maintaining pgds and pmds. Patc

[SLUB 0/2] SLUB: The unqueued slab allocator V6

2007-03-31 Thread Christoph Lameter
[PATCH] SLUB The unqueued slab allocator v6 Note that the definition of the return type of ksize() is currently different between mm and Linus' tree. Patch is conforming to mm. This patch also needs sprint_symbol() support from mm. V5->V6: - Straighten out various coding issues u.a. to make the

Re: usb hid: reset NumLock

2007-03-31 Thread Jiri Kosina
On Fri, 30 Mar 2007, Pete Zaitcev wrote: > @@ -1328,9 +1340,18 @@ static int hid_probe(struct usb_interface *intf, const > struct usb_device_id *id) > return -ENODEV; > } > > - if ((hid->claimed & HID_CLAIMED_INPUT)) > + if ((hid->claimed & HID_CLAIMED_INPUT)) { >

2.6.21-rc5-mm3: Why was my vioc cleanup patch dropped?

2007-03-31 Thread Adrian Bunk
On Fri, Mar 30, 2007 at 01:05:59AM -0700, Andrew Morton wrote: >... > Changes since 2.6.21-rc5-mm2: >... > -drivers-net-vioc-possible-cleanups.patch >... > Merged into mainline or a subsystem tree. >... Please give me a clue: - This patch is not merged into the netdev tree as included in -mm and

Re: missing kretprobes support on avr32 and sparc64

2007-03-31 Thread David Miller
From: Christoph Hellwig <[EMAIL PROTECTED]> Date: Sat, 31 Mar 2007 15:15:22 +0200 > Currently all avr32 and sparc64 don't support kretprobes unlike all > other kprobes supporting architectures. This is not nice from the > user interface point of view and from the ugly ifdefs point of view. > Is t

2.6.20.4 crashes

2007-03-31 Thread Maciej Soltysiak
Hi, here's more... BUG: unable to handle kernel NULL pointer dereference at virtual address printing eip: *pde = Oops: [#1] Modules linked in: binfmt_misc sit nfs lockd nfs_acl sunrpc ipt_ECN iptable_mangle w83627ehf i2c_isa i2c_viapro i2c_core via_agp agpgart r

Re: [PATCH 3/4] [SCSI]stex: fix reset recovery for console device

2007-03-31 Thread James Bottomley
On Fri, 2007-03-30 at 15:21 -0700, Ed Lin wrote: > After reset completed, the scsi error handler sends out START_STOP > and TEST_UNIT_READY to the device. For 'normal' devices these > commands will be handled by firmware. However, because the RAID > console only interfaces to scsi mid layer, the fi

Re: mcdx -- do_request(): non-read command to cd!!

2007-03-31 Thread Rene Herman
On 03/31/2007 08:47 AM, Jens Axboe wrote: Try this. diff --git a/drivers/cdrom/mcdx.c b/drivers/cdrom/mcdx.c index f574962..7086313 100644 --- a/drivers/cdrom/mcdx.c +++ b/drivers/cdrom/mcdx.c @@ -577,6 +577,11 @@ static void do_mcdx_request(request_queue_t * q) if (!req)

  1   2   >