WARNING - OLD ARCHIVES

This is an archived copy of the Xen.org mailing list, which we have preserved to ensure that existing links to archives are not broken. The live archive, which contains the latest emails, can be found at http://lists.xen.org/
   
 
 
Xen 
 
Home Products Support Community News
 
   
 

xen-users

[Xen-users] cannot enable sound on domU (centos5.1) and cannot change vi

To: "Xen Users Mailing List" <xen-users@xxxxxxxxxxxxxxxxxxx>, "xen-users-owner@xxxxxxxxxxxxxxxxxxx" <xen-users-owner@xxxxxxxxxxxxxxxxxxx>, "xen-users-request@xxxxxxxxxxxxxxxxxxx" <xen-users-request@xxxxxxxxxxxxxxxxxxx>
Subject: [Xen-users] cannot enable sound on domU (centos5.1) and cannot change virbr0 bridge to xenbr0 bridge
From: "Eric Jansen" <eric@xxxxxxxxxxxxxx>
Date: Wed, 26 Nov 2008 14:31:40 +0100
Delivery-date: Wed, 26 Nov 2008 05:32:28 -0800
Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from:sender :to:subject:mime-version:content-type:x-google-sender-auth; bh=b7q+FJbBtsQzfNqOikELI1UI6pUY+vUDpRC4EMWZbqk=; b=LUri4umT8g+hU4SVJGcmzuM2SUyTKUGvdeDG3T/kN95M++JGALiHRHOai6SugIfTPM SrrJFkoxDDaWgIuvB1m/mqgTBhLtI5ROsPe4sHRdi6ZLiYHrm2mj6UjGyG6MoXAWWOCU TuUicdizvYTRQXcs6HVANZmENqZ2Zw06cqr00=
Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:sender:to:subject:mime-version:content-type :x-google-sender-auth; b=fXDOddrS9w7iqy4zM0/NokqktueMQzupaJSBQa/GAshJIAls4ZEimK+c9enw16t3us Cbbe57g5i3dRTO84VT1RubcoETaK7pzEGFZaWap5dxuCOrsMrdFfcTo1CkyBpT3ry9bU gBtuEjsbsEy+a4PnLPttECvIBURo+58BoM4QI=
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
List-help: <mailto:xen-users-request@lists.xensource.com?subject=help>
List-id: Xen user discussion <xen-users.lists.xensource.com>
List-post: <mailto:xen-users@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/mailman/listinfo/xen-users>, <mailto:xen-users-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/mailman/listinfo/xen-users>, <mailto:xen-users-request@lists.xensource.com?subject=unsubscribe>
Sender: xen-users-bounces@xxxxxxxxxxxxxxxxxxx
Hi all,

my dom0 is centos5.2 and domU paravirtualized is centos5.1
I can play sound on dom0 but not in domU (name: gasphar), moreover I use wifi as my inet connection and on installing domU cento5.1, I used virt-manager.
I know that libvirtd made virbr0 and when changing to xenbr0, I cannot connect to internet but ssh to dom0 is fine!
so how do I enable sound device on domU and changing to xenbr0?
so please examine and analyze my case:

Thank you before

[root@wing godwing]# cat /etc/xen/gasphar
name = "gasphar"
uuid = "962ba8b8-fd4a-f8e0-bccd-780477e76585"
maxmem = 750
memory = 750
vcpus = 1
bootloader = "/usr/bin/pygrub"
kernel = "/var/lib/xen/boot_kernel.JZwk9P"
ramdisk = "/var/lib/xen/boot_ramdisk.Bu59SS"
extra = "ro root=LABEL=/ rhgb quiet"
>> >vfb = [ "type=vnc,vncdisplay=1,keymap=en-us" ]
disk = [ "tap:aio:/vm/xen/gasphar.img,xvda,w" ]
vif = [ "mac=00:16:3e:35:57:93,bridge=virbr0,script=vif-bridge" ]

[root@wing godwing]# /sbin/lspci | grep Audio
00:1b.0 Audio device: Intel Corporation 82801H (ICH8 Family) HD Audio Controller (rev 03)

[root@wing godwing]# /sbin/ifconfig
ath0      Link encap:Ethernet  HWaddr 00:15:AF:1E:13:E5 
          inet addr:192.168.200.102  Bcast:192.168.200.255  Mask:255.255.255.0
          inet6 addr: fe80::215:afff:fe1e:13e5/64 Scope:Link
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:25806 errors:0 dropped:0 overruns:0 frame:0
          TX packets:12744 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:0
          RX bytes:20572092 (19.6 MiB)  TX bytes:2261705 (2.1 MiB)

