Eric Jansen
2008-Nov-26 13:31 UTC
[Xen-users] cannot enable sound on domU (centos5.1) and cannot change virbr0 bridge to xenbr0 bridge
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" on_poweroff = "destroy" on_reboot = "restart" on_crash = "restart" 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@lists.xensource.com http://lists.xensource.com/xen-users
Maybe Matching Threads
- xend nothing to flush, waiting for peth0 to negotiate
- tinc and wireless mesh
- xen-3.0.3-80.el5_3.3 on RHEL 5.3 -- peth0 and xenbr0 don''t exist
- wicd problem 5: wicd restarts itself when as user making terminal commands
- wicd problem 4: wicd restarts itself when as root user making terminal commands