From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from int-mx1.corp.redhat.com (int-mx1.corp.redhat.com [172.16.52.254]) by listman.redhat.com (Postfix) with ESMTP id 84DC93F310 for ; Mon, 17 Feb 2003 13:02:14 -0500 (EST) Received: (from mail@localhost) by int-mx1.corp.redhat.com (8.11.6/8.11.6) id h1HI2DE04198 for axp-list@listman.redhat.com; Mon, 17 Feb 2003 13:02:13 -0500 Received: from mx1.redhat.com (mx1.redhat.com [172.16.48.31]) by int-mx1.corp.redhat.com (8.11.6/8.11.6) with SMTP id h1HI2Da04192 for ; Mon, 17 Feb 2003 13:02:13 -0500 Received: from melvin.eunet.fi (melvin.eunet.fi [193.66.1.146]) by mx1.redhat.com (8.11.6/8.11.6) with SMTP id h1HI2DK29424 for ; Mon, 17 Feb 2003 13:02:13 -0500 Received: from alphatux2.ts.ray.fi (ws-002.ray.fi [193.64.14.2]) by melvin.eunet.fi (Postfix) with ESMTP id E414A43045 for ; Mon, 17 Feb 2003 20:02:09 +0200 (EET) (envelope-from jd@ts.ray.fi) Date: Mon, 17 Feb 2003 20:02:20 +0200 (EET) From: IsoH To: axp-list@redhat.com Subject: Re: SRM & serial console & 2.4.20 & XP1000 In-Reply-To: Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII X-Loop: axp-list@redhat.com Sender: axp-list-admin@redhat.com Errors-To: axp-list-admin@redhat.com X-BeenThere: axp-list@redhat.com X-Mailman-Version: 2.0.1 Precedence: bulk Reply-To: axp-list@redhat.com List-Help: List-Post: List-Subscribe: , List-Id: Linux and Red Hat on Alpha processors List-Unsubscribe: , List-Archive: On Mon, 17 Feb 2003, IsoH wrote: > On Mon, 17 Feb 2003, alvin wrote: > > > IsoH wrote: > > > > >On Sun, 16 Feb 2003, George France wrote: > > > > > > > > > > > >>Try, 2.4.9-32.7 from RH-7.2 for Alpha. It works great and is very stable. > > >> > > >>Before you say, that those bits are tool old, there are bits back ported from > > >>2.4.14, 2.4.16 and 2.4.18 in that particular kernel. > > >> > > >> > > > > > > It didn't help, serial console is still dead (==it doesn't > > > responde any input...) > > > > > > Is there some SRM (console) setting which is absolutely needed > > > with 2.4.x, but not with 2.2.x ?? > > > > > > > > > > > > > > >>I hope this helps. > > >> > > >> > > >> > > If my memory serves me correctly the problem is that the serial port > > initilization has been changed. One of the mode bits is now set/unset > > where it use to be unset/set in the 2.2 kernels. > > If you replace your init also the problem should go away. Mind you I > > think if you change the init then the 2.2 kernels will not work for you. > > Possibly you could install an init.new and use init=/sbin/init.new in > > the boot line to get it to work for you. > > > I did quick test and tried to use parameter "init=/bin/bash" > and it indeed worked! > So, console hang is init's fault, not kernel's; now I just > have to upgrade my SysVinit ... This really was just /sbin/init issue; I compiled newer SysVinit-2.78-19 and replaced old init and everything just worked! There wasn't pretty much difference between old and new init.c versions; I found only these: old code: tty.c_cflag |= HUPCL|CLOCAL (line 687) new code: tty.c_cflag |= CREAD|HUPCL|CLOCAL and one "umask(022)" which was at different place. > > thanks. > > > > > > > -- IsoH