← Back to team overview

kernel-packages team mailing list archive

[Bug 1202700] Re: saucy kernel 300 second hang before root mounted rw on azure

 

Problematic commit was revno 31.

------------------------------------------------------------
revno: 31
tags: 202-0ubuntu10
fixes bug: https://launchpad.net/bugs/1185060
author: Martin Pitt <martin.pitt@xxxxxxxxxx>
committer: Package Import Robot <package-import@xxxxxxxxxx>
branch nick: saucy-proposed
timestamp: Wed 2013-05-29 10:12:35 +0200
message:
  * debian/extra/initramfs.bottom: Drop reading of /etc/udev/udev.conf, the
    location of /dev hasn't been configurable for ages.
  * debian/extra/initramfs.top: Drop obsolete "scsi_wait_scan" modprobing here
    as well.
  * all_generic_ide blacklist: Depend on "all_generic_ide blacklist", as in
    previous udev.
  * debian/extra/initramfs.top: Drop unnecessary "udevadm settle".
  * debian/extra/initramfs.hook: Put back ata_id and scsi_id, these were
    overzealously removed with the bits that are built in now (like blkid and
    usb_id). LP: #1185060
  * debian/extra/udev.startup: Drop devpts mounting again, already done by
    /usr/share/initramfs-tools/init.
  * debian/extra/initramfs.hook: Install udevadm.upgrade when updating the
    initramfs while udev is unconfigured.
  * debian/extra/initramfs.hook: Remove duplicate copying of
    70-persistent-net.rules.
  * debian/extra/initramfs.hook: Don't install the dmsetup and md rules. This
    is already done by dmsetup's and mdadm's initramfs hooks.
diff:
=== modified file 'debian/extra/initramfs.top'
--- debian/extra/initramfs.top  2013-03-13 10:46:40 +0000
+++ debian/extra/initramfs.top  2013-05-29 08:12:35 +0000
@@ -1,6 +1,6 @@
 #!/bin/sh -e
 
-PREREQS=""
+PREREQS="all_generic_ide blacklist"
 
 prereqs() { echo "$PREREQS"; }
 
@@ -13,16 +13,9 @@
 
 echo > /sys/kernel/uevent_helper
 
-UDEV_ROOT=/dev \
 /lib/systemd/systemd-udevd --daemon --resolve-names=never
 
 udevadm trigger --action=add
-udevadm settle || true
-
-if [ -d /sys/bus/scsi ]; then
-       modprobe -q scsi_wait_scan && modprobe -r scsi_wait_scan || true
-       udevadm settle || true
-fi
 
 # If the rootdelay parameter has been set, we wait a bit for devices
 # like usb/firewire disks to settle.

-- 
You received this bug notification because you are a member of Kernel
Packages, which is subscribed to linux in Ubuntu.
https://bugs.launchpad.net/bugs/1202700

Title:
  saucy kernel 300 second hang before root mounted rw on azure

Status in “linux” package in Ubuntu:
  Confirmed
Status in “linux” source package in Saucy:
  Confirmed

Bug description:
  on azure saucy images
  (b39f27a8b8c64d52b05eac6a62ebad85__Ubuntu_DAILY_BUILD-saucy-
  13_10-amd64-server-20130718-en-us-30GB in 'US East' location). I get a
  300 second timeout before / is mounted RW.

  See attached dmesg for full dmesg.  snippet here.

  
  [    6.974849] scsi3 : storvsc_host_t
  [    6.977249] scsi 3:0:1:0: Direct-Access     Msft     Virtual Disk     1.0  PQ: 0 ANSI: 4
  [    6.981087]  sda: sda1
  [    6.983419] sd 3:0:1:0: Attached scsi generic sg2 type 0
  [    6.986119] sd 3:0:1:0: [sdb] 41943040 512-byte logical blocks: (21.4 GB/20.0 GiB)
  [    6.989874] sd 3:0:1:0: [sdb] Write Protect is off
  [    6.992325] sd 3:0:1:0: [sdb] Mode Sense: 0f 00 00 00
  [    6.992353] sd 2:0:0:0: [sda] Attached SCSI disk
  [    6.995243] sd 3:0:1:0: [sdb] Write cache: enabled, read cache: enabled, doesn't support DPO or FUA
  [    6.999603] scsi4 : storvsc_host_t
  [    7.002527] scsi scan: INQUIRY result too short (5), using 36
  [    7.006224] scsi scan: INQUIRY result too short (5), using 36
  [    7.009942]  sdb: sdb1
  [    7.011837] scsi5 : storvsc_host_t
  [    7.015888] scsi scan: INQUIRY result too short (5), using 36
  [    7.019459] sd 3:0:1:0: [sdb] Attached SCSI disk
  [    7.022017] scsi scan: INQUIRY result too short (5), using 36
  [  303.184698] EXT4-fs (sda1): mounted filesystem with ordered data mode. Opts: (null)
  [  305.379387] EXT4-fs (sda1): re-mounted. Opts: discard
  --- 
  AlsaDevices:
   total 0
   crw-rw---- 1 root audio 116,  1 Jul 18 14:08 seq
   crw-rw---- 1 root audio 116, 33 Jul 18 14:08 timer
  AplayDevices: Error: [Errno 2] No such file or directory
  ApportVersion: 2.11-0ubuntu1
  Architecture: amd64
  ArecordDevices: Error: [Errno 2] No such file or directory
  AudioDevicesInUse: Error: command ['fuser', '-v', '/dev/snd/seq', '/dev/snd/timer'] failed with exit code 1:
  CRDA: Error: command ['iw', 'reg', 'get'] failed with exit code 1: nl80211 not found.
  CurrentDmesg: [  356.806779] init: cloud-config main process (1126) terminated with status 1
  DistroRelease: Ubuntu 13.10
  IwConfig:
   eth0      no wireless extensions.
   
   lo        no wireless extensions.
  Lsusb: Error: command ['lsusb'] failed with exit code 1: unable to initialize libusb: -99
  MachineType: Microsoft Corporation Virtual Machine
  MarkForUpload: True
  Package: linux (not installed)
  PciMultimedia:
   
  ProcEnviron:
   TERM=xterm
   PATH=(custom, no user)
   XDG_RUNTIME_DIR=<set>
   LANG=en_US.UTF-8
   SHELL=/bin/bash
  ProcFB: 0 hyperv_fb
  ProcKernelCmdLine: BOOT_IMAGE=/boot/vmlinuz-3.10.0-3-generic root=UUID=19f8b960-2ffd-4241-befd-fc605380cba6 ro console=tty1 console=ttyS0 earlyprintk=ttyS0 rootdelay=300
  ProcVersionSignature: User Name 3.10.0-3.12-generic 3.10.1
  RelatedPackageVersions:
   linux-restricted-modules-3.10.0-3-generic N/A
   linux-backports-modules-3.10.0-3-generic  N/A
   linux-firmware                            1.112
  RfKill: Error: [Errno 2] No such file or directory
  Tags:  saucy uec-images
  Uname: Linux 3.10.0-3-generic x86_64
  UpgradeStatus: No upgrade log present (probably fresh install)
  UserGroups: adm audio cdrom dialout dip floppy netdev plugdev video
  dmi.bios.date: 05/23/2012
  dmi.bios.vendor: American Megatrends Inc.
  dmi.bios.version: 090006
  dmi.board.name: Virtual Machine
  dmi.board.vendor: Microsoft Corporation
  dmi.board.version: 7.0
  dmi.chassis.asset.tag: 2175-9033-8610-7819-8007-6304-66
  dmi.chassis.type: 3
  dmi.chassis.vendor: Microsoft Corporation
  dmi.chassis.version: 7.0
  dmi.modalias: dmi:bvnAmericanMegatrendsInc.:bvr090006:bd05/23/2012:svnMicrosoftCorporation:pnVirtualMachine:pvr7.0:rvnMicrosoftCorporation:rnVirtualMachine:rvr7.0:cvnMicrosoftCorporation:ct3:cvr7.0:
  dmi.product.name: Virtual Machine
  dmi.product.version: 7.0
  dmi.sys.vendor: Microsoft Corporation

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1202700/+subscriptions


References