Linux - GeneralThis Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
I know the new kernel releases show ide devices as sd (versus hd). This is fine, but I am forced to customize our installation and am starting with defconfig. I found this initial configuration does not have the mapping of hd devices to sd.
My question is, in the kernel configuration, what must I enable to get this mapping back? I am using 2.6.23 source.
Think this is right - was reading about this the other day - think it's persistent block device names
Quote:
Don't know the option name - all I know is that some kernel releases ago IDE drives moved to a new "architecture" called libata, common with SATA. If it's enabled, they're sdX, if they use a legacy option, it's hdX.
Builds in ATA support into libsas. Will necessitate
the loading of libata along with libsas.
Symbol: SCSI_SAS_ATA [=n]
Prompt: ATA support for libsas (requires libata)
Defined at drivers/scsi/libsas/Kconfig:33
Depends on: SCSI && SCSI_SAS_LIBSAS && (ATA=y || ATA=SCSI_SAS_LIBSAS)
Location:
-> Device Drivers
-> SCSI device support
-> SCSI Transports
-> SAS Domain Transport Attributes (SCSI_SAS_LIBSAS [=m])
This is one that still tickles me,unanswered mystery of linux kernel,lol...
maybe kernel hackers and linux uber-geeks know the answer.
Tried centos 5 and arch linux 2007.8 while ago, both use sdX for my pata harddisks.
Currently using slackware 12 with stock kernel 2.6.22 , uses hdX instead.
So slackware 12 still uses that mysterious legacy option, right? whatever...
it's nice if someone could give correct answer,though
--edit--
did some browsing,
getting clearer
but i'm still not sure which config option in .config.
Hmm, it appears that Suse 10.3 has an option to select the desired mode. I actually wrote it down while installing but now I can't find it anymore.
Whether it will actually mean that you get hd instead of sd is something that I don't know. You will be able to access more than 15 partitions, though, which implies that it does behave like it did with the older driver.
Hmm, it appears that Suse 10.3 has an option to select the desired mode. I actually wrote it down while installing but now I can't find it anymore.
Whether it will actually mean that you get hd instead of sd is something that I don't know. You will be able to access more than 15 partitions, though, which implies that it does behave like it did with the older driver.
Hi, I can help you here as I multiboot Suse 10.3.
The libata library does indeed relabel any IDE hard drives from hdx to sdx, however in addition it places a limit of the first 15 scsi partitions.
This is of course useless if you have more than 15 partitions as anything after 15 is ignored.
The temporay fix for Suse 10 is to add
hwprobe=-modules.pata
to the boot prompt, or append the text to the end of your grub prompt, for a permanent solution.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.