Bug#495928: debian-installer: does not add line to /etc/inittab to enable logins via virtual console

2008-09-04 Thread Folkert van Heusden
Hi,

> > (virtual) console - doesn't work; i do get output but if i login (as
> > user - root seems not to work but that might've been a typo during
> > installation) and then logon by pressing ^d it seems i'm still logged in
> > while i do get the login prompt!
> 
> Could you send us the installed /etc/inittab and /etc/securetty?

It seems applying this patch fixes the multiple-login-sessions-in-1-console
problem:

debiantest:/home/folkert# diff -uNrBbd /etc/inittab.org /etc/inittab
--- /etc/inittab.org2008-09-04 18:59:54.0 +0200
+++ /etc/inittab2008-09-04 18:59:04.0 +0200
@@ -62,7 +62,7 @@

 # Example how to put a getty on a serial line (for a terminal)
 #
-T0:23:respawn:/sbin/getty -L hvc0 38400 linux
+# T0:23:respawn:/sbin/getty -L hvc0 38400 linux
 #T1:23:respawn:/sbin/getty -L ttyS1 9600 vt100

 # Example how to put a getty on a modem line.


Folkert van Heusden

-- 
Feeling generous? -> http://www.vanheusden.com/wishlist.php
--
Phone: +31-6-41278122, PGP-key: 1F28D8AE, www.vanheusden.com


signature.asc
Description: Digital signature


Bug#495928: debian-installer: does not add line to /etc/inittab to enable logins via virtual console

2008-09-04 Thread Folkert van Heusden
> > (virtual) console - doesn't work; i do get output but if i login (as
> > user - root seems not to work but that might've been a typo during
> > installation) and then logon by pressing ^d it seems i'm still logged in
> > while i do get the login prompt!
> Could you send us the installed /etc/inittab and /etc/securetty?

You'll find them attached.
Saw 2 lines connected to vc0 in inittab?


Folkert van Heusden

-- 
Looking for a cheap but fast webhoster with an excellent helpdesk?
http://keetweej.vanheusden.com/redir.php?id=1001
--
Phone: +31-6-41278122, PGP-key: 1F28D8AE, www.vanheusden.com
# /etc/inittab: init(8) configuration.
# $Id: inittab,v 1.91 2002/01/25 13:35:21 miquels Exp $

# The default runlevel.
id:2:initdefault:

# Boot-time system configuration/initialization script.
# This is run first except when booting in emergency (-b) mode.
si::sysinit:/etc/init.d/rcS

# What to do in single-user mode.
~~:S:wait:/sbin/sulogin

# /etc/init.d executes the S and K scripts upon change
# of runlevel.
#
# Runlevel 0 is halt.
# Runlevel 1 is single-user.
# Runlevels 2-5 are multi-user.
# Runlevel 6 is reboot.

l0:0:wait:/etc/init.d/rc 0
l1:1:wait:/etc/init.d/rc 1
l2:2:wait:/etc/init.d/rc 2
l3:3:wait:/etc/init.d/rc 3
l4:4:wait:/etc/init.d/rc 4
l5:5:wait:/etc/init.d/rc 5
l6:6:wait:/etc/init.d/rc 6
# Normally not reached, but fallthrough in case of emergency.
z6:6:respawn:/sbin/sulogin

# What to do when CTRL-ALT-DEL is pressed.
ca:12345:ctrlaltdel:/sbin/shutdown -t1 -a -r now

# Action on special keypress (ALT-UpArrow).
#kb::kbrequest:/bin/echo "Keyboard Request--edit /etc/inittab to let this work."

# What to do when the power fails/returns.
pf::powerwait:/etc/init.d/powerfail start
pn::powerfailnow:/etc/init.d/powerfail now
po::powerokwait:/etc/init.d/powerfail stop

# /sbin/getty invocations for the runlevels.
#
# The "id" field MUST be the same as the last
# characters of the device (after "tty").
#
# Format:
#  :::
#
# Note that on most Debian systems tty7 is used by the X Window System,
# so if you want to add more getty's go ahead but skip tty7 if you run X.
#
co:2345:respawn:/sbin/getty hvc0 9600 vt100

#1:2345:respawn:/sbin/getty 38400 tty1
#2:23:respawn:/sbin/getty 38400 tty2
#3:23:respawn:/sbin/getty 38400 tty3
#4:23:respawn:/sbin/getty 38400 tty4
#5:23:respawn:/sbin/getty 38400 tty5
#6:23:respawn:/sbin/getty 38400 tty6

