Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 61651 - SCSI interface is limited to 15 device nodes per block device
Summary: SCSI interface is limited to 15 device nodes per block device
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Release Media
Classification: Unclassified
Component: Everything (show other bugs)
Hardware: All Linux
: High enhancement
Assignee: Sven Vermeulen (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-08-25 09:24 UTC by imagination
Modified: 2005-03-25 11:25 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description imagination 2004-08-25 09:24:06 UTC
Gentoo2004.2 cannot be installed if more than
15 partitions are present: devfsd creates only sda1..sda15.
I have 25 partitions (showing up in fdisk as sda1 ... sda25).
Gentoo good bye for this scenario?

Reproducible: Always
Steps to Reproduce:
1.Create/use more than 15 partitions.
2.ls /dev/sda*
3.

Actual Results:  
I must give up the installation.

Expected Results:  
Create sda1 ... sda25 (/dev/ide/*.(part1..part25)
Comment 1 Chris Gianelloni (RETIRED) gentoo-dev 2004-08-25 10:05:22 UTC
Simple Answer: MAKEDEV sda

Long Answer: Edit /etc/devfsd.conf to increase this number

I'm going to mark this as WONTFIX simply because the "standard" is to only create 16 devices per scsi block device, one for the device itself, and 15 "partition" devices.  This is not limited to devfs or udev.  For IDE devices, the limit is 20, so even under that interface you would be well above the "normal" limit and would be required to make device nodes yourself.
Comment 2 imagination 2004-08-25 12:40:01 UTC
>> Simple Answer: MAKEDEV sda
   Too simple?
   cd /dev
   /sbin/MAKEDEV sda
   .devfsd presence implies active DevFS. Aborting MAKEDEV invocation

>> Long Answer: Edit /etc/devfsd.conf to increase this number
   Not long enough? 
   For nonexperienced people a hint which line should be added/modified
   in /etc/devfsd.conf to achieve the desired result would be
   VERY helpful.
Comment 3 Chris Gianelloni (RETIRED) gentoo-dev 2004-08-25 15:06:23 UTC
Great... but I marked this WONTFIX, which means that I WON'T FIX IT... there's no reason to REOPEN the bug.

I don't know how to do the devfsd edits myself, but there is a great wealth of devfsd documentation out there for you to enjoy, including the man page and web pages such as http://www.atnf.csiro.au/people/rgooch/linux/docs/devfs.html can be helpful.  There is also the Gentoo DevFS guide, http://www.gentoo.org/doc/en/devfs-guide.xml for you to peruse.
Comment 4 Chris Gianelloni (RETIRED) gentoo-dev 2004-08-25 15:07:04 UTC
...and closing.
Comment 5 imagination 2004-08-25 22:08:09 UTC
Still greater! Neither of the documentation you quote covers this
issue in a transparent manner. And here is what you can find in the web:

    Unfortunatly this isn't going to work.  The 15 partition limit is at a
    pretty basic level going all the way to the sc.c code in the kernel.
    While Devfs CAN dynamicly allowcate device "names" the driver for the
    device has to support it and it is not compatible with using Major Minor
    numbers at all.  The linux scsi drivers just doesn't support this, and
    re-writing the source is beyond my ambitions and ability. It would also
    probably break all sorts of apps that assume Major Minor device names.

WONTFIX is ok, but I would propose to include some hints for resulving
this problem into the installation handbook or the Gentoo DevFS guide
you mentioned.
Comment 6 Chris Gianelloni (RETIRED) gentoo-dev 2004-08-26 04:36:45 UTC
Fine
Comment 7 Chris Gianelloni (RETIRED) gentoo-dev 2004-08-26 04:37:55 UTC
Docs: please make a note that it is impossible to have more than 15 partitions on any single SCSI (or SATA) block device.
Comment 8 Sven Vermeulen (RETIRED) gentoo-dev 2004-08-29 05:17:23 UTC
Fixed in CVS.
Comment 9 Chris Gianelloni (RETIRED) gentoo-dev 2005-03-25 11:25:11 UTC
Moving these so we can remove the "Install CD" component from "Gentoo Linux".

I apologize to everyone for this spam, but according to the bugzilla developers,
this is the only reasonable way to do this.