Click Here
home features news forums classifieds faqs links search
6071 members 
Amiga Q&A /  Free for All /  Emulation /  Gaming / (Latest Posts)
Login

Nickname

Password

Lost Password?

Don't have an account yet?
Register now!

Support Amigaworld.net
Your support is needed and is appreciated as Amigaworld.net is primarily dependent upon the support of its users.
Donate

Menu
Main sections
» Home
» Features
» News
» Forums
» Classifieds
» Links
» Downloads
Extras
» OS4 Zone
» IRC Network
» AmigaWorld Radio
» Newsfeed
» Top Members
» Amiga Dealers
Information
» About Us
» FAQs
» Advertise
» Polls
» Terms of Service
» Search

IRC Channel
Server: irc.amigaworld.net
Ports: 1024,5555, 6665-6669
SSL port: 6697
Channel: #Amigaworld
Channel Policy and Guidelines

Who's Online
14 crawler(s) on-line.
 124 guest(s) on-line.
 0 member(s) on-line.



You are an anonymous user.
Register Now!
 amigakit:  17 mins ago
 OlafS25:  33 mins ago
 matthey:  45 mins ago
 OneTimer1:  56 mins ago
 RobertB:  58 mins ago
 pavlor:  1 hr 31 mins ago
 VooDoo:  1 hr 31 mins ago
 OldFart:  2 hrs 8 mins ago
 zipper:  2 hrs 29 mins ago
 kolla:  4 hrs 4 mins ago

/  Forum Index
   /  Amiga OS4.x \ Workbench 4.x
      /  Audio induced lockups on OS4/A1 - Summary = SoundBlaster issues w/ethernet
Register To Post

Goto page ( Previous Page 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 )
PosterThread
Teddy 
Re: Audio induced lockups on OS4/A1 - Summary = throw out your SoundBlasters.
Posted on 21-Jul-2005 4:02:07
#181 ]
Regular Member
Joined: 29-Nov-2003
Posts: 395
From: Belgrade, Serbia

@DaveAE

You just enjoy in your holiday, you undoubtedly deserved it.


_________________
You can crack anything with your head, even the head itself.
--------------------------------
...proud AOS user since 1993
--------------------------------

 Status: Offline
Profile     Report this post  
Tomppeli 
Re: Audio induced lockups on OS4/A1 - Summary = throw out your SoundBlasters.
Posted on 7-Sep-2005 15:43:37
#182 ]
Super Member
Joined: 18-Jun-2004
Posts: 1652
From: Home land of Santa, sauna, sisu and salmiakki

So what happened with this ? Is there any working solution ?

_________________
Rock lobster bit me. My Workbench has always preferences. X1000 + AmigaOS4.1 FE
"Anyone can build a fast CPU. The trick is to build a fast system." -Seymour Cray

 Status: Offline
Profile     Report this post  
DaveAE 
Re: Audio induced lockups on OS4/A1 - Summary = throw out your SoundBlasters.
Posted on 7-Sep-2005 15:48:43
#183 ]
Super Member
Joined: 21-Mar-2003
Posts: 1091
From: The Netherlands

@Tomppeli

Omg, the thread came alive!
No solution, unless you buy a CMI card (and don't have a Radeon 7000!!) or other non-emu10kx soundcard. We don't know why it happens either, since every theory has its counter-example. Don't count on a solution either.

_________________
Audio Evolution
http://www.audio-evolution.com

 Status: Offline
Profile     Report this post  
stedy 
Re: Audio induced lockups on OS4/A1 - Summary = throw out your SoundBlasters.
Posted on 14-Apr-2006 23:46:11
#184 ]
Member
Joined: 26-Aug-2005
Posts: 35
From: London, England

@DaveAE

I did a bit of digging around after I was asked to take a look at this and I have a few observations to report. I do not claim to have the solution. I am providing an analysis based upon a study of the following materials:

Articia S datasheets (downloaded many years ago from MAI),
The Teron Mini reference design,
Some VIA 686 documents and Linux drivers,
UBoot source code, specifically, the u-boot-1.1.2\board\MAI\AmigaOneG3SE directory.

What surprised my was that the Via 686B handles the AGP/Graphics interrupt. In the Teron Mini design, it was tied to PCI INT C. The MAI Articia S datasheet explains that you need an external interrupt handler, the VIA 686B provides this.

The graphics interrupt, for want of a better word, will be persistent and needs to be handled at a high priority.

If improvements can be made to the PCI interrupt handler, that could, in theory, help the system.

The UBoot code dates back to 2004, but the Via 686B code does not appear to have any of the recommendation, that linux uses to fix the bugs. The bug fixes primarily deal with PCI latency timer and arbitration issues. The Linux recommendation is to set the PCI bus latency to 0 and the Abitration timer to 96 clock cycles.

The PCI latency factor and Arbitration timer registers affect the throughput of the PCI bus. A larger arbitration timer allows larger transfers and higher throughput but increases system latency as another device has to wait longer to access the bus and interrupts take longer to process. These values are invariably tweaked on a system by system basis. There are no hard and fast rules on this.

From the PCI specification (sorry if the formatting gets screwed up).

Data Phases Bytes Total Clocks Latency Timer Bandwidth Latency
Transferred (clocks) (MB/s) (μs)
8 32 16 14 60 0 .48
16 64 24 22 80 0.72
32 128 40 38 96 1.20
64 256 72 70 107 2.16

The Latency timer is at adddress $0D of the PCI standard register set. The Maximum Latency and Minimum Grant registers are at addresses $3F and $3E respectively.

This may not be anything but the default serial port setting of 9600 BPS triggers an interrupt after only one byte is received. This is fine for a debug port, my worry is if software changes the BAUD rate but does not change the FIFO settings, the serial port becomes an interrupt hog.

Ok after all my goings on, if the system is having trouble responding to interrupts, you will get breaks in data transfers of Music, Video, Audio etc and it all comes down to PCI bus settings. Tweaking the interrupt handling, has from experience fixed most problems.

Oh, there is an Easter Egg in Uboot.

Hope this helps stimulate some more ideas.

Ian

 Status: Offline
Profile     Report this post  
The_Editor 
Re: Audio induced lockups on OS4/A1 - Summary = throw out your SoundBlasters.
Posted on 15-Apr-2006 0:17:15
#185 ]
Elite Member
Joined: 7-Mar-2003
Posts: 7629
From: 192.168.0.02 ..Pederburgh .. Iceni

@stedy

Wow ... Thanks


( did something just go whooshing over my head ?)

I'm sure someone will find that info helpful !!


_________________
******************************************
I dont suffer from Insanity - I enjoy it

******************************************

 Status: Offline
Profile     Report this post  
Bean 
Re: Audio induced lockups on OS4/A1 - Summary = throw out your SoundBlasters.
Posted on 15-Apr-2006 0:55:13
#186 ]
Super Member
Joined: 4-Apr-2003
Posts: 1225
From: U.K.

@stedy

Quote:
Oh, there is an Easter Egg in Uboot.


Is that the Commodore 64 screen-like Easter Egg?

Sounds like you've done a lot of research on the Interrupt issues. I wish I
could add something useful but I can't!

Have you tried fiddling around with the settings like you mentioned, to test
different settings, or does this have to be done in UBoot? (or is it more
complex than this?)

Cheers,
Bean.

Last edited by Bean on 15-Apr-2006 at 01:00 AM.

_________________
OS4.1 + SAM Flex
RIP my A1XE.. that used to have an appetite for batteries!

 Status: Offline
Profile     Report this post  
DaveAE 
Re: Audio induced lockups on OS4/A1 - Summary = throw out your SoundBlasters.
Posted on 15-Apr-2006 10:08:06
#187 ]
Super Member
Joined: 21-Mar-2003
Posts: 1091
From: The Netherlands

@stedy

Omg, this thread came alive again!

Anyway, thanks for reporting your findings. I have fiddled with the latency and grant registers on the SB Live and 3com ethernet chip without any luck. IIRC, I didn't try it on the via686b itself though. Perhaps it's worth a try indeed.

Thanks

Davy

_________________
Audio Evolution
http://www.audio-evolution.com

 Status: Offline
Profile     Report this post  
ikir 
Re: Audio induced lockups on OS4/A1 - Summary = throw out your SoundBlasters.
Posted on 15-Apr-2006 12:05:55
#188 ]
Elite Member
Joined: 18-Dec-2002
Posts: 5647
From: Italy

@DaveAE

Let us know please

_________________
ikir

 Status: Offline
Profile     Report this post  
stedy 
Re: Audio induced lockups on OS4/A1 - Summary = throw out your SoundBlasters.
Posted on 15-Apr-2006 12:33:14
#189 ]
Member
Joined: 26-Aug-2005
Posts: 35
From: London, England

@Bean

Yes the C64 screen is the Easter Egg. I prefer the real ones this time of year :)

I don't have an AmigaOne so could not try these things myself.

@DaveAE

I was a bit surprised to find that the 686B controls the PCI bus arbitration but I have since worked with an AMD device that uses the same approach so it is not uncommon in the X86 world.

I learnt about the latency registers and system performance by reading the book PCI Express system architecture, which is a good read.

I will help where I can with information, I know have some additional Via 686B documents which I hope to read through soon.

Must go.

Ian

 Status: Offline
Profile     Report this post  
Deniil715 
Re: Audio induced lockups on OS4/A1 - Summary = throw out your SoundBlasters.
Posted on 19-Apr-2006 18:54:29
#190 ]
Elite Member
Joined: 14-May-2003
Posts: 4236
From: Sweden

@all

I have been nagging a lot about this the past year, but I must say that I have not managed to get a single lockup of that kind since upd4!
I have an SB Audigy.

_________________
- Don't get fooled by my avatar, I'm not like that (anymore, mostly... maybe only sometimes)
> Amiga Classic and OS4 developer for OnyxSoft.

 Status: Offline
Profile     Report this post  
Goto page ( Previous Page 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 )

[ home ][ about us ][ privacy ] [ forums ][ classifieds ] [ links ][ news archive ] [ link to us ][ user account ]
Copyright (C) 2000 - 2019 Amigaworld.net.
Amigaworld.net was originally founded by David Doyle