WelcomeWelcome | FAQFAQ | DownloadsDownloads | WikiWiki

Author Topic: (closed) hdd samsung sp0411c udma/100 despite spec udma/133 in 4.3.1; why?  (Read 7169 times)

Offline floppy

  • Hero Member
  • *****
  • Posts: 577
hello,
I have a samsung hdd sp0411c 40GB on my pc.
You can see it here   http://www.amazon.co.uk/Samsung-SP0411C-40GB-SATA-Drive/dp/B000852FIC
The hardware specification indicate udma/133.
The dmesg indicate udma/100 (see below).
Why?
Is there any reason why the hdd is not recognized to udma/133?
How to change it to udma/133?
The port where the HDD is attached seems to be a 133 port.


[    0.545785] ata1: PATA max UDMA/100 cmd 0x1f0 ctl 0x3f6 bmdma 0x34e0 irq 14
[    0.545790] ata2: PATA max UDMA/100 cmd 0x170 ctl 0x376 bmdma 0x34e8 irq 15
[    0.545835] ata_piix 0000:00:1f.2: PCI INT B -> GSI 19 (level, low) -> IRQ 19
[    0.545844] ata_piix 0000:00:1f.2: MAP [ P0 P2 P1 P3 ]
[    0.696717] ata_piix 0000:00:1f.2: setting latency timer to 64
[    0.697154] scsi2 : ata_piix
[    0.703348] scsi3 : ata_piix
[    0.703525] ata3: SATA max UDMA/133 cmd 0x3818 ctl 0x3830 bmdma 0x34f0 irq 19
[    0.703530] ata4: SATA max UDMA/133 cmd 0x3820 ctl 0x3834 bmdma 0x34f8 irq 19
[    0.703777] sata_via 0000:05:09.0: version 2.6
[    0.703796] sata_via 0000:05:09.0: PCI INT A -> GSI 18 (level, low) -> IRQ 18
[    0.703847] sata_via 0000:05:09.0: routed to hard irq line 10
[    0.704383] scsi4 : sata_via
[    0.704481] scsi5 : sata_via
[    0.704575] scsi6 : sata_via
[    0.704648] ata5: SATA max UDMA/133 port i16@0x1420 bmdma 0x1400 irq 18
[    0.704654] ata6: SATA max UDMA/133 port i16@0x1430 bmdma 0x1408 irq 18
[    0.704658] ata7: PATA max UDMA/133 port i16@0x1440 bmdma 0x1410 irq 18
[    0.705815] Fixed MDIO Bus: probed
[    0.705825] PPP generic driver version 2.4.2
[    0.705891] PPP Deflate Compression module registered
[    0.705896] NET: Registered protocol family 24
...
[    0.760248] ata1.00: configured for MWDMA2
[    0.761983] scsi 0:0:0:0: CD-ROM            COMPAQ   CD-ROM CRN-8245B 1.16 PQ: 0 ANSI: 5
[    0.764386] sr0: scsi3-mmc drive: 24x/24x cd/rw xa/form2 cdda tray
[    0.764391] cdrom: Uniform CD-ROM driver Revision: 3.20
[    0.764501] sr 0:0:0:0: Attached scsi CD-ROM sr0
[    0.764571] sr 0:0:0:0: Attached scsi generic sg0 type 5
[    0.871095] ata3.00: ATA-7: SAMSUNG SP0411C, UU100-05, max UDMA/100
[    0.871100] ata3.00: 78165360 sectors, multi 16: LBA48
[    0.876821] ata3.00: configured for UDMA/100
[    0.876960] scsi 2:0:0:0: Direct-Access     ATA      SAMSUNG SP0411C  UU10 PQ: 0 ANSI: 5
[    0.877138] sd 2:0:0:0: [sda] 78165360 512-byte logical blocks: (40.0 GB/37.2 GiB)
[    0.877189] sd 2:0:0:0: Attached scsi generic sg1 type 0
[    0.877249] sd 2:0:0:0: [sda] Write Protect is off
[    0.877262] sd 2:0:0:0: [sda] Mode Sense: 00 3a 00 00
[    0.877317] sd 2:0:0:0: [sda] Write cache: enabled, read cache: enabled, doesn't support DPO or FUA
[    0.880607]  sda: sda1
...
« Last Edit: March 21, 2012, 04:57:41 PM by floppy »
AMD K6-IIIATZ 550MHz MB DFI K6xv3/+66
P4 HP DC7100 3GB 3GHz
Samsung NC10 boot from SD card port (via USB reader)
.. all TinyCore proofed

Offline gerald_clark

  • TinyCore Moderator
  • Hero Member
  • *****
  • Posts: 4254
Your controller and cable also determine the max DMA speed.  Check your BIOS.

Offline Rich

  • Administrator
  • Hero Member
  • *****
  • Posts: 11589
Hi floppy
If this is a SATA drive, try using the boot code  libata.force=3.00:sata

Offline floppy

  • Hero Member
  • *****
  • Posts: 577
try using the boot code  libata.force=3.00:sata
done. no sucess. it stay at udma/100.
AMD K6-IIIATZ 550MHz MB DFI K6xv3/+66
P4 HP DC7100 3GB 3GHz
Samsung NC10 boot from SD card port (via USB reader)
.. all TinyCore proofed

Offline floppy

  • Hero Member
  • *****
  • Posts: 577
Your controller and cable also determine the max DMA speed.  Check your BIOS.
the original cable is in it. I will see if another cable support it (I will have to buy it).

The BIOS, originally from 2004, was updated to the latest available version year 2008 (computer hp compaq dc7100 slim).
I played a bit aroud with the parameter of the HDD in the BIOS but had no sucess.
AMD K6-IIIATZ 550MHz MB DFI K6xv3/+66
P4 HP DC7100 3GB 3GHz
Samsung NC10 boot from SD card port (via USB reader)
.. all TinyCore proofed

Offline gerald_clark

  • TinyCore Moderator
  • Hero Member
  • *****
  • Posts: 4254
It's a SATA drive,and a slow 150 one at that.
There is no DMA in SATA.
The DMA is part of the SATA interface on your motherboard, not the serial interface to the drive.
You need to take it up with the motherboard manufacturer.

Offline floppy

  • Hero Member
  • *****
  • Posts: 577
The DMA is part of the SATA interface on your motherboard, not the serial interface to the drive.
You need to take it up with the motherboard manufacturer.
I dont fully understand.

I had a look at the dc7100 ultra slim manual ( http://h20000.www2.hp.com/bizsupport/TechSupport/CoreRedirect.jsp?redirectReason=DocIndexPDF&prodSeriesId=410112&targetPage=http%3A%2F%2Fbizsupport1.austin.hp.com%2Fbc%2Fdocs%2Fsupport%2FSupportManual%2Fc00211142%2Fc00211142.pdf ), hp is only indicating ATA 100 interfaces. So perhaps, the HW limitation is already indicated there? how to see what is the sata hw limitation in a motherboard?

Or now, perhaps I should disconnect the 40GB HDD from the MoBo and put that HDD to an internal sata connector at my PCI card which is free ?
On that PCI card, a eSATA connector is verified with udma/133. See http://forum.tinycorelinux.net/index.php?topic=12826.msg70368#msg70368
« Last Edit: March 18, 2012, 05:06:55 PM by floppy »
AMD K6-IIIATZ 550MHz MB DFI K6xv3/+66
P4 HP DC7100 3GB 3GHz
Samsung NC10 boot from SD card port (via USB reader)
.. all TinyCore proofed

Offline maro

  • Hero Member
  • *****
  • Posts: 1228
Did you read page 4-11 of the manual? It appears that the BIOS supports two different modes for SATA, and for Linux one should choose the (non-default) "Compatibility Mode". Whilst this mode limits the total number of IDE and SATA devices, but I guess that is not an issue if you use the Ultra-Slim Desktop as there does not seem to be more space available beyond the one (optical) IDE device (e.g. a CD-ROM or DVD) plus one SATA hard disk.

If that is not the reason for the problem you've experienced I'd like to suggest to attach the full 'dmesg' output here, just for the case that another piece of information might be still hidden in it.

Offline floppy

  • Hero Member
  • *****
  • Posts: 577
@maro: Here is the dmesg. I will have a look later at your BIOS setup advice.
AMD K6-IIIATZ 550MHz MB DFI K6xv3/+66
P4 HP DC7100 3GB 3GHz
Samsung NC10 boot from SD card port (via USB reader)
.. all TinyCore proofed

Offline gerald_clark

  • TinyCore Moderator
  • Hero Member
  • *****
  • Posts: 4254
[    0.786833] ata3.00: ATA-7: SAMSUNG SP0411C, UU100-05, max UDMA/100

Offline floppy

  • Hero Member
  • *****
  • Posts: 577
[    0.786833] ata3.00: ATA-7: SAMSUNG SP0411C, UU100-05, max UDMA/100
Since I found that message in.. knoppix, slitaz, PartedMagic, Archbang, Warry Puppy (all on my magic SD 8GB).. then I think I should spend my efforts on another topic.
Despite few information in the internet indicate that HDD is ATA-150, it seems not to go higher than udma/100.
Thanks to all.
AMD K6-IIIATZ 550MHz MB DFI K6xv3/+66
P4 HP DC7100 3GB 3GHz
Samsung NC10 boot from SD card port (via USB reader)
.. all TinyCore proofed