Bug#255408: first boot of new hppa install failed
Package: installation-reports Debian-installer-version: 2004-06-16 daily build http://people.debian.org/~jbailey/d-i/hppa/2004-06-16/ Date: Sun Jun 20 14:15:52 EDT 2004 Method: Network boot. Booted from local tftp server. Machine: HP PA-RISC B180L+ Processor: 180MHz PA7300LC Memory: 420M (don't remember exactly) Root Device: SCSI (sda) Root Size/partition table: not relevant Output of lspci: not relevant Base System Installation Checklist: Initial boot worked:[O] Configure network HW: [O] Config network: [O] Detect CD: [O] Load installer modules: [O] Detect hard drives: [O] Partition hard drives: [O] Create file systems:[O] Mount partitions: [O] Install base system:[O] Install boot loader:[O] Reboot: [E] [O] = OK, [E] = Error (please elaborate below), [ ] = didn't try it Comments/Problems: Install went fine. Upon rebooting into new system however, the machine fails to give me a getty. Starting periodic command scheduler: cron. /bin/sh: line 1: /dev/tts/0: No such file or directory /bin/sh: line 1: /dev/tts/0: No such file or directory /bin/sh: line 1: /dev/tts/0: No such file or directory /bin/sh: line 1: /dev/tts/0: No such file or directory /bin/sh: line 1: /dev/tts/0: No such file or directory /bin/sh: line 1: /dev/tts/0: No such file or directory /bin/sh: line 1: /dev/tts/0: No such file or directory /bin/sh: line 1: /dev/tts/0: No such file or directory /bin/sh: line 1: /dev/tts/0: No such file or directory /bin/sh: line 1: /dev/tts/0: No such file or directory INIT: Id 1 respawning too fast: disabled for 5 minutes The console is on SERIAL_1, with no keyboard, mouse, or monitor hooked up. The kernel properly spat out to the serial port. This renders the system unusable. I apologize if this has been fixed, but there are no netboot images more recent than this, and I wanted to test to see if the kernel-image detection was working properly (it is). Thanks! -- Kyle McMartin -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
Bug#255408: first boot of new hppa install failed
On Sun, Jun 20, 2004 at 07:49:35PM +0100, Martin Michlmayr wrote: Can you boot the installer, mount the disk, chroot into the install and check what /etc/inittab looks like. It seems it uses devfs names when it shouldn't. /target/etc # cat inittab # /etc/inittab: init(8) configuration. # # WARNING: This file is installed by the Debian installer. # It is not meant to be used by default, but only to make # sure that certain configurations are done after the initial # boot into a new system. The real inittab is most likely # named /etc/inittab.real. # # $Id: inittab.install 14565 2004-05-01 18:31:25Z joshk $ id:2:initdefault: si::sysinit:/etc/init.d/rcS ~:S:wait:/sbin/sulogin 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 ca:12345:ctrlaltdel:/sbin/shutdown -t1 -r now kb::kbrequest:/bin/echo Keyboard Request--edit /etc/inittab to let this work. pf::powerwait:/etc/init.d/powerfail start pn::powerfailnow:/etc/init.d/powerfail now po::powerokwait:/etc/init.d/powerfail stop 1:2345:respawn:/usr/sbin/termwrap /usr/sbin/base-config new /dev/tts/0 /dev/t1 2:23:respawn:/sbin/getty 38400 tty2 3:23:respawn:/sbin/getty 38400 tty3 I guess the base-config line should be using traditional names. :/ -- Kyle McMartin -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
Bug#255408: first boot of new hppa install failed
* Kyle McMartin [EMAIL PROTECTED] [2004-06-20 14:20]: Install went fine. Upon rebooting into new system however, the machine fails to give me a getty. Can you boot the installer, mount the disk, chroot into the install and check what /etc/inittab looks like. It seems it uses devfs names when it shouldn't. -- Martin Michlmayr [EMAIL PROTECTED] -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
Bug#255408: first boot of new hppa install failed
* Kyle McMartin [EMAIL PROTECTED] [2004-06-20 14:59]: I guess the base-config line should be using traditional names. :/ Yeah, the question is why it uses them. Look for a script prepare-base-config (in /usr/lib/prebaseconfig.d) or so, and run the commands by hand to see what's going on. -- Martin Michlmayr [EMAIL PROTECTED] -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
Bug#255408: first boot of new hppa install failed
* Kyle McMartin [EMAIL PROTECTED] [2004-06-20 16:16]: The first console_= line returns /dev/tts/0 The first console= line returns /dev/tts/0 console_=$(readlink /proc/$(pidof debian-installer)/fd/0) console=$(mapdevfs $console_) mapdevfs should change /dev/tts/0 to /dev/ttyS0. I've no idea why this wouldn't work in your case. -- Martin Michlmayr [EMAIL PROTECTED] -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
Bug#255408: first boot of new hppa install failed
On Sun, Jun 20, 2004 at 08:05:28PM +0100, Martin Michlmayr wrote: Yeah, the question is why it uses them. Look for a script prepare-base-config (in /usr/lib/prebaseconfig.d) or so, and run the commands by hand to see what's going on. I yanked the script out... The first console_= line returns /dev/tts/0 The first console= line returns /dev/tts/0 The second console_= line returns tts/0 The second console= line returns tts/0 I assume that the case misses out because of this. Regards, Kyle #!/bin/sh # # Prepare to run base-config after reboot set -e # Only here for stable installs (ie, skolelinux) . /usr/share/debconf/confmodule if db_get mirror/suite [ $RET ] ; then SUITE=$RET fi ( echo # inserted by prebaseconfig echo SUITE=\$SUITE\ ) /target/root/dbootstrap_settings # Since this script is running with debconf, 'tty' does # not give reliable answers about what sort of terminal # we have. The stdin of /sbin/debian-installer seems # to tell the truth. console_=$(readlink /proc/$(pidof debian-installer)/fd/0) console=$(mapdevfs $console_) console_=${console_#/dev/} console=${console#/dev/} case $console in ttyS*) ttyspeed=$(chroot /target stty --file /dev/$console speed) ttyline=${console#ttyS} ttyterm=$TERM if [ -z $ttyterm ]; then ttyterm=vt100; fi if [ -z $ttyspeed ]; then ttyspeed=9600; fi sed -e s/^\([1-6]\):/#\1:/ \ -e s/^#T0\(.*ttyS\).*/T$ttyline\1$ttyline $ttyspeed $ttyterm/ \ /target/etc/inittab /target/etc/inittab.real echo # serial console added by debian-installer /target/etc/securetty echo $console_ /target/etc/securetty if [ -n $console ] [ $console != $console_ ]; then echo $console /target/etc/securetty fi sed -e s/^\([23]\):/#\1:/ \ -e s#CONSOLEDEV#/dev/$console#g \ /usr/share/prebaseconfig/inittab /target/etc/inittab sed -e s/^\([23]\):/#\1:/ \ -e s#CONSOLEDEV#/dev/$console#g \ /usr/share/prebaseconfig/inittab /target/etc/inittab ;; *) mv /target/etc/inittab /target/etc/inittab.real sed -e s#CONSOLEDEV#/dev/$console#g /usr/share/prebaseconfig/inittab \ /target/etc/inittab ;; esac # Set up
Bug#255408: first boot of new hppa install failed
On Sun, Jun 20, 2004 at 09:17:25PM +0100, Martin Michlmayr wrote: * Kyle McMartin [EMAIL PROTECTED] [2004-06-20 16:16]: The first console_= line returns /dev/tts/0 The first console= line returns /dev/tts/0 console_=$(readlink /proc/$(pidof debian-installer)/fd/0) console=$(mapdevfs $console_) mapdevfs should change /dev/tts/0 to /dev/ttyS0. I've no idea why this wouldn't work in your case. What does 'ls -l /dev/tts/0' in the installer environment say? -- Colin Watson [EMAIL PROTECTED] -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
Bug#255408: first boot of new hppa install failed
On Sun, Jun 20, 2004 at 09:58:39PM +0100, Colin Watson wrote: What does 'ls -l /dev/tts/0' in the installer environment say? ~ # ls -l /dev/tts/0 crw---1 root root 4, 64 Jun 20 22:07 /dev/tts/ -- Kyle McMartin -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
Bug#255408: first boot of new hppa install failed
On Sun, Jun 20, 2004 at 06:06:53PM -0400, Kyle McMartin wrote: On Sun, Jun 20, 2004 at 09:58:39PM +0100, Colin Watson wrote: What does 'ls -l /dev/tts/0' in the installer environment say? ~ # ls -l /dev/tts/0 crw---1 root root 4, 64 Jun 20 22:07 /dev/tts/ I wonder: libdebian-installer (0.29) unstable; urgency=low * Joey Hess - Re-enable character device mapping. Though it often gets it wrong, the cases where it gets it right are used by prebaseconfig. -- Joey Hess [EMAIL PROTECTED] Tue, 15 Jun 2004 12:41:12 -0400 The image you're using had libdebian-installer4-udeb 0.28, which was broken. I think you should find that jbailey's current hppa daily build is fixed, since http://people.debian.org/~jbailey/d-i/hppa/2004-06-20/cdrom/initrd.list quotes libdebian-installer4-udeb 0.29. Cheers, -- Colin Watson [EMAIL PROTECTED] -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
Bug#255408: first boot of new hppa install failed
On Sun, Jun 20, 2004 at 06:47:54PM -0400, Kyle McMartin wrote: On Sun, Jun 20, 2004 at 11:30:12PM +0100, Colin Watson wrote: quotes libdebian-installer4-udeb 0.29. Unfortunately, this was the latest version that built a netbootable image. http://people.debian.org/~jbailey/d-i/hppa/daily/build_netboot.log I'll try again when the image is built properly, I've mentioned this to Jeff; he's fixing it. -- Colin Watson [EMAIL PROTECTED] -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
Bug#255408: first boot of new hppa install failed
On Sun, Jun 20, 2004 at 11:30:12PM +0100, Colin Watson wrote: quotes libdebian-installer4-udeb 0.29. Unfortunately, this was the latest version that built a netbootable image. http://people.debian.org/~jbailey/d-i/hppa/daily/build_netboot.log I'll try again when the image is built properly, Thanks! -- Kyle McMartin -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]