Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
|C0NRAD| Install V400 | "Flying Colors" | #(Number) 1?
View unanswered posts
View posts from last 24 hours

Goto page Previous  1, 2, 3, 4, 5, 6, 7  Next  
Reply to topic    Gentoo Forums Forum Index Unsupported Software
View previous topic :: View next topic  
Author Message
supermihi
Guru
Guru


Joined: 09 Feb 2005
Posts: 348

PostPosted: Wed Apr 25, 2007 3:52 pm    Post subject: Reply with quote

I have a big warning :

In the make.conf for athlon64 it says you should change your ARCH=i686 to athlon64 (if you have an athlon64, of course). This is then used by CFLAGS with the -march option.

However I found out that setting ARCH in make.conf has some odd side effects, especially since portage assumes this to be amd64 and not athlon64 on such systems. This leads e.g. to the following bug I commited:
http://bugs.gentoo.org/show_bug.cgi?id=175466

So you should not set ARCH=athlon64 but instead write the -march=athlon64 in the CFLAGS line.
_________________
"You may say I'm a dreamer, but I'm not the only one."
Back to top
View user's profile Send private message
laidback_01
n00b
n00b


Joined: 23 Jun 2005
Posts: 12

PostPosted: Wed Apr 25, 2007 7:35 pm    Post subject: some error / type corrections... Reply with quote

In section 11.1 you have:
emerge gentoo-sources
cd /usr/src/linux
rm linux

It should be:
emerge gentoo-sources
cd /usr/src
rm linux


and in section 12.1
you have kernel
/vmlinuz-2.6.18-no2 root=/dev/hda3

it should be
/vmlinuz-2.6.20-no2 root=/dev/hda3


anyway, the guide is working well for me, I'm have a few slight issues with getting the kernel to boot, but I think I'll get past it. If not, I'll post a request for help ;)
Back to top
View user's profile Send private message
laidback_01
n00b
n00b


Joined: 23 Jun 2005
Posts: 12

PostPosted: Fri Apr 27, 2007 3:47 am    Post subject: Problem with AGP on my mainboard Reply with quote

Hey, others might be having this same issue, but I could not get no-sources to boot for me - not gentoo-sources either.

the problem ended up being that I was trying to load the agp for Intel which didn't support my chipset (946gz in my case), and would cause an oops. The oops always blamed the smp, no idea why there.

anyway, disabling the AGP chipset - leave the agp in place, just lose the chipset driver if you are having issues -that's what fixed it for me.

Also, for people having trouble with some of the CC flags or CXX flags that conrad uses, eg some packages wont compile, you can set CC, and CXX flags per package in /etc/portage. It's actually in the bashrc, there are several examples for how to do this, I had issues with gmp, had to include -fPIC for it, and I didn't want to make that set for every package, and was able to do that via /etc/portage/bashrc.

hopefully that helps someone!
Back to top
View user's profile Send private message
aldo_a
n00b
n00b


Joined: 08 Nov 2004
Posts: 37
Location: I am out there!

PostPosted: Fri Apr 27, 2007 5:00 pm    Post subject: Reply with quote

Hi all,

First of all a big thanks to Conrad for his great guide!!
Up to the point know ... The following odd thing happened today ...
Apart from my / (root) partition i use ext4 in my /home partition as well. So during boot time fsck time had come for /home which gave an enormous amount of errors saying (more or less) that the extents flag is set for /home partition but there are no extents (This was for every inode in the filesystem!!). After fscking finished, I can see with tune2fs -l that my home partition does not have extents anymore (although option is there in the fstab as it is for my / ) . So I was wondering what could the cause of that? Moreover I just realized that my / partition doesn't have journal_data in the "Default mount options" where as my /home partition does (Could I just have missed the -o journal_data during the initial setup?? - seems very strange since usually is such cases i use the bash history and just changing the partitions letters!!). Anyway .. is it preferred to disable fsck on boot when using ext4? And moreover has anyone tried using ext4 ordered mode over journal?? Any improvement in performance??

Ty a lot!!
_________________
http://mywebspace.wordpress.com/
Back to top
View user's profile Send private message
cheater1034
Veteran
Veteran


Joined: 09 Sep 2004
Posts: 1551

PostPosted: Sun Apr 29, 2007 2:25 am    Post subject: Reply with quote

aldo_a wrote:
Hi all,

First of all a big thanks to Conrad for his great guide!!
Up to the point know ... The following odd thing happened today ...
Apart from my / (root) partition i use ext4 in my /home partition as well. So during boot time fsck time had come for /home which gave an enormous amount of errors saying (more or less) that the extents flag is set for /home partition but there are no extents (This was for every inode in the filesystem!!). After fscking finished, I can see with tune2fs -l that my home partition does not have extents anymore (although option is there in the fstab as it is for my / ) . So I was wondering what could the cause of that? Moreover I just realized that my / partition doesn't have journal_data in the "Default mount options" where as my /home partition does (Could I just have missed the -o journal_data during the initial setup?? - seems very strange since usually is such cases i use the bash history and just changing the partitions letters!!). Anyway .. is it preferred to disable fsck on boot when using ext4? And moreover has anyone tried using ext4 ordered mode over journal?? Any improvement in performance??

Ty a lot!!


Hi, I got the exact same problem on my / partition, I had to reboot to the livecd and run a full repair with fsck. Follow the below procedure.
-----

If you installed CV4 with ext4 and no-sources and had problems with FSCK on boot!
- boot up small gentoo x86 r9
- run fsck.ext4dev say y to everything
- mount your ext4 partition/boot part./proc
- install a 2.6.21 kernel with the latest ext4 patches (http://forums.gentoo.org/viewtopic-t-555707.html)
- your system should be good to go ;)

If you installed CV4 with ext4 and no-sources and had NOT had problems with FSCK on boot!
- Install a 2.6.21 kernel with the latest ext4 patches (http://forums.gentoo.org/viewtopic-t-555707.html)

I apologize for all of this, if you have this problem, make the stage4 backup ASAP and if you installed ext4 with no-sources upgrade the kernel ASAP.
_________________
JOIN IRC!: #zen-sources on irc.rizon.net
zen-kernel.org
Zen bugs/requests?: http://zen-kernel.org/issues
--
Join: ARCFPWDLVEFOTTSBNA - Anti-Rice club for people who don't like volcanoes except for on the TVs sometimes but not always
Back to top
View user's profile Send private message
Visceral
Apprentice
Apprentice


Joined: 28 Oct 2003
Posts: 229
Location: Austin, Republic of Texas

PostPosted: Sun Apr 29, 2007 8:04 pm    Post subject: Reply with quote

Well, I do want to give this another fresh start, but I have a few questions. Is it possible to set it up from within Ubuntu as with a normal version of gentoo? I want to use ext4 but I'm not sure I can do it without the conrad setup cd. I know I can do an alternate setup for a normal gentoo install, but where would I plug conrad into that instead?
_________________
*Fortitudo, aequitas, fidelitas.*
Back to top
View user's profile Send private message
cruzki
Tux's lil' helper
Tux's lil' helper


Joined: 13 Dec 2005
Posts: 137

PostPosted: Mon Apr 30, 2007 9:22 am    Post subject: Reply with quote

I think that maybe this is over the scoop of the guide but, it's possible to the final guide include options to test the alpha of kde4 that come on Thursday (3 may)?
Back to top
View user's profile Send private message
ReD-BaRoN
Apprentice
Apprentice


Joined: 06 Feb 2004
Posts: 208

PostPosted: Tue May 01, 2007 2:31 am    Post subject: Reply with quote

I have a question on this command:

tune2fs -O has_journal -o journal_data /dev/hdxy

Should I be running tune2fs on any fs other than /, which would /dev/hdx3? I guess I'm wondering why the y is there.

Thanks!
Back to top
View user's profile Send private message
aldo_a
n00b
n00b


Joined: 08 Nov 2004
Posts: 37
Location: I am out there!

PostPosted: Tue May 01, 2007 11:17 am    Post subject: Reply with quote

cheater1034 wrote:
aldo_a wrote:
Hi all,

First of all a big thanks to Conrad for his great guide!!
Up to the point know ... The following odd thing happened today ...
Apart from my / (root) partition i use ext4 in my /home partition as well. So during boot time fsck time had come for /home which gave an enormous amount of errors saying (more or less) that the extents flag is set for /home partition but there are no extents (This was for every inode in the filesystem!!). After fscking finished, I can see with tune2fs -l that my home partition does not have extents anymore (although option is there in the fstab as it is for my / ) . So I was wondering what could the cause of that? Moreover I just realized that my / partition doesn't have journal_data in the "Default mount options" where as my /home partition does (Could I just have missed the -o journal_data during the initial setup?? - seems very strange since usually is such cases i use the bash history and just changing the partitions letters!!). Anyway .. is it preferred to disable fsck on boot when using ext4? And moreover has anyone tried using ext4 ordered mode over journal?? Any improvement in performance??

Ty a lot!!


Hi, I got the exact same problem on my / partition, I had to reboot to the livecd and run a full repair with fsck. Follow the below procedure.
-----

If you installed CV4 with ext4 and no-sources and had problems with FSCK on boot!
- boot up small gentoo x86 r9
- run fsck.ext4dev say y to everything
- mount your ext4 partition/boot part./proc
- install a 2.6.21 kernel with the latest ext4 patches (http://forums.gentoo.org/viewtopic-t-555707.html)
- your system should be good to go ;)

If you installed CV4 with ext4 and no-sources and had NOT had problems with FSCK on boot!
- Install a 2.6.21 kernel with the latest ext4 patches (http://forums.gentoo.org/viewtopic-t-555707.html)

I apologize for all of this, if you have this problem, make the stage4 backup ASAP and if you installed ext4 with no-sources upgrade the kernel ASAP.


Hiz Cheater!!

Ty for your response. I followed your advice and install viper-sources but now I face a different problem; whenever one of my ext4 partitions is cleanly unmounted, during boot time I get a kernel panic (unable to sync). Whenever this happens I have to boot with small-gentoo cd, e2fsck the partition in question and then I can boot normally again. To mention here that since I had a stage4 available and in order to keep things as clean as possible I reformatted my / partition following the steps in the guide. Do you or anyone has any idea about that?

Ty a lot!!
_________________
http://mywebspace.wordpress.com/
Back to top
View user's profile Send private message
ReD-BaRoN
Apprentice
Apprentice


Joined: 06 Feb 2004
Posts: 208

PostPosted: Wed May 02, 2007 1:20 am    Post subject: Reply with quote

You can take the /dev/ out off the profile links now, no?
Back to top
View user's profile Send private message
cheater1034
Veteran
Veteran


Joined: 09 Sep 2004
Posts: 1551

PostPosted: Thu May 03, 2007 8:43 pm    Post subject: Reply with quote

Visceral wrote:
Well, I do want to give this another fresh start, but I have a few questions. Is it possible to set it up from within Ubuntu as with a normal version of gentoo? I want to use ext4 but I'm not sure I can do it without the conrad setup cd. I know I can do an alternate setup for a normal gentoo install, but where would I plug conrad into that instead?


Yes, you can use ubuntu. All you need is a kernel with ext4dev built in to it, and the patched e2fsprogs package installed.

cruzki wrote:
I think that maybe this is over the scoop of the guide but, it's possible to the final guide include options to test the alpha of kde4 that come on Thursday (3 may)?


only if somebody else releases an ebuild package, or they go into the official gentoo tree then you can unmask them and try it ;)

ReD-BaRoN wrote:
I have a question on this command:

tune2fs -O has_journal -o journal_data /dev/hdxy

Should I be running tune2fs on any fs other than /, which would /dev/hdx3? I guess I'm wondering why the y is there.

Thanks!


don't do it on any of the other partitions besides / and /home

Quote:
Hiz Cheater!!

Ty for your response. I followed your advice and install viper-sources but now I face a different problem; whenever one of my ext4 partitions is cleanly unmounted, during boot time I get a kernel panic (unable to sync). Whenever this happens I have to boot with small-gentoo cd, e2fsck the partition in question and then I can boot normally again. To mention here that since I had a stage4 available and in order to keep things as clean as possible I reformatted my / partition following the steps in the guide. Do you or anyone has any idea about that?

Ty a lot!!


I would try a different kernel source, or talking to vipernicus.

-----

I have a gentoo installation needing fixing if even possible, and my memory just died not too long ago - so I am having some problems. I am RMAing one of my memory sticks, so I'll fix my gentoo and just run on one for now then release no-sources, etc.
_________________
JOIN IRC!: #zen-sources on irc.rizon.net
zen-kernel.org
Zen bugs/requests?: http://zen-kernel.org/issues
--
Join: ARCFPWDLVEFOTTSBNA - Anti-Rice club for people who don't like volcanoes except for on the TVs sometimes but not always
Back to top
View user's profile Send private message
jt_
n00b
n00b


Joined: 15 Mar 2007
Posts: 61

PostPosted: Fri May 04, 2007 12:46 am    Post subject: Reply with quote

I'm curious as to how an install like this compares to a standard installation in terms of tangible performance gains.

Has anyone actually done any benchmarking?
Back to top
View user's profile Send private message
ReD-BaRoN
Apprentice
Apprentice


Joined: 06 Feb 2004
Posts: 208

PostPosted: Fri May 04, 2007 1:58 am    Post subject: Reply with quote

cheater1034 wrote:

ReD-BaRoN wrote:
I have a question on this command:

tune2fs -O has_journal -o journal_data /dev/hdxy

Should I be running tune2fs on any fs other than /, which would /dev/hdx3? I guess I'm wondering why the y is there.

Thanks!


don't do it on any of the other partitions besides / and /home


OK, but if we remain consistent with the partitioning scheme you laid out, there is no /home partition, and therefore the command should really say hdx3, which is why I was confused.

Thanks!
Back to top
View user's profile Send private message
dr.bombay
n00b
n00b


Joined: 05 May 2005
Posts: 39
Location: Los Angeles

PostPosted: Fri May 04, 2007 5:54 am    Post subject: the -combine, --as-needed & -znow flags Reply with quote

cheater-conrad, again, as it has already been said, you and your team are the bomb, have a problem that has already been mention and a ?, in regards to a another subject that was mentioned, first the some one mentioned have had a problem with ffmpeg and the -combine flag, I would like to know if it is possible to disable it in the bashrc for certain apps, like ffmpeg, also, and I don't mean to offend, could you explain to me the correct way to add --as-needed and -znow, or if you strongly disgree with this idea, please explain, as you well know your opinion is highly regarded by I.
cheater-conrad, and all of you here thanks for the wisdom and know how that you provide for the nOOb like myself.
_________________
I just escaped from microsoft please help I dont want to ever go back
Back to top
View user's profile Send private message
cheater1034
Veteran
Veteran


Joined: 09 Sep 2004
Posts: 1551

PostPosted: Fri May 04, 2007 2:06 pm    Post subject: Reply with quote

ReD-BaRoN wrote:
cheater1034 wrote:

ReD-BaRoN wrote:
I have a question on this command:

tune2fs -O has_journal -o journal_data /dev/hdxy

Should I be running tune2fs on any fs other than /, which would /dev/hdx3? I guess I'm wondering why the y is there.

Thanks!


don't do it on any of the other partitions besides / and /home


OK, but if we remain consistent with the partitioning scheme you laid out, there is no /home partition, and therefore the command should really say hdx3, which is why I was confused.

Thanks!


Yes I understand, it really should be hdx3 ;) But if you had a /home you should do it to that one too.

I'll fix it now.

dr.bombay wrote:
cheater-conrad, again, as it has already been said, you and your team are the bomb, have a problem that has already been mention and a ?, in regards to a another subject that was mentioned, first the some one mentioned have had a problem with ffmpeg and the -combine flag, I would like to know if it is possible to disable it in the bashrc for certain apps, like ffmpeg

Yes this is possible, here is a bashrc with this fixed:
Code:
# etc/portage/bashrc
# CG V4

# Packages here get custom CFLAGS aside from those set in make.conf
custom_packages=(
${custom_packages[*]}
app-crypt/mit-krb5
)

# Packages here broken with the -combine flag
combine_broken=(
${combine_broken[*]}
media-video/ffmpeg
)

for i in ${custom_packages[*]}
do
        case ${CATEGORY}/${PN} in
                ${i})
                        CFLAGS="-O2 -march=i686 -frename-registers -pipe"
                        break
                        ;;
        esac
done

CFLAGS="-frename-registers -fweb -pipe -fomit-frame-pointer -funit-at-a-time -freorder-blocks -fno-ident -freorder-blocks-and-partition -fmerge-all-constants -combine"

for i in ${combine_broken[*]}
do
        case ${CATEGORY}/${PN} in
                ${i})
            CFLAGS="-Os -march=i686 -frename-registers -fweb -pipe -fomit-frame-pointer -funit-at-a-time -freorder-blocks -fno-ident -freorder-blocks-and-partition -fmerge-all-constants"
                        break
                        ;;
        esac
