Skip to contentSkip to conversation

Can't enable anything above DMA(33) on my SIS5513 equipped laptop

DISCUSSION James Grimwood 2 participants 3 messages Jan 31, 2005 – Feb 1, 2005

lore
Share & tools
lore
#0 lore raw

I've got a Packard Bell Easynote H5315 laptop. It contains an SIS5513 IDE controller.

Attached to it is a 60GB "SAMSUNG MP0603H" disk as hda, and a "_NEC DVD+/-RW ND-6500A" DVD/CD ReWriter as hdc.

I can't seem to enable anything above UDMA2 for the HDD, and when I burn CDs the drive attempts to run at 10x and the whole machine starts becoming unresponsive - the mouse pointer in X jerks around, sound stops and the buffer status of the CD drive jumps up and down.

I've tried doing "hdparm -Xudma5 /dev/hda", but when I type 'dmesg' I get the following:

ide0: Speed warnings UDMA 3/4/5 is not functional.

Is this a driver problem since surely people still can't be making new computers that don't support drive speeds above UDMA2... I bought the laptop in December, so it's relatively new.

Now the thing I've noticed (and it's pasted at the bottom of this email) is that the drive is connected to the motherboard with a 40-wire IDE cable. Is this because 80-wire laptop IDE cables don't exist, or has someone tried to save money?

Is there any way I can make my drive faster?

uname -a shows:
Linux hex 2.6.10-gentoo-r4 #7 SMP Wed Jan 26 13:08:48 GMT 2005 i686 Mobile Intel(R) Pentium(R) 4 CPU 3.20GHz GenuineIntel GNU/Linux

When booting, this is displayed:
Uniform Multi-Platform E-IDE driver Revision: 7.00alpha2
ide: Assuming 33MHz system bus speed for PIO modes; override with idebus=xx
SIS5513: IDE controller at PCI slot 0000:00:02.5
SIS5513: chipset revision 0
SIS5513: not 100% native mode: will probe irqs later
SIS5513: SiS 962/963 MuTIOL IDE UDMA133 controller

    ide0: BM-DMA at 0xffa0-0xffa7, BIOS settings: hda:DMA, hdb:DMA
    ide1: BM-DMA at 0xffa8-0xffaf, BIOS settings: hdc:DMA, hdd:DMA

Probing IDE interface ide0...
hda: SAMSUNG MP0603H, ATA DISK drive
elevator: using anticipatory as default io scheduler
ide0 at 0x1f0-0x1f7,0x3f6 on irq 14
Probing IDE interface ide1...
hdc: _NEC DVD+/-RW ND-6500A, ATAPI CD/DVD-ROM drive
ide1 at 0x170-0x177,0x376 on irq 15
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 !
hda: max request size: 1024KiB
hda: 117304992 sectors (60060 MB) w/8192KiB Cache, CHS=16383/255/63, UDMA(33)
hda: cache flushes supported
/dev/ide/host0/bus0/target0/lun0: p1 p2 p3
hdc: ATAPI 24X DVD-ROM DVD-R CD-R/RW drive, 2048kB Cache, UDMA(33) Uniform CD-ROM driver Revision: 3.20

This is the contents of /proc/ide/sis:
SiS 5513 Ultra 133 chipset
--------------- Primary Channel ---------------- Secondary Channel -------------

Channel Status: On                               On
Operation Mode: Compatible                       Compatible
Cable Type:     40 pins                          40 pins

Drive 0:
UDMA Enabled UDMA Enabled
UDMA Cycle Time 6 CLK UDMA Cycle Time 6 CLK
Drive 1:
UDMA Disabled UDMA Disabled
UDMA Cycle Time 12 CLK UDMA Cycle Time 12 CLK

Signature · 1 line
http://www.piku.org.uk - Outdoor Photos: http://www.piku.co.uk
#1 lore raw

http://www.cs.helsinki.fi/linux/linux-kernel/2001-00/0473.html

Quoted 75 lines · James Grimwood

I've got a Packard Bell Easynote H5315 laptop. It contains an SIS5513 IDE controller.

Attached to it is a 60GB "SAMSUNG MP0603H" disk as hda, and a "_NEC DVD+/-RW ND-6500A" DVD/CD ReWriter as hdc.

I can't seem to enable anything above UDMA2 for the HDD, and when I burn CDs the drive attempts to run at 10x and the whole machine starts becoming unresponsive - the mouse pointer in X jerks around, sound stops and the buffer status of the CD drive jumps up and down.

I've tried doing "hdparm -Xudma5 /dev/hda", but when I type 'dmesg' I get the following:

ide0: Speed warnings UDMA 3/4/5 is not functional.

Is this a driver problem since surely people still can't be making new computers that don't support drive speeds above UDMA2... I bought the laptop in December, so it's relatively new.

Now the thing I've noticed (and it's pasted at the bottom of this email) is that the drive is connected to the motherboard with a 40-wire IDE cable. Is this because 80-wire laptop IDE cables don't exist, or has someone tried to save money?

Is there any way I can make my drive faster?

uname -a shows:
Linux hex 2.6.10-gentoo-r4 #7 SMP Wed Jan 26 13:08:48 GMT 2005 i686 Mobile Intel(R) Pentium(R) 4 CPU 3.20GHz GenuineIntel GNU/Linux

When booting, this is displayed:
Uniform Multi-Platform E-IDE driver Revision: 7.00alpha2
ide: Assuming 33MHz system bus speed for PIO modes; override with idebus=xx
SIS5513: IDE controller at PCI slot 0000:00:02.5
SIS5513: chipset revision 0
SIS5513: not 100% native mode: will probe irqs later
SIS5513: SiS 962/963 MuTIOL IDE UDMA133 controller

    ide0: BM-DMA at 0xffa0-0xffa7, BIOS settings: hda:DMA, hdb:DMA
    ide1: BM-DMA at 0xffa8-0xffaf, BIOS settings: hdc:DMA, hdd:DMA

Probing IDE interface ide0...
hda: SAMSUNG MP0603H, ATA DISK drive
elevator: using anticipatory as default io scheduler
ide0 at 0x1f0-0x1f7,0x3f6 on irq 14
Probing IDE interface ide1...
hdc: _NEC DVD+/-RW ND-6500A, ATAPI CD/DVD-ROM drive
ide1 at 0x170-0x177,0x376 on irq 15
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 !
hda: max request size: 1024KiB
hda: 117304992 sectors (60060 MB) w/8192KiB Cache, CHS=16383/255/63, UDMA(33)
hda: cache flushes supported
/dev/ide/host0/bus0/target0/lun0: p1 p2 p3
hdc: ATAPI 24X DVD-ROM DVD-R CD-R/RW drive, 2048kB Cache, UDMA(33) Uniform CD-ROM driver Revision: 3.20

This is the contents of /proc/ide/sis:
SiS 5513 Ultra 133 chipset
--------------- Primary Channel ---------------- Secondary Channel -------------

Channel Status: On                               On
Operation Mode: Compatible                       Compatible
Cable Type:     40 pins                          40 pins

Drive 0:
UDMA Enabled UDMA Enabled
UDMA Cycle Time 6 CLK UDMA Cycle Time 6 CLK
Drive 1:
UDMA Disabled UDMA Disabled
UDMA Cycle Time 12 CLK UDMA Cycle Time 12 CLK

#2 lore raw
Quoted 1 line · chuck gelm

http://www.cs.helsinki.fi/linux/linux-kernel/2001-00/0473.html

I can't find anything useful on that page... I don't see that DMA error.

After poking around my machine and the web, it seems the speed warning message is created because my machine doesn't appear to have an 80-wire IDE cable connecting the hard drive to the motherboard.

Since both the drive and the hard drive are ATA133 compliant, and it's a laptop so the IDE cable will be about five inches long, isn't there some way I can make it think there's an 80 wire cable present?

The bios isn't that helpful, and adding "ide0=ata66" to my GRUB command line doesn't do anything. Attempting to set the drive's speed above UDMA2 still results in the speed warning.

The actual IDE controller is a SIS963.

Signature · 1 line
http://www.piku.org.uk - Outdoor Photos: http://www.piku.co.uk