Sachin Goyal
2004-Jun-26 02:17 UTC
[Xen-devel] Xen-Unstable : strange power cycling problem
Hi, Today I tried Xen Unstable again, using latest version from bk repository. Xend starts without any problem and I was able to start the new domain easily. I can ssh to new domain and everything works as expected. That''s great! But if I do a ssh (or try any sort of network connection) to domain0, it just power cycles the machine. I am able to ssh to other machines though. Seems something strange happening in network virtualization.. sachin __________________________________ Do you Yahoo!? Yahoo! Mail - 50x more storage than other providers! http://promotions.yahoo.com/new_mail ------------------------------------------------------- This SF.Net email sponsored by Black Hat Briefings & Training. Attend Black Hat Briefings & Training, Las Vegas July 24-29 - digital self defense, top technical experts, no vendor pitches, unmatched networking opportunities. Visit www.blackhat.com _______________________________________________ Xen-devel mailing list Xen-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/xen-devel
Keir Fraser
2004-Jun-26 07:15 UTC
Re: [Xen-devel] Xen-Unstable : strange power cycling problem
> > Hi, > > Today I tried Xen Unstable again, using latest version > from bk repository. > > Xend starts without any problem and I was able to > start the new domain easily. I can ssh to new domain > and everything works as expected. That''s great! > > But if I do a ssh (or try any sort of network > connection) to domain0, it just power cycles the > machine. I am able to ssh to other machines though. > Seems something strange happening in network > virtualization..Do you get any error messages or a crash dump, or does the machine simply spontaneously reboot? When you say you can ssh to other machines, do you mean that you can make outgoing connections from dom0, or that you can connect to other domains you have started, or something else? -- Keir ------------------------------------------------------- This SF.Net email sponsored by Black Hat Briefings & Training. Attend Black Hat Briefings & Training, Las Vegas July 24-29 - digital self defense, top technical experts, no vendor pitches, unmatched networking opportunities. Visit www.blackhat.com _______________________________________________ Xen-devel mailing list Xen-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/xen-devel
Ian Pratt
2004-Jun-26 08:10 UTC
Re: [Xen-devel] Xen-Unstable : strange power cycling problem
> Today I tried Xen Unstable again, using latest version > from bk repository. > > Xend starts without any problem and I was able to > start the new domain easily. I can ssh to new domain > and everything works as expected. That''s great!It''s good to hear that other people are having success with the new tools.> But if I do a ssh (or try any sort of network > connection) to domain0, it just power cycles the > machine. I am able to ssh to other machines though. > Seems something strange happening in network > virtualization..This is obviously very concerning. Would it be possible for you to connect a serial console to collect a crash dump? You''ll need to put "com1=115200,8n1" on the xen grub line. Because dom0 owns the VGA console, Xen isn''t easily able to do a crash dump to it. Hmm, maybe Xen should try snatching it back in the event of a crash, but this wouldn''t work if the display was running X anyhow. Is your machine multiprocessor? If so, can you reproduce with "nosmp" on the Xen command line? It seems rather more likely that you''re experiencing a general networking problem rather than something specific to incoming connections. Please can you test this by trying to exercise networking e.g. using ttcp. Although it won''t help with this particular problem, its always worth running with "watchdog" enabled. [There''s a strong argument for making this the default.] Ian ------------------------------------------------------- This SF.Net email sponsored by Black Hat Briefings & Training. Attend Black Hat Briefings & Training, Las Vegas July 24-29 - digital self defense, top technical experts, no vendor pitches, unmatched networking opportunities. Visit www.blackhat.com _______________________________________________ Xen-devel mailing list Xen-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/xen-devel
hi there, I used to use xen 1.2,and it worked fine. Now I wanna to try out the xen gdb debug stub, so switched to xen-unstable. I just ''make world'' and ''make install'', according to the README.And the grub configure is like: title Xen_1.3 / XenoLinux_1.3 2.4.26 kernel /xen.gz dom0_mem=131072 com1=115200 8n1 noht module /vmlinuz-2.4.26-xen0 root=/dev/hda5 ro concole=tty0 3 But when booting up, it doesn''t have network connection. Only has localhost domain name and 127.0.0.1 address. Where did I do wrong? Thanks, Yan ------------------------------------------------------- This SF.Net email sponsored by Black Hat Briefings & Training. Attend Black Hat Briefings & Training, Las Vegas July 24-29 - digital self defense, top technical experts, no vendor pitches, unmatched networking opportunities. Visit www.blackhat.com _______________________________________________ Xen-devel mailing list Xen-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/xen-devel
> I used to use xen 1.2,and it worked fine. Now I wanna to try out the xen gdb > debug stub, so switched to xen-unstable. > > I just ''make world'' and ''make install'', according to the README.And the grub > configure is like: > > title Xen_1.3 / XenoLinux_1.3 2.4.26 > kernel /xen.gz dom0_mem=131072 com1=115200 8n1 noht > module /vmlinuz-2.4.26-xen0 root=/dev/hda5 ro concole=tty0 3There should be a comma in the "com1=115200,8n1". Also, you probably don''t need the "console=tty0" (in which you have a typo anyway).> But when booting up, it doesn''t have network connection. Only has localhost > domain name and 127.0.0.1 address.What Ethernet card do you have in the machine (i.e. what''s the name of the driver you use under Linux)? It''s possible that the default dom0 config currently doesn''t include it, though we tried to include most popular cards. You can enable it in the normal way by going into linux-2.4.26-xen0 and editing .config and then doing a "make dep" "make dist". Ian ------------------------------------------------------- This SF.Net email sponsored by Black Hat Briefings & Training. Attend Black Hat Briefings & Training, Las Vegas July 24-29 - digital self defense, top technical experts, no vendor pitches, unmatched networking opportunities. Visit www.blackhat.com _______________________________________________ Xen-devel mailing list Xen-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/xen-devel
sh1978a@yahoo.com
2004-Jun-26 19:07 UTC
Re: [Xen-devel] Xen-Unstable : strange power cycling problem
No error message, machine simply reboots. By sshing to other machines, I mean from dom1. I am able to ssh to other machines from domain 1, but if try ssh to dom0, this reboot happens. And it''s not just ssh, if I try any network connection to dom0 from dom1, machine just reboots. sachin Do you get any error messages or a crash dump, or does the machine simply spontaneously reboot? When you say you can ssh to other machines, do you mean that you can make outgoing connections from dom0, or that you can connect to other domains you have started, or something else? -- Keir --------------------------------- Do you Yahoo!? New and Improved Yahoo! Mail - Send 10MB messages!
sh1978a@yahoo.com
2004-Jun-26 19:29 UTC
Re: [Xen-devel] Xen-Unstable : strange power cycling problem
I will try to get a serial console setup on Monday to collect crash dump. Will it dump it by default on serial console before rebooting though? No SMP, it''s a single processor machine. BTW, I had mentioned watchdog in grub boot line, when it happened (though i am not sure where watchdog is supposed to log?) No, it''s not a generic networking problem.. it comes only when I try to connect to dom0 from dom1. Other cases like, connecting to another machine from dom1, and conencting to dom1 from other machine works fine. I will try connecting to dom1 from dom0 and see what happens. Do you guys get similar problem on your systems, or is it just me.. sachin Ian Pratt <Ian.Pratt@cl.cam.ac.uk> wrote: This is obviously very concerning. Would it be possible for you to connect a serial console to collect a crash dump? You''ll need to put "com1=115200,8n1" on the xen grub line. Because dom0 owns the VGA console, Xen isn''t easily able to do a crash dump to it. Hmm, maybe Xen should try snatching it back in the event of a crash, but this wouldn''t work if the display was running X anyhow. Is your machine multiprocessor? If so, can you reproduce with "nosmp" on the Xen command line? It seems rather more likely that you''re experiencing a general networking problem rather than something specific to incoming connections. Please can you test this by trying to exercise networking e.g. using ttcp. Although it won''t help with this particular problem, its always worth running with "watchdog" enabled. [There''s a strong argument for making this the default.] Ian --------------------------------- Do you Yahoo!? Yahoo! Mail - You care about security. So do we.
Ian Pratt
2004-Jun-26 22:05 UTC
Re: [Xen-devel] Xen-Unstable : strange power cycling problem
> I will try to get a serial console setup on Monday to collect crash dump. Will it dump it by default on serial console before rebooting though?If you configure the Xen serial console "com1=115200,8n1" you should get a crash dump. There are some very rare circumstances where this doesn''t happen, but I suspect that you''ll get an Oops from domain 0, then Xen saying "domain 0 exited, rebooting machine". Hopefully the crash dump will tell us why dom0 exited. BTW: Are you using one of our pre-compiled xen and xenlinux images? We''ll need the vmlinux-syms file to interpret the crash dump.> No SMP, it''s a single processor machine. BTW, I had mentioned watchdog in grub boot line, when it happened (though i am not sure where watchdog is supposed to log?)The watchdog will detect and generate a crash dump if certain types of deadlock occur. It''s unlikely to help debug this particular problem.> Do you guys get similar problem on your systems, or is it just me..I''ve just ssh''ed into dom0 for dom1 just fine. I haven''t seen a bug for quite sometime, and I''ve been thrashing the system pretty hard. Ian ------------------------------------------------------- This SF.Net email sponsored by Black Hat Briefings & Training. Attend Black Hat Briefings & Training, Las Vegas July 24-29 - digital self defense, top technical experts, no vendor pitches, unmatched networking opportunities. Visit www.blackhat.com _______________________________________________ Xen-devel mailing list Xen-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/xen-devel
sh1978a@yahoo.com
2004-Jun-27 03:12 UTC
Re: [Xen-devel] Xen-Unstable : strange power cycling problem
Found a old serial cable, but no useful dump at console. Just "(XEN) Domain 0 shutdown: rebooting machine!" That''s how it looks... ..... ..... ..... (XEN) PCI->APIC IRQ transform: (B0,I31,P1) -> 17 (XEN) PCI->APIC IRQ transform: (B1,I0,P0) -> 16 (XEN) PCI->APIC IRQ transform: (B2,I8,P0) -> 20 (XEN) *** LOADING DOMAIN 0 *** (XEN) Xen-ELF header found: ''GUEST_OS=linux,GUEST_VER=2.4,XEN_VER=1.3'' (XEN) PHYSICAL MEMORY ARRANGEMENT: (XEN) Kernel image: 02800000->02a928b0 (XEN) Initrd image: 00000000->00000000 (XEN) Dom0 alloc.: 02c00000->0ac00000 (XEN) VIRTUAL MEMORY ARRANGEMENT: (XEN) Loaded kernel: c0000000->c02d9504 (XEN) Init. ramdisk: c02da000->c02da000 (XEN) Phys-Mach map: c02da000->c02fa000 (XEN) Page tables: c02fa000->c02fc000 (XEN) Start info: c02fc000->c02fd000 (XEN) Boot stack: c02fd000->c02fe000 (XEN) TOTAL: c0000000->c0400000 (XEN) ENTRY ADDRESS: c0000000 (XEN) *** Serial input -> DOM0 (type ''CTRL-a'' three times to switch input to Xen ). (XEN) Domain 0 shutdown: rebooting machine! ------ Also I was able to ssh successfully from dom0 to dom1.. So this reboot only happens when I try to establish ssh from dom1 to dom0. sachin __________________________________ Do you Yahoo!? Yahoo! Mail - 50x more storage than other providers! http://promotions.yahoo.com/new_mail ------------------------------------------------------- This SF.Net email sponsored by Black Hat Briefings & Training. Attend Black Hat Briefings & Training, Las Vegas July 24-29 - digital self defense, top technical experts, no vendor pitches, unmatched networking opportunities. Visit www.blackhat.com _______________________________________________ Xen-devel mailing list Xen-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/xen-devel
Keir Fraser
2004-Jun-27 07:58 UTC
Re: [Xen-devel] Xen-Unstable : strange power cycling problem
> > Found a old serial cable, but no useful dump at > console. Just "(XEN) Domain 0 shutdown: rebooting > machine!" > > That''s how it looks...Add ''console=ttyS0'' to your Linux command line /before/ ''console=tty0''. Linux will then send boot messages and crash dumps to the serial line. -- Keir> ..... > ..... > ..... > (XEN) PCI->APIC IRQ transform: (B0,I31,P1) -> 17 > (XEN) PCI->APIC IRQ transform: (B1,I0,P0) -> 16 > (XEN) PCI->APIC IRQ transform: (B2,I8,P0) -> 20 > (XEN) *** LOADING DOMAIN 0 *** > (XEN) Xen-ELF header found: > ''GUEST_OS=linux,GUEST_VER=2.4,XEN_VER=1.3'' > (XEN) PHYSICAL MEMORY ARRANGEMENT: > (XEN) Kernel image: 02800000->02a928b0 > (XEN) Initrd image: 00000000->00000000 > (XEN) Dom0 alloc.: 02c00000->0ac00000 > (XEN) VIRTUAL MEMORY ARRANGEMENT: > (XEN) Loaded kernel: c0000000->c02d9504 > (XEN) Init. ramdisk: c02da000->c02da000 > (XEN) Phys-Mach map: c02da000->c02fa000 > (XEN) Page tables: c02fa000->c02fc000 > (XEN) Start info: c02fc000->c02fd000 > (XEN) Boot stack: c02fd000->c02fe000 > (XEN) TOTAL: c0000000->c0400000 > (XEN) ENTRY ADDRESS: c0000000 > (XEN) *** Serial input -> DOM0 (type ''CTRL-a'' three > times to switch input to Xen > ). > (XEN) Domain 0 shutdown: rebooting machine! > > ------ > > Also I was able to ssh successfully from dom0 to > dom1.. So this reboot only happens when I try to > establish ssh from dom1 to dom0. > > sachin > > > > __________________________________ > Do you Yahoo!? > Yahoo! Mail - 50x more storage than other providers! > http://promotions.yahoo.com/new_mail > > > ------------------------------------------------------- > This SF.Net email sponsored by Black Hat Briefings & Training. > Attend Black Hat Briefings & Training, Las Vegas July 24-29 - > digital self defense, top technical experts, no vendor pitches, > unmatched networking opportunities. Visit www.blackhat.com > _______________________________________________ > Xen-devel mailing list > Xen-devel@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/xen-devel------------------------------------------------------- This SF.Net email sponsored by Black Hat Briefings & Training. Attend Black Hat Briefings & Training, Las Vegas July 24-29 - digital self defense, top technical experts, no vendor pitches, unmatched networking opportunities. Visit www.blackhat.com _______________________________________________ Xen-devel mailing list Xen-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/xen-devel
yeah, I found the typo in the grub.conf. But actually I just used it with 1.2, and worked fine. I''ll change it anyway. I checked the ethernet card is e100, which is not set in .config, so just set ''CONFIG_E100=y'',right? but I have question about ''make dep'' and ''make dist''. It''s done under /xeno-unstable.bk, not under /xeno-unstable.bk/linux-2.4.26-xen,right? But after I did it, it still doesn''t work. I found ''make dist'' only build xen and tools, didn''t use .config,so I guess the change isn''t effective. And with ''make world'', it change back to the original .config, so no use either. So I guess maybe I should try set ''CONFIG_E100=y'' in .config, and make linux_xenU_config make linux_xenU make linux_xen0_config make linux_xen0 Is the guess right? Sorry for your time, coz I''m working remote now, if screw it again, then I cannot login. So better make sure how to deal it. Thanks, Yan ----- Original Message ----- From: "Ian Pratt" <Ian.Pratt@cl.cam.ac.uk> To: "Yan Li" <yan_li00@hotmail.com> Cc: <xen-devel@lists.sourceforge.net>; <Ian.Pratt@cl.cam.ac.uk> Sent: Saturday, June 26, 2004 1:31 AM Subject: Re: [Xen-devel] Xen-Unstable : no eth0 when boot up> > > I used to use xen 1.2,and it worked fine. Now I wanna to try out the xengdb> > debug stub, so switched to xen-unstable. > > > > I just ''make world'' and ''make install'', according to the README.And thegrub> > configure is like: > > > > title Xen_1.3 / XenoLinux_1.3 2.4.26 > > kernel /xen.gz dom0_mem=131072 com1=115200 8n1 noht > > module /vmlinuz-2.4.26-xen0 root=/dev/hda5 ro concole=tty0 3 > > There should be a comma in the "com1=115200,8n1". > > Also, you probably don''t need the "console=tty0" (in which you > have a typo anyway). > > > But when booting up, it doesn''t have network connection. Only haslocalhost> > domain name and 127.0.0.1 address. > > What Ethernet card do you have in the machine (i.e. what''s the > name of the driver you use under Linux)? It''s possible that the > default dom0 config currently doesn''t include it, though we tried > to include most popular cards. > > You can enable it in the normal way by going into > linux-2.4.26-xen0 and editing .config and then doing a "make dep" > "make dist". > > Ian > > > ------------------------------------------------------- > This SF.Net email sponsored by Black Hat Briefings & Training. > Attend Black Hat Briefings & Training, Las Vegas July 24-29 - > digital self defense, top technical experts, no vendor pitches, > unmatched networking opportunities. Visit www.blackhat.com > _______________________________________________ > Xen-devel mailing list > Xen-devel@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/xen-devel >------------------------------------------------------- This SF.Net email sponsored by Black Hat Briefings & Training. Attend Black Hat Briefings & Training, Las Vegas July 24-29 - digital self defense, top technical experts, no vendor pitches, unmatched networking opportunities. Visit www.blackhat.com _______________________________________________ Xen-devel mailing list Xen-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/xen-devel
> yeah, I found the typo in the grub.conf. But actually I just used it with > 1.2, and worked fine. > I''ll change it anyway. > > I checked the ethernet card is e100, which is not set in .config, so just > set ''CONFIG_E100=y'',right? > > but I have question about ''make dep'' and ''make dist''. It''s done under > /xeno-unstable.bk, not under > /xeno-unstable.bk/linux-2.4.26-xen,right? But after I did it, it still > doesn''t work. > I found ''make dist'' only build xen and tools, didn''t use .config,so I guess > the change isn''t effective. > And with ''make world'', it change back to the original .config, so no use > either. > So I guess maybe I should try set ''CONFIG_E100=y'' in .config, and > make linux_xenU_config > make linux_xenU > make linux_xen0_config > make linux_xen0 > > Is the guess right?That''ll blow your config away again. :-) What you want to do is create your desired .config script as you describe above, and then place it in install/boot/config-2.4.26-xen0 Then do the make lines you list above and ''make linux_Xen0_config'' will copy your config file from install/boot. -- Keir> Sorry for your time, coz I''m working remote now, if screw it again, then I > cannot login. So better make sure how to deal it.------------------------------------------------------- This SF.Net email sponsored by Black Hat Briefings & Training. Attend Black Hat Briefings & Training, Las Vegas July 24-29 - digital self defense, top technical experts, no vendor pitches, unmatched networking opportunities. Visit www.blackhat.com _______________________________________________ Xen-devel mailing list Xen-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/xen-devel
> yeah, I found the typo in the grub.conf. But actually I just used it with > 1.2, and worked fine. > I''ll change it anyway. > > I checked the ethernet card is e100, which is not set in .config, so just > set ''CONFIG_E100=y'',right?Yes -- E100''s are sufficiently common that we should probably add them to the default config. I''d do something like the following: make -j4 world cd linux-2.4.26-xen0 vi .config ARCH=xen make dep cd .. make dist # [ or make isntall ] Ian ------------------------------------------------------- This SF.Net email sponsored by Black Hat Briefings & Training. Attend Black Hat Briefings & Training, Las Vegas July 24-29 - digital self defense, top technical experts, no vendor pitches, unmatched networking opportunities. Visit www.blackhat.com _______________________________________________ Xen-devel mailing list Xen-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/xen-devel
murble-xendev@yuri.org.uk
2004-Jun-27 10:48 UTC
Re: [Xen-devel] Xen-Unstable : strange power cycling problem
On Sun, Jun 27, 2004 at 08:58:16AM +0100, Keir Fraser wrote:> > > > Found a old serial cable, but no useful dump at > > console. Just "(XEN) Domain 0 shutdown: rebooting > > machine!" > > > > That''s how it looks... > > Add ''console=ttyS0'' to your Linux command line /before/ > ''console=tty0''. Linux will then send boot messages and crash dumps to > the serial line. >I''ve also seen behaviour similar to this recently, although the child domains survive when they are just doing NFS to domain0. What seems to reliably trigger it is running nmap on the new domain to domain0. In the other direction I managed to get it to Oops but not crash nmaping from domain0 to a child domain. It didn''t seem to matter if I have the bridging configured or go via the vif interface. Only kernel modules loaded in domain0 at crash time were ipv6, sis900 and crc32. bill -- Bill Boughton <murble(at)@yuri.org.uk> <bill@(at)xencat.murble.org.uk> Down not across
Ian Pratt
2004-Jun-27 16:24 UTC
Re: [Xen-devel] Xen-Unstable : strange power cycling problem
> I''ve also seen behaviour similar to this recently, although the > child domains survive when they are just doing NFS to domain0. > > What seems to reliably trigger it is running nmap on the new domain > to domain0.ACK -- I can now reproduce with both "nmap -sT" and "nmap -sU" from dom1 to dom0. Doing the same from dom0 to dom1 works fine, as does going from dom1 to an external machine. What''s surprising is that I can run both a tcp and udp blaster in both directions between dom0 and dom1 without triggering the bug. It must be something specific to incoming connections, which is quite a surprise as there should be nothing xen specific about this. I wander if we''re provoking a latent linux bug? Now we can reproduce it should be possible to work out what''s going on... Ian ------------------------------------------------------- This SF.Net email sponsored by Black Hat Briefings & Training. Attend Black Hat Briefings & Training, Las Vegas July 24-29 - digital self defense, top technical experts, no vendor pitches, unmatched networking opportunities. Visit www.blackhat.com _______________________________________________ Xen-devel mailing list Xen-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/xen-devel
> > yeah, I found the typo in the grub.conf. But actually I just used it with > > 1.2, and worked fine. > > I''ll change it anyway. > > > > I checked the ethernet card is e100, which is not set in .config, so just > > set ''CONFIG_E100=y'',right? > > I''d do something like the following: > make -j4 world > cd linux-2.4.26-xen0 > vi .config > ARCH=xen make dep > cd .. > make dist # [ or make isntall ],..or as a variant of what Keir says, edit install/boot/config-2.4.26-xen0 and then "make -j4 world" again. Ian ------------------------------------------------------- This SF.Net email sponsored by Black Hat Briefings & Training. Attend Black Hat Briefings & Training, Las Vegas July 24-29 - digital self defense, top technical experts, no vendor pitches, unmatched networking opportunities. Visit www.blackhat.com _______________________________________________ Xen-devel mailing list Xen-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/xen-devel
hi, I tried both, first: make -j4 world cd linux-2.4.26-xen vi .config ARCH=xen make dep cd .. make install second vi install/boot/config-2.4.26-xen0 make linux_xenU_config make linux_xenU make linux_xen0_config make linux_xen0 cp install/boot/vm* /boot but both didn''t work. :( although it did change the .config in the second try. Actually with xen 1.2, eth0 worked fine, warning msg about e100 popped up when booting up though. So where should be the problem? Thanks, Yan ----- Original Message ----- From: "Ian Pratt" <Ian.Pratt@cl.cam.ac.uk> To: "Ian Pratt" <Ian.Pratt@cl.cam.ac.uk> Cc: "Yan Li" <yan_li00@hotmail.com>; <xen-devel@lists.sourceforge.net>; <Ian.Pratt@cl.cam.ac.uk> Sent: Sunday, June 27, 2004 9:27 AM Subject: Re: [Xen-devel] Xen-Unstable : no eth0 when boot up> > > yeah, I found the typo in the grub.conf. But actually I just used itwith> > > 1.2, and worked fine. > > > I''ll change it anyway. > > > > > > I checked the ethernet card is e100, which is not set in .config, sojust> > > set ''CONFIG_E100=y'',right? > > > > I''d do something like the following: > > make -j4 world > > cd linux-2.4.26-xen0 > > vi .config > > ARCH=xen make dep > > cd .. > > make dist # [ or make isntall ] > > ,..or as a variant of what Keir says, edit install/boot/config-2.4.26-xen0 > and then "make -j4 world" again. > > Ian > > > ------------------------------------------------------- > This SF.Net email sponsored by Black Hat Briefings & Training. > Attend Black Hat Briefings & Training, Las Vegas July 24-29 - > digital self defense, top technical experts, no vendor pitches, > unmatched networking opportunities. Visit www.blackhat.com > _______________________________________________ > Xen-devel mailing list > Xen-devel@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/xen-devel >------------------------------------------------------- This SF.Net email sponsored by Black Hat Briefings & Training. Attend Black Hat Briefings & Training, Las Vegas July 24-29 - digital self defense, top technical experts, no vendor pitches, unmatched networking opportunities. Visit www.blackhat.com _______________________________________________ Xen-devel mailing list Xen-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/xen-devel
Are you totally sure that e100 really is compiled into your dom0 kernel? e.g., if you ''ls drivers/net/e100/'' do you see some files with suffix ''.o'' ? -- Keir> hi, > > I tried both, first: > > make -j4 world > cd linux-2.4.26-xen > vi .config > ARCH=xen make dep > cd .. > make install > > second > > vi install/boot/config-2.4.26-xen0 > make linux_xenU_config > make linux_xenU > make linux_xen0_config > make linux_xen0 > cp install/boot/vm* /boot > > but both didn''t work. :( although it did change the .config in the second > try. > > Actually with xen 1.2, eth0 worked fine, warning msg about e100 popped up > when booting up though. > > So where should be the problem? > > Thanks, > Yan > > ----- Original Message ----- > From: "Ian Pratt" <Ian.Pratt@cl.cam.ac.uk> > To: "Ian Pratt" <Ian.Pratt@cl.cam.ac.uk> > Cc: "Yan Li" <yan_li00@hotmail.com>; <xen-devel@lists.sourceforge.net>; > <Ian.Pratt@cl.cam.ac.uk> > Sent: Sunday, June 27, 2004 9:27 AM > Subject: Re: [Xen-devel] Xen-Unstable : no eth0 when boot up > > > > > > yeah, I found the typo in the grub.conf. But actually I just used it > with > > > > 1.2, and worked fine. > > > > I''ll change it anyway. > > > > > > > > I checked the ethernet card is e100, which is not set in .config, so > just > > > > set ''CONFIG_E100=y'',right? > > > > > > I''d do something like the following: > > > make -j4 world > > > cd linux-2.4.26-xen0 > > > vi .config > > > ARCH=xen make dep > > > cd .. > > > make dist # [ or make isntall ] > > > > ,..or as a variant of what Keir says, edit install/boot/config-2.4.26-xen0 > > and then "make -j4 world" again. > > > > Ian > > > > > > ------------------------------------------------------- > > This SF.Net email sponsored by Black Hat Briefings & Training. > > Attend Black Hat Briefings & Training, Las Vegas July 24-29 - > > digital self defense, top technical experts, no vendor pitches, > > unmatched networking opportunities. Visit www.blackhat.com > > _______________________________________________ > > Xen-devel mailing list > > Xen-devel@lists.sourceforge.net > > https://lists.sourceforge.net/lists/listinfo/xen-devel > > > > > ------------------------------------------------------- > This SF.Net email sponsored by Black Hat Briefings & Training. > Attend Black Hat Briefings & Training, Las Vegas July 24-29 - > digital self defense, top technical experts, no vendor pitches, > unmatched networking opportunities. Visit www.blackhat.com > _______________________________________________ > Xen-devel mailing list > Xen-devel@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/xen-devel------------------------------------------------------- This SF.Net email sponsored by Black Hat Briefings & Training. Attend Black Hat Briefings & Training, Las Vegas July 24-29 - digital self defense, top technical experts, no vendor pitches, unmatched networking opportunities. Visit www.blackhat.com _______________________________________________ Xen-devel mailing list Xen-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/xen-devel
> Actually with xen 1.2, eth0 worked fine, warning msg about e100 popped up > when booting up though. > > So where should be the problem?Did the domain 0 kernel detect an e100 when the machine booted? What does dmesg show? Are you sure you''re booting the new kernel with the modified config? Look at the boot banner to check the time. Just to check this, add a printk("HELLO WORLD\n"); in the e100/e100_main.c:e100_init_module routine. Ian ------------------------------------------------------- This SF.Net email sponsored by Black Hat Briefings & Training. Attend Black Hat Briefings & Training, Las Vegas July 24-29 - digital self defense, top technical experts, no vendor pitches, unmatched networking opportunities. Visit www.blackhat.com _______________________________________________ Xen-devel mailing list Xen-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/xen-devel
ok, now it works. I found you set e100 enabled in defconfig-xen0. So I just cloned it again and build it all over again, and it works fine. Thank your help. btw, I have a question about how xen handle the system calls. Xen has fast trap mechanism. But when we commented out the line "HYPERVISOR_set_fast_trap(SYSCALL_VECTOR);" in xenolinux-2.4.26/arch/xeno/kernel/traps.c, (talking about 1.2 here) xen still performed well. So xen must have something to handle system calls from guest OS, right? but we cannot find where it did this. It seems to us xen only defined 0-19, not 128 for system calls. Thanks, Yan ----- Original Message ----- From: "Keir Fraser" <Keir.Fraser@cl.cam.ac.uk> To: "Yan Li" <yan_li00@hotmail.com> Cc: "Ian Pratt" <Ian.Pratt@cl.cam.ac.uk>; <xen-devel@lists.sourceforge.net> Sent: Monday, June 28, 2004 2:37 AM Subject: Re: [Xen-devel] Xen-Unstable : no eth0 when boot up> > Are you totally sure that e100 really is compiled into your dom0 > kernel? e.g., if you ''ls drivers/net/e100/'' do you see some files with > suffix ''.o'' ? > > -- Keir > > > hi, > > > > I tried both, first: > > > > make -j4 world > > cd linux-2.4.26-xen > > vi .config > > ARCH=xen make dep > > cd .. > > make install > > > > second > > > > vi install/boot/config-2.4.26-xen0 > > make linux_xenU_config > > make linux_xenU > > make linux_xen0_config > > make linux_xen0 > > cp install/boot/vm* /boot > > > > but both didn''t work. :( although it did change the .config in thesecond> > try. > > > > Actually with xen 1.2, eth0 worked fine, warning msg about e100 poppedup> > when booting up though. > > > > So where should be the problem? > > > > Thanks, > > Yan > > > > ----- Original Message ----- > > From: "Ian Pratt" <Ian.Pratt@cl.cam.ac.uk> > > To: "Ian Pratt" <Ian.Pratt@cl.cam.ac.uk> > > Cc: "Yan Li" <yan_li00@hotmail.com>; <xen-devel@lists.sourceforge.net>; > > <Ian.Pratt@cl.cam.ac.uk> > > Sent: Sunday, June 27, 2004 9:27 AM > > Subject: Re: [Xen-devel] Xen-Unstable : no eth0 when boot up > > > > > > > > > yeah, I found the typo in the grub.conf. But actually I just usedit> > with > > > > > 1.2, and worked fine. > > > > > I''ll change it anyway. > > > > > > > > > > I checked the ethernet card is e100, which is not set in .config,so> > just > > > > > set ''CONFIG_E100=y'',right? > > > > > > > > I''d do something like the following: > > > > make -j4 world > > > > cd linux-2.4.26-xen0 > > > > vi .config > > > > ARCH=xen make dep > > > > cd .. > > > > make dist # [ or make isntall ] > > > > > > ,..or as a variant of what Keir says, editinstall/boot/config-2.4.26-xen0> > > and then "make -j4 world" again. > > > > > > Ian > > > > > > > > > ------------------------------------------------------- > > > This SF.Net email sponsored by Black Hat Briefings & Training. > > > Attend Black Hat Briefings & Training, Las Vegas July 24-29 - > > > digital self defense, top technical experts, no vendor pitches, > > > unmatched networking opportunities. Visit www.blackhat.com > > > _______________________________________________ > > > Xen-devel mailing list > > > Xen-devel@lists.sourceforge.net > > > https://lists.sourceforge.net/lists/listinfo/xen-devel > > > > > > > > > ------------------------------------------------------- > > This SF.Net email sponsored by Black Hat Briefings & Training. > > Attend Black Hat Briefings & Training, Las Vegas July 24-29 - > > digital self defense, top technical experts, no vendor pitches, > > unmatched networking opportunities. Visit www.blackhat.com > > _______________________________________________ > > Xen-devel mailing list > > Xen-devel@lists.sourceforge.net > > https://lists.sourceforge.net/lists/listinfo/xen-devel > > > > ------------------------------------------------------- > This SF.Net email sponsored by Black Hat Briefings & Training. > Attend Black Hat Briefings & Training, Las Vegas July 24-29 - > digital self defense, top technical experts, no vendor pitches, > unmatched networking opportunities. Visit www.blackhat.com > _______________________________________________ > Xen-devel mailing list > Xen-devel@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/xen-devel >------------------------------------------------------- This SF.Net email sponsored by Black Hat Briefings & Training. Attend Black Hat Briefings & Training, Las Vegas July 24-29 - digital self defense, top technical experts, no vendor pitches, unmatched networking opportunities. Visit www.blackhat.com _______________________________________________ Xen-devel mailing list Xen-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/xen-devel
> ok, now it works. I found you set e100 enabled in defconfig-xen0. So I just > cloned it again and build it all over again, and it works fine. Thank your > help. > btw, I have a question about how xen handle the system calls. Xen has fast > trap mechanism. But when we commented out the line > "HYPERVISOR_set_fast_trap(SYSCALL_VECTOR);" > in xenolinux-2.4.26/arch/xeno/kernel/traps.c, (talking about 1.2 here) > xen still performed well. So xen must have something to handle system calls > from guest OS, right? but we cannot find where it did this. It seems to us > xen only defined 0-19, not 128 for system calls.Traps to undefined vectors, or vectors for which the trapper has insufficient privilege, cause a general protection fault (GPF) with a particular type of error code. Xen detects that type of error code and, if the guest OS registered a suitable virtual handler on that vector, virtualises the GPF as a trap of the appropriate type. If teh guest OS didn''t, then the GPF is virtualised as a GPF in the usual way. See the "cunning trick" comment in general_protection_fault() in arch/x86/traps.c. -- Keir ------------------------------------------------------- This SF.Net email sponsored by Black Hat Briefings & Training. Attend Black Hat Briefings & Training, Las Vegas July 24-29 - digital self defense, top technical experts, no vendor pitches, unmatched networking opportunities. Visit www.blackhat.com _______________________________________________ Xen-devel mailing list Xen-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/xen-devel
Keir Fraser
2004-Jun-29 14:06 UTC
Re: [Xen-devel] Xen-Unstable : strange power cycling problem
This domain-crashing bug should now be fixed in the unstable repository. I can now run ''nmap'' happily from any domain to any domain with no problems. -- Keir> > Hi, > > Today I tried Xen Unstable again, using latest version > from bk repository. > > Xend starts without any problem and I was able to > start the new domain easily. I can ssh to new domain > and everything works as expected. That''s great! > > But if I do a ssh (or try any sort of network > connection) to domain0, it just power cycles the > machine. I am able to ssh to other machines though. > Seems something strange happening in network > virtualization.. > >------------------------------------------------------- This SF.Net email sponsored by Black Hat Briefings & Training. Attend Black Hat Briefings & Training, Las Vegas July 24-29 - digital self defense, top technical experts, no vendor pitches, unmatched networking opportunities. Visit www.blackhat.com _______________________________________________ Xen-devel mailing list Xen-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/xen-devel
sh1978a@yahoo.com
2004-Jun-29 19:10 UTC
Re: [Xen-devel] Xen-Unstable : strange power cycling problem
Great !! So what was causing this bug? sachin Keir Fraser <Keir.Fraser@cl.cam.ac.uk> wrote: This domain-crashing bug should now be fixed in the unstable repository. I can now run ''nmap'' happily from any domain to any domain with no problems. -- Keir --------------------------------- Do you Yahoo!? New and Improved Yahoo! Mail - Send 10MB messages!
Keir Fraser
2004-Jun-29 19:44 UTC
Re: [Xen-devel] Xen-Unstable : strange power cycling problem
I was making use of a ''protocol private'' part of the per-packet ''skbuff'' structure to store some useful info. Comments in Linux seemed to indocate that whoever currently had the skbuff queued could safely use this area. This is actually untrue (at least for net devices, which admittedly isn''t protocol code :-) ). Just so happened that for certain packet types and timings we''d overwrite TCP info in that area which caused havoc. -- Keir> Great !! > > So what was causing this bug? > > sachin > > Keir Fraser <Keir.Fraser@cl.cam.ac.uk> wrote: > > This domain-crashing bug should now be fixed in the unstable > repository. I can now run ''nmap'' happily from any domain to any domain > with no problems. > > -- Keir > > > --------------------------------- > Do you Yahoo!? > New and Improved Yahoo! Mail - Send 10MB messages!-=- MIME -=- --0-16753591-1088536204=:37972 Content-Type: text/plain; charset=us-ascii Great !! So what was causing this bug? sachin Keir Fraser <Keir.Fraser@cl.cam.ac.uk> wrote: This domain-crashing bug should now be fixed in the unstable repository. I can now run ''nmap'' happily from any domain to any domain with no problems. -- Keir --------------------------------- Do you Yahoo!? New and Improved Yahoo! Mail - Send 10MB messages! --0-16753591-1088536204=:37972 Content-Type: text/html; charset=us-ascii <DIV>Great !!</DIV> <DIV> </DIV> <DIV>So what was causing this bug?</DIV> <DIV> </DIV> <DIV>sachin<BR><BR><B><I>Keir Fraser <Keir.Fraser@cl.cam.ac.uk></I></B> wrote:</DIV> <BLOCKQUOTE class=replbq style="PADDING-LEFT: 5px; MARGIN-LEFT: 5px; BORDER-LEFT: #1010ff 2px solid"><BR>This domain-crashing bug should now be fixed in the unstable<BR>repository. I can now run ''nmap'' happily from any domain to any domain<BR>with no problems.<BR><BR>-- Keir<BR></BLOCKQUOTE><p> <hr size=1>Do you Yahoo!?<br> <a href="http://us.rd.yahoo.com/mail_us/taglines/10/*http://promotions.yahoo.com/new_mail/static/efficiency.html">New and Improved Yahoo! Mail</a> - Send 10MB messages! --0-16753591-1088536204=:37972-- ------------------------------------------------------- This SF.Net email sponsored by Black Hat Briefings & Training. Attend Black Hat Briefings & Training, Las Vegas July 24-29 - digital self defense, top technical experts, no vendor pitches, unmatched networking opportunities. Visit www.blackhat.com _______________________________________________ Xen-devel mailing list Xen-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/xen-devel
On Tue, 29 Jun 2004, Keir Fraser wrote:> See the "cunning trick" comment in general_protection_fault() in > arch/x86/traps.c.It is quite cunning by the way. I now have (limited) hypervisor console output to dom0. Problem was not that I was not setting the evt port in start_info but that I was not picking it up for a silly reason. ron ------------------------------------------------------- This SF.Net email sponsored by Black Hat Briefings & Training. Attend Black Hat Briefings & Training, Las Vegas July 24-29 - digital self defense, top technical experts, no vendor pitches, unmatched networking opportunities. Visit www.blackhat.com _______________________________________________ Xen-devel mailing list Xen-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/xen-devel
unfortunaly new problems comes. :( I noticed long ago that after install xen, ''halt'' didn''t work, it just acted like reboot. So I wanna try it on this 1.3, and it turned that it still just reboots the machine. And I trid this on two xen machines, both worked this way. More serious problems is after this reboot, eth0 lost again. I didn''t change anything since eth0 was up. I''m sure the .config has set e100=y. So I ''make clean'' and ''make world'' ''make install'' again, still didn''t work. Then I add printk("hello world from e100_init_module\n") in e100_main.c. and then just ''make linux-xen0'', ''cp /install/boot/vmlinuz-2.4.26-xen0''. From dmesg, can see this: e100:selftest timeout e100:failed to initialize, instance #0 hello world from e100_init_module While if I use just reboot to standard linux or xen 1.2, eth0 works fine. Then I changed the grub, use 1.2 kernal+1.3 module, it shows that e100 selftest ok, eth0 is ready, but surely invalid guest OS image. I also tried 1.3 kernal+1.2 module, just didn''t go to e100 step. My question here is when useing 1.2 kernal+1.3 module, why the ''hello world from e100_init_module'' didn''t appear? After these two tries, I changed the grub back to normal 1.3 kernal+1.3 module, and, it magically worked, eth0 is back again. Then I rebooted again to see what''d happend, and again, eth0 was lost. same as the info above. And I tried all these stuff again, still no eth0.But still, if I loaded into linux or xen 1.2, it''s fine, so it seems not network card''s problem. And also with another machine, all works well. It''s network card driver is not e100 though, it''s 3c59x. Anyone can help? I was rebooting like crazy, really frustrated. :( Thanks, Yan ----- Original Message ----- From: "Keir Fraser" <Keir.Fraser@cl.cam.ac.uk> To: "Yan Li" <yan_li00@hotmail.com> Cc: "Keir Fraser" <Keir.Fraser@cl.cam.ac.uk>; "Ian Pratt" <Ian.Pratt@cl.cam.ac.uk>; <xen-devel@lists.sourceforge.net> Sent: Monday, June 28, 2004 11:36 PM Subject: Re: [Xen-devel] Xen-Unstable : no eth0 when boot up> > ok, now it works. I found you set e100 enabled in defconfig-xen0. So Ijust> > cloned it again and build it all over again, and it works fine. Thankyour> > help. > > btw, I have a question about how xen handle the system calls. Xen hasfast> > trap mechanism. But when we commented out the line > > "HYPERVISOR_set_fast_trap(SYSCALL_VECTOR);" > > in xenolinux-2.4.26/arch/xeno/kernel/traps.c, (talking about 1.2 here) > > xen still performed well. So xen must have something to handle systemcalls> > from guest OS, right? but we cannot find where it did this. It seems tous> > xen only defined 0-19, not 128 for system calls. > > Traps to undefined vectors, or vectors for which the trapper has > insufficient privilege, cause a general protection fault (GPF) with a > particular type of error code. Xen detects that type of error code > and, if the guest OS registered a suitable virtual handler on that > vector, virtualises the GPF as a trap of the appropriate type. If teh > guest OS didn''t, then the GPF is virtualised as a GPF in the usual > way. See the "cunning trick" comment in general_protection_fault() in > arch/x86/traps.c. > > -- Keir > >------------------------------------------------------- This SF.Net email sponsored by Black Hat Briefings & Training. Attend Black Hat Briefings & Training, Las Vegas July 24-29 - digital self defense, top technical experts, no vendor pitches, unmatched networking opportunities. Visit www.blackhat.com _______________________________________________ Xen-devel mailing list Xen-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/xen-devel
> unfortunaly new problems comes. :( > I noticed long ago that after install xen, ''halt'' didn''t work, it just acted > like reboot. So I wanna try it on this 1.3, and it turned that it still just > reboots the machine. And I trid this on two xen machines, both worked this > way.You mean in domain 0? I think invoking halt/reboot in other domains does the right thing, though I haven''t checked (there''s at least now code for a domain to exit with a code indicating what action it wants). Whenever domain 0 exits, Xen reboots the machine. I guess we could look at the exit code and loop if its a halt.> More serious problems is after this reboot, eth0 lost again. I didn''t change > anything since eth0 was up. I''m sure the .config has set e100=y. So I ''make > clean'' and ''make world'' ''make install'' again, still didn''t work. > > Then I add printk("hello world from e100_init_module\n") in e100_main.c. and > then just ''make linux-xen0'', ''cp /install/boot/vmlinuz-2.4.26-xen0''. From > dmesg, can see this: > > e100:selftest timeout > e100:failed to initialize, instance #0 > hello world from e100_init_module > > While if I use just reboot to standard linux or xen 1.2, eth0 works fine. > Then I changed the grub, use 1.2 kernal+1.3 module, it shows that e100 > selftest ok, eth0 is ready, but surely invalid guest OS image. I also tried > 1.3 kernal+1.2 module, just didn''t go to e100 step. My question here is when > useing 1.2 kernal+1.3 module, why the ''hello world from e100_init_module'' > didn''t appear?Don''t mix different Xen images and OSes -- it won''t work. The hypervisor API has changed.> After these two tries, I changed the grub back to normal 1.3 kernal+1.3 > module, and, it magically worked, eth0 is back again.It sounds like that unless your NIC gets a hard reboot, Linux''s e100 driver code won''t detect it next time round. I''m guessing Xen does a soft reboot when it exits, as its faster and works on the vast majority of hardware. I guess we could add a "hardreboot" xen cmdline option, but rebooting a PC in s/w is a bit of a black art. Ian> Then I rebooted again to see what''d happend, and again, eth0 was lost. same > as the info above. And I tried all these stuff again, still no eth0.But > still, if I loaded into linux or xen 1.2, it''s fine, so it seems not network > card''s problem. And also with another machine, all works well. It''s network > card driver is not e100 though, it''s 3c59x. > > Anyone can help? I was rebooting like crazy, really frustrated. :( > > Thanks, > Yan > ----- Original Message ----- > From: "Keir Fraser" <Keir.Fraser@cl.cam.ac.uk> > To: "Yan Li" <yan_li00@hotmail.com> > Cc: "Keir Fraser" <Keir.Fraser@cl.cam.ac.uk>; "Ian Pratt" > <Ian.Pratt@cl.cam.ac.uk>; <xen-devel@lists.sourceforge.net> > Sent: Monday, June 28, 2004 11:36 PM > Subject: Re: [Xen-devel] Xen-Unstable : no eth0 when boot up > > > > > ok, now it works. I found you set e100 enabled in defconfig-xen0. So I > just > > > cloned it again and build it all over again, and it works fine. Thank > your > > > help. > > > btw, I have a question about how xen handle the system calls. Xen has > fast > > > trap mechanism. But when we commented out the line > > > "HYPERVISOR_set_fast_trap(SYSCALL_VECTOR);" > > > in xenolinux-2.4.26/arch/xeno/kernel/traps.c, (talking about 1.2 here) > > > xen still performed well. So xen must have something to handle system > calls > > > from guest OS, right? but we cannot find where it did this. It seems to > us > > > xen only defined 0-19, not 128 for system calls. > > > > Traps to undefined vectors, or vectors for which the trapper has > > insufficient privilege, cause a general protection fault (GPF) with a > > particular type of error code. Xen detects that type of error code > > and, if the guest OS registered a suitable virtual handler on that > > vector, virtualises the GPF as a trap of the appropriate type. If teh > > guest OS didn''t, then the GPF is virtualised as a GPF in the usual > > way. See the "cunning trick" comment in general_protection_fault() in > > arch/x86/traps.c. > > > > -- Keir > > > >------------------------------------------------------- This SF.Net email sponsored by Black Hat Briefings & Training. Attend Black Hat Briefings & Training, Las Vegas July 24-29 - digital self defense, top technical experts, no vendor pitches, unmatched networking opportunities. Visit www.blackhat.com _______________________________________________ Xen-devel mailing list Xen-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/xen-devel
> unfortunaly new problems comes. :( > I noticed long ago that after install xen, ''halt'' didn''t work, it just acted > like reboot. So I wanna try it on this 1.3, and it turned that it still just > reboots the machine. And I trid this on two xen machines, both worked this > way.''halt'' doesn''t seem very useful, but it''s easily implemented.> More serious problems is after this reboot, eth0 lost again. I didn''t change > anything since eth0 was up. I''m sure the .config has set e100=y. So I ''make > clean'' and ''make world'' ''make install'' again, still didn''t work. > > e100:selftest timeout > e100:failed to initialize, instance #0 > hello world from e100_init_moduleSounds like the selftest is marginal. Can you increase the timeout in e100_selftest, or check the return value from schedule_timeout (it maybe returnign early), or perhaps try calling e100_selftest a few time before failing? -- Keir ------------------------------------------------------- This SF.Net email sponsored by Black Hat Briefings & Training. Attend Black Hat Briefings & Training, Las Vegas July 24-29 - digital self defense, top technical experts, no vendor pitches, unmatched networking opportunities. Visit www.blackhat.com _______________________________________________ Xen-devel mailing list Xen-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/xen-devel
I remember I saw it about two weeks ago, and XenDebugger-HOWTO also said so, although it seems not updated for a while. where''s nosplit now? Thanks, Yan ------------------------------------------------------- This SF.Net email sponsored by Black Hat Briefings & Training. Attend Black Hat Briefings & Training, Las Vegas July 24-29 - digital self defense, top technical experts, no vendor pitches, unmatched networking opportunities. Visit www.blackhat.com _______________________________________________ Xen-devel mailing list Xen-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/xen-devel
> I remember I saw it about two weeks ago, and XenDebugger-HOWTO also said so, > although it seems not updated for a while. where''s nosplit now?I removed it because it didn''t seem to have much relevance to Xen, but forgot that its useful when using the debugger. I''ve added it back in under tools/misc/nsplitd -- Keir ------------------------------------------------------- This SF.Net email sponsored by Black Hat Briefings & Training. Attend Black Hat Briefings & Training, Las Vegas July 24-29 - digital self defense, top technical experts, no vendor pitches, unmatched networking opportunities. Visit www.blackhat.com _______________________________________________ Xen-devel mailing list Xen-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/xen-devel
Rune Johan Andresen
2004-Jul-02 12:20 UTC
[Xen-devel] Xen, gridcluster, boot with red hat ent 3
Hi, thanks for the answers, they will be important for this project and hopefully Xen can be usefull for the beta-oriented gridcluster. The only problem right now is to make it boot up with a distribution (Cern Linux) based on the Redhat Ent 3. I follow all the instructions, there should be no HW conflicts , but still the bootup halts on "Freeing kernel mem.." The Xen boots up perfectly with Debian Sid.. The Red Hat Ent 3 is pretty old, but the glibc is compiled for i686 and the Xen kernel is compiled for the the right cpu, so the traditional error are checked out. The system is not halting either, but seems to go in an eternal loop. The keyboard works, but I cannot ping or ssh the OS.. I have tried the sysreq option, where sysreq p gives: PID: 1, comm init EIP: 0819[<00ae870>] CPU: 0 EFLAGS: 00201217 Not tainted the last Bootlines gives: hdc: attached ude-cdrom driver hdc: ATAPO 48X DVD-ROM drive, 512kB Cache, UDMA(33) Uniform CD-ROM driver Revision: 3.12 Partition check: hda: [PTBL] [4865/255/63] hda1 hda2 hda3 SCSI subsystem driver Revision: 1.00 Red Hat/Adaptec aacraid driver (1.1-3 Jul 1 2004 14:08:39) megaraid: v1.18k megaraid: no BIOS enabled scsi0 : SCSI host adapter emulation for IDE ATAPI devices Initialiising Xen netif backend NET4: Linux TCP/IP 1.0 for NET4.0 IP Protocols: ICMP, UDP, TCP IP: routing cache hash table of 1024 buckets, 8Kbytes TCP: Hash tables configured (established 8192 bind 16384) ip_conntrack version 2.1 (1024 buckets, 8192 max) - 288 bytes per conntrack ip_tables: (C) 2000-2002 Netfilter core team NET4: Unix domain sockets 1.0/SMP for Linux NET4.0. Bridge firewalling registered kjournald starting. Commit interval 5 seconds EXT3-fs: mounted filesystem with ordered data mode. VFS: Mounted root (ext3 filesystem) readonly. Freeing unused kernel memory: 112k freed All help aprecciated :-) Regards Rune J.Andresen ------------------------------------------------------- This SF.Net email sponsored by Black Hat Briefings & Training. Attend Black Hat Briefings & Training, Las Vegas July 24-29 - digital self defense, top technical experts, no vendor pitches, unmatched networking opportunities. Visit www.blackhat.com _______________________________________________ Xen-devel mailing list Xen-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/xen-devel
> The Red Hat Ent 3 is pretty old, but the glibc is compiled for i686 and > the Xen kernel is compiled for the the right cpu, so the traditional > error are checked out. The system is not halting either, but seems to > go in an eternal loop. The keyboard works, but I cannot ping or ssh the > OS..Is this output coming over as serial line? You need "com1=115200,8n1" on the Xen grub line and "console=ttyS0" on the xenlinux command line. Can you post the grub config and all the serial output. Thanks, Ian> I have tried the sysreq option, where sysreq p gives: > > PID: 1, comm init > EIP: 0819[<00ae870>] CPU: 0 EFLAGS: 00201217 Not tainted > > > the last Bootlines gives: > > > hdc: attached ude-cdrom driver > hdc: ATAPO 48X DVD-ROM drive, 512kB Cache, UDMA(33) > Uniform CD-ROM driver Revision: 3.12 > Partition check: > hda: [PTBL] [4865/255/63] hda1 hda2 hda3 > SCSI subsystem driver Revision: 1.00 > Red Hat/Adaptec aacraid driver (1.1-3 Jul 1 2004 14:08:39) > megaraid: v1.18k > megaraid: no BIOS enabled > scsi0 : SCSI host adapter emulation for IDE ATAPI devices > Initialiising Xen netif backend > NET4: Linux TCP/IP 1.0 for NET4.0 > IP Protocols: ICMP, UDP, TCP > IP: routing cache hash table of 1024 buckets, 8Kbytes > TCP: Hash tables configured (established 8192 bind 16384) > ip_conntrack version 2.1 (1024 buckets, 8192 max) - 288 bytes per > conntrack > ip_tables: (C) 2000-2002 Netfilter core team > NET4: Unix domain sockets 1.0/SMP for Linux NET4.0. > Bridge firewalling registered > kjournald starting. Commit interval 5 seconds > EXT3-fs: mounted filesystem with ordered data mode. > VFS: Mounted root (ext3 filesystem) readonly. > Freeing unused kernel memory: 112k freed > > All help aprecciated :-) > > Regards > Rune J.Andresen > > > > ------------------------------------------------------- > This SF.Net email sponsored by Black Hat Briefings & Training. > Attend Black Hat Briefings & Training, Las Vegas July 24-29 - > digital self defense, top technical experts, no vendor pitches, > unmatched networking opportunities. Visit www.blackhat.com > _______________________________________________ > Xen-devel mailing list > Xen-devel@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/xen-devel------------------------------------------------------- This SF.Net email sponsored by Black Hat Briefings & Training. Attend Black Hat Briefings & Training, Las Vegas July 24-29 - digital self defense, top technical experts, no vendor pitches, unmatched networking opportunities. Visit www.blackhat.com _______________________________________________ Xen-devel mailing list Xen-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/xen-devel
Rune Johan Andresen
2004-Jul-05 09:08 UTC
Re: [Xen-devel] Xen, gridcluster, boot with red hat ent 3
Hi, The bootup is: http://www.cl.cam.ac.uk/netos/xen University of Cambridge Computer Laboratory Xen version 1.3-devel (root@cern.ch) (gcc version 3.2.3 20030502 (Red Hat Linux 3.2.3-34)) Sun Jul 4 15:11:40 CEST 2004 (XEN) Initialised 255MB memory (65 (XEN) .... Wall Clock: 1089024669s 40000us (XEN) PCI: PCI BIOS revision 2.10 entry at 0x (XEN) PCI: Using configuration type 1 (XEN) PCI: Probing PCI hardware (XEN) PCI: Probing PCI hardware (bus 00) (XEN) PCI: Ignoring BAR0-3 of IDE controller 00:1f.1 (XEN) Transparent bridge - PCI device 8086:244e (XEN) PCI: Using IRQ router PIIX/ICH [8086/24c0] at 00:1f.0 (XEN) PCI: Found IRQ 9 for device 00:1f.1 (XEN) PCI: Sharing IRQ 9 with 00:1d.2 (XEN) *** LOADING DOMAIN 0 *** (XEN) Xen-ELF header found: ''GUEST_OS=linux,GUEST_VER=2.4,XEN_VER=1.3'' (XEN) PHYSICAL MEMORY ARRANGEMENT: (XEN) Kernel image: 0280000 (XEN) Initrd image: 00000000->00000000 (XEN) Dom0 alloc.: 02c00000->0ac00000 (XEN) VIRTUAL MEMORY ARRANGEMENT: (XEN) Loaded kernel: c0000000->c02e5f04 (XEN) Init. ramdisk: c02e6000->c02e6000 (XEN) Phys-Mach map: c02e6000->c0306000 (XEN) Page tables: c0306000->c0308000 (XEN) Start info: c0308000->c0309000 (XEN) Boot stack: c0309000->c030a000 (XEN) TOTAL: c0000000->c0400000 (XEN) ENTRY ADDRESS: c0000000 (XEN) *** Serial input -> DOM0 (type ''CTRL-a'' three times to switch input to Xen ). Linux version 2.4.26-xen0 (root@pb-s-513-1-26-5-2.cern.ch) (gcc version 3.2.3 20 030502 (Red Hat Linux 3.2.3-34)) #1 Sun Jul 4 15:21:44 CEST 2004 On node 0 totalpages: 32768 zone(0): 4096 pages. zone(1): 28672 pages. zone(2): 0 pages. Kernel command line: /vmlinuz-2.4.26-xen0 root=/dev/hda2 ro console=ttyS0 Initializing CPU#0 Xen reported: 2400.143 MHz processor. Console: colour VGA+ 80x25 Calibrating delay loop... 23959.96 BogoMIPS Memory: 126416k/131072k available (1956k kernel code, 4656k reserved, 590k data, 112k init, 0k highmem) Dentry cache hash table entries: 16384 (order: 5, 131072 bytes) Inode cache hash table entries: 8192 (order: 4, 65536 bytes) Mount cache hash table entries: 512 (order: 0, 4096 bytes) Buffer cache hash table entries: 8192 (order: 3, 32768 bytes) Page-cache hash table entries: 32768 (order: 5, 131072 bytes) CPU: L1 I cache: 12K, L1 D cache: 8K CPU: L2 cache: 512K CPU: Intel(R) Pentium(R) 4 CPU 2.40GHz stepping 04 POSIX conformance testing by UNIFIX PCI: Probing PCI hardware PCI: Probing PCI hardware (bus 00) PCI: Probing PCI hardware (bus 01) PCI: Probing PCI hardware (bus 02) Linux NET4.0 for Linux 2.4 Based upon Swansea University Computer Society NET3.039 Initializing RT netlink socket Starting kswapd Journalled Block Device driver loaded Installing knfsd (copyright (C) 1996 okir@monad.swb.de). Event-channel device installed. Xen virtual console successfully installed as ttyS Starting Xen Balloon driver Detected PS/2 Mouse Port. pty: 256 Unix98 ptys configured RAMDISK driver initialized: 16 RAM disks of 4096K size 1024 blocksize loop: loaded (max 8 devices) Intel(R) PRO/1000 Network Driver - version 5.2.30.1-k1 Copyright (c) 1999-2004 Intel Corporation. pcnet32.c:v1.28 02.20.2004 tsbogend@alpha.franken.de Intel(R) PRO/100 Network Driver - version 2.3.38-k1 Copyright (c) 2004 Intel Corporation (XEN) PCI: Found IRQ 11 for device 02:08.0 PCI: Obtained IRQ 11 for device 02:08.0 e100: selftest timeout e100: Failed to initialize, instance #0 Uniform Multi-Platform E-IDE dri ide: Assuming 33MHz system bus speed for PIO modes; override with idebus=xx ICH4: IDE controller at PCI slot 00:1f.1 (XEN) PCI: Found IRQ 9 for device 00:1f.1 (XEN) PCI: Sharing IRQ 9 with 00:1d.2 PCI: Enabling device 00:1f.1 (0005 -> 0007) PCI: Obtained IRQ 9 for device 00:1f.1 ICH4: chipset revision 1 ICH4: not 100% native mode: will probe irqs later ide0: BM-DMA at 0xffa0-0xffa7, BIOS settings: hda:DMA, hdb:pio ide1: BM-DMA at 0xffa8-0xffaf, BIOS settings: hdc:DMA, hdd:pio hda: C/H/S=0/0/0 from BIOS i hda: WDC WD400JB-00ENA0, ATA DISK drive hdc: SAMSUNG DVD-ROM SD-616Q, ATAPI CD/DVD-ROM drive ide0 at 0x1f0-0x1f7,0x3f6 on irq 14 ide1 at 0x170-0x177,0x376 on irq 15 hda: attached ide-disk driver. hda: host protected area => 1 hda: 78165360 sectors (40021 MB) w/8192KiB Cache, CHS=77545/16/63, UDMA(100) hdc: attached ide-cdrom driver. hdc: ATAPI 48X DVD-ROM drive, 512kB Cache, UDMA(33) Uniform CD-ROM driver Revision: 3.12 Partition check: hda: [PTBL] [4865/255/63] hda1 hda2 hda3 SCSI subsystem driver Revision: 1.00 Red Hat/Adaptec aacraid driver (1.1-3 Jul 4 2004 15:22:02) megaraid: v1.18k (Release Date: Thu Aug 28 10:05:11 EDT 2003) megaraid: no BIOS enabled. scsi0 : SCSI host adapter emulation for IDE ATAPI devices Initialising Xen netif backend NET4: Linux TCP/IP 1.0 for NET4.0 IP Protocols: ICMP, UDP, TCP IP: routing cache hash table of 1024 buckets, 8Kbytes TCP: Hash tables configured (established 8192 bind 16384) ip_conntrack version 2.1 (1024 buckets, 8192 max) - 288 bytes per conntrack ip_tables: (C) 2000-2002 Netfilter core team NET4: Unix domain sockets 1.0/SMP for Linux NET4.0. NET4: Ethernet Bridge 008 for NET4.0 Bridge firewalling registered kjournald starting. Commit interval 5 seconds EXT3-fs: mounted filesystem with ordered data mode. VFS: Mounted root (ext3 filesystem) readonly. Freeing unused kernel memory: 112k freed (And halt, but the keyboard fuctions, even the screen turns off for saving after a few minutes, so i think there are just some serial output problems, but have a hard time figure out why - this functions on Debian Sid, but behaves like this on Ref Hat Ent 3..) The grub config is: title xen .... kernel /xen.gz dom0_mem=131072 com1=115200,8n1 noht module /vmlinuz-2.4.26-xen0 root=/dev/hda2 ro console=ttyS0 (using serial output - on THE PC box i use tty0 - without it it only boots until (XEN) *** Serial input -> DOM0 (type ''CTRL-a'' three times to switch input to Xen ) Thank you! regards Rune J.A On Jul 2, 2004, at 5:06 PM, Ian Pratt wrote:> >> The Red Hat Ent 3 is pretty old, but the glibc is compiled for i686 >> and >> the Xen kernel is compiled for the the right cpu, so the traditional >> error are checked out. The system is not halting either, but seems to >> go in an eternal loop. The keyboard works, but I cannot ping or ssh >> the >> OS.. > > Is this output coming over as serial line? > > You need "com1=115200,8n1" on the Xen grub line and > "console=ttyS0" on the xenlinux command line. > > Can you post the grub config and all the serial output. > > Thanks, > Ian > > >> I have tried the sysreq option, where sysreq p gives: >> >> PID: 1, comm init >> EIP: 0819[<00ae870>] CPU: 0 EFLAGS: 00201217 Not tainted >> >> >> the last Bootlines gives: >> >> >> hdc: attached ude-cdrom driver >> hdc: ATAPO 48X DVD-ROM drive, 512kB Cache, UDMA(33) >> Uniform CD-ROM driver Revision: 3.12 >> Partition check: >> hda: [PTBL] [4865/255/63] hda1 hda2 hda3 >> SCSI subsystem driver Revision: 1.00 >> Red Hat/Adaptec aacraid driver (1.1-3 Jul 1 2004 14:08:39) >> megaraid: v1.18k >> megaraid: no BIOS enabled >> scsi0 : SCSI host adapter emulation for IDE ATAPI devices >> Initialiising Xen netif backend >> NET4: Linux TCP/IP 1.0 for NET4.0 >> IP Protocols: ICMP, UDP, TCP >> IP: routing cache hash table of 1024 buckets, 8Kbytes >> TCP: Hash tables configured (established 8192 bind 16384) >> ip_conntrack version 2.1 (1024 buckets, 8192 max) - 288 bytes per >> conntrack >> ip_tables: (C) 2000-2002 Netfilter core team >> NET4: Unix domain sockets 1.0/SMP for Linux NET4.0. >> Bridge firewalling registered >> kjournald starting. Commit interval 5 seconds >> EXT3-fs: mounted filesystem with ordered data mode. >> VFS: Mounted root (ext3 filesystem) readonly. >> Freeing unused kernel memory: 112k freed >> >> All help aprecciated :-) >> >> Regards >> Rune J.Andresen >> >> >> >> ------------------------------------------------------- >> This SF.Net email sponsored by Black Hat Briefings & Training. >> Attend Black Hat Briefings & Training, Las Vegas July 24-29 - >> digital self defense, top technical experts, no vendor pitches, >> unmatched networking opportunities. Visit www.blackhat.com >> _______________________________________________ >> Xen-devel mailing list >> Xen-devel@lists.sourceforge.net >> https://lists.sourceforge.net/lists/listinfo/xen-devel > > > > ------------------------------------------------------- > This SF.Net email sponsored by Black Hat Briefings & Training. > Attend Black Hat Briefings & Training, Las Vegas July 24-29 - > digital self defense, top technical experts, no vendor pitches, > unmatched networking opportunities. Visit www.blackhat.com > _______________________________________________ > Xen-devel mailing list > Xen-devel@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/xen-devel------------------------------------------------------- This SF.Net email sponsored by Black Hat Briefings & Training. Attend Black Hat Briefings & Training, Las Vegas July 24-29 - digital self defense, top technical experts, no vendor pitches, unmatched networking opportunities. Visit www.blackhat.com _______________________________________________ Xen-devel mailing list Xen-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/xen-devel
> (And halt, but the keyboard fuctions, even the screen turns off for > saving after a few minutes, so i think there are just some serial > output problems, but have a hard time figure out why - this functions > on Debian Sid, but behaves like this on Ref Hat Ent 3..)Can you boot RHE3 normally with output coming over the serial line? Clutching at straws, it might be worth comparing the major/minor number of /dev/console between RH3 and Debian Sid. I seem to recall it changed from 4 to 5 at some point. Also, what happens if you have "console=ttyS0 console=tty0" (or vice versa) on the xenlinux command line. Have you modified your /etc/inittab and to start a getty on /dev/ttyS0? (you''ll probably need to ad ttyS0 to /etc/securetty too). At least you should be able to login in and prod around even if you haven''t solved the console output problem. C:2345:respawn:/sbin/mingetty --noclear ttyS0 Ian ------------------------------------------------------- This SF.Net email sponsored by Black Hat Briefings & Training. Attend Black Hat Briefings & Training, Las Vegas July 24-29 - digital self defense, top technical experts, no vendor pitches, unmatched networking opportunities. Visit www.blackhat.com _______________________________________________ Xen-devel mailing list Xen-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/xen-devel
ron minnich
2004-Jul-06 14:14 UTC
Re: [Xen-devel] Xen, gridcluster, boot with red hat ent 3
On Fri, 2 Jul 2004, Rune Johan Andresen wrote:> PID: 1, comm init > EIP: 0819[<00ae870>] CPU: 0 EFLAGS: 00201217 Not taintedgood, you can see where that is in /sbin/init> NET4: Linux TCP/IP 1.0 for NET4.0 > IP Protocols: ICMP, UDP, TCP > IP: routing cache hash table of 1024 buckets, 8Kbytes > TCP: Hash tables configured (established 8192 bind 16384) > ip_conntrack version 2.1 (1024 buckets, 8192 max) - 288 bytes per > conntrack > ip_tables: (C) 2000-2002 Netfilter core team > NET4: Unix domain sockets 1.0/SMP for Linux NET4.0. > Bridge firewalling registered > kjournald starting. Commit interval 5 seconds > EXT3-fs: mounted filesystem with ordered data mode. > VFS: Mounted root (ext3 filesystem) readonly. > Freeing unused kernel memory: 112k freedwhich is about where init messages would start ... you have a console problem. ron ------------------------------------------------------- This SF.Net email sponsored by Black Hat Briefings & Training. Attend Black Hat Briefings & Training, Las Vegas July 24-29 - digital self defense, top technical experts, no vendor pitches, unmatched networking opportunities. Visit www.blackhat.com _______________________________________________ Xen-devel mailing list Xen-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/xen-devel