lkml.org 
[lkml]   [2007]   [Apr]   [6]   [last100]   RSS Feed
Views: [more markup]  [less markup]  [headers]  [forward] 
 
Messages in this thread
    /
    DateFri, 6 Apr 2007 18:53:01 -0700
    FromNishanth Aravamudan <>
    SubjectRe: tg3: unable to handle null pointer dereference
    On 06.04.2007 [17:36:00 -0700], David Miller wrote:
    > From: "Michael Chan" <mchan@broadcom.com>
    > Date: Fri, 06 Apr 2007 15:57:13 -0700
    > 
    > > On Fri, 2007-04-06 at 14:40 -0700, Nishanth Aravamudan wrote:
    > > 
    > > > 2.6.21-rc5 is ok. 2.6.21-rc6 results in
    > > > 
    > > > [   14.241665] Unable to handle kernel NULL pointer dereference (address 0000000000000000)
    > > 
    > > Sorry, I think this should fix it:
    > > 
    > > [TG3]: Fix crash during tg3_init_one().
    > > 
    > > The driver will crash when the chip has been initialized by EFI before
    > > tg3_init_one().  In this case, the driver will call tg3_chip_reset()
    > > before allocating consistent memory.
    > > 
    > > The bug is fixed by checking for tp->hw_status before accessing it
    > > during tg3_chip_reset().
    > > 
    > > Signed-off-by: Michael Chan <mchan@broadcom.com>
    > 
    > Applied, thanks Michael.
    
    FWIW, tested, no panic.
    
    Tested-by: Nishanth Aravamudan <nacc@us.ibm.com>
    
    Thanks,
    Nish
    
    -- 
    Nishanth Aravamudan <nacc@us.ibm.com>
    IBM Linux Technology Center
    -
    To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
    the body of a message to majordomo@vger.kernel.org
    More majordomo info at  http://vger.kernel.org/majordomo-info.html
    Please read the FAQ at  http://www.tux.org/lkml/
    
    
    \
     
     \ /
      Last update: 2007-04-07 03:59    [from the cache]
    ©2003-2008