PV networking issue in 2.6.38.6 and 2.6.39-rc7 pvops dom0 kernels
A message that is not in the archive (sent off-list or not yet received): [email protected]
A message that is not in the archive (sent off-list or not yet received): [email protected]
A message that is not in the archive (sent off-list or not yet received): [email protected]
A message that is not in the archive (sent off-list or not yet received): [email protected]
A message that is not in the archive (sent off-list or not yet received): [email protected]
A message that is not in the archive (sent off-list or not yet received): [email protected]
A message that is not in the archive (sent off-list or not yet received): [email protected]
A message that is not in the archive (sent off-list or not yet received): [email protected]
A message that is not in the archive (sent off-list or not yet received): [email protected]
A message that is not in the archive (sent off-list or not yet received): [email protected]
Hello,
Ian: Any idea what could cause this error message (more info below):
"XENBUS: Timeout connecting to device: device/vif/0 (state 1)"
User says replacing 2.6.38/2.6.39 pvops dom0 kernel with xenlinux one fixes the problem..
-- Pasi
Quoted 138 lines · Mario
Quoted 66 lines · Pasi Kärkkäinen
Quoted 56 lines · Pasi Kärkkäinen
Quoted 55 lines · Mario
Quoted 34 lines · Pasi Kärkkäinen
Quoted 33 lines · Mario
Quoted 29 lines · Pasi Kärkkäinen
Quoted 16 lines · Mario
Quoted 7 lines · Pasi Kärkkäinen
Quoted 5 lines · Mario
Hey everyone,
I have been trying to make Xen-4.1.0 work on kernels mentioned in the subject, without much sucess. HVM guests are not affected, only PV.
Quoted 7 lines
Below you mention gentoo xenlinux patches..
So please be more specific about which kernel was vanilla (pvops), and which kernels had some external patches applied..
-- Pasi
Quoted 7 lines
Sorry, both kernels in subject were vanilla from kernel.org, with xen options selected for dom0 usage.
I only wanted to point out that networking works if i use kernel patched with rebased gentoo patches.
I am talking only about dom0 kernel here, domU kernel does not seem to be the source of the problem.OK. What kernel is the PV domU running? What Xen version are you using? 4.1 ?
-- Pasi
Quoted 7 lines
Quoted 5 lines
Well, i have tried following kernels in domU:
2.6.31.6 (i got this one from stacklet)
2.6.37.6-domU
2.6.33.4-domUAre these pvops/vanilla or with some patches?
Those are pvops/vanilla, no patches.
Quoted 9 lines
Quoted 8 lines
2.6.38.6-xen (dom0 kernel)
2.6.34.7-xen (dom0 kernel)
2.6.39-rc7-xen (dom0 kernel)None of them made any difference, they were all complaining about vif. Yeah, I am running Xen 4.1
Quoted 8 lines
Quoted 4 lines
Quoted 1 line
Are you using xm/xend or xl/libxl toolstack?
I am using xl/libxl with Xen 4.1
Ok. Have you tried Jeremy's xen.git xen/stable-2.6.32.x as a dom0 kernel? It would be interesting to know if that works for you or not.
Quoted 10 lines
Btw. Did you realize upstream 2.6.38 / 2.6.39 does not yet have xen-blkback driver included? also blktap2 driver is missing.
So you you can only use the phy: or file: backends, assuming Xen 4.1, which has the (slow) fallback qemu-based userspace blkback implementation.
-- Pasi
Yes i have, but seeing that HVM networking works, i wanted to report the PV one that doesn't.
m.
Quoted 51 lines
Quoted 51 lines
Quoted 42 lines
Quoted 42 lines
Quoted 41 lines
Quoted 41 lines
Quoted 32 lines
Quoted 32 lines
Quoted 31 lines
Error that i see in dmesg on the domU:
XENBUS: Timeout connecting to device: device/vif/0 (state 1)ifconfig -a on domU shows MAC address: 00:00:00:00:00:00
dom0 doesn't have any vif/tap interfaces assigned to domU when i do brctl show or ifconfig -a
I don't see any errors worth mentioning in
/var/log/xen, except mybe these two:
/tmp/SBo/xen-4.1.0/tools/ioemu-qemu-xen/hw/xen_blktap.c:628: Init blktap pipes
Could not open/var/run/tap/qemu-read-2Problem goes away when i boot 2.6.34.7 (it is the last kernel that i have built with gentoo rebased patches).
If there is something i can do to help debug this please do let me know.
Best regards,
mario_______________________________________________
Xen-users mailing list
[email protected]
http://lists.xensource.com/xen-usersQuoted 4 lines
Quoted 4 lines
_______________________________________________
Xen-users mailing list
[email protected]
http://lists.xensource.com/xen-users_______________________________________________
Xen-users mailing list
[email protected]
http://lists.xensource.com/xen-usersQuoted 4 lines
Quoted 4 lines
_______________________________________________
Xen-users mailing list
[email protected]
http://lists.xensource.com/xen-users_______________________________________________
Xen-users mailing list
[email protected]
http://lists.xensource.com/xen-users
Quoted 5 lines · Pasi Kärkkäinen
Hello,
Ian: Any idea what could cause this error message (more info below):
"XENBUS: Timeout connecting to device: device/vif/0 (state 1)"
Is this from the domU or the dom0?
Do other devices work ok?
Quoted 2 lines
User says replacing 2.6.38/2.6.39 pvops dom0 kernel with xenlinux one fixes the problem..
2.6.38 didn't have netback, only 2.6.39-rc1 did. Mario, please can you supply the .config you used with the 2.6.39 kernel and the exact commit id you are using. It would also be useful to see a complete log from both dom0 and domU.
Do the vif entries appear in XenStore? Using:
xenstore-ls /local/domain/$(xl domid <name>)/devices/vif
you should see some entries and those entries should reference a backend path which should also contains entries, please post both.
Ian.
Quoted 142 lines
-- Pasi
Quoted 138 lines · Mario
Quoted 66 lines · Pasi Kärkkäinen
Quoted 56 lines · Pasi Kärkkäinen
Quoted 55 lines · Mario
Quoted 34 lines · Pasi Kärkkäinen
Quoted 33 lines · Mario
Quoted 29 lines · Pasi Kärkkäinen
Quoted 16 lines · Mario
Quoted 7 lines · Pasi Kärkkäinen
Quoted 5 lines · Mario
Hey everyone,
I have been trying to make Xen-4.1.0 work on kernels mentioned in the subject, without much sucess. HVM guests are not affected, only PV.
Quoted 7 lines
Below you mention gentoo xenlinux patches..
So please be more specific about which kernel was vanilla (pvops), and which kernels had some external patches applied..
-- Pasi
Quoted 7 lines
Sorry, both kernels in subject were vanilla from kernel.org, with xen options selected for dom0 usage.
I only wanted to point out that networking works if i use kernel patched with rebased gentoo patches.
I am talking only about dom0 kernel here, domU kernel does not seem to be the source of the problem.OK. What kernel is the PV domU running? What Xen version are you using? 4.1 ?
-- Pasi
Quoted 7 lines
Quoted 5 lines
Well, i have tried following kernels in domU:
2.6.31.6 (i got this one from stacklet)
2.6.37.6-domU
2.6.33.4-domUAre these pvops/vanilla or with some patches?
Those are pvops/vanilla, no patches.
Quoted 9 lines
Quoted 8 lines
2.6.38.6-xen (dom0 kernel)
2.6.34.7-xen (dom0 kernel)
2.6.39-rc7-xen (dom0 kernel)None of them made any difference, they were all complaining about vif. Yeah, I am running Xen 4.1
Quoted 8 lines
Quoted 4 lines
Quoted 1 line
Are you using xm/xend or xl/libxl toolstack?
I am using xl/libxl with Xen 4.1
Ok. Have you tried Jeremy's xen.git xen/stable-2.6.32.x as a dom0 kernel? It would be interesting to know if that works for you or not.
Quoted 10 lines
Btw. Did you realize upstream 2.6.38 / 2.6.39 does not yet have xen-blkback driver included? also blktap2 driver is missing.
So you you can only use the phy: or file: backends, assuming Xen 4.1, which has the (slow) fallback qemu-based userspace blkback implementation.
-- Pasi
Yes i have, but seeing that HVM networking works, i wanted to report the PV one that doesn't.
m.
Quoted 51 lines
Quoted 51 lines
Quoted 42 lines
Quoted 42 lines
Quoted 41 lines
Quoted 41 lines
Quoted 32 lines
Quoted 32 lines
Quoted 31 lines
Error that i see in dmesg on the domU:
XENBUS: Timeout connecting to device: device/vif/0 (state 1)ifconfig -a on domU shows MAC address: 00:00:00:00:00:00
dom0 doesn't have any vif/tap interfaces assigned to domU when i do brctl show or ifconfig -a
I don't see any errors worth mentioning in
/var/log/xen, except mybe these two:
/tmp/SBo/xen-4.1.0/tools/ioemu-qemu-xen/hw/xen_blktap.c:628: Init blktap pipes
Could not open/var/run/tap/qemu-read-2Problem goes away when i boot 2.6.34.7 (it is the last kernel that i have built with gentoo rebased patches).
If there is something i can do to help debug this please do let me know.
Best regards,
mario_______________________________________________
Xen-users mailing list
[email protected]
http://lists.xensource.com/xen-usersQuoted 4 lines
Quoted 4 lines
_______________________________________________
Xen-users mailing list
[email protected]
http://lists.xensource.com/xen-users_______________________________________________
Xen-users mailing list
[email protected]
http://lists.xensource.com/xen-usersQuoted 4 lines
Quoted 4 lines
_______________________________________________
Xen-users mailing list
[email protected]
http://lists.xensource.com/xen-users_______________________________________________
Xen-users mailing list
[email protected]
http://lists.xensource.com/xen-users
Quoted 8 lines · Ian Campbell
Quoted 5 lines · Pasi Kärkkäinen
Hello,
Ian: Any idea what could cause this error message (more info below):
"XENBUS: Timeout connecting to device: device/vif/0 (state 1)"
Is this from the domU or the dom0?
This is from the domU.
Quoted 3 lines
Do other devices work ok?
Yes, everything else seems to be working fine.
Quoted 8 lines
Quoted 2 lines
User says replacing 2.6.38/2.6.39 pvops dom0 kernel with xenlinux one fixes the problem..
2.6.38 didn't have netback, only 2.6.39-rc1 did. Mario, please can you supply the .config you used with the 2.6.39 kernel and the exact commit id you are using. It would also be useful to see a complete log from both dom0 and domU.
Well, when i saw that 2.6.39-rc7 did not work, and i did not expect anyone to care, i simply wiped all of the pvops stuff that i was testing, and replaced it with a gentoo patched kernel wich works. If it will not be in vain, i will compile it again and give you more details.
Quoted 5 lines
Do the vif entries appear in XenStore? Using:
xenstore-ls /local/domain/$(xl domid<name>)/devices/vifyou should see some entries and those entries should reference a backend path which should also contains entries, please post both.
Well, from what i remember, only vhd was being shown, but i will try and get you exact info today.
Quoted 146 lines
Ian.
Quoted 142 lines
-- Pasi
Quoted 138 lines · Mario
Quoted 66 lines · Pasi Kärkkäinen
Quoted 56 lines · Pasi Kärkkäinen
Quoted 55 lines · Mario
Quoted 34 lines · Pasi Kärkkäinen
Quoted 33 lines · Mario
Quoted 29 lines · Pasi Kärkkäinen
Quoted 16 lines · Mario
Quoted 7 lines · Pasi Kärkkäinen
Quoted 5 lines · Mario
Hey everyone,
I have been trying to make Xen-4.1.0 work on kernels mentioned in the subject, without much sucess. HVM guests are not affected, only PV.
Quoted 7 lines
Below you mention gentoo xenlinux patches..
So please be more specific about which kernel was vanilla (pvops), and which kernels had some external patches applied..
-- Pasi
Quoted 7 lines
Sorry, both kernels in subject were vanilla from kernel.org, with xen options selected for dom0 usage.
I only wanted to point out that networking works if i use kernel patched with rebased gentoo patches.
I am talking only about dom0 kernel here, domU kernel does not seem to be the source of the problem.OK. What kernel is the PV domU running? What Xen version are you using? 4.1 ?
-- Pasi
Quoted 7 lines
Quoted 5 lines
Well, i have tried following kernels in domU:
2.6.31.6 (i got this one from stacklet)
2.6.37.6-domU
2.6.33.4-domUAre these pvops/vanilla or with some patches?
Those are pvops/vanilla, no patches.
Quoted 9 lines
Quoted 8 lines
2.6.38.6-xen (dom0 kernel)
2.6.34.7-xen (dom0 kernel)
2.6.39-rc7-xen (dom0 kernel)None of them made any difference, they were all complaining about vif. Yeah, I am running Xen 4.1
Quoted 8 lines
Quoted 4 lines
Quoted 1 line
Are you using xm/xend or xl/libxl toolstack?
I am using xl/libxl with Xen 4.1
Ok. Have you tried Jeremy's xen.git xen/stable-2.6.32.x as a dom0 kernel? It would be interesting to know if that works for you or not.
Quoted 10 lines
Btw. Did you realize upstream 2.6.38 / 2.6.39 does not yet have xen-blkback driver included? also blktap2 driver is missing.
So you you can only use the phy: or file: backends, assuming Xen 4.1, which has the (slow) fallback qemu-based userspace blkback implementation.
-- Pasi
Yes i have, but seeing that HVM networking works, i wanted to report the PV one that doesn't.
m.
Quoted 51 lines
Quoted 51 lines
Quoted 42 lines
Quoted 42 lines
Quoted 41 lines
Quoted 41 lines
Quoted 32 lines
Quoted 32 lines
Quoted 31 lines
Error that i see in dmesg on the domU:
XENBUS: Timeout connecting to device: device/vif/0 (state 1)ifconfig -a on domU shows MAC address: 00:00:00:00:00:00
dom0 doesn't have any vif/tap interfaces assigned to domU when i do brctl show or ifconfig -a
I don't see any errors worth mentioning in
/var/log/xen, except mybe these two:
/tmp/SBo/xen-4.1.0/tools/ioemu-qemu-xen/hw/xen_blktap.c:628: Init blktap pipes
Could not open/var/run/tap/qemu-read-2Problem goes away when i boot 2.6.34.7 (it is the last kernel that i have built with gentoo rebased patches).
If there is something i can do to help debug this please do let me know.
Best regards,
mario_______________________________________________
Xen-users mailing list
[email protected]
http://lists.xensource.com/xen-usersQuoted 4 lines
Quoted 4 lines
_______________________________________________
Xen-users mailing list
[email protected]
http://lists.xensource.com/xen-users_______________________________________________
Xen-users mailing list
[email protected]
http://lists.xensource.com/xen-usersQuoted 4 lines
Quoted 4 lines
_______________________________________________
Xen-users mailing list
[email protected]
http://lists.xensource.com/xen-users_______________________________________________
Xen-users mailing list
[email protected]
http://lists.xensource.com/xen-users
Quoted 28 lines · Mario
Quoted 8 lines · Ian Campbell
Quoted 5 lines · Pasi Kärkkäinen
Hello,
Ian: Any idea what could cause this error message (more info below):
"XENBUS: Timeout connecting to device: device/vif/0 (state 1)"
Is this from the domU or the dom0?
This is from the domU.
Quoted 3 lines
Do other devices work ok?
Yes, everything else seems to be working fine.
Quoted 8 lines
Quoted 2 lines
User says replacing 2.6.38/2.6.39 pvops dom0 kernel with xenlinux one fixes the problem..
2.6.38 didn't have netback, only 2.6.39-rc1 did. Mario, please can you supply the .config you used with the 2.6.39 kernel and the exact commit id you are using. It would also be useful to see a complete log from both dom0 and domU.
Quoted 5 lines
Well, when i saw that 2.6.39-rc7 did not work, and i did not expect anyone to care, i simply wiped all of the pvops stuff that i was testing, and replaced it with a gentoo patched kernel wich works. If it will not be in vain, i will compile it again and give you more details.
Yes please, we care very much about pvops to working well for everyone. (I'm not sure why you would think otherwise, this has been the focus of our development efforts for several years now).
Ian.
Quoted 157 lines
Quoted 6 lines
Do the vif entries appear in XenStore? Using:
xenstore-ls /local/domain/$(xl domid<name>)/devices/vifyou should see some entries and those entries should reference a backend path which should also contains entries, please post both.
Well, from what i remember, only vhd was being shown, but i will try and get you exact info today.
Quoted 146 lines
Ian.
Quoted 142 lines
-- Pasi
Quoted 138 lines · Mario
Quoted 66 lines · Pasi Kärkkäinen
Quoted 56 lines · Pasi Kärkkäinen
Quoted 55 lines · Mario
Quoted 34 lines · Pasi Kärkkäinen
Quoted 33 lines · Mario
Quoted 29 lines · Pasi Kärkkäinen
Quoted 16 lines · Mario
Quoted 7 lines · Pasi Kärkkäinen
Quoted 5 lines · Mario
Hey everyone,
I have been trying to make Xen-4.1.0 work on kernels mentioned in the
subject, without much sucess. HVM guests are not affected, only PV.Quoted 7 lines
Below you mention gentoo xenlinux patches..
So please be more specific about which kernel was vanilla (pvops), and which kernels had some external patches applied..
-- Pasi
Quoted 7 lines
Sorry, both kernels in subject were vanilla from kernel.org, with xen options selected for dom0 usage.
I only wanted to point out that networking works if i use kernel patched with rebased gentoo patches.
I am talking only about dom0 kernel here, domU kernel does not seem to be the source of the problem.OK. What kernel is the PV domU running? What Xen version are you using? 4.1 ?
-- Pasi
Quoted 7 lines
Quoted 5 lines
Well, i have tried following kernels in domU:
2.6.31.6 (i got this one from stacklet)
2.6.37.6-domU
2.6.33.4-domUAre these pvops/vanilla or with some patches?
Those are pvops/vanilla, no patches.
Quoted 9 lines
Quoted 8 lines
2.6.38.6-xen (dom0 kernel)
2.6.34.7-xen (dom0 kernel)
2.6.39-rc7-xen (dom0 kernel)None of them made any difference, they were all complaining about vif. Yeah, I am running Xen 4.1
Quoted 8 lines
Quoted 4 lines
Quoted 1 line
Are you using xm/xend or xl/libxl toolstack?
I am using xl/libxl with Xen 4.1
Ok. Have you tried Jeremy's xen.git xen/stable-2.6.32.x as a dom0 kernel? It would be interesting to know if that works for you or not.
Quoted 10 lines
Btw. Did you realize upstream 2.6.38 / 2.6.39 does not yet have xen-blkback driver included? also blktap2 driver is missing.
So you you can only use the phy: or file: backends, assuming Xen 4.1, which has the (slow) fallback qemu-based userspace blkback implementation.
-- Pasi
Yes i have, but seeing that HVM networking works, i wanted to report the PV one that doesn't.
m.
Quoted 51 lines
Quoted 51 lines
Quoted 42 lines
Quoted 42 lines
Quoted 41 lines
Quoted 41 lines
Quoted 32 lines
Quoted 32 lines
Quoted 31 lines
Error that i see in dmesg on the domU:
XENBUS: Timeout connecting to device: device/vif/0 (state 1)ifconfig -a on domU shows MAC address: 00:00:00:00:00:00
dom0 doesn't have any vif/tap interfaces assigned to domU when i do
brctl show or ifconfig -aI don't see any errors worth mentioning in /var/log/xen, except mybe
these two:/tmp/SBo/xen-4.1.0/tools/ioemu-qemu-xen/hw/xen_blktap.c:628: Init blktap
pipes
Could not open /var/run/tap/qemu-read-2Problem goes away when i boot 2.6.34.7 (it is the last kernel that i
have built with gentoo rebased patches).If there is something i can do to help debug this please do let me know.
Best regards,
mario_______________________________________________
Xen-users mailing list
[email protected]
http://lists.xensource.com/xen-usersQuoted 4 lines
Quoted 4 lines
_______________________________________________
Xen-users mailing list
[email protected]
http://lists.xensource.com/xen-users_______________________________________________
Xen-users mailing list
[email protected]
http://lists.xensource.com/xen-usersQuoted 4 lines
Quoted 4 lines
_______________________________________________
Xen-users mailing list
[email protected]
http://lists.xensource.com/xen-users_______________________________________________
Xen-users mailing list
[email protected]
http://lists.xensource.com/xen-users
Quoted 35 lines · Ian Campbell
Quoted 28 lines · Mario
Quoted 8 lines · Ian Campbell
Quoted 5 lines · Pasi Kärkkäinen
Hello,
Ian: Any idea what could cause this error message (more info below):
"XENBUS: Timeout connecting to device: device/vif/0 (state 1)"
Is this from the domU or the dom0?
This is from the domU.
Quoted 3 lines
Do other devices work ok?
Yes, everything else seems to be working fine.
Quoted 8 lines
Quoted 2 lines
User says replacing 2.6.38/2.6.39 pvops dom0 kernel with xenlinux one fixes the problem..
2.6.38 didn't have netback, only 2.6.39-rc1 did. Mario, please can you supply the .config you used with the 2.6.39 kernel and the exact commit id you are using. It would also be useful to see a complete log from both dom0 and domU.
Quoted 5 lines
Well, when i saw that 2.6.39-rc7 did not work, and i did not expect anyone to care, i simply wiped all of the pvops stuff that i was testing, and replaced it with a gentoo patched kernel wich works. If it will not be in vain, i will compile it again and give you more details.
Quoted 6 lines
Yes please, we care very much about pvops to working well for everyone. (I'm not sure why you would think otherwise, this has been the focus of our development efforts for several years now).
Ian.
Fair enough, it is compiling as we speak. Report to follow shortly.
m.
Quoted 159 lines
Quoted 157 lines
Quoted 6 lines
Do the vif entries appear in XenStore? Using:
xenstore-ls /local/domain/$(xl domid<name>)/devices/vifyou should see some entries and those entries should reference a backend path which should also contains entries, please post both.
Well, from what i remember, only vhd was being shown, but i will try and get you exact info today.
Quoted 146 lines
Ian.
Quoted 142 lines
-- Pasi
Quoted 138 lines · Mario
Quoted 66 lines · Pasi Kärkkäinen
Quoted 56 lines · Pasi Kärkkäinen
Quoted 55 lines · Mario
Quoted 34 lines · Pasi Kärkkäinen
Quoted 33 lines · Mario
Quoted 29 lines · Pasi Kärkkäinen
Quoted 16 lines · Mario
Quoted 14 lines · Pasi Kärkkäinen
On Sun, May 15, 2011 at 02:36:11PM +0200, Mario wrote:
Hey everyone,I have been trying to make Xen-4.1.0 work on kernels mentioned in the
subject, without much sucess. HVM guests are not affected, only PV.Below you mention gentoo xenlinux patches..
So please be more specific about which kernel was vanilla (pvops),
and which kernels had some external patches applied..-- Pasi
Quoted 7 lines
Sorry, both kernels in subject were vanilla from kernel.org, with xen options selected for dom0 usage.
I only wanted to point out that networking works if i use kernel patched with rebased gentoo patches.
I am talking only about dom0 kernel here, domU kernel does not seem to be the source of the problem.OK. What kernel is the PV domU running? What Xen version are you using? 4.1 ?
-- Pasi
Quoted 7 lines
Quoted 5 lines
Well, i have tried following kernels in domU:
2.6.31.6 (i got this one from stacklet)
2.6.37.6-domU
2.6.33.4-domUAre these pvops/vanilla or with some patches?
Those are pvops/vanilla, no patches.
Quoted 9 lines
Quoted 8 lines
2.6.38.6-xen (dom0 kernel)
2.6.34.7-xen (dom0 kernel)
2.6.39-rc7-xen (dom0 kernel)None of them made any difference, they were all complaining about vif. Yeah, I am running Xen 4.1
Quoted 8 lines
Quoted 4 lines
Quoted 1 line
Are you using xm/xend or xl/libxl toolstack?
I am using xl/libxl with Xen 4.1
Ok. Have you tried Jeremy's xen.git xen/stable-2.6.32.x as a dom0 kernel? It would be interesting to know if that works for you or not.
Quoted 10 lines
Btw. Did you realize upstream 2.6.38 / 2.6.39 does not yet have xen-blkback driver included? also blktap2 driver is missing.
So you you can only use the phy: or file: backends, assuming Xen 4.1, which has the (slow) fallback qemu-based userspace blkback implementation.
-- Pasi
Yes i have, but seeing that HVM networking works, i wanted to report the PV one that doesn't.
m.
Quoted 51 lines
Quoted 51 lines
Quoted 42 lines
Quoted 42 lines
Quoted 41 lines
Quoted 41 lines
Quoted 32 lines
Quoted 32 lines
Error that i see in dmesg on the domU:
XENBUS: Timeout connecting to device: device/vif/0 (state 1)ifconfig -a on domU shows MAC address: 00:00:00:00:00:00
dom0 doesn't have any vif/tap interfaces assigned to domU when i do
brctl show or ifconfig -aI don't see any errors worth mentioning in /var/log/xen, except mybe
these two:/tmp/SBo/xen-4.1.0/tools/ioemu-qemu-xen/hw/xen_blktap.c:628: Init blktap
pipes
Could not open /var/run/tap/qemu-read-2Problem goes away when i boot 2.6.34.7 (it is the last kernel that i
have built with gentoo rebased patches).If there is something i can do to help debug this please do let me know.
Best regards,
mario_______________________________________________
Xen-users mailing list
[email protected]
http://lists.xensource.com/xen-usersQuoted 4 lines
Quoted 4 lines
_______________________________________________
Xen-users mailing list
[email protected]
http://lists.xensource.com/xen-users_______________________________________________
Xen-users mailing list
[email protected]
http://lists.xensource.com/xen-usersQuoted 4 lines
Quoted 4 lines
_______________________________________________
Xen-users mailing list
[email protected]
http://lists.xensource.com/xen-users_______________________________________________
Xen-users mailing list
[email protected]
http://lists.xensource.com/xen-users
Quoted 24 lines · Mario
Quoted 23 lines · Ian Campbell
Quoted 22 lines · Mario
Quoted 8 lines · Ian Campbell
Quoted 5 lines · Pasi Kärkkäinen
Hello,
Ian: Any idea what could cause this error message (more info below):
"XENBUS: Timeout connecting to device: device/vif/0 (state 1)"
Is this from the domU or the dom0?
This is from the domU.
Quoted 3 lines
Do other devices work ok?
Yes, everything else seems to be working fine.
Quoted 3 lines
Quoted 2 lines
User says replacing 2.6.38/2.6.39 pvops dom0 kernel with xenlinux one fixes the problem..
Quoted 6 lines
Quoted 6 lines
Quoted 6 lines
Quoted 5 lines
2.6.38 didn't have netback, only 2.6.39-rc1 did. Mario, please can you supply the .config you used with the 2.6.39 kernel and the exact commit id you are using. It would also be useful to see a complete log from both dom0 and domU.
Pvops kernel configs are here:
http://dev.slackverse.org/tmp/config-2.6.39-rc7-xen
http://dev.slackverse.org/tmp/config-2.6.37.6-xenU
They are both based on default configs shipped with Slackware, with minimal xen-only options enabled.
Quoted 10 lines
Quoted 10 lines
Quoted 5 lines
Well, when i saw that 2.6.39-rc7 did not work, and i did not expect anyone to care, i simply wiped all of the pvops stuff that i was testing, and replaced it with a gentoo patched kernel wich works. If it will not be in vain, i will compile it again and give you more details.
Yes please, we care very much about pvops to working well for everyone. (I'm not sure why you would think otherwise, this has been the focus of our development efforts for several years now).
Quoted 16 lines
Quoted 2 lines
Ian.
Fair enough, it is compiling as we speak. Report to follow shortly.
m.
Quoted 8 lines
Quoted 8 lines
Quoted 7 lines
Do the vif entries appear in XenStore? Using:
xenstore-ls /local/domain/$(xl domid<name>)/devices/vif you should see some entries and those entries should reference a backend
path which should also contains entries, please post both.
##################
This is from dom0:
##################
# xenstore-ls /local/domain/$(xl domid slackware)/devices/vif xenstore-ls: xs_directory (/local/domain/1/devices/vif): No such file or directory
However it works when i do this:
# xenstore-ls /local/domain/0/backend/vif/1/0 frontend = "/local/domain/1/device/vif/0" frontend-id = "1" online = "1" state = "1" script = "/etc/xen/scripts/vif-bridge" mac = "00:16:3e:00:00:01" bridge = "xenbr0" handle = "0"
# xl block-list 1 Vdev BE handle state evt-ch ring-ref BE-path 51713 0 1 4 8 8 /local/domain/0/backend/qdisk/1/51713 268440065 0 1 4 9 9 /local/domain/0/backend/qdisk/1/268440065
# xl network-list 1 Idx BE Mac Addr. handle state evt-ch tx-/rx-ring-ref BE-path
0 0 00:16:3e:00:00:01 0 1 -1 -1/-1 /local/domain/0/backend/vif/1/0
# brctl show bridge name bridge id STP enabled interfaces xenbr0 8000.00219bfbf76e no eth0
# ifconfig -a | grep -v '^ ' eth0 Link encap:Ethernet HWaddr 00:21:9b:fb:f7:6e eth1 Link encap:Ethernet HWaddr 00:21:9b:fb:f7:6f lo Link encap:Local Loopback xenbr0 Link encap:Ethernet HWaddr 00:21:9b:fb:f7:6e
# cat /var/log/xen/qemu-dm-slackware.log domid: 1 Warning: vlan 0 is not connected to host network -videoram option does not work with cirrus vga device model. Videoram set to 4M. /tmp/SBo/xen-4.1.0/tools/ioemu-qemu-xen/hw/xen_blktap.c:628: Init blktap pipes Could not open /var/run/tap/qemu-read-1 char device redirected to /dev/pts/1 xs_read(): target get error. /local/domain/1/target. (qemu) (qemu)
- /var/log/xen/xend.log - empty
- /var/log/xen/xen-hotplug.log - also empty
# dmesg | grep -i xen [ 1.354427] xen/balloon: Initialising balloon driver. [ 1.368850] xen-balloon: Initialising balloon driver. [ 1.370157] Switching to clocksource xen [ 1.371868] xen: registering gsi 13 triggering 1 polarity 0 [ 1.371872] xen_map_pirq_gsi: returning irq 13 for gsi 13 [ 1.371876] xen: --> pirq=13 -> irq=13 [ 1.372379] xen: registering gsi 8 triggering 1 polarity 0 [ 1.372382] xen_map_pirq_gsi: returning irq 8 for gsi 8 [ 1.372386] xen: --> pirq=8 -> irq=8 [ 1.372912] xen: registering gsi 4 triggering 1 polarity 0 [ 1.372915] xen_map_pirq_gsi: returning irq 4 for gsi 4 [ 1.372919] xen: --> pirq=4 -> irq=4 [ 1.386083] xen: registering gsi 16 triggering 0 polarity 1 [ 1.386091] xen: --> pirq=16 -> irq=16 [ 1.386119] xen: registering gsi 16 triggering 0 polarity 1 [ 1.386122] xen_map_pirq_gsi: returning irq 16 for gsi 16 [ 1.386126] xen: --> pirq=16 -> irq=16 [ 1.386151] xen: registering gsi 16 triggering 0 polarity 1 [ 1.386153] xen_map_pirq_gsi: returning irq 16 for gsi 16 [ 1.386157] xen: --> pirq=16 -> irq=16 [ 1.386182] xen: registering gsi 17 triggering 0 polarity 1 [ 1.386186] xen: --> pirq=17 -> irq=17 [ 5.175257] xen: registering gsi 23 triggering 0 polarity 1 [ 5.175265] xen: --> pirq=23 -> irq=23 [ 10.135114] xen: registering gsi 21 triggering 0 polarity 1 [ 10.135125] xen: --> pirq=21 -> irq=21 [ 10.159141] xen: registering gsi 16 triggering 0 polarity 1 [ 10.159146] xen_map_pirq_gsi: returning irq 16 for gsi 16 [ 10.159150] xen: --> pirq=16 -> irq=16 [ 10.191968] usb usb1: Manufacturer: Linux 2.6.39-rc7-xen ehci_hcd [ 10.195303] xen: registering gsi 17 triggering 0 polarity 1 [ 10.195308] xen_map_pirq_gsi: returning irq 17 for gsi 17 [ 10.195312] xen: --> pirq=17 -> irq=17 [ 10.486610] xen: registering gsi 21 triggering 0 polarity 1 [ 10.486615] xen_map_pirq_gsi: returning irq 21 for gsi 21 [ 10.486619] xen: --> pirq=21 -> irq=21 [ 10.500379] usb usb2: Manufacturer: Linux 2.6.39-rc7-xen uhci_hcd [ 10.500601] xen: registering gsi 20 triggering 0 polarity 1 [ 10.500608] xen: --> pirq=20 -> irq=20 [ 10.540318] usb usb3: Manufacturer: Linux 2.6.39-rc7-xen uhci_hcd [ 10.540557] xen: registering gsi 21 triggering 0 polarity 1 [ 10.540563] xen_map_pirq_gsi: returning irq 21 for gsi 21 [ 10.540567] xen: --> pirq=21 -> irq=21 [ 10.570445] usb usb4: Manufacturer: Linux 2.6.39-rc7-xen uhci_hcd [ 16.992548] ADDRCONF(NETDEV_UP): xenbr0: link is not ready [ 19.463299] xenbr0: port 1(eth0) entering forwarding state [ 19.463303] xenbr0: port 1(eth0) entering forwarding state [ 19.463363] ADDRCONF(NETDEV_CHANGE): xenbr0: link becomes ready [ 29.870099] xenbr0: no IPv6 routers present [ 34.470061] xenbr0: port 1(eth0) entering forwarding state [ 57.355646] XENBUS: Unable to read cpu state [ 57.356049] XENBUS: Unable to read cpu state
# xl dmesg __ __ _ _ _ ___ \ \/ /___ _ __ | || | / | / _ \ \ // _ \ '_ \ | || |_ | || | | | / \ __/ | | | |__ _|| || |_| | /_/\_\___|_| |_| |_|(_)_(_)___/
(XEN) Xen version 4.1.0 ([email protected]) (gcc version 4.5.2 (GCC) ) Fri May 13 20:30:34 CEST 2011 (XEN) Latest ChangeSet: unavailable
(XEN) Bootloader: mbootpack v0.6 (alpha)
(XEN) Command line: auto BOOT_IMAGE=Linux.XEN ro root=900 dom0_mem=512M
(XEN) Video information:
(XEN) VGA is text mode 80x25, font 8x16 (XEN) VBE/DDC methods: none; EDID transfer time: 2 seconds (XEN) EDID info not retrieved because no DDC retrieval method detected
(XEN) Disc information:
(XEN) Found 2 MBR signatures
(XEN) Found 2 EDD information structures
(XEN) Xen-e820 RAM map:
(XEN) 0000000000000000 - 00000000000a0000 (usable) (XEN) 0000000000100000 - 000000007feb2000 (usable) (XEN) 000000007feb2000 - 000000007fec8000 (reserved) (XEN) 000000007fec8000 - 000000007fee7c00 (ACPI data) (XEN) 000000007fee7c00 - 0000000080000000 (reserved) (XEN) 00000000e0000000 - 00000000f0000000 (reserved) (XEN) 00000000fe000000 - 0000000100000000 (reserved) (XEN) System RAM: 2046MB (2095432kB) (XEN) ACPI: RSDP 000F2980, 0024 (r2 DELL ) (XEN) ACPI: XSDT 000F2A08, 0094 (r1 DELL PE_SC3 1 DELL 1) (XEN) ACPI: FACP 000F2B20, 00F4 (r3 DELL PE_SC3 1 DELL 1) (XEN) ACPI: DSDT 7FEC8000, 2545 (r1 DELL PE_SC3 1 INTL 20050624) (XEN) ACPI: FACS 7FEE7C00, 0040 (XEN) ACPI: APIC 000F2C14, 0072 (r1 DELL PE_SC3 1 DELL 1) (XEN) ACPI: SPCR 000F2C93, 0050 (r1 DELL PE_SC3 1 DELL 1) (XEN) ACPI: HPET 000F2CE3, 0038 (r1 DELL PE_SC3 1 DELL 1) (XEN) ACPI: MCFG 000F2D1B, 003C (r1 DELL PE_SC3 1 DELL 1) (XEN) ACPI: WD__ 000F2D57, 0134 (r1 DELL PE_SC3 1 DELL 1) (XEN) ACPI: SLIC 000F2E8B, 0024 (r1 DELL PE_SC3 1 DELL 1) (XEN) ACPI: ERST 7FECB114, 0210 (r1 DELL PE_SC3 1 DELL 1) (XEN) ACPI: HEST 7FECB324, 027C (r1 DELL PE_SC3 1 DELL 1) (XEN) ACPI: BERT 7FECAF94, 0030 (r1 DELL PE_SC3 1 DELL 1) (XEN) ACPI: EINJ 7FECAFC4, 0150 (r1 DELL PE_SC3 1 DELL 1) (XEN) ACPI: SSDT 7FECA545, 032C (r1 DELL PE_SC3 11 INTL 20050624) (XEN) ACPI: SSDT 7FECA9BB, 032C (r1 DELL PE_SC3 11 INTL 20050624) (XEN) ACPI: SSDT 7FECAE31, 0162 (r1 DELL PE_SC3 10 INTL 20050624)
(XEN) Domain heap initialised
(XEN) Processor #0 6:15 APIC version 20
(XEN) Processor #1 6:15 APIC version 20
(XEN) IOAPIC[0]: apic_id 2, version 32, address 0xfec00000, GSI 0-23 (XEN) Enabling APIC mode: Flat. Using 1 I/O APICs
(XEN) ERST table is invalid
(XEN) Using scheduler: SMP Credit Scheduler (credit) (XEN) Detected 2400.141 MHz processor.
(XEN) Initing memory sharing.
(XEN) I/O virtualisation disabled
(XEN) ENABLING IO-APIC IRQs
(XEN) -> Using new ACK method
(XEN) Platform timer is 14.318MHz HPET
(XEN) Allocated console ring of 16 KiB.
(XEN) Brought up 2 CPUs
(XEN) *** LOADING DOMAIN 0 ***
(XEN) Xen kernel: 64-bit, lsb, compat32
(XEN) Dom0 kernel: 64-bit, PAE, lsb, paddr 0x1000000 -> 0x1b72000 (XEN) PHYSICAL MEMORY ARRANGEMENT:
(XEN) Dom0 alloc.: 000000007a000000->000000007c000000 (121577 pages to be allocated)
(XEN) Init. ramdisk: 000000007f4e9000->000000007f9ff200 (XEN) VIRTUAL MEMORY ARRANGEMENT:
(XEN) Loaded kernel: ffffffff81000000->ffffffff81b72000 (XEN) Init. ramdisk: ffffffff81b72000->ffffffff82088200 (XEN) Phys-Mach map: ffffffff82089000->ffffffff82189000 (XEN) Start info: ffffffff82189000->ffffffff821894b4 (XEN) Page tables: ffffffff8218a000->ffffffff8219f000 (XEN) Boot stack: ffffffff8219f000->ffffffff821a0000 (XEN) TOTAL: ffffffff80000000->ffffffff82400000 (XEN) ENTRY ADDRESS: ffffffff818dd200
(XEN) Dom0 has maximum 2 VCPUs
(XEN) Scrubbing Free RAM: ...............done.
(XEN) Xen trace buffers: disabled
(XEN) Std. Loglevel: Errors and warnings
(XEN) Guest Loglevel: Nothing (Rate-limited: Errors and warnings) (XEN) Xen is relinquishing VGA console.
(XEN) *** Serial input -> DOM0 (type 'CTRL-a' three times to switch input to Xen) (XEN) Freed 220kB init memory.
And domU config:
# cat slackware name = "slackware" memory = 256 vcpus = 1 vif = ["bridge=xenbr0,mac=00:16:3e:00:00:01"] disk = ["file:/var/test/xvda1.img,xvda1,w","file:/var/test/xvds1.img,xvds1,w"] bootloader = "/usr/bin/pygrub" extra = "fastboot" root = "/dev/xvda1"
#####################
Some stuff from domU:
#####################
# ifconfig -a
eth0 Link encap:Ethernet HWaddr 00:00:00:00:00:00
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)# dmesg | grep -i xen [ 0.000000] Linux version 2.6.37.6-xenU (root@orion) (gcc version 4.5.2 (GCC) ) #1 SMP Sun Apr 24 14:37:22 CEST 2011 [ 0.000000] Xen: 0000000000000000 - 00000000000a0000 (usable) [ 0.000000] Xen: 00000000000a0000 - 0000000000100000 (reserved) [ 0.000000] Xen: 0000000000100000 - 0000000010800000 (usable) [ 0.000000] Booting paravirtualized kernel on Xen [ 0.000000] Xen version: 4.1.0 (preserve-AD) [ 0.000000] Xen: using vcpuop timer interface [ 0.000000] installing Xen timer for CPU 0 [ 0.060643] PCI: setting up Xen PCI frontend stub [ 1.250219] xen_balloon: Initialising balloon driver. [ 1.261020] Switching to clocksource xen [ 1.308267] Initialising Xen virtual ethernet driver. [ 6.410098] XENBUS: Waiting for devices to initialise: 295s...290s...285s...280s...275s...270s...265s...260s...255s...250s...245s...240s...235s...230s...225s...220s...215s...210s...205s...200s...195s...190s...185s...180s...175s...170s...165s...160s...155s...150s...145s...140s...135s...130s...125s...120s...115s...110s...105s...100s...95s...90s...85s...80s...75s...70s...65s...60s...55s...50s...45s...40s...35s...30s...25s...20s...15s...10s...5s...0s... [ 301.410245] XENBUS: Timeout connecting to device: device/vif/0 (local state 1, remote state 1)
Hope it helps, i might not be able to power this box on any more, but if you need something else i will keep the drives and boot them up in another server on your request..
Best regards,
mario
Quoted 169 lines
Quoted 169 lines
Quoted 167 lines
Well, from what i remember, only vhd was being shown, but i will try and get you exact info today.
Quoted 163 lines
Ian.
Quoted 159 lines
-- Pasi
Quoted 155 lines · Mario
Quoted 78 lines · Pasi Kärkkäinen
Quoted 64 lines · Pasi Kärkkäinen
Quoted 63 lines · Mario
Quoted 41 lines · Pasi Kärkkäinen
Quoted 40 lines · Mario
Quoted 36 lines · Pasi Kärkkäinen
Quoted 29 lines · Mario
On 05/15/2011 05:53 PM, Pasi Kärkkäinen wrote:
On Sun, May 15, 2011 at 02:36:11PM +0200, Mario wrote:
Hey everyone,I have been trying to make Xen-4.1.0 work on kernels
mentioned in the
subject, without much sucess. HVM guests are not
affected, only PV.Below you mention gentoo xenlinux patches..
So please be more specific about which kernel was vanilla
(pvops),
and which kernels had some external patches applied..-- Pasi
Sorry, both kernels in subject were vanilla from
kernel.org, with xen
options selected for dom0 usage.
I only wanted to point out that networking works if i use
kernel patched
with rebased gentoo patches.
I am talking only about dom0 kernel here, domU kernel does
not seem to
be the source of the problem.OK. What kernel is the PV domU running? What Xen version are you using? 4.1 ?
-- Pasi
Quoted 7 lines
Quoted 5 lines
Well, i have tried following kernels in domU:
2.6.31.6 (i got this one from stacklet)
2.6.37.6-domU
2.6.33.4-domUAre these pvops/vanilla or with some patches?
Those are pvops/vanilla, no patches.
Quoted 10 lines
Quoted 9 lines
2.6.38.6-xen (dom0 kernel)
2.6.34.7-xen (dom0 kernel)
2.6.39-rc7-xen (dom0 kernel)None of them made any difference, they were all complaining about vif.
Yeah, I am running Xen 4.1Quoted 9 lines
Quoted 4 lines
Quoted 1 line
Are you using xm/xend or xl/libxl toolstack?
I am using xl/libxl with Xen 4.1
Ok. Have you tried Jeremy's xen.git xen/stable-2.6.32.x as a dom0 kernel?
It would be interesting to know if that works for you or not.Btw. Did you realize upstream 2.6.38 / 2.6.39 does not yet have xen-blkback driver included? also blktap2 driver is missing.
Quoted 9 lines
So you you can only use the phy: or file: backends, assuming Xen 4.1,
which has the (slow) fallback qemu-based userspace blkback implementation.-- Pasi
Yes i have, but seeing that HVM networking works, i wanted to report the
PV one that doesn't.m.
Quoted 56 lines
Quoted 56 lines
Quoted 47 lines
Quoted 47 lines
Quoted 46 lines
Quoted 46 lines
Quoted 41 lines
Error that i see in dmesg on the domU:
XENBUS: Timeout connecting to device: device/vif/0 (state 1)ifconfig -a on domU shows MAC address: 00:00:00:00:00:00
dom0 doesn't have any vif/tap interfaces assigned to domU
when i do
brctl show or ifconfig -aI don't see any errors worth mentioning in /var/log/xen,
except mybe
these two:/tmp/SBo/xen-4.1.0/tools/ioemu-qemu-xen/hw/xen_blktap.c:628:
Init blktap
pipes
Could not open /var/run/tap/qemu-read-2Problem goes away when i boot 2.6.34.7 (it is the last
kernel that i
have built with gentoo rebased patches).If there is something i can do to help debug this please
do let me know.Best regards,
mario_______________________________________________
Xen-users mailing list
[email protected]
http://lists.xensource.com/xen-users_______________________________________________
Xen-users mailing list
[email protected]
http://lists.xensource.com/xen-users_______________________________________________
Xen-users mailing list
[email protected]
http://lists.xensource.com/xen-usersQuoted 4 lines
Quoted 4 lines
_______________________________________________
Xen-users mailing list
[email protected]
http://lists.xensource.com/xen-users_______________________________________________
Xen-users mailing list
[email protected]
http://lists.xensource.com/xen-users
Quoted 33 lines · Mario
Quoted 24 lines · Mario
Quoted 23 lines · Ian Campbell
Quoted 22 lines · Mario
Quoted 8 lines · Ian Campbell
Quoted 5 lines · Pasi Kärkkäinen
Hello,
Ian: Any idea what could cause this error message (more info below):
"XENBUS: Timeout connecting to device: device/vif/0 (state 1)"
Is this from the domU or the dom0?
This is from the domU.
Quoted 3 lines
Do other devices work ok?
Yes, everything else seems to be working fine.
Quoted 3 lines
Quoted 2 lines
User says replacing 2.6.38/2.6.39 pvops dom0 kernel with xenlinux one fixes the problem..
Quoted 6 lines
Quoted 6 lines
Quoted 6 lines
Quoted 5 lines
2.6.38 didn't have netback, only 2.6.39-rc1 did. Mario, please can you supply the .config you used with the 2.6.39 kernel and the exact commit id you are using. It would also be useful to see a complete log from both dom0 and domU.
Quoted 3 lines
Pvops kernel configs are here:
This contains:
# CONFIG_XEN_NETDEV_BACKEND is not set
Quoted 4 lines
http://dev.slackverse.org/tmp/config-2.6.37.6-xenU
They are both based on default configs shipped with Slackware, with minimal xen-only options enabled.
Too minimal ;-)
Quoted 3 lines
# xenstore-ls /local/domain/$(xl domid slackware)/devices/vif xenstore-ls: xs_directory (/local/domain/1/devices/vif): No such file or directory
Should be "device" not "devices", I got this wrong in my original mail. Sorry.
(I stopped reading here since I think it's all explained by the missing config option).
Ian.
Quoted 53 lines · Ian Campbell
Quoted 33 lines · Mario
Quoted 24 lines · Mario
Quoted 23 lines · Ian Campbell
Quoted 22 lines · Mario
Quoted 8 lines · Ian Campbell
Quoted 5 lines · Pasi Kärkkäinen
Hello,
Ian: Any idea what could cause this error message (more info below):
"XENBUS: Timeout connecting to device: device/vif/0 (state 1)"
Is this from the domU or the dom0?
This is from the domU.
Quoted 3 lines
Do other devices work ok?
Yes, everything else seems to be working fine.
Quoted 3 lines
Quoted 2 lines
User says replacing 2.6.38/2.6.39 pvops dom0 kernel with xenlinux one fixes the problem..
Quoted 6 lines
Quoted 6 lines
Quoted 6 lines
Quoted 5 lines
2.6.38 didn't have netback, only 2.6.39-rc1 did. Mario, please can you supply the .config you used with the 2.6.39 kernel and the exact commit id you are using. It would also be useful to see a complete log from both dom0 and domU.
Quoted 3 lines
Pvops kernel configs are here:
This contains:
#
CONFIG_XEN_NETDEV_BACKENDis not setQuoted 4 lines
http://dev.slackverse.org/tmp/config-2.6.37.6-xenU
They are both based on default configs shipped with Slackware, with minimal xen-only options enabled.
Too minimal ;-)
Quoted 3 lines
# xenstore-ls /local/domain/$(xl domid slackware)/devices/vif xenstore-ls: xs_directory (/local/domain/1/devices/vif): No such file or directory
Quoted 9 lines
Should be "device" not "devices", I got this wrong in my original mail. Sorry.
(I stopped reading here since I think it's all explained by the missing config option).
Ian.
Ehm, you are right, my bad, but what about 2.6.38.6 ?
# grep XEN_NETDEV /tmp/linux-2.6.38.6-xen/.config CONFIG_XEN_NETDEV_FRONTEND=y
I was under impression that userspace driver would kick in..?
m.
Quoted 64 lines · Mario
Quoted 53 lines · Ian Campbell
Quoted 33 lines · Mario
Quoted 24 lines · Mario
Quoted 23 lines · Ian Campbell
Quoted 22 lines · Mario
Quoted 8 lines · Ian Campbell
Quoted 5 lines · Pasi Kärkkäinen
Hello,
Ian: Any idea what could cause this error message (more info below):
"XENBUS: Timeout connecting to device: device/vif/0 (state 1)"
Is this from the domU or the dom0?
This is from the domU.
Quoted 3 lines
Do other devices work ok?
Yes, everything else seems to be working fine.
Quoted 3 lines
Quoted 2 lines
User says replacing 2.6.38/2.6.39 pvops dom0 kernel with xenlinux one fixes the problem..
Quoted 6 lines
Quoted 6 lines
Quoted 6 lines
Quoted 5 lines
2.6.38 didn't have netback, only 2.6.39-rc1 did. Mario, please can you supply the .config you used with the 2.6.39 kernel and the exact commit id you are using. It would also be useful to see a complete log from both dom0 and domU.
Quoted 3 lines
Pvops kernel configs are here:
This contains:
#
CONFIG_XEN_NETDEV_BACKENDis not setQuoted 4 lines
http://dev.slackverse.org/tmp/config-2.6.37.6-xenU
They are both based on default configs shipped with Slackware, with minimal xen-only options enabled.
Too minimal ;-)
Quoted 3 lines
# xenstore-ls /local/domain/$(xl domid slackware)/devices/vif xenstore-ls: xs_directory (/local/domain/1/devices/vif): No such file or directoryQuoted 9 lines
Should be "device" not "devices", I got this wrong in my original mail. Sorry.
(I stopped reading here since I think it's all explained by the missing config option).
Ian.
Quoted 6 lines
Ehm, you are right, my bad, but what about 2.6.38.6 ?
# grep XEN_NETDEV /tmp/linux-2.6.38.6-xen/.config CONFIG_XEN_NETDEV_FRONTEND=yI was under impression that userspace driver would kick in..?
I don't think so, that only happens for disks AFAIK.
Ian.
Quoted 67 lines · Ian Campbell
Quoted 66 lines · Mario
Quoted 53 lines · Ian Campbell
Quoted 33 lines · Mario
Quoted 24 lines · Mario
Quoted 23 lines · Ian Campbell
Quoted 22 lines · Mario
Quoted 8 lines · Ian Campbell
Quoted 5 lines · Pasi Kärkkäinen
Hello,
Ian: Any idea what could cause this error message (more info below):
"XENBUS: Timeout connecting to device: device/vif/0 (state 1)"
Is this from the domU or the dom0?
This is from the domU.
Quoted 3 lines
Do other devices work ok?
Yes, everything else seems to be working fine.
Quoted 3 lines
Quoted 2 lines
User says replacing 2.6.38/2.6.39 pvops dom0 kernel with xenlinux one fixes the problem..
Quoted 6 lines
Quoted 6 lines
Quoted 6 lines
Quoted 5 lines
2.6.38 didn't have netback, only 2.6.39-rc1 did. Mario, please can you supply the .config you used with the 2.6.39 kernel and the exact commit id you are using. It would also be useful to see a complete log from both dom0 and domU.
Quoted 3 lines
Pvops kernel configs are here:
This contains:
#
CONFIG_XEN_NETDEV_BACKENDis not setQuoted 4 lines
http://dev.slackverse.org/tmp/config-2.6.37.6-xenU
They are both based on default configs shipped with Slackware, with minimal xen-only options enabled.
Too minimal ;-)
Quoted 3 lines
# xenstore-ls /local/domain/$(xl domid slackware)/devices/vif xenstore-ls: xs_directory (/local/domain/1/devices/vif): No such file or directoryQuoted 9 lines
Should be "device" not "devices", I got this wrong in my original mail. Sorry.
(I stopped reading here since I think it's all explained by the missing config option).
Ian.
Ehm, you are right, my bad, but what about 2.6.38.6 ?
Quoted 9 lines
Quoted 4 lines
# grep XEN_NETDEV /tmp/linux-2.6.38.6-xen/.config CONFIG_XEN_NETDEV_FRONTEND=yI was under impression that userspace driver would kick in..?
I don't think so, that only happens for disks AFAIK.
Ian.
So you are telling me that 2.6.38 does not have a working networking on PV guests, but HVM does?
Quoted 2 lines · Mario
So you are telling me that 2.6.38 does not have a working networking on PV guests, but HVM does?
Yes, netback did not go upstream until 2.6.39 so PV networking (either for PV or HVM guests with PV drivers) will not work on mainline kernels before that.
Emulated HVM networking does not use netback so that will work on earlier kernels (it depends on qemu)
Ian.
Quoted 4 lines · Ian Campbell
Quoted 2 lines · Mario
So you are telling me that 2.6.38 does not have a working networking on PV guests, but HVM does?
Quoted 9 lines
Yes, netback did not go upstream until 2.6.39 so PV networking (either for PV or HVM guests with PV drivers) will not work on mainline kernels before that.
Emulated HVM networking does not use netback so that will work on earlier kernels (it depends on qemu)
Ian.
Ok, thanks, it all makes more sense now. :-)
Quoted 9 lines · Mario
Quoted 8 lines · Ian Campbell
Quoted 2 lines · Mario
So you are telling me that 2.6.38 does not have a working networking on PV guests, but HVM does?
Yes, netback did not go upstream until 2.6.39 so PV networking (either for PV or HVM guests with PV drivers) will not work on mainline kernels before that.
Quoted 7 lines
Quoted 5 lines
Emulated HVM networking does not use netback so that will work on earlier kernels (it depends on qemu)
Ian.
Ok, thanks, it all makes more sense now. :-)
Ian, while i have your attention, any idea why some framebuffer devices blank screen when dom0 boots up. I have seen this happen mostly on older vga cards but its not a rule. Should i just keep on blacklisting kernel modules for those cards, or is there some kind of a more general solution?
Quoted 16 lines · Mario
Quoted 15 lines · Mario
Quoted 13 lines · Ian Campbell
Quoted 2 lines · Mario
So you are telling me that 2.6.38 does not have a working networking on PV guests, but HVM does?
Yes, netback did not go upstream until 2.6.39 so PV networking (either for PV or HVM guests with PV drivers) will not work on mainline kernels before that.
Emulated HVM networking does not use netback so that will work on earlier kernels (it depends on qemu)
Ian.
Quoted 8 lines
Quoted 1 line
Ok, thanks, it all makes more sense now. :-)
Ian, while i have your attention, any idea why some framebuffer devices blank screen when dom0 boots up. I have seen this happen mostly on older vga cards but its not a rule. Should i just keep on blacklisting kernel modules for those cards, or is there some kind of a more general solution?
You could try "nomodeset" parameter to disable KMS modesetting.. (and possibly adding "console=tty0")
Xen patches for DRM/KMS haven't been merged to upstream Linux yet.
-- Pasi
Quoted 26 lines · Pasi Kärkkäinen
Quoted 16 lines · Mario
Quoted 15 lines · Mario
Quoted 13 lines · Ian Campbell
Quoted 2 lines · Mario
So you are telling me that 2.6.38 does not have a working networking on PV guests, but HVM does?
Yes, netback did not go upstream until 2.6.39 so PV networking (either for PV or HVM guests with PV drivers) will not work on mainline kernels before that.
Emulated HVM networking does not use netback so that will work on earlier kernels (it depends on qemu)
Ian.
Quoted 8 lines
Quoted 1 line
Ok, thanks, it all makes more sense now. :-)
Ian, while i have your attention, any idea why some framebuffer devices blank screen when dom0 boots up. I have seen this happen mostly on older vga cards but its not a rule. Should i just keep on blacklisting kernel modules for those cards, or is there some kind of a more general solution?
Quoted 7 lines
You could try "nomodeset" parameter to disable KMS modesetting.. (and possibly adding "console=tty0")
Xen patches for DRM/KMS haven't been merged to upstream Linux yet.
-- Pasi
nomodeset and/or nofb do not seem to help. console=tty0 also does not seem to have any effect.
Only way to successfuly boot dom0 is with one of these:
CONFIG_FB=n
or
echo "blacklist s3fb" > /etc/modprobe.d/blacklist-s3fb.conf
As soon as fb device is modprobed, booting stops, and server freezes. Can anything else be done? Perhaps some setting for xen in kernel..?
Quoted 41 lines · Mario
Quoted 26 lines · Pasi Kärkkäinen
Quoted 16 lines · Mario
Quoted 15 lines · Mario
Quoted 13 lines · Ian Campbell
Quoted 2 lines · Mario
So you are telling me that 2.6.38 does not have a working networking on PV guests, but HVM does?
Yes, netback did not go upstream until 2.6.39 so PV networking (either for PV or HVM guests with PV drivers) will not work on mainline kernels before that.
Emulated HVM networking does not use netback so that will work on earlier kernels (it depends on qemu)
Ian.
Quoted 8 lines
Quoted 1 line
Ok, thanks, it all makes more sense now. :-)
Ian, while i have your attention, any idea why some framebuffer devices blank screen when dom0 boots up. I have seen this happen mostly on older vga cards but its not a rule. Should i just keep on blacklisting kernel modules for those cards, or is there some kind of a more general solution?
Quoted 7 lines
You could try "nomodeset" parameter to disable KMS modesetting.. (and possibly adding "console=tty0")
Xen patches for DRM/KMS haven't been merged to upstream Linux yet.
-- Pasi
nomodeset and/or nofb do not seem to help. console=tty0 also does not seem to have any effect.
Only way to successfuly boot dom0 is with one of these:
Quoted 8 lines
CONFIG_FB=nor
echo "blacklist s3fb" >
/etc/modprobe.d/blacklist-s3fb.confAs soon as fb device is modprobed, booting stops, and server freezes. Can anything else be done? Perhaps some setting for xen in kernel..?
Set up a serial console and configure Xen + dom0 kernel log to it.. and see what goes wrong. http://wiki.xen.org/xenwiki/XenSerialConsole
ie. does dom0 kernel crash while loading s3fb?
-- Pasi
Quoted 51 lines · Pasi Kärkkäinen
Quoted 41 lines · Mario
Quoted 26 lines · Pasi Kärkkäinen
Quoted 16 lines · Mario
Quoted 15 lines · Mario
Quoted 13 lines · Ian Campbell
Quoted 2 lines · Mario
So you are telling me that 2.6.38 does not have a working networking on PV guests, but HVM does?
Yes, netback did not go upstream until 2.6.39 so PV networking (either for PV or HVM guests with PV drivers) will not work on mainline kernels before that.
Emulated HVM networking does not use netback so that will work on earlier kernels (it depends on qemu)
Ian.
Quoted 8 lines
Quoted 1 line
Ok, thanks, it all makes more sense now. :-)
Ian, while i have your attention, any idea why some framebuffer devices blank screen when dom0 boots up. I have seen this happen mostly on older vga cards but its not a rule. Should i just keep on blacklisting kernel modules for those cards, or is there some kind of a more general solution?
Quoted 7 lines
You could try "nomodeset" parameter to disable KMS modesetting.. (and possibly adding "console=tty0")
Xen patches for DRM/KMS haven't been merged to upstream Linux yet.
-- Pasi
nomodeset and/or nofb do not seem to help. console=tty0 also does not seem to have any effect.
Only way to successfuly boot dom0 is with one of these:
Quoted 8 lines
CONFIG_FB=nor
echo "blacklist s3fb">
/etc/modprobe.d/blacklist-s3fb.confAs soon as fb device is modprobed, booting stops, and server freezes. Can anything else be done? Perhaps some setting for xen in kernel..?
Quoted 7 lines
Set up a serial console and configure Xen + dom0 kernel log to it.. and see what goes wrong. http://wiki.xen.org/xenwiki/XenSerialConsole
ie. does dom0 kernel crash while loading s3fb?
-- Pasi
Well, i forgot to mention one more method, that is to add: fbcon=map:X Where X is something that is not in /proc/fb, basicly an invalid device. So, for example: fbcon=map:9
To make it short, dom0 freezes/crashes and it never reaches a full booted up state, so it will not respond to pings. The last thing displayed on the screen is s3fb being loaded and that /dev/fb0 was created.
When i first experienced this problem, it was back when i first tried Xen 4.0.1, however, i had just a blank screen with blinking cursor to work with. So i had to set up a serial console to figure out what was wrong. After seeing how it stops on framebuffer, i blacklisted the module, and it worked. I kept on doing so on every other setup i have made, but now, one year later, i was wondering if this is ever going to be fixed, or if i can somehow help to get it fixed.. :-)
m.
Quoted 70 lines · Mario
Quoted 51 lines · Pasi Kärkkäinen
Quoted 41 lines · Mario
Quoted 26 lines · Pasi Kärkkäinen
Quoted 16 lines · Mario
Quoted 15 lines · Mario
Quoted 13 lines · Ian Campbell
Quoted 2 lines · Mario
So you are telling me that 2.6.38 does not have a working networking on PV guests, but HVM does?
Yes, netback did not go upstream until 2.6.39 so PV networking (either for PV or HVM guests with PV drivers) will not work on mainline kernels before that.
Emulated HVM networking does not use netback so that will work on earlier kernels (it depends on qemu)
Ian.
Quoted 8 lines
Quoted 1 line
Ok, thanks, it all makes more sense now. :-)
Ian, while i have your attention, any idea why some framebuffer devices blank screen when dom0 boots up. I have seen this happen mostly on older vga cards but its not a rule. Should i just keep on blacklisting kernel modules for those cards, or is there some kind of a more general solution?
Quoted 7 lines
You could try "nomodeset" parameter to disable KMS modesetting.. (and possibly adding "console=tty0")
Xen patches for DRM/KMS haven't been merged to upstream Linux yet.
-- Pasi
nomodeset and/or nofb do not seem to help. console=tty0 also does not seem to have any effect.
Only way to successfuly boot dom0 is with one of these:
Quoted 8 lines
CONFIG_FB=nor
echo "blacklist s3fb">
/etc/modprobe.d/blacklist-s3fb.confAs soon as fb device is modprobed, booting stops, and server freezes. Can anything else be done? Perhaps some setting for xen in kernel..?
Quoted 7 lines
Set up a serial console and configure Xen + dom0 kernel log to it.. and see what goes wrong. http://wiki.xen.org/xenwiki/XenSerialConsole
ie. does dom0 kernel crash while loading s3fb?
-- Pasi
Well, i forgot to mention one more method, that is to add: fbcon=map:X Where X is something that is not in
/proc/fb, basicly an invalid device. So, for example: fbcon=map:9To make it short, dom0 freezes/crashes and it never reaches a full booted up state, so it will not respond to pings. The last thing displayed on the screen is s3fb being loaded and that
/dev/fb0was created.
Quoted 8 lines
When i first experienced this problem, it was back when i first tried Xen 4.0.1, however, i had just a blank screen with blinking cursor to work with. So i had to set up a serial console to figure out what was wrong. After seeing how it stops on framebuffer, i blacklisted the module, and it worked. I kept on doing so on every other setup i have made, but now, one year later, i was wondering if this is ever going to be fixed, or if i can somehow help to get it fixed.. :-)
Yep, you can help by posting the full boot logs from serial console, both Xen and dom0 linux kernel logs.
http://wiki.xen.org/xenwiki/XenSerialConsole
and: http://wiki.xensource.com/xenwiki/XenParavirtOps,
especially the "Are there more debugging options .." section.
-- Pasi
Quoted 11 lines · Pasi Kärkkäinen
Quoted 8 lines · Mario
When i first experienced this problem, it was back when i first tried Xen 4.0.1, however, i had just a blank screen with blinking cursor to work with. So i had to set up a serial console to figure out what was wrong. After seeing how it stops on framebuffer, i blacklisted the module, and it worked. I kept on doing so on every other setup i have made, but now, one year later, i was wondering if this is ever going to be fixed, or if i can somehow help to get it fixed.. :-)
Quoted 7 lines
Yep, you can help by posting the full boot logs from serial console, both Xen and dom0 linux kernel logs.
http://wiki.xen.org/xenwiki/XenSerialConsole
and: http://wiki.xensource.com/xenwiki/XenParavirtOps,
especially the "Are there more debugging options .." section.
There's a reasonable chance this is already fixed in one of Konrad's GFX branches, although I'm not sure specifically which branch is current.
Ian.
Quoted 10 lines · Ian Campbell
Quoted 9 lines · Pasi Kärkkäinen
Quoted 7 lines · Mario
When i first experienced this problem, it was back when i first tried Xen 4.0.1, however, i had just a blank screen with blinking cursor to work with. So i had to set up a serial console to figure out what was wrong. After seeing how it stops on framebuffer, i blacklisted the module, and it worked. I kept on doing so on every other setup i have made, but now, one year later, i was wondering if this is ever going to be fixed, or if i can somehow help to get it fixed.. :-)
Make sure you attach the full serial log, and include 'drm.debug=255' on your Linux bootline.
Quoted 5 lines
Quoted 5 lines
Quoted 1 line
Yep, you can help by posting the full boot logs from serial console, both Xen and dom0 linux kernel logs.
Quoted 7 lines
Quoted 4 lines
http://wiki.xen.org/xenwiki/XenSerialConsole
and: http://wiki.xensource.com/xenwiki/XenParavirtOps,
especially the "Are there more debugging options .." section.There's a reasonable chance this is already fixed in one of Konrad's GFX branches, although I'm not sure specifically which branch is current.
I think it was the #devel/agp.pci-api but it might need another pass as it probably doesn't compile anymore :-(
Mario, you could also try to use the VESA fb instead of the s3.
Quoted 2 lines
Ian.