lkml.org 
[lkml]   [1996]   [Nov]   [27]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
SubjectKernel 2.0.xx IDE WDC & ATAPI mutual exclusivity
Date

Hope you don't mind my bothering you, but any pointers
would be appreciated.

Problem
Kernel 2.0.25 (and probably even applies to 2.0.0 ?)

I can get normal disk access speeds OR atapi cdrom support,
but not both in the same kernel.

History
Gateway P4D-66I March '95 (at home).
730M WDC AC2700H, Mitsumi 4X

Ran ancient Slackware ('94) + 1.2.8 for 18 months. Superb.
Recently switched to Slackware96 for ELF + 2.0.25

Details
#
# Block device driver configuration
#
<snip>
bool 'Enhanced IDE/MFM/RLL disk/cdrom/tape support' CONFIG_BLK_DEV_IDE
comment 'Please see Documentation/ide.txt for help/info on IDE drives'
if [ "$CONFIG_BLK_DEV_IDE" = "n" ]; then
bool 'Old harddisk (MFM/RLL/IDE) driver' CONFIG_BLK_DEV_HD_ONLY
else
bool ' Use old disk-only driver on primary interface' CONFIG_BLK_DEV_HD_IDE
bool ' Include IDE/ATAPI CDROM support' CONFIG_BLK_DEV_IDECD
bool ' Include IDE/ATAPI TAPE support' CONFIG_BLK_DEV_IDETAPE
bool ' Support removable IDE interfaces (PCMCIA)' CONFIG_BLK_DEV_IDE_PCMCIA
<snip>
fi


Using CONFIG_BLK_DEV_IDE (with or without CONFIG_BLK_DEV_HD_IDE) gives
disk access speeds 6 times slower (as an experiment, a kernel build
took 3 hours instead of the normal 30 mins ).

Can only get normal disk speeds by using CONFIG_BLK_DEV_HD_ONLY, but
then i don't get the option of specifying CONFIG_BLK_DEV_IDECD.

[ And then on mount /cdrom, get
mount: the kernel does not recognize /dev/hdc as a block device.
(maybe 'insmod driver'?) ]

Putting 'IDE/ATAPI CDROM support' only in the 'Enhanced' section looks
pretty deliberate, so it looks as if i'll have to continue with 2
kernels, depending on whether i want to access the cdrom or not.
Is that just the facts of life for 2.0.xx ?


Many thanks for all your efforts,
Pete
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
Peter Whillance, University Computing Service, Claremont Tower,
Claremont Road, Newcastle upon Tyne NE1 7RU

Telex: 53654 Uninew G Fax: 0191 222 8765
Tel. 0191 222 8225 P.Whillance@newcastle.ac.uk

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