Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 28 Oct 2014 17:10:58 +0000
From:      bugzilla-noreply@freebsd.org
To:        freebsd-ports-bugs@FreeBSD.org
Subject:   [Bug 194665] New: net/aoe and VIMAGE enabled kernel
Message-ID:  <bug-194665-13@https.bugs.freebsd.org/bugzilla/>

next in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=194665

            Bug ID: 194665
           Summary: net/aoe and VIMAGE enabled kernel
           Product: Ports Tree
           Version: Latest
          Hardware: Any
                OS: Any
            Status: Needs Triage
          Severity: Affects Some People
          Priority: Normal
         Component: Individual Port(s)
          Assignee: fjoe@FreeBSD.org
          Reporter: andreas.neiser@gmail.com
          Assignee: fjoe@FreeBSD.org
             Flags: maintainer-feedback?(fjoe@FreeBSD.org)

Created attachment 148742
  --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=148742&action=edit
patch aonet.c to compile with -DVIMAGE, does not work!

When building the net/aoe kernel module, loading it into a kernel with VIMAGE
support results in the following dmesg error message:

link_elf_obj: symbol ifnet undefined
linker_load_file: Unsupported file type

Of course, kldload is not successful.

I then added to the Makefile of net/aoe (just as a quick try)

CFLAGS+= -DVIMAGE

and patched aoenet.c to make it compile again, see attachment. This gives the
following dmesg output when loading:

aoe: aoenet_init: ifp->if_input != ether_input
aoe: aoe_loader: AoE version 1.2.0 initialized

But after some minutes, the system crashes and reboots. So far, I was not able
to get a kernel error message. If anyone knows how to patch aoenet.c properly
to work with -DVIMAGE, this would help I guess. I'm just a FreeBSD beginner!

Thanks!

By the way: I'm doing this on a FreeNAS 9.2.1.8 machine (based on FreeBSD
9.2.1), since aoe would be nice there...

--- Comment #1 from Bugzilla Automation <bugzilla@FreeBSD.org> ---
Auto-assigned to maintainer fjoe@FreeBSD.org

-- 
You are receiving this mail because:
You are the assignee for the bug.



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-194665-13>