Re: areca-raid-linux-scsi-driver.patch added to -mm tree

2005-08-05 Thread Arjan van de Ven
On Fri, 2005-08-05 at 02:11 -0700, [EMAIL PROTECTED] wrote: > +// > +#if defined __KERNEL__ this looks wrong; __KERNEL__ is always set > +#include > +#if defined( CONFIG_MODVERSIONS ) && ! defined( MODVERSIONS ) > +#define MODVERSIONS > +#endif > + /*

Re: [PATCH] kernel: use kcalloc instead kmalloc/memset

2005-08-05 Thread Arjan van de Ven
On Fri, 2005-08-05 at 11:37 +0200, Roman Zippel wrote: > Hi, > > On Thu, 4 Aug 2005, Andrew Morton wrote: > > > > +static inline void *kzalloc(size_t size, unsigned int __nocast flags) > > > +{ > > > + return kcalloc(1, size, flags); > > > +} > > > + > > > > That'll generate just as much code

RE: IDE disk and HPA

2005-08-05 Thread Etienne Lorrain
>> Note that this HPA is a good place to store a bootloader too, in fact >> I like to think of it as the big floppy drive of the PC which no more >> have any floppy drive: create a FAT filesystem of 64 Mbytes there and >> copy all the floppy you used to have there. Your bootloader, if it >> is

oops with 2.6.13-rc5 on webserver with raid

2005-08-05 Thread Martin Braun
Hi, I've been trying to upgrade kernel to 2.6.13-rc5. The server boots normally w/o errors, but after while (from 5 minutes up to 2 hours) the Kernel hangs (no keyboard input possible). As I am a newbie I cannot figure out who will be concerned with this error. Here ist the ksymoops output

Re: [2.6.12rc4] PROBLEM: "drive appears confused" and "irq 18: nobody cared!"

2005-08-05 Thread Alan Cox
On Iau, 2005-08-04 at 13:25 -0700, Andrew Morton wrote: > OK, that's the driver which Alan played with. I don't expect we'll be able > to get all this fixed up for 2.6.13. > > Please check 2.6.13-rc6 when it's out - this might fix the IRQ problem. If > any bugs remain, please raise entries for

Re: kernel: use kcalloc instead kmalloc/memset

2005-08-05 Thread Pekka J Enberg
On Fri, 2005-08-05 at 11:37 +0200, Roman Zippel wrote: > BTW we already have 420 "kcalloc(1, ...)" user and 41 without the 1 > argument, most of them are in sound, which introduced it in first place. > Can we please deprecate that function before it spreads any further? Arjan van de Ven

Re: [RFC] Move InfiniBand .h files

2005-08-05 Thread Christoph Hellwig
On Thu, Aug 04, 2005 at 10:32:14AM -0700, Roland Dreier wrote: > I would like to get people's reactions to moving the InfiniBand .h > files from their current location in drivers/infiniband/include/ to > include/linux/rdma/. If we agree that this is a good idea then I'll > push this change as

Re: areca-raid-linux-scsi-driver.patch added to -mm tree

2005-08-05 Thread Jens Axboe
On Fri, Aug 05 2005, Arjan van de Ven wrote: > > + > > + while (1) { > > + int64_t span4G, length0; > > + PSG64ENTRY pdma_sg = (PSG64ENTRY) psge; > > + > > + span4G = > >

Re: [PATCH] kernel: use kcalloc instead kmalloc/memset

2005-08-05 Thread Roman Zippel
Hi, On Fri, 5 Aug 2005, Arjan van de Ven wrote: > kcalloc does have value, in that it's a nice api to avoid multiplication > overflows. Just for "1" it's indeed not the most useful API. This would imply a similiar kmalloc() would be useful as well. Second, how relevant is it for the kernel? Is

Re: [PATCH 00/14] GFS

2005-08-05 Thread Jörn Engel
On Fri, 5 August 2005 17:44:52 +0800, David Teigland wrote: > > linux/lib/crc32table.h : crc32table_le[] is the same as our crc_32_tab[]. > This looks like a standard that's not going to change, as you've said, so > including crc32table.h and getting rid of our own table would work fine. > > Do

DIRECTLY FROM MANUFACTURER

2005-08-05 Thread LGPANELS
20" LCD TV MONITOR SLEEK DESIGN SLEEKER PRICE US$299 A mix of performance and style. For those who demand only the best. For those who desire high style combined with high technology. The sleek ultra-thin metallic-on-black design complements any décor, without sacrificing

Re: [PATCH] kernel: use kcalloc instead kmalloc/memset

2005-08-05 Thread Arjan van de Ven
On Fri, 2005-08-05 at 12:07 +0200, Roman Zippel wrote: > Hi, > > On Fri, 5 Aug 2005, Arjan van de Ven wrote: > > > kcalloc does have value, in that it's a nice api to avoid multiplication > > overflows. Just for "1" it's indeed not the most useful API. > > This would imply a similiar kmalloc()

Re: kernel: use kcalloc instead kmalloc/memset

2005-08-05 Thread Pekka J Enberg
On Fri, 5 Aug 2005, Arjan van de Ven wrote: > kcalloc does have value, in that it's a nice api to avoid multiplication > overflows. Just for "1" it's indeed not the most useful API. Roman Zippel writes: This would imply a similiar kmalloc() would be useful as well. Second, how relevant is it

Re: IDE disk and HPA

2005-08-05 Thread Etienne Lorrain
> If I want to upgrade my IDE Hard drive by my self, how can I > restore that kind of data on other diferent PC? So the content of the HPA should be limited to program which are special: a boot loader is position dependant and you do not want to copy it blindly to another hard disk with maybe

Re: kernel status, 4 Aug 2005

2005-08-05 Thread David Vrabel
Andrew Morton wrote: > > Status of subsystem trees: > > 3190002git-acpi.patch > 68299 git-alsa.patch What are these numbers? David Vrabel - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to [EMAIL PROTECTED] More majordomo info at

Re: [PATCH 00/14] GFS

2005-08-05 Thread David Teigland
On Fri, Aug 05, 2005 at 12:07:50PM +0200, J?rn Engel wrote: > On Fri, 5 August 2005 17:44:52 +0800, David Teigland wrote: > > Do we go a step beyond this and use say the crc32() function from > > linux/crc32.h? Is this _function_ as standard and unchanging as the table > > of crcs? In my tests

Re: amd64-agp vs. swsusp

2005-08-05 Thread Andreas Steinmetz
Cal Peake wrote: > On Thu, 4 Aug 2005, Andrew Morton wrote: > > >>Michal Schmidt <[EMAIL PROTECTED]> wrote: >> >>>Does resuming from swsuspend work for anyone with amd64-agp loaded? >> >>It would seem not ;) > > > Must have missed the OP. Yes I can resume fine from swsusp with amd64-agp. > >

Re: [PATCH] kernel: use kcalloc instead kmalloc/memset

2005-08-05 Thread Roman Zippel
Hi, On Fri, 5 Aug 2005, Arjan van de Ven wrote: > > This would imply a similiar kmalloc() would be useful as well. > > Second, how relevant is it for the kernel? > > we've had a non-negliable amount of security holes because of this So why don't we have a similiar kmalloc()? > > Is that

rc5 seemed to kill a disk that rc4-mm1 likes. Also some X trouble.

2005-08-05 Thread Helge Hafting
2.6.13-rc5 seemed to kill a scsi disk (sdb) for me, where 2.6.13-rc4-mm1 have no problems with the same disk. Machine: opteron running a x86-64 kernel, with built-in SATA as well as a symbios scsi controller. Two videocards running independent xservers. The sdb disk is on the symbios controller.

Re: kernel status, 4 Aug 2005

2005-08-05 Thread Andrew Morton
David Vrabel <[EMAIL PROTECTED]> wrote: > > Andrew Morton wrote: > > > > Status of subsystem trees: > > > > 3190002git-acpi.patch > > 68299 git-alsa.patch > > What are these numbers? > File size in bytes. - To unsubscribe from this list: send the line "unsubscribe linux-kernel"

Re: [PATCH] kernel: use kcalloc instead kmalloc/memset

2005-08-05 Thread Arjan van de Ven
On Fri, 2005-08-05 at 12:32 +0200, Roman Zippel wrote: > Hi, > > On Fri, 5 Aug 2005, Arjan van de Ven wrote: > > > > This would imply a similiar kmalloc() would be useful as well. > > > Second, how relevant is it for the kernel? > > > > we've had a non-negliable amount of security holes

Re: OOM problems still left in 2.6.13-rc3

2005-08-05 Thread Akira Fujita
Hi Andrew, > But it's not possible to say that the system has really leaked pages >unless you first put a lot of memory reclaim pressure on the machine >to try to reclaim those oddball pages. I tried putting a memory pressure on the machine, then unused pages on the page LRU could be

Re: isa0060/serio0 problems -WAS- Re: Asus MB and 2.6.12 Problems

2005-08-05 Thread Marc Ballarin
On Thu, 4 Aug 2005 23:07:33 -0500 Dmitry Torokhov <[EMAIL PROTECTED]> wrote: > It requests BIOS to hand off control of USB which disables USB legacy > emulation > and all troubles associated with it. We could start with -mm... This also fixes an issue I encountered while doing power

pselect() modifying timeout

2005-08-05 Thread Michael Kerrisk
Hello David, By the way, looking at the comments to the last version of the pselect()/ppoll()patch, I see that the treatment of the timeout argument is made dependent on the personality. http://marc.theaimsgroup.com/?l=linux-kernel=111883591220436=2 I'm not sure that this is a good idea; my

[patch] preempt-trace.patch

2005-08-05 Thread Ingo Molnar
* Andrew Morton <[EMAIL PROTECTED]> wrote: > I think Ingo was planning on coming up with some infrastructure which > would allow us to debug this further. yeah. I've done this today and have split it out of the -RT tree, see the patch below. After some exposure in -mm i'd like this feature to

Re: [PATCH] kernel: use kcalloc instead kmalloc/memset

2005-08-05 Thread Roman Zippel
Hi, On Fri, 5 Aug 2005, Arjan van de Ven wrote: > > > we've had a non-negliable amount of security holes because of this > > > > So why don't we have a similiar kmalloc()? > > nope kmalloc is not an array allocator > > > > it makes it easy and safe. Of course you can and should check it in

