Hi Try passing idebus=66 at boot time. Make sure BIOS settings for disks are correct. On Sun, 16 Mar 2003, Tiger King wrote: > Hello, > I am using the card Promise UDMA133 TX2. But a got a problem. My system is redhat 8.0. I compiled a new kernel 2.4.19 for it. But none of them can solve the problem. Here is some message about my computer: > > >dmesg: > tected mtrr type: Intel > CPU: Before vendor init, caps: 0080fbff 00000000 00000000, vendor = 0 > CPU: L1 I cache: 16K, L1 D cache: 16K > CPU: L2 cache: 512K > CPU: After vendor init, caps: 0080fbff 00000000 00000000 00000000 > Intel machine check reporting enabled on CPU#0. > CPU: After generic, caps: 0080fbff 00000000 00000000 00000000 > CPU: Common caps: 0080fbff 00000000 00000000 00000000 > CPU0: Intel Pentium II (Klamath) stepping 04 > per-CPU timeslice cutoff: 1462.89 usecs. > masked ExtINT on CPU#0 > ESR value before enabling vector: 00000000 > ESR value after enabling vector: 00000000 > Booting processor 1/0 eip 2000 > Initializing CPU#1 > masked ExtINT on CPU#1 > ESR value before enabling vector: 00000000 > ESR value after enabling vector: 00000000 > Calibrating delay loop... 598.01 BogoMIPS > CPU: Before vendor init, caps: 0080fbff 00000000 00000000, vendor = 0 > CPU: L1 I cache: 16K, L1 D cache: 16K > CPU: L2 cache: 512K > CPU: After vendor init, caps: 0080fbff 00000000 00000000 00000000 > Intel machine check reporting enabled on CPU#1. > CPU: After generic, caps: 0080fbff 00000000 00000000 00000000 > CPU: Common caps: 0080fbff 00000000 00000000 00000000 > CPU1: Intel Pentium II (Klamath) stepping 04 > Total of 2 processors activated (1196.03 BogoMIPS). > ENABLING IO-APIC IRQs > Setting 2 in the phys_id_present_map > ...changing IO-APIC physical APIC ID to 2 ... ok. > init IO_APIC IRQs > IO-APIC (apicid-pin) 2-0, 2-20, 2-21, 2-22, 2-23 not connected. > ..TIMER: vector=0x31 pin1=2 pin2=0 > number of MP IRQ sources: 23. > number of IO-APIC #2 registers: 24. > testing the IO APIC....................... > Using local APIC timer interrupts. > calibrating APIC timer ... > ..... CPU clock speed is 299.7554 MHz. > ..... host bus clock speed is 66.6120 MHz. > cpu: 0, clocks: 666120, slice: 222040 > CPU0<T0:666112,T1:444064,D:8,S:222040,C:666120> > cpu: 1, clocks: 666120, slice: 222040 > CPU1<T0:666112,T1:222032,D:0,S:222040,C:666120> > checking TSC synchronization across CPUs: passed. > Waiting on wait_init_idle (map = 0x2) > All processors have done init_idle > PCI: PCI BIOS revision 2.10 entry at 0xfd99c, last bus=1 > PCI: Using configuration type 1 > PCI: Probing PCI hardware > . > . > . > Serial driver version 5.05c (2001-07-08) with MANY_PORTS SHARE_IRQ SERIAL_PCI ISAPNP enabled > Uniform Multi-Platform E-IDE driver Revision: 6.31 > ide: Assuming 33MHz system bus speed for PIO modes; override with idebus=xx > PIIX4: IDE controller on PCI bus 00 dev 11 > PIIX4: chipset revision 1 > PIIX4: not 100% native mode: will probe irqs later > ide1: BM-DMA at 0xfcd8-0xfcdf, BIOS settings: hdc:DMA, hdd:DMA <-The IDE on motherborad. > PDC20269: IDE controller on PCI bus 00 dev 70 > PDC20269: chipset revision 2 > PDC20269: not 100% native mode: will probe irqs later > ide2: BM-DMA at 0xfcc0-0xfcc7, BIOS settings: hde:pio, hdf:pio <-here! Why it is pio mode ?! > ide3: BM-DMA at 0xfcc8-0xfccf, BIOS settings: hdg:pio, hdh:pio > PDC20269: IDE controller on PCI bus 00 dev 80 > PDC20269: chipset revision 2 > PDC20269: not 100% native mode: will probe irqs later > ide4: BM-DMA at 0xfc50-0xfc57, BIOS settings: hdi:pio, hdj:pio > ide5: BM-DMA at 0xfc58-0xfc5f, BIOS settings: hdk:pio, hdl:pio > hdc: ST380021A, ATA DISK drive > hdd: ST380021A, ATA DISK drive > hde: ST380021A, ATA DISK drive > hdf: ST380021A, ATA DISK drive > hdg: MAXTOR 6L080L4, ATA DISK drive > hdh: MAXTOR 6L080L4, ATA DISK drive > hdi: MAXTOR 6L080L4, ATA DISK drive > hdj: MAXTOR 6L080L4, ATA DISK drive > hdk: ST380021A, ATA DISK drive > hdl: ST380021A, ATA DISK drive > ide1 at 0x170-0x177,0x376 on irq 15 > ide2 at 0xfc68-0xfc6f,0xfc9a on irq 18 > ide3 at 0xfc70-0xfc77,0xfc9e on irq 18 > ide4 at 0xfc78-0xfc7f,0xfc92 on irq 16 > ide5 at 0xfc88-0xfc8f,0xfc96 on irq 16 > hdc: 156301488 sectors (80026 MB) w/2048KiB Cache, CHS=155061/16/63, UDMA(33) > hdd: 156301488 sectors (80026 MB) w/2048KiB Cache, CHS=155061/16/63, UDMA(33) > hde: 156301488 sectors (80026 MB) w/2048KiB Cache, CHS=155061/16/63, UDMA(33) > hdf: 156301488 sectors (80026 MB) w/2048KiB Cache, CHS=155061/16/63, UDMA(33) <-And here! Why it is in UDMA(33)? > hdg: 156355584 sectors (80054 MB) w/1819KiB Cache, CHS=155114/16/63, UDMA(33) > hdh: 156355584 sectors (80054 MB) w/1819KiB Cache, CHS=155114/16/63, UDMA(33) > hdi: 156355584 sectors (80054 MB) w/1819KiB Cache, CHS=155114/16/63, UDMA(33) > hdj: 156355584 sectors (80054 MB) w/1819KiB Cache, CHS=155114/16/63, UDMA(33) > hdk: 156301488 sectors (80026 MB) w/2048KiB Cache, CHS=155061/16/63, UDMA(33) > hdl: 156301488 sectors (80026 MB) w/2048KiB Cache, CHS=155061/16/63, UDMA(33) > > I compiled the kernel 2.4.19 with this config: > # > # ATA/IDE/MFM/RLL support > # > CONFIG_IDE=y > > # > # IDE, ATA and ATAPI Block devices > # > CONFIG_BLK_DEV_IDE=y > # CONFIG_BLK_DEV_HD_IDE is not set > # CONFIG_BLK_DEV_HD is not set > CONFIG_BLK_DEV_IDEDISK=y > CONFIG_IDEDISK_MULTI_MODE=y > # CONFIG_IDEDISK_STROKE is not set > # CONFIG_BLK_DEV_IDEDISK_VENDOR is not set > # CONFIG_BLK_DEV_IDEDISK_FUJITSU is not set > # CONFIG_BLK_DEV_IDEDISK_IBM is not set > # CONFIG_BLK_DEV_IDEDISK_MAXTOR is not set > # CONFIG_BLK_DEV_IDEDISK_QUANTUM is not set > # CONFIG_BLK_DEV_IDEDISK_SEAGATE is not set > # CONFIG_BLK_DEV_IDEDISK_WD is not set > # CONFIG_BLK_DEV_COMMERIAL is not set > # CONFIG_BLK_DEV_TIVO is not set > # CONFIG_BLK_DEV_IDECS is not set > CONFIG_BLK_DEV_IDECD=y > # CONFIG_BLK_DEV_IDETAPE is not set > # CONFIG_BLK_DEV_IDEFLOPPY is not set > # CONFIG_BLK_DEV_IDESCSI is not set > # CONFIG_IDE_TASK_IOCTL is not set > CONFIG_BLK_DEV_CMD640=y > # CONFIG_BLK_DEV_CMD640_ENHANCED is not set > # CONFIG_BLK_DEV_ISAPNP is not set > CONFIG_BLK_DEV_RZ1000=y > CONFIG_BLK_DEV_IDEPCI=y > CONFIG_IDEPCI_SHARE_IRQ=y > CONFIG_BLK_DEV_IDEDMA_PCI=y > # CONFIG_BLK_DEV_OFFBOARD is not set > # CONFIG_BLK_DEV_IDEDMA_FORCED is not set > CONFIG_IDEDMA_PCI_AUTO=y > # CONFIG_IDEDMA_ONLYDISK is not set > CONFIG_BLK_DEV_IDEDMA=y > # CONFIG_IDEDMA_PCI_WIP is not set > # CONFIG_BLK_DEV_IDEDMA_TIMEOUT is not set > # CONFIG_IDEDMA_NEW_DRIVE_LISTINGS is not set > CONFIG_BLK_DEV_ADMA=y > # CONFIG_BLK_DEV_AEC62XX is not set > # CONFIG_AEC62XX_TUNING is not set > # CONFIG_BLK_DEV_ALI15X3 is not set > # CONFIG_WDC_ALI15X3 is not set > # CONFIG_BLK_DEV_AMD74XX is not set > # CONFIG_AMD74XX_OVERRIDE is not set > # CONFIG_BLK_DEV_CMD64X is not set > # CONFIG_BLK_DEV_CMD680 is not set > # CONFIG_BLK_DEV_CY82C693 is not set > # CONFIG_BLK_DEV_CS5530 is not set > # CONFIG_BLK_DEV_HPT34X is not set > # CONFIG_HPT34X_AUTODMA is not set > # CONFIG_BLK_DEV_HPT366 is not set > CONFIG_BLK_DEV_PIIX=y > CONFIG_PIIX_TUNING=y > # CONFIG_BLK_DEV_NS87415 is not set > # CONFIG_BLK_DEV_OPTI621 is not set > CONFIG_BLK_DEV_PDC202XX=y > CONFIG_PDC202XX_BURST=y > CONFIG_PDC202XX_FORCE=y > # CONFIG_BLK_DEV_SVWKS is not set > # CONFIG_BLK_DEV_SIS5513 is not set > # CONFIG_BLK_DEV_SLC90E66 is not set > # CONFIG_BLK_DEV_TRM290 is not set > # CONFIG_BLK_DEV_VIA82CXXX is not set > # CONFIG_IDE_CHIPSETS is not set > CONFIG_IDEDMA_AUTO=y > CONFIG_IDEDMA_IVB=y > # CONFIG_DMA_NONPCI is not set > CONFIG_BLK_DEV_IDE_MODES=y > # CONFIG_BLK_DEV_ATARAID is not set > # CONFIG_BLK_DEV_ATARAID_PDC is not set > # CONFIG_BLK_DEV_ATARAID_HPT is not set > > > When I use :hdparm -Ii /dev/hde > We get: > > > /dev/hde: > > Model=ST380021A, FwRev=3.19, SerialNo=3HV2TTW5 > Config={ HardSect NotMFM HdSw>15uSec Fixed DTR>10Mbs RotSpdTol>.5% } > RawCHS=16383/16/63, TrkSize=0, SectSize=0, ECCbytes=4 > BuffType=unknown, BuffSize=2048kB, MaxMultSect=16, MultSect=16 > CurCHS=16383/16/63, CurSects=16514064, LBA=yes, LBAsects=156301488 > IORDY=on/off, tPIO={min:240,w/IORDY:120}, tDMA={min:120,rec:120} > PIO modes: pio0 pio1 pio2 pio3 pio4 > DMA modes: mdma0 mdma1 mdma2 > UDMA modes: udma0 udma1 *udma2 udma3 udma4 udma5 <-It is really worked in mode udma2. > AdvancedPM=no WriteCache=enabled > Drive conforms to: device does not report version: 1 2 3 4 5 > > > ATA device, with non-removable media > Model Number: ST380021A > Serial Number: 3HV2TTW5 > Firmware Revision: 3.19 > > Capabilities: > LBA, IORDY(can be disabled) > bytes avail on r/w long: 4 Queue depth: 1 > Standby timer values: spec'd by Standard > R/W multiple sector transfer: Max = 16 Current = 16 > Recommended acoustic management value: 128, current value: 128 > DMA: mdma0 mdma1 mdma2 udma0 udma1 *udma2 udma3 udma4 udma5 > Cycle time: min=120ns recommended=120ns > PIO: pio0 pio1 pio2 pio3 pio4 > Cycle time: no flow control=240ns IORDY flow control=120ns > Commands/features: > Enabled Supported: > * READ BUFFER cmd > * WRITE BUFFER cmd > * Host Protected Area feature set > * Look-ahead > * Write cache > * Power Management feature set > Security Mode feature set > SMART feature set > Device Configuration Overlay feature set > * Automatic Acoustic Management feature set > SET MAX security extension > * DOWNLOAD MICROCODE cmd > > > > I have try to set it manually. > hdparm -X udma5 /dev/hde > but is got: > /dev/hde: > setting xfermode to 69 (UltraDMA mode5) > ide2: Speed warnings UDMA 3/4/5 is not functional. > > > > timing the hard disk: > hdparm -Tt /dev/hde > /dev/hde: > Timing buffer-cache reads: 128 MB in 1.50 seconds = 85.33 MB/sec > Timing buffered disk reads: 64MB in 4.08 seconds = 15.69 MB/sec > > So, the main problem is why my hard drives works in mode udma2, not at least udma5? What can I do about that? > Help me! > Thanks! > > >