eth0      Link encap:Ethernet  HWaddr 00:19:DB:38:95:B4 
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:0 errors:0 dropped:0 overruns:0 frame:0
          TX packets:23 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:0
          RX bytes:0 (0.0 b)  TX bytes:7517 (7.3 KiB)

eth1      Link encap:Ethernet  HWaddr 00:17:3F:0A:7A:26 
          UP BROADCAST MULTICAST  MTU:1500  Metric:1
          RX packets:0 errors:0 dropped:0 overruns:0 frame:0
          TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000
          RX bytes:0 (0.0 b)  TX bytes:0 (0.0 b)
          Interrupt:18 Base address:0xc000

lo        Link encap:Local Loopback 
          inet addr:127.0.0.1  Mask:255.0.0.0
          inet6 addr: ::1/128 Scope:Host
          UP LOOPBACK RUNNING  MTU:16436  Metric:1
          RX packets:5589 errors:0 dropped:0 overruns:0 frame:0
          TX packets:5589 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:0
          RX bytes:7747278 (7.3 MiB)  TX bytes:7747278 (7.3 MiB)

peth0     Link encap:Ethernet  HWaddr FE:FF:FF:FF:FF:FF 
          UP BROADCAST NOARP  MTU:1500  Metric:1
          RX packets:0 errors:0 dropped:0 overruns:0 frame:0
          TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000
          RX bytes:0 (0.0 b)  TX bytes:0 (0.0 b)
          Interrupt:16 Base address:0xe000

vif0.0    Link encap:Ethernet  HWaddr FE:FF:FF:FF:FF:FF 
          inet6 addr: fe80::fcff:ffff:feff:ffff/64 Scope:Link
          UP BROADCAST RUNNING NOARP  MTU:1500  Metric:1
          RX packets:23 errors:0 dropped:0 overruns:0 frame:0
          TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:0
          RX bytes:7517 (7.3 KiB)  TX bytes:0 (0.0 b)

vif1.0    Link encap:Ethernet  HWaddr FE:FF:FF:FF:FF:FF 
          inet6 addr: fe80::fcff:ffff:feff:ffff/64 Scope:Link
          UP BROADCAST RUNNING NOARP  MTU:1500  Metric:1
          RX packets:53 errors:0 dropped:0 overruns:0 frame:0
          TX packets:276 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:32
          RX bytes:9636 (9.4 KiB)  TX bytes:15177 (14.8 KiB)

virbr0    Link encap:Ethernet  HWaddr FE:FF:FF:FF:FF:FF 
          inet addr:192.168.122.1  Bcast:192.168.122.255  Mask:255.255.255.0
          inet6 addr: fe80::200:ff:fe00:0/64 Scope:Link
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:43 errors:0 dropped:0 overruns:0 frame:0
          TX packets:49 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:0
          RX bytes:7940 (7.7 KiB)  TX bytes:10518 (10.2 KiB)

wifi0     Link encap:UNSPEC  HWaddr 00-15-AF-1E-13-E5-38-27-00-00-00-00-00-00-00-00 
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:65134 errors:0 dropped:0 overruns:0 frame:649
          TX packets:14371 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:195
          RX bytes:17820381 (16.9 MiB)  TX bytes:2879567 (2.7 MiB)
          Interrupt:17

xenbr0    Link encap:Ethernet  HWaddr FE:FF:FF:FF:FF:FF 
          UP BROADCAST RUNNING NOARP  MTU:1500  Metric:1
          RX packets:23 errors:0 dropped:0 overruns:0 frame:0
          TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:0
          RX bytes:7195 (7.0 KiB)  TX bytes:0 (0.0 b)

[root@wing godwing]# /sbin/ip route show
192.168.200.0/24 dev ath0  proto kernel  scope link  src 192.168.200.102
192.168.122.0/24 dev virbr0  proto kernel  scope link  src 192.168.122.1
default via 192.168.200.1 dev ath0

[root@wing godwing]# /usr/sbin/brctl show
bridge name     bridge id               STP enabled     interfaces
virbr0          8000.feffffffffff       yes             vif1.0
xenbr0          8000.feffffffffff       no              peth0
                                                        vif0.0
[root@wing godwing]# /sbin/route -n
Kernel IP routing table
Destination     Gateway         Genmask         Flags Metric Ref    Use Iface
192.168.200.0   0.0.0.0         255.255.255.0   U     0      0        0 ath0
192.168.122.0   0.0.0.0         255.255.255.0   U     0      0        0 virbr0
0.0.0.0         192.168.200.1   0.0.0.0         UG    0      0        0 ath0


--
Eric Jansen
_______________________________________________
Xen-users mailing list
Xen-users@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-users
<Prev in Thread] Current Thread [Next in Thread>
  • [Xen-users] cannot enable sound on domU (centos5.1) and cannot change virbr0 bridge to xenbr0 bridge, Eric Jansen <=