No sound in 11.04 with 2.6.39-3 kernel; alsa-source build fails

Bug #795815 reported by dj_palindrome
12
This bug affects 2 people
Affects Status Importance Assigned to Milestone
ALSA driver
New
Undecided
Unassigned
alsa-driver (Ubuntu)
Invalid
Undecided
Unassigned

Bug Description

Binary package hint: alsa-source

root@ubuntu:~# hwinfo --sound

52: PCI 201.0: 0401 Multimedia audio controller
  [Created at pci.318]
  UDI: /org/freedesktop/Hal/devices/pci_1274_1371
  Unique ID: GA8e.FGsk7T8RAT9
  Parent ID: 7EWs.3XzZP_1GzlF
  SysFS ID: /devices/pci0000:00/0000:00:11.0/0000:02:01.0
  SysFS BusID: 0000:02:01.0
  Hardware Class: sound
  Model: "Ensoniq Creative Sound Blaster AudioPCI64V, AudioPCI128"
  Vendor: pci 0x1274 "Ensoniq"
  Device: pci 0x1371 "ES1371 [AudioPCI-97]"
  SubVendor: pci 0x1274 "Ensoniq"
  SubDevice: pci 0x1371 "Creative Sound Blaster AudioPCI64V, AudioPCI128"
  Revision: 0x02
  I/O Ports: 0x2000-0x3fff (rw)
  IRQ: 5 (no events)
  Module Alias: "pci:v00001274d00001371sv00001274sd00001371bc04sc01i00"
  Config Status: cfg=new, avail=yes, need=no, active=unknown
  Attached to: #18 (PCI bridge)

root@ubuntu:~# module-assistant auto-install alsa-source -i
.
Updated infos about 1 packages
Getting source for kernel version: 2.6.39-3-virtual
Kernel headers available in /usr/src/linux-headers-2.6.39-3-virtual
Creating symlink...
apt-get -y install build-essential
Reading package lists... Done
Building dependency tree
Reading state information... Done
build-essential is already the newest version.

[...]

make[3]: Leaving directory `/usr/src/modules/alsa-driver'
/usr/bin/make -C /usr/src/linux SUBDIRS=/usr/src/modules/alsa-driver CPP="gcc -E" CC="gcc" modules
make[3]: Entering directory `/usr/src/linux-headers-2.6.39-3-virtual'
  CC [M] /usr/src/modules/alsa-driver/acore/hrtimer.o
  CC [M] /usr/src/modules/alsa-driver/acore/hwdep.o
/usr/src/modules/alsa-driver/acore/hwdep.c:25:28: fatal error: linux/smp_lock.h: No such file or directory
compilation terminated.
make[5]: *** [/usr/src/modules/alsa-driver/acore/hwdep.o] Error 1
make[4]: *** [/usr/src/modules/alsa-driver/acore] Error 2
make[3]: *** [_module_/usr/src/modules/alsa-driver] Error 2
make[3]: Leaving directory `/usr/src/linux-headers-2.6.39-3-virtual'
make[2]: *** [compile] Error 2
make[2]: Leaving directory `/usr/src/modules/alsa-driver'
make[1]: *** [build-stamp] Error 2
make[1]: Leaving directory `/usr/src/modules/alsa-driver'
make: *** [kdist_image] Error 2
BUILD FAILED!
See /var/cache/modass/alsa-source.buildlog.2.6.39-3-virtual.1307758419 for details.

root@ubuntu:~#

ProblemType: Bug
DistroRelease: Ubuntu 11.04
Package: alsa-source 1.0.24+dfsg-0ubuntu1
ProcVersionSignature: Ubuntu 2.6.39-3.10-virtual 2.6.39
Uname: Linux 2.6.39-3-virtual x86_64
AlsaDevices:
 total 0
 crw------- 1 root root 116, 1 2011-06-10 18:59 seq
 crw------- 1 root root 116, 33 2011-06-10 18:59 timer
AplayDevices: aplay: device_list:240: no soundcards found...
Architecture: amd64
ArecordDevices: arecord: device_list:240: no soundcards found...
AudioDevicesInUse: Error: command ['fuser', '-v', '/dev/snd/seq', '/dev/snd/timer'] failed with exit code 1:
Date: Fri Jun 10 19:48:35 2011
InstallationMedia: Ubuntu 10.04 LTS "Lucid Lynx" - Release amd64 (20100429)
PackageArchitecture: all
ProcEnviron:
 LANGUAGE=en_US:en
 LANG=en_US.UTF-8
 SHELL=/bin/bash
SourcePackage: alsa-driver
UpgradeStatus: Upgraded to natty on 2011-04-30 (41 days ago)
dmi.bios.date: 12/31/2009
dmi.bios.vendor: Phoenix Technologies LTD
dmi.bios.version: 6.00
dmi.board.name: 440BX Desktop Reference Platform
dmi.board.vendor: Intel Corporation
dmi.board.version: None
dmi.chassis.asset.tag: No Asset Tag
dmi.chassis.type: 1
dmi.chassis.vendor: No Enclosure
dmi.chassis.version: N/A
dmi.modalias: dmi:bvnPhoenixTechnologiesLTD:bvr6.00:bd12/31/2009:svnVMware,Inc.:pnVMwareVirtualPlatform:pvrNone:rvnIntelCorporation:rn440BXDesktopReferencePlatform:rvrNone:cvnNoEnclosure:ct1:cvrN/A:
dmi.product.name: VMware Virtual Platform
dmi.product.version: None
dmi.sys.vendor: VMware, Inc.

Revision history for this message
dj_palindrome (dj.palindrome) wrote :
Revision history for this message
Daniel T Chen (crimsun) wrote : Re: [Bug 795815] [NEW] No sound in 11.04 with 2.6.39-3 kernel; alsa-source build fails

If you're using 11.04, why not use
https://wiki.ubuntu.com/Audio/InstallingLinuxAlsaDriverModules? Be sure to
use 2.6.38-9-generic until the -10 builds are available.

Revision history for this message
dj_palindrome (dj.palindrome) wrote : Re: [Bug 795815] [NEW] No sound in 11.04 with 2.6.39-3 kernel; alsa-source build fails

Thanks for the suggestion, Daniel.

On those few occasions when I am really desperate to hear sound, I fall
back to the 2.6.38-10-generic kernel (2.6.38-10-virtual has no sound
either).

In fact, there has really been no sound since Maverick.

I believe that's because I've installed the
'linux-alsa-driver-modules-2.6.38-10-generic' package from
'http://ppa.launchpad.net/ubuntu-audio-dev/ppa/ubuntu'. The PPA has
server and generic branches for 2.6.38-10, as well as 2.6.38-9, but not
for virtual, and nothing for 2.6.39.

# uname -r
2.6.38-10-generic

# modprobe snd_ens1371

# hwinfo --sound

52: PCI 201.0: 0401 Multimedia audio controller
   [Created at pci.318]
   UDI: /org/freedesktop/Hal/devices/pci_1274_1371
   Unique ID: GA8e.FGsk7T8RAT9
   Parent ID: 7EWs.3XzZP_1GzlF
   SysFS ID: /devices/pci0000:00/0000:00:11.0/0000:02:01.0
   SysFS BusID: 0000:02:01.0
   Hardware Class: sound
   Model: "Ensoniq Creative Sound Blaster AudioPCI64V, AudioPCI128"
   Vendor: pci 0x1274 "Ensoniq"
   Device: pci 0x1371 "ES1371 [AudioPCI-97]"
   SubVendor: pci 0x1274 "Ensoniq"
   SubDevice: pci 0x1371 "Creative Sound Blaster AudioPCI64V, AudioPCI128"
   Revision: 0x02
   Driver: "ENS1371"
   Driver Modules: "snd_ens1371"
   I/O Ports: 0x2000-0x3fff (rw)
   IRQ: 19 (no events)
   Module Alias: "pci:v00001274d00001371sv00001274sd00001371bc04sc01i00"
   Driver Info #0:
     Driver Status: snd_ens1371 is active
     Driver Activation Cmd: "modprobe snd_ens1371"
   Config Status: cfg=new, avail=yes, need=no, active=unknown
   Attached to: #18 (PCI bridge)

# aplay -l

**** List of PLAYBACK Hardware Devices ****
card 0: AudioPCI [Ensoniq AudioPCI], device 0: ES1371/1 [ES1371 DAC2/ADC]
   Subdevices: 1/1
   Subdevice #0: subdevice #0
card 0: AudioPCI [Ensoniq AudioPCI], device 1: ES1371/2 [ES1371 DAC1]
   Subdevices: 1/1
   Subdevice #0: subdevice #0

I do believe I've seen enough to conclude the problem is not with
hardware virtualization per se, and since I'm unable to build from
source, I'm prepared to wait.

On 6/10/2011 8:24 PM, Daniel T Chen wrote:
> If you're using 11.04, why not use
> https://wiki.ubuntu.com/Audio/InstallingLinuxAlsaDriverModules? Be sure to
> use 2.6.38-9-generic until the -10 builds are available.
>

Changed in alsa-driver (Ubuntu):
status: New → Confirmed
Revision history for this message
dj_palindrome (dj.palindrome) wrote :

While I might still have a valid bug (inability to build kernel modules from source is a real problem, especially for things like VMware Tools, in all post-BKL kernels), I've given up completely on Ubuntu virtual kernels for precisely the application for which they were expressly designed. For VMware Ubuntu guests, the sound drivers are missing. For VirtualBox linux guests, the generic drm modules are missing. Moving to generic kernels moot both issues. I now have sound and direct-rendering in their respective environments.

Revision history for this message
Marcus Tomlinson (marcustomlinson) wrote :

This release of Ubuntu is no longer receiving maintenance updates. If this is still an issue on a maintained version of Ubuntu please let us know.

Changed in alsa-driver (Ubuntu):
status: Confirmed → Incomplete
Revision history for this message
Marcus Tomlinson (marcustomlinson) wrote :

This issue has sat incomplete for more than 60 days now. I'm going to close it as invalid. Please feel free re-open if this is still an issue for you. Thank you.

Changed in alsa-driver (Ubuntu):
status: Incomplete → Invalid
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.