public inbox for gentoo-catalyst@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-catalyst] hang up on generating modprobe.conf
@ 2007-04-05 22:46 Simon Schäfer
  2007-04-05 23:09 ` Chris Gianelloni
  2007-04-06 19:13 ` [gentoo-catalyst] genkernel initramfs overlay older than initramfs' files Isidore Ducasse
  0 siblings, 2 replies; 10+ messages in thread
From: Simon Schäfer @ 2007-04-05 22:46 UTC (permalink / raw
  To: gentoo-catalyst

ok here we go trying to do a basic iso for a gamecd

I tested the minimal livecd and it worked (after some tweaking). No i added 
two packages ati-drivers and nvidia-drivers and started the buildprocess with

catalyst -a -f livecd-stage2-minimal.spec

after a lot of compiling it come to this point:

...
*
* Make sure you have the latest genkernel before reporting bugs.
* Updating /etc/modules.conf ...
* [ ok ]
* Updating /etc/modprobe.conf ...
* Warning: could not generate /etc/modprobe.conf!
* [ !! ]
* Updating /etc/modprobe.conf by hand ...

i don't know why it can't generate modprobe.conf. But what i know (after some 
restarts of my computer) is that this generating by hand is eating all my 
memory(2GB phys+2GB Swap) and this very fast if i dont break with CTRL+C this 
will stop my pc from working.

looks like an endless loop

Greetz
Simon
-- 
gentoo-catalyst@gentoo.org mailing list



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

* Re: [gentoo-catalyst] hang up on generating modprobe.conf
  2007-04-05 22:46 [gentoo-catalyst] hang up on generating modprobe.conf Simon Schäfer
@ 2007-04-05 23:09 ` Chris Gianelloni
  2007-04-06  0:47   ` Simon Schäfer
  2007-04-06 19:13 ` [gentoo-catalyst] genkernel initramfs overlay older than initramfs' files Isidore Ducasse
  1 sibling, 1 reply; 10+ messages in thread
From: Chris Gianelloni @ 2007-04-05 23:09 UTC (permalink / raw
  To: gentoo-catalyst

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

On Fri, 2007-04-06 at 00:46 +0200, Simon Schäfer wrote:
> two packages ati-drivers and nvidia-drivers and started the buildprocess with

I hope you aren't planning on distributing this CD to anyone.

> catalyst -a -f livecd-stage2-minimal.spec

I hope you aren't really using minimal as a base.

#1. livecd/type: gentoo-gamecd
#2. gamecd/conf: /path/to/gamecd.conf file

For the rest, I don't know what to tell you.  As I've said, the GameCD
stuff hasn't been used in a long time.  Basically, once we figured out
it wasn't necessarily legal to distribute the binary drivers
pre-compiled, I stopped all work on the GameCD stuff.

-- 
Chris Gianelloni
Release Engineering Strategic Lead
Alpha/AMD64/x86 Architecture Teams
Games Developer/Council Member/Foundation Trustee
Gentoo Foundation

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

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

* Re: [gentoo-catalyst] hang up on generating modprobe.conf
  2007-04-05 23:09 ` Chris Gianelloni
@ 2007-04-06  0:47   ` Simon Schäfer
  2007-04-06 14:37     ` Nelson Batalha
  0 siblings, 1 reply; 10+ messages in thread
From: Simon Schäfer @ 2007-04-06  0:47 UTC (permalink / raw
  To: gentoo-catalyst

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

Am Freitag 06 April 2007 01:09 schrieb Chris Gianelloni:
> On Fri, 2007-04-06 at 00:46 +0200, Simon Schäfer wrote:
> > two packages ati-drivers and nvidia-drivers and started the buildprocess
> > with
>
> I hope you aren't planning on distributing this CD to anyone.

nope just for personal use so far
>
> > catalyst -a -f livecd-stage2-minimal.spec
>
> I hope you aren't really using minimal as a base.
>
why not? A base where i can put some stuff on it. what else do i need ?
1. a minimalistic linux base
2. opengl drivers (autodetected and loaded at boot)
3. xorg-x11 (without a windowmanager)

>
> For the rest, I don't know what to tell you.  As I've said, the GameCD
> stuff hasn't been used in a long time.  Basically, once we figured out
> it wasn't necessarily legal to distribute the binary drivers
> pre-compiled, I stopped all work on the GameCD stuff.

I have not used any GameCD related stuff like the type or anything. Now I'm 
trying to build a base system with working xinit

I've attached the two spec files i used first stage1 to build stage1 then 
stage2 to build the extended system.

[-- Attachment #2: livecd-stage1-minimal.spec --]
[-- Type: text/plain, Size: 880 bytes --]

subarch: i686
version_stamp: GAMECD-V3 
target: livecd-stage1
rel_type: default
profile: default-linux/x86/2006.1
snapshot: 2006.1
source_subpath: default/stage3-i686-2006.1
livecd/use:
	fbcon
	livecd
	ncurses
	pam
	readline
	ssl
	unicode
	-doc

livecd/packages:
	app-admin/passook
	app-admin/pwgen
	app-admin/syslog-ng
	app-arch/unzip
	app-editors/vim
	app-misc/livecd-tools
	app-misc/screen
	app-misc/vlock
	dev-lang/python
	media-gfx/fbgrab
	net-fs/nfs-utils
	net-irc/irssi
	net-misc/dhcpcd
	net-misc/rdate
	net-misc/vconfig
	sys-apps/apmd
	sys-apps/coldplug
	sys-apps/eject
	sys-apps/ethtool
	sys-apps/fxload
	sys-apps/hdparm
	sys-apps/hwsetup
	sys-apps/netplug
	sys-apps/parted
	sys-fs/dosfstools
	sys-fs/e2fsprogs
	sys-fs/evms
	sys-fs/jfsutils
	sys-fs/lsscsi
	sys-fs/lvm2
	sys-fs/mdadm
	sys-fs/ntfsprogs
	sys-fs/reiserfsprogs
	sys-fs/xfsprogs
	sys-libs/gpm
	sys-power/acpid

[-- Attachment #3: livecd-stage2-minimal.spec --]
[-- Type: text/plain, Size: 7236 bytes --]

#TODO:
# delete fonts
# delete other unused stuff coming with X
subarch: i686 
version_stamp: GAMECD-V3
target: livecd-stage2
rel_type: default
profile: default-linux/x86/2006.1
snapshot: 2006.1
source_subpath: default/livecd-stage1-i686-GAMECD-V3

livecd/fstype: squashfs
livecd/cdtar: /usr/lib/catalyst/livecd/cdtar/isolinux-3.09-memtest86+-cdtar.tar.bz2

livecd/iso: /var/tmp/catalyst/builds/default/GAMECD-V3-minimal-2006.1.iso
livecd/splash_type: gensplash
livecd/splash_theme: livecd-2006.1

livecd/volid: Gentoo Linux x86 2006.1
#here we need to update to game disc
livecd/type: gentoo-release-minimal

#livecd/bootargs: dokeymap
livecd/gk_mainargs: --lvm2 --dmraid --evms2

boot/kernel: gentoo
boot/kernel/gentoo/sources: gentoo-sources

boot/kernel/gentoo/config: /usr/share/livecd-kconfigs-2006.1/x86/livecd-2.6.17.config

boot/kernel/gentoo/use: pcmcia usb png truetype -qt -qt3 -qt4

boot/kernel/gentoo/packages:
	media-gfx/splashutils
	media-gfx/splash-themes-livecd
	sys-apps/pcmciautils
	net-wireless/hostap-utils
	sys-fs/cryptsetup-luks
	x11-drivers/nvidia-drivers
	x11-drivers/ati-drivers
	media-libs/alsa-lib
	media-libs/alsa-oss
	media-sound/alsa-utils
#	net-wireless/rt2500
#	net-wireless/acx

# These were not stable at time of snapshot/release.
#	net-wireless/at76c503a
#	net-wireless/rtl8180
#	net-wireless/rtl8187
#	net-wireless/adm8211
#	net-wireless/ipw3945

livecd/unmerge:
#	acl
#	addpatches
#	attr
	alsa-headers
	autoconf
	autoconf-wrapper
	automake
	automake-wrapper
#	bc
#	bin86
	binutils
	binutils-config
	bison
	busybox
#	ccache
	cpio
#	cronbase
#	devfsd
	diffutils
#	distcc
#	ed
	expat
	flex
	gcc
	gcc-config
#	gcc-sparc64
	genkernel
	gentoo-sources
	gettext
	gnuconfig
	groff
#	grub
	help2man
#	lcms
#	ld.so
#	lib-compat
#	libmng
	libperl
	libstdc++-v3
	libtool
	linux-headers
	m4
	make
	man
	man-pages
	miscfiles
	pax-utils
	patch
	perl
	perl-cleaner
	perl-Test-Simple
	PodParser
	pycrypto
	python-fchksum
	rpm2targz
	rsync
	sandbox
#	sash
#	sysklogd
#	tcp-wrappers
	Test-Harness
	texinfo
#	ucl
#	vanilla-sources

livecd/empty:
	/etc/bootsplash/gentoo
	/etc/bootsplash/gentoo-highquality
	/etc/cron.daily
	/etc/cron.hourly
	/etc/cron.monthly
	/etc/cron.weekly
	/etc/logrotate.d
	/etc/modules.autoload.d
	/etc/rsync
	/etc/runlevels/single
	/etc/skel
	/etc/splash/emergence
	/etc/splash/gentoo
	/lib/dev-state
	/lib/udev-state
	/lib64/dev-state
	/lib64/udev-state
	/root/.ccache
	/tmp
	/usr/diet/include
	/usr/diet/man
	/usr/i386-gentoo-linux-uclibc
	/usr/i386-pc-linux-gnu
	/usr/i386-pc-linux-uclibc
	/usr/include
	/usr/lib/X11/config
	/usr/lib/X11/doc
	/usr/lib/X11/etc
	/usr/lib/awk
	/usr/lib/ccache
	/usr/lib/gcc-config
	/usr/lib/gconv
	/usr/lib/nfs
	/usr/lib/perl5
	/usr/lib/portage
	/usr/lib/python2.2
	/usr/lib/python2.3
	/usr/lib/python2.4/tests
	/usr/lib64/X11/config
	/usr/lib64/X11/doc
	/usr/lib64/X11/etc
	/usr/lib64/awk
	/usr/lib64/ccache
	/usr/lib64/gcc-config
	/usr/lib64/gconv
	/usr/lib64/nfs
	/usr/lib64/perl5
	/usr/lib64/portage
	/usr/lib64/python2.2
	/usr/lib64/python2.3
	/usr/lib64/python2.4/tests
	/usr/local
	/usr/portage
	/usr/powerpc-unknown-linux-gnu
	/usr/powerpc64-unknown-linux-gnu
	/usr/share/aclocal
	/usr/share/baselayout
	/usr/share/binutils-data
	/usr/share/consolefonts/partialfonts
	/usr/share/consoletrans
	/usr/share/dict
	/usr/share/doc
	/usr/share/emacs
	/usr/share/et
	/usr/share/gcc-data
	/usr/share/genkernel
	/usr/share/gettext
	/usr/share/glib-2.0
	/usr/share/gnuconfig
	/usr/share/gtk-doc
	/usr/share/i18n
	/usr/share/info
	/usr/share/lcms
	/usr/share/libtool
	/usr/share/locale
	/usr/share/man
	/usr/share/perl
	/usr/share/rfc
	/usr/share/ss
	/usr/share/state
	/usr/share/texinfo
	/usr/share/unimaps
	/usr/share/zoneinfo
	/usr/sparc-unknown-linux-gnu
	/usr/src
	/usr/x86_64-pc-linux-gnu
	/var/cache
	/var/db
	/var/empty
	/var/lib/portage
	/var/lock
	/var/log
	/var/run
	/var/spool
	/var/state
	/var/tmp

livecd/rm:
	/boot/System*
	/boot/initr*
	/boot/kernel*
	/etc/*-
	/etc/*.old
	/etc/default/audioctl
	/etc/dispatch-conf.conf
	/etc/env.d/05binutils
	/etc/env.d/05gcc
	/etc/etc-update.conf
	/etc/hosts.bck
	/etc/issue*
	/etc/genkernel.conf
	/etc/make.conf
	/etc/make.conf.example
	/etc/make.globals
	/etc/make.profile
	/etc/man.conf
	/etc/resolv.conf
	/etc/splash/livecd-2006.1/12*
	/etc/splash/livecd-2006.1/14*
	/etc/splash/livecd-2006.1/16*
	/etc/splash/livecd-2006.1/19*
	/etc/splash/livecd-2006.1/6*
	/etc/splash/livecd-2006.1/8*
	/etc/splash/livecd-2006.1/images/background-12*
	/etc/splash/livecd-2006.1/images/background-14*
	/etc/splash/livecd-2006.1/images/background-16*
	/etc/splash/livecd-2006.1/images/background-19*
	/etc/splash/livecd-2006.1/images/background-6*
	/etc/splash/livecd-2006.1/images/background-8*
	/etc/splash/livecd-2006.1/images/verbose-12*
	/etc/splash/livecd-2006.1/images/verbose-14*
	/etc/splash/livecd-2006.1/images/verbose-16*
	/etc/splash/livecd-2006.1/images/verbose-19*
	/etc/splash/livecd-2006.1/images/verbose-6*
	/etc/splash/livecd-2006.1/images/verbose-8*
	/lib*/*.a
	/lib*/*.la
	/lib*/cpp
	/lib*/security/pam_access.so
	/lib*/security/pam_chroot.so
	/lib*/security/pam_debug.so
	/lib*/security/pam_ftp.so
	/lib*/security/pam_issue.so
	/lib*/security/pam_mail.so
	/lib*/security/pam_mkhomedir.so
	/lib*/security/pam_motd.so
	/lib*/security/pam_postgresok.so
	/lib*/security/pam_rhosts_auth.so
	/lib*/security/pam_userdb.so
	/root/.bash_history
	/root/.viminfo
	/sbin/fsck.cramfs
	/sbin/fsck.minix
	/sbin/mkfs.bfs
	/sbin/mkfs.cramfs
	/sbin/mkfs.minix
	/usr/bin/addr2line
	/usr/bin/ar
	/usr/bin/as
	/usr/bin/audioctl
	/usr/bin/c++*
	/usr/bin/cc
	/usr/bin/cjpeg
	/usr/bin/cpp
	/usr/bin/djpeg
	/usr/bin/ebuild
	/usr/bin/emerge
	/usr/bin/elftoaout
	/usr/bin/f77
	/usr/bin/g++*
	/usr/bin/g77
	/usr/bin/gcc*
	/usr/bin/genkernel
	/usr/bin/gprof
	/usr/bin/i386-gentoo-linux-uclibc-*
	/usr/bin/i386-pc-linux-*
	/usr/bin/jpegtran
	/usr/bin/ld
	/usr/bin/libpng*
	/usr/bin/nm
	/usr/bin/objcopy
	/usr/bin/objdump
	/usr/bin/piggyback*
	/usr/bin/portageq
	/usr/bin/ranlib
	/usr/bin/readelf
	/usr/bin/repoman
	/usr/bin/size
	/usr/bin/powerpc-unknown-linux-gnu-*
	/usr/bin/powerpc64-unknown-linux-gnu-*
	/usr/bin/sparc-unknown-linux-gnu-*
	/usr/bin/sparc64-unknown-linux-gnu-*
	/usr/bin/strings
	/usr/bin/strip
	/usr/bin/tbz2tool
	/usr/bin/x86_64-pc-linux-gnu-*
	/usr/bin/xpak
	/usr/bin/yacc
	/usr/lib*/*.a
	/usr/lib*/*.la
	/usr/lib*/gcc-lib/*/*/libgcj*
	/usr/sbin/archive-conf
	/usr/sbin/bootsplash*
	/usr/sbin/dispatch-conf
	/usr/sbin/emaint
	/usr/sbin/emerge-webrsync
	/usr/sbin/env-update
	/usr/sbin/fb*
	/usr/sbin/fixpackages
	/usr/sbin/quickpkg
	/usr/sbin/regenworld
	/usr/share/consolefonts/1*
	/usr/share/consolefonts/7*
	/usr/share/consolefonts/8*
	/usr/share/consolefonts/9*
	/usr/share/consolefonts/A*
	/usr/share/consolefonts/C*
	/usr/share/consolefonts/E*
	/usr/share/consolefonts/G*
	/usr/share/consolefonts/L*
	/usr/share/consolefonts/M*
	/usr/share/consolefonts/R*
	/usr/share/consolefonts/a*
	/usr/share/consolefonts/c*
	/usr/share/consolefonts/dr*
	/usr/share/consolefonts/g*
	/usr/share/consolefonts/i*
	/usr/share/consolefonts/k*
	/usr/share/consolefonts/l*
	/usr/share/consolefonts/r*
	/usr/share/consolefonts/s*
	/usr/share/consolefonts/t*
	/usr/share/consolefonts/v*
	/usr/share/misc/*.old
	/mnt/livecd


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

* Re: [gentoo-catalyst] hang up on generating modprobe.conf
  2007-04-06  0:47   ` Simon Schäfer
@ 2007-04-06 14:37     ` Nelson Batalha
  2007-04-07 19:29       ` Simon Schäfer
  0 siblings, 1 reply; 10+ messages in thread
From: Nelson Batalha @ 2007-04-06 14:37 UTC (permalink / raw
  To: gentoo-catalyst

>* Warning: could not generate /etc/modprobe.conf!
>* [ !! ]

The livecd's are supposed to be compatible with lots of pc's, makes sense it 
doesn't generate these configs on the catalyst build. I think this is 
expected, but i'm a noob.

>this generating by hand is eating all my memory(2GB phys+2GB Swap) and this 
>very fast if i dont break with CTRL+C this will stop my pc from working.

Sorry? I have it too, but the automatic configuration isn't slowing that 
much. What happens exactly?


>livecd/type: gentoo-release-minimal

This may cause problems in future builds, the behaviour of these types may 
change and be unexpected since it seems to be for internal use only, judging 
from my problem for example.

_________________________________________________________________
Express yourself instantly with MSN Messenger! Download today it's FREE! 
http://messenger.msn.click-url.com/go/onm00200471ave/direct/01/

-- 
gentoo-catalyst@gentoo.org mailing list



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

* [gentoo-catalyst] genkernel initramfs overlay older than initramfs' files
  2007-04-05 22:46 [gentoo-catalyst] hang up on generating modprobe.conf Simon Schäfer
  2007-04-05 23:09 ` Chris Gianelloni
@ 2007-04-06 19:13 ` Isidore Ducasse
  1 sibling, 0 replies; 10+ messages in thread
From: Isidore Ducasse @ 2007-04-06 19:13 UTC (permalink / raw
  To: gentoo-catalyst

Hi all!

I'm trying to overwrite busybox' mount with my own static mount.
I use 

	# genkernel --initramfs-overlay=$OVERLAY initrd

to do it. OVERLAY contains bin/mount and bin/umount. Now here's a test and the output:

	# zcat /boot/initramfs-genkernel-x86_64-2.6.20-gentoo | cpio -i

	> cpio: bin/mount not created: newer or same age version exists
	> 18089 blocks

and of course, it's mine that is older!
Is it a feature that the overlay "looks" older than initial files in the initramfs? Can't we just overwrite existing busybox links?

Besides, the initramfs prooves unusable at boottime (sorry, I don't have a screenshot: it fails on a kernel panic), while still okay to be chrooted into, when deployed as in the above test.
-- 
gentoo-catalyst@gentoo.org mailing list



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

* Re: [gentoo-catalyst] hang up on generating modprobe.conf
  2007-04-06 14:37     ` Nelson Batalha
@ 2007-04-07 19:29       ` Simon Schäfer
  2007-04-07 20:41         ` Nelson Batalha
  2007-04-08 13:09         ` Chris Gianelloni
  0 siblings, 2 replies; 10+ messages in thread
From: Simon Schäfer @ 2007-04-07 19:29 UTC (permalink / raw
  To: gentoo-catalyst

> >this generating by hand is eating all my memory(2GB phys+2GB Swap) and
> > this very fast if i dont break with CTRL+C this will stop my pc from
> > working.
>
> Sorry? I have it too, but the automatic configuration isn't slowing that
> much. What happens exactly?
exactly? i posted everything that i can see in the console. But i can tell you 
that this by hand tool is using /sbin/generate-modprobe.conf to generate it 
by hand and this tool is starting a lot of sub threads and each subthread is 
growing by its own. Then after ~1min of calculating stuff my memory is gone 
and i have to reboot, becouse neither my mouse nor my keyboard is doing stuff

> This may cause problems in future builds, the behaviour of these types may
> change and be unexpected since it seems to be for internal use only,
> judging
Why? Its used for the minimal installation cd of gentoo. (I got it from 
their .spec - file). This is exactly what i want a minimal linux system with 
nothing then a bootup that detects all my hardware loads all modules and as a 
plus it should have a xinit to start a x based application (yes i know adding 
X will increase the minimal CD by aprox. 25MB). 

We (me and my roommate) are trying to build a small gentoo-based bootcd with 
xinit. I hoped it could be easy to use catalyst, just some work on spec files 
and then let catalyst do all the work instead of our collection of shell 
scripts. I still hope it could be done this way couse sharing spec files is a 
lot easier then sharing shell scripts and a not so simple howto
-- 
gentoo-catalyst@gentoo.org mailing list



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

* Re: [gentoo-catalyst] hang up on generating modprobe.conf
  2007-04-07 19:29       ` Simon Schäfer
@ 2007-04-07 20:41         ` Nelson Batalha
  2007-04-08 13:15           ` Chris Gianelloni
  2007-04-08 13:09         ` Chris Gianelloni
  1 sibling, 1 reply; 10+ messages in thread
From: Nelson Batalha @ 2007-04-07 20:41 UTC (permalink / raw
  To: gentoo-catalyst

Oh, I thought you ment something else.

A few things that, even if not causing it, could be tried:

- Try a .config for a version that matches your kernel, or call oldconfig. 
Yours is 2.6.17 and unless you masked all untill that version, you're 
getting a 2.6.19 right? Not sure what genkernel does then.

- Just try "livecd/type: generic-livecd". It's the only one to be used by 
us, non releng people, and who don't know "exactly" what it does. You can 
always make a good "diet" with rm/empty/unmerge.

>(I got it from their .spec - file).

So did I :S. Did you update the latest genkernel to stable on the snapshot 
you're using?
What can you read on modprobe.conf before it crashes?

Cheers

_________________________________________________________________
Express yourself instantly with MSN Messenger! Download today it's FREE! 
http://messenger.msn.click-url.com/go/onm00200471ave/direct/01/

-- 
gentoo-catalyst@gentoo.org mailing list



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

* Re: [gentoo-catalyst] hang up on generating modprobe.conf
  2007-04-07 19:29       ` Simon Schäfer
  2007-04-07 20:41         ` Nelson Batalha
@ 2007-04-08 13:09         ` Chris Gianelloni
  1 sibling, 0 replies; 10+ messages in thread
From: Chris Gianelloni @ 2007-04-08 13:09 UTC (permalink / raw
  To: gentoo-catalyst

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

On Sat, 2007-04-07 at 21:29 +0200, Simon Schäfer wrote:
> Why? Its used for the minimal installation cd of gentoo. (I got it from 
> their .spec - file). This is exactly what i want a minimal linux system with 
> nothing then a bootup that detects all my hardware loads all modules and as a 
> plus it should have a xinit to start a x based application (yes i know adding 
> X will increase the minimal CD by aprox. 25MB).

This is not what you will get.  If you are not a member of Release
Engineering, you should *never* use gentoo-release-* for livecd/type as
they are custom tailored to produce the output Release Engineering
expects, including ignoring certain spec fields and overriding them.
You *must* use generic-livecd if producing a CD o fyour own, especially
one with X on it.

> We (me and my roommate) are trying to build a small gentoo-based bootcd with 
> xinit. I hoped it could be easy to use catalyst, just some work on spec files 
> and then let catalyst do all the work instead of our collection of shell 
> scripts. I still hope it could be done this way couse sharing spec files is a 
> lot easier then sharing shell scripts and a not so simple howto

It would be fairly easy if you weren't fighting catalyst.  Use
livecd/type; generic-livecd and see things become dramatically easier
when stuff quits being done for you, assuming it'll be an official
Gentoo release and built 100% to Release Engineering standards and
practices.

-- 
Chris Gianelloni
Release Engineering Strategic Lead
Alpha/AMD64/x86 Architecture Teams
Games Developer/Council Member/Foundation Trustee
Gentoo Foundation

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

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

* Re: [gentoo-catalyst] hang up on generating modprobe.conf
  2007-04-07 20:41         ` Nelson Batalha
@ 2007-04-08 13:15           ` Chris Gianelloni
  2007-04-08 14:33             ` Isidore Ducasse
  0 siblings, 1 reply; 10+ messages in thread
From: Chris Gianelloni @ 2007-04-08 13:15 UTC (permalink / raw
  To: gentoo-catalyst

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

On Sat, 2007-04-07 at 20:41 +0000, Nelson Batalha wrote:
> Oh, I thought you ment something else.
> 
> A few things that, even if not causing it, could be tried:
> 
> - Try a .config for a version that matches your kernel, or call oldconfig. 
> Yours is 2.6.17 and unless you masked all untill that version, you're 
> getting a 2.6.19 right? Not sure what genkernel does then.

It produces a somewhat working CD.  In the case of Serial ATA, the
naming changed in the kernel between the two versions, so you won't have
*any* SATA support if you're using a 2.6.17 kernel configuration.

> - Just try "livecd/type: generic-livecd". It's the only one to be used by 
> us, non releng people, and who don't know "exactly" what it does. You can 
> always make a good "diet" with rm/empty/unmerge.

Well, gentoo-release-* make changes to the output.  They ignore certain
options you've defined and replace them with Release Engineering
standardized ways of doing things.  At some point in the future, they'll
be diverging even more, since gentoo-release-minimal and
gentoo-release-universal are likely to be re-worked to use busybox by
default at some point in the upcoming development branch of catalyst,
after 2.0.x goes stable.

> >(I got it from their .spec - file).

Remember that our spec files are made to work with our snapshot and
produce our output.  As soon as you start changing any of the many
variables (snapshot, profile, seeds, etc) you make changes you're not
aware you're making and can break the build in numerous ways.  Our spec
files are really provided for our own use and not really for general
consumption.  They're great as a guide, but you need to read the example
specs that ship with catalyst and are documented.  The example specs are
the current authoritative source of documentation for catalyst and
explain each spec file key.  If there's one that you feel isn't
documented well enough, then feel free to file a bug and we'll fix it. 

> So did I :S. Did you update the latest genkernel to stable on the snapshot 
> you're using?

This is another issue as you get closer to release times.  Certain
versions of catalyst require certain versions of genkernel.  You'll want
to be using 3.4.7 (and actually, 3.4.7-r1 once I add it to the tree on
Monday).

-- 
Chris Gianelloni
Release Engineering Strategic Lead
Alpha/AMD64/x86 Architecture Teams
Games Developer/Council Member/Foundation Trustee
Gentoo Foundation

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

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

* Re: [gentoo-catalyst] hang up on generating modprobe.conf
  2007-04-08 13:15           ` Chris Gianelloni
@ 2007-04-08 14:33             ` Isidore Ducasse
  0 siblings, 0 replies; 10+ messages in thread
From: Isidore Ducasse @ 2007-04-08 14:33 UTC (permalink / raw
  To: gentoo-catalyst

On Sun, 08 Apr 2007 09:15:17 -0400
Chris Gianelloni <wolf31o2@gentoo.org> wrote:

> On Sat, 2007-04-07 at 20:41 +0000, Nelson Batalha wrote:
> > Oh, I thought you ment something else.
> > 
> > A few things that, even if not causing it, could be tried:
> > 
> > - Try a .config for a version that matches your kernel, or call oldconfig. 
> > Yours is 2.6.17 and unless you masked all untill that version, you're 
> > getting a 2.6.19 right? Not sure what genkernel does then.
> 
> It produces a somewhat working CD.  In the case of Serial ATA, the
> naming changed in the kernel between the two versions, so you won't have
> *any* SATA support if you're using a 2.6.17 kernel configuration.
> 

While switching from 2.6.19 to 2.6.20, one could put those arguments to genkernel in the spec file:

livecd/gk_mainargs: --kernel-config=<youroldconfig> --menuconfig

Then when it comes to genkernel menuconfig, one would select the right options in:
	> device drivers > Serial ATA (prod) and Parallel ATA (experimental) drivers > ...

But if one looks for an almost definitive support of SATA, one would better copy <hisoldconfig> to /usr/src/linux/.config , run make menuconfig, rectify the config, and use this one in catalyst/genkernel (That's what I did).

I'm being very explicit because 1° I'm a noob 2° it took me days to boot a 2.6.20 kernel on my SATA drive using make oldconfig. Hope I'll be the last!
--
gentoo-catalyst@gentoo.org mailing list



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

end of thread, other threads:[~2007-04-08 14:34 UTC | newest]

Thread overview: 10+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-04-05 22:46 [gentoo-catalyst] hang up on generating modprobe.conf Simon Schäfer
2007-04-05 23:09 ` Chris Gianelloni
2007-04-06  0:47   ` Simon Schäfer
2007-04-06 14:37     ` Nelson Batalha
2007-04-07 19:29       ` Simon Schäfer
2007-04-07 20:41         ` Nelson Batalha
2007-04-08 13:15           ` Chris Gianelloni
2007-04-08 14:33             ` Isidore Ducasse
2007-04-08 13:09         ` Chris Gianelloni
2007-04-06 19:13 ` [gentoo-catalyst] genkernel initramfs overlay older than initramfs' files Isidore Ducasse

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