Re: [Fwd: Re: [patch] Real-Time Preemption, -RT-2.6.13-rc4-V0.7.52-01]

2005-08-05 Thread Ingo Molnar
* Steven Rostedt <[EMAIL PROTECTED]> wrote: > Ingo, > > This was my final version of the softlockup patch. Do you have any > comments on it? I wasn't sure if you were waiting for any more debate > on this patch or not. ok, looks good - i've applied it and released the -52-14 PREEMPT_RT

gcapatcch equivalent?

2005-08-05 Thread Dave Airlie
At KS I asked after a gcapatch command for git.. I've got two trees drm-2.6 and linux-2.6, linux-2.6 is latest Linus, so of course a tree diff gives me all the new patches in linux-2.6 that aren't in drm-2.6 which isn't what I want.. I want gcapatch I'm sure someone has one and I don't

Re: [patch] Fix a bit/byte counting error in the MMC/SD code

2005-08-05 Thread Pierre Ossman
Richard Purdie wrote: > This fixes what looks like a bit/byte counting error in the MMC/SD code > which was causing data corruption (in the -mm tree). > > Signed-off-by: Richard Purdie <[EMAIL PROTECTED]> Ooops... Must have been late in the evening. Sorry about that blunder. Rgds Pierre - To

Re: [PATCH] kernel: use kcalloc instead kmalloc/memset

2005-08-05 Thread Arjan van de Ven
On Fri, 2005-08-05 at 12:56 +0200, Roman Zippel wrote: > Hi, > > On Fri, 5 Aug 2005, Arjan van de Ven wrote: > > > > > we've had a non-negliable amount of security holes because of this > > > > > > So why don't we have a similiar kmalloc()? > > > > nope kmalloc is not an array allocator > > >

Re: [patch] preempt-trace.patch

2005-08-05 Thread Dominik Karall
On Friday 05 August 2005 12:48, Ingo Molnar wrote: > * Andrew Morton <[EMAIL PROTECTED]> wrote: > > I think Ingo was planning on coming up with some infrastructure which > > would allow us to debug this further. > > yeah. I've done this today and have split it out of the -RT tree, see > the patch

Re: lockups with netconsole on e1000 on media insertion

2005-08-05 Thread Andi Kleen
John Bäckstrand <[EMAIL PROTECTED]> writes: > I've been trying to hunt down a hard lockup issue with some hardware > of mine, but I've possibly hit a kernel bug instead. When using > netconsole on my e1000, if I unplug the cable and then re-plug it, the > machine locks up hard. It manages to

Re: Add pselect, ppoll system calls.

2005-08-05 Thread Michael Kerrisk
> From: David Woodhouse <[EMAIL PROTECTED]> > Subject: Re: Add pselect, ppoll system calls. > Date: Wed, 15 Jun 2005 12:36:54 +0100 > > On Mon, 2005-06-13 at 08:38 -0700, Ulrich Drepper wrote: > > > Eep -- I hadn't noticed that difference. Will update patch > > accordingly. > > > > And change

Re: [ACPI] Re: 2.6.13-rc3-mm3

2005-08-05 Thread Michael Thonke
Hello Andrew, Andrew Morton wrote: Michael, I'm assuming that a) this problem remains in those -mm kernels which include git-acpi.patch and that b) the problems are not present in 2.6.13-rc5 or 2.6.13-rc6, yes? a.) I don't have any problems in 2.6.13-rc5-git[1-3] and 2.6.13-rc4-mm1 they

Re: kernel status, 4 Aug 2005

2005-08-05 Thread Adrian Bunk
On Fri, Aug 05, 2005 at 02:07:29AM -0700, Andrew Morton wrote: >... > Open bugs: > > This is based on my reading of what's real and of what's worth > attending to. Quite a few things get culled up-front. > > There are several emailed bug reports which are probably live bugs but > they

Re: [linux-pm] [PATCH] Workqueue freezer support.

2005-08-05 Thread Nigel Cunningham
Hi. I finally found some time to finish this off. I don't really like the end result - the macros looked clearer to me - but here goes. If it looks okay, I'll seek sign offs from each of the affected driver maintainers and from Ingo. Anyone else? Regards, Nigel drivers/acpi/osl.c |

Re: amd74xx (nforce) driver problem ?

2005-08-05 Thread Vojtech Pavlik
On Mon, Aug 01, 2005 at 05:06:33AM -0400, Sonny Rao wrote: > Hi, > > I have a system based on the Nforce2 chipset which uses the amd7xx > driver for it's IDE support, and I noticed that one of the drives was > performing very slowly. I looked into it a bit more and it seems the > drive was

Re: platform-device-driver-for-mq11xx-graphics-chip.patch added to -mm tree

2005-08-05 Thread Jamey Hicks
Richard Purdie wrote: On Fri, 2005-08-05 at 00:18 -0700, [EMAIL PROTECTED] wrote: The patch titled platform-device driver for MQ11xx graphics chip has been added to the -mm tree. Its filename is platform-device-driver-for-mq11xx-graphics-chip.patch

Re: [PATCH] i386 No-Idle-Hz aka Dynamic-Ticks 3

2005-08-05 Thread Srivatsa Vaddagiri
On Wed, Aug 03, 2005 at 06:05:28AM +, Con Kolivas wrote: > This is the dynamic ticks patch for i386 as written by Tony Lindgen > <[EMAIL PROTECTED]> and Tuukka Tikkanen <[EMAIL PROTECTED]>. > Patch for 2.6.13-rc5 > > There were a couple of things that I wanted to change so here is an

Re: [ck] [PATCH] Timer Top was: i386 No-Idle-Hz aka Dynamic-Ticks 3

2005-08-05 Thread Daniel Petrini
Hi, > -- > Jens Axboe > Thanks for your corrections. Here we have a new version. Daniel Petrini -- 10LE - Linux INdT - Manaus - Brazil diff -uprN linux-2.6.12-orig/kernel/Makefile linux-dyn-tick/kernel/Makefile --- linux-2.6.12-orig/kernel/Makefile 2005-08-03 23:50:26.0 -0400 +++

Re: lockups with netconsole on e1000 on media insertion

2005-08-05 Thread John Bäckstrand
Andi Kleen wrote: The patch was for 2.6.12, did a quick untested port to 2.6.13rc5. -Andi Only try a limited number to send packets in netpoll Thanks, worked nicely! --- John Bäckstrand - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to

[BUG] sunrpc as module and bad proc/sys link count

2005-08-05 Thread Jiri Slaby
Hello. When sunrpc is as module, sysctl adds to proc fs proc/sys/sunrpc, adds 1 to number of proc/sys link (see later), but when it's ls-ed, there is still old count. I.e. my proc/sys before modprobe-ing sunrpc: # ls -la /proc/sys celkem 0 dr-xr-xr-x9 root root 0 srp 5 12:43 . dr-xr-xr-x

Is it a process?

2005-08-05 Thread lab liscs
when linux kernel receives a packet from the netcard and the forwards it . the process can be viewed as a kernel process ? and if this process can be interrupted ? thanks a lot!! - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to [EMAIL

Re: [PATCH] i386 No-Idle-Hz aka Dynamic-Ticks 3

2005-08-05 Thread Con Kolivas
On Fri, 5 Aug 2005 22:37, Srivatsa Vaddagiri wrote: > On Wed, Aug 03, 2005 at 06:05:28AM +, Con Kolivas wrote: > > This is the dynamic ticks patch for i386 as written by Tony Lindgen > > <[EMAIL PROTECTED]> and Tuukka Tikkanen <[EMAIL PROTECTED]>. > > Patch for 2.6.13-rc5 > > > > There were a

Re: [PATCH] bugfix: two read_inode() calls without clear_inode() call between

2005-08-05 Thread Vasily Averin
Hello, Could you please explain me, why we need to wake up somebody right before freeing an inode? It seems for me, if somebody really wait on this inode, then they have a good chance to access already freed memory. Thank you, Vasily Averin diff --git a/fs/inode.c b/fs/inode.c ---

Re: [PATCH] driver core: Add the ability to unbind drivers to devices from userspace

2005-08-05 Thread Jon Smirl
On 1/1/02, Pavel Machek <[EMAIL PROTECTED]> wrote: > Hi! > > > > > New, simplified version of the sysfs whitespace strip patch... > > > > > > Could you tell me why you don't just fail the operation if malformed > > > input is supplied? > > > > Leading/trailing white space should be allowed. For

Re: platform-device-driver-for-mq11xx-graphics-chip.patch added to -mm tree

2005-08-05 Thread Alexey Dobriyan
On Fri, Aug 05, 2005 at 12:18:03AM -0700, [EMAIL PROTECTED] wrote: > From: Jamey Hicks <[EMAIL PROTECTED]> > > This patch adds platform_device driver for MQ11xx system-on-chip graphics > chip. This chip is used in several non-PCI ARM and MIPS platforms such as > the iPAQ H5550. Two subsequent

Re: [PATCH] bugfix: two read_inode() calls without clear_inode() call between

2005-08-05 Thread Miklos Szeredi
> Could you please explain me, why we need to wake up somebody right > before freeing an inode? It seems for me, if somebody really wait on > this inode, then they have a good chance to access already freed memory. find_inode() needs to be woken up (__wait_on_freeing_inode) when an inode being

Re: Determining if the current processor is Hyperthreaded

2005-08-05 Thread Athul Acharya
On 8/2/05, Athul Acharya <[EMAIL PROTECTED]> wrote: > That is, I want to know whether the current cpu I (kernel code) am > executing on is hyperthreaded, and if so, which logical cpu represents > the other thread on chip. Trying again, as it seems like a simple thing that really should exist --

[PATCH 2.6.13-rc5-gitNOW] msleep() cannot be used from interrupt

2005-08-05 Thread Petr Vandrovec
Hello Linus, can you apply patch below? Since beginning of July my Opteron box was randomly crashing and being rebooted by hardware watchdog. Today it finally did it in front of me, and this patch will hopefully fix it. Problem is that at the end of June (28th, commit

Re: [ck] [PATCH] Timer Top was: i386 No-Idle-Hz aka Dynamic-Ticks 3

2005-08-05 Thread Daniel Petrini
Hi, Here we have a new version that includes Jens Axboe's corrections and Con Kolivas tweaks. Thanks, Daniel -- 10LE - Linux INdT - Manaus - Brazil diff -uprN linux-2.6.12-orig/kernel/Makefile linux-dyn-tick/kernel/Makefile --- linux-2.6.12-orig/kernel/Makefile 2005-08-05 09:33:24.0

Re: [BUG] sunrpc as module and bad proc/sys link count

2005-08-05 Thread Miklos Szeredi
> When sunrpc is as module, sysctl adds to proc fs proc/sys/sunrpc, adds 1 > to number of proc/sys link (see later), but when it's ls-ed, there is > still old count. Does this patch solve it? Index: linux/fs/proc/generic.c === ---

Re: lockups with netconsole on e1000 on media insertion

2005-08-05 Thread Steven Rostedt
On Fri, 2005-08-05 at 13:45 +0200, Andi Kleen wrote: > John Bäckstrand <[EMAIL PROTECTED]> writes: > > > I've been trying to hunt down a hard lockup issue with some hardware > > of mine, but I've possibly hit a kernel bug instead. When using > > netconsole on my e1000, if I unplug the cable and

Re: lockups with netconsole on e1000 on media insertion

2005-08-05 Thread Andi Kleen
> This is fixing the symptom and is not the cure. Unfortunately I don't > have a e1000 card so I can't try a fix. But I did have a e100 card that > would lock up the same way. The problem was that netpoll_poll calls the > cards netpoll routine (in e1000_main.c e1000_netpoll). In the e100 >

Re: [PATCH 2.6.13-rc5-gitNOW] msleep() cannot be used from interrupt

2005-08-05 Thread linux-os \(Dick Johnson\)
On Fri, 5 Aug 2005, Petr Vandrovec wrote: > Hello Linus, > can you apply patch below? > > Since beginning of July my Opteron box was randomly crashing and being > rebooted > by hardware watchdog. Today it finally did it in front of me, and this patch > will hopefully fix it. > > Problem is

Re: make modules Segfault

2005-08-05 Thread Adrian Bunk
On Thu, Aug 04, 2005 at 09:20:22PM -0600, George Van Tuyl wrote: > > To: linux-kernel@vger.kernel.org > > > > [1.] One line summary of the problem: > > make modules failed Segfault (program cpp0) > > [2.] Full description of the problem/report: > > gcc: Internal error: Segmentation fault

Re: make modules Segfault

2005-08-05 Thread Adrian Bunk
On Fri, Aug 05, 2005 at 08:23:18AM +0200, Jan Engelhardt wrote: > > >> Gnu C 2.96 > > > > Seriously, it seems like your machine is flaky. > > And even if it were a kernel source problem, > > gcc should never have an internal error. > > But gcc-2.96 is so old that it's not

Re: [patch] preempt-trace.patch (mono preempt-trace)

2005-08-05 Thread Dominik Karall
On Friday 05 August 2005 12:48, Ingo Molnar wrote: > * Andrew Morton <[EMAIL PROTECTED]> wrote: > > I think Ingo was planning on coming up with some infrastructure which > > would allow us to debug this further. > > yeah. I've done this today and have split it out of the -RT tree, see > the patch

Re: preempt with selinux NULL pointer dereference

2005-08-05 Thread James Morris
On Fri, 5 Aug 2005, antoine wrote: After using it for a good few hours, I launched a shell script in a terminal and got the traces below. I hope this helps (if not, please let me know how to make it helpful or I'll just stop testing -rc kernels and save myself some time) [ 4788.218951]

Re: [PATCH 2.6.13-rc5-gitNOW] msleep() cannot be used from interrupt

2005-08-05 Thread Petr Vandrovec
linux-os (Dick Johnson) wrote: On Fri, 5 Aug 2005, Petr Vandrovec wrote: Hello Linus, can you apply patch below? Since beginning of July my Opteron box was randomly crashing and being rebooted by hardware watchdog. Today it finally did it in front of me, and this patch will hopefully fix

[patch 2.6.13-rc5]dell_rbu: Resubmitting patch for new Dell BIOS update driver

2005-08-05 Thread Abhay Salunke
Resending dell_rbu driver after making a few more improvements and also using the new request_firmware_nowait kernel API sent in the firmware_class.c patch. This patch has been tested on i386 and x86-64 systems along with the firmware_class.c patch and it works fine. Signed-off-by: Abhay

Re: [-mm patch] relayfs: add read() support

2005-08-05 Thread Jens Axboe
On Thu, Aug 04 2005, Tom Zanussi wrote: > At the kernel summit, there was some discussion of relayfs and the > consensus was that it didn't make sense for relayfs to not implement > read(). So here's a read implementation... It needs a few fixes to actually compile without errors. This works for

[patch 2.6.13-rc5] modified firmware_class.c to support no hotplug

2005-08-05 Thread Abhay Salunke
Oh!!Please ignore the earlier firmware_calss.c patch sent a worng one by mistake :-( This is the correct patch :-). Reseending the patch for firmware_class.c submitted earlier ,the patch upgrades the request_firmware_nowait function to not start the hotplug action on a firmware update. This

[patch 2.6.13-rc5] modified firmware_class.c to support no hotplug

2005-08-05 Thread Abhay Salunke
Reseending the patch for firmware_class.c submitted earlier ,the patch upgrades the request_firmware_nowait function to not start the hotplug action on a firmware update. This patch is tested along with dell_rbu driver on i386 and x86-64 systems. Andrew, could you please add this patch to the

[PATCH 0/8] convert kcalloc to kzalloc

2005-08-05 Thread Pekka Enberg
This patchkit converts kcalloc(1, ...) to the new kzalloc(). Andrew, please let me know if you don't want to pick up some of these. I will feed them to subsystem maintainers once kzalloc() hits Linus' tree. Signed-off-by: Pekka Enberg <[EMAIL PROTECTED]> --- arch/ia64/sn/kernel/io_init.c

[PATCH 1/8] IA64: convert kcalloc to kzalloc

2005-08-05 Thread Pekka Enberg
This patch converts kcalloc(1, ...) calls to use the new kzalloc() function. Signed-off-by: Pekka Enberg <[EMAIL PROTECTED]> --- kernel/io_init.c |2 +- kernel/tiocx.c |2 +- pci/tioca_provider.c |8 3 files changed, 6 insertions(+), 6 deletions(-) Index:

Re: NUMA policy interface

2005-08-05 Thread Christoph Lameter
On Fri, 5 Aug 2005, Andi Kleen wrote: > > a clean way. It cannot even deliver the functionality it was designed to > > deliver (see BIND). > > That seems like a unfair description to me. While things are not > perfect they are definitely not as bad as you're trying to paint them. Sorry this

[PATCH 6/8] drivers: convert kcalloc to kzalloc

2005-08-05 Thread Pekka Enberg
This patch converts kcalloc(1, ...) calls to use the new kzalloc() function. Signed-off-by: Pekka Enberg <[EMAIL PROTECTED]> --- block/aoe/aoedev.c |2 +- char/mbcs.c |2 +- i2c/chips/isp1301_omap.c |2 +- infiniband/core/sysfs.c |2 +- scsi/sata_qstor.c

Re: pselect() modifying timeout

2005-08-05 Thread Ulrich Drepper
Michael Kerrisk wrote: > Please consider making Linux pselect() conform to POSIX on this > point. There is no question the implementation will conform. But this not dependent on changing the syscall interface. We deliberately decided to not require the kernel interface to be different from

Re: [PATCH 2.6.13-rc5-gitNOW] msleep() cannot be used from interrupt

2005-08-05 Thread linux-os \(Dick Johnson\)
On Fri, 5 Aug 2005, Petr Vandrovec wrote: > linux-os (Dick Johnson) wrote: >> On Fri, 5 Aug 2005, Petr Vandrovec wrote: >> >> >>> Hello Linus, >>> can you apply patch below? >>> >>> Since beginning of July my Opteron box was randomly crashing and being >>> rebooted >>> by hardware watchdog.

Re: [-mm patch] relayfs: add read() support

2005-08-05 Thread Tom Zanussi
Jens Axboe writes: > On Thu, Aug 04 2005, Tom Zanussi wrote: > > At the kernel summit, there was some discussion of relayfs and the > > consensus was that it didn't make sense for relayfs to not implement > > read(). So here's a read implementation... > > It needs a few fixes to actually

Re: lockups with netconsole on e1000 on media insertion

2005-08-05 Thread Steven Rostedt
On Fri, 2005-08-05 at 15:55 +0200, Andi Kleen wrote: > > This is fixing the symptom and is not the cure. Unfortunately I don't > > have a e1000 card so I can't try a fix. But I did have a e100 card that > > would lock up the same way. The problem was that netpoll_poll calls the > > cards netpoll

Re: lockups with netconsole on e1000 on media insertion

2005-08-05 Thread Andi Kleen
On Fri, Aug 05, 2005 at 10:10:13AM -0400, Steven Rostedt wrote: > On Fri, 2005-08-05 at 15:55 +0200, Andi Kleen wrote: > > > This is fixing the symptom and is not the cure. Unfortunately I don't > > > have a e1000 card so I can't try a fix. But I did have a e100 card that > > > would lock up the

Re: lockups with netconsole on e1000 on media insertion

2005-08-05 Thread Steven Rostedt
On Fri, 2005-08-05 at 16:14 +0200, Andi Kleen wrote: > On Fri, Aug 05, 2005 at 10:10:13AM -0400, Steven Rostedt wrote: > > On Fri, 2005-08-05 at 15:55 +0200, Andi Kleen wrote: > > > > This is fixing the symptom and is not the cure. Unfortunately I don't > > > > have a e1000 card so I can't try a

Re: lockups with netconsole on e1000 on media insertion

2005-08-05 Thread David S. Miller
From: Steven Rostedt <[EMAIL PROTECTED]> Date: Fri, 05 Aug 2005 10:27:06 -0400 > Darn it, since this should really be reported. Yes, the core netpoll > should bail out, but it is also a problem with the driver and should be > fixed. I don't get how you can even remotely claim this to be a

[PATCH] netpoll can lock up on low memory.

2005-08-05 Thread Steven Rostedt
Looking at the netpoll routines, I noticed that the find_skb could lockup if the memory is low. This is because the allocations are called with GFP_ATOMIC (since this is in interrupt context) and if it fails, it will continue to fail. This is just by observing the code, I didn't have this

Re: [linux-usb-devel] Re: 2.6.13-rc4-mm1

2005-08-05 Thread david-b
> Date: Sun, 31 Jul 2005 19:02:09 -0700 > From: [EMAIL PROTECTED] > > > Date: Sun, 31 Jul 2005 16:02:44 -0700 > > From: Greg KH <[EMAIL PROTECTED]> > > > > On Sun, Jul 31, 2005 at 11:25:10AM -0700, [EMAIL PROTECTED] wrote: > > > I think that "continuing" codepath came from someone at Phoenix,

Re: Symbios problems in recent -mm trees?

2005-08-05 Thread James Bottomley
On Thu, 2005-08-04 at 23:39 -0700, Andrew Morton wrote: > James, could some of the scsi core rework have caused this? Well, I don't think so. The error below: > > sdc: Unit Not Ready, sense: > > : Current: sense key=0x0 > > ASC=0x0 ASCQ=0x0 > > target0:0:10: FAST-40 WIDE SCSI 80.0 MB/s DT

Re: [Bugme-new] [Bug 5003] New: Problem with symbios driver on recent -mm trees

2005-08-05 Thread Martin J. Bligh
--James Bottomley <[EMAIL PROTECTED]> wrote (on Friday, August 05, 2005 09:24:52 -0500): > On Thu, 2005-08-04 at 23:39 -0700, Andrew Morton wrote: >> James, could some of the scsi core rework have caused this? > > Well, I don't think so. The error below: > >> > sdc: Unit Not Ready, sense:

[patch] preempt-trace-fixes.patch

2005-08-05 Thread Ingo Molnar
* Dominik Karall <[EMAIL PROTECTED]> wrote: > > yeah. I've done this today and have split it out of the -RT tree, see > > the patch below. After some exposure in -mm i'd like this feature to go > > upstream too. > > > > the patch is against recent Linus trees, 2.6.13-rc4 or later should all > >

Re: [PATCH] PNPACPI: fix IRQ and 64-bit address decoding

2005-08-05 Thread matthieu castet
Bjorn Helgaas wrote: Maybe the third time's the charm :-) Added a bugfix (pcibios_penalize_isa_irq()) and a workaround for HP HPET firmware description since last time. The workaround accepts stuff that is illegal according to the spec, so speak up if you think this is a problem. It seems

Re: 2.6.13-rc3-mm3

2005-08-05 Thread Christoph Lameter
On Thu, 4 Aug 2005, Richard Purdie wrote: > I'm at a disadvantage here as the linux mm system is one area I've > avoided getting too deeply involved with so far. My knowledge is > therefore limited and I won't know what correct or incorrect behaviour > would look like. > > We know the the

Re: Is it a process?

2005-08-05 Thread Steven Rostedt
On Fri, 2005-08-05 at 21:02 +0800, lab liscs wrote: > when linux kernel receives a packet from the netcard and the forwards it . > > the process can be viewed as a kernel process ? > > and if this process can be interrupted ? > > thanks a lot!! When a packet is received from the kernel, this

Re: [patch] preempt-trace.patch (mono preempt-trace)

2005-08-05 Thread Ingo Molnar
* Dominik Karall <[EMAIL PROTECTED]> wrote: > BUG: mono[10011] exited with nonzero preempt_count 1! > --- > | preempt count: 0001 ] > | 1 level deep critical section nesting: > > .. [] _spin_lock+0xe/0x70 >

Re: [PATCH 8/8] ALSA: convert kcalloc to kzalloc

2005-08-05 Thread Dmitry Torokhov
On 8/5/05, Pekka Enberg <[EMAIL PROTECTED]> wrote: > This patch converts kcalloc(1, ...) calls to use the new kzalloc() function. > Hi, Have you seen the following in include/sound/core? ... #define kmalloc(size, flags) snd_hidden_kmalloc(size, flags) #define kcalloc(n, size, flags)

[RFC] Demand faulting for large pages

2005-08-05 Thread Adam Litke
Below is a patch to implement demand faulting for huge pages. The main motivation for changing from prefaulting to demand faulting is so that huge page allocations can follow the NUMA API. Currently, huge pages are allocated round-robin from all NUMA nodes. The default behavior in SLES9 for

Re: [ACPI] Re: [PATCH] PNPACPI: fix IRQ and 64-bit address decoding

2005-08-05 Thread Bjorn Helgaas
On Friday 05 August 2005 9:17 am, matthieu castet wrote: > Bjorn Helgaas wrote: > > The workaround > > accepts stuff that is illegal according to the spec, > > so speak up if you think this is a problem. > > > May be print some warnings if the acpi is broken... Yes, I thought about that, and in

[PATCH 4/8] USB: convert kcalloc to kzalloc

2005-08-05 Thread Pekka Enberg
This patch converts kcalloc(1, ...) calls to use the new kzalloc() function. Signed-off-by: Pekka Enberg <[EMAIL PROTECTED]> --- atm/usbatm.c |2 +- core/hcd.c |2 +- host/ehci-sched.c |2 +- host/isp116x-hcd.c |2 +- host/sl811-hcd.c |2 +- input/acecad.c

RE: MCE problem on dual Opteron

2005-08-05 Thread Martin Drab
Problem resolved by BIOS and BCM Firmware update. Martin - 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.org/lkml/

[PATCH 5/8] PCI: convert kcalloc to kzalloc

2005-08-05 Thread Pekka Enberg
This patch converts kcalloc(1, ...) calls to use the new kzalloc() function. Signed-off-by: Pekka Enberg <[EMAIL PROTECTED]> --- hotplug/sgi_hotplug.c |2 +- pci-sysfs.c |2 +- 2 files changed, 2 insertions(+), 2 deletions(-) Index: 2.6/drivers/pci/hotplug/sgi_hotplug.c

Re: [PATCH] Re: 2.6.12: itimer_real timers don't survive execve() any more

2005-08-05 Thread George Anzinger
Gerd Knorr wrote: On Thu, Aug 04, 2005 at 03:02:51PM -0700, Andrew Morton wrote: Roland McGrath <[EMAIL PROTECTED]> wrote: That's wrong. It has to be done only by the last thread in the group to go. Just revert Ingo's change. OK.. +++ 25-akpm/kernel/exit.c Thu Aug 4 15:01:06 2005

[PATCH] sh64 (mm/fault.c): procfs_failure && create_proc*

2005-08-05 Thread Christophe Lucas
description: audit return code of create_proc_* function is a entry in janitors TODO list. Audit this return and printk() when it fails, can spam a lot system without compiled proc support. So this patch can audit return code by means of procfs_failure(). Signed-off-by: Christophe Lucas <[EMAIL

[PATCH] sh64 (kernel/process.c): procfs_failure && create_proc*

2005-08-05 Thread Christophe Lucas
description: audit return code of create_proc_* function is a entry in janitors TODO list. Audit this return and printk() when it fails, can spam a lot system without compiled proc support. So this patch can audit return code by means of procfs_failure(). Signed-off-by: Christophe Lucas <[EMAIL

Re: lockups with netconsole on e1000 on media insertion

2005-08-05 Thread Steven Rostedt
On Fri, 2005-08-05 at 07:36 -0700, David S. Miller wrote: > From: Steven Rostedt <[EMAIL PROTECTED]> > Date: Fri, 05 Aug 2005 10:27:06 -0400 > > > Darn it, since this should really be reported. Yes, the core netpoll > > should bail out, but it is also a problem with the driver and should be > >

Re: NUMA policy interface

2005-08-05 Thread Christoph Lameter
On Fri, 5 Aug 2005, Andi Kleen wrote: > > Address space migration? That is something new in this discussion. So > > could you explain what you mean by that? I have looked at page migration > > in a variety of contexts and could not see much difference. > > MCE page migration just puts a

Re: [PATCH] Stacker - single-use static slots

2005-08-05 Thread James Morris
On Wed, 3 Aug 2005 [EMAIL PROTECTED] wrote: > The attached patch implements your idea on top of my previous patchset. > Following is performance data on a 16-way ppc. dbench and tbench were > run 50 times, kernbench and reaim 10 times each; results are mean +/- > 95% confidence half-interval.

Re: [-mm patch] relayfs: add read() support

2005-08-05 Thread Jens Axboe
On Fri, Aug 05 2005, Tom Zanussi wrote: > Jens Axboe writes: > > On Thu, Aug 04 2005, Tom Zanussi wrote: > > > At the kernel summit, there was some discussion of relayfs and the > > > consensus was that it didn't make sense for relayfs to not implement > > > read(). So here's a read

Re: [RFC] Demand faulting for large pages

2005-08-05 Thread Andi Kleen
On Fri, Aug 05, 2005 at 10:21:38AM -0500, Adam Litke wrote: > Below is a patch to implement demand faulting for huge pages. The main > motivation for changing from prefaulting to demand faulting is so that > huge page allocations can follow the NUMA API. Currently, huge pages > are allocated

Elitegroup K7S5A + usb_storage problem

2005-08-05 Thread Martin Maurer
Hi everybody, For quite some time now I have got a problem mounting my usb-stick (MP3 FUN256 from DNT) with linux. This stick worked back in the 2.4.x days, though it needed one of the later versions (I switched to 2.6.x as soon about when it was released, so I didnt test the newest versions.)

[PATCH 2/8] PPC64: convert kcalloc to kzalloc

2005-08-05 Thread Pekka Enberg
This patch converts kcalloc(1, ...) calls to use the new kzalloc() function. Signed-off-by: Pekka Enberg <[EMAIL PROTECTED]> --- pSeries_reconfig.c |2 +- 1 files changed, 1 insertion(+), 1 deletion(-) Index: 2.6/arch/ppc64/kernel/pSeries_reconfig.c

<    1   2   3   4   5   6   7   8   >