Login
Username:

Password:

Remember me



Lost Password?

Register now!

Sections

Who's Online
104 user(s) are online (91 user(s) are browsing Forums)

Members: 0
Guests: 104

more...

Support us!

Headlines

 
  Register To Post  

How to enable dma and set correct time?
Not too shy to talk
Not too shy to talk


See User information
Hi,

As the topic said, how do you know or check if dma is enabled on a sam460ex? Also would like to set the time correctly. An easy explanation guide would be very greatful!

Go to top
Re: How to enable dma and set correct time?
Quite a regular
Quite a regular


See User information
Concerning DMA, I cannot help but concerning clock/time, I have found a small tool that get the correct date/clock from Internet and you can add it in the S:network-startup

it's yfacts on os4depot : http://www.os4depot.net/index.php?fun ... e=network/misc/yfacts.lha

Kindest Regards,
AmiDARK

All we have to decide is what to do with the time that is given to us.
Go to top
Re: How to enable dma and set correct time?
Amigans Defender
Amigans Defender


See User information
DMA is not supported with onboard controller (but a driver is WIP). regards the time you can set it using internet in the Date/Time prefs using an NTP server

i'm really tired...
Go to top
Re: How to enable dma and set correct time?
Just popping in
Just popping in


See User information
You can check if DMA is enabled on a device with idetool. Here is how it works here but you have to change ide device name of your machine:

8.Workbench:> idetool -l peg2ide.device
-------------------Unit 0 information------------------------
Flags : $000001A7 - present, LBA48 used, supports DMA, ATA, supports acoustic mgmt, supports cache flush, interrupts used,
Xfer mode : best pio 12 (PIO 4, 16 MB/s) / best dma 69 (UDMA 5, 100 MB/s) / current 69 (UDMA 5, 100 MB/s)
Total blocks : 398294975
Blocksize : 512
Power mode : 2 / idle (ready for operation)
IO1 / IO2 / BMCR @ : $1000 / $100E / $1020
spurious interrupts: 0
bounced misaligned cache line start DMA requests: 447
bounced misaligned cache line end DMA requests: 0
bounced non-contiguous buffer DMA requests: 26
-------------------Unit 1 information------------------------
Flags : $00000187 - present, LBA48 used, supports DMA, ATA, supports cache flush, interrupts used,
Xfer mode : best pio 12 (PIO 4, 16 MB/s) / best dma 69 (UDMA 5, 100 MB/s) / current 69 (UDMA 5, 100 MB/s)
Total blocks : 976773168

Go to top
Re: How to enable dma and set correct time?
Just can't stay away
Just can't stay away


See User information
Quote:
AmiDARK wrote:

concerning clock/time, I have found a small tool that get the correct date/clock from Internet and you can add it in the S:network-startup
No need for a third party tool, just use C:Date with the arguments "SERVER PREFS". This requires having set up an NTP server in Prefs/Time first (and saved it).

Best regards,

Niels

Go to top
Re: How to enable dma and set correct time?
Amigans Defender
Amigans Defender


See User information
@nbache

The advantage of yFacts is that it'll run in the background and keep the clock in sync. The DATE SERVER PREFS solution only runs once on startup (as does putting yFacts into s:network-startup).

Go to top
Re: How to enable dma and set correct time?
Just can't stay away
Just can't stay away


See User information
True.

I solved that myself by not actually calling it directly from Network-Startup, but instead calling a script (S:GetSaveTime) containing the "C:Date SERVER PREFS" line followed by a "C:SetClock SAVE".

The same script is also executed regularly by Docket.

Best regards,

Niels

Go to top
Re: How to enable dma and set correct time?
Just can't stay away
Just can't stay away


See User information
Do you really need to stay perfectly synchronised?
For me doing it once on system startup is more than enough

Philippe 'Elwood' FERRUCCI
Sam460ex 1.10 Ghz
http://elwoodb.free.fr
Go to top
Re: How to enable dma and set correct time?
Just can't stay away
Just can't stay away


See User information
Well, at the moment "regularly" is once every 24 hours (I'm running my A1 24/7). More than that I probably don't need. But not doing it would become noticable in very few days.

Best regards,

Niels

Go to top
Re: How to enable dma and set correct time?
Amigans Defender
Amigans Defender


See User information
Quote:
The same script is also executed regularly by Docket.

I happen to use Docket for that as well.

That reminds me, I should probably update that tool again. Much has changed since I last changed it.

ExecSG Team Lead
Go to top
Re: How to enable dma and set correct time?
Just can't stay away
Just can't stay away


See User information
In that case, please don't forget considering to add a shorter period option than daily - I'd like to e.g. be able to run my time sync every 3 or 6 hours (without having to add a separate entry for each execution hour).

Best regards,

Niels

P.S. I know I said two posts ago that I probably don't need the sync done more often than once a day. But that doesn't mean I don't want it done more often .

Go to top

  Register To Post

 




Currently Active Users Viewing This Thread: 2 ( 0 members and 2 Anonymous Users )




Powered by XOOPS 2.0 © 2001-2024 The XOOPS Project