Bug 83473
Summary: | setting dma parameters with hdparm hangs system | ||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Product: | [Retired] Red Hat Linux | Reporter: | chris couples <ccouples> | ||||||||
Component: | hdparm | Assignee: | Karsten Hopp <karsten> | ||||||||
Status: | CLOSED CURRENTRELEASE | QA Contact: | Jay Turner <jturner> | ||||||||
Severity: | high | Docs Contact: | |||||||||
Priority: | medium | ||||||||||
Version: | 8.0 | CC: | srevivo | ||||||||
Target Milestone: | --- | ||||||||||
Target Release: | --- | ||||||||||
Hardware: | i586 | ||||||||||
OS: | Linux | ||||||||||
Whiteboard: | |||||||||||
Fixed In Version: | Doc Type: | Bug Fix | |||||||||
Doc Text: | Story Points: | --- | |||||||||
Clone Of: | Environment: | ||||||||||
Last Closed: | 2003-10-27 11:22:35 UTC | Type: | --- | ||||||||
Regression: | --- | Mount Type: | --- | ||||||||
Documentation: | --- | CRM: | |||||||||
Verified Versions: | Category: | --- | |||||||||
oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |||||||||
Cloudforms Team: | --- | Target Upstream Version: | |||||||||
Embargoed: | |||||||||||
Attachments: |
|
Description
chris couples
2003-02-04 18:52:22 UTC
Created attachment 89843 [details]
output of hdparm -Ii /dev/hdc
Created attachment 89844 [details]
output of hdparm -Ii /dev/hdd
Created attachment 89845 [details]
output of dmesg
please rename /etc/sysconfig/harddisk* to something else or move them to /tmp, remove the hdparm command form rc.local and reboot. What is the output of hdparm -i /dev/hd[cd]then ? According to you dmesg output, DMA is automatically enabled on your devices and hdparm -d1 is not necessary at all. It shouldn't be used anymore, because it just enables DMA, but doesn't set the prober timings such as the kernel does when it detects DMA capable devices. You should also check if you have correct UDMA cables for your devices. Karsten, I'm a step and a half ahead. The /etc/sysconfig/harddisks, /etc/sysconfig/harddiskhd[c,d], and entries in /etc/rc.d/rc.local have already been removed, as they were causing the machine to hang in the boot process, where the kernel tries to assign paramters to hdc. The machine boots, but hdparm /dev/hdc shows: /dev/hdc: multcount = 16 (on) IO_support = 0 (default 16-bit) unmaskirq = 0 (off) using_dma = 0 (off) keepsettings = 0 (off) readonly = 0 (off) readahead = 8 (on) geometry = 2482/255/63, sectors = 39876480, start = 0 hdparm -i /dev/hdc gives: /dev/hdc: Model=ST320011A, FwRev=3.75, SerialNo=3HT2XQDV 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=39876480 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 AdvancedPM=no WriteCache=disabled Drive conforms to: device does not report version: 1 2 3 4 5 and hdparm /dev/hdd shows: /dev/hdd: multcount = 16 (on) IO_support = 0 (default 16-bit) unmaskirq = 0 (off) using_dma = 0 (off) keepsettings = 0 (off) readonly = 0 (off) readahead = 8 (on) geometry = 155072/16/63, sectors = 156312576, start = 0 with /sbin/hdparm -i /dev/hdd giving: /dev/hdd: Model=IC35L080AVVA07-0, FwRev=VA4OA52A, SerialNo=VNC406A4DHGANG Config={ HardSect NotMFM HdSw>15uSec Fixed DTR>10Mbs } RawCHS=16383/16/63, TrkSize=0, SectSize=0, ECCbytes=52 BuffType=DualPortCache, BuffSize=1863kB, MaxMultSect=16, MultSect=16 CurCHS=16383/16/63, CurSects=16514064, LBA=yes, LBAsects=156312576 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 AdvancedPM=yes: disabled (255) WriteCache=disabled Drive conforms to: ATA/ATAPI-5 T13 1321D revision 1: 2 3 4 5 --all of the above after a reboot. So while dmesg reports that dma is being set at the ide interface level, it isn't being reported back from the drives. As uncached throughput barely gets above 3MB/s, this clearly isn't working for me as a file server :). Does this problem still exist with the latest errata kernel-2.4.20-18.8 ? seems to be fixed or I would have heard something from you by now. |