This is the mail archive of the
ecos-discuss@sources.redhat.com
mailing list for the eCos project.
Re: pci init/discovery
- To: Jonathan Larmour <jlarmour at redhat dot com>
- Subject: Re: [ECOS] pci init/discovery
- From: Gary Thomas <gthomas at cambridge dot redhat dot com>
- Date: Mon, 25 Jun 2001 17:43:32 -0600 (MDT)
- Cc: "ecos-discuss at sources dot redhat dot com" <ecos-discuss at sources dot redhat dot com>,
- Cc: "ecos-discuss at sources dot redhat dot com" <ecos-discuss at sources dot redhat dot com>,"Narayana, Venkat A." <NarayVA at nsc-msg01 dot network dot com>
- Organization: Red Hat, Inc.
On 25-Jun-2001 Jonathan Larmour wrote:
> "Narayana, Venkat A." wrote:
>>
>> Hi,
>> After i have added net support(82559 card) to my redboot.bin,
>> i get the following message when i run the image
>> $T0a0f:b8010300; 0d:...
>> After some digging i found that , i get these messages after,
>> cyg_hal_plf_pci_init function.
>>
>> what these signify? I remember reading earlier that these are output'd by
>> gdb stub's. If so why they are coming now? I mean i built redboot with gdb
>> stub
>> on,but i haven't seen them earlier.
>
> Your probably hitting an exception (e.g. accessing a bad memory address,
> etc.). The first address is the PC it hit. If you disassemble your image
> you can find out where that is.
Notice that it's printed in Big Endian form (GDB standard). Thus, the
failure is at 0x000301b8.
Of course, you should be able to connect with GDB (disconnect from RedBoot
first). Then you can examine the registers, get a backtrace, etc.