Re: [patch] use cheaper elv_queue_empty when unplug a device

2005-04-08 Thread Nick Piggin
Jens Axboe wrote: On Wed, Mar 30 2005, Nick Piggin wrote: So Kenneth if you could look into this one as well, to see if it is worthwhile, that would be great. For that to work, you have to change the get_io_context() allocation to be GFP_ATOMIC. Yes of course, thanks for picking that up. I guess

Re: [PATCH 0/6] add generic round_up_pow2() macro

2005-04-08 Thread P
Andrew Morton wrote: Nick Wilson [EMAIL PROTECTED] wrote: The first patch adds a generic round_up_pow2() macro to kernel.h. The remaining patches modify a few files to make use of the new macro. We already have ALIGN() and roundup_pow_of_two(). cool. It doesn't handle x={0,1} though. Maybe we

Re: [patch] use cheaper elv_queue_empty when unplug a device

2005-04-08 Thread Jens Axboe
On Fri, Apr 08 2005, Nick Piggin wrote: Jens Axboe wrote: On Wed, Mar 30 2005, Nick Piggin wrote: So Kenneth if you could look into this one as well, to see if it is worthwhile, that would be great. For that to work, you have to change the get_io_context() allocation to be GFP_ATOMIC.

Re: [PATCH] ds1337 3/4

2005-04-08 Thread Jean Delvare
Hi Ladislav, dev_{dbg,err} functions should print client's device name. data-id can be dropped from message, because device is determined by bus it hangs on (it has fixed address). Looks OK to me. Thanks, -- Jean Delvare - To unsubscribe from this list: send the line unsubscribe

ACPI/HT or Packet Scheduler BUG?

2005-04-08 Thread Tarhon-Onu Victor
I am not subscribed to this list so please CC me if you post a reply, if you need additional info or if you suggest a patch (in which I would be very interested). Occurrence: - the kernels must be compiled with Hyper Threading support (and the CPU/MB must support it); - a (tc) process is

Re: [patch] use cheaper elv_queue_empty when unplug a device

2005-04-08 Thread Nick Piggin
Jens Axboe wrote: On Fri, Apr 08 2005, Nick Piggin wrote: I guess this isn't a problem, as io contexts should be allocated comparatively rarely. It would be possible to move it out of the lock though if we really want to. Lets just keep it inside the lock, for the fast case it should just be an

Re: [patch 2.6.12-rc1-mm4] fork_connector: add a fork connector

2005-04-08 Thread Evgeniy Polyakov
On Thu, 2005-04-07 at 15:47 -0700, Jay Lan wrote: BTW, when it happened last time, my program listening to the socket complained about duplicate messages received. Unmatched seq. Rcvd=1824062, expected=1824061 === Unmatched seq. Rcvd=1824062, expected=1824063 === Unmatched

Re: [linux-pm] Re: [RFC] Driver States

2005-04-08 Thread Pavel Machek
Hi! You have a few things here that can easily conflict, and that will be developed at different paces. I like the direction that it's going, but how do you intend to do it gradually. I.e. what to do first? I think the first step would be for us to all agree on a design,

Re: [PATCH] Updated: Dynamic Tick version 050408-1

2005-04-08 Thread Pavel Machek
Hi! I think I have an idea on what's going on; Your system does not wake to APIC interrupt, and the system timer updates time only on other interrupts. I'm experiencing the same on a loaner ThinkPad T30. I'll try to do another patch today. Meanwhile it now should work without lapic

Re: [PATCH 0/6] add generic round_up_pow2() macro

2005-04-08 Thread P
[EMAIL PROTECTED] wrote: Andrew Morton wrote: Nick Wilson [EMAIL PROTECTED] wrote: The first patch adds a generic round_up_pow2() macro to kernel.h. The remaining patches modify a few files to make use of the new macro. We already have ALIGN() and roundup_pow_of_two(). cool. It doesn't handle

Re: 2.6.12-rc2-mm1

2005-04-08 Thread Pavel Machek
Hi! Ok, I've narrowed the problem down to one patch. In 2.6.11-mm3, the problem goes away if I remove this patch: swsusp-enable-resume-from-initrd.patch That really helps, thanks. You're welcome. The patch looks fairly innocent. I'll give up on this and cc the developers.

Re: [patch 2.6.12-rc1-mm4] fork_connector: add a fork connector

2005-04-08 Thread Evgeniy Polyakov
Could you give attached patch a try instead of previous one. It adds gfp mask into cn_netlink_send() call also. If you need updated CBUS sources, feel free to ask, I will send updated sources with Andrew's comments resolved too. I do not know exactly your connector version, so patch will

Re: [PATCH] Updated: Dynamic Tick version 050408-1

2005-04-08 Thread Tony Lindgren
* Pavel Machek [EMAIL PROTECTED] [050408 03:30]: Hi! I think I have an idea on what's going on; Your system does not wake to APIC interrupt, and the system timer updates time only on other interrupts. I'm experiencing the same on a loaner ThinkPad T30. I'll try to do another

Re: [PATCH] ds1337 4/4