done


Quote:
also, and I don't mean to offend, could you explain to me the correct way to add --as-needed and -znow, or if you strongly disgree with this idea, please explain, as you well know your opinion is highly regarded by I.


--as-needed and -znow are broken with a lot of packages, this means tons of bashrc entries. I don't do it because I think it causes too much hassle (it breaks several packages) Some people try to tell me this statement which makes no sense "Several packages break --as-needed" -- So --as-needed breaks too many packages and would go against my intentions for conrad.
_________________
JOIN IRC!: #zen-sources on irc.rizon.net
zen-kernel.org
Zen bugs/requests?: http://zen-kernel.org/issues
--
Join: ARCFPWDLVEFOTTSBNA - Anti-Rice club for people who don't like volcanoes except for on the TVs sometimes but not always
Back to top
View user's profile Send private message
kernelOfTruth
Watchman
Watchman


Joined: 20 Dec 2005
Posts: 5345
Location: Vienna, Austria; Germany; hello world :)

PostPosted: Fri May 04, 2007 5:29 pm    Post subject: Reply with quote

as --as-needed is concerned, you definitely are right, but -z,now works perfectly for me (is this the same?):

Quote:
CFLAGS="-O2 -march=nocona -pipe -mfpmath=sse -falign-functions=64 -D_FORTIFY_SOURCE=2"
CXXFLAGS="-O2 -march=nocona -pipe -mfpmath=sse -falign-functions=64 -D_FORTIFY_SOURCE=2 -fvisibility-inlines-hidden"
LDFLAGS="-Wl,-O1 -Wl,--sort-common -s -Wl,--hash-style=both -Wl,-z,now -Wl,-z,relro"


these are my c-, cxx- and ldflags :lol:
_________________
Unofficial minimal livecd x86/amd64 w/reiser4+truecrypt (by Neo2)
2.6.37.2_plus_v1: BFS, CFS,THP,compaction, zcache or TOI
Hardcore Linux user since 2004 :D
Back to top
View user's profile Send private message
aldo_a
n00b
n00b


Joined: 08 Nov 2004
Posts: 37
Location: I am out there!

PostPosted: Sat May 05, 2007 1:50 pm    Post subject: Reply with quote

Hi guys,

Can I ask for your enlightenment since my fs knowledge varies from limited to none!!
Once we write to a partition that is formatted as ext4 and mounted as "-t ext4dev -o extents" we do have a pure ext4 partition that is no more compatible with ext2, ext3.
How are we supposed to fsck this partition in case smth goes wrong? Mounted with "-o extents"? Unmounted? Why if i try to "e2fsck -Dy" to a clean ext4 partition it turns out that most of my inodes has the EXTENTS FLAG on but is not in extents format?
I try to do a research on the topic the last couple of days but with no success, so I ll appreciate your help.

Cheers!!
_________________
http://mywebspace.wordpress.com/
Back to top
View user's profile Send private message
whitesouls
Guru
Guru


Joined: 19 Nov 2004
Posts: 358
Location: In Front of My Laptop

PostPosted: Sun May 06, 2007 7:28 am    Post subject: Reply with quote

is there going to be a release of conrad with InitNG? :)
_________________
whitesouls

Please insert the [SOLVED] tag if your problem is solved in your respective thread.
Back to top
View user's profile Send private message
R.B.Riddick
n00b
n00b


Joined: 28 Nov 2006
Posts: 10

PostPosted: Sun May 06, 2007 11:48 am    Post subject: New e2fsprogs in portage? Reply with quote

Does the new e2fsprogs-1.40... in portage have support for ext4? :?:
Back to top
View user's profile Send private message
ReD-BaRoN
Apprentice
Apprentice


