Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
[Solved] IDE Drive running PIO/33mhz... Change?
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
FcukThisGame
l33t
l33t


Joined: 20 Apr 2005
Posts: 776
Location: /lost+found

PostPosted: Sat Mar 04, 2006 8:25 pm    Post subject: [Solved] IDE Drive running PIO/33mhz... Change? Reply with quote

Code:
Brewer ~ # dmesg | grep PIO
ide: Assuming 33MHz system bus speed for PIO modes; override with idebus=xx

Code:
Brewer ~ # hdparm -d /dev/hda

/dev/hda:
 using_dma    =  0 (off)


A.) Can I set the drive to DMA without risking data loss, and
B.) Where do I need to use that 'idebus=xx', and how would I determine the value of that 'xx'?
_________________
Sysadmin by trade, geek by choice

DESKTOP:
i7-3770K|8800GTS-512|32GB|1x256GB SSD|4x1TB|HD/BDROM|1920x1200+1680x1050
Win8 Pro w/ Hyper-V|Server 2012 VM|Ubuntu VM|Gentoo VM

TABLET: Samsung Ativ 700t
i5-3317U|4GB|128GB SSD|1920x1080 Touch
Win8


Last edited by FcukThisGame on Sat Mar 04, 2006 9:18 pm; edited 1 time in total
Back to top
View user's profile Send private message
Taki
Apprentice
Apprentice


Joined: 22 Sep 2005
Posts: 249
Location: Johannesburg, South Africa

PostPosted: Sat Mar 04, 2006 8:57 pm    Post subject: Reply with quote

Hi.

I get the same result with:
Code:
# dmesg | grep PIO

My dma is set though. I do this with hdparm at boot time:
Code:
rc-update add hdparm boot

with options:
Code:

taki@viralbit taki $ cat /etc/conf.d/hdparm
# Copyright 1999-2004 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/sys-apps/hdparm/files/hdparm-conf.d.3,v 1.2 2004/09/06 02:17:08 swegener Exp $

# You can either set hdparm arguments for each drive using hdX_args,
# discX_args, cdromX_args and genericX_args, e.g.
#
hda_args="-d1"
hdc_args="-d1"


I don't think setting dma on can ever result in loss of data.
The PIO thing could be a thing with the kernel ide bus options.

How old is you hardrive?
_________________
I live a life of needles and wax.
When the needle touches the wax,
I begin to breathe.
Back to top
View user's profile Send private message
FcukThisGame
l33t
l33t


Joined: 20 Apr 2005
Posts: 776
Location: /lost+found

PostPosted: Sat Mar 04, 2006 9:00 pm    Post subject: Reply with quote

hard drive's practically brand new...it's a 250gb maxtor diamondmax 9.

what do I need to do to configure hdparm for boot?
_________________
Sysadmin by trade, geek by choice

DESKTOP:
i7-3770K|8800GTS-512|32GB|1x256GB SSD|4x1TB|HD/BDROM|1920x1200+1680x1050
Win8 Pro w/ Hyper-V|Server 2012 VM|Ubuntu VM|Gentoo VM

TABLET: Samsung Ativ 700t
i5-3317U|4GB|128GB SSD|1920x1080 Touch
Win8
Back to top
View user's profile Send private message
Taki
Apprentice
Apprentice


Joined: 22 Sep 2005
Posts: 249
Location: Johannesburg, South Africa

PostPosted: Sat Mar 04, 2006 9:11 pm    Post subject: Reply with quote

See my post again

hdparm at boot:
Code:
# rc-update add hdparm boot

hdparm configuration:
Code:
/etc/conf.d/hdparm

_________________
I live a life of needles and wax.
When the needle touches the wax,
I begin to breathe.
Back to top
View user's profile Send private message
FcukThisGame
l33t
l33t


Joined: 20 Apr 2005
Posts: 776
Location: /lost+found

PostPosted: Sat Mar 04, 2006 9:15 pm    Post subject: Reply with quote

the cat command shows the entire file?

Okay.

EDIT: Did that, everything should be good.
Thanks.
_________________
Sysadmin by trade, geek by choice

DESKTOP:
i7-3770K|8800GTS-512|32GB|1x256GB SSD|4x1TB|HD/BDROM|1920x1200+1680x1050
Win8 Pro w/ Hyper-V|Server 2012 VM|Ubuntu VM|Gentoo VM

TABLET: Samsung Ativ 700t
i5-3317U|4GB|128GB SSD|1920x1080 Touch
Win8
Back to top
View user's profile Send private message
Taki
Apprentice
Apprentice


Joined: 22 Sep 2005
Posts: 249
Location: Johannesburg, South Africa

PostPosted: Sat Mar 04, 2006 9:36 pm    Post subject: Reply with quote

Its a pleasure :wink:
_________________
I live a life of needles and wax.
When the needle touches the wax,
I begin to breathe.
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