LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware
User Name
Password
Linux - Hardware This forum is for Hardware issues.
Having trouble installing a piece of hardware? Want to know if that peripheral is compatible with Linux?

Notices


Reply
  Search this Thread
Old 02-19-2004, 01:26 PM   #1
Ale
LQ Newbie
 
Registered: Aug 2003
Distribution: Mandrake
Posts: 4

Rep: Reputation: 0
Hard drive in primary channel showing in secondary channel


Hi, I have an 80GB Maxtor drive set as master in the primary channel, but in Mandrake 9.1 Control Center it shows in the secondary channel. My setup is:

Onboard VIA VT8367 Primary master: Maxtor 6Y080PO (hde)
Onboard VIA VT8367 Primary slave: free
Onboard VIA VT8367 Secondary master: Asus S520/A CD Drive (hdg)
Onboard VIA VT8367 Secondary slave: free

CMD-0649 IDE Controller Primary master: WD400BB-75CLB0 (hda)
CMD-0649 IDE Controller Primary slave: free
CMD-0649 IDE Controller Secondary master: ‎LITE-ON LTR-16102B (scd0
CMD-0649 IDE Controller Secondary slave: free

I have Windows Me, Windows 2000 and Mandrake 9.1 installed in the Maxtor drive. Win Me runs OK, all drives at full DMA modes and in their respective channles, but the drive acts funny under Windows 2000 and Mandrake 9.1. In Windows 2000, it shows in the Secondary channel and sets to PIO mode although the "Use DMA if available" option is set. And in Mandrake, it shows in the secondary channel (in UDMA 5 mode). Before installing Mandrake I had never had this problem so, can this have some connection with LILO? It's installed in the MBR. Kernel version is 2.4.21-0.13.

Thanks

//Moderator's Note:
Moving to Linux - Hardware

Last edited by MasterC; 02-19-2004 at 03:06 PM.
 
Old 02-20-2004, 11:21 AM   #2
Rounan
Member
 
Registered: Jun 2003
Location: Ontario
Distribution: Ubuntu, Gentoo, Debian
Posts: 416

Rep: Reputation: 30
OK, linux identifying a drive on the wrong channel is just plain weird...
Is it detecting both controllers? Are you using a stock kernel?

As for the PIO weirdness in Win2k, it's a known problem. good old Windoze assumes that once a drive burps a couple times (or Windows thinks it does) it's never able to handle DMA, ever again. There's no way to tell it otherwise, only fix is to uninstall the drive and the IDE channel from your system in Device Manager, and then reboot into win2k and let stupid, stupid windows re-detect it and go "oh, look! that brand new drive has DMA!"

Long term solution: format the windows partition and reformat it ext3.

--Rounan
 
Old 02-20-2004, 11:39 AM   #3
mhiggins
Member
 
Registered: Feb 2004
Posts: 140

Rep: Reputation: 15
I have found that jumpers are not fool proof, and systems with clever bios can let bad configs run close to normal! You may want to force the drive to Master and not cable select and force the slave to Slave and not cable select. Note also that the device furthest from the controller is the master, make sure this is the case. Also check the BIOS to see what it says bout what is connected where.

As for the PIO and DMA issue you can force these settings using hdparm. For fun test the drive speed 1st with hdparm and then force the settings.

hdparm -Tt /dev/hd[a-z]

read the man page and help for hdparm, but here is what I have in rc.local

/usr/sbin/hdparm -c 1 -d 1 -p 4 /dev/hdc
 
  


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
AirSnort works on only one channel - channel 11 kchhabria Linux - Wireless Networking 0 12-21-2004 03:53 PM
primary channel not found vnemana Linux - Hardware 1 08-17-2004 08:52 PM
Some hard questions I believe -Channel Bindings(soundcard), ntfs-capture and apm?? Nihongoga Slackware 12 07-22-2004 12:25 PM
formatting a secondary hard drive Bronzzy Linux - Newbie 2 03-27-2004 11:02 AM
Mounting a hard-drive on secondary ide linuxjuggler Linux - Newbie 1 12-16-2003 12:15 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware

All times are GMT -5. The time now is 09:05 AM.

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