Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 228107 - Handbook fstab example incorrectly lists first IDE drive as 'sda' on Sun Ultra5
Summary: Handbook fstab example incorrectly lists first IDE drive as 'sda' on Sun Ultra5
Status: RESOLVED INVALID
Alias: None
Product: [OLD] Docs on www.gentoo.org
Classification: Unclassified
Component: Installation Handbook (show other bugs)
Hardware: Sparc Linux
: High normal (vote)
Assignee: Docs Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-06-18 15:27 UTC by Matt M
Modified: 2011-09-11 00:59 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 Matt M 2008-06-18 15:27:21 UTC
Gentoo Installation Handbook for SPARC platforms assumes that IDE drives will show up as sda. However, even with kernel-2.6.23-xxx, an Ultra5 with the CMD646 controller will show the first drive as 'hda'. 

Reproducible: Always

Steps to Reproduce:
1. Follow the SPARC installation handbook when installing an Ultra5. 
2. Use /dev/sda[ ] for the partitions.
3.

Actual Results:  
I never tried booting the system with /etc/fstab using /dev/sda because I caught the discrepancy while still installing. I imagine, however, that the system would've failed to boot. 

Expected Results:  
If I'm right (hey, it's a long shot, but...) and for some reason CMD646 controllers still show drives as hda, the guide may want to include a note that systems using that controller will still display drives in the old way.
Comment 1 nm (RETIRED) gentoo-dev 2008-06-18 21:46:28 UTC
The document mentions how devicenames work -- if you're using the recommended libata framework, then all hard drives will be /dev/sd*. Only if you're using the old block device framework will they show up as /dev/hd*.
Comment 2 Matt M 2008-06-19 08:32:49 UTC
It is in fact covered in the handbook. Apologies!
Comment 3 Alex Nagy 2011-09-10 20:48:39 UTC
(In reply to comment #1)
> The document mentions how devicenames work -- if you're using the recommended
> libata framework, then all hard drives will be /dev/sd*. Only if you're using
> the old block device framework will they show up as /dev/hd*.

I know this is marked as resolved/invalid and is 3 years old, but I'm encountering this same issue  on an AMD Sempron (K8) system using the 20110811 minimal cd, most recent portage snapshot (2011-09-02) and I'm still encountering this error. I've used 'make menuconfig' and 'genkernel all' to configure my kernel with the same results. livecd refers to them as sda#, as does fdisk, but upon boot the entries in fstab are said to be invalid.
Comment 4 nm (RETIRED) gentoo-dev 2011-09-11 00:59:36 UTC
(In reply to comment #3)

> I know this is marked as resolved/invalid and is 3 years old, but I'm
> encountering this same issue  on an AMD Sempron (K8) system using the 20110811
> minimal cd, most recent portage snapshot (2011-09-02) and I'm still
> encountering this error. I've used 'make menuconfig' and 'genkernel all' to
> configure my kernel with the same results. livecd refers to them as sda#, as
> does fdisk, but upon boot the entries in fstab are said to be invalid.

--> http://forums.gentoo.org for more support, please.