* Yet closer
@ 1999-05-01 19:39 jcoffin
1999-05-01 21:52 ` Ralf Baechle
1999-05-02 10:24 ` Richard Hartensveld
0 siblings, 2 replies; 6+ messages in thread
From: jcoffin @ 1999-05-01 19:39 UTC (permalink / raw)
To: linux
Hi all,
I have SGI-Linux up on my headless Indy R5000, but I stupidly forgot
to "change setup-1.9.1-2.noarch.rpm to add some securetty's so that
you can log in over the network as root.", so I can't get in. I tried
all the recent kernels to see if one had a serial console, but no
luck.
Is there a kernel around that has a serial console enabled so I can fix
my situation or do I have to re-install?
Any suggestions as to other ways to get in and add securetty's?
In any event, what do I need to do to "change setup-1.9.1-2.noarch.rpm
to add some securetty's"?
--jeff
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: Yet closer
1999-05-01 19:39 Yet closer jcoffin
@ 1999-05-01 21:52 ` Ralf Baechle
1999-05-02 10:24 ` Richard Hartensveld
1 sibling, 0 replies; 6+ messages in thread
From: Ralf Baechle @ 1999-05-01 21:52 UTC (permalink / raw)
To: jcoffin, linux
On Sat, May 01, 1999 at 12:39:44PM -0700, jcoffin@sv.usweb.com wrote:
> I have SGI-Linux up on my headless Indy R5000, but I stupidly forgot to
> "change setup-1.9.1-2.noarch.rpm to add some securetty's so that you can
> log in over the network as root.", so I can't get in. I tried all the
> recent kernels to see if one had a serial console, but no luck.
>
> Is there a kernel around that has a serial console enabled so I can fix my
> situation or do I have to re-install?
>
> Any suggestions as to other ways to get in and add securetty's?
>
> In any event, what do I need to do to "change setup-1.9.1-2.noarch.rpm to
> add some securetty's"?
When booting the kernel pass the additional argument init=/bin/sh. You'll
end up in a single user shell, can remount your root fs r/w and fix things.
The whole securetty thing has become a senseless annoyance since the
introduction of pseudo terminals and more fine grained mechanisms for
controlling access from networks.
Ralf
^ permalink raw reply [flat|nested] 6+ messages in thread
* RE: Yet Closer
@ 1999-05-01 23:40 Jeff Coffin
1999-05-02 0:14 ` Thomas Bogendoerfer
0 siblings, 1 reply; 6+ messages in thread
From: Jeff Coffin @ 1999-05-01 23:40 UTC (permalink / raw)
To: ulfc; +Cc: linux
> Don't you see anything at all, or does it hang after freeing PROM
> memory? There was a problem with the PROM memory freeing on newer
> PROM's, which Thomas recently solved. I don't think he has uploaded
> a new kernel since then..
> I can probably upload a new one if this is your problem.
I think it's something else. Here's what I get (this is from ralf's
suggestion, didn't quite work for me) :
>> boot vmlinux root=/dev/sdb1 init=/bin/sh
115360+19584+3136+334528+42744d+4248+6368 entry: 0x8bfa8850
ARCH: SGI-IP22
PROMLIB: SGI ARCS firmware Version 1 Revision 10
PROMLIB: Total free ram 65839104 bytes (64296K,62MB)
CPU: MIPS-R5000 FPU<MIPS-R5000FPC> ICACHE DCACHE SCACHE
Loading R4000 MMU routines.
CPU revision is: 00002310
Primary instruction cache 32kb, linesize 32 bytes)
Primary data cache 32kb, linesize 32 bytes)
Linux version 2.2.1 (tsbogend@james.franken.de) (gcc version 2.7.2.3) #519 Mon 9
MC: SGI memory controller Revision 3
R4600/R5000 SCACHE size 512K, linesize 32 bytes.
calculating r4koff... 000dbd55(900437)
zs0: console input
Console: ttyS0 (Zilog8530)
Calibrating delay loop... 179.81 BogoMIPS
Memory: 60908k/196140k available (1172k kernel code, 2208k data)
Checking for 'wait' instruction... available. POSIX conformance testing by UNIFIX
Linux NET4.0 for Linux 2.2
Based upon Swansea University Computer Society NET3.039
NET4: Unix domain sockets 1.0 for Linux NET4.0.
NET4: Linux TCP/IP 1.0 for NET4.0
IP Protocols: ICMP, UDP, TCP
Starting kswapd v 1.5
initialize_kbd: Keyboard reset failed, no ACK
SGI Zilog8530 serial driver version 1.00
Keyboard timeout[2]
Keyboard timeout[2]
tty00 at 0xbfbd9830 (irq = 21) is a Zilog8530
tty01 at 0xbfbd9838 (irq = 21) is a Zilog8530
pty: 256 Unix98 ptys configured
DS1286 Real Time Clock Driver v1.0
streamable misc devices registered (keyb:150, gfx:148)
RAM disk driver initialized: 16 RAM disks of 4096K size
wd33c93-0: chip=WD33c93B/13 no_sync=0xff no_dma=0 debug_flags=0x00
setup_args=,,,,,,,,,
Version 1.25 - 09/Jul/1997, Compiled Mar 29 1999 at 01:13:15
scsi0 : SGI WD93
scsi : 1 host. sending SDTR 0103013f0csync_xfer=2c Vendor: SGI Model: IBM DORS-32160 D
Type: Direct-Access ANSI SCSI revision: 02
Detected scsi disk sda at scsi0, channel 0, id 2, lun 0
sending SDTR 0103013f0csync_xfer=2c Vendor: SEAGATE Model: ST31055N 2
Type: Direct-Access ANSI SCSI revision: 02
Detected scsi disk sdb at scsi0, channel 0, id 3, lun 0
scsi : detected 2 SCSI disks total.
SCSI device sda: hdwr sector= 512 bytes. Sectors= 4197405 [2049 MB] [2.0 GB]
SCSI device sdb: hdwr sector= 512 bytes. Sectors= 2069860 [1010 MB] [1.0 GB]
sgiseeq.c: David S. Miller (dm@engr.sgi.com)
eth0: SGI Seeq8003 08:00:69:0a:43:7c
Sending BOOTP requests.... OK
IP-Config: Got BOOTP answer from 192.168.254.20, my address is 192.168.254.30
Partition check:
sda: sda1 sda2 sda3 sda4
sdb: sdb1 sdb2 sdb3 sdb4
VFS: Mounted root (ext2 filesystem) readonly.
Freeing prom memory: 0k freed
Freeing unused kernel memory: 52k freed
Warning: unable to open an initial console.
--jeff
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: Yet Closer
1999-05-01 23:40 Yet Closer Jeff Coffin
@ 1999-05-02 0:14 ` Thomas Bogendoerfer
0 siblings, 0 replies; 6+ messages in thread
From: Thomas Bogendoerfer @ 1999-05-02 0:14 UTC (permalink / raw)
To: Jeff Coffin; +Cc: linux
On Sat, May 01, 1999 at 04:40:54PM -0700, Jeff Coffin wrote:
> I think it's something else. Here's what I get (this is from ralf's
> suggestion, didn't quite work for me) :
[..]
> Freeing prom memory: 0k freed
> Freeing unused kernel memory: 52k freed
> Warning: unable to open an initial console.
Your /dev/console points to major 4 and minor 0 (5,1 is the correct one).
Try the vmlinux-initrd kernel from the test directory. It should drop
you into a single user shell with a ram disk as root. You should be able
to mount your root, and fix what's necessary.
Thomas.
--
This device has completely bogus header. Compaq scores again :-|
It's a host bridge, but it should be called ghost bridge instead ;^)
[Martin `MJ' Mares on linux-kernel]
^ permalink raw reply [flat|nested] 6+ messages in thread
* RE: Yet Closer
@ 1999-05-02 4:10 Jeff Coffin
0 siblings, 0 replies; 6+ messages in thread
From: Jeff Coffin @ 1999-05-02 4:10 UTC (permalink / raw)
To: tsbogend; +Cc: linux
> Try the vmlinux-initrd kernel from the test directory. It should drop
> you into a single user shell with a ram disk as root. You should be able
> to mount your root, and fix what's necessary.
Almost. I get to the prompt, but it doesn't appear to respond to
keyboard stimulii.
[...]
RAMDISK: Compressed image found at block 0
VFS: Mounted root (ext2 filesystem).
Welcome to Linux/MIPS
#
I tried feeding it an assortment of console args too:
/dev/ttyS0
/dev/ttyS1
/dev/tty00
/dev/tty01
Any ideas?
--jeff
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: Yet closer
1999-05-01 19:39 Yet closer jcoffin
1999-05-01 21:52 ` Ralf Baechle
@ 1999-05-02 10:24 ` Richard Hartensveld
1 sibling, 0 replies; 6+ messages in thread
From: Richard Hartensveld @ 1999-05-02 10:24 UTC (permalink / raw)
To: jcoffin; +Cc: linux
jcoffin@sv.usweb.com wrote:
>
> In any event, what do I need to do to "change setup-1.9.1-2.noarch.rpm
> to add some securetty's"?
>
>
/etc/securetty
add:
ttyp0
ttyp1
ttyp2
etc.
Richard
^ permalink raw reply [flat|nested] 6+ messages in thread
end of thread, other threads:[~1999-05-02 10:21 UTC | newest]
Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
1999-05-01 23:40 Yet Closer Jeff Coffin
1999-05-02 0:14 ` Thomas Bogendoerfer
-- strict thread matches above, loose matches on Subject: below --
1999-05-02 4:10 Jeff Coffin
1999-05-01 19:39 Yet closer jcoffin
1999-05-01 21:52 ` Ralf Baechle
1999-05-02 10:24 ` Richard Hartensveld
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox