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

hdparm, cdrom, and retaining params



What determines what settings are the default for a drive on boot?

I thought what was needed is to include support for the IDE chipset and
enable IDE DMA in the kernel.  This is what I've done on other machines
and they boot up with the correct settings.

And if I can't get it to automatically set what is the common or suggested
way to enable the settings at boot?  Is there a "Debian" way to do that?
Does the hwtools package init.d script for this? 


On one Dell machine (Demension XPS T450 PIII) that has a very new CD-ROM
(see below) I have to use -d1 -c1 -X34 -u1.

lspci shows:

00:07.1 IDE interface: Intel Corp. 82371AB/EB/MB PIIX4 IDE (rev 01)

And my config has:

          --- IDE chipset support/bugfixes
 
          [*]   Generic PCI IDE chipset support
          [*]     Sharing PCI IDE interrupts support
          [*]     Generic PCI bus-master DMA support
          [*]       Use PCI DMA by default when available
          [*]     Intel PIIXn chipsets support
          [*]       PIIXn Tuning support                                       

Or another look:

$ egrep '(IEDPCI|PII|IDEDMA)' config-2.4.18-xfs-evan 
CONFIG_BLK_DEV_IDEDMA_PCI=y
CONFIG_IDEDMA_PCI_AUTO=y
CONFIG_BLK_DEV_IDEDMA=y
# CONFIG_IDEDMA_PCI_WIP is not set
# CONFIG_IDEDMA_NEW_DRIVE_LISTINGS is not set
CONFIG_BLK_DEV_PIIX=y
CONFIG_PIIX_TUNING=y
CONFIG_IDEDMA_AUTO=y
# CONFIG_IDEDMA_IVB is not set


# hdparm -i /dev/hdc

/dev/hdc:

 Model=PLEXTOR CD-R PX-W4824A, FwRev=1.00, SerialNo=029043
 Config={ Fixed Removeable DTR<=5Mbs DTR>10Mbs nonMagnetic }
 RawCHS=0/0/0, TrkSize=0, SectSize=0, ECCbytes=0
 BuffType=unknown, BuffSize=0kB, MaxMultSect=0
 (maybe): CurCHS=0/0/0, CurSects=0, LBA=yes, LBAsects=0
 IORDY=on/off, tPIO={min:180,w/IORDY:120}, tDMA={min:120,rec:120}
 PIO modes: pio0 pio1 pio2 pio3 pio4 
 DMA modes: sdma0 sdma1 sdma2 mdma0 mdma1 *mdma2 udma0 udma1 udma2 
 AdvancedPM=no



-- 
Bill Moseley moseley@hank.org



Reply to: