From: Peter Rival <frival@zk3.dec.com>
To: axp-list@redhat.com
Subject: Re: Linux Install on AlphaServer 4X00 5/400 21164 400MHz
Date: Fri, 23 Jul 1999 15:01:06 -0400 [thread overview]
Message-ID: <3798BBF2.55869243@zk3.dec.com> (raw)
In-Reply-To: C98EB92F42B9D11197EA0000F806268E02A63A6F@pkoexc4.pko.dec.com
Um...if it were this easy, maybe someone can inform me as to why it's not like
this by default. According to what you have written the use of this type of
config would neither require manual intervention on the part of the user, nor
(if implemented correctly) break should someone upgrade kernels without
thinking.
Greg Lindahl apparently had reported this problem a while ago (according to
another email). Does this mean that RedHat is going to fix this problem at
least in some way for 6.1? I'm being hopeful here - right now I have a CD that
is completely useless to me if I'm trying to install a rawhide over serial
console, and the fix does not break anything. Correct me if I'm wrong here...
- Pete (who's not a happy camper because he is using 2.3.10 for benchmark work
and loop devices don't compile yet...)
"Jemiolo, John" wrote:
> If you read serial-console.txt in the Documentation dir of the 2.2.* kernel
> source tree. it explains that you have to remove /dev/console and /dev/tty0.
> Then create new devices using
> mknod -m 622 console c 5 1
> and
> mknod -m 622 tty0 c 4 0 (yes tty0 not ttyS0 )
>
> Then, when serial console is configured into the kernel, If a graphics
> controller is present it will be used as The console device. If No graphics
> console is found, it will automatically fail over to the serial port. There
> is no need to create any links for ttyS0.
>
> I use this feature all the time in my 2.2 kernels...
>
> JJ
> > ----------
> > From: Rival, Frank
> > Reply To: axp-list@redhat.com
> > Sent: Friday, July 23, 1999 12:57 PM
> > To: axp-list@redhat.com
> > Subject: Re: Linux Install on AlphaServer 4X00 5/400 21164 400MHz
> >
> > Peter Rival wrote:
> >
> > <snip>
> >
> >
> > if (open("/dev/console", O_RDWR, 0) < 0)
> > printk("Warning: unable to open an initial console.\n");
> >
> > (void) dup(0);
> > (void) dup(0);
> >
> > ....
> >
> > My guess is that yes, the install kernel never intended to support serial
> > console. I'd call that an oversight if that's the case, but one that
> > probably wouldn't happen again. We'll see what happens - this shouldn't
> > take too long...
> >
> >
> > Well, that part was correct - it didn't take too long at all. The above
> > code is what's breaking. The interesting thing is what appears to be the
> > cause - the devices used on the RH 6.0 CD. It _appears_ that to save
> > space, /dev/console used the device number pairing (4,0) meant for tty0,
> > instead of that which is normally used (5,1).
> >
> > Does anyone who understands this code path a bit better than I know why I
> > can get through this section of booting if all I do is change
> > "/dev/console" to "/dev/ttyS0"? Yeah, it chokes shortly thereafter, but
> > this says something (I think). Anyway, here's the error that I'm up to
> > now (I'm using 2.3.10, as it's the latest stable kernel I have that
> > actually builds)...
> >
> > VFS: Mounted root (iso9660 filesystem) readonly.
> > Freeing unused kernel memory: 112k freed
> > hello
> > Red Hat install init version 1.1 starting
> > mounting /proc filesystem... done
> > opening /proc/cmdline... done
> > checking command line arguments...
> > unknown option 'console=ttyS0'!done
> > checking for NFS root filesystem...no
> > trying to remount root filesystem read write... done
> > checking for writeable /tmp... no (probably a CD rooted install)
> > mke2fs 1.14, 9-Jkmod: failed to exec /sbin/modprobe -s -k char-major-4,
> > errno =
> > an-1999 for EXT2 FS 0.5b, 95/08/09
> > Linux ext2 filesystem format
> > Filesystem label=
> > 80 inodes, 300 blocks
> > 15 blocks (5.00%) reserved for the super user
> > First data block=1
> > Block size=1024 (log=0)
> > Fragment size=1024 (log=0)
> > 1 block group
> > 8192 blocks per group, 8192 fragments per group
> > 80 inodes per group
> >
> > Writing inode tables: done
> > Writing superblocks and filesystem accounting information: done
> > creating 300k of ramdisk space... done
> > mounting /tmp from ramdisk... done
> > couldn't open /dev/tty4 for syslog -- still using /tmp/syslog
> > running install...
> > failed to open /dev/tty1failed.
> >
> > I can't recover from this.
> >
> > I've attached an extracted .config - maybe someone can smack me around and
> > show me what I'm missing. I'm hoping that someone just says "Oh, just
> > make /dev/console have the correct major/minor, create a /dev/tty0, and
> > walk away" or something like that. Even if I have to burn a CD again to
> > get this to work, I'll be happy...
> >
> > - Pete
> >
>
> --
> To unsubscribe: send e-mail to axp-list-request@redhat.com with
> 'unsubscribe' as the subject. Do not send it to axp-list@redhat.com
next prev parent reply other threads:[~1999-07-23 19:01 UTC|newest]
Thread overview: 32+ messages / expand[flat|nested] mbox.gz Atom feed top
1999-07-23 17:15 Linux Install on AlphaServer 4X00 5/400 21164 400MHz Jemiolo, John
1999-07-23 19:01 ` Peter Rival [this message]
1999-07-23 19:09 ` Greg Lindahl
1999-07-23 20:24 ` Michal Jaegermann
1999-07-23 20:40 ` Wes Bauske
-- strict thread matches above, loose matches on Subject: below --
1999-07-26 13:20 Peter Rival
1999-07-26 16:10 ` Matthew Jacob
1999-07-26 16:40 ` Peter Rival
1999-07-27 4:26 ` Richard Henderson
1999-08-05 19:20 ` Peter Rival
1999-07-23 12:45 Jemiolo, John
1999-07-21 1:30 Feisal Umar
1999-07-20 11:01 ` Rich Payne
1999-07-20 16:37 ` Matthew Jacob
1999-07-20 17:41 ` Peter Rival
1999-07-20 23:06 ` Matthew Jacob
1999-07-21 17:41 ` Peter Rival
1999-07-22 4:11 ` Matthew Jacob
1999-07-22 11:34 ` Peter Rival
1999-07-22 12:53 ` Rich Payne
1999-07-22 13:21 ` Peter Rival
1999-07-22 14:30 ` Michal Jaegermann
1999-07-22 14:55 ` Peter Rival
1999-07-22 17:03 ` Matthew Jacob
1999-07-22 19:12 ` Peter Rival
1999-07-24 2:27 ` Richard Henderson
1999-07-22 17:00 ` Matthew Jacob
1999-07-22 16:51 ` Matthew Jacob
1999-07-23 13:37 ` Peter Rival
1999-07-23 15:54 ` Matthew Jacob
1999-07-23 16:57 ` Peter Rival
1999-07-23 17:17 ` Greg Lindahl
read-only archive
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox