[3403] in linux-scsi channel archive

home help back first fref pref prev next nref lref last post

Re: aic7xxx-5.0.7 for 2.1 SMP kernels, Problem and Solution?

daemon@ATHENA.MIT.EDU (Doug Ledford)
Wed Feb 25 05:16:12 1998

Date: 	Wed, 25 Feb 1998 00:39:33 -0600
From: Doug Ledford <dledford@dialnet.net>
To: Steve Hsieh <steveh@eecs.umich.edu>
CC: David Woodhouse <Dave@imladris.demon.co.uk>, linux-kernel@vger.rutgers.edu,
        linux-scsi@vger.rutgers.edu,
        Bernhard Rosenkraenzer <bero@bero-online.ml.org>

Steve Hsieh wrote:
> 
> Hi Bernhard, David,
> 
> If you recall, aic7xxx-5.0.7 for 2.1 SMP was not working on my quad PPro
> Dell Poweredge 6100 with two onboard aic7xxx controllers for SMP 2.1.88.
> When I boot up, I got the message "Unable to handle kernel NULL pointer
> dereference at virtual address 00000021" and then a kernel Ooops.

[ large portion snipped ]

That was an oversight on my part.  Change the code at 7527 from:
            if ( PCI_SLOT(temp_p->pci_device_fn) ==
                 PCI_SLOT(current_p->pci_device_fn) )
to:
            if ( (current_p) &&
                 (PCI_SLOT(temp_p->pci_device_fn) ==
                  PCI_SLOT(current_p->pci_device_fn)) )

and that should solve the problem (updated in my sources now).

-- 

 Doug Ledford  <dledford@dialnet.net>
  Opinions expressed are my own, but
     they should be everybody's.

-
To unsubscribe from this list: send the line "unsubscribe linux-scsi" in
the body of a message to majordomo@vger.rutgers.edu

home help back first fref pref prev next nref lref last post