|
From: Vijay T. <vi...@in...> - 2015-08-29 13:36:24
|
Hi All,
I am Vijay, working as software engineer in Tejas Networks Bangalore, India.
I downloaded the following:
- UML Kernel image v3.18 for i386 32 bit
- root filesystem for Ubuntu-14 and Fedora21
My system configuration:
- Ubuntu-14.04 32 bit
- Kernel : 3.19
After downloading ran the following command:
./kernel ubda=Ubuntu_root_fs
After sometime, Got the following error continuously:
- getmaster : no usable host pty device
I am unable to get the console.
I searched in internet about the solution but no luck. Tried with Fedora root_fs also but no success.
Please help.
Regards,
Vijay
|
|
From: Enjoy M. <enj...@gm...> - 2015-08-29 23:21:13
|
You maybe need install uml_utilities-20070815-14.fc21.x86_64 (for Fedora). I don't know the package name for Ubuntu. On Sat, Aug 29, 2015 at 9:18 PM, Vijay Tandeker <vi...@in...> wrote: > Hi All, > I am Vijay, working as software engineer in Tejas Networks Bangalore, India. > > I downloaded the following: > - UML Kernel image v3.18 for i386 32 bit > - root filesystem for Ubuntu-14 and Fedora21 > > My system configuration: > - Ubuntu-14.04 32 bit > - Kernel : 3.19 > > After downloading ran the following command: > ./kernel ubda=Ubuntu_root_fs > > After sometime, Got the following error continuously: > - getmaster : no usable host pty device > > I am unable to get the console. > > I searched in internet about the solution but no luck. Tried with Fedora root_fs also but no success. > > Please help. > > Regards, > Vijay > > > ------------------------------------------------------------------------------ > _______________________________________________ > User-mode-linux-user mailing list > Use...@li... > https://lists.sourceforge.net/lists/listinfo/user-mode-linux-user |
|
From: Vijay T. <vi...@in...> - 2015-08-30 10:38:04
|
Dear Sir,
I am on Ubuntu-14.04 LTS, 32 bit system and already installed "uml-utilities " package through "apt-get". But still getting the error.
Can I install the package mentioned by you for Fedora in Ubuntu system?
Regards,
Vijay
________________________________________
From: Enjoy Mindful [enj...@gm...]
Sent: Sunday, August 30, 2015 4:51
To: Vijay Tandeker
Cc: use...@li...
Subject: Re: [uml-user] UML console not coming
You maybe need install uml_utilities-20070815-14.fc21.x86_64 (for
Fedora). I don't know the package name for Ubuntu.
On Sat, Aug 29, 2015 at 9:18 PM, Vijay Tandeker
<vi...@in...> wrote:
> Hi All,
> I am Vijay, working as software engineer in Tejas Networks Bangalore, India.
>
> I downloaded the following:
> - UML Kernel image v3.18 for i386 32 bit
> - root filesystem for Ubuntu-14 and Fedora21
>
> My system configuration:
> - Ubuntu-14.04 32 bit
> - Kernel : 3.19
>
> After downloading ran the following command:
> ./kernel ubda=Ubuntu_root_fs
>
> After sometime, Got the following error continuously:
> - getmaster : no usable host pty device
>
> I am unable to get the console.
>
> I searched in internet about the solution but no luck. Tried with Fedora root_fs also but no success.
>
> Please help.
>
> Regards,
> Vijay
>
>
> ------------------------------------------------------------------------------
> _______________________________________________
> User-mode-linux-user mailing list
> Use...@li...
> https://lists.sourceforge.net/lists/listinfo/user-mode-linux-user
|
|
From: Enjoy M. <enj...@gm...> - 2015-09-01 03:30:50
|
On Sun, Aug 30, 2015 at 6:36 PM, Vijay Tandeker <vi...@in...> wrote: > Dear Sir, > I am on Ubuntu-14.04 LTS, 32 bit system and already installed "uml-utilities " package through "apt-get". But still getting the error. > Can I install the package mentioned by you for Fedora in Ubuntu system? I'm not familiar with Ubuntu. So, I don't know. Could you please try to compile/build uml kernel from upstream source code? It was about one year ago, I had trouble with compiled binary uml kernel downloaded from the internet. I built the uml kernel locally on my PC. And it works for me. > > Regards, > Vijay > > ________________________________________ > From: Enjoy Mindful [enj...@gm...] > Sent: Sunday, August 30, 2015 4:51 > To: Vijay Tandeker > Cc: use...@li... > Subject: Re: [uml-user] UML console not coming > > You maybe need install uml_utilities-20070815-14.fc21.x86_64 (for > Fedora). I don't know the package name for Ubuntu. > > On Sat, Aug 29, 2015 at 9:18 PM, Vijay Tandeker > <vi...@in...> wrote: >> Hi All, >> I am Vijay, working as software engineer in Tejas Networks Bangalore, India. >> >> I downloaded the following: >> - UML Kernel image v3.18 for i386 32 bit >> - root filesystem for Ubuntu-14 and Fedora21 >> >> My system configuration: >> - Ubuntu-14.04 32 bit >> - Kernel : 3.19 >> >> After downloading ran the following command: >> ./kernel ubda=Ubuntu_root_fs >> >> After sometime, Got the following error continuously: >> - getmaster : no usable host pty device >> >> I am unable to get the console. >> >> I searched in internet about the solution but no luck. Tried with Fedora root_fs also but no success. >> >> Please help. >> >> Regards, >> Vijay >> >> >> ------------------------------------------------------------------------------ >> _______________________________________________ >> User-mode-linux-user mailing list >> Use...@li... >> https://lists.sourceforge.net/lists/listinfo/user-mode-linux-user |
|
From: Vijay T. <vi...@in...> - 2015-09-01 04:09:07
|
Dear Sir,
- Downloaded "linux-3.18.20.tar.xz" from kernel.org
- compiled it for UML using "ARCH=um".
- Downloaded "Ubuntu-TrustyTahr-i386-root_fs" and "Fedora21-x86-root_fs".
- Still same issue with Ubuntu as well as Fedora root_fs.
- If needed, I can send the boot logs also.
My system configuration:
- Ubuntu-14.04 32 bit
- Kernel : 3.19
- Should I download the latest source for kernel v4.0 and above ?
Regards,
Vijay
________________________________________
From: Enjoy Mindful [enj...@gm...]
Sent: Tuesday, September 1, 2015 9:00
To: Vijay Tandeker
Cc: use...@li...
Subject: Re: [uml-user] UML console not coming
On Sun, Aug 30, 2015 at 6:36 PM, Vijay Tandeker
<vi...@in...> wrote:
> Dear Sir,
> I am on Ubuntu-14.04 LTS, 32 bit system and already installed "uml-utilities " package through "apt-get". But still getting the error.
> Can I install the package mentioned by you for Fedora in Ubuntu system?
I'm not familiar with Ubuntu. So, I don't know. Could you please try
to compile/build uml kernel from upstream source code? It was about
one year ago, I had trouble with compiled binary uml kernel downloaded
from the internet. I built the uml kernel locally on my PC. And it
works for me.
>
> Regards,
> Vijay
>
> ________________________________________
> From: Enjoy Mindful [enj...@gm...]
> Sent: Sunday, August 30, 2015 4:51
> To: Vijay Tandeker
> Cc: use...@li...
> Subject: Re: [uml-user] UML console not coming
>
> You maybe need install uml_utilities-20070815-14.fc21.x86_64 (for
> Fedora). I don't know the package name for Ubuntu.
>
> On Sat, Aug 29, 2015 at 9:18 PM, Vijay Tandeker
> <vi...@in...> wrote:
>> Hi All,
>> I am Vijay, working as software engineer in Tejas Networks Bangalore, India.
>>
>> I downloaded the following:
>> - UML Kernel image v3.18 for i386 32 bit
>> - root filesystem for Ubuntu-14 and Fedora21
>>
>> My system configuration:
>> - Ubuntu-14.04 32 bit
>> - Kernel : 3.19
>>
>> After downloading ran the following command:
>> ./kernel ubda=Ubuntu_root_fs
>>
>> After sometime, Got the following error continuously:
>> - getmaster : no usable host pty device
>>
>> I am unable to get the console.
>>
>> I searched in internet about the solution but no luck. Tried with Fedora root_fs also but no success.
>>
>> Please help.
>>
>> Regards,
>> Vijay
>>
>>
>> ------------------------------------------------------------------------------
>> _______________________________________________
>> User-mode-linux-user mailing list
>> Use...@li...
>> https://lists.sourceforge.net/lists/listinfo/user-mode-linux-user
|
|
From: Antoine M. <an...@na...> - 2015-09-01 06:46:18
|
On 01/09/15 11:07, Vijay Tandeker wrote: > Dear Sir, > - Downloaded "linux-3.18.20.tar.xz" from kernel.org > - compiled it for UML using "ARCH=um". > - Downloaded "Ubuntu-TrustyTahr-i386-root_fs" and "Fedora21-x86-root_fs". > - Still same issue with Ubuntu as well as Fedora root_fs. > > - If needed, I can send the boot logs also. > > My system configuration: > - Ubuntu-14.04 32 bit > - Kernel : 3.19 > > - Should I download the latest source for kernel v4.0 and above ? > > Regards, > Vijay > > ________________________________________ > From: Enjoy Mindful [enj...@gm...] > Sent: Tuesday, September 1, 2015 9:00 > To: Vijay Tandeker > Cc: use...@li... > Subject: Re: [uml-user] UML console not coming > > On Sun, Aug 30, 2015 at 6:36 PM, Vijay Tandeker > <vi...@in...> wrote: >> Dear Sir, >> I am on Ubuntu-14.04 LTS, 32 bit system and already installed "uml-utilities " package through "apt-get". But still getting the error. >> Can I install the package mentioned by you for Fedora in Ubuntu system? > I'm not familiar with Ubuntu. So, I don't know. Could you please try > to compile/build uml kernel from upstream source code? It was about > one year ago, I had trouble with compiled binary uml kernel downloaded > from the internet. I built the uml kernel locally on my PC. And it > works for me. > > > >> Regards, >> Vijay >> >> ________________________________________ >> From: Enjoy Mindful [enj...@gm...] >> Sent: Sunday, August 30, 2015 4:51 >> To: Vijay Tandeker >> Cc: use...@li... >> Subject: Re: [uml-user] UML console not coming >> >> You maybe need install uml_utilities-20070815-14.fc21.x86_64 (for >> Fedora). I don't know the package name for Ubuntu. >> >> On Sat, Aug 29, 2015 at 9:18 PM, Vijay Tandeker >> <vi...@in...> wrote: >>> Hi All, >>> I am Vijay, working as software engineer in Tejas Networks Bangalore, India. >>> >>> I downloaded the following: >>> - UML Kernel image v3.18 for i386 32 bit >>> - root filesystem for Ubuntu-14 and Fedora21 >>> >>> My system configuration: >>> - Ubuntu-14.04 32 bit >>> - Kernel : 3.19 >>> >>> After downloading ran the following command: >>> ./kernel ubda=Ubuntu_root_fs >>> >>> After sometime, Got the following error continuously: >>> - getmaster : no usable host pty device >>> >>> I am unable to get the console. >>> >>> I searched in internet about the solution but no luck. Tried with Fedora root_fs also but no success. The web page you downloaded these root_fs images from (judging by the filenames used) does mention that some of these images have problems with the tty devices. Building new kernels is unlikely to fix that. These images are meant to be generic, for use as chroot, UML or other. And they are far from perfect. So if you find a fix, please share it. Cheers Antoine >>> >>> Please help. >>> >>> Regards, >>> Vijay >>> >>> >>> ------------------------------------------------------------------------------ >>> _______________________________________________ >>> User-mode-linux-user mailing list >>> Use...@li... >>> https://lists.sourceforge.net/lists/listinfo/user-mode-linux-user > ------------------------------------------------------------------------------ > _______________________________________________ > User-mode-linux-user mailing list > Use...@li... > https://lists.sourceforge.net/lists/listinfo/user-mode-linux-user |
|
From: Vijay T. <vi...@in...> - 2015-09-03 09:40:12
|
Dear Sir,
Did the following and it fixed the problem.
- Downloaded "linux-3.18.20.tar.xz" from kernel.org
- compiled it using:
ARCH=um make mrproper
ARCH=um make SUBARCH=i386 i386_defconfig
ARCH=um make SUBARCH=i386
- Downloaded "Ubuntu-TrustyTahr-i386-root_fs" and
"Fedora21-x86-root_fs"
Ran the following command:
./linux ubda=Ubuntu-TrustyTahr-i386-root_fs rw mem=512m umid=224
Ubuntu rootfs is not working and then tried Fedora_root_fs.
./linux ubda=Fedora21-x86-root_fs rw mem=512m umid=224
- It is working properly. Now I am getting the console without
any error on UML.
Thanks for your suggestion and help.
Thanks & Regards,
Vijay
On Tuesday 01 September 2015 11:58 AM, Antoine Martin wrote:
> On 01/09/15 11:07, Vijay Tandeker wrote:
>> Dear Sir,
>> - Downloaded "linux-3.18.20.tar.xz" from kernel.org
>> - compiled it for UML using "ARCH=um".
>> - Downloaded "Ubuntu-TrustyTahr-i386-root_fs" and "Fedora21-x86-root_fs".
>> - Still same issue with Ubuntu as well as Fedora root_fs.
>>
>> - If needed, I can send the boot logs also.
>>
>> My system configuration:
>> - Ubuntu-14.04 32 bit
>> - Kernel : 3.19
>>
>> - Should I download the latest source for kernel v4.0 and above ?
>>
>> Regards,
>> Vijay
>>
>> ________________________________________
>> From: Enjoy Mindful [enj...@gm...]
>> Sent: Tuesday, September 1, 2015 9:00
>> To: Vijay Tandeker
>> Cc: use...@li...
>> Subject: Re: [uml-user] UML console not coming
>>
>> On Sun, Aug 30, 2015 at 6:36 PM, Vijay Tandeker
>> <vi...@in...> wrote:
>>> Dear Sir,
>>> I am on Ubuntu-14.04 LTS, 32 bit system and already installed "uml-utilities " package through "apt-get". But still getting the error.
>>> Can I install the package mentioned by you for Fedora in Ubuntu system?
>> I'm not familiar with Ubuntu. So, I don't know. Could you please try
>> to compile/build uml kernel from upstream source code? It was about
>> one year ago, I had trouble with compiled binary uml kernel downloaded
>> from the internet. I built the uml kernel locally on my PC. And it
>> works for me.
>>
>>
>>
>>> Regards,
>>> Vijay
>>>
>>> ________________________________________
>>> From: Enjoy Mindful [enj...@gm...]
>>> Sent: Sunday, August 30, 2015 4:51
>>> To: Vijay Tandeker
>>> Cc: use...@li...
>>> Subject: Re: [uml-user] UML console not coming
>>>
>>> You maybe need install uml_utilities-20070815-14.fc21.x86_64 (for
>>> Fedora). I don't know the package name for Ubuntu.
>>>
>>> On Sat, Aug 29, 2015 at 9:18 PM, Vijay Tandeker
>>> <vi...@in...> wrote:
>>>> Hi All,
>>>> I am Vijay, working as software engineer in Tejas Networks Bangalore, India.
>>>>
>>>> I downloaded the following:
>>>> - UML Kernel image v3.18 for i386 32 bit
>>>> - root filesystem for Ubuntu-14 and Fedora21
>>>>
>>>> My system configuration:
>>>> - Ubuntu-14.04 32 bit
>>>> - Kernel : 3.19
>>>>
>>>> After downloading ran the following command:
>>>> ./kernel ubda=Ubuntu_root_fs
>>>>
>>>> After sometime, Got the following error continuously:
>>>> - getmaster : no usable host pty device
>>>>
>>>> I am unable to get the console.
>>>>
>>>> I searched in internet about the solution but no luck. Tried with Fedora root_fs also but no success.
> The web page you downloaded these root_fs images from (judging by the
> filenames used) does mention that some of these images have problems
> with the tty devices.
> Building new kernels is unlikely to fix that.
>
> These images are meant to be generic, for use as chroot, UML or other.
> And they are far from perfect.
> So if you find a fix, please share it.
>
> Cheers
> Antoine
>
>
>
>>>> Please help.
>>>>
>>>> Regards,
>>>> Vijay
>>>>
>>>>
>>>> ------------------------------------------------------------------------------
>>>> _______________________________________________
>>>> User-mode-linux-user mailing list
>>>> Use...@li...
>>>> https://lists.sourceforge.net/lists/listinfo/user-mode-linux-user
>> ------------------------------------------------------------------------------
>> _______________________________________________
>> User-mode-linux-user mailing list
>> Use...@li...
>> https://lists.sourceforge.net/lists/listinfo/user-mode-linux-user
>
> ------------------------------------------------------------------------------
> _______________________________________________
> User-mode-linux-user mailing list
> Use...@li...
> https://lists.sourceforge.net/lists/listinfo/user-mode-linux-user
|
|
From: Jon F. <jon...@jf...> - 2015-09-01 20:11:42
|
Vijay Tandeker wrote:
> Hi All,
> I am Vijay, working as software engineer in Tejas Networks Bangalore, India.
>
> I downloaded the following:
> - UML Kernel image v3.18 for i386 32 bit
> - root filesystem for Ubuntu-14 and Fedora21
>
> My system configuration:
> - Ubuntu-14.04 32 bit
> - Kernel : 3.19
>
> After downloading ran the following command:
> ./kernel ubda=Ubuntu_root_fs
>
> After sometime, Got the following error continuously:
> - getmaster : no usable host pty device
>
> I am unable to get the console.
>
> I searched in internet about the solution but no luck. Tried with Fedora root_fs also but no success.
>
> Please help.
>
> Regards,
>
>
> Vijay
Its hard to tell from your description if you are getting the message
from inside the UML or outside. I'm basically guessing it must be from
outside, stuff the kernel is dropping on the screen.
I use and have launched Debian instances, and few other distros, in UML
instances. Since Ubuntu is descended from Debian my experience may
apply. The number one cause for problems that I've had and could give
messages similar to yours has been with the Linux distro inside the UML
trying to open virtual consoles. To cut down on a number of related
issues I usually do something like this:
$ ./kernel con0=null,fd:2 con1=fd:0,fd:1 con=null ssl=null
ubda=Ubuntu_root_fs
This is what the new switches do:
* "con0=null,fd:2": ties "console 0" to stderr, without any input.
Debian, and probably Ubuntu, use this for boot messages.
* "con1=fd:0,fd:1": ties the stdin and stdout of the current terminal
session into "console 1", which is usually the first login console.
* "con=null": Turns off all other consoles, so if the distro in the
UML tries to access any others it will get an error, simply failing
to launch additional consoles, which shouldn't affect usability.
* "ssl=null": Turns off all serial ports. This for the same reason as
above.
If you don't use the assorted con and ssl flags to specify which virtual
devices to attach to real devices and which ones to turn off, the Linux
image, inside the UML, will more than likely try to open a dozen or so
consoles and possibly serial ports. That is unless its been customized
specifically for UML use. The default action within the UML kernel
("./kernel") is typically to launch xterms for virtual console and
serial port, which gets to be real messy or to open "ptys" (pseudo
terminals), directly. Xterms need PTYs too... so its the same problem.
I don't know much about the Linux PTY system because in my experience it
just works. Ubuntu does things a bit differently so there might be a
package, or more than likely, a permission problem with your user account.
There is much more to say on this but the revised command above may give
you some instant gratification or at least help to diagnose the problem.
Its also good to read the page documenting those UML CLI (con*, ssl*)
switches: http://user-mode-linux.sourceforge.net/old/input.html.
- Jon
--
Sent from my Debian Linux workstation -- http://www.debian.org/intro/about
Jon Foster
JF Possibilities, Inc.
jo...@jf...
541-410-2760
Making computers work for you!
|