Gentoo Logo
Gentoo Spaceship




Note: Due to technical difficulties, the Archives are currently not up to date. GMANE provides an alternative service for most mailing lists.
c.f. bug 424647
List Archive: gentoo-user
Navigation:
Lists: gentoo-user: < Prev By Thread Next > < Prev By Date Next >
Headers:
To: gentoo-user@g.o
From: "Daniel da Veiga" <danieldaveiga@...>
Subject: Re: Extra IDE card, drives out of order
Date: Wed, 1 Mar 2006 16:22:41 -0300
On 3/1/06, Wes Gray <smiths@...> wrote:
> I added an extra IDE controller card so I could get a 5th drive.  It's a
> Silicon Image chipset (CONFIG_BLK_DEV_SIIMAGE).  When I boot into the kernel
> with the module included the kernel sees the IDE channels on the new card as
> the first ones and the existing IDE channels on my motherboard as the
> additional ones.  So to the new kernel it sees:
>

Are you using udev? If so, you can use rules to define what you need.
Check:
http://www.gentoo.org/doc/en/udev-guide.xml and
http://reactivated.net/writing_udev_rules.html

They helped me a lot...

> /dev/hda (newly added drive)
> /dev/hdb (no drive)
> /dev/hdc (no drive)
> /dev/hdd (no drive)
> /dev/hde (my old /dev/hda)
> /dev/hdf (my old /dev/hdb)
> /dev/hdg (my old /dev/hdc)
> /dev/hdh (my old /dev/hdd)
>
> The kernel tries to boot off the first drive on the new controller card
> instead of my boot drive, which is odd because the kernel that is running is
> read off of my old /dev/hda which the new kernel sees as /dev/hde.  So the
> BIOS and Grub see them in the correct order.  Hope that makes sense.  Perhaps

For grub the (hd0,0) entry is always the device the BIOS is booting.
So, its not strange, its default behavior.

> I could fix the problem by moving all of my drives to the new IDE card, not
> sure and that's not my preferred solution.  My kernel is vanilla 2.6.15.1.
>

You shouldn't, try booting from a LiveCD or so and writting your rules...

> Thanks for any help.
> --
> gentoo-user@g.o mailing list
>
>


--
Daniel da Veiga
Computer Operator - RS - Brazil
-----BEGIN GEEK CODE BLOCK-----
Version: 3.1
GCM/IT/P/O d-? s:- a? C++$ UBLA++ P+ L++ E--- W+++$ N o+ K- w O M- V-
PS PE Y PGP- t+ 5 X+++ R+* tv b+ DI+++ D+ G+ e h+ r+ y++
------END GEEK CODE BLOCK------

-- 
gentoo-user@g.o mailing list


Replies:
Re: Extra IDE card, drives out of order
-- Wes Gray
References:
Extra IDE card, drives out of order
-- Wes Gray
Navigation:
Lists: gentoo-user: < Prev By Thread Next > < Prev By Date Next >
Previous by thread:
Extra IDE card, drives out of order
Next by thread:
Re: Extra IDE card, drives out of order
Previous by date:
Re: ALSA OSS modules not found
Next by date:
Re: Extra IDE card, drives out of order


Updated May 04, 2012

Summary: Archive of the gentoo-user mailing list.

Donate to support our development efforts.

Copyright 2001-2013 Gentoo Foundation, Inc. Questions, Comments? Contact us.