Long delay in boot sequence to LVM2 striped array

Bug #1029546 reported by Simon Rodan
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
linux (Ubuntu)
Expired
Low
Unassigned

Bug Description

There is about a 10 second delay in the boot process before this message is generated in the demesg log:

"generic-usb 0003:1778:0204.0005: usb_submit_urb(ctrl) failed"

This is the same bug as 800313 (https://bugs.launchpad.net/ubuntu/+source/linux/+bug/800313) but apport-collect wasn't alloing me to add the requested missing log files (even after changing its staus back to New.

The problem only manifests itself when booting from my hard drives (an LVM2 striped array), and not when I boot from the SSD I installed.

ProblemType: Bug
DistroRelease: Ubuntu 12.04
Package: linux-image-3.2.0-27-generic 3.2.0-27.43
ProcVersionSignature: Ubuntu 3.2.0-27.43-generic 3.2.21
Uname: Linux 3.2.0-27-generic x86_64
AlsaVersion: Advanced Linux Sound Architecture Driver Version 1.0.24.
ApportVersion: 2.0.1-0ubuntu11
Architecture: amd64
AudioDevicesInUse:
 USER PID ACCESS COMMAND
 /dev/snd/controlC3: simon 2682 F.... pulseaudio
 /dev/snd/controlC2: simon 2682 F.... pulseaudio
 /dev/snd/controlC1: simon 2682 F.... pulseaudio
 /dev/snd/controlC0: simon 2682 F.... pulseaudio
CRDA: Error: [Errno 2] No such file or directory
Card0.Amixer.info:
 Card hw:0 'Intel'/'HDA Intel at 0xdfff8000 irq 46'
   Mixer name : 'Realtek ALC892'
   Components : 'HDA:10ec0892,10ec0892,00100302'
   Controls : 40
   Simple ctrls : 21
Card1.Amixer.info:
 Card hw:1 'Digital'/'Shure Incorporated Shure Digital at usb-0000:00:1a.1-1, full speed'
   Mixer name : 'USB Mixer'
   Components : 'USB14ed:29b6'
   Controls : 2
   Simple ctrls : 1
Card2.Amixer.info:
 Card hw:2 'U0x46d0x821'/'USB Device 0x46d:0x821 at usb-0000:00:1a.7-1.1.3, high speed'
   Mixer name : 'USB Mixer'
   Components : 'USB046d:0821'
   Controls : 2
   Simple ctrls : 1
Card2.Amixer.values:
 Simple mixer control 'Mic',0
   Capabilities: cvolume cvolume-joined cswitch cswitch-joined penum
   Capture channels: Mono
   Limits: Capture 0 - 52
   Mono: Capture 40 [77%] [-31.00dB] [on]
Card3.Amixer.info:
 Card hw:3 'Generic'/'HD-Audio Generic at 0xdfcfc000 irq 47'
   Mixer name : 'ATI R6xx HDMI'
   Components : 'HDA:1002aa01,00aa0100,00100200'
   Controls : 6
   Simple ctrls : 1
Card3.Amixer.values:
 Simple mixer control 'IEC958',0
   Capabilities: pswitch pswitch-joined penum
   Playback channels: Mono
   Mono: Playback [on]
Date: Thu Jul 26 09:33:24 2012
HibernationDevice: RESUME=UUID=c60a25f2-83c1-4631-b426-67191d6cc44f
InstallationMedia: Ubuntu 12.04 LTS "Precise Pangolin" - Release amd64 (20120425)
MachineType: Gigabyte Technology Co., Ltd. P45T-ES3G
ProcEnviron:
 TERM=xterm
 PATH=(custom, no user)
 LANG=en_US.UTF-8
 SHELL=/bin/bash
ProcFB: 0 radeondrmfb
ProcKernelCmdLine: BOOT_IMAGE=/vmlinuz root=UUID=60dac454-3edd-43c6-9f01-f3984ed19c21 quiet splash vt.handoff=7
PulseList:
 Error: command ['pacmd', 'list'] failed with exit code 1: Home directory /home/simon not ours.
 No PulseAudio daemon running, or not running as session daemon.
RelatedPackageVersions:
 linux-restricted-modules-3.2.0-27-generic N/A
 linux-backports-modules-3.2.0-27-generic N/A
 linux-firmware 1.79
RfKill:

SourcePackage: linux
UpgradeStatus: No upgrade log present (probably fresh install)
dmi.bios.date: 02/23/2011
dmi.bios.vendor: Award Software International, Inc.
dmi.bios.version: F1
dmi.board.name: P45T-ES3G
dmi.board.vendor: Gigabyte Technology Co., Ltd.
dmi.board.version: x.x
dmi.chassis.type: 3
dmi.chassis.vendor: Gigabyte Technology Co., Ltd.
dmi.modalias: dmi:bvnAwardSoftwareInternational,Inc.:bvrF1:bd02/23/2011:svnGigabyteTechnologyCo.,Ltd.:pnP45T-ES3G:pvr:rvnGigabyteTechnologyCo.,Ltd.:rnP45T-ES3G:rvrx.x:cvnGigabyteTechnologyCo.,Ltd.:ct3:cvr:
dmi.product.name: P45T-ES3G
dmi.sys.vendor: Gigabyte Technology Co., Ltd.

Revision history for this message
Simon Rodan (simon-rodan) wrote :
Brad Figg (brad-figg)
Changed in linux (Ubuntu):
status: New → Confirmed
Revision history for this message
penalvch (penalvch) wrote :

Simon Rodan, thank you for reporting this and helping make Ubuntu better. If you could also please test the latest upstream kernel available that would be great. It will allow additional upstream developers to examine the issue. Refer to https://wiki.ubuntu.com/KernelMainlineBuilds . Please do not test the kernel in the daily folder, but the one all the way at the bottom. Once you've tested the upstream kernel, please remove the 'needs-upstream-testing' tag. This can be done by clicking on the yellow pencil icon next to the tag located at the bottom of the bug description and deleting the 'needs-upstream-testing' text. As well, please comment on which kernel version specifically you tested.

If this bug is fixed in the mainline kernel, please add the following tag 'kernel-fixed-upstream'.

If the mainline kernel does not fix this bug, please add the tag: 'kernel-bug-exists-upstream'.

If you are unable to test the mainline kernel, for example it will not boot, please add the tag: 'kernel-unable-to-test-upstream', and comment as to why specifically you were unable to test it.

Please let us know your results. Thanks in advance.

Helpful Bug Reporting Links:
https://help.ubuntu.com/community/ReportingBugs#Bug_Reporting_Etiquette
https://help.ubuntu.com/community/ReportingBugs#A3._Make_sure_the_bug_hasn.27t_already_been_reported
https://help.ubuntu.com/community/ReportingBugs#Adding_Apport_Debug_Information_to_an_Existing_Launchpad_Bug
https://help.ubuntu.com/community/ReportingBugs#Adding_Additional_Attachments_to_an_Existing_Launchpad_Bug

tags: added: needs-upstream-testing
Changed in linux (Ubuntu):
importance: Undecided → Low
status: Confirmed → Incomplete
tags: added: kernel-unable-to-test-upstream
removed: amd64 apport-bug needs-upstream-testing precise
Revision history for this message
Simon Rodan (simon-rodan) wrote :

I installed the headers and kernel files for 3.5.0-030500rc7-generic but the boot process stalled.

Revision history for this message
penalvch (penalvch) wrote :

Simon Rodan, could you please test for this problem in a Quantal live CD?

tags: added: amd64 apport-bug precise
Revision history for this message
Simon Rodan (simon-rodan) wrote :

The same delay is present in the Quantel live CD (27-Jul-2012 09:43 760M Desktop CD for 64-bit PC (AMD64) computers (standard download)). The demesg log is attached.

Revision history for this message
penalvch (penalvch) wrote :

Simon Rodan, did this problem not occur in a version of Ubuntu prior to Precise?

tags: added: quantal
Revision history for this message
Simon Rodan (simon-rodan) wrote :

Here (in the next two comments) are the results for 9.04 and 10.04 (the only two back releases I've kept). Neithier exhibits the 10 second wait that 12.04 does.

Revision history for this message
Simon Rodan (simon-rodan) wrote :

The dmesg file for 9.04:

Revision history for this message
Simon Rodan (simon-rodan) wrote :

The dmesg file for 10.04:

penalvch (penalvch)
tags: added: needs-bisect regression-release
Revision history for this message
penalvch (penalvch) wrote :

Simon Rodan, ok. The next step would be to narrow down this kernel versio regression to a particular release. Once this is done, then a kernel commit bisect may occur. Could you please do this following https://wiki.ubuntu.com/Kernel/KernelBisection ?

Revision history for this message
Simon Rodan (simon-rodan) wrote :

Two updates - first I have tested older versions fo the kenel from disk (rather than from CD as above) and the problem is present in 2.6.33 and 2.6.38. Second, the problem only manifests itself when booting from my hard drives (an LVM2 striped array), and not when I boot from the SSD I installed yesterday.
In the next four posts I am uploading the demesg files:

Revision history for this message
Simon Rodan (simon-rodan) wrote :

dmesg for 2.6.33-02063320-generic

Revision history for this message
Simon Rodan (simon-rodan) wrote :

dmesg for 2.6.38-15-generic

Revision history for this message
Simon Rodan (simon-rodan) wrote :

dmesg 3.2.0-27-generic from disk (LVM striped array)

Revision history for this message
Simon Rodan (simon-rodan) wrote :

dmesg 3.2.0-27-generic from SSD

Revision history for this message
penalvch (penalvch) wrote :

Simon Rodan, ok. For now, please disregard https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1029546/comments/10 . As well, just to clarify:
+ If you run the Live CD environment of 9.04 and 10.04 this problem does not occur?
+ If you install to disk 9.04 and 10.04 and setup them up in an LVM2 striped array, this problem does occur?
+ If you install to SSD 9.04 and 10.04 this problem does not occur?

Revision history for this message
Simon Rodan (simon-rodan) wrote :

So... I'm not really sure what's happening.

I've booted from 9.04 (2.6.28-11) on CD and the problem -- "usb_submit_urb(ctrl) failed" -- is there
It's there too on 10.04 (2.6.32-21) and 12.04 (3.2.0-23) booted from CD. The rason I think I didn't notivce is that other processes were takign longer to complete (/O waits) and so the gap before usb_submit_urb failed is shorter, but the command fails in all cases, irrespective of whether the kernel is on a hard disk, a solid state disk or a CD

 Attached as a file with all the tests I've done

dmesg (dvd) 2.6.28-11-generic_x86_64
dmesg (dvd) 2.6.32-21-generic_x86_64
dmesg (dvd) 3.2.0-23-generic_x86_64
dmesg (ros) 2.6.33-02063320-generic_x86_64.
dmesg (ros) 2.6.38-15-generic_x86_64
dmesg (ros) 3.2.0-27-generic_x86_64
dmesg (ssd) 3.2.0-27-generic_x86_64

Sorry I haven't been much help...

penalvch (penalvch)
tags: added: jaunty lucid
removed: needs-bisect regression-release
Changed in linux (Ubuntu):
status: Incomplete → Confirmed
penalvch (penalvch)
tags: added: maverick
summary: - Long delay in boot sequence
+ Long delay in boot sequence to LVM2 striped array
description: updated
tags: added: hw-specific
Revision history for this message
Simon Rodan (simon-rodan) wrote :

A process of elimination has narrowed down the problem to a webcam - the IPEVO Point 2 View USB Document Camera - which is the cause for of this problem. (The problem seems unrelated to lvm2)

Revision history for this message
penalvch (penalvch) wrote :

Simon Rodan, could you please plug in the IPEVO Point 2 View USB Document Camera, unplug all other USB devices, execute the following at a terminal, and post the results to this report:
lsusb

Changed in linux (Ubuntu):
status: Confirmed → Incomplete
Revision history for this message
Simon Rodan (simon-rodan) wrote :

Here's the dmesg log with the Ipevo camera as the only USB attached device.

Revision history for this message
Launchpad Janitor (janitor) wrote :

[Expired for linux (Ubuntu) because there has been no activity for 60 days.]

Changed in linux (Ubuntu):
status: Incomplete → Expired
To post a comment you must log in.