lkml.org 
[lkml]   [2003]   [Jun]   [10]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
SubjectPROBLEM: ide driver in 2.4.20 discards DMA on my CD-ROM
Date
Hello!
I have recently compiled kernel 2.4.20 and my Liteon 222 CD-ROM drive
doesn't work stable with this kernel. Problem is that in older kernels
(2.2.13, 2.2.15, 2.4.2, 2.4.18, 2.4.19) it works only when DMA is enabled
(hdparm -d1).

In PIO mode it produces a lot of messages "hdX: lost interrupt" (i have tried
on /dev/hdb and /dev/hdc )and hangs sometimes when reading files >1 MB.

echo file_readahead:512000 >/proc/ide/hdX/settings
echo max_kb_per_request:120 >/proc/ide/hdX/settings

helps a little(doesn't hang, but some data was broken). The figures are
empyrical.

In DMA mode it has worked well up to 2.4.19. No hangs, no data loss.

With 2.4.20 produces message "DMA interrupt recovery, hdx:lost interrupt" and
discards DMA mode on mount and each time, when I try to enable DMA and read
something from CD.

gcc, that was used to compile :gcc-3.2
(2.4.18 & 2.4.19 were compiled with it too)

IDE: PIIX3 (430VX motherboard)
CD-ROM: Liteon LTN222A

kernel 2.4.20, that I have compiled by gcc-3.2 on some other computer with
other CD-ROM drive works well and DMA works with that drive

Help me, please!
Sorry for bad English

Best regards
Mr. Constantin Dunayev, Ukraine
mailto: kostya.nipi@naftogaz.net
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/

\
 
 \ /
  Last update: 2005-03-22 13:36    [W:0.023 / U:5.552 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site