virtualization.lists.linux-foundation.org archive mirror
 help / color / mirror / Atom feed
* console lock up
@ 2007-07-10 12:46 Sam Abed
  2007-07-11 11:23 ` Rusty Russell
  0 siblings, 1 reply; 5+ messages in thread
From: Sam Abed @ 2007-07-10 12:46 UTC (permalink / raw)
  To: virtualization

hello,
  I am using 2.6.21, lguest-2.6.21-307.patch.gz and an image from
http://uml.nagafix.co.uk/Fedora7/Fedora7-x86-root_fs.bz2

the console hangs, is this expected or caused by the image? I can
still ssh to it or if I boot in single user mode the console is
available but running init3 and it's hung.

also is it possible to get the last gz patch released for 2.6.21?

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: console lock up
  2007-07-10 12:46 console lock up Sam Abed
@ 2007-07-11 11:23 ` Rusty Russell
       [not found]   ` <c5d4ac100707110546n3b26b60ayc4884f91a45517e1@mail.gmail.com>
  0 siblings, 1 reply; 5+ messages in thread
From: Rusty Russell @ 2007-07-11 11:23 UTC (permalink / raw)
  To: Sam Abed; +Cc: virtualization

On Tue, 2007-07-10 at 22:46 +1000, Sam Abed wrote:
> hello,
>   I am using 2.6.21, lguest-2.6.21-307.patch.gz and an image from
> http://uml.nagafix.co.uk/Fedora7/Fedora7-x86-root_fs.bz2
> 
> the console hangs, is this expected or caused by the image? I can
> still ssh to it or if I boot in single user mode the console is
> available but running init3 and it's hung.

Hi Sam,

	Thanks for the bug report!  I can't even figure out how to get
networking running under that image (not a RH person, sorry).  When I
boot in single user mode and ifconfig up manually then "telinit 3" it
seems OK.

	Note that it does not seem to start a getty for runlevel 3, so you
can't log in, but that's not an lguest issue (you should be able to ssh
in).

> also is it possible to get the last gz patch released for 2.6.21?

	Unfortunately it's a PITA to do and test; I think my time is better
spent concentrating on the 2.6.23 release, and not backporting.

Sorry,
Rusty.


> _______________________________________________
> Virtualization mailing list
> Virtualization@lists.linux-foundation.org
> https://lists.linux-foundation.org/mailman/listinfo/virtualization

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Fwd: console lock up
       [not found]   ` <c5d4ac100707110546n3b26b60ayc4884f91a45517e1@mail.gmail.com>
@ 2007-07-11 12:48     ` Sam Abed
  2007-07-12  5:06     ` Rusty Russell
  1 sibling, 0 replies; 5+ messages in thread
From: Sam Abed @ 2007-07-11 12:48 UTC (permalink / raw)
  To: virtualization

oops forgot to reply all

---------- Forwarded message ----------
From: Sam Abed <samabed@gmail.com>
Date: Jul 11, 2007 10:46 PM
Subject: Re: console lock up
To: Rusty Russell <rusty@rustcorp.com.au>


Hello,
  Thanks for the taking the time to reply

On 7/11/07, Rusty Russell <rusty@rustcorp.com.au> wrote:
> On Tue, 2007-07-10 at 22:46 +1000, Sam Abed wrote:
> > hello,
> >   I am using 2.6.21, lguest-2.6.21-307.patch.gz and an image from
> > http://uml.nagafix.co.uk/Fedora7/Fedora7-x86-root_fs.bz2
> >
> > the console hangs, is this expected or caused by the image? I can
> > still ssh to it or if I boot in single user mode the console is
> > available but running init3 and it's hung.
>
> Hi Sam,
>
>         Thanks for the bug report!  I can't even figure out how to get
> networking running under that image (not a RH person, sorry).  When I
> boot in single user mode and ifconfig up manually then "telinit 3" it
> seems OK.

for me, I can't type into the console, maybe hangs is not the right
word, but it's definitely not working.
at the end of the email is a screen scrap, the vcs errors and all

in case you are curious about how RH does it ...
sh-3.2# cat /etc/sysconfig/network-scripts/ifcfg-eth0
DEVICE=eth0
#BOOTPROTO=dhcp
ONBOOT=yes
TYPE=Ethernet
IPADDR=192.168.1.2
NETMASK=255.255.255.0
NETWORK=192.168.1.0
BROADCAST=192.168.1.255
GATEWAY=192.168.1.1

>
>         Note that it does not seem to start a getty for runlevel 3, so you
> can't log in, but that's not an lguest issue (you should be able to ssh
> in).
I would have though this line does the trick
sh-3.2# grep getty /etc/inittab
# Run gettys in standard runlevels
1:1235:respawn:/sbin/mingetty tty0
2:1235:respawn:/sbin/mingetty tty1

I can ssh in, it's a bit annoying not having the console.
>
> > also is it possible to get the last gz patch released for 2.6.21?
>
>         Unfortunately it's a PITA to do and test; I think my time is better
> spent concentrating on the 2.6.23 release, and not backporting.
>

oh, I appreciate that, I mean the last one that was published on the
website for the 2.6.21 version.

> Sorry,
> Rusty.
>
>
> > _______________________________________________
> > Virtualization mailing list
> > Virtualization@lists.linux-foundation.org
> > https://lists.linux-foundation.org/mailman/listinfo/virtualization
>
>

sh-3.2# telinit 3
INIT: Switching to runlevel: 3
INIT: Sending processes the TERM signal
INIT: Sending processes the KILL signal
Starting sshd: [  OK  ]
Starting crond: [  OK  ]
[   23.760000] DEV: registering device: ID = 'vcs1'
[   23.760000] PM: Adding info for No Bus:vcs1
[   23.760000] DEV: registering device: ID = 'vcsa1'
[   23.760000] PM: Adding info for No Bus:vcsa1
[   23.760000] DEV: Unregistering device. ID = 'vcs1'
[   23.760000] PM: Removing info for No Bus:vcs1
[   23.770000] device_create_release called for vcs1
[   23.770000] DEV: Unregistering device. ID = 'vcsa1'
[   23.770000] PM: Removing info for No Bus:vcsa1
[   23.770000] device_create_release called for vcsa1
[   23.770000] DEV: registering device: ID = 'vcs1'
[   23.770000] PM: Adding info for No Bus:vcs1
[   23.770000] DEV: registering device: ID = 'vcsa1'
[   23.770000] PM: Adding info for No Bus:vcsa1

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: console lock up
       [not found]   ` <c5d4ac100707110546n3b26b60ayc4884f91a45517e1@mail.gmail.com>
  2007-07-11 12:48     ` Fwd: " Sam Abed
@ 2007-07-12  5:06     ` Rusty Russell
  2007-07-16 12:47       ` Sam Abed
  1 sibling, 1 reply; 5+ messages in thread
From: Rusty Russell @ 2007-07-12  5:06 UTC (permalink / raw)
  To: Sam Abed; +Cc: virtualization

On Wed, 2007-07-11 at 22:46 +1000, Sam Abed wrote:
> 1:1235:respawn:/sbin/mingetty tty0

s/tty0/hvc0/ and it works (we don't have multiple virtual consoles in
lguest)

Sorry for the runaround: I'll update the FAQ.

Thanks!
Rusty.

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: console lock up
  2007-07-12  5:06     ` Rusty Russell
@ 2007-07-16 12:47       ` Sam Abed
  0 siblings, 0 replies; 5+ messages in thread
From: Sam Abed @ 2007-07-16 12:47 UTC (permalink / raw)
  To: virtualization

hello,
 thanks that was it.

Sam

On 7/12/07, Rusty Russell <rusty@rustcorp.com.au> wrote:
> On Wed, 2007-07-11 at 22:46 +1000, Sam Abed wrote:
> > 1:1235:respawn:/sbin/mingetty tty0
>
> s/tty0/hvc0/ and it works (we don't have multiple virtual consoles in
> lguest)
>
> Sorry for the runaround: I'll update the FAQ.
>
> Thanks!
> Rusty.
>
>

^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2007-07-16 12:47 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-07-10 12:46 console lock up Sam Abed
2007-07-11 11:23 ` Rusty Russell
     [not found]   ` <c5d4ac100707110546n3b26b60ayc4884f91a45517e1@mail.gmail.com>
2007-07-11 12:48     ` Fwd: " Sam Abed
2007-07-12  5:06     ` Rusty Russell
2007-07-16 12:47       ` Sam Abed

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).