LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices



Reply
 
Search this Thread
Old 06-27-2005, 08:26 AM   #1
servnov
Member
 
Registered: Sep 2004
Distribution: Slackware 10.2
Posts: 276

Rep: Reputation: 30
on bootup 'harddrive dma off warning'??


As slackware is booting up it gives me a message saying the DMA on my HD has been turned off and this will slow the fsck process. What the heck is a dma, how can it be turned on, and will this speed bootup?
 
Old 06-27-2005, 08:49 AM   #2
cs-cam
Senior Member
 
Registered: May 2004
Location: Australia
Distribution: Gentoo
Posts: 3,544
Blog Entries: 4

Rep: Reputation: 56
DMA will speed up lots of things, somehow I managed to turn if off on one of my drives once and the slowdown was insane I almost cried. As root, run this and post the output, it should fix the problem:
Code:
hdparm -d1 /dev/hda
 
Old 06-27-2005, 08:54 AM   #3
servnov
Member
 
Registered: Sep 2004
Distribution: Slackware 10.2
Posts: 276

Original Poster
Rep: Reputation: 30
Code:
bash-3.00# hdparm -d1 /dev/hdc

/dev/hdc:
 setting using_dma to 1 (on)
 HDIO_SET_DMA failed: Operation not permitted
 using_dma    =  0 (off)
thats what I get when I do this (hdc is my harddrive since its SATA drive)
 
Old 06-27-2005, 09:13 AM   #4
cs-cam
Senior Member
 
Registered: May 2004
Location: Australia
Distribution: Gentoo
Posts: 3,544
Blog Entries: 4

Rep: Reputation: 56
Well I can tell you the problem but I can't tell you how to fix it because I don't know anything about SATA drives or newer motherboard and which modules they use but never fear, knowing this place, someone will be along soon who can help.

For now, the problem is you don't have the correct module loaded for your hardware. Did you compile your own kernel? Post some more hardware details and we'll figure out what modules you need loaded. Does hotplug load modules at boot for you?
 
Old 06-27-2005, 10:21 AM   #5
servnov
Member
 
Registered: Sep 2004
Distribution: Slackware 10.2
Posts: 276

Original Poster
Rep: Reputation: 30
Actually hotplug modules sometimes gives errors. I will check on next reboot for sure. I am using a standard precompiled kernel: 2.4.29
 
Old 07-09-2005, 08:19 PM   #6
dyn0myte
LQ Newbie
 
Registered: Jun 2005
Distribution: Slack 10.1
Posts: 22

Rep: Reputation: 15
More DMA issues

Trying to install Slackware 10.1 onto my primary slave.

Soyo KT266A (on board audio and lan)
AMD Athlon 1.2 GHZ Athlon XP
IBM 125 GB HD-Primary Slave-Linux, hopefully :?)
Western Digital 160 GB-Primary Master (Windoze)
40 GB Maxtor (personal files)
1.5 gb Corsair PC 2100
Deck Fire kyb/dvorak layout-mapping this in slack was easy! -:0) still needs a few tweaks


The Maxtor is on a raid channel but I shorted the jumper so its NOT raid,
at least in windoze. I wanted to seperate the operating systems; i REALLY dont want them on the same drive. Will they see each other? I have GoBack installed on the primary master. and it does not like drives without it; I am getting

/dev/hdb (primary slave)

hdb dma error
hdb dma timeout (A BUNCH OF READABLE TEXT FOLLOWS THIS ERROR)but i dont know what it is.

I dont see any bios settings to turn dma on/off.
Also I wanted 4 partitions (/root, /swap, /user, /boot)
I set the first partion but dont know/understand
how you calculate the space for the rest

This is my first try with linux. All info is welcome; also I got the
Slack Essentials 2nd Edition, feel free to refer me to it instead of
typing a bunch.

Thx in advance.
dyn0
 
Old 07-09-2005, 08:56 PM   #7
servnov
Member
 
Registered: Sep 2004
Distribution: Slackware 10.2
Posts: 276

Original Poster
Rep: Reputation: 30
Just make / as a primary parition and then make a bunch of logicial partitions for anything you want, like /usr /home /root /etc , etc. It's definently not necessary to make the separate paritions, you only need to have a / parition. Generally if something has a 'bunch of stuff on it' then it should be a separate partition just for safety.

For example if you have like 200 users on your system you prolly want to make /home a separate partition and/or if you are running a webserver with much data being 'served up' then you should make /var a separate partition.

I usually use the program cfdisk to do the actual partitioning, and its included on the first slackware CD-ROM. Remember the first 4 partitions are reserved for primary so any logicial will start at position 5.

Ex.

/dev/hda1 /
/dev/hda5 /home
/dev/hda6 /usr

I still haven't figured out my dma problem, but its just a minor startup annoyance for me and everything still works fine. I hope this info will help you out.
 
Old 07-09-2005, 09:04 PM   #8
dyn0myte
LQ Newbie
 
Registered: Jun 2005
Distribution: Slack 10.1
Posts: 22

Rep: Reputation: 15
Ok, thanks for the info. you only need /; but u also need at least swap, right?
I am just setting it up on my pc, no other users.

And can you tell me what size the partitions should be?

Thanxs again.
Dyn0
 
Old 07-09-2005, 09:29 PM   #9
servnov
Member
 
Registered: Sep 2004
Distribution: Slackware 10.2
Posts: 276

Original Poster
Rep: Reputation: 30
Yeah, you need a swap partition. To do this just make a logicial parition as normal and then change the 'format' to 'linux swap' (I think its option 83 or 82 in cfdisk). After that just write changes to disk and reboot. Then slackware setup will detect that parition as swap space and set it for you basically automatically.

As for how large it should be that depends on how much system RAM you have. Swap space isn't as important as it used to be since today's PCs have large amounts of RAM. The traditional advice was 2xRAM, but that isn't necessary anymore although it doesn't hurt anything. If you have 512mb or more RAM then you prolly should have at least 256mb or 512mb swap. If you have below 256mb you will need at least 512mb. I have a system with 1024mb ram and never use my swap space (i have watched monitoring tools of its activity) but you should still have 256mb or so just so the kernel doesn't ever 'get confused'. Ha.

Bottom line is you prolly won't use it, but do have some. Get at least 256mb of it.
 
Old 07-09-2005, 09:32 PM   #10
dyn0myte
LQ Newbie
 
Registered: Jun 2005
Distribution: Slack 10.1
Posts: 22

Rep: Reputation: 15
Dma errors

ok. thanks Servnov. Back to the setup i go.

dyn0

Last edited by dyn0myte; 07-09-2005 at 10:08 PM.
 
Old 07-13-2005, 07:35 PM   #11
dyn0myte
LQ Newbie
 
Registered: Jun 2005
Distribution: Slack 10.1
Posts: 22

Rep: Reputation: 15
dcop server

Hello again. I was doing a google and accidentally found my own post.lol.
I am trying to install slack 10.1; now i get a dcop server error when i go into KDE. I am a SUPERnoob when it comes to linux. I have seen a lot of posts on this error but no real answers. I am beggining to think it does not like my onboard lan. Thanks in advance.

Soyo KT266A (on board audio and lan)
AMD Athlon 1.2 GHZ Athlon XP
IBM 125 GB HD-Primary Slave-Linux, hopefully :?)
Western Digital 160 GB-Primary Master (Windoze)
40 GB Maxtor (personal files)
1.5 gb Corsair PC 2100
Deck Fire kyb/dvorak layout-mapping this in slack was easy! -:0) still needs a few tweaks

here is what it says after hardwear detectiion<<<
XWindow 6.8.1
Linux 2.4.29
Xprotocol v.11 REV 0 REL 6.8.1
Logfile: "/var/log/xorg.0.log"
using: "/etc/11/xorg.conf"
could not init font path element
/usr/x11R6/lib/x11/fonts/cid
\\\\\REMOVING FROM LIST//////
XSET:bad font element#58
KDE: /home/dyn0myt3/.DCOPServer/slackdragon_0 .no such file or directory.
self test fail/connection refused

then i EXIT and it kickx me back to my dyn0myt3 or root; 4get which ??
i have got
root@/slackware and dyn0myt3 with: addusr

thanks again. its bein a B but hopfully i can get it right. i have the 4disk w/the book.
im going to reinstall but i have feeling this will still apply; it worked flawlessly the 1st time-what did i do? i had to reinstall windows cuz i LINUXED its partition-oops-this like my 20th install/got my moneys worth on them disks<

Last edited by dyn0myte; 07-13-2005 at 09:31 PM.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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 On
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Installing linux on 2nd harddrive(dual boot) windows on seperate harddrive lysol Linux - Software 25 08-03-2004 10:33 AM
Small linux giving "Warning: dev (4:01)...." error during bootup. WJWhite Linux - Newbie 1 01-24-2004 12:03 AM
ASUS P4P800 motherboard and harddrive DMA? sthemage Linux - Hardware 10 11-08-2003 05:28 AM
Warning message during bootup Akajack Linux - Newbie 2 09-20-2003 12:44 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 05:58 AM


All times are GMT -5. The time now is 10:38 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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration