FedoraThis forum is for the discussion of the Fedora Project.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Introduction to Linux - A Hands on Guide
This guide was created as an overview of the Linux Operating System, geared toward new users as an exploration tour and getting started guide, with exercises at the end of each chapter.
For more advanced trainees it can be a desktop reference, and a collection of the base knowledge needed to proceed with system and network administration. This book contains many real life examples derived from the author's experience as a Linux system and network administrator, trainer and consultant. They hope these examples will help you to get a better understanding of the Linux system and that you feel encouraged to try out things on your own.
Click Here to receive this Complete Guide absolutely free.
Hi,
I've been using FC2 for the last month an everything seems to be in order.
2 things that annoy me:
1) I'm using GRUB. Just after I select to boot linux I get 2 grub messages about loading the kernel and then the initrd command.
Right after that the line:
Uncompressing linux... Ok, booting the kernel.
audit(1091311588.522:0): initialized
then nothing happens for about a minute and then I get
Redhat nash version 3.5.22 starting
and the boot continues...
I have no clue why it takes a minute to pass that step....
2) after step 1 all loads fine until eth0 is brought up.
I use DHCP so I understand it takes time to obtain an IP address but it takes about 8-10 sec' to pass that stage.
When I put a static IP address to eth0 it doesn't happen.
Anything I can do about this? I want to use DHCP.
Hi Zipo13,
All the misteries in this lap minute are in the initrd. It is a compressed file system. When you boot, after linux is uncompressed, it takes control, uncompress this file system to memory and mounts it. Right after, it calls an script in the root of this filesystem, called linuxrc. Normally all this script does is load the needed modules to access your disk, checks it for inconsistencies and after, it mounts your default root and starts to operate from this root. For me, the strange is the message "audit....", but maybe you are using the kernel of the 2.6 series and this would be a standard message and I don't know this kernel.
If you want to get a look into the initrd procedure, you may uncompress it and mount it for exploration.
For this, create a directory to mount it, uncompress into tmp and mount it with the following commands:
Code:
mkdir /mnt/initrd
gunzip -c /boot/"your-initrd-file-name.img" >/tmp/temp-initrd
mount -o loop /tmp/temp-initrd /mnt/initrd
cd /mnt/initrd
"your-initrd-file-name.img" is the initrd you have in /boot and specified in the /boot/grub/grub.conf or /boot/grub/menu.lst.
After you play enough with it you may unmount it and remove the temporary file and the directory, after cding to another directory. All operations here are assumed as user "root".
Code:
cd # go home directory
umount /mnt/initrd
rm /tmp/temp-initrd
rmdir /mnt/initrd
Has this been happening since the beginning? Or, did you "upgrade" your kernel? That audit line looks suspicious. I'd think that either you're running a kernel with the NSA security code in it (I haven't so that's why I suggest that) or perhaps you have enabled something in the kernel which allows an integrity check at bootup. I saw something like that when I was compiling my kernel, but didn't enable it, as I run a desktop. Its not mission critical.
As far as the DHCP issue, I don't know if there's a way to speed that up or not. I hope that you're not comparing that wait to the supposedly non-existant one in Windows. The network is not up sometimes until after a user has logged in on that OS, so don't be fooled. Are you using dhcpd? Or another dhcp daemon?
Thanks for the info,
I Haven't checked anything yet since I'm at work but I'll check once I have a chance.
For more info that might help:
I had the problem since the beginning.
I installed FC2 which came with the 2.6.5 kernel and then upgraded it via up2date to the 2.6.6 kernel.
Both what is supplied officially by the Fedora project.
I'm using a SATA HD if that matters.
I would have post the exact loading messages if I could but I don't know if or where they are saved.
Any way I'll soon post the GRUB loading script but I think its standard except for the noapic kernel option that I use because of hangs I had with the mandrake install: http://www.linuxquestions.org/questi...hreadid=157831
Originally posted by zipo13 ...For more info that might help:
I had the problem since the beginning.
I installed FC2 which came with the 2.6.5 kernel and then upgraded it via up2date to the 2.6.6 kernel.
Both what is supplied officially by the Fedora project.
Wierd.
Quote:
I'm using a SATA HD if that matters.
Sometimes SATA is a problem, but if Mandrake boots fine, its not that, likely.
Quote:
I would have post the exact loading messages if I could but I don't know if or where they are saved.
dmesg (sometimes requires you to be root) or
Code:
less /var/log/messages
will yeild what you seek.
Quote:
Any way I'll soon post the GRUB loading script but I think its standard except for the noapic kernel option that I use because of hangs I had with the mandrake install: http://www.linuxquestions.org/questi...hreadid=157831
Not likely the cause either, as it does its job - to bootstrap your system, but might be good to look at it.
OK,
I loaded without the quiet kernel option and understood whats the problem.
On the other hand I don't know how to solve it ;)
below is the dmesg output -not all but just the important part
----------------------------8<------------------------------------------
RAMDISK driver initialized: 16 RAM disks of 16384K size 1024 blocksize
divert: not allocating divert_blk for non-ethernet device lo
Uniform Multi-Platform E-IDE driver Revision: 7.00alpha2
ide: Assuming 33MHz system bus speed for PIO modes; override with idebus=xx
NFORCE2: IDE controller at PCI slot 0000:00:09.0
NFORCE2: chipset revision 162
NFORCE2: not 100% native mode: will probe irqs later
NFORCE2: BIOS didn't set cable bits correctly. Enabling workaround.
NFORCE2: 0000:00:09.0 (rev a2) UDMA133 controller
ide0: BM-DMA at 0xf000-0xf007, BIOS settings: hda:DMA, hdb:DMA
ide1: BM-DMA at 0xf008-0xf00f, BIOS settings: hdc:DMA, hdd:DMA
hda: LITE-ON COMBO SOHC-5232K, ATAPI CD/DVD-ROM drive
Using cfq io scheduler
ide0 at 0x1f0-0x1f7,0x3f6 on irq 14
SiI3112 Serial ATA: IDE controller at PCI slot 0000:01:0b.0
SiI3112 Serial ATA: chipset revision 2
SiI3112 Serial ATA: 100% native mode on irq 11
ide2: MMIO-DMA , BIOS settings: hde:pio, hdf:pio
ide3: MMIO-DMA , BIOS settings: hdg:DMA, hdh:DMA hde: no response (status = 0xfe)
hdg: Maxtor 6Y160M0, ATA DISK drive
ide3 at 0x2284d0c0-0x2284d0c7,0x2284d0ca on irq 11 hde: no response (status = 0xfe), resetting drive hde: no response (status = 0xfe)
hdg: max request size: 64KiB
hdg: 320173056 sectors (163928 MB) w/7936KiB Cache, CHS=19929/255/63
hdg: hdg1 hdg2 < hdg5 hdg6 hdg7 >
hda: ATAPI 52X DVD-ROM CD-R/RW CD-MRW drive, 2048kB Cache
Uniform CD-ROM driver Revision: 3.20
ide-floppy driver 0.99.newide
usbcore: registered new driver hiddev
usbcore: registered new driver usbhid
drivers/usb/input/hid-core.c: v2.0:USB HID core driver
mice: PS/2 mouse device common for all mice
----------------------------8<------------------------------------------
There are 3 20 sec' pauses.
all caused by the hde which I don't have.
On the other hand I don't have hdf too but I don't see it giving me trouble.
My SATA drive reside in hdg and is detected correctly.
Other than that I have only 1 IDE device which is hda the CD-RW drive.
Do you know whats causing this and how do I solve it?
Why don't you disable IDE2 in your BIOS and see if it stops. Since you don't have anything on that controller, you should have good results. I'll tell you why I suggest this. I read an article in a PC Magazine about how to speed up your boot. So, I followed the suggestions, thinking, "hey this makes sense."
For example, I have disabled the slave on IDE0 and IDE1, as I have only 1 hard drive, on its own cable, and one cdrom drive, on its own cable, for faster transfers. As well, I have disabled the serial ports and parallel ports since I don't use them either. No ill effect, but I sure get to the bootloader faster!
Perhaps this will solve your problem (or move the drive to the first sata controller instead...)
Hi,
The IDE hard drives are disabled in my BIOS already. All but the IDE that is connected to the CD-RW.
I googled and found this message about someone who has the same problem with Fedora and SATA drive on an ABIT mother board which is exactly what I have.
Sounds like a Fedora problem to me but I'm not sure...
anyway I'll try the work around that was suggested and see if it helps.
see more details at: http://linux.derkeiler.com/Mailing-L...4-01/0269.html
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.