LKML Archive on lore.kernel.org
help / color / mirror / Atom feed
* Re: 2.6.26-git0: IDE oops during boot
       [not found] <20080206105334.GA3664@elf.ucw.cz>
@ 2008-02-06 11:08 ` Pavel Machek
  2008-02-06 20:05   ` Bartlomiej Zolnierkiewicz
  0 siblings, 1 reply; 17+ messages in thread
From: Pavel Machek @ 2008-02-06 11:08 UTC (permalink / raw)
  To: kernel list, bzolnier, linux-ide

On Wed 2008-02-06 11:53:34, Pavel Machek wrote:
> Hi!
> 
> Trying to boot 2.6.25-git0 (few days old), I get
> 
> BUG: unable to handle kernel paging request at ffff..ffb0
> IP at init_irq+0x42e
> 
> Call trace:
> ide_device_add_all
> ide_generic_init
> kernel_init
> child_rip
> vgacon_cursor
> kernel_init
> child_rip
> 
> Excerpt from config:
> 
> CONFIG_IDE=y
> CONFIG_BLK_DEV_IDE=y

Disabling CONFIG_IDE made my machine boot, as it was using libata
anyway.
									Pavel
-- 
(english) http://www.livejournal.com/~pavelmachek
(cesky, pictures) http://atrey.karlin.mff.cuni.cz/~pavel/picture/horses/blog.html

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

* Re: 2.6.26-git0: IDE oops during boot
  2008-02-06 11:08 ` 2.6.26-git0: IDE oops during boot Pavel Machek
@ 2008-02-06 20:05   ` Bartlomiej Zolnierkiewicz
  2008-02-07  9:35     ` Kamalesh Babulal
  0 siblings, 1 reply; 17+ messages in thread
From: Bartlomiej Zolnierkiewicz @ 2008-02-06 20:05 UTC (permalink / raw)
  To: Pavel Machek; +Cc: kernel list, linux-ide, Kamalesh Babulal


Hi,

On Wednesday 06 February 2008, Pavel Machek wrote:
> On Wed 2008-02-06 11:53:34, Pavel Machek wrote:
> > Hi!
> > 
> > Trying to boot 2.6.25-git0 (few days old), I get
> > 
> > BUG: unable to handle kernel paging request at ffff..ffb0
> > IP at init_irq+0x42e

init_irq? hmm...

> > Call trace:
> > ide_device_add_all

this comes from ide-generic
(Generic IDE host driver)

> > ide_generic_init
> > kernel_init
> > child_rip
> > vgacon_cursor
> > kernel_init
> > child_rip
> > 
> > Excerpt from config:
> > 
> > CONFIG_IDE=y
> > CONFIG_BLK_DEV_IDE=y
> 
> Disabling CONFIG_IDE made my machine boot, as it was using libata
> anyway.

Kamalesh/Pavel:

Could you try latest git and see if the OOPS is still there?

[ Yeah, I'm unable to reproduce it. :( ]

Thanks,
Bart

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

* Re: 2.6.26-git0: IDE oops during boot
  2008-02-06 20:05   ` Bartlomiej Zolnierkiewicz
@ 2008-02-07  9:35     ` Kamalesh Babulal
  2008-02-07 14:01       ` Bartlomiej Zolnierkiewicz
  0 siblings, 1 reply; 17+ messages in thread
From: Kamalesh Babulal @ 2008-02-07  9:35 UTC (permalink / raw)
  To: Bartlomiej Zolnierkiewicz; +Cc: Pavel Machek, kernel list, linux-ide

Bartlomiej Zolnierkiewicz wrote:
> Hi,
> 
> On Wednesday 06 February 2008, Pavel Machek wrote:
>> On Wed 2008-02-06 11:53:34, Pavel Machek wrote:
>>> Hi!
>>>
>>> Trying to boot 2.6.25-git0 (few days old), I get
>>>
>>> BUG: unable to handle kernel paging request at ffff..ffb0
>>> IP at init_irq+0x42e
> 
> init_irq? hmm...
> 
>>> Call trace:
>>> ide_device_add_all
> 
> this comes from ide-generic
> (Generic IDE host driver)
> 
>>> ide_generic_init
>>> kernel_init
>>> child_rip
>>> vgacon_cursor
>>> kernel_init
>>> child_rip
>>>
>>> Excerpt from config:
>>>
>>> CONFIG_IDE=y
>>> CONFIG_BLK_DEV_IDE=y
>> Disabling CONFIG_IDE made my machine boot, as it was using libata
>> anyway.
> 
> Kamalesh/Pavel:
> 
> Could you try latest git and see if the OOPS is still there?
> 
> [ Yeah, I'm unable to reproduce it. :( ]
> 
> Thanks,
> Bart
Hi Bart,

The panic is reproducible with the 2.6.24-git16 kernel, the call trace is
similar to the previous one

BUG: unable to handle kernel paging request at ffffffffffffffa0
IP: [<ffffffff80415673>] init_irq+0x188/0x444
PGD 203067 PUD 204067 PMD 0 
Oops: 0000 [1] SMP 
CPU 3 
Modules linked in:
Pid: 1, comm: swapper Not tainted 2.6.24-git16 #1
RIP: 0010:[<ffffffff80415673>]  [<ffffffff80415673>] init_irq+0x188/0x444
RSP: 0000:ffff81022f093e00  EFLAGS: 00010282
RAX: ffffffffffffff80 RBX: ffffffff808ad200 RCX: 0000000000000000
RDX: 00000000ffffffff RSI: ffff81022fc039c0 RDI: ffffffff807512c0
RBP: ffff81022f093e30 R08: ffff81022f093d70 R09: 0000000000000002
R10: 0000000000000001 R11: ffff81022f093c00 R12: ffffffff808b4500
R13: ffffffff808b4510 R14: 0000000000000000 R15: ffffffffffffffff
FS:  0000000000000000(0000) GS:ffff81022f0e7ac0(0000) knlGS:0000000000000000
CS:  0010 DS: 0018 ES: 0018 CR0: 000000008005003b
CR2: ffffffffffffffa0 CR3: 0000000000201000 CR4: 00000000000006e0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000ffff0ff0 DR7: 0000000000000400
Process swapper (pid: 1, threadinfo ffff81022f092000, task ffff81022f0797e0)
Stack:  ffff81022f093e30 0000000000000000 ffffffff808ad200 ffffffff808ad220
 ffffffff808add80 0000000000000000 ffff81022f093eb0 ffffffff8041648f
 ffff81022f093ec0 0000000000000000 0000000080751ee0 0000000000000246
Call Trace:
 [<ffffffff8041648f>] ide_device_add_all+0xb60/0xe54
 [<ffffffff807d6d48>] ide_generic_init+0x46/0x4a
 [<ffffffff807b873b>] kernel_init+0x175/0x2e7
 [<ffffffff8020bff8>] child_rip+0xa/0x12
 [<ffffffff8037476c>] acpi_ds_init_one_object+0x0/0x88
 [<ffffffff807b85c6>] kernel_init+0x0/0x2e7
 [<ffffffff8020bfee>] child_rip+0x0/0x12


Code: 89 03 49 8b 45 18 48 89 18 48 39 1b 75 04 0f 0b eb fe fe 05 20 71 38 00 fb eb 5b 48 8b 83 20 07 00 00 83 ca ff 48 83 c0 80 74 0e <48> 8b 40 20 48 8b 80 88 00 00 00 8b 50 04 48 8b 3d 48 11 30 00 
RIP  [<ffffffff80415673>] init_irq+0x188/0x444
 RSP <ffff81022f093e00>
CR2: ffffffffffffffa0
---[ end trace 165798c72d52c3e3 ]---


-- 
Thanks & Regards,
Kamalesh Babulal,
Linux Technology Center,
IBM, ISTL.

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

* Re: 2.6.26-git0: IDE oops during boot
  2008-02-07  9:35     ` Kamalesh Babulal
@ 2008-02-07 14:01       ` Bartlomiej Zolnierkiewicz
  2008-02-10 21:32         ` Nish Aravamudan
  0 siblings, 1 reply; 17+ messages in thread
From: Bartlomiej Zolnierkiewicz @ 2008-02-07 14:01 UTC (permalink / raw)
  To: Kamalesh Babulal; +Cc: Pavel Machek, kernel list, linux-ide


On Thursday 07 February 2008, Kamalesh Babulal wrote:
> Bartlomiej Zolnierkiewicz wrote:
> > Hi,
> > 
> > On Wednesday 06 February 2008, Pavel Machek wrote:
> >> On Wed 2008-02-06 11:53:34, Pavel Machek wrote:
> >>> Hi!
> >>>
> >>> Trying to boot 2.6.25-git0 (few days old), I get
> >>>
> >>> BUG: unable to handle kernel paging request at ffff..ffb0
> >>> IP at init_irq+0x42e
> > 
> > init_irq? hmm...
> > 
> >>> Call trace:
> >>> ide_device_add_all
> > 
> > this comes from ide-generic
> > (Generic IDE host driver)
> > 
> >>> ide_generic_init
> >>> kernel_init
> >>> child_rip
> >>> vgacon_cursor
> >>> kernel_init
> >>> child_rip
> >>>
> >>> Excerpt from config:
> >>>
> >>> CONFIG_IDE=y
> >>> CONFIG_BLK_DEV_IDE=y
> >> Disabling CONFIG_IDE made my machine boot, as it was using libata
> >> anyway.
> > 
> > Kamalesh/Pavel:
> > 
> > Could you try latest git and see if the OOPS is still there?
> > 
> > [ Yeah, I'm unable to reproduce it. :( ]
> > 
> > Thanks,
> > Bart
> Hi Bart,
> 
> The panic is reproducible with the 2.6.24-git16 kernel, the call trace is
> similar to the previous one

Thanks, I again reviewed ide-probe.c changes but nothing seems wrong...

Could you please bisect it down to the guilty commit?

> BUG: unable to handle kernel paging request at ffffffffffffffa0
> IP: [<ffffffff80415673>] init_irq+0x188/0x444

Please also try disassembling init_irq using gdb so we see where it fails.

Bart

> PGD 203067 PUD 204067 PMD 0 
> Oops: 0000 [1] SMP 
> CPU 3 
> Modules linked in:
> Pid: 1, comm: swapper Not tainted 2.6.24-git16 #1
> RIP: 0010:[<ffffffff80415673>]  [<ffffffff80415673>] init_irq+0x188/0x444
> RSP: 0000:ffff81022f093e00  EFLAGS: 00010282
> RAX: ffffffffffffff80 RBX: ffffffff808ad200 RCX: 0000000000000000
> RDX: 00000000ffffffff RSI: ffff81022fc039c0 RDI: ffffffff807512c0
> RBP: ffff81022f093e30 R08: ffff81022f093d70 R09: 0000000000000002
> R10: 0000000000000001 R11: ffff81022f093c00 R12: ffffffff808b4500
> R13: ffffffff808b4510 R14: 0000000000000000 R15: ffffffffffffffff
> FS:  0000000000000000(0000) GS:ffff81022f0e7ac0(0000) knlGS:0000000000000000
> CS:  0010 DS: 0018 ES: 0018 CR0: 000000008005003b
> CR2: ffffffffffffffa0 CR3: 0000000000201000 CR4: 00000000000006e0
> DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
> DR3: 0000000000000000 DR6: 00000000ffff0ff0 DR7: 0000000000000400
> Process swapper (pid: 1, threadinfo ffff81022f092000, task ffff81022f0797e0)
> Stack:  ffff81022f093e30 0000000000000000 ffffffff808ad200 ffffffff808ad220
>  ffffffff808add80 0000000000000000 ffff81022f093eb0 ffffffff8041648f
>  ffff81022f093ec0 0000000000000000 0000000080751ee0 0000000000000246
> Call Trace:
>  [<ffffffff8041648f>] ide_device_add_all+0xb60/0xe54
>  [<ffffffff807d6d48>] ide_generic_init+0x46/0x4a
>  [<ffffffff807b873b>] kernel_init+0x175/0x2e7
>  [<ffffffff8020bff8>] child_rip+0xa/0x12
>  [<ffffffff8037476c>] acpi_ds_init_one_object+0x0/0x88
>  [<ffffffff807b85c6>] kernel_init+0x0/0x2e7
>  [<ffffffff8020bfee>] child_rip+0x0/0x12
> 
> 
> Code: 89 03 49 8b 45 18 48 89 18 48 39 1b 75 04 0f 0b eb fe fe 05 20 71 38 00 fb eb 5b 48 8b 83 20 07 00 00 83 ca ff 48 83 c0 80 74 0e <48> 8b 40 20 48 8b 80 88 00 00 00 8b 50 04 48 8b 3d 48 11 30 00 
> RIP  [<ffffffff80415673>] init_irq+0x188/0x444
>  RSP <ffff81022f093e00>
> CR2: ffffffffffffffa0
> ---[ end trace 165798c72d52c3e3 ]---
> 
> 
> -- 
> Thanks & Regards,
> Kamalesh Babulal,
> Linux Technology Center,
> IBM, ISTL.

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

* Re: 2.6.26-git0: IDE oops during boot
  2008-02-07 14:01       ` Bartlomiej Zolnierkiewicz
@ 2008-02-10 21:32         ` Nish Aravamudan
  2008-02-11  7:54           ` Kamalesh Babulal
  0 siblings, 1 reply; 17+ messages in thread
From: Nish Aravamudan @ 2008-02-10 21:32 UTC (permalink / raw)
  To: Bartlomiej Zolnierkiewicz
  Cc: Kamalesh Babulal, Pavel Machek, kernel list, linux-ide

On 2/7/08, Bartlomiej Zolnierkiewicz <bzolnier@gmail.com> wrote:
>
> On Thursday 07 February 2008, Kamalesh Babulal wrote:
> > Bartlomiej Zolnierkiewicz wrote:
> > > Hi,
> > >
> > > On Wednesday 06 February 2008, Pavel Machek wrote:
> > >> On Wed 2008-02-06 11:53:34, Pavel Machek wrote:
> > >>> Hi!
> > >>>
> > >>> Trying to boot 2.6.25-git0 (few days old), I get
> > >>>
> > >>> BUG: unable to handle kernel paging request at ffff..ffb0
> > >>> IP at init_irq+0x42e
> > >
> > > init_irq? hmm...
> > >
> > >>> Call trace:
> > >>> ide_device_add_all
> > >
> > > this comes from ide-generic
> > > (Generic IDE host driver)
> > >
> > >>> ide_generic_init
> > >>> kernel_init
> > >>> child_rip
> > >>> vgacon_cursor
> > >>> kernel_init
> > >>> child_rip
> > >>>
> > >>> Excerpt from config:
> > >>>
> > >>> CONFIG_IDE=y
> > >>> CONFIG_BLK_DEV_IDE=y
> > >> Disabling CONFIG_IDE made my machine boot, as it was using libata
> > >> anyway.
> > >
> > > Kamalesh/Pavel:
> > >
> > > Could you try latest git and see if the OOPS is still there?
> > >
> > > [ Yeah, I'm unable to reproduce it. :( ]
> > >
> > > Thanks,
> > > Bart
> > Hi Bart,
> >
> > The panic is reproducible with the 2.6.24-git16 kernel, the call trace is
> > similar to the previous one
>
> Thanks, I again reviewed ide-probe.c changes but nothing seems wrong...
>
> Could you please bisect it down to the guilty commit?

Kamalesh, were you able to bisect this down? I just got hit by the
same panic on a 4-way x86_64, with 2.6.24-git22.

Thanks,
Nish

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

* Re: 2.6.26-git0: IDE oops during boot
  2008-02-10 21:32         ` Nish Aravamudan
@ 2008-02-11  7:54           ` Kamalesh Babulal
  2008-02-11 19:35             ` Bartlomiej Zolnierkiewicz
  0 siblings, 1 reply; 17+ messages in thread
From: Kamalesh Babulal @ 2008-02-11  7:54 UTC (permalink / raw)
  To: Nish Aravamudan
  Cc: Bartlomiej Zolnierkiewicz, Pavel Machek, kernel list, linux-ide, ananth

Nish Aravamudan wrote:
> On 2/7/08, Bartlomiej Zolnierkiewicz <bzolnier@gmail.com> wrote:
>> On Thursday 07 February 2008, Kamalesh Babulal wrote:
>>> Bartlomiej Zolnierkiewicz wrote:
>>>> Hi,
>>>>
>>>> On Wednesday 06 February 2008, Pavel Machek wrote:
>>>>> On Wed 2008-02-06 11:53:34, Pavel Machek wrote:
>>>>>> Hi!
>>>>>>
>>>>>> Trying to boot 2.6.25-git0 (few days old), I get
>>>>>>
>>>>>> BUG: unable to handle kernel paging request at ffff..ffb0
>>>>>> IP at init_irq+0x42e
>>>> init_irq? hmm...
>>>>
>>>>>> Call trace:
>>>>>> ide_device_add_all
>>>> this comes from ide-generic
>>>> (Generic IDE host driver)
>>>>
>>>>>> ide_generic_init
>>>>>> kernel_init
>>>>>> child_rip
>>>>>> vgacon_cursor
>>>>>> kernel_init
>>>>>> child_rip
>>>>>>
>>>>>> Excerpt from config:
>>>>>>
>>>>>> CONFIG_IDE=y
>>>>>> CONFIG_BLK_DEV_IDE=y
>>>>> Disabling CONFIG_IDE made my machine boot, as it was using libata
>>>>> anyway.
>>>> Kamalesh/Pavel:
>>>>
>>>> Could you try latest git and see if the OOPS is still there?
>>>>
>>>> [ Yeah, I'm unable to reproduce it. :( ]
>>>>
>>>> Thanks,
>>>> Bart
>>> Hi Bart,
>>>
>>> The panic is reproducible with the 2.6.24-git16 kernel, the call trace is
>>> similar to the previous one
>> Thanks, I again reviewed ide-probe.c changes but nothing seems wrong...
>>
>> Could you please bisect it down to the guilty commit?
> 
> Kamalesh, were you able to bisect this down? I just got hit by the
> same panic on a 4-way x86_64, with 2.6.24-git22.
> 
> Thanks,
> Nish

Hi Nish,

I tried bisecting and the guilty patch seems to be 

36501650ec45b1db308c3b51886044863be2d762 is first bad commit
commit 36501650ec45b1db308c3b51886044863be2d762
Author: Bartlomiej Zolnierkiewicz <bzolnier@gmail.com>
Date:   Fri Feb 1 23:09:31 2008 +0100

    ide: keep pointer to struct device instead of struct pci_dev in ide_hwif_t


the gdb output, also points to the changes made by the guilty patch

(gdb) p ide_device_add_all
$1 = {int (u8 *, const struct ide_port_info *)} 0xffffffff804176ac <ide_device_add_all>
(gdb) p/x 0xffffffff804176ac+0xb60
$2 = 0xffffffff8041820c
(gdb) l *0xffffffff8041820c
0xffffffff8041820c is in ide_device_add_all (drivers/ide/ide-probe.c:1249).
1244                    goto out;
1245            }
1246
1247            sg_init_table(hwif->sg_table, hwif->sg_max_nents);
1248
1249            if (init_irq(hwif) == 0)
1250                    goto done;
1251
1252            old_irq = hwif->irq;
1253            /*
(gdb) 


(gdb) p init_irq
$1 = {int (ide_hwif_t *)} 0xffffffff8041721f <init_irq>
(gdb) p/x 0xffffffff8041721f+0x1a4
$2 = 0xffffffff804173c3
(gdb) l *0xffffffff804173c3
0xffffffff804173c3 is in init_irq (include/asm/pci.h:101).
96      /* Returns the node based on pci bus */
97      static inline int __pcibus_to_node(struct pci_bus *bus)
98      {
99              struct pci_sysdata *sd = bus->sysdata;
100
101             return sd->node;
102     }
103
104     static inline cpumask_t __pcibus_to_cpumask(struct pci_bus *bus)
105     {
(gdb) 


-- 
Thanks & Regards,
Kamalesh Babulal,
Linux Technology Center,
IBM, ISTL.

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

* Re: 2.6.26-git0: IDE oops during boot
  2008-02-11  7:54           ` Kamalesh Babulal
@ 2008-02-11 19:35             ` Bartlomiej Zolnierkiewicz
  2008-02-12  9:04               ` Kamalesh Babulal
  0 siblings, 1 reply; 17+ messages in thread
From: Bartlomiej Zolnierkiewicz @ 2008-02-11 19:35 UTC (permalink / raw)
  To: Kamalesh Babulal
  Cc: Nish Aravamudan, Pavel Machek, kernel list, linux-ide, ananth,
	Andi Kleen


Hi,

On Monday 11 February 2008, Kamalesh Babulal wrote:
> Nish Aravamudan wrote:
> > On 2/7/08, Bartlomiej Zolnierkiewicz <bzolnier@gmail.com> wrote:
> >> On Thursday 07 February 2008, Kamalesh Babulal wrote:
> >>> Bartlomiej Zolnierkiewicz wrote:
> >>>> Hi,
> >>>>
> >>>> On Wednesday 06 February 2008, Pavel Machek wrote:
> >>>>> On Wed 2008-02-06 11:53:34, Pavel Machek wrote:
> >>>>>> Hi!
> >>>>>>
> >>>>>> Trying to boot 2.6.25-git0 (few days old), I get
> >>>>>>
> >>>>>> BUG: unable to handle kernel paging request at ffff..ffb0
> >>>>>> IP at init_irq+0x42e
> >>>> init_irq? hmm...
> >>>>
> >>>>>> Call trace:
> >>>>>> ide_device_add_all
> >>>> this comes from ide-generic
> >>>> (Generic IDE host driver)
> >>>>
> >>>>>> ide_generic_init
> >>>>>> kernel_init
> >>>>>> child_rip
> >>>>>> vgacon_cursor
> >>>>>> kernel_init
> >>>>>> child_rip
> >>>>>>
> >>>>>> Excerpt from config:
> >>>>>>
> >>>>>> CONFIG_IDE=y
> >>>>>> CONFIG_BLK_DEV_IDE=y
> >>>>> Disabling CONFIG_IDE made my machine boot, as it was using libata
> >>>>> anyway.
> >>>> Kamalesh/Pavel:
> >>>>
> >>>> Could you try latest git and see if the OOPS is still there?
> >>>>
> >>>> [ Yeah, I'm unable to reproduce it. :( ]
> >>>>
> >>>> Thanks,
> >>>> Bart
> >>> Hi Bart,
> >>>
> >>> The panic is reproducible with the 2.6.24-git16 kernel, the call trace is
> >>> similar to the previous one
> >> Thanks, I again reviewed ide-probe.c changes but nothing seems wrong...
> >>
> >> Could you please bisect it down to the guilty commit?
> > 
> > Kamalesh, were you able to bisect this down? I just got hit by the
> > same panic on a 4-way x86_64, with 2.6.24-git22.
> > 
> > Thanks,
> > Nish
> 
> Hi Nish,
> 
> I tried bisecting and the guilty patch seems to be 
> 
> 36501650ec45b1db308c3b51886044863be2d762 is first bad commit
> commit 36501650ec45b1db308c3b51886044863be2d762
> Author: Bartlomiej Zolnierkiewicz <bzolnier@gmail.com>
> Date:   Fri Feb 1 23:09:31 2008 +0100
> 
>     ide: keep pointer to struct device instead of struct pci_dev in ide_hwif_t
> 
> 
> the gdb output, also points to the changes made by the guilty patch
> 
> (gdb) p ide_device_add_all
> $1 = {int (u8 *, const struct ide_port_info *)} 0xffffffff804176ac <ide_device_add_all>
> (gdb) p/x 0xffffffff804176ac+0xb60
> $2 = 0xffffffff8041820c
> (gdb) l *0xffffffff8041820c
> 0xffffffff8041820c is in ide_device_add_all (drivers/ide/ide-probe.c:1249).
> 1244                    goto out;
> 1245            }
> 1246
> 1247            sg_init_table(hwif->sg_table, hwif->sg_max_nents);
> 1248
> 1249            if (init_irq(hwif) == 0)
> 1250                    goto done;
> 1251
> 1252            old_irq = hwif->irq;
> 1253            /*
> (gdb) 
> 
> 
> (gdb) p init_irq
> $1 = {int (ide_hwif_t *)} 0xffffffff8041721f <init_irq>
> (gdb) p/x 0xffffffff8041721f+0x1a4
> $2 = 0xffffffff804173c3
> (gdb) l *0xffffffff804173c3
> 0xffffffff804173c3 is in init_irq (include/asm/pci.h:101).
> 96      /* Returns the node based on pci bus */
> 97      static inline int __pcibus_to_node(struct pci_bus *bus)
> 98      {
> 99              struct pci_sysdata *sd = bus->sysdata;
> 100
> 101             return sd->node;
> 102     }
> 103
> 104     static inline cpumask_t __pcibus_to_cpumask(struct pci_bus *bus)
> 105     {
> (gdb) 

Thanks for the detailed analysis and sorry for the bug.

I think that this may has been just fixed by Andi's recent hwif_to_node()
fix (patch below, it is in Linus' tree already), could please verify this?

commit 1f07e988290fc45932f5028c9e2a862c37a57336
Author: Andi Kleen <andi@firstfloor.org>
Date:   Mon Feb 11 01:35:20 2008 +0100

    Prevent IDE boot ops on NUMA system
    
    Without this patch a Opteron test system here oopses at boot with
    current git.
    
    Calling to_pci_dev() on a NULL pointer gives a negative value so the
    following NULL pointer check never triggers and then an illegal address
    is referenced.  Check the unadjusted original device pointer for NULL
    instead.
    
    Signed-off-by: Andi Kleen <ak@suse.de>
    Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>

diff --git a/include/linux/ide.h b/include/linux/ide.h
index 23fad89..a3b69c1 100644
--- a/include/linux/ide.h
+++ b/include/linux/ide.h
@@ -1295,7 +1295,7 @@ static inline void ide_dump_identify(u8 *id)
 static inline int hwif_to_node(ide_hwif_t *hwif)
 {
 	struct pci_dev *dev = to_pci_dev(hwif->dev);
-	return dev ? pcibus_to_node(dev->bus) : -1;
+	return hwif->dev ? pcibus_to_node(dev->bus) : -1;
 }
 
 static inline ide_drive_t *ide_get_paired_drive(ide_drive_t *drive)

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

* Re: 2.6.26-git0: IDE oops during boot
  2008-02-11 19:35             ` Bartlomiej Zolnierkiewicz
@ 2008-02-12  9:04               ` Kamalesh Babulal
  2008-02-13 23:00                 ` Bartlomiej Zolnierkiewicz
  0 siblings, 1 reply; 17+ messages in thread
From: Kamalesh Babulal @ 2008-02-12  9:04 UTC (permalink / raw)
  To: Bartlomiej Zolnierkiewicz
  Cc: Nish Aravamudan, Pavel Machek, kernel list, linux-ide, ananth,
	Andi Kleen

Bartlomiej Zolnierkiewicz wrote:
> Hi,
> 
> On Monday 11 February 2008, Kamalesh Babulal wrote:
>> Nish Aravamudan wrote:
>>> On 2/7/08, Bartlomiej Zolnierkiewicz <bzolnier@gmail.com> wrote:
>>>> On Thursday 07 February 2008, Kamalesh Babulal wrote:
>>>>> Bartlomiej Zolnierkiewicz wrote:
>>>>>> Hi,
>>>>>>
>>>>>> On Wednesday 06 February 2008, Pavel Machek wrote:
>>>>>>> On Wed 2008-02-06 11:53:34, Pavel Machek wrote:
>>>>>>>> Hi!
>>>>>>>>
>>>>>>>> Trying to boot 2.6.25-git0 (few days old), I get
>>>>>>>>
>>>>>>>> BUG: unable to handle kernel paging request at ffff..ffb0
>>>>>>>> IP at init_irq+0x42e
>>>>>> init_irq? hmm...
>>>>>>
>>>>>>>> Call trace:
>>>>>>>> ide_device_add_all
>>>>>> this comes from ide-generic
>>>>>> (Generic IDE host driver)
>>>>>>
>>>>>>>> ide_generic_init
>>>>>>>> kernel_init
>>>>>>>> child_rip
>>>>>>>> vgacon_cursor
>>>>>>>> kernel_init
>>>>>>>> child_rip
>>>>>>>>
>>>>>>>> Excerpt from config:
>>>>>>>>
>>>>>>>> CONFIG_IDE=y
>>>>>>>> CONFIG_BLK_DEV_IDE=y
>>>>>>> Disabling CONFIG_IDE made my machine boot, as it was using libata
>>>>>>> anyway.
>>>>>> Kamalesh/Pavel:
>>>>>>
>>>>>> Could you try latest git and see if the OOPS is still there?
>>>>>>
>>>>>> [ Yeah, I'm unable to reproduce it. :( ]
>>>>>>
>>>>>> Thanks,
>>>>>> Bart
>>>>> Hi Bart,
>>>>>
>>>>> The panic is reproducible with the 2.6.24-git16 kernel, the call trace is
>>>>> similar to the previous one
>>>> Thanks, I again reviewed ide-probe.c changes but nothing seems wrong...
>>>>
>>>> Could you please bisect it down to the guilty commit?
>>> Kamalesh, were you able to bisect this down? I just got hit by the
>>> same panic on a 4-way x86_64, with 2.6.24-git22.
>>>
>>> Thanks,
>>> Nish
>> Hi Nish,
>>
>> I tried bisecting and the guilty patch seems to be 
>>
>> 36501650ec45b1db308c3b51886044863be2d762 is first bad commit
>> commit 36501650ec45b1db308c3b51886044863be2d762
>> Author: Bartlomiej Zolnierkiewicz <bzolnier@gmail.com>
>> Date:   Fri Feb 1 23:09:31 2008 +0100
>>
>>     ide: keep pointer to struct device instead of struct pci_dev in ide_hwif_t
>>
>>
>> the gdb output, also points to the changes made by the guilty patch
>>
>> (gdb) p ide_device_add_all
>> $1 = {int (u8 *, const struct ide_port_info *)} 0xffffffff804176ac <ide_device_add_all>
>> (gdb) p/x 0xffffffff804176ac+0xb60
>> $2 = 0xffffffff8041820c
>> (gdb) l *0xffffffff8041820c
>> 0xffffffff8041820c is in ide_device_add_all (drivers/ide/ide-probe.c:1249).
>> 1244                    goto out;
>> 1245            }
>> 1246
>> 1247            sg_init_table(hwif->sg_table, hwif->sg_max_nents);
>> 1248
>> 1249            if (init_irq(hwif) == 0)
>> 1250                    goto done;
>> 1251
>> 1252            old_irq = hwif->irq;
>> 1253            /*
>> (gdb) 
>>
>>
>> (gdb) p init_irq
>> $1 = {int (ide_hwif_t *)} 0xffffffff8041721f <init_irq>
>> (gdb) p/x 0xffffffff8041721f+0x1a4
>> $2 = 0xffffffff804173c3
>> (gdb) l *0xffffffff804173c3
>> 0xffffffff804173c3 is in init_irq (include/asm/pci.h:101).
>> 96      /* Returns the node based on pci bus */
>> 97      static inline int __pcibus_to_node(struct pci_bus *bus)
>> 98      {
>> 99              struct pci_sysdata *sd = bus->sysdata;
>> 100
>> 101             return sd->node;
>> 102     }
>> 103
>> 104     static inline cpumask_t __pcibus_to_cpumask(struct pci_bus *bus)
>> 105     {
>> (gdb) 
> 
> Thanks for the detailed analysis and sorry for the bug.
> 
> I think that this may has been just fixed by Andi's recent hwif_to_node()
> fix (patch below, it is in Linus' tree already), could please verify this?
> 
> commit 1f07e988290fc45932f5028c9e2a862c37a57336
> Author: Andi Kleen <andi@firstfloor.org>
> Date:   Mon Feb 11 01:35:20 2008 +0100
> 
>     Prevent IDE boot ops on NUMA system
>     
>     Without this patch a Opteron test system here oopses at boot with
>     current git.
>     
>     Calling to_pci_dev() on a NULL pointer gives a negative value so the
>     following NULL pointer check never triggers and then an illegal address
>     is referenced.  Check the unadjusted original device pointer for NULL
>     instead.
>     
>     Signed-off-by: Andi Kleen <ak@suse.de>
>     Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
> 
> diff --git a/include/linux/ide.h b/include/linux/ide.h
> index 23fad89..a3b69c1 100644
> --- a/include/linux/ide.h
> +++ b/include/linux/ide.h
> @@ -1295,7 +1295,7 @@ static inline void ide_dump_identify(u8 *id)
>  static inline int hwif_to_node(ide_hwif_t *hwif)
>  {
>  	struct pci_dev *dev = to_pci_dev(hwif->dev);
> -	return dev ? pcibus_to_node(dev->bus) : -1;
> +	return hwif->dev ? pcibus_to_node(dev->bus) : -1;
>  }
> 
>  static inline ide_drive_t *ide_get_paired_drive(ide_drive_t *drive)
Hi Bart,
Thanks !! the patch solves the kernel panic but when after applying the patch,kernel is not
able to mount the filesystem and panics, am i not sure what is likely causing the panic.

Creating root device.
Mounting root filesystem.
mount: could not  find filesystem
Kernel panic - not syncing: Attempted to kill init!


-- 
Thanks & Regards,
Kamalesh Babulal,
Linux Technology Center,
IBM, ISTL.

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

* Re: 2.6.26-git0: IDE oops during boot
  2008-02-12  9:04               ` Kamalesh Babulal
@ 2008-02-13 23:00                 ` Bartlomiej Zolnierkiewicz
  2008-02-14  9:46                   ` Kamalesh Babulal
  0 siblings, 1 reply; 17+ messages in thread
From: Bartlomiej Zolnierkiewicz @ 2008-02-13 23:00 UTC (permalink / raw)
  To: Kamalesh Babulal
  Cc: Nish Aravamudan, Pavel Machek, kernel list, linux-ide, ananth,
	Andi Kleen


Hi,

On Tuesday 12 February 2008, Kamalesh Babulal wrote:
> Bartlomiej Zolnierkiewicz wrote:
> > Hi,
> > 
> > On Monday 11 February 2008, Kamalesh Babulal wrote:
> >> Nish Aravamudan wrote:
> >>> On 2/7/08, Bartlomiej Zolnierkiewicz <bzolnier@gmail.com> wrote:
> >>>> On Thursday 07 February 2008, Kamalesh Babulal wrote:
> >>>>> Bartlomiej Zolnierkiewicz wrote:
> >>>>>> Hi,
> >>>>>>
> >>>>>> On Wednesday 06 February 2008, Pavel Machek wrote:
> >>>>>>> On Wed 2008-02-06 11:53:34, Pavel Machek wrote:
> >>>>>>>> Hi!
> >>>>>>>>
> >>>>>>>> Trying to boot 2.6.25-git0 (few days old), I get
> >>>>>>>>
> >>>>>>>> BUG: unable to handle kernel paging request at ffff..ffb0
> >>>>>>>> IP at init_irq+0x42e
> >>>>>> init_irq? hmm...
> >>>>>>
> >>>>>>>> Call trace:
> >>>>>>>> ide_device_add_all
> >>>>>> this comes from ide-generic
> >>>>>> (Generic IDE host driver)
> >>>>>>
> >>>>>>>> ide_generic_init
> >>>>>>>> kernel_init
> >>>>>>>> child_rip
> >>>>>>>> vgacon_cursor
> >>>>>>>> kernel_init
> >>>>>>>> child_rip
> >>>>>>>>
> >>>>>>>> Excerpt from config:
> >>>>>>>>
> >>>>>>>> CONFIG_IDE=y
> >>>>>>>> CONFIG_BLK_DEV_IDE=y
> >>>>>>> Disabling CONFIG_IDE made my machine boot, as it was using libata
> >>>>>>> anyway.
> >>>>>> Kamalesh/Pavel:
> >>>>>>
> >>>>>> Could you try latest git and see if the OOPS is still there?
> >>>>>>
> >>>>>> [ Yeah, I'm unable to reproduce it. :( ]
> >>>>>>
> >>>>>> Thanks,
> >>>>>> Bart
> >>>>> Hi Bart,
> >>>>>
> >>>>> The panic is reproducible with the 2.6.24-git16 kernel, the call trace is
> >>>>> similar to the previous one
> >>>> Thanks, I again reviewed ide-probe.c changes but nothing seems wrong...
> >>>>
> >>>> Could you please bisect it down to the guilty commit?
> >>> Kamalesh, were you able to bisect this down? I just got hit by the
> >>> same panic on a 4-way x86_64, with 2.6.24-git22.
> >>>
> >>> Thanks,
> >>> Nish
> >> Hi Nish,
> >>
> >> I tried bisecting and the guilty patch seems to be 
> >>
> >> 36501650ec45b1db308c3b51886044863be2d762 is first bad commit
> >> commit 36501650ec45b1db308c3b51886044863be2d762
> >> Author: Bartlomiej Zolnierkiewicz <bzolnier@gmail.com>
> >> Date:   Fri Feb 1 23:09:31 2008 +0100
> >>
> >>     ide: keep pointer to struct device instead of struct pci_dev in ide_hwif_t
> >>
> >>
> >> the gdb output, also points to the changes made by the guilty patch
> >>
> >> (gdb) p ide_device_add_all
> >> $1 = {int (u8 *, const struct ide_port_info *)} 0xffffffff804176ac <ide_device_add_all>
> >> (gdb) p/x 0xffffffff804176ac+0xb60
> >> $2 = 0xffffffff8041820c
> >> (gdb) l *0xffffffff8041820c
> >> 0xffffffff8041820c is in ide_device_add_all (drivers/ide/ide-probe.c:1249).
> >> 1244                    goto out;
> >> 1245            }
> >> 1246
> >> 1247            sg_init_table(hwif->sg_table, hwif->sg_max_nents);
> >> 1248
> >> 1249            if (init_irq(hwif) == 0)
> >> 1250                    goto done;
> >> 1251
> >> 1252            old_irq = hwif->irq;
> >> 1253            /*
> >> (gdb) 
> >>
> >>
> >> (gdb) p init_irq
> >> $1 = {int (ide_hwif_t *)} 0xffffffff8041721f <init_irq>
> >> (gdb) p/x 0xffffffff8041721f+0x1a4
> >> $2 = 0xffffffff804173c3
> >> (gdb) l *0xffffffff804173c3
> >> 0xffffffff804173c3 is in init_irq (include/asm/pci.h:101).
> >> 96      /* Returns the node based on pci bus */
> >> 97      static inline int __pcibus_to_node(struct pci_bus *bus)
> >> 98      {
> >> 99              struct pci_sysdata *sd = bus->sysdata;
> >> 100
> >> 101             return sd->node;
> >> 102     }
> >> 103
> >> 104     static inline cpumask_t __pcibus_to_cpumask(struct pci_bus *bus)
> >> 105     {
> >> (gdb) 
> > 
> > Thanks for the detailed analysis and sorry for the bug.
> > 
> > I think that this may has been just fixed by Andi's recent hwif_to_node()
> > fix (patch below, it is in Linus' tree already), could please verify this?
> > 
> > commit 1f07e988290fc45932f5028c9e2a862c37a57336
> > Author: Andi Kleen <andi@firstfloor.org>
> > Date:   Mon Feb 11 01:35:20 2008 +0100
> > 
> >     Prevent IDE boot ops on NUMA system
> >     
> >     Without this patch a Opteron test system here oopses at boot with
> >     current git.
> >     
> >     Calling to_pci_dev() on a NULL pointer gives a negative value so the
> >     following NULL pointer check never triggers and then an illegal address
> >     is referenced.  Check the unadjusted original device pointer for NULL
> >     instead.
> >     
> >     Signed-off-by: Andi Kleen <ak@suse.de>
> >     Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
> > 
> > diff --git a/include/linux/ide.h b/include/linux/ide.h
> > index 23fad89..a3b69c1 100644
> > --- a/include/linux/ide.h
> > +++ b/include/linux/ide.h
> > @@ -1295,7 +1295,7 @@ static inline void ide_dump_identify(u8 *id)
> >  static inline int hwif_to_node(ide_hwif_t *hwif)
> >  {
> >  	struct pci_dev *dev = to_pci_dev(hwif->dev);
> > -	return dev ? pcibus_to_node(dev->bus) : -1;
> > +	return hwif->dev ? pcibus_to_node(dev->bus) : -1;
> >  }
> > 
> >  static inline ide_drive_t *ide_get_paired_drive(ide_drive_t *drive)
> Hi Bart,
> Thanks !! the patch solves the kernel panic but when after applying the patch,kernel is not
> able to mount the filesystem and panics, am i not sure what is likely causing the panic.

Is

- the commit 36501650ec45b1db308c3b51886044863be2d762 with Andi's fix applied

or

- the commit f6fb786d6dcdd7d730e4fba620b071796f487e1b
  (the one before commit 36501650ec45b1db308c3b51886044863be2d762)

working for you?

> Creating root device.
> Mounting root filesystem.
> mount: could not  find filesystem
> Kernel panic - not syncing: Attempted to kill init!

Is IDE actually used for the boot device?

[ Please send a dmesg output from the working system. ]

Thanks,
Bart

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

* Re: 2.6.26-git0: IDE oops during boot
  2008-02-13 23:00                 ` Bartlomiej Zolnierkiewicz
@ 2008-02-14  9:46                   ` Kamalesh Babulal
  2008-02-14 10:28                     ` Yinghai Lu
  2008-02-14 12:01                     ` "mount: could not find filesystem" - aacraid? (was: Re: 2.6.26-git0: IDE oops during boot) Bartlomiej Zolnierkiewicz
  0 siblings, 2 replies; 17+ messages in thread
From: Kamalesh Babulal @ 2008-02-14  9:46 UTC (permalink / raw)
  To: Bartlomiej Zolnierkiewicz
  Cc: Nish Aravamudan, Pavel Machek, kernel list, linux-ide, ananth,
	Andi Kleen

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

Bartlomiej Zolnierkiewicz wrote:
> Hi,
> 
> On Tuesday 12 February 2008, Kamalesh Babulal wrote:
>> Bartlomiej Zolnierkiewicz wrote:
>>> Hi,
>>>
>>> On Monday 11 February 2008, Kamalesh Babulal wrote:
>>>> Nish Aravamudan wrote:
>>>>> On 2/7/08, Bartlomiej Zolnierkiewicz <bzolnier@gmail.com> wrote:
>>>>>> On Thursday 07 February 2008, Kamalesh Babulal wrote:
>>>>>>> Bartlomiej Zolnierkiewicz wrote:
>>>>>>>> Hi,
>>>>>>>>
>>>>>>>> On Wednesday 06 February 2008, Pavel Machek wrote:
>>>>>>>>> On Wed 2008-02-06 11:53:34, Pavel Machek wrote:
>>>>>>>>>> Hi!
>>>>>>>>>>
>>>>>>>>>> Trying to boot 2.6.25-git0 (few days old), I get
>>>>>>>>>>
>>>>>>>>>> BUG: unable to handle kernel paging request at ffff..ffb0
>>>>>>>>>> IP at init_irq+0x42e
>>>>>>>> init_irq? hmm...
>>>>>>>>
>>>>>>>>>> Call trace:
>>>>>>>>>> ide_device_add_all
>>>>>>>> this comes from ide-generic
>>>>>>>> (Generic IDE host driver)
>>>>>>>>
>>>>>>>>>> ide_generic_init
>>>>>>>>>> kernel_init
>>>>>>>>>> child_rip
>>>>>>>>>> vgacon_cursor
>>>>>>>>>> kernel_init
>>>>>>>>>> child_rip
>>>>>>>>>>
>>>>>>>>>> Excerpt from config:
>>>>>>>>>>
>>>>>>>>>> CONFIG_IDE=y
>>>>>>>>>> CONFIG_BLK_DEV_IDE=y
>>>>>>>>> Disabling CONFIG_IDE made my machine boot, as it was using libata
>>>>>>>>> anyway.
>>>>>>>> Kamalesh/Pavel:
>>>>>>>>
>>>>>>>> Could you try latest git and see if the OOPS is still there?
>>>>>>>>
>>>>>>>> [ Yeah, I'm unable to reproduce it. :( ]
>>>>>>>>
>>>>>>>> Thanks,
>>>>>>>> Bart
>>>>>>> Hi Bart,
>>>>>>>
>>>>>>> The panic is reproducible with the 2.6.24-git16 kernel, the call trace is
>>>>>>> similar to the previous one
>>>>>> Thanks, I again reviewed ide-probe.c changes but nothing seems wrong...
>>>>>>
>>>>>> Could you please bisect it down to the guilty commit?
>>>>> Kamalesh, were you able to bisect this down? I just got hit by the
>>>>> same panic on a 4-way x86_64, with 2.6.24-git22.
>>>>>
>>>>> Thanks,
>>>>> Nish
>>>> Hi Nish,
>>>>
>>>> I tried bisecting and the guilty patch seems to be 
>>>>
>>>> 36501650ec45b1db308c3b51886044863be2d762 is first bad commit
>>>> commit 36501650ec45b1db308c3b51886044863be2d762
>>>> Author: Bartlomiej Zolnierkiewicz <bzolnier@gmail.com>
>>>> Date:   Fri Feb 1 23:09:31 2008 +0100
>>>>
>>>>     ide: keep pointer to struct device instead of struct pci_dev in ide_hwif_t
>>>>
>>>>
>>>> the gdb output, also points to the changes made by the guilty patch
>>>>
>>>> (gdb) p ide_device_add_all
>>>> $1 = {int (u8 *, const struct ide_port_info *)} 0xffffffff804176ac <ide_device_add_all>
>>>> (gdb) p/x 0xffffffff804176ac+0xb60
>>>> $2 = 0xffffffff8041820c
>>>> (gdb) l *0xffffffff8041820c
>>>> 0xffffffff8041820c is in ide_device_add_all (drivers/ide/ide-probe.c:1249).
>>>> 1244                    goto out;
>>>> 1245            }
>>>> 1246
>>>> 1247            sg_init_table(hwif->sg_table, hwif->sg_max_nents);
>>>> 1248
>>>> 1249            if (init_irq(hwif) == 0)
>>>> 1250                    goto done;
>>>> 1251
>>>> 1252            old_irq = hwif->irq;
>>>> 1253            /*
>>>> (gdb) 
>>>>
>>>>
>>>> (gdb) p init_irq
>>>> $1 = {int (ide_hwif_t *)} 0xffffffff8041721f <init_irq>
>>>> (gdb) p/x 0xffffffff8041721f+0x1a4
>>>> $2 = 0xffffffff804173c3
>>>> (gdb) l *0xffffffff804173c3
>>>> 0xffffffff804173c3 is in init_irq (include/asm/pci.h:101).
>>>> 96      /* Returns the node based on pci bus */
>>>> 97      static inline int __pcibus_to_node(struct pci_bus *bus)
>>>> 98      {
>>>> 99              struct pci_sysdata *sd = bus->sysdata;
>>>> 100
>>>> 101             return sd->node;
>>>> 102     }
>>>> 103
>>>> 104     static inline cpumask_t __pcibus_to_cpumask(struct pci_bus *bus)
>>>> 105     {
>>>> (gdb) 
>>> Thanks for the detailed analysis and sorry for the bug.
>>>
>>> I think that this may has been just fixed by Andi's recent hwif_to_node()
>>> fix (patch below, it is in Linus' tree already), could please verify this?
>>>
>>> commit 1f07e988290fc45932f5028c9e2a862c37a57336
>>> Author: Andi Kleen <andi@firstfloor.org>
>>> Date:   Mon Feb 11 01:35:20 2008 +0100
>>>
>>>     Prevent IDE boot ops on NUMA system
>>>     
>>>     Without this patch a Opteron test system here oopses at boot with
>>>     current git.
>>>     
>>>     Calling to_pci_dev() on a NULL pointer gives a negative value so the
>>>     following NULL pointer check never triggers and then an illegal address
>>>     is referenced.  Check the unadjusted original device pointer for NULL
>>>     instead.
>>>     
>>>     Signed-off-by: Andi Kleen <ak@suse.de>
>>>     Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
>>>
>>> diff --git a/include/linux/ide.h b/include/linux/ide.h
>>> index 23fad89..a3b69c1 100644
>>> --- a/include/linux/ide.h
>>> +++ b/include/linux/ide.h
>>> @@ -1295,7 +1295,7 @@ static inline void ide_dump_identify(u8 *id)
>>>  static inline int hwif_to_node(ide_hwif_t *hwif)
>>>  {
>>>  	struct pci_dev *dev = to_pci_dev(hwif->dev);
>>> -	return dev ? pcibus_to_node(dev->bus) : -1;
>>> +	return hwif->dev ? pcibus_to_node(dev->bus) : -1;
>>>  }
>>>
>>>  static inline ide_drive_t *ide_get_paired_drive(ide_drive_t *drive)
>> Hi Bart,
>> Thanks !! the patch solves the kernel panic but when after applying the patch,kernel is not
>> able to mount the filesystem and panics, am i not sure what is likely causing the panic.
> 
> Is
> 
> - the commit 36501650ec45b1db308c3b51886044863be2d762 with Andi's fix applied
> 
> or
> 
> - the commit f6fb786d6dcdd7d730e4fba620b071796f487e1b
>   (the one before commit 36501650ec45b1db308c3b51886044863be2d762)
> 
> working for you?

No, the commit before the commit 36501650ec45b1db308c3b51886044863be2d762 did not either work, i
get the same kernel panic.

> 
>> Creating root device.
>> Mounting root filesystem.
>> mount: could not  find filesystem
>> Kernel panic - not syncing: Attempted to kill init!
> 
> Is IDE actually used for the boot device?
> 
> [ Please send a dmesg output from the working system. ]
> 


-- 
Thanks & Regards,
Kamalesh Babulal,
Linux Technology Center,
IBM, ISTL.

[-- Attachment #2: dmesg_feb_14 --]
[-- Type: text/plain, Size: 19297 bytes --]

Linux version 2.6.23.9-srikar (srikar@llm37.in.ibm.com) (gcc version 4.1.1 20060817 (Red Hat 4.1.1-18)) #4 SMP Fri Jan 25 12:01:10 IST 2008
Command line: ro root=LABEL=/ rhgb console=tty0 console=ttyS0,38400 iommu=calgary crashkernel=128M@16M 
BIOS-provided physical RAM map:
 BIOS-e820: 0000000000000000 - 0000000000099c00 (usable)
 BIOS-e820: 0000000000099c00 - 00000000000a0000 (reserved)
 BIOS-e820: 00000000000e0000 - 0000000000100000 (reserved)
 BIOS-e820: 0000000000100000 - 00000000cff8dc80 (usable)
 BIOS-e820: 00000000cff8dc80 - 00000000cff98880 (ACPI data)
 BIOS-e820: 00000000cff98880 - 00000000d0000000 (reserved)
 BIOS-e820: 00000000fec00000 - 0000000100000000 (reserved)
 BIOS-e820: 0000000100000000 - 0000000230000000 (usable)
Entering add_active_range(0, 0, 153) 0 entries of 3200 used
Entering add_active_range(0, 256, 851853) 1 entries of 3200 used
Entering add_active_range(0, 1048576, 2293760) 2 entries of 3200 used
end_pfn_map = 2293760
DMI 2.3 present.
ACPI: RSDP 000FDCF0, 0014 (r0 IBM   )
ACPI: RSDT CFF98800, 0034 (r1 IBM    EXA01ZEU     1000 IBM  45444F43)
ACPI: FACP CFF98780, 0074 (r1 IBM    EXA01ZEU     1000 IBM  45444F43)
ACPI: DSDT CFF8DC80, 2D9A (r1 IBM    SER01ZEU     1000 INTL 20030122)
ACPI: FACS CFF98540, 0040
ACPI: APIC CFF98680, 00D2 (r1 IBM    EXA01ZEU     1000 IBM  45444F43)
ACPI: SRAT CFF98580, 0100 (r1 IBM    EXA01ZEU     1000 IBM  45444F43)
ACPI: SSDT CFF90A40, 7A56 (r1 IBM    VIGSSDT0     1000 INTL 20030122)
SRAT: PXM 0 -> APIC 0 -> Node 0
SRAT: PXM 0 -> APIC 1 -> Node 0
SRAT: PXM 0 -> APIC 6 -> Node 0
SRAT: PXM 0 -> APIC 7 -> Node 0
SRAT: PXM 0 -> APIC 16 -> Node 0
SRAT: PXM 0 -> APIC 17 -> Node 0
SRAT: PXM 0 -> APIC 22 -> Node 0
SRAT: PXM 0 -> APIC 23 -> Node 0
SRAT: Node 0 PXM 0 0-d0000000
Entering add_active_range(0, 0, 153) 0 entries of 3200 used
Entering add_active_range(0, 256, 851853) 1 entries of 3200 used
SRAT: Node 0 PXM 0 0-230000000
Entering add_active_range(0, 0, 153) 2 entries of 3200 used
Entering add_active_range(0, 256, 851853) 2 entries of 3200 used
Entering add_active_range(0, 1048576, 2293760) 2 entries of 3200 used
NUMA: Using 63 for the hash shift.
Bootmem setup node 0 0000000000000000-0000000230000000
Zone PFN ranges:
  DMA             0 ->     4096
  DMA32        4096 ->  1048576
  Normal    1048576 ->  2293760
Movable zone start PFN for each node
early_node_map[3] active PFN ranges
    0:        0 ->      153
    0:      256 ->   851853
    0:  1048576 ->  2293760
On node 0 totalpages: 2096934
  DMA zone: 56 pages used for memmap
  DMA zone: 1544 pages reserved
  DMA zone: 2393 pages, LIFO batch:0
  DMA32 zone: 14280 pages used for memmap
  DMA32 zone: 833477 pages, LIFO batch:31
  Normal zone: 17024 pages used for memmap
  Normal zone: 1228160 pages, LIFO batch:31
  Movable zone: 0 pages used for memmap
ACPI: PM-Timer IO Port: 0x9c
ACPI: Local APIC address 0xfee00000
ACPI: LAPIC (acpi_id[0x00] lapic_id[0x00] enabled)
Processor #0 (Bootup-CPU)
ACPI: LAPIC (acpi_id[0x01] lapic_id[0x01] enabled)
Processor #1
ACPI: LAPIC (acpi_id[0x02] lapic_id[0x06] enabled)
Processor #6
ACPI: LAPIC (acpi_id[0x03] lapic_id[0x07] enabled)
Processor #7
ACPI: LAPIC (acpi_id[0x04] lapic_id[0x10] enabled)
Processor #16
ACPI: LAPIC (acpi_id[0x05] lapic_id[0x11] enabled)
Processor #17
ACPI: LAPIC (acpi_id[0x06] lapic_id[0x16] enabled)
Processor #22
ACPI: LAPIC (acpi_id[0x07] lapic_id[0x17] enabled)
Processor #23
ACPI: LAPIC_NMI (acpi_id[0x00] dfl dfl lint[0x1])
ACPI: LAPIC_NMI (acpi_id[0x01] dfl dfl lint[0x1])
ACPI: LAPIC_NMI (acpi_id[0x02] dfl dfl lint[0x1])
ACPI: LAPIC_NMI (acpi_id[0x03] dfl dfl lint[0x1])
ACPI: LAPIC_NMI (acpi_id[0x04] dfl dfl lint[0x1])
ACPI: LAPIC_NMI (acpi_id[0x05] dfl dfl lint[0x1])
ACPI: LAPIC_NMI (acpi_id[0x06] dfl dfl lint[0x1])
ACPI: LAPIC_NMI (acpi_id[0x07] dfl dfl lint[0x1])
ACPI: IOAPIC (id[0x0f] address[0xfec00000] gsi_base[0])
IOAPIC[0]: apic_id 15, address 0xfec00000, GSI 0-35
ACPI: IOAPIC (id[0x0e] address[0xfec01000] gsi_base[36])
IOAPIC[1]: apic_id 14, address 0xfec01000, GSI 36-71
ACPI: INT_SRC_OVR (bus 0 bus_irq 0 global_irq 2 dfl dfl)
ACPI: INT_SRC_OVR (bus 0 bus_irq 8 global_irq 8 low edge)
ACPI: INT_SRC_OVR (bus 0 bus_irq 14 global_irq 14 low edge)
ACPI: IRQ0 used by override.
ACPI: IRQ2 used by override.
ACPI: IRQ8 used by override.
ACPI: IRQ9 used by override.
ACPI: IRQ14 used by override.
Setting APIC routing to flat
Using ACPI (MADT) for SMP configuration information
swsusp: Registered nosave memory region: 0000000000099000 - 000000000009a000
swsusp: Registered nosave memory region: 000000000009a000 - 00000000000a0000
swsusp: Registered nosave memory region: 00000000000a0000 - 00000000000e0000
swsusp: Registered nosave memory region: 00000000000e0000 - 0000000000100000
swsusp: Registered nosave memory region: 00000000cff8d000 - 00000000cff8e000
swsusp: Registered nosave memory region: 00000000cff8e000 - 00000000cff98000
swsusp: Registered nosave memory region: 00000000cff98000 - 00000000cff99000
swsusp: Registered nosave memory region: 00000000cff99000 - 00000000d0000000
swsusp: Registered nosave memory region: 00000000d0000000 - 00000000fec00000
swsusp: Registered nosave memory region: 00000000fec00000 - 0000000100000000
Allocating PCI resources starting at d4000000 (gap: d0000000:2ec00000)
SMP: Allowing 8 CPUs, 0 hotplug CPUs
PERCPU: Allocating 34792 bytes of per cpu data
Built 1 zonelists in Zone order.  Total pages: 2064030
Policy zone: Normal
Kernel command line: ro root=LABEL=/ rhgb console=tty0 console=ttyS0,38400 iommu=calgary crashkernel=128M@16M 
Initializing CPU#0
PID hash table entries: 4096 (order: 12, 32768 bytes)
time.c: Detected 3669.795 MHz processor.
Console: colour VGA+ 80x25
console [tty0] enabled
console [ttyS0] enabled
Checking aperture...
Calgary: detecting Calgary via BIOS EBDA area
Calgary: finished detection, Calgary found
PCI-DMA: Calgary IOMMU detected.
PCI-DMA: Calgary TCE table spec is 7, CONFIG_IOMMU_DEBUG is disabled.
Memory: 8106728k/9175040k available (3016k kernel code, 281008k reserved, 1741k data, 336k init)
Calibrating delay using timer specific routine.. 7346.75 BogoMIPS (lpj=14693515)
Dentry cache hash table entries: 1048576 (order: 11, 8388608 bytes)
Inode-cache hash table entries: 524288 (order: 10, 4194304 bytes)
Mount-cache hash table entries: 256
CPU: Trace cache: 12K uops, L1 D cache: 16K
CPU: L2 cache: 1024K
CPU 0/0 -> Node 0
using mwait in idle threads.
CPU: Physical Processor ID: 0
CPU: Processor Core ID: 0
CPU0: Thermal monitoring enabled (TM1)
SMP alternatives: switching to UP code
ACPI: Core revision 20070126
..MP-BIOS bug: 8254 timer not connected to IO-APIC
Using local APIC timer interrupts.
result 10425395
Detected 10.425 MHz APIC timer.
SMP alternatives: switching to SMP code
Booting processor 1/8 APIC 0x1
Initializing CPU#1
Calibrating delay using timer specific routine.. 7339.87 BogoMIPS (lpj=14679744)
CPU: Trace cache: 12K uops, L1 D cache: 16K
CPU: L2 cache: 1024K
CPU 1/1 -> Node 0
CPU: Physical Processor ID: 0
CPU: Processor Core ID: 0
CPU1: Thermal monitoring enabled (TM1)
               Intel(R) Xeon(TM) MP CPU 3.66GHz stepping 01
checking TSC synchronization [CPU#0 -> CPU#1]: passed.
SMP alternatives: switching to SMP code
Booting processor 2/8 APIC 0x6
Initializing CPU#2
Calibrating delay using timer specific routine.. 7340.06 BogoMIPS (lpj=14680132)
CPU: Trace cache: 12K uops, L1 D cache: 16K
CPU: L2 cache: 1024K
CPU 2/6 -> Node 0
CPU: Physical Processor ID: 3
CPU: Processor Core ID: 0
CPU2: Thermal monitoring enabled (TM1)
               Intel(R) Xeon(TM) MP CPU 3.66GHz stepping 09
checking TSC synchronization [CPU#0 -> CPU#2]: passed.
SMP alternatives: switching to SMP code
Booting processor 3/8 APIC 0x7
Initializing CPU#3
Calibrating delay using timer specific routine.. 7340.12 BogoMIPS (lpj=14680247)
CPU: Trace cache: 12K uops, L1 D cache: 16K
CPU: L2 cache: 1024K
CPU 3/7 -> Node 0
CPU: Physical Processor ID: 3
CPU: Processor Core ID: 0
CPU3: Thermal monitoring enabled (TM1)
               Intel(R) Xeon(TM) MP CPU 3.66GHz stepping 09
checking TSC synchronization [CPU#0 -> CPU#3]: passed.
SMP alternatives: switching to SMP code
Booting processor 4/8 APIC 0x10
Initializing CPU#4
Calibrating delay using timer specific routine.. 7340.14 BogoMIPS (lpj=14680282)
CPU: Trace cache: 12K uops, L1 D cache: 16K
CPU: L2 cache: 1024K
CPU 4/10 -> Node 0
CPU: Physical Processor ID: 8
CPU: Processor Core ID: 0
CPU4: Thermal monitoring enabled (TM1)
               Intel(R) Xeon(TM) MP CPU 3.66GHz stepping 09
checking TSC synchronization [CPU#0 -> CPU#4]: passed.
SMP alternatives: switching to SMP code
Booting processor 5/8 APIC 0x11
Initializing CPU#5
Calibrating delay using timer specific routine.. 7340.09 BogoMIPS (lpj=14680185)
CPU: Trace cache: 12K uops, L1 D cache: 16K
CPU: L2 cache: 1024K
CPU 5/11 -> Node 0
CPU: Physical Processor ID: 8
CPU: Processor Core ID: 0
CPU5: Thermal monitoring enabled (TM1)
               Intel(R) Xeon(TM) MP CPU 3.66GHz stepping 09
checking TSC synchronization [CPU#0 -> CPU#5]: passed.
SMP alternatives: switching to SMP code
Booting processor 6/8 APIC 0x16
Initializing CPU#6
Calibrating delay using timer specific routine.. 7340.09 BogoMIPS (lpj=14680190)
CPU: Trace cache: 12K uops, L1 D cache: 16K
CPU: L2 cache: 1024K
CPU 6/16 -> Node 0
CPU: Physical Processor ID: 11
CPU: Processor Core ID: 0
CPU6: Thermal monitoring enabled (TM1)
               Intel(R) Xeon(TM) MP CPU 3.66GHz stepping 09
checking TSC synchronization [CPU#0 -> CPU#6]: passed.
SMP alternatives: switching to SMP code
Booting processor 7/8 APIC 0x17
Initializing CPU#7
Calibrating delay using timer specific routine.. 7340.06 BogoMIPS (lpj=14680129)
CPU: Trace cache: 12K uops, L1 D cache: 16K
CPU: L2 cache: 1024K
CPU 7/17 -> Node 0
CPU: Physical Processor ID: 11
CPU: Processor Core ID: 0
CPU7: Thermal monitoring enabled (TM1)
               Intel(R) Xeon(TM) MP CPU 3.66GHz stepping 09
checking TSC synchronization [CPU#0 -> CPU#7]: passed.
Brought up 8 CPUs
NET: Registered protocol family 16
ACPI: bus type pci registered
PCI: Using configuration type 1
ACPI: EC: Look up EC in DSDT
ACPI: Interpreter enabled
ACPI: (supports S0 S5)
ACPI: Using IOAPIC for interrupt routing
ACPI: PCI Root Bridge [VP00] (0000:00)
ACPI: PCI Interrupt Routing Table [\_SB_.VP00._PRT]
ACPI: PCI Root Bridge [VP01] (0000:01)
ACPI: PCI Interrupt Routing Table [\_SB_.VP01._PRT]
ACPI: PCI Root Bridge [VP02] (0000:02)
ACPI: PCI Interrupt Routing Table [\_SB_.VP02._PRT]
ACPI: PCI Root Bridge [VP03] (0000:04)
ACPI: PCI Interrupt Routing Table [\_SB_.VP03._PRT]
ACPI: PCI Root Bridge [VP04] (0000:06)
ACPI: PCI Interrupt Routing Table [\_SB_.VP04._PRT]
ACPI: PCI Root Bridge [VP05] (0000:08)
ACPI: PCI Interrupt Routing Table [\_SB_.VP05._PRT]
ACPI: PCI Root Bridge [VP06] (0000:0a)
ACPI: PCI Interrupt Routing Table [\_SB_.VP06._PRT]
ACPI: PCI Root Bridge [VP07] (0000:0c)
ACPI: PCI Interrupt Routing Table [\_SB_.VP07._PRT]
Linux Plug and Play Support v0.97 (c) Adam Belay
pnp: PnP ACPI init
ACPI: bus type pnp registered
pnp: PnP ACPI: found 20 devices
ACPI: ACPI bus type pnp unregistered
SCSI subsystem initialized
libata version 2.21 loaded.
usbcore: registered new interface driver usbfs
usbcore: registered new interface driver hub
usbcore: registered new device driver usb
PCI: Using ACPI for IRQ routing
PCI: If a device doesn't work, try "pci=routeirq".  If it helps, post a report
PCI-DMA: Using Calgary IOMMU
Calgary: enabling translation on Calgary PHB 0x0
Calgary: errant DMAs will now be prevented on this bus.
Calgary: enabling translation on Calgary PHB 0x1
Calgary: errant DMAs will now be prevented on this bus.
PCI-GART: No AMD northbridge found.
Time: tsc clocksource has been installed.
pnp: 00:0a: ioport range 0x400-0x47f has been reserved
pnp: 00:0a: ioport range 0x480-0x4ff has been reserved
pnp: 00:0b: iomem range 0x400-0x4ff could not be reserved
NET: Registered protocol family 2
IP route cache hash table entries: 262144 (order: 9, 2097152 bytes)
TCP established hash table entries: 1048576 (order: 12, 25165824 bytes)
TCP bind hash table entries: 65536 (order: 8, 1048576 bytes)
TCP: Hash tables configured (established 1048576 bind 65536)
TCP reno registered
checking if image is initramfs... it is
Freeing initrd memory: 1152k freed
Calgary: fixing up tce spaces
Total HugeTLB memory allocated, 0
io scheduler noop registered
io scheduler deadline registered
io scheduler cfq registered (default)
Boot video device is 0000:00:01.0
input: Power Button (FF) as /class/input/input0
ACPI: Power Button (FF) [PWRF]
Real Time Clock Driver v1.12ac
Linux agpgart interface v0.102
Serial: 8250/16550 driver $Revision: 1.90 $ 4 ports, IRQ sharing disabled
serial8250: ttyS0 at I/O 0x3f8 (irq = 4) is a 16550A
serial8250: ttyS1 at I/O 0x2f8 (irq = 3) is a 16550A
00:03: ttyS0 at I/O 0x3f8 (irq = 4) is a 16550A
00:04: ttyS1 at I/O 0x2f8 (irq = 3) is a 16550A
floppy0: no floppy controllers found
RAMDISK driver initialized: 16 RAM disks of 4096K size 1024 blocksize
loop: module loaded
tg3.c:v3.81.1 (October 18, 2007)
ACPI: PCI Interrupt 0000:01:01.0[A] -> GSI 24 (level, low) -> IRQ 24
eth0: Tigon3 [partno(BCM95704A6) rev 2100 PHY(5704)] (PCIX:66MHz:64-bit) 10/100/1000Base-T Ethernet 00:14:5e:1c:86:fc
eth0: RXcsums[1] LinkChgREG[0] MIirq[0] ASF[1] WireSpeed[1] TSOcap[0]
eth0: dma_rwctrl[769f0000] dma_mask[64-bit]
ACPI: PCI Interrupt 0000:01:01.1[B] -> GSI 28 (level, low) -> IRQ 28
eth1: Tigon3 [partno(BCM95704A6) rev 2100 PHY(5704)] (PCIX:66MHz:64-bit) 10/100/1000Base-T Ethernet 00:14:5e:1c:86:fd
eth1: RXcsums[1] LinkChgREG[0] MIirq[0] ASF[0] WireSpeed[1] TSOcap[1]
eth1: dma_rwctrl[769f0000] dma_mask[64-bit]
tun: Universal TUN/TAP device driver, 1.6
tun: (C) 1999-2004 Max Krasnyansky <maxk@qualcomm.com>
netconsole: not configured, aborting
Uniform Multi-Platform E-IDE driver Revision: 7.00alpha2
ide: Assuming 33MHz system bus speed for PIO modes; override with idebus=xx
Probing IDE interface ide0...
hda: HL-DT-STCD-RW/DVD DRIVE GCC-4244N, ATAPI CD/DVD-ROM drive
Probing IDE interface ide1...
ide0 at 0x1f0-0x1f7,0x3f6 on irq 14
hda: ATAPI 24X DVD-ROM CD-R/RW drive, 2048kB Cache
Uniform CD-ROM driver Revision: 3.20
Adaptec aacraid driver 1.1-5[2449]-ms
ACPI: PCI Interrupt 0000:01:02.0[A] -> GSI 25 (level, low) -> IRQ 25
AAC0: kernel 5.2-0[11835] Jan  9 2007
AAC0: monitor 5.2-0[11835]
AAC0: bios 5.2-0[11835]
AAC0: serial 1625D1
AAC0: 64bit support enabled.
AAC0: 64 Bit DAC enabled
scsi0 : ServeRAID
scsi 0:0:0:0: Direct-Access     IBM      x366             V1.0 PQ: 0 ANSI: 2
scsi 0:1:0:0: Direct-Access     IBM-ESXS ST973401SS       B519 PQ: 0 ANSI: 5
scsi 0:1:1:0: Direct-Access     IBM-ESXS ST973401SS       B519 PQ: 0 ANSI: 5
scsi 0:1:2:0: Direct-Access     IBM-ESXS ST973401SS       B519 PQ: 0 ANSI: 5
scsi 0:3:0:0: Enclosure         IBM      SAS SES-2 DEVICE 0.09 PQ: 0 ANSI: 5
sd 0:0:0:0: [sda] 429459456 512-byte hardware sectors (219883 MB)
sd 0:0:0:0: [sda] Write Protect is off
sd 0:0:0:0: [sda] Mode Sense: 06 00 10 00
sd 0:0:0:0: [sda] Write cache: enabled, read cache: enabled, supports DPO and FUA
sd 0:0:0:0: [sda] 429459456 512-byte hardware sectors (219883 MB)
sd 0:0:0:0: [sda] Write Protect is off
sd 0:0:0:0: [sda] Mode Sense: 06 00 10 00
sd 0:0:0:0: [sda] Write cache: enabled, read cache: enabled, supports DPO and FUA
 sda: sda1 sda2 sda3 sda4 < sda5 sda6 >
sd 0:0:0:0: [sda] Attached SCSI removable disk
sd 0:0:0:0: Attached scsi generic sg0 type 0
scsi 0:1:0:0: Attached scsi generic sg1 type 0
scsi 0:1:1:0: Attached scsi generic sg2 type 0
scsi 0:1:2:0: Attached scsi generic sg3 type 0
scsi 0:3:0:0: Attached scsi generic sg4 type 13
Fusion MPT base driver 3.04.05
Copyright (c) 1999-2007 LSI Logic Corporation
Fusion MPT SPI Host driver 3.04.05
ieee1394: raw1394: /dev/raw1394 device initialized
ACPI: PCI Interrupt 0000:00:03.2[C] -> GSI 20 (level, low) -> IRQ 20
ehci_hcd 0000:00:03.2: EHCI Host Controller
ehci_hcd 0000:00:03.2: new USB bus registered, assigned bus number 1
ehci_hcd 0000:00:03.2: irq 20, io mem 0xeb512000
ehci_hcd 0000:00:03.2: USB 2.0 started, EHCI 1.00, driver 10 Dec 2004
usb usb1: configuration #1 chosen from 1 choice
hub 1-0:1.0: USB hub found
hub 1-0:1.0: 4 ports detected
ohci_hcd: 2006 August 04 USB 1.1 'Open' Host Controller (OHCI) Driver
ACPI: PCI Interrupt 0000:00:03.0[A] -> GSI 20 (level, low) -> IRQ 20
ohci_hcd 0000:00:03.0: OHCI Host Controller
ohci_hcd 0000:00:03.0: new USB bus registered, assigned bus number 2
ohci_hcd 0000:00:03.0: irq 20, io mem 0xeb510000
usb usb2: configuration #1 chosen from 1 choice
hub 2-0:1.0: USB hub found
hub 2-0:1.0: 2 ports detected
usb 1-3: new high speed USB device using ehci_hcd and address 2
ACPI: PCI Interrupt 0000:00:03.1[B] -> GSI 20 (level, low) -> IRQ 20
ohci_hcd 0000:00:03.1: OHCI Host Controller
ohci_hcd 0000:00:03.1: new USB bus registered, assigned bus number 3
ohci_hcd 0000:00:03.1: irq 20, io mem 0xeb511000
usb 1-3: configuration #1 chosen from 1 choice
usb usb3: configuration #1 chosen from 1 choice
hub 3-0:1.0: USB hub found
hub 3-0:1.0: 2 ports detected
USB Universal Host Controller Interface driver v3.0
usbcore: registered new interface driver usblp
Initializing USB Mass Storage driver...
scsi1 : SCSI emulation for USB Mass Storage devices
usb-storage: device found at 2
usb-storage: waiting for device to settle before scanning
usbcore: registered new interface driver usb-storage
USB Mass Storage support registered.
PNP: PS/2 Controller [PNP0303:PS2K,PNP0f13:PS2M] at 0x60,0x64 irq 1,12
serio: i8042 KBD port at 0x60,0x64 irq 1
serio: i8042 AUX port at 0x60,0x64 irq 12
mice: PS/2 mouse device common for all mice
device-mapper: ioctl: 4.11.0-ioctl (2006-10-12) initialised: dm-devel@redhat.com
input: Avocent Virtual Media KVM Module as /class/input/input1
input: USB HID v1.10 Keyboard [Avocent Virtual Media KVM Module] on usb-0000:00:03.2-3
input: Avocent Virtual Media KVM Module as /class/input/input2
input: USB HID v1.10 Mouse [Avocent Virtual Media KVM Module] on usb-0000:00:03.2-3
usbcore: registered new interface driver usbhid
drivers/hid/usbhid/hid-core.c: v2.6:USB HID core driver
TCP cubic registered
NET: Registered protocol family 1
NET: Registered protocol family 10
IPv6 over IPv4 tunneling driver
NET: Registered protocol family 17
Freeing unused kernel memory: 336k freed
kjournald starting.  Commit interval 5 seconds
EXT3-fs: mounted filesystem with ordered data mode.
scsi 1:0:0:0: CD-ROM            KVM      vmDisk-CD        0.01 PQ: 0 ANSI: 0
sr0: scsi3-mmc drive: 0x/0x caddy
sr 1:0:0:0: Attached scsi CD-ROM sr0
sr 1:0:0:0: Attached scsi generic sg5 type 5
usb-storage: device scan complete
EXT3 FS on sda1, internal journal
kjournald starting.  Commit interval 5 seconds
EXT3 FS on sda2, internal journal
EXT3-fs: mounted filesystem with ordered data mode.
Adding 4192956k swap on /dev/sda3.  Priority:-1 extents:1 across:4192956k
kudzu[2779]: segfault at 0000000000000000 rip 0000003fc9e78c9b rsp 00007fff8d8abfb8 error 4
process `sysctl' is using deprecated sysctl (syscall) net.ipv6.neigh.default.retrans_time; Use net.ipv6.neigh.default.retrans_time_ms instead.
ADDRCONF(NETDEV_UP): eth0: link is not ready
tg3: eth0: Link is up at 100 Mbps, full duplex.
tg3: eth0: Flow control is off for TX and off for RX.
ADDRCONF(NETDEV_CHANGE): eth0: link becomes ready
eth0: no IPv6 routers present

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

* Re: 2.6.26-git0: IDE oops during boot
  2008-02-14  9:46                   ` Kamalesh Babulal
@ 2008-02-14 10:28                     ` Yinghai Lu
  2008-02-15 11:15                       ` Kamalesh Babulal
  2008-02-14 12:01                     ` "mount: could not find filesystem" - aacraid? (was: Re: 2.6.26-git0: IDE oops during boot) Bartlomiej Zolnierkiewicz
  1 sibling, 1 reply; 17+ messages in thread
From: Yinghai Lu @ 2008-02-14 10:28 UTC (permalink / raw)
  To: Kamalesh Babulal
  Cc: Bartlomiej Zolnierkiewicz, Nish Aravamudan, Pavel Machek,
	kernel list, linux-ide, ananth, Andi Kleen

On Thu, Feb 14, 2008 at 1:46 AM, Kamalesh Babulal
<kamalesh@linux.vnet.ibm.com> wrote:
>
> Bartlomiej Zolnierkiewicz wrote:
>  > Hi,
>  >
>  > On Tuesday 12 February 2008, Kamalesh Babulal wrote:
>  >> Bartlomiej Zolnierkiewicz wrote:
>  >>> Hi,
>  >>>
>  >>> On Monday 11 February 2008, Kamalesh Babulal wrote:
>  >>>> Nish Aravamudan wrote:
>  >>>>> On 2/7/08, Bartlomiej Zolnierkiewicz <bzolnier@gmail.com> wrote:
>  >>>>>> On Thursday 07 February 2008, Kamalesh Babulal wrote:
>  >>>>>>> Bartlomiej Zolnierkiewicz wrote:
>  >>>>>>>> Hi,
>  >>>>>>>>
>  >>>>>>>> On Wednesday 06 February 2008, Pavel Machek wrote:
>  >>>>>>>>> On Wed 2008-02-06 11:53:34, Pavel Machek wrote:
>  >>>>>>>>>> Hi!
>  >>>>>>>>>>
>  >>>>>>>>>> Trying to boot 2.6.25-git0 (few days old), I get
>  >>>>>>>>>>
>  >>>>>>>>>> BUG: unable to handle kernel paging request at ffff..ffb0
>  >>>>>>>>>> IP at init_irq+0x42e
>  >>>>>>>> init_irq? hmm...
>  >>>>>>>>
>  >>>>>>>>>> Call trace:
>  >>>>>>>>>> ide_device_add_all
>  >>>>>>>> this comes from ide-generic
>  >>>>>>>> (Generic IDE host driver)
>  >>>>>>>>
>  >>>>>>>>>> ide_generic_init
>  >>>>>>>>>> kernel_init
>  >>>>>>>>>> child_rip
>  >>>>>>>>>> vgacon_cursor
>  >>>>>>>>>> kernel_init
>  >>>>>>>>>> child_rip
>  >>>>>>>>>>
>  >>>>>>>>>> Excerpt from config:
>  >>>>>>>>>>
>  >>>>>>>>>> CONFIG_IDE=y
>  >>>>>>>>>> CONFIG_BLK_DEV_IDE=y
>  >>>>>>>>> Disabling CONFIG_IDE made my machine boot, as it was using libata
>  >>>>>>>>> anyway.
>  >>>>>>>> Kamalesh/Pavel:
>  >>>>>>>>
>  >>>>>>>> Could you try latest git and see if the OOPS is still there?
>  >>>>>>>>
>  >>>>>>>> [ Yeah, I'm unable to reproduce it. :( ]
>  >>>>>>>>
>  >>>>>>>> Thanks,
>  >>>>>>>> Bart
>  >>>>>>> Hi Bart,
>  >>>>>>>
>  >>>>>>> The panic is reproducible with the 2.6.24-git16 kernel, the call trace is
>  >>>>>>> similar to the previous one
>  >>>>>> Thanks, I again reviewed ide-probe.c changes but nothing seems wrong...
>  >>>>>>
>  >>>>>> Could you please bisect it down to the guilty commit?
>  >>>>> Kamalesh, were you able to bisect this down? I just got hit by the
>  >>>>> same panic on a 4-way x86_64, with 2.6.24-git22.
>  >>>>>
>  >>>>> Thanks,
>  >>>>> Nish
>  >>>> Hi Nish,
>  >>>>
>  >>>> I tried bisecting and the guilty patch seems to be
>  >>>>
>  >>>> 36501650ec45b1db308c3b51886044863be2d762 is first bad commit
>  >>>> commit 36501650ec45b1db308c3b51886044863be2d762
>  >>>> Author: Bartlomiej Zolnierkiewicz <bzolnier@gmail.com>
>  >>>> Date:   Fri Feb 1 23:09:31 2008 +0100
>  >>>>
>  >>>>     ide: keep pointer to struct device instead of struct pci_dev in ide_hwif_t
>  >>>>
>  >>>>
>  >>>> the gdb output, also points to the changes made by the guilty patch
>  >>>>
>  >>>> (gdb) p ide_device_add_all
>  >>>> $1 = {int (u8 *, const struct ide_port_info *)} 0xffffffff804176ac <ide_device_add_all>
>  >>>> (gdb) p/x 0xffffffff804176ac+0xb60
>  >>>> $2 = 0xffffffff8041820c
>  >>>> (gdb) l *0xffffffff8041820c
>  >>>> 0xffffffff8041820c is in ide_device_add_all (drivers/ide/ide-probe.c:1249).
>  >>>> 1244                    goto out;
>  >>>> 1245            }
>  >>>> 1246
>  >>>> 1247            sg_init_table(hwif->sg_table, hwif->sg_max_nents);
>  >>>> 1248
>  >>>> 1249            if (init_irq(hwif) == 0)
>  >>>> 1250                    goto done;
>  >>>> 1251
>  >>>> 1252            old_irq = hwif->irq;
>  >>>> 1253            /*
>  >>>> (gdb)
>  >>>>
>  >>>>
>  >>>> (gdb) p init_irq
>  >>>> $1 = {int (ide_hwif_t *)} 0xffffffff8041721f <init_irq>
>  >>>> (gdb) p/x 0xffffffff8041721f+0x1a4
>  >>>> $2 = 0xffffffff804173c3
>  >>>> (gdb) l *0xffffffff804173c3
>  >>>> 0xffffffff804173c3 is in init_irq (include/asm/pci.h:101).
>  >>>> 96      /* Returns the node based on pci bus */
>  >>>> 97      static inline int __pcibus_to_node(struct pci_bus *bus)
>  >>>> 98      {
>  >>>> 99              struct pci_sysdata *sd = bus->sysdata;
>  >>>> 100
>  >>>> 101             return sd->node;
>  >>>> 102     }
>  >>>> 103
>  >>>> 104     static inline cpumask_t __pcibus_to_cpumask(struct pci_bus *bus)
>  >>>> 105     {
>  >>>> (gdb)
>  >>> Thanks for the detailed analysis and sorry for the bug.
>  >>>
>  >>> I think that this may has been just fixed by Andi's recent hwif_to_node()
>  >>> fix (patch below, it is in Linus' tree already), could please verify this?
>  >>>
>  >>> commit 1f07e988290fc45932f5028c9e2a862c37a57336
>  >>> Author: Andi Kleen <andi@firstfloor.org>
>  >>> Date:   Mon Feb 11 01:35:20 2008 +0100
>  >>>
>  >>>     Prevent IDE boot ops on NUMA system
>  >>>
>  >>>     Without this patch a Opteron test system here oopses at boot with
>  >>>     current git.
>  >>>
>  >>>     Calling to_pci_dev() on a NULL pointer gives a negative value so the
>  >>>     following NULL pointer check never triggers and then an illegal address
>  >>>     is referenced.  Check the unadjusted original device pointer for NULL
>  >>>     instead.
>  >>>
>  >>>     Signed-off-by: Andi Kleen <ak@suse.de>
>  >>>     Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
>  >>>
>  >>> diff --git a/include/linux/ide.h b/include/linux/ide.h
>  >>> index 23fad89..a3b69c1 100644
>  >>> --- a/include/linux/ide.h
>  >>> +++ b/include/linux/ide.h
>  >>> @@ -1295,7 +1295,7 @@ static inline void ide_dump_identify(u8 *id)
>  >>>  static inline int hwif_to_node(ide_hwif_t *hwif)
>  >>>  {
>  >>>     struct pci_dev *dev = to_pci_dev(hwif->dev);
>  >>> -   return dev ? pcibus_to_node(dev->bus) : -1;
>  >>> +   return hwif->dev ? pcibus_to_node(dev->bus) : -1;
>  >>>  }
>  >>>
>  >>>  static inline ide_drive_t *ide_get_paired_drive(ide_drive_t *drive)
>  >> Hi Bart,
>  >> Thanks !! the patch solves the kernel panic but when after applying the patch,kernel is not
>  >> able to mount the filesystem and panics, am i not sure what is likely causing the panic.
>  >
>  > Is
>  >
>  > - the commit 36501650ec45b1db308c3b51886044863be2d762 with Andi's fix applied
>  >
>  > or
>  >
>  > - the commit f6fb786d6dcdd7d730e4fba620b071796f487e1b
>  >   (the one before commit 36501650ec45b1db308c3b51886044863be2d762)
>  >
>  > working for you?
>
>  No, the commit before the commit 36501650ec45b1db308c3b51886044863be2d762 did not either work, i
>  get the same kernel panic.
>
>
>  >
>  >> Creating root device.
>  >> Mounting root filesystem.
>  >> mount: could not  find filesystem
>  >> Kernel panic - not syncing: Attempted to kill init!
>  >
>  > Is IDE actually used for the boot device?
>  >
>  > [ Please send a dmesg output from the working system. ]

it seems you have enclosure connected.

please check if you enable the SES in .config.

if so, please try

http://lkml.org/lkml/2008/2/13/673

YH

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

* "mount: could not find filesystem" - aacraid? (was: Re: 2.6.26-git0: IDE oops during boot)
  2008-02-14  9:46                   ` Kamalesh Babulal
  2008-02-14 10:28                     ` Yinghai Lu
@ 2008-02-14 12:01                     ` Bartlomiej Zolnierkiewicz
  2008-02-14 12:07                       ` Bartlomiej Zolnierkiewicz
  1 sibling, 1 reply; 17+ messages in thread
From: Bartlomiej Zolnierkiewicz @ 2008-02-14 12:01 UTC (permalink / raw)
  To: Kamalesh Babulal
  Cc: Nish Aravamudan, Pavel Machek, kernel list, linux-ide, ananth,
	Andi Kleen, linux-scsi, aacraid


Hi,

On Thursday 14 February 2008, Kamalesh Babulal wrote:
> Bartlomiej Zolnierkiewicz wrote:
> > Hi,
> > 
> > On Tuesday 12 February 2008, Kamalesh Babulal wrote:
> >> Bartlomiej Zolnierkiewicz wrote:
> >>> Hi,
> >>>
> >>> On Monday 11 February 2008, Kamalesh Babulal wrote:
> >>>> Nish Aravamudan wrote:
> >>>>> On 2/7/08, Bartlomiej Zolnierkiewicz <bzolnier@gmail.com> wrote:
> >>>>>> On Thursday 07 February 2008, Kamalesh Babulal wrote:
> >>>>>>> Bartlomiej Zolnierkiewicz wrote:
> >>>>>>>> Hi,
> >>>>>>>>
> >>>>>>>> On Wednesday 06 February 2008, Pavel Machek wrote:
> >>>>>>>>> On Wed 2008-02-06 11:53:34, Pavel Machek wrote:
> >>>>>>>>>> Hi!
> >>>>>>>>>>
> >>>>>>>>>> Trying to boot 2.6.25-git0 (few days old), I get
> >>>>>>>>>>
> >>>>>>>>>> BUG: unable to handle kernel paging request at ffff..ffb0
> >>>>>>>>>> IP at init_irq+0x42e
> >>>>>>>> init_irq? hmm...
> >>>>>>>>
> >>>>>>>>>> Call trace:
> >>>>>>>>>> ide_device_add_all
> >>>>>>>> this comes from ide-generic
> >>>>>>>> (Generic IDE host driver)
> >>>>>>>>
> >>>>>>>>>> ide_generic_init
> >>>>>>>>>> kernel_init
> >>>>>>>>>> child_rip
> >>>>>>>>>> vgacon_cursor
> >>>>>>>>>> kernel_init
> >>>>>>>>>> child_rip
> >>>>>>>>>>
> >>>>>>>>>> Excerpt from config:
> >>>>>>>>>>
> >>>>>>>>>> CONFIG_IDE=y
> >>>>>>>>>> CONFIG_BLK_DEV_IDE=y
> >>>>>>>>> Disabling CONFIG_IDE made my machine boot, as it was using libata
> >>>>>>>>> anyway.
> >>>>>>>> Kamalesh/Pavel:
> >>>>>>>>
> >>>>>>>> Could you try latest git and see if the OOPS is still there?
> >>>>>>>>
> >>>>>>>> [ Yeah, I'm unable to reproduce it. :( ]
> >>>>>>>>
> >>>>>>>> Thanks,
> >>>>>>>> Bart
> >>>>>>> Hi Bart,
> >>>>>>>
> >>>>>>> The panic is reproducible with the 2.6.24-git16 kernel, the call trace is
> >>>>>>> similar to the previous one
> >>>>>> Thanks, I again reviewed ide-probe.c changes but nothing seems wrong...
> >>>>>>
> >>>>>> Could you please bisect it down to the guilty commit?
> >>>>> Kamalesh, were you able to bisect this down? I just got hit by the
> >>>>> same panic on a 4-way x86_64, with 2.6.24-git22.
> >>>>>
> >>>>> Thanks,
> >>>>> Nish
> >>>> Hi Nish,
> >>>>
> >>>> I tried bisecting and the guilty patch seems to be 
> >>>>
> >>>> 36501650ec45b1db308c3b51886044863be2d762 is first bad commit
> >>>> commit 36501650ec45b1db308c3b51886044863be2d762
> >>>> Author: Bartlomiej Zolnierkiewicz <bzolnier@gmail.com>
> >>>> Date:   Fri Feb 1 23:09:31 2008 +0100
> >>>>
> >>>>     ide: keep pointer to struct device instead of struct pci_dev in ide_hwif_t
> >>>>
> >>>>
> >>>> the gdb output, also points to the changes made by the guilty patch
> >>>>
> >>>> (gdb) p ide_device_add_all
> >>>> $1 = {int (u8 *, const struct ide_port_info *)} 0xffffffff804176ac <ide_device_add_all>
> >>>> (gdb) p/x 0xffffffff804176ac+0xb60
> >>>> $2 = 0xffffffff8041820c
> >>>> (gdb) l *0xffffffff8041820c
> >>>> 0xffffffff8041820c is in ide_device_add_all (drivers/ide/ide-probe.c:1249).
> >>>> 1244                    goto out;
> >>>> 1245            }
> >>>> 1246
> >>>> 1247            sg_init_table(hwif->sg_table, hwif->sg_max_nents);
> >>>> 1248
> >>>> 1249            if (init_irq(hwif) == 0)
> >>>> 1250                    goto done;
> >>>> 1251
> >>>> 1252            old_irq = hwif->irq;
> >>>> 1253            /*
> >>>> (gdb) 
> >>>>
> >>>>
> >>>> (gdb) p init_irq
> >>>> $1 = {int (ide_hwif_t *)} 0xffffffff8041721f <init_irq>
> >>>> (gdb) p/x 0xffffffff8041721f+0x1a4
> >>>> $2 = 0xffffffff804173c3
> >>>> (gdb) l *0xffffffff804173c3
> >>>> 0xffffffff804173c3 is in init_irq (include/asm/pci.h:101).
> >>>> 96      /* Returns the node based on pci bus */
> >>>> 97      static inline int __pcibus_to_node(struct pci_bus *bus)
> >>>> 98      {
> >>>> 99              struct pci_sysdata *sd = bus->sysdata;
> >>>> 100
> >>>> 101             return sd->node;
> >>>> 102     }
> >>>> 103
> >>>> 104     static inline cpumask_t __pcibus_to_cpumask(struct pci_bus *bus)
> >>>> 105     {
> >>>> (gdb) 
> >>> Thanks for the detailed analysis and sorry for the bug.
> >>>
> >>> I think that this may has been just fixed by Andi's recent hwif_to_node()
> >>> fix (patch below, it is in Linus' tree already), could please verify this?
> >>>
> >>> commit 1f07e988290fc45932f5028c9e2a862c37a57336
> >>> Author: Andi Kleen <andi@firstfloor.org>
> >>> Date:   Mon Feb 11 01:35:20 2008 +0100
> >>>
> >>>     Prevent IDE boot ops on NUMA system
> >>>     
> >>>     Without this patch a Opteron test system here oopses at boot with
> >>>     current git.
> >>>     
> >>>     Calling to_pci_dev() on a NULL pointer gives a negative value so the
> >>>     following NULL pointer check never triggers and then an illegal address
> >>>     is referenced.  Check the unadjusted original device pointer for NULL
> >>>     instead.
> >>>     
> >>>     Signed-off-by: Andi Kleen <ak@suse.de>
> >>>     Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
> >>>
> >>> diff --git a/include/linux/ide.h b/include/linux/ide.h
> >>> index 23fad89..a3b69c1 100644
> >>> --- a/include/linux/ide.h
> >>> +++ b/include/linux/ide.h
> >>> @@ -1295,7 +1295,7 @@ static inline void ide_dump_identify(u8 *id)
> >>>  static inline int hwif_to_node(ide_hwif_t *hwif)
> >>>  {
> >>>  	struct pci_dev *dev = to_pci_dev(hwif->dev);
> >>> -	return dev ? pcibus_to_node(dev->bus) : -1;
> >>> +	return hwif->dev ? pcibus_to_node(dev->bus) : -1;
> >>>  }
> >>>
> >>>  static inline ide_drive_t *ide_get_paired_drive(ide_drive_t *drive)
> >> Hi Bart,
> >> Thanks !! the patch solves the kernel panic but when after applying the patch,kernel is not
> >> able to mount the filesystem and panics, am i not sure what is likely causing the panic.
> > 
> > Is
> > 
> > - the commit 36501650ec45b1db308c3b51886044863be2d762 with Andi's fix applied
> > 
> > or
> > 
> > - the commit f6fb786d6dcdd7d730e4fba620b071796f487e1b
> >   (the one before commit 36501650ec45b1db308c3b51886044863be2d762)
> > 
> > working for you?
> 
> No, the commit before the commit 36501650ec45b1db308c3b51886044863be2d762 did not either work, i
> get the same kernel panic.
> 
> > 
> >> Creating root device.
> >> Mounting root filesystem.
> >> mount: could not  find filesystem
> >> Kernel panic - not syncing: Attempted to kill init!
> > 
> > Is IDE actually used for the boot device?
> > 
> > [ Please send a dmesg output from the working system. ]

Hmm, it is not (from dmesg):

Uniform Multi-Platform E-IDE driver Revision: 7.00alpha2
ide: Assuming 33MHz system bus speed for PIO modes; override with idebus=xx
Probing IDE interface ide0...
hda: HL-DT-STCD-RW/DVD DRIVE GCC-4244N, ATAPI CD/DVD-ROM drive
Probing IDE interface ide1...
ide0 at 0x1f0-0x1f7,0x3f6 on irq 14
hda: ATAPI 24X DVD-ROM CD-R/RW drive, 2048kB Cache
Uniform CD-ROM driver Revision: 3.20

[...]

Adaptec aacraid driver 1.1-5[2449]-ms
ACPI: PCI Interrupt 0000:01:02.0[A] -> GSI 25 (level, low) -> IRQ 25
AAC0: kernel 5.2-0[11835] Jan  9 2007
AAC0: monitor 5.2-0[11835]
AAC0: bios 5.2-0[11835]
AAC0: serial 1625D1
AAC0: 64bit support enabled.
AAC0: 64 Bit DAC enabled
scsi0 : ServeRAID
scsi 0:0:0:0: Direct-Access     IBM      x366             V1.0 PQ: 0 ANSI: 2
scsi 0:1:0:0: Direct-Access     IBM-ESXS ST973401SS       B519 PQ: 0 ANSI: 5
scsi 0:1:1:0: Direct-Access     IBM-ESXS ST973401SS       B519 PQ: 0 ANSI: 5
scsi 0:1:2:0: Direct-Access     IBM-ESXS ST973401SS       B519 PQ: 0 ANSI: 5
scsi 0:3:0:0: Enclosure         IBM      SAS SES-2 DEVICE 0.09 PQ: 0 ANSI: 5
sd 0:0:0:0: [sda] 429459456 512-byte hardware sectors (219883 MB)
sd 0:0:0:0: [sda] Write Protect is off
sd 0:0:0:0: [sda] Mode Sense: 06 00 10 00
sd 0:0:0:0: [sda] Write cache: enabled, read cache: enabled, supports DPO and FUA
sd 0:0:0:0: [sda] 429459456 512-byte hardware sectors (219883 MB)
sd 0:0:0:0: [sda] Write Protect is off
sd 0:0:0:0: [sda] Mode Sense: 06 00 10 00
sd 0:0:0:0: [sda] Write cache: enabled, read cache: enabled, supports DPO and FUA
 sda: sda1 sda2 sda3 sda4 < sda5 sda6 >
sd 0:0:0:0: [sda] Attached SCSI removable disk
sd 0:0:0:0: Attached scsi generic sg0 type 0
scsi 0:1:0:0: Attached scsi generic sg1 type 0
scsi 0:1:1:0: Attached scsi generic sg2 type 0
scsi 0:1:2:0: Attached scsi generic sg3 type 0
scsi 0:3:0:0: Attached scsi generic sg4 type 13

[...]

kjournald starting.  Commit interval 5 seconds
EXT3-fs: mounted filesystem with ordered data mode.

[...]

EXT3 FS on sda1, internal journal
kjournald starting.  Commit interval 5 seconds
EXT3 FS on sda2, internal journal
EXT3-fs: mounted filesystem with ordered data mode.

I worry that another git-bisect session will be needed unless SCSI
developers are already aware of the problem source.

Thanks,
Bart

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

* Re: "mount: could not find filesystem" - aacraid? (was: Re: 2.6.26-git0: IDE oops during boot)
  2008-02-14 12:01                     ` "mount: could not find filesystem" - aacraid? (was: Re: 2.6.26-git0: IDE oops during boot) Bartlomiej Zolnierkiewicz
@ 2008-02-14 12:07                       ` Bartlomiej Zolnierkiewicz
  2008-02-14 15:47                         ` James Bottomley
  0 siblings, 1 reply; 17+ messages in thread
From: Bartlomiej Zolnierkiewicz @ 2008-02-14 12:07 UTC (permalink / raw)
  To: Kamalesh Babulal
  Cc: Nish Aravamudan, Pavel Machek, kernel list, linux-ide, ananth,
	Andi Kleen, linux-scsi, aacraid

On Thursday 14 February 2008, Bartlomiej Zolnierkiewicz wrote:
> 
> Hi,
> 
> On Thursday 14 February 2008, Kamalesh Babulal wrote:
> > Bartlomiej Zolnierkiewicz wrote:
> > > Hi,
> > > 
> > > On Tuesday 12 February 2008, Kamalesh Babulal wrote:
> > >> Bartlomiej Zolnierkiewicz wrote:
> > >>> Hi,
> > >>>
> > >>> On Monday 11 February 2008, Kamalesh Babulal wrote:
> > >>>> Nish Aravamudan wrote:
> > >>>>> On 2/7/08, Bartlomiej Zolnierkiewicz <bzolnier@gmail.com> wrote:
> > >>>>>> On Thursday 07 February 2008, Kamalesh Babulal wrote:
> > >>>>>>> Bartlomiej Zolnierkiewicz wrote:
> > >>>>>>>> Hi,
> > >>>>>>>>
> > >>>>>>>> On Wednesday 06 February 2008, Pavel Machek wrote:
> > >>>>>>>>> On Wed 2008-02-06 11:53:34, Pavel Machek wrote:
> > >>>>>>>>>> Hi!
> > >>>>>>>>>>
> > >>>>>>>>>> Trying to boot 2.6.25-git0 (few days old), I get
> > >>>>>>>>>>
> > >>>>>>>>>> BUG: unable to handle kernel paging request at ffff..ffb0
> > >>>>>>>>>> IP at init_irq+0x42e
> > >>>>>>>> init_irq? hmm...
> > >>>>>>>>
> > >>>>>>>>>> Call trace:
> > >>>>>>>>>> ide_device_add_all
> > >>>>>>>> this comes from ide-generic
> > >>>>>>>> (Generic IDE host driver)
> > >>>>>>>>
> > >>>>>>>>>> ide_generic_init
> > >>>>>>>>>> kernel_init
> > >>>>>>>>>> child_rip
> > >>>>>>>>>> vgacon_cursor
> > >>>>>>>>>> kernel_init
> > >>>>>>>>>> child_rip
> > >>>>>>>>>>
> > >>>>>>>>>> Excerpt from config:
> > >>>>>>>>>>
> > >>>>>>>>>> CONFIG_IDE=y
> > >>>>>>>>>> CONFIG_BLK_DEV_IDE=y
> > >>>>>>>>> Disabling CONFIG_IDE made my machine boot, as it was using libata
> > >>>>>>>>> anyway.
> > >>>>>>>> Kamalesh/Pavel:
> > >>>>>>>>
> > >>>>>>>> Could you try latest git and see if the OOPS is still there?
> > >>>>>>>>
> > >>>>>>>> [ Yeah, I'm unable to reproduce it. :( ]
> > >>>>>>>>
> > >>>>>>>> Thanks,
> > >>>>>>>> Bart
> > >>>>>>> Hi Bart,
> > >>>>>>>
> > >>>>>>> The panic is reproducible with the 2.6.24-git16 kernel, the call trace is
> > >>>>>>> similar to the previous one
> > >>>>>> Thanks, I again reviewed ide-probe.c changes but nothing seems wrong...
> > >>>>>>
> > >>>>>> Could you please bisect it down to the guilty commit?
> > >>>>> Kamalesh, were you able to bisect this down? I just got hit by the
> > >>>>> same panic on a 4-way x86_64, with 2.6.24-git22.
> > >>>>>
> > >>>>> Thanks,
> > >>>>> Nish
> > >>>> Hi Nish,
> > >>>>
> > >>>> I tried bisecting and the guilty patch seems to be 
> > >>>>
> > >>>> 36501650ec45b1db308c3b51886044863be2d762 is first bad commit
> > >>>> commit 36501650ec45b1db308c3b51886044863be2d762
> > >>>> Author: Bartlomiej Zolnierkiewicz <bzolnier@gmail.com>
> > >>>> Date:   Fri Feb 1 23:09:31 2008 +0100
> > >>>>
> > >>>>     ide: keep pointer to struct device instead of struct pci_dev in ide_hwif_t
> > >>>>
> > >>>>
> > >>>> the gdb output, also points to the changes made by the guilty patch
> > >>>>
> > >>>> (gdb) p ide_device_add_all
> > >>>> $1 = {int (u8 *, const struct ide_port_info *)} 0xffffffff804176ac <ide_device_add_all>
> > >>>> (gdb) p/x 0xffffffff804176ac+0xb60
> > >>>> $2 = 0xffffffff8041820c
> > >>>> (gdb) l *0xffffffff8041820c
> > >>>> 0xffffffff8041820c is in ide_device_add_all (drivers/ide/ide-probe.c:1249).
> > >>>> 1244                    goto out;
> > >>>> 1245            }
> > >>>> 1246
> > >>>> 1247            sg_init_table(hwif->sg_table, hwif->sg_max_nents);
> > >>>> 1248
> > >>>> 1249            if (init_irq(hwif) == 0)
> > >>>> 1250                    goto done;
> > >>>> 1251
> > >>>> 1252            old_irq = hwif->irq;
> > >>>> 1253            /*
> > >>>> (gdb) 
> > >>>>
> > >>>>
> > >>>> (gdb) p init_irq
> > >>>> $1 = {int (ide_hwif_t *)} 0xffffffff8041721f <init_irq>
> > >>>> (gdb) p/x 0xffffffff8041721f+0x1a4
> > >>>> $2 = 0xffffffff804173c3
> > >>>> (gdb) l *0xffffffff804173c3
> > >>>> 0xffffffff804173c3 is in init_irq (include/asm/pci.h:101).
> > >>>> 96      /* Returns the node based on pci bus */
> > >>>> 97      static inline int __pcibus_to_node(struct pci_bus *bus)
> > >>>> 98      {
> > >>>> 99              struct pci_sysdata *sd = bus->sysdata;
> > >>>> 100
> > >>>> 101             return sd->node;
> > >>>> 102     }
> > >>>> 103
> > >>>> 104     static inline cpumask_t __pcibus_to_cpumask(struct pci_bus *bus)
> > >>>> 105     {
> > >>>> (gdb) 
> > >>> Thanks for the detailed analysis and sorry for the bug.
> > >>>
> > >>> I think that this may has been just fixed by Andi's recent hwif_to_node()
> > >>> fix (patch below, it is in Linus' tree already), could please verify this?
> > >>>
> > >>> commit 1f07e988290fc45932f5028c9e2a862c37a57336
> > >>> Author: Andi Kleen <andi@firstfloor.org>
> > >>> Date:   Mon Feb 11 01:35:20 2008 +0100
> > >>>
> > >>>     Prevent IDE boot ops on NUMA system
> > >>>     
> > >>>     Without this patch a Opteron test system here oopses at boot with
> > >>>     current git.
> > >>>     
> > >>>     Calling to_pci_dev() on a NULL pointer gives a negative value so the
> > >>>     following NULL pointer check never triggers and then an illegal address
> > >>>     is referenced.  Check the unadjusted original device pointer for NULL
> > >>>     instead.
> > >>>     
> > >>>     Signed-off-by: Andi Kleen <ak@suse.de>
> > >>>     Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
> > >>>
> > >>> diff --git a/include/linux/ide.h b/include/linux/ide.h
> > >>> index 23fad89..a3b69c1 100644
> > >>> --- a/include/linux/ide.h
> > >>> +++ b/include/linux/ide.h
> > >>> @@ -1295,7 +1295,7 @@ static inline void ide_dump_identify(u8 *id)
> > >>>  static inline int hwif_to_node(ide_hwif_t *hwif)
> > >>>  {
> > >>>  	struct pci_dev *dev = to_pci_dev(hwif->dev);
> > >>> -	return dev ? pcibus_to_node(dev->bus) : -1;
> > >>> +	return hwif->dev ? pcibus_to_node(dev->bus) : -1;
> > >>>  }
> > >>>
> > >>>  static inline ide_drive_t *ide_get_paired_drive(ide_drive_t *drive)
> > >> Hi Bart,
> > >> Thanks !! the patch solves the kernel panic but when after applying the patch,kernel is not
> > >> able to mount the filesystem and panics, am i not sure what is likely causing the panic.
> > > 
> > > Is
> > > 
> > > - the commit 36501650ec45b1db308c3b51886044863be2d762 with Andi's fix applied
> > > 
> > > or
> > > 
> > > - the commit f6fb786d6dcdd7d730e4fba620b071796f487e1b
> > >   (the one before commit 36501650ec45b1db308c3b51886044863be2d762)
> > > 
> > > working for you?
> > 
> > No, the commit before the commit 36501650ec45b1db308c3b51886044863be2d762 did not either work, i
> > get the same kernel panic.
> > 
> > > 
> > >> Creating root device.
> > >> Mounting root filesystem.
> > >> mount: could not  find filesystem
> > >> Kernel panic - not syncing: Attempted to kill init!
> > > 
> > > Is IDE actually used for the boot device?
> > > 
> > > [ Please send a dmesg output from the working system. ]
> 
> Hmm, it is not (from dmesg):
> 
> Uniform Multi-Platform E-IDE driver Revision: 7.00alpha2
> ide: Assuming 33MHz system bus speed for PIO modes; override with idebus=xx
> Probing IDE interface ide0...
> hda: HL-DT-STCD-RW/DVD DRIVE GCC-4244N, ATAPI CD/DVD-ROM drive
> Probing IDE interface ide1...
> ide0 at 0x1f0-0x1f7,0x3f6 on irq 14
> hda: ATAPI 24X DVD-ROM CD-R/RW drive, 2048kB Cache
> Uniform CD-ROM driver Revision: 3.20
> 
> [...]
> 
> Adaptec aacraid driver 1.1-5[2449]-ms
> ACPI: PCI Interrupt 0000:01:02.0[A] -> GSI 25 (level, low) -> IRQ 25
> AAC0: kernel 5.2-0[11835] Jan  9 2007
> AAC0: monitor 5.2-0[11835]
> AAC0: bios 5.2-0[11835]
> AAC0: serial 1625D1
> AAC0: 64bit support enabled.
> AAC0: 64 Bit DAC enabled
> scsi0 : ServeRAID
> scsi 0:0:0:0: Direct-Access     IBM      x366             V1.0 PQ: 0 ANSI: 2
> scsi 0:1:0:0: Direct-Access     IBM-ESXS ST973401SS       B519 PQ: 0 ANSI: 5
> scsi 0:1:1:0: Direct-Access     IBM-ESXS ST973401SS       B519 PQ: 0 ANSI: 5
> scsi 0:1:2:0: Direct-Access     IBM-ESXS ST973401SS       B519 PQ: 0 ANSI: 5
> scsi 0:3:0:0: Enclosure         IBM      SAS SES-2 DEVICE 0.09 PQ: 0 ANSI: 5
> sd 0:0:0:0: [sda] 429459456 512-byte hardware sectors (219883 MB)
> sd 0:0:0:0: [sda] Write Protect is off
> sd 0:0:0:0: [sda] Mode Sense: 06 00 10 00
> sd 0:0:0:0: [sda] Write cache: enabled, read cache: enabled, supports DPO and FUA
> sd 0:0:0:0: [sda] 429459456 512-byte hardware sectors (219883 MB)
> sd 0:0:0:0: [sda] Write Protect is off
> sd 0:0:0:0: [sda] Mode Sense: 06 00 10 00
> sd 0:0:0:0: [sda] Write cache: enabled, read cache: enabled, supports DPO and FUA
>  sda: sda1 sda2 sda3 sda4 < sda5 sda6 >
> sd 0:0:0:0: [sda] Attached SCSI removable disk
> sd 0:0:0:0: Attached scsi generic sg0 type 0
> scsi 0:1:0:0: Attached scsi generic sg1 type 0
> scsi 0:1:1:0: Attached scsi generic sg2 type 0
> scsi 0:1:2:0: Attached scsi generic sg3 type 0
> scsi 0:3:0:0: Attached scsi generic sg4 type 13
> 
> [...]
> 
> kjournald starting.  Commit interval 5 seconds
> EXT3-fs: mounted filesystem with ordered data mode.
> 
> [...]
> 
> EXT3 FS on sda1, internal journal
> kjournald starting.  Commit interval 5 seconds
> EXT3 FS on sda2, internal journal
> EXT3-fs: mounted filesystem with ordered data mode.
> 
> I worry that another git-bisect session will be needed unless SCSI
> developers are already aware of the problem source.

Yinghai Lu noticed that it may be actually a SES problem:

http://lkml.org/lkml/2008/2/14/88

[ I overlooked the above mail, sorry ]

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

* Re: "mount: could not find filesystem" - aacraid? (was: Re: 2.6.26-git0: IDE oops during boot)
  2008-02-14 12:07                       ` Bartlomiej Zolnierkiewicz
@ 2008-02-14 15:47                         ` James Bottomley
  0 siblings, 0 replies; 17+ messages in thread
From: James Bottomley @ 2008-02-14 15:47 UTC (permalink / raw)
  To: Bartlomiej Zolnierkiewicz
  Cc: Kamalesh Babulal, Nish Aravamudan, Pavel Machek, kernel list,
	linux-ide, ananth, Andi Kleen, linux-scsi, aacraid

On Thu, 2008-02-14 at 13:07 +0100, Bartlomiej Zolnierkiewicz wrote:
> > I worry that another git-bisect session will be needed unless SCSI
> > developers are already aware of the problem source.
> 
> Yinghai Lu noticed that it may be actually a SES problem:
> 
> http://lkml.org/lkml/2008/2/14/88
> 
> [ I overlooked the above mail, sorry ]

Only if SES is enabled, is it (CONFIG_SCSI_ENCLOSURE)? ... is there
actually a dmesg of the failing system somewhere, I couldn't find it in
the (somewhat long) thread?

James





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

* Re: 2.6.26-git0: IDE oops during boot
  2008-02-14 10:28                     ` Yinghai Lu
@ 2008-02-15 11:15                       ` Kamalesh Babulal
  2008-02-25  7:05                         ` Yinghai Lu
  0 siblings, 1 reply; 17+ messages in thread
From: Kamalesh Babulal @ 2008-02-15 11:15 UTC (permalink / raw)
  To: Yinghai Lu
  Cc: Bartlomiej Zolnierkiewicz, Nish Aravamudan, Pavel Machek,
	kernel list, linux-ide, ananth, Andi Kleen

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

Yinghai Lu wrote:
> On Thu, Feb 14, 2008 at 1:46 AM, Kamalesh Babulal
> <kamalesh@linux.vnet.ibm.com> wrote:
>> Bartlomiej Zolnierkiewicz wrote:
>>  > Hi,
>>  >
>>  > On Tuesday 12 February 2008, Kamalesh Babulal wrote:
>>  >> Bartlomiej Zolnierkiewicz wrote:
>>  >>> Hi,
>>  >>>
>>  >>> On Monday 11 February 2008, Kamalesh Babulal wrote:
>>  >>>> Nish Aravamudan wrote:
>>  >>>>> On 2/7/08, Bartlomiej Zolnierkiewicz <bzolnier@gmail.com> wrote:
>>  >>>>>> On Thursday 07 February 2008, Kamalesh Babulal wrote:
>>  >>>>>>> Bartlomiej Zolnierkiewicz wrote:
>>  >>>>>>>> Hi,
>>  >>>>>>>>
>>  >>>>>>>> On Wednesday 06 February 2008, Pavel Machek wrote:
>>  >>>>>>>>> On Wed 2008-02-06 11:53:34, Pavel Machek wrote:
>>  >>>>>>>>>> Hi!
>>  >>>>>>>>>>
>>  >>>>>>>>>> Trying to boot 2.6.25-git0 (few days old), I get
>>  >>>>>>>>>>
>>  >>>>>>>>>> BUG: unable to handle kernel paging request at ffff..ffb0
>>  >>>>>>>>>> IP at init_irq+0x42e
>>  >>>>>>>> init_irq? hmm...
>>  >>>>>>>>
>>  >>>>>>>>>> Call trace:
>>  >>>>>>>>>> ide_device_add_all
>>  >>>>>>>> this comes from ide-generic
>>  >>>>>>>> (Generic IDE host driver)
>>  >>>>>>>>
>>  >>>>>>>>>> ide_generic_init
>>  >>>>>>>>>> kernel_init
>>  >>>>>>>>>> child_rip
>>  >>>>>>>>>> vgacon_cursor
>>  >>>>>>>>>> kernel_init
>>  >>>>>>>>>> child_rip
>>  >>>>>>>>>>
>>  >>>>>>>>>> Excerpt from config:
>>  >>>>>>>>>>
>>  >>>>>>>>>> CONFIG_IDE=y
>>  >>>>>>>>>> CONFIG_BLK_DEV_IDE=y
>>  >>>>>>>>> Disabling CONFIG_IDE made my machine boot, as it was using libata
>>  >>>>>>>>> anyway.
>>  >>>>>>>> Kamalesh/Pavel:
>>  >>>>>>>>
>>  >>>>>>>> Could you try latest git and see if the OOPS is still there?
>>  >>>>>>>>
>>  >>>>>>>> [ Yeah, I'm unable to reproduce it. :( ]
>>  >>>>>>>>
>>  >>>>>>>> Thanks,
>>  >>>>>>>> Bart
>>  >>>>>>> Hi Bart,
>>  >>>>>>>
>>  >>>>>>> The panic is reproducible with the 2.6.24-git16 kernel, the call trace is
>>  >>>>>>> similar to the previous one
>>  >>>>>> Thanks, I again reviewed ide-probe.c changes but nothing seems wrong...
>>  >>>>>>
>>  >>>>>> Could you please bisect it down to the guilty commit?
>>  >>>>> Kamalesh, were you able to bisect this down? I just got hit by the
>>  >>>>> same panic on a 4-way x86_64, with 2.6.24-git22.
>>  >>>>>
>>  >>>>> Thanks,
>>  >>>>> Nish
>>  >>>> Hi Nish,
>>  >>>>
>>  >>>> I tried bisecting and the guilty patch seems to be
>>  >>>>
>>  >>>> 36501650ec45b1db308c3b51886044863be2d762 is first bad commit
>>  >>>> commit 36501650ec45b1db308c3b51886044863be2d762
>>  >>>> Author: Bartlomiej Zolnierkiewicz <bzolnier@gmail.com>
>>  >>>> Date:   Fri Feb 1 23:09:31 2008 +0100
>>  >>>>
>>  >>>>     ide: keep pointer to struct device instead of struct pci_dev in ide_hwif_t
>>  >>>>
>>  >>>>
>>  >>>> the gdb output, also points to the changes made by the guilty patch
>>  >>>>
>>  >>>> (gdb) p ide_device_add_all
>>  >>>> $1 = {int (u8 *, const struct ide_port_info *)} 0xffffffff804176ac <ide_device_add_all>
>>  >>>> (gdb) p/x 0xffffffff804176ac+0xb60
>>  >>>> $2 = 0xffffffff8041820c
>>  >>>> (gdb) l *0xffffffff8041820c
>>  >>>> 0xffffffff8041820c is in ide_device_add_all (drivers/ide/ide-probe.c:1249).
>>  >>>> 1244                    goto out;
>>  >>>> 1245            }
>>  >>>> 1246
>>  >>>> 1247            sg_init_table(hwif->sg_table, hwif->sg_max_nents);
>>  >>>> 1248
>>  >>>> 1249            if (init_irq(hwif) == 0)
>>  >>>> 1250                    goto done;
>>  >>>> 1251
>>  >>>> 1252            old_irq = hwif->irq;
>>  >>>> 1253            /*
>>  >>>> (gdb)
>>  >>>>
>>  >>>>
>>  >>>> (gdb) p init_irq
>>  >>>> $1 = {int (ide_hwif_t *)} 0xffffffff8041721f <init_irq>
>>  >>>> (gdb) p/x 0xffffffff8041721f+0x1a4
>>  >>>> $2 = 0xffffffff804173c3
>>  >>>> (gdb) l *0xffffffff804173c3
>>  >>>> 0xffffffff804173c3 is in init_irq (include/asm/pci.h:101).
>>  >>>> 96      /* Returns the node based on pci bus */
>>  >>>> 97      static inline int __pcibus_to_node(struct pci_bus *bus)
>>  >>>> 98      {
>>  >>>> 99              struct pci_sysdata *sd = bus->sysdata;
>>  >>>> 100
>>  >>>> 101             return sd->node;
>>  >>>> 102     }
>>  >>>> 103
>>  >>>> 104     static inline cpumask_t __pcibus_to_cpumask(struct pci_bus *bus)
>>  >>>> 105     {
>>  >>>> (gdb)
>>  >>> Thanks for the detailed analysis and sorry for the bug.
>>  >>>
>>  >>> I think that this may has been just fixed by Andi's recent hwif_to_node()
>>  >>> fix (patch below, it is in Linus' tree already), could please verify this?
>>  >>>
>>  >>> commit 1f07e988290fc45932f5028c9e2a862c37a57336
>>  >>> Author: Andi Kleen <andi@firstfloor.org>
>>  >>> Date:   Mon Feb 11 01:35:20 2008 +0100
>>  >>>
>>  >>>     Prevent IDE boot ops on NUMA system
>>  >>>
>>  >>>     Without this patch a Opteron test system here oopses at boot with
>>  >>>     current git.
>>  >>>
>>  >>>     Calling to_pci_dev() on a NULL pointer gives a negative value so the
>>  >>>     following NULL pointer check never triggers and then an illegal address
>>  >>>     is referenced.  Check the unadjusted original device pointer for NULL
>>  >>>     instead.
>>  >>>
>>  >>>     Signed-off-by: Andi Kleen <ak@suse.de>
>>  >>>     Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
>>  >>>
>>  >>> diff --git a/include/linux/ide.h b/include/linux/ide.h
>>  >>> index 23fad89..a3b69c1 100644
>>  >>> --- a/include/linux/ide.h
>>  >>> +++ b/include/linux/ide.h
>>  >>> @@ -1295,7 +1295,7 @@ static inline void ide_dump_identify(u8 *id)
>>  >>>  static inline int hwif_to_node(ide_hwif_t *hwif)
>>  >>>  {
>>  >>>     struct pci_dev *dev = to_pci_dev(hwif->dev);
>>  >>> -   return dev ? pcibus_to_node(dev->bus) : -1;
>>  >>> +   return hwif->dev ? pcibus_to_node(dev->bus) : -1;
>>  >>>  }
>>  >>>
>>  >>>  static inline ide_drive_t *ide_get_paired_drive(ide_drive_t *drive)
>>  >> Hi Bart,
>>  >> Thanks !! the patch solves the kernel panic but when after applying the patch,kernel is not
>>  >> able to mount the filesystem and panics, am i not sure what is likely causing the panic.
>>  >
>>  > Is
>>  >
>>  > - the commit 36501650ec45b1db308c3b51886044863be2d762 with Andi's fix applied
>>  >
>>  > or
>>  >
>>  > - the commit f6fb786d6dcdd7d730e4fba620b071796f487e1b
>>  >   (the one before commit 36501650ec45b1db308c3b51886044863be2d762)
>>  >
>>  > working for you?
>>
>>  No, the commit before the commit 36501650ec45b1db308c3b51886044863be2d762 did not either work, i
>>  get the same kernel panic.
>>
>>
>>  >
>>  >> Creating root device.
>>  >> Mounting root filesystem.
>>  >> mount: could not  find filesystem
>>  >> Kernel panic - not syncing: Attempted to kill init!
>>  >
>>  > Is IDE actually used for the boot device?
>>  >
>>  > [ Please send a dmesg output from the working system. ]
> 
> it seems you have enclosure connected.
> 
> please check if you enable the SES in .config.
> 
> if so, please try
> 
> http://lkml.org/lkml/2008/2/13/673
> 
> YH
> --
Hi,

Thanks for pointing the patch, I do not have the SES config option enabled, 
then too i tried your patch, but that does not solve the panic. The kernel
panic's with the same panic message as before. I have attached the .config 
file which i am using, please let me know if i am missing out/getting wrong
any option in the configuration.



-- 
Thanks & Regards,
Kamalesh Babulal,
Linux Technology Center,
IBM, ISTL.
---





[-- Attachment #2: config --]
[-- Type: text/plain, Size: 36346 bytes --]

#
# Automatically generated make config: don't edit
# Linux kernel version: 2.6.25-rc1-ide
# Fri Feb 15 15:52:59 2008
#
CONFIG_64BIT=y
# CONFIG_X86_32 is not set
CONFIG_X86_64=y
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_SEMAPHORE_SLEEPERS=y
CONFIG_FAST_CMPXCHG_LOCAL=y
CONFIG_MMU=y
CONFIG_ZONE_DMA=y
# CONFIG_QUICKLIST is not set
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_DMI=y
CONFIG_RWSEM_GENERIC_SPINLOCK=y
# CONFIG_RWSEM_XCHGADD_ALGORITHM is not set
# 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=y
CONFIG_ARCH_HAS_CPU_RELAX=y
CONFIG_HAVE_SETUP_PER_CPU_AREA=y
CONFIG_ARCH_HIBERNATION_POSSIBLE=y
CONFIG_ARCH_SUSPEND_POSSIBLE=y
CONFIG_ZONE_DMA32=y
CONFIG_ARCH_POPULATES_NODE_MAP=y
CONFIG_AUDIT_ARCH=y
CONFIG_ARCH_SUPPORTS_AOUT=y
CONFIG_GENERIC_HARDIRQS=y
CONFIG_GENERIC_IRQ_PROBE=y
CONFIG_GENERIC_PENDING_IRQ=y
CONFIG_X86_SMP=y
CONFIG_X86_64_SMP=y
CONFIG_X86_HT=y
CONFIG_X86_TRAMPOLINE=y
# CONFIG_KTIME_SCALAR is not set
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 is not set
# CONFIG_AUDIT is not set
CONFIG_IKCONFIG=y
CONFIG_IKCONFIG_PROC=y
CONFIG_LOG_BUF_SHIFT=18
# CONFIG_CGROUPS is not set
CONFIG_FAIR_GROUP_SCHED=y
CONFIG_FAIR_USER_SCHED=y
# CONFIG_FAIR_CGROUP_SCHED is not set
CONFIG_SYSFS_DEPRECATED=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=y
CONFIG_SYSCTL=y
# CONFIG_EMBEDDED is not set
CONFIG_UID16=y
CONFIG_SYSCTL_SYSCALL=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_HAVE_KPROBES=y
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 is not set
# CONFIG_MODULE_SRCVERSION_ALL is not set
# CONFIG_KMOD is not set
CONFIG_STOP_MACHINE=y
CONFIG_BLOCK=y
# CONFIG_BLK_DEV_IO_TRACE is not set
# CONFIG_BLK_DEV_BSG is not set
CONFIG_BLOCK_COMPAT=y

#
# IO Schedulers
#
CONFIG_IOSCHED_NOOP=y
# CONFIG_IOSCHED_AS is not set
CONFIG_IOSCHED_DEADLINE=y
CONFIG_IOSCHED_CFQ=y
# CONFIG_DEFAULT_AS is not set
# CONFIG_DEFAULT_DEADLINE is not set
CONFIG_DEFAULT_CFQ=y
# CONFIG_DEFAULT_NOOP is not set
CONFIG_DEFAULT_IOSCHED="cfq"
CONFIG_CLASSIC_RCU=y
# CONFIG_PREEMPT_RCU is not set

#
# 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_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 is not set
# 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=y
CONFIG_X86_L1_CACHE_BYTES=128
CONFIG_X86_INTERNODE_CACHE_BYTES=128
CONFIG_X86_CMPXCHG=y
CONFIG_X86_L1_CACHE_SHIFT=7
CONFIG_X86_GOOD_APIC=y
CONFIG_X86_TSC=y
CONFIG_X86_MINIMUM_CPU_FAMILY=64
CONFIG_X86_DEBUGCTLMSR=y
CONFIG_HPET_TIMER=y
CONFIG_HPET_EMULATE_RTC=y
CONFIG_GART_IOMMU=y
# CONFIG_CALGARY_IOMMU is not set
CONFIG_IOMMU_HELPER=y
CONFIG_SWIOTLB=y
CONFIG_NR_CPUS=32
CONFIG_SCHED_SMT=y
CONFIG_SCHED_MC=y
# CONFIG_PREEMPT_NONE is not set
CONFIG_PREEMPT_VOLUNTARY=y
# CONFIG_PREEMPT is not set
CONFIG_RCU_TRACE=y
CONFIG_X86_LOCAL_APIC=y
CONFIG_X86_IO_APIC=y
CONFIG_X86_MCE=y
CONFIG_X86_MCE_INTEL=y
CONFIG_X86_MCE_AMD=y
# CONFIG_I8K is not set
# CONFIG_MICROCODE is not set
CONFIG_X86_MSR=y
CONFIG_X86_CPUID=y
CONFIG_NUMA=y
CONFIG_K8_NUMA=y
CONFIG_X86_64_ACPI_NUMA=y
CONFIG_NUMA_EMU=y
CONFIG_NODES_SHIFT=6
CONFIG_ARCH_SPARSEMEM_DEFAULT=y
CONFIG_ARCH_SPARSEMEM_ENABLE=y
CONFIG_ARCH_SELECT_MEMORY_MODEL=y
CONFIG_SELECT_MEMORY_MODEL=y
# CONFIG_FLATMEM_MANUAL is not set
# CONFIG_DISCONTIGMEM_MANUAL is not set
CONFIG_SPARSEMEM_MANUAL=y
CONFIG_SPARSEMEM=y
CONFIG_NEED_MULTIPLE_NODES=y
CONFIG_HAVE_MEMORY_PRESENT=y
# CONFIG_SPARSEMEM_STATIC is not set
CONFIG_SPARSEMEM_EXTREME=y
CONFIG_SPARSEMEM_VMEMMAP_ENABLE=y
CONFIG_SPARSEMEM_VMEMMAP=y

#
# Memory hotplug is currently incompatible with Software Suspend
#
CONFIG_SPLIT_PTLOCK_CPUS=4
CONFIG_MIGRATION=y
CONFIG_RESOURCES_64BIT=y
CONFIG_ZONE_DMA_FLAG=1
CONFIG_BOUNCE=y
CONFIG_VIRT_TO_BUS=y
CONFIG_MTRR=y
# CONFIG_EFI is not set
CONFIG_SECCOMP=y
# CONFIG_CC_STACKPROTECTOR 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=0x200000
# CONFIG_RELOCATABLE is not set
CONFIG_PHYSICAL_ALIGN=0x200000
CONFIG_HOTPLUG_CPU=y
CONFIG_COMPAT_VDSO=y
CONFIG_ARCH_ENABLE_MEMORY_HOTPLUG=y
CONFIG_HAVE_ARCH_EARLY_PFN_TO_NID=y

#
# Power management options
#
CONFIG_ARCH_HIBERNATION_HEADER=y
CONFIG_PM=y
# CONFIG_PM_LEGACY is not set
# 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=y
CONFIG_ACPI_BATTERY=y
CONFIG_ACPI_BUTTON=y
CONFIG_ACPI_FAN=y
# CONFIG_ACPI_DOCK is not set
CONFIG_ACPI_PROCESSOR=y
CONFIG_ACPI_HOTPLUG_CPU=y
CONFIG_ACPI_THERMAL=y
CONFIG_ACPI_NUMA=y
# CONFIG_ACPI_WMI is not set
# CONFIG_ACPI_ASUS is not set
# CONFIG_ACPI_TOSHIBA is not set
# CONFIG_ACPI_CUSTOM_DSDT_INITRD is not set
CONFIG_ACPI_BLACKLIST_YEAR=0
# CONFIG_ACPI_DEBUG is not set
CONFIG_ACPI_EC=y
CONFIG_ACPI_POWER=y
CONFIG_ACPI_SYSTEM=y
CONFIG_X86_PM_TIMER=y
CONFIG_ACPI_CONTAINER=y
# CONFIG_ACPI_SBS is not set

#
# CPU Frequency scaling
#
CONFIG_CPU_FREQ=y
CONFIG_CPU_FREQ_TABLE=y
CONFIG_CPU_FREQ_DEBUG=y
CONFIG_CPU_FREQ_STAT=y
# CONFIG_CPU_FREQ_STAT_DETAILS is not set
CONFIG_CPU_FREQ_DEFAULT_GOV_PERFORMANCE=y
# CONFIG_CPU_FREQ_DEFAULT_GOV_USERSPACE is not set
# CONFIG_CPU_FREQ_DEFAULT_GOV_ONDEMAND is not set
# CONFIG_CPU_FREQ_DEFAULT_GOV_CONSERVATIVE is not set
CONFIG_CPU_FREQ_GOV_PERFORMANCE=y
# CONFIG_CPU_FREQ_GOV_POWERSAVE is not set
CONFIG_CPU_FREQ_GOV_USERSPACE=y
CONFIG_CPU_FREQ_GOV_ONDEMAND=y
CONFIG_CPU_FREQ_GOV_CONSERVATIVE=y

#
# CPUFreq processor drivers
#
CONFIG_X86_ACPI_CPUFREQ=y
CONFIG_X86_POWERNOW_K8=y
CONFIG_X86_POWERNOW_K8_ACPI=y
# CONFIG_X86_SPEEDSTEP_CENTRINO is not set
# CONFIG_X86_P4_CLOCKMOD is not set

#
# shared options
#
CONFIG_X86_ACPI_CPUFREQ_PROC_INTF=y
# CONFIG_X86_SPEEDSTEP_LIB is not set
CONFIG_CPU_IDLE=y
CONFIG_CPU_IDLE_GOV_LADDER=y

#
# Bus options (PCI etc.)
#
CONFIG_PCI=y
CONFIG_PCI_DIRECT=y
CONFIG_PCI_MMCONFIG=y
CONFIG_PCI_DOMAINS=y
# CONFIG_DMAR is not set
CONFIG_PCIEPORTBUS=y
CONFIG_PCIEAER=y
CONFIG_ARCH_SUPPORTS_MSI=y
CONFIG_PCI_MSI=y
CONFIG_PCI_LEGACY=y
# CONFIG_PCI_DEBUG is not set
# CONFIG_HT_IRQ is not set
CONFIG_ISA_DMA_API=y
CONFIG_K8_NB=y
# CONFIG_PCCARD is not set
# CONFIG_HOTPLUG_PCI is not set

#
# Executable file formats / Emulations
#
CONFIG_BINFMT_ELF=y
CONFIG_COMPAT_BINFMT_ELF=y
# CONFIG_BINFMT_MISC is not set
CONFIG_IA32_EMULATION=y
CONFIG_IA32_AOUT=y
CONFIG_COMPAT=y
CONFIG_COMPAT_FOR_U64_ALIGNMENT=y
CONFIG_SYSVIPC_COMPAT=y

#
# Networking
#
CONFIG_NET=y

#
# Networking options
#
CONFIG_PACKET=y
# CONFIG_PACKET_MMAP is not set
CONFIG_UNIX=y
# CONFIG_NET_KEY 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=y
CONFIG_IP_PNP_DHCP=y
# CONFIG_IP_PNP_BOOTP is not set
# CONFIG_IP_PNP_RARP is not set
# CONFIG_NET_IPIP is not set
# CONFIG_NET_IPGRE is not set
# CONFIG_IP_MROUTE is not set
# CONFIG_ARPD is not set
# CONFIG_SYN_COOKIES is not set
# CONFIG_INET_AH is not set
# CONFIG_INET_ESP is not set
# CONFIG_INET_IPCOMP is not set
# CONFIG_INET_XFRM_TUNNEL is not set
CONFIG_INET_TUNNEL=y
# CONFIG_INET_XFRM_MODE_TRANSPORT is not set
# CONFIG_INET_XFRM_MODE_TUNNEL is not set
# CONFIG_INET_XFRM_MODE_BEET is not set
# CONFIG_INET_LRO is not set
CONFIG_INET_DIAG=y
CONFIG_INET_TCP_DIAG=y
# 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=y
# CONFIG_IPV6_PRIVACY is not set
# CONFIG_IPV6_ROUTER_PREF is not set
# CONFIG_IPV6_OPTIMISTIC_DAD is not set
# CONFIG_INET6_AH is not set
# CONFIG_INET6_ESP is not set
# CONFIG_INET6_IPCOMP is not set
# CONFIG_IPV6_MIP6 is not set
# CONFIG_INET6_XFRM_TUNNEL is not set
# CONFIG_INET6_TUNNEL is not set
# CONFIG_INET6_XFRM_MODE_TRANSPORT is not set
# CONFIG_INET6_XFRM_MODE_TUNNEL is not set
# CONFIG_INET6_XFRM_MODE_BEET is not set
# CONFIG_INET6_XFRM_MODE_ROUTEOPTIMIZATION is not set
CONFIG_IPV6_SIT=y
# CONFIG_IPV6_TUNNEL is not set
# CONFIG_IPV6_MULTIPLE_TABLES 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=y
CONFIG_PREVENT_FIRMWARE_BUILD=y
CONFIG_FW_LOADER=y
# 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=y
# 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 is not set
# 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=y
CONFIG_BLK_DEV_RAM_COUNT=16
CONFIG_BLK_DEV_RAM_SIZE=4096
# CONFIG_BLK_DEV_XIP is not set
# CONFIG_CDROM_PKTCDVD 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_SONY_LAPTOP is not set
# CONFIG_THINKPAD_ACPI is not set
# CONFIG_INTEL_MENLOW 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.txt for help/info on IDE drives
#
# CONFIG_BLK_DEV_IDE_SATA is not set
# CONFIG_BLK_DEV_HD_IDE is not set
CONFIG_BLK_DEV_IDEDISK=y
CONFIG_IDEDISK_MULTI_MODE=y
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=y
# 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

#
# 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 is not set
# 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=y
# 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_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=y
# 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=y
# 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 is not set
# CONFIG_BLK_DEV_TC86C001 is not set
CONFIG_BLK_DEV_IDEDMA=y
CONFIG_IDE_ARCH_OBSOLETE_INIT=y
# 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=y
# CONFIG_SCSI_PROC_FS is not set

#
# 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=y
# CONFIG_BLK_DEV_SR_VENDOR is not set
CONFIG_CHR_DEV_SG=y
# CONFIG_CHR_DEV_SCH is not set

#
# Some SCSI devices (e.g. CD jukebox) support multiple LUNs
#
# CONFIG_SCSI_MULTI_LUN is not set
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=y
# 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 is not set
# CONFIG_SCSI_AIC7XXX_OLD is not set
CONFIG_SCSI_AIC79XX=y
CONFIG_AIC79XX_CMDS_PER_DEVICE=32
CONFIG_AIC79XX_RESET_DELAY_MS=4000
# CONFIG_AIC79XX_DEBUG_ENABLE is not set
CONFIG_AIC79XX_DEBUG_MASK=0
# CONFIG_AIC79XX_REG_PRETTY_PRINT is not set
# CONFIG_SCSI_AIC94XX 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_STEX is not set
# CONFIG_SCSI_SYM53C8XX_2 is not set
# CONFIG_SCSI_IPR 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_DEBUG is not set
# CONFIG_SCSI_SRP is not set
CONFIG_ATA=y
# CONFIG_ATA_NONSTANDARD is not set
CONFIG_ATA_ACPI=y
CONFIG_SATA_AHCI=y
CONFIG_SATA_SVW=y
CONFIG_ATA_PIIX=y
# CONFIG_SATA_MV is not set
CONFIG_SATA_NV=y
# CONFIG_PDC_ADMA is not set
# CONFIG_SATA_QSTOR is not set
# CONFIG_SATA_PROMISE is not set
# CONFIG_SATA_SX4 is not set
CONFIG_SATA_SIL=y
# CONFIG_SATA_SIL24 is not set
# CONFIG_SATA_SIS is not set
# CONFIG_SATA_ULI is not set
CONFIG_SATA_VIA=y
# CONFIG_SATA_VITESSE is not set
# CONFIG_SATA_INIC162X is not set
# CONFIG_PATA_ACPI is not set
# CONFIG_PATA_ALI is not set
# CONFIG_PATA_AMD is not set
# CONFIG_PATA_ARTOP is not set
# CONFIG_PATA_ATIIXP is not set
# CONFIG_PATA_CMD640_PCI is not set
# CONFIG_PATA_CMD64X is not set
# CONFIG_PATA_CS5520 is not set
# CONFIG_PATA_CS5530 is not set
# CONFIG_PATA_CYPRESS is not set
# CONFIG_PATA_EFAR is not set
# CONFIG_ATA_GENERIC is not set
# CONFIG_PATA_HPT366 is not set
# CONFIG_PATA_HPT37X is not set
# CONFIG_PATA_HPT3X2N is not set
# CONFIG_PATA_HPT3X3 is not set
# CONFIG_PATA_IT821X is not set
# CONFIG_PATA_IT8213 is not set
# CONFIG_PATA_JMICRON is not set
# CONFIG_PATA_TRIFLEX is not set
# CONFIG_PATA_MARVELL is not set
# CONFIG_PATA_MPIIX is not set
# CONFIG_PATA_OLDPIIX is not set
# CONFIG_PATA_NETCELL is not set
# CONFIG_PATA_NINJA32 is not set
# CONFIG_PATA_NS87410 is not set
# CONFIG_PATA_NS87415 is not set
# CONFIG_PATA_OPTI is not set
# CONFIG_PATA_OPTIDMA is not set
# CONFIG_PATA_PDC_OLD is not set
# CONFIG_PATA_RADISYS is not set
# CONFIG_PATA_RZ1000 is not set
# CONFIG_PATA_SC1200 is not set
# CONFIG_PATA_SERVERWORKS is not set
# CONFIG_PATA_PDC2027X is not set
# CONFIG_PATA_SIL680 is not set
# CONFIG_PATA_SIS is not set
# CONFIG_PATA_VIA is not set
# CONFIG_PATA_WINBOND is not set
CONFIG_MD=y
# CONFIG_BLK_DEV_MD is not set
CONFIG_BLK_DEV_DM=y
# CONFIG_DM_DEBUG is not set
# CONFIG_DM_CRYPT is not set
# CONFIG_DM_SNAPSHOT is not set
# CONFIG_DM_MIRROR is not set
# CONFIG_DM_ZERO is not set
# CONFIG_DM_MULTIPATH is not set
# CONFIG_DM_DELAY is not set
# CONFIG_DM_UEVENT is not set
CONFIG_FUSION=y
CONFIG_FUSION_SPI=y
# CONFIG_FUSION_FC is not set
# CONFIG_FUSION_SAS is not set
CONFIG_FUSION_MAX_SGE=128
# CONFIG_FUSION_CTL is not set
# CONFIG_FUSION_LOGGING is not set

#
# IEEE 1394 (FireWire) support
#
# CONFIG_FIREWIRE is not set
CONFIG_IEEE1394=y

#
# Subsystem Options
#
# CONFIG_IEEE1394_VERBOSEDEBUG is not set

#
# Controllers
#

#
# Texas Instruments PCILynx requires I2C
#
CONFIG_IEEE1394_OHCI1394=y

#
# Protocols
#
# CONFIG_IEEE1394_VIDEO1394 is not set
# CONFIG_IEEE1394_SBP2 is not set
# CONFIG_IEEE1394_ETH1394_ROM_ENTRY is not set
# CONFIG_IEEE1394_ETH1394 is not set
# CONFIG_IEEE1394_DV1394 is not set
CONFIG_IEEE1394_RAWIO=y
# CONFIG_I2O is not set
CONFIG_MACINTOSH_DRIVERS=y
# CONFIG_MAC_EMUMOUSEBTN is not set
CONFIG_NETDEVICES=y
CONFIG_NETDEVICES_MULTIQUEUE=y
# CONFIG_DUMMY is not set
# 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=y
# CONFIG_TYPHOON is not set
CONFIG_NET_TULIP=y
# CONFIG_DE2104X is not set
CONFIG_TULIP=y
# CONFIG_TULIP_MWI is not set
# CONFIG_TULIP_MMIO is not set
# CONFIG_TULIP_NAPI is not set
# CONFIG_DE4X5 is not set
# CONFIG_WINBOND_840 is not set
# CONFIG_DM9102 is not set
# 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 is not set
CONFIG_AMD8111_ETH=y
# CONFIG_AMD8111E_NAPI is not set
# CONFIG_ADAPTEC_STARFIRE is not set
CONFIG_B44=y
CONFIG_B44_PCI_AUTOSELECT=y
CONFIG_B44_PCICORE_AUTOSELECT=y
CONFIG_B44_PCI=y
CONFIG_FORCEDETH=y
# CONFIG_FORCEDETH_NAPI is not set
# CONFIG_EEPRO100 is not set
CONFIG_E100=y
# CONFIG_FEALNX is not set
# CONFIG_NATSEMI is not set
# CONFIG_NE2K_PCI is not set
CONFIG_8139CP=y
CONFIG_8139TOO=y
# CONFIG_8139TOO_PIO is not set
# CONFIG_8139TOO_TUNE_TWISTER is not set
# CONFIG_8139TOO_8129 is not set
# CONFIG_8139_OLD_RX_RESET is not set
# CONFIG_R6040 is not set
# CONFIG_SIS900 is not set
# CONFIG_EPIC100 is not set
# CONFIG_SUNDANCE 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=y
# CONFIG_E1000_NAPI is not set
# CONFIG_E1000_DISABLE_PACKET_SPLIT 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_SK98LIN is not set
# CONFIG_VIA_VELOCITY is not set
CONFIG_TIGON3=y
CONFIG_BNX2=y
# 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=m
# CONFIG_S2IO_NAPI 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

#
# 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=y
# CONFIG_NETCONSOLE_DYNAMIC is not set
CONFIG_NETPOLL=y
# CONFIG_NETPOLL_TRAP is not set
CONFIG_NET_POLL_CONTROLLER=y
# 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=y
# CONFIG_INPUT_EVBUG is not set

#
# 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 is not set
# CONFIG_KEYBOARD_NEWTON is not set
# CONFIG_KEYBOARD_STOWAWAY is not set
CONFIG_INPUT_MOUSE=y
CONFIG_MOUSE_PS2=y
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_SERIAL is not set
# 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_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 is not set

#
# 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 is not set
CONFIG_HW_RANDOM=y
CONFIG_HW_RANDOM_INTEL=y
CONFIG_HW_RANDOM_AMD=y
# CONFIG_NVRAM is not set
CONFIG_RTC=y
# CONFIG_R3964 is not set
# CONFIG_APPLICOM is not set
# CONFIG_MWAVE is not set
# CONFIG_PC8736x_GPIO is not set
CONFIG_RAW_DRIVER=y
CONFIG_MAX_RAW_DEVS=256
CONFIG_HPET=y
# CONFIG_HPET_RTC_IRQ is not set
CONFIG_HPET_MMAP=y
# CONFIG_HANGCHECK_TIMER is not set
# CONFIG_TCG_TPM is not set
# CONFIG_TELCLOCK is not set
CONFIG_DEVPORT=y
# CONFIG_I2C is not set

#
# SPI support
#
# CONFIG_SPI is not set
# CONFIG_SPI_MASTER 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=y
# CONFIG_WATCHDOG is not set

#
# Sonics Silicon Backplane
#
CONFIG_SSB_POSSIBLE=y
CONFIG_SSB=y
CONFIG_SSB_PCIHOST_POSSIBLE=y
CONFIG_SSB_PCIHOST=y
# CONFIG_SSB_DEBUG is not set
CONFIG_SSB_DRIVER_PCICORE_POSSIBLE=y
CONFIG_SSB_DRIVER_PCICORE=y

#
# Multifunction device drivers
#
# CONFIG_MFD_SM501 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=y
CONFIG_AGP_AMD64=y
CONFIG_AGP_INTEL=y
# CONFIG_AGP_SIS is not set
# CONFIG_AGP_VIA is not set
# CONFIG_DRM is not set
# CONFIG_VGASTATE is not set
# CONFIG_VIDEO_OUTPUT_CONTROL is not set
# 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=256
CONFIG_VIDEO_SELECT=y
CONFIG_DUMMY_CONSOLE=y

#
# Sound
#
CONFIG_SOUND=y

#
# Advanced Linux Sound Architecture
#
# CONFIG_SND is not set

#
# Open Sound System
#
CONFIG_SOUND_PRIME=y
# CONFIG_SOUND_TRIDENT is not set
# CONFIG_SOUND_MSNDCLAS is not set
# CONFIG_SOUND_MSNDPIN is not set
# CONFIG_SOUND_OSS 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=y
# CONFIG_USB_HIDINPUT_POWERBOOK is not set
# CONFIG_HID_FF is not set
# CONFIG_USB_HIDDEV 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=y
# CONFIG_USB_DEBUG is not set
# CONFIG_USB_ANNOUNCE_NEW_DEVICES is not set

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

#
# USB Host Controller Drivers
#
CONFIG_USB_EHCI_HCD=y
# 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=y
# CONFIG_USB_OHCI_HCD_SSB is not set
# 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=y
# CONFIG_USB_SL811_HCD is not set
# CONFIG_USB_R8A66597_HCD is not set

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

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

#
# may also be needed; see USB_STORAGE Help for more information
#
CONFIG_USB_STORAGE=y
# CONFIG_USB_STORAGE_DEBUG is not set
# CONFIG_USB_STORAGE_DATAFAB is not set
# CONFIG_USB_STORAGE_FREECOM is not set
# CONFIG_USB_STORAGE_ISD200 is not set
# CONFIG_USB_STORAGE_DPCM is not set
# CONFIG_USB_STORAGE_USBAT is not set
# CONFIG_USB_STORAGE_SDDR09 is not set
# CONFIG_USB_STORAGE_SDDR55 is not set
# CONFIG_USB_STORAGE_JUMPSHOT is not set
# CONFIG_USB_STORAGE_ALAUDA is not set
# CONFIG_USB_STORAGE_KARMA 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_TEST is not set
# CONFIG_USB_GADGET is not set
# CONFIG_MMC is not set
# CONFIG_MEMSTICK is not set
# CONFIG_NEW_LEDS is not set
# CONFIG_INFINIBAND is not set
# CONFIG_EDAC is not set
# CONFIG_RTC_CLASS is not set
# CONFIG_DMADEVICES is not set

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

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

#
# File systems
#
CONFIG_EXT2_FS=y
CONFIG_EXT2_FS_XATTR=y
CONFIG_EXT2_FS_POSIX_ACL=y
# CONFIG_EXT2_FS_SECURITY is not set
# 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 is not set
# CONFIG_EXT4DEV_FS is not set
CONFIG_JBD=y
# CONFIG_JBD_DEBUG is not set
CONFIG_FS_MBCACHE=y
CONFIG_REISERFS_FS=y
# CONFIG_REISERFS_CHECK is not set
# CONFIG_REISERFS_PROC_INFO is not set
CONFIG_REISERFS_FS_XATTR=y
CONFIG_REISERFS_FS_POSIX_ACL=y
# CONFIG_REISERFS_FS_SECURITY 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 is not set
CONFIG_AUTOFS4_FS=y
# CONFIG_FUSE_FS is not set
CONFIG_GENERIC_ACL=y

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

#
# DOS/FAT/NT Filesystems
#
CONFIG_FAT_FS=y
CONFIG_MSDOS_FS=y
CONFIG_VFAT_FS=y
CONFIG_FAT_DEFAULT_CODEPAGE=437
CONFIG_FAT_DEFAULT_IOCHARSET="iso8859-1"
# CONFIG_NTFS_FS 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=y
CONFIG_HUGETLBFS=y
CONFIG_HUGETLB_PAGE=y
# CONFIG_CONFIGFS_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=y
CONFIG_NFS_V3=y
# CONFIG_NFS_V3_ACL is not set
# CONFIG_NFS_V4 is not set
# CONFIG_NFS_DIRECTIO is not set
CONFIG_NFSD=y
CONFIG_NFSD_V3=y
# CONFIG_NFSD_V3_ACL is not set
# CONFIG_NFSD_V4 is not set
CONFIG_NFSD_TCP=y
CONFIG_ROOT_NFS=y
CONFIG_LOCKD=y
CONFIG_LOCKD_V4=y
CONFIG_EXPORTFS=y
CONFIG_NFS_COMMON=y
CONFIG_SUNRPC=y
# CONFIG_SUNRPC_BIND34 is not set
# CONFIG_RPCSEC_GSS_KRB5 is not set
# CONFIG_RPCSEC_GSS_SPKM3 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="iso8859-1"
CONFIG_NLS_CODEPAGE_437=y
# 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=y
CONFIG_NLS_ISO8859_1=y
# 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=y
# CONFIG_NLS_KOI8_R is not set
# CONFIG_NLS_KOI8_U is not set
CONFIG_NLS_UTF8=y
# CONFIG_DLM is not set

#
# Kernel hacking
#
CONFIG_TRACE_IRQFLAGS_SUPPORT=y
# CONFIG_PRINTK_TIME is not set
CONFIG_ENABLE_WARN_DEPRECATED=y
# CONFIG_ENABLE_MUST_CHECK is not set
CONFIG_MAGIC_SYSRQ=y
CONFIG_UNUSED_SYMBOLS=y
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 is not set
# CONFIG_SCHEDSTATS is not set
CONFIG_TIMER_STATS=y
# CONFIG_DEBUG_SLAB is not set
# CONFIG_DEBUG_RT_MUTEXES is not set
# CONFIG_RT_MUTEX_TESTER is not set
# CONFIG_DEBUG_SPINLOCK is not set
# CONFIG_DEBUG_MUTEXES is not set
# CONFIG_DEBUG_LOCK_ALLOC is not set
# CONFIG_PROVE_LOCKING is not set
# CONFIG_LOCK_STAT is not set
# CONFIG_DEBUG_SPINLOCK_SLEEP is not set
# CONFIG_DEBUG_LOCKING_API_SELFTESTS is not set
# CONFIG_DEBUG_KOBJECT is not set
CONFIG_DEBUG_BUGVERBOSE=y
# CONFIG_DEBUG_INFO is not set
# CONFIG_DEBUG_VM is not set
# CONFIG_DEBUG_LIST is not set
# CONFIG_DEBUG_SG is not set
# CONFIG_FRAME_POINTER is not set
# CONFIG_BOOT_PRINTK_DELAY 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_PROVIDE_OHCI1394_DMA_INIT is not set
# CONFIG_SAMPLES is not set
CONFIG_EARLY_PRINTK=y
CONFIG_DEBUG_STACKOVERFLOW=y
# CONFIG_DEBUG_STACK_USAGE is not set
# CONFIG_DEBUG_PAGEALLOC is not set
# CONFIG_DEBUG_PER_CPU_MAPS is not set
# CONFIG_DEBUG_RODATA is not set
# CONFIG_DEBUG_NX_TEST is not set
CONFIG_X86_MPPARSE=y
# CONFIG_IOMMU_DEBUG is not set
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 is not set
CONFIG_IO_DELAY_0XED=y
# CONFIG_IO_DELAY_UDELAY is not set
# CONFIG_IO_DELAY_NONE is not set
CONFIG_DEFAULT_IO_DELAY_TYPE=1
# CONFIG_DEBUG_BOOT_PARAMS is not set
# CONFIG_CPA_DEBUG is not set

#
# Security options
#
# CONFIG_KEYS is not set
# CONFIG_SECURITY is not set
# CONFIG_SECURITY_FILE_CAPABILITIES is not set
# CONFIG_CRYPTO is not set
CONFIG_HAVE_KVM=y
CONFIG_VIRTUALIZATION=y
# CONFIG_KVM is not set
# CONFIG_VIRTIO_PCI is not set
# CONFIG_VIRTIO_BALLOON is not set

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

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

* Re: 2.6.26-git0: IDE oops during boot
  2008-02-15 11:15                       ` Kamalesh Babulal
@ 2008-02-25  7:05                         ` Yinghai Lu
  2008-02-25  7:23                           ` Yinghai Lu
  0 siblings, 1 reply; 17+ messages in thread
From: Yinghai Lu @ 2008-02-25  7:05 UTC (permalink / raw)
  To: Kamalesh Babulal
  Cc: Bartlomiej Zolnierkiewicz, Nish Aravamudan, Pavel Machek,
	kernel list, linux-ide, ananth, Andi Kleen

On Fri, Feb 15, 2008 at 3:15 AM, Kamalesh Babulal
<kamalesh@linux.vnet.ibm.com> wrote:
>
>
>  Thanks for pointing the patch, I do not have the SES config option enabled,
>  then too i tried your patch, but that does not solve the panic. The kernel
>  panic's with the same panic message as before. I have attached the .config
>  file which i am using, please let me know if i am missing out/getting wrong
>  any option in the configuration.

can you try x86.git#testing?

http://people.redhat.com/mingo/x86.git/README

YH

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

* Re: 2.6.26-git0: IDE oops during boot
  2008-02-25  7:05                         ` Yinghai Lu
@ 2008-02-25  7:23                           ` Yinghai Lu
  0 siblings, 0 replies; 17+ messages in thread
From: Yinghai Lu @ 2008-02-25  7:23 UTC (permalink / raw)
  To: Kamalesh Babulal
  Cc: Bartlomiej Zolnierkiewicz, Nish Aravamudan, Pavel Machek,
	kernel list, linux-ide, ananth, Andi Kleen

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

On Sun, Feb 24, 2008 at 11:05 PM, Yinghai Lu <yhlu.kernel@gmail.com> wrote:
> On Fri, Feb 15, 2008 at 3:15 AM, Kamalesh Babulal
>
> <kamalesh@linux.vnet.ibm.com> wrote:
>  >
>  >
>
> >  Thanks for pointing the patch, I do not have the SES config option enabled,
>  >  then too i tried your patch, but that does not solve the panic. The kernel
>  >  panic's with the same panic message as before. I have attached the .config
>  >  file which i am using, please let me know if i am missing out/getting wrong
>  >  any option in the configuration.
>
>  can you try x86.git#testing?
>
>  http://people.redhat.com/mingo/x86.git/README
>

and try attached patch.

YH

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: fix_intel_numa.patch --]
[-- Type: text/x-patch; name=fix_intel_numa.patch, Size: 495 bytes --]

diff --git a/arch/x86/kernel/setup_64.c b/arch/x86/kernel/setup_64.c
index 6fd804f..f0d6a80 100644
--- a/arch/x86/kernel/setup_64.c
+++ b/arch/x86/kernel/setup_64.c
@@ -801,7 +801,7 @@ static void __cpuinit srat_detect_node(void)
 	/* Don't do the funky fallback heuristics the AMD version employs
 	   for now. */
 	node = apicid_to_node[apicid];
-	if (node == NUMA_NO_NODE)
+	if (node == NUMA_NO_NODE || !node_online(node))
 		node = first_node(node_online_map);
 	numa_set_node(cpu, node);
 

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

end of thread, other threads:[~2008-02-25  7:23 UTC | newest]

Thread overview: 17+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
     [not found] <20080206105334.GA3664@elf.ucw.cz>
2008-02-06 11:08 ` 2.6.26-git0: IDE oops during boot Pavel Machek
2008-02-06 20:05   ` Bartlomiej Zolnierkiewicz
2008-02-07  9:35     ` Kamalesh Babulal
2008-02-07 14:01       ` Bartlomiej Zolnierkiewicz
2008-02-10 21:32         ` Nish Aravamudan
2008-02-11  7:54           ` Kamalesh Babulal
2008-02-11 19:35             ` Bartlomiej Zolnierkiewicz
2008-02-12  9:04               ` Kamalesh Babulal
2008-02-13 23:00                 ` Bartlomiej Zolnierkiewicz
2008-02-14  9:46                   ` Kamalesh Babulal
2008-02-14 10:28                     ` Yinghai Lu
2008-02-15 11:15                       ` Kamalesh Babulal
2008-02-25  7:05                         ` Yinghai Lu
2008-02-25  7:23                           ` Yinghai Lu
2008-02-14 12:01                     ` "mount: could not find filesystem" - aacraid? (was: Re: 2.6.26-git0: IDE oops during boot) Bartlomiej Zolnierkiewicz
2008-02-14 12:07                       ` Bartlomiej Zolnierkiewicz
2008-02-14 15:47                         ` James Bottomley

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).