lkml.org 
[lkml]   [2003]   [Feb]   [27]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectProblem with compact flash as slave device

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.
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/

\
 
 \ /
  Last update: 2005-03-22 13:33    [W:0.046 / U:1.340 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site