Find the answer to your Linux question:
Results 1 to 7 of 7
hey folks, i'm attempting to add another IDE HDD in order to add storage space to an older computer using a promise ultra66 pci card (pdc20262), and whenever i try ...
Enjoy an ad free experience by logging in. Not a member yet? Register.
  1. #1
    Just Joined!
    Join Date
    Dec 2005
    Posts
    3

    promise ultra66 issues: unable to open device with fdisk


    hey folks,
    i'm attempting to add another IDE HDD in order to add storage space to an older computer using a promise ultra66 pci card (pdc20262), and whenever i try fdisk, it tells me "Unable to open /dev/hd*" where i have tried a through h in place of the *

    i'm pretty positive that the kernel sees the card from some of the output ive gotten, but apparently its having issues accessing the drive with fdisk ( 120GB ).

    i'm somewhat new to linux, so i dont know exactly whats going on, but i know enough to get around,
    and the man pages arent helping, and neither are the howtos.

    i've attached the output to some simple commands below, lemme know if you need more information

    thanks!
    spargonaut

    the distro i'm running is Debian

    harware I'm using already:
    I've got a SCSI PCI card with one SCSI disk attached.
    this is the disk with the root system. It boots and works just fine.
    i also have the promise ultra66 IDE card with one 120GB HDD attached.
    the system sees the card (i believe) and the drive (i believe).
    i am unable to access the drive with fdisk. Its a new drive, and i intend to use it only for data storage.


    command: uname -a
    ----------------------------------------------------------------------
    Linux elephant 2.4.27-2-386 #1 Mon May 16 16:47:51 JST 2005 i686 GNU/Linux
    ----------------------------------------------------------------------

    command: lspci
    ----------------------------------------------------------------------
    0000:00:00.0 Host bridge: Intel Corp. 440BX/ZX/DX - 82443BX/ZX/DX Host bridge (rev 02)
    0000:00:01.0 PCI bridge: Intel Corp. 440BX/ZX/DX - 82443BX/ZX/DX AGP bridge (rev 02)
    0000:00:07.0 ISA bridge: Intel Corp. 82371AB/EB/MB PIIX4 ISA (rev 02)
    0000:00:07.1 IDE interface: Intel Corp. 82371AB/EB/MB PIIX4 IDE (rev 01)
    0000:00:07.2 USB Controller: Intel Corp. 82371AB/EB/MB PIIX4 USB (rev 01)
    0000:00:07.3 Bridge: Intel Corp. 82371AB/EB/MB PIIX4 ACPI (rev 02)
    0000:00:0a.0 SCSI storage controller: Adaptec AHA-2940U/UW/D / AIC-7881U
    0000:00:0b.0 Unknown mass storage controller: Promise Technology, Inc. PDC20262 (FastTrak66/Ultra66) (rev 01)
    0000:00:0c.0 Ethernet controller: 3Com Corporation 3c980-TX Fast Etherlink XL Server Adapter [Cyclone] (rev 30)
    0000:00:0d.0 Multimedia audio controller: Creative Labs SB Live! EMU10k1 (rev 05)
    0000:00:0d.1 Input device controller: Creative Labs SB Live! MIDI/Game Port (rev 05)
    0000:01:00.0 VGA compatible controller: Silicon Integrated Systems [SiS] 86C326 5598/6326 (rev 0b)
    ----------------------------------------------------------------------


    command: lsmod
    ----------------------------------------------------------------------
    Module Size Used by Not tainted
    input 3040 0 (autoclean)
    apm 8428 1 (autoclean)
    binfmt_misc 5060 1
    af_packet 11048 1 (autoclean)
    emu10k1-gp 1128 0 (unused)
    gameport 1388 0 [emu10k1-gp]
    usb-uhci 19504 0 (unused)
    usbcore 52268 1 [usb-uhci]
    emu10k1 49612 1
    ac97_codec 11252 0 [emu10k1]
    sound 48872 0 [emu10k1]
    soundcore 3268 7 [emu10k1 sound]
    ide-scsi 8272 0
    pdc202xx_old 9924 1
    piix 7784 1
    3c59x 23312 1
    agpgart 39108 0 (unused)
    ide-disk 12448 0
    ide-detect 288 0 (unused)
    ide-cd 27072 0
    cdrom 26212 0 [ide-cd]
    ide-core 91832 0 [ide-scsi pdc202xx_old piix ide-disk ide-detect ide-cd]
    rtc 5768 0 (autoclean)
    ext3 65388 1 (autoclean)
    jbd 34628 1 (autoclean) [ext3]
    sd_mod 10764 4 (autoclean)
    aic7xxx 121944 2 (autoclean)
    scsi_mod 86052 3 (autoclean) [ide-scsi sd_mod aic7xxx]
    unix 12752 186 (autoclean)
    ----------------------------------------------------------------------

    command: cat /proc/pci
    ----------------------------------------------------------------------------------------------------]
    Bus 0, device 0, function 0:
    Host bridge: Intel Corp. 440BX/ZX/DX - 82443BX/ZX/DX Host bridge (rev 2).
    Master Capable. Latency=64.
    Prefetchable 32 bit memory at 0xe0000000 [0xe7ffffff].
    Bus 0, device 1, function 0:
    PCI bridge: Intel Corp. 440BX/ZX/DX - 82443BX/ZX/DX AGP bridge (rev 2).
    Master Capable. Latency=64. Min Gnt=137.
    Bus 0, device 7, function 0:
    ISA bridge: Intel Corp. 82371AB/EB/MB PIIX4 ISA (rev 2).
    Bus 0, device 7, function 1:
    IDE interface: Intel Corp. 82371AB/EB/MB PIIX4 IDE (rev 1).
    Master Capable. Latency=64.
    I/O at 0xf000 [0xf00f].
    Bus 0, device 7, function 2:
    USB Controller: Intel Corp. 82371AB/EB/MB PIIX4 USB (rev 1).
    IRQ 11.
    Master Capable. Latency=64.
    I/O at 0x6400 [0x641f].
    Bus 0, device 7, function 3:
    Bridge: Intel Corp. 82371AB/EB/MB PIIX4 ACPI (rev 2).
    IRQ 9.
    Bus 0, device 10, function 0:
    SCSI storage controller: Adaptec AHA-2940U/UW/D / AIC-7881U (rev 0).
    IRQ 10.
    Master Capable. Latency=64. Min Gnt=8.Max Lat=8.
    I/O at 0x6800 [0x68ff].
    Non-prefetchable 32 bit memory at 0xe8020000 [0xe8020fff].
    Bus 0, device 11, function 0:
    Unknown mass storage controller: Promise Technology, Inc. 20262 (rev 1).
    IRQ 9.
    Master Capable. Latency=64.
    I/O at 0x6c00 [0x6c07].
    I/O at 0x7000 [0x7003].
    I/O at 0x7400 [0x7407].
    I/O at 0x7800 [0x7803].
    I/O at 0x7c00 [0x7c3f].
    Non-prefetchable 32 bit memory at 0xe8000000 [0xe801ffff].
    Bus 0, device 12, function 0:
    Ethernet controller: 3Com Corporation 3c980-TX [Fast Etherlink XL Server Adapter] (rev 48).
    IRQ 9.
    Master Capable. Latency=64. Min Gnt=10.Max Lat=10.
    I/O at 0x8000 [0x807f].
    Non-prefetchable 32 bit memory at 0xe8021000 [0xe802107f].
    Bus 0, device 13, function 0:
    Multimedia audio controller: Creative Labs SB Live! EMU10k1 (rev 5).
    IRQ 11.
    Master Capable. Latency=64. Min Gnt=2.Max Lat=20.
    I/O at 0x8400 [0x841f].
    Bus 0, device 13, function 1:
    Input device controller: Creative Labs SB Live! MIDI/Game Port (rev 5).
    Master Capable. Latency=64.
    I/O at 0x8800 [0x8807].
    Bus 1, device 0, function 0:
    VGA compatible controller: Silicon Integrated Systems [SiS] 86C326 5598/6326 (rev 11).
    Master Capable. Latency=64. Min Gnt=2.
    Prefetchable 32 bit memory at 0xaf800000 [0xafffffff].
    Non-prefetchable 32 bit memory at 0xde000000 [0xde00ffff].
    I/O at 0xe000 [0xe07f].
    ----------------------------------------------------------------------------------------------------


    dmesg reports that it sees the card, and says something like this:
    -----------------------------------------------------------------------------------------
    PIIX4: IDE controller at PCI slot 00:07.1
    PIIX4: chipset revision 1
    PIIX4: not 100% native mode: will probe irqs later
    ide0: BM-DMA at 0xf000-0xf007, BIOS settings: hdaio, hdbio
    ide1: BM-DMA at 0xf008-0xf00f, BIOS settings: hdcio, hddio
    PDC20262: IDE controller at PCI slot 00:0b.0
    PCI: Found IRQ 9 for device 00:0b.0
    PDC20262: chipset revision 1
    PDC20262: not 100% native mode: will probe irqs later
    PDC20262: (U)DMA Burst Bit ENABLED Primary PCI Mode Secondary PCI Mode.
    ide2: BM-DMA at 0x7c00-0x7c07, BIOS settings: hdeMA, hdfio
    ide3: BM-DMA at 0x7c08-0x7c0f, BIOS settings: hdgMA, hdhio
    ------------------------------------------------------------------------------------------------------

  2. #2
    Just Joined!
    Join Date
    Aug 2005
    Location
    Berkshire, UK
    Posts
    80
    Looks like you covered the basic stuff.

    On what you post I would expect the pdc202xx_old module to handle the stuff from the controller, and give you he,hf,hg,hh

    That said, the only things I can think of are
    - the IRQ is 9, and the normal ide ones are on 14,15
    - the kernel may not have some bits configured to cover the odd irq, or the module may be in someway deficient (have to look at docs and possibly source code to find this). Did you recompile the kernel to include the pdc202xx bits?

  3. #3
    Just Joined!
    Join Date
    Dec 2005
    Location
    Mumbai
    Posts
    5
    Pls. Try formatting your hard drive using some Disk Manager software or by DOS Fdisk and verify whether it is detected in DOS fdisk.

  4. $spacer_open
    $spacer_close
  5. #4
    Just Joined!
    Join Date
    Dec 2005
    Posts
    3
    Quote Originally Posted by dandnsmith
    Looks like you covered the basic stuff.

    On what you post I would expect the pdc202xx_old module to handle the stuff from the controller, and give you he,hf,hg,hh

    That said, the only things I can think of are
    - the IRQ is 9, and the normal ide ones are on 14,15
    - the kernel may not have some bits configured to cover the odd irq, or the module may be in someway deficient (have to look at docs and possibly source code to find this). Did you recompile the kernel to include the pdc202xx bits?
    dandnsmith:
    nah, i haven't recompiled the kernel. Its just a basic debian net install.
    From what i've read, the kernel comes with support for the card, and its supposed to work great. Its just not doing so for me.
    I'm mainly wanting to use this disk for data storage, but i cant seem to get the OS to talk to it.
    Can you think of anything else i might be able to try or do?
    thanks!


    reachjay1:
    i'd love to run some makefs on it or repartition the drive.
    The bios on the machine sees both the card, and the HDD, no problem.
    I can't seem to get the kernel to see or talk to the drive.
    From what i can tell, according to the output i posted above, the system can tell the card is there, and can talk to it. It cannot see or talk to the drive that is attached to the card
    ( and to clear up any doubts, yes, both the card and the drive are known good ).

    any help or input is much appreciated!

    thanks.
    spargonaut

  6. #5
    Linux Newbie
    Join Date
    Nov 2003
    Location
    Maryland
    Posts
    105
    Have you used this card/drive configuration in Windows successfully?

    Wild guess...maybe the drive doesn't like being forced into 66 instead of 133?

  7. #6
    Just Joined!
    Join Date
    Dec 2005
    Posts
    3
    yeppers.
    actually, i have successfully used this exact setup with ubuntu during a previous install. Although, ubuntu doesn't offer everything that i want to do, otherwise, id be using it.

    oh, and the card is naturally 66, and it bumps it down to 33 if i only use the 80conductor cable. (its an older card)

  8. #7
    Linux User zeeone's Avatar
    Join Date
    Oct 2003
    Location
    Third Stone From The Sun
    Posts
    287

    Wink

    This makes no sense to me what so ever. You do not use an 80 pin IDE cable on a ultra 66 or lower conector. Again no real info on what one is realy doing. Is the second HD set as master and conected to the first or second card IDE port. Where is the first HD set to and at? If you have the drives set right, then the second drive will show up as HDB. I can not at all, believe that Ubuntu does not have an apt-get package manager system of some sort.
    Research, research, research before you walk the plank.
    Registered Linux User #398829

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •