Re: where does the first boot pause when calcluating the ssh keys?

Joel Rees <[email protected]> Mon, 02 Jun 2003 16:14:50 +0900
Newsgroups gmane.os.openbsd.mac68k
Message-ID <[email protected]>
> > I'll open it up and drop
> > the internal drive this weekend and see what happens.
> 
> Well, I dropped the internal drive, and got the same results. So I put
> the internal drive back in, took the box into the other room so I could
> hook the printer cable from the P630 to it, and booted up with the P630
> (Claris Works terminal app) acting as console.

Ronald Cotoni pointed out that my cut and paste was kind of sloppy. So
I'll point out again that the box I'm trying to install on is a performa
550. (I probably shouldn't have mentioned that the performa 630 was what
I was using as a console terminal.) I guess I should mention again that
I'm just experimenting without the FPU, which means I'm definitely on
unsupported hadware.

(And, yes, I'm also experimenting with netBSD. Having problems with the
file system on that -- df reports negative free on several of my
partitions. Somebody's even compiled the kernel and base stuff with soft
float over there, so I might try that out next month, but all that is OT
here. Thanks, Ronald.)

> This time, I set it to
> boot to single user. Here's the results, first the bootlog, then the
> terminal session:
> 
> ----------------------------------------
> Logging to bootlog
> Booting...transparent = 1
> MID_M68K executable: entry 0x2a00.
> 1602328+70928+251560+191256+188999
> Attempting to kill all running programs...
> AESend(HP Background) failed (-906)
> Changing Monitor settings...
>   Bye-bye...
>         So I sez to him...  The real way
>         that it should be done is to...
> ----------------------------------------
> 
> (Maybe I should have taken the HP printer background driver out of the
> extensions folder, but I figure if I make it to the virtual re-boot, no
> Mac side extensions survive.)
> 
> ----------------------------------------
> OpenBSD/mac68k console
> [ using 380255 bytes of bsd a.out symbol table ]
> Bootstrapping OpenBSD/mac68k.
> Getting mapping from MMU.
> System RAM: 20971520 bytes in 5120 pages.
>      Low = 0x0, high = 0x1400000
> Checking for Internal Video mapping: PB/IIvx (0x60?00000).  Does it never end?
>                Forcing VRAM size to a conservative 1024K.
>   PB/IIvx (0x60?00000) int
> ernal video at addr 0x60b00000 (phys 0x60b00000), len.Done.
> Bootstrapping the pmap system.
> Pmap bootstrapped.
> Moving ROMBase from 0x40800000 to 0x9f6000.
> Video address 0x60b00000 -> 0xbf6000.
> Copyright (c) 1982, 1986, 1989, 1991, 1993
>         The Regents of the University of California.  All rights reserved.
> Copyright (c) 1995-2003 OpenBSD. All rights reserved.  http://www.OpenBSD.org
> 
> OpenBSD 3.3 (GENERIC) #2: Fri Apr  4 10:38:44 CEST 2003
>     [email protected]:/usr/src/sys/arch/mac68k/compile/GENERIC
> App
> le Macintosh Performa 550, 68030 CPU+MMUreal mem = 20971520 (20480K)
> avail mem = 15839232 (15468K)
> using 281 buffers containing 1150976 bytes (1124K) of memory
> mrg: kernel has no ROM vectors for this machine!
> adb: bus subsystem
> Got following HwCfgFlags: 0xec00, 0x    773f, 0x1b404926, 0x408d24a4
> mrg: skipping egret setup
> adb: calling ADBReInit
> adb: using Cuda series hardware support
> adb: cleanup: nothing returned
> adb: ADBReInit complete
> adb: mapped device (8) at 2
> adb: 100 dpi mouse at 3
> 
> mainbus0 (root)
> sync
> obio0 at mainbus0
> fskck
> adb0 at obio0 (ADB event device)
> asc0 at obio0: Apple Sound Chip
> mount
> intvid0 at obio0: Internal Video
> intvid0: 640 x 480, monochrome
> cat /etc/fstab
> grf0 at intvid0
> ite0 at grf0 (minimal console)
> ncrscsi0 at obio0
> scsibus0 at ncrscsi0: 8 targets
> sd0 at scsibus0 targ 0 lun 0: <QUANTUM, LPS170S, 0209> SCSI2 0/direct fixed
> sd0: 163MB, 2337 cyl, 2 head, 71 sec, 512 bytes/sec, 335253 sec total
> sd1 at scsibus0 targ 2 lun 0: <SEAGATE, ST52160N, 0344> SCSI2 0/direct fixed
> sd1: 2069MB, y6536 cyl, 4 head, 162 sec, 512 bytes/sec, 4238282 sec totalcd0 at scsibus0 targ 3 lun 0: <MATSHITA, CD-ROM CR-8004, 1.0p> SCSI2 5/cdrom ree
> ls
> zsc0 at obio0 chip type 0
> zstty0 at zsc0 channel 0
> zstty1 at zsc0 channel 1 (console)
> nubus0 at mainbus0
> ls /bin
> root on sd1a swap on sd1b
> WARNING: / was not properly unmounted
> PRAM time does not appear to have been read correctly.
> PRAM: 0x83da4f80, macos_boottime: 0x3ed8bcd1.
> Enter pathname of shell or RETURN for sh:
> # sync
> # fsck
> ls /usr
> Illegal instruction
> exit
> #y mountIllegal instruction
> # cat /etc/fstab
> /dev/sd1a       /       ffs     rw 1 1
> /dev/sd1b       none    swap    sw 0 0
> /dev/sd1g       /usr    ffs     rw 1 2
> /dev/sd1d       /var    ffs     rw 1 3
> /dev/sd1e       /tmp    ffs     rw 1 4
> /dev/sd1f       /home   ffs     rw 1 5
> kern            /kern   kernfs  rw 0 0
> proc            /proc   procfs  rw 0 0
> # ls
> .cshrc     bin        etc        lost+found root       tmp
> .profile   bsd        home       mnt        sbin       usr
> altroot    dev        kern       yproc       stand      var# ls /bin
> [          cpio       echo       ksh        mv         rm         sleep
> cat        csh        ed         ln         pax        rmail      stty
> chgrp      date       eject      ls         ps         rmd160     sync
> chio       dd         expr       md5        pwd        rmdir      systrace
> chmod      df         hostname   mkdir      rcp        sh         tar
> cp         domainname kill       mt         rksh       sha1       test
> # ls /usr
> # exit
> Panic switch: PC is 0x3d830.
> ----------------------------------------
> 
> I note that, where it got stuck before, after reporting the PRAM clock
> errors, it made it safely to single-user. Don't know why I did a sync.
> 
> Anyway, fsck gives an illegal instruction error, as does mount. Then,
> when I exit, to try to go to multi-user, it just gets stuck again. So,
> I'm tending to think it's the lack of FPU.
> 
> (Panic switch reports were deliberate. I tried cmd-power, just to see.)
> 
> I'd been hoping to get it far enough along to try recompiling the
> compiler and libraries with software (not emulated) floating point.
> 
> So, should I give this experiment up until I can spare the
> USD twenty-plus-postage or so for a 68882 from e-bay? (whenever that may
> be ...)

-- 
Joel Rees <[email protected]>