Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
[SOLVED] 2.6.24-gentoo-r3 DMA
View unanswered posts
View posts from last 24 hours
View posts from last 7 days

 
Reply to topic    Gentoo Forums Forum Index Polskie forum (Polish) Instalacja i sprzęt
View previous topic :: View next topic  
Author Message
psotnik
Apprentice
Apprentice


Joined: 12 Nov 2005
Posts: 248
Location: /world/poland/Cracow

PostPosted: Wed Apr 02, 2008 4:26 am    Post subject: [SOLVED] 2.6.24-gentoo-r3 DMA Reply with quote

witam, szukam pomocy przy konfiguracji jadra, mianowicie ktory modul odpowiada za DMA dla mojej konfiguracji?

Code:

# lspci
00:00.0 RAM memory: nVidia Corporation MCP65 Memory Controller (rev a3)
00:01.0 ISA bridge: nVidia Corporation MCP65 LPC Bridge (rev a3)
00:01.1 SMBus: nVidia Corporation MCP65 SMBus (rev a1)
00:01.3 Co-processor: nVidia Corporation MCP65 SMU (rev a1)
00:02.0 USB Controller: nVidia Corporation MCP65 USB Controller (rev a3)
00:02.1 USB Controller: nVidia Corporation MCP65 USB Controller (rev a3)
00:06.0 Ethernet controller: nVidia Corporation MCP65 Ethernet (rev a3)
00:07.0 Audio device: nVidia Corporation MCP65 High Definition Audio (rev a1)
00:08.0 PCI bridge: nVidia Corporation MCP65 PCI bridge (rev a1)
00:09.0 IDE interface: nVidia Corporation MCP65 IDE (rev a1)
00:0a.0 IDE interface: nVidia Corporation MCP65 SATA Controller (rev a3)
00:0b.0 PCI bridge: nVidia Corporation Unknown device 045b (rev a1)
00:0c.0 PCI bridge: nVidia Corporation MCP65 PCI Express bridge (rev a1)
00:0d.0 PCI bridge: nVidia Corporation MCP65 PCI Express bridge (rev a1)
00:0e.0 PCI bridge: nVidia Corporation MCP65 PCI Express bridge (rev a1)
00:18.0 Host bridge: Advanced Micro Devices [AMD] K8 [Athlon64/Opteron] HyperTransport Technology Configuration
00:18.1 Host bridge: Advanced Micro Devices [AMD] K8 [Athlon64/Opteron] Address Map
00:18.2 Host bridge: Advanced Micro Devices [AMD] K8 [Athlon64/Opteron] DRAM Controller
00:18.3 Host bridge: Advanced Micro Devices [AMD] K8 [Athlon64/Opteron] Miscellaneous Control
03:00.0 Network controller: Broadcom Corporation BCM4312 802.11a/b/g (rev 02)
05:00.0 VGA compatible controller: nVidia Corporation GeForce 8400M GS (rev a1)
07:05.0 FireWire (IEEE 1394): Ricoh Co Ltd R5C832 IEEE 1394 Controller (rev 05)
07:05.1 SD Host controller: Ricoh Co Ltd R5C822 SD/SDIO/MMC/MS/MSPro Host Adapter (rev 22)
07:05.2 System peripheral: Ricoh Co Ltd R5C843 MMC Host Controller (rev 12)
07:05.3 System peripheral: Ricoh Co Ltd R5C592 Memory Stick Bus Host Adapter (rev 12)
07:05.4 System peripheral: Ricoh Co Ltd xD-Picture Card Controller (rev 12)

hdparm -d 1 /dev/hda

/dev/hda:
 setting using_dma to 1 (on)
 HDIO_SET_DMA failed: Operation not permitted
 using_dma     =  0 (off)

w
ATA/ATAPI/MFM/RLL support, probowalem z opcjami
Intel PIIXn chipsets support
AMD and nVidia IDE support
Generic PCI IDE Chipset Support
generic/default IDE chipset support
Include IDE/ATA-2 DISK support

Ale nadal bez efektow :evil:, help

Arfrever: Ortografia
_________________
psotnik
:]


Last edited by psotnik on Thu Apr 03, 2008 3:21 pm; edited 2 times in total
Back to top
View user's profile Send private message
SlashBeast
Retired Dev
Retired Dev


Joined: 23 May 2006
Posts: 2922

PostPosted: Wed Apr 02, 2008 12:07 pm    Post subject: Reply with quote

Przejdz na libata, tam zawsze jest dma włączone.
Back to top
View user's profile Send private message
psotnik
Apprentice
Apprentice


Joined: 12 Nov 2005
Posts: 248
Location: /world/poland/Cracow

PostPosted: Wed Apr 02, 2008 6:02 pm    Post subject: Reply with quote

cos namieszalem i mam teraz

Code:

dmesg |grep -i DVD
ata5.00: ATAPI: Slimtype DVD A  DS8A1H, WH66, max MWDMA2
scsi 4:0:0:0: CD-ROM            Slimtype DVD A  DS8A1H    WH66 PQ: 0 ANSI: 5
sr0: scsi3-mmc drive: 24x/24x writer dvd-ram cd/rw xa/form2 cdda tray

O to chodziło? :roll:
_________________
psotnik
:]
Back to top
View user's profile Send private message
SlashBeast
Retired Dev
Retired Dev


Joined: 23 May 2006
Posts: 2922

PostPosted: Wed Apr 02, 2008 6:33 pm    Post subject: Reply with quote

dobrze jest, napęd optyczny jest jako /dev/sr0, jak scsi. bedziesz miał symlinka /dev/cdrom i /dev/dvd do /dev/sr0.
Back to top
View user's profile Send private message
psotnik
Apprentice
Apprentice


Joined: 12 Nov 2005
Posts: 248
Location: /world/poland/Cracow

PostPosted: Wed Apr 02, 2008 6:39 pm    Post subject: Reply with quote

ok, wyglada to tak
Code:

ll /dev/dvd*
lrwxrwxrwx 1 root root 3 IV  2  2008 /dev/dvd2 -> sr0
lrwxrwxrwx 1 root root 3 IV  2  2008 /dev/dvdrw2 -> sr0

ll /dev/cdr*
lrwxrwxrwx 1 root root 3 IV  2  2008 /dev/cdrom2 -> sr0
lrwxrwxrwx 1 root root 3 IV  2  2008 /dev/cdrw2 -> sr0



jak mniemam DMA jest z definicja dla scsi. thx za pomoc.solved
_________________
psotnik
:]
Back to top
View user's profile Send private message
Kurt Steiner
Bodhisattva
Bodhisattva


Joined: 01 Apr 2005
Posts: 1050
Location: Ostroleka, Polska

PostPosted: Thu Apr 03, 2008 6:44 am    Post subject: Reply with quote

psotnik wrote:
solved
W temacie poprosimy. :wink:
_________________
Proszę, pamiętaj o regulaminie, a jeśli zauważysz, że został on złamany, zgłoś to. :)

LRU:431698
Back to top
View user's profile Send private message
psotnik
Apprentice
Apprentice


Joined: 12 Nov 2005
Posts: 248
Location: /world/poland/Cracow

PostPosted: Thu Apr 03, 2008 3:30 pm    Post subject: Reply with quote

:oops:
poprawione
_________________
psotnik
:]
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Polskie forum (Polish) Instalacja i sprzęt All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum