From mboxrd@z Thu Jan 1 00:00:00 1970 From: Jaswinder Singh Subject: Re: linux-next: Tree for June 26 Date: Sat, 28 Jun 2008 15:24:23 +0530 Message-ID: <1214646863.2660.22.camel@jaswinder.satnam> References: <20080627010842.e1a0c4b5.sfr@canb.auug.org.au> <200806270138.53895.rjw@sisk.pl> <1214563913.10393.180.camel@pmac.infradead.org> <200806280104.17527.rjw@sisk.pl> Mime-Version: 1.0 Content-Transfer-Encoding: QUOTED-PRINTABLE Return-path: In-Reply-To: <200806280104.17527.rjw@sisk.pl> Sender: linux-next-owner@vger.kernel.org List-ID: Content-Type: text/plain; charset="utf-8" To: "Rafael J. Wysocki" Cc: David Woodhouse , Stephen Rothwell , linux-next@vger.kernel.org, LKML , Andrew Morton , kernel-testers@vger.kernel.org, Ingo Molnar , "Maciej W. Rozycki" Hello =EF=BB=BFRafael, 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 > > > Date: Wed Jun 18 19:58:33 2008 +0530 > > >=20 > > > firmware: convert tg3 driver to request_firmware() > > >=20 > > > breaks my nx6325. > > >=20 > > > Apparently, with this patch applied the tg3 has a NULL pointer de= reference > > > somewhere, but I can only see the first line of the oops, afterwa= rds the box > > > hangs solid. > >=20 > > That's a 5705, isn't it? So using the 'tso5' firmware? > >=20 Here is updated patch :- http://git.infradead.org/users/jaswinder/firm-jsr-2.6.git?a=3Dcommitdif= f;h=3Daa8b184d8eb4f1d7b5e37d5ad449fb7c02ad79c2 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 doe= sn't work > (I don't know what exactly causes it to oops, although that only happ= ens during > boot). >=20 Please give us more info about oops. You always get oops or sometimes. If you want I can put some debugging message. =EF=BB=BF> However, Ingo wrote that >=20 > " the firmware image, if i compare the before and after tg3FwText=20 > hex dump is blatantly different. Is this some different format, or di= d=20 > the "convert to request_firmware()" commit also embed an undocumented= =20 > version jump in the binary blob that is loaded to your card? " >=20 > May this be the source of the problem? >=20 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.