Tuesday, May 5, 2009

hme/qfe x86 and SPARC binaries

hme (and by extension qfe) cards can be used on x86 systems if you download the test driver that I've supplied. Just download, extract, and follow the directions in the README file.

I'm also interested in verification that the driver performs properly on SPARC; binaries are in the same archive. The code was significantly simplified, and I need to know it works properly.

Finally, I'm seriously in need of code reviewers. I can't integrate the changes without a proper review. If you can volunteer to help, check out the webrev that I have posted.

Thanks!

(Note: on x86 qfe cards will show up as "hme" devices... this is normal and expected. The "qfe" name is an artifact only found on SPARC systems for historical reasons... the actual qfe card consists of 4 hme devices behind a PCI bridge.)

2 comments:

solarisuser said...

Howdy,

Is this intended to work on OpenSolaris only? I am in the process of porting our software from Solaris SPARC to Solaris x86/x64. We have lots of qfe cards in our SPARC servers - was hoping I could load up a spare qfe card on my Intel server running Solaris 10.

I found your blog on a google search just a few minutes ago.

(I realize that this is untested/unreviewed code and etc. - this is just for our development lab not for stuff we put into production)

May 6 14:20:41 msclab08 unix: /kernel/drv/hme: undefined symbol
May 6 14:20:41 msclab08 unix: 'pci_config_put8'
May 6 14:20:41 msclab08 unix: /kernel/drv/hme: undefined symbol
May 6 14:20:41 msclab08 unix: 'pci_config_get8'
May 6 14:20:41 msclab08 unix: /kernel/drv/hme: undefined symbol
May 6 14:20:41 msclab08 unix: 'ddi_quiesce_not_supported'
May 6 14:20:41 msclab08 unix: WARNING: mod_load: cannot load module 'hme'

Would compiling from source help & be feasible? Would sure beat having to go out and buy all new cards for our intel boxes.

Garrett D'Amore said...

Recompiling from source might help. I can't *promise* it will work -- there have been changes to the MAC interfaces, and its quite likely that some actual source changes will be needed.

That said, it wouldn't be *too* hard to make such changes if there was a compelling need.