From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.org/gmane.linux.lib.musl.general/3319 Path: news.gmane.org!not-for-mail From: plan9assembler Newsgroups: gmane.linux.lib.musl.general Subject: xorg intel driver load error Date: Fri, 17 May 2013 09:22:10 +0900 Message-ID: Reply-To: musl@lists.openwall.com NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: multipart/alternative; boundary=047d7b15b0d74f4f1904dcdef94d X-Trace: ger.gmane.org 1368750143 4300 80.91.229.3 (17 May 2013 00:22:23 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Fri, 17 May 2013 00:22:23 +0000 (UTC) To: musl@lists.openwall.com Original-X-From: musl-return-3323-gllmg-musl=m.gmane.org@lists.openwall.com Fri May 17 02:22:24 2013 Return-path: Envelope-to: gllmg-musl@plane.gmane.org Original-Received: from mother.openwall.net ([195.42.179.200]) by plane.gmane.org with smtp (Exim 4.69) (envelope-from ) id 1Ud8RD-0007bF-Eq for gllmg-musl@plane.gmane.org; Fri, 17 May 2013 02:22:23 +0200 Original-Received: (qmail 12148 invoked by uid 550); 17 May 2013 00:22:22 -0000 Mailing-List: contact musl-help@lists.openwall.com; run by ezmlm Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: Original-Received: (qmail 12140 invoked from network); 17 May 2013 00:22:22 -0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:x-received:date:message-id:subject:from:to :content-type; bh=bkpEGxztYnrotoeWgSVOy0M3ffA7rbX/68ySbeFS4Qo=; b=Y08vOZQQeySpbaQLiVaJFoKq+InmffJ4w+TUQfQF2e2gMofxUDgxAH2WTb1fvuq77S Ii0MuwTvLZMTv0/POT/4dZekuHPAWtQNKfwy5hSIjaIYW3wHlY/gEKsYYVmzNDlDNiTe Doa2EOvZNWHaWROE4pgOq+lP2WYWhLfEDGF/jplBKUSpxWwq2DDRQe266cYbENaZ0PlI K+IkSMPhGmC6QQevPp1eMhv/LMt0KYJEXkXxDIQbLaRG2SxiWDWtv6MkVfEVoD8pBATZ CHW/4tdOmZQGleECp3kPd1DGrdLsxCIn+IJ/trTm1YVVES9U6fegU+cEVAV4bYCw7f/w kixw== X-Received: by 10.66.254.225 with SMTP id al1mr45794405pad.111.1368750130415; Thu, 16 May 2013 17:22:10 -0700 (PDT) Xref: news.gmane.org gmane.linux.lib.musl.general:3319 Archived-At: --047d7b15b0d74f4f1904dcdef94d Content-Type: text/plain; charset=ISO-8859-1 Hi, i am using my own x86_64-linux-musl from bootstrap+musl cross, https://plan9assembler.wordpress.com/ https://github.com/pikhq/bootstrap-linux/issues/8 https://github.com/pikhq/bootstrap-linux/issues/9 trying to install xorg, compilation done,(mesa, font, lib, proto, xserver etc). but when xserver didn't work, due to intel driver. ... (EE) Failed to load /usr/lib/xorg/modules/drivers/intel_drv.so: Error relocating /usr/lib/xorg/modules/drivers/intel_drv.so: fbPolyPoint: symbol not found (II) UnloadModule: "intel" (II) Unloading intel (EE) Failed to load module "intel" (loader failed, 7) ... (EE) No drivers available. --047d7b15b0d74f4f1904dcdef94d Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable
trying to install xor= g, compilation done,(mesa, font, lib, proto, xserver etc).
but when xser= ver didn't work, due to intel driver.

...
(EE) Failed to load /usr/lib/xorg/modules/drivers/int= el_drv.so: Error relocating /usr/lib/xorg/modules/drivers/intel_drv.so: fbP= olyPoint: symbol not found
(II) UnloadModule: "intel&quo= t;
(II) Unloading intel
(EE) Failed to load module &q= uot;intel" (loader failed, 7)
...
(EE) No drivers ava= ilable.
--047d7b15b0d74f4f1904dcdef94d-- From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.org/gmane.linux.lib.musl.general/3320 Path: news.gmane.org!not-for-mail From: Rich Felker Newsgroups: gmane.linux.lib.musl.general Subject: Re: xorg intel driver load error Date: Thu, 16 May 2013 20:37:05 -0400 Message-ID: <20130517003705.GX20323@brightrain.aerifal.cx> References: Reply-To: musl@lists.openwall.com NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: ger.gmane.org 1368751037 11508 80.91.229.3 (17 May 2013 00:37:17 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Fri, 17 May 2013 00:37:17 +0000 (UTC) To: musl@lists.openwall.com Original-X-From: musl-return-3324-gllmg-musl=m.gmane.org@lists.openwall.com Fri May 17 02:37:19 2013 Return-path: Envelope-to: gllmg-musl@plane.gmane.org Original-Received: from mother.openwall.net ([195.42.179.200]) by plane.gmane.org with smtp (Exim 4.69) (envelope-from ) id 1Ud8ff-0002K5-51 for gllmg-musl@plane.gmane.org; Fri, 17 May 2013 02:37:19 +0200 Original-Received: (qmail 20268 invoked by uid 550); 17 May 2013 00:37:18 -0000 Mailing-List: contact musl-help@lists.openwall.com; run by ezmlm Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: Original-Received: (qmail 20260 invoked from network); 17 May 2013 00:37:18 -0000 Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.5.21 (2010-09-15) Xref: news.gmane.org gmane.linux.lib.musl.general:3320 Archived-At: On Fri, May 17, 2013 at 09:22:10AM +0900, plan9assembler wrote: > Hi, > > i am using my own x86_64-linux-musl from bootstrap+musl cross, > https://plan9assembler.wordpress.com/ > https://github.com/pikhq/bootstrap-linux/issues/8 > https://github.com/pikhq/bootstrap-linux/issues/9 > > trying to install xorg, compilation done,(mesa, font, lib, proto, xserver > etc). > but when xserver didn't work, due to intel driver. > > .... > (EE) Failed to load /usr/lib/xorg/modules/drivers/intel_drv.so: Error > relocating /usr/lib/xorg/modules/drivers/intel_drv.so: fbPolyPoint: symbol > not found > (II) UnloadModule: "intel" > (II) Unloading intel > (EE) Failed to load module "intel" (loader failed, 7) > .... > (EE) No drivers available. I believe the issue is that xorg lacks proper dependency information between modules, so unless they're loaded in the correct order, symbols will be missing. This bug gets overlooked with glibc because many (but not all) symbol references can be deferred until the first time they're used (lazy binding); musl intentionally does not support lazy binding. I'm not sure if anybody has worked on a patch to fix the issue, but you should be able to work around it by tweaking your config file to load modules in dependency order. In your case, it sounds like the missing symbol is in some general fb module.. Others who've worked more directly with packaging and system building can probably provide more detailed information for you. Rich From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.org/gmane.linux.lib.musl.general/3324 Path: news.gmane.org!not-for-mail From: Isaac Dunham Newsgroups: gmane.linux.lib.musl.general Subject: Re: xorg intel driver load error Date: Thu, 16 May 2013 23:38:34 -0700 Message-ID: <20130516233834.457fa3a1@newbook> References: <20130517003705.GX20323@brightrain.aerifal.cx> Reply-To: musl@lists.openwall.com NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-Trace: ger.gmane.org 1368772730 734 80.91.229.3 (17 May 2013 06:38:50 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Fri, 17 May 2013 06:38:50 +0000 (UTC) To: musl@lists.openwall.com Original-X-From: musl-return-3328-gllmg-musl=m.gmane.org@lists.openwall.com Fri May 17 08:38:52 2013 Return-path: Envelope-to: gllmg-musl@plane.gmane.org Original-Received: from mother.openwall.net ([195.42.179.200]) by plane.gmane.org with smtp (Exim 4.69) (envelope-from ) id 1UdEJX-000384-Pd for gllmg-musl@plane.gmane.org; Fri, 17 May 2013 08:38:51 +0200 Original-Received: (qmail 17553 invoked by uid 550); 17 May 2013 06:38:51 -0000 Mailing-List: contact musl-help@lists.openwall.com; run by ezmlm Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: Original-Received: (qmail 17545 invoked from network); 17 May 2013 06:38:50 -0000 DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=lavabit; d=lavabit.com; b=Qb+XrR6OGP+KNnyFAVyauQcx0b6Ahlx4RWz4hBFtgj07jFA5biLATE2R4cQ9wBkSgmxlahRqhLKfCyFhJB1R4+5ea7+ciqtG+te1/UgnyZL2OmKOAZrqUE8VB5VY7kLG1ExQbHL0wrawJnkbri2lcDUbNZJFKyOn4jTx0p4bsTU=; h=Date:From:To:Subject:Message-ID:In-Reply-To:References:X-Mailer:Mime-Version:Content-Type:Content-Transfer-Encoding; In-Reply-To: <20130517003705.GX20323@brightrain.aerifal.cx> X-Mailer: Claws Mail 3.7.6 (GTK+ 2.20.1; i486-pc-linux-gnu) Xref: news.gmane.org gmane.linux.lib.musl.general:3324 Archived-At: On Thu, 16 May 2013 20:37:05 -0400 Rich Felker wrote: > > Hi, > > > > i am using my own x86_64-linux-musl from bootstrap+musl cross, > > https://plan9assembler.wordpress.com/ > > https://github.com/pikhq/bootstrap-linux/issues/8 > > https://github.com/pikhq/bootstrap-linux/issues/9 > > > > trying to install xorg, compilation done,(mesa, font, lib, proto, > > xserver etc). > > but when xserver didn't work, due to intel driver. > > > > .... > > (EE) Failed to load /usr/lib/xorg/modules/drivers/intel_drv.so: > > Error relocating /usr/lib/xorg/modules/drivers/intel_drv.so: > > fbPolyPoint: symbol not found > > (II) UnloadModule: "intel" > > (II) Unloading intel > > (EE) Failed to load module "intel" (loader failed, 7) > > .... > > (EE) No drivers available. > > I believe the issue is that xorg lacks proper dependency information > between modules, so unless they're loaded in the correct order, > symbols will be missing. This bug gets overlooked with glibc because > many (but not all) symbol references can be deferred until the first > time they're used (lazy binding); musl intentionally does not support > lazy binding. > > I'm not sure if anybody has worked on a patch to fix the issue, but > you should be able to work around it by tweaking your config file to > load modules in dependency order. In your case, it sounds like the > missing symbol is in some general fb module.. It's libwfb.so or libfb.so; I can't tell which one has the symbol and which uses it. These are modules wfb and fb. I'd suggest trying out fb first.