linux-mm.kvack.org archive mirror
 help / color / mirror / Atom feed
* 2.6.25-mm1: not looking good
@ 2008-04-17 23:03 Andrew Morton
  2008-04-17 23:24 ` Greg KH
                   ` (8 more replies)
  0 siblings, 9 replies; 52+ messages in thread
From: Andrew Morton @ 2008-04-17 23:03 UTC (permalink / raw)
  To: Ingo Molnar, Thomas Gleixner, Pekka Enberg
  Cc: linux-usb, linux-kernel, linux-mm, James Morris, Stephen Smalley

I repulled all the trees an hour or two ago, installed everything on an
8-way x86_64 box and:


stack-protector:

Testing -fstack-protector-all feature
No -fstack-protector-stack-frame!
-fstack-protector-all test failed
------------[ cut here ]------------
WARNING: at kernel/panic.c:369 __stack_chk_test+0x4b/0x51()
Modules linked in:
Pid: 1, comm: swapper Not tainted 2.6.25-mm1 #4

Call Trace:
 [<ffffffff80256692>] ? print_modules+0x88/0x8f
 [<ffffffff80237b70>] warn_on_slowpath+0x58/0x7f
 [<ffffffff802388fe>] ? printk+0x67/0x69
 [<ffffffff8034ec74>] ? debug_write_lock_after+0x18/0x1f
 [<ffffffff8034ed43>] ? _raw_write_unlock+0x29/0x7b
 [<ffffffff804f0254>] ? _write_unlock+0x9/0xb
 [<ffffffff8023d25e>] ? insert_resource+0xe3/0xea
 [<ffffffff80237be2>] __stack_chk_test+0x4b/0x51
 [<ffffffff8092f912>] kernel_init+0x16c/0x29e
 [<ffffffff8020ce58>] child_rip+0xa/0x12
 [<ffffffff8092f7a6>] ? kernel_init+0x0/0x29e
 [<ffffffff8020ce4e>] ? child_rip+0x0/0x12

---[ end trace da2bc9ee81defeda ]---


usb/sysfs:

ACPI: PCI Interrupt 0000:00:1d.0[A] -> GSI 17 (level, low) -> IRQ 17
uhci_hcd 0000:00:1d.0: UHCI Host Controller
uhci_hcd 0000:00:1d.0: new USB bus registered, assigned bus number 1
uhci_hcd 0000:00:1d.0: irq 17, io base 0x00002080
usb usb1: configuration #1 chosen from 1 choice
hub 1-0:1.0: USB hub found
hub 1-0:1.0: 2 ports detected
sysfs: duplicate filename '189:0' can not be created
------------[ cut here ]------------
WARNING: at fs/sysfs/dir.c:425 sysfs_add_one+0x42/0x7c()
Modules linked in: uhci_hcd(+)
Pid: 600, comm: insmod Tainted: G        W 2.6.25-mm1 #4

Call Trace:
 [<ffffffff80256692>] ? print_modules+0x88/0x8f
 [<ffffffff80237b70>] warn_on_slowpath+0x58/0x7f
 [<ffffffff802388fe>] ? printk+0x67/0x69
 [<ffffffff804f0249>] ? _spin_unlock+0x9/0xb
 [<ffffffff802a932f>] ? ifind+0x72/0x82
 [<ffffffff802e0c49>] ? sysfs_ilookup_test+0x0/0x14
 [<ffffffff802a93b4>] ? ilookup5_nowait+0x35/0x3e
 [<ffffffff802e0ee2>] sysfs_add_one+0x42/0x7c
 [<ffffffff802e1a0f>] sysfs_create_link+0xc9/0xfd
 [<ffffffff803c1a39>] device_add+0x15d/0x581
 [<ffffffff803c1e74>] device_register+0x17/0x1b
 [<ffffffff803c1f55>] device_create+0xdd/0x110
 [<ffffffff802e1a1a>] ? sysfs_create_link+0xd4/0xfd
 [<ffffffff8034eb5f>] ? debug_spin_lock_after+0x18/0x1f
 [<ffffffff8034efec>] ? _raw_spin_lock+0x116/0x122
 [<ffffffff8042fca8>] usb_classdev_notify+0x53/0x85
 [<ffffffff804f281b>] notifier_call_chain+0x31/0x63
 [<ffffffff8024d7e1>] __blocking_notifier_call_chain+0x44/0x5e
 [<ffffffff8024d80a>] blocking_notifier_call_chain+0xf/0x11
 [<ffffffff804324ce>] usb_notify_add_device+0x18/0x1a
 [<ffffffff8043280e>] generic_probe+0x94/0x9e
 [<ffffffff803c3ae7>] ? __device_attach+0x0/0xd
 [<ffffffff8042c48f>] usb_probe_device+0x3d/0x3f
 [<ffffffff803c39e3>] driver_probe_device+0xbe/0x14b
 [<ffffffff803c3ae7>] ? __device_attach+0x0/0xd
 [<ffffffff803c3af0>] __device_attach+0x9/0xd
 [<ffffffff803c2bb5>] bus_for_each_drv+0x4a/0x7d
 [<ffffffff803c390e>] device_attach+0x61/0x78
 [<ffffffff803c2e2a>] bus_attach_device+0x28/0x5c
 [<ffffffff803c1ccf>] device_add+0x3f3/0x581
 [<ffffffff804267f3>] usb_new_device+0x4d/0x8c
 [<ffffffff80428ef2>] usb_add_hcd+0x464/0x5c2
 [<ffffffff80432d84>] usb_hcd_pci_probe+0x1e4/0x298
 [<ffffffff80356d7f>] pci_device_probe+0xde/0x137
 [<ffffffff803c39e3>] driver_probe_device+0xbe/0x14b
 [<ffffffff803c3abc>] __driver_attach+0x4c/0x77
 [<ffffffff803c3a70>] ? __driver_attach+0x0/0x77
 [<ffffffff803c291c>] bus_for_each_dev+0x4d/0x7e
 [<ffffffff80291b83>] ? __kmalloc+0x8f/0xbe
 [<ffffffff803c360b>] driver_attach+0x1c/0x1e
 [<ffffffff803c3007>] bus_add_driver+0xaf/0x1e1
 [<ffffffff803c3d6c>] driver_register+0x55/0xbd
 [<ffffffff80356b19>] __pci_register_driver+0x71/0xa9
 [<ffffffffa000f07e>] :uhci_hcd:uhci_hcd_init+0x7e/0xae
 [<ffffffff80258435>] sys_init_module+0x18ae/0x19f5
 [<ffffffff8026855a>] ? __raw_local_irq_save+0xc/0x12
 [<ffffffff80356b51>] ? pci_unregister_driver+0x0/0x78
 [<ffffffff8020c03b>] system_call_after_swapgs+0x7b/0x80

---[ end trace da2bc9ee81defeda ]---

more usb/sysfs:

hub 2-0:1.0: USB hub found
hub 2-0:1.0: 2 ports detected
sysfs: duplicate filename '189:128' can not be created
------------[ cut here ]------------
WARNING: at fs/sysfs/dir.c:425 sysfs_add_one+0x42/0x7c()
Modules linked in: uhci_hcd(+)
Pid: 600, comm: insmod Tainted: G        W 2.6.25-mm1 #4

Call Trace:
 [<ffffffff80256692>] ? print_modules+0x88/0x8f
 [<ffffffff80237b70>] warn_on_slowpath+0x58/0x7f
 [<ffffffff802388fe>] ? printk+0x67/0x69
 [<ffffffff804f0249>] ? _spin_unlock+0x9/0xb
 [<ffffffff802a932f>] ? ifind+0x72/0x82
 [<ffffffff802e0c49>] ? sysfs_ilookup_test+0x0/0x14
 [<ffffffff802a93b4>] ? ilookup5_nowait+0x35/0x3e
 [<ffffffff802e0ee2>] sysfs_add_one+0x42/0x7c
 [<ffffffff802e1a0f>] sysfs_create_link+0xc9/0xfd
 [<ffffffff803c1a39>] device_add+0x15d/0x581
 [<ffffffff803c1e74>] device_register+0x17/0x1b
 [<ffffffff803c1f55>] device_create+0xdd/0x110
 [<ffffffff802e1a1a>] ? sysfs_create_link+0xd4/0xfd
 [<ffffffff8034eb5f>] ? debug_spin_lock_after+0x18/0x1f
 [<ffffffff8034efec>] ? _raw_spin_lock+0x116/0x122


After 10 or fifteen minutes uptime, slab declared game over:

kernel BUG at mm/slab.c:590!
invalid opcode: 0000 [1] SMP 
last sysfs file: /sys/devices/pci0000:00/0000:00:02.0/0000:01:00.0/0000:02:02.0/0000:05:00.1/irq
CPU 5 
Modules linked in: nfsd auth_rpcgss exportfs lockd nfs_acl autofs4 hidp rfcomm l2cap bluetooth sunrpc ipv6 dm_mirror dm_log dm_multipath dm_mod sbs sbshc battery ac parport_pc lp parport sg floppy snd_hda_intel snd_seq_dummy ide_cd_mod cdrom snd_seq_oss snd_seq_midi_event snd_seq serio_raw snd_seq_device snd_pcm_oss snd_mixer_oss snd_pcm snd_timer i2c_i801 snd button soundcore i2c_core snd_page_alloc shpchp pcspkr ehci_hcd ohci_hcd uhci_hcd
Pid: 0, comm: swapper Tainted: G        W 2.6.25-mm1 #4
RIP: 0010:[<ffffffff8028fea8>]  [<ffffffff8028fea8>] page_get_cache+0x19/0x24
RSP: 0018:ffff81025f22fe88  EFLAGS: 00010046
RAX: 0000000000000000 RBX: ffffe20000028440 RCX: 0000000000000007
RDX: 0000000000000000 RSI: ffffe20000028440 RDI: 0000000000000040
RBP: ffff81025f22fe90 R08: 0000000000000006 R09: ffff810001080fe8
R10: ffff8100010b7a40 R11: ffff8100010b7a28 R12: 0000000000000282
R13: 0000000000000001 R14: 0000000000000001 R15: 0000000000000000
FS:  0000000000000000(0000) GS:ffff81025f1616c0(0000) knlGS:0000000000000000
CS:  0010 DS: 0018 ES: 0018 CR0: 000000008005003b
CR2: 0000003e5f0948f0 CR3: 000000024a01e000 CR4: 00000000000006e0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000ffff0ff0 DR7: 0000000000000400
Process swapper (pid: 0, threadinfo ffff81025f22a000, task ffff81025f2294a0)
Stack:  ffffffff80a11690 ffff81025f22fea0 ffffffff8028fec4 ffff81025f22fec0
 ffffffff802909af 0000000000000000 ffff8100010b4820 ffff81025f22fed0
 ffffffff80327789 ffff81025f22ff00 ffffffff80268932 0000000000000001
Call Trace:
 <IRQ>  [<ffffffff8028fec4>] virt_to_cache+0x11/0x13
 [<ffffffff802909af>] kfree+0x20/0x38
 [<ffffffff80327789>] sel_netnode_free+0xd/0xf
 [<ffffffff80268932>] __rcu_process_callbacks+0x147/0x1b6
 [<ffffffff802689c4>] rcu_process_callbacks+0x23/0x44
 [<ffffffff8023cc04>] __do_softirq+0x58/0xae
 [<ffffffff8020d1cc>] call_softirq+0x1c/0x28
 [<ffffffff8020ed5c>] do_softirq+0x2f/0x6f
 [<ffffffff8023c72e>] irq_exit+0x36/0x38
 [<ffffffff8021dedc>] smp_apic_timer_interrupt+0x74/0x81
 [<ffffffff8020cc76>] apic_timer_interrupt+0x66/0x70
 <EOI>  [<ffffffff8020a2e1>] ? mwait_idle+0x38/0x42
 [<ffffffff8020a2a9>] ? mwait_idle+0x0/0x42
 [<ffffffff8020b2ff>] ? cpu_idle+0xcb/0xe0
 [<ffffffff804eaefe>] ? start_secondary+0xb2/0xb4


Code: 3a 48 69 c0 80 0e 00 00 48 03 04 d5 00 35 92 80 c9 c3 55 48 89 e5 53 e8 87 ff ff ff 48 89 c7 48 89 c3 e8 69 ff ff ff 85 c0 75 04 <0f> 0b eb fe 48 8b 43 30 5b c9 c3 55 48 89 e5 e8 87 ff ff ff 48 
RIP  [<ffffffff8028fea8>] page_get_cache+0x19/0x24
 RSP <ffff81025f22fe88>

security/selinux/netnode.c looks to be doing simple old kzalloc/kfree, so
I'd be suspecting slab.  But there are significant changes netnode.c in
git-selinux.

config: http://userweb.kernel.org/~akpm/config-akpm2.txt
dmesg: http://userweb.kernel.org/~akpm/dmesg-2.6.25-mm1.txt
full tree: http://userweb.kernel.org/~akpm/mmotm/

I have maybe two hours in which to weed out whatever very-recently-added
dud patches are causing this.  Any suggestions are welcome.

--
To unsubscribe, send a message with 'unsubscribe linux-mm' in
the body to majordomo@kvack.org.  For more info on Linux MM,
see: http://www.linux-mm.org/ .
Don't email: <a href=mailto:"dont@kvack.org"> email@kvack.org </a>

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

* Re: 2.6.25-mm1: not looking good
  2008-04-17 23:03 2.6.25-mm1: not looking good Andrew Morton
@ 2008-04-17 23:24 ` Greg KH
  2008-04-18  0:48   ` Kay Sievers
  2008-04-17 23:24 ` Dan Williams
                   ` (7 subsequent siblings)
  8 siblings, 1 reply; 52+ messages in thread
From: Greg KH @ 2008-04-17 23:24 UTC (permalink / raw)
  To: Andrew Morton
  Cc: Ingo Molnar, Thomas Gleixner, Pekka Enberg, linux-usb,
	linux-kernel, linux-mm, James Morris, Stephen Smalley

On Thu, Apr 17, 2008 at 04:03:31PM -0700, Andrew Morton wrote:
> 
> I repulled all the trees an hour or two ago, installed everything on an
> 8-way x86_64 box and:
> 
> 
> stack-protector:
> 
> Testing -fstack-protector-all feature
> No -fstack-protector-stack-frame!
> -fstack-protector-all test failed
> ------------[ cut here ]------------
> WARNING: at kernel/panic.c:369 __stack_chk_test+0x4b/0x51()
> Modules linked in:
> Pid: 1, comm: swapper Not tainted 2.6.25-mm1 #4
> 
> Call Trace:
>  [<ffffffff80256692>] ? print_modules+0x88/0x8f
>  [<ffffffff80237b70>] warn_on_slowpath+0x58/0x7f
>  [<ffffffff802388fe>] ? printk+0x67/0x69
>  [<ffffffff8034ec74>] ? debug_write_lock_after+0x18/0x1f
>  [<ffffffff8034ed43>] ? _raw_write_unlock+0x29/0x7b
>  [<ffffffff804f0254>] ? _write_unlock+0x9/0xb
>  [<ffffffff8023d25e>] ? insert_resource+0xe3/0xea
>  [<ffffffff80237be2>] __stack_chk_test+0x4b/0x51
>  [<ffffffff8092f912>] kernel_init+0x16c/0x29e
>  [<ffffffff8020ce58>] child_rip+0xa/0x12
>  [<ffffffff8092f7a6>] ? kernel_init+0x0/0x29e
>  [<ffffffff8020ce4e>] ? child_rip+0x0/0x12
> 
> ---[ end trace da2bc9ee81defeda ]---
> 
> 
> usb/sysfs:
> 
> ACPI: PCI Interrupt 0000:00:1d.0[A] -> GSI 17 (level, low) -> IRQ 17
> uhci_hcd 0000:00:1d.0: UHCI Host Controller
> uhci_hcd 0000:00:1d.0: new USB bus registered, assigned bus number 1
> uhci_hcd 0000:00:1d.0: irq 17, io base 0x00002080
> usb usb1: configuration #1 chosen from 1 choice
> hub 1-0:1.0: USB hub found
> hub 1-0:1.0: 2 ports detected
> sysfs: duplicate filename '189:0' can not be created

Interesting, that's the new major:minor code.  I'll go poke at it...

thanks,

greg k-h

--
To unsubscribe, send a message with 'unsubscribe linux-mm' in
the body to majordomo@kvack.org.  For more info on Linux MM,
see: http://www.linux-mm.org/ .
Don't email: <a href=mailto:"dont@kvack.org"> email@kvack.org </a>

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

* Re: 2.6.25-mm1: not looking good
  2008-04-17 23:03 2.6.25-mm1: not looking good Andrew Morton
  2008-04-17 23:24 ` Greg KH
@ 2008-04-17 23:24 ` Dan Williams
  2008-04-17 23:40 ` Andrew Morton
                   ` (6 subsequent siblings)
  8 siblings, 0 replies; 52+ messages in thread
From: Dan Williams @ 2008-04-17 23:24 UTC (permalink / raw)
  To: Andrew Morton
  Cc: Ingo Molnar, Thomas Gleixner, Pekka Enberg, linux-usb,
	linux-kernel, linux-mm, James Morris, Stephen Smalley

On Thu, Apr 17, 2008 at 4:03 PM, Andrew Morton
<akpm@linux-foundation.org> wrote:
>
>  I repulled all the trees an hour or two ago, installed everything on an
>  8-way x86_64 box and:
>
>
[..]
>  more usb/sysfs:
>
>  hub 2-0:1.0: USB hub found
>  hub 2-0:1.0: 2 ports detected
>  sysfs: duplicate filename '189:128' can not be created
[..]
>  I have maybe two hours in which to weed out whatever very-recently-added
>  dud patches are causing this.  Any suggestions are welcome.
>

The duplicate filename <major>:<minor> messages are coming from
"sysfs-add-sys-dev-char-block-to-lookup-sysfs-path-by-major-minor.patch"
now in Greg's tree.  I'll take a look.

--
Dan

--
To unsubscribe, send a message with 'unsubscribe linux-mm' in
the body to majordomo@kvack.org.  For more info on Linux MM,
see: http://www.linux-mm.org/ .
Don't email: <a href=mailto:"dont@kvack.org"> email@kvack.org </a>

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

* Re: 2.6.25-mm1: not looking good
  2008-04-17 23:03 2.6.25-mm1: not looking good Andrew Morton
  2008-04-17 23:24 ` Greg KH
  2008-04-17 23:24 ` Dan Williams
@ 2008-04-17 23:40 ` Andrew Morton
  2008-04-18  0:14   ` Andrew Morton
  2008-04-17 23:55 ` Paul Moore
                   ` (5 subsequent siblings)
  8 siblings, 1 reply; 52+ messages in thread
From: Andrew Morton @ 2008-04-17 23:40 UTC (permalink / raw)
  To: mingo, tglx, penberg, linux-usb, linux-kernel, linux-mm, jmorris, sds

On Thu, 17 Apr 2008 16:03:31 -0700
Andrew Morton <akpm@linux-foundation.org> wrote:

> 
> I have maybe two hours in which to weed out whatever very-recently-added
> dud patches are causing this.  Any suggestions are welcome.
> 

With git-selinux at top-of tree it's repeatably hanging in the CPA
self-tests (git-x86 stuff).  Last two lines are:

CPA self-test:
 4k 8704 large 4847 gb 0 x 0[0-0] miss 0

(clear as mud ;))

I will find the config knob to disable that test.  Of course, it could be
telling me that CPA is buggy.

--
To unsubscribe, send a message with 'unsubscribe linux-mm' in
the body to majordomo@kvack.org.  For more info on Linux MM,
see: http://www.linux-mm.org/ .
Don't email: <a href=mailto:"dont@kvack.org"> email@kvack.org </a>

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

* Re: 2.6.25-mm1: not looking good
  2008-04-17 23:03 2.6.25-mm1: not looking good Andrew Morton
                   ` (2 preceding siblings ...)
  2008-04-17 23:40 ` Andrew Morton
@ 2008-04-17 23:55 ` Paul Moore
  2008-04-18  0:04   ` Andrew Morton
  2008-04-18  1:35   ` Andrew Morton
  2008-04-18  5:49 ` Arjan van de Ven
                   ` (4 subsequent siblings)
  8 siblings, 2 replies; 52+ messages in thread
From: Paul Moore @ 2008-04-17 23:55 UTC (permalink / raw)
  To: Andrew Morton
  Cc: Ingo Molnar, Thomas Gleixner, Pekka Enberg, linux-usb,
	linux-kernel, linux-mm, James Morris, Stephen Smalley

On Thursday 17 April 2008 7:03:31 pm Andrew Morton wrote:
> I repulled all the trees an hour or two ago, installed everything on
> an 8-way x86_64 box and:

...

> ffffffff80268932 0000000000000001 Call Trace:
>  <IRQ>  [<ffffffff8028fec4>] virt_to_cache+0x11/0x13
>  [<ffffffff802909af>] kfree+0x20/0x38
>  [<ffffffff80327789>] sel_netnode_free+0xd/0xf
>  [<ffffffff80268932>] __rcu_process_callbacks+0x147/0x1b6
>  [<ffffffff802689c4>] rcu_process_callbacks+0x23/0x44
>  [<ffffffff8023cc04>] __do_softirq+0x58/0xae
>  [<ffffffff8020d1cc>] call_softirq+0x1c/0x28
>  [<ffffffff8020ed5c>] do_softirq+0x2f/0x6f
>  [<ffffffff8023c72e>] irq_exit+0x36/0x38
>  [<ffffffff8021dedc>] smp_apic_timer_interrupt+0x74/0x81
>  [<ffffffff8020cc76>] apic_timer_interrupt+0x66/0x70
>  <EOI>  [<ffffffff8020a2e1>] ? mwait_idle+0x38/0x42
>  [<ffffffff8020a2a9>] ? mwait_idle+0x0/0x42
>  [<ffffffff8020b2ff>] ? cpu_idle+0xcb/0xe0
>  [<ffffffff804eaefe>] ? start_secondary+0xb2/0xb4
>
>
> Code: 3a 48 69 c0 80 0e 00 00 48 03 04 d5 00 35 92 80 c9 c3 55 48 89
> e5 53 e8 87 ff ff ff 48 89 c7 48 89 c3 e8 69 ff ff ff 85 c0 75 04
> <0f> 0b eb fe 48 8b 43 30 5b c9 c3 55 48 89 e5 e8 87 ff ff ff 48 RIP 
> [<ffffffff8028fea8>] page_get_cache+0x19/0x24
>  RSP <ffff81025f22fe88>
>
> security/selinux/netnode.c looks to be doing simple old
> kzalloc/kfree, so I'd be suspecting slab.  But there are significant
> changes netnode.c in git-selinux.
>
> I have maybe two hours in which to weed out whatever
> very-recently-added dud patches are causing this.  Any suggestions
> are welcome.

For what it's worth I just looked over the changes in netnode.c and 
nothing is jumping out at me.  The changes ran fine for me when tested 
on the later 2.6.25-rcX kernels but I suppose that doesn't mean a whole 
lot.

I've got a 4-way x86_64 box but it needs to be installed (which means 
I'm not going to be able to do anything useful with it until tomorrow 
at the earliest).  I'll try it out and see if I can recreate the 
problem.

-- 
paul moore
linux @ hp

--
To unsubscribe, send a message with 'unsubscribe linux-mm' in
the body to majordomo@kvack.org.  For more info on Linux MM,
see: http://www.linux-mm.org/ .
Don't email: <a href=mailto:"dont@kvack.org"> email@kvack.org </a>

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

* Re: 2.6.25-mm1: not looking good
  2008-04-17 23:55 ` Paul Moore
@ 2008-04-18  0:04   ` Andrew Morton
  2008-04-18 14:55     ` Paul Moore
  2008-04-18  1:35   ` Andrew Morton
  1 sibling, 1 reply; 52+ messages in thread
From: Andrew Morton @ 2008-04-18  0:04 UTC (permalink / raw)
  To: Paul Moore
  Cc: mingo, tglx, penberg, linux-usb, linux-kernel, linux-mm, jmorris, sds

On Thu, 17 Apr 2008 19:55:46 -0400
Paul Moore <paul.moore@hp.com> wrote:

> For what it's worth I just looked over the changes in netnode.c and 
> nothing is jumping out at me.  The changes ran fine for me when tested 
> on the later 2.6.25-rcX kernels but I suppose that doesn't mean a whole 
> lot.

Perhaps it was tested only against slub?  That config uses slab.

--
To unsubscribe, send a message with 'unsubscribe linux-mm' in
the body to majordomo@kvack.org.  For more info on Linux MM,
see: http://www.linux-mm.org/ .
Don't email: <a href=mailto:"dont@kvack.org"> email@kvack.org </a>

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

* Re: 2.6.25-mm1: not looking good
  2008-04-17 23:40 ` Andrew Morton
@ 2008-04-18  0:14   ` Andrew Morton
  2008-04-18  3:05     ` Jason Wessel
  0 siblings, 1 reply; 52+ messages in thread
From: Andrew Morton @ 2008-04-18  0:14 UTC (permalink / raw)
  To: mingo, tglx, penberg, linux-usb, linux-kernel, linux-mm, jmorris, sds

On Thu, 17 Apr 2008 16:40:34 -0700
Andrew Morton <akpm@linux-foundation.org> wrote:

> On Thu, 17 Apr 2008 16:03:31 -0700
> Andrew Morton <akpm@linux-foundation.org> wrote:
> 
> > 
> > I have maybe two hours in which to weed out whatever very-recently-added
> > dud patches are causing this.  Any suggestions are welcome.
> > 
> 
> With git-selinux at top-of tree it's repeatably hanging in the CPA
> self-tests (git-x86 stuff).  Last two lines are:
> 
> CPA self-test:
>  4k 8704 large 4847 gb 0 x 0[0-0] miss 0
> 
> (clear as mud ;))
> 
> I will find the config knob to disable that test.  Of course, it could be
> telling me that CPA is buggy.

Disabling CPA_DEBUG didn't help.  It's still hanging.  The final initcall
is init_kgdbts() and disabling KGDB prevents the hang.

--
To unsubscribe, send a message with 'unsubscribe linux-mm' in
the body to majordomo@kvack.org.  For more info on Linux MM,
see: http://www.linux-mm.org/ .
Don't email: <a href=mailto:"dont@kvack.org"> email@kvack.org </a>

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

* Re: 2.6.25-mm1: not looking good
  2008-04-17 23:24 ` Greg KH
@ 2008-04-18  0:48   ` Kay Sievers
  2008-04-18  1:12     ` Andrew Morton
  2008-04-18  4:07     ` Andrew Morton
  0 siblings, 2 replies; 52+ messages in thread
From: Kay Sievers @ 2008-04-18  0:48 UTC (permalink / raw)
  To: Greg KH
  Cc: Andrew Morton, Ingo Molnar, Thomas Gleixner, Pekka Enberg,
	linux-usb, linux-kernel, linux-mm, James Morris, Stephen Smalley

On Fri, Apr 18, 2008 at 1:24 AM, Greg KH <greg@kroah.com> wrote:
>
> On Thu, Apr 17, 2008 at 04:03:31PM -0700, Andrew Morton wrote:
>  >
>  > I repulled all the trees an hour or two ago, installed everything on an
>  > 8-way x86_64 box and:

>  > usb/sysfs:
>  >
>  > ACPI: PCI Interrupt 0000:00:1d.0[A] -> GSI 17 (level, low) -> IRQ 17
>  > uhci_hcd 0000:00:1d.0: UHCI Host Controller
>  > uhci_hcd 0000:00:1d.0: new USB bus registered, assigned bus number 1
>  > uhci_hcd 0000:00:1d.0: irq 17, io base 0x00002080
>  > usb usb1: configuration #1 chosen from 1 choice
>  > hub 1-0:1.0: USB hub found
>  > hub 1-0:1.0: 2 ports detected
>  > sysfs: duplicate filename '189:0' can not be created
>
>  Interesting, that's the new major:minor code.  I'll go poke at it...

Is this with the deprecated CONFIG_USB_DEVICE_CLASS=y? They have the
same dev_t as usb_device and would be a reason for the duplicates.

Thanks,
Kay

--
To unsubscribe, send a message with 'unsubscribe linux-mm' in
the body to majordomo@kvack.org.  For more info on Linux MM,
see: http://www.linux-mm.org/ .
Don't email: <a href=mailto:"dont@kvack.org"> email@kvack.org </a>

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

* Re: 2.6.25-mm1: not looking good
  2008-04-18  0:48   ` Kay Sievers
@ 2008-04-18  1:12     ` Andrew Morton
  2008-04-18  4:07     ` Andrew Morton
  1 sibling, 0 replies; 52+ messages in thread
From: Andrew Morton @ 2008-04-18  1:12 UTC (permalink / raw)
  To: Kay Sievers
  Cc: greg, mingo, tglx, penberg, linux-usb, linux-kernel, linux-mm,
	jmorris, sds

On Fri, 18 Apr 2008 02:48:19 +0200
"Kay Sievers" <kay.sievers@vrfy.org> wrote:

> On Fri, Apr 18, 2008 at 1:24 AM, Greg KH <greg@kroah.com> wrote:
> >
> > On Thu, Apr 17, 2008 at 04:03:31PM -0700, Andrew Morton wrote:
> >  >
> >  > I repulled all the trees an hour or two ago, installed everything on an
> >  > 8-way x86_64 box and:
> 
> >  > usb/sysfs:
> >  >
> >  > ACPI: PCI Interrupt 0000:00:1d.0[A] -> GSI 17 (level, low) -> IRQ 17
> >  > uhci_hcd 0000:00:1d.0: UHCI Host Controller
> >  > uhci_hcd 0000:00:1d.0: new USB bus registered, assigned bus number 1
> >  > uhci_hcd 0000:00:1d.0: irq 17, io base 0x00002080
> >  > usb usb1: configuration #1 chosen from 1 choice
> >  > hub 1-0:1.0: USB hub found
> >  > hub 1-0:1.0: 2 ports detected
> >  > sysfs: duplicate filename '189:0' can not be created
> >
> >  Interesting, that's the new major:minor code.  I'll go poke at it...
> 
> Is this with the deprecated CONFIG_USB_DEVICE_CLASS=y?

Yes.

> They have the
> same dev_t as usb_device and would be a reason for the duplicates.
> 

--
To unsubscribe, send a message with 'unsubscribe linux-mm' in
the body to majordomo@kvack.org.  For more info on Linux MM,
see: http://www.linux-mm.org/ .
Don't email: <a href=mailto:"dont@kvack.org"> email@kvack.org </a>

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

* Re: 2.6.25-mm1: not looking good
  2008-04-17 23:55 ` Paul Moore
  2008-04-18  0:04   ` Andrew Morton
@ 2008-04-18  1:35   ` Andrew Morton
  2008-04-18 14:57     ` Paul Moore
  1 sibling, 1 reply; 52+ messages in thread
From: Andrew Morton @ 2008-04-18  1:35 UTC (permalink / raw)
  To: Paul Moore
  Cc: mingo, tglx, penberg, linux-usb, linux-kernel, linux-mm, jmorris, sds

On Thu, 17 Apr 2008 19:55:46 -0400
Paul Moore <paul.moore@hp.com> wrote:

> > security/selinux/netnode.c looks to be doing simple old
> > kzalloc/kfree, so I'd be suspecting slab.  But there are significant
> > changes netnode.c in git-selinux.
> >
> > I have maybe two hours in which to weed out whatever
> > very-recently-added dud patches are causing this.  Any suggestions
> > are welcome.
> 
> For what it's worth I just looked over the changes in netnode.c and 
> nothing is jumping out at me.  The changes ran fine for me when tested 
> on the later 2.6.25-rcX kernels but I suppose that doesn't mean a whole 
> lot.
> 
> I've got a 4-way x86_64 box but it needs to be installed (which means 
> I'm not going to be able to do anything useful with it until tomorrow 
> at the earliest).  I'll try it out and see if I can recreate the 
> problem.

I dropped git-selinux and that crash seems to have gone away.  It took about
five minutes before, but would presumably have happened earlier if I'd
reduced the cache size.

btw, wouldn't this

--- a/security/selinux/netnode.c~a
+++ a/security/selinux/netnode.c
@@ -190,7 +190,7 @@ static int sel_netnode_insert(struct sel
 	if (sel_netnode_hash[idx].size == SEL_NETNODE_HASH_BKT_LIMIT) {
 		struct sel_netnode *tail;
 		tail = list_entry(node->list.prev, struct sel_netnode, list);
-		list_del_rcu(node->list.prev);
+		list_del_rcu(&tail->list);
 		call_rcu(&tail->rcu, sel_netnode_free);
 	} else
 		sel_netnode_hash[idx].size++;
_

be a bit clearer?  If it's correct - I didn't try too hard :)

--
To unsubscribe, send a message with 'unsubscribe linux-mm' in
the body to majordomo@kvack.org.  For more info on Linux MM,
see: http://www.linux-mm.org/ .
Don't email: <a href=mailto:"dont@kvack.org"> email@kvack.org </a>

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

* Re: 2.6.25-mm1: not looking good
  2008-04-18  0:14   ` Andrew Morton
@ 2008-04-18  3:05     ` Jason Wessel
  2008-04-18  7:37       ` Ingo Molnar
  0 siblings, 1 reply; 52+ messages in thread
From: Jason Wessel @ 2008-04-18  3:05 UTC (permalink / raw)
  To: Andrew Morton
  Cc: mingo, tglx, penberg, linux-usb, linux-kernel, linux-mm, jmorris, sds

Andrew Morton wrote:
> On Thu, 17 Apr 2008 16:40:34 -0700
> Andrew Morton <akpm@linux-foundation.org> wrote:
>
>> On Thu, 17 Apr 2008 16:03:31 -0700
>> Andrew Morton <akpm@linux-foundation.org> wrote:
>>
>>> I have maybe two hours in which to weed out whatever very-recently-added
>>> dud patches are causing this.  Any suggestions are welcome.
>>>
>> With git-selinux at top-of tree it's repeatably hanging in the CPA
>> self-tests (git-x86 stuff).  Last two lines are:
>>
>> CPA self-test:
>>  4k 8704 large 4847 gb 0 x 0[0-0] miss 0
>>
>> (clear as mud ;))
>>
>> I will find the config knob to disable that test.  Of course, it could be
>> telling me that CPA is buggy.
>
> Disabling CPA_DEBUG didn't help.  It's still hanging.  The final initcall
> is init_kgdbts() and disabling KGDB prevents the hang.

In this case you do not have to disable kgdb, but just disable the
kgdb test suite.  Certainly I would be interested to know where it is
failing as it would indicate that there is a regression that is caused
by a change that occurred somewhere else in the kernel or a latent
defect in kgdb was triggered.  The kgdb test suite exercises a number
of kernel fault systems as well as arch specific single stepping when
it runs and when it fails it is likely worth it to track down which
test failed and why.

If you are looking to bypass the kgdb test suite you have two options.

The kernel option that runs the tests on boot (which is not on by
default) is CONFIG_KGDB_TESTS_ON_BOOT, and make sure this is off.

You can turn off the tests in an already compiled kernel that had the
testing turned on with boot by adding the boot argument with nothing
on the other side of the = sign of the kgdbts paramter.  Like:

kgdbts=


In terms of debugging what happened, if you have console output you
can save, please do send me the output of kernel boot with the kernel
boot argument:

kgdbts=V2

That enables verbose logging of exactly what is going on and will show
where wheels fall off the cart.  If the kernel is dying silently it
means the early exception code has completely failed in some way on
the kernel architecture that was selected, and of course the .config
is always useful in this case.

Thanks,
Jason.

--
To unsubscribe, send a message with 'unsubscribe linux-mm' in
the body to majordomo@kvack.org.  For more info on Linux MM,
see: http://www.linux-mm.org/ .
Don't email: <a href=mailto:"dont@kvack.org"> email@kvack.org </a>

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

* Re: 2.6.25-mm1: not looking good
  2008-04-18  0:48   ` Kay Sievers
  2008-04-18  1:12     ` Andrew Morton
@ 2008-04-18  4:07     ` Andrew Morton
  1 sibling, 0 replies; 52+ messages in thread
From: Andrew Morton @ 2008-04-18  4:07 UTC (permalink / raw)
  To: Kay Sievers
  Cc: Greg KH, Ingo Molnar, Thomas Gleixner, Pekka Enberg, linux-usb,
	linux-kernel, linux-mm, James Morris, Stephen Smalley,
	Alexey Dobriyan

On Fri, 18 Apr 2008 02:48:19 +0200 "Kay Sievers" <kay.sievers@vrfy.org> wrote:

> On Fri, Apr 18, 2008 at 1:24 AM, Greg KH <greg@kroah.com> wrote:
> >
> > On Thu, Apr 17, 2008 at 04:03:31PM -0700, Andrew Morton wrote:
> >  >
> >  > I repulled all the trees an hour or two ago, installed everything on an
> >  > 8-way x86_64 box and:
> 
> >  > usb/sysfs:
> >  >
> >  > ACPI: PCI Interrupt 0000:00:1d.0[A] -> GSI 17 (level, low) -> IRQ 17
> >  > uhci_hcd 0000:00:1d.0: UHCI Host Controller
> >  > uhci_hcd 0000:00:1d.0: new USB bus registered, assigned bus number 1
> >  > uhci_hcd 0000:00:1d.0: irq 17, io base 0x00002080
> >  > usb usb1: configuration #1 chosen from 1 choice
> >  > hub 1-0:1.0: USB hub found
> >  > hub 1-0:1.0: 2 ports detected
> >  > sysfs: duplicate filename '189:0' can not be created
> >
> >  Interesting, that's the new major:minor code.  I'll go poke at it...
> 
> Is this with the deprecated CONFIG_USB_DEVICE_CLASS=y? They have the
> same dev_t as usb_device and would be a reason for the duplicates.

The mac g5 is warning us about stuff too:

io scheduler deadline registered
io scheduler cfq registered
io scheduler bfq registered
proc_dir_entry '00' already registered
Call Trace:
[c00000017a0fbb80] [c000000000012018] .show_stack+0x58/0x1dc (unreliable)
[c00000017a0fbc30] [c00000000013f68c] .proc_register+0x218/0x260
[c00000017a0fbce0] [c00000000013fab8] .proc_mkdir_mode+0x40/0x74
[c00000017a0fbd60] [c0000000001f49a8] .pci_proc_attach_device+0x90/0x134
[c00000017a0fbe00] [c0000000005f0084] .pci_proc_init+0x68/0xa0
[c00000017a0fbe80] [c0000000005cbc94] .kernel_init+0x1ec/0x430
[c00000017a0fbf90] [c000000000026fc0] .kernel_thread+0x4c/0x68
nvidiafb: Device ID: 10de0141 
nvidiafb: CRTC0 analog not found

http://userweb.kernel.org/~akpm/config-g5.txt
http://userweb.kernel.org/~akpm/dmesg-g5.txt

--
To unsubscribe, send a message with 'unsubscribe linux-mm' in
the body to majordomo@kvack.org.  For more info on Linux MM,
see: http://www.linux-mm.org/ .
Don't email: <a href=mailto:"dont@kvack.org"> email@kvack.org </a>

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

* Re: 2.6.25-mm1: not looking good
  2008-04-17 23:03 2.6.25-mm1: not looking good Andrew Morton
                   ` (3 preceding siblings ...)
  2008-04-17 23:55 ` Paul Moore
@ 2008-04-18  5:49 ` Arjan van de Ven
  2008-04-18  6:10   ` Andrew Morton
  2008-04-18  6:40 ` Pekka Enberg
                   ` (3 subsequent siblings)
  8 siblings, 1 reply; 52+ messages in thread
From: Arjan van de Ven @ 2008-04-18  5:49 UTC (permalink / raw)
  To: Andrew Morton
  Cc: Ingo Molnar, Thomas Gleixner, Pekka Enberg, linux-usb,
	linux-kernel, linux-mm, James Morris, Stephen Smalley

On Thu, 17 Apr 2008 16:03:31 -0700
Andrew Morton <akpm@linux-foundation.org> wrote:

> 
> I repulled all the trees an hour or two ago, installed everything on
> an 8-way x86_64 box and:
> 
> 
> stack-protector:
> 
> Testing -fstack-protector-all feature
> No -fstack-protector-stack-frame!
> -fstack-protector-all test failed

do you have a stack-protector capable GCC? I guess not.

This is a catch-22. You do not have stack-protector. Should we make that 
a silent failure? or do you want to know that you don't have a security
feature you thought you had.... complaining seems to be the right thing to do imo.



-- 
If you want to reach me at my work email, use arjan@linux.intel.com
For development, discussion and tips for power savings, 
visit http://www.lesswatts.org

--
To unsubscribe, send a message with 'unsubscribe linux-mm' in
the body to majordomo@kvack.org.  For more info on Linux MM,
see: http://www.linux-mm.org/ .
Don't email: <a href=mailto:"dont@kvack.org"> email@kvack.org </a>

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

* Re: 2.6.25-mm1: not looking good
  2008-04-18  5:49 ` Arjan van de Ven
@ 2008-04-18  6:10   ` Andrew Morton
  2008-04-18  7:19     ` Ingo Molnar
  0 siblings, 1 reply; 52+ messages in thread
From: Andrew Morton @ 2008-04-18  6:10 UTC (permalink / raw)
  To: Arjan van de Ven
  Cc: Ingo Molnar, Thomas Gleixner, Pekka Enberg, linux-usb,
	linux-kernel, linux-mm, James Morris, Stephen Smalley

On Thu, 17 Apr 2008 22:49:08 -0700 Arjan van de Ven <arjan@infradead.org> wrote:

> On Thu, 17 Apr 2008 16:03:31 -0700
> Andrew Morton <akpm@linux-foundation.org> wrote:
> 
> > 
> > I repulled all the trees an hour or two ago, installed everything on
> > an 8-way x86_64 box and:
> > 
> > 
> > stack-protector:
> > 
> > Testing -fstack-protector-all feature
> > No -fstack-protector-stack-frame!
> > -fstack-protector-all test failed
> 
> do you have a stack-protector capable GCC? I guess not.
> 
> This is a catch-22. You do not have stack-protector. Should we make that 
> a silent failure? or do you want to know that you don't have a security
> feature you thought you had.... complaining seems to be the right thing to do imo.

A #warning sounds more appropriate.

--
To unsubscribe, send a message with 'unsubscribe linux-mm' in
the body to majordomo@kvack.org.  For more info on Linux MM,
see: http://www.linux-mm.org/ .
Don't email: <a href=mailto:"dont@kvack.org"> email@kvack.org </a>

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

* Re: 2.6.25-mm1: not looking good
  2008-04-17 23:03 2.6.25-mm1: not looking good Andrew Morton
                   ` (4 preceding siblings ...)
  2008-04-18  5:49 ` Arjan van de Ven
@ 2008-04-18  6:40 ` Pekka Enberg
  2008-04-18  6:56   ` Andrew Morton
  2008-04-18  7:24   ` Ingo Molnar
  2008-04-18  7:09 ` Ingo Molnar
                   ` (2 subsequent siblings)
  8 siblings, 2 replies; 52+ messages in thread
From: Pekka Enberg @ 2008-04-18  6:40 UTC (permalink / raw)
  To: Andrew Morton
  Cc: Ingo Molnar, Thomas Gleixner, linux-usb, linux-kernel, linux-mm,
	James Morris, Stephen Smalley

On Fri, Apr 18, 2008 at 2:03 AM, Andrew Morton
<akpm@linux-foundation.org> wrote:
>  After 10 or fifteen minutes uptime, slab declared game over:
>
>  kernel BUG at mm/slab.c:590!
>  invalid opcode: 0000 [1] SMP
>  last sysfs file: /sys/devices/pci0000:00/0000:00:02.0/0000:01:00.0/0000:02:02.0/0000:05:00.1/irq
>  CPU 5
>  Modules linked in: nfsd auth_rpcgss exportfs lockd nfs_acl autofs4 hidp rfcomm l2cap bluetooth sunrpc ipv6 dm_mirror dm_log dm_multipath dm_mod sbs sbshc battery ac parport_pc lp parport sg floppy snd_hda_intel snd_seq_dummy ide_cd_mod cdrom snd_seq_oss snd_seq_midi_event snd_seq serio_raw snd_seq_device snd_pcm_oss snd_mixer_oss snd_pcm snd_timer i2c_i801 snd button soundcore i2c_core snd_page_alloc shpchp pcspkr ehci_hcd ohci_hcd uhci_hcd
>  Pid: 0, comm: swapper Tainted: G        W 2.6.25-mm1 #4
>  RIP: 0010:[<ffffffff8028fea8>]  [<ffffffff8028fea8>] page_get_cache+0x19/0x24
>  RSP: 0018:ffff81025f22fe88  EFLAGS: 00010046
>  RAX: 0000000000000000 RBX: ffffe20000028440 RCX: 0000000000000007
>  RDX: 0000000000000000 RSI: ffffe20000028440 RDI: 0000000000000040
>  RBP: ffff81025f22fe90 R08: 0000000000000006 R09: ffff810001080fe8
>  R10: ffff8100010b7a40 R11: ffff8100010b7a28 R12: 0000000000000282
>  R13: 0000000000000001 R14: 0000000000000001 R15: 0000000000000000
>  FS:  0000000000000000(0000) GS:ffff81025f1616c0(0000) knlGS:0000000000000000
>  CS:  0010 DS: 0018 ES: 0018 CR0: 000000008005003b
>  CR2: 0000003e5f0948f0 CR3: 000000024a01e000 CR4: 00000000000006e0
>  DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
>  DR3: 0000000000000000 DR6: 00000000ffff0ff0 DR7: 0000000000000400
>  Process swapper (pid: 0, threadinfo ffff81025f22a000, task ffff81025f2294a0)
>  Stack:  ffffffff80a11690 ffff81025f22fea0 ffffffff8028fec4 ffff81025f22fec0
>   ffffffff802909af 0000000000000000 ffff8100010b4820 ffff81025f22fed0
>   ffffffff80327789 ffff81025f22ff00 ffffffff80268932 0000000000000001
>  Call Trace:
>   <IRQ>  [<ffffffff8028fec4>] virt_to_cache+0x11/0x13
>   [<ffffffff802909af>] kfree+0x20/0x38
>   [<ffffffff80327789>] sel_netnode_free+0xd/0xf
>   [<ffffffff80268932>] __rcu_process_callbacks+0x147/0x1b6
>   [<ffffffff802689c4>] rcu_process_callbacks+0x23/0x44
>   [<ffffffff8023cc04>] __do_softirq+0x58/0xae
>   [<ffffffff8020d1cc>] call_softirq+0x1c/0x28
>   [<ffffffff8020ed5c>] do_softirq+0x2f/0x6f
>   [<ffffffff8023c72e>] irq_exit+0x36/0x38
>   [<ffffffff8021dedc>] smp_apic_timer_interrupt+0x74/0x81
>   [<ffffffff8020cc76>] apic_timer_interrupt+0x66/0x70
>   <EOI>  [<ffffffff8020a2e1>] ? mwait_idle+0x38/0x42
>   [<ffffffff8020a2a9>] ? mwait_idle+0x0/0x42
>   [<ffffffff8020b2ff>] ? cpu_idle+0xcb/0xe0
>   [<ffffffff804eaefe>] ? start_secondary+0xb2/0xb4
>
>
>  Code: 3a 48 69 c0 80 0e 00 00 48 03 04 d5 00 35 92 80 c9 c3 55 48 89 e5 53 e8 87 ff ff ff 48 89 c7 48 89 c3 e8 69 ff ff ff 85 c0 75 04 <0f> 0b eb fe 48 8b 43 30 5b c9 c3 55 48 89 e5 e8 87 ff ff ff 48
>  RIP  [<ffffffff8028fea8>] page_get_cache+0x19/0x24
>   RSP <ffff81025f22fe88>
>
>  security/selinux/netnode.c looks to be doing simple old kzalloc/kfree, so
>  I'd be suspecting slab.  But there are significant changes netnode.c in
>  git-selinux.

Andrew, you don't seem to have slab debugging enabled:

# CONFIG_DEBUG_SLAB is not set

And quite frankly, the oops looks unlikely to be a slab bug but rather
a plain old slab corruption cause by the callers...

                                    Pekka

--
To unsubscribe, send a message with 'unsubscribe linux-mm' in
the body to majordomo@kvack.org.  For more info on Linux MM,
see: http://www.linux-mm.org/ .
Don't email: <a href=mailto:"dont@kvack.org"> email@kvack.org </a>

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

* Re: 2.6.25-mm1: not looking good
  2008-04-18  6:40 ` Pekka Enberg
@ 2008-04-18  6:56   ` Andrew Morton
  2008-04-18  7:24   ` Ingo Molnar
  1 sibling, 0 replies; 52+ messages in thread
From: Andrew Morton @ 2008-04-18  6:56 UTC (permalink / raw)
  To: Pekka Enberg
  Cc: Ingo Molnar, Thomas Gleixner, linux-usb, linux-kernel, linux-mm,
	James Morris, Stephen Smalley

On Fri, 18 Apr 2008 09:40:07 +0300 "Pekka Enberg" <penberg@cs.helsinki.fi> wrote:

> On Fri, Apr 18, 2008 at 2:03 AM, Andrew Morton
> <akpm@linux-foundation.org> wrote:
> >  After 10 or fifteen minutes uptime, slab declared game over:
> >
> >  kernel BUG at mm/slab.c:590!
> >  invalid opcode: 0000 [1] SMP
> >  last sysfs file: /sys/devices/pci0000:00/0000:00:02.0/0000:01:00.0/0000:02:02.0/0000:05:00.1/irq
> >  CPU 5
> >  Modules linked in: nfsd auth_rpcgss exportfs lockd nfs_acl autofs4 hidp rfcomm l2cap bluetooth sunrpc ipv6 dm_mirror dm_log dm_multipath dm_mod sbs sbshc battery ac parport_pc lp parport sg floppy snd_hda_intel snd_seq_dummy ide_cd_mod cdrom snd_seq_oss snd_seq_midi_event snd_seq serio_raw snd_seq_device snd_pcm_oss snd_mixer_oss snd_pcm snd_timer i2c_i801 snd button soundcore i2c_core snd_page_alloc shpchp pcspkr ehci_hcd ohci_hcd uhci_hcd
> >  Pid: 0, comm: swapper Tainted: G        W 2.6.25-mm1 #4
> >  RIP: 0010:[<ffffffff8028fea8>]  [<ffffffff8028fea8>] page_get_cache+0x19/0x24
> >  RSP: 0018:ffff81025f22fe88  EFLAGS: 00010046
> >  RAX: 0000000000000000 RBX: ffffe20000028440 RCX: 0000000000000007
> >  RDX: 0000000000000000 RSI: ffffe20000028440 RDI: 0000000000000040
> >  RBP: ffff81025f22fe90 R08: 0000000000000006 R09: ffff810001080fe8
> >  R10: ffff8100010b7a40 R11: ffff8100010b7a28 R12: 0000000000000282
> >  R13: 0000000000000001 R14: 0000000000000001 R15: 0000000000000000
> >  FS:  0000000000000000(0000) GS:ffff81025f1616c0(0000) knlGS:0000000000000000
> >  CS:  0010 DS: 0018 ES: 0018 CR0: 000000008005003b
> >  CR2: 0000003e5f0948f0 CR3: 000000024a01e000 CR4: 00000000000006e0
> >  DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
> >  DR3: 0000000000000000 DR6: 00000000ffff0ff0 DR7: 0000000000000400
> >  Process swapper (pid: 0, threadinfo ffff81025f22a000, task ffff81025f2294a0)
> >  Stack:  ffffffff80a11690 ffff81025f22fea0 ffffffff8028fec4 ffff81025f22fec0
> >   ffffffff802909af 0000000000000000 ffff8100010b4820 ffff81025f22fed0
> >   ffffffff80327789 ffff81025f22ff00 ffffffff80268932 0000000000000001
> >  Call Trace:
> >   <IRQ>  [<ffffffff8028fec4>] virt_to_cache+0x11/0x13
> >   [<ffffffff802909af>] kfree+0x20/0x38
> >   [<ffffffff80327789>] sel_netnode_free+0xd/0xf
> >   [<ffffffff80268932>] __rcu_process_callbacks+0x147/0x1b6
> >   [<ffffffff802689c4>] rcu_process_callbacks+0x23/0x44
> >   [<ffffffff8023cc04>] __do_softirq+0x58/0xae
> >   [<ffffffff8020d1cc>] call_softirq+0x1c/0x28
> >   [<ffffffff8020ed5c>] do_softirq+0x2f/0x6f
> >   [<ffffffff8023c72e>] irq_exit+0x36/0x38
> >   [<ffffffff8021dedc>] smp_apic_timer_interrupt+0x74/0x81
> >   [<ffffffff8020cc76>] apic_timer_interrupt+0x66/0x70
> >   <EOI>  [<ffffffff8020a2e1>] ? mwait_idle+0x38/0x42
> >   [<ffffffff8020a2a9>] ? mwait_idle+0x0/0x42
> >   [<ffffffff8020b2ff>] ? cpu_idle+0xcb/0xe0
> >   [<ffffffff804eaefe>] ? start_secondary+0xb2/0xb4
> >
> >
> >  Code: 3a 48 69 c0 80 0e 00 00 48 03 04 d5 00 35 92 80 c9 c3 55 48 89 e5 53 e8 87 ff ff ff 48 89 c7 48 89 c3 e8 69 ff ff ff 85 c0 75 04 <0f> 0b eb fe 48 8b 43 30 5b c9 c3 55 48 89 e5 e8 87 ff ff ff 48
> >  RIP  [<ffffffff8028fea8>] page_get_cache+0x19/0x24
> >   RSP <ffff81025f22fe88>
> >
> >  security/selinux/netnode.c looks to be doing simple old kzalloc/kfree, so
> >  I'd be suspecting slab.  But there are significant changes netnode.c in
> >  git-selinux.
> 
> Andrew, you don't seem to have slab debugging enabled:
> 
> # CONFIG_DEBUG_SLAB is not set
> 
> And quite frankly, the oops looks unlikely to be a slab bug but rather
> a plain old slab corruption cause by the callers...
> 

Yes, I'd agree.  All has been peachy since I dropped git-selinux.

--
To unsubscribe, send a message with 'unsubscribe linux-mm' in
the body to majordomo@kvack.org.  For more info on Linux MM,
see: http://www.linux-mm.org/ .
Don't email: <a href=mailto:"dont@kvack.org"> email@kvack.org </a>

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

* Re: 2.6.25-mm1: not looking good
  2008-04-17 23:03 2.6.25-mm1: not looking good Andrew Morton
                   ` (5 preceding siblings ...)
  2008-04-18  6:40 ` Pekka Enberg
@ 2008-04-18  7:09 ` Ingo Molnar
  2008-04-18  7:50 ` Andrew Morton
  2008-04-28 16:42 ` 2.6.25-mm1: Failing to probe IDE interface Mel Gorman
  8 siblings, 0 replies; 52+ messages in thread
From: Ingo Molnar @ 2008-04-18  7:09 UTC (permalink / raw)
  To: Andrew Morton
  Cc: Thomas Gleixner, Pekka Enberg, linux-usb, linux-kernel, linux-mm,
	James Morris, Stephen Smalley, Arjan van de Ven

* Andrew Morton <akpm@linux-foundation.org> wrote:

> 
> I repulled all the trees an hour or two ago, installed everything on an
> 8-way x86_64 box and:
> 
> 
> stack-protector:
> 
> Testing -fstack-protector-all feature
> No -fstack-protector-stack-frame!
> -fstack-protector-all test failed

that's the stackprotector self-test: you probably have a gcc that cannot 
build a proper stackprotector kernel. No damage other than having no 
stackprotector. Arjan Cc:-ed.

	Ingo

--
To unsubscribe, send a message with 'unsubscribe linux-mm' in
the body to majordomo@kvack.org.  For more info on Linux MM,
see: http://www.linux-mm.org/ .
Don't email: <a href=mailto:"dont@kvack.org"> email@kvack.org </a>

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

* Re: 2.6.25-mm1: not looking good
  2008-04-18  6:10   ` Andrew Morton
@ 2008-04-18  7:19     ` Ingo Molnar
  2008-04-18  7:28       ` Andrew Morton
  0 siblings, 1 reply; 52+ messages in thread
From: Ingo Molnar @ 2008-04-18  7:19 UTC (permalink / raw)
  To: Andrew Morton
  Cc: Arjan van de Ven, Thomas Gleixner, Pekka Enberg, linux-usb,
	linux-kernel, linux-mm, James Morris, Stephen Smalley

* Andrew Morton <akpm@linux-foundation.org> wrote:

> On Thu, 17 Apr 2008 22:49:08 -0700 Arjan van de Ven <arjan@infradead.org> wrote:
> 
> > On Thu, 17 Apr 2008 16:03:31 -0700
> > Andrew Morton <akpm@linux-foundation.org> wrote:
> > 
> > > 
> > > I repulled all the trees an hour or two ago, installed everything on
> > > an 8-way x86_64 box and:
> > > 
> > > 
> > > stack-protector:
> > > 
> > > Testing -fstack-protector-all feature
> > > No -fstack-protector-stack-frame!
> > > -fstack-protector-all test failed
> > 
> > do you have a stack-protector capable GCC? I guess not.
> > 
> > This is a catch-22. You do not have stack-protector. Should we make that 
> > a silent failure? or do you want to know that you don't have a security
> > feature you thought you had.... complaining seems to be the right thing to do imo.
> 
> A #warning sounds more appropriate.

this warning is telling the user that the security feature that got 
enabled in the .config is completely, 100% not working due to using a
stack-protector-incapable GCC.

it's analogous as if there was a bug in gcc that made SELinux totally 
ineffective in some mitigate-exploit-damage scenarios. No harm done on a 
perfectly bug-free system - but once a bug happens that SELinux should 
have mitigated, the breakage becomes real. Having a prominent warning is 
the _minimum_.

having a build failure would be nice too because this is a build 
environment problem. (not a build warning - warnings can easily be 
missed because on a typical kernel build there's so many false positives 
that get emitted by various other warning mechanisms) Arjan?

	Ingo

--
To unsubscribe, send a message with 'unsubscribe linux-mm' in
the body to majordomo@kvack.org.  For more info on Linux MM,
see: http://www.linux-mm.org/ .
Don't email: <a href=mailto:"dont@kvack.org"> email@kvack.org </a>

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

* Re: 2.6.25-mm1: not looking good
  2008-04-18  6:40 ` Pekka Enberg
  2008-04-18  6:56   ` Andrew Morton
@ 2008-04-18  7:24   ` Ingo Molnar
  2008-04-18  7:25     ` Pekka Enberg
  2008-04-18 10:32     ` James Morris
  1 sibling, 2 replies; 52+ messages in thread
From: Ingo Molnar @ 2008-04-18  7:24 UTC (permalink / raw)
  To: Pekka Enberg
  Cc: Andrew Morton, Thomas Gleixner, linux-usb, linux-kernel,
	linux-mm, James Morris, Stephen Smalley

* Pekka Enberg <penberg@cs.helsinki.fi> wrote:

> Andrew, you don't seem to have slab debugging enabled:
> 
> # CONFIG_DEBUG_SLAB is not set
> 
> And quite frankly, the oops looks unlikely to be a slab bug but rather 
> a plain old slab corruption cause by the callers...

hm, there's sel_netnode_free() in the stackframe - that's from 
security/selinux/netnode.c. Andrew, any recent changes in that area?

	Ingo

--
To unsubscribe, send a message with 'unsubscribe linux-mm' in
the body to majordomo@kvack.org.  For more info on Linux MM,
see: http://www.linux-mm.org/ .
Don't email: <a href=mailto:"dont@kvack.org"> email@kvack.org </a>

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

* Re: 2.6.25-mm1: not looking good
  2008-04-18  7:24   ` Ingo Molnar
@ 2008-04-18  7:25     ` Pekka Enberg
  2008-04-18 10:32     ` James Morris
  1 sibling, 0 replies; 52+ messages in thread
From: Pekka Enberg @ 2008-04-18  7:25 UTC (permalink / raw)
  To: Ingo Molnar
  Cc: Andrew Morton, Thomas Gleixner, linux-usb, linux-kernel,
	linux-mm, James Morris, Stephen Smalley

Ingo Molnar wrote:
> hm, there's sel_netnode_free() in the stackframe - that's from 
> security/selinux/netnode.c. Andrew, any recent changes in that area?

Keep in mind that slab might have been corrupted by someone else much 
earlier but we didn't notice due to the lack of CONFIG_SLAB_DEBUG.

--
To unsubscribe, send a message with 'unsubscribe linux-mm' in
the body to majordomo@kvack.org.  For more info on Linux MM,
see: http://www.linux-mm.org/ .
Don't email: <a href=mailto:"dont@kvack.org"> email@kvack.org </a>

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

* Re: 2.6.25-mm1: not looking good
  2008-04-18  7:19     ` Ingo Molnar
@ 2008-04-18  7:28       ` Andrew Morton
  2008-04-18  9:28         ` Ingo Molnar
  0 siblings, 1 reply; 52+ messages in thread
From: Andrew Morton @ 2008-04-18  7:28 UTC (permalink / raw)
  To: Ingo Molnar
  Cc: Arjan van de Ven, Thomas Gleixner, Pekka Enberg, linux-usb,
	linux-kernel, linux-mm, James Morris, Stephen Smalley

On Fri, 18 Apr 2008 09:19:45 +0200 Ingo Molnar <mingo@elte.hu> wrote:

> 
> * Andrew Morton <akpm@linux-foundation.org> wrote:
> 
> > On Thu, 17 Apr 2008 22:49:08 -0700 Arjan van de Ven <arjan@infradead.org> wrote:
> > 
> > > On Thu, 17 Apr 2008 16:03:31 -0700
> > > Andrew Morton <akpm@linux-foundation.org> wrote:
> > > 
> > > > 
> > > > I repulled all the trees an hour or two ago, installed everything on
> > > > an 8-way x86_64 box and:
> > > > 
> > > > 
> > > > stack-protector:
> > > > 
> > > > Testing -fstack-protector-all feature
> > > > No -fstack-protector-stack-frame!
> > > > -fstack-protector-all test failed
> > > 
> > > do you have a stack-protector capable GCC? I guess not.
> > > 
> > > This is a catch-22. You do not have stack-protector. Should we make that 
> > > a silent failure? or do you want to know that you don't have a security
> > > feature you thought you had.... complaining seems to be the right thing to do imo.
> > 
> > A #warning sounds more appropriate.
> 
> this warning is telling the user that the security feature that got 
> enabled in the .config is completely, 100% not working due to using a
> stack-protector-incapable GCC.

I doubt if anyone will care much.

> it's analogous as if there was a bug in gcc that made SELinux totally 
> ineffective in some mitigate-exploit-damage scenarios.

Not really.  In the selinux case we don't know that it'll break at compile
time.  

> No harm done on a 
> perfectly bug-free system - but once a bug happens that SELinux should 
> have mitigated, the breakage becomes real. Having a prominent warning is 
> the _minimum_.
> 
> having a build failure would be nice too because this is a build 
> environment problem. (not a build warning - warnings can easily be 
> missed because on a typical kernel build there's so many false positives 
> that get emitted by various other warning mechanisms) Arjan?
> 

Yeah, #error would work too.

--
To unsubscribe, send a message with 'unsubscribe linux-mm' in
the body to majordomo@kvack.org.  For more info on Linux MM,
see: http://www.linux-mm.org/ .
Don't email: <a href=mailto:"dont@kvack.org"> email@kvack.org </a>

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

* Re: 2.6.25-mm1: not looking good
  2008-04-18  3:05     ` Jason Wessel
@ 2008-04-18  7:37       ` Ingo Molnar
  2008-04-18 11:46         ` Vegard Nossum
  2008-04-18 21:54         ` Jason Wessel
  0 siblings, 2 replies; 52+ messages in thread
From: Ingo Molnar @ 2008-04-18  7:37 UTC (permalink / raw)
  To: Jason Wessel
  Cc: Andrew Morton, tglx, penberg, linux-usb, linux-kernel, linux-mm,
	jmorris, sds

* Jason Wessel <jason.wessel@windriver.com> wrote:

> > [...] The final initcall is init_kgdbts() and disabling KGDB 
> > prevents the hang.

> That enables verbose logging of exactly what is going on and will show 
> where wheels fall off the cart.  If the kernel is dying silently it 
> means the early exception code has completely failed in some way on 
> the kernel architecture that was selected, and of course the .config 
> is always useful in this case.

incidentally, just today, in overnight testing i triggered a similar 
hang in the KGDB self-test:

  http://redhat.com/~mingo/misc/config-Thu_Apr_17_23_46_36_CEST_2008.bad

to get a similar tree to the one i tested, pick up sched-devel/latest 
from:

   http://people.redhat.com/mingo/sched-devel.git/README 

pick up that failing .config, do 'make oldconfig' and accept all the 
defaults to get a comparable kernel to mine. (kgdb is embedded in 
sched-devel.git.)

the hang was at:

[   12.504057] Calling initcall 0xffffffff80b800c1: init_kgdbts+0x0/0x1b()
[   12.511298] kgdb: Registered I/O driver kgdbts.
[   12.515062] kgdbts:RUN plant and detach test
[   12.520283] kgdbts:RUN sw breakpoint test
[   12.524651] kgdbts:RUN bad memory access test
[   12.529052] kgdbts:RUN singlestep breakpoint test

full log:

  http://redhat.com/~mingo/misc/log-Thu_Apr_17_23_46_36_CEST_2008.bad

note that this was a 64-bit config too - our tests do a perfect mix of 
50% 32-bit and 50% 64-bit kernels. So single-stepping of the kernel 
broke in some circumstances.

find the boot log below. (it also includes all command line parameters) 

This is the first time ever i saw the self-test in KGDB hanging, so it's 
some recent non-KGDB change that provoked it or made it more likely. The 
KGDB self-test runs very frequently in my bootup tests:

[   12.508236] kgdb: Registered I/O driver kgdbts.
[   12.511245] kgdbts:RUN plant and detach test
[   12.517418] kgdbts:RUN sw breakpoint test
[   12.521056] kgdbts:RUN bad memory access test
[   12.525515] kgdbts:RUN singlestep breakpoint test
[   12.531483] kgdbts:RUN hw breakpoint test
[   12.536142] kgdbts:RUN hw write breakpoint test
[   12.541007] kgdbts:RUN access write breakpoint test
[   12.546223] kgdbts:RUN do_fork for 100 breakpoints

so the latest kgdb-light tree literally survived thousands of such tests 
since it was changed last.

unfortunately, the condition was not reproducible - i booted it once 
more and then it came up just fine - using the same bzImage.

there's no recent change in x86.git related to the TF flag that i could 
think of to cause something like this. I checked changes to traps_64.c 
and entry_64.S, and nothing suspicious.

	Ingo

--
To unsubscribe, send a message with 'unsubscribe linux-mm' in
the body to majordomo@kvack.org.  For more info on Linux MM,
see: http://www.linux-mm.org/ .
Don't email: <a href=mailto:"dont@kvack.org"> email@kvack.org </a>

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

* Re: 2.6.25-mm1: not looking good
  2008-04-17 23:03 2.6.25-mm1: not looking good Andrew Morton
                   ` (6 preceding siblings ...)
  2008-04-18  7:09 ` Ingo Molnar
@ 2008-04-18  7:50 ` Andrew Morton
  2008-04-18  7:53   ` Andrew Morton
  2008-04-28 16:42 ` 2.6.25-mm1: Failing to probe IDE interface Mel Gorman
  8 siblings, 1 reply; 52+ messages in thread
From: Andrew Morton @ 2008-04-18  7:50 UTC (permalink / raw)
  To: Ingo Molnar, Thomas Gleixner, Pekka Enberg, linux-usb,
	linux-kernel, linux-mm, James Morris, Stephen Smalley
  Cc: Peter Zijlstra

Another runtime warning on the t61p:


Brought up 2 CPUs
Total of 2 processors activated (9583.80 BogoMIPS).
CPU0 attaching sched-domain:
 domain 0: span 00000000,00000003
  groups: 00000000,00000001 00000000,00000002
  domain 1: span 00000000,00000003
   groups: 00000000,00000003
CPU1 attaching sched-domain:
 domain 0: span 00000000,00000003
  groups: 00000000,00000002 00000000,00000001
  domain 1: span 00000000,00000003
   groups: 00000000,00000003
------------[ cut here ]------------
WARNING: at kernel/lockdep.c:2677 check_flags+0x84/0x11f()
Modules linked in:
Pid: 0, comm: swapper Not tainted 2.6.25-mm1 #15

Call Trace:
 [<ffffffff8105f7ec>] ? print_modules+0x88/0x8f
 [<ffffffff81037b55>] warn_on_slowpath+0x58/0x7f
 [<ffffffff81056143>] ? trace_hardirqs_off+0xd/0xf
 [<ffffffff810560b7>] ? trace_hardirqs_off_caller+0x1d/0x9c
 [<ffffffff81056143>] ? trace_hardirqs_off+0xd/0xf
 [<ffffffff810560b7>] ? trace_hardirqs_off_caller+0x1d/0x9c
 [<ffffffff81056143>] ? trace_hardirqs_off+0xd/0xf
 [<ffffffff81058576>] ? __lock_acquire+0x809/0x893
 [<ffffffff810560b7>] ? trace_hardirqs_off_caller+0x1d/0x9c
 [<ffffffff81056143>] ? trace_hardirqs_off+0xd/0xf
 [<ffffffff812b94d1>] ? __atomic_notifier_call_chain+0x0/0x81
 [<ffffffff8105627e>] check_flags+0x84/0x11f
 [<ffffffff81058914>] lock_acquire+0x54/0xb4
 [<ffffffff812b9515>] __atomic_notifier_call_chain+0x44/0x81
 [<ffffffff8100a2c2>] ? mwait_idle+0x0/0x49
 [<ffffffff812b9561>] atomic_notifier_call_chain+0xf/0x11
 [<ffffffff8100a228>] __exit_idle+0x27/0x29
 [<ffffffff8100b33c>] cpu_idle+0xdf/0xf7
 [<ffffffff812b10da>] start_secondary+0xb2/0xb4

---[ end trace 93d72a36b9146f22 ]---
possible reason: unannotated irqs-on.
irq event stamp: 34
hardirqs last  enabled at (33): [<ffffffff812b63f0>] trace_hardirqs_on_thunk+0x3a/0x3f
hardirqs last disabled at (34): [<ffffffff81056143>] trace_hardirqs_off+0xd/0xf
softirqs last  enabled at (32): [<ffffffff8103cfe8>] __do_softirq+0xc5/0xce
softirqs last disabled at (25): [<ffffffff8100d32c>] call_softirq+0x1c/0x28
calling  init_cpufreq_transition_notifier_list+0x0/0x1b()
initcall init_cpufreq_transition_notifier_list+0x0/0x1b() returned 0 after 0 msecs
calling  net_ns_init+0x0/0x12a()
net_namespace: 1352 bytes
initcall net_ns_init+0x0/0x12a() returned 0 after 0 msecs
calling  cpufreq_tsc+0x0/0x16()

dmesg: http://userweb.kernel.org/~akpm/x.txt
config: http://userweb.kernel.org/~akpm/config-t61p.txt

but it lumbered to a login prompt, which is more than good enough for this
pile of dung.

The number of runtime warnings, compile errors and runtime failures which
have been added since 2.6.25-rc8-mm2 is astonishing.

--
To unsubscribe, send a message with 'unsubscribe linux-mm' in
the body to majordomo@kvack.org.  For more info on Linux MM,
see: http://www.linux-mm.org/ .
Don't email: <a href=mailto:"dont@kvack.org"> email@kvack.org </a>

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

* Re: 2.6.25-mm1: not looking good
  2008-04-18  7:50 ` Andrew Morton
@ 2008-04-18  7:53   ` Andrew Morton
  2008-04-18  7:57     ` Andrew Morton
                       ` (2 more replies)
  0 siblings, 3 replies; 52+ messages in thread
From: Andrew Morton @ 2008-04-18  7:53 UTC (permalink / raw)
  To: Ingo Molnar, Thomas Gleixner, Pekka Enberg, linux-usb,
	linux-kernel, linux-mm, James Morris, Stephen Smalley,
	Peter Zijlstra
  Cc: linux-pm, Greg KH, Rafael J. Wysocki, Pavel Machek

On Fri, 18 Apr 2008 00:50:34 -0700 Andrew Morton <akpm@linux-foundation.org> wrote:

> dmesg: http://userweb.kernel.org/~akpm/x.txt
> config: http://userweb.kernel.org/~akpm/config-t61p.txt

oop, there's more:


sd 0:0:0:0: [sda] Mode Sense: 00 3a 00 00
sd 0:0:0:0: [sda] Write cache: enabled, read cache: enabled, doesn't support DPO or FUA
firewire_core: created device fw0: GUID 00016c2000174bad, S400
PM: Device usb4 failed to restore: error -113
eth0: Link is Up 100 Mbps Full Duplex, Flow Control: RX/TX
eth0: 10/100 speed: disabling TSO
PM: Device usb5 failed to restore: error -113
PM: Device usb7 failed to restore: error -113
sd 0:0:0:0: [sda] Starting disk
PM: Image restored successfully.
Restarting tasks ... done.
PM: Basic memory bitmaps freed

Those USB restore failures are new.  They're similar to the ones on the
doesnt-resume-properly-any-more Vaio.  They came out from the machine's
second (successful) resume-from-disk.

--
To unsubscribe, send a message with 'unsubscribe linux-mm' in
the body to majordomo@kvack.org.  For more info on Linux MM,
see: http://www.linux-mm.org/ .
Don't email: <a href=mailto:"dont@kvack.org"> email@kvack.org </a>

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

* Re: 2.6.25-mm1: not looking good
  2008-04-18  7:53   ` Andrew Morton
@ 2008-04-18  7:57     ` Andrew Morton
  2008-04-18  9:22       ` Ingo Molnar
  2008-04-18  9:42     ` Pavel Machek
  2008-04-18 11:07     ` Pavel Machek
  2 siblings, 1 reply; 52+ messages in thread
From: Andrew Morton @ 2008-04-18  7:57 UTC (permalink / raw)
  To: Ingo Molnar, Thomas Gleixner, Pekka Enberg, linux-usb,
	linux-kernel, linux-mm, James Morris, Stephen Smalley,
	Peter Zijlstra, linux-pm, Greg KH, Rafael J. Wysocki,
	Pavel Machek

On Fri, 18 Apr 2008 00:53:23 -0700 Andrew Morton <akpm@linux-foundation.org> wrote:

> oop, there's more:

I found another machine!  This one's an old 4-way Nocona (x86_64)

http://userweb.kernel.org/~akpm/config-x.txt
http://userweb.kernel.org/~akpm/dmesg-x.txt



CPU: Physical Processor ID: 0
CPU: Processor Core ID: 0
CPU0: Thermal monitoring enabled (TM1)
ACPI: Core revision 20080321
Parsing all Control Methods:
Table [DSDT](id 0001) - 461 Objects with 50 Devices 130 Methods 11 Regions
 tbxface-0598 [00] tb_load_namespace     : ACPI Tables successfully acquired
evxfevnt-0091 [00] enable                : Transition to ACPI mode successful
------------[ cut here ]------------
WARNING: at arch/x86/kernel/genapic_64.c:86 read_apic_id+0x31/0x67()
Modules linked in:
Pid: 1, comm: swapper Not tainted 2.6.25-mm1 #16

Call Trace:
 [<ffffffff8025272f>] ? print_modules+0x88/0x8f
 [<ffffffff80233493>] warn_on_slowpath+0x58/0x81
 [<ffffffff80351ceb>] ? debug_spin_lock_after+0x18/0x1f
 [<ffffffff8035217a>] ? _raw_spin_lock+0x116/0x120
 [<ffffffff80228398>] ? sub_preempt_count+0x6d/0x74
 [<ffffffff804e9ba3>] ? _spin_unlock_irqrestore+0x33/0x40
 [<ffffffff803523e6>] ? debug_smp_processor_id+0x32/0xc4
 [<ffffffff8021ede5>] read_apic_id+0x31/0x67
 [<ffffffff8066f7f2>] verify_local_APIC+0xa7/0x163
 [<ffffffff8066e837>] native_smp_prepare_cpus+0x1ed/0x301
 [<ffffffff80669ab2>] kernel_init+0x5a/0x276
 [<ffffffff804e9a1e>] ? _spin_unlock_irq+0x2a/0x35
 [<ffffffff8022b7c2>] ? finish_task_switch+0x68/0x7f
 [<ffffffff8020c1d8>] child_rip+0xa/0x12
 [<ffffffff80669a58>] ? kernel_init+0x0/0x276
 [<ffffffff8020c1ce>] ? child_rip+0x0/0x12

---[ end trace 4eaa2a86a8e2da22 ]---
------------[ cut here ]------------
WARNING: at arch/x86/kernel/genapic_64.c:86 read_apic_id+0x31/0x67()
Modules linked in:
Pid: 1, comm: swapper Tainted: G        W 2.6.25-mm1 #16

Call Trace:
 [<ffffffff8025272f>] ? print_modules+0x88/0x8f
 [<ffffffff80233493>] warn_on_slowpath+0x58/0x81
 [<ffffffff80351ceb>] ? debug_spin_lock_after+0x18/0x1f
 [<ffffffff8035217a>] ? _raw_spin_lock+0x116/0x120
 [<ffffffff80228398>] ? sub_preempt_count+0x6d/0x74
 [<ffffffff804e9ba3>] ? _spin_unlock_irqrestore+0x33/0x40
 [<ffffffff803523e6>] ? debug_smp_processor_id+0x32/0xc4
 [<ffffffff8021ede5>] read_apic_id+0x31/0x67
 [<ffffffff8066f829>] verify_local_APIC+0xde/0x163
 [<ffffffff8066e837>] native_smp_prepare_cpus+0x1ed/0x301
 [<ffffffff80669ab2>] kernel_init+0x5a/0x276
 [<ffffffff804e9a1e>] ? _spin_unlock_irq+0x2a/0x35
 [<ffffffff8022b7c2>] ? finish_task_switch+0x68/0x7f
 [<ffffffff8020c1d8>] child_rip+0xa/0x12
 [<ffffffff80669a58>] ? kernel_init+0x0/0x276
 [<ffffffff8020c1ce>] ? child_rip+0x0/0x12

---[ end trace 4eaa2a86a8e2da22 ]---

That's

	WARN_ON(preemptible());

in read_apic_id().


Now I'll release it all.  heh.

--
To unsubscribe, send a message with 'unsubscribe linux-mm' in
the body to majordomo@kvack.org.  For more info on Linux MM,
see: http://www.linux-mm.org/ .
Don't email: <a href=mailto:"dont@kvack.org"> email@kvack.org </a>

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

* Re: 2.6.25-mm1: not looking good
  2008-04-18  7:57     ` Andrew Morton
@ 2008-04-18  9:22       ` Ingo Molnar
  2008-04-18 12:18         ` Ingo Molnar
  0 siblings, 1 reply; 52+ messages in thread
From: Ingo Molnar @ 2008-04-18  9:22 UTC (permalink / raw)
  To: Andrew Morton
  Cc: Thomas Gleixner, Pekka Enberg, linux-usb, linux-kernel, linux-mm,
	James Morris, Stephen Smalley, Peter Zijlstra, linux-pm, Greg KH,
	Rafael J. Wysocki, Pavel Machek, Jack Steiner, Mike Travis,
	Alan Mayer

* Andrew Morton <akpm@linux-foundation.org> wrote:

> WARNING: at arch/x86/kernel/genapic_64.c:86 read_apic_id+0x31/0x67()
>
> [<ffffffff803523e6>] ? debug_smp_processor_id+0x32/0xc4
> [<ffffffff8021ede5>] read_apic_id+0x31/0x67
> [<ffffffff8066f7f2>] verify_local_APIC+0xa7/0x163
> [<ffffffff8066e837>] native_smp_prepare_cpus+0x1ed/0x301
> [<ffffffff80669ab2>] kernel_init+0x5a/0x276

that came in via the UV-APIC patchset but the warning is entirely 
harmless. At that point we've got a single CPU running only so 
preemption of that code to another CPU is not possible.

native_smp_prepare_cpus() should probably just disable preemption, that 
way we could remove all those ugly preempt disable-enable calls from the 
called functions - per the patch below. (not boot tested yet - might 
provoke atomic-scheduling warnings if i forgot about some schedule point 
in this rather large codepath)

	Ingo

------------------->
Subject: x86: disable preemption in native_smp_prepare_cpus
From: Ingo Molnar <mingo@elte.hu>
Date: Fri Apr 18 11:07:10 CEST 2008

Signed-off-by: Ingo Molnar <mingo@elte.hu>
---
 arch/x86/kernel/smpboot.c |    2 ++
 1 file changed, 2 insertions(+)

Index: linux-x86.q/arch/x86/kernel/smpboot.c
===================================================================
--- linux-x86.q.orig/arch/x86/kernel/smpboot.c
+++ linux-x86.q/arch/x86/kernel/smpboot.c
@@ -1181,6 +1181,7 @@ static void __init smp_cpu_index_default
  */
 void __init native_smp_prepare_cpus(unsigned int max_cpus)
 {
+	preempt_disable();
 	nmi_watchdog_default();
 	smp_cpu_index_default();
 	current_cpu_data = boot_cpu_data;
@@ -1237,6 +1238,7 @@ void __init native_smp_prepare_cpus(unsi
 	printk(KERN_INFO "CPU%d: ", 0);
 	print_cpu_info(&cpu_data(0));
 	setup_boot_clock();
+	preempt_enable();
 }
 /*
  * Early setup to make printk work.

--
To unsubscribe, send a message with 'unsubscribe linux-mm' in
the body to majordomo@kvack.org.  For more info on Linux MM,
see: http://www.linux-mm.org/ .
Don't email: <a href=mailto:"dont@kvack.org"> email@kvack.org </a>

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

* Re: 2.6.25-mm1: not looking good
  2008-04-18  7:28       ` Andrew Morton
@ 2008-04-18  9:28         ` Ingo Molnar
  0 siblings, 0 replies; 52+ messages in thread
From: Ingo Molnar @ 2008-04-18  9:28 UTC (permalink / raw)
  To: Andrew Morton
  Cc: Arjan van de Ven, Thomas Gleixner, Pekka Enberg, linux-usb,
	linux-kernel, linux-mm, James Morris, Stephen Smalley

* Andrew Morton <akpm@linux-foundation.org> wrote:

> > > A #warning sounds more appropriate.
> > 
> > this warning is telling the user that the security feature that got 
> > enabled in the .config is completely, 100% not working due to using 
> > a stack-protector-incapable GCC.
> 
> I doubt if anyone will care much.

you noticed it ;-) Distro maintainers will notice it too if it pops up 
when something breaks StackProtector. Normal user might not notice. (but 
normal user might not notice a few hundred guest roots either)

but ... the real thing that made it slip into your config was that it 
was default-enabled in x86/latest - the patch below should fix that.

we need the warning: it could have caught the toplevel Makefile change 
last October that broke StackProtector completely. So no, we wont be and 
cannot be silent about this anymore - we need and now have an end-to-end 
test about it.

	Ingo

------------------>
Subject: stackprotector: non default
From: Ingo Molnar <mingo@elte.hu>
Date: Fri Apr 18 11:13:17 CEST 2008

Signed-off-by: Ingo Molnar <mingo@elte.hu>
---
 arch/x86/Kconfig |    1 -
 1 file changed, 1 deletion(-)

Index: linux-x86.q/arch/x86/Kconfig
===================================================================
--- linux-x86.q.orig/arch/x86/Kconfig
+++ linux-x86.q/arch/x86/Kconfig
@@ -1146,7 +1146,6 @@ config CC_STACKPROTECTOR
 	bool "Enable -fstack-protector buffer overflow detection (EXPERIMENTAL)"
 	depends on X86_64
 	select CC_STACKPROTECTOR_ALL
-	default y
 	help
           This option turns on the -fstack-protector GCC feature. This
 	  feature puts, at the beginning of functions, a canary value on

--
To unsubscribe, send a message with 'unsubscribe linux-mm' in
the body to majordomo@kvack.org.  For more info on Linux MM,
see: http://www.linux-mm.org/ .
Don't email: <a href=mailto:"dont@kvack.org"> email@kvack.org </a>

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

* Re: 2.6.25-mm1: not looking good
  2008-04-18  7:53   ` Andrew Morton
  2008-04-18  7:57     ` Andrew Morton
@ 2008-04-18  9:42     ` Pavel Machek
  2008-04-18 15:22       ` Alan Stern
  2008-04-18 11:07     ` Pavel Machek
  2 siblings, 1 reply; 52+ messages in thread
From: Pavel Machek @ 2008-04-18  9:42 UTC (permalink / raw)
  To: Andrew Morton
  Cc: Ingo Molnar, Thomas Gleixner, Pekka Enberg, linux-usb,
	linux-kernel, linux-mm, James Morris, Stephen Smalley,
	Peter Zijlstra, linux-pm, Greg KH, Rafael J. Wysocki

On Fri 2008-04-18 00:53:23, Andrew Morton wrote:
> On Fri, 18 Apr 2008 00:50:34 -0700 Andrew Morton <akpm@linux-foundation.org> wrote:
> 
> > dmesg: http://userweb.kernel.org/~akpm/x.txt
> > config: http://userweb.kernel.org/~akpm/config-t61p.txt
> 
> oop, there's more:
> 
> 
> sd 0:0:0:0: [sda] Mode Sense: 00 3a 00 00
> sd 0:0:0:0: [sda] Write cache: enabled, read cache: enabled, doesn't support DPO or FUA
> firewire_core: created device fw0: GUID 00016c2000174bad, S400
> PM: Device usb4 failed to restore: error -113
> eth0: Link is Up 100 Mbps Full Duplex, Flow Control: RX/TX
> eth0: 10/100 speed: disabling TSO
> PM: Device usb5 failed to restore: error -113
> PM: Device usb7 failed to restore: error -113
> sd 0:0:0:0: [sda] Starting disk
> PM: Image restored successfully.
> Restarting tasks ... done.
> PM: Basic memory bitmaps freed
> 
> Those USB restore failures are new.  They're similar to the ones on the
> doesnt-resume-properly-any-more Vaio.  They came out from the machine's
> second (successful) resume-from-disk.

Try rmmod usb / insmod usb around suspend to see if it is
usb-specific, or if something went seriously wrong in core.

Or you might just bisect it ;-).
									Pavel
-- 
(english) http://www.livejournal.com/~pavelmachek
(cesky, pictures) http://atrey.karlin.mff.cuni.cz/~pavel/picture/horses/blog.html

--
To unsubscribe, send a message with 'unsubscribe linux-mm' in
the body to majordomo@kvack.org.  For more info on Linux MM,
see: http://www.linux-mm.org/ .
Don't email: <a href=mailto:"dont@kvack.org"> email@kvack.org </a>

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

* Re: 2.6.25-mm1: not looking good
  2008-04-18  7:24   ` Ingo Molnar
  2008-04-18  7:25     ` Pekka Enberg
@ 2008-04-18 10:32     ` James Morris
  1 sibling, 0 replies; 52+ messages in thread
From: James Morris @ 2008-04-18 10:32 UTC (permalink / raw)
  To: Ingo Molnar, Andrew Morton
  Cc: Pekka Enberg, Thomas Gleixner, linux-usb, linux-kernel, linux-mm,
	Stephen Smalley, Paul Moore

On Fri, 18 Apr 2008, Ingo Molnar wrote:

> 
> * Pekka Enberg <penberg@cs.helsinki.fi> wrote:
> 
> > Andrew, you don't seem to have slab debugging enabled:
> > 
> > # CONFIG_DEBUG_SLAB is not set
> > 
> > And quite frankly, the oops looks unlikely to be a slab bug but rather 
> > a plain old slab corruption cause by the callers...
> 
> hm, there's sel_netnode_free() in the stackframe - that's from 
> security/selinux/netnode.c. Andrew, any recent changes in that area?

I've reverted the -mm only change to that file in 

git://git.kernel.org/pub/scm/linux/kernel/git/jmorris/selinux-2.6.git#for-akpm


commit f777964ad75cf4a119d911d12e81948d2402677f
Author: James Morris <jmorris@namei.org>
Date:   Fri Apr 18 20:27:24 2008 +1000

    Revert "SELinux: Made netnode cache adds faster"
    
    This reverts commit 6bf8f41d4efdf9d4eeb4f7df9c591e281f7da93e.
    
    Possible cause of slab corruption in -mm.



-- 
James Morris
<jmorris@namei.org>

--
To unsubscribe, send a message with 'unsubscribe linux-mm' in
the body to majordomo@kvack.org.  For more info on Linux MM,
see: http://www.linux-mm.org/ .
Don't email: <a href=mailto:"dont@kvack.org"> email@kvack.org </a>

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

* Re: 2.6.25-mm1: not looking good
  2008-04-18  7:53   ` Andrew Morton
  2008-04-18  7:57     ` Andrew Morton
  2008-04-18  9:42     ` Pavel Machek
@ 2008-04-18 11:07     ` Pavel Machek
  2 siblings, 0 replies; 52+ messages in thread
From: Pavel Machek @ 2008-04-18 11:07 UTC (permalink / raw)
  To: Andrew Morton
  Cc: Ingo Molnar, Thomas Gleixner, Pekka Enberg, linux-usb,
	linux-kernel, linux-mm, James Morris, Stephen Smalley,
	Peter Zijlstra, linux-pm, Greg KH, Rafael J. Wysocki

Hi!

> On Fri, 18 Apr 2008 00:50:34 -0700 Andrew Morton <akpm@linux-foundation.org> wrote:
> 
> > dmesg: http://userweb.kernel.org/~akpm/x.txt
> > config: http://userweb.kernel.org/~akpm/config-t61p.txt
> 
> oop, there's more:
> 
> 
> sd 0:0:0:0: [sda] Mode Sense: 00 3a 00 00
> sd 0:0:0:0: [sda] Write cache: enabled, read cache: enabled, doesn't support DPO or FUA
> firewire_core: created device fw0: GUID 00016c2000174bad, S400
> PM: Device usb4 failed to restore: error -113
> eth0: Link is Up 100 Mbps Full Duplex, Flow Control: RX/TX
> eth0: 10/100 speed: disabling TSO
> PM: Device usb5 failed to restore: error -113
> PM: Device usb7 failed to restore: error -113
> sd 0:0:0:0: [sda] Starting disk
> PM: Image restored successfully.
> Restarting tasks ... done.
> PM: Basic memory bitmaps freed
> 
> Those USB restore failures are new.  They're similar to the ones on the
> doesnt-resume-properly-any-more Vaio.  They came out from the machine's
> second (successful) resume-from-disk.

I got USB messages after s2ram + suspend to disk combination, too, but
machine seems to work.

ata1.00: ACPI cmd ef/10:03:00:00:00:a0 succeeded
ata1.00: configured for UDMA/100
ata1.00: configured for UDMA/100
ata1: EH complete
sd 0:0:0:0: [sda] 117210240 512-byte hardware sectors (60012 MB)
sd 0:0:0:0: [sda] Write Protect is off
sd 0:0:0:0: [sda] Mode Sense: 00 3a 00 00
sd 0:0:0:0: [sda] Write cache: enabled, read cache: enabled, doesn't
support DPO or FUA
sd 0:0:0:0: [sda] 117210240 512-byte hardware sectors (60012 MB)
sd 0:0:0:0: [sda] Write Protect is off
sd 0:0:0:0: [sda] Mode Sense: 00 3a 00 00
sd 0:0:0:0: [sda] Write cache: enabled, read cache: enabled, doesn't
support DPO or FUA
PM: Device usb2 failed to restore: error -113
PM: Device usb3 failed to restore: error -113
PM: Device usb4 failed to restore: error -113
PM: Image restored successfully.
Restarting tasks ... done.
PM: Basic memory bitmaps freed
wlan0: RX disassociation from 00:11:2f:0e:95:a0 (reason=7)
wlan0: disassociated

(Apart from some wireless problems, solved by reconnecting...)

(And ipw3945 LED indication now seems to work, good!)
									Pavel 

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

--
To unsubscribe, send a message with 'unsubscribe linux-mm' in
the body to majordomo@kvack.org.  For more info on Linux MM,
see: http://www.linux-mm.org/ .
Don't email: <a href=mailto:"dont@kvack.org"> email@kvack.org </a>

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

* Re: 2.6.25-mm1: not looking good
  2008-04-18  7:37       ` Ingo Molnar
@ 2008-04-18 11:46         ` Vegard Nossum
  2008-04-18 12:34           ` Ingo Molnar
  2008-04-18 21:54         ` Jason Wessel
  1 sibling, 1 reply; 52+ messages in thread
From: Vegard Nossum @ 2008-04-18 11:46 UTC (permalink / raw)
  To: Ingo Molnar
  Cc: Jason Wessel, Andrew Morton, tglx, penberg, linux-usb,
	linux-kernel, linux-mm, jmorris, sds

On Fri, Apr 18, 2008 at 9:37 AM, Ingo Molnar <mingo@elte.hu> wrote:
>
>  * Jason Wessel <jason.wessel@windriver.com> wrote:
>
>  > > [...] The final initcall is init_kgdbts() and disabling KGDB
>  > > prevents the hang.
>
>
>  > That enables verbose logging of exactly what is going on and will show
>  > where wheels fall off the cart.  If the kernel is dying silently it
>  > means the early exception code has completely failed in some way on
>  > the kernel architecture that was selected, and of course the .config
>  > is always useful in this case.
>
>  incidentally, just today, in overnight testing i triggered a similar
>  hang in the KGDB self-test:
>
>   http://redhat.com/~mingo/misc/config-Thu_Apr_17_23_46_36_CEST_2008.bad
>
>  to get a similar tree to the one i tested, pick up sched-devel/latest
>  from:
>
>    http://people.redhat.com/mingo/sched-devel.git/README
>
>  pick up that failing .config, do 'make oldconfig' and accept all the
>  defaults to get a comparable kernel to mine. (kgdb is embedded in
>  sched-devel.git.)
>
>  the hang was at:
>
>  [   12.504057] Calling initcall 0xffffffff80b800c1: init_kgdbts+0x0/0x1b()
>  [   12.511298] kgdb: Registered I/O driver kgdbts.
>  [   12.515062] kgdbts:RUN plant and detach test
>  [   12.520283] kgdbts:RUN sw breakpoint test
>  [   12.524651] kgdbts:RUN bad memory access test
>  [   12.529052] kgdbts:RUN singlestep breakpoint test
>
>  full log:
>
>   http://redhat.com/~mingo/misc/log-Thu_Apr_17_23_46_36_CEST_2008.bad
>
>  note that this was a 64-bit config too - our tests do a perfect mix of
>  50% 32-bit and 50% 64-bit kernels. So single-stepping of the kernel
>  broke in some circumstances.
>
>  find the boot log below. (it also includes all command line parameters)
>
>  This is the first time ever i saw the self-test in KGDB hanging, so it's
>  some recent non-KGDB change that provoked it or made it more likely. The
>  KGDB self-test runs very frequently in my bootup tests:
>
>  [   12.508236] kgdb: Registered I/O driver kgdbts.
>  [   12.511245] kgdbts:RUN plant and detach test
>  [   12.517418] kgdbts:RUN sw breakpoint test
>  [   12.521056] kgdbts:RUN bad memory access test
>  [   12.525515] kgdbts:RUN singlestep breakpoint test
>  [   12.531483] kgdbts:RUN hw breakpoint test
>  [   12.536142] kgdbts:RUN hw write breakpoint test
>  [   12.541007] kgdbts:RUN access write breakpoint test
>  [   12.546223] kgdbts:RUN do_fork for 100 breakpoints
>
>  so the latest kgdb-light tree literally survived thousands of such tests
>  since it was changed last.
>
>  unfortunately, the condition was not reproducible - i booted it once
>  more and then it came up just fine - using the same bzImage.
>
>  there's no recent change in x86.git related to the TF flag that i could
>  think of to cause something like this. I checked changes to traps_64.c
>  and entry_64.S, and nothing suspicious.

With the patch below, it seems 100% reproducible to me (7 out of 7
bootups hung).

The number of loops it could do before hanging were, in order: 697,
898, 237, 55, 45, 92, 59

It seems timing-related, so I'm guessing it could be some interaction
with interrupts?


Vegard


diff --git a/drivers/misc/kgdbts.c b/drivers/misc/kgdbts.c
index 6d6286c..ee87820 100644
--- a/drivers/misc/kgdbts.c
+++ b/drivers/misc/kgdbts.c
@@ -895,7 +895,13 @@ static void kgdbts_run_tests(void)
        v1printk("kgdbts:RUN bad memory access test\n");
        run_bad_read_test();
        v1printk("kgdbts:RUN singlestep breakpoint test\n");
-       run_singlestep_break_test();
+
+       while(1) {
+               static int i = 0;
+
+               run_singlestep_break_test();
+               printk(KERN_EMERG "test #%d successfull\n", i++);
+       }

        /* ===Optional tests=== */

--
To unsubscribe, send a message with 'unsubscribe linux-mm' in
the body to majordomo@kvack.org.  For more info on Linux MM,
see: http://www.linux-mm.org/ .
Don't email: <a href=mailto:"dont@kvack.org"> email@kvack.org </a>

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

* Re: 2.6.25-mm1: not looking good
  2008-04-18  9:22       ` Ingo Molnar
@ 2008-04-18 12:18         ` Ingo Molnar
  0 siblings, 0 replies; 52+ messages in thread
From: Ingo Molnar @ 2008-04-18 12:18 UTC (permalink / raw)
  To: Andrew Morton
  Cc: Thomas Gleixner, Pekka Enberg, linux-usb, linux-kernel, linux-mm,
	James Morris, Stephen Smalley, Peter Zijlstra, linux-pm, Greg KH,
	Rafael J. Wysocki, Pavel Machek, Jack Steiner, Mike Travis,
	Alan Mayer

* Ingo Molnar <mingo@elte.hu> wrote:

> Subject: x86: disable preemption in native_smp_prepare_cpus

that should be the patch below.

	Ingo

------------>
Subject: x86: disable preemption in native_smp_prepare_cpus
From: Ingo Molnar <mingo@elte.hu>
Date: Fri Apr 18 11:07:10 CEST 2008

Signed-off-by: Ingo Molnar <mingo@elte.hu>
---
 arch/x86/kernel/smpboot.c |    5 ++++-
 1 file changed, 4 insertions(+), 1 deletion(-)

Index: linux-x86.q/arch/x86/kernel/smpboot.c
===================================================================
--- linux-x86.q.orig/arch/x86/kernel/smpboot.c
+++ linux-x86.q/arch/x86/kernel/smpboot.c
@@ -1181,6 +1181,7 @@ static void __init smp_cpu_index_default
  */
 void __init native_smp_prepare_cpus(unsigned int max_cpus)
 {
+	preempt_disable();
 	nmi_watchdog_default();
 	smp_cpu_index_default();
 	current_cpu_data = boot_cpu_data;
@@ -1197,7 +1198,7 @@ void __init native_smp_prepare_cpus(unsi
 	if (smp_sanity_check(max_cpus) < 0) {
 		printk(KERN_INFO "SMP disabled\n");
 		disable_smp();
-		return;
+		goto out;
 	}
 
 	preempt_disable();
@@ -1237,6 +1238,8 @@ void __init native_smp_prepare_cpus(unsi
 	printk(KERN_INFO "CPU%d: ", 0);
 	print_cpu_info(&cpu_data(0));
 	setup_boot_clock();
+out:
+	preempt_enable();
 }
 /*
  * Early setup to make printk work.

--
To unsubscribe, send a message with 'unsubscribe linux-mm' in
the body to majordomo@kvack.org.  For more info on Linux MM,
see: http://www.linux-mm.org/ .
Don't email: <a href=mailto:"dont@kvack.org"> email@kvack.org </a>

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

* Re: 2.6.25-mm1: not looking good
  2008-04-18 11:46         ` Vegard Nossum
@ 2008-04-18 12:34           ` Ingo Molnar
  2008-04-18 12:41             ` Vegard Nossum
  0 siblings, 1 reply; 52+ messages in thread
From: Ingo Molnar @ 2008-04-18 12:34 UTC (permalink / raw)
  To: Vegard Nossum
  Cc: Jason Wessel, Andrew Morton, tglx, penberg, linux-usb,
	linux-kernel, linux-mm, jmorris, sds

* Vegard Nossum <vegard.nossum@gmail.com> wrote:

> With the patch below, it seems 100% reproducible to me (7 out of 7 
> bootups hung).
> 
> The number of loops it could do before hanging were, in order: 697, 
> 898, 237, 55, 45, 92, 59

cool! Jason: i think that particular self-test should be repeated 1000 
times before reporting success ;-)

	Ingo

--
To unsubscribe, send a message with 'unsubscribe linux-mm' in
the body to majordomo@kvack.org.  For more info on Linux MM,
see: http://www.linux-mm.org/ .
Don't email: <a href=mailto:"dont@kvack.org"> email@kvack.org </a>

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

* Re: 2.6.25-mm1: not looking good
  2008-04-18 12:34           ` Ingo Molnar
@ 2008-04-18 12:41             ` Vegard Nossum
  2008-04-18 13:02               ` Jason Wessel
  0 siblings, 1 reply; 52+ messages in thread
From: Vegard Nossum @ 2008-04-18 12:41 UTC (permalink / raw)
  To: Ingo Molnar
  Cc: Jason Wessel, Andrew Morton, tglx, penberg, linux-usb,
	linux-kernel, linux-mm, jmorris, sds

On Fri, Apr 18, 2008 at 2:34 PM, Ingo Molnar <mingo@elte.hu> wrote:
>
>  * Vegard Nossum <vegard.nossum@gmail.com> wrote:
>
>  > With the patch below, it seems 100% reproducible to me (7 out of 7
>  > bootups hung).
>  >
>  > The number of loops it could do before hanging were, in order: 697,
>  > 898, 237, 55, 45, 92, 59
>
>  cool! Jason: i think that particular self-test should be repeated 1000
>  times before reporting success ;-)

BTW, I just tested a 32-bit config and it hung after 55 iterations as well.

Vegard


-- 
"The animistic metaphor of the bug that maliciously sneaked in while
the programmer was not looking is intellectually dishonest as it
disguises that the error is the programmer's own creation."
	-- E. W. Dijkstra, EWD1036

--
To unsubscribe, send a message with 'unsubscribe linux-mm' in
the body to majordomo@kvack.org.  For more info on Linux MM,
see: http://www.linux-mm.org/ .
Don't email: <a href=mailto:"dont@kvack.org"> email@kvack.org </a>

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

* Re: 2.6.25-mm1: not looking good
  2008-04-18 12:41             ` Vegard Nossum
@ 2008-04-18 13:02               ` Jason Wessel
  2008-04-18 13:22                 ` Vegard Nossum
  0 siblings, 1 reply; 52+ messages in thread
From: Jason Wessel @ 2008-04-18 13:02 UTC (permalink / raw)
  To: Vegard Nossum
  Cc: Ingo Molnar, Andrew Morton, tglx, penberg, linux-usb,
	linux-kernel, linux-mm, jmorris, sds

Vegard Nossum wrote:
> On Fri, Apr 18, 2008 at 2:34 PM, Ingo Molnar <mingo@elte.hu> wrote:
>   
>>  * Vegard Nossum <vegard.nossum@gmail.com> wrote:
>>
>>  > With the patch below, it seems 100% reproducible to me (7 out of 7
>>  > bootups hung).
>>  >
>>  > The number of loops it could do before hanging were, in order: 697,
>>  > 898, 237, 55, 45, 92, 59
>>
>>  cool! Jason: i think that particular self-test should be repeated 1000
>>  times before reporting success ;-)
>>     
>
> BTW, I just tested a 32-bit config and it hung after 55 iterations as well.
>
> Vegard
>
>
>   
I assume this was SMP?

While I had not tried it yet, my guess would have been this did not
happen on a UP kernel.  If it does occur on a UP kernel it means the
problem is squarely between the task scheduling after the exception is
handled and the kgdb state logic for re-entering the debug state after a
single step exception occurs.

It seems reasonable to go for 1000 iterations of this particular test to
declare success as pointed out by Ingo.  Previous versions of kgdb
handled some of the irq + single step + cpu sync slightly differently
and it is entirely possible there is a regression there.

Jason.

--
To unsubscribe, send a message with 'unsubscribe linux-mm' in
the body to majordomo@kvack.org.  For more info on Linux MM,
see: http://www.linux-mm.org/ .
Don't email: <a href=mailto:"dont@kvack.org"> email@kvack.org </a>

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

* Re: 2.6.25-mm1: not looking good
  2008-04-18 13:02               ` Jason Wessel
@ 2008-04-18 13:22                 ` Vegard Nossum
  2008-04-18 13:27                   ` Jason Wessel
  0 siblings, 1 reply; 52+ messages in thread
From: Vegard Nossum @ 2008-04-18 13:22 UTC (permalink / raw)
  To: Jason Wessel
  Cc: Ingo Molnar, Andrew Morton, tglx, penberg, linux-usb,
	linux-kernel, linux-mm, jmorris, sds

On Fri, Apr 18, 2008 at 3:02 PM, Jason Wessel
<jason.wessel@windriver.com> wrote:
> Vegard Nossum wrote:
>  > On Fri, Apr 18, 2008 at 2:34 PM, Ingo Molnar <mingo@elte.hu> wrote:
>  >
>  >>  * Vegard Nossum <vegard.nossum@gmail.com> wrote:
>  >>
>  >>  > With the patch below, it seems 100% reproducible to me (7 out of 7
>  >>  > bootups hung).
>  >>  >
>  >>  > The number of loops it could do before hanging were, in order: 697,
>  >>  > 898, 237, 55, 45, 92, 59
>  >>
>  >>  cool! Jason: i think that particular self-test should be repeated 1000
>  >>  times before reporting success ;-)
>  >>
>  >
>  > BTW, I just tested a 32-bit config and it hung after 55 iterations as well.
>  >
>  > Vegard
>  >
>  >
>  >
>  I assume this was SMP?

Yes. But now that I realize this, I tried running same kernel with
qemu, using -smp 16, and it seems to be stuck here:

[   16.562659] kgdb: Registered I/O driver kgdbts.
[   16.565875] kgdbts:RUN plant and detach test

and the code is at kgdb_handle_exception():

        /*
         * Wait for the other CPUs to be notified and be waiting for us:
         */
        for_each_online_cpu(i) {
                while (!atomic_read(&cpu_in_kgdb[i]))
                        cpu_relax();
        }


>
>  While I had not tried it yet, my guess would have been this did not
>  happen on a UP kernel.  If it does occur on a UP kernel it means the
>  problem is squarely between the task scheduling after the exception is
>  handled and the kgdb state logic for re-entering the debug state after a
>  single step exception occurs.
>
>  It seems reasonable to go for 1000 iterations of this particular test to
>  declare success as pointed out by Ingo.  Previous versions of kgdb
>  handled some of the irq + single step + cpu sync slightly differently
>  and it is entirely possible there is a regression there.
>
>  Jason.


Vegard

-- 
"The animistic metaphor of the bug that maliciously sneaked in while
the programmer was not looking is intellectually dishonest as it
disguises that the error is the programmer's own creation."
	-- E. W. Dijkstra, EWD1036

--
To unsubscribe, send a message with 'unsubscribe linux-mm' in
the body to majordomo@kvack.org.  For more info on Linux MM,
see: http://www.linux-mm.org/ .
Don't email: <a href=mailto:"dont@kvack.org"> email@kvack.org </a>

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

* Re: 2.6.25-mm1: not looking good
  2008-04-18 13:22                 ` Vegard Nossum
@ 2008-04-18 13:27                   ` Jason Wessel
  2008-04-18 14:47                     ` Vegard Nossum
  0 siblings, 1 reply; 52+ messages in thread
From: Jason Wessel @ 2008-04-18 13:27 UTC (permalink / raw)
  To: Vegard Nossum
  Cc: Ingo Molnar, Andrew Morton, tglx, penberg, linux-usb,
	linux-kernel, linux-mm, jmorris, sds

Vegard Nossum wrote:
> On Fri, Apr 18, 2008 at 3:02 PM, Jason Wessel
> <jason.wessel@windriver.com> wrote:
>   
>> Vegard Nossum wrote:
>>  > On Fri, Apr 18, 2008 at 2:34 PM, Ingo Molnar <mingo@elte.hu> wrote:
>>  >
>>  >>  * Vegard Nossum <vegard.nossum@gmail.com> wrote:
>>  >>
>>  >>  > With the patch below, it seems 100% reproducible to me (7 out of 7
>>  >>  > bootups hung).
>>  >>  >
>>  >>  > The number of loops it could do before hanging were, in order: 697,
>>  >>  > 898, 237, 55, 45, 92, 59
>>  >>
>>  >>  cool! Jason: i think that particular self-test should be repeated 1000
>>  >>  times before reporting success ;-)
>>  >>
>>  >
>>  > BTW, I just tested a 32-bit config and it hung after 55 iterations as well.
>>  >
>>  > Vegard
>>  >
>>  >
>>  >
>>  I assume this was SMP?
>>     
>
> Yes. But now that I realize this, I tried running same kernel with
> qemu, using -smp 16, and it seems to be stuck here:
>
>   

Unless you have a qemu with the NMI patches, kgdb does not work on SMP
with qemu.  The very first test is going to fail because the IPI sent by
the kernel is not handled in qemu's hardware emulation.

Jason.

--
To unsubscribe, send a message with 'unsubscribe linux-mm' in
the body to majordomo@kvack.org.  For more info on Linux MM,
see: http://www.linux-mm.org/ .
Don't email: <a href=mailto:"dont@kvack.org"> email@kvack.org </a>

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

* Re: 2.6.25-mm1: not looking good
  2008-04-18 13:27                   ` Jason Wessel
@ 2008-04-18 14:47                     ` Vegard Nossum
  2008-04-18 16:02                       ` Vegard Nossum
  0 siblings, 1 reply; 52+ messages in thread
From: Vegard Nossum @ 2008-04-18 14:47 UTC (permalink / raw)
  To: Jason Wessel
  Cc: Ingo Molnar, Andrew Morton, tglx, penberg, linux-usb,
	linux-kernel, linux-mm, jmorris, sds

On 4/18/08, Jason Wessel <jason.wessel@windriver.com> wrote:
> Vegard Nossum wrote:
> > On Fri, Apr 18, 2008 at 3:02 PM, Jason Wessel
> > <jason.wessel@windriver.com> wrote:
> >
> >> Vegard Nossum wrote:
> >>  > On Fri, Apr 18, 2008 at 2:34 PM, Ingo Molnar <mingo@elte.hu> wrote:
> >>  >
> >>  >>  * Vegard Nossum <vegard.nossum@gmail.com> wrote:
> >>  >>
> >>  >>  > With the patch below, it seems 100% reproducible to me (7 out of 7
> >>  >>  > bootups hung).
> >>  >>  >
> >>  >>  > The number of loops it could do before hanging were, in order:
> 697,
> >>  >>  > 898, 237, 55, 45, 92, 59
> >>  >>
> >>  >>  cool! Jason: i think that particular self-test should be repeated
> 1000
> >>  >>  times before reporting success ;-)
> >>  >>
> >>  >
> >>  > BTW, I just tested a 32-bit config and it hung after 55 iterations as
> well.
> >>  >
> >>  > Vegard
> >>  >
> >>  >
> >>  >
> >>  I assume this was SMP?
> >>
> >
> > Yes. But now that I realize this, I tried running same kernel with
> > qemu, using -smp 16, and it seems to be stuck here:
> >
> >
>
> Unless you have a qemu with the NMI patches, kgdb does not work on SMP
> with qemu.  The very first test is going to fail because the IPI sent by
> the kernel is not handled in qemu's hardware emulation.

Oops, no, and that makes sense.

I now picked up qemu 0.9.1 and applied the three NMI/SMI patches by Jan Kiszka.

So in qemu it seems to run fine now, except that I need to prod it
sometimes (it gets stuck in cpu_clock() and I have to break/continue
from gdb to make it proceed). Oh, there it made it to 1056, and gdb
can't interrupt anymore. Hmm. This is probably not a very good
testing/debugging environment if the qemu support is that bad. Sorry
:-)

But booting with nosmp on real hardware gets easily above 100,000
iterations of the loop (before I reboot), so it seems to be related to
that, anyway.

Vegard

-- 
"The animistic metaphor of the bug that maliciously sneaked in while
the programmer was not looking is intellectually dishonest as it
disguises that the error is the programmer's own creation."
	-- E. W. Dijkstra, EWD1036

--
To unsubscribe, send a message with 'unsubscribe linux-mm' in
the body to majordomo@kvack.org.  For more info on Linux MM,
see: http://www.linux-mm.org/ .
Don't email: <a href=mailto:"dont@kvack.org"> email@kvack.org </a>

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

* Re: 2.6.25-mm1: not looking good
  2008-04-18  0:04   ` Andrew Morton
@ 2008-04-18 14:55     ` Paul Moore
  0 siblings, 0 replies; 52+ messages in thread
From: Paul Moore @ 2008-04-18 14:55 UTC (permalink / raw)
  To: Andrew Morton
  Cc: mingo, tglx, penberg, linux-usb, linux-kernel, linux-mm, jmorris, sds

On Thursday 17 April 2008 8:04:07 pm Andrew Morton wrote:
> On Thu, 17 Apr 2008 19:55:46 -0400
>
> Paul Moore <paul.moore@hp.com> wrote:
> > For what it's worth I just looked over the changes in netnode.c and
> > nothing is jumping out at me.  The changes ran fine for me when
> > tested on the later 2.6.25-rcX kernels but I suppose that doesn't
> > mean a whole lot.
>
> Perhaps it was tested only against slub?  That config uses slab.

Yes, I believe it was testing it with slub.

-- 
paul moore
linux @ hp

--
To unsubscribe, send a message with 'unsubscribe linux-mm' in
the body to majordomo@kvack.org.  For more info on Linux MM,
see: http://www.linux-mm.org/ .
Don't email: <a href=mailto:"dont@kvack.org"> email@kvack.org </a>

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

* Re: 2.6.25-mm1: not looking good
  2008-04-18  1:35   ` Andrew Morton
@ 2008-04-18 14:57     ` Paul Moore
  0 siblings, 0 replies; 52+ messages in thread
From: Paul Moore @ 2008-04-18 14:57 UTC (permalink / raw)
  To: Andrew Morton
  Cc: mingo, tglx, penberg, linux-usb, linux-kernel, linux-mm, jmorris, sds

On Thursday 17 April 2008 9:35:38 pm Andrew Morton wrote:
> I dropped git-selinux and that crash seems to have gone away.  It
> took about five minutes before, but would presumably have happened
> earlier if I'd reduced the cache size.
>
> btw, wouldn't this
>
> --- a/security/selinux/netnode.c~a
> +++ a/security/selinux/netnode.c
> @@ -190,7 +190,7 @@ static int sel_netnode_insert(struct sel
>  	if (sel_netnode_hash[idx].size == SEL_NETNODE_HASH_BKT_LIMIT) {
>  		struct sel_netnode *tail;
>  		tail = list_entry(node->list.prev, struct sel_netnode, list);
> -		list_del_rcu(node->list.prev);
> +		list_del_rcu(&tail->list);
>  		call_rcu(&tail->rcu, sel_netnode_free);
>  	} else
>  		sel_netnode_hash[idx].size++;
> _
>
> be a bit clearer?  If it's correct - I didn't try too hard :)

Looks good to me, although before I fix this let me try and figure out 
why this code is causing the machine to puke all over itself.  
Priorities you know :)

-- 
paul moore
linux @ hp

--
To unsubscribe, send a message with 'unsubscribe linux-mm' in
the body to majordomo@kvack.org.  For more info on Linux MM,
see: http://www.linux-mm.org/ .
Don't email: <a href=mailto:"dont@kvack.org"> email@kvack.org </a>

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

* Re: 2.6.25-mm1: not looking good
  2008-04-18  9:42     ` Pavel Machek
@ 2008-04-18 15:22       ` Alan Stern
  0 siblings, 0 replies; 52+ messages in thread
From: Alan Stern @ 2008-04-18 15:22 UTC (permalink / raw)
  To: Pavel Machek
  Cc: Andrew Morton, Ingo Molnar, Thomas Gleixner, Pekka Enberg,
	linux-usb, linux-kernel, linux-mm, James Morris, Stephen Smalley,
	Peter Zijlstra, linux-pm, Greg KH, Rafael J. Wysocki

On Fri, 18 Apr 2008, Pavel Machek wrote:

> On Fri 2008-04-18 00:53:23, Andrew Morton wrote:
> > On Fri, 18 Apr 2008 00:50:34 -0700 Andrew Morton <akpm@linux-foundation.org> wrote:
> > 
> > > dmesg: http://userweb.kernel.org/~akpm/x.txt
> > > config: http://userweb.kernel.org/~akpm/config-t61p.txt
> > 
> > oop, there's more:
> > 
> > 
> > sd 0:0:0:0: [sda] Mode Sense: 00 3a 00 00
> > sd 0:0:0:0: [sda] Write cache: enabled, read cache: enabled, doesn't support DPO or FUA
> > firewire_core: created device fw0: GUID 00016c2000174bad, S400
> > PM: Device usb4 failed to restore: error -113
> > eth0: Link is Up 100 Mbps Full Duplex, Flow Control: RX/TX
> > eth0: 10/100 speed: disabling TSO
> > PM: Device usb5 failed to restore: error -113
> > PM: Device usb7 failed to restore: error -113
> > sd 0:0:0:0: [sda] Starting disk
> > PM: Image restored successfully.
> > Restarting tasks ... done.
> > PM: Basic memory bitmaps freed
> > 
> > Those USB restore failures are new.  They're similar to the ones on the
> > doesnt-resume-properly-any-more Vaio.  They came out from the machine's
> > second (successful) resume-from-disk.
> 
> Try rmmod usb / insmod usb around suspend to see if it is
> usb-specific, or if something went seriously wrong in core.
> 
> Or you might just bisect it ;-).

There's no need to worry about them.  They merely indicate that the 
root hubs didn't resume along with everything else, because they were 
already suspended when the system went to sleep and so they were left 
suspended.  The return codes in usbcore will be changed soon so that 
this won't appear to be an error.

Alan Stern

--
To unsubscribe, send a message with 'unsubscribe linux-mm' in
the body to majordomo@kvack.org.  For more info on Linux MM,
see: http://www.linux-mm.org/ .
Don't email: <a href=mailto:"dont@kvack.org"> email@kvack.org </a>

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

* Re: 2.6.25-mm1: not looking good
  2008-04-18 14:47                     ` Vegard Nossum
@ 2008-04-18 16:02                       ` Vegard Nossum
  0 siblings, 0 replies; 52+ messages in thread
From: Vegard Nossum @ 2008-04-18 16:02 UTC (permalink / raw)
  To: Jason Wessel
  Cc: Ingo Molnar, Andrew Morton, tglx, penberg, linux-usb,
	linux-kernel, linux-mm, jmorris, sds

On Fri, Apr 18, 2008 at 4:47 PM, Vegard Nossum <vegard.nossum@gmail.com> wrote:
>
> On 4/18/08, Jason Wessel <jason.wessel@windriver.com> wrote:
>  > Vegard Nossum wrote:
>  > > On Fri, Apr 18, 2008 at 3:02 PM, Jason Wessel
>  > > <jason.wessel@windriver.com> wrote:
>  > >>  I assume this was SMP?
...

>  But booting with nosmp on real hardware gets easily above 100,000
>  iterations of the loop (before I reboot), so it seems to be related to
>  that, anyway.

It gets stuck in kgdb_roundup_cpus(), verified by putting a printk()
before and after this call (in kgdb_handle_exception()). Simple, but
effective :-)


Vegard

-- 
"The animistic metaphor of the bug that maliciously sneaked in while
the programmer was not looking is intellectually dishonest as it
disguises that the error is the programmer's own creation."
	-- E. W. Dijkstra, EWD1036

--
To unsubscribe, send a message with 'unsubscribe linux-mm' in
the body to majordomo@kvack.org.  For more info on Linux MM,
see: http://www.linux-mm.org/ .
Don't email: <a href=mailto:"dont@kvack.org"> email@kvack.org </a>

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

* Re: 2.6.25-mm1: not looking good
  2008-04-18  7:37       ` Ingo Molnar
  2008-04-18 11:46         ` Vegard Nossum
@ 2008-04-18 21:54         ` Jason Wessel
  1 sibling, 0 replies; 52+ messages in thread
From: Jason Wessel @ 2008-04-18 21:54 UTC (permalink / raw)
  To: Ingo Molnar
  Cc: Andrew Morton, tglx, penberg, linux-usb, linux-kernel, linux-mm,
	jmorris, sds

Ingo Molnar wrote:
> * Jason Wessel <jason.wessel@windriver.com> wrote:
>
>   
>>> [...] The final initcall is init_kgdbts() and disabling KGDB 
>>> prevents the hang.
>>>       
> incidentally, just today, in overnight testing i triggered a similar 
> hang in the KGDB self-test:
>
>   http://redhat.com/~mingo/misc/config-Thu_Apr_17_23_46_36_CEST_2008.bad
>
> to get a similar tree to the one i tested, pick up sched-devel/latest 
> from:
>
>    http://people.redhat.com/mingo/sched-devel.git/README 
>
> pick up that failing .config, do 'make oldconfig' and accept all the 
> defaults to get a comparable kernel to mine. (kgdb is embedded in 
> sched-devel.git.)
>
> the hang was at:
>
> [   12.504057] Calling initcall 0xffffffff80b800c1: init_kgdbts+0x0/0x1b()
> [   12.511298] kgdb: Registered I/O driver kgdbts.
> [   12.515062] kgdbts:RUN plant and detach test
> [   12.520283] kgdbts:RUN sw breakpoint test
> [   12.524651] kgdbts:RUN bad memory access test
> [   12.529052] kgdbts:RUN singlestep breakpoint test
>
>   

So I pulled your tree and I would agree there was a problem.  But it
seems unrelated to kgdb.  I bisected the tree because it worked starting
with the kgdb-light merge. 

It fails once with the patch below, but it is not clear as to why other
than the lock must have something to do with it.

I'll submit a patch to the kgdb test suite to increase the amount of
loops through the single step test as it is it can definitely catch
things :-)

Jason.

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

* 2.6.25-mm1: Failing to probe IDE interface
  2008-04-17 23:03 2.6.25-mm1: not looking good Andrew Morton
                   ` (7 preceding siblings ...)
  2008-04-18  7:50 ` Andrew Morton
@ 2008-04-28 16:42 ` Mel Gorman
  2008-04-28 16:59   ` Andrew Morton
  2008-04-28 18:44   ` Bartlomiej Zolnierkiewicz
  8 siblings, 2 replies; 52+ messages in thread
From: Mel Gorman @ 2008-04-28 16:42 UTC (permalink / raw)
  To: Andrew Morton; +Cc: linux-kernel, linux-mm, bzolnier

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

An old T21 is failing to boot and the relevant message appears to be

[    1.929536] Probing IDE interface ide0...
[   36.939317] ide0: Wait for ready failed before probe !
[   37.502676] ide0: DISABLED, NO IRQ
[   37.506356] ide0: failed to initialize IDE interface

The owner of ide-mm-ide-add-struct-ide_io_ports-take-2.patch with the
"DISABLED, NO IRQ" message is cc'd. I've attached the config, full boot log
and lspci -v for the machine in question. I'll start reverting some of the
these patches to see if ide-mm-ide-add-struct-ide_io_ports-take-2.patch
is really the culprit.

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

[-- Attachment #2: config-ide-failure --]
[-- Type: text/plain, Size: 36250 bytes --]

#
# Automatically generated make config: don't edit
# Linux kernel version: 2.6.25-mm1
# Mon Apr 28 17:24:36 2008
#
# CONFIG_64BIT is not set
CONFIG_X86_32=y
# CONFIG_X86_64 is not set
CONFIG_X86=y
# CONFIG_GENERIC_LOCKBREAK is not set
CONFIG_GENERIC_TIME=y
CONFIG_GENERIC_CMOS_UPDATE=y
CONFIG_CLOCKSOURCE_WATCHDOG=y
CONFIG_GENERIC_CLOCKEVENTS=y
CONFIG_GENERIC_CLOCKEVENTS_BROADCAST=y
CONFIG_LOCKDEP_SUPPORT=y
CONFIG_STACKTRACE_SUPPORT=y
CONFIG_HAVE_LATENCYTOP_SUPPORT=y
CONFIG_FAST_CMPXCHG_LOCAL=y
CONFIG_MMU=y
CONFIG_ZONE_DMA=y
CONFIG_GENERIC_ISA_DMA=y
CONFIG_GENERIC_IOMAP=y
CONFIG_GENERIC_BUG=y
CONFIG_GENERIC_HWEIGHT=y
# CONFIG_GENERIC_GPIO is not set
CONFIG_ARCH_MAY_HAVE_PC_FDC=y
# CONFIG_RWSEM_GENERIC_SPINLOCK is not set
CONFIG_RWSEM_XCHGADD_ALGORITHM=y
# CONFIG_ARCH_HAS_ILOG2_U32 is not set
# CONFIG_ARCH_HAS_ILOG2_U64 is not set
CONFIG_ARCH_HAS_CPU_IDLE_WAIT=y
CONFIG_GENERIC_CALIBRATE_DELAY=y
# CONFIG_GENERIC_TIME_VSYSCALL is not set
CONFIG_ARCH_HAS_CPU_RELAX=y
CONFIG_ARCH_HAS_CACHE_LINE_SIZE=y
CONFIG_HAVE_SETUP_PER_CPU_AREA=y
CONFIG_ARCH_HIBERNATION_POSSIBLE=y
CONFIG_ARCH_SUSPEND_POSSIBLE=y
# CONFIG_ZONE_DMA32 is not set
CONFIG_ARCH_POPULATES_NODE_MAP=y
# CONFIG_AUDIT_ARCH is not set
CONFIG_ARCH_SUPPORTS_AOUT=y
CONFIG_ARCH_SUPPORTS_OPTIMIZED_INLINING=y
CONFIG_GENERIC_HARDIRQS=y
CONFIG_GENERIC_IRQ_PROBE=y
CONFIG_GENERIC_PENDING_IRQ=y
CONFIG_X86_SMP=y
CONFIG_X86_32_SMP=y
CONFIG_X86_HT=y
CONFIG_X86_BIOS_REBOOT=y
CONFIG_X86_TRAMPOLINE=y
CONFIG_KTIME_SCALAR=y
CONFIG_DEFCONFIG_LIST="/lib/modules/$UNAME_RELEASE/.config"

#
# General setup
#
CONFIG_EXPERIMENTAL=y
CONFIG_LOCK_KERNEL=y
CONFIG_INIT_ENV_ARG_LIMIT=32
CONFIG_LOCALVERSION=""
CONFIG_LOCALVERSION_AUTO=y
CONFIG_SWAP=y
CONFIG_SYSVIPC=y
CONFIG_SYSVIPC_SYSCTL=y
CONFIG_POSIX_MQUEUE=y
# CONFIG_BSD_PROCESS_ACCT is not set
CONFIG_TASKSTATS=y
CONFIG_TASK_DELAY_ACCT=y
CONFIG_TASK_XACCT=y
CONFIG_TASK_IO_ACCOUNTING=y
# CONFIG_AUDIT is not set
# CONFIG_IKCONFIG is not set
CONFIG_LOG_BUF_SHIFT=15
CONFIG_CGROUPS=y
# CONFIG_CGROUP_DEBUG is not set
CONFIG_CGROUP_NS=y
# CONFIG_CGROUP_DEVICE is not set
CONFIG_CPUSETS=y
CONFIG_GROUP_SCHED=y
CONFIG_FAIR_GROUP_SCHED=y
# CONFIG_RT_GROUP_SCHED is not set
CONFIG_USER_SCHED=y
# CONFIG_CGROUP_SCHED is not set
CONFIG_CGROUP_CPUACCT=y
# CONFIG_RESOURCE_COUNTERS is not set
CONFIG_SYSFS_DEPRECATED=y
CONFIG_SYSFS_DEPRECATED_V2=y
CONFIG_PROC_PID_CPUSET=y
CONFIG_RELAY=y
CONFIG_NAMESPACES=y
# CONFIG_UTS_NS is not set
# CONFIG_IPC_NS is not set
# CONFIG_USER_NS is not set
# CONFIG_PID_NS is not set
CONFIG_BLK_DEV_INITRD=y
CONFIG_INITRAMFS_SOURCE=""
# CONFIG_CC_OPTIMIZE_FOR_SIZE is not set
CONFIG_SYSCTL=y
# CONFIG_EMBEDDED is not set
CONFIG_UID16=y
CONFIG_SYSCTL_SYSCALL=y
CONFIG_SYSCTL_SYSCALL_CHECK=y
CONFIG_KALLSYMS=y
CONFIG_KALLSYMS_ALL=y
# CONFIG_KALLSYMS_EXTRA_PASS is not set
CONFIG_HOTPLUG=y
CONFIG_PRINTK=y
CONFIG_BUG=y
CONFIG_ELF_CORE=y
CONFIG_COMPAT_BRK=y
CONFIG_BASE_FULL=y
CONFIG_FUTEX=y
CONFIG_ANON_INODES=y
CONFIG_EPOLL=y
CONFIG_SIGNALFD=y
CONFIG_TIMERFD=y
CONFIG_EVENTFD=y
CONFIG_SHMEM=y
CONFIG_VM_EVENT_COUNTERS=y
CONFIG_SLAB=y
# CONFIG_SLUB is not set
# CONFIG_SLOB is not set
CONFIG_PROFILING=y
# CONFIG_MARKERS is not set
CONFIG_OPROFILE=y
CONFIG_HAVE_OPROFILE=y
CONFIG_KPROBES=y
CONFIG_KRETPROBES=y
CONFIG_HAVE_KPROBES=y
CONFIG_HAVE_KRETPROBES=y
# CONFIG_HAVE_DMA_ATTRS is not set
CONFIG_PROC_PAGE_MONITOR=y
CONFIG_SLABINFO=y
CONFIG_RT_MUTEXES=y
# CONFIG_TINY_SHMEM is not set
CONFIG_BASE_SMALL=0
CONFIG_MODULES=y
CONFIG_MODULE_UNLOAD=y
CONFIG_MODULE_FORCE_UNLOAD=y
CONFIG_MODVERSIONS=y
# CONFIG_MODULE_SRCVERSION_ALL is not set
CONFIG_KMOD=y
CONFIG_STOP_MACHINE=y
CONFIG_BLOCK=y
CONFIG_LBD=y
# CONFIG_BLK_DEV_IO_TRACE is not set
CONFIG_LSF=y
# CONFIG_BLK_DEV_BSG is not set

#
# IO Schedulers
#
CONFIG_IOSCHED_NOOP=y
CONFIG_IOSCHED_AS=y
# CONFIG_IOSCHED_DEADLINE is not set
# CONFIG_IOSCHED_CFQ is not set
CONFIG_IOSCHED_BFQ=y
CONFIG_DEFAULT_AS=y
# CONFIG_DEFAULT_DEADLINE is not set
# CONFIG_DEFAULT_CFQ is not set
# CONFIG_DEFAULT_BFQ is not set
# CONFIG_DEFAULT_NOOP is not set
CONFIG_DEFAULT_IOSCHED="anticipatory"
CONFIG_CLASSIC_RCU=y

#
# Processor type and features
#
# CONFIG_TICK_ONESHOT is not set
# CONFIG_NO_HZ is not set
# CONFIG_HIGH_RES_TIMERS is not set
CONFIG_GENERIC_CLOCKEVENTS_BUILD=y
CONFIG_SMP=y
CONFIG_X86_PC=y
# CONFIG_X86_ELAN is not set
# CONFIG_X86_VOYAGER is not set
# CONFIG_X86_NUMAQ is not set
# CONFIG_X86_SUMMIT is not set
# CONFIG_X86_BIGSMP is not set
# CONFIG_X86_VISWS is not set
# CONFIG_X86_GENERICARCH is not set
# CONFIG_X86_ES7000 is not set
# CONFIG_X86_RDC321X is not set
# CONFIG_X86_VSMP is not set
CONFIG_SCHED_NO_NO_OMIT_FRAME_POINTER=y
# CONFIG_PARAVIRT_GUEST is not set
# CONFIG_M386 is not set
# CONFIG_M486 is not set
# CONFIG_M586 is not set
# CONFIG_M586TSC is not set
# CONFIG_M586MMX is not set
# CONFIG_M686 is not set
# CONFIG_MPENTIUMII is not set
CONFIG_MPENTIUMIII=y
# CONFIG_MPENTIUMM is not set
# CONFIG_MPENTIUM4 is not set
# CONFIG_MK6 is not set
# CONFIG_MK7 is not set
# CONFIG_MK8 is not set
# CONFIG_MCRUSOE is not set
# CONFIG_MEFFICEON is not set
# CONFIG_MWINCHIPC6 is not set
# CONFIG_MWINCHIP2 is not set
# CONFIG_MWINCHIP3D is not set
# CONFIG_MGEODEGX1 is not set
# CONFIG_MGEODE_LX is not set
# CONFIG_MCYRIXIII is not set
# CONFIG_MVIAC3_2 is not set
# CONFIG_MVIAC7 is not set
# CONFIG_MPSC is not set
# CONFIG_MCORE2 is not set
# CONFIG_GENERIC_CPU is not set
# CONFIG_X86_GENERIC is not set
CONFIG_X86_CMPXCHG=y
CONFIG_X86_L1_CACHE_SHIFT=5
CONFIG_X86_XADD=y
CONFIG_X86_WP_WORKS_OK=y
CONFIG_X86_INVLPG=y
CONFIG_X86_BSWAP=y
CONFIG_X86_POPAD_OK=y
CONFIG_X86_GOOD_APIC=y
CONFIG_X86_INTEL_USERCOPY=y
CONFIG_X86_USE_PPRO_CHECKSUM=y
CONFIG_X86_P6_NOP=y
CONFIG_X86_TSC=y
CONFIG_X86_CMOV=y
CONFIG_X86_MINIMUM_CPU_FAMILY=6
CONFIG_X86_DEBUGCTLMSR=y
CONFIG_X86_DS=y
CONFIG_X86_PTRACE_BTS=y
CONFIG_HPET_TIMER=y
CONFIG_DMI=y
# CONFIG_IOMMU_HELPER is not set
CONFIG_NR_CPUS=4
CONFIG_SCHED_SMT=y
CONFIG_SCHED_MC=y
CONFIG_PREEMPT_NONE=y
# CONFIG_PREEMPT_VOLUNTARY is not set
# CONFIG_PREEMPT is not set
CONFIG_X86_LOCAL_APIC=y
CONFIG_X86_IO_APIC=y
# CONFIG_X86_MCE is not set
CONFIG_VM86=y
# CONFIG_TOSHIBA is not set
# CONFIG_I8K is not set
# CONFIG_X86_REBOOTFIXUPS is not set
# CONFIG_MICROCODE is not set
# CONFIG_X86_MSR is not set
# CONFIG_X86_CPUID is not set
# CONFIG_NOHIGHMEM is not set
CONFIG_HIGHMEM4G=y
# CONFIG_HIGHMEM64G is not set
CONFIG_PAGE_OFFSET=0xC0000000
CONFIG_HIGHMEM=y
CONFIG_ARCH_FLATMEM_ENABLE=y
CONFIG_ARCH_SPARSEMEM_ENABLE=y
CONFIG_ARCH_SELECT_MEMORY_MODEL=y
CONFIG_SELECT_MEMORY_MODEL=y
CONFIG_FLATMEM_MANUAL=y
# CONFIG_DISCONTIGMEM_MANUAL is not set
# CONFIG_SPARSEMEM_MANUAL is not set
CONFIG_FLATMEM=y
CONFIG_FLAT_NODE_MEM_MAP=y
CONFIG_SPARSEMEM_STATIC=y
# CONFIG_SPARSEMEM_VMEMMAP_ENABLE is not set
CONFIG_PAGEFLAGS_EXTENDED=y
CONFIG_SPLIT_PTLOCK_CPUS=4
# CONFIG_RESOURCES_64BIT is not set
CONFIG_ZONE_DMA_FLAG=1
CONFIG_BOUNCE=y
CONFIG_VIRT_TO_BUS=y
CONFIG_HIGHPTE=y
# CONFIG_MATH_EMULATION is not set
CONFIG_MTRR=y
CONFIG_X86_PAT=y
# CONFIG_EFI is not set
CONFIG_IRQBALANCE=y
# CONFIG_SECCOMP is not set
# 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_SCHED_HRTICK is not set
# CONFIG_KEXEC is not set
# CONFIG_CRASH_DUMP is not set
CONFIG_PHYSICAL_START=0x100000
# CONFIG_RELOCATABLE is not set
CONFIG_PHYSICAL_ALIGN=0x100000
CONFIG_HOTPLUG_CPU=y
CONFIG_COMPAT_VDSO=y
CONFIG_ARCH_ENABLE_MEMORY_HOTPLUG=y

#
# Power management options
#
CONFIG_PM=y
# CONFIG_PM_DEBUG is not set
CONFIG_PM_SLEEP_SMP=y
CONFIG_PM_SLEEP=y
CONFIG_SUSPEND=y
CONFIG_SUSPEND_FREEZER=y
CONFIG_HIBERNATION=y
CONFIG_PM_STD_PARTITION=""
CONFIG_ACPI=y
CONFIG_ACPI_SLEEP=y
CONFIG_ACPI_PROCFS=y
CONFIG_ACPI_PROCFS_POWER=y
CONFIG_ACPI_SYSFS_POWER=y
CONFIG_ACPI_PROC_EVENT=y
CONFIG_ACPI_AC=m
# CONFIG_ACPI_BATTERY is not set
# CONFIG_ACPI_BUTTON is not set
# CONFIG_ACPI_FAN is not set
# CONFIG_ACPI_DOCK is not set
# CONFIG_ACPI_PROCESSOR is not set
# CONFIG_ACPI_WMI is not set
# CONFIG_ACPI_ASUS is not set
# CONFIG_ACPI_TOSHIBA is not set
CONFIG_ACPI_CUSTOM_DSDT_FILE=""
# CONFIG_ACPI_CUSTOM_DSDT is not set
CONFIG_ACPI_BLACKLIST_YEAR=0
# CONFIG_ACPI_DEBUG is not set
CONFIG_ACPI_EC=y
# CONFIG_ACPI_PCI_SLOT is not set
CONFIG_ACPI_POWER=y
CONFIG_ACPI_SYSTEM=y
CONFIG_X86_PM_TIMER=y
# CONFIG_ACPI_CONTAINER is not set
# CONFIG_ACPI_SBS is not set
CONFIG_X86_APM_BOOT=y
CONFIG_APM=m
# CONFIG_APM_IGNORE_USER_SUSPEND is not set
# CONFIG_APM_DO_ENABLE is not set
# CONFIG_APM_CPU_IDLE is not set
# CONFIG_APM_DISPLAY_BLANK is not set
# CONFIG_APM_ALLOW_INTS is not set
# CONFIG_APM_REAL_MODE_POWER_OFF is not set

#
# CPU Frequency scaling
#
# CONFIG_CPU_FREQ is not set
# CONFIG_CPU_IDLE is not set

#
# Bus options (PCI etc.)
#
CONFIG_PCI=y
# CONFIG_PCI_GOBIOS is not set
# CONFIG_PCI_GOMMCONFIG is not set
# CONFIG_PCI_GODIRECT is not set
CONFIG_PCI_GOANY=y
# CONFIG_PCI_GOOLPC is not set
CONFIG_PCI_BIOS=y
CONFIG_PCI_DIRECT=y
CONFIG_PCI_MMCONFIG=y
CONFIG_PCI_DOMAINS=y
# CONFIG_PCIEPORTBUS is not set
CONFIG_ARCH_SUPPORTS_MSI=y
# CONFIG_PCI_MSI is not set
CONFIG_PCI_LEGACY=y
# CONFIG_PCI_DEBUG is not set
CONFIG_HT_IRQ=y
CONFIG_ISA_DMA_API=y
# CONFIG_ISA is not set
# CONFIG_MCA is not set
# CONFIG_SCx200 is not set
# CONFIG_OLPC is not set
# CONFIG_PCCARD is not set
# CONFIG_HOTPLUG_PCI is not set

#
# Executable file formats / Emulations
#
CONFIG_BINFMT_ELF=y
# CONFIG_BINFMT_AOUT is not set
# CONFIG_BINFMT_MISC is not set

#
# Networking
#
CONFIG_NET=y

#
# Networking options
#
CONFIG_PACKET=m
CONFIG_PACKET_MMAP=y
CONFIG_UNIX=m
CONFIG_XFRM=y
CONFIG_XFRM_USER=y
# CONFIG_XFRM_SUB_POLICY is not set
# CONFIG_XFRM_MIGRATE is not set
# CONFIG_XFRM_STATISTICS is not set
CONFIG_NET_KEY=y
# CONFIG_NET_KEY_MIGRATE is not set
CONFIG_INET=y
CONFIG_IP_MULTICAST=y
# CONFIG_IP_ADVANCED_ROUTER is not set
CONFIG_IP_FIB_HASH=y
# CONFIG_IP_PNP 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=y
CONFIG_INET_IPCOMP=y
CONFIG_INET_XFRM_TUNNEL=y
CONFIG_INET_TUNNEL=y
CONFIG_INET_XFRM_MODE_TRANSPORT=y
CONFIG_INET_XFRM_MODE_TUNNEL=y
CONFIG_INET_XFRM_MODE_BEET=y
# CONFIG_INET_LRO is not set
# CONFIG_INET_DIAG is not set
# CONFIG_TCP_CONG_ADVANCED is not set
CONFIG_TCP_CONG_CUBIC=y
CONFIG_DEFAULT_TCP_CONG="cubic"
# CONFIG_TCP_MD5SIG is not set
# CONFIG_IPV6 is not set
# CONFIG_NETWORK_SECMARK is not set
# CONFIG_NETFILTER is not set
# CONFIG_IP_DCCP is not set
# CONFIG_IP_SCTP is not set
# CONFIG_TIPC is not set
# CONFIG_ATM is not set
# CONFIG_BRIDGE is not set
# CONFIG_VLAN_8021Q is not set
# CONFIG_DECNET is not set
# CONFIG_LLC2 is not set
# CONFIG_IPX is not set
# CONFIG_ATALK is not set
# CONFIG_X25 is not set
# CONFIG_LAPB is not set
# CONFIG_ECONET is not set
# CONFIG_WAN_ROUTER is not set
# CONFIG_NET_SCHED is not set

#
# Network testing
#
# CONFIG_NET_PKTGEN is not set
# CONFIG_NET_TCPPROBE is not set
# CONFIG_HAMRADIO is not set
# CONFIG_CAN is not set
# CONFIG_IRDA is not set
# CONFIG_BT is not set
# CONFIG_AF_RXRPC is not set

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

#
# Device Drivers
#

#
# Generic Driver Options
#
CONFIG_UEVENT_HELPER_PATH="/sbin/hotplug"
# CONFIG_STANDALONE is not set
CONFIG_PREVENT_FIRMWARE_BUILD=y
CONFIG_FW_LOADER=m
# CONFIG_DEBUG_DRIVER is not set
# CONFIG_DEBUG_DEVRES is not set
# CONFIG_SYS_HYPERVISOR is not set
# CONFIG_CONNECTOR is not set
# CONFIG_MTD is not set
# CONFIG_PARPORT is not set
CONFIG_PNP=y
# CONFIG_PNP_DEBUG is not set

#
# Protocols
#
CONFIG_PNPACPI=y
CONFIG_BLK_DEV=y
CONFIG_BLK_DEV_FD=m
# CONFIG_BLK_CPQ_DA is not set
# CONFIG_BLK_CPQ_CISS_DA is not set
# CONFIG_BLK_DEV_DAC960 is not set
# CONFIG_BLK_DEV_UMEM is not set
# CONFIG_BLK_DEV_COW_COMMON is not set
CONFIG_BLK_DEV_LOOP=y
CONFIG_BLK_DEV_CRYPTOLOOP=y
# CONFIG_BLK_DEV_NBD is not set
# CONFIG_BLK_DEV_SX8 is not set
# CONFIG_BLK_DEV_UB is not set
CONFIG_BLK_DEV_RAM=m
CONFIG_BLK_DEV_RAM_COUNT=16
CONFIG_BLK_DEV_RAM_SIZE=4096
# CONFIG_BLK_DEV_XIP is not set
CONFIG_CDROM_PKTCDVD=m
CONFIG_CDROM_PKTCDVD_BUFFERS=8
# CONFIG_CDROM_PKTCDVD_WCACHE is not set
# CONFIG_ATA_OVER_ETH is not set
CONFIG_MISC_DEVICES=y
# CONFIG_IBM_ASM is not set
# CONFIG_PHANTOM is not set
# CONFIG_EEPROM_93CX6 is not set
# CONFIG_SGI_IOC4 is not set
# CONFIG_TIFM_CORE is not set
# CONFIG_TC1100_WMI is not set
# CONFIG_SONY_LAPTOP is not set
# CONFIG_THINKPAD_ACPI is not set
# CONFIG_ENCLOSURE_SERVICES is not set
CONFIG_HAVE_IDE=y
CONFIG_IDE=y
CONFIG_BLK_DEV_IDE=y

#
# Please see Documentation/ide/ide.txt for help/info on IDE drives
#
# CONFIG_BLK_DEV_IDE_SATA is not set
CONFIG_BLK_DEV_IDEDISK=y
# CONFIG_IDEDISK_MULTI_MODE is not set
CONFIG_BLK_DEV_IDECD=y
CONFIG_BLK_DEV_IDECD_VERBOSE_ERRORS=y
# CONFIG_BLK_DEV_IDETAPE is not set
# CONFIG_BLK_DEV_IDEFLOPPY is not set
# CONFIG_BLK_DEV_IDESCSI is not set
# CONFIG_BLK_DEV_IDEACPI is not set
# CONFIG_IDE_TASK_IOCTL is not set
CONFIG_IDE_PROC_FS=y

#
# IDE chipset support/bugfixes
#
CONFIG_IDE_GENERIC=y
# CONFIG_BLK_DEV_PLATFORM is not set
# CONFIG_BLK_DEV_CMD640 is not set
# CONFIG_BLK_DEV_IDEPNP is not set
CONFIG_BLK_DEV_IDEDMA_SFF=y

#
# PCI IDE chipsets support
#
CONFIG_BLK_DEV_IDEPCI=y
CONFIG_IDEPCI_PCIBUS_ORDER=y
# CONFIG_BLK_DEV_OFFBOARD is not set
CONFIG_BLK_DEV_GENERIC=y
# CONFIG_BLK_DEV_OPTI621 is not set
# CONFIG_BLK_DEV_RZ1000 is not set
CONFIG_BLK_DEV_IDEDMA_PCI=y
# CONFIG_BLK_DEV_AEC62XX is not set
# CONFIG_BLK_DEV_ALI15X3 is not set
CONFIG_BLK_DEV_AMD74XX=y
# CONFIG_BLK_DEV_ATIIXP is not set
# CONFIG_BLK_DEV_CMD64X is not set
# CONFIG_BLK_DEV_TRIFLEX is not set
# CONFIG_BLK_DEV_CY82C693 is not set
# CONFIG_BLK_DEV_CS5520 is not set
# CONFIG_BLK_DEV_CS5530 is not set
# CONFIG_BLK_DEV_CS5535 is not set
# CONFIG_BLK_DEV_HPT34X is not set
# CONFIG_BLK_DEV_HPT366 is not set
# CONFIG_BLK_DEV_JMICRON is not set
# CONFIG_BLK_DEV_SC1200 is not set
# CONFIG_BLK_DEV_PIIX is not set
# CONFIG_BLK_DEV_IT8213 is not set
# CONFIG_BLK_DEV_IT821X is not set
# CONFIG_BLK_DEV_NS87415 is not set
# CONFIG_BLK_DEV_PDC202XX_OLD is not set
# CONFIG_BLK_DEV_PDC202XX_NEW is not set
# CONFIG_BLK_DEV_SVWKS is not set
# CONFIG_BLK_DEV_SIIMAGE is not set
# CONFIG_BLK_DEV_SIS5513 is not set
# CONFIG_BLK_DEV_SLC90E66 is not set
# CONFIG_BLK_DEV_TRM290 is not set
CONFIG_BLK_DEV_VIA82CXXX=y
# CONFIG_BLK_DEV_TC86C001 is not set
CONFIG_BLK_DEV_IDEDMA=y
# CONFIG_BLK_DEV_HD_ONLY is not set
# CONFIG_BLK_DEV_HD is not set

#
# SCSI device support
#
# CONFIG_RAID_ATTRS is not set
CONFIG_SCSI=y
CONFIG_SCSI_DMA=y
# CONFIG_SCSI_TGT is not set
# CONFIG_SCSI_NETLINK is not set
CONFIG_SCSI_PROC_FS=y

#
# SCSI support type (disk, tape, CD-ROM)
#
CONFIG_BLK_DEV_SD=y
# CONFIG_CHR_DEV_ST is not set
# CONFIG_CHR_DEV_OSST is not set
# CONFIG_BLK_DEV_SR is not set
# CONFIG_CHR_DEV_SG is not set
# CONFIG_CHR_DEV_SCH is not set

#
# Some SCSI devices (e.g. CD jukebox) support multiple LUNs
#
CONFIG_SCSI_MULTI_LUN=y
CONFIG_SCSI_CONSTANTS=y
# CONFIG_SCSI_LOGGING is not set
# CONFIG_SCSI_SCAN_ASYNC is not set
CONFIG_SCSI_WAIT_SCAN=m

#
# SCSI Transports
#
CONFIG_SCSI_SPI_ATTRS=y
# CONFIG_SCSI_FC_ATTRS is not set
# CONFIG_SCSI_ISCSI_ATTRS is not set
# CONFIG_SCSI_SAS_LIBSAS is not set
# CONFIG_SCSI_SRP_ATTRS is not set
CONFIG_SCSI_LOWLEVEL=y
# CONFIG_ISCSI_TCP is not set
# CONFIG_BLK_DEV_3W_XXXX_RAID is not set
# CONFIG_SCSI_3W_9XXX is not set
# CONFIG_SCSI_ACARD is not set
# CONFIG_SCSI_AACRAID is not set
CONFIG_SCSI_AIC7XXX=y
CONFIG_AIC7XXX_CMDS_PER_DEVICE=32
CONFIG_AIC7XXX_RESET_DELAY_MS=15000
CONFIG_AIC7XXX_DEBUG_ENABLE=y
CONFIG_AIC7XXX_DEBUG_MASK=0
CONFIG_AIC7XXX_REG_PRETTY_PRINT=y
# CONFIG_SCSI_AIC7XXX_OLD is not set
# CONFIG_SCSI_AIC79XX is not set
# CONFIG_SCSI_AIC94XX is not set
# CONFIG_SCSI_DPT_I2O is not set
# CONFIG_SCSI_ADVANSYS is not set
# CONFIG_SCSI_ARCMSR is not set
# CONFIG_MEGARAID_NEWGEN is not set
# CONFIG_MEGARAID_LEGACY is not set
# CONFIG_MEGARAID_SAS is not set
# CONFIG_SCSI_HPTIOP is not set
# CONFIG_SCSI_BUSLOGIC is not set
# CONFIG_SCSI_DMX3191D is not set
# CONFIG_SCSI_EATA is not set
# CONFIG_SCSI_FUTURE_DOMAIN is not set
# CONFIG_SCSI_GDTH is not set
# CONFIG_SCSI_IPS is not set
# CONFIG_SCSI_INITIO is not set
# CONFIG_SCSI_INIA100 is not set
# CONFIG_SCSI_MVSAS is not set
# CONFIG_SCSI_STEX is not set
# CONFIG_SCSI_SYM53C8XX_2 is not set
# CONFIG_SCSI_QLOGIC_1280 is not set
# CONFIG_SCSI_QLA_FC is not set
# CONFIG_SCSI_QLA_ISCSI is not set
# CONFIG_SCSI_LPFC is not set
# CONFIG_SCSI_DC395x is not set
# CONFIG_SCSI_DC390T is not set
# CONFIG_SCSI_NSP32 is not set
# CONFIG_SCSI_DEBUG is not set
# CONFIG_SCSI_SRP is not set
# CONFIG_ATA is not set
# CONFIG_MD is not set
# CONFIG_FUSION is not set

#
# IEEE 1394 (FireWire) support
#
# CONFIG_FIREWIRE is not set
# CONFIG_IEEE1394 is not set
# CONFIG_I2O is not set
CONFIG_MACINTOSH_DRIVERS=y
# CONFIG_MAC_EMUMOUSEBTN is not set
CONFIG_NETDEVICES=y
# CONFIG_NETDEVICES_MULTIQUEUE is not set
CONFIG_DUMMY=m
# CONFIG_BONDING is not set
# CONFIG_MACVLAN is not set
# CONFIG_EQUALIZER is not set
CONFIG_TUN=y
# CONFIG_VETH is not set
# CONFIG_NET_SB1000 is not set
# CONFIG_ARCNET is not set
# CONFIG_PHYLIB is not set
CONFIG_NET_ETHERNET=y
CONFIG_MII=y
# CONFIG_HAPPYMEAL is not set
# CONFIG_SUNGEM is not set
# CONFIG_CASSINI is not set
CONFIG_NET_VENDOR_3COM=y
CONFIG_VORTEX=m
# CONFIG_TYPHOON is not set
CONFIG_NET_TULIP=y
CONFIG_DE2104X=m
CONFIG_TULIP=m
# CONFIG_TULIP_MWI is not set
# CONFIG_TULIP_MMIO is not set
# CONFIG_TULIP_NAPI is not set
CONFIG_DE4X5=m
CONFIG_WINBOND_840=m
CONFIG_DM9102=m
# CONFIG_ULI526X is not set
# CONFIG_HP100 is not set
# CONFIG_IBM_NEW_EMAC_ZMII is not set
# CONFIG_IBM_NEW_EMAC_RGMII is not set
# CONFIG_IBM_NEW_EMAC_TAH is not set
# CONFIG_IBM_NEW_EMAC_EMAC4 is not set
CONFIG_NET_PCI=y
CONFIG_PCNET32=m
# CONFIG_PCNET32_NAPI is not set
CONFIG_AMD8111_ETH=m
# CONFIG_AMD8111E_NAPI is not set
# CONFIG_ADAPTEC_STARFIRE is not set
# CONFIG_B44 is not set
# CONFIG_FORCEDETH is not set
# CONFIG_EEPRO100 is not set
CONFIG_E100=m
# CONFIG_FEALNX is not set
# CONFIG_NATSEMI is not set
# CONFIG_NE2K_PCI is not set
# CONFIG_8139CP is not set
# CONFIG_8139TOO is not set
# CONFIG_R6040 is not set
# CONFIG_SIS900 is not set
# CONFIG_EPIC100 is not set
# CONFIG_SUNDANCE is not set
# CONFIG_TLAN is not set
# CONFIG_VIA_RHINE is not set
# CONFIG_SC92031 is not set
CONFIG_NETDEV_1000=y
# CONFIG_ACENIC is not set
# CONFIG_DL2K is not set
# CONFIG_E1000 is not set
# CONFIG_E1000E is not set
# CONFIG_E1000E_ENABLED is not set
# CONFIG_IP1000 is not set
# CONFIG_IGB is not set
# CONFIG_NS83820 is not set
# CONFIG_HAMACHI is not set
# CONFIG_YELLOWFIN is not set
# CONFIG_R8169 is not set
# CONFIG_SIS190 is not set
# CONFIG_SKGE is not set
# CONFIG_SKY2 is not set
# CONFIG_VIA_VELOCITY is not set
# CONFIG_TIGON3 is not set
# CONFIG_BNX2 is not set
# CONFIG_QLA3XXX is not set
# CONFIG_ATL1 is not set
CONFIG_NETDEV_10000=y
# CONFIG_CHELSIO_T1 is not set
# CONFIG_CHELSIO_T3 is not set
# CONFIG_IXGBE is not set
# CONFIG_IXGB is not set
# CONFIG_S2IO is not set
# CONFIG_MYRI10GE is not set
# CONFIG_NETXEN_NIC is not set
# CONFIG_NIU is not set
# CONFIG_MLX4_CORE is not set
# CONFIG_TEHUTI is not set
# CONFIG_BNX2X is not set
# CONFIG_TR is not set

#
# Wireless LAN
#
# CONFIG_WLAN_PRE80211 is not set
# CONFIG_WLAN_80211 is not set
# CONFIG_IWLWIFI_LEDS is not set

#
# USB Network Adapters
#
# CONFIG_USB_CATC is not set
# CONFIG_USB_KAWETH is not set
# CONFIG_USB_PEGASUS is not set
# CONFIG_USB_RTL8150 is not set
# CONFIG_USB_USBNET is not set
# CONFIG_WAN is not set
# CONFIG_FDDI is not set
# CONFIG_HIPPI is not set
# CONFIG_PPP is not set
# CONFIG_SLIP is not set
# CONFIG_NET_FC is not set
# CONFIG_NETCONSOLE is not set
# CONFIG_NETPOLL is not set
# CONFIG_NET_POLL_CONTROLLER is not set
# CONFIG_ISDN is not set
# CONFIG_PHONE is not set

#
# Input device support
#
CONFIG_INPUT=y
# CONFIG_INPUT_FF_MEMLESS is not set
# CONFIG_INPUT_POLLDEV is not set

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

#
# Input Device Drivers
#
CONFIG_INPUT_KEYBOARD=y
CONFIG_KEYBOARD_ATKBD=y
# CONFIG_KEYBOARD_SUNKBD is not set
# CONFIG_KEYBOARD_LKKBD is not set
CONFIG_KEYBOARD_XTKBD=m
CONFIG_KEYBOARD_NEWTON=m
# CONFIG_KEYBOARD_STOWAWAY is not set
CONFIG_INPUT_MOUSE=y
CONFIG_MOUSE_PS2=m
CONFIG_MOUSE_PS2_ALPS=y
CONFIG_MOUSE_PS2_LOGIPS2PP=y
CONFIG_MOUSE_PS2_SYNAPTICS=y
CONFIG_MOUSE_PS2_LIFEBOOK=y
CONFIG_MOUSE_PS2_TRACKPOINT=y
# CONFIG_MOUSE_PS2_TOUCHKIT is not set
# CONFIG_MOUSE_PS2_ELANTECH is not set
CONFIG_MOUSE_SERIAL=m
# CONFIG_MOUSE_APPLETOUCH is not set
# CONFIG_MOUSE_VSXXXAA is not set
# CONFIG_INPUT_JOYSTICK is not set
# CONFIG_INPUT_TABLET is not set
# CONFIG_INPUT_TOUCHSCREEN is not set
# CONFIG_INPUT_MISC is not set

#
# Hardware I/O ports
#
CONFIG_SERIO=y
CONFIG_SERIO_I8042=y
# CONFIG_SERIO_SERPORT is not set
# CONFIG_SERIO_CT82C710 is not set
# CONFIG_SERIO_PCIPS2 is not set
CONFIG_SERIO_LIBPS2=y
# CONFIG_SERIO_RAW is not set
# CONFIG_GAMEPORT is not set

#
# Character devices
#
CONFIG_VT=y
CONFIG_VT_CONSOLE=y
CONFIG_HW_CONSOLE=y
# CONFIG_VT_HW_CONSOLE_BINDING is not set
CONFIG_DEVKMEM=y
# CONFIG_SERIAL_NONSTANDARD is not set
# CONFIG_NOZOMI is not set

#
# Serial drivers
#
CONFIG_SERIAL_8250=y
CONFIG_SERIAL_8250_CONSOLE=y
CONFIG_FIX_EARLYCON_MEM=y
CONFIG_SERIAL_8250_PCI=y
CONFIG_SERIAL_8250_PNP=y
CONFIG_SERIAL_8250_NR_UARTS=4
CONFIG_SERIAL_8250_RUNTIME_UARTS=4
CONFIG_SERIAL_8250_EXTENDED=y
CONFIG_SERIAL_8250_MANY_PORTS=y
CONFIG_SERIAL_8250_SHARE_IRQ=y
# CONFIG_SERIAL_8250_DETECT_IRQ is not set
CONFIG_SERIAL_8250_RSA=y

#
# Non-8250 serial port support
#
CONFIG_SERIAL_CORE=y
CONFIG_SERIAL_CORE_CONSOLE=y
# CONFIG_SERIAL_JSM is not set
CONFIG_UNIX98_PTYS=y
CONFIG_LEGACY_PTYS=y
CONFIG_LEGACY_PTY_COUNT=256
CONFIG_IPMI_HANDLER=m
# CONFIG_IPMI_PANIC_EVENT is not set
CONFIG_IPMI_DEVICE_INTERFACE=m
CONFIG_IPMI_SI=m
CONFIG_IPMI_WATCHDOG=m
# CONFIG_IPMI_POWEROFF is not set
# CONFIG_HW_RANDOM is not set
# CONFIG_NVRAM is not set
# CONFIG_RTC is not set
# CONFIG_GEN_RTC is not set
# CONFIG_R3964 is not set
# CONFIG_APPLICOM is not set
# CONFIG_SONYPI is not set
# CONFIG_MWAVE is not set
# CONFIG_PC8736x_GPIO is not set
# CONFIG_NSC_GPIO is not set
# CONFIG_CS5535_GPIO is not set
# CONFIG_RAW_DRIVER is not set
# CONFIG_HPET is not set
CONFIG_HANGCHECK_TIMER=m
# CONFIG_TCG_TPM is not set
# CONFIG_TELCLOCK is not set
CONFIG_DEVPORT=y
# CONFIG_I2C is not set
# CONFIG_SPI is not set
# CONFIG_W1 is not set
CONFIG_POWER_SUPPLY=y
# CONFIG_POWER_SUPPLY_DEBUG is not set
# CONFIG_PDA_POWER is not set
# CONFIG_BATTERY_DS2760 is not set
# CONFIG_HWMON is not set
# CONFIG_THERMAL is not set
CONFIG_WATCHDOG=y
# CONFIG_WATCHDOG_NOWAYOUT is not set
CONFIG_WATCHDOG_CORE=m
# CONFIG_WATCHDOG_DEBUG_CORE is not set

#
# Watchdog Device Drivers
#
CONFIG_SOFT_WATCHDOG=y
# CONFIG_ACQUIRE_WDT is not set
# CONFIG_ADVANTECH_WDT is not set
# CONFIG_ALIM1535_WDT is not set
# CONFIG_ALIM7101_WDT is not set
# CONFIG_SC520_WDT is not set
# CONFIG_EUROTECH_WDT is not set
# CONFIG_IB700_WDT is not set
# CONFIG_IBMASR is not set
# CONFIG_WAFER_WDT is not set
# CONFIG_I6300ESB_WDT is not set
# CONFIG_ITCO_WDT is not set
# CONFIG_IT8712F_WDT is not set
# CONFIG_HP_WATCHDOG is not set
# CONFIG_SC1200_WDT is not set
# CONFIG_PC87413_WDT is not set
# CONFIG_60XX_WDT is not set
# CONFIG_SBC8360_WDT is not set
# CONFIG_SBC7240_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 is not set
# CONFIG_W83977F_WDT is not set
# CONFIG_MACHZ_WDT is not set
# CONFIG_SBC_EPX_C3_WATCHDOG is not set

#
# PCI-based Watchdog Cards
#
# CONFIG_PCIPCWATCHDOG is not set
# CONFIG_WDTPCI is not set

#
# USB-based Watchdog Cards
#
# CONFIG_USBPCWATCHDOG is not set

#
# Sonics Silicon Backplane
#
CONFIG_SSB_POSSIBLE=y
# CONFIG_SSB is not set

#
# Multifunction device drivers
#
# CONFIG_MFD_SM501 is not set
# CONFIG_HTC_PASIC3 is not set

#
# Multimedia devices
#
# CONFIG_VIDEO_DEV is not set
# CONFIG_DVB_CORE is not set
CONFIG_DAB=y
# CONFIG_USB_DABUSB is not set

#
# Graphics support
#
CONFIG_AGP=m
# CONFIG_AGP_ALI is not set
# CONFIG_AGP_ATI is not set
# CONFIG_AGP_AMD is not set
# CONFIG_AGP_AMD64 is not set
CONFIG_AGP_INTEL=m
# CONFIG_AGP_NVIDIA is not set
CONFIG_AGP_SIS=m
# CONFIG_AGP_SWORKS is not set
CONFIG_AGP_VIA=m
# CONFIG_AGP_EFFICEON is not set
CONFIG_DRM=m
# CONFIG_DRM_TDFX is not set
# CONFIG_DRM_R128 is not set
# 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 is not set
# CONFIG_DRM_SIS is not set
# CONFIG_DRM_VIA is not set
CONFIG_DRM_SAVAGE=m
# CONFIG_VGASTATE is not set
CONFIG_VIDEO_OUTPUT_CONTROL=m
# CONFIG_FB is not set
# CONFIG_BACKLIGHT_LCD_SUPPORT is not set

#
# Display device support
#
# CONFIG_DISPLAY_SUPPORT 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 is not set
CONFIG_HID_SUPPORT=y
CONFIG_HID=y
# CONFIG_HID_DEBUG is not set
# CONFIG_HIDRAW is not set

#
# USB Input Devices
#
CONFIG_USB_HID=m
# CONFIG_USB_HIDINPUT_POWERBOOK is not set
# CONFIG_HID_FF is not set
# CONFIG_USB_HIDDEV is not set

#
# USB HID Boot Protocol drivers
#
# CONFIG_USB_KBD is not set
# CONFIG_USB_MOUSE is not set
CONFIG_USB_SUPPORT=y
CONFIG_USB_ARCH_HAS_HCD=y
CONFIG_USB_ARCH_HAS_OHCI=y
CONFIG_USB_ARCH_HAS_EHCI=y
CONFIG_USB=m
# CONFIG_USB_DEBUG is not set
# CONFIG_USB_ANNOUNCE_NEW_DEVICES is not set

#
# Miscellaneous USB options
#
# CONFIG_USB_DEVICEFS is not set
CONFIG_USB_DEVICE_CLASS=y
# CONFIG_USB_DYNAMIC_MINORS is not set
# CONFIG_USB_SUSPEND is not set
# CONFIG_USB_OTG is not set
# CONFIG_USB_WUSB is not set

#
# USB Host Controller Drivers
#
CONFIG_USB_EHCI_HCD=m
# CONFIG_USB_EHCI_ROOT_HUB_TT is not set
# CONFIG_USB_EHCI_TT_NEWSCHED is not set
# CONFIG_USB_ISP116X_HCD is not set
CONFIG_USB_OHCI_HCD=m
# CONFIG_USB_OHCI_BIG_ENDIAN_DESC is not set
# CONFIG_USB_OHCI_BIG_ENDIAN_MMIO is not set
CONFIG_USB_OHCI_LITTLE_ENDIAN=y
CONFIG_USB_UHCI_HCD=m
# CONFIG_USB_SL811_HCD is not set
# CONFIG_USB_R8A66597_HCD is not set
# CONFIG_USB_HWA_HCD is not set

#
# USB Device Class drivers
#
# CONFIG_USB_ACM is not set
CONFIG_USB_PRINTER=m

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

#
# may also be needed; see USB_STORAGE Help for more information
#
# CONFIG_USB_STORAGE is not set
# CONFIG_USB_LIBUSUAL is not set

#
# USB Imaging devices
#
# CONFIG_USB_MDC800 is not set
# CONFIG_USB_MICROTEK is not set
CONFIG_USB_MON=y

#
# USB port drivers
#
# CONFIG_USB_SERIAL is not set

#
# USB Miscellaneous drivers
#
# CONFIG_USB_EMI62 is not set
# CONFIG_USB_EMI26 is not set
# CONFIG_USB_ADUTUX is not set
# CONFIG_USB_AUERSWALD is not set
# CONFIG_USB_RIO500 is not set
# CONFIG_USB_LEGOTOWER is not set
# CONFIG_USB_LCD is not set
# CONFIG_USB_BERRY_CHARGE is not set
# CONFIG_USB_LED is not set
# CONFIG_USB_CYPRESS_CY7C63 is not set
# CONFIG_USB_CYTHERM is not set
# CONFIG_USB_PHIDGET is not set
# CONFIG_USB_IDMOUSE is not set
# CONFIG_USB_FTDI_ELAN is not set
# CONFIG_USB_APPLEDISPLAY is not set
# CONFIG_USB_SISUSBVGA is not set
# CONFIG_USB_LD is not set
# CONFIG_USB_TRANCEVIBRATOR is not set
# CONFIG_USB_IOWARRIOR is not set
# CONFIG_USB_GOTEMP is not set
# CONFIG_USB_GADGET is not set
# CONFIG_UWB is not set
# CONFIG_MMC is not set
# CONFIG_MEMSTICK is not set
# CONFIG_NEW_LEDS is not set
# CONFIG_ACCESSIBILITY is not set
# CONFIG_INFINIBAND is not set
# CONFIG_EDAC is not set
# CONFIG_RTC_CLASS is not set
# CONFIG_DMADEVICES is not set
# CONFIG_UIO is not set

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

#
# File systems
#
CONFIG_EXT2_FS=y
CONFIG_EXT2_FS_XATTR=y
CONFIG_EXT2_FS_POSIX_ACL=y
CONFIG_EXT2_FS_SECURITY=y
# CONFIG_EXT2_FS_XIP is not set
CONFIG_EXT3_FS=y
CONFIG_EXT3_FS_XATTR=y
CONFIG_EXT3_FS_POSIX_ACL=y
CONFIG_EXT3_FS_SECURITY=y
# CONFIG_EXT4DEV_FS is not set
CONFIG_JBD=y
# CONFIG_JBD_DEBUG is not set
CONFIG_FS_MBCACHE=y
# CONFIG_REISER4_FS is not set
# CONFIG_REISERFS_FS is not set
# CONFIG_JFS_FS is not set
CONFIG_FS_POSIX_ACL=y
# CONFIG_XFS_FS is not set
# CONFIG_GFS2_FS is not set
# CONFIG_OCFS2_FS is not set
CONFIG_DNOTIFY=y
CONFIG_INOTIFY=y
CONFIG_INOTIFY_USER=y
# CONFIG_QUOTA is not set
CONFIG_AUTOFS_FS=y
CONFIG_AUTOFS4_FS=y
# CONFIG_FUSE_FS is not set

#
# CD-ROM/DVD Filesystems
#
CONFIG_ISO9660_FS=m
CONFIG_JOLIET=y
CONFIG_ZISOFS=y
# CONFIG_UDF_FS is not set

#
# DOS/FAT/NT Filesystems
#
# CONFIG_MSDOS_FS is not set
# CONFIG_VFAT_FS is not set
CONFIG_NTFS_FS=m
# CONFIG_NTFS_DEBUG is not set
# CONFIG_NTFS_RW is not set

#
# Pseudo filesystems
#
CONFIG_PROC_FS=y
CONFIG_PROC_KCORE=y
CONFIG_PROC_SYSCTL=y
CONFIG_SYSFS=y
CONFIG_TMPFS=y
# CONFIG_TMPFS_POSIX_ACL is not set
CONFIG_HUGETLBFS=y
CONFIG_HUGETLB_PAGE=y
# CONFIG_CONFIGFS_FS is not set

#
# Layered filesystems
#
# CONFIG_UNION_FS is not set

#
# Miscellaneous filesystems
#
# CONFIG_ADFS_FS is not set
# CONFIG_AFFS_FS is not set
# CONFIG_HFS_FS is not set
# CONFIG_HFSPLUS_FS is not set
# CONFIG_BEFS_FS is not set
# CONFIG_BFS_FS is not set
# CONFIG_EFS_FS is not set
# CONFIG_CRAMFS is not set
# CONFIG_VXFS_FS is not set
# CONFIG_MINIX_FS is not set
# CONFIG_HPFS_FS is not set
# CONFIG_QNX4FS_FS is not set
# CONFIG_ROMFS_FS is not set
# CONFIG_SYSV_FS is not set
# CONFIG_UFS_FS is not set
CONFIG_NETWORK_FILESYSTEMS=y
# CONFIG_NFS_FS is not set
# CONFIG_NFSD is not set
# CONFIG_SMB_FS is not set
# CONFIG_CIFS is not set
# CONFIG_NCP_FS is not set
# CONFIG_CODA_FS is not set
# CONFIG_AFS_FS is not set

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

#
# Kernel hacking
#
CONFIG_TRACE_IRQFLAGS_SUPPORT=y
CONFIG_PRINTK_TIME=y
CONFIG_ENABLE_WARN_DEPRECATED=y
CONFIG_ENABLE_MUST_CHECK=y
CONFIG_MAGIC_SYSRQ=y
CONFIG_UNUSED_SYMBOLS=y
# CONFIG_PAGE_OWNER is not set
CONFIG_DEBUG_FS=y
# CONFIG_HEADERS_CHECK is not set
CONFIG_DEBUG_KERNEL=y
# CONFIG_DEBUG_SHIRQ is not set
CONFIG_DETECT_SOFTLOCKUP=y
CONFIG_SCHED_DEBUG=y
# CONFIG_SCHEDSTATS is not set
# CONFIG_TIMER_STATS is not set
# CONFIG_DEBUG_OBJECTS is not set
# CONFIG_DEBUG_SLAB is not set
# CONFIG_DEBUG_RT_MUTEXES is not set
# CONFIG_RT_MUTEX_TESTER is not set
CONFIG_DEBUG_SPINLOCK=y
CONFIG_DEBUG_MUTEXES=y
CONFIG_DEBUG_LOCK_ALLOC=y
# CONFIG_PROVE_LOCKING is not set
CONFIG_LOCKDEP=y
CONFIG_LOCK_STAT=y
# CONFIG_DEBUG_LOCKDEP is not set
CONFIG_DEBUG_SPINLOCK_SLEEP=y
# CONFIG_DEBUG_LOCKING_API_SELFTESTS is not set
CONFIG_STACKTRACE=y
# CONFIG_DEBUG_KOBJECT is not set
# CONFIG_DEBUG_HIGHMEM is not set
CONFIG_DEBUG_BUGVERBOSE=y
CONFIG_DEBUG_INFO=y
CONFIG_DEBUG_VM=y
# CONFIG_DEBUG_WRITECOUNT is not set
# CONFIG_DEBUG_LIST is not set
# CONFIG_DEBUG_SG is not set
CONFIG_FRAME_POINTER=y
# CONFIG_PROFILE_LIKELY is not set
# CONFIG_BOOT_PRINTK_DELAY is not set
# CONFIG_DEBUG_SYNCHRO_TEST is not set
# CONFIG_RCU_TORTURE_TEST is not set
# CONFIG_KPROBES_SANITY_TEST is not set
# CONFIG_BACKTRACE_SELF_TEST is not set
# CONFIG_LKDTM is not set
# CONFIG_FAULT_INJECTION is not set
# CONFIG_LATENCYTOP is not set
CONFIG_HAVE_FTRACE=y
# CONFIG_FTRACE is not set
# CONFIG_IRQSOFF_TRACER is not set
# CONFIG_SYSPROF_TRACER is not set
# CONFIG_SCHED_TRACER is not set
# CONFIG_CONTEXT_SWITCH_TRACER is not set
# CONFIG_PROVIDE_OHCI1394_DMA_INIT is not set
# CONFIG_SAMPLES is not set
# CONFIG_KGDB is not set
CONFIG_HAVE_ARCH_KGDB=y
CONFIG_NONPROMISC_DEVMEM=y
CONFIG_EARLY_PRINTK=y
# CONFIG_DEBUG_STACKOVERFLOW is not set
# CONFIG_DEBUG_STACK_USAGE is not set
# CONFIG_DEBUG_PAGEALLOC is not set
# CONFIG_X86_PTDUMP is not set
# CONFIG_DEBUG_RODATA is not set
# CONFIG_DEBUG_NX_TEST is not set
# CONFIG_4KSTACKS is not set
CONFIG_X86_FIND_SMP_CONFIG=y
CONFIG_X86_MPPARSE=y
CONFIG_DOUBLEFAULT=y
CONFIG_IO_DELAY_TYPE_0X80=0
CONFIG_IO_DELAY_TYPE_0XED=1
CONFIG_IO_DELAY_TYPE_UDELAY=2
CONFIG_IO_DELAY_TYPE_NONE=3
CONFIG_IO_DELAY_0X80=y
# CONFIG_IO_DELAY_0XED is not set
# CONFIG_IO_DELAY_UDELAY is not set
# CONFIG_IO_DELAY_NONE is not set
CONFIG_DEFAULT_IO_DELAY_TYPE=0
# CONFIG_DEBUG_BOOT_PARAMS is not set
# CONFIG_CPA_DEBUG is not set
CONFIG_OPTIMIZE_INLINING=y

#
# Security options
#
# CONFIG_KEYS is not set
# CONFIG_SECURITY is not set
# CONFIG_SECURITY_FILE_CAPABILITIES is not set
CONFIG_CRYPTO=y

#
# Crypto core or helper
#
CONFIG_CRYPTO_ALGAPI=y
CONFIG_CRYPTO_AEAD=y
CONFIG_CRYPTO_BLKCIPHER=y
CONFIG_CRYPTO_HASH=y
CONFIG_CRYPTO_MANAGER=y
# CONFIG_CRYPTO_GF128MUL is not set
CONFIG_CRYPTO_NULL=y
# CONFIG_CRYPTO_CRYPTD is not set
CONFIG_CRYPTO_AUTHENC=y
# CONFIG_CRYPTO_TEST is not set

#
# Authenticated Encryption with Associated Data
#
# CONFIG_CRYPTO_CCM is not set
# CONFIG_CRYPTO_GCM is not set
# CONFIG_CRYPTO_SEQIV is not set

#
# Block modes
#
CONFIG_CRYPTO_CBC=y
# CONFIG_CRYPTO_CTR is not set
# CONFIG_CRYPTO_CTS is not set
CONFIG_CRYPTO_ECB=m
# CONFIG_CRYPTO_LRW is not set
CONFIG_CRYPTO_PCBC=m
# CONFIG_CRYPTO_XTS is not set

#
# Hash modes
#
CONFIG_CRYPTO_HMAC=y
# CONFIG_CRYPTO_XCBC is not set

#
# Digest
#
CONFIG_CRYPTO_CRC32C=y
CONFIG_CRYPTO_MD4=y
CONFIG_CRYPTO_MD5=y
CONFIG_CRYPTO_MICHAEL_MIC=y
CONFIG_CRYPTO_SHA1=y
CONFIG_CRYPTO_SHA256=y
CONFIG_CRYPTO_SHA512=y
# CONFIG_CRYPTO_TGR192 is not set
CONFIG_CRYPTO_WP512=y

#
# Ciphers
#
# CONFIG_CRYPTO_AES is not set
# CONFIG_CRYPTO_AES_586 is not set
# CONFIG_CRYPTO_ANUBIS is not set
CONFIG_CRYPTO_ARC4=y
CONFIG_CRYPTO_BLOWFISH=y
# CONFIG_CRYPTO_CAMELLIA is not set
CONFIG_CRYPTO_CAST5=y
CONFIG_CRYPTO_CAST6=y
CONFIG_CRYPTO_DES=y
# CONFIG_CRYPTO_FCRYPT is not set
# CONFIG_CRYPTO_KHAZAD is not set
# CONFIG_CRYPTO_SALSA20 is not set
# CONFIG_CRYPTO_SALSA20_586 is not set
# CONFIG_CRYPTO_SEED is not set
CONFIG_CRYPTO_SERPENT=y
CONFIG_CRYPTO_TEA=y
CONFIG_CRYPTO_TWOFISH=y
CONFIG_CRYPTO_TWOFISH_COMMON=y
# CONFIG_CRYPTO_TWOFISH_586 is not set

#
# Compression
#
CONFIG_CRYPTO_DEFLATE=y
# CONFIG_CRYPTO_LZO is not set
CONFIG_CRYPTO_HW=y
# CONFIG_CRYPTO_DEV_PADLOCK is not set
CONFIG_CRYPTO_DEV_GEODE=m
# CONFIG_CRYPTO_DEV_HIFN_795X is not set
CONFIG_HAVE_KVM=y
CONFIG_VIRTUALIZATION=y
# CONFIG_KVM is not set
# CONFIG_LGUEST is not set
# CONFIG_VIRTIO_PCI is not set
# CONFIG_VIRTIO_BALLOON is not set

#
# Library routines
#
CONFIG_BITREVERSE=y
CONFIG_CRC_CCITT=y
# CONFIG_CRC16 is not set
# CONFIG_CRC_ITU_T is not set
CONFIG_CRC32=y
# CONFIG_CRC7 is not set
CONFIG_LIBCRC32C=y
CONFIG_ZLIB_INFLATE=y
CONFIG_ZLIB_DEFLATE=y
CONFIG_PLIST=y
CONFIG_HAS_IOMEM=y
CONFIG_HAS_IOPORT=y
CONFIG_HAS_DMA=y
# CONFIG_TRACE is not set

[-- Attachment #3: ide-crash-failure.txt --]
[-- Type: text/plain, Size: 21094 bytes --]

  Booting 'Debian GNU/Linux 2.6.25-mm1 Clean Serial'

root            (hd0,0)
 Filesystem type is ext2fs, partition type 0x83
kernel          /boot/vmlinuz-2.6.25-mm1 root=/dev/hda1 mminit_loglevel=4 logle
vel=9 console=tty0 console=ttyS0,9600 ro earlyprintk=serial,ttyS0,9600 kernelco
re=384MB movablecore=384MB profile=sleep,2 resume=/dev/hda2
   [Linux-bzImage, setup=0x2c00, size=0x1d95d0]
savedefault
boot
[    0.000000] Initializing cgroup subsys cpuset
[    0.000000] Linux version 2.6.25-mm1 (mel@arnold) (gcc version 4.2.3 (Debian 4.2.3-3)) #2 SMP Mon Apr 28 16:56:54 IST 2008
[    0.000000] BIOS-provided physical RAM map:
[    0.000000]  BIOS-e820: 0000000000000000 - 000000000009f800 (usable)
[    0.000000]  BIOS-e820: 000000000009f800 - 00000000000a0000 (reserved)
[    0.000000]  BIOS-e820: 00000000000e0000 - 0000000000100000 (reserved)
[    0.000000]  BIOS-e820: 0000000000100000 - 000000001fff0000 (usable)
[    0.000000]  BIOS-e820: 000000001fff0000 - 000000001fffec00 (ACPI data)
[    0.000000]  BIOS-e820: 000000001fffec00 - 0000000020000000 (ACPI NVS)
[    0.000000]  BIOS-e820: 00000000fff80000 - 0000000100000000 (reserved)
[    0.000000] console [earlyser0] enabled
[    0.000000] CPU and/or kernel does not support PAT.
[    0.000000] 0MB HIGHMEM available.
[    0.000000] 511MB LOWMEM available.
[    0.000000] mminit:: memory_register Entering add_active_range(0, 0, 131056) 0 entries of 256 used
[    0.000000] sizeof(struct page) = 56
[    0.000000] Zone PFN ranges:
[    0.000000]   DMA             0 ->     4096
[    0.000000]   Normal       4096 ->   131056
[    0.000000]   HighMem    131056 ->   131056
[    0.000000] Movable zone start PFN for each node
[    0.000000]   Node 0: 98304
[    0.000000] early_node_map[1] active PFN ranges
[    0.000000]     0:        0 ->   131056
[    0.000000] mminit:: pageflags_layout_widths Section 0 Node 0 Zone 2 Flags 19
[    0.000000] mminit:: pageflags_layout_shifts Section 0 Node 0 Zone 2
[    0.000000] mminit:: pageflags_layout_offsets Section 0 Node 0 Zone 30
[    0.000000] mminit:: pageflags_layout_zoneid Zone ID: 30 -> 32
[    0.000000] mminit:: pageflags_layout_usage location: 32 -> 30 unused 30 -> 19 flags 19 -> 0
[    0.000000] On node 0 totalpages: 131056
[    0.000000] Node 0 memmap at 0xc1000000 size 7340032 first pfn 0xc1000000
[    0.000000] mminit:: memmap_init DMA zone: 56 pages used for memmap
[    0.000000] mminit:: memmap_init DMA zone: 0 pages reserved
[    0.000000]   DMA zone: 4040 pages, LIFO batch:0
[    0.000000] mminit:: memmap_init Initialising map node 0 zone 0 pfns 0 -> 4096
[    0.000000] mminit:: memmap_init Normal zone: 1288 pages used for memmap
[    0.000000]   Normal zone: 92920 pages, LIFO batch:31
[    0.000000] mminit:: memmap_init Initialising map node 0 zone 1 pfns 4096 -> 98304
[    0.000000] mminit:: memmap_init HighMem zone: 0 pages used for memmap
[    0.000000] mminit:: memmap_init Movable zone: 447 pages used for memmap
[    0.000000]   Movable zone: 32305 pages, LIFO batch:7
[    0.000000] mminit:: memmap_init Initialising map node 0 zone 3 pfns 98304 -> 131056
[    0.000000] DMI 2.3 present.
[    0.000000] ACPI: RSDP 000F7160, 0014 (r0 PTLTD )
[    0.000000] ACPI: RSDT 1FFF4D07, 002C (r1 PTLTD    RSDT    6040000  LTP        0)
[    0.000000] ACPI: FACP 1FFFEB65, 0074 (r1 IBM    TP-T21    6040000             0)
[    0.000000] ACPI: DSDT 1FFF4D33, 9E32 (r1 IBM    TP-T21    6040000 MSFT  100000C)
[    0.000000] ACPI: FACS 1FFFF000, 0040
[    0.000000] ACPI: BOOT 1FFFEBD9, 0027 (r1 PTLTD  $SBFTBL$  6040000  LTP        1)
[    0.000000] ACPI: PM-Timer IO Port: 0x1008
[    0.000000] Allocating PCI resources starting at 30000000 (gap: 20000000:dff80000)
[    0.000000] PM: Registered nosave memory: 000000000009f000 - 00000000000a0000
[    0.000000] PM: Registered nosave memory: 00000000000a0000 - 00000000000e0000
[    0.000000] PM: Registered nosave memory: 00000000000e0000 - 0000000000100000
[    0.000000] SMP: Allowing 0 CPUs, 0 hotplug CPUs
[    0.000000] PERCPU: Allocating 323296 bytes of per cpu data
[    0.000000] mminit::zonelist general 0:DMA = 0:DMA 
[    0.000000] mminit::zonelist general 0:Normal = 0:Normal 0:DMA 
[    0.000000] mminit::zonelist general 0:Movable = 0:Movable 0:Normal 0:DMA 
[    0.000000] Built 1 zonelists in Zone order, mobility grouping on.  Total pages: 129265
[    0.000000] Kernel command line: root=/dev/hda1 mminit_loglevel=4 loglevel=9 console=tty0 console=ttyS0,9600 ro earlyprintk=serial,ttyS0,9600 kernelcore=384MB movablecore=384MB profile=sleep,2 resume=/dev/hda2
[    0.000000] kernel sleep profiling requires CONFIG_SCHEDSTATS
[    0.000000] Local APIC disabled by BIOS -- you can enable it with "lapic"
[    0.000000] mapped APIC to ffffb000 (01757000)
[    0.000000] Enabling fast FPU save and restore... done.
[    0.000000] Enabling unmasked SIMD FPU exception support... done.
[    0.000000] Initializing CPU#0
[    0.000000] PID hash table entries: 2048 (order: 11, 8192 bytes)
[    0.000000] Detected 796.561 MHz processor.
[    0.004000] Console: colour VGA+ 80x25
[    0.004000] console [tty0] enabled
[    0.000000] Initializing cgroup subsys cpuset
[    0.000000] Linux version 2.6.25-mm1 (mel@arnold) (gcc version 4.2.3 (Debian 4.2.3-3)) #2 SMP Mon Apr 28 16:56:54 IST 2008
[    0.000000] BIOS-provided physical RAM map:
[    0.000000]  BIOS-e820: 0000000000000000 - 000000000009f800 (usable)
[    0.000000]  BIOS-e820: 000000000009f800 - 00000000000a0000 (reserved)
[    0.000000]  BIOS-e820: 00000000000e0000 - 0000000000100000 (reserved)
[    0.000000]  BIOS-e820: 0000000000100000 - 000000001fff0000 (usable)
[    0.000000]  BIOS-e820: 000000001fff0000 - 000000001fffec00 (ACPI data)
[    0.000000]  BIOS-e820: 000000001fffec00 - 0000000020000000 (ACPI NVS)
[    0.000000]  BIOS-e820: 00000000fff80000 - 0000000100000000 (reserved)
[    0.000000] console [earlyser0] enabled
[    0.000000] CPU and/or kernel does not support PAT.
[    0.000000] 0MB HIGHMEM available.
[    0.000000] 511MB LOWMEM available.
[    0.000000] mminit:: memory_register Entering add_active_range(0, 0, 131056) 0 entries of 256 used
[    0.000000] sizeof(struct page) = 56
[    0.000000] Zone PFN ranges:
[    0.000000]   DMA             0 ->     4096
[    0.000000]   Normal       4096 ->   131056
[    0.000000]   HighMem    131056 ->   131056
[    0.000000] Movable zone start PFN for each node
[    0.000000]   Node 0: 98304
[    0.000000] early_node_map[1] active PFN ranges
[    0.000000]     0:        0 ->   131056
[    0.000000] mminit:: pageflags_layout_widths Section 0 Node 0 Zone 2 Flags 19
[    0.000000] mminit:: pageflags_layout_shifts Section 0 Node 0 Zone 2
[    0.000000] mminit:: pageflags_layout_offsets Section 0 Node 0 Zone 30
[    0.000000] mminit:: pageflags_layout_zoneid Zone ID: 30 -> 32
[    0.000000] mminit:: pageflags_layout_usage location: 32 -> 30 unused 30 -> 19 flags 19 -> 0
[    0.000000] On node 0 totalpages: 131056
[    0.000000] Node 0 memmap at 0xc1000000 size 7340032 first pfn 0xc1000000
[    0.000000] mminit:: memmap_init DMA zone: 56 pages used for memmap
[    0.000000] mminit:: memmap_init DMA zone: 0 pages reserved
[    0.000000]   DMA zone: 4040 pages, LIFO batch:0
[    0.000000] mminit:: memmap_init Initialising map node 0 zone 0 pfns 0 -> 4096
[    0.000000] mminit:: memmap_init Normal zone: 1288 pages used for memmap
[    0.000000]   Normal zone: 92920 pages, LIFO batch:31
[    0.000000] mminit:: memmap_init Initialising map node 0 zone 1 pfns 4096 -> 98304
[    0.000000] mminit:: memmap_init HighMem zone: 0 pages used for memmap
[    0.000000] mminit:: memmap_init Movable zone: 447 pages used for memmap
[    0.000000]   Movable zone: 32305 pages, LIFO batch:7
[    0.000000] mminit:: memmap_init Initialising map node 0 zone 3 pfns 98304 -> 131056
[    0.000000] DMI 2.3 present.
[    0.000000] ACPI: RSDP 000F7160, 0014 (r0 PTLTD )
[    0.000000] ACPI: RSDT 1FFF4D07, 002C (r1 PTLTD    RSDT    6040000  LTP        0)
[    0.000000] ACPI: FACP 1FFFEB65, 0074 (r1 IBM    TP-T21    6040000             0)
[    0.000000] ACPI: DSDT 1FFF4D33, 9E32 (r1 IBM    TP-T21    6040000 MSFT  100000C)
[    0.000000] ACPI: FACS 1FFFF000, 0040
[    0.000000] ACPI: BOOT 1FFFEBD9, 0027 (r1 PTLTD  $SBFTBL$  6040000  LTP        1)
[    0.000000] ACPI: PM-Timer IO Port: 0x1008
[    0.000000] Allocating PCI resources starting at 30000000 (gap: 20000000:dff80000)
[    0.000000] PM: Registered nosave memory: 000000000009f000 - 00000000000a0000
[    0.000000] PM: Registered nosave memory: 00000000000a0000 - 00000000000e0000
[    0.000000] PM: Registered nosave memory: 00000000000e0000 - 0000000000100000
[    0.000000] SMP: Allowing 0 CPUs, 0 hotplug CPUs
[    0.000000] PERCPU: Allocating 323296 bytes of per cpu data
[    0.000000] mminit::zonelist general 0:DMA = 0:DMA 
[    0.000000] mminit::zonelist general 0:Normal = 0:Normal 0:DMA 
[    0.000000] mminit::zonelist general 0:Movable = 0:Movable 0:Normal 0:DMA 
[    0.000000] Built 1 zonelists in Zone order, mobility grouping on.  Total pages: 129265
[    0.000000] Kernel command line: root=/dev/hda1 mminit_loglevel=4 loglevel=9 console=tty0 console=ttyS0,9600 ro earlyprintk=serial,ttyS0,9600 kernelcore=384MB movablecore=384MB profile=sleep,2 resume=/dev/hda2
[    0.000000] kernel sleep profiling requires CONFIG_SCHEDSTATS
[    0.000000] Local APIC disabled by BIOS -- you can enable it with "lapic"
[    0.000000] mapped APIC to ffffb000 (01757000)
[    0.000000] Enabling fast FPU save and restore... done.
[    0.000000] Enabling unmasked SIMD FPU exception support... done.
[    0.000000] Initializing CPU#0
[    0.000000] PID hash table entries: 2048 (order: 11, 8192 bytes)
[    0.000000] Detected 796.561 MHz processor.
[    0.004000] Console: colour VGA+ 80x25
[    0.004000] console [tty0] enabled
[    0.004000] console handover: boot [earlyser0] -> real [ttyS0]
[    0.004000] Lock dependency validator: Copyright (c) 2006 Red Hat, Inc., Ingo Molnar
[    0.004000] ... MAX_LOCKDEP_SUBCLASSES:    8
[    0.004000] ... MAX_LOCK_DEPTH:          48
[    0.004000] ... MAX_LOCKDEP_KEYS:        2048
[    0.004000] ... CLASSHASH_SIZE:           1024
[    0.004000] ... MAX_LOCKDEP_ENTRIES:     8192
[    0.004000] ... MAX_LOCKDEP_CHAINS:      16384
[    0.004000] ... CHAINHASH_SIZE:          8192
[    0.004000]  memory used by lock dependency info: 1024 kB
[    0.004000]  per task-struct memory footprint: 2688 bytes
[    0.004000] Dentry cache hash table entries: 65536 (order: 6, 262144 bytes)
[    0.004000] Inode-cache hash table entries: 32768 (order: 5, 131072 bytes)
[    0.004000] Memory: 509568k/524224k available (2376k kernel code, 14120k reserved, 1150k data, 512k init, 0k highmem)
[    0.004000] virtual kernel memory layout:
[    0.004000]     fixmap  : 0xfff81000 - 0xfffff000   ( 504 kB)
[    0.004000]     pkmap   : 0xff800000 - 0xffc00000   (4096 kB)
[    0.004000]     vmalloc : 0xe0800000 - 0xff7fe000   ( 495 MB)
[    0.004000]     lowmem  : 0xc0000000 - 0xdfff0000   ( 511 MB)
[    0.004000]       .init : 0xc0477000 - 0xc04f7000   ( 512 kB)
[    0.004000]       .data : 0xc0352145 - 0xc0471cc0   (1150 kB)
[    0.004000]       .text : 0xc0100000 - 0xc0352145   (2376 kB)
[    0.004000] Checking if this processor honours the WP bit even in supervisor mode...Ok.
[    0.004000] CPA: page pool initialized 1 of 1 pages preallocated
[    0.084013] Calibrating delay using timer specific routine.. 1596.30 BogoMIPS (lpj=3192618)
[    0.092248] Mount-cache hash table entries: 512
[    0.097054] Initializing cgroup subsys ns
[    0.100019] Initializing cgroup subsys cpuacct
[    0.104080] CPU: L1 I cache: 16K, L1 D cache: 16K
[    0.112015] CPU: L2 cache: 256K
[    0.116032] Compat vDSO mapped to ffffe000.
[    0.120029] Checking 'hlt' instruction... OK.
[    0.144639] SMP alternatives: switching to UP code
[    0.162381] Freeing SMP alternatives: 9k freed
[    0.164021] ACPI: Core revision 20080321
[    0.197108] ACPI: setting ELCR to 0200 (from 0800)
[    0.204347] weird, boot CPU (#0) not listedby the BIOS.
[    0.208023] SMP motherboard not detected.
[    0.212024] Local APIC not detected. Using dummy APIC emulation.
[    0.216021] SMP disabled
[    0.220439] Brought up 1 CPUs
[    0.224027] Total of 1 processors activated (1596.30 BogoMIPS).
[    0.228067] CPU0 attaching sched-domain:
[    0.232027]  domain 0: span 1
[    0.240023]   groups: 1
[    0.249535] net_namespace: 272 bytes
[    0.253265] NET: Registered protocol family 16
[    0.261136] ACPI: bus type pci registered
[    0.265039] PCI: PCI BIOS revision 2.10 entry at 0xfd94f, last bus=7
[    0.268055] PCI: Using configuration type 1
[    0.272025] Setting up standard PCI resources
[    0.295381] ACPI: EC: Look up EC in DSDT
[    0.600220] ACPI: EC: non-query interrupt received, switching to interrupt mode
[    0.733560] ACPI: Interpreter enabled
[    0.736057] ACPI: (supports S0 S1 S3 S4 S5)
[    0.760071] ACPI: Using PIC for interrupt routing
[    1.021421] ACPI: EC: GPE = 0x9, I/O: command/status = 0x66, data = 0x62
[    1.024077] ACPI: EC: driver started in interrupt mode
[    1.028485] ACPI: PCI Root Bridge [PCI0] (0000:00)
[    1.033893] pci 0000:00:07.3: quirk: region 1000-103f claimed by PIIX4 ACPI
[    1.036092] pci 0000:00:07.3: quirk: region 1040-104f claimed by PIIX4 SMB
[    1.040086] pci 0000:00:07.3: PIIX4 devres C PIO at 15e8-15ef
[    1.044078] pci 0000:00:07.3: PIIX4 devres I PIO at 03f0-03f7
[    1.048078] pci 0000:00:07.3: PIIX4 devres J PIO at 002e-002f
[    1.052588] ACPI: PCI Interrupt Routing Table [\_SB_.PCI0._PRT]
[    1.056348] ACPI: PCI Interrupt Routing Table [\_SB_.PCI0.AGP_._PRT]
[    1.080898] ACPI: PCI Interrupt Link [LNKA] (IRQs 3 4 5 6 7 9 10 *11)
[    1.108528] ACPI: PCI Interrupt Link [LNKB] (IRQs 3 4 5 6 7 9 10 *11)
[    1.140176] ACPI: PCI Interrupt Link [LNKC] (IRQs 3 4 5 6 7 9 10 *11)
[    1.171022] ACPI: PCI Interrupt Link [LNKD] (IRQs 3 4 5 6 7 9 10 *11)
[    1.199516] ACPI: Power Resource [PSER] (on)
[    1.200266] ACPI: Power Resource [PSIO] (on)
[    1.204531] Linux Plug and Play Support v0.97 (c) Adam Belay
[    1.208287] pnp: PnP ACPI init
[    1.212196] ACPI: bus type pnp registered
[    1.260102] Clocksource tsc unstable (delta = 1168016813 ns)
[    1.343327] pnp: PnP ACPI: found 15 devices
[    1.344096] ACPI: ACPI bus type pnp unregistered
[    1.349287] SCSI subsystem initialized
[    1.352846] PCI: Using ACPI for IRQ routing
[    1.357109] system 00:00: iomem range 0x0-0x9ffff could not be reserved
[    1.360101] system 00:00: iomem range 0xc0000-0xc3fff could not be reserved
[    1.364097] system 00:00: iomem range 0xc4000-0xc7fff could not be reserved
[    1.368098] system 00:00: iomem range 0xc8000-0xcbfff could not be reserved
[    1.372098] system 00:00: iomem range 0x0-0x0 could not be reserved
[    1.376098] system 00:00: iomem range 0x0-0x0 could not be reserved
[    1.380098] system 00:00: iomem range 0x0-0x0 could not be reserved
[    1.384098] system 00:00: iomem range 0x0-0x0 could not be reserved
[    1.388098] system 00:00: iomem range 0x0-0x0 could not be reserved
[    1.392099] system 00:00: iomem range 0xe0000-0xe3fff could not be reserved
[    1.396099] system 00:00: iomem range 0xe4000-0xe7fff could not be reserved
[    1.400100] system 00:00: iomem range 0xe8000-0xebfff could not be reserved
[    1.404100] system 00:00: iomem range 0xec000-0xeffff could not be reserved
[    1.408100] system 00:00: iomem range 0xf0000-0xfffff could not be reserved
[    1.412100] system 00:00: iomem range 0x100000-0x1fffffff could not be reserved
[    1.416101] system 00:00: iomem range 0xfff80000-0xffffffff could not be reserved
[    1.420145] system 00:02: ioport range 0x1000-0x103f has been reserved
[    1.424101] system 00:02: ioport range 0x1040-0x104f has been reserved
[    1.428101] system 00:02: ioport range 0xfe00-0xfe0f has been reserved
[    1.432173] system 00:09: ioport range 0x15e0-0x15ef has been reserved
[    1.471231] PCI: bogus alignment of resource 7 [100:1ff] (flags 100) of 0000:00:02.0
[    1.472102] PCI: bogus alignment of resource 8 [100:1ff] (flags 100) of 0000:00:02.0
[    1.476103] PCI: bogus alignment of resource 9 [4000000:7ffffff] (flags 1200) of 0000:00:02.0
[    1.480103] PCI: bogus alignment of resource 10 [4000000:7ffffff] (flags 200) of 0000:00:02.0
[    1.484104] PCI: bogus alignment of resource 7 [100:1ff] (flags 100) of 0000:00:02.1
[    1.488103] PCI: bogus alignment of resource 8 [100:1ff] (flags 100) of 0000:00:02.1
[    1.492103] PCI: bogus alignment of resource 9 [4000000:7ffffff] (flags 1200) of 0000:00:02.1
[    1.496104] PCI: bogus alignment of resource 10 [4000000:7ffffff] (flags 200) of 0000:00:02.1
[    1.500109] PCI: Bridge: 0000:00:01.0
[    1.504102]   IO window: disabled.
[    1.508113]   MEM window: 0xf0000000-0xf7ffffff
[    1.512108]   PREFETCH window: disabled.
[    1.516115] PCI: Bus 2, cardbus bridge: 0000:00:02.0
[    1.520104]   IO window: 0x00000100-0x000001ff
[    1.524110]   IO window: 0x00000100-0x000001ff
[    1.528111]   PREFETCH window: 0x04000000-0x07ffffff
[    1.532111]   MEM window: 0x04000000-0x07ffffff
[    1.536111] PCI: Bus 6, cardbus bridge: 0000:00:02.1
[    1.540105]   IO window: 0x00000100-0x000001ff
[    1.544112]   IO window: 0x00000100-0x000001ff
[    1.548112]   PREFETCH window: 0x04000000-0x07ffffff
[    1.552112]   MEM window: 0x04000000-0x07ffffff
[    1.556441] pci 0000:00:02.0: device not available because of BAR 7 [100:1ff] collisions
[    1.560272] pci 0000:00:02.1: device not available because of BAR 7 [100:1ff] collisions
[    1.564229] NET: Registered protocol family 2
[    1.572689] IP route cache hash table entries: 4096 (order: 2, 16384 bytes)
[    1.581338] TCP established hash table entries: 16384 (order: 5, 131072 bytes)
[    1.588133] TCP bind hash table entries: 16384 (order: 7, 589824 bytes)
[    1.598475] TCP: Hash tables configured (established 16384 bind 16384)
[    1.600202] TCP reno registered
[    1.605700] Simple Boot Flag at 0x35 set to 0x1
[    1.627697] Total HugeTLB memory allocated, 0
[    1.632742] msgmni has been set to 995 for ipc namespace c044bb00
[    1.636702] io scheduler noop registered
[    1.640114] io scheduler anticipatory registered (default)
[    1.644154] io scheduler bfq registered
[    1.648132] pci 0000:00:00.0: Limiting direct PCI/PCI transfers
[    1.652181] pci 0000:00:03.0: Firmware left e100 interrupts enabled; disabling
[    1.656193] pci 0000:01:00.0: Boot video device
[    1.867582] Serial: 8250/16550 driver $Revision: 1.90 $ 4 ports, IRQ sharing enabled
[    1.868727] serial8250: ttyS0 at I/O 0x3f8 (irq = 4) is a 16550A
[    1.872889] serial8250: ttyS1 at I/O 0x2f8 (irq = 3) is a NS16550A
[    1.882652] 00:0c: ttyS0 at I/O 0x3f8 (irq = 4) is a 16550A
[    1.886432] ACPI: PCI Interrupt Link [LNKC] enabled at IRQ 11
[    1.888139] PCI: setting IRQ 11 as level-triggered
[    1.892164] ACPI: PCI Interrupt 0000:00:03.1[A] -> Link [LNKC] -> GSI 11 (level, low) -> IRQ 11
[    1.911958] loop: module loaded
[    1.912172] tun: Universal TUN/TAP device driver, 1.6
[    1.916129] tun: (C) 1999-2004 Max Krasnyansky <maxk@qualcomm.com>
[    1.924313] Uniform Multi-Platform E-IDE driver
[    1.929536] Probing IDE interface ide0...
[   36.939317] ide0: Wait for ready failed before probe !
[   37.502676] ide0: DISABLED, NO IRQ
[   37.506356] ide0: failed to initialize IDE interface
[   37.511784] Driver 'sd' needs updating - please use bus_type methods
[   37.515296] PNP: PS/2 Controller [PNP0303:KBD,PNP0f13:MOU] at 0x60,0x64 irq 1,12
[   37.540655] serio: i8042 KBD port at 0x60,0x64 irq 1
[   37.542370] serio: i8042 AUX port at 0x60,0x64 irq 12
[   37.550580] mice: PS/2 mouse device common for all mice
[   37.555177] Software Watchdog Timer: 0.07 initialized. soft_noboot=0 soft_margin=60 sec (nowayout= 0)
[   37.558398] oprofile: using timer interrupt.
[   37.565094] TCP cubic registered
[   37.566358] Initializing XFRM netlink socket
[   37.570417] NET: Registered protocol family 15
[   37.574380] Using IPI No-Shortcut mode
[   37.583056] registered taskstats version 1
[   37.592201] input: AT Translated Set 2 keyboard as /class/input/input0
[   37.690672] VFS: Cannot open root device "hda1" or unknown-block(0,0)
[   37.694367] Please append a correct "root=" boot option; here are the available partitions:
[   37.698370] Kernel panic - not syncing: VFS: Unable to mount root fs on unknown-block(0,0)
[   37.702369] Pid: 1, comm: swapper Not tainted 2.6.25-mm1 #2
[   37.706367]  [<c01244e7>] panic+0x47/0x110
[   37.714368]  [<c0477c3d>] mount_block_root+0x10d/0x260
[   37.722369]  [<c018a637>] ? sys_mknod+0x27/0x30
[   37.734369]  [<c0477dea>] mount_root+0x5a/0x60
[   37.742369]  [<c0477e9d>] prepare_namespace+0xad/0x160
[   37.750370]  [<c017f510>] ? sys_access+0x20/0x30
[   37.758374]  [<c0477997>] kernel_init+0x1e7/0x2a0
[   37.766371]  [<c04777b0>] ? kernel_init+0x0/0x2a0
[   37.774372]  [<c04777b0>] ? kernel_init+0x0/0x2a0
[   37.782372]  [<c0103c3f>] kernel_thread_helper+0x7/0x18
[   37.790372]  =======================

[-- Attachment #4: lspci-v-v.txt --]
[-- Type: text/plain, Size: 7900 bytes --]

00:00.0 Host bridge: Intel Corporation 440BX/ZX/DX - 82443BX/ZX/DX Host bridge (rev 03)
	Control: I/O- Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR+ FastB2B- DisINTx-
	Status: Cap+ 66MHz- UDF- FastB2B- ParErr- DEVSEL=medium >TAbort- <TAbort- <MAbort+ >SERR- <PERR- INTx-
	Latency: 64
	Region 0: Memory at f8000000 (32-bit, prefetchable) [size=64M]
	Capabilities: [a0] AGP version 1.0
		Status: RQ=32 Iso- ArqSz=0 Cal=0 SBA+ ITACoh- GART64- HTrans- 64bit- FW- AGP3- Rate=x1,x2
		Command: RQ=1 ArqSz=0 Cal=0 SBA- AGP- GART64- 64bit- FW- Rate=<none>
	Kernel driver in use: agpgart-intel
	Kernel modules: intel-agp

00:01.0 PCI bridge: Intel Corporation 440BX/ZX/DX - 82443BX/ZX/DX AGP bridge (rev 03) (prog-if 00 [Normal decode])
	Control: I/O+ Mem+ BusMaster+ SpecCycle+ MemWINV+ VGASnoop- ParErr- Stepping- SERR- FastB2B- DisINTx-
	Status: Cap- 66MHz+ UDF- FastB2B- ParErr- DEVSEL=medium >TAbort- <TAbort- <MAbort- >SERR- <PERR- INTx-
	Latency: 128
	Bus: primary=00, secondary=01, subordinate=01, sec-latency=64
	Memory behind bridge: f0000000-f7ffffff
	Prefetchable memory behind bridge: 40000000-400fffff
	Secondary status: 66MHz+ FastB2B+ ParErr- DEVSEL=medium >TAbort- <TAbort- <MAbort+ <SERR- <PERR-
	BridgeCtl: Parity- SERR- NoISA+ VGA+ MAbort- >Reset- FastB2B+
		PriDiscTmr- SecDiscTmr- DiscTmrStat- DiscTmrSERREn-

00:02.0 CardBus bridge: Texas Instruments PCI1450 (rev 03)
	Subsystem: IBM ThinkPad A21m/T20/T22
	Control: I/O+ Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR- FastB2B- DisINTx-
	Status: Cap+ 66MHz- UDF- FastB2B- ParErr- DEVSEL=medium >TAbort- <TAbort- <MAbort- >SERR- <PERR- INTx-
	Latency: 64, Cache Line Size: 32 bytes
	Interrupt: pin A routed to IRQ 11
	Region 0: Memory at 50000000 (32-bit, non-prefetchable) [size=4K]
	Bus: primary=00, secondary=02, subordinate=05, sec-latency=176
	Memory window 0: 30000000-33fff000 (prefetchable)
	Memory window 1: 34000000-37fff000 (prefetchable)
	I/O window 0: 00001400-000014ff
	I/O window 1: 00001c00-00001cff
	BridgeCtl: Parity- SERR- ISA- VGA- MAbort- >Reset+ 16bInt+ PostWrite-
	16-bit legacy interface ports at 0001

00:02.1 CardBus bridge: Texas Instruments PCI1450 (rev 03)
	Subsystem: IBM ThinkPad A21m/T20/T22
	Control: I/O+ Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR- FastB2B- DisINTx-
	Status: Cap+ 66MHz- UDF- FastB2B- ParErr- DEVSEL=medium >TAbort- <TAbort- <MAbort- >SERR- <PERR- INTx-
	Latency: 64, Cache Line Size: 32 bytes
	Interrupt: pin B routed to IRQ 11
	Region 0: Memory at 50100000 (32-bit, non-prefetchable) [size=4K]
	Bus: primary=00, secondary=06, subordinate=09, sec-latency=176
	Memory window 0: 38000000-3bfff000 (prefetchable)
	Memory window 1: 3c000000-3ffff000 (prefetchable)
	I/O window 0: 00002000-000020ff
	I/O window 1: 00002400-000024ff
	BridgeCtl: Parity- SERR- ISA- VGA- MAbort- >Reset+ 16bInt+ PostWrite-
	16-bit legacy interface ports at 0001

00:03.0 Ethernet controller: Intel Corporation 82557/8/9/0/1 Ethernet Pro 100 (rev 09)
	Subsystem: Intel Corporation EtherExpress PRO/100+ MiniPCI
	Control: I/O+ Mem+ BusMaster+ SpecCycle- MemWINV+ VGASnoop- ParErr- Stepping- SERR- FastB2B- DisINTx-
	Status: Cap+ 66MHz- UDF- FastB2B+ ParErr- DEVSEL=medium >TAbort- <TAbort- <MAbort- >SERR- <PERR- INTx-
	Latency: 66 (2000ns min, 14000ns max), Cache Line Size: 32 bytes
	Interrupt: pin A routed to IRQ 11
	Region 0: Memory at e8120000 (32-bit, non-prefetchable) [size=4K]
	Region 1: I/O ports at 1800 [size=64]
	Region 2: Memory at e8100000 (32-bit, non-prefetchable) [size=128K]
	[virtual] Expansion ROM at 40100000 [disabled] [size=1M]
	Capabilities: [dc] Power Management version 2
		Flags: PMEClk- DSI+ D1+ D2+ AuxCurrent=0mA PME(D0+,D1+,D2+,D3hot+,D3cold+)
		Status: D0 PME-Enable- DSel=0 DScale=2 PME-
	Kernel driver in use: e100
	Kernel modules: e100

00:03.1 Serial controller: Xircom Mini-PCI V.90 56k Modem (prog-if 02 [16550])
	Subsystem: Intel Corporation Unknown device 2408
	Control: I/O+ Mem+ BusMaster- SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR- FastB2B- DisINTx-
	Status: Cap+ 66MHz- UDF- FastB2B- ParErr- DEVSEL=medium >TAbort- <TAbort- <MAbort- >SERR- <PERR- INTx-
	Interrupt: pin A routed to IRQ 11
	Region 0: I/O ports at 1840 [size=8]
	Region 1: Memory at e8121000 (32-bit, non-prefetchable) [size=4K]
	Capabilities: [dc] Power Management version 2
		Flags: PMEClk- DSI+ D1+ D2+ AuxCurrent=0mA PME(D0+,D1+,D2+,D3hot+,D3cold+)
		Status: D0 PME-Enable- DSel=0 DScale=2 PME-
	Kernel driver in use: serial

00:05.0 Multimedia audio controller: Cirrus Logic CS 4614/22/24/30 [CrystalClear SoundFusion Audio Accelerator] (rev 01)
	Subsystem: IBM ThinkPad A20m
	Control: I/O- Mem+ BusMaster- SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR- FastB2B- DisINTx-
	Status: Cap+ 66MHz- UDF- FastB2B- ParErr- DEVSEL=slow >TAbort- <TAbort- <MAbort- >SERR- <PERR- INTx-
	Interrupt: pin A routed to IRQ 11
	Region 0: Memory at e8122000 (32-bit, non-prefetchable) [size=4K]
	Region 1: Memory at e8000000 (32-bit, non-prefetchable) [size=1M]
	Capabilities: [40] Power Management version 2
		Flags: PMEClk- DSI+ D1+ D2+ AuxCurrent=0mA PME(D0-,D1-,D2-,D3hot-,D3cold-)
		Status: D0 PME-Enable- DSel=0 DScale=0 PME-

00:07.0 Bridge: Intel Corporation 82371AB/EB/MB PIIX4 ISA (rev 02)
	Control: I/O+ Mem+ BusMaster+ SpecCycle+ MemWINV- VGASnoop- ParErr- Stepping- SERR- FastB2B- DisINTx-
	Status: Cap- 66MHz- UDF- FastB2B+ ParErr- DEVSEL=medium >TAbort- <TAbort- <MAbort- >SERR- <PERR- INTx-
	Latency: 0

00:07.1 IDE interface: Intel Corporation 82371AB/EB/MB PIIX4 IDE (rev 01) (prog-if 80 [Master])
	Control: I/O+ Mem- BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR- FastB2B- DisINTx-
	Status: Cap- 66MHz- UDF- FastB2B+ ParErr- DEVSEL=medium >TAbort- <TAbort- <MAbort- >SERR- <PERR- INTx-
	Latency: 64
	Region 0: [virtual] Memory at 000001f0 (32-bit, non-prefetchable) [disabled] [size=8]
	Region 1: [virtual] Memory at 000003f0 (type 3, non-prefetchable) [disabled] [size=1]
	Region 2: [virtual] Memory at 00000170 (32-bit, non-prefetchable) [disabled] [size=8]
	Region 3: [virtual] Memory at 00000370 (type 3, non-prefetchable) [disabled] [size=1]
	Region 4: I/O ports at 1850 [size=16]

00:07.2 USB Controller: Intel Corporation 82371AB/EB/MB PIIX4 USB (rev 01) (prog-if 00 [UHCI])
	Control: I/O+ Mem- BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR- FastB2B- DisINTx-
	Status: Cap- 66MHz- UDF- FastB2B+ ParErr- DEVSEL=medium >TAbort- <TAbort- <MAbort- >SERR- <PERR- INTx-
	Latency: 64
	Interrupt: pin D routed to IRQ 11
	Region 4: I/O ports at 1860 [size=32]
	Kernel driver in use: uhci_hcd
	Kernel modules: uhci-hcd

00:07.3 Bridge: Intel Corporation 82371AB/EB/MB PIIX4 ACPI (rev 03)
	Control: I/O+ Mem+ BusMaster- SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR- FastB2B- DisINTx-
	Status: Cap- 66MHz- UDF- FastB2B+ ParErr- DEVSEL=medium >TAbort- <TAbort- <MAbort- >SERR- <PERR- INTx-
	Interrupt: pin ? routed to IRQ 9

01:00.0 VGA compatible controller: S3 Inc. 86C270-294 Savage/IX-MV (rev 11) (prog-if 00 [VGA controller])
	Subsystem: IBM Thinkpad T20/T22
	Control: I/O+ Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR- FastB2B- DisINTx-
	Status: Cap+ 66MHz+ UDF- FastB2B- ParErr- DEVSEL=medium >TAbort- <TAbort- <MAbort- >SERR- <PERR- INTx-
	Latency: 64 (1000ns min, 63750ns max), Cache Line Size: 32 bytes
	Interrupt: pin A routed to IRQ 11
	Region 0: Memory at f0000000 (32-bit, non-prefetchable) [size=128M]
	[virtual] Expansion ROM at 40000000 [disabled] [size=64K]
	Capabilities: [dc] Power Management version 1
		Flags: PMEClk- DSI+ D1+ D2+ AuxCurrent=0mA PME(D0-,D1-,D2-,D3hot-,D3cold-)
		Status: D0 PME-Enable- DSel=0 DScale=0 PME-
	Capabilities: [80] AGP version 1.0
		Status: RQ=32 Iso- ArqSz=0 Cal=0 SBA+ ITACoh- GART64- HTrans- 64bit- FW- AGP3- Rate=x1,x2
		Command: RQ=1 ArqSz=0 Cal=0 SBA- AGP- GART64- 64bit- FW- Rate=<none>


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

* Re: 2.6.25-mm1: Failing to probe IDE interface
  2008-04-28 16:42 ` 2.6.25-mm1: Failing to probe IDE interface Mel Gorman
@ 2008-04-28 16:59   ` Andrew Morton
  2008-04-29  9:39     ` Mel Gorman
  2008-04-28 18:44   ` Bartlomiej Zolnierkiewicz
  1 sibling, 1 reply; 52+ messages in thread
From: Andrew Morton @ 2008-04-28 16:59 UTC (permalink / raw)
  To: Mel Gorman; +Cc: linux-kernel, linux-mm, bzolnier

On Mon, 28 Apr 2008 17:42:36 +0100 Mel Gorman <mel@csn.ul.ie> wrote:

> An old T21 is failing to boot and the relevant message appears to be
> 
> [    1.929536] Probing IDE interface ide0...
> [   36.939317] ide0: Wait for ready failed before probe !
> [   37.502676] ide0: DISABLED, NO IRQ
> [   37.506356] ide0: failed to initialize IDE interface
> 
> The owner of ide-mm-ide-add-struct-ide_io_ports-take-2.patch with the
> "DISABLED, NO IRQ" message is cc'd. I've attached the config, full boot log
> and lspci -v for the machine in question. I'll start reverting some of the
> these patches to see if ide-mm-ide-add-struct-ide_io_ports-take-2.patch
> is really the culprit.

ide-mm-ide-add-struct-ide_io_ports-take-2.patch is now in mainline so a
quicky confirmation would be to test Linus's tree.

--
To unsubscribe, send a message with 'unsubscribe linux-mm' in
the body to majordomo@kvack.org.  For more info on Linux MM,
see: http://www.linux-mm.org/ .
Don't email: <a href=mailto:"dont@kvack.org"> email@kvack.org </a>

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

* Re: 2.6.25-mm1: Failing to probe IDE interface
  2008-04-28 16:42 ` 2.6.25-mm1: Failing to probe IDE interface Mel Gorman
  2008-04-28 16:59   ` Andrew Morton
@ 2008-04-28 18:44   ` Bartlomiej Zolnierkiewicz
  2008-04-29  9:43     ` Mel Gorman
  1 sibling, 1 reply; 52+ messages in thread
From: Bartlomiej Zolnierkiewicz @ 2008-04-28 18:44 UTC (permalink / raw)
  To: Mel Gorman; +Cc: Andrew Morton, linux-kernel, linux-mm

Hi,

On Monday 28 April 2008, Mel Gorman wrote:
> An old T21 is failing to boot and the relevant message appears to be
> 
> [    1.929536] Probing IDE interface ide0...
> [   36.939317] ide0: Wait for ready failed before probe !
> [   37.502676] ide0: DISABLED, NO IRQ
> [   37.506356] ide0: failed to initialize IDE interface
> 
> The owner of ide-mm-ide-add-struct-ide_io_ports-take-2.patch with the
> "DISABLED, NO IRQ" message is cc'd. I've attached the config, full boot log
> and lspci -v for the machine in question. I'll start reverting some of the
> these patches to see if ide-mm-ide-add-struct-ide_io_ports-take-2.patch
> is really the culprit.

Please try reverting ide-fix-hwif-s-initialization.patch first - it has
already been dropped from IDE tree because people were reporting problems
similar to the one encountered by you.

Thanks,
Bart

--
To unsubscribe, send a message with 'unsubscribe linux-mm' in
the body to majordomo@kvack.org.  For more info on Linux MM,
see: http://www.linux-mm.org/ .
Don't email: <a href=mailto:"dont@kvack.org"> email@kvack.org </a>

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

* Re: 2.6.25-mm1: Failing to probe IDE interface
  2008-04-28 16:59   ` Andrew Morton
@ 2008-04-29  9:39     ` Mel Gorman
  0 siblings, 0 replies; 52+ messages in thread
From: Mel Gorman @ 2008-04-29  9:39 UTC (permalink / raw)
  To: Andrew Morton; +Cc: linux-kernel, linux-mm, bzolnier

On (28/04/08 09:59), Andrew Morton didst pronounce:
> On Mon, 28 Apr 2008 17:42:36 +0100 Mel Gorman <mel@csn.ul.ie> wrote:
> 
> > An old T21 is failing to boot and the relevant message appears to be
> > 
> > [    1.929536] Probing IDE interface ide0...
> > [   36.939317] ide0: Wait for ready failed before probe !
> > [   37.502676] ide0: DISABLED, NO IRQ
> > [   37.506356] ide0: failed to initialize IDE interface
> > 
> > The owner of ide-mm-ide-add-struct-ide_io_ports-take-2.patch with the
> > "DISABLED, NO IRQ" message is cc'd. I've attached the config, full boot log
> > and lspci -v for the machine in question. I'll start reverting some of the
> > these patches to see if ide-mm-ide-add-struct-ide_io_ports-take-2.patch
> > is really the culprit.
> 
> ide-mm-ide-add-struct-ide_io_ports-take-2.patch is now in mainline so a
> quicky confirmation would be to test Linus's tree.
> 

2.6.25 and latest git are both booting fine.

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

--
To unsubscribe, send a message with 'unsubscribe linux-mm' in
the body to majordomo@kvack.org.  For more info on Linux MM,
see: http://www.linux-mm.org/ .
Don't email: <a href=mailto:"dont@kvack.org"> email@kvack.org </a>

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

* Re: 2.6.25-mm1: Failing to probe IDE interface
  2008-04-28 18:44   ` Bartlomiej Zolnierkiewicz
@ 2008-04-29  9:43     ` Mel Gorman
  2008-04-29 15:49       ` Mel Gorman
  0 siblings, 1 reply; 52+ messages in thread
From: Mel Gorman @ 2008-04-29  9:43 UTC (permalink / raw)
  To: Bartlomiej Zolnierkiewicz; +Cc: Andrew Morton, linux-kernel, linux-mm

On (28/04/08 20:44), Bartlomiej Zolnierkiewicz didst pronounce:
> 
> Hi,
> 
> On Monday 28 April 2008, Mel Gorman wrote:
> > An old T21 is failing to boot and the relevant message appears to be
> > 
> > [    1.929536] Probing IDE interface ide0...
> > [   36.939317] ide0: Wait for ready failed before probe !
> > [   37.502676] ide0: DISABLED, NO IRQ
> > [   37.506356] ide0: failed to initialize IDE interface
> > 
> > The owner of ide-mm-ide-add-struct-ide_io_ports-take-2.patch with the
> > "DISABLED, NO IRQ" message is cc'd. I've attached the config, full boot log
> > and lspci -v for the machine in question. I'll start reverting some of the
> > these patches to see if ide-mm-ide-add-struct-ide_io_ports-take-2.patch
> > is really the culprit.
> 
> Please try reverting ide-fix-hwif-s-initialization.patch first - it has
> already been dropped from IDE tree because people were reporting problems
> similar to the one encountered by you.
> 

Thanks.

I reverted this patch and ide-mm-ide-make-ide_hwifs-static.patch (for compile
breakage reasons). It's better but still fails to find the IDE device.
What is better is that it finds ide0 at;

ide0 at 0x1f0-0x1f7,0x3f6 on irq 14

but does not identify any of the disks nor does it find ide1. For
comparison, a "good" dmesg looks like

[    1.793244] Probing IDE interface ide0...
[    2.235292] hda: IBM-DJSA-220, ATA DISK drive
[    2.915457] Probing IDE interface ide1...
[    3.787516] hdc: CRN-8241U, ATAPI CD/DVD-ROM drive
[    4.475650] ide0 at 0x1f0-0x1f7,0x3f6 on irq 14
[    4.478096] ide1 at 0x170-0x177,0x376 on irq 15
[    4.484547] hda: max request size: 128KiB
[    4.522696] hda: 39070080 sectors (20003 MB) w/1874KiB Cache, CHS=41344/15/63
[    4.530706] hda: cache flushes not supported
[    4.538724]  hda: hda1 hda2 hda3 hda4
[    4.569606] hdc: ATAPI 24X CD-ROM drive, 128kB Cache
[    4.587678] Uniform CD-ROM driver Revision: 3.20
[    4.595690] Driver 'sd' needs updating - please use bus_type methods


Here is the bootlog with the two patches reverted.

root            (hd0,0)
 Filesystem type is ext2fs, partition type 0x83
kernel          /boot/vmlinuz-2.6.25-mm1 root=/dev/hda1 mminit_loglevel=4 logle
vel=9 console=tty0 console=ttyS0,9600 ro earlyprintk=serial,ttyS0,9600 kernelco
re=384MB movablecore=384MB profile=sleep,2 resume=/dev/hda2
   [Linux-bzImage, setup=0x2c00, size=0x1d9390]
savedefault
boot
[    0.000000] Initializing cgroup subsys cpuset
[    0.000000] Linux version 2.6.25-mm1 (mel@arnold) (gcc version 4.2.3 (Debian 4.2.3-3)) #1 SMP Tue Apr 29 10:04:35 IST 2008
[    0.000000] BIOS-provided physical RAM map:
[    0.000000]  BIOS-e820: 0000000000000000 - 000000000009f800 (usable)
[    0.000000]  BIOS-e820: 000000000009f800 - 00000000000a0000 (reserved)
[    0.000000]  BIOS-e820: 00000000000e0000 - 0000000000100000 (reserved)
[    0.000000]  BIOS-e820: 0000000000100000 - 000000001fff0000 (usable)
[    0.000000]  BIOS-e820: 000000001fff0000 - 000000001fffec00 (ACPI data)
[    0.000000]  BIOS-e820: 000000001fffec00 - 0000000020000000 (ACPI NVS)
[    0.000000]  BIOS-e820: 00000000fff80000 - 0000000100000000 (reserved)
[    0.000000] console [earlyser0] enabled
[    0.000000] CPU and/or kernel does not support PAT.
[    0.000000] 0MB HIGHMEM available.
[    0.000000] 511MB LOWMEM available.
[    0.000000] Entering add_active_range(0, 0, 131056) 0 entries of 256 used
[    0.000000] sizeof(struct page) = 56
[    0.000000] Zone PFN ranges:
[    0.000000]   DMA             0 ->     4096
[    0.000000]   Normal       4096 ->   131056
[    0.000000]   HighMem    131056 ->   131056
[    0.000000] Movable zone start PFN for each node
[    0.000000]   Node 0: 98304
[    0.000000] early_node_map[1] active PFN ranges
[    0.000000]     0:        0 ->   131056
[    0.000000] On node 0 totalpages: 131056
[    0.000000] Node 0 memmap at 0xc1000000 size 7340032 first pfn 0xc1000000
[    0.000000]   DMA zone: 56 pages used for memmap
[    0.000000]   DMA zone: 0 pages reserved
[    0.000000]   DMA zone: 4040 pages, LIFO batch:0
[    0.000000]   Normal zone: 1288 pages used for memmap
[    0.000000]   Normal zone: 92920 pages, LIFO batch:31
[    0.000000]   HighMem zone: 0 pages used for memmap
[    0.000000]   Movable zone: 447 pages used for memmap
[    0.000000]   Movable zone: 32305 pages, LIFO batch:7
[    0.000000] DMI 2.3 present.
[    0.000000] ACPI: RSDP 000F7160, 0014 (r0 PTLTD )
[    0.000000] ACPI: RSDT 1FFF4D07, 002C (r1 PTLTD    RSDT    6040000  LTP        0)
[    0.000000] ACPI: FACP 1FFFEB65, 0074 (r1 IBM    TP-T21    6040000             0)
[    0.000000] ACPI: DSDT 1FFF4D33, 9E32 (r1 IBM    TP-T21    6040000 MSFT  100000C)
[    0.000000] ACPI: FACS 1FFFF000, 0040
[    0.000000] ACPI: BOOT 1FFFEBD9, 0027 (r1 PTLTD  $SBFTBL$  6040000  LTP        1)
[    0.000000] ACPI: PM-Timer IO Port: 0x1008
[    0.000000] Allocating PCI resources starting at 30000000 (gap: 20000000:dff80000)
[    0.000000] PM: Registered nosave memory: 000000000009f000 - 00000000000a0000
[    0.000000] PM: Registered nosave memory: 00000000000a0000 - 00000000000e0000
[    0.000000] PM: Registered nosave memory: 00000000000e0000 - 0000000000100000
[    0.000000] SMP: Allowing 0 CPUs, 0 hotplug CPUs
[    0.000000] PERCPU: Allocating 323296 bytes of per cpu data
[    0.000000] Built 1 zonelists in Zone order, mobility grouping on.  Total pages: 129265
[    0.000000] Kernel command line: root=/dev/hda1 mminit_loglevel=4 loglevel=9 console=tty0 console=ttyS0,9600 ro earlyprintk=serial,ttyS0,9600 kernelcore=384MB movablecore=384MB profile=sleep,2 resume=/dev/hda2
[    0.000000] kernel sleep profiling requires CONFIG_SCHEDSTATS
[    0.000000] Local APIC disabled by BIOS -- you can enable it with "lapic"
[    0.000000] mapped APIC to ffffb000 (01757000)
[    0.000000] Enabling fast FPU save and restore... done.
[    0.000000] Enabling unmasked SIMD FPU exception support... done.
[    0.000000] Initializing CPU#0
[    0.000000] PID hash table entries: 2048 (order: 11, 8192 bytes)
[    0.000000] Detected 796.562 MHz processor.
[    0.004000] Console: colour VGA+ 80x25
[    0.004000] console [tty0] enabled
[    0.000000] Initializing cgroup subsys cpuset
[    0.000000] Linux version 2.6.25-mm1 (mel@arnold) (gcc version 4.2.3 (Debian 4.2.3-3)) #1 SMP Tue Apr 29 10:04:35 IST 2008
[    0.000000] BIOS-provided physical RAM map:
[    0.000000]  BIOS-e820: 0000000000000000 - 000000000009f800 (usable)
[    0.000000]  BIOS-e820: 000000000009f800 - 00000000000a0000 (reserved)
[    0.000000]  BIOS-e820: 00000000000e0000 - 0000000000100000 (reserved)
[    0.000000]  BIOS-e820: 0000000000100000 - 000000001fff0000 (usable)
[    0.000000]  BIOS-e820: 000000001fff0000 - 000000001fffec00 (ACPI data)
[    0.000000]  BIOS-e820: 000000001fffec00 - 0000000020000000 (ACPI NVS)
[    0.000000]  BIOS-e820: 00000000fff80000 - 0000000100000000 (reserved)
[    0.000000] console [earlyser0] enabled
[    0.000000] CPU and/or kernel does not support PAT.
[    0.000000] 0MB HIGHMEM available.
[    0.000000] 511MB LOWMEM available.
[    0.000000] Entering add_active_range(0, 0, 131056) 0 entries of 256 used
[    0.000000] sizeof(struct page) = 56
[    0.000000] Zone PFN ranges:
[    0.000000]   DMA             0 ->     4096
[    0.000000]   Normal       4096 ->   131056
[    0.000000]   HighMem    131056 ->   131056
[    0.000000] Movable zone start PFN for each node
[    0.000000]   Node 0: 98304
[    0.000000] early_node_map[1] active PFN ranges
[    0.000000]     0:        0 ->   131056
[    0.000000] On node 0 totalpages: 131056
[    0.000000] Node 0 memmap at 0xc1000000 size 7340032 first pfn 0xc1000000
[    0.000000]   DMA zone: 56 pages used for memmap
[    0.000000]   DMA zone: 0 pages reserved
[    0.000000]   DMA zone: 4040 pages, LIFO batch:0
[    0.000000]   Normal zone: 1288 pages used for memmap
[    0.000000]   Normal zone: 92920 pages, LIFO batch:31
[    0.000000]   HighMem zone: 0 pages used for memmap
[    0.000000]   Movable zone: 447 pages used for memmap
[    0.000000]   Movable zone: 32305 pages, LIFO batch:7
[    0.000000] DMI 2.3 present.
[    0.000000] ACPI: RSDP 000F7160, 0014 (r0 PTLTD )
[    0.000000] ACPI: RSDT 1FFF4D07, 002C (r1 PTLTD    RSDT    6040000  LTP        0)
[    0.000000] ACPI: FACP 1FFFEB65, 0074 (r1 IBM    TP-T21    6040000             0)
[    0.000000] ACPI: DSDT 1FFF4D33, 9E32 (r1 IBM    TP-T21    6040000 MSFT  100000C)
[    0.000000] ACPI: FACS 1FFFF000, 0040
[    0.000000] ACPI: BOOT 1FFFEBD9, 0027 (r1 PTLTD  $SBFTBL$  6040000  LTP        1)
[    0.000000] ACPI: PM-Timer IO Port: 0x1008
[    0.000000] Allocating PCI resources starting at 30000000 (gap: 20000000:dff80000)
[    0.000000] PM: Registered nosave memory: 000000000009f000 - 00000000000a0000
[    0.000000] PM: Registered nosave memory: 00000000000a0000 - 00000000000e0000
[    0.000000] PM: Registered nosave memory: 00000000000e0000 - 0000000000100000
[    0.000000] SMP: Allowing 0 CPUs, 0 hotplug CPUs
[    0.000000] PERCPU: Allocating 323296 bytes of per cpu data
[    0.000000] Built 1 zonelists in Zone order, mobility grouping on.  Total pages: 129265
[    0.000000] Kernel command line: root=/dev/hda1 mminit_loglevel=4 loglevel=9 console=tty0 console=ttyS0,9600 ro earlyprintk=serial,ttyS0,9600 kernelcore=384MB movablecore=384MB profile=sleep,2 resume=/dev/hda2
[    0.000000] kernel sleep profiling requires CONFIG_SCHEDSTATS
[    0.000000] Local APIC disabled by BIOS -- you can enable it with "lapic"
[    0.000000] mapped APIC to ffffb000 (01757000)
[    0.000000] Enabling fast FPU save and restore... done.
[    0.000000] Enabling unmasked SIMD FPU exception support... done.
[    0.000000] Initializing CPU#0
[    0.000000] PID hash table entries: 2048 (order: 11, 8192 bytes)
[    0.000000] Detected 796.562 MHz processor.
[    0.004000] Console: colour VGA+ 80x25
[    0.004000] console [tty0] enabled
[    0.004000] console handover: boot [earlyser0] -> real [ttyS0]
[    0.004000] Lock dependency validator: Copyright (c) 2006 Red Hat, Inc., Ingo Molnar
[    0.004000] ... MAX_LOCKDEP_SUBCLASSES:    8
[    0.004000] ... MAX_LOCK_DEPTH:          48
[    0.004000] ... MAX_LOCKDEP_KEYS:        2048
[    0.004000] ... CLASSHASH_SIZE:           1024
[    0.004000] ... MAX_LOCKDEP_ENTRIES:     8192
[    0.004000] ... MAX_LOCKDEP_CHAINS:      16384
[    0.004000] ... CHAINHASH_SIZE:          8192
[    0.004000]  memory used by lock dependency info: 1024 kB
[    0.004000]  per task-struct memory footprint: 2688 bytes
[    0.004000] Dentry cache hash table entries: 65536 (order: 6, 262144 bytes)
[    0.004000] Inode-cache hash table entries: 32768 (order: 5, 131072 bytes)
[    0.004000] Memory: 509568k/524224k available (2376k kernel code, 14120k reserved, 1147k data, 512k init, 0k highmem)
[    0.004000] virtual kernel memory layout:
[    0.004000]     fixmap  : 0xfff81000 - 0xfffff000   ( 504 kB)
[    0.004000]     pkmap   : 0xff800000 - 0xffc00000   (4096 kB)
[    0.004000]     vmalloc : 0xe0800000 - 0xff7fe000   ( 495 MB)
[    0.004000]     lowmem  : 0xc0000000 - 0xdfff0000   ( 511 MB)
[    0.004000]       .init : 0xc0477000 - 0xc04f7000   ( 512 kB)
[    0.004000]       .data : 0xc0352015 - 0xc0470cc0   (1147 kB)
[    0.004000]       .text : 0xc0100000 - 0xc0352015   (2376 kB)
[    0.004000] Checking if this processor honours the WP bit even in supervisor mode...Ok.
[    0.004000] CPA: page pool initialized 1 of 1 pages preallocated
[    0.084013] Calibrating delay using timer specific routine.. 1596.32 BogoMIPS (lpj=3192642)
[    0.092250] Mount-cache hash table entries: 512
[    0.097073] Initializing cgroup subsys ns
[    0.100020] Initializing cgroup subsys cpuacct
[    0.104081] CPU: L1 I cache: 16K, L1 D cache: 16K
[    0.112015] CPU: L2 cache: 256K
[    0.116031] Compat vDSO mapped to ffffe000.
[    0.120029] Checking 'hlt' instruction... OK.
[    0.144640] SMP alternatives: switching to UP code
[    0.162465] Freeing SMP alternatives: 9k freed
[    0.164020] ACPI: Core revision 20080321
[    0.197234] ACPI: setting ELCR to 0200 (from 0800)
[    0.204353] weird, boot CPU (#0) not listedby the BIOS.
[    0.208024] SMP motherboard not detected.
[    0.212024] Local APIC not detected. Using dummy APIC emulation.
[    0.216021] SMP disabled
[    0.220447] Brought up 1 CPUs
[    0.224026] Total of 1 processors activated (1596.32 BogoMIPS).
[    0.228067] CPU0 attaching sched-domain:
[    0.232026]  domain 0: span 1
[    0.240023]   groups: 1
[    0.249546] net_namespace: 272 bytes
[    0.253271] NET: Registered protocol family 16
[    0.261411] ACPI: bus type pci registered
[    0.265049] PCI: PCI BIOS revision 2.10 entry at 0xfd94f, last bus=7
[    0.268050] PCI: Using configuration type 1
[    0.272026] Setting up standard PCI resources
[    0.295676] ACPI: EC: Look up EC in DSDT
[    0.599927] ACPI: EC: non-query interrupt received, switching to interrupt mode
[    0.725099] ACPI: Interpreter enabled
[    0.728056] ACPI: (supports S0 S1 S3 S4 S5)
[    0.751411] ACPI: Using PIC for interrupt routing
[    1.007938] ACPI: EC: GPE = 0x9, I/O: command/status = 0x66, data = 0x62
[    1.008079] ACPI: EC: driver started in interrupt mode
[    1.012479] ACPI: PCI Root Bridge [PCI0] (0000:00)
[    1.021024] pci 0000:00:07.3: quirk: region 1000-103f claimed by PIIX4 ACPI
[    1.024079] pci 0000:00:07.3: quirk: region 1040-104f claimed by PIIX4 SMB
[    1.028085] pci 0000:00:07.3: PIIX4 devres C PIO at 15e8-15ef
[    1.032077] pci 0000:00:07.3: PIIX4 devres I PIO at 03f0-03f7
[    1.036078] pci 0000:00:07.3: PIIX4 devres J PIO at 002e-002f
[    1.040592] ACPI: PCI Interrupt Routing Table [\_SB_.PCI0._PRT]
[    1.044351] ACPI: PCI Interrupt Routing Table [\_SB_.PCI0.AGP_._PRT]
[    1.071626] ACPI: PCI Interrupt Link [LNKA] (IRQs 3 4 5 6 7 9 10 *11)
[    1.099026] ACPI: PCI Interrupt Link [LNKB] (IRQs 3 4 5 6 7 9 10 *11)
[    1.124701] ACPI: PCI Interrupt Link [LNKC] (IRQs 3 4 5 6 7 9 10 *11)
[    1.152698] ACPI: PCI Interrupt Link [LNKD] (IRQs 3 4 5 6 7 9 10 *11)
[    1.181188] ACPI: Power Resource [PSER] (on)
[    1.184265] ACPI: Power Resource [PSIO] (on)
[    1.188530] Linux Plug and Play Support v0.97 (c) Adam Belay
[    1.192286] pnp: PnP ACPI init
[    1.196195] ACPI: bus type pnp registered
[    1.260101] Clocksource tsc unstable (delta = 1120015514 ns)
[    1.322294] pnp: PnP ACPI: found 15 devices
[    1.324095] ACPI: ACPI bus type pnp unregistered
[    1.332769] SCSI subsystem initialized
[    1.336847] PCI: Using ACPI for IRQ routing
[    1.341103] system 00:00: iomem range 0x0-0x9ffff could not be reserved
[    1.344099] system 00:00: iomem range 0xc0000-0xc3fff could not be reserved
[    1.348097] system 00:00: iomem range 0xc4000-0xc7fff could not be reserved
[    1.352096] system 00:00: iomem range 0xc8000-0xcbfff could not be reserved
[    1.356096] system 00:00: iomem range 0x0-0x0 could not be reserved
[    1.360097] system 00:00: iomem range 0x0-0x0 could not be reserved
[    1.364097] system 00:00: iomem range 0x0-0x0 could not be reserved
[    1.368097] system 00:00: iomem range 0x0-0x0 could not be reserved
[    1.372098] system 00:00: iomem range 0x0-0x0 could not be reserved
[    1.376098] system 00:00: iomem range 0xe0000-0xe3fff could not be reserved
[    1.380098] system 00:00: iomem range 0xe4000-0xe7fff could not be reserved
[    1.384098] system 00:00: iomem range 0xe8000-0xebfff could not be reserved
[    1.388099] system 00:00: iomem range 0xec000-0xeffff could not be reserved
[    1.392099] system 00:00: iomem range 0xf0000-0xfffff could not be reserved
[    1.396100] system 00:00: iomem range 0x100000-0x1fffffff could not be reserved
[    1.400100] system 00:00: iomem range 0xfff80000-0xffffffff could not be reserved
[    1.404144] system 00:02: ioport range 0x1000-0x103f has been reserved
[    1.408100] system 00:02: ioport range 0x1040-0x104f has been reserved
[    1.412100] system 00:02: ioport range 0xfe00-0xfe0f has been reserved
[    1.416171] system 00:09: ioport range 0x15e0-0x15ef has been reserved
[    1.454269] PCI: bogus alignment of resource 7 [100:1ff] (flags 100) of 0000:00:02.0
[    1.456101] PCI: bogus alignment of resource 8 [100:1ff] (flags 100) of 0000:00:02.0
[    1.460102] PCI: bogus alignment of resource 9 [4000000:7ffffff] (flags 1200) of 0000:00:02.0
[    1.464102] PCI: bogus alignment of resource 10 [4000000:7ffffff] (flags 200) of 0000:00:02.0
[    1.468102] PCI: bogus alignment of resource 7 [100:1ff] (flags 100) of 0000:00:02.1
[    1.472102] PCI: bogus alignment of resource 8 [100:1ff] (flags 100) of 0000:00:02.1
[    1.476103] PCI: bogus alignment of resource 9 [4000000:7ffffff] (flags 1200) of 0000:00:02.1
[    1.480103] PCI: bogus alignment of resource 10 [4000000:7ffffff] (flags 200) of 0000:00:02.1
[    1.484107] PCI: Bridge: 0000:00:01.0
[    1.488101]   IO window: disabled.
[    1.492113]   MEM window: 0xf0000000-0xf7ffffff
[    1.496107]   PREFETCH window: disabled.
[    1.500114] PCI: Bus 2, cardbus bridge: 0000:00:02.0
[    1.504103]   IO window: 0x00000100-0x000001ff
[    1.508109]   IO window: 0x00000100-0x000001ff
[    1.512110]   PREFETCH window: 0x04000000-0x07ffffff
[    1.516110]   MEM window: 0x04000000-0x07ffffff
[    1.520110] PCI: Bus 6, cardbus bridge: 0000:00:02.1
[    1.524104]   IO window: 0x00000100-0x000001ff
[    1.528111]   IO window: 0x00000100-0x000001ff
[    1.532111]   PREFETCH window: 0x04000000-0x07ffffff
[    1.536111]   MEM window: 0x04000000-0x07ffffff
[    1.540443] pci 0000:00:02.0: device not available because of BAR 7 [100:1ff] collisions
[    1.544270] pci 0000:00:02.1: device not available because of BAR 7 [100:1ff] collisions
[    1.548229] NET: Registered protocol family 2
[    1.552823] IP route cache hash table entries: 4096 (order: 2, 16384 bytes)
[    1.560115] TCP established hash table entries: 16384 (order: 5, 131072 bytes)
[    1.564618] TCP bind hash table entries: 16384 (order: 7, 589824 bytes)
[    1.573264] TCP: Hash tables configured (established 16384 bind 16384)
[    1.576197] TCP reno registered
[    1.581710] Simple Boot Flag at 0x35 set to 0x1
[    1.602470] Total HugeTLB memory allocated, 0
[    1.605016] msgmni has been set to 995 for ipc namespace c044ab00
[    1.608757] io scheduler noop registered
[    1.612113] io scheduler anticipatory registered (default)
[    1.616153] io scheduler bfq registered
[    1.620131] pci 0000:00:00.0: Limiting direct PCI/PCI transfers
[    1.624180] pci 0000:00:03.0: Firmware left e100 interrupts enabled; disabling
[    1.628191] pci 0000:01:00.0: Boot video device
[    1.841275] Serial: 8250/16550 driver $Revision: 1.90 $ 4 ports, IRQ sharing enabled
[    1.844739] serial8250: ttyS0 at I/O 0x3f8 (irq = 4) is a 16550A
[    1.848909] serial8250: ttyS1 at I/O 0x2f8 (irq = 3) is a NS16550A
[    1.856395] 00:0c: ttyS0 at I/O 0x3f8 (irq = 4) is a 16550A
[    1.865386] ACPI: PCI Interrupt Link [LNKC] enabled at IRQ 11
[    1.868163] PCI: setting IRQ 11 as level-triggered
[    1.872128] ACPI: PCI Interrupt 0000:00:03.1[A] -> Link [LNKC] -> GSI 11 (level, low) -> IRQ 11
[    1.894085] loop: module loaded
[    1.896167] tun: Universal TUN/TAP device driver, 1.6
[    1.900128] tun: (C) 1999-2004 Max Krasnyansky <maxk@qualcomm.com>
[    1.904727] Uniform Multi-Platform E-IDE driver
[    1.909631] Probing IDE interface ide0...
[    2.484577] ide0 at 0x1f0-0x1f7,0x3f6 on irq 14
[    2.492368] Driver 'sd' needs updating - please use bus_type methods
[    2.497122] PNP: PS/2 Controller [PNP0303:KBD,PNP0f13:MOU] at 0x60,0x64 irq 1,12
[    2.517369] serio: i8042 KBD port at 0x60,0x64 irq 1
[    2.520182] serio: i8042 AUX port at 0x60,0x64 irq 12
[    2.525629] mice: PS/2 mouse device common for all mice
[    2.529017] Software Watchdog Timer: 0.07 initialized. soft_noboot=0 soft_margin=60 sec (nowayout= 0)
[    2.532195] oprofile: using timer interrupt.
[    2.542308] TCP cubic registered
[    2.544169] Initializing XFRM netlink socket
[    2.548228] NET: Registered protocol family 15
[    2.552191] Using IPI No-Shortcut mode
[    2.557589] registered taskstats version 1
[    2.563524] input: AT Translated Set 2 keyboard as /class/input/input0
[    2.664484] VFS: Cannot open root device "hda1" or unknown-block(0,0)
[    2.668178] Please append a correct "root=" boot option; here are the available partitions:
[    2.672181] Kernel panic - not syncing: VFS: Unable to mount root fs on unknown-block(0,0)
[    2.676180] Pid: 1, comm: swapper Not tainted 2.6.25-mm1 #1
[    2.680178]  [<c01244d7>] panic+0x47/0x110
[    2.688179]  [<c0477c3d>] mount_block_root+0x10d/0x260
[    2.696180]  [<c018a537>] ? sys_mknod+0x27/0x30
[    2.708180]  [<c0477dea>] mount_root+0x5a/0x60
[    2.716181]  [<c0477e9d>] prepare_namespace+0xad/0x160
[    2.724181]  [<c017f410>] ? sys_access+0x20/0x30
[    2.732182]  [<c0477997>] kernel_init+0x1e7/0x2a0
[    2.740186]  [<c04777b0>] ? kernel_init+0x0/0x2a0
[    2.748183]  [<c04777b0>] ? kernel_init+0x0/0x2a0
[    2.756183]  [<c0103c3f>] kernel_thread_helper+0x7/0x18
[    2.764183]  =======================
-- 
Mel Gorman
Part-time Phd Student                          Linux Technology Center
University of Limerick                         IBM Dublin Software Lab

--
To unsubscribe, send a message with 'unsubscribe linux-mm' in
the body to majordomo@kvack.org.  For more info on Linux MM,
see: http://www.linux-mm.org/ .
Don't email: <a href=mailto:"dont@kvack.org"> email@kvack.org </a>

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

* Re: 2.6.25-mm1: Failing to probe IDE interface
  2008-04-29  9:43     ` Mel Gorman
@ 2008-04-29 15:49       ` Mel Gorman
  2008-04-29 16:58         ` Mel Gorman
  0 siblings, 1 reply; 52+ messages in thread
From: Mel Gorman @ 2008-04-29 15:49 UTC (permalink / raw)
  To: Bartlomiej Zolnierkiewicz; +Cc: Andrew Morton, linux-kernel, linux-mm

On (29/04/08 10:43), Mel Gorman didst pronounce:
> On (28/04/08 20:44), Bartlomiej Zolnierkiewicz didst pronounce:
> > 
> > Hi,
> > 
> > On Monday 28 April 2008, Mel Gorman wrote:
> > > An old T21 is failing to boot and the relevant message appears to be
> > > 
> > > [    1.929536] Probing IDE interface ide0...
> > > [   36.939317] ide0: Wait for ready failed before probe !
> > > [   37.502676] ide0: DISABLED, NO IRQ
> > > [   37.506356] ide0: failed to initialize IDE interface
> > > 
> > > The owner of ide-mm-ide-add-struct-ide_io_ports-take-2.patch with the
> > > "DISABLED, NO IRQ" message is cc'd. I've attached the config, full boot log
> > > and lspci -v for the machine in question. I'll start reverting some of the
> > > these patches to see if ide-mm-ide-add-struct-ide_io_ports-take-2.patch
> > > is really the culprit.
> > 
> > Please try reverting ide-fix-hwif-s-initialization.patch first - it has
> > already been dropped from IDE tree because people were reporting problems
> > similar to the one encountered by you.
> > 
> 
> Thanks.
> 
> I reverted this patch and ide-mm-ide-make-ide_hwifs-static.patch (for compile
> breakage reasons). It's better but still fails to find the IDE device.

Interestingly, bisection firmly blames this patch and QEMU boots with the two
patches reverted but fails with them applied so that patch does cause problems.
The failure on the laptop must be depending on some follow-on patch. I tried
a hatchet-job revert of the IDE patches between IDE-START and IDE-END in
the series file and it similarly fails to probe the IDE devices. So either
I made a mess of the reverts (strong possibility) or there is more than one
problem patch.

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

--
To unsubscribe, send a message with 'unsubscribe linux-mm' in
the body to majordomo@kvack.org.  For more info on Linux MM,
see: http://www.linux-mm.org/ .
Don't email: <a href=mailto:"dont@kvack.org"> email@kvack.org </a>

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

* Re: 2.6.25-mm1: Failing to probe IDE interface
  2008-04-29 15:49       ` Mel Gorman
@ 2008-04-29 16:58         ` Mel Gorman
  2008-04-29 21:37           ` Bartlomiej Zolnierkiewicz
  0 siblings, 1 reply; 52+ messages in thread
From: Mel Gorman @ 2008-04-29 16:58 UTC (permalink / raw)
  To: Bartlomiej Zolnierkiewicz, ink
  Cc: Andrew Morton, linux-kernel, linux-mm, gregkh

On (29/04/08 16:49), Mel Gorman didst pronounce:
> On (29/04/08 10:43), Mel Gorman didst pronounce:
> > On (28/04/08 20:44), Bartlomiej Zolnierkiewicz didst pronounce:
> > > 
> > > Hi,
> > > 
> > > On Monday 28 April 2008, Mel Gorman wrote:
> > > > An old T21 is failing to boot and the relevant message appears to be
> > > > 
> > > > [    1.929536] Probing IDE interface ide0...
> > > > [   36.939317] ide0: Wait for ready failed before probe !
> > > > [   37.502676] ide0: DISABLED, NO IRQ
> > > > [   37.506356] ide0: failed to initialize IDE interface
> > > > 
> > > > The owner of ide-mm-ide-add-struct-ide_io_ports-take-2.patch with the
> > > > "DISABLED, NO IRQ" message is cc'd. I've attached the config, full boot log
> > > > and lspci -v for the machine in question. I'll start reverting some of the
> > > > these patches to see if ide-mm-ide-add-struct-ide_io_ports-take-2.patch
> > > > is really the culprit.
> > > 
> > > Please try reverting ide-fix-hwif-s-initialization.patch first - it has
> > > already been dropped from IDE tree because people were reporting problems
> > > similar to the one encountered by you.
> > > 
> > 
> > Thanks.
> > 
> > I reverted this patch and ide-mm-ide-make-ide_hwifs-static.patch (for compile
> > breakage reasons). It's better but still fails to find the IDE device.
> 
> Interestingly, bisection firmly blames this patch and QEMU boots with the two
> patches reverted but fails with them applied so that patch does cause problems.
> The failure on the laptop must be depending on some follow-on patch. I tried
> a hatchet-job revert of the IDE patches between IDE-START and IDE-END in
> the series file and it similarly fails to probe the IDE devices. So either
> I made a mess of the reverts (strong possibility) or there is more than one
> problem patch.
> 

The third patch that needed reverting was
gregkh-pci-pci-clean-up-resource-alignment-management.patch (owners added
to cc). The relevant hint in the a diff between a broken and working bootlog was;

 system 00:09: ioport range 0x15e0-0x15ef has been reserved
+ PCI: bogus alignment of resource 7 [100:1ff] (flags 100) of 0000:00:02.0
+ PCI: bogus alignment of resource 8 [100:1ff] (flags 100) of 0000:00:02.0
+ PCI: bogus alignment of resource 9 [4000000:7ffffff] (flags 1200) of 0000:00:02.0
+ PCI: bogus alignment of resource 10 [4000000:7ffffff] (flags 200) of 0000:00:02.0
+ PCI: bogus alignment of resource 7 [100:1ff] (flags 100) of 0000:00:02.1
+ PCI: bogus alignment of resource 8 [100:1ff] (flags 100) of 0000:00:02.1
+ PCI: bogus alignment of resource 9 [4000000:7ffffff] (flags 1200) of 0000:00:02.1
+ PCI: bogus alignment of resource 10 [4000000:7ffffff] (flags 200) of 0000:00:02.1

With the resource alignment patch and the two IDE patches reverted, the
laptop is able to boot.

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

--
To unsubscribe, send a message with 'unsubscribe linux-mm' in
the body to majordomo@kvack.org.  For more info on Linux MM,
see: http://www.linux-mm.org/ .
Don't email: <a href=mailto:"dont@kvack.org"> email@kvack.org </a>

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

* Re: 2.6.25-mm1: Failing to probe IDE interface
  2008-04-29 16:58         ` Mel Gorman
@ 2008-04-29 21:37           ` Bartlomiej Zolnierkiewicz
  2008-04-30 11:16             ` Mel Gorman
  0 siblings, 1 reply; 52+ messages in thread
From: Bartlomiej Zolnierkiewicz @ 2008-04-29 21:37 UTC (permalink / raw)
  To: Mel Gorman; +Cc: ink, Andrew Morton, linux-kernel, linux-mm, gregkh

On Tuesday 29 April 2008, Mel Gorman wrote:
> On (29/04/08 16:49), Mel Gorman didst pronounce:
> > On (29/04/08 10:43), Mel Gorman didst pronounce:
> > > On (28/04/08 20:44), Bartlomiej Zolnierkiewicz didst pronounce:
> > > > 
> > > > Hi,
> > > > 
> > > > On Monday 28 April 2008, Mel Gorman wrote:
> > > > > An old T21 is failing to boot and the relevant message appears to be
> > > > > 
> > > > > [    1.929536] Probing IDE interface ide0...
> > > > > [   36.939317] ide0: Wait for ready failed before probe !
> > > > > [   37.502676] ide0: DISABLED, NO IRQ
> > > > > [   37.506356] ide0: failed to initialize IDE interface
> > > > > 
> > > > > The owner of ide-mm-ide-add-struct-ide_io_ports-take-2.patch with the
> > > > > "DISABLED, NO IRQ" message is cc'd. I've attached the config, full boot log
> > > > > and lspci -v for the machine in question. I'll start reverting some of the
> > > > > these patches to see if ide-mm-ide-add-struct-ide_io_ports-take-2.patch
> > > > > is really the culprit.
> > > > 
> > > > Please try reverting ide-fix-hwif-s-initialization.patch first - it has
> > > > already been dropped from IDE tree because people were reporting problems
> > > > similar to the one encountered by you.
> > > > 
> > > 
> > > Thanks.
> > > 
> > > I reverted this patch and ide-mm-ide-make-ide_hwifs-static.patch (for compile
> > > breakage reasons). It's better but still fails to find the IDE device.
> > 
> > Interestingly, bisection firmly blames this patch and QEMU boots with the two
> > patches reverted but fails with them applied so that patch does cause problems.
> > The failure on the laptop must be depending on some follow-on patch. I tried
> > a hatchet-job revert of the IDE patches between IDE-START and IDE-END in
> > the series file and it similarly fails to probe the IDE devices. So either
> > I made a mess of the reverts (strong possibility) or there is more than one
> > problem patch.
> > 
> 
> The third patch that needed reverting was
> gregkh-pci-pci-clean-up-resource-alignment-management.patch (owners added
> to cc). The relevant hint in the a diff between a broken and working bootlog was;
> 
>  system 00:09: ioport range 0x15e0-0x15ef has been reserved
> + PCI: bogus alignment of resource 7 [100:1ff] (flags 100) of 0000:00:02.0
> + PCI: bogus alignment of resource 8 [100:1ff] (flags 100) of 0000:00:02.0
> + PCI: bogus alignment of resource 9 [4000000:7ffffff] (flags 1200) of 0000:00:02.0
> + PCI: bogus alignment of resource 10 [4000000:7ffffff] (flags 200) of 0000:00:02.0
> + PCI: bogus alignment of resource 7 [100:1ff] (flags 100) of 0000:00:02.1
> + PCI: bogus alignment of resource 8 [100:1ff] (flags 100) of 0000:00:02.1
> + PCI: bogus alignment of resource 9 [4000000:7ffffff] (flags 1200) of 0000:00:02.1
> + PCI: bogus alignment of resource 10 [4000000:7ffffff] (flags 200) of 0000:00:02.1
> 
> With the resource alignment patch and the two IDE patches reverted, the
> laptop is able to boot.

Thanks for tracking it down.

Hmm, it seems that the above patch was merged a week ago:

commit bda0c0afa7a694bb1459fd023515aca681e4d79a
Merge: 904e0ab... af40b48...
Author: Linus Torvalds <torvalds@linux-foundation.org>
Date:   Mon Apr 21 15:58:35 2008 -0700

    Merge git://git.kernel.org/pub/scm/linux/kernel/git/gregkh/pci-2.6
...
      PCI: clean up resource alignment management
...

but it could be that the issue has been already fixed in git tree
(could you verify it please?).

BTW according to lspci output you should be able to use piix driver
instead of ide_generic on this laptop.

Thanks,
Bart

--
To unsubscribe, send a message with 'unsubscribe linux-mm' in
the body to majordomo@kvack.org.  For more info on Linux MM,
see: http://www.linux-mm.org/ .
Don't email: <a href=mailto:"dont@kvack.org"> email@kvack.org </a>

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

* Re: 2.6.25-mm1: Failing to probe IDE interface
  2008-04-29 21:37           ` Bartlomiej Zolnierkiewicz
@ 2008-04-30 11:16             ` Mel Gorman
  0 siblings, 0 replies; 52+ messages in thread
From: Mel Gorman @ 2008-04-30 11:16 UTC (permalink / raw)
  To: Bartlomiej Zolnierkiewicz
  Cc: ink, Andrew Morton, linux-kernel, linux-mm, gregkh

On (29/04/08 23:37), Bartlomiej Zolnierkiewicz didst pronounce:
> > <SNIP>
> > 
> > The third patch that needed reverting was
> > gregkh-pci-pci-clean-up-resource-alignment-management.patch (owners added
> > to cc). The relevant hint in the a diff between a broken and working bootlog was;
> > 
> >  system 00:09: ioport range 0x15e0-0x15ef has been reserved
> > + PCI: bogus alignment of resource 7 [100:1ff] (flags 100) of 0000:00:02.0
> > + PCI: bogus alignment of resource 8 [100:1ff] (flags 100) of 0000:00:02.0
> > + PCI: bogus alignment of resource 9 [4000000:7ffffff] (flags 1200) of 0000:00:02.0
> > + PCI: bogus alignment of resource 10 [4000000:7ffffff] (flags 200) of 0000:00:02.0
> > + PCI: bogus alignment of resource 7 [100:1ff] (flags 100) of 0000:00:02.1
> > + PCI: bogus alignment of resource 8 [100:1ff] (flags 100) of 0000:00:02.1
> > + PCI: bogus alignment of resource 9 [4000000:7ffffff] (flags 1200) of 0000:00:02.1
> > + PCI: bogus alignment of resource 10 [4000000:7ffffff] (flags 200) of 0000:00:02.1
> > 
> > With the resource alignment patch and the two IDE patches reverted, the
> > laptop is able to boot.
> 
> Thanks for tracking it down.
> 
> Hmm, it seems that the above patch was merged a week ago:
> 
> commit bda0c0afa7a694bb1459fd023515aca681e4d79a
> Merge: 904e0ab... af40b48...
> Author: Linus Torvalds <torvalds@linux-foundation.org>
> Date:   Mon Apr 21 15:58:35 2008 -0700
> 
>     Merge git://git.kernel.org/pub/scm/linux/kernel/git/gregkh/pci-2.6
> ...
>       PCI: clean up resource alignment management
> ...
> 
> but it could be that the issue has been already fixed in git tree
> (could you verify it please?).
> 

Latest git boots on the laptop so somewhere along the line, it got fixed.

> BTW according to lspci output you should be able to use piix driver
> instead of ide_generic on this laptop.
> 

I know but the config is a bit minimal for faster building as it's only
intended for sniff-testing patches.

Thanks for the help.

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

--
To unsubscribe, send a message with 'unsubscribe linux-mm' in
the body to majordomo@kvack.org.  For more info on Linux MM,
see: http://www.linux-mm.org/ .
Don't email: <a href=mailto:"dont@kvack.org"> email@kvack.org </a>

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

end of thread, other threads:[~2008-04-30 11:16 UTC | newest]

Thread overview: 52+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2008-04-17 23:03 2.6.25-mm1: not looking good Andrew Morton
2008-04-17 23:24 ` Greg KH
2008-04-18  0:48   ` Kay Sievers
2008-04-18  1:12     ` Andrew Morton
2008-04-18  4:07     ` Andrew Morton
2008-04-17 23:24 ` Dan Williams
2008-04-17 23:40 ` Andrew Morton
2008-04-18  0:14   ` Andrew Morton
2008-04-18  3:05     ` Jason Wessel
2008-04-18  7:37       ` Ingo Molnar
2008-04-18 11:46         ` Vegard Nossum
2008-04-18 12:34           ` Ingo Molnar
2008-04-18 12:41             ` Vegard Nossum
2008-04-18 13:02               ` Jason Wessel
2008-04-18 13:22                 ` Vegard Nossum
2008-04-18 13:27                   ` Jason Wessel
2008-04-18 14:47                     ` Vegard Nossum
2008-04-18 16:02                       ` Vegard Nossum
2008-04-18 21:54         ` Jason Wessel
2008-04-17 23:55 ` Paul Moore
2008-04-18  0:04   ` Andrew Morton
2008-04-18 14:55     ` Paul Moore
2008-04-18  1:35   ` Andrew Morton
2008-04-18 14:57     ` Paul Moore
2008-04-18  5:49 ` Arjan van de Ven
2008-04-18  6:10   ` Andrew Morton
2008-04-18  7:19     ` Ingo Molnar
2008-04-18  7:28       ` Andrew Morton
2008-04-18  9:28         ` Ingo Molnar
2008-04-18  6:40 ` Pekka Enberg
2008-04-18  6:56   ` Andrew Morton
2008-04-18  7:24   ` Ingo Molnar
2008-04-18  7:25     ` Pekka Enberg
2008-04-18 10:32     ` James Morris
2008-04-18  7:09 ` Ingo Molnar
2008-04-18  7:50 ` Andrew Morton
2008-04-18  7:53   ` Andrew Morton
2008-04-18  7:57     ` Andrew Morton
2008-04-18  9:22       ` Ingo Molnar
2008-04-18 12:18         ` Ingo Molnar
2008-04-18  9:42     ` Pavel Machek
2008-04-18 15:22       ` Alan Stern
2008-04-18 11:07     ` Pavel Machek
2008-04-28 16:42 ` 2.6.25-mm1: Failing to probe IDE interface Mel Gorman
2008-04-28 16:59   ` Andrew Morton
2008-04-29  9:39     ` Mel Gorman
2008-04-28 18:44   ` Bartlomiej Zolnierkiewicz
2008-04-29  9:43     ` Mel Gorman
2008-04-29 15:49       ` Mel Gorman
2008-04-29 16:58         ` Mel Gorman
2008-04-29 21:37           ` Bartlomiej Zolnierkiewicz
2008-04-30 11:16             ` Mel Gorman

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox