Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Problems with DMA
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Kernel & Hardware
View previous topic :: View next topic  
Author Message
rrok
n00b
n00b


Joined: 30 Aug 2005
Posts: 48
Location: Slovenia

PostPosted: Sun Sep 04, 2005 1:55 pm    Post subject: Problems with DMA Reply with quote

Hi!
I want to turn on DMA on my hard disks but it doesn't work.

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


Where's the problem?
Back to top
View user's profile Send private message
NeddySeagoon
Administrator
Administrator


Joined: 05 Jul 2003
Posts: 55288
Location: 56N 3W

PostPosted: Sun Sep 04, 2005 2:13 pm    Post subject: Reply with quote

rrok,

You have not included support for your particular IDE chipset in your kernel.
It needs to be built in. Post your lspci output for further detailed help
_________________
Regards,

NeddySeagoon

Computer users fall into two groups:-
those that do backups
those that have never had a hard drive fail.
Back to top
View user's profile Send private message
rrok
n00b
n00b


Joined: 30 Aug 2005
Posts: 48
Location: Slovenia

PostPosted: Sun Sep 04, 2005 3:14 pm    Post subject: Reply with quote

Quote:
0000:00:11.1 IDE interface: VIA Technologies, Inc. VT82C586A/B/VT82C686/A/B/VT823x/A/C PIPC Bus Master IDE (rev 06)


I searched for that option in kernel config but i dont know what to choose :)
Back to top
View user's profile Send private message
NeddySeagoon
Administrator
Administrator


Joined: 05 Jul 2003
Posts: 55288
Location: 56N 3W

PostPosted: Sun Sep 04, 2005 3:24 pm    Post subject: Reply with quote

rrok,

Navigate/Select the following:-
Code:
Device Drivers
ATA/ATAPI/MFM/RLL support
Enhanced IDE/MFM/RLL disk/cdrom/tape/floppy support
Include IDE/ATA-2 DISK support
Use multi-mode by default
generic/default IDE chipset support
PCI IDE chipset support
Generic PCI bus-master DMA support
Use PCI DMA by default when available
VIA82CXXX chipset support
You may need other selections too.

Its that last item that add support for your specific chipset. The XXX means - matches any digits in those 3 places, so it suits all ViA82C IDE chipsets.
_________________
Regards,

NeddySeagoon

Computer users fall into two groups:-
those that do backups
those that have never had a hard drive fail.
Back to top
View user's profile Send private message
rrok
n00b
n00b


Joined: 30 Aug 2005
Posts: 48
Location: Slovenia

PostPosted: Sun Sep 04, 2005 5:37 pm    Post subject: Reply with quote

Well, I tried that before you post that but it still doesn't work :/
Do I have to enable support for my chipset as module?
Back to top
View user's profile Send private message
NeddySeagoon
Administrator
Administrator


Joined: 05 Jul 2003
Posts: 55288
Location: 56N 3W

PostPosted: Sun Sep 04, 2005 9:19 pm    Post subject: Reply with quote

rrok,

You have probably not installed your new kernel properly.

Does uname -a give the date and time of your mosu recent kernel build?
Did you remember to mount boot before the install?
Is the name right in /boot?
_________________
Regards,

NeddySeagoon

Computer users fall into two groups:-
those that do backups
those that have never had a hard drive fail.
Back to top
View user's profile Send private message
rrok
n00b
n00b


Joined: 30 Aug 2005
Posts: 48
Location: Slovenia

PostPosted: Mon Sep 05, 2005 8:26 am    Post subject: Reply with quote

You were right :)
DMA works now

Thanks for your help
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Kernel & Hardware 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