mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: Nick Popoff <lkml@tre.bloodletting.com>
To: linux-kernel@vger.kernel.org
Subject: Problem with compact flash as slave device
Date: Thu, 27 Feb 2003 15:11:32 -0800	[thread overview]
Message-ID: <118.42.1046387492508@tre.bloodletting.com> (raw)


I'm unable to boot Linux if a compact flash disk is present as a slave
device on the same IDE chain as the Linux hard disk.  The kernel boots
from /dev/hda1 as normal, but (incorrectly) attempts to use the CF disk
on /dev/hdb as the root disk.  During the boot sequence both the primary
IDE hard drive and the secondary compact flash disk are detected. 
However, the kernel only displays partition information for the slave
flash disk.  The problem occurs whether the complact flash slave is
blank or DOS partitioned.

I've tried lilo and kernel boot options "root=/dev/hda1" and "hdb=flash"
without success.  The kernel insists on using the CF slave as root if it
is present.

I'm running stock Red Hat 8 with a 2.4.18-24.8.0 kernel on a P3 866Mhz
desktop.  Linux is installed on an IDE hard drive, and an adaptor is
used to connect the compact flash disk as a slave device on the same
chain.  The CF disk is from SilliconTech and uses a standard IDE
interface with no special drivers required.  

This is not as wierd as it sounds!  I'm developing for a PC/104 embedded
system where CF slave disks are useful as field upgradable removable
storage.  This problem is also occuring on our PC/104 SBC.

If I use a DOS, QNX 6, or WinNT hard disk as the primary device instead
of my Linux disk, these systems boot without a problem and are able to
format and access the compact flash slave disk with no errors.

I spent several hours today troubleshooting this and searching Google
for a solution with no luck.  I found several other people discussing
similar problems but no working solutions.  For example:

http://marc.theaimsgroup.com/?l=linux-kernel&m=100446144028502

Any advice would be much appreciated!  Thanks.

             reply	other threads:[~2003-02-27 23:01 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2003-02-27 23:11 Nick Popoff [this message]
2003-02-28  0:26 ` Alan Cox

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=118.42.1046387492508@tre.bloodletting.com \
    --to=lkml@tre.bloodletting.com \
    --cc=linux-kernel@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®