[Date Prev][Date Next] [Thread Prev][Thread Next]
[Thread Index]
[Date Index]
[Author Index]
RE: IDE Card
- From: "Mark W. Knecht" <mknecht controlnet com>
- To: "Redhat-Install-List (E-mail)" <redhat-install-list redhat com>
- Subject: RE: IDE Card
- Date: Fri, 29 Jun 2001 11:50:48 -0700
Brad,
I have no answers, so I'm just poking around because I'm interested...
I am able to eventually find my CD in /proc/ide/ide1/hdc looking at
'model'. this stuff is interesting. Maybe you can explore /proc/ide a bit
and look for the device that's attached, if any.
Good luck,
Mark
Last login: Thu Jun 28 08:59:52 2001 from 12.44.181.130
No mail.
[root CNDNS1 /root]# whoami
root
[root CNDNS1 /root]# cd /proc
[root CNDNS1 /proc]# ls
1 21875 3 398 429 520 680 688 743 851 devices ide
ksyms misc partitions slabinfo uptime
2 21877 317 399 453 536 681 689 785 apm dma
interrupts loadavg modules pci stat version
21842 22060 327 4 498 6 682 695 848 bus fb
ioports locks mounts rtc swaps
21843 22061 342 400 499 672 683 728 849 cmdline filesystems kcore
mdstat mtrr scsi sys
21873 22083 394 401 5 679 687 741 850 cpuinfo fs kmsg
meminfo net self tty
[root CNDNS1 /proc]# ls devices
devices
[root CNDNS1 /proc]# cd devices
bash: cd: devices: Not a directory
[root CNDNS1 /proc]# more devices
Character devices:
1 mem
2 pty
3 ttyp
4 ttyS
5 cua
7 vcs
10 misc
29 fb
36 netlink
128 ptm
136 pts
162 raw
203 cpu/cpuid
Block devices:
1 ramdisk
2 fd
3 ide0
9 md
22 ide1
[root CNDNS1 /proc]# more mounts
/dev/root / ext2 rw 0 0
/proc /proc proc rw 0 0
/dev/hda1 /boot ext2 rw 0 0
/dev/hda6 /home ext2 rw 0 0
/dev/hda5 /usr ext2 rw 0 0
/dev/hda7 /var ext2 rw 0 0
none /dev/pts devpts rw 0 0
[root CNDNS1 /proc]# dir ide
drivers hda hdc ide0 ide1
[root CNDNS1 /proc]# cd ide
[root CNDNS1 ide]# dir
drivers hda hdc ide0 ide1
[root CNDNS1 ide]# more drivers
ide-disk version 1.08
[root CNDNS1 ide]# more hda
*** hda: directory ***
[root CNDNS1 ide]# ls -al
total 0
dr-xr-xr-x 4 root root 0 Jun 29 11:39 .
dr-xr-xr-x 54 root root 0 Jun 28 00:12 ..
-r--r--r-- 1 root root 0 Jun 29 11:39 drivers
lrwxrwxrwx 1 root root 0 Jun 29 11:39 hda -> ide0/hda
lrwxrwxrwx 1 root root 0 Jun 29 11:39 hdc -> ide1/hdc
dr-xr-xr-x 3 root root 0 Jun 29 11:39 ide0
dr-xr-xr-x 3 root root 0 Jun 29 11:39 ide1
[root CNDNS1 ide]# cd ide1
[root CNDNS1 ide1]# ls
channel config hdc mate model
[root CNDNS1 ide1]# ls -al
total 0
dr-xr-xr-x 3 root root 0 Jun 29 11:41 .
dr-xr-xr-x 4 root root 0 Jun 29 11:39 ..
-r--r--r-- 1 root root 0 Jun 29 11:41 channel
-rw-r--r-- 1 root root 0 Jun 29 11:41 config
dr-xr-xr-x 2 root root 0 Jun 29 11:41 hdc
-r--r--r-- 1 root root 0 Jun 29 11:41 mate
-r--r--r-- 1 root root 0 Jun 29 11:41 model
[root CNDNS1 ide1]# cd hdc
[root CNDNS1 hdc]# ls -al
total 0
dr-xr-xr-x 2 root root 0 Jun 29 11:41 .
dr-xr-xr-x 3 root root 0 Jun 29 11:41 ..
-r--r--r-- 1 root root 0 Jun 29 11:41 driver
-r-------- 1 root root 0 Jun 29 11:41 identify
-r--r--r-- 1 root root 0 Jun 29 11:41 media
-r--r--r-- 1 root root 0 Jun 29 11:41 model
-rw------- 1 root root 0 Jun 29 11:41 settings
[root CNDNS1 hdc]# more settings
name value min max mode
---- ----- --- --- ----
io_32bit 0 0 3 rw
keepsettings 0 0 1 rw
nice1 0 0 1 rw
pio_mode write-only 0 255 w
slow 0 0 1 rw
unmaskirq 0 0 1 rw
using_dma 0 0 1 rw
[root CNDNS1 hdc]# more model
TOSHIBA CD-ROM XM-6202B
FOUND WHAT I WAS LOOKING FOR!!
-----Original Message-----
From: redhat-install-list-admin redhat com
[mailto:redhat-install-list-admin redhat com]On Behalf Of Mugleston,
Brad
Sent: Friday, June 29, 2001 10:29 AM
To: redhat-install-list redhat com
Cc: home ecentral
Subject: RE: IDE Card
Mark, Richard and everyone else,
Thanks for the replies - we've established that the SCSI card I see under
windows that I have my CD's connected to is the same device I see under
Linux in the /proc/pci file.
Now how do I mount my CD's? I made a directory called (cdu - for CD upper)
and did a mount /dev/hd* /cdu and got an error (it was late last night and I
didn't write it down, sorry -something like that device isn't there). I
tried all kinds of combinations to replace the * (c, c1, c2, d, d1, d2, b,
b1, b2...) but I got the same error (no I didn't really use a *, just the
replacements).
Thanks for any help anyone can give me - I'd like to get this working over
the weekend so if you believe you have a solution can you also send your
reply to my home email address of muglesto ecentral com
Thanks
Brad
> -----Original Message-----
> From: Mark W. Knecht [SMTP:mknecht controlnet com]
> Sent: Thursday, June 28, 2001 1:43 PM
> To: redhat-install-list redhat com
> Subject: RE: IDE Card
>
> Hi,
> The two devices are sharing more than an interrupt. They are the same
> chip!! Notice that your Linux information is telling you Bus 0, Device,
> 14,
> Function 0 & 1. This is what's known as a multi-function PCI device. This
> is
> a 'dual-channel' controller.
>
> Generally speaking, at least in the Windows world, both controller will
> be handled by the same device driver. The driver takes and interrupt,
> looks
> at the first controller and then the second controller to see which one
> interrupted, and then services either one or both. In the Linux world I
> don't know this stuff at that level of detail, but any Intel chipset today
> is multi-function also, so that shouldn't be any different except it's
> ATA66/100.
>
> I went through the ATA-100 thing recently on my Windows box. Cable
> Select
> is recommended. If you go this way, then make sure your drives are at the
> end of the cable (master) and the CDs are in the middle. (slaves) Also,
> ATA-100 (and maybe 66) are a different cable than the old EIDE drives.
> Your
> controller probably provided new cables.
>
> I think it was Matt Drew who recently (maybe 2 months ago?) posted some
> info on getting ATA to work with anything pre-7.1, but I could be wrong
> about that. Possibly something in the archives or on Google.
>
> Good luck,
> Mark
>
> -----Original Message-----
> From: redhat-install-list-admin redhat com
> [mailto:redhat-install-list-admin redhat com]On Behalf Of Richard
> Sent: Thursday, June 28, 2001 12:10 PM
> To: redhat-install-list redhat com
> Subject: Re: IDE Card
>
>
> I have seen something similar with an attached card. I believe the two
> IDE ports are simply sharing the same interrupt and will be able to keep
> your devices separate. I read somewhere (an Anandtech article, if I
> recall) that it identifies as a SCSI device so it can be found in the
> boot-up sequence of your BIOS but functions as an IDE controller
> regardless. That is, how it is identified and how it is used seem not
> to necessarily be intrisically related. I think Triones Technologies is
> an identifier for a Highpoint chip. I also read just recently that the
> 80-wire cable used with ATA66/100 devices is "cable-specific," that is,
> it separates the devices. I have seen one document that insists that
> the drives should be jumpered as "cable select" rather than as master
> and slave as that determination would be made by the cable and card. I
> tried this with my setup and saw no difference that I could attribute to
> it, and it was working fine before, so... I went back to the original
> jumpers. Another article suggested (referencing raid really) that the
> original higher performance speeds were SCSI and have merely been
> adapted for IDE and this is the reason they are identified as SCSI but
> function as IDE. So far as this goes, I merely report. I don't think
> Linux will have a problem here. The drives will be identified as
> (assuming you have two IDE controllers on board) hde, hdf, hdg, hdh, in
> the usual order: first or primary controller on the card, master and
> slave, then the secondary. I would put the drives on separate cables if
> they are different speeds as I read somewhere that two drives on the
> same cable, of different speeds, will cause the system to fall back to
> the slower speed for both. Richard
> "Mugleston, Brad" wrote:
> >
> > I installed a new PCI - IDE controller so I could have both a CD player
> and
> > a CD writer. I've gotten a lot of help from this list and now I can ask
> my
> > question with greater knowledge and a little understanding.
> >
> > Under Windows it installed as SCSI controller. It's a SIIG UltraATA
> 66PCI.
> > Under the windows resources screen it shows that it
> > uses:
> >
> > IRQ 11
> > I/O:DCD8h-DCDFh
> > I/O:DCD0h-DCD3h
> > I/O:D800h-D8FFh
> > and
> > IRQ 11
> > I/O:DCC8h-DCCFh
> > I/O:DCD4h-DCD7h
> > I/O:D400h-D4FFh
> >
> > If I look at my /proc/pci file I get the following:
> >
> > Bus 0, device 14, function 0:
> > Unknown mass storage controller: Triones Technologies, Inc. Unknown
> > device (rev 1).
> > Vendor id=1103. Device id=4.
> > Medium devsel. IRQ 11. Master Capable. Latency=248. Min
> Gnt=8.Max
> > Lat=8.
> > I/O at 0xdcd8 [0xdcd9].
> > I/O at 0xdcd0 [0xdcd1].
> > I/O at 0xd800 [0xd801].
> > Bus 0, device 14, function 1:
> > Unknown mass storage controller: Triones Technologies, Inc. Unknown
> > device (rev 1).
> > Vendor id=1103. Device id=4.
> > Medium devsel. IRQ 11. Master Capable. Latency=248. Min
> Gnt=8.Max
> > Lat=8.
> > I/O at 0xdcc8 [0xdcc9].
> > I/O at 0xdcd4 [0xdcd5].
> > I/O at 0xd400 [0xd401].
> >
> > To me these look like the same device. If so, how do I get Linux (RH
> 6.0)
> > to recognize my two CD's? It doesn't have to run as an ULTRA anything I
> am
> > just trying to get my CD's to work the hard drive is attached to the IDE
> > port on the motherboard. I don't have time to upgrade to RH 7.1 (maybe
> in
> > August) but I would really like to backup my hard drive BEFORE I do the
> > upgrade as everything is working fantastic right now (other than I can't
> use
> > my CD's).
> >
> > I need some basic instruction (step by step if possible, I'm way above
> my
> > abilities here).
> >
> > Brad
> >
> > _______________________________________________
> > Redhat-install-list mailing list
> > Redhat-install-list redhat com
> > https://listman.redhat.com/mailman/listinfo/redhat-install-list
>
>
>
> _______________________________________________
> Redhat-install-list mailing list
> Redhat-install-list redhat com
> https://listman.redhat.com/mailman/listinfo/redhat-install-list
>
>
>
> _______________________________________________
> Redhat-install-list mailing list
> Redhat-install-list redhat com
> https://listman.redhat.com/mailman/listinfo/redhat-install-list
_______________________________________________
Redhat-install-list mailing list
Redhat-install-list redhat com
https://listman.redhat.com/mailman/listinfo/redhat-install-list
[Date Prev][Date Next] [Thread Prev][Thread Next]
[Thread Index]
[Date Index]
[Author Index]