
Hi,
Not a grml specific question, but trying to tap into the knowledge from people here:
Can udev handle more than 15 devices?
My HD used to have 15 partitions, now I created another one, the 16th, but it is not recognized by udev. I.e., there is no /dev/sda16.
If I created it myself, like the following,
$ ls -l /dev/sda1* brw-rw---- 1 root disk 8, 1 12-03 12:31 /dev/sda1 brw-rw---- 1 root disk 8, 10 12-03 17:31 /dev/sda10 brw-rw---- 1 root disk 8, 11 12-03 17:31 /dev/sda11 brw-rw---- 1 root disk 8, 12 12-03 12:31 /dev/sda12 brw-rw---- 1 root disk 8, 13 12-03 17:31 /dev/sda13 brw-rw---- 1 root disk 8, 14 12-03 17:31 /dev/sda14 brw-rw---- 1 root disk 8, 15 12-03 17:31 /dev/sda15 brw-rw---- 1 root disk 8, 16 12-03 18:08 /dev/sda16
I still can't use it to mount the partition:
% mount /dev/sda16 /mnt/tmp1/ mount: /dev/sda16 is not a valid block device
Anything I've been missing?
thanks

On Sun, 03 Dec 2006 19:30:28 -0500, T wrote:
My HD used to have 15 partitions, now I created another one, the 16th, but it is not recognized by udev.
Just a proof that no problem with adding the 16th partition:
$ sfdisk -V /dev/sda /dev/sda: OK
$ sfdisk -l | grep sda16 /dev/sda16 23509+ 24791 1283- 10305666 c W95 FAT32 (LBA)
Further, my Win2k accesses the sda16 without any problem.
$ dd if=/dev/sda16 of=/dev/null bs=512 count=1 dd: opening `/dev/sda16': No such device or address

* T mlist4suntong@yahoo.com [20061204 03:15]:
On Sun, 03 Dec 2006 19:30:28 -0500, T wrote:
My HD used to have 15 partitions, now I created another one, the 16th, but it is not recognized by udev.
Just a proof that no problem with adding the 16th partition:
$ sfdisk -V /dev/sda /dev/sda: OK
$ sfdisk -l | grep sda16 /dev/sda16 23509+ 24791 1283- 10305666 c W95 FAT32 (LBA)
Further, my Win2k accesses the sda16 without any problem.
$ dd if=/dev/sda16 of=/dev/null bs=512 count=1 dd: opening `/dev/sda16': No such device or address
Such a limit does not exist for udev:
root@grml ~ # ls -la /dev/hda* brw-rw---- 1 root disk 3, 0 2006-12-04 12:25 /dev/hda brw-rw---- 1 root disk 3, 1 2006-12-04 12:25 /dev/hda1 brw-rw---- 1 root disk 3, 10 2006-12-04 12:25 /dev/hda10 brw-rw---- 1 root disk 3, 11 2006-12-04 12:25 /dev/hda11 brw-rw---- 1 root disk 3, 12 2006-12-04 12:25 /dev/hda12 brw-rw---- 1 root disk 3, 13 2006-12-04 12:25 /dev/hda13 brw-rw---- 1 root disk 3, 14 2006-12-04 12:25 /dev/hda14 brw-rw---- 1 root disk 3, 15 2006-12-04 12:25 /dev/hda15 brw-rw---- 1 root disk 3, 16 2006-12-04 12:25 /dev/hda16 brw-rw---- 1 root disk 3, 17 2006-12-04 12:25 /dev/hda17 brw-rw---- 1 root disk 3, 18 2006-12-04 12:25 /dev/hda18 brw-rw---- 1 root disk 3, 19 2006-12-04 12:25 /dev/hda19 brw-rw---- 1 root disk 3, 20 2006-12-04 12:25 /dev/hda20 brw-rw---- 1 root disk 3, 21 2006-12-04 12:25 /dev/hda21 brw-rw---- 1 root disk 3, 22 2006-12-04 12:25 /dev/hda22 brw-rw---- 1 root disk 3, 23 2006-12-04 12:25 /dev/hda23 brw-rw---- 1 root disk 3, 5 2006-12-04 12:25 /dev/hda5 brw-rw---- 1 root disk 3, 6 2006-12-04 12:25 /dev/hda6 brw-rw---- 1 root disk 3, 7 2006-12-04 12:25 /dev/hda7 brw-rw---- 1 root disk 3, 8 2006-12-04 12:25 /dev/hda8 brw-rw---- 1 root disk 3, 9 2006-12-04 12:25 /dev/hda9 root@grml ~ # grml-version 0.9-rc2 Release Codename Dioptrienotto [2006-12-04] root@grml ~ # uname -a Linux grml 2.6.18-grml #1 SMP PREEMPT Sun Nov 26 00:20:04 CET 2006 i686 GNU/Linux root@grml ~ #
Did you modify anything in the partition table of the disk? If so you must make sure that no partition of the disk is use, otherwise the BLKRRPART ioctl() fails of course and new devices won't be created therefore. (That's BTW the main reason why we chose to deactivate swap partitions by default for the new release of the live-cd.)
regards, -mika-

On Mon, 04 Dec 2006 11:31:15 +0100, Michael Prokop wrote:
My HD used to have 15 partitions, now I created another one, the 16th, but it is not recognized by udev [...]
Further, my Win2k accesses the sda16 without any problem.
Such a limit does not exist for udev:
root@grml ~ # ls -la /dev/hda*
Thanks for the respond mika. glad to know that. The difference is mine is sda and yours is hda.
I think the answer I get from gmane.linux.debian.user by Greg Folkert is right, my SATA is recognized as SCSI device, which limits to 15 partitions by SCSI Standard.
However, both responds from gmane.linux.debian.user implied that the sda16 should be recognized as sdb (under both linux & windows). any idea?

* T mlist4suntong@yahoo.com [20061204 23:15]:
On Mon, 04 Dec 2006 11:31:15 +0100, Michael Prokop wrote:
My HD used to have 15 partitions, now I created another one, the 16th, but it is not recognized by udev [...]
[...]
Such a limit does not exist for udev: root@grml ~ # ls -la /dev/hda*
Thanks for the respond mika. glad to know that. The difference is mine is sda and yours is hda.
I think the answer I get from gmane.linux.debian.user by Greg Folkert is right, my SATA is recognized as SCSI device, which limits to 15 partitions by SCSI Standard.
Ah right.
However, both responds from gmane.linux.debian.user implied that the sda16 should be recognized as sdb (under both linux & windows). any idea?
It's a limit of the kernel.
A possible solution might be the patch from:
http://lwn.net/Articles/110426/
But we have to review and test that one. It's on the todolist: http://bts.grml.org/grml/issue42 - but it's definitely queued for post 0.9, we had the full freeze for grml 0.9 and grml-small 0.3 right in those minutes. And 2.6.19 will have some further changes due to Libata PATA merge as well....
regards, -mika-

On Mon, 04 Dec 2006 23:50:16 +0100, Michael Prokop wrote:
A possible solution might be the patch from:
http://lwn.net/Articles/110426/
But we have to review and test that one. It's on the todolist: http://bts.grml.org/grml/issue42
thanks for the info and putting it into todo.
but it's definitely queued for post 0.9, we had the full freeze for grml 0.9 and grml-small 0.3
NP. I can wait.
grml-small 0.3? I heard the plan in mlist, but last time I tried, didn't find any info at wiki or planet grml. Any new write-ups?
thanks

* T mlist4suntong@yahoo.com [20061205 02:15]:
On Mon, 04 Dec 2006 23:50:16 +0100, Michael Prokop wrote:
but it's definitely queued for post 0.9, we had the full freeze for grml 0.9 and grml-small 0.3
NP. I can wait.
grml-small 0.3? I heard the plan in mlist, but last time I tried, didn't find any info at wiki or planet grml. Any new write-ups?
Due to bad timing we haven't had an official announcement, but grml-small 0.3-rc1 is on the mirrors already. Just go to http://grml.org/download/ - chose one mirror and switch to the directory named 'devel' to find 0.3-rc1.
I'm working on the stable releases already (any feedback regarding the release candidates is highly appreciated!), just have to run some more tests and prepare the release announcements.
regards, -mika-

On Tue, 05 Dec 2006 09:33:59 +0100, Michael Prokop wrote:
grml-small 0.3? I heard the plan in mlist, but last time I tried, didn't find any info at wiki or planet grml. Any new write-ups?
Due to bad timing we haven't had an official announcement, but grml-small 0.3-rc1 is on the mirrors already. Just go to http://grml.org/download/ - chose one mirror and switch to the directory named 'devel' to find 0.3-rc1.
wow, yes, it was there since 03-Dec-2006. 57M. A bit bigger than previous release.
I'm working on the stable releases already (any feedback regarding the release candidates is highly appreciated!), just have to run some more tests and prepare the release announcements.
Thanks for the hard work. Hope to hear the good news from you soon.
Teilnehmer (2)
-
Michael Prokop
-
T