public inbox for gentoo-catalyst@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-catalyst]  USE hal and kernel config
@ 2006-04-13  2:10 Christophe PEREZ
  2006-04-13 13:09 ` Chris Gianelloni
  0 siblings, 1 reply; 8+ messages in thread
From: Christophe PEREZ @ 2006-04-13  2:10 UTC (permalink / raw
  To: gentoo-catalyst

Hi,

I have an error when I'm trying to create a livecd.
I have "hal" in my USE.
But, when compiling sys-apps/hal-0.5.5.1-r3, it seems looking for kernel
config :

>>> md5 src_uri ;-) hal-0.5.5.1.tar.gz
 * Determining the location of the kernel source code
 * Found kernel source directory:
 *     /usr/src/linux
 * Found sources for kernel version:
 *     2.6.15-gentoo-r5

 * getfilevar requires 2 variables, with the second a valid file.
 *    getfilevar <VARIABLE> <CONFIGFILE>
 * Could not find a usable .config in the kernel source directory.
 * Please ensure that /usr/src/linux points to a configured set of Linux sources.
 * If you are using KBUILD_OUTPUT, please set the environment var so that
 * it points to the necessary object directory so that it might find .config.

!!! ERROR: sys-apps/hal-0.5.5.1-r3 failed.
!!! Function linux-info_pkg_setup, Line 534, Exitcode 1
!!! Unable to calculate Linux Kernel version
!!! If you need support, post the topmost build error, NOT this status message.


How can I solve that please ?
May be I have to prevent hal to compile in livecd-stage1, and compile it
only in livecd-stage2, but I don't know how.

-- 
Christophe PEREZ
--
gentoo-catalyst@gentoo.org mailing list



^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: [gentoo-catalyst]  USE hal and kernel config
  2006-04-13  2:10 [gentoo-catalyst] USE hal and kernel config Christophe PEREZ
@ 2006-04-13 13:09 ` Chris Gianelloni
  2006-04-13 14:06   ` [gentoo-catalyst] " Christophe PEREZ
  0 siblings, 1 reply; 8+ messages in thread
From: Chris Gianelloni @ 2006-04-13 13:09 UTC (permalink / raw
  To: gentoo-catalyst

[-- Attachment #1: Type: text/plain, Size: 695 bytes --]

On Wed, 2006-04-12 at 22:10 -0400, Christophe PEREZ wrote:
> I have "hal" in my USE.

Don't.

> How can I solve that please ?

You would need manual intervention get get kernel sources + a kernel
config into your livecd-stage1 target.

I *highly* recommend against not having hal in USE.

> May be I have to prevent hal to compile in livecd-stage1, and compile it
> only in livecd-stage2, but I don't know how.

You would have to remove *every* package that would pull in hal from
livecd-stage1 and move them to livecd-stage2.  Trust me, it won't be
pretty.

-- 
Chris Gianelloni
Release Engineering - Strategic Lead
x86 Architecture Team
Games - Developer
Gentoo Linux

[-- Attachment #2: This is a digitally signed message part --]
[-- Type: application/pgp-signature, Size: 191 bytes --]

^ permalink raw reply	[flat|nested] 8+ messages in thread

* [gentoo-catalyst]  Re: USE hal and kernel config
  2006-04-13 13:09 ` Chris Gianelloni
@ 2006-04-13 14:06   ` Christophe PEREZ
  2006-04-14  5:29     ` Christophe PEREZ
  0 siblings, 1 reply; 8+ messages in thread
From: Christophe PEREZ @ 2006-04-13 14:06 UTC (permalink / raw
  To: gentoo-catalyst

Le Thu, 13 Apr 2006 09:09:10 -0400, Chris Gianelloni a écrit :

>> I have "hal" in my USE.
> 
> Don't.
> 
>> How can I solve that please ?
> 
> You would need manual intervention get get kernel sources + a kernel
> config into your livecd-stage1 target.
> 
> I *highly* recommend against not having hal in USE.

Ok, I remove it.
May be I have a lot of uses like that... (pcmcia?)

>> May be I have to prevent hal to compile in livecd-stage1, and compile it
>> only in livecd-stage2, but I don't know how.
> 
> You would have to remove *every* package that would pull in hal from
> livecd-stage1 and move them to livecd-stage2.  Trust me, it won't be
> pretty.

Ok.
Thanks.

-- 
Christophe PEREZ
--
gentoo-catalyst@gentoo.org mailing list



^ permalink raw reply	[flat|nested] 8+ messages in thread

* [gentoo-catalyst]  Re: USE hal and kernel config
  2006-04-13 14:06   ` [gentoo-catalyst] " Christophe PEREZ
@ 2006-04-14  5:29     ` Christophe PEREZ
  2006-04-14 17:03       ` Christophe PEREZ
  0 siblings, 1 reply; 8+ messages in thread
From: Christophe PEREZ @ 2006-04-14  5:29 UTC (permalink / raw
  To: gentoo-catalyst

Le Thu, 13 Apr 2006 10:06:00 -0400, Christophe PEREZ a écrit :

> May be I have a lot of uses like that... (pcmcia?)

My livecd-stage1 is built.
But I can't build the livecd-stage2. I always get an error :

>>> Unpacking eciadsl-usermode-0.10.tar.gz to /var/tmp/portage/globespan-adsl-0.10/work
 * No need for ht_fix_all anymore !
 * Correct obsolete nice parameters
>>> Source unpacked.
warning: you're running this script as root
--
 * Found sources for kernel version:
 *     2.6.15-gentoo-r5
 * Checking for suitable kernel configuration options:
 *   ieee80211-1.1.6 requires the in-kernel version of the IEEE802.11 subsystem to be disabled (CONFIG_IEEE80211)
 * Please check to make sure these options are set correctly.
 * Failure to do so may cause unexpected problems.



I tried to disable IEEE in kernel config, but it doesn't change anything :
# grep IEEE80211 livecd-2.6.15.config
# CONFIG_IEEE80211 is not set
# CONFIG_IEEE80211_DEBUG is not set
# CONFIG_IEEE80211_CRYPT_WEP is not set
# CONFIG_IEEE80211_CRYPT_CCMP is not set
# CONFIG_IEEE80211_CRYPT_TKIP is not set


If someone can help me to find where is my mistake....
I have tried a lot of things. Nothing work.
That's certainly du to a bad USE or something like that, but I don't know
what to try else.

I'm using :
- portage snapshot 20060123 (official, not mine).
- kernel config
http://www.gentoo.org/cgi-bin/viewcvs.cgi/src/releng/kconfig/2006.0/x86/livecd-2.6.15.config?root=gentoo&rev=1.1&view=log

- USE in livecd-stage1 :
-* X gtk ipv6 socks5 livecd fbcon ssl a52 aac aalib acpi alsa
audiofile avi bitmap-fonts bluetooth bmp bonobo bzip2 cdparanoia cdr crypt
ctype curl dbus dri dts dv dvd dvdr dvdread encode exif expat ffmpeg
firefox flac gif glut gphoto2 gtk2 gtkhtml imap imlib java jpeg libwww mad
matroska memlimit mikmod mime mmx mng motif mp3 mpeg ncurses nls nptl
nsplugin odbc ofx ogg oggvorbis openal opengl oss pam pda pdf png
portaudio pppd quicktime readline recode scanner sdl sndfile sox spell
speex sse svg theora tiff truetype truetype-fonts type1-fonts udev unicode
usb v4l vorbis wifi win32codecs wmf xinerama xmms xpm xv xvid linguas_fr

- livecd-stage2 specs (partial) :
boot/kernel/gentoo/use: pcmcia usb png truetype
boot/kernel/gentoo/packages:
        splashutils
        splash-themes-livecd
        pcmcia-cs
        speedtouch
        slmodem
        acx100
        globespan-adsl
        hostap-utils
        ipw2100
        ipw2200
        fritzcapi
        fcdsl
        cryptsetup-luks
        ndiswrapper

I tried to use something near from official livecd, but I not sure I use
the right files.
All is it here ? :
http://www.gentoo.org/cgi-bin/viewcvs.cgi/src/releng/?root=gentoo

-- 
Christophe PEREZ
--
gentoo-catalyst@gentoo.org mailing list



^ permalink raw reply	[flat|nested] 8+ messages in thread

* [gentoo-catalyst]  Re: USE hal and kernel config
  2006-04-14  5:29     ` Christophe PEREZ
@ 2006-04-14 17:03       ` Christophe PEREZ
  2006-04-14 22:45         ` Christophe PEREZ
  0 siblings, 1 reply; 8+ messages in thread
From: Christophe PEREZ @ 2006-04-14 17:03 UTC (permalink / raw
  To: gentoo-catalyst

Le Fri, 14 Apr 2006 01:29:46 -0400, Christophe PEREZ a écrit :

>         ipw2100
>         ipw2200

As I didn't find another solution, I removed them.

Now, my livecd is built, but I have somethings not working with it, may be
catalyst bugs ?

1) livecd/users:
is not used, no user created.

livecd/users: novazur
and grep novazur tmp/default/livecd-stage2-i686-cp20060411/etc/passwd
doesn't give anything.


2) ##STARTX not anymore replaced :

# cat tmp/default/livecd-stage2-i686-cp20060411/root/.bashrc
#!/bin/bash

if [ ! $(grep nox /proc/cmdline) ]
then
        if [ -x /usr/bin/X ]
        then
                if [ -e /etc/startx ]
                then
                        rm -f /etc/startx
                        ##STARTX
                        [ -f /etc/motd ] && cat /etc/motd
                fi
        fi
fi

http://article.gmane.org/gmane.linux.gentoo.catalyst/185/match=startx


3) Impossible to startx, I had to manually create /tmp/.ICE-unix


4) no more XkbLayout in xorg.conf. I was used to parse it and replace
(sed) it by :
sed -i 's/Option  *"XkbLayout" ""/Option "XkbLayout" "fr"/'
/etc/X11/xorg.conf

Now, I had to add the line in my initscript :
sed -i 's/\(XkbVariant.*$\)/\1\n\tOption\t"XkbLayout" "fr"/'
/etc/X11/xorg.conf

http://article.gmane.org/gmane.linux.gentoo.catalyst/191/match=


5) /etc/profile not sourced before starting X.
I suggested something that seems desapeared :
--- livecdfs-update.sh.orig     2005-07-14 14:02:12.000000000 -0400
+++ livecdfs-update.sh  2005-07-14 14:03:05.000000000 -0400
 <at>  <at>  -79,7 +79,7  <at>  <at> 
 if [ -n "${clst_livecd_users}" -a -e /etc/startx ]
 then
        first_user=$(echo ${clst_livecd_users} | cut -d' ' -f1)
-       sed -i "s/##STARTX/su - $first_user -c startx/" /root/.bashrc
+       sed -i "s/##STARTX/su - $first_user -c \"source /etc/profile && startx\"/" /root/.bashrc
 fi

http://article.gmane.org/gmane.linux.gentoo.catalyst/265/match=1+10+5

But is livecdfs-update.sh is it always used by catalyst ?

-- 
Christophe PEREZ
--
gentoo-catalyst@gentoo.org mailing list



^ permalink raw reply	[flat|nested] 8+ messages in thread

* [gentoo-catalyst]  Re: USE hal and kernel config
  2006-04-14 17:03       ` Christophe PEREZ
@ 2006-04-14 22:45         ` Christophe PEREZ
  2006-04-17 12:59           ` Chris Gianelloni
  0 siblings, 1 reply; 8+ messages in thread
From: Christophe PEREZ @ 2006-04-14 22:45 UTC (permalink / raw
  To: gentoo-catalyst

Le Fri, 14 Apr 2006 13:03:27 -0400, Christophe PEREZ a écrit :

> 1) livecd/users:
> 2) ##STARTX not anymore replaced :

Is it something broken ?

Even if I do all what I need in fsscript and in an init script (create
user, make /tmp/.ICE-unix, replace ##STARTX in root/.bashrc...) X is not
started at boot.

I don't have "nox" in /proc/cmdline, /usr/bin/X and /etc/startx exist. 


Please (Chris?) !

-- 
Christophe PEREZ
--
gentoo-catalyst@gentoo.org mailing list



^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: [gentoo-catalyst]  Re: USE hal and kernel config
  2006-04-14 22:45         ` Christophe PEREZ
@ 2006-04-17 12:59           ` Chris Gianelloni
  2006-04-17 15:48             ` [gentoo-catalyst] " Christophe PEREZ
  0 siblings, 1 reply; 8+ messages in thread
From: Chris Gianelloni @ 2006-04-17 12:59 UTC (permalink / raw
  To: gentoo-catalyst

[-- Attachment #1: Type: text/plain, Size: 394 bytes --]

On Fri, 2006-04-14 at 18:45 -0400, Christophe PEREZ wrote:
> Le Fri, 14 Apr 2006 13:03:27 -0400, Christophe PEREZ a écrit :
> 
> > 1) livecd/users:
> > 2) ##STARTX not anymore replaced :
> 
> Is it something broken ?

Not likely.

What livecd/type are you using?

-- 
Chris Gianelloni
Release Engineering - Strategic Lead
x86 Architecture Team
Games - Developer
Gentoo Linux

[-- Attachment #2: This is a digitally signed message part --]
[-- Type: application/pgp-signature, Size: 191 bytes --]

^ permalink raw reply	[flat|nested] 8+ messages in thread

* [gentoo-catalyst]  Re: Re: USE hal and kernel config
  2006-04-17 12:59           ` Chris Gianelloni
@ 2006-04-17 15:48             ` Christophe PEREZ
  0 siblings, 0 replies; 8+ messages in thread
From: Christophe PEREZ @ 2006-04-17 15:48 UTC (permalink / raw
  To: gentoo-catalyst

Le Mon, 17 Apr 2006 08:59:25 -0400, Chris Gianelloni a écrit :

> On Fri, 2006-04-14 at 18:45 -0400, Christophe PEREZ wrote:
>> Le Fri, 14 Apr 2006 13:03:27 -0400, Christophe PEREZ a écrit :
>> 
>> > 1) livecd/users:
>> > 2) ##STARTX not anymore replaced :
>> 
>> Is it something broken ?
> 
> Not likely.
> 
> What livecd/type are you using?

livecd-stage2.spec:livecd/type: generic-livecd

-- 
Christophe PEREZ
--
gentoo-catalyst@gentoo.org mailing list



^ permalink raw reply	[flat|nested] 8+ messages in thread

end of thread, other threads:[~2006-04-17 15:48 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2006-04-13  2:10 [gentoo-catalyst] USE hal and kernel config Christophe PEREZ
2006-04-13 13:09 ` Chris Gianelloni
2006-04-13 14:06   ` [gentoo-catalyst] " Christophe PEREZ
2006-04-14  5:29     ` Christophe PEREZ
2006-04-14 17:03       ` Christophe PEREZ
2006-04-14 22:45         ` Christophe PEREZ
2006-04-17 12:59           ` Chris Gianelloni
2006-04-17 15:48             ` [gentoo-catalyst] " Christophe PEREZ

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox