You are not logged in.
cat /boot/grub/menu.lst ... # (1) ArchLinux CK title ArchLinux 32Bit ArchCK [/boot/vmlinuz26archck] root (hd0,1) kernel /boot/vmlinuz26archck root=/dev/hda2 video=vesafb:ywrap,mtrr,1280x1024-32@70 splash=verbose,theme:darch console=tty1 ro initrd = /boot/initramfs26.img
Are you sure you're supposed to have that = after initrd in your grub config?
I think it's
initrd /boot/initramfs26.img
Offline
Removing the = makes no difference :-(
Offline
andy RTR;
I note your grub entry and suggest you look at the kernel install file for the grub detail which uses;
initrd=/boot/initramfs26-2.6.15-archck.img
Have a good day!
Prediction...This year will be a very odd year!
Hard work does not kill people but why risk it: Charlie Mccarthy
A man is not complete until he is married..then..he is finished.
When ALL is lost, what can be found? Even bytes get lonely for a little bit! X-ray confirms Iam spineless!
Offline
in the suspend2 HOWTO [1] they say:
Initrd/Initramfs's with Suspend2
Using an initrd with Suspend2 is possible. To use this, you MUST edit your linuxrc (or init) script to contain the line
echo > /proc/suspend2/do_resumeBEFORE the script mounts your filesystem. If the line is missing, your system will not resume. If the line comes after mounting file systems, you will most likely suffer from filesystem corruption. You have been warned.
I've looked inside the Initramfs (initrd-${kernel_version}.img) mkinitramfs kernel_version=${kernel_version} created. And can't find that particular line inside the init. Why is that?! ... the HOWTO warns us that we MUST add it!
To something like this:insmod /lib/jbd.ko > /dev/null 2>&1
insmod /lib/ext3.ko > /dev/null 2>&1
insmod /lib/jfs.ko > /dev/null 2>&1
insmod /lib/reiserfs.ko > /dev/null 2>&1
insmod /lib/xfs.ko > /dev/null 2>&1
echo > /proc/suspend2/do_resume
ROOT_DEV=/dev/root
mkrootdev /dev/root
echo 0x0100 > /proc/sys/kernel/real-root-dev
mount -t `/bin/fsck -NT $ROOT_DEV | awk -Ffsck. '{print $2}' | awk '{print $1}'` -n -o ro $ROOT_DEV /new_root
pivot_root /new_root /new_root/initrd
for x in `cat /proc/cmdline`; do
case "${x}" in
[0123456Ss])
init_arg=${x}
;;
esac
done
cd /new_root
exec /bin/busybox chroot . /bin/sh <<- EOF
exec /sbin/init ${init_arg}
EOF
echo "Initial RAMDISK Loading Completed..."
But then again, wouldn't the Initramfs (allways) overwrite the "resume2=swap:/dev/hdxY noresume2" bootparam?
And one would have to resort to having two Initramfs & two boot options in grub (one to resome, one to boot normally)?
:!::?: *Hum*, Is *this what they said about the Initrd/Initramfs just an alternative to the bootparm's, ergo it not beeing present in the init to start with :?::!:
Offline
andy RTR;
I note your grub entry and suggest you look at the kernel install file for the grub detail which uses;
initrd=/boot/initramfs26-2.6.15-archck.img
Have a good day!
Why not use the small one that I create with "mkinitramfs auto" :?: I've only marked some drivers for SATA, SCSI, CDRom to remove.
Offline
I've looked inside the Initramfs (initrd-${kernel_version}.img) mkinitramfs kernel_version=${kernel_version} created. And can't find that particular line inside the init. Why is that?! ... the HOWTO warns us that we MUST add it!
Firstly - calm down. Take a deep breath, and count to 10.
Secondly - iphitus has already fixed this, as you would know if you had read the rest of this thread. Get the latest version of mkinitramfs, and build a new image - problem solved.
Offline
I fixed that a week ago. But some mirrors just suck.
Offline
Firstly - calm down. Take a deep breath, and count to 10.
...hey, I wasn't 'hysterical', just a tad confused. :-P
... as you would know if you had read the rest of this thread.
... cons with forums, ye' need weed thru every last page before ye' find
the answer to ye' one-tiny-questien :idea: subtly implying tha wiki wouldn't be a bad think to start :idea:
I fixed that a week ago. But some mirrors just suck.
well, I use the one you linked to in the very 1st post. [1]
isn't that your repos? :-)
Offline
pkgrel=2
latest one is 3
grab it from here and kernel from here
If you dont waste your time compiling them, then enable community in ur pacman.conf and then pacman -Sy kernel26archck mkinitramfs
[My Blog] | [My Repo] | [My AUR Packages]
Offline
I agree about a wiki page for archck it would be better for users to have one page of information rather than 12+ to sift through,,,,,
One of the down points of forum serach is it will find the subject but not tell you page(s) its in .....
my2c
Mr Green
Offline
OTOH, I don't think installing and using an archck kernel is a trivial matter, and I always read every scrap of relevant information, even if it's a little inconvenient to find. At the very least, I think anyone on archck should be using the community repo as a matter of course, and doing pacman -Syu at least once a day - that would have avoided these 'issues' caused by old versions of mkinitramfs, anyway.
Offline
Ok, I updated the first post with a collection of information from these threads.
iphitus
Offline
lilsirecho wrote:andy RTR;
I note your grub entry and suggest you look at the kernel install file for the grub detail which uses;
initrd=/boot/initramfs26-2.6.15-archck.img
Have a good day!
Why not use the small one that I create with "mkinitramfs auto" :?: I've only marked some drivers for SATA, SCSI, CDRom to remove.
Scheissegal. The name of the img doesn't matter, you just will have to care running
mkinitramfs auto
each time you upgrade your kernel. Except of that, it doesn't matter what you put there.
All your base are belong to us
Offline
If you dont waste your time compiling them, then enable community in ur pacman.conf and then pacman -Sy kernel26archck mkinitramfs
thanks, but I'd like to :-) since I'd like to have stuff optimized (-march=athlon-xp -m3dnow -msse -mfpmath=sse -mmmx -O3 -pipe) with gcc-3.4.3 instead of the Arch default. ...heey, I've even done a redundant compilation of gcc-3.4.3 (that is, compiled gcc-3.4.3 with gcc-3.4.3) and then recompiled my base in the sake of l337 0p7!//!z4t!0||
PS. not that that umpft of a milisecond matters in the long run, but because I'm g33ky enough to want to do stuff like *this
Offline
_Gandalf_ wrote:If you dont waste your time compiling them, then enable community in ur pacman.conf and then pacman -Sy kernel26archck mkinitramfs
thanks, but I'd like to :-) since I'd like to have stuff optimized (-march=athlon-xp -m3dnow -msse -mfpmath=sse -mmmx -O3 -pipe) with gcc-3.4.3 instead of the Arch default. ...heey, I've even done a redundant compilation of gcc-3.4.3 (that is, compiled gcc-3.4.3 with gcc-3.4.3) and then recompiled my base in the sake of l337 0p7!//!z4t!0||
PS. not that that umpft of a milisecond matters in the long run, but because I'm g33ky enough to want to do stuff like *this
Sorry, but you are actually wasting your time. The kernel negates all cflags as many cflags can break a kernel build. The only flags that will work are the ones available in the options. If you want to compile the kernel for your processor, change the processor settings in the .config
As for mkinitramfs, have a fun time optimising that, its a shell script.
iphitus
Offline
One of the down points of forum serach is it will find the subject but not tell you page(s) its in .....
Yeah, there is
On the search-page [1], to the lefty-downy side, there's an option "Display results as:" ... choose Posts instead of Topics, and it'll spew Posts that best match your search criteria, instead.
Offline
Sorry, but you are actually wasting your time. The kernel negates all cflags as many cflags can break a kernel build. The only flags that will work are the ones available in the options. If you want to compile the kernel for your processor, change the processor settings in the .config
You're quite right, it does that. But... *wait for it*... but you can bypass it and tweak your optimization :-)
In menuconfig I've chosen 'Athlon/Duron/K7' as my CPU, and then in "arch/i386/Makefile.cpu" edited the "cflags-$(CONFIG_MK7)"-line to
cflags-$(CONFIG_MK7) += $(call cc-option,-march=athlon-xp -m3dnow -msse -mfpmath=sse -mmmx -O3 -pipe, $(align)-functions=4)
And, sure you shouldn't Over-Optimize your kernel. But as I see it, there's Exotic-Optimization [1] which you use with care! ... and then there's Perfectly-Reasonable-Optimization [2] which you should enable if you have the hardware to take advantage of.
That's btw what sort of PR-Opt I did with my kernel, as my Athlon-XP supports all of those modes.
(if I've OverKill'd it a bit, it might be that I used -O3 - but since it only turns on '-finline-functions, -fweb and -frename-registers' over -O2 in gcc-3.4.3. It's not too too E-Opt i my mind )
As for mkinitramfs, have a fun time optimising that, its a shell script.
*hehe*
... I could try to make it a few lines shorter & what-not
----
1 - eg: -fforce-addr -maccumulate-outgoing-args -fprefetch-loop-arrays -momit-leaf-frame-pointer -fno-PIC ... etc
2 - eg: -march=athlon-xp -m3dnow -msse -mfpmath=sse -mmmx -pipe ...
Offline
Ok, I updated the first post with a collection of information from these threads.
maybe add the 'klibc' PKGBUILD too? As it's not in the archlinux cvs of AUR-root, and newbie-archck's might not know where it' is to start with
Offline
iphitus wrote:Ok, I updated the first post with a collection of information from these threads.
maybe add the 'klibc' PKGBUILD too? As it's not in the archlinux cvs of AUR-root, and newbie-archck's might not know where it' is to start with
Its not needed - yet -.
danalien. Sigh
Offline
_Gandalf_ wrote:If you dont waste your time compiling them, then enable community in ur pacman.conf and then pacman -Sy kernel26archck mkinitramfs
thanks, but I'd like to :-) since I'd like to have stuff optimized (-march=athlon-xp -m3dnow -msse -mfpmath=sse -mmmx -O3 -pipe) with gcc-3.4.3 instead of the Arch default. ...heey, I've even done a redundant compilation of gcc-3.4.3 (that is, compiled gcc-3.4.3 with gcc-3.4.3) and then recompiled my base in the sake of l337 0p7!//!z4t!0||
PS. not that that umpft of a milisecond matters in the long run, but because I'm g33ky enough to want to do stuff like *this
If you want to compile everything yourself maybe you should try gentoo
Offline
danalien wrote:iphitus wrote:Ok, I updated the first post with a collection of information from these threads.
maybe add the 'klibc' PKGBUILD too? As it's not in the archlinux cvs of AUR-root, and newbie-archck's might not know where it' is to start with
Its not needed - yet -.
I find that comment odd.
As,
pkgname=mkinitramfs
pkgver=1.1
pkgrel=3
depends=('bash' 'mkinitrd' 'gensplashutils')
and,
pkgname=gensplashutils
pkgver=1.1.9.10
pkgrel=2
depends=('libjpeg' 'libpng' 'freetype2' 'kbd' 'miscsplashutils')
makedepends=('klibc')
of all of the deps I hilighted, klibc was the only one that took a bit of digging to find a PKGBUILD for
If you want to compile everything yourself maybe you should try gentoo
you're not the first one to hint that - But I like how arch is setup, it's simple and straight forward. And I promised myself, that the next step would be to go LinuxFromScratch
Offline
klibc is hardly hard to find - gensplash is my project and klibc is in my personal repo, I'd add it to [community] if I had access ATM, tho
Offline
klibc is hardly hard to find
did I say 'hard? :-) I recall 'took a bit of digging to find'
gensplash is my project and klibc is in my personal repo,
mmm ... btw, version 1.1.1 is out
Offline
Hm... probably not show-stopping, but:
$ pacman -Si kernel26archck
Repository : community
Name : kernel26archck
Version : 2.6.15.archck2-4
...
Provides : kernel26
Is there a reason the community package is providing kernel26? I suppose it could be useful for some stuff that builds kernel modules at install-time, but anything pre-packaged to work with kernel26 will have the wrong paths for the archck kernel, wouldn't they?
Offline
it provides it, so that people who dont want kernel26, and only install kernel26archck, dont have problems with things that depend on kernel26.
Offline