Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
SPARC64 and UDMA?
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Gentoo on Sparc
View previous topic :: View next topic  
Author Message
shimitar
Apprentice
Apprentice


Joined: 23 Nov 2003
Posts: 163
Location: Italy, Torino

PostPosted: Tue Dec 16, 2003 7:37 pm    Post subject: SPARC64 and UDMA? Reply with quote

Hallo,
i am planning to use a good old boy Ultra5 as a small file server.
I plugged on its PCI slots a Promise IDA UDMA100 controller based on the pdc20268 chipset (the Ultra100 tx2 controller) and plugged two 40gb UDMA100 capable drives using two 80 wires cables.

The same config on a x86 system works, on the sparc doesnt if i enable dma (hdparm -d1 /dev/hdxy).

Apparently, it works, then after some time (few minutes) the system hangs giving no more kernel output.

HJas anybody succeded in enabling UDMA on a sparc system?

thanks!
_________________
Willy Gardiol
willy@gardiol.org
Back to top
View user's profile Send private message
halik
n00b
n00b


Joined: 16 Dec 2003
Posts: 35

PostPosted: Tue Dec 16, 2003 9:38 pm    Post subject: Reply with quote

strange,
i have an u5 with 20some gig drive and udma enabled and it seems to work fine for me (using the built in idea controller)
Back to top
View user's profile Send private message
shimitar
Apprentice
Apprentice


Joined: 23 Nov 2003
Posts: 163
Location: Italy, Torino

PostPosted: Tue Dec 16, 2003 9:57 pm    Post subject: Reply with quote

Where do you have it connected? On the first channel of the internal IDE controller? Because i also have two disks on the internal controller, and i can enable DMA on the first controller but not on the second!
(there are two identical disks on those controllers)


It is strange...

can you boot an ultra5 from a disk connected to a PCI controller?
_________________
Willy Gardiol
willy@gardiol.org
Back to top
View user's profile Send private message
shimitar
Apprentice
Apprentice


Joined: 23 Nov 2003
Posts: 163
Location: Italy, Torino

PostPosted: Tue Dec 16, 2003 10:21 pm    Post subject: Running some tests... Reply with quote

Well, here it is:

-d0 -p4 (pio mode4)
hdparm -tT says:
Timing buffer-cache reads: 128 MB in 1.14 seconds =112.28 MB/sec
Timing buffered disk reads: 64 MB in 23.97 seconds = 2.67 MB/sec

-d1 -X64 (UDMA mode0)
Timing buffer-cache reads: 128 MB in 1.15 seconds =111.30 MB/sec
Timing buffered disk reads: 64 MB in 4.32 seconds = 14.81 MB/sec

-d1 -X66 (UDMA mode2)
Timing buffer-cache reads: 128 MB in 1.15 seconds =111.30 MB/sec
Timing buffered disk reads: 64 MB in 3.20 seconds = 20.00 MB/sec

But in this latter case i start getting many:
Dec 16 23:16:01 [kernel] hdg: error waiting for DMA
Dec 16 23:16:36 [kernel] hdg: dma_timer_expiry: dma status == 0x22
Dec 16 23:16:36 [kernel] hdg: error waiting for DMA
Dec 16 23:17:01 [kernel] hdg: dma_timer_expiry: dma status == 0x20

and the system does not respond on that disk until the DMA is turned off.

I am now running some tests, with UDMA0 the system SEEMS to be stable...

Any ideas??? the disks and the controller both works well at UDMA5 un x86 arch...
_________________
Willy Gardiol
willy@gardiol.org
Back to top
View user's profile Send private message
stonent
Veteran
Veteran


Joined: 07 Aug 2003
Posts: 1139
Location: Texas

PostPosted: Wed Dec 17, 2003 4:44 am    Post subject: Reply with quote

shimitar wrote:
Where do you have it connected? On the first channel of the internal IDE controller? Because i also have two disks on the internal controller, and i can enable DMA on the first controller but not on the second!
(there are two identical disks on those controllers)


It is strange...

can you boot an ultra5 from a disk connected to a PCI controller?


No the only bootable controllers are some LSI/Symbios controllers that conform to the reference design like the Sun controllers do. Oh and a rather rare 2940 card with open boot firmware.
_________________
Inspiron 4100 & Sun UltraAXe
Portage on Solaris|Dell Laptop Hacks
The way you feel about organized religion is the same way I feel about organized socialism.
Back to top
View user's profile Send private message
shimitar
Apprentice
Apprentice


Joined: 23 Nov 2003
Posts: 163
Location: Italy, Torino

PostPosted: Wed Dec 17, 2003 7:22 am    Post subject: More tests Reply with quote

Well, i did more tests.

I CAN enable UDMA on a single disk, but when i do simultaneous access to both the IDE channels on the Promise the system becames unstable, i get some udma failures, ide write errors and similar things until the system hangs.

I am guessing it is s really a problem with Promise and sparc. Probably it cames out onl when you want to access both channels with UDMA enabled.

Has anybody any positive results about this?

This evening i will try to connect both disks on the onboard IDE controller and run some tests on them.

bye
_________________
Willy Gardiol
willy@gardiol.org
Back to top
View user's profile Send private message
Magic Michael
n00b
n00b


Joined: 02 Aug 2004
Posts: 47
Location: Berlin (West) / Deutschland

PostPosted: Fri Jun 17, 2005 5:26 pm    Post subject: Reply with quote

Anything new on this topic ? Is DMA stable on a Promise controller now ? Especially the 100TX2 no-raid ? Kernel 2.4 or 2.6 ??
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Gentoo on Sparc 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