Editing the "startup" configuration...

Asked by george_rutkay

During the Ubuntu start up (before log-in) it takes dreadfully long on my home computer (also a Dell Optiplex GX260 but a full-size model, my other one is a half-size).

I'm having an issue with how long it takes to start up (it's predominantly on the full-size model which, although it's a GX260, it has a different BIOS version from the small half-size one I use at work).

From the boot selection to login window it takes between 90 to 120 seconds.

I ran in a boot debugging mode to show the actual commands being fed to the system and what is holding it up is various USB services trying and re-trying to start up. I have some older USB hardware and I'm not going to spend $$ to change it because it still works perfectly well.

How can I get Ubuntu to stop wasting time trying to start or investigate other USB schemes or speeds? It just slows the system boot right down.

Thansk,
geo

Question information

Language:
English Edit question
Status:
Solved
For:
Ubuntu Edit question
Assignee:
No assignee Edit question
Solved by:
Cesare Tirabassi
Solved:
Last query:
Last reply:
Revision history for this message
- (a--deactivatedaccount) said :
#1

Have you flashed your BIOS with the lastest firmware from dell?

Can you go through your BIOS and see if anything is enabled that should not be.

Post results of dmesg (run from gnome-terminal)

also a very handy program

sudo apt-get install bootchart

it will log your startup process and put a picture in /var/log/bootchart

you can open the pic with

eog pic.png for example..

it will show you what's stalling the system.

Revision history for this message
george_rutkay (yaktur) said :
#2

Yup, I checked on Dell's website and ran the updater from XP - my BIOS is alread as upgraded as it's going to get.

Physical description of my system:

I have an external USB hub (it's an older one with 7 ports) and my optical mouse, two printers (HP Laserjet 3500 and Epson Picturemate) and Umax Astra 2100U flatbed scanner all tie into it.

My Microsoft VW-1000 webcam goes right to the computer for speed.

The Ethernet port goes to a D-Link router which shared the connection with another computer in the house.

Here is the result of dmesg:

geo@geo-desktop:~$ dmesg

[ 0.000000] Linux version 2.6.20-16-generic (root@terranova) (gcc version 4.1.2 (Ubuntu 4.1.2-0ubuntu4)) #2 SMP Thu Jun 7 20:19:32 UTC 2007 (Ubuntu 2.6.20-16.29-generic)
[ 0.000000] BIOS-provided physical RAM map:
[ 0.000000] sanitize start
[ 0.000000] sanitize end
[ 0.000000] copy_e820_map() start: 0000000000000000 size: 00000000000a0000 end: 00000000000a0000 type: 1
[ 0.000000] copy_e820_map() type is E820_RAM
[ 0.000000] copy_e820_map() start: 00000000000f0000 size: 0000000000010000 end: 0000000000100000 type: 2
[ 0.000000] copy_e820_map() start: 0000000000100000 size: 000000003f671000 end: 000000003f771000 type: 1
[ 0.000000] copy_e820_map() type is E820_RAM
[ 0.000000] copy_e820_map() start: 000000003f771000 size: 0000000000002000 end: 000000003f773000 type: 4
[ 0.000000] copy_e820_map() start: 000000003f773000 size: 0000000000021000 end: 000000003f794000 type: 3
[ 0.000000] copy_e820_map() start: 000000003f794000 size: 000000000006c000 end: 000000003f800000 type: 2
[ 0.000000] copy_e820_map() start: 00000000fec00000 size: 0000000000010000 end: 00000000fec10000 type: 2
[ 0.000000] copy_e820_map() start: 00000000fee00000 size: 0000000000010000 end: 00000000fee10000 type: 2
[ 0.000000] copy_e820_map() start: 00000000ffb00000 size: 0000000000500000 end: 0000000100000000 type: 2
[ 0.000000] BIOS-e820: 0000000000000000 - 00000000000a0000 (usable)
[ 0.000000] BIOS-e820: 00000000000f0000 - 0000000000100000 (reserved)
[ 0.000000] BIOS-e820: 0000000000100000 - 000000003f771000 (usable)
[ 0.000000] BIOS-e820: 000000003f771000 - 000000003f773000 (ACPI NVS)
[ 0.000000] BIOS-e820: 000000003f773000 - 000000003f794000 (ACPI data)
[ 0.000000] BIOS-e820: 000000003f794000 - 000000003f800000 (reserved)
[ 0.000000] BIOS-e820: 00000000fec00000 - 00000000fec10000 (reserved)
[ 0.000000] BIOS-e820: 00000000fee00000 - 00000000fee10000 (reserved)
[ 0.000000] BIOS-e820: 00000000ffb00000 - 0000000100000000 (reserved)
[ 0.000000] 119MB HIGHMEM available.
[ 0.000000] 896MB LOWMEM available.
[ 0.000000] found SMP MP-table at 000fe710
[ 0.000000] Entering add_active_range(0, 0, 259953) 0 entries of 256 used
[ 0.000000] Zone PFN ranges:
[ 0.000000] DMA 0 -> 4096
[ 0.000000] Normal 4096 -> 229376
[ 0.000000] HighMem 229376 -> 259953
[ 0.000000] early_node_map[1] active PFN ranges
[ 0.000000] 0: 0 -> 259953
[ 0.000000] On node 0 totalpages: 259953
[ 0.000000] DMA zone: 32 pages used for memmap
[ 0.000000] DMA zone: 0 pages reserved
[ 0.000000] DMA zone: 4064 pages, LIFO batch:0
[ 0.000000] Normal zone: 1760 pages used for memmap
[ 0.000000] Normal zone: 223520 pages, LIFO batch:31
[ 0.000000] HighMem zone: 238 pages used for memmap
[ 0.000000] HighMem zone: 30339 pages, LIFO batch:7
[ 0.000000] DMI 2.3 present.
[ 0.000000] ACPI: RSDP (v000 DELL ) @ 0x000feba0
[ 0.000000] ACPI: RSDT (v001 DELL GX260 0x00000009 ASL 0x00000061) @ 0x000fd509
[ 0.000000] ACPI: FADT (v001 DELL GX260 0x00000009 ASL 0x00000061) @ 0x000fd541
[ 0.000000] ACPI: SSDT (v001 DELL st_ex 0x00001000 MSFT 0x0100000d) @ 0xfffdad73
[ 0.000000] ACPI: MADT (v001 DELL GX260 0x00000009 ASL 0x00000061) @ 0x000fd5b5
[ 0.000000] ACPI: BOOT (v001 DELL GX260 0x00000009 ASL 0x00000061) @ 0x000fd621
[ 0.000000] ACPI: ASF! (v016 DELL GX260 0x00000009 ASL 0x00000061) @ 0x000fd649
[ 0.000000] ACPI: DSDT (v001 DELL dt_ex 0x00001000 MSFT 0x0100000d) @ 0x00000000
[ 0.000000] ACPI: PM-Timer IO Port: 0x808
[ 0.000000] ACPI: Local APIC address 0xfee00000
[ 0.000000] ACPI: LAPIC (acpi_id[0x01] lapic_id[0x00] enabled)
[ 0.000000] Processor #0 15:2 APIC version 20
[ 0.000000] ACPI: LAPIC (acpi_id[0x02] lapic_id[0x01] disabled)
[ 0.000000] ACPI: LAPIC (acpi_id[0x03] lapic_id[0x01] disabled)
[ 0.000000] ACPI: LAPIC (acpi_id[0x04] lapic_id[0x07] disabled)
[ 0.000000] ACPI: IOAPIC (id[0x08] address[0xfec00000] gsi_base[0])
[ 0.000000] IOAPIC[0]: apic_id 8, version 32, address 0xfec00000, GSI 0-23
[ 0.000000] ACPI: INT_SRC_OVR (bus 0 bus_irq 0 global_irq 2 dfl dfl)
[ 0.000000] ACPI: INT_SRC_OVR (bus 0 bus_irq 9 global_irq 9 high level)
[ 0.000000] ACPI: IRQ0 used by override.
[ 0.000000] ACPI: IRQ2 used by override.
[ 0.000000] ACPI: IRQ9 used by override.
[ 0.000000] Enabling APIC mode: Flat. Using 1 I/O APICs
[ 0.000000] Using ACPI (MADT) for SMP configuration information
[ 0.000000] Allocating PCI resources starting at 40000000 (gap: 3f800000:bf400000)
[ 0.000000] Detected 2524.014 MHz processor.
[ 9.933690] Built 1 zonelists. Total pages: 257923
[ 9.933696] Kernel command line: root=UUID=f153dbc3-00b0-478d-ad55-1df22866e768 ro quiet splash
[ 9.933867] mapped APIC to ffffd000 (fee00000)
[ 9.933870] mapped IOAPIC to ffffc000 (fec00000)
[ 9.933874] Enabling fast FPU save and restore... done.
[ 9.933877] Enabling unmasked SIMD FPU exception support... done.
[ 9.933890] Initializing CPU#0
[ 9.933995] PID hash table entries: 4096 (order: 12, 16384 bytes)
[ 9.935628] Console: colour VGA+ 80x25
[ 9.936529] Dentry cache hash table entries: 131072 (order: 7, 524288 bytes)
[ 9.937450] Inode-cache hash table entries: 65536 (order: 6, 262144 bytes)
[ 9.966204] Memory: 1019628k/1039812k available (1992k kernel code, 19412k reserved, 900k data, 328k init, 122308k highmem)
[ 9.966216] virtual kernel memory layout:
[ 9.966218] fixmap : 0xfff4e000 - 0xfffff000 ( 708 kB)
[ 9.966219] pkmap : 0xff800000 - 0xffc00000 (4096 kB)
[ 9.966220] vmalloc : 0xf8800000 - 0xff7fe000 ( 111 MB)
[ 9.966221] lowmem : 0xc0000000 - 0xf8000000 ( 896 MB)
[ 9.966222] .init : 0xc03d9000 - 0xc042b000 ( 328 kB)
[ 9.966223] .data : 0xc02f2374 - 0xc03d36d4 ( 900 kB)
[ 9.966224] .text : 0xc0100000 - 0xc02f2374 (1992 kB)
[ 9.966228] Checking if this processor honours the WP bit even in supervisor mode... Ok.
[ 10.045812] Calibrating delay using timer specific routine.. 5052.22 BogoMIPS (lpj=10104449)
[ 10.045872] Security Framework v1.0.0 initialized
[ 10.045889] SELinux: Disabled at boot.
[ 10.045910] Mount-cache hash table entries: 512
[ 10.046130] CPU: After generic identify, caps: bfebfbff 00000000 00000000 00000000 00004400 00000000 00000000
[ 10.046146] CPU: Trace cache: 12K uops, L1 D cache: 8K
[ 10.046149] CPU: L2 cache: 512K
[ 10.046151] CPU: Hyper-Threading is disabled
[ 10.046154] CPU: After all inits, caps: bfebfbff 00000000 00000000 00003080 00004400 00000000 00000000
[ 10.046169] Compat vDSO mapped to ffffe000.
[ 10.046176] Remapping vsyscall page to ffffe000
[ 10.046193] Checking 'hlt' instruction... OK.
[ 10.061965] SMP alternatives: switching to UP code
[ 10.062354] Freeing SMP alternatives: 11k freed
[ 10.062597] Early unpacking initramfs... done
[ 10.368731] ACPI: Core revision 20060707
[ 10.373164] ACPI: Looking for DSDT in initramfs... file /DSDT.aml not found, using machine DSDT.
[ 10.396882] CPU0: Intel(R) Pentium(R) 4 CPU 2.53GHz stepping 07
[ 10.396923] Total of 1 processors activated (5052.22 BogoMIPS).
[ 10.397061] ENABLING IO-APIC IRQs
[ 10.397263] ..TIMER: vector=0x31 apic1=0 pin1=2 apic2=-1 pin2=-1
[ 10.541019] Brought up 1 CPUs
[ 10.541290] Booting paravirtualized kernel on bare hardware
[ 10.541378] Time: 21:31:03 Date: 06/16/107
[ 10.541414] NET: Registered protocol family 16
[ 10.541527] EISA bus registered
[ 10.541533] ACPI: bus type pci registered
[ 10.560104] PCI: PCI BIOS revision 2.10 entry at 0xfbdea, last bus=1
[ 10.560106] PCI: Using configuration type 1
[ 10.560108] Setting up standard PCI resources
[ 10.647041] ACPI: Interpreter enabled
[ 10.647045] ACPI: Using IOAPIC for interrupt routing
[ 10.651443] ACPI: PCI Root Bridge [PCI0] (0000:00)
[ 10.651453] PCI: Probing PCI hardware (bus 00)
[ 10.651474] ACPI: Assume root bridge [\_SB_.PCI0] bus is 0
[ 10.652670] Boot video device is 0000:00:02.0
[ 10.652995] * The chipset may have PM-Timer Bug. Due to workarounds for a bug,
[ 10.652997] * this clock source is slow. If you are sure your timer does not have
[ 10.652998] * this bug, please use "acpi_pm_good" to disable the workaround
[ 10.653044] PCI quirk: region 0800-087f claimed by ICH4 ACPI/GPIO/TCO
[ 10.653048] PCI quirk: region 0880-08bf claimed by ICH4 GPIO
[ 10.653339] PCI: Transparent bridge - 0000:00:1e.0
[ 10.653363] ACPI: PCI Interrupt Routing Table [\_SB_.PCI0._PRT]
[ 10.784096] ACPI: PCI Interrupt Routing Table [\_SB_.PCI0.PCI1._PRT]
[ 10.801461] ACPI: PCI Interrupt Link [LNKA] (IRQs 3 4 5 6 7 *9 10 11 12 15)
[ 10.802193] ACPI: PCI Interrupt Link [LNKB] (IRQs 3 4 5 6 7 9 10 *11 12 15)
[ 10.802922] ACPI: PCI Interrupt Link [LNKC] (IRQs 3 4 5 6 7 9 *10 11 12 15)
[ 10.803648] ACPI: PCI Interrupt Link [LNKD] (IRQs 3 4 5 6 7 9 10 *11 12 15)
[ 10.804395] ACPI: PCI Interrupt Link [LNKE] (IRQs 3 4 5 6 7 9 10 11 12 15) *0, disabled.
[ 10.805146] ACPI: PCI Interrupt Link [LNKF] (IRQs 3 4 5 6 7 9 10 11 12 15) *0, disabled.
[ 10.805894] ACPI: PCI Interrupt Link [LNKG] (IRQs 3 4 5 6 7 9 10 11 12 15) *0, disabled.
[ 10.806622] ACPI: PCI Interrupt Link [LNKH] (IRQs *3 4 5 6 7 9 10 11 12 15)
[ 10.806784] Linux Plug and Play Support v0.97 (c) Adam Belay
[ 10.806803] pnp: PnP ACPI init
[ 10.836638] pnp: PnP ACPI: found 11 devices
[ 10.836644] PnPBIOS: Disabled by ACPI PNP
[ 10.836703] PCI: Using ACPI for IRQ routing
[ 10.836706] PCI: If a device doesn't work, try "pci=routeirq". If it helps, post a report
[ 10.840927] NET: Registered protocol family 8
[ 10.840930] NET: Registered protocol family 20
[ 10.848216] pnp: 00:0a: ioport range 0x800-0x85f could not be reserved
[ 10.848220] pnp: 00:0a: ioport range 0xc00-0xc7f has been reserved
[ 10.848223] pnp: 00:0a: ioport range 0x860-0x8ff could not be reserved
[ 10.848560] PCI: Ignore bogus resource 6 [0:0] of 0000:00:02.0
[ 10.848570] PCI: Bridge: 0000:00:1e.0
[ 10.848573] IO window: e000-efff
[ 10.848580] MEM window: ff800000-ff9fffff
[ 10.848584] PREFETCH window: disabled.
[ 10.848600] PCI: Setting latency timer of device 0000:00:1e.0 to 64
[ 10.848635] NET: Registered protocol family 2
[ 10.884486] IP route cache hash table entries: 32768 (order: 5, 131072 bytes)
[ 10.884759] TCP established hash table entries: 131072 (order: 8, 1048576 bytes)
[ 10.886115] TCP bind hash table entries: 65536 (order: 7, 524288 bytes)
[ 10.886982] TCP: Hash tables configured (established 131072 bind 65536)
[ 10.886989] TCP reno registered
[ 10.896578] checking if image is initramfs... it is
[ 11.499217] Freeing initrd memory: 6783k freed
[ 11.499523] Simple Boot Flag value 0x87 read from CMOS RAM was invalid
[ 11.499526] Simple Boot Flag at 0x7a set to 0x1
[ 11.499808] audit: initializing netlink socket (disabled)
[ 11.499828] audit(1184621463.652:1): initialized
[ 11.499933] highmem bounce pool size: 64 pages
[ 11.500020] VFS: Disk quotas dquot_6.5.1
[ 11.500046] Dquot-cache hash table entries: 1024 (order 0, 4096 bytes)
[ 11.500113] io scheduler noop registered
[ 11.500116] io scheduler anticipatory registered
[ 11.500119] io scheduler deadline registered
[ 11.500130] io scheduler cfq registered (default)
[ 11.500436] isapnp: Scanning for PnP cards...
[ 11.853998] isapnp: No Plug & Play device found
[ 11.884076] Real Time Clock Driver v1.12ac
[ 11.884130] Serial: 8250/16550 driver $Revision: 1.90 $ 4 ports, IRQ sharing enabled
[ 11.884265] serial8250: ttyS0 at I/O 0x3f8 (irq = 4) is a 16550A
[ 11.885141] 00:08: ttyS0 at I/O 0x3f8 (irq = 4) is a 16550A
[ 11.885432] mice: PS/2 mouse device common for all mice
[ 11.886088] RAMDISK driver initialized: 16 RAM disks of 65536K size 1024 blocksize
[ 11.886393] input: Macintosh mouse button emulation as /class/input/input0
[ 11.886433] Uniform Multi-Platform E-IDE driver Revision: 7.00alpha2
[ 11.886438] ide: Assuming 33MHz system bus speed for PIO modes; override with idebus=xx
[ 11.886799] PNP: PS/2 Controller [PNP0303:KBD] at 0x60,0x64 irq 1
[ 11.886802] PNP: PS/2 controller doesn't have AUX irq; using default 12
[ 11.889952] serio: i8042 KBD port at 0x60,0x64 irq 1
[ 11.889960] serio: i8042 AUX port at 0x60,0x64 irq 12
[ 11.890143] EISA: Probing bus 0 at eisa.0
[ 11.890181] EISA: Detected 0 cards.
[ 11.920247] TCP cubic registered
[ 11.920256] NET: Registered protocol family 1
[ 11.920286] Using IPI No-Shortcut mode
[ 11.920367] ACPI: (supports S0 S1 S4 S5)
[ 11.920416] Magic number: 15:912:550
[ 11.921065] Freeing unused kernel memory: 328k freed
[ 11.922637] Time: tsc clocksource has been installed.
[ 11.939996] input: AT Translated Set 2 keyboard as /class/input/input1
[ 13.180262] Capability LSM initialized
[ 13.226322] ACPI Exception (acpi_processor-0677): AE_NOT_FOUND, Processor Device is not present [20060707]
[ 13.846477] usbcore: registered new interface driver usbfs
[ 13.846511] usbcore: registered new interface driver hub
[ 13.846538] usbcore: registered new device driver usb
[ 13.847675] USB Universal Host Controller Interface driver v3.0
[ 13.847737] ACPI: PCI Interrupt 0000:00:1d.0[A] -> GSI 16 (level, low) -> IRQ 16
[ 13.847751] PCI: Setting latency timer of device 0000:00:1d.0 to 64
[ 13.847755] uhci_hcd 0000:00:1d.0: UHCI Host Controller
[ 13.847912] uhci_hcd 0000:00:1d.0: new USB bus registered, assigned bus number 1
[ 13.847940] uhci_hcd 0000:00:1d.0: irq 16, io base 0x0000ff80
[ 13.848072] usb usb1: configuration #1 chosen from 1 choice
[ 13.848102] hub 1-0:1.0: USB hub found
[ 13.848113] hub 1-0:1.0: 2 ports detected
[ 13.924437] Intel(R) PRO/1000 Network Driver - version 7.3.15-k2-NAPI
[ 13.924442] Copyright (c) 1999-2006 Intel Corporation.
[ 13.955230] ACPI: PCI Interrupt 0000:00:1d.1[B] -> GSI 19 (level, low) -> IRQ 17
[ 13.955245] PCI: Setting latency timer of device 0000:00:1d.1 to 64
[ 13.955249] uhci_hcd 0000:00:1d.1: UHCI Host Controller
[ 13.955272] uhci_hcd 0000:00:1d.1: new USB bus registered, assigned bus number 2
[ 13.955301] uhci_hcd 0000:00:1d.1: irq 17, io base 0x0000ff60
[ 13.955406] usb usb2: configuration #1 chosen from 1 choice
[ 13.955434] hub 2-0:1.0: USB hub found
[ 13.955445] hub 2-0:1.0: 2 ports detected
[ 14.050774] Floppy drive(s): fd0 is 1.44M
[ 14.062981] ACPI: PCI Interrupt 0000:00:1d.2[C] -> GSI 18 (level, low) -> IRQ 18
[ 14.062996] PCI: Setting latency timer of device 0000:00:1d.2 to 64
[ 14.063000] uhci_hcd 0000:00:1d.2: UHCI Host Controller
[ 14.063028] uhci_hcd 0000:00:1d.2: new USB bus registered, assigned bus number 3
[ 14.063057] uhci_hcd 0000:00:1d.2: irq 18, io base 0x0000ff40
[ 14.063163] usb usb3: configuration #1 chosen from 1 choice
[ 14.063192] hub 3-0:1.0: USB hub found
[ 14.063201] hub 3-0:1.0: 2 ports detected
[ 14.068892] FDC 0 is a post-1991 82077
[ 14.180534] SCSI subsystem initialized
[ 14.186504] libata version 2.20 loaded.
[ 14.188158] ata_piix 0000:00:1f.1: version 2.10ac1
[ 14.188175] PCI: Enabling device 0000:00:1f.1 (0005 -> 0007)
[ 14.188183] ACPI: PCI Interrupt 0000:00:1f.1[A] -> GSI 18 (level, low) -> IRQ 18
[ 14.188203] PCI: Setting latency timer of device 0000:00:1f.1 to 64
[ 14.188271] ata1: PATA max UDMA/100 cmd 0x000101f0 ctl 0x000103f6 bmdma 0x0001ffa0 irq 14
[ 14.188311] ata2: PATA max UDMA/100 cmd 0x00010170 ctl 0x00010376 bmdma 0x0001ffa8 irq 15
[ 14.188334] scsi0 : ata_piix
[ 14.198581] usb 1-2: new full speed USB device using uhci_hcd and address 2
[ 14.358864] ata1.00: ata_hpa_resize 1: sectors = 78125000, hpa_sectors = 78125000
[ 14.358869] ata1.00: ATA-6: IC35L060AVV207-0, V22OA66A, max UDMA/100
[ 14.358872] ata1.00: 78125000 sectors, multi 8: LBA48
[ 14.369079] usb 1-2: configuration #1 chosen from 1 choice
[ 14.370895] ata1.00: ata_hpa_resize 1: sectors = 78125000, hpa_sectors = 78125000
[ 14.370901] ata1.00: configured for UDMA/100
[ 14.370919] scsi1 : ata_piix
[ 14.613831] usb 2-1: new full speed USB device using uhci_hcd and address 2
[ 14.693896] ata2.00: ATAPI, max UDMA/33
[ 14.770878] usb 2-1: configuration #1 chosen from 1 choice
[ 14.773843] hub 2-1:1.0: USB hub found
[ 14.776788] hub 2-1:1.0: 7 ports detected
[ 15.118119] usb 2-1.4: new low speed USB device using uhci_hcd and address 3
[ 15.276913] usb 2-1.4: configuration #1 chosen from 1 choice
[ 15.509365] usb 2-1.5: new full speed USB device using uhci_hcd and address 4
[ 15.627247] usb 2-1.5: configuration #1 chosen from 1 choice
[ 15.635156] usbcore: registered new interface driver hiddev
[ 15.668210] input: HID 04d9:048e as /class/input/input2
[ 15.668236] input: USB HID v1.10 Mouse [HID 04d9:048e] on usb-0000:00:1d.1-1.4
[ 15.668253] usbcore: registered new interface driver usbhid
[ 15.668258] drivers/usb/input/hid-core.c: v2.6:USB HID core driver
[ 44.645080] ata2.00: qc timeout (cmd 0xef)
[ 44.645091] ata2.00: failed to set xfermode (err_mask=0x4)
[ 44.645096] ata2: failed to recover some devices, retrying in 5 secs
[ 79.911114] ata2.00: qc timeout (cmd 0xef)
[ 79.911124] ata2.00: failed to set xfermode (err_mask=0x4)
[ 79.911131] ata2.00: limiting speed to UDMA/33:PIO3
[ 79.911134] ata2: failed to recover some devices, retrying in 5 secs
[ 115.173149] ata2.00: qc timeout (cmd 0xef)
[ 115.173159] ata2.00: failed to set xfermode (err_mask=0x4)
[ 115.173164] ata2.00: disabled
[ 115.676392] scsi 0:0:0:0: Direct-Access ATA IC35L060AVV207-0 V22O PQ: 0 ANSI: 5
[ 115.695999] ACPI: PCI Interrupt 0000:01:0c.0[A] -> GSI 18 (level, low) -> IRQ 18
[ 115.696064] ACPI: PCI Interrupt 0000:00:1d.7[D] -> GSI 23 (level, low) -> IRQ 19
[ 115.696074] PCI: Setting latency timer of device 0000:00:1d.7 to 64
[ 115.696078] ehci_hcd 0000:00:1d.7: EHCI Host Controller
[ 115.696343] ehci_hcd 0000:00:1d.7: new USB bus registered, assigned bus number 4
[ 115.696388] ehci_hcd 0000:00:1d.7: debug port 1
[ 115.696395] PCI: cache line size of 128 is not supported by device 0000:00:1d.7
[ 115.696407] ehci_hcd 0000:00:1d.7: irq 19, io mem 0xffa00800
[ 115.700287] ehci_hcd 0000:00:1d.7: USB 2.0 started, EHCI 1.00, driver 10 Dec 2004
[ 115.700891] usb usb4: configuration #1 chosen from 1 choice
[ 115.701107] hub 4-0:1.0: USB hub found
[ 115.701124] hub 4-0:1.0: 6 ports detected
[ 115.712234] SCSI device sda: 78125000 512-byte hdwr sectors (40000 MB)
[ 115.713310] sda: Write Protect is off
[ 115.713314] sda: Mode Sense: 00 3a 00 00
[ 115.713347] SCSI device sda: write cache: enabled, read cache: enabled, doesn't support DPO or FUA
[ 115.713419] SCSI device sda: 78125000 512-byte hdwr sectors (40000 MB)
[ 115.713431] sda: Write Protect is off
[ 115.713433] sda: Mode Sense: 00 3a 00 00
[ 115.713452] SCSI device sda: write cache: enabled, read cache: enabled, doesn't support DPO or FUA
[ 115.713456] sda:<6>e1000: 0000:01:0c.0: e1000_probe: (PCI:33MHz:32-bit) 00:08:74:a8:b1:f1
[ 115.970585] usb 1-2: USB disconnect, address 2
[ 115.975232] sda1 sda2 sda3
[ 115.991784] sd 0:0:0:0: Attached scsi disk sda
[ 115.996325] sd 0:0:0:0: Attached scsi generic sg0 type 0
[ 116.009253] e1000: eth0: e1000_probe: Intel(R) PRO/1000 Network Connection
[ 116.103520] usb 2-1: USB disconnect, address 2
[ 116.103526] usb 2-1.4: USB disconnect, address 3
[ 116.103764] usb 2-1.5: USB disconnect, address 4
[ 116.212487] Attempting manual resume
[ 116.212491] swsusp: Resume From Partition 8:3
[ 116.212493] PM: Checking swsusp image.
[ 116.212744] PM: Resume from disk failed.
[ 116.248390] kjournald starting. Commit interval 5 seconds
[ 116.248405] EXT3-fs: mounted filesystem with ordered data mode.
[ 116.838214] usb 1-2: new full speed USB device using uhci_hcd and address 3
[ 117.000831] usb 1-2: configuration #1 chosen from 1 choice
[ 117.241510] usb 2-1: new full speed USB device using uhci_hcd and address 5
[ 117.395071] usb 2-1: configuration #1 chosen from 1 choice
[ 117.397997] hub 2-1:1.0: USB hub found
[ 117.400961] hub 2-1:1.0: 7 ports detected
[ 117.718358] usb 2-1.4: new low speed USB device using uhci_hcd and address 6
[ 117.869156] usb 2-1.4: configuration #1 chosen from 1 choice
[ 117.907106] input: HID 04d9:048e as /class/input/input3
[ 117.907131] input: USB HID v1.10 Mouse [HID 04d9:048e] on usb-0000:00:1d.1-1.4
[ 118.109609] usb 2-1.5: new full speed USB device using uhci_hcd and address 7
[ 118.219490] usb 2-1.5: configuration #1 chosen from 1 choice
[ 125.303695] e1000: eth0: e1000_watchdog: NIC Link is Up 100 Mbps Full Duplex
[ 127.129092] i810_smbus 0000:00:02.0: i810/i815 i2c device found.
[ 127.285447] iTCO_vendor_support: vendor-support=0
[ 127.287278] iTCO_wdt: Intel TCO WatchDog Timer Driver v1.01 (11-Nov-2006)
[ 127.287377] iTCO_wdt: failed to reset NO_REBOOT flag, reboot disabled by hardware
[ 127.287383] iTCO_wdt: No card detected
[ 127.314409] pci_hotplug: PCI Hot Plug PCI Core version: 0.5
[ 127.316596] shpchp: Standard Hot Plug PCI Controller Driver version: 0.4
[ 127.326365] intel_rng: FWH not detected
[ 127.597745] Linux agpgart interface v0.102 (c) Dave Jones
[ 127.696181] input: PC Speaker as /class/input/input4
[ 127.715641] agpgart: Detected an Intel 845G Chipset.
[ 127.715757] agpgart: Detected 8060K stolen memory.
[ 127.729368] agpgart: AGP aperture is 128M @ 0xf0000000
[ 128.212279] parport: PnPBIOS parport detected.
[ 128.212336] parport0: PC-style at 0x378 (0x778), irq 7, using FIFO [PCSPP,TRISTATE,COMPAT,ECP]
[ 128.250356] Linux video capture interface: v2.00
[ 128.374693] ubuntu/media/gspcav1/gspca_core.c: USB SPCA5XX camera found. SONIX JPEG (sn9c1xx)
[ 128.375455] usbcore: registered new interface driver gspca
[ 128.375460] ubuntu/media/gspcav1/gspca_core.c: gspca driver 01.00.12 registered
[ 128.632918] usbcore: registered new interface driver snd-usb-audio
[ 128.640024] ACPI: PCI Interrupt 0000:00:1f.5[B] -> GSI 17 (level, low) -> IRQ 20
[ 128.640059] PCI: Setting latency timer of device 0000:00:1f.5 to 64
[ 128.952912] intel8x0_measure_ac97_clock: measured 54147 usecs
[ 128.952916] intel8x0: clocking to 48000
[ 129.092651] fuse init (API version 7.8)
[ 129.114758] lp0: using parport0 (interrupt-driven).
[ 129.152456] Adding 1052248k swap on /dev/disk/by-uuid/214a01d4-9a19-444b-8cf1-136d6bd08b17. Priority:-1 extents:1 across:1052248k
[ 129.284646] EXT3 FS on sda2, internal journal
[ 129.524768] NTFS driver 2.1.28 [Flags: R/O MODULE].
[ 129.592206] NTFS volume version 3.1.
[ 130.980347] NET: Registered protocol family 17
[ 135.056960] No dock devices found.
[ 135.137794] input: Power Button (FF) as /class/input/input5
[ 135.142697] ACPI: Power Button (FF) [PWRF]
[ 135.179582] input: Power Button (CM) as /class/input/input6
[ 135.184345] ACPI: Power Button (CM) [VBTN]
[ 135.251797] Using specific hotkey driver
[ 135.360397] ibm_acpi: ec object not found
[ 135.503079] pcc_acpi: loading...
[ 139.078238] [drm] Initialized drm 1.1.0 20060810
[ 139.109085] ACPI: PCI Interrupt 0000:00:02.0[A] -> GSI 16 (level, low) -> IRQ 16
[ 139.112097] [drm] Initialized i915 1.6.0 20060119 on minor 0
[ 139.166405] ppdev: user-space parallel port driver
[ 140.242706] apm: BIOS version 1.2 Flags 0x03 (Driver version 1.16ac)
[ 140.242713] apm: overridden by ACPI.
[ 140.591638] ip_tables: (C) 2000-2006 Netfilter Core Team
[ 140.671639] Netfilter messages via NETLINK v0.30.
[ 140.687230] nf_conntrack version 0.5.0 (8123 buckets, 64984 max)
[ 150.992496] NET: Registered protocol family 10
[ 150.992614] lo: Disabled Privacy Extensions
[ 161.707361] eth0: no IPv6 routers present
geo@geo-desktop:~$

Revision history for this message
george_rutkay (yaktur) said :
#3

Please note: I ran the startup kernel in (I guess you could call it) 'debug mode' because it would show you what was happening behind the scenes.

Where the computer was bogging down was at:

[ 15.668253] usbcore: registered new interface driver usbhid
[ 15.668258] drivers/usb/input/hid-core.c: v2.6:USB HID core driver
[ 44.645080] ata2.00: qc timeout (cmd 0xef)
[ 44.645091] ata2.00: failed to set xfermode (err_mask=0x4)
[ 44.645096] ata2: failed to recover some devices, retrying in 5 secs
[ 79.911114] ata2.00: qc timeout (cmd 0xef)
[ 79.911124] ata2.00: failed to set xfermode (err_mask=0x4)
[ 79.911131] ata2.00: limiting speed to UDMA/33:PIO3
[ 79.911134] ata2: failed to recover some devices, retrying in 5 secs
[ 115.173149] ata2.00: qc timeout (cmd 0xef)
[ 115.173159] ata2.00: failed to set xfermode (err_mask=0x4)
[ 115.173164] ata2.00: disabled

Revision history for this message
Cesare Tirabassi (norsetto) said :
#4

Seems to be a bug in 2.6.20:

http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=402533
https://bugs.launchpad.net/ubuntu/+bug/109130

Some users report that adding the irqpoll option to the kernel solves the problem for them.

Revision history for this message
george_rutkay (yaktur) said :
#5

So how do I add irqpoll? I can't find it in the Synaptic Package manager or under Applications/Add\Remove?

How do I implement this please?

Revision history for this message
Cesare Tirabassi (norsetto) said :
#6

You have to edit your /boot/grub/menu.lst file, adding this option to the kernel line.
Like:

before:

kernel /boot/vmlinuz-2.6.20-16-lowlatency root=/dev/hda ro quiet splash

after:

kernel /boot/vmlinuz-2.6.20-16-lowlatency root=/dev/hda ro quiet splash irqpoll

You must do it at least for the kernel version you are using.

Revision history for this message
george_rutkay (yaktur) said :
#7

I tried it.

I opened gnome-terminal, I logged in as super user, then I ran vim (I have gvim installed) and edited /root/grub/menu.lst to add 'irqpoll' as you showed me.

I saved the file and restarted, then when I try to start normally in the most recent kernel, it throws the machine into a kernel panic and it halts.

I could only get the machine running again through the next choice in the menu, like a recovery or debug mode.

I tried to un-do the change and save it to the file and restart but it still throws the machine into a kernel panic.

HELP!! How do I put it back so it runs without going into a kernel panic????

Revision history for this message
george_rutkay (yaktur) said :
#8

Its ok, I found there was (very cleverly) placed a back-up copy. /root/grub/menu.lst~

I opened that, did a copy and paste into /root/grub/menu.lst and that put the machine back to normal.

I compared the two before I did the paste and I did find the error that apparently caused the kernel panic, it was just one too many spaces on the space bar in some part of the text.

Wow, this is sensitive stuff!!

So I still need to figure out how to edit this properly. If I copied and pasted the contents of /root/grub/menu.lst here, could you show me exactly where to insert irqpoll?

Thanks,
geo

Revision history for this message
george_rutkay (yaktur) said :
#9

Here is the current contents of my /root/grub/menu.lst:

# menu.lst - See: grub(8), info grub, update-grub(8)
# grub-install(8), grub-floppy(8),
# grub-md5-crypt, /usr/share/doc/grub
# and /usr/share/doc/grub-doc/.

## default num
# Set the default entry to the entry number NUM. Numbering starts from 0, and
# the entry number 0 is the default if the command is not used.
#
# You can specify 'saved' instead of a number. In this case, the default entry
# is the entry saved with the command 'savedefault'.
# WARNING: If you are using dmraid do not change this entry to 'saved' or your
# array will desync and will not let you boot your system.
default 0

## timeout sec
# Set a timeout, in SEC seconds, before automatically booting the default entry
# (normally the first entry defined).
timeout 10

## hiddenmenu
# Hides the menu by default (press ESC to see the menu)
#hiddenmenu

# Pretty colours
#color cyan/blue white/blue

## password ['--md5'] passwd
# If used in the first section of a menu file, disable all interactive editing
# control (menu entry editor and command-line) and entries protected by the
# command 'lock'
# e.g. password topsecret
# password --md5 $1$gLhU0/$aW78kHK1QfV3P2b2znUoe/
# password topsecret

#
# examples
#
# title Windows 95/98/NT/2000
# root (hd0,0)
# makeactive
# chainloader +1
#
# title Linux
# root (hd0,1)
# kernel /vmlinuz root=/dev/hda2 ro
#

#
# Put static boot stanzas before and/or after AUTOMAGIC KERNEL LIST

### BEGIN AUTOMAGIC KERNELS LIST
## lines between the AUTOMAGIC KERNELS LIST markers will be modified
## by the debian update-grub script except for the default options below

## DO NOT UNCOMMENT THEM, Just edit them to your needs

## ## Start Default Options ##
## default kernel options
## default kernel options for automagic boot options
## If you want special options for specific kernels use kopt_x_y_z
## where x.y.z is kernel version. Minor versions can be omitted.
## e.g. kopt=root=/dev/hda1 ro
## kopt_2_6_8=root=/dev/hdc1 ro
## kopt_2_6_8_2_686=root=/dev/hdc2 ro
# kopt=root=UUID=4c22a155-49d7-4439-bf0b-8708ee7fe2ce ro

## Setup crashdump menu entries
## e.g. crashdump=1
# crashdump=0

## default grub root device
## e.g. groot=(hd0,0)
# groot=(hd0,7)

## should update-grub create alternative automagic boot options
## e.g. alternative=true
## alternative=false
# alternative=true

## should update-grub lock alternative automagic boot options
## e.g. lockalternative=true
## lockalternative=false
# lockalternative=false

## additional options to use with the default boot option, but not with the
## alternatives
## e.g. defoptions=vga=791 resume=/dev/hda5
# defoptions=quiet splash

## should update-grub lock old automagic boot options
## e.g. lockold=false
## lockold=true
# lockold=false

## Xen hypervisor options to use with the default Xen boot option
# xenhopt=

## Xen Linux kernel options to use with the default Xen boot option
# xenkopt=console=tty0

## altoption boot targets option
## multiple altoptions lines are allowed
## e.g. altoptions=(extra menu suffix) extra boot options
## altoptions=(recovery) single
# altoptions=(recovery mode) single

## controls how many kernels should be put into the menu.lst
## only counts the first occurence of a kernel, not the
## alternative kernel options
## e.g. howmany=all
## howmany=7
# howmany=all

## should update-grub create memtest86 boot option
## e.g. memtest86=true
## memtest86=false
# memtest86=true

## should update-grub adjust the value of the default booted system
## can be true or false
# updatedefaultentry=false

## ## End Default Options ##

title Ubuntu, kernel 2.6.20-15-generic
root (hd0,7)
kernel /boot/vmlinuz-2.6.20-15-generic root=UUID=4c22a155-49d7-4439-bf0b-8708ee7fe2ce ro quiet splash
initrd /boot/initrd.img-2.6.20-15-generic
quiet
savedefault

title Ubuntu, kernel 2.6.20-15-generic (recovery mode)
root (hd0,7)
kernel /boot/vmlinuz-2.6.20-15-generic root=UUID=4c22a155-49d7-4439-bf0b-8708ee7fe2ce ro single
initrd /boot/initrd.img-2.6.20-15-generic

title Ubuntu, memtest86+
root (hd0,7)
kernel /boot/memtest86+.bin
quiet

### END DEBIAN AUTOMAGIC KERNELS LIST

# This is a divider, added to separate the menu items below from the Debian
# ones.
title Other operating systems:
root

# This entry automatically added by the Debian installer for a non-linux OS
# on /dev/sda1
title Microsoft Windows XP Professional
root (hd0,0)
savedefault
makeactive
chainloader +1

Revision history for this message
george_rutkay (yaktur) said :
#10

It's sort-of working now....but i noticed now that from within X, if I go to System/Quit/Restart, the computer will not restart. Nothing will function, only the cursor moves but I cannot double-click on anything. To get the machine to quit X, I have to Ctrl-Alt-Backspace out of X, then it restarts.

What has happened? Please help?

This is what I modified the /boot/grub/menu.lst file to display now and it does start up much faster:

# menu.lst - See: grub(8), info grub, update-grub(8)
# grub-install(8), grub-floppy(8),
# grub-md5-crypt, /usr/share/doc/grub
# and /usr/share/doc/grub-doc/.

## default num
# Set the default entry to the entry number NUM. Numbering starts from 0, and
# the entry number 0 is the default if the command is not used.
#
# You can specify 'saved' instead of a number. In this case, the default entry
# is the entry saved with the command 'savedefault'.
# WARNING: If you are using dmraid do not change this entry to 'saved' or your
# array will desync and will not let you boot your system.
default 0

## timeout sec
# Set a timeout, in SEC seconds, before automatically booting the default entry
# (normally the first entry defined).
timeout 10

## hiddenmenu
# Hides the menu by default (press ESC to see the menu)
#hiddenmenu

# Pretty colours
#color cyan/blue white/blue

## password ['--md5'] passwd
# If used in the first section of a menu file, disable all interactive editing
# control (menu entry editor and command-line) and entries protected by the
# command 'lock'
# e.g. password topsecret
# password --md5 $1$gLhU0/$aW78kHK1QfV3P2b2znUoe/
# password topsecret

#
# examples
#
# title Windows 95/98/NT/2000
# root (hd0,0)
# makeactive
# chainloader +1
#
# title Linux
# root (hd0,1)
# kernel /vmlinuz root=/dev/hda2 ro
#

#
# Put static boot stanzas before and/or after AUTOMAGIC KERNEL LIST

### BEGIN AUTOMAGIC KERNELS LIST
## lines between the AUTOMAGIC KERNELS LIST markers will be modified
## by the debian update-grub script except for the default options below

## DO NOT UNCOMMENT THEM, Just edit them to your needs

## ## Start Default Options ##
## default kernel options
## default kernel options for automagic boot options
## If you want special options for specific kernels use kopt_x_y_z
## where x.y.z is kernel version. Minor versions can be omitted.
## e.g. kopt=root=/dev/hda1 ro
## kopt_2_6_8=root=/dev/hdc1 ro
## kopt_2_6_8_2_686=root=/dev/hdc2 ro
# kopt=root=UUID=4c22a155-49d7-4439-bf0b-8708ee7fe2ce ro

## Setup crashdump menu entries
## e.g. crashdump=1
# crashdump=0

## default grub root device
## e.g. groot=(hd0,0)
# groot=(hd0,7)

## should update-grub create alternative automagic boot options
## e.g. alternative=true
## alternative=false
# alternative=true

## should update-grub lock alternative automagic boot options
## e.g. lockalternative=true
## lockalternative=false
# lockalternative=false

## additional options to use with the default boot option, but not with the
## alternatives
## e.g. defoptions=vga=791 resume=/dev/hda5
# defoptions=quiet splash

## should update-grub lock old automagic boot options
## e.g. lockold=false
## lockold=true
# lockold=false

## Xen hypervisor options to use with the default Xen boot option
# xenhopt=

## Xen Linux kernel options to use with the default Xen boot option
# xenkopt=console=tty0

## altoption boot targets option
## multiple altoptions lines are allowed
## e.g. altoptions=(extra menu suffix) extra boot options
## altoptions=(recovery) single
# altoptions=(recovery mode) single

## controls how many kernels should be put into the menu.lst
## only counts the first occurence of a kernel, not the
## alternative kernel options
## e.g. howmany=all
## howmany=7
# howmany=all

## should update-grub create memtest86 boot option
## e.g. memtest86=true
## memtest86=false
# memtest86=true

## should update-grub adjust the value of the default booted system
## can be true or false
# updatedefaultentry=false

## ## End Default Options ##

title Ubuntu, kernel 2.6.20-16-generic
root (hd0,7)
kernel /boot/vmlinuz-2.6.20-16-generic root=UUID=4c22a155-49d7-4439-bf0b-8708ee7fe2ce ro quiet splash irqpoll
initrd /boot/initrd.img-2.6.20-16-generic
quiet
savedefault

title Ubuntu, kernel 2.6.20-16-generic (recovery mode)
root (hd0,7)
kernel /boot/vmlinuz-2.6.20-16-generic root=UUID=4c22a155-49d7-4439-bf0b-8708ee7fe2ce ro single
initrd /boot/initrd.img-2.6.20-16-generic

title Ubuntu, memtest86+
root (hd0,7)
kernel /boot/memtest86+.bin
quiet

### END DEBIAN AUTOMAGIC KERNELS LIST

# This is a divider, added to separate the menu items below from the Debian
# ones.
title Other operating systems:
root

# This entry automatically added by the Debian installer for a non-linux OS
# on /dev/sda1
title Microsoft Windows XP Professional
root (hd0,0)
savedefault
makeactive
chainloader +1

Revision history for this message
Best Cesare Tirabassi (norsetto) said :
#11

To explain in few words what irqpoll does is not simple. I will try hoping that a kernel or hardware purist will not pass by (or he will drop down dead horrified....)
Do you know what an interrupt is? When something on your computer wants to talk to the central processor, it raises an interrupt (like knocking on the door). The cpu stops doing the dishwashing or brooming and go to see who is knocking at the door.
This is ok as long as you don't have many friends and salesmen passing by.
In your case there is unfortunately a nasty one that likes to come very often to your door, and takes up a lot of time from your cpu (fortunately only during a very peculiar phase). Be it an hardware problem or a kernel bug this is taking up time until a timer expires and then the cpu resumes it normal stuff.
irqpoll changes this mode of working; when used (almost) nobody is allowed to knock at cpu's door. Instead, the cpu goes checking from time to time to see if it has visitors.
Of course if a visitor comes while the cpu is not checking the door, and then get fed up and leaves, then the cpu will never talk to the guy (in reality the guy usually leave a note, but thats another story....).
What you are seeing is just one of the many facets (most of them hidden to you most of the time) of this type of operation.

Now, for the time being you can't have both (the short boot time and normal operations). You have to choose which is the lesser evil.
If shutdown is the only problem, you can also try by giving this command in a terminal:

sudo shutdown -r now (this will restart)
sudo shutdown -h now (this will switch off)

Revision history for this message
george_rutkay (yaktur) said :
#12

Thanks Cesare Tirabassi, that solved my question.

Revision history for this message
george_rutkay (yaktur) said :
#13

Thanks. Indeed, I have a degree in electronics engineering but my specialty is in hardware, I do understand what an interrupt is in regards to a microprocessor.

There are many facets to learn about this organized system and how to exert control and manipulate it when needed.

Thank you.

Revision history for this message
Cesare Tirabassi (norsetto) said :
#14

At least you didn't drop down dead :)