Re: [patch 1/7] Extended crashkernel command line

2007-09-22 Thread Oleg Verych
* Thu, 20 Sep 2007 19:18:46 +0200 [] extern u32 vmcoreinfo_note[VMCOREINFO_NOTE_SIZE/4]; extern unsigned int vmcoreinfo_size; extern unsigned int vmcoreinfo_max_size; +int __init parse_crashkernel(char *cmdline, unsigned long long system_ram, + unsigned long long *crash_size,

Re: [patch 0/2] suspend/resume regression fixes

2007-09-22 Thread Linus Torvalds
On Sat, 22 Sep 2007, Thomas Gleixner wrote: My final enlightment was, when I removed the ACPI processor module, which controls the lower idle C-states, right before resume; this worked fine all the time even without all the workaround hacks. I really hope that this two patches finally

Linux Router

2007-09-22 Thread Carlos Narváez
This is starting to frustrate me, because it should be much simpler than it seems to be, and I feel like I'm missing something small and obvious. I have two private networks, we'll say 192.168.254.0/24 and 192.168.251.0/24. And I have a linux box in the middle with addresses 192.168.254.17 and

Re: RFC: A revised timerfd API

2007-09-22 Thread Davide Libenzi
On Sat, 22 Sep 2007, Thomas Gleixner wrote: On Sat, 2007-09-22 at 14:07 -0700, Davide Libenzi wrote: On Sat, 22 Sep 2007, Michael Kerrisk wrote: So I'm inclined to implement option (b), unless someone has strong objections. Davide, could I persuade you to help? I guess I better

Not kernel dev related story (Re: Linux Router)

2007-09-22 Thread Oleg Verych
* Sat, 22 Sep 2007 18:09:15 -0500 This is starting to frustrate me, because it should be much simpler than it seems to be, and I feel like I'm missing something small and obvious. Please address such questions to any user forum, or to [EMAIL PROTECTED] otherwise. While doing that, provide

Re: [patch 0/2] suspend/resume regression fixes

2007-09-22 Thread Thomas Gleixner
Linus, On Sat, 2007-09-22 at 15:59 -0700, Linus Torvalds wrote: My final enlightment was, when I removed the ACPI processor module, which controls the lower idle C-states, right before resume; this worked fine all the time even without all the workaround hacks. I really hope that this

Re: [PATCH] usb-gadget-ether: Prevent oops caused by error interrupt race -V2 (comments update)

2007-09-22 Thread Thomas Gleixner
On Sat, 2007-09-22 at 13:53 -0700, David Brownell wrote: Sigh. I need a real deep look inside that code to understand, why tx_reqs is not a requestlist but a freelist. Very intuitive naming :) It *is* a list of requests: free ones -- the only kind this level of driver is allowed to

Re: Should parent's WIFSIGNALED(siginfo-si_status) be true EVEN IF the SIGNAL was caught by the child?

2007-09-22 Thread Andreas Schwab
John Z. Bohach [EMAIL PROTECTED] writes: if (WIFEXITED(siginfo-si_status)) That does not make any sense. si_status is _not_ a wait status. Andreas. -- Andreas Schwab, SuSE Labs, [EMAIL PROTECTED] SuSE Linux Products GmbH, Maxfeldstraße 5, 90409 Nürnberg, Germany PGP key fingerprint =

Re: VGA text console display problem with kernel 2.6.23-rc5/6

2007-09-22 Thread Antonino A. Daplas
On Thu, 2007-09-20 at 02:26 -0400, ben soo wrote: Antonino A. Daplas wrote: On Tue, 2007-09-18 at 03:26 -0400, ben soo wrote: i've 2 servers with old PCI VGA cards, one using X86_64 kernel version 2.6.23-rc5 and one with i386 kernel version 2.6.23-rc6, both wired into the same CRT via a

Serial ATA does not find partitions (Hitachi HD, new? ATI controller) where old SATA works

2007-09-22 Thread Hernan G Solari
Hello I am disturbing you with this problem because I think there is something to be learnt, I have no urgency or further-problem with my work-around. Description: trying to boot with kernel 2.6.22 the booting process stops not finding the root partition, in the previous line it gives an

Re: [RFC] New kernel-message logging API

2007-09-22 Thread Joe Perches
On Sat, 2007-09-22 at 21:27 +0200, Vegard Nossum wrote: #define kprint(fmt, ...) Good ideas. Perhaps a prefix of klog or kp_ instead? Given the number of 80 column zealots, character naming length matters. Additionally, this would allow the compiler to completely optimize out calls that are

Re: [RFC] New kernel-message logging API

2007-09-22 Thread Kyle Moffett
On Sep 22, 2007, at 20:13:03, Joe Perches wrote: On Sat, 2007-09-22 at 21:27 +0200, Vegard Nossum wrote: Additionally, this would allow the compiler to completely optimize out calls that are below a certain log-level severity level [2][3]. Severity doesn't really equate to desire to log.

Re: [RFC] New kernel-message logging API

2007-09-22 Thread Joe Perches
On Sat, 2007-09-22 at 20:40 -0400, Kyle Moffett wrote: Severity is *exactly* desirability of logging. Disagree. What's info to someone is an alert to someone else. The problem is the valuation of the reasoning. It's all opinion. cheers, Joe - To unsubscribe from this list: send the line

Re: [patch 0/2] suspend/resume regression fixes

2007-09-22 Thread Oleg Verych
* Sat, 22 Sep 2007 15:59:25 -0700 (PDT) As i never had any suspend working ever, let me point this LKML post http://mid.gmane.org/[EMAIL PROTECTED] from Mihal, who just managed to do some other magic in sligtly different context (maybe yet another anti ACPI screwed up). Mihai, you can find

Re: Should parent's WIFSIGNALED(siginfo-si_status) be true EVEN IF the SIGNAL was caught by the child?

2007-09-22 Thread John Z. Bohach
On Saturday 22 September 2007 16:35:56 Andreas Schwab wrote: John Z. Bohach [EMAIL PROTECTED] writes: if (WIFEXITED(siginfo-si_status)) That does not make any sense. si_status is _not_ a wait status. Andreas. Thank you for clearing that up. That explains it. --john - To unsubscribe

Re: [RFC] New kernel-message logging API

2007-09-22 Thread Miguel Ojeda
On 9/22/07, Vegard Nossum [EMAIL PROTECTED] wrote: After recent discussions on LKML and a general dissatisfaction at the current printk() kernel-message logging interface, I've decided to write down some of the ideas for a better system. Nice. I would suggest having some kind of standard way

Re: [PATCH] [9/50] i386: validate against ACPI motherboard resources

2007-09-22 Thread Yinghai Lu
On 9/22/07, Robert Hancock [EMAIL PROTECTED] wrote: Yinghai Lu wrote: On 9/22/07, Robert Hancock [EMAIL PROTECTED] wrote: Thomas Gleixner wrote: On Sat, 2007-09-22 at 10:28 -0600, Robert Hancock wrote: Yinghai Lu wrote: No! MMCONFIG will not work with acpi=off any more. I don't

Re: 2.6.23-rc6-mm1 -- mkfs stuck in 'D'

2007-09-22 Thread Fengguang Wu
On Sat, Sep 22, 2007 at 03:16:22PM +0200, Peter Zijlstra wrote: On Sat, 22 Sep 2007 09:55:09 +0800 Fengguang Wu [EMAIL PROTECTED] wrote: --- linux-2.6.22.orig/mm/page-writeback.c +++ linux-2.6.22/mm/page-writeback.c @@ -426,6 +426,14 @@ static void balance_dirty_pages(struct a

Re: [PATCH] [20/50] x86_64: Fix some broken white space in arch/x86_64/mm/init.c

2007-09-22 Thread Oleg Verych
Much, much better :) -static void __meminit phys_pud_init(pud_t *pud_page, unsigned long addr, unsigned long end) -{ +static void __meminit phys_pud_init(pud_t *pud_page, ulong addr, ulong end) If somebody have *strong* objections, please say so. [] @@ -737,7 +750,7 @@ int

Re: [PATCH] [9/50] i386: validate against ACPI motherboard resources

2007-09-22 Thread Yinghai Lu
On 9/22/07, Robert Hancock [EMAIL PROTECTED] wrote: Yinghai Lu wrote: On 9/22/07, Robert Hancock [EMAIL PROTECTED] wrote: Thomas Gleixner wrote: On Sat, 2007-09-22 at 10:28 -0600, Robert Hancock wrote: Yinghai Lu wrote: No! MMCONFIG will not work with acpi=off any more. I don't

Re: [BUG 2.6.23-rc6-mm1] NMI Watchdog detected LOCKUP on CPU 0

2007-09-22 Thread Fengguang Wu
On Sun, Sep 23, 2007 at 09:42:14AM +0800, Fengguang Wu wrote: On Tue, Sep 18, 2007 at 01:18:41AM -0700, Andrew Morton wrote: ftp://ftp.kernel.org/pub/linux/kernel/people/akpm/patches/2.6/2.6.23-rc6/2.6.23-rc6-mm1/ 2.6.23-rc6-mm1 is a 29MB diff against 2.6.23-rc6. This bug appears

Re: [PATCH] [35/50] i386: Do cpuid_device_create() in CPU_UP_PREPARE instead of CPU_ONLINE.

2007-09-22 Thread Akinobu Mita
2007/9/23, Thomas Gleixner [EMAIL PROTECTED]: On Sat, 2007-09-22 at 00:32 +0200, Andi Kleen wrote: From: Akinobu Mita [EMAIL PROTECTED] Do cpuid_device_create() in CPU_UP_PREPARE instead of CPU_ONLINE. Cc: H. Peter Anvin [EMAIL PROTECTED] Signed-off-by: Akinobu Mita [EMAIL PROTECTED]

Re: PROBLEM: Network sky2 Module, kernel version 2.6.23-rc7

2007-09-22 Thread ben soo
i spoke too soon. The Gbit interface still dies. Lasted around 19hrs. or so. i can't tell if there are hardware issues: yesterday a Gbit NIC on the firewall died. Different chip (Realtek), different driver, different machine, same segment. Segment is a mix of 100Mbit and 1Gbit machines.

[PATCH] use pgd_list_add/pgd_list_del

2007-09-22 Thread Akinobu Mita
Cleanup by using pgd_list_add() and pgd_list_del() in the right place. Cc: Andi Kleen [EMAIL PROTECTED] Signed-off-by: Akinobu Mita [EMAIL PROTECTED] --- include/asm-x86_64/pgalloc.h | 10 ++ 1 file changed, 2 insertions(+), 8 deletions(-) Index: 2.6-git/include/asm-x86_64/pgalloc.h

Re: Linux Router

2007-09-22 Thread ben soo
i used to add proxy arp's on the router when i had problems like this. Dunno if it's the recommended fix, but it worked. http://en.wikipedia.org/wiki/Proxy_arp Carlos Narváez wrote: This is starting to frustrate me, because it should be much simpler than it seems to be, and I feel like I'm

Re: linux 2.6.23-rc7 - 14 compile warnings

2007-09-22 Thread Gerhard Mack
On Sat, 22 Sep 2007, WANG Cong wrote: Summary: CC mm/slub.o mm/slub.c: In function 'kfree': mm/slub.c:2491: warning: passing argument 3 of 'slab_free' discards qualifiers from pointer target type static void __slab_free(struct kmem_cache *s, struct page *page,

[-mm Patch] net/bluetooth/hidp/core.c: Make hidp_setup_input() return int

2007-09-22 Thread WANG Cong
This patch does the following things: - Make hidp_setup_input() return int to indicate errors. - Check its return value to handle errors. Signed-off-by: WANG Cong [EMAIL PROTECTED] --- net/bluetooth/hidp/core.c |7 --- 1 file changed, 4 insertions(+), 3 deletions(-) Index:

Re: [patch 0/2] suspend/resume regression fixes

2007-09-22 Thread Linus Torvalds
On Sun, 23 Sep 2007, Oleg Verych wrote: As i never had any suspend working ever, let me point this LKML post http://mid.gmane.org/[EMAIL PROTECTED] from Mihal, who just managed to do some other magic in sligtly different context (maybe yet another anti ACPI screwed up). Mihai, you

Re: linux 2.6.23-rc7 - 14 compile warnings

2007-09-22 Thread WANG Cong
On Sat, Sep 22, 2007 at 10:23:59PM -0400, Gerhard Mack wrote: On Sat, 22 Sep 2007, WANG Cong wrote: Summary: CC mm/slub.o mm/slub.c: In function 'kfree': mm/slub.c:2491: warning: passing argument 3 of 'slab_free' discards qualifiers from pointer target type static void

Re: [RFC] New kernel-message logging API

2007-09-22 Thread Kyle Moffett
On Sep 22, 2007, at 20:47:21, Joe Perches wrote: On Sat, 2007-09-22 at 20:40 -0400, Kyle Moffett wrote: Severity is *exactly* desirability of logging. Disagree. What's info to someone is an alert to someone else. The problem is the valuation of the reasoning. It's all opinion. For

[PATCH] Broadcom 8603 SAS/SATA driver, rough draft

2007-09-22 Thread Jeff Garzik
Rather than sitting on this for far too long, I wanted to go ahead and get this out there. I heard some chips might be trickling out into public hands. This is a bare bones Broadcom 8603 SAS+SATA driver, attempting to use the vaunted libsas. Notes: * A quick glance at the FIXMEs will tell you

Re: [BUG 2.6.23-rc6-mm1] NMI Watchdog detected LOCKUP on CPU 0

2007-09-22 Thread Andrew Morton
On Sun, 23 Sep 2007 09:42:14 +0800 Fengguang Wu [EMAIL PROTECTED] wrote: On Tue, Sep 18, 2007 at 01:18:41AM -0700, Andrew Morton wrote: ftp://ftp.kernel.org/pub/linux/kernel/people/akpm/patches/2.6/2.6.23-rc6/2.6.23-rc6-mm1/ 2.6.23-rc6-mm1 is a 29MB diff against 2.6.23-rc6. This

Re: [kvm-devel] [PATCH -rc][RESEND] KVM: Fix virtualization menu help text

2007-09-22 Thread Rusty Russell
On Sat, 2007-09-22 at 14:43 +0200, Avi Kivity wrote: What guest drivers? Cc: Jan Engelhardt [EMAIL PROTECTED] Signed-off-by: Avi Kivity [EMAIL PROTECTED] Yes, agreed. Rusty. - To unsubscribe from this list: send the line unsubscribe linux-kernel in the body of a message to [EMAIL

Re: [patch 0/2] suspend/resume regression fixes

2007-09-22 Thread Mihai Donțu
On Sunday 23 September 2007, Linus Torvalds wrote: From a future behaviour standpoint it would probably be interesting to hear whether Mihai can make his machine with not with the old IDE layer (which distributions are migrating away from) but with the ATA layer (libata) instead. It too

Re: [BUG 2.6.23-rc6-mm1] NMI Watchdog detected LOCKUP on CPU 0

2007-09-22 Thread Fengguang Wu
On Sat, Sep 22, 2007 at 09:22:36PM -0700, Andrew Morton wrote: On Sun, 23 Sep 2007 09:42:14 +0800 Fengguang Wu [EMAIL PROTECTED] wrote: On Tue, Sep 18, 2007 at 01:18:41AM -0700, Andrew Morton wrote:

Re: [BUG 2.6.23-rc6-mm1] NMI Watchdog detected LOCKUP on CPU 0

2007-09-22 Thread Andrew Morton
On Sun, 23 Sep 2007 13:30:40 +0800 Fengguang Wu [EMAIL PROTECTED] wrote: That's interensting. serial_in(). We have had NMI watchdog expiries when the kernel is printing a large amount of stuff out a slow serial port with interrutps disabled. But I thought we'd pretty much plugged those

Re: [00/41] Large Blocksize Support V7 (adds memmap support)

2007-09-22 Thread Goswin von Brederlow
[EMAIL PROTECTED] (Mel Gorman) writes: On (16/09/07 23:31), Andrea Arcangeli didst pronounce: On Sun, Sep 16, 2007 at 09:54:18PM +0100, Mel Gorman wrote: Allocating ptes from slab is fairly simple but I think it would be better to allocate ptes in PAGE_SIZE (64k) chunks and preallocate the

Re: [BUG 2.6.23-rc6-mm1] NMI Watchdog detected LOCKUP on CPU 0

2007-09-22 Thread Fengguang Wu
On Sat, Sep 22, 2007 at 10:35:45PM -0700, Andrew Morton wrote: On Sun, 23 Sep 2007 13:30:40 +0800 Fengguang Wu [EMAIL PROTECTED] wrote: That's interensting. serial_in(). We have had NMI watchdog expiries when the kernel is printing a large amount of stuff out a slow serial port with

<    1   2   3   4