Comment 0 for bug 1030326

Revision history for this message
Michael Mess (michael-michaelmess) wrote :

While VLC was playing video with sound via ALSA, I have disconnected an USB hard drive (after I have unmounted the file system). Then the sound stopped working while VLC was still playing video.

The USB-LED on the device was blinking green (error condition), while normally it lights red when the device is ready to use.

Also the pulseaudio system which uses the UA-101 via ALSA was hanging.
I had do turn the UA-101 off to stop pulseaudio hanging and let apport-bug continue to finish creating the bug report.
apport-bug then suggested the bug title "UA-101 - UA-101, playback Pulseaudio fails to detect card", but this is not the bug to be reported here.
Note: Such a bug in pulseaudio exists: see https://bugs.launchpad.net/ubuntu/+source/pulseaudio/+bug/986817 for that issue.

The bug to be reported here is that the USB connection to the UA-101 got out of sync, because another device has been disconnected.
This seems to be an issue with ALSA and USB.

Dmesg showed these lines:

[173549.193823] NVRM: os_pci_init_handle: invalid context!
[173549.193829] NVRM: os_pci_init_handle: invalid context!
[173549.193838] NVRM: os_map_kernel_space: can't map 0xd0000000, invalid context!
[173549.193842] NVRM: os_pci_init_handle: invalid context!
[173592.474016] NVRM: os_pci_init_handle: invalid context!
[173592.474022] NVRM: os_pci_init_handle: invalid context!
[173592.474032] NVRM: os_map_kernel_space: can't map 0xd0000000, invalid context!
[173592.474036] NVRM: os_pci_init_handle: invalid context!
[173759.693800] NVRM: os_pci_init_handle: invalid context!
[173759.693805] NVRM: os_pci_init_handle: invalid context!
[173759.693814] NVRM: os_map_kernel_space: can't map 0xd0000000, invalid context!
[173759.693818] NVRM: os_pci_init_handle: invalid context!
[173888.314092] NVRM: os_pci_init_handle: invalid context!
[173888.314096] NVRM: os_pci_init_handle: invalid context!
[173888.314105] NVRM: os_map_kernel_space: can't map 0xd0000000, invalid context!
[173888.314107] NVRM: os_pci_init_handle: invalid context!
[174010.113854] NVRM: os_pci_init_handle: invalid context!
[174010.113858] NVRM: os_pci_init_handle: invalid context!
[174010.113867] NVRM: os_map_kernel_space: can't map 0xd0000000, invalid context!
[174010.113869] NVRM: os_pci_init_handle: invalid context!
[174341.656866] usb 1-3: USB disconnect, device number 5
[174488.916110] usb 1-4: interface reset failed; error -110: unknown error
[174493.916106] usb 1-4: interface reset failed; error -110: unknown error
[174498.948113] usb 1-4: interface reset failed; error -110: unknown error
[174503.948110] usb 1-4: interface reset failed; error -110: unknown error
[174508.972116] usb 1-4: interface reset failed; error -110: unknown error
[174513.972118] usb 1-4: interface reset failed; error -110: unknown error
[174518.996111] usb 1-4: interface reset failed; error -110: unknown error
[174523.996113] usb 1-4: interface reset failed; error -110: unknown error
[174529.020119] usb 1-4: interface reset failed; error -110: unknown error
[174534.020124] usb 1-4: interface reset failed; error -110: unknown error
[174539.044123] usb 1-4: interface reset failed; error -110: unknown error
[174544.044125] usb 1-4: interface reset failed; error -110: unknown error
...

michael@quad:~/download$ lsusb
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 002 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 003 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 004 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 005 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 006 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 007 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 008 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 001 Device 002: ID 0582:007d Roland Corp. EDIROL UA-101
Bus 005 Device 002: ID 046a:0001 Cherry GmbH My3000 Keyboard
Bus 008 Device 003: ID 046d:c050 Logitech, Inc. RX 250 Optical Mouse

After turning the UA-101 off and on again, dmesg showed these lines and the unknown error lines didn't occur again:
[175170.560164] usb 1-4: interface reset failed; error -110: unknown error
[175175.560163] usb 1-4: interface reset failed; error -110: unknown error
[175180.576167] usb 1-4: interface reset failed; error -110: unknown error
[175184.800815] usb 1-4: USB disconnect, device number 2
[175210.512024] usb 1-4: new high-speed USB device number 6 using ehci_hcd

ProblemType: Bug
DistroRelease: Ubuntu 12.04
Package: pulseaudio 1:1.1-0ubuntu15.1
ProcVersionSignature: Ubuntu 3.2.0-27.43-generic-pae 3.2.21
Uname: Linux 3.2.0-27-generic-pae i686
NonfreeKernelModules: nvidia
AlsaVersion: Advanced Linux Sound Architecture Driver Version 1.0.24.
ApportVersion: 2.0.1-0ubuntu11
Architecture: i386
AudioDevicesInUse:
 USER PID ACCESS COMMAND
 /dev/snd/controlC2: michael 28667 F.... pulseaudio
 /dev/snd/pcmC2D0c: michael 28667 F...m pulseaudio
 /dev/snd/controlC1: michael 28667 F.... pulseaudio
Card0.Amixer.info:
 Card hw:0 'UA101'/'EDIROL UA-101 (serial ZT82634), 192000 Hz at usb-0000:00:1a.7-4, high speed'
   Mixer name : ''
   Components : ''
   Controls : 1
   Simple ctrls : 1
Card0.Amixer.values:
 Simple mixer control 'MIDI Input Mode',0
   Capabilities: enum
   Items: 'High Load' 'Light Load'
   Item0: 'Light Load'
Card1.Amixer.info:
 Card hw:1 'Intel'/'HDA Intel at 0xf6ff8000 irq 44'
   Mixer name : 'Realtek ALC883'
   Components : 'HDA:10ec0883,1043829f,00100002'
   Controls : 45
   Simple ctrls : 21
Card2.Amixer.info:
 Card hw:2 'CX8811'/'Conexant CX8811 at 0xfb000000'
   Mixer name : 'CX88'
   Components : ''
   Controls : 3
   Simple ctrls : 2
Date: Sat Jul 28 16:51:01 2012
InstallationMedia: Ubuntu 12.04 LTS "Precise Pangolin" - Release i386 (20120423)
ProcEnviron:
 TERM=xterm
 PATH=(custom, no user)
 LANG=en_US.UTF-8
 SHELL=/bin/bash
SourcePackage: pulseaudio
Symptom: audio
Symptom_Card: CX88x - Conexant CX8811
Title: [UA-101 - UA-101, playback] Pulseaudio fails to detect card
UpgradeStatus: No upgrade log present (probably fresh install)
dmi.bios.date: 10/14/2008
dmi.bios.vendor: American Megatrends Inc.
dmi.bios.version: 1201
dmi.board.asset.tag: To Be Filled By O.E.M.
dmi.board.name: P5K
dmi.board.vendor: ASUSTeK Computer INC.
dmi.board.version: Rev 1.xx
dmi.chassis.asset.tag: Asset-1234567890
dmi.chassis.type: 3
dmi.chassis.vendor: Chassis Manufacture
dmi.chassis.version: Chassis Version
dmi.modalias: dmi:bvnAmericanMegatrendsInc.:bvr1201:bd10/14/2008:svnSystemmanufacturer:pnP5K:pvrSystemVersion:rvnASUSTeKComputerINC.:rnP5K:rvrRev1.xx:cvnChassisManufacture:ct3:cvrChassisVersion:
dmi.product.name: P5K
dmi.product.version: System Version
dmi.sys.vendor: System manufacturer