View previous topic :: View next topic |
Author |
Message |
HellFace n00b
Joined: 17 May 2005 Posts: 44
|
Posted: Sun Jan 22, 2006 8:20 am Post subject: SATA drive is /dev/sda on install disk, /dev/hde on HD |
|
|
I have a single SATA HD. When I use the Gentoo install CD, I have to refer to it as /dev/sda. After getting Gentoo installed and (trying to) boot from HD, it no longer sees /dev/sda. However, I changed the name in fstab to /dev/hde and told grub.conf root=/dev/hde7 and now it loads up fine (although I still have to tell grub to boot (hd0,4)?) It works so it's not a major problem for me at the moment, but it is a sign that something is not configured correctly. Why would this happen and will it cause me problems in the future?
Thanks
(Oh yeah I'm using Linux x86_64 2.6.14-gentoo-r5) |
|
Back to top |
|
|
Marlo Veteran
Joined: 26 Jul 2003 Posts: 1591
|
Posted: Sun Jan 22, 2006 5:38 pm Post subject: |
|
|
In my system I have 2 hdx and 4 sdX (ok, and a stick) and grub shows only:
Code: | grub> root (hd #"tab" "tab"
Possible disks are: hd0 hd1 hd2 hd3 hd4 hd5 hd6
|
That is an error? I think no. It is a characteristic those here is described: Grub Error Collection [Part 4] [POST GRUB QUESTIONS HERE!].
Ma _________________ ------------------------------------------------------------------
http://radio.garden/ |
|
Back to top |
|
|
chrbecke Guru
Joined: 12 Jul 2004 Posts: 598 Location: Berlin - Germany
|
Posted: Sun Jan 22, 2006 5:48 pm Post subject: |
|
|
I'm not perfectly sure, but it might have to do with your kernel config. Looks like you don't use the (newer) libata drivers for your sata controller. Which kernel version do you use? What is the output of Code: | grep -i sata /usr/src/linux/.config |
Don't worry about grub, if it works, don't touch it. Grub has got it's own naming scheme for partitions, (hdx,y) [x,y numbers] has nothing to do with hdX [X is a letter]. for more info. |
|
Back to top |
|
|
SoylentGreen l33t
Joined: 19 Aug 2005 Posts: 904 Location: The Hostel
|
Posted: Wed Feb 22, 2006 12:30 pm Post subject: |
|
|
same here (sda from lifecd, hde after installation)
Code: |
localhost log # grep -i sata /usr/src/linux/.config
CONFIG_BLK_DEV_IDE_SATA=y
CONFIG_SCSI_SATA=y
CONFIG_SCSI_SATA_AHCI=y
# CONFIG_SCSI_SATA_SVW is not set
# CONFIG_SCSI_SATA_MV is not set
CONFIG_SCSI_SATA_NV=y
# CONFIG_SCSI_SATA_QSTOR is not set
# CONFIG_SCSI_SATA_PROMISE is not set
# CONFIG_SCSI_SATA_SX4 is not set
# CONFIG_SCSI_SATA_SIL is not set
# CONFIG_SCSI_SATA_SIL24 is not set
# CONFIG_SCSI_SATA_SIS is not set
# CONFIG_SCSI_SATA_ULI is not set
CONFIG_SCSI_SATA_VIA=y
# CONFIG_SCSI_SATA_VITESSE is not set
localhost log #
|
|
|
Back to top |
|
|
chrbecke Guru
Joined: 12 Jul 2004 Posts: 598 Location: Berlin - Germany
|
Posted: Fri Feb 24, 2006 9:09 am Post subject: |
|
|
SoylentGreen wrote: | same here (sda from lifecd, hde after installation)
Code: |
localhost log # grep -i sata /usr/src/linux/.config
CONFIG_BLK_DEV_IDE_SATA=y <----[1]----
CONFIG_SCSI_SATA=y
CONFIG_SCSI_SATA_AHCI=y <----[2a]---
# CONFIG_SCSI_SATA_SVW is not set
# CONFIG_SCSI_SATA_MV is not set
CONFIG_SCSI_SATA_NV=y <----[2b]---
# CONFIG_SCSI_SATA_QSTOR is not set
# CONFIG_SCSI_SATA_PROMISE is not set
# CONFIG_SCSI_SATA_SX4 is not set
# CONFIG_SCSI_SATA_SIL is not set
# CONFIG_SCSI_SATA_SIL24 is not set
# CONFIG_SCSI_SATA_SIS is not set
# CONFIG_SCSI_SATA_ULI is not set
CONFIG_SCSI_SATA_VIA=y <----[2c]---
# CONFIG_SCSI_SATA_VITESSE is not set
localhost log #
|
|
[1] This enables the old SATA support, disable it.
[2] Unless you've got three SATA controllers in your box, you will only need one of these three: if you've got an AHCI controller, choose [1a], if you've got a NVIDIA controller, choose [1b], if you've got a VIA controller, choose [1c]. |
|
Back to top |
|
|
SoylentGreen l33t
Joined: 19 Aug 2005 Posts: 904 Location: The Hostel
|
Posted: Fri Feb 24, 2006 2:50 pm Post subject: |
|
|
thx - works
one other thing.. hdparm claims the drive supports udma6, but i just get udma7. could it be, that udma7 is not supported by the board? its an nforce3 chipset with S-ATA onboard. |
|
Back to top |
|
|
chrbecke Guru
Joined: 12 Jul 2004 Posts: 598 Location: Berlin - Germany
|
Posted: Mon Feb 27, 2006 8:55 pm Post subject: |
|
|
Hmm, that's strange - I thought you couldn't tweak dma settings for SATA drives!?
Can you post the hdparm commands (incl. output)? |
|
Back to top |
|
|
SoylentGreen l33t
Joined: 19 Aug 2005 Posts: 904 Location: The Hostel
|
Posted: Tue Feb 28, 2006 10:20 am Post subject: |
|
|
chrbecke wrote: | Hmm, that's strange - I thought you couldn't tweak dma settings for SATA drives!?
Can you post the hdparm commands (incl. output)? |
Code: |
hda_args="-d1"
sda_args="-d1"
|
btw.. i meanwhile figured udma7 is S-ATA2, so udma6 is all i get - thats ok.
Code: |
dev/sda:
ATA device, with non-removable media
Model Number: SAMSUNG SP2504C
Serial Number: xxxxxxxxxxxxxx
Firmware Revision: VT100-33
Standards:
Supported: 7 6 5 4
Likely used: 7
[...]
Capabilities:
LBA, IORDY(can be disabled)
Queue depth: 32
Standby timer values: spec'd by Standard, no device specific minimum
R/W multiple sector transfer: Max = 16 Current = 16
Recommended acoustic management value: 254, current value: 254
DMA: mdma0 mdma1 mdma2 udma0 udma1 udma2 udma3 udma4 udma5 *udma6 udma7
Cycle time: min=120ns recommended=120ns
PIO: pio0 pio1 pio2 pio3 pio4
Cycle time: no flow control=120ns IORDY flow control=120ns
|
Code: |
hdparm -tT /dev/sda
/dev/sda:
Timing cached reads: 2800 MB in 2.00 seconds = 1398.81 MB/sec
Timing buffered disk reads: 200 MB in 3.02 seconds = 66.24 MB/sec
|
|
|
Back to top |
|
|
|