[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Small Debian-based distro suitable for 586?



On Fri, Oct 10, 2003 at 01:47:20AM +0100, Joseph Jones wrote:
> Does such an animal exist? I'm thinking of setting an older box up as a 
> fileserver, but I need to know whether there're any kernel patches or 
> modules that allow the use of large HDDs (60GB) on older machines 
> *without* additonal hardware.
...

My motherboard = Chaintech 5IFM (09/1996) w/ AMD K5 133 MHz;

I installed an IBM Deskstar (60 GB) as hda;
I installed an IBM DAQA 33240 (6 GB) as hdb.
my hdc is an "ATAPI 48X DVD-ROM drive, 512kB Cache"

My Debian Woody didn't need any special configuration;
my BIOS HD was set to LBA.

As I am mostly interested in Linux, I installed my Windows 95 on the
1st partitions of both HD drives and on the last partition of hda,
the rest is Linux.

I fine tuned my disk drives in
/etc/defaults/hdparm.sh:

# ---------------------------------------------------------------
# hdparm.sh     Tune harddisc + cdrom       \wwf 14.5.03
#
#   This prog should be called first from /etc/rcS.d

# Common Params for both (technically similar) HDs
/sbin/hdparm -A1 -c1 -d1 -X34 -k1 -m16 -u1 -S192 /dev/hda /dev/hdb


# Params for CDROM
/sbin/hdparm -c1 -d1 -X34 -k1 -u1 /dev/hdc



# -A1   = set drive read-lookahead
# -c1   = set IDE 32-bit IO setting
# -d1   = set using_dma flag
# -X34  = select multiword DMA mode2
# -k1   = keep_settings_over_reset flag
# -m16  = set multiple sector count (hdparm -i -> MaxMultSect=16)
# -u1   = set unmaskirq flag
# -S192 = set spindown timeout = 192 * 5 sec == 16 min
# ---------------------------------------------------------------


This file is called up at earliest boot time through
/etc/rcS.d/S05hdparm.sh -> ../init.d/hdparm.sh

/etc/init.d/hdparm.sh:
# ---------------------------------------------------------------
#! /bin/sh
#
# hdparm.sh     Tune harddisc + cdrom       \wwf 14.5.03
#
#   This prog should be called first from /etc/rcS.d

. /etc/default/hdparm.sh

# ---------------------------------------------------------------

(your mileage may vary)



Reply to: