More than 128 SCSI devices...

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

 



I was just looking through devnodes.c in isys/ and I noticed there's a snip of code that looks like:

int devMakeInode(char * devName, char * path) {
...
        } else
            drive = devName[2] - 'a';
        /* only 128 SCSI drives, sorry */
        if (drive > 128)
            return -1;
        else if (drive < 16)
...


Why the restriction on 128 drives? Shouldn't we be able to support 256 drives? I've been bumping up against this when booting certain machines with SAN attached to them and a motherload of LUNs. Anaconda freaks out and says:

Waiting for the X Server to start... log located in /tmp/X.log
1...2...3...4...5... X server started successfully.
Traceback (most recent call last):

  File "/usr/bin/anaconda", line 1016, in ?
    iutil.makeDriveDeviceNodes()
  File "/usr/lib/anaconda/iutil.py", line 415, in makeDriveDeviceNodes
    isys.makeDevInode (drive, "/dev/%s" % (drive,))
  File "/usr/lib/anaconda/isys.py", line 372, in makeDevInode
    _isys.mkdevinode(name,fn)

  System Error : (2, 'no such file or directory')
  install exited abnormally
  sending termination signals ... done
  sending kill signals ... done
  disabling swap ...
  unmounting filesystem ...
       /mnt/runtime done
       disabling /dev/loop0
       /proc/bus/usb done
       /proc done
       /dev/pts done
       /temp/ramfs done
       /mnt/source done
  You may safely reboot your system



[Index of Archives]     [Kickstart]     [Fedora Users]     [Fedora Legacy List]     [Fedora Maintainers]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [Yosemite Photos]     [KDE Users]     [Fedora Tools]
  Powered by Linux