Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question?
If it is not in the man pages or the how-to's this is the place! |
Notices |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
|
|
08-08-2003, 05:48 AM
|
#1
|
Member
Registered: Jun 2003
Location: Manchester, UK
Distribution: Gentoo
Posts: 306
Rep:
|
hdparm done, not laoding at reboot
hola...
I have installed gentoo from stage 1, somewhere along the lines I'm pretty sure that I enabled DMA on hda. For some reason it doesn't stick around.
Now I've read other threads and I have done the hdparm command and they then say to add the line to the rc file. Now, the closest thing I have is rc.conf which is /etc/rc.conf
I run nano -w /etc/rc.conf but I have nooooo idea where to add the line
Quote:
#hdparm -c 1 -d 1 -k 1 /dev/hda
|
.
Any ideas? Thanks :-)
|
|
|
08-08-2003, 06:33 AM
|
#2
|
LQ Guru
Registered: Mar 2002
Location: Salt Lake City, UT - USA
Distribution: Gentoo ; LFS ; Kubuntu ; CentOS ; Raspbian
Posts: 12,613
Rep:
|
First add hdparm as an init script:
rc-update add hdparm default
Then you can edit:
/etc/init.d/hdparm
To your needs
Cool
|
|
|
08-08-2003, 06:39 AM
|
#3
|
Member
Registered: Jun 2003
Location: Manchester, UK
Distribution: Gentoo
Posts: 306
Original Poster
Rep:
|
Thankyou very much :-)
|
|
|
08-08-2003, 06:42 AM
|
#4
|
LQ Guru
Registered: Mar 2002
Location: Salt Lake City, UT - USA
Distribution: Gentoo ; LFS ; Kubuntu ; CentOS ; Raspbian
Posts: 12,613
Rep:
|
You're welcome
FYI, in the future, should you have a non 'emerged' app you want to do something 'rc.local'ish with, try:
/etc/conf.d/local.start
Cool
PS> If you are stuck "in your ways" and need an /etc/rc.local go ahead and symlink:
ln -s /etc/conf.d/local.start /etc/rc.local
And then you'll have your "rc.local"
Last edited by MasterC; 08-08-2003 at 06:43 AM.
|
|
|
08-08-2003, 05:14 PM
|
#5
|
Member
Registered: Jun 2003
Location: Manchester, UK
Distribution: Gentoo
Posts: 306
Original Poster
Rep:
|
most of that flew by like a jet plane. Sorry... I'm a gentoo newb and pretty much a linux newb aswell... at least this time there's no dual boot, so it's only linux on this machine.
I should start learning now I'm on it everyday :-)
|
|
|
08-08-2003, 05:45 PM
|
#6
|
LQ Guru
Registered: Mar 2002
Location: Salt Lake City, UT - USA
Distribution: Gentoo ; LFS ; Kubuntu ; CentOS ; Raspbian
Posts: 12,613
Rep:
|
No worries then, it was just "if this applies"
Cool
|
|
|
08-09-2003, 10:11 AM
|
#7
|
LQ Newbie
Registered: Aug 2003
Location: Turkey
Distribution: Slackware 9.0
Posts: 25
Rep:
|
I have a Ultra DMA mode 5 harddisk
When I'm installing Gentoo 1.4 stage 3 I get errors once In a while, something about dma and ide read errors, and in overall the install process takes longer than it should
when I do hdparm -X69 (which is mode 5) /dev/hdc
everything seems good for the command I input after but the other things that I do give me errors.
Even if I don't get errors (which happends once) GRUB gives me a ERROR 16 (which means something is bad with the file systems) and LILO gives my a 0x01 error?
if I rc-update add hdparm default will this solve my problem?
If so what should I exactly write in /etc/init.d/hdparm ???
I'M a
Thanks!
|
|
|
08-09-2003, 10:52 AM
|
#8
|
LQ Newbie
Registered: Aug 2003
Location: Turkey
Distribution: Slackware 9.0
Posts: 25
Rep:
|
The error that it gives me is
hdc: dma_intr: status=0x51 {DriveReady SeekComplete Error}
hdc: dma_intr: error=0x81 {DriveStatus Error BadCRC}
hdc: dma_intr: status=0x51 {DriveReady SeekComplete Error}
hdc: dma_intr: error=0x81 {DriveStatus Error BadCRC}
hdc: dma_intr: status=0x51 {DriveReady SeekComplete Error}
hdc: dma_intr: error=0x81 {DriveStatus Error BadCRC}
hdc: dma_intr: status=0x51 {DriveReady SeekComplete Error}
hdc: dma_intr: error=0x81 {DriveStatus Error BadCRC}
ide1: reset: succes
and then it turns back to normal
even if I do a hdparm -X69 -d1 /dev/hdc
PLEASE HELP
|
|
|
08-09-2003, 11:07 AM
|
#9
|
LQ Guru
Registered: Mar 2002
Location: Salt Lake City, UT - USA
Distribution: Gentoo ; LFS ; Kubuntu ; CentOS ; Raspbian
Posts: 12,613
Rep:
|
Honestly, I wish I could help I'll be happy to split your post off into the Hardware section if you desire, after all you hijacked into a thread after resolution so less people are likely to see it now.
The only bit that looks familiar to me is the 0x81 that is referring to (IIRC) the Secondary Master drive, which would correspond with hdc, so that really doesn't help
Cool
|
|
|
08-09-2003, 11:56 AM
|
#10
|
LQ Newbie
Registered: Aug 2003
Location: Turkey
Distribution: Slackware 9.0
Posts: 25
Rep:
|
Ok then,
I've posted my problem to the Hardware Section
I hope I can get some help there
Thanks anyhow
|
|
|
All times are GMT -5. The time now is 05:52 PM.
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|