* [gentoo-user] Extra IDE card, drives out of order
@ 2006-03-01 18:52 Wes Gray
2006-03-01 19:22 ` Daniel da Veiga
2006-03-01 19:49 ` Peter Ruskin
0 siblings, 2 replies; 5+ messages in thread
From: Wes Gray @ 2006-03-01 18:52 UTC (permalink / raw
To: gentoo-user
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:
/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
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.
Thanks for any help.
--
gentoo-user@gentoo.org mailing list
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: [gentoo-user] Extra IDE card, drives out of order
2006-03-01 18:52 [gentoo-user] Extra IDE card, drives out of order Wes Gray
@ 2006-03-01 19:22 ` Daniel da Veiga
2006-03-01 19:52 ` Wes Gray
2006-03-01 19:49 ` Peter Ruskin
1 sibling, 1 reply; 5+ messages in thread
From: Daniel da Veiga @ 2006-03-01 19:22 UTC (permalink / raw
To: gentoo-user
On 3/1/06, Wes Gray <smiths@alumni.cse.ucsc.edu> 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@gentoo.org 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@gentoo.org mailing list
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: [gentoo-user] Extra IDE card, drives out of order
2006-03-01 18:52 [gentoo-user] Extra IDE card, drives out of order Wes Gray
2006-03-01 19:22 ` Daniel da Veiga
@ 2006-03-01 19:49 ` Peter Ruskin
2006-03-01 20:04 ` Wes Gray
1 sibling, 1 reply; 5+ messages in thread
From: Peter Ruskin @ 2006-03-01 19:49 UTC (permalink / raw
To: gentoo-user
On Wednesday 01 March 2006 18:52, Wes Gray 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.
Remove the new card and drives then rebuild your kernel. What
you're looking for is IDE chipset support/bugfixes -> boot offboard
first (make sure this is not set).
--
Peter
========================================================================
Gentoo Linux: Portage 2.0.54. kernel-2.6.15-gentoo-r5.
i686 AMD Athlon(tm) XP 3200+. gcc(GCC): 3.4.5.
KDE: 3.5.1. Qt: 3.3.4.
========================================================================
--
gentoo-user@gentoo.org mailing list
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: [gentoo-user] Extra IDE card, drives out of order
2006-03-01 19:22 ` Daniel da Veiga
@ 2006-03-01 19:52 ` Wes Gray
0 siblings, 0 replies; 5+ messages in thread
From: Wes Gray @ 2006-03-01 19:52 UTC (permalink / raw
To: gentoo-user
On Wed, Mar 01, 2006 at 04:22:41PM -0300, Daniel da Veiga wrote:
> 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
I don't think that will work. The rules would reside in /etc on my boot drive,
and the kernel would never see them because it isn't seeing the boot drive
as the boot drive, it sees it as /dev/hde. I think the change has to be
something in the kernel.
--
gentoo-user@gentoo.org mailing list
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: [gentoo-user] Extra IDE card, drives out of order
2006-03-01 19:49 ` Peter Ruskin
@ 2006-03-01 20:04 ` Wes Gray
0 siblings, 0 replies; 5+ messages in thread
From: Wes Gray @ 2006-03-01 20:04 UTC (permalink / raw
To: gentoo-user
On Wed, Mar 01, 2006 at 07:49:33PM +0000, Peter Ruskin wrote:
> Remove the new card and drives then rebuild your kernel. What
> you're looking for is IDE chipset support/bugfixes -> boot offboard
> first (make sure this is not set).
I didn't have that set.
--
gentoo-user@gentoo.org mailing list
^ permalink raw reply [flat|nested] 5+ messages in thread
end of thread, other threads:[~2006-03-01 20:11 UTC | newest]
Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2006-03-01 18:52 [gentoo-user] Extra IDE card, drives out of order Wes Gray
2006-03-01 19:22 ` Daniel da Veiga
2006-03-01 19:52 ` Wes Gray
2006-03-01 19:49 ` Peter Ruskin
2006-03-01 20:04 ` Wes Gray
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox