NetBSD-Users archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: scsibus(4) limits



Hi,

> I am still trying to use disk array on NetBSD. It seems
> that NetBSD is not capable to find devices with LUN number
> higher than 7. Is that scsibus limitation or driver limitation
> or /dev limitation?
> 
> isp0 at pci2 dev 0 function 0: QLogic FC-AL and 4Gbps Fabric PCI-E HBA
> isp0: interrupting at ioapic0 pin 16

Guessing that this line is the problem:

  https://nxr.netbsd.org/xref/src/sys/dev/ic/isp_netbsd.c#140
    isp->isp_osinfo.chan[i].chan_nluns = uimin(isp->isp_maxluns, 8);

Can you try increasing that?  We probably need to increase the value for
FC-AL targets, and not hardcode it to 8.

Regards,

Julian


Home | Main Index | Thread Index | Old Index