Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
catalyst - livecd creation tool
View unanswered posts
View posts from last 24 hours

Goto page Previous  1, 2, 3, 4 ... 10, 11, 12  Next  
Reply to topic    Gentoo Forums Forum Index Gentoo Chat
View previous topic :: View next topic  
Author Message
hwnd
n00b
n00b


Joined: 01 Apr 2004
Posts: 11

PostPosted: Thu Apr 01, 2004 6:25 pm    Post subject: Reply with quote

Oh, I was in the wrong dir /var/tmp/catalyst/tmp/default-x86-1.4/...
Now it works, thanks!!!

But I have one more question, why I have to include a config file for kernel on livecd-stage2.spec is not supposed to generate a generic config file that works on all computers? how can I generate such a config file with most common options, and make the livecd try to detect all hardware like gentoo livecd do or knoppix?
Back to top
View user's profile Send private message
langthang
Retired Dev
Retired Dev


Joined: 27 Nov 2003
Posts: 620

PostPosted: Thu Apr 01, 2004 6:40 pm    Post subject: Reply with quote

hwnd wrote:
Oh, I was in the wrong dir /var/tmp/catalyst/tmp/default-x86-1.4/...
Now it works, thanks!!!

But I have one more question, why I have to include a config file for kernel on livecd-stage2.spec is not supposed to generate a generic config file that works on all computers? how can I generate such a config file with most common options, and make the livecd try to detect all hardware like gentoo livecd do or knoppix?


You don't have to. You can create a generic config file as it suit you and edit the spec file to point to it. Just remember that if you want to build for a generic arch then you have to start with that generic arch from stage1 up.
Back to top
View user's profile Send private message
hwnd
n00b
n00b


Joined: 01 Apr 2004
Posts: 11

PostPosted: Sat Apr 03, 2004 1:23 pm    Post subject: Reply with quote

Ok, thanks again. I have booted the cd and all works ok except it reports some problems when booting:

1)
* Calculating module dependencies...
* Failed to calculate modules dependencies

If I do depmod -a it reports that cant write to /lib/modules/2.6..../modules.dep.temp

2)
* Cheking root filesystem...
fsck: fsck.tmpf: Not found
fsck: Error 2 while executing fsck.tmpfs for tmpfs

do I have to emerge something like reiserfsprogs for tmpfs??

3)
* Auto-scrambling root password for security...
* Failed to start local.

4) It prompts my for login as root and blank pass, how do I avoid this and enter as root by default?

5) How can I use gcc on a livecd I run gcc and reports "Could not run/locate gcc" and it is found in /mnt/livecd/usr/bin/gcc
Back to top
View user's profile Send private message
langthang
Retired Dev
Retired Dev


Joined: 27 Nov 2003
Posts: 620

PostPosted: Sun Apr 04, 2004 7:22 am    Post subject: Reply with quote

hwnd wrote:
Ok, thanks again. I have booted the cd and all works ok except it reports some problems when booting:

1)
* Calculating module dependencies...
* Failed to calculate modules dependencies

If I do depmod -a it reports that cant write to /lib/modules/2.6..../modules.dep.temp

2)
* Cheking root filesystem...
fsck: fsck.tmpf: Not found
fsck: Error 2 while executing fsck.tmpfs for tmpfs

do I have to emerge something like reiserfsprogs for tmpfs??

3)
* Auto-scrambling root password for security...
* Failed to start local.

4) It prompts my for login as root and blank pass, how do I avoid this and enter as root by default?

5) How can I use gcc on a livecd I run gcc and reports "Could not run/locate gcc" and it is found in /mnt/livecd/usr/bin/gcc


1. IIRC, catalyst-1.0.4 doesn't run update-modules that cause the problem.
Solution: update to catalyst-1.0.5 then re-run catalyst livecd stage2
Note: There is a change in this new release, you need to change "rel_version" to "profile" in your spec files. Example:
1.0.4: rel_version: 2004.0
1.0.5: profile: default-x86-2004.0
2. IMHO, this is related to #1
3. catalyst-1.0.5 fix this bug.
4. related to #3
5. I am still in process building livecd stge1 and I don't have the old image so I cannot confirm this yet.
Back to top
View user's profile Send private message
hwnd
n00b
n00b


Joined: 01 Apr 2004
Posts: 11