2005-04-08 Thread Jean Delvare
Hi Ladislav, Add support for DS1339. The only difference against DS1337 is Trickle Charge register at address 10h, which is used to enable battery or gold cap charging. Please note that value may vary for different batteries, so it should be made module parameter. 0xaa is sane default and

Re: non-free firmware in kernel modules, aggregation and unclear copyright notice.

2005-04-08 Thread Jörn Engel
On Fri, 8 April 2005 09:22:00 +0200, Josselin Mouette wrote: Le jeudi 07 avril 2005 à 23:07 +0200, Adrian Bunk a écrit : As a contrast, read the discussion between Christoph and Arjan in a part of this thread how to move firmware out of kernel drivers without problems for the users.

Re: [PATCH] Updated: Dynamic Tick version 050408-1

2005-04-08 Thread Thomas Renninger
Frank Sorenson wrote: Tony Lindgren wrote: | * Tony Lindgren [EMAIL PROTECTED] [050407 23:28]: | |I think I have an idea on what's going on; Your system does not wake to |APIC interrupt, and the system timer updates time only on other interrupts. |I'm experiencing the same on a loaner

Re: Kernel SCM saga..

2005-04-08 Thread Catalin Marinas
Chris Wedgwood [EMAIL PROTECTED] wrote: I'm playing with monotone right now. Superficially it looks like it has tons of gee-whiz neato stuff... however, it's *agonizingly* slow. I mean glacial. A heavily sedated sloth with no legs is probably faster. I tried some time ago to import the

Re: 2.6.12-rc2-mm2

2005-04-08 Thread Rafael J. Wysocki
On Friday, 8 of April 2005 12:08, Andrew Morton wrote: ftp://ftp.kernel.org/pub/linux/kernel/people/akpm/patches/2.6/2.6.12-rc2/2.6.12-rc2-mm2/ - Although small, bk-audit.patch was causing conflits with a couple of other projects. Dropped for now. - Greg is not using bk now, so

Re: 2.6.12-rc2-mm2

2005-04-08 Thread Michael Thonke
Hello Andrew, along the 2.6.12-rcX-mmX PCI-Express is not usable at all with mm-patchsets. I posted some days ago the problem taht the IRQs get not regonized by the kernel also with pci=routeirq nothing helped. The problem still the same and some new problems now with 2.6.12-rc2-mm2 in addition.

Re: [PATCH] Updated: Dynamic Tick version 050408-1

2005-04-08 Thread Tony Lindgren
* Thomas Renninger [EMAIL PROTECTED] [050408 04:34]: Here are some figures about idle/C-states: Passing bm_history=0xF to processor module makes it going into C3 and deeper. Passing lower values, deeper states are reached more often, but system could freeze: Hmm, I wonder why it freezes?

[BUG] 2.6.12-rc1/rc2 mouse0 became mouse1

2005-04-08 Thread Ali Akcaagac
Hello, This doesn't sound right to me. After upgrading from 2.6.11.5/6 to 2.6.12-rc1/rc2 I detected that my mouse didn't operate anymore when loading up XOrg, I realized that /dev/input/mouse0 (which worked for years) had to be changed to /dev/input/mouse1. Anyone care to explain why this had to

Re: Kernel SCM saga..

2005-04-08 Thread Matthias Andree
Andrea Arcangeli schrieb am 2005-04-08: On Thu, Apr 07, 2005 at 09:42:04PM -0700, Linus Torvalds wrote: play with something _really_ nasty (but also very _very_ fast), take a look at kernel.org:/pub/linux/kernel/people/torvalds/. Why not to use sql as backend instead of the tree of

[PATCH] pm_message_t corrections still missing from 2.6.12-rc2

2005-04-08 Thread Nigel Cunningham
Hi. Here, for your consideration, are fixups I still have in my tree after updating to rc2. (USB Framebuffer lists copied because a reasonable number apply there). Regards, Nigel diff -ruNp 840-combined-pm_message_t-patch.patch-old/drivers/base/power/resume.c

Re: non-free firmware in kernel modules, aggregation and unclear copyright notice.

2005-04-08 Thread Humberto Massa
Adrian Bunk wrote: Debian doesn't seem to care much about the possible legal problems of patents. The possible legal problem of software patents is, up to the present time, AFAICT, not producing effects yet in Europe, and is a non-problem in jurisdictions like mine (down here neither

buggy ia64_fls() ? (was Re: /dev/random problem on 2.6.12-rc1)

2005-04-08 Thread Simon Derr
On Fri, 8 Apr 2005, Matt Mackall wrote: On Fri, Apr 08, 2005 at 08:56:51AM +0200, Simon Derr wrote: On Thu, 7 Apr 2005, Matt Mackall wrote: On Thu, Apr 07, 2005 at 05:36:59PM +0200, Simon Derr wrote: I run: # dd if=/dev/random bs=1 count=1 | od strace the dd process,

[patch] sched: unlocked context-switches

2005-04-08 Thread Ingo Molnar
the scheduler still has a complex maze of locking in the *arch_switch() / *lock_switch() code. Different arches do it differently, creating diverging context-switch behavior. There are now 3 variants: fully locked, unlocked but irqs-off, unlocked and irqs-on. Nick has cleaned them up in

Re: non-free firmware in kernel modules, aggregation and unclear copyright notice.

2005-04-08 Thread Bernd Petrovitsch
On Fri, 2005-04-08 at 09:08 -0300, Humberto Massa wrote: Adrian Bunk wrote: Debian doesn't seem to care much about the possible legal problems of patents. You have lots of possible legal problems of any kind. Basically everyone can sue you for (almost) whatever he wants almost all ofth time.

Re: Kernel SCM saga..

2005-04-08 Thread Florian Weimer
* Matthias Andree: commiter_name VARCHAR(32) NOT NULL CHECK(commiter_name != ''), commiter_email VARCHAR(32) NOT NULL CHECK(commiter_email != ''), The length is too optimistic and insufficient to import the current BK stuff. I'd vote for 64 or at

Re: [PATCH] Updated: Dynamic Tick version 050408-1

2005-04-08 Thread Pavel Machek
Hi! I think I have an idea on what's going on; Your system does not wake to APIC interrupt, and the system timer updates time only on other interrupts. I'm experiencing the same on a loaner ThinkPad T30. I'll try to do another patch today. Meanwhile it now should work

Re: 2.6.12-rc2-mm2

2005-04-08 Thread Indrek Kruusa
Andrew Morton wrote: ftp://ftp.kernel.org/pub/linux/kernel/people/akpm/patches/2.6/2.6.12-rc2/2.6.12-rc2-mm2/ Wow... it responds despite the load average of 83.63 :) http://www.tuleriit.ee/progs/img/pic1.png http://www.tuleriit.ee/progs/img/pic2.png http://www.tuleriit.ee/progs/img/pic3.png

Re: non-free firmware in kernel modules, aggregation and unclear copyright notice.

2005-04-08 Thread Raul Miller
On Fri, Apr 08, 2005 at 09:41:35AM +0200, Sven Luther wrote: BTW, have any of you read the analysis i made, where i claim, rooted in the GPL FAQ and with examples, why i believe that the firmware can be considerated a non derivative of the linux kernel. I hadn't. I did just now. Here's my

Re: [PATCH] pm_message_t corrections still missing from 2.6.12-rc2

2005-04-08 Thread Pavel Machek
Hi! Here, for your consideration, are fixups I still have in my tree after updating to rc2. (USB Framebuffer lists copied because a reasonable number apply there). Regards, Nigel diff -ruNp 840-combined-pm_message_t-patch.patch-old/drivers/base/power/resume.c

Re: [PATCH] ds1337 4/4

2005-04-08 Thread Ladislav Michl
On Fri, Apr 08, 2005 at 01:08:46PM +0200, Jean Delvare wrote: Add support for DS1339. The only difference against DS1337 is Trickle Charge register at address 10h, which is used to enable battery or gold cap charging. Please note that value may vary for different batteries, so it should be

Re: RFC: turn kmalloc+memset(,0,) into kcalloc

2005-04-08 Thread Paulo Marques
Adrian Bunk wrote: On Tue, Apr 05, 2005 at 05:26:31PM +0100, Paulo Marques wrote: [...] Hi Paulo, Hi Adrian, [...] pros: - smaller kernel image size - smaller (and more readable) source code Which is better readable depends on what you are used to. That's true to some degree, but look at code

what is lmsensor package

2005-04-08 Thread karthik
Hi, Can anybody tell me what is lmsensor package used for and from where can we obtain its programs (that access i2c-interface or general source). Karthik - To unsubscribe from this list: send the line unsubscribe linux-kernel in the body of a message to [EMAIL PROTECTED] More

Re: Crash during boot for 2.6.12-rc2.

2005-04-08 Thread Nigel Cunningham
Hi. I got exactly the same thing on both my P4 HT and my Celeron 933 :. Trying fresh builds. Regards, Nigel On Wed, 2005-04-06 at 03:26, James Morris wrote: On Tue, 5 Apr 2005, James Morris wrote: Surprise, surprise, it works OK here. What compiler version? gcc -v Using

linker error lib/lib.a (lib/string.c)

2005-04-08 Thread Wotan23
when i compile the 2.6.12-rc2-mm1 on a ppc with make all i got for line: ld -m elf32ppc -o arch/ppc/boot/openfirmware/coffboot -T /usr/src/linux-2.6.12-rc2-mm1/arch/ppc/boot/ld.script -e _start -Ttext 0x0050 -Bstatic arch/ppc/boot/openfirmware/coffcrt0.o arch/ppc/boot/openfirmware/start.o

Re: [PATCH] Updated: Dynamic Tick version 050408-1

2005-04-08 Thread Thomas Renninger
Tony Lindgren wrote: * Thomas Renninger [EMAIL PROTECTED] [050408 04:34]: Here are some figures about idle/C-states: Passing bm_history=0xF to processor module makes it going into C3 and deeper. Passing lower values, deeper states are reached more often, but system could freeze: Hmm, I

Re: [PATCH] ds1337 1/4

2005-04-08 Thread Ladislav Michl
On Thu, Apr 07, 2005 at 04:36:29PM -0700, Greg KH wrote: Oops, you forgot to add a Signed-off-by: line for every patch, as per Documentation/SubmittingPatches. Care to redo them? Here it is (I'm sorry about that). Use i2c_transfer to send message, so we get proper bus locking. Signed-off-by:

stack checking (was: Re: RFC: turn kmalloc+memset(,0,) into kcalloc)

2005-04-08 Thread Jörn Engel
On Fri, 8 April 2005 13:38:22 +0100, Paulo Marques wrote: Adrian Bunk wrote: E.g. read my Stack usage tasks email. The benefits would only be present for people using GNU gcc 3.4 or SuSE gcc 3.3 on i386, but this is a reasonable subset of the kernel users - and it brings them a 2% kernel

Re: [OOPS] 2.6.11 - NMI lockup with CFQ scheduler

2005-04-08 Thread James Bottomley
On Thu, 2005-04-07 at 16:45 +0200, Jens Axboe wrote: So clear -request_queue instead. Will do. Did you want me to look after your patch and add this, or do you want to send it to Linus (after the purdah is over)? James - To unsubscribe from this list: send the line unsubscribe linux-kernel

Re: Crash during boot for 2.6.12-rc2.

2005-04-08 Thread Nigel Cunningham
Hi. On Fri, 2005-04-08 at 22:58, Nigel Cunningham wrote: Hi. I got exactly the same thing on both my P4 HT and my Celeron 933 :. Trying fresh builds. Actually I tell a lie. I looked at James' trace too quickly. I'll see what I can collect : Nigel Regards, Nigel On Wed, 2005-04-06

Re: [PATCH] ds1337 2/4

2005-04-08 Thread Ladislav Michl
On Fri, Apr 08, 2005 at 10:51:00AM +0200, Jean Delvare wrote: Yes, this one is OK with me too. Ok, here it is with signed off line. Use correct macros to convert between bdc and bin. See linux/bcd.h Signed-off-by: Ladislav Michl [EMAIL PROTECTED] --- linux-omap/drivers/i2c/chips/ds1337.c.orig

Re: RFC: turn kmalloc+memset(,0,) into kcalloc

2005-04-08 Thread Adrian Bunk
On Fri, Apr 08, 2005 at 01:38:22PM +0100, Paulo Marques wrote: Adrian Bunk wrote: On Tue, Apr 05, 2005 at 05:26:31PM +0100, Paulo Marques wrote: Hi Adrian, Hi Paolo, [...] pros: - smaller kernel image size - smaller (and more readable) source code Which is better readable depends

Assalam Alaikum

2005-04-08 Thread Miss Binta Wahid.
Dear Sir, Hello, i am 24 years of age now, i will not forget to ask you about your health i hope fine, i want to ask you if your interesting to help me, because i will like you to take me as your Sister or adopt me as your daughter, My late father was working in Gold and diamond company for 17

Re: [Fwd: Re: connector is missing in 2.6.12-rc2-mm1]

2005-04-08 Thread Daniel Jacobowitz
On Thu, Apr 07, 2005 at 11:02:22PM -0700, David S. Miller wrote: On Fri, 08 Apr 2005 09:19:39 +0400 Evgeniy Polyakov [EMAIL PROTECTED] wrote: I know, the same thing holds for most architectures, including i386. However, this is not an issue for uni-processor kernels anywhere else, so

Re: [OOPS] 2.6.11 - NMI lockup with CFQ scheduler

2005-04-08 Thread Jens Axboe
On Fri, Apr 08 2005, James Bottomley wrote: On Thu, 2005-04-07 at 16:45 +0200, Jens Axboe wrote: So clear -request_queue instead. Will do. Did you want me to look after your patch and add this, or do you want to send it to Linus (after the purdah is over)? Just queue it with the rest of

Re: [PATCH] mtime attribute is not being updated on client

2005-04-08 Thread Trond Myklebust
to den 07.04.2005 Klokka 20:52 (-0400) skreiv Linda Dunaphant: Hi Trond, The acregmin (default=3) and acregmax (default=60) NFS attributes that control the min and max attribute cache lifetimes don't appear to be working after the first few timeouts. Using a test program that loops on the

Re: Linux-2.6.11 can't disable CAD

2005-04-08 Thread Daniel Jacobowitz
On Thu, Apr 07, 2005 at 04:50:32PM -0400, Richard B. Johnson wrote: On Thu, 7 Apr 2005, Jan Harkes wrote: On Thu, Apr 07, 2005 at 11:16:14AM -0400, Richard B. Johnson wrote: In the not-too distant past, one could disable Ctl-Alt-DEL. Can't do it anymore. ... Observe that reboot() returns 0

Re: RFC: turn kmalloc+memset(,0,) into kcalloc

2005-04-08 Thread Jörn Engel
On Fri, 8 April 2005 15:00:08 +0200, Adrian Bunk wrote: Joerg's Please! ;) Jörn -- It's just what we asked for, but not what we want! -- anonymous - 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: 2.6.12-rc2-mm2

2005-04-08 Thread Alexey Dobriyan
On Friday 08 April 2005 10:08, Andrew Morton wrote: +docbook-use-xmlto-to-process-the-docbook-files.patch htmldocs (haven't look at pdf, etc...) became KR'ish. Synopsis struct sk_buff * skb_share_check (skb,

PCMCIA in 2.6

2005-04-08 Thread sauro
Hi. I know it's a little bit off topic, but, has anyone _ever_ got a PCMCIA SRAM card running in kernel 2.6 using pcmciamtd? Any help would be appreciated. -- Best regards, Sauro Salomoni Ztec www.ztec.com.br smime.p7s Description: S/MIME Cryptographic Signature

Re: RFC: turn kmalloc+memset(,0,) into kcalloc

2005-04-08 Thread Adrian Bunk
On Fri, Apr 08, 2005 at 03:20:52PM +0200, Jörn Engel wrote: On Fri, 8 April 2005 15:00:08 +0200, Adrian Bunk wrote: Joerg's Please! ;) Ups, sorry... Jörn cu Adrian -- Is there not promise of rain? Ling Tan asked suddenly out of the darkness. There had been need of

Re: [PATCH] ds1337 3/4

2005-04-08 Thread Ladislav Michl
On Fri, Apr 08, 2005 at 12:08:38PM +0200, Jean Delvare wrote: Looks OK to me. Ok, I have few more fixes for this driver and will send them later when I find time to split them out into smaller chunks. Again, here is patch with signed off line. dev_{dbg,err} functions should print client's

[PATCH] bootmem.c clean up bad pfn convertions

2005-04-08 Thread Franck Bui-Huu
Hi, As I described in my previous email, bootmem.c does improper pfn convertions into phys addr. This simple patch fixes that. Regards, Franck. --- This message contains confidential information and is intended only

Re: 2.6.12-rc2-mm2

2005-04-08 Thread Martin Waitz
hoi :) On Fri, Apr 08, 2005 at 05:28:25PM +, Alexey Dobriyan wrote: htmldocs (haven't look at pdf, etc...) became KR'ish. Also, Documentation/Docbook/*.html uses book1.html, but there are only Documentation/Docbook/*/index.html Functions are not hyperlinked from index.html. IIRC, they

Re: Linux-2.6.11 can't disable CAD

2005-04-08 Thread Richard B. Johnson
On Fri, 8 Apr 2005, Daniel Jacobowitz wrote: On Thu, Apr 07, 2005 at 04:50:32PM -0400, Richard B. Johnson wrote: On Thu, 7 Apr 2005, Jan Harkes wrote: On Thu, Apr 07, 2005 at 11:16:14AM -0400, Richard B. Johnson wrote: In the not-too distant past, one could disable Ctl-Alt-DEL. Can't do it

Re: [PATCH 2.6.11] aoe [7/12]: support configuration of AOE_PARTITIONS from Kconfig

2005-04-08 Thread Ed L Cashin
Greg KH [EMAIL PROTECTED] writes: On Thu, Apr 07, 2005 at 02:56:39PM -0400, Ed L Cashin wrote: ... Just aoe-AOE_PARTITIONS.patch, the seventh of the twelve, should be dropped. Ok, dropped. Then later I'll send a batch of patches that will include a change to make aoe disks

Re: Problem in log_do_checkpoint()?

2005-04-08 Thread Stephen C. Tweedie
Hi, On Mon, 2005-04-04 at 10:04, Jan Kara wrote: In log_do_checkpoint() we go through the t_checkpoint_list of a transaction and call __flush_buffer() on each buffer. Suppose there is just one buffer on the list and it is dirty. __flush_buffer() sees it and puts it to an array of buffers

Re: 2.6.12-rc2-mm2

2005-04-08 Thread Jan Dittmer
Andrew Morton wrote: create-a-kstrdup-library-function.patch create a kstrdup library function create-a-kstrdup-library-function-fixes.patch create-a-kstrdup-library-function-fixes ppc defconfig build is broken due to this make ARCH=ppc CROSS_COMPILE=powerpc-linux-

Re: [BUG] 2.6.12-rc1/rc2 mouse0 became mouse1

2005-04-08 Thread Dmitry Torokhov
Hi, On Apr 8, 2005 6:58 AM, Ali Akcaagac [EMAIL PROTECTED] wrote: Hello, This doesn't sound right to me. After upgrading from 2.6.11.5/6 to 2.6.12-rc1/rc2 I detected that my mouse didn't operate anymore when loading up XOrg, I realized that /dev/input/mouse0 (which worked for years) had to

PATCH add support for system on chip (SoC) devices.

2005-04-08 Thread Ian Molton
Hi. This patch add support for a new 'System on Chip' or SoC bus type. This allows common drivers used in different SoC devices to be shared in a clean and healthy manner, for example, the MMC function on toshiba t7l66xb, tc6393xb, and Compaq IPAQ ASIC3. This is in common use in the

Re: Kernel SCM saga..

2005-04-08 Thread Linus Torvalds
On Fri, 8 Apr 2005, Andrea Arcangeli wrote: Why not to use sql as backend instead of the tree of directories? Because it sucks? I can come up with millions of ways to slow things down on my own. Please come up with ways to speed things up instead. Linus - To unsubscribe

Re: [PATCH] Use proper seq_file api for /proc/scsi/scsi

2005-04-08 Thread Christoph Hellwig
On Fri, Apr 08, 2005 at 01:10:11AM -0700, Jeremy Higdon wrote: Just as a sanity check, you meant lsscsi and not lssci in your original reply, right? Yes. - To unsubscribe from this list: send the line unsubscribe linux-kernel in the body of a message to [EMAIL PROTECTED] More majordomo info at

$BBp5^JX!JBh0l9f!K(B

2005-04-08 Thread info
$B(,(,(,(,(,(,(,(,(,(,(,(,(,(,(,(,(,(,(,(,(,(,(,(,(,(,(,(,(,(,(,(,(,(,(,(,(B $B2q0w?t(B10$BK|?M1[$((B,$BF|K\0l:GBg5i=P2q$$;Y1g%3%_%eFs%F%#!(B $B(,(,(,(,(,(,(,(,(,(,(,(,(,(,(,(,(,(,(,(,(,(,(,(,(,(,(,(,(,(,(,(,(,(,(,(,(B $B(.(,!(B*$B!~(B

[PATCH 2.6.12-rc2]: ppc32: Fix a problem with NTP on !(chrp||gemini)

2005-04-08 Thread Tom Rini
The following problem was found by Giovambattista Pulcini [EMAIL PROTECTED], who also provided a partial patch, and this has been verified by our time guru Gabriel Paubert [EMAIL PROTECTED]. The problem is that in do_settimeofday() we always set time_state to TIME_ERROR and except on two

Re: ext3 allocate-with-reservation latencies

2005-04-08 Thread Stephen C. Tweedie
Hi, On Fri, 2005-04-08 at 00:37, Mingming Cao wrote: Actually, we do not have to do an rbtree link and unlink for every window we search. If the reserved window(old) has no free bit and the new reservable window's is right after the old one, no need to unlink the old window from the rbtree

[PATCH 2.6.11.6] Add power cycle to ipmi_poweroff module

2005-04-08 Thread Chris_Poblete
Below is a patch to add power cycle functionality to the IPMI power off module ipmi_poweroff. A new module param is added to support this: parmtype: do_power_cycle:int parm: do_power_cycle: Set to 1 to enable power cycle instead of power down. Power cycle is contingent on hardware

Re: PATCH add support for system on chip (SoC) devices.

2005-04-08 Thread Sam Ravnborg
On Fri, Apr 08, 2005 at 03:19:44PM +0100, Ian Molton wrote: Hi. This patch add support for a new 'System on Chip' or SoC bus type. Hi Ian. A few general comments. 1) Please add kernel-doc style comments for all exported functions 2) Keep source within 80 coloumns 3) Do not use extern in

Timestamp of file modified through mmap are not changed in 2.6

2005-04-08 Thread Xavier Roche
Timestamp of file modified through mmap are not changed in 2.6 (even after msync()). Observations on 2.4 and 2.6 kernels: - on 2.4, timestamps are altered a few seconds after the program exits. - on 2.6, timestamps are never altered. Is this behaviour a normal behaviour ? Program example to

Re: 2.6.12-rc2-mm2

2005-04-08 Thread Alexander Nyberg
fre 2005-04-08 klockan 03:08 -0700 skrev Andrew Morton: ftp://ftp.kernel.org/pub/linux/kernel/people/akpm/patches/2.6/2.6.12-rc2/2.6.12-rc2-mm2/ I got this running ./runltp -x 2, can't recall this happening before. It bothers me a bit as it's a GFP_KERNEL allocation and there's lots of swap

Re: PATCH add support for system on chip (SoC) devices.

2005-04-08 Thread Kumar Gala
On Apr 8, 2005, at 9:19 AM, Ian Molton wrote: Hi. This patch add support for a new 'System on Chip' or SoC bus type. This allows common drivers used in different SoC devices to be shared in a clean and healthy manner, for example, the MMC function on toshiba t7l66xb, tc6393xb, and Compaq IPAQ

Re: 2.6.12-rc2-mm2

2005-04-08 Thread Paulo Marques
Jan Dittmer wrote: Andrew Morton wrote: create-a-kstrdup-library-function.patch create a kstrdup library function create-a-kstrdup-library-function-fixes.patch create-a-kstrdup-library-function-fixes Oops, forgot to include slab.h. I guess the other #include's were including it somewhere down

Re: [patch] Real-Time Preemption, -RT-2.6.12-rc2-V0.7.44-00

2005-04-08 Thread Rui Nuno Capela
Our first victim!! :-) No kidding!? On Tue, 2005-04-05 at 20:06 +0100, Rui Nuno Capela wrote: I'm having plenty of this on boot, on my SMP/HT desktop (P4/x86), while running RT-V0.7.44-01 (SMP+PREEMPT_RT): BUG: kstopmachine: RT task yield()-ing! See sample dmesg and .config on

Re: [PATCH 2.6.11.6] Add power cycle to ipmi_poweroff module

2005-04-08 Thread Corey Minyard
[EMAIL PROTECTED] wrote: Below is a patch to add power cycle functionality to the IPMI power off module ipmi_poweroff. A new module param is added to support this: parmtype: do_power_cycle:int parm: do_power_cycle: Set to 1 to enable power cycle instead of power down. Power cycle

Re: Linux 2.6.12-rc2

2005-04-08 Thread Nish Aravamudan
On Apr 7, 2005 11:28 PM, AsterixTheGaul [EMAIL PROTECTED] wrote: FWIW, I have the same problem on a T41p with 2.6.11 and 2.6.12-rc2, except that neither returns from suspend-to-ram with video restored on the LCD. I believe I was able to get video restored on an external CRT in either

Re: Oops with linux-2.4.29

2005-04-08 Thread Steffen Moser
Hi Marcelo, * On Sun, Apr 03, 2005 at 05:20 PM (-0300), Marcelo Tosatti wrote: This looks like corruption - ext3_get_block() jumps to a bogus function which contains bogus instructions. Like if ext3_get_block() had been overwritten with junk data. Thank you very much for your quick reply!

Re: Timestamp of file modified through mmap are not changed in 2.6

2005-04-08 Thread Alexander Nyberg
Timestamp of file modified through mmap are not changed in 2.6 (even after msync()). Observations on 2.4 and 2.6 kernels: - on 2.4, timestamps are altered a few seconds after the program exits. - on 2.6, timestamps are never altered. Is this behaviour a normal behaviour ? Program

Re: Kernel SCM saga..

2005-04-08 Thread Linus Torvalds
On Fri, 8 Apr 2005 [EMAIL PROTECTED] wrote: Here's a partial solution. It does depend on a modified version of cat-file that behaves like cat. I found it easier to have cat-file just dump the object indicated on stdout. Trivial patch for that is included. Your trivial patch is trivially

Re: [BUG] 2.6.12-rc1/rc2 mouse0 became mouse1

2005-04-08 Thread Ali Akcaagac
On Fri, 2005-04-08 at 09:13 -0500, Dmitry Torokhov wrote: Input devices names are not guaranteed to be stable, they get them in order of their registration and therefore can change based on config, order in which modules are loaded and changes in other modules. In this case shift was caused by

Re: [patch 2/8] correctly name the Shell sort

2005-04-08 Thread Horst von Brand
[EMAIL PROTECTED] said: As per http://www.nist.gov/dads/HTML/shellsort.html, this should be referred to as a Shell sort. Shell-Metzner is a misnomer. Signed-off-by: Daniel Dickman [EMAIL PROTECTED] Signed-off-by: Domen Puncer [EMAIL PROTECTED] Why not use the sort routine from lib/sort.c?

RE: [PATCH 2.6.11.6] Add power cycle to ipmi_poweroff module

2005-04-08 Thread Chris_Poblete
The message handler and si are already using /proc/ipmi/intf_num. The patch code simply reuse it. By the way, shouldn't we be using sysfs? As for separating from power_off, it just seem so simple to integrate the power cycle command into the power_off code. It could definitely be a separate

Re: ext3 allocate-with-reservation latencies

2005-04-08 Thread Arjan van de Ven
And rw locking is much better for concurrency, so we might be able to hold it over the whole bitmap search rather than taking it and dropping it at each window advance. rw locks only help if readers are 10x more common than writers generally speaking. They are quite expensive locks, so they

RE: [PATCH 2.6.11.6] Add power cycle to ipmi_poweroff module

2005-04-08 Thread Shawn Starr
Shouldn't IPMI be using /sys instead /proc? I thought we're trying to cleanup /proc? --- List: linux-kernel Subject:RE: [PATCH 2.6.11.6] Add power cycle to ipmi_poweroff module From: Chris_Poblete () Dell ! com Date: 2005-04-08 15:53:54 Message-ID:

[PATCH] Fix reloading GDT on ACPI S3 wakeup

2005-04-08 Thread Juerg Billeter
Hi This patch - based on http://marc.theaimsgroup.com/?l=linux-kernelm=110055503031009w=2 - makes ACPI S3 wakeup work for me on a ThinkPad T40p laptop with a SMP kernel. Without it only UP kernels work. I've been using the patch for three months now without any issues. The ACPI resume code

Re: [PATCH 2.6.11.6] Add power cycle to ipmi_poweroff module

2005-04-08 Thread Corey Minyard
[EMAIL PROTECTED] wrote: The message handler and si are already using /proc/ipmi/intf_num. The patch code simply reuse it. By the way, shouldn't we be using sysfs? Yes, we should. There's not much sysfs support in the ipmi driver yet; a patch to add class stuff is in the mm kernels, but

Re: Kernel SCM saga..

2005-04-08 Thread Matthias-Christian Ott
Linus Torvalds wrote: On Fri, 8 Apr 2005, Andrea Arcangeli wrote: Why not to use sql as backend instead of the tree of directories? Because it sucks? I can come up with millions of ways to slow things down on my own. Please come up with ways to speed things up instead.

Re: RFC: turn kmalloc+memset(,0,) into kcalloc

2005-04-08 Thread Paulo Marques
Adrian Bunk wrote: [...] On Tue, Apr 05, 2005 at 05:26:31PM +0100, Paulo Marques wrote: Hi Adrian, Hi Paolo, Paulo, please :) Paolo is Spanish (or Italian), whereas Paulo is a Portuguese name. [...] I think most will agree that the second piece of code is more readable. In this case yes (but it

Re: [PATCH] ds1337 4/4

2005-04-08 Thread Jean Delvare
Hi Ladislav, (...) (And in ideal world firmware (such as U-Boot, RedBoot, etc.) should set this register). Thanks for pointing the obvious out to me. You convinced me, this simply doesn't belong to the kernel. So your patch is not needed. I would still welcome a patch documenting the fact

Re: buggy ia64_fls() ? (was Re: /dev/random problem on 2.6.12-rc1)

2005-04-08 Thread Matt Mackall
On Fri, Apr 08, 2005 at 02:12:04PM +0200, Simon Derr wrote: I enabled the debug messages in random.c and I think I found the problem lying in the IA64 version of fls(). Good catch. It turns out that the generic and IA64 versions of fls() disagree: (output from a small test program)

Re: [PATCH] ds1337 1/4

2005-04-08 Thread James Chapman
Sorry for joining this thread late. Patches 1-3 are fine with me. /james Ladislav Michl wrote: On Thu, Apr 07, 2005 at 04:36:29PM -0700, Greg KH wrote: Oops, you forgot to add a Signed-off-by: line for every patch, as per Documentation/SubmittingPatches. Care to redo them? Here it is (I'm sorry

re: x86-64 bad pmds in 2.6.11.6

2005-04-08 Thread Clem Taylor
Dave Jones reported seeing bad pmd messages in 2.6.11.6. I've been seeing them with 2.6.11 and today with 2.6.11.6. When I first saw the problem I ran memtest86 and it didn't catch anything after ~3hours. However, I don't see them when X starts. They tend to happen after a program segfaults:

Re: 2.6.12-rc2-mm2

2005-04-08 Thread Rafael J. Wysocki
Hi, On Friday, 8 of April 2005 13:46, Rafael J. Wysocki wrote: On Friday, 8 of April 2005 12:08, Andrew Morton wrote: ftp://ftp.kernel.org/pub/linux/kernel/people/akpm/patches/2.6/2.6.12-rc2/2.6.12-rc2-mm2/ - Although small, bk-audit.patch was causing conflits with a couple of

Re: Kernel SCM saga..

2005-04-08 Thread Catalin Marinas
Linus Torvalds [EMAIL PROTECTED] wrote: Which is why I'd love to hear from people who have actually used various SCM's with the kernel. There's bound to be people who have already tried. I (successfully) tried GNU Arch with the Linux kernel. I mirrored all the BKCVS changesets since Linux

[PATCH] restrict inter_module_* to its last users

2005-04-08 Thread Jörn Engel
Derived from a patch Arjan sent around. Jörn -- The cheapest, fastest and most reliable components of a computer system are those that aren't there. -- Gordon Bell, DEC labratories Next step for inter_module removal. This patch makes the code conditional on its last users and shrinks the

Re: [PATCH] Priority Lists for the RT mutex

2005-04-08 Thread Daniel Walker
On Thu, 2005-04-07 at 23:28, Ingo Molnar wrote: this one looks really clean. it makes me wonder, what is the current status of fusyn's? Such a light datastructure would be much more mergeable upstream than the former 100-queues approach. Inaky was telling me that 100 queues

Re: Kernel SCM saga..

2005-04-08 Thread Linus Torvalds
On Fri, 8 Apr 2005, Matthias-Christian Ott wrote: SQL Databases like SQLite aren't slow. After applying a patch, I can do a complete show-diff on the kernel tree to see the effect of it in about 0.15 seconds. Also, I can use rsync to efficiently replicate my database without having to

VIA Rhine ethernet driver bug (any progress?)

2005-04-08 Thread Udo van den Heuvel
Hello, Did anyone make progress in the case of the VIA Rhine ethernet bug? It gives messages like: Apr 8 18:51:08 epia kernel: eth1: Oversized Ethernet frame spanned multiple buffers, entry 0x9 length 0 status 0600! Apr 8 18:51:08 epia kernel: eth1: Oversized Ethernet frame cca77090 vs

IDE_CS problems with Compact Flash

2005-04-08 Thread Vincent C Jones
Seeing strange results when using compact flash in a ThinkPad X31. Seems to work OK, but when the card is inserted or the system is booted with the card already inserted, I get a few hundred lines of complaint in the syslog. Prior to 2.6.12-rc2-mm2, I also had problems shutting down. Result would

Re: [patch] Real-Time Preemption, -RT-2.6.12-rc2-V0.7.44-00

2005-04-08 Thread Lee Revell
On Fri, 2005-04-08 at 16:22 +0100, Rui Nuno Capela wrote: Our first victim!! :-) No kidding!? V0.7.44-02 does not even compile for me. It appears to be full of merge errors. I get these errors with make oldconfig: HOSTLD scripts/kconfig/conf scripts/kconfig/conf -o

<    1   2   3   4   5   6   7   >