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 |
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.
|
 |
01-11-2004, 12:41 PM
|
#1
|
Member
Registered: Apr 2001
Location: Chicago
Distribution: Gentoo 1.4
Posts: 214
Rep:
|
Promise Ultra66 IDE Controller
Hey Everyone,
Decided to try and install an IDE controller to play around with software RAID on my Gentoo system.
After installing the PCI card, the system boots just fine and recognizes the card as a mass storage controller using IRQ 11. I gleamed this information by simply typing:
cat /proc/pci
This is where I am stuck.
As far as I can tell there is no entery in /dev for the device. I realize that I may need to add a /dev entry for the device in order to access the disks attached to it, but I am not sure how to progress. I know the card works with Linux because I did an 'automated' install of Mandrake a long time ago and it picked up the card with no problems and all the drives I attached to it worked very well.
I am using devfsd by the way.
Thanks for any pointers.
|
|
|
01-11-2004, 12:52 PM
|
#2
|
Senior Member
Registered: Nov 2000
Location: Seattle, WA USA
Distribution: Ubuntu @ Home, RHEL @ Work
Posts: 3,892
Rep:
|
It won't have a specific /dev assigned to it. It uses /dev/hdx where x = e,f,g, and h.
|
|
|
01-11-2004, 12:57 PM
|
#3
|
Senior Member
Registered: Nov 2000
Location: Seattle, WA USA
Distribution: Ubuntu @ Home, RHEL @ Work
Posts: 3,892
Rep:
|
To figure out what devices it is using, you should see a message like the one I get on my old system with a Promise Ultra100 card (view these messages with dmesg):
PDC20267: chipset revision 2
PDC20267: 100% native mode on irq 9
PDC20267: (U)DMA Burst Bit ENABLED Primary PCI Mode Secondary PCI Mode.
ide2: BM-DMA at 0x1080-0x1087, BIOS settings: hde:DMA, hdf:DMA
ide3: BM-DMA at 0x1088-0x108f, BIOS settings: hdg:pio, hdh:DMA
hde: IBM-DTLA-307045, ATA DISK drive
ide2 at 0x1420-0x1427,0x1416 on irq 9
hdh: WDC WD400EB-00CPF0, ATA DISK drive
ide3 at 0x1418-0x141f,0x1412 on irq 9
hde: max request size: 128KiB
hde: 90069840 sectors (46115 MB) w/1916KiB Cache, CHS=65535/16/63, UDMA(100)
/dev/ide/host2/bus0/target0/lun0: p1 p2 p3
hdh: max request size: 128KiB
hdh: 78165360 sectors (40020 MB) w/2048KiB Cache, CHS=65535/16/63, UDMA(100)
/dev/ide/host2/bus1/target1/lun0: p1[EZD]
As you can see here hde and hdh are the devices... why I am using the slave on ide3 when there is no master I have no idea... must have had one too many beers when I connected the ide cable in that system.
|
|
|
01-11-2004, 10:05 PM
|
#4
|
Member
Registered: Apr 2001
Location: Chicago
Distribution: Gentoo 1.4
Posts: 214
Original Poster
Rep:
|
jtshaw,
Thanks for the replies.
Well, I managed to get the controller to see drives with nothing more than ext2 file systems on them.
Now however, if I attach a disk with say, Winblows XPee ( sorry couldn't resist), the controller does not pick up the drive. I recompiled the kernel with Microsoft compatibility options and still have no luck.
Any idea?
Thanks again.
|
|
|
All times are GMT -5. The time now is 08:42 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
|
|