All of lore.kernel.org
 help / color / mirror / Atom feed
* 2.6.21-rc3-mm2
@ 2007-03-08  4:19 Andrew Morton
  2007-03-08  7:39 ` [PATCH] fix BUG_ON check at move_freepages() (Re: 2.6.21-rc3-mm2) Yasunori Goto
                   ` (7 more replies)
  0 siblings, 8 replies; 37+ messages in thread
From: Andrew Morton @ 2007-03-08  4:19 UTC (permalink / raw)
  To: linux-kernel


ftp://ftp.kernel.org/pub/linux/kernel/people/akpm/patches/2.6/2.6.21-rc3/2.6.21-rc3-mm2/

- This is the same as 2.6.21-rc3-mm1, except Con's CPU scheduler changes
  were dropped.

  This is for A/B comparison purposes, and because those changes crashed on
  one test setup.



Changes since 2.6.21-rc3-mm1:

-lists-add-list-splice-tail.patch
-sched-remove-sleepavg-from-proc.patch
-sched-remove-noninteractive-flag.patch
-sched-implement-180-bit-sched-bitmap.patch
-sched-implement-rsdl-cpu-scheduler.patch
-sched-document-rsdl-cpu-scheduler.patch

 Removed.



^ permalink raw reply	[flat|nested] 37+ messages in thread

* [PATCH] fix BUG_ON check at move_freepages() (Re: 2.6.21-rc3-mm2)
  2007-03-08  4:19 2.6.21-rc3-mm2 Andrew Morton
@ 2007-03-08  7:39 ` Yasunori Goto
  2007-03-08 11:01   ` Mel Gorman
  2007-03-08 14:52 ` 2.6.21-rc3-mm2 Con Kolivas
                   ` (6 subsequent siblings)
  7 siblings, 1 reply; 37+ messages in thread
From: Yasunori Goto @ 2007-03-08  7:39 UTC (permalink / raw)
  To: Andrew Morton; +Cc: linux-kernel, Mel Gorman


Hello.

The BUG_ON() check at move_freepages() is wrong.
Its end_page is start_page + MAX_ORDER_NR_PAGES. So, it can be 
next zone. BUG_ON() should check "end_page - 1".

This is fix of 2.6.21-rc3-mm2 for it.

Signed-off-by: Yasunori Goto <y-goto@jp.fujitsu.com>

---
 mm/page_alloc.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Index: current_test/mm/page_alloc.c
===================================================================
--- current_test.orig/mm/page_alloc.c	2007-03-08 15:44:10.000000000 +0900
+++ current_test/mm/page_alloc.c	2007-03-08 16:17:29.000000000 +0900
@@ -707,7 +707,7 @@ int move_freepages(struct zone *zone,
 	unsigned long order;
 	int blocks_moved = 0;
 
-	BUG_ON(page_zone(start_page) != page_zone(end_page));
+	BUG_ON(page_zone(start_page) != page_zone(end_page - 1));
 
 	for (page = start_page; page < end_page;) {
 		if (!PageBuddy(page)) {

-- 
Yasunori Goto 



^ permalink raw reply	[flat|nested] 37+ messages in thread

* Re: [PATCH] fix BUG_ON check at move_freepages() (Re: 2.6.21-rc3-mm2)
  2007-03-08  7:39 ` [PATCH] fix BUG_ON check at move_freepages() (Re: 2.6.21-rc3-mm2) Yasunori Goto
@ 2007-03-08 11:01   ` Mel Gorman
  0 siblings, 0 replies; 37+ messages in thread
From: Mel Gorman @ 2007-03-08 11:01 UTC (permalink / raw)
  To: Yasunori Goto; +Cc: Andrew Morton, linux-kernel

On Thu, 8 Mar 2007, Yasunori Goto wrote:

>
> Hello.
>
> The BUG_ON() check at move_freepages() is wrong.
> Its end_page is start_page + MAX_ORDER_NR_PAGES. So, it can be
> next zone. BUG_ON() should check "end_page - 1".
>

You're right on all counts.

> This is fix of 2.6.21-rc3-mm2 for it.
>
> Signed-off-by: Yasunori Goto <y-goto@jp.fujitsu.com>
>

Acked-by: Mel Gorman <mel@csn.ul.ie>

> ---
> mm/page_alloc.c |    2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
> Index: current_test/mm/page_alloc.c
> ===================================================================
> --- current_test.orig/mm/page_alloc.c	2007-03-08 15:44:10.000000000 +0900
> +++ current_test/mm/page_alloc.c	2007-03-08 16:17:29.000000000 +0900
> @@ -707,7 +707,7 @@ int move_freepages(struct zone *zone,
> 	unsigned long order;
> 	int blocks_moved = 0;
>
> -	BUG_ON(page_zone(start_page) != page_zone(end_page));
> +	BUG_ON(page_zone(start_page) != page_zone(end_page - 1));
>
> 	for (page = start_page; page < end_page;) {
> 		if (!PageBuddy(page)) {
>
> -- 
> Yasunori Goto
>
>

-- 
Mel Gorman
Part-time Phd Student                          Linux Technology Center
University of Limerick                         IBM Dublin Software Lab

^ permalink raw reply	[flat|nested] 37+ messages in thread

* Re: 2.6.21-rc3-mm2
  2007-03-08  4:19 2.6.21-rc3-mm2 Andrew Morton
  2007-03-08  7:39 ` [PATCH] fix BUG_ON check at move_freepages() (Re: 2.6.21-rc3-mm2) Yasunori Goto
@ 2007-03-08 14:52 ` Con Kolivas
  2007-03-08 21:04   ` 2.6.21-rc3-mm2 Con Kolivas
  2007-03-08 21:56   ` 2.6.21-rc3: /proc broken Con Kolivas
  2007-03-12 12:56 ` 2.6.21-rc3-mm2 hangs my opteron during bootup, ACPI? Helge Hafting
                   ` (5 subsequent siblings)
  7 siblings, 2 replies; 37+ messages in thread
From: Con Kolivas @ 2007-03-08 14:52 UTC (permalink / raw)
  To: Andrew Morton; +Cc: linux-kernel

On Thursday 08 March 2007 15:19, Andrew Morton wrote:
> ftp://ftp.kernel.org/pub/linux/kernel/people/akpm/patches/2.6/2.6.21-rc3/2.
>6.21-rc3-mm2/
>
> - This is the same as 2.6.21-rc3-mm1, except Con's CPU scheduler changes
>   were dropped.

As for benchmarking between them I haven't seen anyone post anything yet. 
Test.kernel.org is having a field day with both of them ABORTing or WARNing 
without one GOOD so far. Urgh what was the description you gave of -mm to 
Gene?...I don't envy you :(

Apart from your big fat oops on that massive config, I've had people boot it 
also on alpha and IA64. The bitmap error also manifested on alpha but not on 
IA64 (neither oopsed).


So on qemu I can reproduce the oops you're getting with your config (make 
oldconfig all default on top of your config), but I'm getting other wonderful 
related problems too on rc3-mm2. On qemu -mm1 boots mostly without error and 
then crashes nicely when I type 'ps' with a long pause for about twenty 
seconds and then a combination of soft lockups, bitmap errors, and eventually 
hits the BUG_ON I put in bitmap_error(). However, -mm2 also vomits on 
typing 'ps'. 

It pauses and then spits out (fun lines selected from ps output):

    7 ?        serial8250: too much work for irq4
00:00:00 watchdog/1
   88 ?        00:00:0serial8250: too much work for irq4
0 cqueue/1
  137 ?        00:00serial8250: too much work for irq4
:00 aio/0

Checking a few /proc files I see that "serial83250" info littered 
throughout /proc/stat as well. -mm2 does not oops but the proc output is 
variously corrupted.

Interestingly if I don't type 'ps' in the -mm1 qemu it runs fine with no sign 
of a bug... In summary, here I can only reproduce your big fat oops by it 
being triggered by some corruption elsewhere on this config related to /proc 
breakage that I haven't managed to track down. I checked the broken-out 
patches to see which touched /proc and it was oh, most of them. I tried on rc3 
and had the same thing happen. I haven't tried rc3 without rsdl (your config 
takes too darn long to build!).


The bitmap error that you're hitting on ppc I believe is a different issue. I 
don't have hardware that does it at my end but one user has hit it also on 
alpha and is trying to help me find the root cause. If we change it from 
being a once only printk to every time, it seems to go away after 10 mins of 
runtime never to return again. What could possibly change over that time for 
the error never to return again is a mystery. This part definitely looks to 
be my fault but a bug "getting better and going away" is a new one for me. I 
have to think about some timer interaction although I don't use jiffies or 
timers directly at all in my code. It also happens on 2.6.20 with RSDL.


Summary from what I've been able to find:
x86_32: ok
x86_64: ok
x86_64 fat config: scheduler code oops brought on by accessing /proc
IA64 ok: ok
Alpha: bitmap error, runs ok


I'm off to pass out for now so that I'm of some use to the rest of my 
existence tomorrow.

-- 
-ck

^ permalink raw reply	[flat|nested] 37+ messages in thread

* Re: 2.6.21-rc3-mm2
  2007-03-08 14:52 ` 2.6.21-rc3-mm2 Con Kolivas
@ 2007-03-08 21:04   ` Con Kolivas
  2007-03-08 21:56   ` 2.6.21-rc3: /proc broken Con Kolivas
  1 sibling, 0 replies; 37+ messages in thread
From: Con Kolivas @ 2007-03-08 21:04 UTC (permalink / raw)
  To: Andrew Morton; +Cc: linux-kernel

On Friday 09 March 2007 01:52, Con Kolivas wrote:
> Summary from what I've been able to find:
> x86_32: ok
> x86_64: ok
> x86_64 fat config: scheduler code oops brought on by accessing /proc
> IA64 ok: ok
> Alpha: bitmap error, runs ok

PA-Risc: ok

Now what is it about ppc and Alpha that make it hit the bitmap error on 
startup...

-- 
-ck

^ permalink raw reply	[flat|nested] 37+ messages in thread

* 2.6.21-rc3: /proc broken
  2007-03-08 14:52 ` 2.6.21-rc3-mm2 Con Kolivas
  2007-03-08 21:04   ` 2.6.21-rc3-mm2 Con Kolivas
@ 2007-03-08 21:56   ` Con Kolivas
  2007-03-09  8:53     ` Russell King
  1 sibling, 1 reply; 37+ messages in thread
From: Con Kolivas @ 2007-03-08 21:56 UTC (permalink / raw)
  To: Andrew Morton; +Cc: linux-kernel

On Friday 09 March 2007 01:52, Con Kolivas wrote:
> On Thursday 08 March 2007 15:19, Andrew Morton wrote:
> > ftp://ftp.kernel.org/pub/linux/kernel/people/akpm/patches/2.6/2.6.21-rc3/
> >2. 6.21-rc3-mm2/
> >
> > - This is the same as 2.6.21-rc3-mm1, except Con's CPU scheduler changes
> >   were dropped.

> So on qemu I can reproduce the oops you're getting with your config (make
> oldconfig all default on top of your config), but I'm getting other
> wonderful related problems too on rc3-mm2. On qemu -mm1 boots mostly
> without error and then crashes nicely when I type 'ps' with a long pause
> for about twenty seconds and then a combination of soft lockups, bitmap
> errors, and eventually hits the BUG_ON I put in bitmap_error(). However,
> -mm2 also vomits on typing 'ps'.
>
> It pauses and then spits out (fun lines selected from ps output):
>
>     7 ?        serial8250: too much work for irq4
> 00:00:00 watchdog/1
>    88 ?        00:00:0serial8250: too much work for irq4
> 0 cqueue/1
>   137 ?        00:00serial8250: too much work for irq4
>
> :00 aio/0
>
> Checking a few /proc files I see that "serial83250" info littered
> throughout /proc/stat as well. -mm2 does not oops but the proc output is
> variously corrupted.
>
> Interestingly if I don't type 'ps' in the -mm1 qemu it runs fine with no
> sign of a bug... In summary, here I can only reproduce your big fat oops by
> it being triggered by some corruption elsewhere on this config related to
> /proc breakage that I haven't managed to track down. I checked the
> broken-out patches to see which touched /proc and it was oh, most of them.
> I tried on rc3 and had the same thing happen. I haven't tried rc3 without
> rsdl (your config takes too darn long to build!).

/proc appears broken on vanilla -rc3 as well.

I did make oldconfig from http://userweb.kernel.org/~akpm/ck/config.txt and 
chose all the defaults. Then building your fat config with -rc3, 'ps' hangs 
on qemu for almost 30 seconds and then at last produces a broken output

  PID TTY          TIME CMD
    1 ?        00:00:00 init
    2 ?        00:00:00 migration/0
    3 ?        00:00:00 ksoftirqd/0
    4 ?        00:00:00 watchdog/0
    5 ?        00:00:00 migration/1
    6 ?        00:00:00 ksoftirqd/1
    7 ?        serial8250: too much work for irq4
00:00:00 watchdog/1
    8 ?        00:00:00 events/0
    9 ?        00:00:00 events/1
   10 ?        00:00:00 khelper
   11 ?        00:00:00 kthread
   52 ?        00:00:00 kblockd/0
   53 ?        00:00:00 kblockd/1
   54 ?        00:00:00 kacpid
   87 ?        00:00:00 cqueue/0
   88 ?        00:00:00 cqueue/1
   89 ?        00:00:00 ata/0
   90 ?        00:00:00 ata/1
   91 ?        00:00:00 ata_aux
   92 ?        00:00:00 ksuspend_usbd
   95 ?        00:00:00 khubd
   97 ?        00:00:00 kseriod
  133 ?        00:00:00 pdflush
  134 ?        00:00:00 pdflush
  135 ?        00:00:00 kserial8250: too much work for irq4
swapd0
  136 ?        00:00:00 aio/0
  137 ?        00:00:00 aio/1
  287 ?        00:00:00 kpsmoused
  311 ?        00:00:00 sh
  312 ?        00:00:00 ps

It's random where this happens too. Sometimes it goes away, other times it's 
different tasks, and it happens to /proc/stat too

-- 
-ck

^ permalink raw reply	[flat|nested] 37+ messages in thread

* Re: 2.6.21-rc3: /proc broken
  2007-03-08 21:56   ` 2.6.21-rc3: /proc broken Con Kolivas
@ 2007-03-09  8:53     ` Russell King
  2007-03-09  9:59       ` Con Kolivas
  0 siblings, 1 reply; 37+ messages in thread
From: Russell King @ 2007-03-09  8:53 UTC (permalink / raw)
  To: Con Kolivas; +Cc: Andrew Morton, linux-kernel

On Fri, Mar 09, 2007 at 08:56:44AM +1100, Con Kolivas wrote:
> I did make oldconfig from http://userweb.kernel.org/~akpm/ck/config.txt and 
> chose all the defaults. Then building your fat config with -rc3, 'ps' hangs 
> on qemu for almost 30 seconds and then at last produces a broken output

Let me guess - you have either a serial console or something like that
and you're running these commands over said serial console?

Or you have console directed to both a serial port and the VT and you're
capturing this off the VT using gpm.

Either way, "serial8250: too much work for irq4" is a printk which will
be displayed by the kernel when it's unable to clear down work for the
serial port within 256 loops or so of the interrupt handler; it's a
protection against the box locking up.

It not actually contained in any of the files.

-- 
Russell King
 Linux kernel    2.6 ARM Linux   - http://www.arm.linux.org.uk/
 maintainer of:

^ permalink raw reply	[flat|nested] 37+ messages in thread

* Re: 2.6.21-rc3: /proc broken
  2007-03-09  8:53     ` Russell King
@ 2007-03-09  9:59       ` Con Kolivas
  0 siblings, 0 replies; 37+ messages in thread
From: Con Kolivas @ 2007-03-09  9:59 UTC (permalink / raw)
  To: Russell King; +Cc: Andrew Morton, linux-kernel

On Friday 09 March 2007 19:53, Russell King wrote:
> On Fri, Mar 09, 2007 at 08:56:44AM +1100, Con Kolivas wrote:
> > I did make oldconfig from http://userweb.kernel.org/~akpm/ck/config.txt
> > and chose all the defaults. Then building your fat config with -rc3, 'ps'
> > hangs on qemu for almost 30 seconds and then at last produces a broken
> > output
>
> Let me guess - you have either a serial console or something like that
> and you're running these commands over said serial console?
>
> Or you have console directed to both a serial port and the VT and you're
> capturing this off the VT using gpm.
>
> Either way, "serial8250: too much work for irq4" is a printk which will
> be displayed by the kernel when it's unable to clear down work for the
> serial port within 256 loops or so of the interrupt handler; it's a
> protection against the box locking up.
>
> It not actually contained in any of the files.

Thank you very much for taking the time to explain it to me and I apologise 
for the false positive. It's very much due to running qemu directing 
everything to the serial console which is just as you say. Allowing qemu to 
output to graphic fixes the error. Unfortunately that also makes akpm's oops 
go away so I can't really reproduce it now. Perhaps the bug occurs due to 
interrupts being disabled for an extended time; it gives me something to look 
at now.

Thanks!

-- 
-ck

^ permalink raw reply	[flat|nested] 37+ messages in thread

* Re: 2.6.21-rc3-mm2 hangs my opteron during bootup, ACPI?
  2007-03-08  4:19 2.6.21-rc3-mm2 Andrew Morton
  2007-03-08  7:39 ` [PATCH] fix BUG_ON check at move_freepages() (Re: 2.6.21-rc3-mm2) Yasunori Goto
  2007-03-08 14:52 ` 2.6.21-rc3-mm2 Con Kolivas
@ 2007-03-12 12:56 ` Helge Hafting
  2007-03-12 13:25   ` Luming Yu
  2007-03-14  3:52 ` 2.6.21-rc3-mm2 (oops in move_freepages) Bjorn Helgaas
                   ` (4 subsequent siblings)
  7 siblings, 1 reply; 37+ messages in thread
From: Helge Hafting @ 2007-03-12 12:56 UTC (permalink / raw)
  To: Andrew Morton; +Cc: linux-kernel

I went from 2.6.18-rc5-mm1 to 2.6.21-rc3-mm2
The computer now hangs solid during boot, at this point:

usb 1-1: configuration #1 chosen from 1 choice
drivers/usb/class/usblp.c: usblp0: USB Bidirectional printer dev 2 if 0 
alt 0 proto 2 vid 0x04B8 pid 0x0007
usb 1-3: new high speed USB device using ehci_hcd and address 3
pc87360: PC8736x not detected, module not inserted.
md: raid1 personality registered for level 1
md: md driver 0.90.3 MAX_MD_DEVS=256, MD_SB_DISKS=27
md: bitmap version 4.39
EDAC MC: Ver: 2.0.1 Sep  2 2006
sdhci: Secure Digital Host Controller Interface driver, 0.12
sdhci: Copyright(c) Pierre Ossman
wbsd: Winbond W83L51xD SD/MMC card interface driver, 1.6
wbsd: Copyright(c) Pierre Ossman
Advanced Linux Sound Architecture Driver Version 1.0.12rc1 (Thu Jun 22 
13:55:50 2006 UTC).
ACPI: PCI Interrupt 0000:00:06.0[A] -> GSI 17 (level, low) -> IRQ 17


Here it stops with a dead keyboard.  No sysrq, it is time for the power 
button.
A 2.6.18-rc5-mm1 boot continues like this:

gameport: Trident 4DWave is pci0000:00:06.0/gameport0, speed 1884kHz
ALSA device list:
  #0: Trident TRID4DWAVENX PCI Audio at 0x9400, irq 17
oprofile: using NMI interrupt.
Netfilter messages via NETLINK v0.30.
IPv4 over IPv4 tunneling driver
GRE over IPv4 tunneling driver
ip_conntrack version 2.4 (2043 buckets, 16344 max) - 288 bytes per conntrack
ip_tables: (C) 2000-2006 Netfilter Core Team
joydump: ,------------------ START ----------------.


I'll be trying 2.6.20 next, unless adviced otherwise.

Helge Hafting

^ permalink raw reply	[flat|nested] 37+ messages in thread

* Re: 2.6.21-rc3-mm2 hangs my opteron during bootup, ACPI?
  2007-03-12 12:56 ` 2.6.21-rc3-mm2 hangs my opteron during bootup, ACPI? Helge Hafting
@ 2007-03-12 13:25   ` Luming Yu
  2007-03-12 19:56     ` Len Brown
  0 siblings, 1 reply; 37+ messages in thread
From: Luming Yu @ 2007-03-12 13:25 UTC (permalink / raw)
  To: Helge Hafting; +Cc: Andrew Morton, linux-kernel

try acpi=off please.

On 3/12/07, Helge Hafting <helge.hafting@aitel.hist.no> wrote:
> I went from 2.6.18-rc5-mm1 to 2.6.21-rc3-mm2
> The computer now hangs solid during boot, at this point:
>
> usb 1-1: configuration #1 chosen from 1 choice
> drivers/usb/class/usblp.c: usblp0: USB Bidirectional printer dev 2 if 0
> alt 0 proto 2 vid 0x04B8 pid 0x0007
> usb 1-3: new high speed USB device using ehci_hcd and address 3
> pc87360: PC8736x not detected, module not inserted.
> md: raid1 personality registered for level 1
> md: md driver 0.90.3 MAX_MD_DEVS=256, MD_SB_DISKS=27
> md: bitmap version 4.39
> EDAC MC: Ver: 2.0.1 Sep  2 2006
> sdhci: Secure Digital Host Controller Interface driver, 0.12
> sdhci: Copyright(c) Pierre Ossman
> wbsd: Winbond W83L51xD SD/MMC card interface driver, 1.6
> wbsd: Copyright(c) Pierre Ossman
> Advanced Linux Sound Architecture Driver Version 1.0.12rc1 (Thu Jun 22
> 13:55:50 2006 UTC).
> ACPI: PCI Interrupt 0000:00:06.0[A] -> GSI 17 (level, low) -> IRQ 17
>
>
> Here it stops with a dead keyboard.  No sysrq, it is time for the power
> button.
> A 2.6.18-rc5-mm1 boot continues like this:
>
> gameport: Trident 4DWave is pci0000:00:06.0/gameport0, speed 1884kHz
> ALSA device list:
>   #0: Trident TRID4DWAVENX PCI Audio at 0x9400, irq 17
> oprofile: using NMI interrupt.
> Netfilter messages via NETLINK v0.30.
> IPv4 over IPv4 tunneling driver
> GRE over IPv4 tunneling driver
> ip_conntrack version 2.4 (2043 buckets, 16344 max) - 288 bytes per conntrack
> ip_tables: (C) 2000-2006 Netfilter Core Team
> joydump: ,------------------ START ----------------.
>
>
> I'll be trying 2.6.20 next, unless adviced otherwise.
>
> Helge Hafting
> -
> To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
> the body of a message to majordomo@vger.kernel.org
> More majordomo info at  http://vger.kernel.org/majordomo-info.html
> Please read the FAQ at  http://www.tux.org/lkml/
>

^ permalink raw reply	[flat|nested] 37+ messages in thread

* Re: 2.6.21-rc3-mm2 hangs my opteron during bootup, ACPI?
  2007-03-12 13:25   ` Luming Yu
@ 2007-03-12 19:56     ` Len Brown
  2007-03-17  0:10       ` Helge Hafting
  0 siblings, 1 reply; 37+ messages in thread
From: Len Brown @ 2007-03-12 19:56 UTC (permalink / raw)
  To: Luming Yu; +Cc: Helge Hafting, Andrew Morton, linux-kernel

On Monday 12 March 2007 09:25, Luming Yu wrote:
> try acpi=off please.
> 
> On 3/12/07, Helge Hafting <helge.hafting@aitel.hist.no> wrote:
> > I went from 2.6.18-rc5-mm1 to 2.6.21-rc3-mm2
> > The computer now hangs solid during boot, at this point:
> >
> > usb 1-1: configuration #1 chosen from 1 choice
> > drivers/usb/class/usblp.c: usblp0: USB Bidirectional printer dev 2 if 0
> > alt 0 proto 2 vid 0x04B8 pid 0x0007
> > usb 1-3: new high speed USB device using ehci_hcd and address 3
> > pc87360: PC8736x not detected, module not inserted.
> > md: raid1 personality registered for level 1
> > md: md driver 0.90.3 MAX_MD_DEVS=256, MD_SB_DISKS=27
> > md: bitmap version 4.39
> > EDAC MC: Ver: 2.0.1 Sep  2 2006
> > sdhci: Secure Digital Host Controller Interface driver, 0.12
> > sdhci: Copyright(c) Pierre Ossman
> > wbsd: Winbond W83L51xD SD/MMC card interface driver, 1.6
> > wbsd: Copyright(c) Pierre Ossman
> > Advanced Linux Sound Architecture Driver Version 1.0.12rc1 (Thu Jun 22
> > 13:55:50 2006 UTC).
> > ACPI: PCI Interrupt 0000:00:06.0[A] -> GSI 17 (level, low) -> IRQ 17
> >
> >
> > Here it stops with a dead keyboard.  No sysrq, it is time for the power
> > button.
> > A 2.6.18-rc5-mm1 boot continues like this:
> >
> > gameport: Trident 4DWave is pci0000:00:06.0/gameport0, speed 1884kHz
> > ALSA device list:
> >   #0: Trident TRID4DWAVENX PCI Audio at 0x9400, irq 17
> > oprofile: using NMI interrupt.
> > Netfilter messages via NETLINK v0.30.
> > IPv4 over IPv4 tunneling driver
> > GRE over IPv4 tunneling driver
> > ip_conntrack version 2.4 (2043 buckets, 16344 max) - 288 bytes per conntrack
> > ip_tables: (C) 2000-2006 Netfilter Core Team
> > joydump: ,------------------ START ----------------.
> >
> >
> > I'll be trying 2.6.20 next, unless adviced otherwise.

yes, that would be a good baseline.

But how about the latest git tree w/o anything from -mm.
eg. 2.6.21-rc3-git7

thanks,
-Len


^ permalink raw reply	[flat|nested] 37+ messages in thread

* Re: 2.6.21-rc3-mm2 (oops in move_freepages)
  2007-03-08  4:19 2.6.21-rc3-mm2 Andrew Morton
                   ` (2 preceding siblings ...)
  2007-03-12 12:56 ` 2.6.21-rc3-mm2 hangs my opteron during bootup, ACPI? Helge Hafting
@ 2007-03-14  3:52 ` Bjorn Helgaas
  2007-03-14  9:44   ` Mel Gorman
       [not found] ` <200703141457.06489.bjorn.helgaas@hp.com>
                   ` (3 subsequent siblings)
  7 siblings, 1 reply; 37+ messages in thread
From: Bjorn Helgaas @ 2007-03-14  3:52 UTC (permalink / raw)
  To: Andrew Morton; +Cc: linux-kernel, Mel Gorman

FYI, I'm seeing the following oops with 2.6.21-rc3-mm1 (and -mm2)
on the HP rx2600 and an Intel Tiger (both ia64 boxes).

I haven't investigated this other than to determine that it
does not occur with 2.6.21-rc3 or 2.6.20-rc3-mm1, and the
instruction at move_freepages+0x10 is a load of the value
pointed to by the third argument (end_page).


Linux version 2.6.21-rc3-mm1 (helgaas@tiger) (gcc version 4.0.3 (Debian 4.0.3-1)) #2 SMP Tue Mar 13 16:16:22 MST 2007
...
mptbase: Initiating ioc0 bringup
ioc0: 53C1030: Capabilities={Initiator,Target}
scsi0 : ioc0: LSI53C1030, FwRev=01032300h, Ports=1, MaxQ=255, IRQ=53
scsi 0:0:0:0: Direct-Access     HP 36.4G ST336706LC       HP04 PQ: 0 ANSI: 2
 target0:0:0: Beginning Domain Validation
 target0:0:0: Ending Domain Validation
 target0:0:0: FAST-80 WIDE SCSI 160.0 MB/s DT (12.5 ns, offset 63)
Unable to handle kernel paging request at virtual address a0007fffc7580000
swapper[1]: Oops 8813272891392 [1]
Modules linked in:

Pid: 1, CPU 1, comm:              swapper
psr : 00001010085a2010 ifs : 800000000000040b ip  : [<a0000001000fe5d0>]    Not 
tainted
ip is at move_freepages+0x10/0x340
unat: 0000000000000000 pfs : 000000000000030a rsc : 0000000000000003
rnat: 0000000000000000 bsps: 0000000000000000 pr  : 000000000000a581
ldrs: 0000000000000000 ccv : 0000000000000000 fpsr: 0009804c8a74433f
csd : 0000000000000000 ssd : 0000000000000000
b0  : a0000001000fea10 b6  : a0000001005ad980 b7  : a00000010000bb20
f6  : 1003e0000000000000000 f7  : 1003ed37a6f4de9bd37a7
f8  : 1003e0000000000000000 f9  : 1003e0000000194a0cb8b
f10 : 1003e70658ddf530a940d f11 : 1003e0000000000000000
r1  : a000000100dfe280 r2  : 0000000000000000 r3  : 0000000000000000
r8  : 0000000000000000 r9  : 0000000000004000 r10 : ffffffffffff0000
r11 : 0000000000020000 r12 : e00000406004fc10 r13 : e000004060048000
r14 : 0000000000010000 r15 : 000000000001c000 r16 : 0000000000040000
r17 : 0000000000000400 r18 : a0007fffc7200000 r19 : 0000000000004000
r20 : ffffffffffff4000 r21 : 00002fffffff4000 r22 : ffffd00000000000
r23 : 000000005fff4000 r24 : 00002fffa0000000 r25 : 0000000063180000
r26 : 000000000318c000 r27 : 0000000000c5c000 r28 : 00000000000c4000
r29 : 0000000000080000 r30 : 000000000003fc00 r31 : 00000000000e0000

Call Trace:
 [<a000000100014840>] show_stack+0x40/0xa0
                                sp=e00000406004f7c0 bsp=e0000040600496f8
 [<a000000100015120>] show_regs+0x880/0x8a0
                                sp=e00000406004f990 bsp=e0000040600496a0
 [<a0000001000387c0>] die+0x1c0/0x2c0
                                sp=e00000406004f990 bsp=e000004060049658
 [<a00000010005e1e0>] ia64_do_page_fault+0x820/0x9c0
                                sp=e00000406004f9b0 bsp=e000004060049608
 [<a00000010000c320>] ia64_leave_kernel+0x0/0x270
                                sp=e00000406004fa40 bsp=e000004060049608
 [<a0000001000fe5d0>] move_freepages+0x10/0x340
                                sp=e00000406004fc10 bsp=e0000040600495a8
 [<a0000001000fea10>] move_freepages_block+0x110/0x140
                                sp=e00000406004fc10 bsp=e000004060049578
 [<a0000001000fef20>] __rmqueue+0x4e0/0x7e0
                                sp=e00000406004fc10 bsp=e000004060049518
 [<a0000001000ff270>] rmqueue_bulk+0x50/0x120
                                sp=e00000406004fc10 bsp=e0000040600494d0
 [<a0000001000ff7a0>] get_page_from_freelist+0x460/0xd40
                                sp=e00000406004fc10 bsp=e000004060049420
 [<a0000001001016e0>] __alloc_pages+0xa0/0x580
                                sp=e00000406004fc10 bsp=e0000040600493a8
 [<a000000100147df0>] kmem_getpages+0x150/0x3a0
                                sp=e00000406004fc20 bsp=e000004060049370
 [<a00000010014b200>] cache_grow+0x1e0/0x640
                                sp=e00000406004fc30 bsp=e000004060049308
 [<a00000010014baf0>] cache_alloc_refill+0x490/0x580
                                sp=e00000406004fc30 bsp=e0000040600492a0
 [<a00000010014ca80>] kmem_cache_alloc+0x120/0x1e0
                                sp=e00000406004fc30 bsp=e000004060049270
 [<a0000001005af6f0>] sd_revalidate_disk+0x90/0x1c20
                                sp=e00000406004fc30 bsp=e0000040600491f0
 [<a0000001005b1d20>] sd_probe+0x6c0/0x7c0
                                sp=e00000406004fc70 bsp=e000004060049198
 [<a0000001004c3650>] driver_probe_device+0x230/0x360
                                sp=e00000406004fc80 bsp=e000004060049160
 [<a0000001004c37b0>] __device_attach+0x30/0x60
                                sp=e00000406004fc80 bsp=e000004060049138
 [<a0000001004c1480>] bus_for_each_drv+0x80/0x120
                                sp=e00000406004fc80 bsp=e000004060049100
 [<a0000001004c3f50>] device_attach+0x190/0x200
                                sp=e00000406004fca0 bsp=e0000040600490c8
 [<a0000001004c1660>] bus_attach_device+0x80/0x160
                                sp=e00000406004fca0 bsp=e000004060049090
 [<a0000001004be7e0>] device_add+0x940/0xf60
                                sp=e00000406004fca0 bsp=e000004060049028
 [<a00000010057daa0>] scsi_sysfs_add_sdev+0x60/0x520
                                sp=e00000406004fca0 bsp=e000004060048fd8
 [<a000000100578e20>] scsi_probe_and_add_lun+0x1000/0x1200
                                sp=e00000406004fca0 bsp=e000004060048f68
 [<a000000100579bf0>] __scsi_scan_target+0x150/0xae0
                                sp=e00000406004fcd0 bsp=e000004060048f10
 [<a00000010057a5e0>] scsi_scan_channel+0x60/0xe0
                                sp=e00000406004fd30 bsp=e000004060048ed0
 [<a00000010057a790>] scsi_scan_host_selected+0x130/0x200
                                sp=e00000406004fd30 bsp=e000004060048e88
 [<a00000010057a9d0>] do_scsi_scan_host+0x170/0x1a0
                                sp=e00000406004fd30 bsp=e000004060048e60
 [<a00000010057acd0>] scsi_scan_host+0x2d0/0x320
                                sp=e00000406004fd30 bsp=e000004060048e18
 [<a0000001005ca2c0>] mptspi_probe+0x680/0x6e0
                                sp=e00000406004fd30 bsp=e000004060048dc8
 [<a0000001003fdd10>] pci_device_probe+0x270/0x3a0
                                sp=e00000406004fd30 bsp=e000004060048d88
 [<a0000001004c3650>] driver_probe_device+0x230/0x360
                                sp=e00000406004fd80 bsp=e000004060048d50
 [<a0000001004c3a40>] __driver_attach+0x100/0x1a0
                                sp=e00000406004fd80 bsp=e000004060048d20
 [<a0000001004c1260>] bus_for_each_dev+0x80/0x100
                                sp=e00000406004fd80 bsp=e000004060048ce8
 [<a0000001004c3060>] driver_attach+0x40/0x60
                                sp=e00000406004fda0 bsp=e000004060048cc8
 [<a0000001004c2130>] bus_add_driver+0xf0/0x3a0
                                sp=e00000406004fda0 bsp=e000004060048c88
 [<a0000001004c4540>] driver_register+0x160/0x180
                                sp=e00000406004fda0 bsp=e000004060048c68
 [<a0000001003fce80>] __pci_register_driver+0xc0/0x140
                                sp=e00000406004fda0 bsp=e000004060048c30
 [<a00000010090c840>] mptspi_init+0x180/0x1c0
                                sp=e00000406004fdb0 bsp=e000004060048c10
 [<a0000001008d5580>] init+0x420/0x6c0
                                sp=e00000406004fdb0 bsp=e000004060048bd8
 [<a0000001000134d0>] kernel_thread_helper+0xd0/0x100
                                sp=e00000406004fe30 bsp=e000004060048bb0
 [<a0000001000094c0>] start_kernel_thread+0x20/0x40
                                sp=e00000406004fe30 bsp=e000004060048bb0

^ permalink raw reply	[flat|nested] 37+ messages in thread

* Re: 2.6.21-rc3-mm2 (oops in move_freepages)
  2007-03-14  3:52 ` 2.6.21-rc3-mm2 (oops in move_freepages) Bjorn Helgaas
@ 2007-03-14  9:44   ` Mel Gorman
  2007-03-14 15:11     ` Bjorn Helgaas
  0 siblings, 1 reply; 37+ messages in thread
From: Mel Gorman @ 2007-03-14  9:44 UTC (permalink / raw)
  To: Bjorn Helgaas; +Cc: Andrew Morton, linux-kernel

On (13/03/07 21:52), Bjorn Helgaas didst pronounce:
> FYI, I'm seeing the following oops with 2.6.21-rc3-mm1 (and -mm2)
> on the HP rx2600 and an Intel Tiger (both ia64 boxes).
> 
> I haven't investigated this other than to determine that it
> does not occur with 2.6.21-rc3 or 2.6.20-rc3-mm1, and the
> instruction at move_freepages+0x10 is a load of the value
> pointed to by the third argument (end_page).
> 

Please try the following patch from Yasunori Goto.

>From y-goto@jp.fujitsu.com Thu Mar  8 08:00:15 2007
Date: Thu, 08 Mar 2007 16:39:43 +0900
From: Yasunori Goto <y-goto@jp.fujitsu.com>
To: Andrew Morton <akpm@linux-foundation.org>
Cc: linux-kernel@vger.kernel.org, Mel Gorman <mel@csn.ul.ie>
Subject: [PATCH] fix BUG_ON check at move_freepages() (Re: 2.6.21-rc3-mm2)

Hello.

The BUG_ON() check at move_freepages() is wrong.
Its end_page is start_page + MAX_ORDER_NR_PAGES. So, it can be 
next zone. BUG_ON() should check "end_page - 1".

This is fix of 2.6.21-rc3-mm2 for it.

Signed-off-by: Yasunori Goto <y-goto@jp.fujitsu.com>

---
 mm/page_alloc.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Index: current_test/mm/page_alloc.c
===================================================================
--- current_test.orig/mm/page_alloc.c	2007-03-08 15:44:10.000000000 +0900
+++ current_test/mm/page_alloc.c	2007-03-08 16:17:29.000000000 +0900
@@ -707,7 +707,7 @@ int move_freepages(struct zone *zone,
 	unsigned long order;
 	int blocks_moved = 0;
 
-	BUG_ON(page_zone(start_page) != page_zone(end_page));
+	BUG_ON(page_zone(start_page) != page_zone(end_page - 1));
 
 	for (page = start_page; page < end_page;) {
 		if (!PageBuddy(page)) {


^ permalink raw reply	[flat|nested] 37+ messages in thread

* Re: 2.6.21-rc3-mm2 (oops in move_freepages)
  2007-03-14  9:44   ` Mel Gorman
@ 2007-03-14 15:11     ` Bjorn Helgaas
  2007-03-14 16:13       ` Mel Gorman
  0 siblings, 1 reply; 37+ messages in thread
From: Bjorn Helgaas @ 2007-03-14 15:11 UTC (permalink / raw)
  To: Mel Gorman; +Cc: Andrew Morton, linux-kernel

On Wednesday 14 March 2007 03:44, Mel Gorman wrote:
> Please try the following patch from Yasunori Goto.
> ...
> --- current_test.orig/mm/page_alloc.c	2007-03-08 15:44:10.000000000 +0900
> +++ current_test/mm/page_alloc.c	2007-03-08 16:17:29.000000000 +0900
> @@ -707,7 +707,7 @@ int move_freepages(struct zone *zone,
>  	unsigned long order;
>  	int blocks_moved = 0;
>  
> -	BUG_ON(page_zone(start_page) != page_zone(end_page));
> +	BUG_ON(page_zone(start_page) != page_zone(end_page - 1));
>  

I should have mentioned that I already tried this patch.  The
oops still occurs, although now it's when loading the value
pointed to by "end_page - 1" instead of "end_page".

^ permalink raw reply	[flat|nested] 37+ messages in thread

* Re: 2.6.21-rc3-mm2 (oops in move_freepages)
  2007-03-14 15:11     ` Bjorn Helgaas
@ 2007-03-14 16:13       ` Mel Gorman
  2007-03-14 16:52         ` Bjorn Helgaas
  0 siblings, 1 reply; 37+ messages in thread
From: Mel Gorman @ 2007-03-14 16:13 UTC (permalink / raw)
  To: Bjorn Helgaas; +Cc: Andrew Morton, linux-kernel

On (14/03/07 09:11), Bjorn Helgaas didst pronounce:
> On Wednesday 14 March 2007 03:44, Mel Gorman wrote:
> > Please try the following patch from Yasunori Goto.
> > ...
> > --- current_test.orig/mm/page_alloc.c	2007-03-08 15:44:10.000000000 +0900
> > +++ current_test/mm/page_alloc.c	2007-03-08 16:17:29.000000000 +0900
> > @@ -707,7 +707,7 @@ int move_freepages(struct zone *zone,
> >  	unsigned long order;
> >  	int blocks_moved = 0;
> >  
> > -	BUG_ON(page_zone(start_page) != page_zone(end_page));
> > +	BUG_ON(page_zone(start_page) != page_zone(end_page - 1));
> >  
> 
> I should have mentioned that I already tried this patch.  The
> oops still occurs, although now it's when loading the value
> pointed to by "end_page - 1" instead of "end_page".

Ok. This looks like another case of HOLES_IN_ZONE hilarity with page_zone().
As I take a new look at the BUG_ON check in move_freepages(), it isn't even
necessary as move_freepages_block() already checks the zone boundaries.  At a
later date when the code has survived a while without new bug reports, I'll
submit a patch that simply deletes this check because it should be redundant.
Just in case, I'd like to preserve the check in the non-HOLES_IN_ZONE
case for now.

Can you try this patch please? It should apply on top of Yasunori Goto's
patch.

Signed-off-by: Mel Gorman <mel@csn.ul.ie>
diff -rup -X /usr/src/patchset-0.6/bin//dontdiff linux-2.6.21-rc3-mm2-goto/mm/page_alloc.c linux-2.6.21-rc3-mm2-bjorn_testfix/mm/page_alloc.c
--- linux-2.6.21-rc3-mm2-goto/mm/page_alloc.c	2007-03-14 16:07:23.000000000 +0000
+++ linux-2.6.21-rc3-mm2-bjorn_testfix/mm/page_alloc.c	2007-03-14 16:01:00.000000000 +0000
@@ -707,7 +707,15 @@ int move_freepages(struct zone *zone,
 	unsigned long order;
 	int blocks_moved = 0;
 
+#ifndef CONFIG_HOLES_IN_ZONE
+	/*
+	 * page_zone is not safe to call in this context when
+	 * CONFIG_HOLES_IN_ZONE is set but this bug check is
+	 * redundant anyway as we check zone boundaries in
+	 * move_freepages_block()
+	 */
 	BUG_ON(page_zone(start_page) != page_zone(end_page - 1));
+#endif
 
 	for (page = start_page; page < end_page;) {
 		if (!PageBuddy(page)) {

^ permalink raw reply	[flat|nested] 37+ messages in thread

* Re: 2.6.21-rc3-mm2 (oops in move_freepages)
  2007-03-14 16:13       ` Mel Gorman
@ 2007-03-14 16:52         ` Bjorn Helgaas
  2007-03-14 17:21           ` Mel Gorman
  0 siblings, 1 reply; 37+ messages in thread
From: Bjorn Helgaas @ 2007-03-14 16:52 UTC (permalink / raw)
  To: Mel Gorman; +Cc: Andrew Morton, linux-kernel

On Wednesday 14 March 2007 10:13, Mel Gorman wrote:
> Ok. This looks like another case of HOLES_IN_ZONE hilarity with page_zone().
> As I take a new look at the BUG_ON check in move_freepages(), it isn't even
> necessary as move_freepages_block() already checks the zone boundaries.  At a
> later date when the code has survived a while without new bug reports, I'll
> submit a patch that simply deletes this check because it should be redundant.
> Just in case, I'd like to preserve the check in the non-HOLES_IN_ZONE
> case for now.
> 
> Can you try this patch please? It should apply on top of Yasunori Goto's
> patch.
> ...
> +#ifndef CONFIG_HOLES_IN_ZONE
> +	/*
> +	 * page_zone is not safe to call in this context when
> +	 * CONFIG_HOLES_IN_ZONE is set but this bug check is
> +	 * redundant anyway as we check zone boundaries in
> +	 * move_freepages_block()
> +	 */
>  	BUG_ON(page_zone(start_page) != page_zone(end_page - 1));
> +#endif
>  

Your patch applied fine, but I'm sorry to say it still doesn't
work.  I added this patch on top of yours:

--- work-mm10.orig/mm/page_alloc.c      2007-03-14 09:34:42.000000000 -0700
+++ work-mm10/mm/page_alloc.c   2007-03-14 09:42:31.000000000 -0700
@@ -707,6 +707,10 @@
        unsigned long order;
        int blocks_moved = 0;
 
+       printk("%s: zone %s zone_start_pfn 0x%lx start_page 0x%p end_page 0x%p\n",
+               __FUNCTION__, zone->name, zone->zone_start_pfn, start_page,
+               end_page);
+
 #ifndef CONFIG_HOLES_IN_ZONE
        /*
         * page_zone is not safe to call in this context when

and it crashed like this.  Let me know if I can collect more information
for you.


Linux version 2.6.21-rc3-mm2 (helgaas@tiger) (gcc version 4.0.3 (Debian 4.0.3-1)) #7 SMP Wed Mar 14 09:42:50 MST 2007
EFI v1.10 by HP: SALsystab=0x3fb38000 ACPI 2.0=0x3fb2e000 SMBIOS=0x3fb3a000 HCDP=0x3fb2c000
booting generic kernel on platform hpzx1
PCDP: v0 at 0x3fb2c000
Explicit "console="; ignoring PCDP
Early serial console at MMIO 0xff5e0000 (options '115200')
ACPI: RSDP 3FB2E000, 0028 (r2     HP)
ACPI: XSDT 3FB2E02C, 0094 (r1     HP   zx6000        0   HP        0)
ACPI: FACP 3FB36800, 00F4 (r3     HP   zx6000        0   HP        0)
ACPI: DSDT 3FB2E0E0, 5781 (r1     HP   zx6000        7 INTL  2012044)
ACPI: FACS 3FB368F8, 0040
ACPI: SPCR 3FB36938, 0050 (r1     HP   zx6000        0   HP        0)
ACPI: DBGP 3FB36988, 0034 (r1     HP   zx6000        0   HP        0)
ACPI: APIC 3FB36A48, 00B0 (r1     HP   zx6000        0   HP        0)
ACPI: SPMI 3FB369C0, 0050 (r4     HP   zx6000        0   HP        0)
ACPI: CPEP 3FB36A10, 0034 (r1     HP   zx6000        0   HP        0)
ACPI: SSDT 3FB33870, 01D6 (r1     HP   zx6000        6 INTL  2012044)
ACPI: SSDT 3FB33A50, 0342 (r1     HP   zx6000        6 INTL  2012044)
ACPI: SSDT 3FB33DA0, 0A16 (r1     HP   zx6000        6 INTL  2012044)
ACPI: SSDT 3FB347C0, 0A16 (r1     HP   zx6000        6 INTL  2012044)
ACPI: SSDT 3FB351E0, 0A16 (r1     HP   zx6000        6 INTL  2012044)
ACPI: SSDT 3FB35C00, 0A16 (r1     HP   zx6000        6 INTL  2012044)
ACPI: SSDT 3FB36620, 00EB (r1     HP   zx6000        6 INTL  2012044)
ACPI: SSDT 3FB36710, 00EF (r1     HP   zx6000        6 INTL  2012044)
SAL 3.1: HP version 2.31
SAL Platform features: None
SAL: AP wakeup using external interrupt vector 0xff
No logical to physical processor mapping available
ACPI: Local APIC address c0000000fee00000
GSI 36 (level, low) -> CPU 0 (0x0000) vector 48
2 CPUs available, 2 CPUs total
MCA related initialization done
Virtual mem_map starts at 0xa0007fffc7200000
Zone PFN ranges:
  DMA          1024 ->   262144
  Normal     262144 -> 17039360
Movable zone start PFN for each node
early_node_map[5] active PFN ranges
    0:     1024 ->    64889
    0:    65216 ->    65227
    0: 16842752 -> 17039194
    0: 17039209 -> 17039236
    0: 17039264 -> 17039343
SMP: Allowing 2 CPUs, 0 hotplug CPUs
Built 1 zonelists.  Total pages: 202189
Kernel command line: BOOT_IMAGE=net0:/helgaas/ia64/vmlinux.gz root=/dev/sda2 console=uart,mmio,0xff5e0000 debug ro
PID hash table entries: 4096 (order: 12, 32768 bytes)
CPU 0: base freq=200.000MHz, ITC ratio=9/2, ITC freq=900.000MHz+/-450ppm
Console: colour VGA+ 80x25
Memory: 4070112k/4150976k available (7303k code, 96672k reserved, 5072k data, 1856k init)
move_freepages: zone Normal zone_start_pfn 0x40000 start_page 0xa0007fffff900000 end_page 0xa0007fffffc80000
Leaving McKinley Errata 9 workaround enabled
Calibrating delay loop... 1347.58 BogoMIPS (lpj=2695168)
Dentry cache hash table entries: 524288 (order: 8, 4194304 bytes)
Inode-cache hash table entries: 262144 (order: 7, 2097152 bytes)
Mount-cache hash table entries: 1024
move_freepages: zone Normal zone_start_pfn 0x40000 start_page 0xa0007fffff900000 end_page 0xa0007fffffc80000
move_freepages: zone Normal zone_start_pfn 0x40000 start_page 0xa0007fffff580000 end_page 0xa0007fffff900000
ACPI: Core revision 20070126
Boot processor id 0x0/0x0
Fixed BSP b0 value from CPU 1
CPU 1: synchronized ITC with CPU 0 (last diff -4 cycles, maxerr 435 cycles)
CPU 1: base freq=200.000MHz, ITC ratio=9/2, ITC freq=900.000MHz+/-450ppm
Calibrating delay loop... 1347.58 BogoMIPS (lpj=2695168)
Brought up 2 CPUs
Total of 2 processors activated (2695.16 BogoMIPS).
migration_cost=1878
DMI 2.3 present.
NET: Registered protocol family 16
ACPI: bus type pci registered
ACPI: Interpreter enabled
ACPI: Using IOSAPIC for interrupt routing
ACPI: PCI Root Bridge [PCI0] (0000:00)
PCI: Firmware left 0000:00:03.0 e100 interrupts enabled, disabling
ACPI: PCI Interrupt Routing Table [\_SB_.SBA0.PCI0._PRT]
ACPI: PCI Root Bridge [PCI1] (0000:20)
ACPI: PCI Interrupt Routing Table [\_SB_.SBA0.PCI1._PRT]
ACPI: PCI Root Bridge [PCI2] (0000:40)
Boot video device is 0000:41:05.0
ACPI: PCI Interrupt Routing Table [\_SB_.SBA0.PCI2._PRT]
ACPI: PCI Root Bridge [PCI3] (0000:60)
ACPI: PCI Interrupt Routing Table [\_SB_.SBA0.PCI3._PRT]
ACPI: PCI Root Bridge [PCI4] (0000:80)
ACPI: PCI Interrupt Routing Table [\_SB_.SBA0.PCI4._PRT]
ACPI: PCI Root Bridge [PCI6] (0000:c0)
ACPI: PCI Interrupt Routing Table [\_SB_.SBA0.PCI6._PRT]
Linux Plug and Play Support v0.97 (c) Adam Belay
pnp: PnP ACPI init
GSI 34 (edge, high) -> CPU 1 (0x0100) vector 49
GSI 35 (edge, high) -> CPU 0 (0x0000) vector 50
pnp: PnP ACPI: found 10 devices
SCSI subsystem initialized
IOC: zx1 2.2 HPA 0xfed01000 IOVA space 1024Mb at 0x40000000
NET: Registered protocol family 2
IP route cache hash table entries: 131072 (order: 6, 1048576 bytes)
TCP established hash table entries: 524288 (order: 9, 12582912 bytes)
TCP bind hash table entries: 65536 (order: 6, 1048576 bytes)
TCP: Hash tables configured (established 524288 bind 65536)
TCP reno registered
perfmon: version 2.0 IRQ 238
perfmon: Itanium 2 PMU detected, 16 PMCs, 18 PMDs, 4 counters (47 bits)
PAL Information Facility v0.5
perfmon: added sampling format default_format
perfmon_default_smpl: default_format v2.0 registered
Total HugeTLB memory allocated, 0
SGI XFS with large block/inode numbers, no debug enabled
io scheduler noop registered
io scheduler anticipatory registered (default)
io scheduler deadline registered
io scheduler cfq registered
EFI Time Services Driver v0.4
Serial: 8250/16550 driver $Revision: 1.90 $ 4 ports, IRQ sharing enabled
00:04: ttyS0 at MMIO 0xff5e0000 (irq = 49) is a 16550A
00:05: ttyS1 at MMIO 0xff5e2000 (irq = 50) is a 16550A
RAMDISK driver initialized: 16 RAM disks of 4096K size 1024 blocksize
Intel(R) PRO/1000 Network Driver - version 7.3.20-k2
Copyright (c) 1999-2006 Intel Corporation.
tg3.c:v3.74 (February 20, 2007)
GSI 29 (level, low) -> CPU 1 (0x0100) vector 51
ACPI: PCI Interrupt 0000:20:02.0[A] -> GSI 29 (level, low) -> IRQ 51
eth0: Tigon3 [partno(BCM95700A6) rev 0105 PHY(5701)] (PCI:66MHz:64-bit) 10/100/1000Base-T Ethernet 00:30:6e:38:d9:67
eth0: RXcsums[1] LinkChgREG[0] MIirq[0] ASF[0] Split[0] WireSpeed[1] TSOcap[0] 
eth0: dma_rwctrl[76ff2d0f] dma_mask[64-bit]
netconsole: not configured, aborting
Uniform Multi-Platform E-IDE driver Revision: 7.00alpha2
ide: Assuming 33MHz system bus speed for PIO modes; override with idebus=xx
CMD649: IDE controller at PCI slot 0000:00:02.0
GSI 21 (level, low) -> CPU 0 (0x0000) vector 52
ACPI: PCI Interrupt 0000:00:02.0[A] -> GSI 21 (level, low) -> IRQ 52
CMD649: chipset revision 2
CMD649: 100% native mode on irq 52
    ide0: BM-DMA at 0x0d40-0x0d47, BIOS settings: hda:pio, hdb:pio
Probing IDE interface ide0...
hda: DW-28E, ATAPI CD/DVD-ROM drive
hda: selected mode 0x42
ide0 at 0xd58-0xd5f,0xd66 on irq 52
hda: ATAPI 24X DVD-ROM CD-R/RW drive, 1698kB Cache, UDMA(33)
Uniform CD-ROM driver Revision: 3.20
ide-floppy driver 0.99.newide
Fusion MPT base driver 3.04.04
Copyright (c) 1999-2007 LSI Logic Corporation
Fusion MPT SPI Host driver 3.04.04
GSI 27 (level, low) -> CPU 1 (0x0100) vector 53
ACPI: PCI Interrupt 0000:20:01.0[A] -> GSI 27 (level, low) -> IRQ 53
mptbase: Initiating ioc0 bringup
ioc0: 53C1030: Capabilities={Initiator,Target}
scsi0 : ioc0: LSI53C1030, FwRev=01032300h, Ports=1, MaxQ=255, IRQ=53
scsi 0:0:0:0: Direct-Access     HP 36.4G ST336706LC       HP04 PQ: 0 ANSI: 2
 target0:0:0: Beginning Domain Validation
 target0:0:0: Ending Domain Validation
 target0:0:0: FAST-80 WIDE SCSI 160.0 MB/s DT (12.5 ns, offset 63)
move_freepages: zone DMA zone_start_pfn 0x400 start_page 0xa0007fffc72e0000 end_page 0xa0007fffc7580000
Unable to handle kernel paging request at virtual address a0007fffc757c020
swapper[1]: Oops 11012296146944 [1]
Modules linked in:

Pid: 1, CPU 1, comm:              swapper
psr : 00001210084a2010 ifs : 800000000000040e ip  : [<a0000001000fe521>]    Not tainted
ip is at move_freepages+0x81/0x2c0
unat: 0000000000000000 pfs : 000000000000040e rsc : 0000000000000003
rnat: 0000000000000000 bsps: 0000000000000000 pr  : 0000000000005981
ldrs: 0000000000000000 ccv : 0000000000000000 fpsr: 0009804c8a74433f
csd : 0000000000000000 ssd : 0000000000000000
b0  : a0000001000fe640 b6  : a0000001003f0500 b7  : a00000010000bb20
f6  : 0fffafffffffff0000000 f7  : 0ffdea000000000000000
f8  : 10002a000000000000000 f9  : 100038000000000000000
f10 : 0fffe9ffffffff6000000 f11 : 1003e0000000000000000
r1  : a000000100dfe280 r2  : 0000000000000000 r3  : e000000003101050
r8  : 0000000000000000 r9  : e000000003101070 r10 : e000000003100000
r11 : a0007fffc720e060 r12 : e00000406004fc10 r13 : e000004060048000
r14 : a0007fffc7577268 r15 : e000000003101050 r16 : a0007fffc720e068
r17 : 0000000000000001 r18 : 0000000000100100 r19 : a0007fffc757bc58
r20 : a0007fffc757bc60 r21 : 0000000000000000 r22 : 0000000000000000
r23 : 000000000030c4aa r24 : 000000000037bc30 r25 : 000000000037bc30
r26 : a0007fffc7200000 r27 : a000000100c16850 r28 : a000000100c16850
r29 : a000000100c16528 r30 : a000000100c16528 r31 : 0000000001040000

Call Trace:
 [<a000000100014980>] show_stack+0x40/0xa0
                                sp=e00000406004f7c0 bsp=e000004060049700
 [<a000000100015260>] show_regs+0x880/0x8a0
                                sp=e00000406004f990 bsp=e0000040600496a8
 [<a000000100038900>] die+0x1c0/0x2c0
                                sp=e00000406004f990 bsp=e000004060049660
 [<a00000010005e320>] ia64_do_page_fault+0x820/0x9c0
                                sp=e00000406004f9b0 bsp=e000004060049610
 [<a00000010000c320>] ia64_leave_kernel+0x0/0x270
                                sp=e00000406004fa40 bsp=e000004060049610
 [<a0000001000fe520>] move_freepages+0x80/0x2c0
                                sp=e00000406004fc10 bsp=e000004060049598
 [<a0000001000fe870>] move_freepages_block+0x110/0x140
                                sp=e00000406004fc10 bsp=e000004060049568
 [<a0000001000fed80>] __rmqueue+0x4e0/0x7e0
                                sp=e00000406004fc10 bsp=e000004060049508
 [<a0000001000ff0d0>] rmqueue_bulk+0x50/0x120
                                sp=e00000406004fc10 bsp=e0000040600494c0
 [<a0000001000ff600>] get_page_from_freelist+0x460/0xd40
                                sp=e00000406004fc10 bsp=e000004060049410
 [<a000000100101540>] __alloc_pages+0xa0/0x580
                                sp=e00000406004fc10 bsp=e000004060049398
 [<a000000100147c50>] kmem_getpages+0x150/0x3a0
                                sp=e00000406004fc20 bsp=e000004060049360
 [<a00000010014b060>] cache_grow+0x1e0/0x640
                                sp=e00000406004fc30 bsp=e0000040600492f8
 [<a00000010014b950>] cache_alloc_refill+0x490/0x580
                                sp=e00000406004fc30 bsp=e000004060049290
 [<a00000010014c8e0>] kmem_cache_alloc+0x120/0x1e0
                                sp=e00000406004fc30 bsp=e000004060049260
 [<a0000001005af5b0>] sd_revalidate_disk+0x90/0x1c20
                                sp=e00000406004fc30 bsp=e0000040600491e0
 [<a0000001005b1be0>] sd_probe+0x6c0/0x7c0
                                sp=e00000406004fc70 bsp=e000004060049188
 [<a0000001004c3510>] driver_probe_device+0x230/0x360
                                sp=e00000406004fc80 bsp=e000004060049150
 [<a0000001004c3670>] __device_attach+0x30/0x60
                                sp=e00000406004fc80 bsp=e000004060049128
 [<a0000001004c1340>] bus_for_each_drv+0x80/0x120
                                sp=e00000406004fc80 bsp=e0000040600490f0
 [<a0000001004c3e10>] device_attach+0x190/0x200
                                sp=e00000406004fca0 bsp=e0000040600490b8
 [<a0000001004c1520>] bus_attach_device+0x80/0x160
                                sp=e00000406004fca0 bsp=e000004060049080
 [<a0000001004be6a0>] device_add+0x940/0xf60
                                sp=e00000406004fca0 bsp=e000004060049018
 [<a00000010057d960>] scsi_sysfs_add_sdev+0x60/0x520
                                sp=e00000406004fca0 bsp=e000004060048fc8
 [<a000000100578ce0>] scsi_probe_and_add_lun+0x1000/0x1200
                                sp=e00000406004fca0 bsp=e000004060048f58
 [<a000000100579ab0>] __scsi_scan_target+0x150/0xae0
                                sp=e00000406004fcd0 bsp=e000004060048f00
 [<a00000010057a4a0>] scsi_scan_channel+0x60/0xe0
                                sp=e00000406004fd30 bsp=e000004060048ec0
 [<a00000010057a650>] scsi_scan_host_selected+0x130/0x200
                                sp=e00000406004fd30 bsp=e000004060048e78
 [<a00000010057a890>] do_scsi_scan_host+0x170/0x1a0
                                sp=e00000406004fd30 bsp=e000004060048e50
 [<a00000010057ab90>] scsi_scan_host+0x2d0/0x320
                                sp=e00000406004fd30 bsp=e000004060048e08
 [<a0000001005ca180>] mptspi_probe+0x680/0x6e0
                                sp=e00000406004fd30 bsp=e000004060048db8
 [<a0000001003fdbd0>] pci_device_probe+0x270/0x3a0
                                sp=e00000406004fd30 bsp=e000004060048d78
 [<a0000001004c3510>] driver_probe_device+0x230/0x360
                                sp=e00000406004fd80 bsp=e000004060048d40
 [<a0000001004c3900>] __driver_attach+0x100/0x1a0
                                sp=e00000406004fd80 bsp=e000004060048d10
 [<a0000001004c1120>] bus_for_each_dev+0x80/0x100
                                sp=e00000406004fd80 bsp=e000004060048cd8
 [<a0000001004c2f20>] driver_attach+0x40/0x60
                                sp=e00000406004fda0 bsp=e000004060048cb8
 [<a0000001004c1ff0>] bus_add_driver+0xf0/0x3a0
                                sp=e00000406004fda0 bsp=e000004060048c78
 [<a0000001004c4400>] driver_register+0x160/0x180
                                sp=e00000406004fda0 bsp=e000004060048c58
 [<a0000001003fcd40>] __pci_register_driver+0xc0/0x140
                                sp=e00000406004fda0 bsp=e000004060048c20
 [<a00000010090c800>] mptspi_init+0x180/0x1c0
                                sp=e00000406004fdb0 bsp=e000004060048c00
 [<a0000001008d5580>] init+0x420/0x6c0
                                sp=e00000406004fdb0 bsp=e000004060048bc8
 [<a000000100013610>] kernel_thread_helper+0xd0/0x100
                                sp=e00000406004fe30 bsp=e000004060048ba0
 [<a0000001000094c0>] start_kernel_thread+0x20/0x40
                                sp=e00000406004fe30 bsp=e000004060048ba0
Kernel panic - not syncing: Attempted to kill init!

^ permalink raw reply	[flat|nested] 37+ messages in thread

* Re: 2.6.21-rc3-mm2 (oops in move_freepages)
  2007-03-14 16:52         ` Bjorn Helgaas
@ 2007-03-14 17:21           ` Mel Gorman
  2007-03-14 18:36             ` Bjorn Helgaas
  0 siblings, 1 reply; 37+ messages in thread
From: Mel Gorman @ 2007-03-14 17:21 UTC (permalink / raw)
  To: Bjorn Helgaas; +Cc: Andrew Morton, linux-kernel

On (14/03/07 10:52), Bjorn Helgaas didst pronounce:
> On Wednesday 14 March 2007 10:13, Mel Gorman wrote:
> > Ok. This looks like another case of HOLES_IN_ZONE hilarity with page_zone().
> > As I take a new look at the BUG_ON check in move_freepages(), it isn't even
> > necessary as move_freepages_block() already checks the zone boundaries.  At a
> > later date when the code has survived a while without new bug reports, I'll
> > submit a patch that simply deletes this check because it should be redundant.
> > Just in case, I'd like to preserve the check in the non-HOLES_IN_ZONE
> > case for now.
> > 
> > Can you try this patch please? It should apply on top of Yasunori Goto's
> > patch.
> > ...
> > +#ifndef CONFIG_HOLES_IN_ZONE
> > +	/*
> > +	 * page_zone is not safe to call in this context when
> > +	 * CONFIG_HOLES_IN_ZONE is set but this bug check is
> > +	 * redundant anyway as we check zone boundaries in
> > +	 * move_freepages_block()
> > +	 */
> >  	BUG_ON(page_zone(start_page) != page_zone(end_page - 1));
> > +#endif
> >  
> 
> Your patch applied fine, but I'm sorry to say it still doesn't
> work.  I added this patch on top of yours:
> 
> --- work-mm10.orig/mm/page_alloc.c      2007-03-14 09:34:42.000000000 -0700
> +++ work-mm10/mm/page_alloc.c   2007-03-14 09:42:31.000000000 -0700
> @@ -707,6 +707,10 @@
>         unsigned long order;
>         int blocks_moved = 0;
>  
> +       printk("%s: zone %s zone_start_pfn 0x%lx start_page 0x%p end_page 0x%p\n",
> +               __FUNCTION__, zone->name, zone->zone_start_pfn, start_page,
> +               end_page);
> +
>  #ifndef CONFIG_HOLES_IN_ZONE
>         /*
>          * page_zone is not safe to call in this context when
> 
> and it crashed like this.  Let me know if I can collect more information
> for you.

Can you tell me if the faulting line was at the check for PageBuddy?  Can you
also apply the following patch and boot with loglevel=8 please? The
patch moves the check for pfn_valid() before PageBuddy() is called.

Thanks

diff -rup -X /usr/src/patchset-0.6/bin//dontdiff linux-2.6.21-rc3-mm2-bjorn_testfix/mm/page_alloc.c linux-2.6.21-rc3-mm2-bjorn_testfix-2/mm/page_alloc.c
--- linux-2.6.21-rc3-mm2-bjorn_testfix/mm/page_alloc.c	2007-03-14 16:01:00.000000000 +0000
+++ linux-2.6.21-rc3-mm2-bjorn_testfix-2/mm/page_alloc.c	2007-03-14 17:17:57.000000000 +0000
@@ -718,10 +718,6 @@ int move_freepages(struct zone *zone,
 #endif
 
 	for (page = start_page; page < end_page;) {
-		if (!PageBuddy(page)) {
-			page++;
-			continue;
-		}
 #ifdef CONFIG_HOLES_IN_ZONE
 		if (!pfn_valid(page_to_pfn(page))) {
 			page++;
@@ -729,6 +725,11 @@ int move_freepages(struct zone *zone,
 		}
 #endif
 
+		if (!PageBuddy(page)) {
+			page++;
+			continue;
+		}
+
 		order = page_order(page);
 		list_del(&page->lru);
 		list_add(&page->lru,

^ permalink raw reply	[flat|nested] 37+ messages in thread

* Re: 2.6.21-rc3-mm2 (oops in move_freepages)
  2007-03-14 17:21           ` Mel Gorman
@ 2007-03-14 18:36             ` Bjorn Helgaas
  2007-03-14 18:59               ` Mel Gorman
  2007-03-14 19:10               ` [PATCH] Avoid unsafe use of struct pages in move_freepages when CONFIG_HOLES_IN_ZONE is set Mel Gorman
  0 siblings, 2 replies; 37+ messages in thread
From: Bjorn Helgaas @ 2007-03-14 18:36 UTC (permalink / raw)
  To: Mel Gorman; +Cc: Andrew Morton, linux-kernel

On Wednesday 14 March 2007 11:21, Mel Gorman wrote:
> Can you tell me if the faulting line was at the check for PageBuddy?

I don't know, sorry.

> Can you 
> also apply the following patch and boot with loglevel=8 please? The
> patch moves the check for pfn_valid() before PageBuddy() is called.

Boots fine with this patch:


Linux version 2.6.21-rc3-mm2 (helgaas@tiger) (gcc version 4.0.3 (Debian 4.0.3-1)) #8 SMP Wed Mar 14 11:34:23 MST 2007
EFI v1.10 by HP: SALsystab=0x3fb38000 ACPI 2.0=0x3fb2e000 SMBIOS=0x3fb3a000 HCDP=0x3fb2c000
booting generic kernel on platform hpzx1
PCDP: v0 at 0x3fb2c000
Explicit "console="; ignoring PCDP
Early serial console at MMIO 0xff5e0000 (options '115200')
ACPI: RSDP 3FB2E000, 0028 (r2     HP)
ACPI: XSDT 3FB2E02C, 0094 (r1     HP   zx6000        0   HP        0)
ACPI: FACP 3FB36800, 00F4 (r3     HP   zx6000        0   HP        0)
ACPI: DSDT 3FB2E0E0, 5781 (r1     HP   zx6000        7 INTL  2012044)
ACPI: FACS 3FB368F8, 0040
ACPI: SPCR 3FB36938, 0050 (r1     HP   zx6000        0   HP        0)
ACPI: DBGP 3FB36988, 0034 (r1     HP   zx6000        0   HP        0)
ACPI: APIC 3FB36A48, 00B0 (r1     HP   zx6000        0   HP        0)
ACPI: SPMI 3FB369C0, 0050 (r4     HP   zx6000        0   HP        0)
ACPI: CPEP 3FB36A10, 0034 (r1     HP   zx6000        0   HP        0)
ACPI: SSDT 3FB33870, 01D6 (r1     HP   zx6000        6 INTL  2012044)
ACPI: SSDT 3FB33A50, 0342 (r1     HP   zx6000        6 INTL  2012044)
ACPI: SSDT 3FB33DA0, 0A16 (r1     HP   zx6000        6 INTL  2012044)
ACPI: SSDT 3FB347C0, 0A16 (r1     HP   zx6000        6 INTL  2012044)
ACPI: SSDT 3FB351E0, 0A16 (r1     HP   zx6000        6 INTL  2012044)
ACPI: SSDT 3FB35C00, 0A16 (r1     HP   zx6000        6 INTL  2012044)
ACPI: SSDT 3FB36620, 00EB (r1     HP   zx6000        6 INTL  2012044)
ACPI: SSDT 3FB36710, 00EF (r1     HP   zx6000        6 INTL  2012044)
SAL 3.1: HP version 2.31
SAL Platform features: None
SAL: AP wakeup using external interrupt vector 0xff
No logical to physical processor mapping available
ACPI: Local APIC address c0000000fee00000
GSI 36 (level, low) -> CPU 0 (0x0000) vector 48
2 CPUs available, 2 CPUs total
MCA related initialization done
Virtual mem_map starts at 0xa0007fffc7200000
Zone PFN ranges:
  DMA          1024 ->   262144
  Normal     262144 -> 17039360
Movable zone start PFN for each node
early_node_map[5] active PFN ranges
    0:     1024 ->    64889
    0:    65216 ->    65227
    0: 16842752 -> 17039194
    0: 17039209 -> 17039236
    0: 17039264 -> 17039343
SMP: Allowing 2 CPUs, 0 hotplug CPUs
Built 1 zonelists.  Total pages: 202189
Kernel command line: BOOT_IMAGE=net0:/helgaas/ia64/vmlinux.gz root=/dev/sda2 console=uart,mmio,0xff5e0000 loglevel=8 debug ro
PID hash table entries: 4096 (order: 12, 32768 bytes)
CPU 0: base freq=200.000MHz, ITC ratio=9/2, ITC freq=900.000MHz+/-450ppm
Console: colour VGA+ 80x25
Memory: 4070112k/4150976k available (7303k code, 96672k reserved, 5072k data, 1856k init)
move_freepages: zone Normal zone_start_pfn 0x40000 start_page 0xa0007fffff900000 end_page 0xa0007fffffc80000
Leaving McKinley Errata 9 workaround enabled
Calibrating delay loop... 1347.58 BogoMIPS (lpj=2695168)
Dentry cache hash table entries: 524288 (order: 8, 4194304 bytes)
Inode-cache hash table entries: 262144 (order: 7, 2097152 bytes)
Mount-cache hash table entries: 1024
move_freepages: zone Normal zone_start_pfn 0x40000 start_page 0xa0007fffff900000 end_page 0xa0007fffffc80000
move_freepages: zone Normal zone_start_pfn 0x40000 start_page 0xa0007fffff580000 end_page 0xa0007fffff900000
ACPI: Core revision 20070126
Boot processor id 0x0/0x0
Fixed BSP b0 value from CPU 1
CPU 1: synchronized ITC with CPU 0 (last diff -4 cycles, maxerr 435 cycles)
CPU 1: base freq=200.000MHz, ITC ratio=9/2, ITC freq=900.000MHz+/-450ppm
Calibrating delay loop... 1347.58 BogoMIPS (lpj=2695168)
Brought up 2 CPUs
Total of 2 processors activated (2695.16 BogoMIPS).
migration_cost=1877
DMI 2.3 present.
NET: Registered protocol family 16
ACPI: bus type pci registered
ACPI: Interpreter enabled
ACPI: Using IOSAPIC for interrupt routing
ACPI: PCI Root Bridge [PCI0] (0000:00)
PCI: Firmware left 0000:00:03.0 e100 interrupts enabled, disabling
ACPI: PCI Interrupt Routing Table [\_SB_.SBA0.PCI0._PRT]
ACPI: PCI Root Bridge [PCI1] (0000:20)
ACPI: PCI Interrupt Routing Table [\_SB_.SBA0.PCI1._PRT]
ACPI: PCI Root Bridge [PCI2] (0000:40)
Boot video device is 0000:41:05.0
ACPI: PCI Interrupt Routing Table [\_SB_.SBA0.PCI2._PRT]
ACPI: PCI Root Bridge [PCI3] (0000:60)
ACPI: PCI Interrupt Routing Table [\_SB_.SBA0.PCI3._PRT]
ACPI: PCI Root Bridge [PCI4] (0000:80)
ACPI: PCI Interrupt Routing Table [\_SB_.SBA0.PCI4._PRT]
ACPI: PCI Root Bridge [PCI6] (0000:c0)
ACPI: PCI Interrupt Routing Table [\_SB_.SBA0.PCI6._PRT]
Linux Plug and Play Support v0.97 (c) Adam Belay
pnp: PnP ACPI init
GSI 34 (edge, high) -> CPU 1 (0x0100) vector 49
GSI 35 (edge, high) -> CPU 0 (0x0000) vector 50
pnp: PnP ACPI: found 10 devices
SCSI subsystem initialized
IOC: zx1 2.2 HPA 0xfed01000 IOVA space 1024Mb at 0x40000000
NET: Registered protocol family 2
IP route cache hash table entries: 131072 (order: 6, 1048576 bytes)
TCP established hash table entries: 524288 (order: 9, 12582912 bytes)
TCP bind hash table entries: 65536 (order: 6, 1048576 bytes)
TCP: Hash tables configured (established 524288 bind 65536)
TCP reno registered
perfmon: version 2.0 IRQ 238
perfmon: Itanium 2 PMU detected, 16 PMCs, 18 PMDs, 4 counters (47 bits)
PAL Information Facility v0.5
perfmon: added sampling format default_format
perfmon_default_smpl: default_format v2.0 registered
Total HugeTLB memory allocated, 0
SGI XFS with large block/inode numbers, no debug enabled
io scheduler noop registered
io scheduler anticipatory registered (default)
io scheduler deadline registered
io scheduler cfq registered
EFI Time Services Driver v0.4
Serial: 8250/16550 driver $Revision: 1.90 $ 4 ports, IRQ sharing enabled
00:04: ttyS0 at MMIO 0xff5e0000 (irq = 49) is a 16550A
00:05: ttyS1 at MMIO 0xff5e2000 (irq = 50) is a 16550A
RAMDISK driver initialized: 16 RAM disks of 4096K size 1024 blocksize
Intel(R) PRO/1000 Network Driver - version 7.3.20-k2
Copyright (c) 1999-2006 Intel Corporation.
tg3.c:v3.74 (February 20, 2007)
GSI 29 (level, low) -> CPU 1 (0x0100) vector 51
ACPI: PCI Interrupt 0000:20:02.0[A] -> GSI 29 (level, low) -> IRQ 51
eth0: Tigon3 [partno(BCM95700A6) rev 0105 PHY(5701)] (PCI:66MHz:64-bit) 10/100/1000Base-T Ethernet 00:30:6e:38:d9:67
eth0: RXcsums[1] LinkChgREG[0] MIirq[0] ASF[0] Split[0] WireSpeed[1] TSOcap[0] 
eth0: dma_rwctrl[76ff2d0f] dma_mask[64-bit]
netconsole: not configured, aborting
Uniform Multi-Platform E-IDE driver Revision: 7.00alpha2
ide: Assuming 33MHz system bus speed for PIO modes; override with idebus=xx
CMD649: IDE controller at PCI slot 0000:00:02.0
GSI 21 (level, low) -> CPU 0 (0x0000) vector 52
ACPI: PCI Interrupt 0000:00:02.0[A] -> GSI 21 (level, low) -> IRQ 52
CMD649: chipset revision 2
CMD649: 100% native mode on irq 52
    ide0: BM-DMA at 0x0d40-0x0d47, BIOS settings: hda:pio, hdb:pio
Probing IDE interface ide0...
hda: DW-28E, ATAPI CD/DVD-ROM drive
hda: selected mode 0x42
ide0 at 0xd58-0xd5f,0xd66 on irq 52
hda: ATAPI 24X DVD-ROM CD-R/RW drive, 1698kB Cache, UDMA(33)
Uniform CD-ROM driver Revision: 3.20
ide-floppy driver 0.99.newide
Fusion MPT base driver 3.04.04
Copyright (c) 1999-2007 LSI Logic Corporation
Fusion MPT SPI Host driver 3.04.04
GSI 27 (level, low) -> CPU 1 (0x0100) vector 53
ACPI: PCI Interrupt 0000:20:01.0[A] -> GSI 27 (level, low) -> IRQ 53
mptbase: Initiating ioc0 bringup
ioc0: 53C1030: Capabilities={Initiator,Target}
scsi0 : ioc0: LSI53C1030, FwRev=01032300h, Ports=1, MaxQ=255, IRQ=53
scsi 0:0:0:0: Direct-Access     HP 36.4G ST336706LC       HP04 PQ: 0 ANSI: 2
 target0:0:0: Beginning Domain Validation
 target0:0:0: Ending Domain Validation
 target0:0:0: FAST-80 WIDE SCSI 160.0 MB/s DT (12.5 ns, offset 63)
move_freepages: zone DMA zone_start_pfn 0x400 start_page 0xa0007fffc72e0000 end_page 0xa0007fffc7580000
SCSI device sda: 71132960 512-byte hdwr sectors (36420 MB)
sda: Write Protect is off
sda: Mode Sense: 9f 00 10 08
SCSI device sda: write cache: disabled, read cache: enabled, supports DPO and FUA
SCSI device sda: 71132960 512-byte hdwr sectors (36420 MB)
sda: Write Protect is off
sda: Mode Sense: 9f 00 10 08
SCSI device sda: write cache: disabled, read cache: enabled, supports DPO and FUA
 sda: sda1 sda2 sda3
sd 0:0:0:0: Attached scsi disk sda
scsi 0:0:1:0: Direct-Access     HP 36.4G ST336706LC       HP04 PQ: 0 ANSI: 2
 target0:0:1: Beginning Domain Validation
 target0:0:1: Ending Domain Validation
 target0:0:1: FAST-80 WIDE SCSI 160.0 MB/s DT (12.5 ns, offset 63)
SCSI device sdb: 71132960 512-byte hdwr sectors (36420 MB)
sdb: Write Protect is off
sdb: Mode Sense: 9f 00 10 08
SCSI device sdb: write cache: disabled, read cache: enabled, supports DPO and FUA
SCSI device sdb: 71132960 512-byte hdwr sectors (36420 MB)
sdb: Write Protect is off
sdb: Mode Sense: 9f 00 10 08
SCSI device sdb: write cache: disabled, read cache: enabled, supports DPO and FUA
 sdb: sdb1 sdb2 sdb3
sd 0:0:1:0: Attached scsi disk sdb
GSI 28 (level, low) -> CPU 0 (0x0000) vector 54
ACPI: PCI Interrupt 0000:20:01.1[B] -> GSI 28 (level, low) -> IRQ 54
mptbase: Initiating ioc1 bringup
ioc1: 53C1030: Capabilities={Initiator,Target}
scsi1 : ioc1: LSI53C1030, FwRev=01032300h, Ports=1, MaxQ=255, IRQ=54
scsi 1:0:2:0: Direct-Access     HP 36.4G ST336732LC       HPE3 PQ: 0 ANSI: 2
 target1:0:2: Beginning Domain Validation
 target1:0:2: Ending Domain Validation
 target1:0:2: FAST-160 WIDE SCSI 320.0 MB/s DT IU QAS RTI WRFLOW PCOMP (6.25 ns, offset 63)
SCSI device sdc: 71132960 512-byte hdwr sectors (36420 MB)
sdc: Write Protect is off
sdc: Mode Sense: ab 00 10 08
SCSI device sdc: write cache: disabled, read cache: enabled, supports DPO and FUA
SCSI device sdc: 71132960 512-byte hdwr sectors (36420 MB)
sdc: Write Protect is off
sdc: Mode Sense: ab 00 10 08
SCSI device sdc: write cache: disabled, read cache: enabled, supports DPO and FUA
 sdc: sdc1
sd 1:0:2:0: Attached scsi disk sdc
mice: PS/2 mouse device common for all mice
async_tx: api initialized (sync-only)
xor: measuring software checksumming speed
   ia64      :  2552.000 MB/sec
xor: using function: ia64 (2552.000 MB/sec)
EFI Variables Facility v0.08 2004-May-17
TCP cubic registered
NET: Registered protocol family 1
NET: Registered protocol family 17
Adding console on ttyS0 at MMIO 0xff5e0000 (options '115200')
kjournald starting.  Commit interval 5 seconds
EXT3-fs: mounted filesystem with ordered data mode.
VFS: Mounted root (ext3 filesystem) readonly.
Freeing unused kernel memory: 1856kB freed
Failed to mount /selinux/: No such file or directory
INIT: version 2.86 booting
Starting the hotplug events dispatcher: udevd.
Synthesizing the initial hotplug events...done.
Waiting for /dev to be fully populated...done.
Activating swap...
Adding 1473632k swap on /dev/sda3.  Priority:-1 extents:1 across:1473632k
.
Checking root file system.../: clean, 63130/4251520 files, 647612/8498779 blocks
.
EXT3 FS on sda2, internal journal
Cleaning up ifupdown...done.
^[[33m*^[[39;49m Not running depmod because /lib/modules/2.6.21-rc3-mm2/ is not writeable.
Loading modules...
    psmouse
FATAL: Could not load /lib/modules/2.6.21-rc3-mm2/modules.dep: No such file or directory
    sd_mod
FATAL: Could not load /lib/modules/2.6.21-rc3-mm2/modules.dep: No such file or directory
All modules loaded.
FATAL: Could not load /lib/modules/2.6.21-rc3-mm2/modules.dep: No such file or directory
Setting the System Clock using the Hardware Clock as reference
System Clock set. Local time: Wed Mar 14 18:59:39 UTC 2007
.
Checking all file systems....
Setting kernel variables ...
... done.
Mounting local filesystems... ^[[31mfailed!^[[39;49m
Cleaning /tmp....
Cleaning /var/run ....
Cleaning /var/lock ....
Detecting hardware...Discovered hardware for these modules: e100 tg3 cmd64x mptscsih usb_ohci ehci_hcd
^[[33m*^[[39;49m Skipping unavailable/built-in e100 module.
^[[33m*^[[39;49m Skipping unavailable/built-in tg3 module.
^[[33m*^[[39;49m Skipping unavailable/built-in cmd64x module.
^[[33m*^[[39;49m Skipping unavailable/built-in mptscsih module.
^[[33m*^[[39;49m Skipping unavailable/built-in ohci_hcd module.
^[[33m*^[[39;49m Skipping unavailable/built-in ehci_hcd module.
Setting up networking...done.
hostname: the specified hostname is invalid
^[[33m*^[[39;49m /etc/network/options is deprecated.
Setting up IP spoofing protection...done (rp_filter).
Configuring network interfaces...Internet Software Consortium DHCP Client 2.0pl5
Copyright 1995, 1996, 1997, 1998, 1999 The Internet Software Consortium.
All rights reserved.

Please contribute if you find this software useful.
For info, please visit http://www.isc.org/dhcp-contrib.html

PM: Writing back config space on device 0000:20:02.0 at offset b (was 164514e4, writing 12a4103c)
PM: Writing back config space on device 0000:20:02.0 at offset 3 (was 0, writing c020)
PM: Writing back config space on device 0000:20:02.0 at offset 2 (was 2000000, writing 2000015)
PM: Writing back config space on device 0000:20:02.0 at offset 1 (was 2b00000, writing 2b00146)
BUG: at drivers/pci/pci.c:679 pci_restore_state()

Call Trace:
 [<a000000100014980>] show_stack+0x40/0xa0
                                sp=e000004063a5fb90 bsp=e000004063a58f98
 [<a0000001000152b0>] dump_stack+0x30/0x60
                                sp=e000004063a5fd60 bsp=e000004063a58f80
 [<a0000001003f8800>] pci_restore_state+0x480/0x4a0
                                sp=e000004063a5fd60 bsp=e000004063a58f38
 [<a00000010051a0b0>] tg3_chip_reset+0x6d0/0x1020
                                sp=e000004063a5fd70 bsp=e000004063a58ef0
 [<a00000010051b190>] tg3_reset_hw+0xb0/0x3e20
                                sp=e000004063a5fd80 bsp=e000004063a58e90
 [<a00000010051efb0>] tg3_init_hw+0xb0/0xe0
                                sp=e000004063a5fdc0 bsp=e000004063a58e68
 [<a000000100523af0>] tg3_open+0x690/0xe00
                                sp=e000004063a5fdc0 bsp=e000004063a58e10
 [<a000000100647f90>] dev_open+0xf0/0x1e0
                                sp=e000004063a5fdd0 bsp=e000004063a58de0
 [<a000000100645c00>] dev_change_flags+0xc0/0x240
                                sp=e000004063a5fdd0 bsp=e000004063a58da0
 [<a0000001006df200>] devinet_ioctl+0x5a0/0xfe0
                                sp=e000004063a5fdd0 bsp=e000004063a58d40
 [<a0000001006dfdd0>] inet_ioctl+0x190/0x240
                                sp=e000004063a5fe10 bsp=e000004063a58d10
 [<a00000010062cf00>] sock_ioctl+0x5c0/0x620
                                sp=e000004063a5fe10 bsp=e000004063a58ce0
 [<a000000100172cb0>] do_ioctl+0x90/0x180
                                sp=e000004063a5fe10 bsp=e000004063a58ca0
 [<a000000100173650>] vfs_ioctl+0x8b0/0x920
                                sp=e000004063a5fe10 bsp=e000004063a58c58
 [<a000000100173720>] sys_ioctl+0x60/0xc0
                                sp=e000004063a5fe20 bsp=e000004063a58bd8
 [<a00000010000c180>] ia64_ret_from_syscall+0x0/0x20
                                sp=e000004063a5fe30 bsp=e000004063a58bd8
 [<a000000000010620>] __kernel_syscall_via_break+0x0/0x20
                                sp=e000004063a60000 bsp=e000004063a58bd8
Listening on LPF/eth0/00:30:6e:38:d9:67
Sending on   LPF/eth0/00:30:6e:38:d9:67
Sending on   Socket/fallback/fallback-net
DHCPDISCOVER on eth0 to 255.255.255.255 port 67 interval 3
tg3: eth0: Link is up at 100 Mbps, full duplex.
tg3: eth0: Flow control is off for TX and off for RX.
DHCPDISCOVER on eth0 to 255.255.255.255 port 67 interval 3
DHCPDISCOVER on eth0 to 255.255.255.255 port 67 interval 3
DHCPOFFER from 10.0.0.1
DHCPREQUEST on eth0 to 255.255.255.255 port 67
DHCPACK from 10.0.0.1
bound to 10.100.100.194 -- renewal in 129600 seconds.
done.
Starting portmap daemon: portmap.
Setting the System Clock using the Hardware Clock as reference
System Clock set. Local time: Wed Mar 14 18:59:57 UTC 2007
.
Initializing random number generator....
Recovering nvi editor sessions... done.
Setting up X server socket directory /tmp/.X11-unix...done.
Setting up ICE socket directory /tmp/.ICE-unix...done.
INIT: Entering runlevel: 2
Starting system log daemon: syslogd.
Starting kernel log daemon: klogd.
Not starting portmap daemon.  Already running.
Loading ACPI modules:
Starting Advanced Configuration and Power Interface daemon: acpid.
Starting system message bus: dbus-1.
Starting Hardware abstraction layer: hald.
Starting MTA: exim4.
Starting internet superserver: inetd.
Starting printer spooler: lpd .
Starting OpenBSD Secure Shell server: sshd.
Starting file alteration monitor: FAM.
Starting NFS common utilities: statd.
Starting deferred execution scheduler: atd.
Starting periodic command scheduler: cron.
Starting GNOME Display Manager: gdm.

Debian GNU/Linux testing/unstable lp.helgaas ttyS0

lp.helgaas login: 


^ permalink raw reply	[flat|nested] 37+ messages in thread

* Re: 2.6.21-rc3-mm2 (oops in move_freepages)
  2007-03-14 18:36             ` Bjorn Helgaas
@ 2007-03-14 18:59               ` Mel Gorman
  2007-03-14 20:46                 ` Bjorn Helgaas
  2007-03-14 19:10               ` [PATCH] Avoid unsafe use of struct pages in move_freepages when CONFIG_HOLES_IN_ZONE is set Mel Gorman
  1 sibling, 1 reply; 37+ messages in thread
From: Mel Gorman @ 2007-03-14 18:59 UTC (permalink / raw)
  To: Bjorn Helgaas; +Cc: Andrew Morton, Linux Kernel Mailing List

On Wed, 14 Mar 2007, Bjorn Helgaas wrote:

> On Wednesday 14 March 2007 11:21, Mel Gorman wrote:
>> Can you tell me if the faulting line was at the check for PageBuddy?
>
> I don't know, sorry.
>

No problem, the fact the patch booted lets me know that calling 
PageBuddy() on an invalid page had the same problem as calling 
page_zone(). This is no real suprise as both need a valid struct page and 
virtual mem_map shows up these sort of suprises that don't occur 
elsewhere. Obvious now :/

>> Can you
>> also apply the following patch and boot with loglevel=8 please? The
>> patch moves the check for pfn_valid() before PageBuddy() is called.
>
> Boots fine with this patch:
>

Thanks for testing. A proper patch will be posted soon.

> <SNIP>
> Virtual mem_map starts at 0xa0007fffc7200000
> Zone PFN ranges:

Total aside, a message should have been printed out here with 
"sizeof(struct page) = ??" when loglevel was set to 8. I wanted it so I 
could work out PFNs from the faulting addresses. Can you find such a 
string in the output of dmesg?

> <SNIP>
>
> Please contribute if you find this software useful.
> For info, please visit http://www.isc.org/dhcp-contrib.html
>
> PM: Writing back config space on device 0000:20:02.0 at offset b (was 164514e4, writing 12a4103c)
> PM: Writing back config space on device 0000:20:02.0 at offset 3 (was 0, writing c020)
> PM: Writing back config space on device 0000:20:02.0 at offset 2 (was 2000000, writing 2000015)
> PM: Writing back config space on device 0000:20:02.0 at offset 1 (was 2b00000, writing 2b00146)
> BUG: at drivers/pci/pci.c:679 pci_restore_state()
>
> Call Trace:
> [<a000000100014980>] show_stack+0x40/0xa0
>                                sp=e000004063a5fb90 bsp=e000004063a58f98
> [<a0000001000152b0>] dump_stack+0x30/0x60
>                                sp=e000004063a5fd60 bsp=e000004063a58f80
> [<a0000001003f8800>] pci_restore_state+0x480/0x4a0
>                                sp=e000004063a5fd60 bsp=e000004063a58f38
> [<a00000010051a0b0>] tg3_chip_reset+0x6d0/0x1020
>                                sp=e000004063a5fd70 bsp=e000004063a58ef0
> [<a00000010051b190>] tg3_reset_hw+0xb0/0x3e20
>                                sp=e000004063a5fd80 bsp=e000004063a58e90
> [<a00000010051efb0>] tg3_init_hw+0xb0/0xe0
>                                sp=e000004063a5fdc0 bsp=e000004063a58e68
> [<a000000100523af0>] tg3_open+0x690/0xe00
>                                sp=e000004063a5fdc0 bsp=e000004063a58e10
> [<a000000100647f90>] dev_open+0xf0/0x1e0
>                                sp=e000004063a5fdd0 bsp=e000004063a58de0
> [<a000000100645c00>] dev_change_flags+0xc0/0x240
>                                sp=e000004063a5fdd0 bsp=e000004063a58da0
> [<a0000001006df200>] devinet_ioctl+0x5a0/0xfe0
>                                sp=e000004063a5fdd0 bsp=e000004063a58d40
> [<a0000001006dfdd0>] inet_ioctl+0x190/0x240
>                                sp=e000004063a5fe10 bsp=e000004063a58d10
> [<a00000010062cf00>] sock_ioctl+0x5c0/0x620
>                                sp=e000004063a5fe10 bsp=e000004063a58ce0
> [<a000000100172cb0>] do_ioctl+0x90/0x180
>                                sp=e000004063a5fe10 bsp=e000004063a58ca0
> [<a000000100173650>] vfs_ioctl+0x8b0/0x920
>                                sp=e000004063a5fe10 bsp=e000004063a58c58
> [<a000000100173720>] sys_ioctl+0x60/0xc0
>                                sp=e000004063a5fe20 bsp=e000004063a58bd8
> [<a00000010000c180>] ia64_ret_from_syscall+0x0/0x20
>                                sp=e000004063a5fe30 bsp=e000004063a58bd8
> [<a000000000010620>] __kernel_syscall_via_break+0x0/0x20
>                                sp=e000004063a60000 bsp=e000004063a58bd8

That doesn't look particularly healthy! Is this a known problem?

> Remainder snipped

-- 
Mel Gorman
Part-time Phd Student                          Linux Technology Center
University of Limerick                         IBM Dublin Software Lab

^ permalink raw reply	[flat|nested] 37+ messages in thread

* [PATCH] Avoid unsafe use of struct pages in move_freepages when CONFIG_HOLES_IN_ZONE is set
  2007-03-14 18:36             ` Bjorn Helgaas
  2007-03-14 18:59               ` Mel Gorman
@ 2007-03-14 19:10               ` Mel Gorman
  1 sibling, 0 replies; 37+ messages in thread
From: Mel Gorman @ 2007-03-14 19:10 UTC (permalink / raw)
  To: Andrew Morton; +Cc: Bjorn Helgaas, linux-kernel


In the majority of situations, mem_map is guaranteed to be valid within
a MAX_ORDER_NR_PAGES block of pages. However, when CONFIG_HOLES_IN_ZONE
is set, there is no guarantee that mem_map exists for the entire block.
This means that when checking struct pages around a known valid page, there
is no guarantee they are valid. 

move_freepages() operates on a MAX_ORDER_NR_PAGES range of pages based on
a known valid page retrieved from the free lists. However, a bug check is
unsafe when CONFIG_HOLES_IN_ZONE is set and pfn_valid() is called too late.

This patch disables the bug check when CONFIG_HOLES_IN_ZONE and checks
pfn_valid() earlier before calling PageBuddy(). It applies on top of
move-free-pages-between-lists-on-steal-fix-2.patch from Yasunori Goto in -mm.

Credit to Bjorn Helgaas for reporting this bug and testing.

Signed-off-by: Mel Gorman <mel@csn.ul.ie>

 page_alloc.c |   18 ++++++++++++++----
 1 file changed, 14 insertions(+), 4 deletions(-)

diff -rup -X /usr/src/patchset-0.6/bin//dontdiff linux-2.6.21-rc3-mm2-goto/mm/page_alloc.c linux-2.6.21-rc3-mm2-zone_holes_ia64_fix/mm/page_alloc.c
--- linux-2.6.21-rc3-mm2-goto/mm/page_alloc.c	2007-03-14 16:07:23.000000000 +0000
+++ linux-2.6.21-rc3-mm2-zone_holes_ia64_fix/mm/page_alloc.c	2007-03-14 18:51:41.000000000 +0000
@@ -707,13 +707,18 @@ int move_freepages(struct zone *zone,
 	unsigned long order;
 	int blocks_moved = 0;
 
+#ifndef CONFIG_HOLES_IN_ZONE
+	/*
+	 * page_zone is not safe to call in this context when
+	 * CONFIG_HOLES_IN_ZONE is set. This bug check is probably redundant
+	 * anyway as we check zone boundaries in move_freepages_block().
+	 * Remove at a later date when no bug reports exist related to
+	 * CONFIG_PAGE_GROUP_BY_MOBILITY
+	 */
 	BUG_ON(page_zone(start_page) != page_zone(end_page - 1));
+#endif
 
 	for (page = start_page; page < end_page;) {
-		if (!PageBuddy(page)) {
-			page++;
-			continue;
-		}
 #ifdef CONFIG_HOLES_IN_ZONE
 		if (!pfn_valid(page_to_pfn(page))) {
 			page++;
@@ -721,6 +726,11 @@ int move_freepages(struct zone *zone,
 		}
 #endif
 
+		if (!PageBuddy(page)) {
+			page++;
+			continue;
+		}
+
 		order = page_order(page);
 		list_del(&page->lru);
 		list_add(&page->lru,

^ permalink raw reply	[flat|nested] 37+ messages in thread

* Re: 2.6.21-rc3-mm2 (oops in move_freepages)
  2007-03-14 18:59               ` Mel Gorman
@ 2007-03-14 20:46                 ` Bjorn Helgaas
  2007-03-14 20:55                   ` Mel Gorman
  0 siblings, 1 reply; 37+ messages in thread
From: Bjorn Helgaas @ 2007-03-14 20:46 UTC (permalink / raw)
  To: Mel Gorman; +Cc: Andrew Morton, Linux Kernel Mailing List

On Wednesday 14 March 2007 12:59, Mel Gorman wrote:
> > <SNIP>
> > Virtual mem_map starts at 0xa0007fffc7200000
> > Zone PFN ranges:
> 
> Total aside, a message should have been printed out here with 
> "sizeof(struct page) = ??" when loglevel was set to 8. I wanted it so I 
> could work out PFNs from the faulting addresses. Can you find such a 
> string in the output of dmesg?

You probably don't need this anymore, but sizeof(struct page) = 56.

> > BUG: at drivers/pci/pci.c:679 pci_restore_state()
> >
> > Call Trace:
> > [<a000000100014980>] show_stack+0x40/0xa0
> >                                sp=e000004063a5fb90 bsp=e000004063a58f98
> > [<a0000001000152b0>] dump_stack+0x30/0x60
> >                                sp=e000004063a5fd60 bsp=e000004063a58f80
> > [<a0000001003f8800>] pci_restore_state+0x480/0x4a0
> >                                sp=e000004063a5fd60 bsp=e000004063a58f38
> > [<a00000010051a0b0>] tg3_chip_reset+0x6d0/0x1020
> ...
> That doesn't look particularly healthy! Is this a known problem?

Yeah, that's ugly, isn't it?  I hadn't got to worrying about that yet.

^ permalink raw reply	[flat|nested] 37+ messages in thread

* Re: 2.6.21-rc3-mm2 (oops in move_freepages)
  2007-03-14 20:46                 ` Bjorn Helgaas
@ 2007-03-14 20:55                   ` Mel Gorman
  0 siblings, 0 replies; 37+ messages in thread
From: Mel Gorman @ 2007-03-14 20:55 UTC (permalink / raw)
  To: Bjorn Helgaas; +Cc: Andrew Morton, Linux Kernel Mailing List

On Wed, 14 Mar 2007, Bjorn Helgaas wrote:

> On Wednesday 14 March 2007 12:59, Mel Gorman wrote:
>>> <SNIP>
>>> Virtual mem_map starts at 0xa0007fffc7200000
>>> Zone PFN ranges:
>>
>> Total aside, a message should have been printed out here with
>> "sizeof(struct page) = ??" when loglevel was set to 8. I wanted it so I
>> could work out PFNs from the faulting addresses. Can you find such a
>> string in the output of dmesg?
>
> You probably don't need this anymore, but sizeof(struct page) = 56.
>

Thanks, it allowed me to confirm that the fault happened in a definite 
hole based on the output of early_node_map[] so that's good to know. If it 
happened in a location that should have had memory, I would be worried.

>>> BUG: at drivers/pci/pci.c:679 pci_restore_state()
>>>
>>> Call Trace:
>>> [<a000000100014980>] show_stack+0x40/0xa0
>>>                                sp=e000004063a5fb90 bsp=e000004063a58f98
>>> [<a0000001000152b0>] dump_stack+0x30/0x60
>>>                                sp=e000004063a5fd60 bsp=e000004063a58f80
>>> [<a0000001003f8800>] pci_restore_state+0x480/0x4a0
>>>                                sp=e000004063a5fd60 bsp=e000004063a58f38
>>> [<a00000010051a0b0>] tg3_chip_reset+0x6d0/0x1020
>> ...
>> That doesn't look particularly healthy! Is this a known problem?
>
> Yeah, that's ugly, isn't it?  I hadn't got to worrying about that yet.
>

heh, ok.

-- 
Mel Gorman
Part-time Phd Student                          Linux Technology Center
University of Limerick                         IBM Dublin Software Lab

^ permalink raw reply	[flat|nested] 37+ messages in thread

* Re: 2.6.21-rc3-mm2 (BUG in pci_restore_state())
       [not found] ` <200703141457.06489.bjorn.helgaas@hp.com>
@ 2007-03-15  1:14   ` Eric W. Biederman
  0 siblings, 0 replies; 37+ messages in thread
From: Eric W. Biederman @ 2007-03-15  1:14 UTC (permalink / raw)
  To: Bjorn Helgaas; +Cc: Andrew Morton, linux-kernel

Bjorn Helgaas <bjorn.helgaas@hp.com> writes:

> In 2.6.21-rc3-mm2 (plus some move_freepages() bugfixes), I hit one
> of the warnings added by Eric's msi-debug-code.patch.  This is on an
> ia64 box, an HP rx2600.  Let me know if I can collect more information.

I think we are good. How pci_save_state and pci_restore_state were
implemented and how they were used were out of sync.  tg3 was one
of the drivers where pci_save_state and pci_restore_state were used
as part of the reset routine and were not used in pairs.

Which when combined with a pci-x or a pci-express capability
resulted in a memory leak, (that I was warning about).  This
has now been corrected upstream.

And the condition I was warning about non paired pci_save_state and
pci_restore_state is no longer a problem.

Eric

^ permalink raw reply	[flat|nested] 37+ messages in thread

* Re: 2.6.21-rc3-mm2 hangs my opteron during bootup, ACPI?
  2007-03-12 19:56     ` Len Brown
@ 2007-03-17  0:10       ` Helge Hafting
  0 siblings, 0 replies; 37+ messages in thread
From: Helge Hafting @ 2007-03-17  0:10 UTC (permalink / raw)
  To: Len Brown; +Cc: Luming Yu, Andrew Morton, linux-kernel

Len Brown wrote:
> On Monday 12 March 2007 09:25, Luming Yu wrote:
>   
>> try acpi=off please.
>>     
Ok, it boots up fine with acpi=off.
Now the next step is to try without the mm patch?

Helge Hafting

^ permalink raw reply	[flat|nested] 37+ messages in thread

* Re: 2.6.21-rc3-mm2
  2007-03-08  4:19 2.6.21-rc3-mm2 Andrew Morton
                   ` (4 preceding siblings ...)
       [not found] ` <200703141457.06489.bjorn.helgaas@hp.com>
@ 2007-03-19 19:17 ` Randy Dunlap
  2007-03-19 19:55   ` 2.6.21-rc3-mm2 Andrew Morton
  2007-03-19 19:40 ` 2.6.21-rc3-mm2 Randy Dunlap
  2007-03-20  0:27 ` 2.6.21-rc3-mm2 Randy Dunlap
  7 siblings, 1 reply; 37+ messages in thread
From: Randy Dunlap @ 2007-03-19 19:17 UTC (permalink / raw)
  To: Andrew Morton; +Cc: linux-kernel, gregkh

On Wed, 7 Mar 2007 20:19:15 -0800 Andrew Morton wrote:

> 
> ftp://ftp.kernel.org/pub/linux/kernel/people/akpm/patches/2.6/2.6.21-rc3/2.6.21-rc3-mm2/
> 
> - This is the same as 2.6.21-rc3-mm1, except Con's CPU scheduler changes
>   were dropped.
> 
>   This is for A/B comparison purposes, and because those changes crashed on
>   one test setup.

x86_64, with CONFIG_HOTPLUG disabled:

drivers/base/bus.c: In function 'store_drivers_probe':
drivers/base/bus.c:747: error: 'driver_helper' undeclared (first use in this function)
drivers/base/bus.c:747: error: (Each undeclared identifier is reported only once
drivers/base/bus.c:747: error: for each function it appears in.)
make[2]: *** [drivers/base/bus.o] Error 1
make[1]: *** [drivers/base] Error 2
make: *** [drivers] Error 2


> Changes since 2.6.21-rc3-mm1:
> 
> -lists-add-list-splice-tail.patch
> -sched-remove-sleepavg-from-proc.patch
> -sched-remove-noninteractive-flag.patch
> -sched-implement-180-bit-sched-bitmap.patch
> -sched-implement-rsdl-cpu-scheduler.patch
> -sched-document-rsdl-cpu-scheduler.patch
> 
>  Removed.


---
~Randy
*** Remember to use Documentation/SubmitChecklist when testing your code ***

^ permalink raw reply	[flat|nested] 37+ messages in thread

* Re: 2.6.21-rc3-mm2
  2007-03-08  4:19 2.6.21-rc3-mm2 Andrew Morton
                   ` (5 preceding siblings ...)
  2007-03-19 19:17 ` 2.6.21-rc3-mm2 Randy Dunlap
@ 2007-03-19 19:40 ` Randy Dunlap
  2007-03-19 22:26   ` [PATCH] ptrace needs PROC_FS Randy Dunlap
  2007-03-20  0:27 ` 2.6.21-rc3-mm2 Randy Dunlap
  7 siblings, 1 reply; 37+ messages in thread
From: Randy Dunlap @ 2007-03-19 19:40 UTC (permalink / raw)
  To: Andrew Morton; +Cc: linux-kernel, roland

On Wed, 7 Mar 2007 20:19:15 -0800 Andrew Morton wrote:

> 
> ftp://ftp.kernel.org/pub/linux/kernel/people/akpm/patches/2.6/2.6.21-rc3/2.6.21-rc3-mm2/
> 
> - This is the same as 2.6.21-rc3-mm1, except Con's CPU scheduler changes
>   were dropped.
> 
>   This is for A/B comparison purposes, and because those changes crashed on
>   one test setup.

with CONFIG_PROC_FS=n (x86_64):

  LD      .tmp_vmlinux1
kernel/built-in.o: In function `ptrace_start':
ptrace.c:(.text+0x300f9): undefined reference to `ptrace_may_attach'
make: *** [.tmp_vmlinux1] Error 1


---
~Randy
*** Remember to use Documentation/SubmitChecklist when testing your code ***

^ permalink raw reply	[flat|nested] 37+ messages in thread

* Re: 2.6.21-rc3-mm2
  2007-03-19 19:17 ` 2.6.21-rc3-mm2 Randy Dunlap
@ 2007-03-19 19:55   ` Andrew Morton
  2007-03-19 23:01     ` 2.6.21-rc3-mm2 Kay Sievers
  0 siblings, 1 reply; 37+ messages in thread
From: Andrew Morton @ 2007-03-19 19:55 UTC (permalink / raw)
  To: Randy Dunlap; +Cc: linux-kernel, gregkh, Kay Sievers

On Mon, 19 Mar 2007 12:17:24 -0700
Randy Dunlap <randy.dunlap@oracle.com> wrote:

> On Wed, 7 Mar 2007 20:19:15 -0800 Andrew Morton wrote:
> 
> > 
> > ftp://ftp.kernel.org/pub/linux/kernel/people/akpm/patches/2.6/2.6.21-rc3/2.6.21-rc3-mm2/
> > 
> > - This is the same as 2.6.21-rc3-mm1, except Con's CPU scheduler changes
> >   were dropped.
> > 
> >   This is for A/B comparison purposes, and because those changes crashed on
> >   one test setup.
> 
> x86_64, with CONFIG_HOTPLUG disabled:
> 
> drivers/base/bus.c: In function 'store_drivers_probe':
> drivers/base/bus.c:747: error: 'driver_helper' undeclared (first use in this function)
> drivers/base/bus.c:747: error: (Each undeclared identifier is reported only once
> drivers/base/bus.c:747: error: for each function it appears in.)
> make[2]: *** [drivers/base/bus.o] Error 1
> make[1]: *** [drivers/base] Error 2
> make: *** [drivers] Error 2
> 

Due to Kay's
gregkh-driver-driver-core-udev-triggered-device-driver-binding.patch

^ permalink raw reply	[flat|nested] 37+ messages in thread

* [PATCH] ptrace needs PROC_FS
  2007-03-19 19:40 ` 2.6.21-rc3-mm2 Randy Dunlap
@ 2007-03-19 22:26   ` Randy Dunlap
  2007-03-19 22:48     ` Roland McGrath
  0 siblings, 1 reply; 37+ messages in thread
From: Randy Dunlap @ 2007-03-19 22:26 UTC (permalink / raw)
  To: lkml; +Cc: Andrew Morton, roland

From: Randy Dunlap <randy.dunlap@oracle.com>

CONFIG_PTRACE needs PROC_FS; with CONFIG_PROC_FS=n (x86_64):

  LD      .tmp_vmlinux1
kernel/built-in.o: In function `ptrace_start':
ptrace.c:(.text+0x300f9): undefined reference to `ptrace_may_attach'
make: *** [.tmp_vmlinux1] Error 1

Signed-off-by: Randy Dunlap <randy.dunlap@oracle.com>
---
 init/Kconfig |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

--- linux-2.6.21-rc3-mm2.orig/init/Kconfig
+++ linux-2.6.21-rc3-mm2/init/Kconfig
@@ -688,7 +688,7 @@ config UTRACE
 config PTRACE
 	bool "Legacy ptrace system call interface"
 	default y
-	depends on UTRACE
+	depends on UTRACE && PROC_FS
 	help
 	  Enable the ptrace system call.
 	  This is traditionally used by debuggers like GDB,

^ permalink raw reply	[flat|nested] 37+ messages in thread

* Re: [PATCH] ptrace needs PROC_FS
  2007-03-19 22:26   ` [PATCH] ptrace needs PROC_FS Randy Dunlap
@ 2007-03-19 22:48     ` Roland McGrath
  2007-03-20 11:18       ` Pavel Machek
  0 siblings, 1 reply; 37+ messages in thread
From: Roland McGrath @ 2007-03-19 22:48 UTC (permalink / raw)
  To: Randy Dunlap; +Cc: lkml, Andrew Morton

Thanks, that Kconfig change seems like the simplest solution for this.


Thanks,
Roland

^ permalink raw reply	[flat|nested] 37+ messages in thread

* Re: 2.6.21-rc3-mm2
  2007-03-19 19:55   ` 2.6.21-rc3-mm2 Andrew Morton
@ 2007-03-19 23:01     ` Kay Sievers
  0 siblings, 0 replies; 37+ messages in thread
From: Kay Sievers @ 2007-03-19 23:01 UTC (permalink / raw)
  To: Andrew Morton; +Cc: Randy Dunlap, linux-kernel, gregkh

On Mon, 2007-03-19 at 12:55 -0700, Andrew Morton wrote:
> On Mon, 19 Mar 2007 12:17:24 -0700
> Randy Dunlap <randy.dunlap@oracle.com> wrote:
> 
> > On Wed, 7 Mar 2007 20:19:15 -0800 Andrew Morton wrote:
> > 
> > > 
> > > ftp://ftp.kernel.org/pub/linux/kernel/people/akpm/patches/2.6/2.6.21-rc3/2.6.21-rc3-mm2/
> > > 
> > > - This is the same as 2.6.21-rc3-mm1, except Con's CPU scheduler changes
> > >   were dropped.
> > > 
> > >   This is for A/B comparison purposes, and because those changes crashed on
> > >   one test setup.
> > 
> > x86_64, with CONFIG_HOTPLUG disabled:
> > 
> > drivers/base/bus.c: In function 'store_drivers_probe':
> > drivers/base/bus.c:747: error: 'driver_helper' undeclared (first use in this function)
> > drivers/base/bus.c:747: error: (Each undeclared identifier is reported only once
> > drivers/base/bus.c:747: error: for each function it appears in.)
> > make[2]: *** [drivers/base/bus.o] Error 1
> > make[1]: *** [drivers/base] Error 2
> > make: *** [drivers] Error 2
> > 
> 
> Due to Kay's
> gregkh-driver-driver-core-udev-triggered-device-driver-binding.patch

I sent an updated patch, that compiles without CONFIG_HOTPLUG to Greg.

Thanks,
Kay


^ permalink raw reply	[flat|nested] 37+ messages in thread

* Re: 2.6.21-rc3-mm2
  2007-03-08  4:19 2.6.21-rc3-mm2 Andrew Morton
                   ` (6 preceding siblings ...)
  2007-03-19 19:40 ` 2.6.21-rc3-mm2 Randy Dunlap
@ 2007-03-20  0:27 ` Randy Dunlap
  2007-03-20  0:39   ` 2.6.21-rc3-mm2 Andrew Morton
  2007-03-20 12:14   ` 2.6.21-rc3-mm2 Sam Ravnborg
  7 siblings, 2 replies; 37+ messages in thread
From: Randy Dunlap @ 2007-03-20  0:27 UTC (permalink / raw)
  To: Andrew Morton; +Cc: linux-kernel

On Wed, 7 Mar 2007 20:19:15 -0800 Andrew Morton wrote:

> 
> ftp://ftp.kernel.org/pub/linux/kernel/people/akpm/patches/2.6/2.6.21-rc3/2.6.21-rc3-mm2/
> 
> - This is the same as 2.6.21-rc3-mm1, except Con's CPU scheduler changes
>   were dropped.
> 
>   This is for A/B comparison purposes, and because those changes crashed on
>   one test setup.

I don't quite see why this error is happening.  Looks like all
the nested #includes should handle it...

CONFIG_KEXEC=y
CONFIG_CRASH_DUMP=y
CONFIG_UTRACE=y
# PTRACE=n
# PROC_FS=n

In file included from arch/x86_64/kernel/crash.c:19:
include/linux/elfcore.h: In function 'elf_core_copy_regs':
include/linux/elfcore.h:103: error: dereferencing pointer to incomplete type
include/linux/elfcore.h:103: error: dereferencing pointer to incomplete type
make[1]: *** [arch/x86_64/kernel/crash.o] Error 1
make: *** [arch/x86_64/kernel] Error 2

---
~Randy
*** Remember to use Documentation/SubmitChecklist when testing your code ***

^ permalink raw reply	[flat|nested] 37+ messages in thread

* Re: 2.6.21-rc3-mm2
  2007-03-20  0:27 ` 2.6.21-rc3-mm2 Randy Dunlap
@ 2007-03-20  0:39   ` Andrew Morton
  2007-03-20  0:51     ` 2.6.21-rc3-mm2 Randy Dunlap
  2007-03-20 18:51     ` 2.6.21-rc3-mm2 Roland McGrath
  2007-03-20 12:14   ` 2.6.21-rc3-mm2 Sam Ravnborg
  1 sibling, 2 replies; 37+ messages in thread
From: Andrew Morton @ 2007-03-20  0:39 UTC (permalink / raw)
  To: Randy Dunlap; +Cc: linux-kernel, Roland McGrath

On Mon, 19 Mar 2007 17:27:11 -0700
Randy Dunlap <randy.dunlap@oracle.com> wrote:

> On Wed, 7 Mar 2007 20:19:15 -0800 Andrew Morton wrote:
> 
> > 
> > ftp://ftp.kernel.org/pub/linux/kernel/people/akpm/patches/2.6/2.6.21-rc3/2.6.21-rc3-mm2/
> > 
> > - This is the same as 2.6.21-rc3-mm1, except Con's CPU scheduler changes
> >   were dropped.
> > 
> >   This is for A/B comparison purposes, and because those changes crashed on
> >   one test setup.
> 
> I don't quite see why this error is happening.  Looks like all
> the nested #includes should handle it...
> 
> CONFIG_KEXEC=y
> CONFIG_CRASH_DUMP=y
> CONFIG_UTRACE=y
> # PTRACE=n
> # PROC_FS=n
> 
> In file included from arch/x86_64/kernel/crash.c:19:
> include/linux/elfcore.h: In function 'elf_core_copy_regs':
> include/linux/elfcore.h:103: error: dereferencing pointer to incomplete type
> include/linux/elfcore.h:103: error: dereferencing pointer to incomplete type
> make[1]: *** [arch/x86_64/kernel/crash.o] Error 1
> make: *** [arch/x86_64/kernel] Error 2

Perhaps it's complaining about undefined pt_regs.  But it's there in asm/ptrace.h
which is included by linux/ptrace.h.  Perhaps there's an include snafu which is
causing that inclusion to not work.

Dunno.  Please send full .config to Roland ;)

^ permalink raw reply	[flat|nested] 37+ messages in thread

* Re: 2.6.21-rc3-mm2
  2007-03-20  0:39   ` 2.6.21-rc3-mm2 Andrew Morton
@ 2007-03-20  0:51     ` Randy Dunlap
  2007-03-20 18:51     ` 2.6.21-rc3-mm2 Roland McGrath
  1 sibling, 0 replies; 37+ messages in thread
From: Randy Dunlap @ 2007-03-20  0:51 UTC (permalink / raw)
  To: Andrew Morton; +Cc: linux-kernel, Roland McGrath

[-- Attachment #1: Type: text/plain, Size: 1491 bytes --]

On Mon, 19 Mar 2007 17:39:15 -0700 Andrew Morton wrote:

> On Mon, 19 Mar 2007 17:27:11 -0700
> Randy Dunlap <randy.dunlap@oracle.com> wrote:
> 
> > On Wed, 7 Mar 2007 20:19:15 -0800 Andrew Morton wrote:
> > 
> > > 
> > > ftp://ftp.kernel.org/pub/linux/kernel/people/akpm/patches/2.6/2.6.21-rc3/2.6.21-rc3-mm2/
> > > 
> > > - This is the same as 2.6.21-rc3-mm1, except Con's CPU scheduler changes
> > >   were dropped.
> > > 
> > >   This is for A/B comparison purposes, and because those changes crashed on
> > >   one test setup.
> > 
> > I don't quite see why this error is happening.  Looks like all
> > the nested #includes should handle it...
> > 
> > CONFIG_KEXEC=y
> > CONFIG_CRASH_DUMP=y
> > CONFIG_UTRACE=y
> > # PTRACE=n
> > # PROC_FS=n
> > 
> > In file included from arch/x86_64/kernel/crash.c:19:
> > include/linux/elfcore.h: In function 'elf_core_copy_regs':
> > include/linux/elfcore.h:103: error: dereferencing pointer to incomplete type
> > include/linux/elfcore.h:103: error: dereferencing pointer to incomplete type
> > make[1]: *** [arch/x86_64/kernel/crash.o] Error 1
> > make: *** [arch/x86_64/kernel] Error 2
> 
> Perhaps it's complaining about undefined pt_regs.  But it's there in asm/ptrace.h
> which is included by linux/ptrace.h.  Perhaps there's an include snafu which is
> causing that inclusion to not work.
> 
> Dunno.  Please send full .config to Roland ;)

attached.

---
~Randy
*** Remember to use Documentation/SubmitChecklist when testing your code ***


[-- Attachment #2: config-ptrace-elfcore --]
[-- Type: application/octet-stream, Size: 30166 bytes --]

#
# Automatically generated make config: don't edit
# Linux kernel version: 2.6.21-rc3-mm2
# Mon Mar 19 17:10:48 2007
#
CONFIG_X86_64=y
CONFIG_64BIT=y
CONFIG_X86=y
CONFIG_GENERIC_TIME=y
CONFIG_GENERIC_TIME_VSYSCALL=y
CONFIG_ZONE_DMA32=y
CONFIG_LOCKDEP_SUPPORT=y
CONFIG_STACKTRACE_SUPPORT=y
CONFIG_SEMAPHORE_SLEEPERS=y
CONFIG_MMU=y
CONFIG_ZONE_DMA=y
CONFIG_RWSEM_GENERIC_SPINLOCK=y
CONFIG_GENERIC_HWEIGHT=y
CONFIG_GENERIC_CALIBRATE_DELAY=y
CONFIG_X86_CMPXCHG=y
CONFIG_EARLY_PRINTK=y
CONFIG_GENERIC_ISA_DMA=y
CONFIG_GENERIC_IOMAP=y
CONFIG_ARCH_MAY_HAVE_PC_FDC=y
CONFIG_ARCH_POPULATES_NODE_MAP=y
CONFIG_DMI=y
CONFIG_AUDIT_ARCH=y
CONFIG_GENERIC_BUG=y
# CONFIG_ARCH_HAS_ILOG2_U32 is not set
# CONFIG_ARCH_HAS_ILOG2_U64 is not set
CONFIG_DEFCONFIG_LIST="/lib/modules/$UNAME_RELEASE/.config"

#
# Code maturity level options
#
CONFIG_EXPERIMENTAL=y
CONFIG_LOCK_KERNEL=y
CONFIG_INIT_ENV_ARG_LIMIT=32

#
# General setup
#
CONFIG_LOCALVERSION=""
# CONFIG_LOCALVERSION_AUTO is not set
# CONFIG_SYSVIPC is not set
# CONFIG_POSIX_MQUEUE is not set
# CONFIG_BSD_PROCESS_ACCT is not set
# CONFIG_TASKSTATS is not set
CONFIG_UTS_NS=y
# CONFIG_AUDIT is not set
CONFIG_IKCONFIG=y
CONFIG_CPUSETS=y
# CONFIG_SYSFS_DEPRECATED is not set
# CONFIG_RELAY is not set
# CONFIG_BLK_DEV_INITRD is not set
CONFIG_CC_OPTIMIZE_FOR_SIZE=y
CONFIG_SYSCTL=y
CONFIG_EMBEDDED=y
CONFIG_SYSCTL_SYSCALL=y
CONFIG_KALLSYMS=y
CONFIG_KALLSYMS_EXTRA_PASS=y
CONFIG_HOTPLUG=y
CONFIG_PRINTK=y
CONFIG_BUG=y
CONFIG_ELF_CORE=y
CONFIG_BASE_FULL=y
# CONFIG_FUTEX is not set
# CONFIG_EPOLL is not set
# CONFIG_SHMEM is not set
CONFIG_SLAB=y
# CONFIG_VM_EVENT_COUNTERS is not set
CONFIG_CLASSIC_RCU=y
# CONFIG_PREEMPT_RCU is not set
# CONFIG_RCU_TRACE is not set
CONFIG_TINY_SHMEM=y
CONFIG_BASE_SMALL=0
# CONFIG_SLOB is not set
CONFIG_PAGE_GROUP_BY_MOBILITY=y

#
# Loadable module support
#
CONFIG_MODULES=y
# CONFIG_MODULE_UNLOAD is not set
CONFIG_MODVERSIONS=y
CONFIG_MODULE_SRCVERSION_ALL=y
# CONFIG_KMOD is not set

#
# Process debugging support
#
CONFIG_UTRACE=y

#
# Block layer
#
# CONFIG_BLOCK is not set

#
# Processor type and features
#
# CONFIG_X86_PC is not set
CONFIG_X86_VSMP=y
# CONFIG_MK8 is not set
# CONFIG_MPSC is not set
# CONFIG_MCORE2 is not set
CONFIG_GENERIC_CPU=y
CONFIG_X86_L1_CACHE_BYTES=128
CONFIG_X86_L1_CACHE_SHIFT=7
CONFIG_X86_INTERNODE_CACHE_BYTES=4096
CONFIG_X86_TSC=y
CONFIG_X86_GOOD_APIC=y
CONFIG_MICROCODE=y
CONFIG_MICROCODE_OLD_INTERFACE=y
# CONFIG_X86_MSR is not set
CONFIG_X86_CPUID=y
CONFIG_X86_HT=y
CONFIG_X86_IO_APIC=y
CONFIG_X86_LOCAL_APIC=y
CONFIG_MTRR=y
CONFIG_SMP=y
# CONFIG_SCHED_SMT is not set
CONFIG_SCHED_MC=y
# CONFIG_PREEMPT_NONE is not set
# CONFIG_PREEMPT_VOLUNTARY is not set
CONFIG_PREEMPT=y
CONFIG_PREEMPT_BKL=y
CONFIG_NUMA=y
CONFIG_K8_NUMA=y
CONFIG_NODES_SHIFT=6
CONFIG_X86_64_ACPI_NUMA=y
CONFIG_NUMA_EMU=y
CONFIG_ARCH_DISCONTIGMEM_ENABLE=y
CONFIG_ARCH_DISCONTIGMEM_DEFAULT=y
CONFIG_ARCH_SPARSEMEM_ENABLE=y
CONFIG_ARCH_MEMORY_PROBE=y
CONFIG_SELECT_MEMORY_MODEL=y
# CONFIG_FLATMEM_MANUAL is not set
# CONFIG_DISCONTIGMEM_MANUAL is not set
CONFIG_SPARSEMEM_MANUAL=y
CONFIG_SPARSEMEM=y
CONFIG_NEED_MULTIPLE_NODES=y
CONFIG_HAVE_MEMORY_PRESENT=y
# CONFIG_SPARSEMEM_STATIC is not set
CONFIG_SPARSEMEM_EXTREME=y
CONFIG_MEMORY_HOTPLUG=y
CONFIG_MEMORY_HOTPLUG_SPARSE=y
CONFIG_SPLIT_PTLOCK_CPUS=4
# CONFIG_MIGRATION is not set
CONFIG_RESOURCES_64BIT=y
CONFIG_ZONE_DMA_FLAG=1
CONFIG_ADAPTIVE_READAHEAD=y
CONFIG_HAVE_ARCH_EARLY_PFN_TO_NID=y
CONFIG_NR_CPUS=8
# CONFIG_HOTPLUG_CPU is not set
CONFIG_ARCH_ENABLE_MEMORY_HOTPLUG=y
CONFIG_HPET_TIMER=y
# CONFIG_IOMMU is not set
# CONFIG_CALGARY_IOMMU is not set
# CONFIG_X86_MCE is not set
CONFIG_KEXEC=y
CONFIG_CRASH_DUMP=y
CONFIG_PHYSICAL_START=0x1000000
CONFIG_CC_STACKPROTECTOR=y
CONFIG_CC_STACKPROTECTOR_ALL=y
# CONFIG_HZ_100 is not set
CONFIG_HZ_250=y
# CONFIG_HZ_300 is not set
# CONFIG_HZ_1000 is not set
CONFIG_HZ=250
# CONFIG_REORDER is not set
CONFIG_K8_NB=y
CONFIG_GENERIC_HARDIRQS=y
CONFIG_GENERIC_IRQ_PROBE=y
CONFIG_ISA_DMA_API=y
CONFIG_GENERIC_PENDING_IRQ=y

#
# Power management options
#
CONFIG_PM=y
CONFIG_PM_LEGACY=y
CONFIG_PM_DEBUG=y
# CONFIG_DISABLE_CONSOLE_SUSPEND is not set

#
# ACPI (Advanced Configuration and Power Interface) Support
#
CONFIG_ACPI=y
CONFIG_ACPI_PROCFS=y
# CONFIG_ACPI_AC is not set
CONFIG_ACPI_BATTERY=y
CONFIG_ACPI_BUTTON=y
CONFIG_ACPI_VIDEO=m
CONFIG_ACPI_FAN=y
# CONFIG_ACPI_DOCK is not set
CONFIG_ACPI_PROCESSOR=m
# CONFIG_ACPI_THERMAL is not set
CONFIG_ACPI_NUMA=y
CONFIG_ACPI_ASUS=y
# CONFIG_ACPI_IBM is not set
# CONFIG_ACPI_TOSHIBA is not set
CONFIG_ACPI_BLACKLIST_YEAR=0
# CONFIG_ACPI_DEBUG is not set
CONFIG_ACPI_EC=y
CONFIG_ACPI_POWER=y
CONFIG_ACPI_SYSTEM=y
CONFIG_X86_PM_TIMER=y
# CONFIG_ACPI_CONTAINER is not set
CONFIG_ACPI_HOTPLUG_MEMORY=y
CONFIG_ACPI_SBS=m

#
# CPU Frequency scaling
#
# CONFIG_CPU_FREQ is not set

#
# CPU idle PM support
#
# CONFIG_CPU_IDLE is not set

#
# Bus options (PCI etc.)
#
CONFIG_PCI=y
CONFIG_PCI_DIRECT=y
CONFIG_PCI_MMCONFIG=y
# CONFIG_PCI_DOMAINS is not set
# CONFIG_PCIEPORTBUS is not set
# CONFIG_PCI_MSI is not set
# CONFIG_HT_IRQ is not set

#
# PCCARD (PCMCIA/CardBus) support
#
CONFIG_PCCARD=y
# CONFIG_PCMCIA_DEBUG is not set
CONFIG_PCMCIA=m
CONFIG_PCMCIA_LOAD_CIS=y
CONFIG_PCMCIA_IOCTL=y
CONFIG_CARDBUS=y

#
# PC-card bridges
#
# CONFIG_YENTA is not set
CONFIG_PD6729=m
# CONFIG_I82092 is not set
CONFIG_PCCARD_NONSTATIC=m

#
# PCI Hotplug Support
#
CONFIG_HOTPLUG_PCI=m
# CONFIG_HOTPLUG_PCI_FAKE is not set
CONFIG_HOTPLUG_PCI_ACPI=m
CONFIG_HOTPLUG_PCI_ACPI_IBM=m
# CONFIG_HOTPLUG_PCI_CPCI is not set
CONFIG_HOTPLUG_PCI_SHPC=m

#
# Executable file formats / Emulations
#
# CONFIG_BINFMT_ELF is not set
CONFIG_BINFMT_MISC=m
# CONFIG_IA32_EMULATION is not set

#
# Networking
#
CONFIG_NET=y

#
# Networking options
#
# CONFIG_NETDEBUG is not set
# CONFIG_PACKET is not set
# CONFIG_UNIX is not set
CONFIG_XFRM=y
# CONFIG_XFRM_USER is not set
# CONFIG_XFRM_SUB_POLICY is not set
# CONFIG_XFRM_MIGRATE is not set
# CONFIG_NET_KEY is not set
CONFIG_INET=y
CONFIG_IP_MULTICAST=y
CONFIG_IP_ADVANCED_ROUTER=y
CONFIG_ASK_IP_FIB_HASH=y
# CONFIG_IP_FIB_TRIE is not set
CONFIG_IP_FIB_HASH=y
CONFIG_IP_MULTIPLE_TABLES=y
CONFIG_IP_ROUTE_MULTIPATH=y
CONFIG_IP_ROUTE_MULTIPATH_CACHED=y
# CONFIG_IP_ROUTE_MULTIPATH_RR is not set
# CONFIG_IP_ROUTE_MULTIPATH_RANDOM is not set
# CONFIG_IP_ROUTE_MULTIPATH_WRANDOM is not set
CONFIG_IP_ROUTE_MULTIPATH_DRR=m
CONFIG_IP_ROUTE_VERBOSE=y
CONFIG_IP_PNP=y
# CONFIG_IP_PNP_DHCP is not set
# CONFIG_IP_PNP_BOOTP is not set
# CONFIG_IP_PNP_RARP is not set
# CONFIG_NET_IPIP is not set
# CONFIG_NET_IPGRE is not set
# CONFIG_IP_MROUTE is not set
# CONFIG_ARPD is not set
# CONFIG_SYN_COOKIES is not set
CONFIG_INET_AH=y
CONFIG_INET_ESP=m
# CONFIG_INET_IPCOMP is not set
# CONFIG_INET_XFRM_TUNNEL is not set
CONFIG_INET_TUNNEL=m
CONFIG_INET_XFRM_MODE_TRANSPORT=y
CONFIG_INET_XFRM_MODE_TUNNEL=m
# CONFIG_INET_XFRM_MODE_BEET is not set
CONFIG_INET_DIAG=m
CONFIG_INET_TCP_DIAG=m
CONFIG_TCP_CONG_ADVANCED=y
CONFIG_TCP_CONG_BIC=m
CONFIG_TCP_CONG_CUBIC=m
# CONFIG_TCP_CONG_WESTWOOD is not set
CONFIG_TCP_CONG_HTCP=m
# CONFIG_TCP_CONG_HSTCP is not set
# CONFIG_TCP_CONG_HYBLA is not set
CONFIG_TCP_CONG_VEGAS=y
CONFIG_TCP_CONG_SCALABLE=m
# CONFIG_TCP_CONG_LP is not set
CONFIG_TCP_CONG_VENO=m
# CONFIG_DEFAULT_BIC is not set
# CONFIG_DEFAULT_CUBIC is not set
# CONFIG_DEFAULT_HTCP is not set
# CONFIG_DEFAULT_VEGAS is not set
# CONFIG_DEFAULT_WESTWOOD is not set
CONFIG_DEFAULT_RENO=y
CONFIG_DEFAULT_TCP_CONG="reno"
CONFIG_TCP_MD5SIG=y
CONFIG_IPV6=m
# CONFIG_IPV6_PRIVACY is not set
CONFIG_IPV6_ROUTER_PREF=y
CONFIG_IPV6_ROUTE_INFO=y
CONFIG_INET6_AH=m
CONFIG_INET6_ESP=m
# CONFIG_INET6_IPCOMP is not set
CONFIG_IPV6_MIP6=y
# CONFIG_INET6_XFRM_TUNNEL is not set
# CONFIG_INET6_TUNNEL is not set
CONFIG_INET6_XFRM_MODE_TRANSPORT=m
# CONFIG_INET6_XFRM_MODE_TUNNEL is not set
CONFIG_INET6_XFRM_MODE_BEET=m
CONFIG_INET6_XFRM_MODE_ROUTEOPTIMIZATION=m
CONFIG_IPV6_SIT=m
# CONFIG_IPV6_TUNNEL is not set
# CONFIG_IPV6_MULTIPLE_TABLES is not set
# CONFIG_NETWORK_SECMARK is not set
# CONFIG_NETFILTER is not set

#
# DCCP Configuration (EXPERIMENTAL)
#
# CONFIG_IP_DCCP is not set

#
# SCTP Configuration (EXPERIMENTAL)
#
CONFIG_IP_SCTP=m
CONFIG_SCTP_DBG_MSG=y
# CONFIG_SCTP_DBG_OBJCNT is not set
# CONFIG_SCTP_HMAC_NONE is not set
CONFIG_SCTP_HMAC_SHA1=y
# CONFIG_SCTP_HMAC_MD5 is not set

#
# TIPC Configuration (EXPERIMENTAL)
#
CONFIG_TIPC=y
CONFIG_TIPC_ADVANCED=y
CONFIG_TIPC_ZONES=3
CONFIG_TIPC_CLUSTERS=1
CONFIG_TIPC_NODES=255
CONFIG_TIPC_SLAVE_NODES=0
CONFIG_TIPC_PORTS=8191
CONFIG_TIPC_LOG=0
CONFIG_TIPC_DEBUG=y
CONFIG_ATM=m
CONFIG_ATM_CLIP=m
# CONFIG_ATM_CLIP_NO_ICMP is not set
CONFIG_ATM_LANE=m
# CONFIG_ATM_MPOA is not set
# CONFIG_ATM_BR2684 is not set
# CONFIG_BRIDGE is not set
CONFIG_VLAN_8021Q=m
CONFIG_DECNET=m
# CONFIG_DECNET_ROUTER is not set
CONFIG_LLC=y
CONFIG_LLC2=m
# CONFIG_IPX is not set
CONFIG_ATALK=y
# CONFIG_DEV_APPLETALK is not set
# CONFIG_X25 is not set
# CONFIG_LAPB is not set
CONFIG_ECONET=m
# CONFIG_ECONET_AUNUDP is not set
CONFIG_ECONET_NATIVE=y
CONFIG_WAN_ROUTER=m

#
# QoS and/or fair queueing
#
# CONFIG_NET_SCHED is not set

#
# Network testing
#
# CONFIG_HAMRADIO is not set
# CONFIG_IRDA is not set
CONFIG_BT=y
# CONFIG_BT_L2CAP is not set
# CONFIG_BT_SCO is not set

#
# Bluetooth device drivers
#
CONFIG_BT_HCIUART=m
CONFIG_BT_HCIUART_H4=y
# CONFIG_BT_HCIUART_BCSP is not set
# CONFIG_BT_HCIDTL1 is not set
CONFIG_BT_HCIBT3C=m
# CONFIG_BT_HCIBLUECARD is not set
# CONFIG_BT_HCIBTUART is not set
# CONFIG_BT_HCIVHCI is not set
CONFIG_FIB_RULES=y

#
# Wireless
#
# CONFIG_CFG80211 is not set
# CONFIG_WIRELESS_EXT is not set
# CONFIG_MAC80211 is not set
# CONFIG_IEEE80211 is not set

#
# Device Drivers
#

#
# Generic Driver Options
#
CONFIG_STANDALONE=y
# CONFIG_PREVENT_FIRMWARE_BUILD is not set
CONFIG_FW_LOADER=y
# CONFIG_SYS_HYPERVISOR is not set

#
# Connector - unified userspace <-> kernelspace linker
#
CONFIG_CONNECTOR=y
# CONFIG_PROC_EVENTS is not set

#
# Memory Technology Devices (MTD)
#
# CONFIG_MTD is not set

#
# Parallel port support
#
# CONFIG_PARPORT is not set

#
# Plug and Play support
#
CONFIG_PNP=y
# CONFIG_PNP_DEBUG is not set

#
# Protocols
#
CONFIG_PNPACPI=y

#
# Misc devices
#
CONFIG_IBM_ASM=m
# CONFIG_SGI_IOC4 is not set
CONFIG_TIFM_CORE=m
# CONFIG_TIFM_7XX1 is not set
# CONFIG_MSI_LAPTOP is not set
# CONFIG_SONY_LAPTOP is not set

#
# SCSI device support
#
# CONFIG_SCSI_NETLINK is not set

#
# Serial ATA (prod) and Parallel ATA (experimental) drivers
#

#
# Fusion MPT device support
#
# CONFIG_FUSION is not set

#
# IEEE 1394 (FireWire) support
#
# CONFIG_FW is not set
# CONFIG_IEEE1394 is not set

#
# I2O device support
#
# CONFIG_I2O is not set

#
# Macintosh device drivers
#
# CONFIG_MAC_EMUMOUSEBTN is not set

#
# Network device support
#
# CONFIG_NETDEVICES is not set
# CONFIG_NETPOLL is not set
# CONFIG_NET_POLL_CONTROLLER is not set

#
# ISDN subsystem
#
CONFIG_ISDN=y

#
# Old ISDN4Linux
#
# CONFIG_ISDN_I4L is not set

#
# CAPI subsystem
#
# CONFIG_ISDN_CAPI is not set

#
# Telephony Support
#
CONFIG_PHONE=y
# CONFIG_PHONE_IXJ is not set

#
# Input device support
#
CONFIG_INPUT=y
CONFIG_INPUT_FF_MEMLESS=y

#
# Userland interfaces
#
CONFIG_INPUT_MOUSEDEV=m
# CONFIG_INPUT_MOUSEDEV_PSAUX is not set
CONFIG_INPUT_MOUSEDEV_SCREEN_X=1024
CONFIG_INPUT_MOUSEDEV_SCREEN_Y=768
# CONFIG_INPUT_JOYDEV is not set
# CONFIG_INPUT_TSDEV is not set
# CONFIG_INPUT_EVDEV is not set
CONFIG_INPUT_EVBUG=m

#
# Input Device Drivers
#
CONFIG_INPUT_KEYBOARD=y
CONFIG_KEYBOARD_ATKBD=m
CONFIG_KEYBOARD_SUNKBD=y
CONFIG_KEYBOARD_LKKBD=y
CONFIG_KEYBOARD_XTKBD=m
# CONFIG_KEYBOARD_NEWTON is not set
# CONFIG_KEYBOARD_STOWAWAY is not set
# CONFIG_INPUT_MOUSE is not set
# CONFIG_INPUT_JOYSTICK is not set
# CONFIG_INPUT_TOUCHSCREEN is not set
CONFIG_INPUT_MISC=y
CONFIG_INPUT_PCSPKR=m
# CONFIG_INPUT_ATLAS_BTNS is not set
CONFIG_INPUT_UINPUT=m

#
# Hardware I/O ports
#
CONFIG_SERIO=y
CONFIG_SERIO_I8042=y
# CONFIG_SERIO_SERPORT is not set
CONFIG_SERIO_CT82C710=y
CONFIG_SERIO_PCIPS2=m
CONFIG_SERIO_LIBPS2=m
# CONFIG_SERIO_RAW is not set
CONFIG_GAMEPORT=y
CONFIG_GAMEPORT_NS558=m
# CONFIG_GAMEPORT_L4 is not set
# CONFIG_GAMEPORT_EMU10K1 is not set
CONFIG_GAMEPORT_FM801=y

#
# Character devices
#
CONFIG_VT=y
CONFIG_VT_CONSOLE=y
CONFIG_HW_CONSOLE=y
# CONFIG_VT_HW_CONSOLE_BINDING is not set
CONFIG_SERIAL_NONSTANDARD=y
CONFIG_COMPUTONE=y
# CONFIG_ROCKETPORT is not set
CONFIG_CYCLADES=y
CONFIG_CYZ_INTR=y
CONFIG_DIGIEPCA=y
CONFIG_MOXA_INTELLIO=m
CONFIG_MOXA_SMARTIO=y
# CONFIG_MOXA_SMARTIO_NEW is not set
CONFIG_ISI=y
CONFIG_SYNCLINK=y
CONFIG_SYNCLINKMP=y
# CONFIG_SYNCLINK_GT is not set
CONFIG_N_HDLC=y
CONFIG_SPECIALIX=y
# CONFIG_SPECIALIX_RTSCTS is not set
CONFIG_SX=y
CONFIG_RIO=m
CONFIG_RIO_OLDPCI=y
# CONFIG_STALDRV is not set
# CONFIG_NOZOMI is not set

#
# Serial drivers
#
CONFIG_SERIAL_8250=m
CONFIG_SERIAL_8250_PCI=m
CONFIG_SERIAL_8250_PNP=m
CONFIG_SERIAL_8250_CS=m
CONFIG_SERIAL_8250_NR_UARTS=4
CONFIG_SERIAL_8250_RUNTIME_UARTS=4
# CONFIG_SERIAL_8250_EXTENDED is not set

#
# Non-8250 serial port support
#
CONFIG_SERIAL_CORE=m
CONFIG_SERIAL_JSM=m
CONFIG_UNIX98_PTYS=y
CONFIG_LEGACY_PTYS=y
CONFIG_LEGACY_PTY_COUNT=256

#
# IPMI
#
CONFIG_IPMI_HANDLER=m
# CONFIG_IPMI_PANIC_EVENT is not set
CONFIG_IPMI_DEVICE_INTERFACE=m
# CONFIG_IPMI_SI is not set
# CONFIG_IPMI_WATCHDOG is not set
CONFIG_IPMI_POWEROFF=m

#
# Watchdog Cards
#
CONFIG_WATCHDOG=y
CONFIG_WATCHDOG_NOWAYOUT=y

#
# Watchdog Device Drivers
#
CONFIG_SOFT_WATCHDOG=m
# CONFIG_ACQUIRE_WDT is not set
# CONFIG_ADVANTECH_WDT is not set
# CONFIG_ALIM1535_WDT is not set
CONFIG_ALIM7101_WDT=m
CONFIG_SC520_WDT=m
# CONFIG_EUROTECH_WDT is not set
CONFIG_IB700_WDT=m
# CONFIG_IBMASR is not set
CONFIG_WAFER_WDT=m
# CONFIG_I6300ESB_WDT is not set
CONFIG_I8XX_TCO=y
# CONFIG_ITCO_WDT is not set
CONFIG_SC1200_WDT=m
CONFIG_PC87413_WDT=y
# CONFIG_60XX_WDT is not set
# CONFIG_SBC8360_WDT is not set
# CONFIG_CPU5_WDT is not set
# CONFIG_SMSC37B787_WDT is not set
# CONFIG_W83627HF_WDT is not set
# CONFIG_W83697HF_WDT is not set
CONFIG_W83877F_WDT=y
# CONFIG_W83977F_WDT is not set
CONFIG_MACHZ_WDT=y
CONFIG_SBC_EPX_C3_WATCHDOG=y

#
# PCI-based Watchdog Cards
#
CONFIG_PCIPCWATCHDOG=m
CONFIG_WDTPCI=m
CONFIG_WDT_501_PCI=y
# CONFIG_HW_RANDOM is not set
CONFIG_NVRAM=m
CONFIG_RTC=m
CONFIG_GEN_RTC=y
# CONFIG_GEN_RTC_X is not set
CONFIG_DTLK=m
CONFIG_R3964=m
CONFIG_APPLICOM=m
CONFIG_AGP=m
CONFIG_AGP_AMD64=m
CONFIG_AGP_INTEL=m
CONFIG_AGP_SIS=m
CONFIG_AGP_VIA=m
CONFIG_DRM=m
CONFIG_DRM_TDFX=m
CONFIG_DRM_R128=m
# CONFIG_DRM_RADEON is not set
CONFIG_DRM_I810=m
# CONFIG_DRM_I830 is not set
# CONFIG_DRM_I915 is not set
CONFIG_DRM_MGA=m
CONFIG_DRM_SIS=m
CONFIG_DRM_VIA=m
# CONFIG_DRM_SAVAGE is not set

#
# PCMCIA character devices
#
# CONFIG_SYNCLINK_CS is not set
CONFIG_CARDMAN_4000=m
CONFIG_CARDMAN_4040=m
# CONFIG_IPWIRELESS_CS is not set
CONFIG_MWAVE=m
# CONFIG_PC8736x_GPIO is not set
CONFIG_HPET=y
# CONFIG_HPET_RTC_IRQ is not set
CONFIG_HPET_MMAP=y
# CONFIG_HANGCHECK_TIMER is not set

#
# TPM devices
#
# CONFIG_TCG_TPM is not set
CONFIG_TELCLOCK=m

#
# I2C support
#
CONFIG_I2C=y
CONFIG_I2C_CHARDEV=y

#
# I2C Algorithms
#
CONFIG_I2C_ALGOBIT=m
CONFIG_I2C_ALGOPCF=y
CONFIG_I2C_ALGOPCA=m

#
# I2C Hardware Bus support
#
CONFIG_I2C_ALI1535=y
CONFIG_I2C_ALI1563=y
# CONFIG_I2C_ALI15X3 is not set
CONFIG_I2C_AMD756=y
# CONFIG_I2C_AMD756_S4882 is not set
CONFIG_I2C_AMD8111=m
# CONFIG_I2C_I801 is not set
# CONFIG_I2C_I810 is not set
# CONFIG_I2C_PIIX4 is not set
CONFIG_I2C_ISA=y
CONFIG_I2C_NFORCE2=y
# CONFIG_I2C_OCORES is not set
# CONFIG_I2C_PARPORT_LIGHT is not set
# CONFIG_I2C_PASEMI is not set
# CONFIG_I2C_PROSAVAGE is not set
CONFIG_I2C_SAVAGE4=m
CONFIG_I2C_SIS5595=y
CONFIG_I2C_SIS630=y
CONFIG_I2C_SIS96X=y
CONFIG_I2C_STUB=m
# CONFIG_I2C_VIA is not set
# CONFIG_I2C_VIAPRO is not set
# CONFIG_I2C_VOODOO3 is not set
CONFIG_I2C_PCA_ISA=m

#
# Miscellaneous I2C Chip support
#
CONFIG_SENSORS_DS1337=m
# CONFIG_SENSORS_DS1374 is not set
CONFIG_SENSORS_EEPROM=m
CONFIG_SENSORS_PCF8574=y
# CONFIG_SENSORS_PCA9539 is not set
CONFIG_SENSORS_PCF8591=m
CONFIG_SENSORS_MAX6875=m
# CONFIG_SENSORS_TSL2550 is not set
CONFIG_I2C_DEBUG_CORE=y
# CONFIG_I2C_DEBUG_ALGO is not set
# CONFIG_I2C_DEBUG_BUS is not set
CONFIG_I2C_DEBUG_CHIP=y

#
# SPI support
#
# CONFIG_SPI is not set
# CONFIG_SPI_MASTER is not set

#
# Dallas's 1-wire bus
#
CONFIG_W1=y
CONFIG_W1_CON=y

#
# 1-wire Bus Masters
#
CONFIG_W1_MASTER_MATROX=m
# CONFIG_W1_MASTER_DS2482 is not set

#
# 1-wire Slaves
#
# CONFIG_W1_SLAVE_THERM is not set
CONFIG_W1_SLAVE_SMEM=m
CONFIG_W1_SLAVE_DS2433=m
CONFIG_W1_SLAVE_DS2433_CRC=y

#
# Hardware Monitoring support
#
CONFIG_HWMON=y
CONFIG_HWMON_VID=y
# CONFIG_SENSORS_ABITUGURU is not set
CONFIG_SENSORS_ADM1021=y
CONFIG_SENSORS_ADM1025=m
CONFIG_SENSORS_ADM1026=y
# CONFIG_SENSORS_ADM1029 is not set
CONFIG_SENSORS_ADM1031=m
CONFIG_SENSORS_ADM9240=y
# CONFIG_SENSORS_K8TEMP is not set
CONFIG_SENSORS_ASB100=m
# CONFIG_SENSORS_ATXP1 is not set
CONFIG_SENSORS_DS1621=m
CONFIG_SENSORS_F71805F=y
CONFIG_SENSORS_FSCHER=y
CONFIG_SENSORS_FSCPOS=y
CONFIG_SENSORS_GL518SM=y
CONFIG_SENSORS_GL520SM=m
# CONFIG_SENSORS_IT87 is not set
CONFIG_SENSORS_LM63=y
CONFIG_SENSORS_LM75=y
CONFIG_SENSORS_LM77=m
CONFIG_SENSORS_LM78=m
# CONFIG_SENSORS_LM80 is not set
CONFIG_SENSORS_LM83=m
CONFIG_SENSORS_LM85=y
CONFIG_SENSORS_LM87=y
CONFIG_SENSORS_LM90=y
# CONFIG_SENSORS_LM92 is not set
CONFIG_SENSORS_MAX1619=m
# CONFIG_SENSORS_PC87360 is not set
CONFIG_SENSORS_PC87427=m
# CONFIG_SENSORS_SIS5595 is not set
# CONFIG_SENSORS_SMSC47M1 is not set
CONFIG_SENSORS_SMSC47M192=m
# CONFIG_SENSORS_SMSC47B397 is not set
CONFIG_SENSORS_VIA686A=y
CONFIG_SENSORS_VT1211=m
CONFIG_SENSORS_VT8231=y
# CONFIG_SENSORS_W83781D is not set
CONFIG_SENSORS_W83791D=y
# CONFIG_SENSORS_W83792D is not set
# CONFIG_SENSORS_W83793 is not set
CONFIG_SENSORS_W83L785TS=m
# CONFIG_SENSORS_W83627HF is not set
CONFIG_SENSORS_W83627EHF=m
# CONFIG_SENSORS_HDAPS is not set
CONFIG_HWMON_DEBUG_CHIP=y

#
# Sonics Silicon Backplane
#
# CONFIG_SSB is not set

#
# Multifunction device drivers
#
# CONFIG_MFD_SM501 is not set

#
# Multimedia devices
#
CONFIG_VIDEO_DEV=y
CONFIG_VIDEO_V4L1=y
CONFIG_VIDEO_V4L1_COMPAT=y
CONFIG_VIDEO_V4L2=y

#
# Video Capture Adapters
#

#
# Video Capture Adapters
#
# CONFIG_VIDEO_ADV_DEBUG is not set
# CONFIG_VIDEO_HELPER_CHIPS_AUTO is not set

#
# Encoders/decoders and other helper chips
#

#
# Audio decoders
#
CONFIG_VIDEO_TVAUDIO=y
CONFIG_VIDEO_TDA7432=m
# CONFIG_VIDEO_TDA9840 is not set
CONFIG_VIDEO_TDA9875=m
CONFIG_VIDEO_TEA6415C=y
CONFIG_VIDEO_TEA6420=y
# CONFIG_VIDEO_MSP3400 is not set
CONFIG_VIDEO_CS53L32A=m
CONFIG_VIDEO_TLV320AIC23B=y
# CONFIG_VIDEO_WM8775 is not set
# CONFIG_VIDEO_WM8739 is not set

#
# Video decoders
#
CONFIG_VIDEO_BT819=y
CONFIG_VIDEO_BT856=y
CONFIG_VIDEO_BT866=m
# CONFIG_VIDEO_KS0127 is not set
CONFIG_VIDEO_OV7670=y
CONFIG_VIDEO_SAA7110=m
CONFIG_VIDEO_SAA7111=y
CONFIG_VIDEO_SAA7114=m
CONFIG_VIDEO_SAA711X=y
CONFIG_VIDEO_SAA7191=y
# CONFIG_VIDEO_TVP5150 is not set
CONFIG_VIDEO_VPX3220=m

#
# Video and audio decoders
#
CONFIG_VIDEO_CX25840=m

#
# MPEG video encoders
#
CONFIG_VIDEO_CX2341X=m

#
# Video encoders
#
CONFIG_VIDEO_SAA7127=y
CONFIG_VIDEO_SAA7185=y
CONFIG_VIDEO_ADV7170=y
CONFIG_VIDEO_ADV7175=m

#
# Video improvement chips
#
# CONFIG_VIDEO_UPD64031A is not set
CONFIG_VIDEO_UPD64083=y
CONFIG_VIDEO_VIVI=m
CONFIG_VIDEO_BT848=m
CONFIG_VIDEO_SAA6588=m
CONFIG_VIDEO_CPIA=y
CONFIG_VIDEO_SAA5246A=m
CONFIG_VIDEO_SAA5249=m
CONFIG_TUNER_3036=m
CONFIG_VIDEO_STRADIS=m
CONFIG_VIDEO_ZORAN_ZR36060=m
CONFIG_VIDEO_ZORAN=m
CONFIG_VIDEO_ZORAN_BUZ=m
# CONFIG_VIDEO_ZORAN_DC10 is not set
# CONFIG_VIDEO_ZORAN_DC30 is not set
CONFIG_VIDEO_ZORAN_LML33=m
CONFIG_VIDEO_ZORAN_LML33R10=m
CONFIG_VIDEO_ZORAN_AVS6EYES=m
CONFIG_VIDEO_SAA7134=m
# CONFIG_VIDEO_SAA7134_ALSA is not set
# CONFIG_VIDEO_MXB is not set
CONFIG_VIDEO_DPC=m
CONFIG_VIDEO_HEXIUM_ORION=m
# CONFIG_VIDEO_HEXIUM_GEMINI is not set
# CONFIG_VIDEO_CX88 is not set
# CONFIG_VIDEO_CAFE_CCIC is not set

#
# Radio Adapters
#
CONFIG_RADIO_GEMTEK_PCI=y
CONFIG_RADIO_MAXIRADIO=m
CONFIG_RADIO_MAESTRO=m

#
# Digital Video Broadcasting Devices
#
CONFIG_DVB=y
# CONFIG_DVB_CORE is not set
CONFIG_VIDEO_SAA7146=m
CONFIG_VIDEO_SAA7146_VV=m
CONFIG_VIDEO_TUNER=m
CONFIG_VIDEO_BUF=m
CONFIG_VIDEO_BTCX=m
CONFIG_VIDEO_IR=m
CONFIG_VIDEO_TVEEPROM=m

#
# Graphics support
#
# CONFIG_BACKLIGHT_LCD_SUPPORT is not set
CONFIG_BACKLIGHT_CLASS_DEVICE=y
# CONFIG_BACKLIGHT_PROGEAR is not set

#
# Display device support
#
# CONFIG_DISPLAY_SUPPORT is not set
# CONFIG_FB is not set

#
# Console display driver support
#
CONFIG_VGA_CONSOLE=y
CONFIG_VGACON_SOFT_SCROLLBACK=y
CONFIG_VGACON_SOFT_SCROLLBACK_SIZE=64
CONFIG_VIDEO_SELECT=y
CONFIG_DUMMY_CONSOLE=y

#
# Sound
#
CONFIG_SOUND=y

#
# Advanced Linux Sound Architecture
#
CONFIG_SND=y
CONFIG_SND_TIMER=y
CONFIG_SND_PCM=y
CONFIG_SND_HWDEP=y
CONFIG_SND_RAWMIDI=y
# CONFIG_SND_SEQUENCER is not set
# CONFIG_SND_MIXER_OSS is not set
# CONFIG_SND_PCM_OSS is not set
CONFIG_SND_RTCTIMER=m
# CONFIG_SND_DYNAMIC_MINORS is not set
# CONFIG_SND_SUPPORT_OLD_API is not set
CONFIG_SND_VERBOSE_PRINTK=y
# CONFIG_SND_DEBUG is not set

#
# Generic devices
#
CONFIG_SND_MPU401_UART=y
CONFIG_SND_OPL3_LIB=y
CONFIG_SND_AC97_CODEC=y
# CONFIG_SND_DUMMY is not set
CONFIG_SND_MTPAV=m
# CONFIG_SND_SERIAL_U16550 is not set
CONFIG_SND_MPU401=m

#
# PCI devices
#
# CONFIG_SND_AD1889 is not set
# CONFIG_SND_ALS300 is not set
CONFIG_SND_ALS4000=y
CONFIG_SND_ALI5451=m
# CONFIG_SND_ATIIXP is not set
CONFIG_SND_ATIIXP_MODEM=m
CONFIG_SND_AU8810=m
CONFIG_SND_AU8820=y
# CONFIG_SND_AU8830 is not set
CONFIG_SND_AZT3328=m
# CONFIG_SND_BT87X is not set
# CONFIG_SND_CA0106 is not set
# CONFIG_SND_CMIPCI is not set
CONFIG_SND_CS4281=m
CONFIG_SND_CS46XX=m
# CONFIG_SND_CS46XX_NEW_DSP is not set
CONFIG_SND_DARLA20=y
CONFIG_SND_GINA20=m
CONFIG_SND_LAYLA20=m
CONFIG_SND_DARLA24=m
CONFIG_SND_GINA24=m
# CONFIG_SND_LAYLA24 is not set
CONFIG_SND_MONA=m
# CONFIG_SND_MIA is not set
# CONFIG_SND_ECHO3G is not set
CONFIG_SND_INDIGO=m
# CONFIG_SND_INDIGOIO is not set
CONFIG_SND_INDIGODJ=m
# CONFIG_SND_EMU10K1 is not set
CONFIG_SND_EMU10K1X=y
CONFIG_SND_ENS1370=y
CONFIG_SND_ENS1371=m
CONFIG_SND_ES1938=y
CONFIG_SND_ES1968=m
CONFIG_SND_FM801=y
CONFIG_SND_FM801_TEA575X_BOOL=y
CONFIG_SND_FM801_TEA575X=y
CONFIG_SND_HDA_INTEL=y
CONFIG_SND_HDSP=m
CONFIG_SND_HDSPM=m
# CONFIG_SND_ICE1712 is not set
CONFIG_SND_ICE1724=y
CONFIG_SND_INTEL8X0=y
CONFIG_SND_INTEL8X0M=y
CONFIG_SND_KORG1212=y
CONFIG_SND_KORG1212_FIRMWARE_IN_KERNEL=y
CONFIG_SND_MAESTRO3=m
CONFIG_SND_MAESTRO3_FIRMWARE_IN_KERNEL=y
CONFIG_SND_MIXART=y
CONFIG_SND_NM256=y
# CONFIG_SND_PCXHR is not set
CONFIG_SND_RIPTIDE=m
CONFIG_SND_RME32=m
CONFIG_SND_RME96=y
CONFIG_SND_RME9652=y
CONFIG_SND_SONICVIBES=y
# CONFIG_SND_TRIDENT is not set
CONFIG_SND_VIA82XX=y
CONFIG_SND_VIA82XX_MODEM=m
# CONFIG_SND_VX222 is not set
CONFIG_SND_YMFPCI=m
CONFIG_SND_YMFPCI_FIRMWARE_IN_KERNEL=y
CONFIG_SND_AC97_POWER_SAVE=y

#
# PCMCIA devices
#
# CONFIG_SND_VXPOCKET is not set
CONFIG_SND_PDAUDIOCF=m

#
# SoC audio support
#
# CONFIG_SND_SOC is not set

#
# Open Sound System
#
# CONFIG_SOUND_PRIME is not set
CONFIG_AC97_BUS=y

#
# HID Devices
#
CONFIG_HID=y
# CONFIG_HID_DEBUG is not set
# CONFIG_HIDRAW is not set

#
# USB support
#
CONFIG_USB_ARCH_HAS_HCD=y
CONFIG_USB_ARCH_HAS_OHCI=y
CONFIG_USB_ARCH_HAS_EHCI=y
# CONFIG_USB is not set

#
# NOTE: USB_STORAGE enables SCSI, and 'SCSI disk support'
#

#
# USB Gadget Support
#
CONFIG_USB_GADGET=y
CONFIG_USB_GADGET_SELECTED=y
CONFIG_USB_GADGET_NET2280=y
CONFIG_USB_NET2280=y
# CONFIG_USB_GADGET_PXA2XX is not set
# CONFIG_USB_GADGET_GOKU is not set
# CONFIG_USB_GADGET_LH7A40X is not set
# CONFIG_USB_GADGET_OMAP is not set
# CONFIG_USB_GADGET_AT91 is not set
# CONFIG_USB_GADGET_DUMMY_HCD is not set
CONFIG_USB_GADGET_DUALSPEED=y
# CONFIG_USB_ZERO is not set
# CONFIG_USB_ETH is not set
# CONFIG_USB_GADGETFS is not set
# CONFIG_USB_FILE_STORAGE is not set
CONFIG_USB_G_SERIAL=y
# CONFIG_USB_MIDI_GADGET is not set

#
# MMC/SD Card support
#
CONFIG_MMC=m
# CONFIG_MMC_DEBUG is not set

#
# MMC/SD Card Drivers
#

#
# MMC/SD Host Controller Drivers
#
# CONFIG_MMC_SDHCI is not set
# CONFIG_MMC_WBSD is not set
# CONFIG_MMC_TIFM_SD is not set

#
# LED devices
#
# CONFIG_NEW_LEDS is not set

#
# LED drivers
#

#
# LED Triggers
#

#
# InfiniBand support
#
CONFIG_INFINIBAND=y
# CONFIG_INFINIBAND_USER_MAD is not set
CONFIG_INFINIBAND_USER_ACCESS=y
CONFIG_INFINIBAND_ADDR_TRANS=y
# CONFIG_INFINIBAND_MTHCA is not set
CONFIG_INFINIBAND_AMSO1100=y
# CONFIG_INFINIBAND_AMSO1100_DEBUG is not set

#
# EDAC - error detection and reporting (RAS) (EXPERIMENTAL)
#
CONFIG_EDAC=y

#
# Reporting subsystems
#
# CONFIG_EDAC_DEBUG is not set
CONFIG_EDAC_MM_EDAC=m
# CONFIG_EDAC_E752X is not set
# CONFIG_EDAC_K8 is not set
CONFIG_EDAC_POLL=y

#
# Real Time Clock
#
CONFIG_RTC_LIB=m
CONFIG_RTC_CLASS=m

#
# RTC interfaces
#
CONFIG_RTC_INTF_DEV=y
CONFIG_RTC_INTF_DEV_UIE_EMUL=y

#
# RTC drivers
#
# CONFIG_RTC_DRV_CMOS is not set
CONFIG_RTC_DRV_X1205=m
# CONFIG_RTC_DRV_DS1307 is not set
CONFIG_RTC_DRV_DS1553=m
CONFIG_RTC_DRV_ISL1208=m
CONFIG_RTC_DRV_DS1672=m
CONFIG_RTC_DRV_DS1742=m
# CONFIG_RTC_DRV_PCF8563 is not set
# CONFIG_RTC_DRV_RS5C372 is not set
# CONFIG_RTC_DRV_M48T86 is not set
# CONFIG_RTC_DRV_TEST is not set
# CONFIG_RTC_DRV_V3020 is not set

#
# DMA Engine support
#
CONFIG_DMA_ENGINE=y

#
# DMA Clients
#
# CONFIG_NET_DMA is not set
CONFIG_ASYNC_TX_DMA=y

#
# DMA Devices
#
CONFIG_INTEL_IOATDMA=y

#
# Auxiliary Display support
#

#
# Virtualization
#
CONFIG_KVM=m
# CONFIG_KVM_INTEL is not set
# CONFIG_KVM_AMD is not set

#
# Userspace I/O
#
# CONFIG_UIO is not set

#
# Firmware Drivers
#
CONFIG_EDD=m
# CONFIG_DELL_RBU is not set
CONFIG_DCDBAS=y

#
# File systems
#
CONFIG_FS_POSIX_ACL=y
CONFIG_INOTIFY=y
# CONFIG_INOTIFY_USER is not set
CONFIG_QUOTA=y
# CONFIG_QFMT_V1 is not set
# CONFIG_QFMT_V2 is not set
CONFIG_QUOTACTL=y
CONFIG_DNOTIFY=y
# CONFIG_AUTOFS_FS is not set
CONFIG_AUTOFS4_FS=y
# CONFIG_FUSE_FS is not set

#
# Pseudo filesystems
#
# CONFIG_PROC_FS is not set
# CONFIG_SYSFS is not set
CONFIG_TMPFS=y
# CONFIG_TMPFS_POSIX_ACL is not set
# CONFIG_HUGETLBFS is not set
# CONFIG_HUGETLB_PAGE is not set
CONFIG_RAMFS=y

#
# Layered filesystems
#
# CONFIG_ECRYPT_FS is not set
# CONFIG_UNION_FS is not set

#
# Miscellaneous filesystems
#

#
# Network File Systems
#
CONFIG_NFS_FS=m
CONFIG_NFS_V3=y
CONFIG_NFS_V3_ACL=y
# CONFIG_NFS_V4 is not set
# CONFIG_NFS_DIRECTIO is not set
CONFIG_NFSD=y
# CONFIG_NFSD_V3 is not set
# CONFIG_NFSD_TCP is not set
CONFIG_LOCKD=y
CONFIG_LOCKD_V4=y
CONFIG_EXPORTFS=y
CONFIG_NFS_ACL_SUPPORT=m
CONFIG_NFS_COMMON=y
CONFIG_SUNRPC=y
CONFIG_SUNRPC_GSS=y
CONFIG_RPCSEC_GSS_KRB5=m
CONFIG_RPCSEC_GSS_SPKM3=y
CONFIG_SMB_FS=m
# CONFIG_SMB_NLS_DEFAULT is not set
# CONFIG_CIFS is not set
CONFIG_NCP_FS=m
# CONFIG_NCPFS_PACKET_SIGNING is not set
CONFIG_NCPFS_IOCTL_LOCKING=y
CONFIG_NCPFS_STRONG=y
# CONFIG_NCPFS_NFS_NS is not set
# CONFIG_NCPFS_OS2_NS is not set
CONFIG_NCPFS_SMALLDOS=y
# CONFIG_NCPFS_NLS is not set
# CONFIG_NCPFS_EXTRAS is not set
CONFIG_CODA_FS=y
CONFIG_CODA_FS_OLD_API=y
CONFIG_AFS_FS=y
CONFIG_RXRPC=y
CONFIG_9P_FS=y

#
# Native Language Support
#
CONFIG_NLS=y
CONFIG_NLS_DEFAULT="iso8859-1"
# CONFIG_NLS_CODEPAGE_437 is not set
CONFIG_NLS_CODEPAGE_737=y
# CONFIG_NLS_CODEPAGE_775 is not set
# CONFIG_NLS_CODEPAGE_850 is not set
CONFIG_NLS_CODEPAGE_852=m
# CONFIG_NLS_CODEPAGE_855 is not set
CONFIG_NLS_CODEPAGE_857=m
CONFIG_NLS_CODEPAGE_860=y
CONFIG_NLS_CODEPAGE_861=m
CONFIG_NLS_CODEPAGE_862=m
CONFIG_NLS_CODEPAGE_863=m
# CONFIG_NLS_CODEPAGE_864 is not set
CONFIG_NLS_CODEPAGE_865=y
# CONFIG_NLS_CODEPAGE_866 is not set
CONFIG_NLS_CODEPAGE_869=y
CONFIG_NLS_CODEPAGE_936=m
CONFIG_NLS_CODEPAGE_950=y
# CONFIG_NLS_CODEPAGE_932 is not set
CONFIG_NLS_CODEPAGE_949=m
CONFIG_NLS_CODEPAGE_874=y
CONFIG_NLS_ISO8859_8=m
# CONFIG_NLS_CODEPAGE_1250 is not set
# CONFIG_NLS_CODEPAGE_1251 is not set
CONFIG_NLS_ASCII=y
CONFIG_NLS_ISO8859_1=m
CONFIG_NLS_ISO8859_2=y
CONFIG_NLS_ISO8859_3=m
CONFIG_NLS_ISO8859_4=m
CONFIG_NLS_ISO8859_5=m
CONFIG_NLS_ISO8859_6=m
CONFIG_NLS_ISO8859_7=y
CONFIG_NLS_ISO8859_9=m
CONFIG_NLS_ISO8859_13=m
# CONFIG_NLS_ISO8859_14 is not set
CONFIG_NLS_ISO8859_15=y
# CONFIG_NLS_KOI8_R is not set
# CONFIG_NLS_KOI8_U is not set
CONFIG_NLS_UTF8=y

#
# Distributed Lock Manager
#

#
# Instrumentation Support
#
CONFIG_PROFILING=y
CONFIG_OPROFILE=m
CONFIG_KPROBES=y
# CONFIG_MARKERS is not set

#
# Kernel hacking
#
CONFIG_TRACE_IRQFLAGS_SUPPORT=y
# CONFIG_PRINTK_TIME is not set
# CONFIG_ENABLE_MUST_CHECK is not set
CONFIG_MAGIC_SYSRQ=y
# CONFIG_UNUSED_SYMBOLS is not set
# CONFIG_HEADERS_CHECK is not set
# CONFIG_DEBUG_KERNEL is not set
CONFIG_LOG_BUF_SHIFT=15
# CONFIG_DEBUG_BUGVERBOSE is not set
# CONFIG_PROFILE_LIKELY is not set

#
# Security options
#
CONFIG_KEYS=y
CONFIG_KEYS_DEBUG_PROC_KEYS=y
# CONFIG_INTEGRITY is not set
# CONFIG_SECURITY_FILE_CAPABILITIES is not set

#
# Cryptographic options
#
CONFIG_CRYPTO=y
CONFIG_CRYPTO_ALGAPI=y
CONFIG_CRYPTO_BLKCIPHER=y
CONFIG_CRYPTO_HASH=y
CONFIG_CRYPTO_MANAGER=y
CONFIG_CRYPTO_HMAC=y
CONFIG_CRYPTO_XCBC=m
CONFIG_CRYPTO_NULL=m
CONFIG_CRYPTO_MD4=m
CONFIG_CRYPTO_MD5=y
CONFIG_CRYPTO_SHA1=y
CONFIG_CRYPTO_SHA256=m
CONFIG_CRYPTO_SHA512=y
CONFIG_CRYPTO_WP512=m
CONFIG_CRYPTO_TGR192=m
CONFIG_CRYPTO_GF128MUL=m
CONFIG_CRYPTO_ECB=y
CONFIG_CRYPTO_CBC=y
CONFIG_CRYPTO_PCBC=m
CONFIG_CRYPTO_LRW=m
CONFIG_CRYPTO_DES=y
# CONFIG_CRYPTO_FCRYPT is not set
# CONFIG_CRYPTO_BLOWFISH is not set
CONFIG_CRYPTO_TWOFISH=m
CONFIG_CRYPTO_TWOFISH_COMMON=y
CONFIG_CRYPTO_TWOFISH_X86_64=y
CONFIG_CRYPTO_SERPENT=m
# CONFIG_CRYPTO_AES is not set
# CONFIG_CRYPTO_AES_X86_64 is not set
CONFIG_CRYPTO_CAST5=y
# CONFIG_CRYPTO_CAST6 is not set
# CONFIG_CRYPTO_TEA is not set
CONFIG_CRYPTO_ARC4=y
# CONFIG_CRYPTO_KHAZAD is not set
CONFIG_CRYPTO_ANUBIS=y
# CONFIG_CRYPTO_DEFLATE is not set
CONFIG_CRYPTO_MICHAEL_MIC=m
CONFIG_CRYPTO_CRC32C=m
# CONFIG_CRYPTO_CAMELLIA is not set
CONFIG_CRYPTO_TEST=m

#
# Hardware crypto devices
#

#
# Library routines
#
CONFIG_BITREVERSE=m
CONFIG_CRC_CCITT=y
CONFIG_CRC16=y
CONFIG_CRC32=m
# CONFIG_CRC_ITU_T is not set
CONFIG_LIBCRC32C=m
# CONFIG_EEPROM_93CX6 is not set
CONFIG_HAS_IOMEM=y
CONFIG_HAS_IOPORT=y
CONFIG_HAS_DMA=y

^ permalink raw reply	[flat|nested] 37+ messages in thread

* Re: [PATCH] ptrace needs PROC_FS
  2007-03-19 22:48     ` Roland McGrath
@ 2007-03-20 11:18       ` Pavel Machek
  0 siblings, 0 replies; 37+ messages in thread
From: Pavel Machek @ 2007-03-20 11:18 UTC (permalink / raw)
  To: Roland McGrath; +Cc: Randy Dunlap, lkml, Andrew Morton

Hi!

> Thanks, that Kconfig change seems like the simplest solution for this.

Simplest, maybe, but is it right? Ptrace should work without /proc, no?

-- 
(english) http://www.livejournal.com/~pavelmachek
(cesky, pictures) http://atrey.karlin.mff.cuni.cz/~pavel/picture/horses/blog.html

^ permalink raw reply	[flat|nested] 37+ messages in thread

* Re: 2.6.21-rc3-mm2
  2007-03-20  0:27 ` 2.6.21-rc3-mm2 Randy Dunlap
  2007-03-20  0:39   ` 2.6.21-rc3-mm2 Andrew Morton
@ 2007-03-20 12:14   ` Sam Ravnborg
  2007-03-20 15:43     ` 2.6.21-rc3-mm2 Randy Dunlap
  1 sibling, 1 reply; 37+ messages in thread
From: Sam Ravnborg @ 2007-03-20 12:14 UTC (permalink / raw)
  To: Randy Dunlap; +Cc: Andrew Morton, linux-kernel

On Mon, Mar 19, 2007 at 05:27:11PM -0700, Randy Dunlap wrote:
> On Wed, 7 Mar 2007 20:19:15 -0800 Andrew Morton wrote:
> 
> > 
> > ftp://ftp.kernel.org/pub/linux/kernel/people/akpm/patches/2.6/2.6.21-rc3/2.6.21-rc3-mm2/
> > 
> > - This is the same as 2.6.21-rc3-mm1, except Con's CPU scheduler changes
> >   were dropped.
> > 
> >   This is for A/B comparison purposes, and because those changes crashed on
> >   one test setup.
> 
> I don't quite see why this error is happening.  Looks like all
> the nested #includes should handle it...
> 
> CONFIG_KEXEC=y
> CONFIG_CRASH_DUMP=y
> CONFIG_UTRACE=y
> # PTRACE=n
> # PROC_FS=n
> 
> In file included from arch/x86_64/kernel/crash.c:19:
> include/linux/elfcore.h: In function 'elf_core_copy_regs':
> include/linux/elfcore.h:103: error: dereferencing pointer to incomplete type
> include/linux/elfcore.h:103: error: dereferencing pointer to incomplete type
> make[1]: *** [arch/x86_64/kernel/crash.o] Error 1
> make: *** [arch/x86_64/kernel] Error 2

make arch/x86_64/kernel/crash.i
may tell you a bit more why the includes foes wrong.

	Sam

^ permalink raw reply	[flat|nested] 37+ messages in thread

* Re: 2.6.21-rc3-mm2
  2007-03-20 12:14   ` 2.6.21-rc3-mm2 Sam Ravnborg
@ 2007-03-20 15:43     ` Randy Dunlap
  0 siblings, 0 replies; 37+ messages in thread
From: Randy Dunlap @ 2007-03-20 15:43 UTC (permalink / raw)
  To: Sam Ravnborg; +Cc: Andrew Morton, linux-kernel

Sam Ravnborg wrote:
> On Mon, Mar 19, 2007 at 05:27:11PM -0700, Randy Dunlap wrote:
>> On Wed, 7 Mar 2007 20:19:15 -0800 Andrew Morton wrote:
>>
>>> ftp://ftp.kernel.org/pub/linux/kernel/people/akpm/patches/2.6/2.6.21-rc3/2.6.21-rc3-mm2/
>>>
>>> - This is the same as 2.6.21-rc3-mm1, except Con's CPU scheduler changes
>>>   were dropped.
>>>
>>>   This is for A/B comparison purposes, and because those changes crashed on
>>>   one test setup.
>> I don't quite see why this error is happening.  Looks like all
>> the nested #includes should handle it...
>>
>> CONFIG_KEXEC=y
>> CONFIG_CRASH_DUMP=y
>> CONFIG_UTRACE=y
>> # PTRACE=n
>> # PROC_FS=n
>>
>> In file included from arch/x86_64/kernel/crash.c:19:
>> include/linux/elfcore.h: In function 'elf_core_copy_regs':
>> include/linux/elfcore.h:103: error: dereferencing pointer to incomplete type
>> include/linux/elfcore.h:103: error: dereferencing pointer to incomplete type
>> make[1]: *** [arch/x86_64/kernel/crash.o] Error 1
>> make: *** [arch/x86_64/kernel] Error 2
> 
> make arch/x86_64/kernel/crash.i
> may tell you a bit more why the includes foes wrong.

That didn't complain or have any errors/warnings, so hopefully
Roland can see something.

-- 
~Randy
*** Remember to use Documentation/SubmitChecklist when testing your code ***

^ permalink raw reply	[flat|nested] 37+ messages in thread

* Re: 2.6.21-rc3-mm2
  2007-03-20  0:39   ` 2.6.21-rc3-mm2 Andrew Morton
  2007-03-20  0:51     ` 2.6.21-rc3-mm2 Randy Dunlap
@ 2007-03-20 18:51     ` Roland McGrath
  1 sibling, 0 replies; 37+ messages in thread
From: Roland McGrath @ 2007-03-20 18:51 UTC (permalink / raw)
  To: Andrew Morton; +Cc: Randy Dunlap, linux-kernel

Previously <linux/ptrace.h> had #include <linux/sched.h>, and mine just had
"struct task_struct;" instead for its forward references.  asm-x86_64/elf.h
uses current->field in the ELF_CORE_COPY_REGS macro, expanded in
linux/elfcore.h in elf_core_copy_regs.  So it needs sched.h but is no
longer getting it implicitly.  Since current appears in asm-x86_64/elf.h,
there is some logic to having #include <linux/sched.h> explicit there
instead of somewhere else.  But to reduce undue perturbation, I'll just
change my patch to preserve the #include in linux/ptrace.h instead.


Thanks,
Roland

^ permalink raw reply	[flat|nested] 37+ messages in thread

end of thread, other threads:[~2007-03-20 18:51 UTC | newest]

Thread overview: 37+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2007-03-08  4:19 2.6.21-rc3-mm2 Andrew Morton
2007-03-08  7:39 ` [PATCH] fix BUG_ON check at move_freepages() (Re: 2.6.21-rc3-mm2) Yasunori Goto
2007-03-08 11:01   ` Mel Gorman
2007-03-08 14:52 ` 2.6.21-rc3-mm2 Con Kolivas
2007-03-08 21:04   ` 2.6.21-rc3-mm2 Con Kolivas
2007-03-08 21:56   ` 2.6.21-rc3: /proc broken Con Kolivas
2007-03-09  8:53     ` Russell King
2007-03-09  9:59       ` Con Kolivas
2007-03-12 12:56 ` 2.6.21-rc3-mm2 hangs my opteron during bootup, ACPI? Helge Hafting
2007-03-12 13:25   ` Luming Yu
2007-03-12 19:56     ` Len Brown
2007-03-17  0:10       ` Helge Hafting
2007-03-14  3:52 ` 2.6.21-rc3-mm2 (oops in move_freepages) Bjorn Helgaas
2007-03-14  9:44   ` Mel Gorman
2007-03-14 15:11     ` Bjorn Helgaas
2007-03-14 16:13       ` Mel Gorman
2007-03-14 16:52         ` Bjorn Helgaas
2007-03-14 17:21           ` Mel Gorman
2007-03-14 18:36             ` Bjorn Helgaas
2007-03-14 18:59               ` Mel Gorman
2007-03-14 20:46                 ` Bjorn Helgaas
2007-03-14 20:55                   ` Mel Gorman
2007-03-14 19:10               ` [PATCH] Avoid unsafe use of struct pages in move_freepages when CONFIG_HOLES_IN_ZONE is set Mel Gorman
     [not found] ` <200703141457.06489.bjorn.helgaas@hp.com>
2007-03-15  1:14   ` 2.6.21-rc3-mm2 (BUG in pci_restore_state()) Eric W. Biederman
2007-03-19 19:17 ` 2.6.21-rc3-mm2 Randy Dunlap
2007-03-19 19:55   ` 2.6.21-rc3-mm2 Andrew Morton
2007-03-19 23:01     ` 2.6.21-rc3-mm2 Kay Sievers
2007-03-19 19:40 ` 2.6.21-rc3-mm2 Randy Dunlap
2007-03-19 22:26   ` [PATCH] ptrace needs PROC_FS Randy Dunlap
2007-03-19 22:48     ` Roland McGrath
2007-03-20 11:18       ` Pavel Machek
2007-03-20  0:27 ` 2.6.21-rc3-mm2 Randy Dunlap
2007-03-20  0:39   ` 2.6.21-rc3-mm2 Andrew Morton
2007-03-20  0:51     ` 2.6.21-rc3-mm2 Randy Dunlap
2007-03-20 18:51     ` 2.6.21-rc3-mm2 Roland McGrath
2007-03-20 12:14   ` 2.6.21-rc3-mm2 Sam Ravnborg
2007-03-20 15:43     ` 2.6.21-rc3-mm2 Randy Dunlap

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.