# Example how to put a getty on a serial line (for a terminal)
#
T0:23:respawn:/sbin/getty -L hvc0 38400 linux
#T1:23:respawn:/sbin/getty -L ttyS1 9600 vt100

# Example how to put a getty on a modem line.
#
#T3:23:respawn:/sbin/mgetty -x0 -s 57600 ttyS3

# /etc/securetty: list of terminals on which root is allowed to login.
# See securetty(5) and login(1).
console

# Standard serial ports
ttyS0
ttyS1

# USB dongles
ttyUSB0
ttyUSB1
ttyUSB2

# Embedded MPC platforms
ttyPSC0
ttyPSC1
ttyPSC2
ttyPSC3
ttyPSC4
ttyPSC5

# PA-RISC mux ports
ttyB0
ttyB1

# Standard hypervisor virtual console
hvc0

# Oldstyle Xen console
xvc0

# Standard consoles
tty1
tty2
tty3
tty4
tty5
tty6
tty7
tty8
tty9
tty10
tty11
tty12
tty13
tty14
tty15
tty16
tty17
tty18
tty19
tty20
tty21
tty22
tty23
tty24
tty25
tty26
tty27
tty28
tty29
tty30
tty31
tty32
tty33
tty34
tty35
tty36
tty37
tty38
tty39
tty40
tty41
tty42
tty43
tty44
tty45
tty46
tty47
tty48
tty49
tty50
tty51
tty52
tty53
tty54
tty55
tty56
tty57
tty58
tty59
tty60
tty61
tty62
tty63

# devfs consoles
# Note: On kernels greater than 2.6.12, this is not needed.

# Standard serial ports, with devfs
tts/0
tts/1

# Standard consoles, with devfs
vc/1
vc/2
vc/3
vc/4
vc/5
vc/6
vc/7
vc/8
vc/9
vc/10
vc/11
vc/12
vc/13
vc/14
vc/15
vc/16
vc/17
vc/18
vc/19
vc/20
vc/21
vc/22
vc/23
vc/24
vc/25
vc/26
vc/27
vc/28
vc/29
vc/30
vc/31
vc/32
vc/33
vc/34
vc/35
vc/36
vc/37
vc/38
vc/39
vc/40
vc/41
vc/42
vc/43
vc/44
vc/45
vc/46
vc/47
vc/48
vc/49
vc/50
vc/51
vc/52
vc/53
vc/54
vc/55
vc/56
vc/57
vc/58
vc/59
vc/60
vc/61
vc/62
vc/63


Bug#495928: debian-installer: does not add line to /etc/inittab to enable logins via virtual console

2008-09-04 Thread Folkert van Heusden
I noticed an other minor problem: when connecting to an HMC via windows
and then using the HMC-terminal to go to the console of your Debian
lpar, the installer screens get corrupt. E.g. as if some characters are
too wide. Especially the ones drawing borders.
When you surf to your HMC (I'm using the lates (web-based-) HMC version)
from Linux, things look fine.



Folkert van Heusden

-- 
Multitail est un outil permettant la visualisation de fichiers de
journalisation et/ou le suivi de l'exécution de commandes. Filtrage,
mise en couleur de mot-clé, fusions, visualisation de différences
(diff-view), etc.  http://www.vanheusden.com/multitail/
--
Phone: +31-6-41278122, PGP-key: 1F28D8AE, www.vanheusden.com



--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



Bug#495928: debian-installer: does not add line to /etc/inittab to enable logins via virtual console

2008-09-04 Thread Folkert van Heusden
An other minor problem: when booting the debian cd in rescue-mode,
'detect disks' does not find anything. If you do invoke the rescue-shell
then, and then check the output of dmesg: the disks ARE found and you
CAN mount them.



Folkert van Heusden

-- 
Looking for a cheap but fast webhoster with an excellent helpdesk?
http://keetweej.vanheusden.com/redir.php?id=1001
--
Phone: +31-6-41278122, PGP-key: 1F28D8AE, www.vanheusden.com



-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



Bug#495928: debian-installer: does not add line to /etc/inittab to enable logins via virtual console

2008-09-04 Thread Jérémy Bobbio
On Mon, Sep 01, 2008 at 08:01:40PM +0200, Folkert van Heusden wrote:
> cdrom works - installed 3 times and all success

Good.

> booting works - but only with full initrd image

Good.

> (virtual) console - doesn't work; i do get output but if i login (as
> user - root seems not to work but that might've been a typo during
> installation) and then logon by pressing ^d it seems i'm still logged in
> while i do get the login prompt!

