From: Badari Pulavarty <pbadari@us.ibm.com>
To: Alex Chiang <achiang@hp.com>
Cc: Andrew Morton <akpm@linux-foundation.org>,
lkml <linux-kernel@vger.kernel.org>,
linas@austin.ibm.com
Subject: Re: 2.6.25-rc8-mm1 panic in rpaphp_register_slot()
Date: Fri, 04 Apr 2008 16:35:28 -0700 [thread overview]
Message-ID: <1207352128.5916.26.camel@badari-desktop> (raw)
In-Reply-To: <20080404224227.GA31436@ldl.fc.hp.com>
On Fri, 2008-04-04 at 16:42 -0600, Alex Chiang wrote:
> * Badari Pulavarty <pbadari@us.ibm.com>:
> >
> > On Fri, 2008-04-04 at 12:05 -0600, Alex Chiang wrote:
> > > Hi Badari,
> > >
> > > * Badari Pulavarty <pbadari@us.ibm.com>:
> > > > Hi Andrew & Alex,
> > > >
> > > > I get following panic in rpaphp_register_slot() on
> > > > 2.6.25-rc8-mm1. Known issue ?
> > >
> > > I know about it now... :-/
> > >
> > > Any chance you could turn debugging on for both rpaphp and
> > > pci_hotplug?
> > >
> >
> > I did set "debug" variables in rpaphp_core.c and pci_hotplug_core.c
> > to 1. But it didn't give any more information. How do I enable
> > the debug ?
>
> If those modules are built into your kernel, then you'll need to
> modify the kernel command line to add:
>
> rpaphp.debug=1 pci_hotplug.debug=1
>
> If you're manually modprobing them:
>
> $ modprobe pci_hotplug debug=1
> $ modprobe rpaphp debug=1
>
> > I just changed dbg() to printk() in rpaphp_register_slot() to
> > print out more information.
> >
> > Thanks,
> > Badari
> >
> >
> > pci_hotplug: PCI Hot Plug PCI Core version: 0.5
> > rpaphp: RPA HOT Plug PCI Controller Driver version: 0.1
> > rpaphp_register_slot registering slot:path[/pci@800000020000003/pci@2,4] index[22010003], name[U787E.001.AAA3015-P2-C1] pdomain[22010003] type[16]
> > Unable to handle kernel paging request for data at address 0x00000070
>
> Hrm, this is a little more information, but still not quite
> enough. I'm going to take a stab in the dark and say I'm probably
> doing something wrong on this line, maybe dereferencing a pointer
> incorrectly:
>
> retval = pci_hp_register(php_slot, slot->bus,
> PCI_SLOT(PCI_DN(slot->dn->child)->devfn));
>
Sorry. I thought you knew this already. Disassembly clearly showed
that slot->dn->child is NULL.
I confirmed it by adding printk also.
Thanks,
Badari
next prev parent reply other threads:[~2008-04-04 23:35 UTC|newest]
Thread overview: 23+ messages / expand[flat|nested] mbox.gz Atom feed top
2008-04-04 17:53 Badari Pulavarty
2008-04-04 18:05 ` Alex Chiang
2008-04-04 20:19 ` Badari Pulavarty
2008-04-04 22:42 ` Alex Chiang
2008-04-04 23:35 ` Badari Pulavarty [this message]
2008-04-07 23:42 ` Alex Chiang
2008-04-16 0:36 ` Andrew Morton
2008-04-16 2:13 ` Alex Chiang
2008-04-16 3:08 ` Badari Pulavarty
2008-04-16 3:18 ` Alex Chiang
2008-04-16 3:20 ` Badari Pulavarty
2008-04-16 19:32 ` Badari Pulavarty
2008-04-16 19:59 ` Alex Chiang
2008-04-16 3:17 ` Alex Chiang
2008-04-16 7:45 ` Benjamin Herrenschmidt
2008-04-16 17:11 ` Alex Chiang
2008-04-16 20:03 ` Andrew Morton
2008-04-16 22:16 ` Benjamin Herrenschmidt
2008-04-16 22:15 ` Benjamin Herrenschmidt
2008-04-19 6:38 ` Alex Chiang
2008-04-19 7:03 ` Benjamin Herrenschmidt
2008-04-22 4:05 ` Alex Chiang
2008-04-22 5:07 ` Benjamin Herrenschmidt
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1207352128.5916.26.camel@badari-desktop \
--to=pbadari@us.ibm.com \
--cc=achiang@hp.com \
--cc=akpm@linux-foundation.org \
--cc=linas@austin.ibm.com \
--cc=linux-kernel@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
Powered by JetHome