LinuxQuestions.org
Review your favorite Linux distribution.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices


Reply
  Search this Thread
Old 07-22-2004, 02:22 PM   #1
linoox
LQ Newbie
 
Registered: Jun 2004
Location: 103 East 1 North
Distribution: Gentoo, Suse 9.1
Posts: 12

Rep: Reputation: 0
dma can't be turned on (not yet solved)


hi all,

having some problem here. I had just installed Slackware 10 using just CD1 - no gnome, no kde on an old laptop. Config as follows:
1) Satellite 330CDT
2) Pentium MMX 266Mhz
3) 4 GB harddisk space (couldn't remember exactly)
4) 64MB RAM

After default installation, I noticed that DMA was not turned on (alert message when booting up).

I did the following

Code:
hdparm -d1 /dev/hda
I got the following message

Code:
setting using_dma to 1 (on)
HDIO_SET_DMA failed: Operation not permitted
using _dma = 0 (off)
currently logged in as root.

Any idea? Please help..

Last edited by linoox; 07-23-2004 at 04:29 AM.
 
Old 07-22-2004, 03:20 PM   #2
auditek747
Member
 
Registered: Feb 2004
Location: Ohio, USA
Distribution: Arch Linux
Posts: 464

Rep: Reputation: 30
Maybe it can't do it. What does "hdparm -i /dev/hda" say?
 
Old 07-22-2004, 03:33 PM   #3
linoox
LQ Newbie
 
Registered: Jun 2004
Location: 103 East 1 North
Distribution: Gentoo, Suse 9.1
Posts: 12

Original Poster
Rep: Reputation: 0
Here's what it says

Code:
Model=TOSHIBA MK4313MAT, FwRev=J2.12 C, SerialNo=40B70373A
Config={ Fixed }
RawCHS=8944/15/63,  TrkSize=0, SectSize=0, ECCbytes=46
BuffType=unknown, BuffSize=0kB, MaxMultSect=16, MultSect=16
CurCHS=8944/15/63, CurSects=8452080, LBA=yes, LBAsects=8452080
IORDY=on/off, tPIO={min:120,w/IORDY:120}, tDMA={min:120,rec:120}
PIO modes: pio0 pio1 pio2 pio3 pio4
DMA modes: sdma0 sdma1 sdma2 mdma0 mdma1 *mdma2
UDMA modes: udma0 udma1 udma2
AdvancedPM=yes: unknown setting WriteCache=enabled
Drive conforms to: device does not report version: 1 2 3 4

* signifies the current active mode
 
Old 07-22-2004, 03:44 PM   #4
auditek747
Member
 
Registered: Feb 2004
Location: Ohio, USA
Distribution: Arch Linux
Posts: 464

Rep: Reputation: 30
Don't know Bud,
Have you been able to use udma with this drive/mobo combination
before?
 
Old 07-22-2004, 04:04 PM   #5
linoox
LQ Newbie
 
Registered: Jun 2004
Location: 103 East 1 North
Distribution: Gentoo, Suse 9.1
Posts: 12

Original Poster
Rep: Reputation: 0
Unhappy

i'm not quite sure what you mean by drive/mobo? I tried a couple of linux distro on this laptop and I don't remember seeing that message. Then again, i never did check with hdparm command.
 
Old 07-22-2004, 09:11 PM   #6
auditek747
Member
 
Registered: Feb 2004
Location: Ohio, USA
Distribution: Arch Linux
Posts: 464

Rep: Reputation: 30
Perhaps support for your ide controller isn't built into the Slack kernel.

An "lspci" will tell you the chipset, for example:

/home/toadtoe# lspci
00:00.0 Host bridge: VIA Technologies, Inc. VT8377 [KT400/KT600 AGP] Host Bridge
00:01.0 PCI bridge: VIA Technologies, Inc. VT8235 PCI Bridge
00:09.0 Multimedia video controller: Brooktree Corporation Bt878 Video Capture (rev 11)
00:09.1 Multimedia controller: Brooktree Corporation Bt878 Audio Capture (rev 11)
00:0c.0 Ethernet controller: Realtek Semiconductor Co., Ltd. RTL-8029(AS)
00:0d.0 Multimedia audio controller: Ensoniq 5880 AudioPCI (rev 02)
00:10.0 USB Controller: VIA Technologies, Inc. VT6202 [USB 2.0 controller] (rev 80)
00:10.1 USB Controller: VIA Technologies, Inc. VT6202 [USB 2.0 controller] (rev 80)
00:10.3 USB Controller: VIA Technologies, Inc. USB 2.0 (rev 82)
00:11.0 ISA bridge: VIA Technologies, Inc. VT8235 ISA Bridge
00:11.1 IDE interface: VIA Technologies, Inc. VT82C586A/B/VT82C686/A/B/VT823x/A/C/VT8235 PIPC Bus Master IDE (rev 06)
00:12.0 Ethernet controller: VIA Technologies, Inc. VT6102 [Rhine-II] (rev 74)
01:00.0 VGA compatible controller: nVidia Corporation NV18 [GeForce4 MX 440 AGP 8x] (rev a2)

My chipset is the Via VT82C586A.
Burried in my /boot/config I see the line:

CONFIG_BLK_DEV_VIA82CXXX=y

So support for these controllers is built in.

Just something to check.
 
Old 07-23-2004, 12:42 AM   #7
linoox
LQ Newbie
 
Registered: Jun 2004
Location: 103 East 1 North
Distribution: Gentoo, Suse 9.1
Posts: 12

Original Poster
Rep: Reputation: 0
no ide controller found when i ran lspci command. Only 6 items were displayed:

Host Bridge
VGA compatible controller
USB Controller
Communication controller
CardBus bridge (2 x entries)

i'm not very good with hardware eithers, especially what's inside an old laptop.
 
Old 07-23-2004, 12:01 PM   #8
auditek747
Member
 
Registered: Feb 2004
Location: Ohio, USA
Distribution: Arch Linux
Posts: 464

Rep: Reputation: 30
Well linoox,
I can only guess at this, but the only time I've seen "operation not permitted"
for setting UDMA is when the "ide bus master" was not supported in the kernel.
I think Toshiba chipsets are proprietary and they don't release info about them.

I hope I'm wrong here.

Anyway, keep asking around, some one may have a better answer.
 
Old 07-23-2004, 11:01 PM   #9
Franklin
Senior Member
 
Registered: Oct 2002
Distribution: Slackware
Posts: 1,348

Rep: Reputation: 217Reputation: 217Reputation: 217
You may want to try a different kernel from the slack CD.

Intead of bare.i use the ide kernel or vice-versa.
 
Old 07-24-2004, 11:31 AM   #10
linoox
LQ Newbie
 
Registered: Jun 2004
Location: 103 East 1 North
Distribution: Gentoo, Suse 9.1
Posts: 12

Original Poster
Rep: Reputation: 0
i'll give it a try. Thank you all for the advice!
 
Old 07-24-2004, 12:26 PM   #11
predrag
Member
 
Registered: Aug 2003
Location: Salzburg, Austria
Distribution: Ubuntu, CentOS, FreeBSD
Posts: 34

Rep: Reputation: 15
I have also had similar problems, then I compiled 2.6.7 and they were solved. Give it a try.
 
Old 08-06-2004, 11:42 AM   #12
Ikebo
Member
 
Registered: Jun 2004
Location: Michigan, USA
Distribution: Ubuntu
Posts: 77

Rep: Reputation: 15
This problem has probably already been solved here and in other threads but I thought I'd say that I had the same problem when I tired to add support for my controller chipset as a module (2.6.7). Compiling it in the kernel fixed it.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Hard Drive Problems: timeout waiting for DMA; error waiting for DMA mintee Linux - Hardware 10 09-21-2007 05:06 AM
Trying but getting turned off lmanwarren Slackware 3 05-01-2005 12:40 PM
dma turned off? true_atlantis Linux - General 3 10-20-2004 08:48 AM
Suse 8.2 change my DMA setting on my DVD-R drive to off & IDE DMA MODE NOT SHOWING IT maximalred Linux - General 0 08-23-2003 04:58 AM
Who turned out the lights?! itsjustme General 22 08-15-2003 06:22 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware

All times are GMT -5. The time now is 07:27 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration