Bug 168637 - [ACPI][rawhide] dma no longer enabled on thinkpad 770Z hdd
Summary: [ACPI][rawhide] dma no longer enabled on thinkpad 770Z hdd
Keywords:
Status: CLOSED RAWHIDE
Alias: None
Product: Fedora
Classification: Fedora
Component: kernel
Version: rawhide
Hardware: i386
OS: Linux
medium
medium
Target Milestone: ---
Assignee: Alan Cox
QA Contact: Brian Brock
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2005-09-18 20:19 UTC by Fabrice Bellet
Modified: 2007-11-30 22:11 UTC (History)
3 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed: 2006-01-23 09:48:11 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)
Boot log of 2.6.12-1.1450_FC4 (8.66 KB, text/plain)
2005-09-18 20:19 UTC, Fabrice Bellet
no flags Details
boot log of kernel 2.6.13-1.1558_FC5 (9.93 KB, text/plain)
2005-09-18 20:21 UTC, Fabrice Bellet
no flags Details

Description Fabrice Bellet 2005-09-18 20:19:13 UTC
Something changed between 2.6.12-1.1450_FC4 and 2.6.13-1.1558_FC5 in the IDE
code. The disk of my old 770Z thinkpad no longer starts with dma enabled. It
fails with dma_timer_expiry: dma status == 0x21, DMA timeout error. The
workaround to boot with ide=nodma works for me. boot logs follow as attachment.


[root@dhcp9 ~]# more /tmp/hdparm.2

/dev/hda:
 multcount    = 16 (on)
 IO_support   =  0 (default 16-bit)
 unmaskirq    =  0 (off)
 using_dma    =  0 (off)
 keepsettings =  0 (off)
 readonly     =  0 (off)
 readahead    = 256 (on)
 geometry     = 29216/15/63, sectors = 27609120, start = 0

 Model=IBM-DARA-215000, FwRev=GL5HA52A, SerialNo=GY0GYL10738
 Config={ HardSect NotMFM HdSw>15uSec Fixed DTR>10Mbs }
 RawCHS=16383/15/63, TrkSize=0, SectSize=0, ECCbytes=4
 BuffType=DualPortCache, BuffSize=418kB, MaxMultSect=16, MultSect=16
 CurCHS=16383/15/63, CurSects=15481935, LBA=yes, LBAsects=27609120
 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
 AdvancedPM=yes: mode=0x9F (159) WriteCache=enabled
 Drive conforms to: ATA/ATAPI-4 T13 1153D revision 17:  1 2 3 4

 * signifies the current active mode

Comment 1 Fabrice Bellet 2005-09-18 20:19:13 UTC
Created attachment 118950 [details]
Boot log of 2.6.12-1.1450_FC4

Comment 2 Fabrice Bellet 2005-09-18 20:21:16 UTC
Created attachment 118951 [details]
boot log of kernel 2.6.13-1.1558_FC5

Comment 3 Fabrice Bellet 2005-09-25 17:27:59 UTC
booting with "acpi=force pci=noacpi" works around the problem. This laptop is
rather old, so APM is used instead of ACPI by default. And pci=noacpi is also
needed in this case to properly handle IRQs.

Comment 4 Alan Cox 2006-01-19 10:47:40 UTC
Should no longer be a problem because the ACPI cutoff date is enabled again

Can you close the bug if current rawhide is ok ?


Comment 5 Fabrice Bellet 2006-01-23 09:48:11 UTC
yes, DMA works again on rawhide, both with ACPI and with APM. thanks.


Note You need to log in before you can comment on or make changes to this bug.