[PARPORT] two external HDD (EPAT)


Miroslav BENES (mbenes@tenez.cz)
Tue, 20 Apr 1999 09:50:27 +0100


> > 1) When I probe change the disk, I cannot mount logical disk from
> > it. Device /dev/pda5 (6.....x) don't exists. How can I make it ? In
> > Win95 it works :-(
>
> RedHat comes with only the first 4 device device nodes for each pd
> device. Read http://www.torque.net/parport/paride.html and run the
> script to make the device nodes. It will complain about the ones
> that already exist - but that's harmless.
OK, I made device nodes andnow it works fine.

> > 2) I probe to connect two disk too. In Win95 works all fine, but in
> > linux I cannot mount /dev/pdb1 (in isn't block device) and secondary
> > disk isn't detected in log file.
>
> Read the same page :-) The PARIDE drivers only detect the _first_
> device automatically. You have to use the drive0 and drive1 parameters
> if you want to use two devices.
Can I ask how ? In documentation is example, but it is with two
physical devices on the same port. But I have two disks in the same
device.

I was reading pd.c and I tested argument <slv> with this results :

[[root@mbenes /]#insmod pd drive0=0x378,,,5,,,,0 verbose=1
pd: pd version 1.05, major 45, cluster 64, nice 0
pda: epat: port 0x378, mode 5, ccr 0, test=(0,0,0)
pda: epat 1.01, Shuttle EPAT chip c5 at 0x378, mode 5 (EPP-32), delay
0
pda: Maxtor 90288D2, master, 5627664 blocks [2747M], (5583/16/63),
fixed media
 pda: pda1 pda2 < pda5 >

<slv> = 0, detecting master drive. OK

[[root@mbenes /]#insmod pd drive0=0x378,,,5,,,,1 verbose=1
pd: pd version 1.05, major 45, cluster 64, nice 0
pda: epat: port 0x378, mode 5, ccr 0, test=(0,0,0)
pda: epat 1.01, Shuttle EPAT chip c5 at 0x378, mode 5 (EPP-32), delay
0
pda: Maxtor 82160D2, slave, 4219425 blocks [2060M], (4465/15/63),
fixed media
 pda: pda1

<slv> = 1, detecting slave drive. OK

[[root@mbenes /]#insmod pd drive0=0x378,,,5,,,,0 drive1=0x378,,,5,,,,1
verbose=1
pd: pd version 1.05, major 45, cluster 64, nice 0
pda: epat: port 0x378, mode 5, ccr 0, test=(0,0,0)
pda: epat 1.01, Shuttle EPAT chip c5 at 0x378, mode 5 (EPP-32), delay
0
pda: Maxtor 90288D2, master, 5627664 blocks [2747M], (5583/16/63),
fixed media
pdb: Adapter not found
 pda: pda1 pda2 < pda5 >

This combination would detect both master and slave drives (?). But
it detects only firt drive from command line. Which parameter is
incorrectly set ? Or using two drives is impossible ?

--------------------------
Miroslav BENES
E-mail : mbenes@tenez.cz
TENEZ Chotebor, a.s
--------------------------

-- To unsubscribe, send mail to: linux-parport-request@torque.net --
-- with the single word "unsubscribe" in the body of the message. --



This archive was generated by hypermail 2.0b3 on Tue 20 Apr 1999 - 03:52:48 EDT