Unix Technical Forum

Hdparm seeing phantom drive!

This is a discussion on Hdparm seeing phantom drive! within the Gentoo Linux Support forums, part of the Unix Operating Systems category; --> Andrew Walker wrote: >>The drive might not exist, but the device file surely does. Try deleting >>the device file ...


Go Back   Unix Technical Forum > Unix Operating Systems > Gentoo Linux Support

FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #11 (permalink)  
Old 02-21-2008, 09:39 AM
Ben O'Brien
 
Posts: n/a
Default Re: Hdparm seeing phantom drive!

Andrew Walker wrote:
>>The drive might not exist, but the device file surely does. Try deleting
>>the device file and/or changing the drive setting to "no drive" or
>>"auto" in the bios. Do you use udev? If so, try setting in
>>/etc/conf.d/rc RC_DEVICES="udev" and RC_DEVICE_TARBALL="no".

>
>
> There is no option for RC_DEVICES="udev" in my /etc/conf.d/rc file, do
> you mean replace the line
> RC_DEVFSD_STARTUP="yes"
> with
> RC_DEVICES="udev"
>


Well, I think this pretty much answers my question asking if you use udev.
Also, I hadn't read you other post about the disk being in a RAID so
please don't be trying to delete any of the device files I mentioned
before. Oops.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #12 (permalink)  
Old 02-21-2008, 09:39 AM
Ben O'Brien
 
Posts: n/a
Default Re: Hdparm seeing phantom drive!

Andrew Walker wrote:
>>The drive might not exist, but the device file surely does. Try deleting
>>the device file and/or changing the drive setting to "no drive" or
>>"auto" in the bios. Do you use udev? If so, try setting in
>>/etc/conf.d/rc RC_DEVICES="udev" and RC_DEVICE_TARBALL="no".

>
>
> There is no option for RC_DEVICES="udev" in my /etc/conf.d/rc file, do
> you mean replace the line
> RC_DEVFSD_STARTUP="yes"
> with
> RC_DEVICES="udev"
>


Ok, I guess this answers my question about whether you use udev or not.
I spose you're still using devfsd instead.
I read in the other thread for this post that you have some kind of
raid. This raid doesn't include the mystery hdb does it? It seems that
they are hde and hdg right?
Anyway, if this disk has indeed been taken out of the computer and is
safely out of harm's way, try deleting the device file and all the links
to/from it. Or you could just remove it from your hdparm conf file.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #13 (permalink)  
Old 02-21-2008, 09:40 AM
Andrew Walker
 
Posts: n/a
Default Re: Hdparm seeing phantom drive!

On Thu, 07 Apr 2005 13:29:03 +0100, Ben O'Brien wrote:


> Well, I think this pretty much answers my question asking if you use udev.
> Also, I hadn't read you other post about the disk being in a RAID so
> please don't be trying to delete any of the device files I mentioned
> before. Oops.


Now I'm really confused. I should be using udev as I installed it
following the link below

http://www.gentoo.org/doc/en/udev-guide.xml

and it seems to mention that udev is being used on boot-up.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #14 (permalink)  
Old 02-21-2008, 09:40 AM
Geoff King
 
Posts: n/a
Default Re: Hdparm seeing phantom drive!

On Thu, 07 Apr 2005 09:21:14 +0000, Andrew Walker wrote:

> And it appears they are already using udma6, it this right?


yes.

> However, I tried this on hda and it looks like it's using udma4 when it
> could use udma5, am I right about this as well?


yes, and it could even use udma6.

--
Bell Labs Unix -- Reach out and grep someone.

Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #15 (permalink)  
Old 02-21-2008, 09:40 AM
Sybren Stuvel
 
Posts: n/a
Default Re: Hdparm seeing phantom drive!

Andrew Walker enlightened us with:
> and it looks like it's using udma4 when it could use udma5, am I
> right about this as well?


The drive supports udma6, but maybe the controller only supports up to
udma4?

Sybren
--
The problem with the world is stupidity. Not saying there should be a
capital punishment for stupidity, but why don't we just take the
safety labels off of everything and let the problem solve itself?
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #16 (permalink)  
Old 02-21-2008, 09:40 AM
Ben O'Brien
 
Posts: n/a
Default Re: Hdparm seeing phantom drive!

Andrew Walker wrote:
> On Thu, 07 Apr 2005 13:29:03 +0100, Ben O'Brien wrote:
>
>
>
>>Well, I think this pretty much answers my question asking if you use udev.
>>Also, I hadn't read you other post about the disk being in a RAID so
>>please don't be trying to delete any of the device files I mentioned
>>before. Oops.

>
>
> Now I'm really confused. I should be using udev as I installed it
> following the link below
>
> http://www.gentoo.org/doc/en/udev-guide.xml
>
> and it seems to mention that udev is being used on boot-up.

Sorry, I tried to cancel this message of mine, but it seems you already
read it.
Anyway, if you want udev, you'll probably have to change your
/etc/conf.d/rc in so that RC_DEVICES="udev" and if you also want to get
rid of all the useless files in /dev/ you should set
RC_DEVICE_TARBALL="no". Refer to the guide, it's a good one (as usual).
Also, read my other post in this thread... the one I meant to post.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #17 (permalink)  
Old 02-21-2008, 09:54 AM
test
 
Posts: n/a
Default Re: Hdparm seeing phantom drive!

Andrew Walker wrote:

==snipped==
> However, I tried this on hda
>
> bash-2.05b# hdparm -i /dev/hda
>
> /dev/hda:
>
> Model=MAXTOR 6L020J1, FwRev=A93.0500, SerialNo=661208113614
> Config={ HardSect NotMFM HdSw>15uSec Fixed DTR>10Mbs }
> RawCHS=16383/16/63, TrkSize=32256, SectSize=21298, ECCbytes=4
> BuffType=DualPortCache, BuffSize=1819kB, MaxMultSect=16, MultSect=16
> CurCHS=16383/16/63, CurSects=16514064, LBA=yes, LBAsects=40132503
> IORDY=on/off, tPIO={min:120,w/IORDY:120}, tDMA={min:120,rec:120}
> PIO modes: pio0 pio1 pio2 pio3 pio4
> DMA modes: mdma0 mdma1 mdma2
> UDMA modes: udma0 udma1 udma2 udma3 *udma4 udma5 udma6
> AdvancedPM=no WriteCache=enabled
> Drive conforms to: ATA/ATAPI-5 T13 1321D revision 1:
>
> * signifies the current active mode
>
> bash-2.05b#
>
> and it looks like it's using udma4 when it could use udma5, am I right
> about this as well?
>
>
>
>

There are three (3) possible reasons:
1st Mode isn't enabled in the bios (most likely)
2nd Cable isn't rated (replace cable)
3rd Chipset doesn't support mode (least likely)
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #18 (permalink)  
Old 02-21-2008, 09:54 AM
test
 
Posts: n/a
Default Re: Hdparm seeing phantom drive!

Andrew Walker wrote:

==snipped==
> bash-2.05b# hdparm -i /dev/hda
>
> /dev/hda:
>
> Model=MAXTOR 6L020J1, FwRev=A93.0500, SerialNo=661208113614
> Config={ HardSect NotMFM HdSw>15uSec Fixed DTR>10Mbs }
> RawCHS=16383/16/63, TrkSize=32256, SectSize=21298, ECCbytes=4
> BuffType=DualPortCache, BuffSize=1819kB, MaxMultSect=16, MultSect=16
> CurCHS=16383/16/63, CurSects=16514064, LBA=yes, LBAsects=40132503
> IORDY=on/off, tPIO={min:120,w/IORDY:120}, tDMA={min:120,rec:120}
> PIO modes: pio0 pio1 pio2 pio3 pio4
> DMA modes: mdma0 mdma1 mdma2
> UDMA modes: udma0 udma1 udma2 udma3 *udma4 udma5 udma6
> AdvancedPM=no WriteCache=enabled
> Drive conforms to: ATA/ATAPI-5 T13 1321D revision 1:
>
> * signifies the current active mode
>
> bash-2.05b#
>
> and it looks like it's using udma4 when it could use udma5, am I right
> about this as well?
>
>
>
>

There are three reasons you may not be getting full udma6 support from the
onboard controller.
1st You don't have it enabled in the bios (most likely problem)
2nd Cable doesn't support it (replace the cable)
3rd Chipset doesn't support that mode (least likely problem)
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Reply


Thread Tools
Display Modes

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

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On
Forum Jump


All times are GMT. The time now is 04:32 AM.


Powered by vBulletin® Version 3.6.5
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
SEO by vBSEO 3.2.0
www.UnixAdminTalk.com