You are not logged in.

#1 2011-08-19 03:56:05

Stromblad
Member
Registered: 2009-09-12
Posts: 70

Taking entirely too long to decompress kernel

I dont know if this is common, but that screen before arch actually begins to boot and right after selecting arch in grub, takes a long time about 6 seconds, which to me seems like alot. The boot process takes 11.1 seconds by comparison, so I think something is wrong.
Sadly, I do not know what information to provide to anyone willing to help, but ask away and I will.


Thanks in advance.

Offline

#2 2011-08-19 16:41:03

alphaniner
Member
From: Ancapistan
Registered: 2010-07-12
Posts: 2,810

Re: Taking entirely too long to decompress kernel

The timestamps in dmesg may give you some indication of where things are stalling.  The line Unpacking initramfs... might be a good place to start.


But whether the Constitution really be one thing, or another, this much is certain - that it has either authorized such a government as we have had, or has been powerless to prevent it. In either case, it is unfit to exist.
-Lysander Spooner

Offline

#3 2011-08-19 17:37:20

graysky
Wiki Maintainer
From: :wq
Registered: 2008-12-01
Posts: 9,697
Website

Re: Taking entirely too long to decompress kernel

Is it a fast machine?  You could consider using lzo compression on the kernel images if indeed they take *that* long to decompress.  See /etc/mkinitcpio.conf for the setting.  FYI - I use lzo on a "fast" machine just because space on /boot is not an issue.


CPU-optimized Linux-ck packages @ Repo-ck  • AUR packagesZsh and other configs

Offline

#4 2011-08-19 22:58:00

Stromblad
Member
Registered: 2009-09-12
Posts: 70

Re: Taking entirely too long to decompress kernel

That did work thanks, but not too much it is slightly faster..have any other ideas>?

Offline

#5 2011-08-22 23:40:37

Stromblad
Member
Registered: 2009-09-12
Posts: 70

Re: Taking entirely too long to decompress kernel

I thought I would update this thread with far more detailed information.

LAPPY SPECS:
Product Description ASUS K53SV XR1 - Core i7 2630QM 2 GHz - 15.6
Processor Intel Core i7 2630QM / 2 GHz ( Quad-Core )
RAM 6 GB DDR3 SDRAM
Hard Drive 640 GB
Display 15.6" LED backlight TFT 1366 x 768 ( WXGA )
Networking Network adapter - Ethernet, Fast Ethernet, Gigabit Ethernet, IEEE 802.11b, IEEE 802.11g, IEEE 802.11

Partitioning Setup:
/ is EXT4
/home is reiserfs
/var reiserfs
/boot ext2

I installed from an older disc and had to update everything, kernel decompression takes a really long time. I also get this weird bug where simple functions like logging in, inputting my pwd or simply typing "clear" will take a while. That sort of slowness happens as if I didnt have my hosts correct, but /etc/rc.conf and /etc/hosts have the host name set identically.

If I can provide more information, please ask.

Thank you



Thank yo

Offline

#6 2011-08-22 23:41:33

Stromblad
Member
Registered: 2009-09-12
Posts: 70

Re: Taking entirely too long to decompress kernel

Removed double post

Last edited by Stromblad (2011-08-23 19:39:57)

Offline

#7 2011-08-23 19:48:04

Stromblad
Member
Registered: 2009-09-12
Posts: 70

Re: Taking entirely too long to decompress kernel

http://pastebin.com/SSdhXvSX

I checked the timestamp at unpacking init but it didnt seem toyeild any information I could use. Maybe someone can understand this better than i can?

Offline

#8 2011-08-23 23:38:41

nawitus
Member
Registered: 2009-05-11
Posts: 112

Re: Taking entirely too long to decompress kernel

Could be an ACPI issue (ACPI Warning: 32/64 FACS address mismatch in FADT - two FACS tables!), would probably explain your other problems too. Try to update your BIOS to latest version. Your bug is experienced by some ASUS users here: https://bugs.launchpad.net/ubuntu/+sour … bug/754192

Offline

#9 2011-08-24 02:18:00

Stromblad
Member
Registered: 2009-09-12
Posts: 70

Re: Taking entirely too long to decompress kernel

http://pastebin.com/79vZ3XNR

Flashed the bios, same result. Ill check out that thread, thanks a bunch

Edit:
I tried deleting the rootdelay option in /lib/initcpio/init

Did nothing

Last edited by Stromblad (2011-08-24 02:47:36)

Offline

#10 2011-08-24 07:26:19

laloch
Member
Registered: 2010-02-04
Posts: 185

Re: Taking entirely too long to decompress kernel

Stromblad wrote:

I tried deleting the rootdelay option in /lib/initcpio/init

Did nothing

Are you sure you didn't forget to run mkinitcpio after deleting the rootdelay? For me setting rootdelay=2 in mkinitcpio.conf sped the boot up by 8 seconds.

Offline

#11 2011-08-24 09:21:17

Shark
Member
From: /dev/zero
Registered: 2011-02-28
Posts: 679

Re: Taking entirely too long to decompress kernel

I have got the same problem. It hangs for about 6 seconds between grub and boot process. Sometimes when opening man pages or do clear it hangs for a second. I have ASUS k50ij (2gb RAM, intel DUO T3000) and this was not the problem two weeks ago, i think. In my kernel line i have:

acpi_osi=Linux acpi_backlight=vendor

But the issue persist even when removing the line.

Dmesg:

[    0.230153] ACPI Warning: Incorrect checksum in table [ATKG] - 0x84, should be 0xE5 (20110413/tbutils-314)

Last edited by Shark (2011-08-24 09:35:54)


If you have built castles in the air, your work need not be lost; that is where they should be. Now put foundations under them.
Henry David Thoreau

Registered Linux User: #559057

Offline

#12 2011-08-24 10:05:56

Shark
Member
From: /dev/zero
Registered: 2011-02-28
Posts: 679

Re: Taking entirely too long to decompress kernel

Where to set "rootdelay=2" in "/etc/mkinitcpio" file, because i set it in "/lib/initcpio/init" and there were not difference when booting (i did "mkinitcpio -p linux"). Then i uncomment default option in "/etc/mkinitcpio.d/linux.presets" file and edit there "rootdelay=2", then do mkinitcpio as before and nothing changed on boot. Still about 6 secs too boot.

Last edited by Shark (2011-08-24 10:06:06)


If you have built castles in the air, your work need not be lost; that is where they should be. Now put foundations under them.
Henry David Thoreau

Registered Linux User: #559057

Offline

#13 2011-08-24 10:21:07

laloch
Member
Registered: 2010-02-04
Posts: 185

Re: Taking entirely too long to decompress kernel

Shark wrote:

Then i uncomment default option in "/etc/mkinitcpio.d/linux.presets" file and edit there "rootdelay=2", then do mkinitcpio as before and nothing changed on boot. Still about 6 secs too boot.

Well, that's pretty fast boot. If you don't see ~10sec delay before remounting root FS in your dmesg, you don't need to fiddle around with the rootdelay.

Offline

#14 2011-08-24 10:27:29

Shark
Member
From: /dev/zero
Registered: 2011-02-28
Posts: 679

Re: Taking entirely too long to decompress kernel

But i haven't to have wait for 6 second between grub and init process before. Is this normal?


If you have built castles in the air, your work need not be lost; that is where they should be. Now put foundations under them.
Henry David Thoreau

Registered Linux User: #559057

Offline

Board footer

Powered by FluxBB