


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.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!!
Hiz Cheater!!cheater1034 wrote: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.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!!
-----
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.

Yes, you can use ubuntu. All you need is a kernel with ext4dev built in to it, and the patched e2fsprogs package installed.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?
only if somebody else releases an ebuild package, or they go into the official gentoo tree then you can unmask them and try itcruzki 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)?
don't do it on any of the other partitions besides / and /homeReD-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!
I would try a different kernel source, or talking to vipernicus.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!!
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.cheater1034 wrote:don't do it on any of the other partitions besides / and /homeReD-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!

Yes I understand, it really should be hdx3ReD-BaRoN wrote: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.cheater1034 wrote:don't do it on any of the other partitions besides / and /homeReD-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!
Thanks!
Yes this is possible, here is a bashrc with this fixed: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
Code: Select all
# 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--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.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.

these are my c-, cxx- and ldflagsCFLAGS="-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"



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)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 could be wrong, but I think the noatime flag implies nodiratime.ReD-BaRoN wrote:cheater,
Have you tested setting the mount option nodiratime in addition to noatime?
Thanks!
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 usingdr.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
Code: Select all
"CFLAGS="-march=$ARCH -O2 -pipe -fomit-frame-pointer -fno-ident -frename-registers -fweb -fgcse-after-reload "ONLY IF YOU HAVE SSE3"-msse3" 