Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 3 Oct 2016 22:25:28 +0200
From:      Michael Gmelin <grembo@freebsd.org>
To:        Andriy Gapon <avg@FreeBSD.org>
Cc:        FreeBSD Current <freebsd-current@FreeBSD.org>, freebsd-mobile@FreeBSD.org
Subject:   Re: [request for testing] isl, cyapa on chromebooks
Message-ID:  <20161003222528.56d46787@bsd64.grem.de>
In-Reply-To: <ecd26145-442d-d059-59a1-139e206d451b@FreeBSD.org>
References:  <1e66fc64-cdff-e94b-4b0c-55cb05e2b5a1@FreeBSD.org> <20161003180750.744dae0a@bsd64.grem.de> <ecd26145-442d-d059-59a1-139e206d451b@FreeBSD.org>

next in thread | previous in thread | raw e-mail | index | archive | help
On Mon, 3 Oct 2016 19:41:17 +0300
Andriy Gapon <avg@FreeBSD.org> wrote:

> On 03/10/2016 19:07, Michael Gmelin wrote:
> > I upgraded the latter the r306641, applied your patches (cleanly)
> > and ran "make kernel" (GENERIC kernel), added the entries to
> > device.hints and rebooted. Unfortunately ig4 won't load:
> > 
> > # kldload ig4
> > link_elf_obj: symbol iicbus_transfer_desc undefined
> > linker_load_file: Unsupported file type  
> 
> Hmm, seems like forgot to declare the iicbus module dependency.
> Could you please kldload iicbus and see if that helps?
> Meanwhile I'll add the dependency.

Unfortunately this doesn't help, you should be able to reproduce it
yourself without access to the actual hardware though.

I worked around this by adding the iicbus dependency to ig4_pci.c (and
also to "files").

Now loading ig4 works and both lynx point controllers are detected.
Loading isl doesn't create any output and doesn't seem to detect any
devices. Also, devinfo shows both controllers (ig4iic0, ig4iic1), but
no iicbus devices.

# devinfo | grep iic
ig4iic0
ig4iic1

-m

-- 
Michael Gmelin



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