Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Trying to get Plextor PX-716A up and running
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Kernel & Hardware
View previous topic :: View next topic  
Author Message
curmudgeon
Veteran
Veteran


Joined: 08 Aug 2003
Posts: 1744

PostPosted: Sun Jan 16, 2005 7:27 am    Post subject: Trying to get Plextor PX-716A up and running Reply with quote

Installed Plextor PX-716A into a basically new machine
as the only IDE device (I have an SATA hard drive).

The relevant parts of dmesg:
Code:
ide: Assuming 33MHz system bus speed for PIO modes; override with idebus=xx
Probing IDE interface ide0...
hda: PLEXTOR DVDR PX-716A, ATAPI CD/DVD-ROM drive
ide1: I/O resource 0x170-0x177 not free.
ide1: ports already in use, skipping probe
Probing IDE interface ide2...
ide2: Wait for ready failed before probe !
Probing IDE interface ide3...
ide3: Wait for ready failed before probe !
Probing IDE interface ide4...
ide4: Wait for ready failed before probe !
Probing IDE interface ide5...
ide5: Wait for ready failed before probe !
ide0 at 0x1f0-0x1f7,0x3f6 on irq 14
hda: ATAPI 40X DVD-ROM DVD-R CD-R/RW drive, 8192kB Cache
Uniform CD-ROM driver Revision: 3.20
ppa: Version 2.07 (for Linux 2.4.x)
libata version 1.10 loaded.
ata_piix version 1.03
ata_piix: combined mode detected
ACPI: PCI interrupt 0000:00:1f.2[A] -> GSI 18 (level, low) -> IRQ 18
ata: 0x1f0 IDE port busy
PCI: Setting latency timer of device 0000:00:1f.2 to 64
ata1: SATA max UDMA/133 cmd 0x170 ctl 0x376 bmdma 0x1478 irq 15
ata1: dev 0 cfg 49:2f00 82:346b 83:7d01 84:4003 85:3469 86:3c01 87:4003 88:207f
ata1: dev 0 ATA, max UDMA/133, 312581808 sectors: lba48
ata1: dev 0 configured for UDMA/133
scsi0 : ata_piix
  Vendor: ATA       Model: ST3160023AS       Rev: 3.18
  Type:   Direct-Access                      ANSI SCSI revision: 05
SCSI device sda: 312581808 512-byte hdwr sectors (160042 MB)
SCSI device sda: drive cache: write back
SCSI device sda: 312581808 512-byte hdwr sectors (160042 MB)
SCSI device sda: drive cache: write back
 sda: sda1 sda2 < sda5 sda6 sda7 sda8 sda9 sda10 sda11 sda12 sda13 sda14 >
Attached scsi disk sda at scsi0, channel 0, id 0, lun 0
Attached scsi generic sg0 at scsi0, channel 0, id 0, lun 0,  type 0


First question, why do I get this message? I don't have anything
on ide1.
Code:
ide1: I/O resource 0x170-0x177 not free.
ide1: ports already in use, skipping probe


Code:
$ cat /proc/interrupts
           CPU0       CPU1
  0:    8779115          0    IO-APIC-edge  timer
  1:       9827          0    IO-APIC-edge  i8042
  7:          0          0    IO-APIC-edge  parport0
  8:          2          0    IO-APIC-edge  rtc
  9:          0          0   IO-APIC-level  acpi
 12:     229560          0    IO-APIC-edge  i8042
 14:         27          0    IO-APIC-edge  ide0
 15:      86048          0    IO-APIC-edge  libata
 16:     656868          0   IO-APIC-level  uhci_hcd, radeon@pci:0000:04:02.0
 18:      24267          0   IO-APIC-level  eth0
 19:          0          0   IO-APIC-level  uhci_hcd
 21:       1527          0   IO-APIC-level  CMI8738
 23:          0          0   IO-APIC-level  ehci_hcd
NMI:          0          0
LOC:    8779144    8779147
ERR:          0
MIS:          0


I can't seem to enable DMA on this device:
Code:
# hdparm /dev/hda

/dev/hda:
 HDIO_GET_MULTCOUNT failed: Invalid argument
 IO_support   =  0 (default 16-bit)
 unmaskirq    =  0 (off)
 using_dma    =  0 (off)
 keepsettings =  0 (off)
 readonly     =  0 (off)
 readahead    = 256 (on)
 HDIO_GETGEO failed: Invalid argument


# hdparm -d1 /dev/hda

/dev/hda:
 setting using_dma to 1 (on)
 HDIO_SET_DMA failed: Operation not permitted
 using_dma    =  0 (off)


Finally, the device supports UDMA4, but it only comes up
with UDMA2 (with the BIOS set to Auto - if I set UDMA4
in the BIOS, the machine will not boot at all).

Code:
# hdparm -i /dev/hda

/dev/hda:

 Model=PLEXTOR DVDR PX-716A, FwRev=1.03, SerialNo=246061
 Config={ Fixed Removeable DTR<=5Mbs DTR>10Mbs nonMagnetic }
 RawCHS=0/0/0, TrkSize=0, SectSize=0, ECCbytes=0
 BuffType=unknown, BuffSize=0kB, MaxMultSect=0
 (maybe): CurCHS=0/0/0, CurSects=0, LBA=yes, LBAsects=0
 IORDY=on/off, tPIO={min:120,w/IORDY:120}, tDMA={min:120,rec:120}
 PIO modes:  pio0 pio1 pio2 pio3 pio4
 DMA modes:  mdma0 mdma1 mdma2
 UDMA modes: udma0 udma1 *udma2
 AdvancedPM=no

 * signifies the current active mode


# hdparm -I /dev/hda

/dev/hda:

ATAPI CD-ROM, with removable media
        Model Number:       PLEXTOR DVDR   PX-716A
        Serial Number:      246061
        Firmware Revision:  1.03
Standards:
        Likely used CD-ROM ATAPI-1
Configuration:
        DRQ response: 50us.
        Packet size: 12 bytes
Capabilities:
        LBA, IORDY(can be disabled)
        DMA: mdma0 mdma1 mdma2 udma0 udma1 *udma2 udma3 udma4
             Cycle time: min=120ns recommended=120ns
        PIO: pio0 pio1 pio2 pio3 pio4
             Cycle time: no flow control=120ns  IORDY flow control=120ns


I do have an eighty pin cable on the drive.

Any ideas? Thank you in advance.
Back to top
View user's profile Send private message
NeddySeagoon
Administrator
Administrator


Joined: 05 Jul 2003
Posts: 54813
Location: 56N 3W

PostPosted: Sun Jan 16, 2005 11:38 am    Post subject: Reply with quote

curmudgeon,

You get
Code:
ide1: I/O resource 0x170-0x177 not free.
ide1: ports already in use, skipping probe
because your SATA is set up to look like ide1.
Here is the hint
Code:
15:      86048          0    IO-APIC-edge  libata
Its not an error.

You can't set DMA because the chipset driver for your IDE chip is missing from the kernel - it dosent know how.

Your
Code:
hdparm -i /dev/hda
shows that the drive only supports up to udma2 and that its already in use, or would be, if you could turn DMA on.
After you fix your kernel, it will work at udma2 and thats as good as it gets for that drive.
_________________
Regards,

NeddySeagoon

Computer users fall into two groups:-
those that do backups
those that have never had a hard drive fail.
Back to top
View user's profile Send private message
curmudgeon
Veteran
Veteran


Joined: 08 Aug 2003
Posts: 1744

PostPosted: Sun Jan 16, 2005 7:15 pm    Post subject: Reply with quote

NeddySeagoon wrote:
You can't set DMA because the chipset driver for your IDE chip is missing from the kernel - it dosent know how.


I thought I had it there. The relevant part of my .config:
Code:
#
# IDE chipset support/bugfixes
#
CONFIG_IDE_GENERIC=y
# CONFIG_BLK_DEV_CMD640 is not set
# CONFIG_BLK_DEV_IDEPNP is not set
CONFIG_BLK_DEV_IDEPCI=y
CONFIG_IDEPCI_SHARE_IRQ=y
# CONFIG_BLK_DEV_OFFBOARD is not set
# CONFIG_BLK_DEV_GENERIC is not set
# CONFIG_BLK_DEV_OPTI621 is not set
# CONFIG_BLK_DEV_RZ1000 is not set
CONFIG_BLK_DEV_IDEDMA_PCI=y
# CONFIG_BLK_DEV_IDEDMA_FORCED is not set
CONFIG_IDEDMA_PCI_AUTO=y
# CONFIG_IDEDMA_ONLYDISK is not set
# CONFIG_BLK_DEV_AEC62XX is not set
# CONFIG_BLK_DEV_ALI15X3 is not set
# CONFIG_BLK_DEV_AMD74XX is not set
# CONFIG_BLK_DEV_ATIIXP is not set
# CONFIG_BLK_DEV_CMD64X is not set
# CONFIG_BLK_DEV_TRIFLEX is not set
# CONFIG_BLK_DEV_CY82C693 is not set
# CONFIG_BLK_DEV_CS5520 is not set
# CONFIG_BLK_DEV_CS5530 is not set
# CONFIG_BLK_DEV_HPT34X is not set
# CONFIG_BLK_DEV_HPT366 is not set
# CONFIG_BLK_DEV_SC1200 is not set
CONFIG_BLK_DEV_PIIX=y
# CONFIG_BLK_DEV_NS87415 is not set
# CONFIG_BLK_DEV_PDC202XX_OLD is not set
# CONFIG_BLK_DEV_PDC202XX_NEW is not set
# CONFIG_BLK_DEV_SVWKS is not set
# CONFIG_BLK_DEV_SIIMAGE is not set
# CONFIG_BLK_DEV_SIS5513 is not set
# CONFIG_BLK_DEV_SLC90E66 is not set
# CONFIG_BLK_DEV_TRM290 is not set
# CONFIG_BLK_DEV_VIA82CXXX is not set
# CONFIG_IDE_ARM is not set
CONFIG_BLK_DEV_IDEDMA=y
# CONFIG_IDEDMA_IVB is not set
CONFIG_IDEDMA_AUTO=y
# CONFIG_BLK_DEV_HD is not set


Right now, I can't remember (or figure out again)
why I used that chipset. Should I add "Generic
PCI IDE Chipset Support?

NeddySeagoon wrote:
Your
Code:
hdparm -i /dev/hda
shows that the drive only supports up to udma2 and that its already in use, or would be, if you could turn DMA on.


I don't understand this then. From "man hdparm"
Code:
       -i     Display the identification info that was obtained from the drive at boot time, if available. This is a feature of modern IDE drives, and may not be supported by older devices. The data returned may or may not be current, depending on activity since booting the system. However, the current multiple sector mode count is always shown. [...]

       -I     Request identification info directly from the drive, which is displayed in a new expanded format with considerably more detail than with the older -i flag.


The -I gets information "directly from the drive" which
says it can do udma4. The manual also says it can do
udma4. Why does -i only say udma2?

Thank you again for your help.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Kernel & Hardware All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum