since updating to FE, while booting my X1000 I get extra Sashimi output containing the following lines:
Code: Select all
No SB128 found! :-(
No FM801 found! :-(
No Envy24 found! :-(
Couldn't open Intuition interface!
Marko
Code: Select all
No SB128 found! :-(
No FM801 found! :-(
No Envy24 found! :-(
Couldn't open Intuition interface!
Looking through the source code for the AHI drivers the _LibInit() function in the EMU10kx driver is broken. It doesn't initialise the IntuitionBase global so GetInterface() is called with a NULL library base pointer which causes it to fail.LyleHaze wrote: The bit about an intuition interface doesn't look familiar. which might mean It's just too early in the morning.
Ok. Because it is a normal situation that (some) audio hardware is not found, maybe there should be no output here unless asked for (my AHI Prefs says "Debug level = None")?LyleHaze wrote:A "normal" AHI installation includes all the drivers available in devs:AHI. When AHI is started, it attempts to open each of them. Each driver that does not find matching hardware generally says it did not find hardware matching it's target on exit.
So that would explain most of the output, anyway.
The bit about an intuition interface doesn't look familiar. which might mean It's just too early in the morning.
On closer inspection there was nothing wrong at all. "IntuitionBase" is defined as a macro so even though it looks like the code accesses a global variable it in fact does not.salass00 wrote: Looking through the source code for the AHI drivers the _LibInit() function in the EMU10kx driver is broken. It doesn't initialise the IntuitionBase global so GetInterface() is called with a NULL library base pointer which causes it to fail.
I only have the AHI drivers for my X1000 internal sound and for an SBLive card installed. I added the drivers back one at a time and the Intuition message is coming from the CS4281 driver; which I believe is the driver for the SAM440 builtin audio. The message would not normally be seen on the SAM (because the driver would always find the builtin audio) and only shows up on other hardware. Since ACUBE would not have seen the message during testing on the SAM, it's probably a fortunate bug that prevents the driver from opening a debugging requester while the system is booting.salass00 wrote:On closer inspection there was nothing wrong at all. "IntuitionBase" is defined as a macro so even though it looks like the code accesses a global variable it in fact does not.
According to grep the only OS components that output a debug message like "Couldn't open Intuition interface!" are the AHI drivers so it might be worth looking through their code if one of them is doing something wrong. The EMU10kx driver turned out to be a false positive though AFAICT.
The CS4281 code for opening intuition.library and getting it's interface looks perfectly fine to me.xenic wrote: I only have the AHI drivers for my X1000 internal sound and for an SBLive card installed. I added the drivers back one at a time and the Intuition message is coming from the CS4281 driver; which I believe is the driver for the SAM440 builtin audio. The message would not normally be seen on the SAM (because the driver would always find the builtin audio) and only shows up on other hardware. Since ACUBE would not have seen the message during testing on the SAM, it's probably a fortunate bug that prevents the driver from opening a debugging requester while the system is booting.
The public version of the driver which doesn't get the intuition interface correctly is version 5.6.salass00 wrote: The CS4281 code for opening intuition.library and getting it's interface looks perfectly fine to me.
Can you say what the latest public version of the driver is? I'd check this myself but I just turned off my µA1-C for the night...
Yes. That's the buggy version I have here.salass00 wrote:The public version of the driver which doesn't get the intuition interface correctly is version 5.6.
The code has been fixed in the latest beta version.