Super cranky Indigo

IRIX and IRIX software discussion including open source and commerical offerings.
Forum rules
Any posts concerning pirated software or offering to buy/sell/trade commercial software are subject to removal.
User avatar
pentium
Posts: 4352
Joined: Mon Aug 28, 2006 6:29 pm
Location: Kamloops, BC

Super cranky Indigo

Unread postby pentium » Tue Mar 20, 2012 9:20 pm

Instead of doing a fresh install I really want to see why on earth someone would buy such a basic Indigo (R3k, 32mb ram, LG1, two hard drives).
I'm currently running a serial console through a regular mac serial cable to a Duo 2300c with Zterm.

Code: Select all

CC!*K+Kk
M9995)5)C       =]I5=9%9=MQ%

                             Starting the system...

               To perform system maintenance instead, press <Esc>
9)511I%!QMIMIY9)5)5WARNING: CHECK AND RESET THE DATE!
The root file system, /dev/dsk/dks0d1s0, is being checked automatically.

  fsck: checking /dev/dsk/dks0d1s0

  ** Phase 1 - Check Blocks and Sizes
  ** Phase 2 - Check Pathnames
  ** Phase 3 - Check Connectivity
  ** Phase 4 - Check Reference Counts
  ** Phase 5 - Check Free List
  997 files 21655 blocks 18399 free

  REMOUNT ROOT?  yes

  ***** REMOUNTING ROOT . . . *****
=U9Q]I=9%9MUAI5A1-5)%a}eM5)5)uEAI1%MQ5)M1Y}eM5)5)))A!MY5M1YI1%MQ5)EIYeQ%1MY]UUQ1
-MIQAMMI5)MUAI  1-5I-%IQe5)%a}eM5)5))))))%1MeMQ5]M5=%%)))))5)The system is comin
g up.
Mounting filesystems:

  fsck: checking /dev/dsk/dks0d2s7

fsck: /dev/dsk/dks0d2s7 completed: OK.

AMEeI9EYa9I9EUQ5)Network daemons: portmap.
Internet daemons: inetd timed rwhod.
Adding swap areas declared in /etc/fstab.
Mailer daemons: sendmail.
P]YZ
    iQUAidsploader.
(,V+K
        +++kKkiobjectserver directoryserver.
+
 ieMQ5%MIe95)SRQR')Hx


Uh, okay. Something's a bit off. Let me double check that my vartiables are defaulted and try booting into single...

Code: Select all

CC!*K+Kk
M9995)5)C       =]I5=9%9=MQ%

                             Starting the system...

               To perform system maintenance instead, press <Esc>


System Maintenance Menu

1) Start System
2) Install System Software
3) Run Diagnostics
4) Recover System
5) Enter Command Monitor

Option? 5
Command Monitor.  Type "exit" to return to the menu.
>> printenv
netaddr=192.0.2.1
dbaud=9600
rbaud=1200
bootfile=dksc(0,1,8)sash
bootmode=c
console=d
diskless=0
keybd=d
volume=128
path=dksc(0,1,8)
cpufreq=33
>> ningleC

                   Starting the system in single user mode...

9)511I%!QMIMIY9)5)5WARNING: CHECK AND RESET THE DATE!
The root file system, /dev/dsk/dks0d1s0, is being checked automatically.

  fsck: checking /dev/dsk/dks0d1s0

  ** Phase 1 - Check Blocks and Sizes
  ** Phase 2 - Check Pathnames
  ** Phase 3 - Check Connectivity
  ** Phase 4 - Check Reference Counts
  ** Phase 5 - Check Free List
  997 files 21655 blocks 18399 free

  REMOUNT ROOT?  yes

  ***** REMOUNTING ROOT . . . *****
mount: /dev/usr on /usr: Dirty filesystem.
mount: giving up on:
   /usr
Unable to Mount /usr

C!)*
=AMM]51=II==QM!11       5)
INIT: SINGLE USER MODE
UX:csh: ERROR: - - No such file or directory
ENTER RUN LEVEL (0-6,s or S): s
will change to state s

INIT: Warning: /etc/passwd damaged, or root shell bad

INIT: SINGLE USER MODE
UX:csh: ERROR: - - No such file or directory
ENTER RUN LEVEL (0-6,s or S): f
will change to state 2

