Bug #1766

DF 2.6.3/x86_64 and cxm(4): doesn't build

Added by tk almost 4 years ago. Updated almost 4 years ago.

Status:ClosedStart date:
Priority:NormalDue date:
Assignee:swildner% Done:

0%

Category:-
Target version:-

Description

Hi!

Today I tried DragonFly BSD 2.6.3 to get a working cxm driver.

I installed from the x86_64 iso, checked out the source from git, and
copied the GENERIC kernel config, adding the four lines cited in the
cxm(4) man page. A 'make buildworld' later, 'make buildkernel
KERNCONF=MYCONFIG' first failed to compile because it couldn't find
machine/iic.h; so I ctrl-z the build and copied the pc32 version into
the kernel build directory. Then the build finishes, but after
installing the kernel, there is no cxm kernel module in /boot/modules.

The build itself didn't even fail; I read the cxm man page again and
used cxm_extract_fw to convert the .sys file to two c files, which I
copied to /usr/src/sys/dev/video/cxm, which didn't change anything in
the result after another kernel build though.

Am I missing something or is it just not supported on x86_64?
Thomas

History

#1 Updated by swildner almost 4 years ago

Thomas,

I've just committed some fixes that should make cxm(4) work on x86_64. Please test.

#2 Updated by tk almost 4 years ago

On Sun, May 16, 2010 at 01:47:43AM +0000, Sascha Wildner (via DragonFly issue tracker) wrote:
> I've just committed some fixes that should make cxm(4) work on x86_64. Please test.

Thank you, the problem is indeed fixed!
Thomas

#3 Updated by swildner almost 4 years ago

Fixed with 1773263f68fb7688f98b622787ea703fe1488612 and
ef983ae97cae953ca48d6ac365c04466e8d0ccf5

Also available in: Atom PDF