Re: Need help on two issues from Linux Guru.

Doug Ledford (dledford@redhat.com)
Thu, 23 Sep 1999 12:19:21 -0400


Alan Cox wrote:
>
> > I am trying to make module run under SMP system (Viper with 8 CPUs) but
> > failed in loading process. System message:
> > ./hpfc: kernel was compiled for kernel version 2.2.5-15
> > while this kernel is version 2.2.5-15smp
>
> This is a non SMP module built against an SMP kernel. In this case its
> a Red Hat specific "accident trap". Add smp to the EXTRAVERSION flag sin
> the top make file
>
> I would actually suggest you pick up a newer kernel (2.2.12 say) and built
> that from scratch with your driver, rather than trying to build your modules
> without having a full kernel build tree to hand
>
> > those 10 tested devices. However, after successfully detected all 10
> > devices, only four device nodes are given to be accessible, sdb, sdc, sdd,
> > sde. Two of them from first HBA and two from the second.
>
> Very odd.
>
> > I also tried qlogic fibre channel HBA with 8 device connected. The result
> > is the same. Only four devices are accessible.
>
> I've actually had 8 disks on a qlogic FC without a problem.

This is the old "you have sd.o insmod'ed before the SCSI driver or compiled
directly into the kernel so it only finds as many drives as there were spare
disk structs when it init'ed" problem.

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

- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.rutgers.edu Please read the FAQ at http://www.tux.org/lkml/