← Back to team overview

desktop-packages team mailing list archive

[Bug 1033299] Re: Ubuntu 12.04 - no sound with VT8237A/VT8251

 

I see two problems in the initial report from FichdlMaa:

1) Linux ignores ACPI _CRS information and consequently assigns addresses to the 80:01.0 device that may not work.
2) The page fault: "BUG: unable to handle kernel paging request at ffffc90000378000"

Booting with "pci=use_crs" should work around the first problem.  This
is only a workaround, not a real fix  because we don't expect users to
have to use that option.

If "pci=use_crs" makes a difference, and if it still fixes a problem in
the current upstream kernel (v4.0-rcX), please open a bug report at
http://bugzilla.kernel.org (in drivers/pci category), attaching a
complete dmesg log, and we can add a quirk to turn on that option
automatically.

I don't have a theory about the page fault problem.

Details about the _CRS problem:

    bus: 00 index 2 [mem 0x80000000-0xfcffffffff]

The range above is from amd_bus.c.  Note that it covers the mem windows
for both PCI0 and PCI1 below.

    PCI: Ignoring host bridge windows from ACPI; if necessary, use "pci=use_crs" and report a bug
    ACPI: PCI Root Bridge [PCI0] (domain 0000 [bus 00-7f])
    pci_root PNP0A08:00: host bridge window [mem 0x80000000-0xbfefffff] (ignored)
    pci_root PNP0A08:00: host bridge window [mem 0xc0000000-0xdfffffff] (ignored)
    pci_root PNP0A08:00: host bridge window [mem 0xf0000000-0xfebfffff] (ignored)
    ACPI: PCI Root Bridge [PCI1] (domain 0000 [bus 80-ff])
    pci_root PNP0A08:01: host bridge window [mem 0x000a0000-0x000bffff] (ignored)
    pci_root PNP0A08:01: host bridge window [mem 0xbff00000-0xbfffffff] (ignored)
    pci 0000:80:01.0: [1106:3288] type 0 class 0x000403
    pci 0000:80:01.0: reg 10: [mem 0xbfffc000-0xbfffffff 64bit]

The initial configuration from BIOS (above) looks correct.  The 80:01.0
BAR 0 is inside the PCI1 host bridge window reported by ACPI _CRS.

    pci 0000:80:01.0: address space collision: [mem 0xbfffc000-0xbfffffff 64bit] conflicts with PCI Bus #00 [mem 0x80000000-0xfcffffffff]
    pci 0000:80:01.0: BAR 0: assigned [mem 0xfd00000000-0xfd00003fff 64bit]

But we're ignoring _CRS and using the information from amd_bus.c, so we
think there's a conflict with the PCI0 window.  We reassign 80:01.0 to
an address that is under PCI0, not PCI1.  If the ACPI _CRS description
is correct, this means MMIO accesses intended for 80:01.0 will never
reach the device.

-- 
You received this bug notification because you are a member of Desktop
Packages, which is subscribed to alsa-driver in Ubuntu.
https://bugs.launchpad.net/bugs/1033299

Title:
  Ubuntu 12.04 - no sound with VT8237A/VT8251

Status in ALSA driver:
  New
Status in alsa-driver package in Ubuntu:
  Confirmed
Status in alsa-driver-1.0.25-dkms package in Ubuntu:
  Confirmed

Bug description:
  (3.2.0-27-generic #43-Ubuntu SMP Fri Jul 6 14:25:57 UTC 2012 x86_64 x86_64 x86_64 GNU/Linux)
  [    0.000000] DMI: Foxconn OEM/K8M890-8237A, BIOS 6.00 PG 02/10/2007

        !!! Same hardware base had full function with 10.04 LTS
  inclusive 10.04.3 !!!

  see also:      https://answers.launchpad.net/ubuntu/+source/alsa-
  driver/+question/198785

  
  Sound chip recognized ...

     80:01.0 Audio device: VIA Technologies, Inc. VT8237A/VT8251 HDA
  Controller (rev 10)

  ... but no driver installed => no sound :-(

  
  Output of lspci:

  00:00.0 Host bridge: VIA Technologies, Inc. K8M890CE Host Bridge
  00:00.1 Host bridge: VIA Technologies, Inc. K8M890CE Host Bridge
  00:00.2 Host bridge: VIA Technologies, Inc. K8M890CE Host Bridge
  00:00.3 Host bridge: VIA Technologies, Inc. K8M890CE Host Bridge
  00:00.4 Host bridge: VIA Technologies, Inc. K8M890CE Host Bridge
  00:00.5 PIC: VIA Technologies, Inc. K8M890CE I/O APIC Interrupt Controller
  00:00.7 Host bridge: VIA Technologies, Inc. K8M890CE Host Bridge
  00:01.0 PCI bridge: VIA Technologies, Inc. VT8237/8251 PCI bridge [K8M890/K8T800/K8T890 South]
  00:02.0 PCI bridge: VIA Technologies, Inc. K8T890 PCI to PCI Bridge Controller
  00:03.0 PCI bridge: VIA Technologies, Inc. K8T890 PCI to PCI Bridge Controller
  00:0f.0 IDE interface: VIA Technologies, Inc. Device 5337 (rev 80)
  00:0f.1 IDE interface: VIA Technologies, Inc. VT82C586A/B/VT82C686/A/B/VT823x/A/C PIPC Bus Master IDE (rev 07)
  00:10.0 USB controller: VIA Technologies, Inc. VT82xxxxx UHCI USB 1.1 Controller (rev a0)
  00:10.1 USB controller: VIA Technologies, Inc. VT82xxxxx UHCI USB 1.1 Controller (rev a0)
  00:10.2 USB controller: VIA Technologies, Inc. VT82xxxxx UHCI USB 1.1 Controller (rev a0)
  00:10.3 USB controller: VIA Technologies, Inc. VT82xxxxx UHCI USB 1.1 Controller (rev a0)
  00:10.4 USB controller: VIA Technologies, Inc. USB 2.0 (rev 86)
  00:11.0 ISA bridge: VIA Technologies, Inc. VT8237A PCI to ISA Bridge
  00:11.7 Host bridge: VIA Technologies, Inc. VT8237/8251 Ultra VLINK Controller
  00:13.0 Host bridge: VIA Technologies, Inc. VT8237A Host Bridge
  00:13.1 PCI bridge: VIA Technologies, Inc. VT8237A PCI to PCI Bridge
  00:18.0 Host bridge: Advanced Micro Devices [AMD] K8 [Athlon64/Opteron] HyperTransport Technology Configuration
  00:18.1 Host bridge: Advanced Micro Devices [AMD] K8 [Athlon64/Opteron] Address Map
  00:18.2 Host bridge: Advanced Micro Devices [AMD] K8 [Athlon64/Opteron] DRAM Controller
  00:18.3 Host bridge: Advanced Micro Devices [AMD] K8 [Athlon64/Opteron] Miscellaneous Control
  02:00.0 VGA compatible controller: Advanced Micro Devices [AMD] nee ATI RV710 [Radeon HD 4350]
  02:00.1 Audio device: Advanced Micro Devices [AMD] nee ATI RV710/730 HDMI Audio [Radeon HD 4000 series]
  04:04.0 Ethernet controller: Realtek Semiconductor Co., Ltd. RTL-8139/8139C/8139C+ (rev 10)
  04:07.0 SCSI storage controller: Adaptec AIC-7861 (rev 03)
  80:01.0 Audio device: VIA Technologies, Inc. VT8237A/VT8251 HDA Controller (rev 10) <--- !!!

  Output of dmesg | grep sound:

  [   39.637127] input: HDA ATI HDMI HDMI/DP,pcm=3 as /devices/pci0000:00/0000:00:02.0/0000:02:00.1/sound/card0/input6
  [   39.639261] Modules linked in: snd_hda_codec_hdmi snd_hda_intel(+) snd_hda_codec snd_hwdep snd_pcm snd_seq_midi snd_rawmidi snd_seq_midi_event joydev snd_seq snd_timer psmouse serio_raw snd_seq_device edac_core edac_mce_amd i2c_viapro snd k8temp soundcore snd_page_alloc shpchp mac_hid lp parport btrfs zlib_deflate libcrc32c radeon ttm 8139too drm_kms_helper usbhid hid aic7xxx drm 8139cp sata_via pata_via i2c_algo_bit floppy

  -> ??? the Radeon graphics card has got NO HDMI (only VGA, DVI and composite)
  ->              only sound device is the onboard chip
  --- 
  AlsaVersion: Advanced Linux Sound Architecture Driver Version 1.0.24.
  AplayDevices:
   **** List of PLAYBACK Hardware Devices ****
   card 0: HDMI [HDA ATI HDMI], device 3: HDMI 0 [HDMI 0]
     Subdevices: 1/1
     Subdevice #0: subdevice #0
  ApportVersion: 2.0.1-0ubuntu11
  Architecture: amd64
  ArecordDevices: **** List of CAPTURE Hardware Devices ****
  AudioDevicesInUse:
   USER        PID ACCESS COMMAND
   /dev/snd/controlC0:  maico      2609 F.... pulseaudio
  Card0.Amixer.info:
   Card hw:0 'HDMI'/'HDA ATI HDMI at 0xdfdfc000 irq 25'
     Mixer name	: 'ATI R6xx HDMI'
     Components	: 'HDA:1002aa01,00aa0100,00100100'
     Controls      : 6
     Simple ctrls  : 1
  Card0.Amixer.values:
   Simple mixer control 'IEC958',0
     Capabilities: pswitch pswitch-joined penum
     Playback channels: Mono
     Mono: Playback [on]
  DistroRelease: Ubuntu 12.04
  InstallationMedia: Ubuntu 12.04 LTS "Precise Pangolin" - Release amd64 (20120425)
  Package: alsa-driver (not installed)
  ProcEnviron:
   TERM=xterm
   PATH=(custom, no user)
   LANG=de_DE.UTF-8
   SHELL=/bin/bash
  ProcVersionSignature: Ubuntu 3.2.0-27.43-generic 3.2.21
  Tags:  precise running-unity
  Uname: Linux 3.2.0-27-generic x86_64
  UpgradeStatus: No upgrade log present (probably fresh install)
  UserGroups: adm cdrom dip gemeinde kinder lpadmin nalasu plugdev sambashare stocks sudo vboxusers
  dmi.bios.date: 02/10/2007
  dmi.bios.vendor: Phoenix Technologies, LTD
  dmi.bios.version: 6.00 PG
  dmi.board.name: K8M890-8237A
  dmi.board.vendor: Foxconn
  dmi.chassis.type: 3
  dmi.chassis.vendor: OEM
  dmi.modalias: dmi:bvnPhoenixTechnologies,LTD:bvr6.00PG:bd02/10/2007:svnFoxconn:pnOEM:pvr:rvnFoxconn:rnK8M890-8237A:rvr:cvnOEM:ct3:cvr:
  dmi.product.name: OEM
  dmi.sys.vendor: Foxconn

To manage notifications about this bug go to:
https://bugs.launchpad.net/alsa-driver/+bug/1033299/+subscriptions