INIT: New run level: 2

  fsck: checking /dev/rusr

  fsck: checking /dev/dsk/dks0d2s7
=5A1Qi=-95)-=-MAIM]
fsck: /dev/rusr completed: OK.

AMEeI9EY?'Ir
            *"jR~Network daemons: portmap.
Internet daemons: inetd timed rwhod.
Adding swap areas declared in /etc/fstab.
Mailer daemons: sendmail.
P]YZ
    iQUAidsploader.


(,V+K
        +++kKkiobjectserver directoryserver.

+
 ieMQ5%MIe95)
SRQR')Hx


Woow. This thing is totally bungled up.
I'm not sure if I'm facing one single and massivly bad problem or if I'm suffering two problems (bungled serial port/console settings and an unhealthy set of original disks)
EDIT: Garbage console was a bad serial cable
Any ideas? I won't be able to get access to a CD drive to boot a 5.3 disc for a few days.
Last edited by pentium on Wed Mar 21, 2012 2:27 pm, edited 1 time in total.
:Crimson: :Onyx: :O2000: :O200: :O200: :PI: :PI: :Indigo: :Indigo: :Indigo: :Octane: :O2: :1600SW: :Indigo2: :Indigo2: :Indigo2IMP: :Indigo2IMP: :Indy: :Indy: :Indy: :Cube:

Image <-------- A very happy forum member.

kubatyszko
Posts: 352
Joined: Sat Nov 12, 2011 4:18 am
Location: Tokyo
Contact:

Re: Super cranky Indigo

Unread postby kubatyszko » Wed Mar 21, 2012 2:47 am

Try using "cu -l/dev/tty.usbserial -s9600" instead of that Zterm to make things simple,
also you may want to try another usb-rs232 converter, I've seen even some sort of PL2302 which didn't work well with my O2's for example.
[click for links to hinv] JP: :Fuel: |:O2: | :Indy: || PL: [ :Fuel: :O2: :O2+: :Indy: ]

User avatar
pentium
Posts: 4352
Joined: Mon Aug 28, 2006 6:29 pm
Location: Kamloops, BC

Re: Super cranky Indigo

Unread postby pentium » Wed Mar 21, 2012 9:52 am

Uh, I'm running on the Mac OS. I'm also not using a USB serial adapter because the DUO has no USB
I'll try another cable if I can find one. It's as if the characters are reaching the system but the return echo is getting garbled.
:Crimson: :Onyx: :O2000: :O200: :O200: :PI: :PI: :Indigo: :Indigo: :Indigo: :Octane: :O2: :1600SW: :Indigo2: :Indigo2: :Indigo2IMP: :Indigo2IMP: :Indy: :Indy: :Indy: :Cube:

Image <-------- A very happy forum member.

User avatar
pentium
Posts: 4352
Joined: Mon Aug 28, 2006 6:29 pm
Location: Kamloops, BC

Re: Super cranky Indigo

Unread postby pentium » Wed Mar 21, 2012 12:55 pm

Turns out it was just a bad cable so the garbled console is fixed. Back to the system.

Code: Select all

Running power-on diagnostics...


                             Starting the system...

               To perform system maintenance instead, press <Esc>
IRIX Release 5.3 IP12 Version 11091810 System V
Copyright 1987-1994 Silicon Graphics, Inc.
All Rights Reserved.

WARNING: CHECK AND RESET THE DATE!
The root file system, /dev/dsk/dks0d1s0, is being checked automatically.

  fsck: checking /dev/dsk/dks0d1s0

  ** Phase 1 - Check Blocks and Sizes
  ** Phase 2 - Check Pathnames
  ** Phase 3 - Check Connectivity
  ** Phase 4 - Check Reference Counts
  FREE INODE COUNT WRONG IN SUPERBLK
  FIX?  yes

  ** Phase 5 - Check Free List
  FREE BLK COUNT WRONG IN SUPERBLK
  FIX?  yes

  996 files 21547 blocks 18507 free

  REMOUNT ROOT?  yes

  ***** REMOUNTING ROOT . . . *****

  fsck: checking /dev/rusr

  ** Phase 1 - Check Blocks and Sizes
  ** Phase 2 - Check Pathnames
  ** Phase 3 - Check Connectivity
  ** Phase 4 - Check Reference Counts
  UNREF FILE  I=4976  OWNER=root MODE=100600
  SIZE=97568 MTIME=Jul 17 13:10 1998  (NOT EMPTY)
  RECONNECT?  yes

  ** Phase 5 - Check Free List
  FREE BLK COUNT WRONG IN SUPERBLK
  FIX?  yes

  BAD FREE LIST
  SALVAGE?  yes

  ** Phase 6 - Salvage Free List
  12698 files 676342 blocks 23240 free
  SUPERBLK MARKED DIRTY
  FIX?  yes

  ***** FILE SYSTEM WAS MODIFIED *****