Could you send us the installed /etc/inittab and /etc/securetty?

Cheers,
-- 
Jérémy Bobbio.''`. 
[EMAIL PROTECTED]: :Ⓐ  :  # apt-get install anarchism
`. `'` 
  `-   


signature.asc
Description: Digital signature


Bug#495928: debian-installer: does not add line to /etc/inittab to enable logins via virtual console

2008-09-01 Thread Folkert van Heusden
> > > > Ok this fixed the problem that installing from a virtual optical drive
> > > > failed during the package-installation.
> > > I have closed #495928.
> > 
> > Allright.
> > 
> > > > A new problem, though, is that when choosing the 'minimal initrd image',
> > > > the system comes up and boots up to the point where it says 'Begin:
> > > > Waiting for root file system ... '. At that point it keeps waiting
> > > > forever.
> > > 
> > > Could you try adding "console=hvc0,38400" to the installer command-line?
> > > If I am not mistaken, that is the virtual console which you are using,
> > > isn't it?
> > 
> > Well, it eventually timed out. I then got a initrd emergency shell. It
> > told me it could not access my boot device (/dev/sda2) in time. I'm now
> > going to reinstall but this time with the full initrd image (the
> > non-shrinked version, the one that also includes drivers that do not
> > seem to be needed for this system (well at least during installation)).
> 
> Oh??? sorry, I might not have understood your first reply.  You were
> able to make the installation sucessful through the end, right?
> And the black screen you mentioned appeared on the first boot?  In that
> case, the problem you reported in #495928 might still be present in
> Lenny.
> Please keep us informed when you will have tested with the full initrd.

cdrom works - installed 3 times and all success
booting works - but only with full initrd image
(virtual) console - doesn't work; i do get output but if i login (as
user - root seems not to work but that might've been a typo during
installation) and then logon by pressing ^d it seems i'm still logged in
while i do get the login prompt!


Folkert van Heusden

-- 
Ever wonder what is out there? Any alien races? Then please support
the [EMAIL PROTECTED] project: setiathome.ssl.berkeley.edu
--
Phone: +31-6-41278122, PGP-key: 1F28D8AE, www.vanheusden.com



-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



Bug#495928: debian-installer: does not add line to /etc/inittab to enable logins via virtual console

2008-09-01 Thread Jérémy Bobbio
On Mon, Sep 01, 2008 at 07:19:10PM +0200, Folkert van Heusden wrote:
> > > Ok this fixed the problem that installing from a virtual optical drive
> > > failed during the package-installation.
> > I have closed #495928.
> 
> Allright.
> 
> > > A new problem, though, is that when choosing the 'minimal initrd image',
> > > the system comes up and boots up to the point where it says 'Begin:
> > > Waiting for root file system ... '. At that point it keeps waiting
> > > forever.
> > 
> > Could you try adding "console=hvc0,38400" to the installer command-line?
> > If I am not mistaken, that is the virtual console which you are using,
> > isn't it?
> 
> Well, it eventually timed out. I then got a initrd emergency shell. It
> told me it could not access my boot device (/dev/sda2) in time. I'm now
> going to reinstall but this time with the full initrd image (the
> non-shrinked version, the one that also includes drivers that do not
> seem to be needed for this system (well at least during installation)).

Oh… sorry, I might not have understood your first reply.  You were
able to make the installation sucessful through the end, right?

And the black screen you mentioned appeared on the first boot?  In that
case, the problem you reported in #495928 might still be present in
Lenny.

Please keep us informed when you will have tested with the full initrd.

Cheers,
-- 
Jérémy Bobbio.''`. 
[EMAIL PROTECTED]: :Ⓐ  :  # apt-get install anarchism
`. `'` 
  `-   


signature.asc
Description: Digital signature


Bug#495928: debian-installer: does not add line to /etc/inittab to enable logins via virtual console

2008-09-01 Thread Folkert van Heusden
> > Ok this fixed the problem that installing from a virtual optical drive
> > failed during the package-installation.
> I have closed #495928.

Allright.

> > A new problem, though, is that when choosing the 'minimal initrd image',
> > the system comes up and boots up to the point where it says 'Begin:
> > Waiting for root file system ... '. At that point it keeps waiting
> > forever.
> 
> Could you try adding "console=hvc0,38400" to the installer command-line?
> If I am not mistaken, that is the virtual console which you are using,
> isn't it?

Well, it eventually timed out. I then got a initrd emergency shell. It
told me it could not access my boot device (/dev/sda2) in time. I'm now
going to reinstall but this time with the full initrd image (the
non-shrinked version, the one that also includes drivers that do not
seem to be needed for this system (well at least during installation)).


Folkert van Heusden

-- 
MultiTail is a versatile tool for watching logfiles and output of
commands. Filtering, coloring, merging, diff-view, etc.
http://www.vanheusden.com/multitail/
--
Phone: +31-6-41278122, PGP-key: 1F28D8AE, www.vanheusden.com



-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



Bug#495928: debian-installer: does not add line to /etc/inittab to enable logins via virtual console

2008-09-01 Thread Jérémy Bobbio
On Mon, Sep 01, 2008 at 06:11:04PM +0200, Folkert van Heusden wrote:
> Ok this fixed the problem that installing from a virtual optical drive
> failed during the package-installation.

I have closed #495928.

> A new problem, though, is that when choosing the 'minimal initrd image',
> the system comes up and boots up to the point where it says 'Begin:
> Waiting for root file system ... '. At that point it keeps waiting
> forever.

Could you try adding "console=hvc0,38400" to the installer command-line?
If I am not mistaken, that is the virtual console which you are using,
isn't it?

Cheers,
-- 
Jérémy Bobbio.''`. 
[EMAIL PROTECTED]: :Ⓐ  :  # apt-get install anarchism
`. `'` 
  `-   


signature.asc
Description: Digital signature


Bug#495928: debian-installer: does not add line to /etc/inittab to enable logins via virtual console

2008-09-01 Thread Folkert van Heusden
> > > > Package: debian-installer
> > > > Version: debian stable: 4.0r4a
> > > > Severity: normal
> > > > 
> > > > Situation:
> > > > - IBM p52a
> > > > - LPAR with diskspace served via VIOS 1.5 (an LV, not a physical disk)
> > > > - virtual console accessed via HMC
> > > > 
> > > > The debian-installer does not add the following line to /etc/inittab:
> > > > co:2345:respawn:/sbin/getty hvc0 38400
> > > > Without it, one cannot login via the virtual console.
> > > 
> > > Could you test if the issue is still present when installing with a
> > > daily build that will be starting by tomorrow (the 29th)?
> > > [1] http://people.debian.org/~wouter/d-i/powerpc/daily/
> > 
> > Will the buildproces produce an .ISO-file? Then I'll definately give it
> > a goal!
> 
> You can use the netinst mini.iso:
>   http://people.debian.org/~wouter/d-i/powerpc/daily/powerpc/netboot/mini.iso
> All components of the debian-installer will be downloaded through the
> network.  "Business cards" and netinst images are available at:
>   
> http://cdimage.debian.org/cdimage/daily-builds/daily/arch-latest/powerpc/iso-cd/

Ok this fixed the problem that installing from a virtual optical drive
failed during the package-installation.

A new problem, though, is that when choosing the 'minimal initrd image',
the system comes up and boots up to the point where it says 'Begin:
Waiting for root file system ... '. At that point it keeps waiting
forever.


Folkert van Heusden

-- 
MultiTail ist eine flexible Applikation um Logfiles und Kommando
Eingaben zu überprüfen. Inkl. Filter, Farben, Zusammenführen,
Ansichten etc. http://www.vanheusden.com/multitail/
--
Phone: +31-6-41278122, PGP-key: 1F28D8AE, www.vanheusden.com



--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



Bug#495928: debian-installer: does not add line to /etc/inittab to enable logins via virtual console

2008-09-01 Thread Jérémy Bobbio
On Fri, Aug 29, 2008 at 06:37:07PM +0200, Folkert van Heusden wrote:
> > > Package: debian-installer
> > > Version: debian stable: 4.0r4a
> > > Severity: normal
> > > 
> > > Situation:
> > > - IBM p52a
> > > - LPAR with diskspace served via VIOS 1.5 (an LV, not a physical disk)
> > > - virtual console accessed via HMC
> > > 
> > > The debian-installer does not add the following line to /etc/inittab:
> > > co:2345:respawn:/sbin/getty hvc0 38400
> > > Without it, one cannot login via the virtual console.
> > 
> > Could you test if the issue is still present when installing with a
> > daily build that will be starting by tomorrow (the 29th)?
> > [1] http://people.debian.org/~wouter/d-i/powerpc/daily/
> 
> Will the buildproces produce an .ISO-file? Then I'll definately give it
> a goal!

You can use the netinst mini.iso:
  http://people.debian.org/~wouter/d-i/powerpc/daily/powerpc/netboot/mini.iso

All components of the debian-installer will be downloaded through the
network.  "Business cards" and netinst images are available at:
  
http://cdimage.debian.org/cdimage/daily-builds/daily/arch-latest/powerpc/iso-cd/

Cheers,
-- 
Jérémy Bobbio.''`. 
[EMAIL PROTECTED]: :Ⓐ  :  # apt-get install anarchism
`. `'` 
  `-   


signature.asc
Description: Digital signature


Bug#495928: debian-installer: does not add line to /etc/inittab to enable logins via virtual console

2008-08-29 Thread Folkert van Heusden
> > Package: debian-installer
> > Version: debian stable: 4.0r4a
> > Severity: normal
> > 
> > Situation:
> > - IBM p52a
> > - LPAR with diskspace served via VIOS 1.5 (an LV, not a physical disk)
> > - virtual console accessed via HMC
> > 
> > The debian-installer does not add the following line to /etc/inittab:
> > co:2345:respawn:/sbin/getty hvc0 38400
> > Without it, one cannot login via the virtual console.
> 
> Could you test if the issue is still present when installing with a
> daily build that will be starting by tomorrow (the 29th)?
> [1] http://people.debian.org/~wouter/d-i/powerpc/daily/

Will the buildproces produce an .ISO-file? Then I'll definately give it
a goal!


Folkert van Heusden

-- 
MultiTail è uno flexible tool per seguire di logfiles e effettuazione
di commissioni. Feltrare, provedere da colore, merge, 'diff-view',
etc. http://www.vanheusden.com/multitail/
--
Phone: +31-6-41278122, PGP-key: 1F28D8AE, www.vanheusden.com



--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



Bug#495928: debian-installer: does not add line to /etc/inittab to enable logins via virtual console

2008-08-28 Thread Jérémy Bobbio
On Thu, Aug 21, 2008 at 02:28:14PM +0200, Folkert van Heusden wrote:
> Package: debian-installer
> Version: debian stable: 4.0r4a
> Severity: normal
> 
> Situation:
> - IBM p52a
> - LPAR with diskspace served via VIOS 1.5 (an LV, not a physical disk)
> - virtual console accessed via HMC
> 
> The debian-installer does not add the following line to /etc/inittab:
> co:2345:respawn:/sbin/getty hvc0 38400
> Without it, one cannot login via the virtual console.

Could you test if the issue is still present when installing with a
daily build that will be starting by tomorrow (the 29th)?

[1] http://people.debian.org/~wouter/d-i/powerpc/daily/

Cheers,
-- 
Jérémy Bobbio.''`. 
[EMAIL PROTECTED]: :Ⓐ  :  # apt-get install anarchism
`. `'` 
  `-   


signature.asc
Description: Digital signature


Bug#495928: debian-installer: does not add line to /etc/inittab to enable logins via virtual console

2008-08-21 Thread Folkert van Heusden
Package: debian-installer
Version: debian stable: 4.0r4a
Severity: normal


Situation:
- IBM p52a
- LPAR with diskspace served via VIOS 1.5 (an LV, not a physical disk)
- virtual console accessed via HMC

The debian-installer does not add the following line to /etc/inittab:
co:2345:respawn:/sbin/getty hvc0 38400
Without it, one cannot login via the virtual console.


-- System Information:
Debian Release: lenny/sid
  APT prefers testing
  APT policy: (500, 'testing'), (500, 'stable')
Architecture: powerpc (ppc64)

Kernel: Linux 2.6.25-2-powerpc64 (SMP w/4 CPU cores)
Locale: LANG=C, LC_CTYPE=C (charmap=ANSI_X3.4-1968)
Shell: /bin/sh linked to /bin/bash



-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]