I used Live Upgrade on my desktop from SXCE 72 to SXCE 77 last week. Everything seems fine on SXCE 77 and my sound works fine when I''m in i86pc mode with the OSS driver. Yesterday, I decided to try and boot to dom0, so I had to run ''bootadm -m upgrade'' to get the xVM option to show up in GRUB. I rebooted and selected ''Solaris xVM'' and received the following errors on the console and in the messages file about the OSS driver. Nov 26 16:46:21 eham pseudo: [ID 129642 kern.info] pseudo-device: ossusb0 Nov 26 16:46:21 eham genunix: [ID 936769 kern.info] ossusb0 is /ps eudo/ossusb@0 Nov 26 16:46:21 eham osscore: [ID 881921 kern.warning] WARNING: Ca n''t allocate a DMA buffer for device 0 Nov 26 16:46:21 eham osscore: [ID 954489 kern.warning] WARNING: Fa iled to allocate DMA buffer for audio engine 0/Intel HD Audio play-front output I went ahead and logged in to test the sound anyway and it definitely does not work in dom0. So, I booted back to the bare metal option and the sound works fine. I''m not sure how to troubleshoot this more, or if this is a bug, any recommendations would be welcome. Below is some basic output from prtconf and ossinfo while booted on bare metal. This is a Gateway E-6500 PC with an Intel 945G motherboard and on-board Intel sound, if that helps. Regards, -Eric bash-3.2# uname -a SunOS eham 5.11 snv_77 i86pc i386 i86pc bash-3.2# prtconf -D System Configuration: Sun Microsystems i86pc Memory size: 3326 Megabytes System Peripherals (Software Nodes): i86pc (driver name: rootnex) scsi_vhci, instance #0 (driver name: scsi_vhci) isa, instance #0 (driver name: isa) lp, instance #0 (driver name: ecpp) i8042, instance #0 (driver name: i8042) keyboard, instance #0 (driver name: kb8042) asy, instance #0 (driver name: asy) pit_beep, instance #0 (driver name: pit_beep) pci, instance #0 (driver name: npe) pci107b,5047, instance #0 (driver name: agptarget) pci8086,2771, instance #0 (driver name: pcie_pci) display, instance #0 (driver name: nvidia) pci107b,5047, instance #0 (driver name: hdaudio) pci8086,27d0, instance #1 (driver name: pcie_pci) pci107b,5047, instance #0 (driver name: bge) pci8086,27d4, instance #2 (driver name: pcie_pci) pci8086,27d6, instance #3 (driver name: pcie_pci) pci8086,27e0, instance #4 (driver name: pcie_pci) pci8086,27e2, instance #5 (driver name: pcie_pci) pci107b,5047, instance #0 (driver name: uhci) pci107b,5047, instance #1 (driver name: uhci) pci107b,5047, instance #2 (driver name: uhci) mouse, instance #0 (driver name: hid) pci107b,5047, instance #3 (driver name: uhci) pci107b,5047, instance #0 (driver name: ehci) hub, instance #0 (driver name: hubd) pci8086,244e, instance #0 (driver name: pci_pci) pci107b,5047, instance #0 (driver name: hci1394) pci107b,5047 pci-ide, instance #0 (driver name: pci-ide) ide, instance #0 (driver name: ata) sd, instance #6 (driver name: sd) ide (driver name: ata) pci107b,5047, instance #0 (driver name: ahci) disk, instance #4 (driver name: sd) disk, instance #5 (driver name: sd) pci107b,5047 iscsi, instance #0 (driver name: iscsi) pseudo, instance #0 (driver name: pseudo) options, instance #0 (driver name: options) agpgart, instance #0 (driver name: agpgart) xsvc, instance #0 (driver name: xsvc) used-resources cpus, instance #0 (driver name: cpunex) cpu (driver name: cpudrv) cpu (driver name: cpudrv) bash-3.2# ossinfo Version info: OSS 4.0 (b1008/200710111700) (0x00040003) Platform: SunOS/i86pc 5.11 snv_77 (eham) Number of audio devices: 7 Number of audio engines: 15 Number of MIDI devices: 0 Number of mixer devices: 1 Device objects 0: sadasupport0 SADA compatibility layer 1: hdaudio0 Intel HD Audio HD Audio controller Intel HD Audio Vendor ID 0x808627d8 Subvendor ID 0x107b5047 Codec 2: STAC9221 (0x83847680 2: osscore0 OSS core services 3: ossusb0 USB audio/MIDI device 4: vmix0 OSS transparent virtual support MIDI devices (/dev/midi*) Mixer devices (/dev/mixer*) 0: Intel HD Audio STAC9221 (Mixer 0 of device object 1) Audio devices /dev/oss/hdaudio0/pcm0 Intel HD Audio play-front output (device index 0) /dev/oss/hdaudio0/pcm1 Intel HD Audio play-center/LFE output (device index 1) /dev/oss/hdaudio0/pcm2 Intel HD Audio play-rear output (device index 2) /dev/oss/hdaudio0/spdout0 Intel HD Audio spdif-out output (device index 3) /dev/oss/hdaudio0/pcmin0 Intel HD Audio rec1 input (device index 4) /dev/oss/hdaudio0/pcmin1 Intel HD Audio rec2 input (device index 5) /dev/oss/hdaudio0/spdin0 Intel HD Audio spdif-in input (device index 6)
Eric Ham wrote:> I used Live Upgrade on my desktop from SXCE 72 to SXCE 77 last week. > Everything seems fine on SXCE 77 and my sound works fine when I''m in > i86pc mode with the OSS driver. Yesterday, I decided to try and boot > to dom0, so I had to run ''bootadm -m upgrade'' to get the xVM option to > show up in GRUB. I rebooted and selected ''Solaris xVM'' and received > the following errors on the console and in the messages file about the > OSS driver. > > Nov 26 16:46:21 eham pseudo: [ID 129642 kern.info] pseudo-device: > ossusb0 > Nov 26 16:46:21 eham genunix: [ID 936769 kern.info] ossusb0 is /ps > eudo/ossusb@0 > Nov 26 16:46:21 eham osscore: [ID 881921 kern.warning] WARNING: Ca > n''t allocate a DMA buffer for device 0 > Nov 26 16:46:21 eham osscore: [ID 954489 kern.warning] WARNING: Fa > iled to allocate DMA buffer for audio engine 0/Intel HD Audio play-front output > > I went ahead and logged in to test the sound anyway and it definitely > does not work in dom0. So, I booted back to the bare metal option and > the sound works fine. > > I''m not sure how to troubleshoot this more, or if this is a bug, any > recommendations would be welcome. Below is some basic output from > prtconf and ossinfo while booted on bare metal. This is a Gateway > E-6500 PC with an Intel 945G motherboard and on-board Intel sound, if > that helps.This might? be... 6626376 contig alloc on xVM allocs more memory than needed sometimes http://bugs.opensolaris.org/view_bug.do?bug_id=6626376 MRJ> Regards, > -Eric > > > bash-3.2# uname -a > SunOS eham 5.11 snv_77 i86pc i386 i86pc > > > bash-3.2# prtconf -D > System Configuration: Sun Microsystems i86pc > Memory size: 3326 Megabytes > System Peripherals (Software Nodes): > > i86pc (driver name: rootnex) > scsi_vhci, instance #0 (driver name: scsi_vhci) > isa, instance #0 (driver name: isa) > lp, instance #0 (driver name: ecpp) > i8042, instance #0 (driver name: i8042) > keyboard, instance #0 (driver name: kb8042) > asy, instance #0 (driver name: asy) > pit_beep, instance #0 (driver name: pit_beep) > pci, instance #0 (driver name: npe) > pci107b,5047, instance #0 (driver name: agptarget) > pci8086,2771, instance #0 (driver name: pcie_pci) > display, instance #0 (driver name: nvidia) > pci107b,5047, instance #0 (driver name: hdaudio) > pci8086,27d0, instance #1 (driver name: pcie_pci) > pci107b,5047, instance #0 (driver name: bge) > pci8086,27d4, instance #2 (driver name: pcie_pci) > pci8086,27d6, instance #3 (driver name: pcie_pci) > pci8086,27e0, instance #4 (driver name: pcie_pci) > pci8086,27e2, instance #5 (driver name: pcie_pci) > pci107b,5047, instance #0 (driver name: uhci) > pci107b,5047, instance #1 (driver name: uhci) > pci107b,5047, instance #2 (driver name: uhci) > mouse, instance #0 (driver name: hid) > pci107b,5047, instance #3 (driver name: uhci) > pci107b,5047, instance #0 (driver name: ehci) > hub, instance #0 (driver name: hubd) > pci8086,244e, instance #0 (driver name: pci_pci) > pci107b,5047, instance #0 (driver name: hci1394) > pci107b,5047 > pci-ide, instance #0 (driver name: pci-ide) > ide, instance #0 (driver name: ata) > sd, instance #6 (driver name: sd) > ide (driver name: ata) > pci107b,5047, instance #0 (driver name: ahci) > disk, instance #4 (driver name: sd) > disk, instance #5 (driver name: sd) > pci107b,5047 > iscsi, instance #0 (driver name: iscsi) > pseudo, instance #0 (driver name: pseudo) > options, instance #0 (driver name: options) > agpgart, instance #0 (driver name: agpgart) > xsvc, instance #0 (driver name: xsvc) > used-resources > cpus, instance #0 (driver name: cpunex) > cpu (driver name: cpudrv) > cpu (driver name: cpudrv) > > > bash-3.2# ossinfo > Version info: OSS 4.0 (b1008/200710111700) (0x00040003) > Platform: SunOS/i86pc 5.11 snv_77 (eham) > > Number of audio devices: 7 > Number of audio engines: 15 > Number of MIDI devices: 0 > Number of mixer devices: 1 > > > Device objects > 0: sadasupport0 SADA compatibility layer > 1: hdaudio0 Intel HD Audio > HD Audio controller Intel HD Audio > Vendor ID 0x808627d8 > Subvendor ID 0x107b5047 > Codec 2: STAC9221 (0x83847680 > 2: osscore0 OSS core services > 3: ossusb0 USB audio/MIDI device > 4: vmix0 OSS transparent virtual support > > MIDI devices (/dev/midi*) > > Mixer devices (/dev/mixer*) > 0: Intel HD Audio STAC9221 (Mixer 0 of device object 1) > > Audio devices > /dev/oss/hdaudio0/pcm0 Intel HD Audio play-front output (device index 0) > /dev/oss/hdaudio0/pcm1 Intel HD Audio play-center/LFE output (device index 1) > /dev/oss/hdaudio0/pcm2 Intel HD Audio play-rear output (device index 2) > /dev/oss/hdaudio0/spdout0 Intel HD Audio spdif-out output > (device index 3) > /dev/oss/hdaudio0/pcmin0 Intel HD Audio rec1 input (device index 4) > /dev/oss/hdaudio0/pcmin1 Intel HD Audio rec2 input (device index 5) > /dev/oss/hdaudio0/spdin0 Intel HD Audio spdif-in input (device index 6) > _______________________________________________ > xen-discuss mailing list > xen-discuss@opensolaris.org
> This might? be... > > 6626376 contig alloc on xVM allocs more memory than needed sometimes > http://bugs.opensolaris.org/view_bug.do?bug_id=6626376 > > MRJMark, I didn''t receive replies from anyone else. While I read that bug and saw it is planned to be fixed in build 82, I don''t really know how to test if that bug is the same thing I''m seeing. Today I downloaded SXCE 78 and did a live upgrade from SXCE 77. I''m in a similar scenario that the sound works fine on bare metal, but not on dom0. Below are some new entries that I found in the /var/adm/messages file after booting to dom0 with SXCE 78. So, I''m not sure if this gives anymore clues or if I''ll just have to wait for build 82. Otherwise I''ll just keep using live upgrade each time a new SXCE is released and hope for a fix. -Eric Dec 19 18:50:43 eham unix: [ID 508459 kern.warning] WARNING: Canno t load psm pcplusmp Dec 19 18:50:43 eham genunix: [ID 636498 kern.warning] WARNING: ca nnot load platform pm driver acpippm Dec 19 18:50:43 eham genunix: [ID 636498 kern.warning] WARNING: ca nnot load platform pm driver ppm Dec 19 18:50:46 eham unix: [ID 881207 kern.notice] NOTICE: IRQ23 i s shared Dec 19 18:50:46 eham unix: [ID 954099 kern.info] NOTICE: IRQ19 is being shared by drivers with different interrupt levels. Dec 19 18:50:46 eham This may result in reduced system performance. Dec 19 18:50:47 eham unix: [ID 954099 kern.info] NOTICE: IRQ16 is being shared by drivers with different interrupt levels. Dec 19 18:50:47 eham This may result in reduced system performance. Dec 19 18:50:48 eham pcie_pci: [ID 975022 kern.info] Failed to ini tialize inband hotplug controller Dec 19 18:50:49 eham genunix: [ID 936769 kern.info] hdaudio0 is /p ci@0,0/pci107b,5047@1b Dec 19 18:51:04 eham pseudo: [ID 129642 kern.info] pseudo-device: osscore0 Dec 19 18:51:04 eham genunix: [ID 936769 kern.info] osscore0 is /p seudo/osscore@0 Dec 19 18:51:04 eham pseudo: [ID 129642 kern.info] pseudo-device: ossusb0 Dec 19 18:51:04 eham genunix: [ID 936769 kern.info] ossusb0 is /ps eudo/ossusb@0 Dec 19 18:51:04 eham osscore: [ID 881921 kern.warning] WARNING: Ca n''t allocate a DMA buffer for device 0 Dec 19 18:51:04 eham osscore: [ID 954489 kern.warning] WARNING: Fa iled to allocate DMA buffer for audio engine 0/Intel HD Audio play-front output
Eric Ham wrote:>> This might? be... >> >> 6626376 contig alloc on xVM allocs more memory than needed sometimes >> http://bugs.opensolaris.org/view_bug.do?bug_id=6626376 >> >> MRJ > > Mark, > > I didn''t receive replies from anyone else. While I read that bug and > saw it is planned to be fixed in build 82, I don''t really know how to > test if that bug is the same thing I''m seeing. > > Today I downloaded SXCE 78 and did a live upgrade from SXCE 77. I''m > in a similar scenario that the sound works fine on bare metal, but not > on dom0. Below are some new entries that I found in the > /var/adm/messages file after booting to dom0 with SXCE 78. So, I''m > not sure if this gives anymore clues or if I''ll just have to wait for > build 82. Otherwise I''ll just keep using live upgrade each time a new > SXCE is released and hope for a fix.It sounds like it''s the same bug.. But can''t be sure until we have a fix to test it. Sorry :-( MRJ> -Eric > > Dec 19 18:50:43 eham unix: [ID 508459 kern.warning] WARNING: Canno > t load psm pcplusmp > Dec 19 18:50:43 eham genunix: [ID 636498 kern.warning] WARNING: ca > nnot load platform pm driver acpippm > Dec 19 18:50:43 eham genunix: [ID 636498 kern.warning] WARNING: ca > nnot load platform pm driver ppm > Dec 19 18:50:46 eham unix: [ID 881207 kern.notice] NOTICE: IRQ23 i > s shared > Dec 19 18:50:46 eham unix: [ID 954099 kern.info] NOTICE: IRQ19 is > being shared by drivers with different interrupt levels. > Dec 19 18:50:46 eham This may result in reduced system performance. > Dec 19 18:50:47 eham unix: [ID 954099 kern.info] NOTICE: IRQ16 is > being shared by drivers with different interrupt levels. > Dec 19 18:50:47 eham This may result in reduced system performance. > Dec 19 18:50:48 eham pcie_pci: [ID 975022 kern.info] Failed to ini > tialize inband hotplug controller > Dec 19 18:50:49 eham genunix: [ID 936769 kern.info] hdaudio0 is /p > ci@0,0/pci107b,5047@1b > Dec 19 18:51:04 eham pseudo: [ID 129642 kern.info] pseudo-device: > osscore0 > Dec 19 18:51:04 eham genunix: [ID 936769 kern.info] osscore0 is /p > seudo/osscore@0 > Dec 19 18:51:04 eham pseudo: [ID 129642 kern.info] pseudo-device: > ossusb0 > Dec 19 18:51:04 eham genunix: [ID 936769 kern.info] ossusb0 is /ps > eudo/ossusb@0 > Dec 19 18:51:04 eham osscore: [ID 881921 kern.warning] WARNING: Ca > n''t allocate a DMA buffer for device 0 > Dec 19 18:51:04 eham osscore: [ID 954489 kern.warning] WARNING: Fa > iled to allocate DMA buffer for audio engine 0/Intel HD Audio play-front output > _______________________________________________ > xen-discuss mailing list > xen-discuss@opensolaris.org