Joined: 06 Feb 2004
Posts: 208

PostPosted: Tue May 08, 2007 1:59 am    Post subject: Reply with quote

cheater,

Have you tested setting the mount option nodiratime in addition to noatime?

Thanks!
Back to top
View user's profile Send private message
cheater1034
Veteran
Veteran


Joined: 09 Sep 2004
Posts: 1551

PostPosted: Tue May 08, 2007 2:16 am    Post subject: Reply with quote

aldo_a wrote:
Hi guys,

Can I ask for your enlightenment since my fs knowledge varies from limited to none!!
Once we write to a partition that is formatted as ext4 and mounted as "-t ext4dev -o extents" we do have a pure ext4 partition that is no more compatible with ext2, ext3.
How are we supposed to fsck this partition in case smth goes wrong? Mounted with "-o extents"? Unmounted? Why if i try to "e2fsck -Dy" to a clean ext4 partition it turns out that most of my inodes has the EXTENTS FLAG on but is not in extents format?
I try to do a research on the topic the last couple of days but with no success, so I ll appreciate your help.

Cheers!!


I don't have a solution for the e2fsck problem, but it is compatible with ext3 (as long as you have ext3 kernel support you should be able to mount it as ext3)

ReD-BaRoN wrote:
cheater,

Have you tested setting the mount option nodiratime in addition to noatime?

Thanks!


I could be wrong, but I think the noatime flag implies nodiratime.
_________________
JOIN IRC!: #zen-sources on irc.rizon.net
zen-kernel.org
Zen bugs/requests?: http://zen-kernel.org/issues
--
Join: ARCFPWDLVEFOTTSBNA - Anti-Rice club for people who don't like volcanoes except for on the TVs sometimes but not always
Back to top
View user's profile Send private message
dr.bombay
n00b
n00b


Joined: 05 May 2005
Posts: 39
Location: Los Angeles

PostPosted: Tue May 08, 2007 5:13 am    Post subject: exaile/media player Reply with quote

hello all, I am trying to install exaile media player so that I can replace amarok, but I cannot get pass this problem, "http://pastebin.ca/476559" , and was hoping that some here would help with a solution.
Thanks in advance for assistance
_________________
I just escaped from microsoft please help I dont want to ever go back
Back to top
View user's profile Send private message
macleod
n00b
n00b


Joined: 09 May 2007
Posts: 31

PostPosted: Wed May 09, 2007 9:05 pm    Post subject: illegal instruction Reply with quote

why does it give an illegal instruction error after you emerge the binutils glibc then do etc-update
Back to top
View user's profile Send private message
seren
Guru
Guru


Joined: 27 Aug 2005
Posts: 448
Location: Wisconsin

PostPosted: Thu May 10, 2007 2:05 pm    Post subject: Re: exaile/media player Reply with quote

dr.bombay wrote:
hello all, I am trying to install exaile media player so that I can replace amarok, but I cannot get pass this problem, "http://pastebin.ca/476559" , and was hoping that some here would help with a solution.
Thanks in advance for assistance


I had this problem in the past, its due to the aggressive clfags used in the guide, i have stated before that they broke things, try using

Code:
"CFLAGS="-march=$ARCH -O2 -pipe -fomit-frame-pointer -fno-ident -frename-registers -fweb -fgcse-after-reload "ONLY IF YOU HAVE SSE3"-msse3"


Then depending on you use flags you should recompile all deps with those flags, because one is broken ;X

dev-python/pygtk
dev-python/pysqlite
dev-python/elementtree
dev-python/dbus-python
dev-python/gst-python
Back to top
View user's profile Send private message
__g_blade
Tux's lil' helper
Tux's lil' helper


Joined: 13 Jan 2006
Posts: 101
Location: paderborn, germany

PostPosted: Fri May 11, 2007 8:55 am    Post subject: Reply with quote

I like your work, conrad. So i told Ubuntu people to compare their next distro, the "Gutsy Gibbon", to your work.

Perhaps they can make their stuff a little more faster

http://ubuntuforums.org/showthread.php?t=436765
_________________
--eof--
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Unsupported Software All times are GMT
Goto page Previous  1, 2, 3, 4, 5, 6, 7  Next
Page 4 of 7

 
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