[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-Id: <1214646863.2660.22.camel@jaswinder.satnam>
Date: Sat, 28 Jun 2008 15:24:23 +0530
From: Jaswinder Singh <jaswinder@...radead.org>
To: "Rafael J. Wysocki" <rjw@...k.pl>
Cc: David Woodhouse <david.woodhouse@...el.com>,
Stephen Rothwell <sfr@...b.auug.org.au>,
linux-next@...r.kernel.org, LKML <linux-kernel@...r.kernel.org>,
Andrew Morton <akpm@...ux-foundation.org>,
kernel-testers@...r.kernel.org, Ingo Molnar <mingo@...e.hu>,
"Maciej W. Rozycki" <macro@...ux-mips.org>
Subject: Re: linux-next: Tree for June 26
Hello Rafael,
I am really sorry for inconvenience.
I do not have this hardware around me to test this patch.
I really need your help to figure out where is problem.
On Sat, 2008-06-28 at 01:04 +0200, Rafael J. Wysocki wrote:
> On Friday, 27 of June 2008, David Woodhouse wrote:
> > On Fri, 2008-06-27 at 01:38 +0200, Rafael J. Wysocki wrote:
> > > commit 423c982fffb1cd95c8cdd654ce5ab59351ba41f5
> > > Author: Jaswinder Singh <jaswinder@...radead.org>
> > > Date: Wed Jun 18 19:58:33 2008 +0530
> > >
> > > firmware: convert tg3 driver to request_firmware()
> > >
> > > breaks my nx6325.
> > >
> > > Apparently, with this patch applied the tg3 has a NULL pointer dereference
> > > somewhere, but I can only see the first line of the oops, afterwards the box
> > > hangs solid.
> >
> > That's a 5705, isn't it? So using the 'tso5' firmware?
> >
Here is updated patch :-
http://git.infradead.org/users/jaswinder/firm-jsr-2.6.git?a=commitdiff;h=aa8b184d8eb4f1d7b5e37d5ad449fb7c02ad79c2
Original tg3 driver have 3 firmwares :-
1. static const u32 tg3FwText[(TG3_FW_TEXT_LEN / sizeof(u32)) + 1]
2. static const u32 tg3TsoFwText[(TG3_TSO_FW_TEXT_LEN / 4) + 1]
3. static const u32 tg3Tso5FwText[(TG3_TSO5_FW_TEXT_LEN / 4) + 1]
your hardware needs which of the above firmware.
> Unfortunately, it doesn't help. The driver either oopses or just doesn't work
> (I don't know what exactly causes it to oops, although that only happens during
> boot).
>
Please give us more info about oops.
You always get oops or sometimes.
If you want I can put some debugging message.
> However, Ingo wrote that
>
> " the firmware image, if i compare the before and after tg3FwText
> hex dump is blatantly different. Is this some different format, or did
> the "convert to request_firmware()" commit also embed an undocumented
> version jump in the binary blob that is loaded to your card? "
>
> May this be the source of the problem?
>
No, firmware is same.
Our Firmware blob looks like this...
u8 firmware_major
u8 firmware_minor
u8 firmware_fix
u8 pad
__be32 start_address
__be32 length (total, including BSS sections to be zeroed)
data... (in __be32 words, which is native for the firmware)
rest of data is same and you can see it manually.
I am surprise why Ingo is using hex dump and he finds different data.
And I did not received any feedback from Ingo yet.
Thank you,
Jaswinder Singh.
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists