2000-11-07 17:59:29

by Steven_Snyder

[permalink] [raw]
Subject: Linux v2.2.17: IDE disk error on Compact Flash device



Hello.

When attempting to boot Linux kernel v2.2.17 from a Compact Flash (CF) device I
am getting the errors shown below. This CF device is in a PCMCIA form factor
and is the Master device on the secondary IDE controller

Before we get to the errors, though, a little background. I can reproduce this
boot error on 2 different systems, and have seen the same error messages
(non-booting) on a 3rd system. For both boot systems the CF device is the only
IDE device and is the Master on the secondary IDE controller (/dev/hdc). For
the non-booting system the device is in a PCMCIA slot (/dev/hde).

This is what I see at boot time:

ide1 at 0x170-0x177,0x376 on irq 15
hdc: SanDisk SDCFB-128, 122MB /w1kB Cache, CHS=980/8/32
Partition check:
hdc: hdc1 hdc2
hdc: hdc1 hdc2
hdc: drive_cmd: status=0x51 { DriveReady SeekComplete Error }
hdc: drive_cmd: error=0x04 { DriveStatusError }
hdc: hdc1 hdc2
hdc: hdc1 hdc2
[MS-DOS FS Rel. 12 FAT 16 check=n,conv=b,uid=0,umask=022,bmap]
[me=0x1,cs=0x1240,#f=191,fs=34616,fl=1699280,ds=327153000,de=1536,data=327153120,se=185,ts=1015022771,ls=20487,rc=0,fc=4294967295]
Transaction block size = 512
UMSDOS: msdos_read_super failed mount aborted
hdc: hdc1 hdc2
[MS-DOS FS Rel. 12 FAT 16 check=n,conv=b,uid=0,umask=022,bmap]
[me=0x1,cs=0x1240,#f=191,fs=34616,fl=1699280,ds=327153000,de=1536,data=327153120,se=185,ts=1015022771,ls=20487,rc=0,fc=4294967295]
Transaction block size = 512
Kernel panic: VFS: Unable to mount root fs on 16:00

That's it. I've listed the (U)MSDOS complaints for completeness, but as I get
the same drive_cmd messages when simply inserting the device in a PCMCIA slot
(that is, before attempting to mount any filesystem), I don't think that it is a
factor.

This is definately an OS issue. I've booted many OSes (DOS, Win95, VxWorks,
LynxOS) from this same configuration (CF = IDE1/Master as the sole IDE device)
and have seen no complaints like the ones shown above.

So... what can I do to work around this problem? Thank you.




PLANET PROJECT will connect millions of people worldwide through the combined
technology of 3Com and the Internet. Find out more and register now at
http://www.planetproject.com



2000-11-07 21:19:00

by hugang

[permalink] [raw]
Subject: Re: Linux v2.2.17: IDE disk error on Compact Flash device

On Tue, 7 Nov 2000 11:58:48 -0600
[email protected] wrote:

>
>
> Hello.
>
> When attempting to boot Linux kernel v2.2.17 from a Compact Flash (CF) device I
> am getting the errors shown below. This CF device is in a PCMCIA form factor
> and is the Master device on the secondary IDE controller
>
> Before we get to the errors, though, a little background. I can reproduce this
> boot error on 2 different systems, and have seen the same error messages
> (non-booting) on a 3rd system. For both boot systems the CF device is the only
> IDE device and is the Master on the secondary IDE controller (/dev/hdc). For
> the non-booting system the device is in a PCMCIA slot (/dev/hde).
>
> This is what I see at boot time:
>
> ide1 at 0x170-0x177,0x376 on irq 15
> hdc: SanDisk SDCFB-128, 122MB /w1kB Cache, CHS=980/8/32
> Partition check:
> hdc: hdc1 hdc2
> hdc: hdc1 hdc2
> hdc: drive_cmd: status=0x51 { DriveReady SeekComplete Error } <- see /Document/Config.help
> hdc: drive_cmd: error=0x04 { DriveStatusError }


Try to set CONFIG_IDEDISK_MULTI_MODE y.