Hi, Have just brought a Digium TDM400P card for my Asterisk server but appear to be having trouble getting it to be hidden from DOM-0. Here is what dmesg shows :- pciback 0000:02:07.0: Driver tried to write to a read-only configuration space field at offset 0x44, size 2. This may be harmless, but if you have problems with your device: 1) see permissive attribute in sysfs 2) report problems to the xen-devel mailing list along with details of your device obtained from lspci. PCI: Enabling device 0000:02:07.0 (0000 -> 0003) ACPI: PCI Interrupt 0000:02:07.0[A] -> GSI 26 (level, low) -> IRQ 20 ACPI: PCI interrupt for device 0000:02:07.0 disabled pciback: vpci: 0000:02:07.0: assign to virtual slot 0 PCI: Enabling device 0000:02:07.0 (0000 -> 0003) and from the lspci :- 02:07.0 Network controller: Tiger Jet Network Inc. Tiger3XX Modem/ISDN interface Subsystem: Unknown device b100:0001 Flags: bus master, medium devsel, latency 64, IRQ 20 I/O ports at a800 [size=256] Memory at fc7ff000 (32-bit, non-prefetchable) [size=4K] Capabilities: [40] Power Management version 2 In my rc.local I have the following :- modprobe pciback sleep 2 SLOT=0000:02:07.0 echo -n $SLOT > /sys/bus/pci/drivers/pciback/new_slot echo -n $SLOT > /sys/bus/pci/drivers/pciback/bind Does this look okay ? or should I contact the devel list ? Regards, -- --[ UxBoD ]-- // PGP Key: "curl -s http://www.splatnix.net/uxbod.asc | gpg --import" // Fingerprint: F57A 0CBD DD19 79E9 1FCC A612 CB36 D89D 2C5A 3A84 // Keyserver: www.keyserver.net Key-ID: 0x2C5A3A84 // Phone: +44 845 869 2749 SIP Phone: uxbod@sip.splatnix.net -- This message has been scanned for viruses and dangerous content by MailScanner, and is believed to be clean. _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
>In my rc.local I have the following :-rc.local? Does this not need to be loaded far earlier than that? Generate a new initrd with that module, and place the params in modprobe.conf. Also, I am curious about how well Asterisk will work in production under Xen, my experience (and all the docs) suggest less than satisfactory experience. jlc _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
I deleted accidentally the whole dir /etc/xen/vm. But my domains are still working, I can start them, stop them etc. How do I get the configuration out of the xenstore? I know this command xm list --long DomName > DomName.sxp, but the *.sxp is very different than the regular configuration file. Is there any way to get them back? _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
That''s also something I''m interested in, I just setup an Asterisk/FreePBX domU and will do some tests over the weekend. I''m confident it''ll work fine for us though since it''s just meant to be a sip extension to an existing PBX. And this approach can''t be worse than trying to compile sipX under Debian...> -----Original Message----- > From: JCasale@activenetwerx.com [mailto:xen-users- > bounces@lists.xensource.com] On Behalf Of Joseph L. Casale > Sent: Friday, August 22, 2008 3:25 PM > To: Xen Users > Subject: RE: [Xen-users] Xen 3.2.1 and PCI passthrough > > Also, I am curious about how well Asterisk will work in production > under Xen, my experience (and all the docs) suggest less than satisfactory > experience. > > jlc_______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
>That''s also something I''m interested in, I just setup an Asterisk/FreePBX domU and will do some tests over the weekend. I''m confident it''ll work fine >for us though since it''s just meant to be a sip extension to an existing PBX. And this approach can''t be worse than trying to compile sipX under >Debian...I had uncountable amount of untraceable reliability issues off many different setups over different platforms trying to get it to work. Its unsupported and known to give unpredictable issues. I hope this gets resolved some day! jlc _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
Jefferson Ogata
2008-Aug-23 04:28 UTC
Re: [Xen-users] How to rebuild the Configuration files
Venefax wrote:> I deleted accidentally the whole dir /etc/xen/vm. But my domains are still working, I can start them, stop them etc. How do I get the configuration out of the xenstore? I know this command xm list --long DomName > DomName.sxp, but the *.sxp is very different than the regular configuration file. Is there any way to get them back?xenstore-ls may help. -- Jefferson Ogata : Internetworker, Antibozo _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
I tried to hide my 2nd NIC too from Dom0 using Xen 3.2.1 with the appropriate entries in modprobe.conf but it didnt work. I reverted back to using Xen 3.1 where it worked fine. I''d like to know how this goes with 3.2.1. -Devdutt. On Fri, Aug 22, 2008 at 6:06 AM, --[ UxBoD ]-- <uxbod@splatnix.net> wrote:> Hi, > > Have just brought a Digium TDM400P card for my Asterisk server but appear > to be having trouble getting it to be hidden from DOM-0. Here is what dmesg > shows :- > > pciback 0000:02:07.0: Driver tried to write to a read-only configuration > space field at offset 0x44, size 2. This may be harmless, but if you have > problems with your device: > 1) see permissive attribute in sysfs > 2) report problems to the xen-devel mailing list along with details of your > device obtained from lspci. > PCI: Enabling device 0000:02:07.0 (0000 -> 0003) > ACPI: PCI Interrupt 0000:02:07.0[A] -> GSI 26 (level, low) -> IRQ 20 > ACPI: PCI interrupt for device 0000:02:07.0 disabled > pciback: vpci: 0000:02:07.0: assign to virtual slot 0 > PCI: Enabling device 0000:02:07.0 (0000 -> 0003) > > and from the lspci :- > > 02:07.0 Network controller: Tiger Jet Network Inc. Tiger3XX Modem/ISDN > interface > Subsystem: Unknown device b100:0001 > Flags: bus master, medium devsel, latency 64, IRQ 20 > I/O ports at a800 [size=256] > Memory at fc7ff000 (32-bit, non-prefetchable) [size=4K] > Capabilities: [40] Power Management version 2 > > In my rc.local I have the following :- > > modprobe pciback > sleep 2 > SLOT=0000:02:07.0 > echo -n $SLOT > /sys/bus/pci/drivers/pciback/new_slot > echo -n $SLOT > /sys/bus/pci/drivers/pciback/bind > > Does this look okay ? or should I contact the devel list ? > > > Regards, > > -- > --[ UxBoD ]-- > // PGP Key: "curl -s http://www.splatnix.net/uxbod.asc | gpg --import" > // Fingerprint: F57A 0CBD DD19 79E9 1FCC A612 CB36 D89D 2C5A 3A84 > // Keyserver: www.keyserver.net Key-ID: 0x2C5A3A84 > // Phone: +44 845 869 2749 SIP Phone: uxbod@sip.splatnix.net > > -- > This message has been scanned for viruses and > dangerous content by MailScanner, and is > believed to be clean. > > > _______________________________________________ > Xen-users mailing list > Xen-users@lists.xensource.com > http://lists.xensource.com/xen-users >_______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
On Fri, Aug 22, 2008 at 10:36 AM, Venefax <venefax@gmail.com> wrote:> I deleted accidentally the whole dir /etc/xen/vm. But my domains are still working, I can start them, stop them etc. How do I get the configuration out of the xenstore? I know this command xm list --long DomName > DomName.sxp, but the *.sxp is very different than the regular configuration file. Is there any way to get them back? > >If you are using libvirt as a backend (i.e fedora/centOS/really new Ubuntu) virt-{manager,install, et al} you should look into: virsh dumpxml There have been some conversation on the list about this too. Cheers, Todd -- Todd Deshane http://todddeshane.net check out our book: http://runningxen.com _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
I see Xen 3.3.0 has been released so will give that a try to see if it handles it any better! Regards, -- --[ UxBoD ]-- // PGP Key: "curl -s http://www.splatnix.net/uxbod.asc | gpg --import" // Fingerprint: F57A 0CBD DD19 79E9 1FCC A612 CB36 D89D 2C5A 3A84 // Keyserver: www.keyserver.net Key-ID: 0x2C5A3A84 // Phone: +44 845 869 2749 SIP Phone: uxbod@sip.splatnix.net ----- "Devdutt Patnaik" <xendevid@gmail.com> wrote:> I tried to hide my 2nd NIC too from Dom0 using Xen 3.2.1 with the > appropriate entries in modprobe.conf but it didnt work. > I reverted back to using Xen 3.1 where it worked fine. > > I''d like to know how this goes with MailScanner warning: numerical > links are often malicious: 3.2.1. > > -Devdutt. > > > On Fri, Aug 22, 2008 at 6:06 AM, --[ UxBoD ]-- < uxbod@splatnix.net > > wrote: > > > Hi, > > Have just brought a Digium TDM400P card for my Asterisk server but > appear to be having trouble getting it to be hidden from DOM-0. Here > is what dmesg shows :- > > pciback 0000:02:07.0: Driver tried to write to a read-only > configuration space field at offset 0x44, size 2. This may be > harmless, but if you have problems with your device: > 1) see permissive attribute in sysfs > 2) report problems to the xen-devel mailing list along with details of > your device obtained from lspci. > PCI: Enabling device 0000:02:07.0 (0000 -> 0003) > ACPI: PCI Interrupt 0000:02:07.0[A] -> GSI 26 (level, low) -> IRQ 20 > ACPI: PCI interrupt for device 0000:02:07.0 disabled > pciback: vpci: 0000:02:07.0: assign to virtual slot 0 > PCI: Enabling device 0000:02:07.0 (0000 -> 0003) > > and from the lspci :- > > 02:07.0 Network controller: Tiger Jet Network Inc. Tiger3XX Modem/ISDN > interface > Subsystem: Unknown device b100:0001 > Flags: bus master, medium devsel, latency 64, IRQ 20 > I/O ports at a800 [size=256] > Memory at fc7ff000 (32-bit, non-prefetchable) [size=4K] > Capabilities: [40] Power Management version 2 > > In my rc.local I have the following :- > > modprobe pciback > sleep 2 > SLOT=0000:02:07.0 > echo -n $SLOT > /sys/bus/pci/drivers/pciback/new_slot > echo -n $SLOT > /sys/bus/pci/drivers/pciback/bind > > Does this look okay ? or should I contact the devel list ? > > > Regards,-- This message has been scanned for viruses and dangerous content by MailScanner, and is believed to be clean. _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
Yes I tried by creating a new initrd but it produced the same results :( Regards, -- --[ UxBoD ]-- // PGP Key: "curl -s http://www.splatnix.net/uxbod.asc | gpg --import" // Fingerprint: F57A 0CBD DD19 79E9 1FCC A612 CB36 D89D 2C5A 3A84 // Keyserver: www.keyserver.net Key-ID: 0x2C5A3A84 // Phone: +44 845 869 2749 SIP Phone: uxbod@sip.splatnix.net ----- "Joseph L. Casale" <JCasale@activenetwerx.com> wrote:> rc.local? Does this not need to be loaded far earlier than that? > > Generate a new initrd with that module, and place the params in > > modprobe.conf. > > > > Also, I am curious about how well Asterisk will work in production > > under Xen, my experience (and all the docs) suggest less than > satisfactory > > experience. > > > > jlc-- This message has been scanned for viruses and dangerous content by MailScanner, and is believed to be clean. _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
--[ UxBoD ]-- wrote:> Hi, > > Have just brought a Digium TDM400P card for my Asterisk server but appear to be having trouble getting it to be hidden from DOM-0. Here is what dmesg shows :- > > pciback 0000:02:07.0: Driver tried to write to a read-only configuration space field at offset 0x44, size 2. This may be harmless, but if you have problems with your device: > 1) see permissive attribute in sysfs > 2) report problems to the xen-devel mailing list along with details of your device obtained from lspci. > PCI: Enabling device 0000:02:07.0 (0000 -> 0003) > ACPI: PCI Interrupt 0000:02:07.0[A] -> GSI 26 (level, low) -> IRQ 20 > ACPI: PCI interrupt for device 0000:02:07.0 disabled > pciback: vpci: 0000:02:07.0: assign to virtual slot 0 > PCI: Enabling device 0000:02:07.0 (0000 -> 0003) > > and from the lspci :- > > 02:07.0 Network controller: Tiger Jet Network Inc. Tiger3XX Modem/ISDN interface > Subsystem: Unknown device b100:0001 > Flags: bus master, medium devsel, latency 64, IRQ 20 > I/O ports at a800 [size=256] > Memory at fc7ff000 (32-bit, non-prefetchable) [size=4K] > Capabilities: [40] Power Management version 2 > > In my rc.local I have the following :- > > modprobe pciback > sleep 2 > SLOT=0000:02:07.0 >You missed. echo -n $SLOT > /sys/bus/pci/drivers/<driver>/unbind> echo -n $SLOT > /sys/bus/pci/drivers/pciback/new_slot > echo -n $SLOT > /sys/bus/pci/drivers/pciback/bind > > Does this look okay ? or should I contact the devel list ? >You better need to use your /etc/modprobe.conf to hide the device while pciback module is loaded to the kernel. I have the below two lines in my /etc/modprobe.conf to hid a broadcom network card which uses bnx2 driver. install bnx2 /sbin/modprobe pciback ; /sbin/modprobe --first-time --ignore-install bnx2 options pciback hide=(0000:09:00.0) verbose_request=1 --Sadique> > Regards, > >_______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
Sadique Puthen
2008-Aug-24 18:38 UTC
Re: [Xen-users] How to rebuild the Configuration files
Venefax wrote:> I deleted accidentally the whole dir /etc/xen/vm. But my domains are still working, I can start them, stop them etc. How do I get the configuration out of the xenstore? I know this command xm list --long DomName > DomName.sxp, but the *.sxp is very different than the regular configuration file. Is there any way to get them back? >Restore it from the backup. If u don''t have a good backup, build it manually using the details from xenstore-ls. --Sadique> > _______________________________________________ > Xen-users mailing list > Xen-users@lists.xensource.com > http://lists.xensource.com/xen-users > >_______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
Cannot unbind on the Dom0 as it appears no driver is present :- 02:07.0 Network controller: Tiger Jet Network Inc. Tiger3XX Modem/ISDN interface Subsystem: Unknown device b100:0001 Flags: bus master, medium devsel, latency 64, IRQ 16 I/O ports at a800 [size=256] Memory at fc7ff000 (32-bit, non-prefetchable) [size=4K] Capabilities: [40] Power Management version 2 Regards, -- --[ UxBoD ]-- // PGP Key: "curl -s http://www.splatnix.net/uxbod.asc | gpg --import" // Fingerprint: F57A 0CBD DD19 79E9 1FCC A612 CB36 D89D 2C5A 3A84 // Keyserver: www.keyserver.net Key-ID: 0x2C5A3A84 // Phone: +44 845 869 2749 SIP Phone: uxbod@sip.splatnix.net ----- "Sadique Puthen" <sputhenp@redhat.com> wrote:> You missed. > > > > echo -n $SLOT > /sys/bus/pci/drivers/<driver>/unbind> You better need to use your /etc/modprobe.conf to hide the device > while > > pciback module is loaded to the kernel. I have the below two lines in > my > > /etc/modprobe.conf to hid a broadcom network card which uses bnx2 > driver. > > > > install bnx2 /sbin/modprobe pciback ; /sbin/modprobe --first-time-- This message has been scanned for viruses and dangerous content by MailScanner, and is believed to be clean. _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users