Bug 173077
Summary: | No DMA on TSSTcorpCD-RW/DVD-ROM TSL462C: HDIO_SET_DMA failed: Operation not permitted | ||||||||
---|---|---|---|---|---|---|---|---|---|
Product: | [Fedora] Fedora | Reporter: | Reshat Sabiq <sabiq> | ||||||
Component: | kernel | Assignee: | Dave Jones <davej> | ||||||
Status: | CLOSED RAWHIDE | QA Contact: | Brian Brock <bbrock> | ||||||
Severity: | high | Docs Contact: | |||||||
Priority: | medium | ||||||||
Version: | rawhide | CC: | pfrields, scott, tmus, wtogami | ||||||
Target Milestone: | --- | ||||||||
Target Release: | --- | ||||||||
Hardware: | i686 | ||||||||
OS: | Linux | ||||||||
Whiteboard: | |||||||||
Fixed In Version: | Doc Type: | Bug Fix | |||||||
Doc Text: | Story Points: | --- | |||||||
Clone Of: | Environment: | ||||||||
Last Closed: | 2006-01-06 01:38:03 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
Reshat Sabiq
2005-11-13 18:48:51 UTC
This prevents me from viewing DVDs, as i'm also having problems w/ sound in mplayer. I'm just looking for a way to view DVDs, so if there's a hack i could use to achieve DMA effect w/o really having DMA, i'd be interested. I'd also be interested in any other suggestions on the subject. [root@localhost MPlayer-20050806]# lspci 00:00.0 Host bridge: Intel Corporation Mobile 915GM/PM/GMS/910GML Express Processor to DRAM Controller (rev 03) 00:01.0 PCI bridge: Intel Corporation Mobile 915GM/PM Express PCI Express Root Port (rev 03) 00:1d.0 USB Controller: Intel Corporation 82801FB/FBM/FR/FW/FRW (ICH6 Family) USB UHCI #1 (rev 03) 00:1d.1 USB Controller: Intel Corporation 82801FB/FBM/FR/FW/FRW (ICH6 Family) USB UHCI #2 (rev 03) 00:1d.2 USB Controller: Intel Corporation 82801FB/FBM/FR/FW/FRW (ICH6 Family) USB UHCI #3 (rev 03) 00:1d.3 USB Controller: Intel Corporation 82801FB/FBM/FR/FW/FRW (ICH6 Family) USB UHCI #4 (rev 03) 00:1d.7 USB Controller: Intel Corporation 82801FB/FBM/FR/FW/FRW (ICH6 Family) USB2 EHCI Controller (rev 03) 00:1e.0 PCI bridge: Intel Corporation 82801 Mobile PCI Bridge (rev d3) 00:1e.2 Multimedia audio controller: Intel Corporation 82801FB/FBM/FR/FW/FRW (ICH6 Family) AC'97 Audio Controller (rev 03) 00:1e.3 Modem: Intel Corporation 82801FB/FBM/FR/FW/FRW (ICH6 Family) AC'97 Modem Controller (rev 03) 00:1f.0 ISA bridge: Intel Corporation 82801FBM (ICH6M) LPC Interface Bridge (rev 03) 00:1f.2 IDE interface: Intel Corporation 82801FBM (ICH6M) SATA Controller (rev 03) 00:1f.3 SMBus: Intel Corporation 82801FB/FBM/FR/FW/FRW (ICH6 Family) SMBus Controller (rev 03) 01:00.0 VGA compatible controller: ATI Technologies Inc M22 [Radeon Mobility M300] 03:00.0 Ethernet controller: Broadcom Corporation BCM4401-B0 100Base-TX (rev 02) 03:01.0 CardBus bridge: Ricoh Co Ltd RL5c476 II (rev b3) 03:01.1 FireWire (IEEE 1394): Ricoh Co Ltd R5C552 IEEE 1394 Controller (rev 08) 03:01.2 Class 0805: Ricoh Co Ltd R5C822 SD/SDIO/MMC/MS/MSPro Host Adapter (rev 17) 03:03.0 Network controller: Intel Corporation PRO/Wireless 2200BG (rev 05) # lsmod Module Size Used by udf 84037 1 ppdev 9029 0 ... ohci1394 35465 0 ieee1394 297753 1 ohci1394 uhci_hcd 32465 0 ehci_hcd 34509 0 ... b44 21829 0 mii 5441 1 b44 ahci 12229 0 ext3 130633 2 jbd 57941 1 ext3 ata_piix 9541 3 libata 47437 2 ahci,ata_piix sd_mod 18881 4 scsi_mod 135785 3 ahci,libata,sd_mod Welcome to the club. You have a Dell Inspiron 6000d? I have been battling with this problem for 6 months now. There is a patch (and lots of info about this problem) here: http://www.math.ucla.edu/~jimc/insp6000/p-disc.html#cd but be warned, that patch will cause the kernel to randomly lock up. I got sick of the lockups (especially at work) that I no longer use the patch. There is another patch floating around for our SATA/PATA controller, 82801FBM (ICH6M), but from what I gather, it only works if both your hard disk and cd/dvd-rom are PATA...and if you have a 6000d, unfortunately, your hard disk is SATA and your cd/dvd-rom is PATA, so it won't work. Someone fix this please. Desktop Linux kind of sucks without dma on your CD/DVD drive. Current rawhide kernels have SATA ATAPI enabled. This issue forced me to switch to Ubuntu back in November, where DMA works fine on 5.10 release. Whoever wants to fix this issue in Fedora might be advised to take a look at what's done in Ubuntu about it. I understand that architectures are kinda different, but i'm sure analysis of Ubuntu will lead to a resolution of this issue in Fedora. P.S. Mine is Inspiron 6000. Btw., in Ubuntu, the CD/DVD-ROM is an scd0 device with this hardware, rather than an hdc. "whats done in ubuntu" is basically an older kernel revision. As Fedora devel/ is tracking upstream on a day-to-day basis, sooner or later the exact same code is going to be in ubuntu too. All you've done is moved to an older kernel which has the same code thats in the Fedora tree backported. SATA ATAPI was enabled just after the release of FC5test1, so this should be fixed, but as you've moved to a different distro, we'll never know for sure. Closing, assuming fixed. I'm having this exact same problem with 2.6.15-1.1991_FC5 - but only when my SATA configuration is set to "combined mode". In "nnhanced mode" which as far as i understand it, splits ATA from SATA, it works just great... Now, i'm ont entirely sure if this is a hardware problem or a kernel issue, but if this should be possible in combined mode, we have a bug still. This is what i'm getting [root@myboxen ~]# hdparm -d1 /dev/hdc /dev/hdc: setting using_dma to 1 (on) HDIO_SET_DMA failed: Operation not permitted using_dma = 0 (off) [root@myboxen ~]# hdparm /dev/hdc /dev/hdc: IO_support = 0 (default 16-bit) unmaskirq = 0 (off) using_dma = 0 (off) keepsettings = 0 (off) readonly = 0 (off) readahead = 256 (on) HDIO_GETGEO failed: Inappropriate ioctl for device Created attachment 125412 [details]
lspci -vvxxx
Created attachment 125413 [details]
dmesg output (combined mode)
|