Subject: Re: IIsi boot problem
To: Kip Walker <kwalker+@cmu.edu>
From: Dave Leonard <d@pleiades.newcastle.edu.au>
List: macbsd-general
Date: 11/05/1994 09:13:47
Try subtracting one from the amount of memory the mac Booter thinks you
have.  For example: I have 17M but I tell the booter 16. I think there is a 
boundary condition in the memory mapping code.

> I am using the netbsd.iisi2.test kernel which boots fine to a point!
> with this output.  I've done single user a few times, only to fsck.
> 
> here is the multiple user boot -- it always crashes at this point
> 
> --------
> --------
> [ preserving 73360 bytes of netbsd symbol table ]
> Low = 0x0, high = 0x100000
> Low = 0x4000000, high = 0x4400000
> 5242880 bytes available (1280 pages)
> Log = 0xf9000000, Phys = 0xf9000000, Len = 0x6000000 (100663296)
> get_mapping(): no internal video.
>   Video address = 0xf9900020
>   Weird mapping starts at 0x0
>   Length = 0x0 (0) bytes
> Copyright (c) 1982, 1986, 1989, 1991, 1993
> 	The Regents of the University of California.  All rights reserved.
> 
> NetBSD 1.0 (GENERIC) #11: Wed Nov  2 15:32:28 EST 1994
>     briggs@kitten.home.net:/usr/src/sys/arch/mac68k/compile/GENERIC
> Apple Macintosh IIsi  (68030)
> real mem = 5238784
> avail mem = 2736128
> using 89 buffers containing 364544 bytes of memory
> Desktop bus initializing...
> adb_init(): timed out!!!!!
> mainbus0 (root)
> ite0 at mainbus0 (minimal console)
> adb0 at mainbus0 (adb event device)
> nubus0 at mainbus0
> grf0 at nubus0: 640 x 480 1 color MacVideo (Mac II High-Resolution Video Card) display
> ser0 at mainbus0
> ncrscsi0 at mainbus0
> scsibus0 at ncrscsi0
> scsibus: probing bus 0.
>  targ 0 lun 0: <DEC     DSP3053LS       X442> SCSI2 direct fixed
> sd0 at scsibus0: 511MB, 3117 cyl, 4 head, 83 sec, 512 bytes/sec
> ncr96scsi at mainbus0 not configured
> asc0 at mainbus0 Apple sound chip.
> floppy at mainbus0 not configured
> Changing root device to sd0a.
> swapping 401 and 401.
> swapdev = 401, dumpdev = ffffffff.
> WARNING: file system time earlier than 1975
>  -- CHECK AND RESET THE DATE!
> Automatic boot in progress: starting file system checks.
> /dev/rsd0a: INCORRECT BLOCK COUNT I=10883 (2 should be 0) (CORRECTED)
> /dev/rsd0a: UNREF FILE I=10883  OWNER=root MODE=100644
> /dev/rsd0a: SIZE=0 MTIME=Dec 31 13:27 1903  (CLEARED)
> /dev/rsd0a: LINK COUNT FILE I=60169  OWNER=root MODE=100444
> /dev/rsd0a: SIZE=1127 MTIME=Dec 31 13:27 1903  COUNT 2 SHOULD BE 1 (ADJUSTED)
> /dev/rsd0a: BLK(S) MISSING IN BIT MAPS (SALVAGED)
> /dev/rsd0a: SUMMARY INFORMATION BAD (SALVAGED)
> /dev/rsd0a: FREE BLK COUNT(S) WRONG IN SUPERBLK (SALVAGED)
> /dev/rsd0a: 1072 files, 20156 used, 232466 free (426 frags, 29005 blocks, 0.2% fragmentation)
> setting tty flags
> starting network
> add host myname.my.domain: gateway localhost
> starting rpc daemons: portmap.
> starting system logger, time daemontimed: no network usable
> .
> checking for core dump...
> savecore: no core dump (no dumpdev)
> checking quotas: done.
> building databases...
> clearing /tmp
> standard daemons: update cron.
> starting network daemons: routed printer inetd.
> starting local daemons:.
> runtime link editor directory cache
> Thu Dec 31 13:31:03 PST 1903
> Dec 31 13:31:03 myname init: kernel security level changed from 0 to 1
> 
> panic: POXORJr2
> 
> Stopped at      _Debugger+0x6:  unlk    a6
> 
> db> 
> 
> 


-- 
David Leonard                          d@fnarg.net.au
The University of Newcastle            4th year Engineering/CompSci student