motherboard ethernet driver

AmigaOne X1000 platform specific issues.
User avatar
nbache
Beta Tester
Beta Tester
Posts: 1766
Joined: Mon Dec 20, 2010 7:25 pm
Location: Copenhagen, Denmark
Contact:

Re: motherboard ethernet driver

Post by nbache »

msalcedo wrote: Fri Dec 10, 2021 10:00 pmat Raziel,
Thanks for your input, I didn't have any answers for you so I kept quiet.. (sigh)
Ditto.

Best regards,

Niels
User avatar
Hypex
Beta Tester
Beta Tester
Posts: 977
Joined: Mon Dec 20, 2010 2:23 pm
Location: Vic. Australia.

Re: motherboard ethernet driver

Post by Hypex »

Raziel wrote: Wed Dec 01, 2021 5:09 pm Is AmigaOS not able to talk correctly to the chip because of ...reasons?
Just to add. Has it been compared with the Linux driver to see where it could be faulty? I don't know if it was built from scratch or built off the Linux driver.
User avatar
msalcedo
Beta Tester
Beta Tester
Posts: 109
Joined: Fri Oct 21, 2011 12:55 am
Location: Sacramento, CA USA

Re: motherboard ethernet driver

Post by msalcedo »

there's a new x1000 ethernet driver fron Kas1e
so I too thought to test this driver but..

> Quote:
>
>
> [pa6t_eth] init: failed to open expansion library
>
>
>
> You have no expansion library in system ? Too old kernel ? Or deleted library ? init.c of driver have that code:
>
> /* Open expansion.library + PCI interface */
> base->ExpansionBase = IExec->OpenLibrary("expansion.library", 54);
> if (!base->ExpansionBase) {
> IExec->DebugPrintF("[pa6t_eth] Init: failed to open expansion.library\n");
> goto fail;
> }
> base->IPCI = (struct PCIIFace *)IExec->GetInterface(
> base->ExpansionBase, "pci", 1, NULL);
> if (!base->IPCI) {
> IExec->DebugPrintF("[pa6t_eth] Init: failed to get IPCI interface\n");
> goto fail;
> }
>
>
> So your expansion library isn't found , or of older version or something of that sort happens. Without of course nothing will works.

I looked at system libs and tried the x1000 cd for the 4.1 fe.

I can't find an expansion library?

I only remember expansion from the classic
User avatar
nbache
Beta Tester
Beta Tester
Posts: 1766
Joined: Mon Dec 20, 2010 7:25 pm
Location: Copenhagen, Denmark
Contact:

Re: motherboard ethernet driver

Post by nbache »

Expansion.library is part of the kernel in OS4 (or, to put it another way, the code is in the kernel file, and the kernel creates the library - along with other stuff - in memory during startup, so it doesn't exist as a disk-based library in itself.).

The code is trying to open expansion.library version 54 - I'm guessing that this is the same version as the main kernel, so you need a kernel of version 54.

Which version do you have?

Did you install all the updates to 4.1FE, up to and including Update 3 from last fall?

Best regards,

Niels

Edit: @msalcedo - I see in Amigans.net that you solved it, and it was indeed a matter of the kernel (and the OS) being too old.
User avatar
msalcedo
Beta Tester
Beta Tester
Posts: 109
Joined: Fri Oct 21, 2011 12:55 am
Location: Sacramento, CA USA

Re: motherboard ethernet driver

Post by msalcedo »

Yep, my x1000 was doing what I wanted so I didn't work on it and it really needed some updating. Now at 4.1 update three.

It did seen that since the port and enet chip had never been used, it might be a broken item, very discourging

But old beta testing skills.. attach the serial cable, then read what was happening pointed to the code and where it stopped working.

Kas did not give up and after reporting to him the issues, I updated and the driver could find it's components.

It works!

I was also trying to help a couple of other folks who had almost the same problem and had not seen the serial report, just driver won't open.
Post Reply