Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
[SOLVED]Problem z 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
gibon
n00b
n00b


Joined: 05 Jun 2006
Posts: 50

PostPosted: Thu Jun 08, 2006 9:15 am    Post subject: [SOLVED]Problem z dma Reply with quote

Witam mam taki problem z DMA

Code:

gibon ~ # hdparm -d 1 /dev/hda

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


A to moj konfig jajka
Code:

gibon kernels # cat kernel-config-x86_64-2.6.15-gentoo-r5 | grep DMA
CONFIG_GENERIC_ISA_DMA=y
CONFIG_ISA_DMA_API=y
CONFIG_BLK_DEV_IDEDMA_PCI=y
CONFIG_BLK_DEV_IDEDMA_FORCED=y
CONFIG_IDEDMA_PCI_AUTO=y
# CONFIG_IDEDMA_ONLYDISK is not set
# CONFIG_HPT34X_AUTODMA is not set
CONFIG_BLK_DEV_IDEDMA=y
# CONFIG_IDEDMA_IVB is not set
CONFIG_IDEDMA_AUTO=y
# CONFIG_SCSI_PDC_ADMA is not set
CONFIG_SCSI_SYM53C8XX_DMA_ADDRESSING_MODE=1
# CONFIG_IEEE1394_SBP2_PHYS_DMA is not set
CONFIG_I2O_EXT_ADAPTEC_DMA64=y
# CONFIG_CARDMAN_4000 is not set
# CONFIG_CARDMAN_4040 is not set


Nie moge wlaczyc tego dma, przez to straznie wolo mi dysk chodzi. Czy ktos cos poradzi??


Last edited by gibon on Mon Jun 19, 2006 9:12 pm; edited 1 time in total
Back to top
View user's profile Send private message
milu
Bodhisattva
Bodhisattva


Joined: 03 May 2004
Posts: 1122
Location: Poland, Konstancin-Jeziorna

PostPosted: Thu Jun 08, 2006 9:23 am    Post subject: Reply with quote

masz dysk SATA czy ATA?
_________________
Pozdrawiam,
Milu
------------------------------------
Registered Linux User: #246079

Zanim zadasz pytanie przeczytaj to dokładnie!!
Back to top
View user's profile Send private message
kicior
Apprentice
Apprentice


Joined: 25 Mar 2005
Posts: 179
Location: Lublin, Poland

PostPosted: Thu Jun 08, 2006 9:57 am    Post subject: Reply with quote

Masz wkompilowaną na stałe obsługę swojego chipsetu? Poza tym podaj więcej informacji o sprzęcie i systemie.
Back to top
View user's profile Send private message
gibon
n00b
n00b


Joined: 05 Jun 2006
Posts: 50

PostPosted: Thu Jun 08, 2006 1:28 pm    Post subject: Reply with quote

Tak mam wszsytko wkompilowane, mam laptopa MSI M635, na chipsecie ATI.


Acha, dysk ATA.
Back to top
View user's profile Send private message
kicior
Apprentice
Apprentice


Joined: 25 Mar 2005
Posts: 179
Location: Lublin, Poland

PostPosted: Thu Jun 08, 2006 3:08 pm    Post subject: Reply with quote

A jak zabootujesz z jakiegoś livecd to jest dma czy nie? Jak jest to posłuż sie konfigiem jajka z livecd wstępnie, a potem powoli dostrajaj.
Back to top
View user's profile Send private message
milu
Bodhisattva
Bodhisattva


Joined: 03 May 2004
Posts: 1122
Location: Poland, Konstancin-Jeziorna

PostPosted: Thu Jun 08, 2006 3:20 pm    Post subject: Reply with quote

Moved from Polish to Instalacja i sprzęt.
_________________
Pozdrawiam,
Milu
------------------------------------
Registered Linux User: #246079

Zanim zadasz pytanie przeczytaj to dokładnie!!
Back to top
View user's profile Send private message
Drainer
n00b
n00b


Joined: 11 Jun 2006
Posts: 22

PostPosted: Sun Jun 11, 2006 9:12 am    Post subject: Reply with quote

Witam, ja mam identyczny problem i już nie wiem jak sobie z nim poradzić, przeglądałem forum, próbowałem różnych ustawień w kernelu i dalej to samo :cry:
Code:
/dev/hda:
 setting using_dma to 1 (on)
 HDIO_SET_DMA failed: Operation not permitted
 using_dma    =  0 (off)


obecnie w kernelu 2.6.16-gentoo-r9 mam ustawione:

Code:
# cat .config | grep DMA
CONFIG_GENERIC_ISA_DMA=y
CONFIG_ISA_DMA_API=y
CONFIG_BLK_DEV_IDEDMA_PCI=y
# CONFIG_BLK_DEV_IDEDMA_FORCED is not set
CONFIG_IDEDMA_PCI_AUTO=y
# CONFIG_IDEDMA_ONLYDISK is not set
CONFIG_BLK_DEV_IDEDMA=y
# CONFIG_IDEDMA_IVB is not set
CONFIG_IDEDMA_AUTO=y


Code:
# lspci
00:00.0 Host bridge: ALi Corporation M1695 K8 Northbridge [PCI Express and HyperTransport]
00:01.0 PCI bridge: ALi Corporation PCI Express Root Port
00:02.0 PCI bridge: ALi Corporation PCI Express Root Port
00:04.0 Host bridge: ALi Corporation M1689 K8 Northbridge [Super K8 Single Chip]
00:05.0 PCI bridge: ALi Corporation AGP8X Controller
00:06.0 PCI bridge: ALi Corporation M5249 HTT to PCI Bridge
00:07.0 ISA bridge: ALi Corporation M1563 HyperTransport South Bridge (rev 70)
00:07.1 Bridge: ALi Corporation M7101 Power Management Controller [PMU]
00:12.0 IDE interface: ALi Corporation M5229 IDE (rev c7)
00:13.0 USB Controller: ALi Corporation USB 1.1 Controller (rev 03)
00:13.1 USB Controller: ALi Corporation USB 1.1 Controller (rev 03)
00:13.2 USB Controller: ALi Corporation USB 1.1 Controller (rev 03)
00:13.3 USB Controller: ALi Corporation USB 2.0 Controller (rev 01)
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 VGA compatible controller: ATI Technologies Inc RV350 AS [Radeon 9550]
03:00.1 Display controller: ATI Technologies Inc RV350 ?? [Radeon 9550] (Secondary)
04:07.0 Multimedia audio controller: Creative Labs SB0400 Audigy2 Value

Na Gentoo livecd oraz Ubuntu dma działa nomalnie, a lsmod z livecd pokazuje:
Code:
Module                  Size  Used by
parport_pc             30952  0
parport                27148  1 parport_pc
floppy                 57512  0
pcspkr                  2184  0
speedtch                9736  0
firmware_class          7936  1 speedtch
usbatm                 12416  1 speedtch
atm                    32192  1 usbatm
dm_mirror              15744  0
dm_mod                 38864  1 dm_mirror
pdc_adma                7940  0
sata_mv                15108  0
ata_piix                8580  0
ahci                   10884  0
sata_qstor              8196  0
sata_vsc                6916  0
sata_uli                6276  0
sata_sis                6788  0
sata_sx4               11652  0
sata_nv                 7684  0
sata_via                7428  0
sata_svw                6660  0
sata_sil24              9476  0
sata_sil                8196  0
sata_promise            9732  0
libata                 39696  15 pdc_adma,sata_mv,ata_piix,ahci,sata_qstor,sata_vsc,sata_uli,sata_sis,sata_sx4,sata_nv,sata_via,sata_svw,sata_sil24,sata_sil,sata_promise
sbp2                   20100  0
ohci1394               27596  0
ieee1394               64120  2 sbp2,ohci1394
sl811_hcd              11008  0
ohci_hcd               16772  0
uhci_hcd               27168  0
usb_storage            56512  0
usbhid                 30624  0
ehci_hcd               25608  0
usbcore                92328  9 speedtch,usbatm,sl811_hcd,ohci_hcd,uhci_hcd,usb_storage,usbhid,ehci_hcd


kicior wrote:
Jak jest to posłuż sie konfigiem jajka z livecd wstępnie, a potem powoli dostrajaj.

Da się jakoś wyciągnąć plik .config z gentoo livecd ?
_________________
404
Back to top
View user's profile Send private message
Raku
Bodhisattva
Bodhisattva


Joined: 28 Feb 2004
Posts: 2375
Location: Poland

PostPosted: Sun Jun 11, 2006 11:08 am    Post subject: Reply with quote

Drainer wrote:
Witam, ja mam identyczny problem i już nie wiem jak sobie z nim poradzić, przeglądałem forum, próbowałem różnych ustawień w kernelu i dalej to samo :cry:
Code:
/dev/hda:
 setting using_dma to 1 (on)
 HDIO_SET_DMA failed: Operation not permitted
 using_dma    =  0 (off)


obecnie w kernelu 2.6.16-gentoo-r9 mam ustawione:

Code:
# cat .config | grep DMA
CONFIG_GENERIC_ISA_DMA=y
CONFIG_ISA_DMA_API=y
CONFIG_BLK_DEV_IDEDMA_PCI=y
# CONFIG_BLK_DEV_IDEDMA_FORCED is not set
CONFIG_IDEDMA_PCI_AUTO=y
# CONFIG_IDEDMA_ONLYDISK is not set
CONFIG_BLK_DEV_IDEDMA=y
# CONFIG_IDEDMA_IVB is not set
CONFIG_IDEDMA_AUTO=y

Samo DMA to za mało. Brakuje ci jeszcze wsparcia dla kontrolera dysków PATA.
_________________
raku

Powered by Archlinux ;-)


Last edited by Raku on Sun Jun 11, 2006 6:32 pm; edited 1 time in total
Back to top
View user's profile Send private message
Drainer
n00b
n00b


Joined: 11 Jun 2006
Posts: 22

PostPosted: Sun Jun 11, 2006 5:34 pm    Post subject: Reply with quote

Ustawiłem tak jak w tym poście z tym, że zamiast Intel PIIXn chipsets support ustawiłem ALI M15x3 chipset support (mam ASrock 939DUAL-SATA2) i dalej "operation not premitted".
_________________
404
Back to top
View user's profile Send private message
gibon
n00b
n00b


Joined: 05 Jun 2006
Posts: 50

PostPosted: Mon Jun 12, 2006 7:59 am    Post subject: Reply with quote

Witam!!
Ja juz poradzilem sobie z moim probemem, poszukajcie dokladnie w jajku czy macie wkompilowane odpowiednie sterowniki chisetu.

Pozdrawiam.
Back to top
View user's profile Send private message
Drainer
n00b
n00b


Joined: 11 Jun 2006
Posts: 22

PostPosted: Tue Jun 13, 2006 6:39 pm    Post subject: Reply with quote

Raku wrote:
Samo DMA to za mało. Brakuje ci jeszcze wsparcia dla kontrolera dysków PATA.

Wsparcie było, ale w kernelu z 2.6.16-gentoo-r9 i 2.6.17-rc5 coś nie chciało współpracować. W 2.6.17-rc6 wszystko działa jak należy.
_________________
404
Back to top
View user's profile Send private message
Raku
Bodhisattva
Bodhisattva


Joined: 28 Feb 2004
Posts: 2375
Location: Poland

PostPosted: Wed Jun 14, 2006 6:00 am    Post subject: Reply with quote

a więc problemy z DMA zakończone, i to zarówno dla autora, jak i dla osoby, która skorzystała z wątku i się do niego podpięła. Proponuję więc, aby autor dodał [SOLVED]
_________________
raku

Powered by Archlinux ;-)
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