PostPosted: Sun Apr 04, 2004 5:59 pm    Post subject: Reply with quote

I have emerged catalyst 1.0.5 but now I try to generate livecd-stage1 and fail because of svgalib, with 1.0.4 it works ok with the same spec file. I have -svga -X in my spec file and it also emerge xfree-4.3.0-r5:


linux tmp # cat /root/catalyst/default-livecd-stage1.spec
subarch: x86
version_stamp: 20040401
target: livecd-stage1
rel_type: default
profile: default-x86-1.0
#rel_version: 1.0
snapshot: 20040401
source_subpath: default-x86-1.0/stage3-x86-20040218
livecd/use:
-X
-svga
fbcon
livecd
livecd/packages:
>=sys-apps/baselayout-1.8.6.12-r4
......


# catalyst -f /root/catalyst/default-livecd-stage1.spec

.......

* GNU info directory index is up-to-date.
Calculating dependencies ...done!
>>> emerge (1 of 2) media-libs/svgalib-1.9.17-r3 to /
>>> md5 src_uri ;-) svgalib-1.9.17.tar.gz
*
* Could not determine your kernel version.
* Make sure that you have /usr/src/linux symlink.
* And that said kernel has been configured.
* You can also simply run the following command
* in the kernel referenced by /usr/src/linux:
* make include/linux/version.h
*

!!! ERROR: media-libs/svgalib-1.9.17-r3 failed.
!!! Function check_KV, Line 256, Exitcode 0
!!! (no error message)


catalyst: LiveCD stage1 build aborting due to error.
Back to top
View user's profile Send private message
GenKiller
n00b
n00b


Joined: 04 Mar 2003
Posts: 66
Location: United States of America

PostPosted: Sun Apr 04, 2004 6:51 pm    Post subject: Reply with quote

hwnd wrote:
I have emerged catalyst 1.0.5 but now I try to generate livecd-stage1 and fail because of svgalib


I had the same problem. I believe what fixed it for me was to create an environment script and add the following to it:
Code:
export USE="-kde -qt -svga -gnome gtk2"


Be sure to add the appropriate envscript="" to your /etc/catalyst/catalyst.conf file

Good Luck.
_________________
http://www.digital-drip.com
Back to top
View user's profile Send private message
langthang
Retired Dev
Retired Dev


Joined: 27 Nov 2003
Posts: 620

PostPosted: Sun Apr 04, 2004 8:02 pm    Post subject: Reply with quote

GenKiller wrote:
hwnd wrote:
I have emerged catalyst 1.0.5 but now I try to generate livecd-stage1 and fail because of svgalib


I had the same problem. I believe what fixed it for me was to create an environment script and add the following to it:
Code:
export USE="-kde -qt -svga -gnome gtk2"


Be sure to add the appropriate envscript="" to your /etc/catalyst/catalyst.conf file

Good Luck.

download the cvs target.py here and replace the current one with it.
Back to top
View user's profile Send private message
langthang
Retired Dev
Retired Dev


Joined: 27 Nov 2003
Posts: 620

PostPosted: Sun Apr 04, 2004 9:41 pm    Post subject: Reply with quote

FYI: emerge catalyst-1.0.5.1 before build livecd stages.
Back to top
View user's profile Send private message
hwnd
n00b
n00b


Joined: 01 Apr 2004
Posts: 11

PostPosted: Mon Apr 05, 2004 10:23 am    Post subject: Reply with quote

I have emerged catalyst 1.0.5.1 I can generate livecd again, but when booting I get some of the olds problems:

1) * Failed to calculate dependencies
2) fsck: fsck.tmpfs: not found
3) now autoscrambling passwords works ok, but system prompt me for login. root and blank password doesnt work, so I cant login!!! How do I remove the login process?? like gentoo livecd does.
Back to top
View user's profile Send private message
poormanscomputer
Tux's lil' helper
Tux's lil' helper


Joined: 04 May 2002
Posts: 114

PostPosted: Tue Apr 06, 2004 5:15 am    Post subject: Reply with quote

Help! I'm trying to get this to work:
I've got a spec file all set:
Code:

subarch: i686
version_stamp: 20040405
target: livecd-stage1
rel_type: default
profile: 2004.0
snapshot: 20040405
source_subpath: default-x86-2004.0/stage3-i686-20040218

livecd/use:
   X
   gtk2
   svga
   kde
   qt
   livecd
livecd/packages:
   mkxf86config
   >=sys-apps/baselayout-1.8.6.12-r4
   livecd-tools
   >=genkernel-3.0.1_beta9
   kudzu
        >=sys-kernel/linux-headers-2.6.3*
        >=sys-kernel/love-sources-2.6.4_rc1*   
   module-init-tools
   hotplug
   irssi
   aumix
   metalog
   pciutils
   parted
   mt-st
   links
   star
   strace
   raidtools
   nfs-utils
   jfsutils
   dosfstools
   usbutils
   speedtouch
   xfsprogs
   e2fsprogs
   reiserfsprogs
   hdparm
   nano
   less
   openssh
   dhcpcd
   mingetty
   pwgen
   popt
   dialog
   rp-pppoe
   gpm
   screen
   mirrorselect
   penggy
   iputils
   hwdata-knoppix
   hwsetup
   bootsplash
   device-mapper
   lvm2
   kbd
   procps
   psmisc
   devfsd
   pciutils
   usbutils
   wireless-tools
   idesk
   mozilla-firefox
   xscreensaver
   gvim
   which
   net-tools
   fluxbox
   openoffice-ximian-bin
   gxine
   xmms

I've got a snapshot, and I'm all set there. However at the end of:
catalyst -f /usr/share/doc/catalyst-1.0.5.1/examples/x86/i686-Xlivecd-stage1-20040405.spec
I get:
Code:

!!! ARCH is not set... Are you missing the /etc/make.profile symlink?
!!! Is the symlink correct? Is your portage tree complete?


Any suggestions?

poorman
Back to top
View user's profile Send private message
langthang
Retired Dev
Retired Dev


Joined: 27 Nov 2003
Posts: 620

PostPosted: Tue Apr 06, 2004 6:15 am    Post subject: Reply with quote

hwnd:
1. could you post your kernel config that you used in livecd stage2.
2&3. I still had not passed livecd stage1 yet so I really don't have any clue ATM.
BTW, your profile should point to a existing profile in the portage tree under /usr/portage/profile/ e.g.
profile: default-x86-2004.0

poormanscomputer: Change the line profile in your spec as above.
Back to top
View user's profile Send private message
poormanscomputer
Tux's lil' helper
Tux's lil' helper


Joined: 04 May 2002
Posts: 114

PostPosted: Tue Apr 06, 2004 7:30 am    Post subject: Reply with quote

Thanks langthang!
Now It stops because mkxf86config and baselayout are masked. I made a snapshot off of my system, and there is no listing of either in package.mask

Any ideas?

poorman
Back to top
View user's profile Send private message
langthang
Retired Dev
Retired Dev


Joined: 27 Nov 2003
Posts: 620

PostPosted: Tue Apr 06, 2004 2:45 pm    Post subject: Reply with quote

poormanscomputer,
read my post on page 2.
Back to top
View user's profile Send private message
poormanscomputer
Tux's lil' helper
Tux's lil' helper


Joined: 04 May 2002
Posts: 114

PostPosted: Wed Apr 07, 2004 12:26 am    Post subject: Reply with quote

Thanks, I thought I caught everything on the other pages.

That worked...except it couldn't load the linux-hearders-2.6.4.
However, if I remember linux-headers correctly, you should grab the ones compiled with your libc. So I think I'll stick with 2.4.21 headers for now.

Thanks again for the help,

poorman
[edit]
ugh...this is compiling everything from source. Is there any way to pipe grp packages into the build?
Back to top
View user's profile Send private message
langthang
Retired Dev
Retired Dev


Joined: 27 Nov 2003
Posts: 620

PostPosted: Wed Apr 07, 2004 2:45 am    Post subject: Reply with quote

poormanscomputer wrote:

ugh...this is compiling everything from source. Is there any way to pipe grp packages into the build?

I never install from grp but i guess you can copy/link GRP binary to /var/tmp/catalyst/packages/default/<catalyst_stage>All ... and catalyst will pull binary packages in. Just make sure that you edit /etc/catalyst/catalyst.conf: options="pkgcache"
Back to top
View user's profile Send private message
rn
n00b
n00b


Joined: 28 Jan 2004
Posts: 5
Location: bern, switzerland

PostPosted: Wed Apr 07, 2004 2:06 pm    Post subject: problem with masked package while building livecd-stage1 Reply with quote

I'm trying to build a livecd-stage1 with catalyst but all i get is this error:
Code:
 
...
* GNU info directory index is up-to-date.
Calculating dependencies
!!! all ebuilds that could satisfy ">=sys-kernel/linux-headers-2.6.4" have been masked.
!!! possible candidates are:
- sys-kernel/linux-headers-2.6.4 (masked by: -* keyword)

catalyst: GRP build aborting due to error.


In the catalyst.conf i've enabled a envscript which looks like this:
Code:

mix / # cat /root/catalyst-env.sh
export ACCEPT_KEYWORDS="~x86"


oh, of course... here's my .spec-file
Code:

mix / # cat /root/catalyst_x86-livecd-stage1_20040407.spec
subarch:        pentium4
version_stamp:  20040407
target:         livecd-stage1
rel_type:       default
rel_version:    2004.0
snapshot:       20040405
source_subpath: default-x86-2004.0/stage3-pentium4-20040405
livecd/use:
        -X
        -gtk
        -gtk2
        -svga
        -kde
        -qt
        -gnome
        fbcon
        livecd
livecd/packages:
        >=sys-kernel/linux-headers-2.6.4*
        >=sys-kernel/gentoo-dev-sources-2.6.4*
        >=sys-apps/baselayout-1.8.6.12-r4
        kudzu
        module-init-tools
        hotplug
        irssi
        metalog
        pciutils
        parted
        mt-st
        links
        star
        strace
        raidtools
        nfs-utils
        jfsutils
        usbutils
        speedtouch
        xfsprogs
        e2fsprogs
        reiserfsprogs
        hdparm
        nano
        less
        openssh
        dhcpcd
        mingetty
        pwgen
        popt
        dialog
        rp-pppoe
        gpm
        screen
        mirrorselect
        iputils
        hwdata-knoppix
        hwsetup
        bootsplash
        device-mapper
        lvm2
        kbd
        procps
        psmisc
        devfsd
        net-tools
        livecd-tools

can anyone help me out?
_________________
"I feel sorry for your brain... all alone in that great big head..."
Back to top
View user's profile Send private message
tomk
Bodhisattva
Bodhisattva


Joined: 23 Sep 2003
Posts: 7221
Location: Sat in front of my computer

PostPosted: Wed Apr 07, 2004 2:17 pm    Post subject: Re: problem with masked package while building livecd-stage1 Reply with quote

rn wrote:
Code:
- sys-kernel/linux-headers-2.6.4 (masked by: -* keyword)


can anyone help me out?


If a KEYWORD has a minus in front of it, then it means the ebuild doesn't work for that arch. If an ebuild has -* as it's KEYWORDS then it means it won't work/isn't ready to be used on any arch. Not sure if you can override it and probably wise not too.
_________________
Search | Read | Answer | Report | Strip
Back to top
View user's profile Send private message
rn
n00b
n00b


Joined: 28 Jan 2004
Posts: 5
Location: bern, switzerland

PostPosted: Wed Apr 07, 2004 3:11 pm    Post subject: Re: problem with masked package while building livecd-stage1 Reply with quote

I see... I have to use the linux-headers-2.4.*
then it works... for now. thanks!
_________________
"I feel sorry for your brain... all alone in that great big head..."
Back to top
View user's profile Send private message
zbyte64
n00b
n00b


Joined: 09 Apr 2003
Posts: 42

PostPosted: Wed Apr 07, 2004 9:02 pm    Post subject: Reply with quote

for the headers i just used:

/usr/portage/sys-kernel/linux-headers/linux-headers-2.6.4.ebuild

basically pointing it directly to the ebuild and it stops complaining.
This way you don't emerge all ~x86 masked ebuilds, and just the ones you specify, should result in a more stable build.
_________________
Im not creative enough to come up with a witty signature.
Back to top
View user's profile Send private message
invalid account
Apprentice
Apprentice


Joined: 14 Jan 2004
Posts: 199

PostPosted: Wed Apr 07, 2004 9:09 pm    Post subject: Kudzu and catalyst Reply with quote

Hello,

This thread has been a great help to get going. I am trying to run the xlive-stage1 build, but I am having problems with kudzu.

I have set a catalyst environment with:
export ACCEPT_KEYWORDS="~x86"
export USE="mmx sse"
export CFLAGS="-mcpu=i686 -O3 -pipe -fomit-frame-pointer"
export CXXFLAGS=${CFLAGS}

and tried in the package list:
=sys-apps/kudzu-0.99.66

which gives this error:

/usr/lib/gcc-lib/i386-pc-linux-gnu/3.3.2/../../../libnewt.so: undefined reference to `SLang_ungetkey'
collect2: ld returned 1 exit status
make: *** [kudzu] Error 1

!!! ERROR: sys-apps/kudzu-0.99.66 failed.
!!! Function src_compile, Line 18, Exitcode 2
!!! (no error message)


catalyst: GRP build aborting due to error.

and in the package list
kudzu

which gives this error:
/usr/lib/gcc-lib/i386-pc-linux-gnu/3.3.2/../../../libnewt.so: undefined reference to `SLang_ungetkey'
collect2: ld returned 1 exit status
make: *** [kudzu] Error 1

!!! ERROR: sys-apps/kudzu-1.1.43 failed.
!!! Function src_compile, Line 18, Exitcode 2
!!! (no error message)


catalyst: GRP build aborting due to error.

Any help please

Thanks
Neil
Back to top
View user's profile Send private message
langthang
Retired Dev
Retired Dev


Joined: 27 Nov 2003
Posts: 620

PostPosted: Wed Apr 07, 2004 9:27 pm    Post subject: Reply with quote

I got the same problem. I delete two binary packages then run catalyst to solve it.
Code:
# rm /var/tmp/catalyst/packages/default/livecd-stage1-[arch]-[rel_version]/All/newt-*.tbz2
# rm /var/tmp/catalyst/packages/default/livecd-stage1-[arch]-[rel_version]/All/dietlibc-*.tbz2
Back to top
View user's profile Send private message
invalid account
Apprentice
Apprentice


Joined: 14 Jan 2004
Posts: 199

PostPosted: Wed Apr 07, 2004 9:33 pm    Post subject: Reply with quote

Thanks langthang,

I have just tried commenting out the ACCEPT_KEYWORDS line, and it is running, I guess the problematic mkxf86config binary already exists second time and so isn't a problem, (I have it placed first on my packages list).

I read previously that there was a catalyst-1.0.5, is that only available from CVS?

Cheers
Neil
Back to top
View user's profile Send private message
langthang
Retired Dev
Retired Dev


Joined: 27 Nov 2003
Posts: 620

PostPosted: Wed Apr 07, 2004 9:38 pm    Post subject: Reply with quote

invalid account wrote:
Thanks langthang,

I have just tried commenting out the ACCEPT_KEYWORDS line, and it is running, I guess the problematic mkxf86config binary already exists second time and so isn't a problem, (I have it placed first on my packages list).

I read previously that there was a catalyst-1.0.5, is that only available from CVS?

Cheers
Neil


the newest one is:
Code:
# emerge -p catalyst

Calculating dependencies ...done!
[ebuild   R   ] dev-util/catalyst-1.0.5.1
Back to top
View user's profile Send private message
invalid account
Apprentice
Apprentice


Joined: 14 Jan 2004
Posts: 199

PostPosted: Wed Apr 07, 2004 9:40 pm    Post subject: Reply with quote

Thanks,

I had it masked out :oops:
Back to top
View user's profile Send private message
zbyte64
n00b
n00b


Joined: 09 Apr 2003
Posts: 42

PostPosted: Wed Apr 07, 2004 11:46 pm    Post subject: Reply with quote

fyi

when using the 2.6.4 linux kernl, it doesn't seem to like gcloop as the fs type, complains about parameters, i used normal and i had no probs

also if you're using isolinux as the boot manager besure to use dos compatible names, if not it will say kernel image not found eg

linux-2.6.4 is too long, linux works just fine.

rename the files in the isolinux folder and modify the config accordingly, this also applies for initrid (the .igz file)
_________________
Im not creative enough to come up with a witty signature.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Gentoo Chat All times are GMT
Goto page Previous  1, 2, 3, 4 ... 10, 11, 12  Next
Page 3 of 12

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum