public inbox for gentoo-sparc@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-sparc] which is the on-board IDE controller
@ 2006-12-16 16:20 张韡武
  2006-12-16 16:48 ` Fabian Hänsel
  0 siblings, 1 reply; 3+ messages in thread
From: 张韡武 @ 2006-12-16 16:20 UTC (permalink / raw
  To: gentoo-sparc

[-- Attachment #1: Type: text/plain, Size: 1643 bytes --]

Hello list! First Thank all of you very much for helped me solved so
many problems (e.g. prompt me for installing 2.6 kernel so that I can
use USB keyboard, pointing out I've linked to wrong profile and wrong
root directory permission etc).

After started to use 2.6 kernel I can no longer access the booting HDD
which was /dev/hda and connected to the on-board IDE controller.
        sappho ~ # mount -t ext2 /dev/hda1 /mnt
        mount: /dev/hda1 is not a valid block device

It seems I don't have proper driver for on-board IDE controller:
sappho ~ # mount -t ext2 /dev/hda1 /mnt
mount: /dev/hda1 is not a valid block device

I know only one method to tell what controller I have, which is lspci:
        sappho ~ # lspci
        [snip]
        01:03.0 IDE interface: Silicon Image, Inc. PCI0646 (rev 03)
        02:02.0 RAID bus controller: VIA Technologies, Inc. VT6421 IDE RAID Controller (rev 50)
        [snip]

It's clear '/' is mounted on SATA harddisk on RAID controller, so, it
seems the on-board IDE controller is Silicon Image's PCI0646, however I
do have the driver enabled in kernel:
        BLK_DEV_SIIMAGE=y

So this is rather strange to me, do I have to enable other kernel option
to be able to 'see' the booting harddisk?

-- 
锐业软服(国内业务)  http://www.realss.cn
Real SoftService      http://www.realss.com
销售咨询(Sales Department):    0086 592 20 99987 (Chinese, German,
English)
国际业务(International Sales): 0086 10 8460 6011 (German and English)
联系:厦门大学科技园,嘉庚二号楼6楼
邮政:厦门大学2312号信箱(邮编361005)

[-- Attachment #2: 这是信件的数字签名部分 --]
[-- Type: application/pgp-signature, Size: 189 bytes --]

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [gentoo-sparc] which is the on-board IDE controller
  2006-12-16 16:20 [gentoo-sparc] which is the on-board IDE controller 张韡武
@ 2006-12-16 16:48 ` Fabian Hänsel
  2006-12-17  6:15   ` 张韡武
  0 siblings, 1 reply; 3+ messages in thread
From: Fabian Hänsel @ 2006-12-16 16:48 UTC (permalink / raw
  To: gentoo-sparc

Hi 张韡武,

maybe your kernel just uses other names than the previous one? Do

  $ cat /proc/partitions

Maybe it lists the SATA drive as /dev/sda instead of hda before (sata
driver infrastructure in kernel evolved).

Another guess: did you compile your kernel with sun partition table
layout support?

Greetings,
  Fabian
-- 
gentoo-sparc@gentoo.org mailing list



^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [gentoo-sparc] which is the on-board IDE controller
  2006-12-16 16:48 ` Fabian Hänsel
@ 2006-12-17  6:15   ` 张韡武
  0 siblings, 0 replies; 3+ messages in thread
From: 张韡武 @ 2006-12-17  6:15 UTC (permalink / raw
  To: gentoo-sparc

[-- Attachment #1: Type: text/plain, Size: 1760 bytes --]

在 2006-12-16六的 17:48 +0100,Fabian Hänsel写道:
> Hi 张韡武,
> 
> maybe your kernel just uses other names than the previous one? Do
> 
>   $ cat /proc/partitions

sappho ~ # cat /proc/partitions
major minor  #blocks  name

   8     0  312570167 sda
   8     1     594373 sda1
   8     2    4811467 sda2
   8     3  307162800 sda3


> 
> Maybe it lists the SATA drive as /dev/sda instead of hda before (sata
> driver infrastructure in kernel evolved).

Ah, I am sorry I didn't explain this clear enough: I have a 320GB disk
as my main harddisk and a 5GB small harddisk as booting disk.
     I. The booting disk is 5GB IDE disk, directly connected to the
        on-board IDE controller, have sun disk label, should
        be /dev/hda, /dev/hda1 should be mounted on '/boot';
    II. The main disk is 320G SATA disk, connected to the PCI SATA RAID
        card which in turn connect on the PCI slot of motherboard. this
        disk have MSDOS label, have MSDOS partition and is recognised
        as /dev/sda. /dev/sda2 is mounted as '/';

Current problem is the system boots but do not seems to
recognise /dev/hda.

> 
> Another guess: did you compile your kernel with sun partition table
> layout support?

Yes I am sure the sun partition table layout support is enabled.
        CONFIG_SUN_PARTITION: y

> 
> Greetings,
>   Fabian
-- 
锐业软服(国内业务)  http://www.realss.cn
Real SoftService      http://www.realss.com
销售咨询(Sales Department):    0086 592 20 99987 (Chinese, German,
English)
国际业务(International Sales): 0086 10 8460 6011 (German and English)
联系:厦门大学科技园,嘉庚二号楼6楼
邮政:厦门大学2312号信箱(邮编361005)

[-- Attachment #2: 这是信件的数字签名部分 --]
[-- Type: application/pgp-signature, Size: 189 bytes --]

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2006-12-17  6:15 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2006-12-16 16:20 [gentoo-sparc] which is the on-board IDE controller 张韡武
2006-12-16 16:48 ` Fabian Hänsel
2006-12-17  6:15   ` 张韡武

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox