[PARPORT] IDE Disk Capacity > 8GB via parallel port

From: Rob Levy (rob.levy@attglobal.net)
Date: Thu Nov 23 2000 - 17:44:06 EST

  • Next message: Erik Inge Bolsø: "Re: [PARPORT] IDE Disk Capacity > 8GB via parallel port"

    Gentleman (& Ladies),

    I have recently aquired a nifty laptop (i686, 128MB RAM) with a 12GB
    HDD, which I have divided between M$, Linux and Solaris 7 X86. I spent a

    fair amount of time configuring and finaly as I am happy with the build
    I need to make a backup. The solution I was looking for was more of a
    Disaster Recovery type option (i.e dd if=/dev/hda of=/dev/pda1 etc.)
    Which is where I need some assistance ....
    The drive I bought (which is housed externally and accessed via the
    parallel port and then the epat type chip) is a 45GB Western Digital
    however I can only see the first 8GB.
    I'm not sure its relevent but I know the bios supports > 8GB because a
    M$ and linux logical partition exist above the boundry.

    Is there a way to access the entire drive ?

    Details below ....

    [root@polgara /root]#
    [root@polgara /root]# uname -a
    Linux polgara 2.2.14-5.0 #1 Tue Mar 7 21:07:39 EST 2000 i686 unknown
    [root@polgara /root]#
    [root@polgara /root]# tail -f /var/log/messages&
    [2] 1096
    Nov 23 21:09:42 polgara kernel: pd: pd version 1.05, major 45, cluster
    64, nice 0
    Nov 23 21:09:42 polgara kernel: pda: Sharing parport0 at 0x378
    Nov 23 21:09:42 polgara kernel: pda: epat 1.01, Shuttle EPAT chip c6 at
    0x378, mode 0 (4-bit), delay 1
    Nov 23 21:09:42 polgara kernel: pda: WDC WD450AA-00, master, 16514064
    blocks [8063M], (16383/16/63), fixed media
    Nov 23 21:09:42 polgara kernel: pda: pda2 < pda5 pda6 pda7 pda8 >
    [root@polgara /root]#
    [root@polgara /root]#
    [root@polgara /root]# insmod parport
    Using /lib/modules/2.2.14-5.0/misc/parport.o
    [root@polgara /root]#
    [root@polgara /root]# insmod paride
    Using /lib/modules/2.2.14-5.0/misc/paride.o
    [root@polgara /root]# Nov 23 21:19:03 polgara kernel: paride: version
    1.04 installed
    Nov 23 21:19:03 polgara kernel: paride: version 1.04 installed

    [root@polgara /root]#
    [root@polgara /root]# insmod epat
    Using /lib/modules/2.2.14-5.0/misc/epat.o
    [root@polgara /root]# Nov 23 21:19:14 polgara kernel: paride: epat
    registered as protocol 0
    Nov 23 21:19:14 polgara kernel: paride: epat registered as protocol 0

    [root@polgara /root]#
    [root@polgara /root]# insmod pd
    Using /lib/modules/2.2.14-5.0/misc/pd.o
    Nov 23 21:19:47 polgara kernel: pd: pd version 1.05, major 45, cluster
    64, nice 0
    Nov 23 21:19:47 polgara kernel: parport0: PC-style at 0x378 (0x778)
    [SPP,ECP,ECPPS2]
    Nov 23 21:19:47 polgara kernel: parport0: detected irq 7; use procfs to
    enable interrupt-driven operation.
    Nov 23 21:19:47 polgara kernel: parport0: no IEEE-1284 device present.
    Nov 23 21:19:47 polgara kernel: pda: Sharing parport0 at 0x378
    Nov 23 21:19:47 polgara kernel: pda: epat 1.01, Shuttle EPAT chip c6 at
    0x378, mode 0 (4-bit), delay 1
    Nov 23 21:19:47 polgara kernel: pda: WDC WD450AA-00, master, 16514064
    blocks [8063M], (16383/16/63), fixed media
    [root@polgara /root]# Nov 23 21:19:47 polgara kernel: pd: pd version
    1.05, major 45, cluster 64, nice 0
    Nov 23 21:19:47 polgara kernel: parport0: PC-style at 0x378 (0x778)
    [SPP,ECP,ECPPS2]
    Nov 23 21:19:47 polgara kernel: parport0: detected irq 7; use procfs to
    enable interrupt-driven operation.
    Nov 23 21:19:47 polgara kernel: parport0: no IEEE-1284 device present.
    Nov 23 21:19:47 polgara kernel: pda: Sharing parport0 at 0x378
    Nov 23 21:19:47 polgara kernel: pda: epat 1.01, Shuttle EPAT chip c6 at
    0x378, mode 0 (4-bit), delay 1
    Nov 23 21:19:47 polgara kernel: pda: WDC WD450AA-00, master, 16514064
    blocks [8063M], (16383/16/63), fixed media
    Nov 23 21:19:47 polgara kernel: pda: pda2 < pda5 pda6 pda7 pda8 >
    Nov 23 21:19:47 polgara kernel: pda: pda2 < pda5 pda6 pda7 pda8 >

    [root@polgara /root]#
    [root@polgara /root]# fdisk /dev/pda

    The number of cylinders for this disk is set to 16383.
    There is nothing wrong with that, but this is larger than 1024,
    and could in certain setups cause problems with:
    1) software that runs at boot time (e.g., LILO)
    2) booting and partitioning software from other OSs
       (e.g., DOS FDISK, OS/2 FDISK)

    Command (m for help): p

    Disk /dev/pda: 16 heads, 63 sectors, 16383 cylinders
    Units = cylinders of 1008 * 512 bytes

       Device Boot Start End Blocks Id System
    /dev/pda2 17 16368 8241376+ 5 Extended
    Partition 2 does not end on cylinder boundary:
         phys=(1022, 255, 63) should be (1022, 15, 63)
    /dev/pda5 17 4160 2088544+ 6 FAT16
    /dev/pda6 4161 8304 2088544+ 6 FAT16
    /dev/pda7 8305 12448 2088544+ 6 FAT16
    /dev/pda8 12449 16368 1975648+ 6 FAT16

    Any assistance would be greatly appreciated.

    -- 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 2b29 : Thu Nov 23 2000 - 17:45:52 EST