Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
sparc64 minimal install cd - ide(ali) dma timeouts
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
ytre
n00b
n00b


Joined: 07 Oct 2005
Posts: 9

PostPosted: Wed Oct 12, 2005 7:37 am    Post subject: sparc64 minimal install cd - ide(ali) dma timeouts Reply with quote

Anyone knows if I can do anything with it? (of course i will try newer kernel asap)

hdparm -d 0 /dev/hda did the job and let me bootstrap

uname -a
Linux livecd 2.4.31-sparc #1 SMP Sat Jul 30 22:59:19 UTC 2005 sparc64 sun4u TI UltraSparc IIe (Hummingbird) GNU/Linux

ide: Assuming 33MHz system bus speed for PIO modes; override with idebus=xx
ALI15X3: IDE controller at PCI slot 00:0d.0
ALI15X3: chipset revision 195
ALI15X3: 100% native mode on irq 4,7cc
ide0: BM-DMA at 0x1fe02000a20-0x1fe02000a27, BIOS settings: hda:pio, hdb:pio
ide1: BM-DMA at 0x1fe02000a28-0x1fe02000a2f, BIOS settings: hdc:pio, hdd:pio
hda: WDC WD400BB-22DEA0, ATA DISK drive
hdb: LTN486S, ATAPI CD/DVD-ROM drive
ide: Assuming 33MHz system bus speed for PIO modes; override with idebus=xx
ide0 at 0x1fe02000a00-0x1fe02000a07,0x1fe02000a1a on irq 4,7cc
hda: attached ide-disk driver.
hda: host protected area => 1
hda: 78165360 sectors (40021 MB) w/2048KiB Cache, CHS=77545/16/63
hdb: attached ide-cdrom driver.
hdb: ATAPI 48X CD-ROM drive, 120kB Cache
Uniform CD-ROM driver Revision: 3.12


livecd hda: dma_timer_expiry: dma status == 0x61
livecd hda: error waiting for DMA
livecd hda: dma timeout retry: status=0x58 { DriveReady SeekComplete DataRequest }
livecd

here i disabled it myself before i got the error code.
livecd hda: DMA disabled

hdparm -i /dev/hda

/dev/hda:

Model=WDC WD400BB-22DEA0, FwRev=05.03E05, SerialNo=WD-WMAD19090344
Config={ HardSect NotMFM HdSw>15uSec SpinMotCtl Fixed DTR>5Mbs FmtGapReq }
RawCHS=16383/16/63, TrkSize=57600, SectSize=600, ECCbytes=40
BuffType=DualPortCache, BuffSize=2048kB, MaxMultSect=16, MultSect=16
CurCHS=16383/16/63, CurSects=16514064, LBA=yes, LBAsects=78165360
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 udma3 udma4 udma5
AdvancedPM=no WriteCache=enabled
Drive conforms to: device does not report version:

* signifies the current active mode

lspci -v -v -v -v -xxx -s 00:0d.0
0000:00:0d.0 IDE interface: ALi Corporation M5229 IDE (rev c3) (prog-if ff)
Control: I/O+ Mem- BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR- FastB2B-
Status: Cap+ 66Mhz- UDF- FastB2B+ ParErr- DEVSEL=medium >TAbort- <TAbort- <MAbort- >SERR- <PERR-
Latency: 64 (500ns min, 1000ns max)
Interrupt: pin A routed to IRQ 006d4c80
Region 0: I/O ports at 0000000002000a00 [size=8]
Region 1: I/O ports at 0000000002000a18 [size=4]
Region 2: I/O ports at 0000000002000a10 [size=8]
Region 3: I/O ports at 0000000002000a08 [size=4]
Region 4: I/O ports at 0000000002000a20 [size=16]
Capabilities: [60] Power Management version 2
Flags: PMEClk- DSI- D1- D2- AuxCurrent=0mA PME(D0-,D1-,D2-,D3hot-,D3cold-)
Status: D0 PME-Enable- DSel=0 DScale=0 PME-
00: b9 10 29 52 05 00 90 02 c3 ff 01 01 00 40 00 00
10: 01 0a 00 00 19 0a 00 00 11 0a 00 00 09 0a 00 00
20: 21 0a 00 00 00 00 00 00 00 00 00 00 00 00 00 00
30: 00 00 00 00 60 00 00 00 00 00 00 00 00 01 02 04
40: 06 00 00 7f 00 00 00 00 00 02 00 c8 00 80 ba 1a
50: 03 00 00 81 05 55 44 44 01 00 31 31 03 00 00 00
60: 01 00 02 00 00 00 00 00 00 00 00 00 00 00 00 00
70: 00 00 00 00 00 00 00 00 21 00 00 00 00 00 00 00
80: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
90: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
a0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
b0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
c0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
d0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
e0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
f0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
Back to top
View user's profile Send private message
ytre
n00b
n00b


Joined: 07 Oct 2005
Posts: 9

PostPosted: Thu Oct 13, 2005 8:46 am    Post subject: Re: sparc64 minimal install cd - ide(ali) dma timeouts Reply with quote

ytre wrote:

Model=WDC WD400BB-22DEA0

0000:00:0d.0 IDE interface: ALi Corporation M5229 IDE (rev c3) (prog-if ff)


just discovered:

Linux Kernel v2.4.31-sparc-r2 Configuration
│ CONFIG_WDC_ALI15X3:
│ This allows for UltraDMA support for WDC drives that ignore CRC
│ checking. You are a fool for enabling this option, but there have
│ been requests. DO NOT COMPLAIN IF YOUR DRIVE HAS FS CORRUPTION, IF
│ YOU ENABLE THIS! No one will listen, just laugh for ignoring this
│ SERIOUS WARNING.

│ Using this option can allow WDC drives to run at ATA-4/5 transfer
│ rates with only an ATA-2 support structure.

│ SAY N!

but this does not seem to be my case because M5229 != 15x3 or ma i mistaken?

what is recommanded in this case?

generic pci chipset + generic pci dma support without ali specific driver?

or ali specific driver + dma and don't care about the warning because it's related to different chipset? is it?

:?
Back to top
View user's profile Send private message
moocha
Watchman
Watchman


Joined: 21 Oct 2003
Posts: 5722

PostPosted: Thu Oct 13, 2005 8:58 am    Post subject: Reply with quote

M5229 == ALi1543. But that's not the problem. The ALi chipset has known data corruption problems in UDMA mode, depending on its revision. Your revision (c3) should be fine but the driver tends to err on the safe side of things when performing aqutodetection. You need to patch alim15x3.c to work around this issue, sorry.
AFAIK kernels > 2.6.8 don't exhibit the issue anymore, but I didn't try them (gave up on the ALi chipset completely).
_________________
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
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