You are not logged in.

#1 2004-08-15 12:54:41

LinuxNewbie
Member
Registered: 2004-06-03
Posts: 22

Arch Slow Boot

This may seem like a trivial question.

When I used to use Arch Linux 0.6 I used to boot in about 3 seconds.

When I switched over to the 0.7 and new kernel it now takes about 10 - 15 min to boot.

This is kind of hindering my usage of Arch as my primary OS.

THe part of the boot that takes seems to slow down is when it checks all of my IDE devices. It seems to try to detect hdc, hdd, hde, hdf, hdg and takes forever and everntually says "(Resetting Drive)".

Here is my fstab:

#
# /etc/fstab: static file system information
#
# <file system>        <dir>         <type>    <options>          <dump> <pass>
none                   /proc         proc      defaults            0      0
none                   /dev/pts      devpts    defaults            0      0
none                   /dev/shm      tmpfs     defaults            0      0
tmpfs                  /tmp          tmpfs     defaults            0      0
sysfs                  /sys          sysfs     defaults            0      0
usbfs                  /proc/bus/usb usbfs  defaults            0      0

/dev/cdroms/cdrom0     /mnt/cd   iso9660   ro,user,noauto,unhide   0      0
/dev/cdroms/cdrom0     /mnt/dvd  udf       ro,user,noauto,unhide   0      0
/dev/floppy/0          /mnt/fl   vfat      user,noauto,unhide      0      0

/dev/discs/disc0/part3 / ext3 defaults 0 1
/dev/discs/disc0/part1 /boot ext2 defaults 0 1
/dev/discs/disc0/part2 swap swap defaults 0 0

Thanks for any help you may give.  big_smile

Offline

#2 2004-08-15 14:24:43

IceRAM
Member
From: Bucharest, Romania
Registered: 2004-03-04
Posts: 772
Website

Re: Arch Slow Boot

I'm almost sure it's a kernel problem.
1. Switch back to the stock kernel.
2. Use the config that comes with the old kernel and make a new kernel running "make oldconfig"

I had the same booting times for devfs/udev, 2.6.6, 2.6.7 (stock, +mm7, +ck6). Currently running ck7, a timing test is planned because I don't know which one's faster.

Offline

#3 2004-08-15 18:05:44

LinuxNewbie
Member
Registered: 2004-06-03
Posts: 22

Re: Arch Slow Boot

How would I go about getting the stock kernel and loading it?

Offline

#4 2004-08-15 19:31:28

IceRAM
Member
From: Bucharest, Romania
Registered: 2004-03-04
Posts: 772
Website

Re: Arch Slow Boot

Q: what do you mean by "a new kernel" first? A kernel from the official repositories (current-kernel26/extra-kernel26mm) or self-built?

If your new kernel is not from the official repositories, use

pacman -Sy kernel26

to download&install 2.6 (or "pacman -Sy kernel26mm" to install the mm flavour).

(don't forget to edit /etc/lilo.conf & run "lilo" afterwards - if you use lilo)
(the default image is "/boot/vmlinuz26")

Offline

#5 2004-08-15 21:16:23

xerxes2
Member
From: Malmoe, Sweden
Registered: 2004-04-23
Posts: 1,249
Website

Re: Arch Slow Boot

have you set your hostname in /etc/hosts ?

127.0.0.1 yourhostname

arch + gentoo + initng + python = enlisy

Offline

#6 2004-08-16 06:49:53

Bobonov
Member
From: Roma - Italy
Registered: 2003-05-07
Posts: 295

Re: Arch Slow Boot

have you set your hostname in /etc/hosts ?

The hostname problem slow down only x server starts.
He has a problem during kernel loading when network and startup script are far to be loaded.

Is very important to know wich kernel do you use.

Me personally with kernel26mm I have problems running some applications (non arch package) like zend ide.

If you made a custom kernel it is possible you made some error during configuration

Offline

#7 2004-08-16 21:27:53

LinuxNewbie
Member
Registered: 2004-06-03
Posts: 22

Re: Arch Slow Boot

Well, I installed the stock kernel from pacman repositories and now Lilo won't boot the kernel, and I get EBDA erorrs and it hangs. So I just figured that I'd just reinstall Arch again rather than fixing the broken kernel that I can't boot into.

So I'm back to a blank slate if you can offer any other advice to fix it I would appreciate it.

Another Question:

What is the difference between kernel26 and kernel26mm?

Offline

#8 2004-08-16 22:35:18

IceRAM
Member
From: Bucharest, Romania
Registered: 2004-03-04
Posts: 772
Website

Re: Arch Slow Boot

Did you do this:

IceRAM wrote:

(don't forget to edit /etc/lilo.conf & run "lilo" afterwards - if you use lilo)
(the default image is "/boot/vmlinuz26")

If not, check the ArchLinux documentation because it explains how you can recover your computer from such an accident. I have personally used the docs & updated them to reflect all the steps I followed.

Offline

#9 2004-08-20 23:27:47

LinuxNewbie
Member
Registered: 2004-06-03
Posts: 22

Re: Arch Slow Boot

Well, I reinstalled Arch Linux and am now booting from a 2.6 Kernel that boots in 4-5 Seconds (I love Arch Linux big_smile ).

For anyone who happens to stumble on this thread with the same problem. I did an ftp install from the Arch Linux CD and then pkgbuild udev myself and it worked. smile

Thanks to Anyone who replied to help me.

Offline

#10 2004-08-21 08:49:40

IceRAM
Member
From: Bucharest, Romania
Registered: 2004-03-04
Posts: 772
Website

Re: Arch Slow Boot

LinuxNewbie wrote:

Well, I reinstalled Arch Linux and am now booting from a 2.6 Kernel that boots in 4-5 Seconds (I love Arch Linux big_smile ).

What services do you start and what computer do you have? 4-5secs... that's really fast.
I don't even think that a P4 3.2GHz+SATA drive (if I had those) could manage that on my setup (services & so on).

Offline

#11 2004-08-21 08:56:51

Mr Green
Forum Fellow
From: U.K.
Registered: 2003-12-21
Posts: 5,844

Re: Arch Slow Boot

LinuxNewbie wrote:

Well, I reinstalled Arch Linux and am now booting from a 2.6 Kernel that boots in 4-5 Seconds

I got get a system set up like that  lol

mines more like 20 seconds plus...... :cry:


Mr Green

Offline

#12 2004-08-22 12:29:56

LinuxNewbie
Member
Registered: 2004-06-03
Posts: 22

Re: Arch Slow Boot

My System specs are

AMD Athlon 64 3400+ (3.6 Ghz)
1.5 GB of Corsair DDR2 4300
ATI Radeon 7000 PCI Card :oops:
WD 60GB SATA Drive

By the way, when I say the boot time, I'm refering to the time that Arch Linux itself boots. From GRUB/LILO to the logon display not the whole computer.

I'm also running very few sevrices yet, I don't have CUPS, Alsa, Samba, or Apache, MySQL, PHP... running yet. I figure that when I install these it will about 20 seconds. Which is still pretty fast. And much better than that "other operating system" I used to run.  roll

Offline

Board footer

Powered by FluxBB