← Back to team overview

kernel-packages team mailing list archive

[Bug 1537465] [NEW] Idle too much time when loading snd-usb-audio.ko

 

Public bug reported:

I'm using Ubuntu 16.04 amd64 Desktop, with kernel 4.3. And my USB Video
Camera is from Gsou, containing both camera device and microphone
device.

When booting Ubuntu, after login ubuntu session, system freeze for
around 40 seconds !!

Finnally I found out that its "snd-usb-audio.ko" that makes it too slow
when login. So I added "blacklist snd-usb-audio" into
/etc/modprobe.d/blacklist.list, then everything is okay, login step
works normally.

After login desktop, I opened a terminal and execute "sudo modprobe snd-
usb-audio" to load microphone device manually, then it's still very slow
to load --

===============
ghostplant@ghostplant:~$ sudo modprobe snd-usb-audio

real	0m41.301s
user	0m0.540s
sys	0m2.912s
===========

After waiting 40s to load snd-usb-audio, "dmesg | mesg" displays a new
message:

[  806.057680] usbcore: registered new interface driver snd-usb-audio

So, I think there is a bug containning inside snd-usb-audio.ko, because
it's not supposed to cost so much time.

Note:

In gnome-session, snd-usb-audio makes login step very slow like to be
freeze:

Click Login (<1s) =>
gnome-session loading components (compiz, unity-settings-daemon, .. # some required reading data from snd-hda-audio, >40s)
Show Desktop (<1s)

ProblemType: Bug
DistroRelease: Ubuntu 16.04
Package: linux-image-extra-4.3.0-7-generic 4.3.0-7.18
ProcVersionSignature: Ubuntu 4.3.0-7.18-generic 4.3.3
Uname: Linux 4.3.0-7-generic x86_64
AlsaVersion: Advanced Linux Sound Architecture Driver Version k4.3.0-7-generic.
ApportVersion: 2.19.3-0ubuntu3
Architecture: amd64
CurrentDesktop: GNOME-Flashback
Date: Sun Jan 24 17:03:43 2016
MachineType: Gigabyte Technology Co., Ltd. To be filled by O.E.M.
PciMultimedia:

ProcFB: 0 inteldrmfb
ProcKernelCmdLine: BOOT_IMAGE=/boot/vmlinuz-4.3.0-7-generic root=UUID=5cc5f01f-1440-4404-a8a1-db62012f312e ro quiet cgroup_enable=memory swapaccount=1
RelatedPackageVersions:
 linux-restricted-modules-4.3.0-7-generic N/A
 linux-backports-modules-4.3.0-7-generic  N/A
 linux-firmware                           1.155
RfKill:

SourcePackage: linux
StagingDrivers: r8188eu
UpgradeStatus: No upgrade log present (probably fresh install)
WifiSyslog:

dmi.bios.date: 03/23/2012
dmi.bios.vendor: American Megatrends Inc.
dmi.bios.version: F5
dmi.board.asset.tag: To be filled by O.E.M.
dmi.board.name: H61M-S1
dmi.board.vendor: Gigabyte Technology Co., Ltd.
dmi.board.version: x.x
dmi.chassis.asset.tag: To Be Filled By O.E.M.
dmi.chassis.type: 3
dmi.chassis.vendor: Gigabyte Technology Co., Ltd.
dmi.chassis.version: To Be Filled By O.E.M.
dmi.modalias: dmi:bvnAmericanMegatrendsInc.:bvrF5:bd03/23/2012:svnGigabyteTechnologyCo.,Ltd.:pnTobefilledbyO.E.M.:pvrTobefilledbyO.E.M.:rvnGigabyteTechnologyCo.,Ltd.:rnH61M-S1:rvrx.x:cvnGigabyteTechnologyCo.,Ltd.:ct3:cvrToBeFilledByO.E.M.:
dmi.product.name: To be filled by O.E.M.
dmi.product.version: To be filled by O.E.M.
dmi.sys.vendor: Gigabyte Technology Co., Ltd.

** Affects: linux (Ubuntu)
     Importance: Undecided
         Status: Incomplete


** Tags: amd64 apport-bug staging xenial

** Description changed:

  I'm using Ubuntu 16.04 amd64 Desktop, with kernel 4.3. And my USB Video
  Camera is from Gsou, containing both camera device and microphone
  device.
  
  When booting Ubuntu, after login ubuntu session, system freeze for
  around 40 seconds !!
  
  Finnally I found out that its "snd-usb-audio.ko" that makes it too slow
  when login. So I added "blacklist snd-usb-audio" into
  /etc/modprobe.d/blacklist.list, then everything is okay, login step
  works normally.
  
  After login desktop, I opened a terminal and execute "sudo modprobe snd-
  usb-audio" to load microphone device manually, then it's still very slow
  to load --
  
  ===============
  ghostplant@ghostplant:~$ sudo modprobe snd-usb-audio
  
  real	0m41.301s
  user	0m0.540s
  sys	0m2.912s
  ===========
  
  After waiting 40s to load snd-usb-audio, "dmesg | mesg" displays a new
  message:
  
  [  806.057680] usbcore: registered new interface driver snd-usb-audio
  
- 
- So, I think there is a bug containning inside snd-usb-audio.ko, because it's not supposed to cost so much time.
+ So, I think there is a bug containning inside snd-usb-audio.ko, because
+ it's not supposed to cost so much time.
  
  Note:
  
  In gnome-session, snd-usb-audio makes login step very slow like to be
  freeze:
  
  Click Login (<1s) =>
  gnome-session loading components (compiz, unity-settings-daemon, .. # some required reading data from snd-hda-audio, >40s)
  Show Desktop (<1s)
  
  ProblemType: Bug
  DistroRelease: Ubuntu 16.04
  Package: linux-image-extra-4.3.0-7-generic 4.3.0-7.18
  ProcVersionSignature: Ubuntu 4.3.0-7.18-generic 4.3.3
  Uname: Linux 4.3.0-7-generic x86_64
  AlsaVersion: Advanced Linux Sound Architecture Driver Version k4.3.0-7-generic.
- AplayDevices: Error: [Errno 2] 没有那个文件或目录: 'aplay'
  ApportVersion: 2.19.3-0ubuntu3
  Architecture: amd64
- ArecordDevices: Error: [Errno 2] 没有那个文件或目录: 'arecord'
- AudioDevicesInUse:
-  USER        PID ACCESS COMMAND
-  /dev/snd/controlC1:  admin      2573 F.... pulseaudio
-  /dev/snd/controlC0:  admin      2573 F.... pulseaudio
- Card0.Amixer.info: Error: [Errno 2] 没有那个文件或目录: 'amixer'
- Card0.Amixer.values: Error: [Errno 2] 没有那个文件或目录: 'amixer'
- Card1.Amixer.info: Error: [Errno 2] 没有那个文件或目录: 'amixer'
- Card1.Amixer.values: Error: [Errno 2] 没有那个文件或目录: 'amixer'
  CurrentDesktop: GNOME-Flashback
  Date: Sun Jan 24 17:03:43 2016
- IwConfig: Error: [Errno 2] 没有那个文件或目录: 'iwconfig'
- JournalErrors:
-  Error: command ['journalctl', '-b', '--priority=warning', '--lines=1000'] failed with exit code 1: Hint: You are currently not seeing messages from other users and the system.
-        Users in the 'systemd-journal' group can see all messages. Pass -q to
-        turn off this notice.
-  No journal files were opened due to insufficient permissions.
- Lspci: Error: [Errno 2] 没有那个文件或目录: 'lspci'
- Lsusb: Error: [Errno 2] 没有那个文件或目录: 'lsusb'
  MachineType: Gigabyte Technology Co., Ltd. To be filled by O.E.M.
  PciMultimedia:
-  
+ 
  ProcFB: 0 inteldrmfb
  ProcKernelCmdLine: BOOT_IMAGE=/boot/vmlinuz-4.3.0-7-generic root=UUID=5cc5f01f-1440-4404-a8a1-db62012f312e ro quiet cgroup_enable=memory swapaccount=1
  RelatedPackageVersions:
-  linux-restricted-modules-4.3.0-7-generic N/A
-  linux-backports-modules-4.3.0-7-generic  N/A
-  linux-firmware                           1.155
+  linux-restricted-modules-4.3.0-7-generic N/A
+  linux-backports-modules-4.3.0-7-generic  N/A
+  linux-firmware                           1.155
  RfKill:
-  
+ 
  SourcePackage: linux
  StagingDrivers: r8188eu
- UdevLog: Error: [Errno 2] 没有那个文件或目录: '/var/log/udev'
  UpgradeStatus: No upgrade log present (probably fresh install)
  WifiSyslog:
-  
+ 
  dmi.bios.date: 03/23/2012
  dmi.bios.vendor: American Megatrends Inc.
  dmi.bios.version: F5
  dmi.board.asset.tag: To be filled by O.E.M.
  dmi.board.name: H61M-S1
  dmi.board.vendor: Gigabyte Technology Co., Ltd.
  dmi.board.version: x.x
  dmi.chassis.asset.tag: To Be Filled By O.E.M.
  dmi.chassis.type: 3
  dmi.chassis.vendor: Gigabyte Technology Co., Ltd.
  dmi.chassis.version: To Be Filled By O.E.M.
  dmi.modalias: dmi:bvnAmericanMegatrendsInc.:bvrF5:bd03/23/2012:svnGigabyteTechnologyCo.,Ltd.:pnTobefilledbyO.E.M.:pvrTobefilledbyO.E.M.:rvnGigabyteTechnologyCo.,Ltd.:rnH61M-S1:rvrx.x:cvnGigabyteTechnologyCo.,Ltd.:ct3:cvrToBeFilledByO.E.M.:
  dmi.product.name: To be filled by O.E.M.
  dmi.product.version: To be filled by O.E.M.
  dmi.sys.vendor: Gigabyte Technology Co., Ltd.

-- 
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/1537465

Title:
  Idle too much time when loading snd-usb-audio.ko

Status in linux package in Ubuntu:
  Incomplete

Bug description:
  I'm using Ubuntu 16.04 amd64 Desktop, with kernel 4.3. And my USB
  Video Camera is from Gsou, containing both camera device and
  microphone device.

  When booting Ubuntu, after login ubuntu session, system freeze for
  around 40 seconds !!

  Finnally I found out that its "snd-usb-audio.ko" that makes it too
  slow when login. So I added "blacklist snd-usb-audio" into
  /etc/modprobe.d/blacklist.list, then everything is okay, login step
  works normally.

  After login desktop, I opened a terminal and execute "sudo modprobe
  snd-usb-audio" to load microphone device manually, then it's still
  very slow to load --

  ===============
  ghostplant@ghostplant:~$ sudo modprobe snd-usb-audio

  real	0m41.301s
  user	0m0.540s
  sys	0m2.912s
  ===========

  After waiting 40s to load snd-usb-audio, "dmesg | mesg" displays a new
  message:

  [  806.057680] usbcore: registered new interface driver snd-usb-audio

  So, I think there is a bug containning inside snd-usb-audio.ko,
  because it's not supposed to cost so much time.

  Note:

  In gnome-session, snd-usb-audio makes login step very slow like to be
  freeze:

  Click Login (<1s) =>
  gnome-session loading components (compiz, unity-settings-daemon, .. # some required reading data from snd-hda-audio, >40s)
  Show Desktop (<1s)

  ProblemType: Bug
  DistroRelease: Ubuntu 16.04
  Package: linux-image-extra-4.3.0-7-generic 4.3.0-7.18
  ProcVersionSignature: Ubuntu 4.3.0-7.18-generic 4.3.3
  Uname: Linux 4.3.0-7-generic x86_64
  AlsaVersion: Advanced Linux Sound Architecture Driver Version k4.3.0-7-generic.
  ApportVersion: 2.19.3-0ubuntu3
  Architecture: amd64
  CurrentDesktop: GNOME-Flashback
  Date: Sun Jan 24 17:03:43 2016
  MachineType: Gigabyte Technology Co., Ltd. To be filled by O.E.M.
  PciMultimedia:

  ProcFB: 0 inteldrmfb
  ProcKernelCmdLine: BOOT_IMAGE=/boot/vmlinuz-4.3.0-7-generic root=UUID=5cc5f01f-1440-4404-a8a1-db62012f312e ro quiet cgroup_enable=memory swapaccount=1
  RelatedPackageVersions:
   linux-restricted-modules-4.3.0-7-generic N/A
   linux-backports-modules-4.3.0-7-generic  N/A
   linux-firmware                           1.155
  RfKill:

  SourcePackage: linux
  StagingDrivers: r8188eu
  UpgradeStatus: No upgrade log present (probably fresh install)
  WifiSyslog:

  dmi.bios.date: 03/23/2012
  dmi.bios.vendor: American Megatrends Inc.
  dmi.bios.version: F5
  dmi.board.asset.tag: To be filled by O.E.M.
  dmi.board.name: H61M-S1
  dmi.board.vendor: Gigabyte Technology Co., Ltd.
  dmi.board.version: x.x
  dmi.chassis.asset.tag: To Be Filled By O.E.M.
  dmi.chassis.type: 3
  dmi.chassis.vendor: Gigabyte Technology Co., Ltd.
  dmi.chassis.version: To Be Filled By O.E.M.
  dmi.modalias: dmi:bvnAmericanMegatrendsInc.:bvrF5:bd03/23/2012:svnGigabyteTechnologyCo.,Ltd.:pnTobefilledbyO.E.M.:pvrTobefilledbyO.E.M.:rvnGigabyteTechnologyCo.,Ltd.:rnH61M-S1:rvrx.x:cvnGigabyteTechnologyCo.,Ltd.:ct3:cvrToBeFilledByO.E.M.:
  dmi.product.name: To be filled by O.E.M.
  dmi.product.version: To be filled by O.E.M.
  dmi.sys.vendor: Gigabyte Technology Co., Ltd.

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


Follow ups