Xin Zhao
2005-Jun-30 21:55 UTC
[Xen-devel] xen bootup problem: unable to open an initial console
I just migrated to fc3, and tried to install xen-2.0.6. But when I tried to boot up xen0, I got the error message "unable to open an initial console" and the system hangs after that. I know this is a FAQ and already checked the XenFaq 5.2 But the solution put there only works for 2.6 kernel. I still need to use 2.4.30-xen0, which doesn''t work with initrd I can get from the website and fc3. I guess that''s because those initrd files are just for 2.6. Question is how to get a usable 2.4 initrd? Is there any way to get around this? Thanks in advance for advices1 -x _______________________________________________ Xen-devel mailing list Xen-devel@lists.xensource.com http://lists.xensource.com/xen-devel
Kamble, Nitin A
2005-Jun-30 22:50 UTC
RE: [Xen-devel] xen bootup problem: unable to open an initial console
One solution to it is. 1. Run with FC3 kernel (not xen) 2. mount root again to /mnt 3. cp -ar /dev/* /mnt/* 4. now reboot into xen. The issue is /dev/console device file is not present, udev should create it, if you are not using udev, you need to have this file. Thanks & Regards, Nitin __________________________________________________________ Senior Software Engineer Intel Open Source Technology Center>-----Original Message----- >From: xen-devel-bounces@lists.xensource.com [mailto:xen-devel- >bounces@lists.xensource.com] On Behalf Of Xin Zhao >Sent: Thursday, June 30, 2005 2:56 PM >To: Xen-devel@lists.xensource.com >Subject: [Xen-devel] xen bootup problem: unable to open an initialconsole> >I just migrated to fc3, and tried to install xen-2.0.6. But when Itried>to boot up xen0, I got the error message "unable to open an initial >console" and the system hangs after that. > >I know this is a FAQ and already checked the XenFaq 5.2 > >But the solution put there only works for 2.6 kernel. > >I still need to use 2.4.30-xen0, which doesn''t work with initrd I canget>from the website and fc3. I guess that''s because those initrd files are >just for 2.6. Question is how to get a usable 2.4 initrd? Is there anyway>to get around this? > >Thanks in advance for advices1 > >-x > >_______________________________________________ >Xen-devel mailing list >Xen-devel@lists.xensource.com >http://lists.xensource.com/xen-devel_______________________________________________ Xen-devel mailing list Xen-devel@lists.xensource.com http://lists.xensource.com/xen-devel
Sheng S Lu
2005-Jul-01 01:09 UTC
RE: [Xen-devel] xen bootup problem: unable to open an initial console
I''ve also met the problem when I tried to boot up XEN in 2.6.x. And because I''m using udev, the problem persisted even I created a /dev/console in my old kernel. Then, I copied the initrd line from the original kernel, just modified the "initrd" keyword to "module". It goes to work, and I have not met any other problem because initrd image is only used while booting up. Though my kernel is 2.6.11.12, my initrd is still an old version. I do not sure my solution is good, but it works. Please correct me if it is not a right way. "Kamble, Nitin A" <nitin.a.kamble@intel.com> Sent by: xen-devel-bounces@lists.xensource.com 2005-07-01 06:50 To "Xin Zhao" <zhaoxin@eecs.umich.edu>, <Xen-devel@lists.xensource.com> cc Subject RE: [Xen-devel] xen bootup problem: unable to open an initial console One solution to it is. 1. Run with FC3 kernel (not xen) 2. mount root again to /mnt 3. cp -ar /dev/* /mnt/* 4. now reboot into xen. The issue is /dev/console device file is not present, udev should create it, if you are not using udev, you need to have this file. Thanks & Regards, Nitin __________________________________________________________ Senior Software Engineer Intel Open Source Technology Center>-----Original Message----- >From: xen-devel-bounces@lists.xensource.com [mailto:xen-devel- >bounces@lists.xensource.com] On Behalf Of Xin Zhao >Sent: Thursday, June 30, 2005 2:56 PM >To: Xen-devel@lists.xensource.com >Subject: [Xen-devel] xen bootup problem: unable to open an initialconsole> >I just migrated to fc3, and tried to install xen-2.0.6. But when Itried>to boot up xen0, I got the error message "unable to open an initial >console" and the system hangs after that. > >I know this is a FAQ and already checked the XenFaq 5.2 > >But the solution put there only works for 2.6 kernel. > >I still need to use 2.4.30-xen0, which doesn''t work with initrd I canget>from the website and fc3. I guess that''s because those initrd files are >just for 2.6. Question is how to get a usable 2.4 initrd? Is there anyway>to get around this? > >Thanks in advance for advices1 > >-x > >_______________________________________________ >Xen-devel mailing list >Xen-devel@lists.xensource.com >http://lists.xensource.com/xen-devel_______________________________________________ Xen-devel mailing list Xen-devel@lists.xensource.com http://lists.xensource.com/xen-devel _______________________________________________ Xen-devel mailing list Xen-devel@lists.xensource.com http://lists.xensource.com/xen-devel
Kamble, Nitin A
2005-Jul-01 17:28 UTC
RE: [Xen-devel] xen bootup problem: unable to open an initial console
Probably you are not using Fedora Core 3. I see the initial console issue even with initrd on FC3. Thanks & Regards, Nitin __________________________________________________________ Senior Software Engineer Intel Open Source Technology Center ________________________________ From: Sheng S Lu [mailto:shenglu@cn.ibm.com] Sent: Thursday, June 30, 2005 6:10 PM To: Kamble, Nitin A Cc: Xen-devel@lists.xensource.com; Xin Zhao Subject: RE: [Xen-devel] xen bootup problem: unable to open an initial console I''ve also met the problem when I tried to boot up XEN in 2.6.x. And because I''m using udev, the problem persisted even I created a /dev/console in my old kernel. Then, I copied the initrd line from the original kernel, just modified the "initrd" keyword to "module". It goes to work, and I have not met any other problem because initrd image is only used while booting up. Though my kernel is 2.6.11.12, my initrd is still an old version. I do not sure my solution is good, but it works. Please correct me if it is not a right way. "Kamble, Nitin A" <nitin.a.kamble@intel.com> Sent by: xen-devel-bounces@lists.xensource.com 2005-07-01 06:50 To "Xin Zhao" <zhaoxin@eecs.umich.edu>, <Xen-devel@lists.xensource.com> cc Subject RE: [Xen-devel] xen bootup problem: unable to open an initial console One solution to it is. 1. Run with FC3 kernel (not xen) 2. mount root again to /mnt 3. cp -ar /dev/* /mnt/* 4. now reboot into xen. The issue is /dev/console device file is not present, udev should create it, if you are not using udev, you need to have this file. Thanks & Regards, Nitin __________________________________________________________ Senior Software Engineer Intel Open Source Technology Center>-----Original Message----- >From: xen-devel-bounces@lists.xensource.com [mailto:xen-devel- >bounces@lists.xensource.com] On Behalf Of Xin Zhao >Sent: Thursday, June 30, 2005 2:56 PM >To: Xen-devel@lists.xensource.com >Subject: [Xen-devel] xen bootup problem: unable to open an initialconsole> >I just migrated to fc3, and tried to install xen-2.0.6. But when Itried>to boot up xen0, I got the error message "unable to open an initial >console" and the system hangs after that. > >I know this is a FAQ and already checked the XenFaq 5.2 > >But the solution put there only works for 2.6 kernel. > >I still need to use 2.4.30-xen0, which doesn''t work with initrd I canget>from the website and fc3. I guess that''s because those initrd files are >just for 2.6. Question is how to get a usable 2.4 initrd? Is there anyway>to get around this? > >Thanks in advance for advices1 > >-x > >_______________________________________________ >Xen-devel mailing list >Xen-devel@lists.xensource.com >http://lists.xensource.com/xen-devel_______________________________________________ Xen-devel mailing list Xen-devel@lists.xensource.com http://lists.xensource.com/xen-devel _______________________________________________ Xen-devel mailing list Xen-devel@lists.xensource.com http://lists.xensource.com/xen-devel
Sheng S Lu
2005-Jul-04 02:38 UTC
RE: [Xen-devel] xen bootup problem: unable to open an initial console
Yeah, I wrote the mail with my memory. I check it this time, and find that my old version is 2.6.9-5.EL. Nahant kernel Then, I think Zhao Xin has to make an initrd image by himself. Some old Linux kernel support command "mkinitrd", some version do not have the command, but there will be an introduction file in "Documentation" directory. I''ve not tried it myself. Another way is disable udev and make a /dev/console device as you have told. "Kamble, Nitin A" <nitin.a.kamble@intel.com> Sent by: xen-devel-bounces@lists.xensource.com 2005-07-02 01:28 To Sheng S Lu/China/IBM@IBMCN cc Xen-devel@lists.xensource.com, Xin Zhao <zhaoxin@eecs.umich.edu> Subject RE: [Xen-devel] xen bootup problem: unable to open an initial console Probably you are not using Fedora Core 3. I see the initial console issue even with initrd on FC3. Thanks & Regards, Nitin __________________________________________________________ Senior Software Engineer Intel Open Source Technology Center From: Sheng S Lu [mailto:shenglu@cn.ibm.com] Sent: Thursday, June 30, 2005 6:10 PM To: Kamble, Nitin A Cc: Xen-devel@lists.xensource.com; Xin Zhao Subject: RE: [Xen-devel] xen bootup problem: unable to open an initial console I''ve also met the problem when I tried to boot up XEN in 2.6.x. And because I''m using udev, the problem persisted even I created a /dev/console in my old kernel. Then, I copied the initrd line from the original kernel, just modified the "initrd" keyword to "module". It goes to work, and I have not met any other problem because initrd image is only used while booting up. Though my kernel is 2.6.11.12, my initrd is still an old version. I do not sure my solution is good, but it works. Please correct me if it is not a right way. "Kamble, Nitin A" <nitin.a.kamble@intel.com> Sent by: xen-devel-bounces@lists.xensource.com 2005-07-01 06:50 To "Xin Zhao" <zhaoxin@eecs.umich.edu>, <Xen-devel@lists.xensource.com> cc Subject RE: [Xen-devel] xen bootup problem: unable to open an initial console One solution to it is. 1. Run with FC3 kernel (not xen) 2. mount root again to /mnt 3. cp -ar /dev/* /mnt/* 4. now reboot into xen. The issue is /dev/console device file is not present, udev should create it, if you are not using udev, you need to have this file. Thanks & Regards, Nitin __________________________________________________________ Senior Software Engineer Intel Open Source Technology Center>-----Original Message----- >From: xen-devel-bounces@lists.xensource.com [mailto:xen-devel- >bounces@lists.xensource.com] On Behalf Of Xin Zhao >Sent: Thursday, June 30, 2005 2:56 PM >To: Xen-devel@lists.xensource.com >Subject: [Xen-devel] xen bootup problem: unable to open an initialconsole> >I just migrated to fc3, and tried to install xen-2.0.6. But when Itried>to boot up xen0, I got the error message "unable to open an initial >console" and the system hangs after that. > >I know this is a FAQ and already checked the XenFaq 5.2 > >But the solution put there only works for 2.6 kernel. > >I still need to use 2.4.30-xen0, which doesn''t work with initrd I canget>from the website and fc3. I guess that''s because those initrd files are >just for 2.6. Question is how to get a usable 2.4 initrd? Is there anyway>to get around this? > >Thanks in advance for advices1 > >-x > >_______________________________________________ >Xen-devel mailing list >Xen-devel@lists.xensource.com >http://lists.xensource.com/xen-devel_______________________________________________ Xen-devel mailing list Xen-devel@lists.xensource.com http://lists.xensource.com/xen-devel _______________________________________________ Xen-devel mailing list Xen-devel@lists.xensource.com http://lists.xensource.com/xen-devel _______________________________________________ Xen-devel mailing list Xen-devel@lists.xensource.com http://lists.xensource.com/xen-devel
Xin Zhao
2005-Jul-04 04:36 UTC
RE: [Xen-devel] xen bootup problem: unable to open an initial console
Thanks for all follow-ups. I tried Nitin''s solution, it worked for me. Now I can boot 2.4.30-xen0 successfully. Since this approach is quite simple, we can probably follow that. The only issue is that Nitin''s description seems to be wrong. Instead of doing "cp /dev/* /mnt/*", we might need to do "cp /dev/* /mnt/dev/". Xin On Mon, 4 Jul 2005, Sheng S Lu wrote:> Yeah, I wrote the mail with my memory. I check it this time, and find that > my old version is 2.6.9-5.EL. Nahant kernel > > Then, I think Zhao Xin has to make an initrd image by himself. Some old > Linux kernel support command "mkinitrd", some version do not have the > command, but there will be an introduction file in "Documentation" > directory. I''ve not tried it myself. > > Another way is disable udev and make a /dev/console device as you have > told. > > > > > "Kamble, Nitin A" <nitin.a.kamble@intel.com> > Sent by: xen-devel-bounces@lists.xensource.com > 2005-07-02 01:28 > > To > Sheng S Lu/China/IBM@IBMCN > cc > Xen-devel@lists.xensource.com, Xin Zhao <zhaoxin@eecs.umich.edu> > Subject > RE: [Xen-devel] xen bootup problem: unable to open an initial console > > > > > > > Probably you are not using Fedora Core 3. I see the initial console issue > even with initrd on FC3. > > Thanks & Regards, > Nitin > __________________________________________________________ > Senior Software Engineer > Intel Open Source Technology Center > > From: Sheng S Lu [mailto:shenglu@cn.ibm.com] > Sent: Thursday, June 30, 2005 6:10 PM > To: Kamble, Nitin A > Cc: Xen-devel@lists.xensource.com; Xin Zhao > Subject: RE: [Xen-devel] xen bootup problem: unable to open an initial > console > > > I''ve also met the problem when I tried to boot up XEN in 2.6.x. And > because I''m using udev, the problem persisted even I created a > /dev/console in my old kernel. > > Then, I copied the initrd line from the original kernel, just modified the > "initrd" keyword to "module". It goes to work, and I have not met any > other problem because initrd image is only used while booting up. > > Though my kernel is 2.6.11.12, my initrd is still an old version. I do not > sure my solution is good, but it works. Please correct me if it is not a > right way. > > > > "Kamble, Nitin A" <nitin.a.kamble@intel.com> > Sent by: xen-devel-bounces@lists.xensource.com > 2005-07-01 06:50 > > > To > "Xin Zhao" <zhaoxin@eecs.umich.edu>, <Xen-devel@lists.xensource.com> > cc > > Subject > RE: [Xen-devel] xen bootup problem: unable to open an initial console > > > > > > > > > > One solution to it is. > 1. Run with FC3 kernel (not xen) > 2. mount root again to /mnt > 3. cp -ar /dev/* /mnt/* > 4. now reboot into xen. > > The issue is /dev/console device file is not present, udev should create > it, if you are not using udev, you need to have this file. > > Thanks & Regards, > Nitin > __________________________________________________________ > Senior Software Engineer > Intel Open Source Technology Center > > >-----Original Message----- > >From: xen-devel-bounces@lists.xensource.com [mailto:xen-devel- > >bounces@lists.xensource.com] On Behalf Of Xin Zhao > >Sent: Thursday, June 30, 2005 2:56 PM > >To: Xen-devel@lists.xensource.com > >Subject: [Xen-devel] xen bootup problem: unable to open an initial > console > > > >I just migrated to fc3, and tried to install xen-2.0.6. But when I > tried > >to boot up xen0, I got the error message "unable to open an initial > >console" and the system hangs after that. > > > >I know this is a FAQ and already checked the XenFaq 5.2 > > > >But the solution put there only works for 2.6 kernel. > > > >I still need to use 2.4.30-xen0, which doesn''t work with initrd I can > get > >from the website and fc3. I guess that''s because those initrd files are > >just for 2.6. Question is how to get a usable 2.4 initrd? Is there any > way > >to get around this? > > > >Thanks in advance for advices1 > > > >-x > > > >_______________________________________________ > >Xen-devel mailing list > >Xen-devel@lists.xensource.com > >http://lists.xensource.com/xen-devel > > _______________________________________________ > Xen-devel mailing list > Xen-devel@lists.xensource.com > http://lists.xensource.com/xen-devel > _______________________________________________ > Xen-devel mailing list > Xen-devel@lists.xensource.com > http://lists.xensource.com/xen-devel > >_______________________________________________ Xen-devel mailing list Xen-devel@lists.xensource.com http://lists.xensource.com/xen-devel
Kamble, Nitin A
2005-Jul-06 17:41 UTC
RE: [Xen-devel] xen bootup problem: unable to open an initial console
Xin, You got it right. Thanks & Regards, Nitin __________________________________________________________ Senior Software Engineer Intel Open Source Technology Center>-----Original Message----- >From: Xin Zhao [mailto:zhaoxin@eecs.umich.edu] >Sent: Sunday, July 03, 2005 9:37 PM >To: Sheng S Lu >Cc: Kamble, Nitin A; Xen-devel@lists.xensource.com >Subject: RE: [Xen-devel] xen bootup problem: unable to open an initial >console > >Thanks for all follow-ups. I tried Nitin''s solution, it worked for me.Now>I can boot 2.4.30-xen0 successfully. Since this approach is quitesimple,>we can probably follow that. The only issue is that Nitin''s description >seems to be wrong. Instead of doing "cp /dev/* /mnt/*", we might needto>do "cp /dev/* /mnt/dev/". > >Xin > > >On Mon, 4 Jul 2005, Sheng S Lu wrote: > >> Yeah, I wrote the mail with my memory. I check it this time, and find >that >> my old version is 2.6.9-5.EL. Nahant kernel >> >> Then, I think Zhao Xin has to make an initrd image by himself. Someold>> Linux kernel support command "mkinitrd", some version do not have the >> command, but there will be an introduction file in "Documentation" >> directory. I''ve not tried it myself. >> >> Another way is disable udev and make a /dev/console device as youhave>> told. >> >> >> >> >> "Kamble, Nitin A" <nitin.a.kamble@intel.com> >> Sent by: xen-devel-bounces@lists.xensource.com >> 2005-07-02 01:28 >> >> To >> Sheng S Lu/China/IBM@IBMCN >> cc >> Xen-devel@lists.xensource.com, Xin Zhao <zhaoxin@eecs.umich.edu> >> Subject >> RE: [Xen-devel] xen bootup problem: unable to open an initial console >> >> >> >> >> >> >> Probably you are not using Fedora Core 3. I see the initial consoleissue>> even with initrd on FC3. >> >> Thanks & Regards, >> Nitin >> __________________________________________________________ >> Senior Software Engineer >> Intel Open Source Technology Center >> >> From: Sheng S Lu [mailto:shenglu@cn.ibm.com] >> Sent: Thursday, June 30, 2005 6:10 PM >> To: Kamble, Nitin A >> Cc: Xen-devel@lists.xensource.com; Xin Zhao >> Subject: RE: [Xen-devel] xen bootup problem: unable to open aninitial>> console >> >> >> I''ve also met the problem when I tried to boot up XEN in 2.6.x. And >> because I''m using udev, the problem persisted even I created a >> /dev/console in my old kernel. >> >> Then, I copied the initrd line from the original kernel, justmodified>the >> "initrd" keyword to "module". It goes to work, and I have not met any >> other problem because initrd image is only used while booting up. >> >> Though my kernel is 2.6.11.12, my initrd is still an old version. Ido>not >> sure my solution is good, but it works. Please correct me if it isnot a>> right way. >> >> >> >> "Kamble, Nitin A" <nitin.a.kamble@intel.com> >> Sent by: xen-devel-bounces@lists.xensource.com >> 2005-07-01 06:50 >> >> >> To >> "Xin Zhao" <zhaoxin@eecs.umich.edu>, <Xen-devel@lists.xensource.com> >> cc >> >> Subject >> RE: [Xen-devel] xen bootup problem: unable to open an initial console >> >> >> >> >> >> >> >> >> >> One solution to it is. >> 1. Run with FC3 kernel (not xen) >> 2. mount root again to /mnt >> 3. cp -ar /dev/* /mnt/* >> 4. now reboot into xen. >> >> The issue is /dev/console device file is not present, udev shouldcreate>> it, if you are not using udev, you need to have this file. >> >> Thanks & Regards, >> Nitin >> __________________________________________________________ >> Senior Software Engineer >> Intel Open Source Technology Center >> >> >-----Original Message----- >> >From: xen-devel-bounces@lists.xensource.com [mailto:xen-devel- >> >bounces@lists.xensource.com] On Behalf Of Xin Zhao >> >Sent: Thursday, June 30, 2005 2:56 PM >> >To: Xen-devel@lists.xensource.com >> >Subject: [Xen-devel] xen bootup problem: unable to open an initial >> console >> > >> >I just migrated to fc3, and tried to install xen-2.0.6. But when I >> tried >> >to boot up xen0, I got the error message "unable to open an initial >> >console" and the system hangs after that. >> > >> >I know this is a FAQ and already checked the XenFaq 5.2 >> > >> >But the solution put there only works for 2.6 kernel. >> > >> >I still need to use 2.4.30-xen0, which doesn''t work with initrd Ican>> get >> >from the website and fc3. I guess that''s because those initrd filesare>> >just for 2.6. Question is how to get a usable 2.4 initrd? Is thereany>> way >> >to get around this? >> > >> >Thanks in advance for advices1 >> > >> >-x >> > >> >_______________________________________________ >> >Xen-devel mailing list >> >Xen-devel@lists.xensource.com >> >http://lists.xensource.com/xen-devel >> >> _______________________________________________ >> Xen-devel mailing list >> Xen-devel@lists.xensource.com >> http://lists.xensource.com/xen-devel >> _______________________________________________ >> Xen-devel mailing list >> Xen-devel@lists.xensource.com >> http://lists.xensource.com/xen-devel >> >>_______________________________________________ Xen-devel mailing list Xen-devel@lists.xensource.com http://lists.xensource.com/xen-devel