View previous topic :: View next topic |
Author |
Message |
scosu n00b
![n00b n00b](/images/ranks/rank_rect_0.gif)
Joined: 05 Feb 2007 Posts: 12
|
Posted: Sat Apr 21, 2007 1:18 pm Post subject: [SOLVED] notebook-hdd only udma2 |
|
|
Hi,
i have a problem with my notebook amilo a1630. on windows is udma5 active. on gentoo is only udma2 active. so i think it is a problem with my kernel. Also on linux-livecds there is only udma2 support.
here is the output from hdparm -i /dev/hda:
Code: | /dev/hda:
Model=ST960821A, FwRev=3.00, SerialNo=3LF0QD7T
Config={ HardSect NotMFM HdSw>15uSec Fixed DTR>10Mbs RotSpdTol>.5% }
RawCHS=16383/16/63, TrkSize=0, SectSize=0, ECCbytes=4
BuffType=unknown, BuffSize=8192kB, MaxMultSect=16, MultSect=16
CurCHS=16383/16/63, CurSects=16514064, LBA=yes, LBAsects=117210240
IORDY=on/off, tPIO={min:240,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 udma3 udma4 udma5 udma3 udma4 udma5
AdvancedPM=yes: unknown setting WriteCache=enabled
Drive conforms to: ATA/ATAPI-6 T13 1410D revision 2: ATA/ATAPI-1 ATA/ATAPI-2 ATA/ATAPI-3 ATA/ATAPI-4 ATA/ATAPI-5 ATA/ATAPI-6
* signifies the current active mode
|
and the part of the kernelconfig which could be relevant:
Code: | # ATA/ATAPI/MFM/RLL support
#
CONFIG_IDE=y
CONFIG_BLK_DEV_IDE=y
CONFIG_BLK_DEV_IDEDISK=y
CONFIG_IDEDISK_MULTI_MODE=y
CONFIG_BLK_DEV_IDECD=y
#
# IDE chipset support/bugfixes
#
CONFIG_BLK_DEV_IDEPCI=y
CONFIG_IDEPCI_SHARE_IRQ=y
CONFIG_BLK_DEV_GENERIC=y
CONFIG_BLK_DEV_IDEDMA_PCI=y
CONFIG_IDEDMA_PCI_AUTO=y
CONFIG_BLK_DEV_SIS5513=y
CONFIG_BLK_DEV_IDEDMA=y
CONFIG_IDEDMA_AUTO=y
|
thanks
Last edited by scosu on Sat Apr 21, 2007 4:54 pm; edited 1 time in total |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
moocha Watchman
![Watchman Watchman](/images/ranks/rank-G-2-watchman.gif)
Joined: 21 Oct 2003 Posts: 5722
|
Posted: Sat Apr 21, 2007 1:57 pm Post subject: |
|
|
What happens after you run Code: | hdparm -X udma5 /dev/hda | ? _________________ Military Commissions Act of 2006: http://tinyurl.com/jrcto
"Those who would give up essential liberty to purchase a little temporary safety deserve neither liberty nor safety."
-- attributed to Benjamin Franklin |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
scosu n00b
![n00b n00b](/images/ranks/rank_rect_0.gif)
Joined: 05 Feb 2007 Posts: 12
|
Posted: Sat Apr 21, 2007 2:13 pm Post subject: |
|
|
there are no errors, but no changes:
Code: |
hdparm -X udma5 /dev/hda
/dev/hda:
setting xfermode to 69 (UltraDMA mode5)
mobile scosu # hdparm -i /dev/hda
/dev/hda:
Model=ST960821A, FwRev=3.00, SerialNo=3LF0QD7T
Config={ HardSect NotMFM HdSw>15uSec Fixed DTR>10Mbs RotSpdTol>.5% }
RawCHS=16383/16/63, TrkSize=0, SectSize=0, ECCbytes=4
BuffType=unknown, BuffSize=8192kB, MaxMultSect=16, MultSect=16
CurCHS=16383/16/63, CurSects=16514064, LBA=yes, LBAsects=117210240
IORDY=on/off, tPIO={min:240,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 udma3 udma4 udma5 udma3 udma4 udma5
AdvancedPM=yes: unknown setting WriteCache=enabled
Drive conforms to: ATA/ATAPI-6 T13 1410D revision 2: ATA/ATAPI-1 ATA/ATAPI-2 ATA/ATAPI-3 ATA/ATAPI-4 ATA/ATAPI-5 ATA/ATAPI-6
* signifies the current active mode
mobile scosu # hdparm -t /dev/hda
/dev/hda:
Timing buffered disk reads: 60 MB in 3.01 seconds = 19.97 MB/sec
|
|
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
moocha Watchman
![Watchman Watchman](/images/ranks/rank-G-2-watchman.gif)
Joined: 21 Oct 2003 Posts: 5722
|
Posted: Sat Apr 21, 2007 2:19 pm Post subject: |
|
|
Odd. Can you try recompiling the kernel with all the generic IDE stuff disabled? Leave just support for your specific chipset in (SiS, it would seem). _________________ Military Commissions Act of 2006: http://tinyurl.com/jrcto
"Those who would give up essential liberty to purchase a little temporary safety deserve neither liberty nor safety."
-- attributed to Benjamin Franklin |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
NeddySeagoon Administrator
![Administrator Administrator](/images/ranks/rank-admin.gif)
![](images/avatars/3946266373f47d606a2db3.jpg)
Joined: 05 Jul 2003 Posts: 54838 Location: 56N 3W
|
Posted: Sat Apr 21, 2007 2:25 pm Post subject: |
|
|
scosu,
udma2 is as good as it gets without a 80 conductor ribbon cable.
The IDE chipset may be incorrectly detecting that you can use faster modes.
Is there anything in dmesg about 80 how the IDE was set up and what was detected ?
You can override what the ribbon detection with a kernel option.
Look in /usr/src/linux/Documentation/kernel-parameters.txt or ../ide.txt to see what you need. _________________ Regards,
NeddySeagoon
Computer users fall into two groups:-
those that do backups
those that have never had a hard drive fail. |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
scosu n00b
![n00b n00b](/images/ranks/rank_rect_0.gif)
Joined: 05 Feb 2007 Posts: 12
|
Posted: Sat Apr 21, 2007 3:41 pm Post subject: |
|
|
this is a part of the output from everest on windows:
Code: | Field Value
ATA Device Properties
Model ID ST960821A
Serial Number 3LF0QD7T
Revision 3.00
Device Type ATA-100
Parameters 116280 cylinders, 16 heads, 63 sectors per track, 512 bytes per sector
LBA Sectors 117210240
Buffer 8 MB
Multiple Sectors 16
ECC Bytes 4
Max. PIO Transfer Mode PIO 4
Max. UDMA Transfer Mode UDMA 5 (ATA-100)
Active UDMA Transfer Mode UDMA 5 (ATA-100)
Unformatted Capacity 57232 MB
ATA Device Features
48-bit LBA Not Supported
Advanced Power Management Supported, Enabled
Automatic Acoustic Management Not Supported
Device Configuration Overlay Supported
DMA Setup Auto-Activate Not Supported
General Purpose Logging Not Supported
Host Protected Area Supported, Enabled
In-Order Data Delivery Not Supported
Native Command Queuing Not Supported
Phy Event Counters Not Supported
Power Management Supported, Enabled
Power-Up In Standby Not Supported
Read Look-Ahead Supported, Enabled
Release Interrupt Not Supported
Security Mode Supported, Disabled
SMART Supported, Enabled
SMART Error Logging Supported
SMART Self-Test Supported
Software Settings Preservation Not Supported
Tagged Command Queuing Not Supported
Write Cache Supported, Enabled
ATA Device Physical Info
Manufacturer Seagate
Hard Disk Name Momentus 4200.2 60821
Form Factor 2.5"
Formatted Capacity 60 GB
Disks 2
Recording Surfaces 3
Physical Dimensions 100.2 x 69.85 x 9.5 mm
Max. Weight 102 g
Average Rotational Latency 5.6 ms
Rotational Speed 5400 RPM
Max. Internal Data Rate 386 Mbit/s
Average Seek 12.5 ms
Interface Ultra-ATA/100
Buffer-to-Host Data Rate 100 MB/s
Buffer Size 8 MB
ATA Device Manufacturer
Company Name Seagate Technology LLC
Product Information http://www.seagate.com/products
|
so i assume that the cable is not the problem. now i will recompile the kernel and try the kernel options.
EDIT:
the recompiling of the kernel without the generic drivers did not change anything.
i added the kernelparameters idebus=66 and ide0=ata66. that solved the problem.
Thank you for your help |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
|
|
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
|
|