Slow Boot Process in a Dell XPS M1330 with Opensuse 11.2

Hi guys,

I have a Dell XPS M1330 with Opensuse 11.2 and Windows Vista Business in a dual boot hard disk.

I was using Fedora 11 before Opensuse, and it was fast and performed well. However I installed Opensuse because I like KDE 4.3 and this is the best KDE distro.

After the last kernel update my system lost initrd, I restored creating an initrd with chroot, mount and mkinitrd from a rescue disk. After first boot, I reinstalled the kernel update, so the initrd was replaced by the new one created in the update.

However, my system is very slow, I don’t know where to look for bad configuration or anything else. The boot process took 220 seconds.

Here is my bootchar,

http://g.imagehost.org/view/0146/bootchart

Thanks in advance.

what specifications do you have?

CPU: Intel(R) Core™2 Duo CPU T5750 @ 2.00GHz
Memory: 2.0 Ghz.
video card: Intel 965 GM
Operating System: openSUSE 11.2 (x86_64) with (KDE 4.3.1) “release 6”

output lspci

00:00.0 Host bridge: Intel Corporation Mobile PM965/GM965/GL960 Memory Controller Hub (rev 0c)
00:02.0 VGA compatible controller: Intel Corporation Mobile GM965/GL960 Integrated Graphics Controller (rev 0c)
00:02.1 Display controller: Intel Corporation Mobile GM965/GL960 Integrated Graphics Controller (rev 0c)
00:1a.0 USB Controller: Intel Corporation 82801H (ICH8 Family) USB UHCI Controller #4 (rev 02)
00:1a.1 USB Controller: Intel Corporation 82801H (ICH8 Family) USB UHCI Controller #5 (rev 02)
00:1a.7 USB Controller: Intel Corporation 82801H (ICH8 Family) USB2 EHCI Controller #2 (rev 02)
00:1b.0 Audio device: Intel Corporation 82801H (ICH8 Family) HD Audio Controller (rev 02)
00:1c.0 PCI bridge: Intel Corporation 82801H (ICH8 Family) PCI Express Port 1 (rev 02)
00:1c.1 PCI bridge: Intel Corporation 82801H (ICH8 Family) PCI Express Port 2 (rev 02)
00:1c.3 PCI bridge: Intel Corporation 82801H (ICH8 Family) PCI Express Port 4 (rev 02)
00:1c.5 PCI bridge: Intel Corporation 82801H (ICH8 Family) PCI Express Port 6 (rev 02)
00:1d.0 USB Controller: Intel Corporation 82801H (ICH8 Family) USB UHCI Controller #1 (rev 02)
00:1d.1 USB Controller: Intel Corporation 82801H (ICH8 Family) USB UHCI Controller #2 (rev 02)
00:1d.2 USB Controller: Intel Corporation 82801H (ICH8 Family) USB UHCI Controller #3 (rev 02)
00:1d.7 USB Controller: Intel Corporation 82801H (ICH8 Family) USB2 EHCI Controller #1 (rev 02)
00:1e.0 PCI bridge: Intel Corporation 82801 Mobile PCI Bridge (rev f2)
00:1f.0 ISA bridge: Intel Corporation 82801HEM (ICH8M) LPC Interface Controller (rev 02)
00:1f.1 IDE interface: Intel Corporation 82801HBM/HEM (ICH8M/ICH8M-E) IDE Controller (rev 02)
00:1f.2 SATA controller: Intel Corporation 82801HBM/HEM (ICH8M/ICH8M-E) SATA AHCI Controller (rev 02)
00:1f.3 SMBus: Intel Corporation 82801H (ICH8 Family) SMBus Controller (rev 02)
03:01.0 FireWire (IEEE 1394): Ricoh Co Ltd R5C832 IEEE 1394 Controller (rev 05)
03:01.1 SD Host controller: Ricoh Co Ltd R5C822 SD/SDIO/MMC/MS/MSPro Host Adapter (rev 22)
03:01.2 System peripheral: Ricoh Co Ltd R5C843 MMC Host Controller (rev 12)
03:01.3 System peripheral: Ricoh Co Ltd R5C592 Memory Stick Bus Host Adapter (rev 12)
03:01.4 System peripheral: Ricoh Co Ltd xD-Picture Card Controller (rev ff)
09:00.0 Ethernet controller: Broadcom Corporation NetLink BCM5906M Fast Ethernet PCI Express (rev 02)
0c:00.0 Network controller: Intel Corporation PRO/Wireless 3945ABG [Golan] Network Connection (rev 02)

Is it only slow on the boot?

If so press esc at boot and note the process(es) that are hanging.

The system slow down after kdm4.

Maybe is kde 4. I will check with Gnome.

Please check these posts, they might give you some hints to discover what’s going on with your system:

slow boot in opensuse 11.2 due to a hdd issue ( >4min ) - openSUSE Forums

SLOW BOOT PROBLEMS - Page 3 - openSUSE Forums

Reply with news if you were able to resolve this topic…
thanks.

<OF>

Hi again,

well I didn’t install gnome because of time, but I found a curious behavior: when I delete all files in /temp and all text file in /var/log the system boot fast, it took less than 1 minute to show the kde desktop.

On the other hand, I installed Opensuse 11.2 back in December and the system was performing well until this months, so I believe this issue come after an update, but I’m not sure.

About the other posts, I think my hd is good, no click sound, vista is running ok. However I will verify with the bios tools to check all the disk.

Here are some lines starting with <4> in boot.msg after deleting those files.

<4> 0.000000] ACPI: RSDP 00000000000fbc00 00024 (v02 DELL )
<4> 0.000000] ACPI: XSDT 000000007f66f200 00054 (v01 DELL M08 27D80C1A ASL 00000061)
<4> 0.000000] ACPI: FACP 000000007f66f09c 000F4 (v04 DELL M08 27D80C1A ASL 00000061)
<4> 0.000000] ACPI: DSDT 000000007f66f800 05733 (v02 INT430 SYSFexxx 00001001 INTL 20050624)
<4> 0.000000] ACPI: FACS 000000007f67e000 00040
<4> 0.000000] ACPI: HPET 000000007f66f300 00038 (v01 DELL M08 00000001 ASL 00000061)
<4> 0.000000] ACPI: APIC 000000007f66f400 00068 (v01 DELL M08 27D80C1A ASL 00000047)
<4> 0.000000] ACPI: MCFG 000000007f66f3c0 0003E (v16 DELL M08 27D80C1A ASL 00000061)
<4> 0.000000] ACPI: BOOT 000000007f66efc0 00028 (v01 DELL M08 27D80C1A ASL 00000061)
<4> 0.000000] ACPI: SSDT 000000007f66d9fa 004CC (v01 PmRef CpuPm 00003000 INTL 20050624)

<4> 0.000000] Zone PFN ranges:
<4> 0.000000] DMA 0x00000000 -> 0x00001000
<4> 0.000000] DMA32 0x00001000 -> 0x00100000
<4> 0.000000] Normal 0x00100000 -> 0x00100000
<4> 0.000000] Movable zone start PFN for each node
<4> 0.000000] early_node_map[3] active PFN ranges
<4> 0.000000] 0: 0x00000000 -> 0x00000001
<4> 0.000000] 0: 0x00000006 -> 0x0000009f
<4> 0.000000] 0: 0x00000100 -> 0x0007f66d

<4> 0.000000] Built 1 zonelists in Node order, mobility grouping on. Total pages: 514498
<4> 0.000000] Policy zone: DMA32

<4> 0.000000] PID hash table entries: 4096 (order: 12, 32768 bytes)

<4> 0.000000] Fast TSC calibration using PIT
<4> 0.000000] Detected 1994.939 MHz processor.
<4> 0.000119] Console: colour dummy device 80x25

<4> 0.004371] kdb version 4.4 by Keith Owens, Scott Lurndal. Copyright SGI, All Rights Reserved

<4> 0.006766] Mount-cache hash table entries: 256

<4> 0.004371] kdb version 4.4 by Keith Owens, Scott Lurndal. Copyright SGI, All Rights Reserved

<4> 0.006766] Mount-cache hash table entries: 256

<4> 0.016210] Modules linked in:
<4> 0.016215] Pid: 0, comm: swapper Not tainted 2.6.31.8-0.1-desktop #1
<4> 0.016218] Call Trace:
<4> 0.016237] <ffffffff81011a19>] try_stack_unwind+0x189/0x1b0
<4> 0.016243] <ffffffff8101025d>] dump_trace+0xad/0x3a0
<4> 0.016249] <ffffffff81011524>] show_trace_log_lvl+0x64/0x90
<4> 0.016254] <ffffffff81011573>] show_trace+0x23/0x40
<4> 0.016261] <ffffffff815524d2>] dump_stack+0x81/0x9e
<4> 0.016267] <ffffffff81056ef2>] __schedule_bug+0x92/0xa0
<4> 0.016273] <ffffffff8155340f>] thread_return+0x2a7/0x3c8
<4> 0.016279] <ffffffff81060d88>] __cond_resched+0x38/0x80
<4> 0.016284] <ffffffff815536cd>] _cond_resched+0x4d/0x60
<4> 0.016290] <ffffffff81100dfa>] generic_perform_write+0x15a/0x220
<4> 0.016296] <ffffffff81100f50>] generic_file_buffered_write+0x90/0x160
<4> 0.016301] <ffffffff8110170f>] __generic_file_aio_write_nolock+0x28f/0x4d0
<4> 0.016306] <ffffffff81101aaf>] generic_file_aio_write+0x7f/0x110
<4> 0.016312] <ffffffff8114bb12>] do_sync_write+0x102/0x160
<4> 0.016318] <ffffffff8114be98>] vfs_write+0xd8/0x1c0
<4> 0.016322] <ffffffff8114c82b>] sys_write+0x5b/0xa0
<4> 0.016330] <ffffffff819d508d>] do_copy+0x97/0xd7
<4> 0.016335] <ffffffff819d49c9>] flush_buffer+0x8c/0xc8
<4> 0.016341] <ffffffff81a01140>] gunzip+0x425/0x500
<4> 0.016346] <ffffffff819d4ed1>] unpack_to_rootfs+0x2f6/0x41b
<4> 0.016351] <ffffffff819d59e3>] populate_rootfs+0x72/0x13a
<4> 0.016356] <ffffffff819d3639>] start_kernel+0x3bf/0x3e6
<4> 0.016362] <ffffffff819d268d>] x86_64_start_reservations+0x134/0x14f
<4> 0.016367] <ffffffff819d2803>] x86_64_start_kernel+0x15b/0x17e