The system is coming up.
Mounting filesystems:

  fsck: checking /dev/dsk/dks0d2s7

fsck: /dev/dsk/dks0d2s7 completed: OK.

Configuring ec0 as 192.168.2.154
Network daemons: portmap.
Internet daemons: inetd timed rwhod.
Adding swap areas declared in /etc/fstab.
Mailer daemons: sendmail.
Audio setup: dsploader.
Cadmin daemons: objectserver directoryserver.
The system is ready.
MIDI:.


So I'm reaching a prompt but it won't accept any text input. Single user mode it is.

Code: Select all

Running power-on diagnostics...


                             Starting the system...

               To perform system maintenance instead, press <Esc>


System Maintenance Menu

1) Start System
2) Install System Software
3) Run Diagnostics
4) Recover System
5) Enter Command Monitor

Option? 5
Command Monitor.  Type "exit" to return to the menu.
>> single


                   Starting the system in single user mode...

IRIX Release 5.3 IP12 Version 11091810 System V
Copyright 1987-1994 Silicon Graphics, Inc.
All Rights Reserved.

WARNING: CHECK AND RESET THE DATE!
The root file system, /dev/dsk/dks0d1s0, is being checked automatically.

  fsck: checking /dev/dsk/dks0d1s0

  ** Phase 1 - Check Blocks and Sizes
  ** Phase 2 - Check Pathnames
  ** Phase 3 - Check Connectivity
  ** Phase 4 - Check Reference Counts
  ** Phase 5 - Check Free List
  997 files 21660 blocks 18394 free

  REMOUNT ROOT?  yes

  ***** REMOUNTING ROOT . . . *****
mount: /dev/usr on /usr: Dirty filesystem.
mount: giving up on:
   /usr
Unable to Mount /usr


INIT: Warning: /etc/passwd damaged, or root shell bad

INIT: SINGLE USER MODE
UX:csh: ERROR: - - No such file or directory
ENTER RUN LEVEL (0-6,s or S): s
will change to state s

INIT: Warning: /etc/passwd damaged, or root shell bad

INIT: SINGLE USER MODE
UX:csh: ERROR: - - No such file or directory
ENTER RUN LEVEL (0-6,s or S): 2
will change to state 2

INIT: New run level: 2

  fsck: checking /dev/rusr

  fsck: checking /dev/dsk/dks0d2s7

fsck: /dev/dsk/dks0d2s7 completed: OK.

fsck: /dev/rusr completed: OK.

Configuring ec0 as 192.168.2.154
Network daemons: portmap.
Internet daemons: inetd timed rwhod.
Adding swap areas declared in /etc/fstab.
Mailer daemons: sendmail.
Audio setup: dsploader.
Cadmin daemons: objectserver directoryserver.
The system is ready.
MIDI:.

Okay, so it's still having troubles with /usr and thus I can't get into single user mode.

Edited: I can boot to sash and I can read partitions 0 and 6 using ls at least so the data is there.
:Crimson: :Onyx: :O2000: :O200: :O200: :PI: :PI: :Indigo: :Indigo: :Indigo: :Octane: :O2: :1600SW: :Indigo2: :Indigo2: :Indigo2IMP: :Indigo2IMP: :Indy: :Indy: :Indy: :Cube:

Image <-------- A very happy forum member.

robespierre
Posts: 686
Joined: Mon Sep 12, 2011 2:28 pm
Location: Boston

Re: Super cranky Indigo

Unread postby robespierre » Wed Mar 21, 2012 3:24 pm

I would try to run fsck on /root/usr from the miniroot.
:PI: :O2: :Indigo2IMP: :Indigo2IMP:

User avatar
jan-jaap
Posts: 3984
Joined: Thu Jun 17, 2004 11:35 am
Location: Wijchen, The Netherlands

Re: Super cranky Indigo

Unread postby jan-jaap » Thu Mar 22, 2012 2:15 am

pentium wrote:

Code: Select all

WARNING: CHECK AND RESET THE DATE!
The root file system, /dev/dsk/dks0d1s0, is being checked automatically.


1. fsck manually and fix problems
2. Do what it says: set the date. If the current date and the filesystem date are too far apart it will *keep* checking ...
Now this is a deep dark secret, so everybody keep it quiet :)
It turns out that when reset, the WD33C93 defaults to a SCSI ID of 0, and it was simpler to leave it that way... -- Dave Olson, in comp.sys.sgi

Currently in commercial service: Image :Onyx2:(2x) :O3x02L:
In the museum: almost every MIPS/IRIX system.
Wanted: GM1 board for Professional Series GT graphics (030-0076-003, 030-0076-004)

User avatar
pentium
Posts: 4352
Joined: Mon Aug 28, 2006 6:29 pm
Location: Kamloops, BC

Re: Super cranky Indigo

Unread postby pentium » Mon Mar 26, 2012 12:03 am

Spent the evening huddled around the console after booting the miniroot from the 5.3 cd and I couldn't get fsck to find any problems. Yes, I also set the clock.
I could unmount dks0d1s6 and check it but fsck didn't report any issues. I was not however able to unmount and check dksod1s0 for obvious active miniroot reasons.
:Crimson: :Onyx: :O2000: :O200: :O200: :PI: :PI: :Indigo: :Indigo: :Indigo: :Octane: :O2: :1600SW: :Indigo2: :Indigo2: :Indigo2IMP: :Indigo2IMP: :Indy: :Indy: :Indy: :Cube:

Image <-------- A very happy forum member.

SAQ
Posts: 5758
Joined: Wed Jul 19, 2006 8:37 am
Location: Renton, WA

Re: Super cranky Indigo

Unread postby SAQ » Mon Mar 26, 2012 8:25 am

pentium wrote:Spent the evening huddled around the console after booting the miniroot from the 5.3 cd and I couldn't get fsck to find any problems. Yes, I also set the clock.
I could unmount dks0d1s6 and check it but fsck didn't report any issues. I was not however able to unmount and check dksod1s0 for obvious active miniroot reasons.


What date are you setting? Base IRIX 5.3 has Y2k issues, so perhaps try it with a 1999 date?
Damn the torpedoes, full speed ahead!

There are those who say I'm a bit of a curmudgeon. To them I reply: "GET OFF MY LAWN!"

:Indigo: :Octane: :Indigo2: :Indigo2IMP: :Indy: :PI: :O3x0: :ChallengeL: :O2000R: (single-CM)

User avatar
pentium
Posts: 4352
Joined: Mon Aug 28, 2006 6:29 pm
Location: Kamloops, BC

Re: Super cranky Indigo

Unread postby pentium » Mon Mar 26, 2012 12:12 pm

Right then. So 2012 would not work. :roll:
:Crimson: :Onyx: :O2000: :O200: :O200: :PI: :PI: :Indigo: :Indigo: :Indigo: :Octane: :O2: :1600SW: :Indigo2: :Indigo2: :Indigo2IMP: :Indigo2IMP: :Indy: :Indy: :Indy: :Cube:

Image <-------- A very happy forum member.

SAQ
Posts: 5758
Joined: Wed Jul 19, 2006 8:37 am
Location: Renton, WA

Re: Super cranky Indigo

Unread postby SAQ » Mon Mar 26, 2012 6:27 pm

pentium wrote:Right then. So 2012 would not work. :roll:


Yep, but think about the likely reason I remember this problem ;) .

I can't remember what the error that came up when I was trying a blank install, but it was a little confusing.
Damn the torpedoes, full speed ahead!

There are those who say I'm a bit of a curmudgeon. To them I reply: "GET OFF MY LAWN!"

:Indigo: :Octane: :Indigo2: :Indigo2IMP: :Indy: :PI: :O3x0: :ChallengeL: :O2000R: (single-CM)


Return to “IRIX and Software”

Who is online

Users browsing this forum: No registered users and 2 guests