For some reason, Fedora Core 3 boot slower than normal (about 3 minutes). When I verify the log, it seems to have no problem. Here is the kernel report:
Linux version 2.6.10-1.766_FC3 (bhcompile@bugs.build.redhat.com) (gcc version 3.4.2 20041017 (Red Hat 3.4.2-6.fc3)) #1 Wed Feb 9 23:06:42 EST 2005 BIOS-provided physical RAM map: BIOS-e820: 0000000000000000 - 000000000009f800 (usable) BIOS-e820: 000000000009f800 - 00000000000a0000 (reserved) BIOS-e820: 00000000000f0000 - 0000000000100000 (reserved) BIOS-e820: 0000000000100000 - 000000001fff0000 (usable) BIOS-e820: 000000001fff0000 - 000000001fff3000 (ACPI NVS) BIOS-e820: 000000001fff3000 - 0000000020000000 (ACPI data) BIOS-e820: 00000000fec00000 - 00000000fec01000 (reserved) BIOS-e820: 00000000fee00000 - 00000000fee01000 (reserved) BIOS-e820: 00000000ffff0000 - 0000000100000000 (reserved) 0MB HIGHMEM available. 511MB LOWMEM available. Using x86 segment limits to approximate NX protection On node 0 totalpages: 131056 DMA zone: 4096 pages, LIFO batch:1 Normal zone: 126960 pages, LIFO batch:16 HighMem zone: 0 pages, LIFO batch:1 DMI 2.3 present. ACPI: RSDP (v000 GBT ) @ 0x000f6ce0 ACPI: RSDT (v001 GBT AWRDACPI 0x42302e31 AWRD 0x01010101) @ 0x1fff3000 ACPI: FADT (v001 GBT AWRDACPI 0x42302e31 AWRD 0x01010101) @ 0x1fff3040 ACPI: MADT (v001 GBT AWRDACPI 0x42302e31 AWRD 0x01010101) @ 0x1fff7640 ACPI: DSDT (v001 GBT AWRDACPI 0x00001000 MSFT 0x0100000c) @ 0x00000000 ACPI: PM-Timer IO Port: 0x4008 Built 1 zonelists Kernel command line: ro root=/dev/VolGroup00/LogVol00 rhgb quiet Initializing CPU#0 CPU 0 irqstacks, hard=c03d3000 soft=c03d2000 PID hash table entries: 2048 (order: 11, 32768 bytes) Detected 1832.295 MHz processor. Using pmtmr for high-res timesource Console: colour VGA+ 80x25 Dentry cache hash table entries: 131072 (order: 7, 524288 bytes) Inode-cache hash table entries: 65536 (order: 6, 262144 bytes) Memory: 514492k/524224k available (2045k kernel code, 9124k reserved, 655k data, 160k init, 0k highmem) Checking if this processor honours the WP bit even in supervisor mode... Ok. Calibrating delay loop... 3629.05 BogoMIPS (lpj=1814528) Security Framework v1.0.0 initialized SELinux: Initializing. SELinux: Starting in permissive mode selinux_register_security: Registering secondary module capability Capability LSM initialized as secondary Mount-cache hash table entries: 512 (order: 0, 4096 bytes) CPU: After generic identify, caps: 0383fbff c1c3fbff 00000000 00000000 CPU: After vendor identify, caps: 0383fbff c1c3fbff 00000000 00000000 CPU: L1 I Cache: 64K (64 bytes/line), D cache 64K (64 bytes/line) CPU: L2 Cache: 512K (64 bytes/line) CPU: After all inits, caps: 0383f3ff c1c3fbff 00000000 00000020 Intel machine check architecture supported. Intel machine check reporting enabled on CPU#0. CPU: AMD Athlon(tm) XP 2500+ stepping 00 Enabling fast FPU save and restore... done. Enabling unmasked SIMD FPU exception support... done. Checking 'hlt' instruction... OK. ACPI: setting ELCR to 0200 (from 0e20) checking if image is initramfs... it is Freeing initrd memory: 942k freed NET: Registered protocol family 16 PCI: PCI BIOS revision 2.10 entry at 0xfb740, last bus=1 PCI: Using configuration type 1 mtrr: v2.0 (20020519) ACPI: Subsystem revision 20041105 ACPI: Interpreter enabled ACPI: Using PIC for interrupt routing ACPI: PCI Root Bridge [PCI0] (00:00) PCI: Probing PCI hardware (bus 00) PCI: Via IRQ fixup ACPI: PCI Interrupt Routing Table [_SB_.PCI0._PRT] ACPI: PCI Interrupt Link [LNKA] (IRQs 3 4 6 7 *10 11 12) ACPI: PCI Interrupt Link [LNKB] (IRQs 3 4 6 7 10 *11 12) ACPI: PCI Interrupt Link [LNKC] (IRQs 3 4 6 7 10 *11 12) ACPI: PCI Interrupt Link [LNKD] (IRQs 3 4 6 7 10 11 12) *5 ACPI: PCI Interrupt Link [LNKE] (IRQs 3 4 6 7 10 11 12) *0, disabled. ACPI: PCI Interrupt Link [LNKF] (IRQs 3 4 6 7 10 11 12) *0, disabled. ACPI: PCI Interrupt Link [LNK0] (IRQs 3 4 6 7 10 11 12) *0, disabled. ACPI: PCI Interrupt Link [LNK1] (IRQs 3 4 6 7 10 11 12) *0, disabled. ACPI: PCI Interrupt Link [ALKA] (IRQs 20) *0, disabled. ACPI: PCI Interrupt Link [ALKB] (IRQs 21) *0, disabled. ACPI: PCI Interrupt Link [ALKC] (IRQs 22) *0, disabled. ACPI: PCI Interrupt Link [ALKD] (IRQs 23) *0, disabled. Linux Plug and Play Support v0.97 (c) Adam Belay pnp: PnP ACPI init pnp: PnP ACPI: found 13 devices usbcore: registered new driver usbfs usbcore: registered new driver hub PCI: Using ACPI for IRQ routing ** PCI interrupts are no longer routed automatically. If this ** causes a device to stop working, it is probably because the ** driver failed to call pci_enable_device(). As a temporary ** workaround, the "pci=routeirq" argument restores the old ** behavior. If this argument makes the device work again, ** please email the output of "lspci" to bjorn.helgaas@hp.com ** so I can fix the driver. pnp: 00:01: ioport range 0x4000-0x407f could not be reserved pnp: 00:01: ioport range 0x40f0-0x40ff could not be reserved pnp: 00:01: ioport range 0x5000-0x500f has been reserved apm: BIOS version 1.2 Flags 0x07 (Driver version 1.16ac) apm: overridden by ACPI. audit: initializing netlink socket (disabled) audit(1109419586.890:0): initialized Total HugeTLB memory allocated, 0 VFS: Disk quotas dquot_6.5.1 Dquot-cache hash table entries: 1024 (order 0, 4096 bytes) SELinux: Registering netfilter hooks Initializing Cryptographic API ksign: Installing public key data Loading keyring - Added public key C1E8B138ABE583F2 - User ID: Red Hat, Inc. (Kernel Module GPG key) pci_hotplug: PCI Hot Plug PCI Core version: 0.5 isapnp: Scanning for PnP cards... isapnp: No Plug & Play device found Real Time Clock Driver v1.12 Linux agpgart interface v0.100 (c) Dave Jones agpgart: Detected VIA KM400/KM400A chipset agpgart: Maximum main memory to use for agp memory: 439M agpgart: AGP aperture is 128M @ 0xe0000000 serio: i8042 AUX port at 0x60,0x64 irq 12 serio: i8042 KBD port at 0x60,0x64 irq 1 Serial: 8250/16550 driver $Revision: 1.90 $ 76 ports, IRQ sharing enabled ttyS0 at I/O 0x3f8 (irq = 4) is a 16550A ttyS1 at I/O 0x2f8 (irq = 3) is a 16550A ttyS0 at I/O 0x3f8 (irq = 4) is a 16550A ttyS1 at I/O 0x2f8 (irq = 3) is a 16550A io scheduler noop registered io scheduler anticipatory registered io scheduler deadline registered io scheduler cfq registered 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 VP_IDE: IDE controller at PCI slot 0000:00:0f.1 ACPI: PCI Interrupt Link [LNKB] enabled at IRQ 11 PCI: setting IRQ 11 as level-triggered ACPI: PCI interrupt 0000:00:0f.1[A] -> GSI 11 (level, low) -> IRQ 11 VP_IDE: chipset revision 6 VP_IDE: not 100% native mode: will probe irqs later VP_IDE: VIA vt8237 (rev 00) IDE UDMA133 controller on pci0000:00:0f.1 ide0: BM-DMA at 0xac00-0xac07, BIOS settings: hda:pio, hdb:pio ide1: BM-DMA at 0xac08-0xac0f, BIOS settings: hdc:pio, hdd:pio Probing IDE interface ide0... hda: WDC WD1200JB-00GVA0, ATA DISK drive hdb: Maxtor 6E040L0, ATA DISK drive elevator: using anticipatory as default io scheduler ide0 at 0x1f0-0x1f7,0x3f6 on irq 14 Probing IDE interface ide1... hdc: CR-48XATE, ATAPI CD/DVD-ROM drive hdd: IDE DVD-ROM 16X, ATAPI CD/DVD-ROM drive ide1 at 0x170-0x177,0x376 on irq 15 hda: max request size: 1024KiB hda: Host Protected Area detected. current capacity is 234439535 sectors (120033 MB) native capacity is 234441648 sectors (120034 MB) hda: Host Protected Area disabled. hda: 234441648 sectors (120034 MB) w/8192KiB Cache, CHS=16383/255/63, UDMA(100) hda: cache flushes supported hda: hda1 hda2 hda3 < hda5 > hdb: max request size: 128KiB hdb: Host Protected Area detected. current capacity is 80291135 sectors (41109 MB) native capacity is 80293248 sectors (41110 MB) hdb: task_no_data_intr: status=0x51 { DriveReady SeekComplete Error } hdb: task_no_data_intr: error=0x04 { DriveStatusError } ide: failed opcode was: 0x37 hdb: 80291135 sectors (41109 MB) w/2048KiB Cache, CHS=65535/16/63, UDMA(133) hdb: cache flushes supported hdb: hdb1 hdb2 hdc: ATAPI 40X CD-ROM CD-R/RW drive, 2048kB Cache, UDMA(33) Uniform CD-ROM driver Revision: 3.20 hdd: ATAPI 48X DVD-ROM drive, 512kB Cache, UDMA(33) 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 input: AT Translated Set 2 keyboard on isa0060/serio0 md: md driver 0.90.1 MAX_MD_DEVS=256, MD_SB_DISKS=27 NET: Registered protocol family 2 IP: routing cache hash table of 1024 buckets, 32Kbytes TCP: Hash tables configured (established 32768 bind 9362) Initializing IPsec netlink socket NET: Registered protocol family 1 NET: Registered protocol family 17 ACPI wakeup devices: PCI0 USB0 USB1 USB2 USB6 USB7 USB8 USB9 UAR1 ECP1 ACPI: (supports S0 S1 S4 S5) Freeing unused kernel memory: 160k freed device-mapper: 4.3.0-ioctl (2004-09-30) initialised: dm-devel@redhat.com kjournald starting. Commit interval 5 seconds EXT3-fs: mounted filesystem with ordered data mode. security: 3 users, 4 roles, 318 types, 20 bools security: 53 classes, 10781 rules SELinux: Completing initialization. SELinux: Setting up existing superblocks. SELinux: initialized (dev dm-0, type ext3), uses xattr SELinux: initialized (dev tmpfs, type tmpfs), uses transition SIDs SELinux: initialized (dev selinuxfs, type selinuxfs), uses genfs_contexts SELinux: initialized (dev mqueue, type mqueue), not configured for labeling SELinux: initialized (dev hugetlbfs, type hugetlbfs), not configured for labeling SELinux: initialized (dev devpts, type devpts), uses transition SIDs SELinux: initialized (dev eventpollfs, type eventpollfs), uses genfs_contexts SELinux: initialized (dev tmpfs, type tmpfs), uses transition SIDs SELinux: initialized (dev futexfs, type futexfs), uses genfs_contexts SELinux: initialized (dev pipefs, type pipefs), uses task SIDs SELinux: initialized (dev sockfs, type sockfs), uses task SIDs SELinux: initialized (dev proc, type proc), uses genfs_contexts SELinux: initialized (dev bdev, type bdev), uses genfs_contexts SELinux: initialized (dev rootfs, type rootfs), uses genfs_contexts SELinux: initialized (dev sysfs, type sysfs), uses genfs_contexts SELinux: initialized (dev usbfs, type usbfs), uses genfs_contexts SCSI subsystem initialized libata version 1.10 loaded. sata_via version 1.0 ACPI: PCI Interrupt Link [LNKC] enabled at IRQ 11 ACPI: PCI interrupt 0000:00:0f.0[B] -> GSI 11 (level, low) -> IRQ 11 sata_via(0000:00:0f.0): routed to hard irq line 11 ata1: SATA max UDMA/133 cmd 0x9400 ctl 0x9802 bmdma 0xA400 irq 11 ata2: SATA max UDMA/133 cmd 0x9C00 ctl 0xA002 bmdma 0xA408 irq 11 ata1: no device found (phy stat 00000000) scsi0 : sata_via ata2: no device found (phy stat 00000000) scsi1 : sata_via Floppy drive(s): fd0 is 1.44M FDC 0 is a post-1991 82077 Linux Tulip driver version 1.1.13 (May 11, 2002) ACPI: PCI interrupt 0000:00:0a.0[A] -> GSI 11 (level, low) -> IRQ 11 tulip0: MII transceiver #1 config 3100 status 7869 advertising 05e1. tulip0: MII transceiver #2 config 1000 status 786d advertising 05e1. tulip0: MII transceiver #3 config 1000 status 786d advertising 05e1. tulip0: MII transceiver #4 config 1000 status 786d advertising 05e1. divert: allocating divert_blk for eth0 eth0: ADMtek Comet rev 17 at e083c000, 00:04:5A:73:D0:B0, IRQ 11. ACPI: PCI interrupt 0000:00:11.5[C] -> GSI 11 (level, low) -> IRQ 11 PCI: Setting latency timer of device 0000:00:11.5 to 64 ACPI: PCI interrupt 0000:00:10.4[C] -> GSI 11 (level, low) -> IRQ 11 ehci_hcd 0000:00:10.4: EHCI Host Controller ehci_hcd 0000:00:10.4: irq 11, pci mem 0xeb01a000 ehci_hcd 0000:00:10.4: new USB bus registered, assigned bus number 1 ehci_hcd 0000:00:10.4: USB 2.0 initialized, EHCI 1.00, driver 26 Oct 2004 hub 1-0:1.0: USB hub found hub 1-0:1.0: 8 ports detected USB Universal Host Controller Interface driver v2.2 ACPI: PCI Interrupt Link [LNKA] enabled at IRQ 10 PCI: setting IRQ 10 as level-triggered ACPI: PCI interrupt 0000:00:10.0[A] -> GSI 10 (level, low) -> IRQ 10 uhci_hcd 0000:00:10.0: UHCI Host Controller uhci_hcd 0000:00:10.0: irq 10, io base 0xb000 uhci_hcd 0000:00:10.0: new USB bus registered, assigned bus number 2 hub 2-0:1.0: USB hub found hub 2-0:1.0: 2 ports detected ACPI: PCI interrupt 0000:00:10.1[A] -> GSI 10 (level, low) -> IRQ 10 uhci_hcd 0000:00:10.1: UHCI Host Controller uhci_hcd 0000:00:10.1: irq 10, io base 0xb400 uhci_hcd 0000:00:10.1: new USB bus registered, assigned bus number 3 hub 3-0:1.0: USB hub found hub 3-0:1.0: 2 ports detected ACPI: PCI interrupt 0000:00:10.2[B] -> GSI 11 (level, low) -> IRQ 11 uhci_hcd 0000:00:10.2: UHCI Host Controller uhci_hcd 0000:00:10.2: irq 11, io base 0xb800 uhci_hcd 0000:00:10.2: new USB bus registered, assigned bus number 4 hub 4-0:1.0: USB hub found hub 4-0:1.0: 2 ports detected ACPI: PCI interrupt 0000:00:10.3[B] -> GSI 11 (level, low) -> IRQ 11 uhci_hcd 0000:00:10.3: UHCI Host Controller uhci_hcd 0000:00:10.3: irq 11, io base 0xbc00 uhci_hcd 0000:00:10.3: new USB bus registered, assigned bus number 5 hub 5-0:1.0: USB hub found hub 5-0:1.0: 2 ports detected md: Autodetecting RAID arrays. md: autorun ... md: ... autorun DONE. usb 2-1: new full speed USB device using uhci_hcd and address 2 hub 2-1:1.0: USB hub found hub 2-1:1.0: 4 ports detected usb 2-2: new full speed USB device using uhci_hcd and address 3 drivers/usb/class/usblp.c: usblp0: USB Bidirectional printer dev 3 if 0 alt 1 proto 2 vid 0x067B pid 0x2305 usbcore: registered new driver usblp drivers/usb/class/usblp.c: v0.13: USB Printer Device Class driver usb 4-1: new low speed USB device using uhci_hcd and address 2 SELinux: initialized (dev ramfs, type ramfs), uses genfs_contexts input: USB HID v1.00 Joystick [SAITEK P880] on usb-0000:00:10.2-1 NET: Registered protocol family 10 Disabled Privacy Extensions on device c03697c0(lo) IPv6 over IPv4 tunneling driver divert: not allocating divert_blk for non-ethernet device sit0 usb 5-1: new low speed USB device using uhci_hcd and address 2 usbhid: probe of 5-1:1.0 failed with error -5 usb 2-1.1: new low speed USB device using uhci_hcd and address 4 input: USB HID v1.10 Mouse [Logitech Optical USB Mouse] on usb-0000:00:10.0-1.1 usb 2-1.4: new full speed USB device using uhci_hcd and address 5 input: Wacom Graphire2 4x5 on usb-0000:00:10.3-1 usbcore: registered new driver wacom drivers/usb/input/wacom.c: v1.30:USB Wacom Graphire and Wacom Intuos tablet driver Initializing USB Mass Storage driver... scsi2 : SCSI emulation for USB Mass Storage devices usbcore: registered new driver usb-storage USB Mass Storage support registered. usb-storage: device found at 5 usb-storage: waiting for device to settle before scanning Vendor: Generic Model: USB Storage-SMC Rev: 0090 Type: Direct-Access ANSI SCSI revision: 00 Vendor: Generic Model: USB Storage-CFC Rev: 0090 Type: Direct-Access ANSI SCSI revision: 00 Vendor: Generic Model: USB Storage-MMC Rev: 0090 Type: Direct-Access ANSI SCSI revision: 00 Vendor: Generic Model: USB Storage-MSC Rev: 0090 Type: Direct-Access ANSI SCSI revision: 00 usb-storage: device scan complete Attached scsi removable disk sda at scsi2, channel 0, id 0, lun 0 Attached scsi removable disk sdb at scsi2, channel 0, id 0, lun 1 Attached scsi removable disk sdc at scsi2, channel 0, id 0, lun 2 Attached scsi removable disk sdd at scsi2, channel 0, id 0, lun 3 ACPI: Power Button (FF) [PWRF] ibm_acpi: ec object not found EXT3 FS on dm-0, internal journal kjournald starting. Commit interval 5 seconds EXT3 FS on hdb1, internal journal EXT3-fs: mounted filesystem with ordered data mode. SELinux: initialized (dev hdb1, type ext3), uses xattr SELinux: initialized (dev tmpfs, type tmpfs), uses transition SIDs SELinux: initialized (dev hda1, type vfat), uses genfs_contexts EXT3-fs: Unrecognized mount option "umask=0" or missing value Adding 1048568k swap on /dev/VolGroup00/LogVol01. Priority:-1 extents:1 SELinux: initialized (dev binfmt_misc, type binfmt_misc), uses genfs_contexts
Anyone knows how to solve that issue?
Not long ago, luya@jpopmail.com proclaimed...
For some reason, Fedora Core 3 boot slower than normal (about 3 minutes). When I verify the log, it seems to have no problem. Here is the kernel report:
[snip snip snip snip snip...]
Anyone knows how to solve that issue?
Do you need SELinux? It is guaranteed to slow down the boot process and hinder performance in general. If you don't need it, edit the /etc/sysconfig/selinux file, disable it, and reboot.
Turn off all unneeded services as well (use system-config-services or ntsysv). The ntp service, for example, is nice, but it takes up a good 10-20 seconds of boot time synchronizing with a time sevrer.
The boot time has been an issue in the Fedora community. Developers have been working on ways to speed up boot times and it is speculated that FC4 will bear some of the fruits of that work. There's a lot that could be done. Things like ntp could be started in the background after other critical services are started, for example.
-=Fozz
On Monday 28 February 2005 05:24, Doran Barton fozz@iodynamics.com wrote:
Do you need SELinux? It is guaranteed to slow down the boot process and hinder performance in general. If you don't need it, edit the /etc/sysconfig/selinux file, disable it, and reboot.
How much has performance improved in your tests from making such a change? What hardware do you run?
My experience is that apart from some corner cases SE Linux does not have enough overhead to impact performance in any notable way and that good benchmarks are required to detect any difference.
One corner case is for a machine that is low on memory. If you load a large policy (such as the "strict" policy which incidentally is not the default for Fedora) on a machine with a small amount of memory then you may have some performance issues. On a machine with 64M of RAM and a slow hard disk the strict policy will cause some performance problems, but the targeted policy should be fine. If you have 128M or more I doubt that SE Linux will have any noticable impact.
At http://www.coker.com.au/selinux/talks/ols2003/ I have the paper I presented at OLS on running SE Linux on an iPaQ PDA. You may want to read the paper if you are concerned about the impact of SE Linux on small machines.