<4> 0.232143] Time: 12:06:02 Date: 01/13/10

<4> 0.235069] bio: create slab <bio-0> at 0

<4> 0.251709] ACPI: SSDT 000000007f67e080 00043 (v01 LMPWR DELLLOM 00001001 INTL 20050624)

<4> 0.409581] pnp 00:09: io resource (0x1000-0x1005) overlaps 0000:00:1f.0 BAR 13 (0x1000-0x107f), disabling
<4> 0.409586] pnp 00:09: io resource (0x1008-0x100f) overlaps 0000:00:1f.0 BAR 13 (0x1000-0x107f), disabling
<4> 0.409706] pnp 00:0a: io resource (0x1006-0x1007) overlaps 0000:00:1f.0 BAR 13 (0x1000-0x107f), disabling
<4> 0.409710] pnp 00:0a: io resource (0x100a-0x1059) overlaps 0000:00:1f.0 BAR 13 (0x1000-0x107f), disabling
<4> 0.409713] pnp 00:0a: io resource (0x1060-0x107f) overlaps 0000:00:1f.0 BAR 13 (0x1000-0x107f), disabling
<4> 0.409717] pnp 00:0a: io resource (0x1010-0x102f) overlaps 0000:00:1f.0 BAR 13 (0x1000-0x107f), disabling

<4> 0.517631] Console: switching to colour frame buffer device 124x44

<4> 0.703872] registered taskstats version 1
<4> 0.704082] Magic number: 10:281:127

<4> 0.909585] sda1 sda2 < sda5 sda6 sda7 sda8 >

<4> 1.013241] ACPI: SSDT 000000007f66e530 00244 (v01 PmRef Cpu0Ist 00003000 INTL 20050624)
<4> 1.013917] ACPI: SSDT 000000007f66dec6 005E5 (v01 PmRef Cpu0Cst 00003001 INTL 20050624)

<4> 1.015016] Marking TSC unstable due to TSC halts in idle

<4> 1.015578] ACPI: SSDT 000000007f66e774 000C4 (v01 PmRef Cpu1Ist 00003000 INTL 20050624)
<4> 1.016047] ACPI: SSDT 000000007f66e4ab 00085 (v01 PmRef Cpu1Cst 00003000 INTL 20050624)

<4> 5.977957] sr0: scsi3-mmc drive: 62x/62x writer cd/rw xa/form2 cdda caddy

What happens if you boot, adding ‘acpi=noacpi’ on the options line in the bootmenu?

Before that, you could set the system to clean out the /tmp folder on boot. Start Yast - System - sysconfig editor. Search for TMP and adjust value.

I fixed this issue. My steps were:

1.- Delete bootchart using yast. I did this because my system was performing really bad and top show me a 95% CPU with bootchartd.

2.- After boot, the system hanged because initrd was wrong, so I used the live CD to boot the computer and I created another initrd according to How to repair system without DVD - Page 3 - openSUSE Forums

mount /dev/sda6 /tmp/sda6
mount --bind /dev /tmp/sda6/dev
chroot /tmp/sda6
mount /proc
mount /sys
/sbin/mkinitrd

3.- I reboot the computer and create another initrd because the system was slow, maybe because swap partition was not mounted when I created initrd from CD.

/sbin/mkinitrd

4.- I reboot and the system now starts in less than 30 seconds.

So how much space did you give the root partition, Looks like root is nearly full and tmp is filling it up. This will slow a system and even worse.

Hi,

this is the output for df

df -h
Filesystem Size Used Avail Use% Mounted on
/dev/sda6 30G 4.8G 24G 18% /
udev 1000M 284K 999M 1% /dev
/dev/sda8 37G 13G 22G 38% /home
/dev/sda7 30G 5.5G 23G 20% /opt