public inbox for gentoo-user@lists.gentoo.org
 help / color / mirror / Atom feed
From: Alan Mackenzie <acm@muc.de>
To: gentoo-user@lists.gentoo.org
Subject: Re: [gentoo-user] Re: mount: "special device /dev/hdc does not exist". What does this mean?
Date: Sun, 20 Jul 2008 15:05:10 +0000	[thread overview]
Message-ID: <20080720150510.GA1051@muc.de> (raw)
In-Reply-To: <g5tmbi$u37$1@ger.gmane.org>

Hi, Nikos!

On Sun, Jul 20, 2008 at 12:29:19AM +0300, Nikos Chantziaras wrote:
> Alan Mackenzie wrote:
> >>The default in new kernels is to only use /dev/sd*.

> >I'm totally confused.  Doesn't "sd*" mean "SCSI disk drive"?  When I was
> >installing Gentoo from the CD, I had to mount my main hard drive as
> >/dev/sdb5.  When I built my own kernel, it needed /dev/hdh5.

> >This seems crazy.  Is it documented anywhere in Gentoo?

> Not sure.  But if you have /dev/hd* instead of /dev/sd*, it means you 
> configured your kernel with the legacy IDE drivers instead of the new 
> (P)ATA drivers.  The new drivers use /dev/sd* (for IDE/PATA/SATA and 
> SCSI alike; there's no difference anymore.)

This was indeed the case.

> The CD/DVD-ROM can show up as /dev/sd* even with the old legacy drivers 
> if you have enable "SCSI Emulation" for it.

> In any event, try to build a new kernel using the new drivers.  The old 
> legacy driver you're using will probably get declared "deprecated" at 
> some point (if it didn't happen already).

[ Detailed instructions snipped - but they were appreciated and followed
:-]

Did this.  It mapped my two hard drives (previously /dev/hd[gh]) to
/dev/sd[ab], and created /dev/sda, dev/sda1, .....  So far, so good.

However, it hadn't created /dev/sda16 or /dev/sda17 for some reason.  A
quick # ls -l /dev/sd{a15,b} gives:

... 8, 15  /dev/sda15
... 8, 16  /dev/sdb

In a philosophical mood, one might say that the new "unified",
"enhanced", "better" IDE support is inadequate for my setup.  What I
actually said, I'm not going to repeat in a public mailing list.

So the kernel guys have decided that nobody would ever want more than 15
partitions on a drive.  It's a bit like the old MS-DOS restriction to 512
MB all over again.  Hey, guys, hard drives nowadays are like 200 gig, not
512meg.  What's so wrong about having partitions with sizes 1Gb, 2Gb, 4Gb,
with maybe 100Mb for a boot partition?

>    < >   Generic ATA support

> unless you can't find a native driver for your chipset (I doubt you have 
> some extremely rare/exotic mainboard ;)

The HPT370A UDMA100 chip (with my two hard drives) was no problem.  For
the VIA VT82C586A/B/VT82C686/A/B/VT823x/A/C "ordinary" IDE chip (the one
with my two DVD drives attached), I tried configuring "VIA", which
didn't work.  Then I rebuilt the kernel again with "Generic ATA
support", which didn't work either.

Both of these created /dev/sdc and /dev/sdc1, but no /dev/sdd.  When I
tried # mount -t iso9660 /dev/sdc /cdrom, I got the "something's gone
wrong, but we're not telling you what" error message.  Trying to mount
/dev/sdc1 gave exactly the same result.  Actually, thinking about it,
this was probably my USB stick it was trying to access.

Nikos, do you happen to know the appropriate kernel mailing list where I
could express the opinion that restricting the number of partitions on a
drive to 15 isn't a good tradeoff?

All in all, I really amn't impressed with this "modern" drive support.
Besides quartering the max number of partitions on a drive, it confuses
IDE and SCSI drives, thus confusing me, too.  Previously, when I
attached devices to the IDE1 socket, I knew they would appear at
/dev/hd[cd].  Now, it would seem, the kernel assigns drives at random to
/dev/sd[abcd...], so you can only determine by experiment which devices
are at which "device".  Nothing personal, Nikos.  ;-)

I think I need to go back to the traditional IDE handling.

None of the Gentoo kernels I've built have even seen my two DVD drives,
yet.  I'll get there, somehow.

Thanks!

-- 
Alan Mackenzie (Nuremberg, Germany).



  parent reply	other threads:[~2008-07-20 15:05 UTC|newest]

Thread overview: 28+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-07-19 18:51 [gentoo-user] mount: "special device /dev/hdc does not exist". What does this mean? Alan Mackenzie
2008-07-19 19:06 ` [gentoo-user] " Nikos Chantziaras
2008-07-19 21:12   ` Alan Mackenzie
2008-07-19 21:29     ` Nikos Chantziaras
2008-07-20 14:52       ` Mick
2008-07-20 19:11         ` Nikos Chantziaras
2008-07-20 19:25           ` Dale
2008-07-20 19:33             ` Nikos Chantziaras
2008-07-20 19:58               ` Dale
2008-07-20 20:27                 ` Nikos Chantziaras
2008-07-20 21:10                   ` Dale
2008-07-20 21:20                     ` Dale
2008-07-20 23:25                       ` Nikos Chantziaras
2008-07-20 20:12               ` Mick
2008-07-20 23:35                 ` Nikos Chantziaras
2008-07-21  6:56                   ` Neil Bothwick
2008-07-20 15:05       ` Alan Mackenzie [this message]
2008-07-20 17:22         ` Mick
2008-07-20 18:49           ` Alan Mackenzie
2008-07-20 18:48         ` Neil Bothwick
2008-07-20 20:10         ` Nikos Chantziaras
2008-07-20 18:54       ` [gentoo-user] Solved!!! [Re: mount: "special device /dev/hdc does not exist"] Alan Mackenzie
2008-07-19 19:11 ` [gentoo-user] mount: "special device /dev/hdc does not exist". What does this mean? Daniel Pielmeier
2008-07-19 21:41   ` Alan Mackenzie
2008-07-19 21:53     ` Daniel Pielmeier
2008-07-19 19:13 ` [gentoo-user] " Miernik
2008-07-19 21:22   ` Alan Mackenzie
2008-07-19 21:33     ` Graham Murray

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20080720150510.GA1051@muc.de \
    --to=acm@muc.de \
    --cc=gentoo-user@lists.gentoo.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox