Subject: IIcx freezing... argh
To: None <port-mac68k@NetBSD.ORG>
From: Jack Holloway <holloway@midusa.net>
List: port-mac68k
Date: 03/02/1998 18:01:36
I have a IIcx(Mode 32 installed, booting with MINIMAL extensions) with 8MB
of RAM, an internal 75MB hard drive, external 200 MB hard drive(APS
Technology Maxtor drive: SCSI ID 5->holds NetBSD-mac68k, 4 partitions: #2.
NetBSD Root type(~80MB), #3. NetBSD Swap(~16MB), #4. NetBSD usr(~104MB)),
and it doesn't have built in video(like on the otheroard), rather a card. I
have an Apple extended Keyboard and an Apple Desktop Bus Mouse. I installed
the 1.3 distribution(everything except the securoty, games, and X stuff).
The booter is setup to use the default kernel, it has the correct amount of
RAM, right SCSI ID, etc. When I boot(debug level 2, signle user, B&W
monitor) I get the following output from NetBSD(I have the bootlog from the
booter a little father down...):

[ preserving 322618 bytes of netbsd symbol table ]
Bootstrapping NetBSD/mac68k.
Getting mapping from MMU.
System RAM: 8388608 bytes in 2048 pages
    Low = 0x0, high = 0x800000
  no internal video at address 0 -- videoaddr is 0xf9900020.
Done.
Bootstrapping the pmap system.
Pmap bootstrapped.
Moving ROM Base from 0x40800000 to 0x9f0000.
Video address 0xf990020 -> 0xbf0020.

<here is all the copyright stuff... you know it>

NetBSD 1.3 (GENERICBSD) #56: Wed Dec 31 13:40:50 PST 1997
    allen@wormey:/usr/src/sys/arch/mac68k/compile/GENERICBSD
Apple Macintosh IIcx    (68030)
cpu: delay factor 60
real mem= 8388608
avail mem= 4964352
using 128 buffers containing 524288 bytes of memory
mrg: 'Mac II class ROMs' ROM glue, tracing off, debug off, silent traps
mrg: I/O map kludge for ROMs that use hardware addresses directly.
adb: bus subsystem
Got following HwCfgFlags: 0xfc00, 0xffffdfff, 0xffffffff, 0x        0
mrg: Not setting up egret.
mrg: ADB interrupts enabled.
adb:


and it hanges after 'adb: ', BTW.. I don't move the mouse, type anything,
NOTHING... I've set there and wait on it... for about 30 minutes.... no disk
activity nothing....

Here is the bootlog file from the boot app(BTW, on this one... I'm booting
in multi-user mode.. it still locks up):

Logging to bootlog
Booting...
reading partition # 1 , partition name - 'Macintosh'
reading partition # 2 , partition name - 'NetBSD Root'
reading partition # 3 , partition name - 'NetBSD Swap'
reading partition # 4 , partition name - 'NetBSD Usr'
reading partition # 5 Chose partition 2, name 'NetBSD Root'
type 'Apple_UNIX_SVR2'
blocks in map 5, start block 96, length 163840
Magic from fs: 72020
Magic from .h: 72020
get_diinode(2) = sector 64
read_bsd_block(): Reading block 120
100% done
get_diinode(2) = sector 64
"." (inode 2)  512 bytes
get_diinode(2) = sector 64
".." (inode 2)  512 bytes
get_diinode(3) = sector 64
"lost+found" (inode 3)  8192 bytes
get_diinode(576) = sector 4752
"proc" (inode 576)  512 bytes
get_diinode(1152) = sector 9440
"etc" (inode 1152)  1536 bytes
get_diinode(1728) = sector 14128
"kern" (inode 1728)  512 bytes
get_diinode(2304) = sector 18496
"dev" (inode 2304)  4608 bytes
get_diinode(3456) = sector 27872
"altroot" (inode 3456)  512 bytes
get_diinode(4032) = sector 32560
"bin" (inode 4032)  512 bytes
get_diinode(8064) = sector 64736
"home" (inode 8064)  512 bytes
get_diinode(8640) = sector 69424
"mnt" (inode 8640)  512 bytes
get_diinode(9216) = sector 73792
"root" (inode 9216)  512 bytes
get_diinode(9792) = sector 78480
"sbin" (inode 9792)  1536 bytes
get_diinode(10368) = sector 83168
"stand" (inode 10368)  512 bytes
get_diinode(10944) = sector 87856
"tmp" (inode 10944)  512 bytes
get_diinode(11520) = sector 92224
"usr" (inode 11520)  512 bytes
get_diinode(588) = sector 4755
"var" (inode 588)  512 bytes
get_diinode(16) = sector 68
".cshrc" (inode 16)  794 bytes
get_diinode(17) = sector 68
".profile" (inode 17)  230 bytes
get_diinode(18) = sector 68
"sys" (inode 18)  11 bytes
get_diinode(23) = sector 69
"netbsd" (inode 23)  1442198 bytes
read_bsd_block(): Reading block 2896
read_bsd_block(): Reading block 608
transparent = 1
sizeof struct exec = 32
Magic = NMAGIC (read-only text)
MID_M68K executable: entry 0x2e00.
read_bsd_block(): Reading block 5928
Allocated 1804838 bytes.
1053800 (0x0)read_bsd_block(): Reading block 608
read_bsd_block(): Reading block 624
read_bsd_block(): Reading block 640
read_bsd_block(): Reading block 656
read_bsd_block(): Reading block 672
read_bsd_block(): Reading block 688
read_bsd_block(): Reading block 704
read_bsd_block(): Reading block 720
read_bsd_block(): Reading block 736
read_bsd_block(): Reading block 752
read_bsd_block(): Reading block 768
read_bsd_block(): Reading block 784
read_bsd_block(): Reading block 2904
read_bsd_block(): Reading block 2920
read_bsd_block(): Reading block 2936
read_bsd_block(): Reading block 2952
read_bsd_block(): Reading block 2968
read_bsd_block(): Reading block 2984
read_bsd_block(): Reading block 3000
read_bsd_block(): Reading block 3016
read_bsd_block(): Reading block 3032
read_bsd_block(): Reading block 3048
read_bsd_block(): Reading block 3064
read_bsd_block(): Reading block 3080
read_bsd_block(): Reading block 3096
read_bsd_block(): Reading block 3112
read_bsd_block(): Reading block 3128
read_bsd_block(): Reading block 3144
read_bsd_block(): Reading block 3160
read_bsd_block(): Reading block 3176
read_bsd_block(): Reading block 3192
read_bsd_block(): Reading block 3208
read_bsd_block(): Reading block 3224
read_bsd_block(): Reading block 3240
read_bsd_block(): Reading block 3256
read_bsd_block(): Reading block 3272
read_bsd_block(): Reading block 3288
read_bsd_block(): Reading block 3304
read_bsd_block(): Reading block 3320
read_bsd_block(): Reading block 3336
read_bsd_block(): Reading block 3352
read_bsd_block(): Reading block 3368
read_bsd_block(): Reading block 3384
read_bsd_block(): Reading block 3400
read_bsd_block(): Reading block 3416
read_bsd_block(): Reading block 3432
read_bsd_block(): Reading block 3448
read_bsd_block(): Reading block 3464
read_bsd_block(): Reading block 3480
read_bsd_block(): Reading block 3496
read_bsd_block(): Reading block 3512
read_bsd_block(): Reading block 3528
read_bsd_block(): Reading block 3544
read_bsd_block(): Reading block 3560
read_bsd_block(): Reading block 3576
read_bsd_block(): Reading block 3592
read_bsd_block(): Reading block 3608
read_bsd_block(): Reading block 3624
read_bsd_block(): Reading block 3640
read_bsd_block(): Reading block 3656
read_bsd_block(): Reading block 3672
read_bsd_block(): Reading block 3688
read_bsd_block(): Reading block 3704
read_bsd_block(): Reading block 3720
read_bsd_block(): Reading block 3736
read_bsd_block(): Reading block 3752
read_bsd_block(): Reading block 3768
read_bsd_block(): Reading block 3784
read_bsd_block(): Reading block 3800
read_bsd_block(): Reading block 3816
read_bsd_block(): Reading block 3832
read_bsd_block(): Reading block 3848
read_bsd_block(): Reading block 3864
read_bsd_block(): Reading block 3880
read_bsd_block(): Reading block 3896
read_bsd_block(): Reading block 3912
read_bsd_block(): Reading block 3928
read_bsd_block(): Reading block 3944
read_bsd_block(): Reading block 3960
read_bsd_block(): Reading block 3976
read_bsd_block(): Reading block 3992
read_bsd_block(): Reading block 4008
read_bsd_block(): Reading block 4024
read_bsd_block(): Reading block 4040
read_bsd_block(): Reading block 4056
read_bsd_block(): Reading block 4072
read_bsd_block(): Reading block 4088
read_bsd_block(): Reading block 4104
read_bsd_block(): Reading block 4120
read_bsd_block(): Reading block 4136
read_bsd_block(): Reading block 4152
read_bsd_block(): Reading block 4168
read_bsd_block(): Reading block 4184
read_bsd_block(): Reading block 4200
read_bsd_block(): Reading block 4216
read_bsd_block(): Reading block 4232
read_bsd_block(): Reading block 4248
read_bsd_block(): Reading block 4264
read_bsd_block(): Reading block 4280
read_bsd_block(): Reading block 4296
read_bsd_block(): Reading block 4312
read_bsd_block(): Reading block 4328
read_bsd_block(): Reading block 4344
read_bsd_block(): Reading block 4360
read_bsd_block(): Reading block 4376
read_bsd_block(): Reading block 4392
read_bsd_block(): Reading block 4408
read_bsd_block(): Reading block 4424
read_bsd_block(): Reading block 4440
read_bsd_block(): Reading block 4456
read_bsd_block(): Reading block 4472
read_bsd_block(): Reading block 4488
read_bsd_block(): Reading block 4504
read_bsd_block(): Reading block 4520
read_bsd_block(): Reading block 4536
read_bsd_block(): Reading block 4552
read_bsd_block(): Reading block 4568
read_bsd_block(): Reading block 4584
read_bsd_block(): Reading block 4600
read_bsd_block(): Reading block 5336
read_bsd_block(): Reading block 5352
read_bsd_block(): Reading block 5368
read_bsd_block(): Reading block 5384
read_bsd_block(): Reading block 5400
read_bsd_block(): Reading block 5416
read_bsd_block(): Reading block 5432
read_bsd_block(): Reading block 5448
read_bsd_block(): Reading block 5464
read_bsd_block(): Reading block 5480
+65752read_bsd_block(): Reading block 5480
read_bsd_block(): Reading block 5496
read_bsd_block(): Reading block 5512
read_bsd_block(): Reading block 5528
read_bsd_block(): Reading block 5544
read_bsd_block(): Reading block 5560
read_bsd_block(): Reading block 5576
read_bsd_block(): Reading block 5592
read_bsd_block(): Reading block 5608
+100528+166320read_bsd_block(): Reading block 5608
read_bsd_block(): Reading block 5624
read_bsd_block(): Reading block 5640
read_bsd_block(): Reading block 5656
read_bsd_block(): Reading block 5672
read_bsd_block(): Reading block 5688
read_bsd_block(): Reading block 5704
read_bsd_block(): Reading block 5720
read_bsd_block(): Reading block 5736
read_bsd_block(): Reading block 5752
read_bsd_block(): Reading block 5768
read_bsd_block(): Reading block 5784
read_bsd_block(): Reading block 5800
read_bsd_block(): Reading block 5816
read_bsd_block(): Reading block 5832
read_bsd_block(): Reading block 5848
read_bsd_block(): Reading block 5864
read_bsd_block(): Reading block 5880
read_bsd_block(): Reading block 5896
read_bsd_block(): Reading block 5912
read_bsd_block(): Reading block 5928
read_bsd_block(): Reading block 5928
+156294
read_bsd_block(): Reading block 5928
read_bsd_block(): Reading block 5944
read_bsd_block(): Reading block 5960
read_bsd_block(): Reading block 5976
read_bsd_block(): Reading block 5992
read_bsd_block(): Reading block 6008
read_bsd_block(): Reading block 6024
read_bsd_block(): Reading block 6040
read_bsd_block(): Reading block 6056
read_bsd_block(): Reading block 6072
read_bsd_block(): Reading block 6088
read_bsd_block(): Reading block 6104
read_bsd_block(): Reading block 6120
read_bsd_block(): Reading block 6136
read_bsd_block(): Reading block 6152
read_bsd_block(): Reading block 6168
read_bsd_block(): Reading block 6184
read_bsd_block(): Reading block 6200
read_bsd_block(): Reading block 6216
read_bsd_block(): Reading block 6232
read_bsd_block(): Reading block 6248

Set _boothowto to 0x0.
start address = 0x2e00.
total kernel buffer space used = 1545666 (0x1795c2).
The warm and fuzzy copycode() is at 0x0041ddf8
Hex dump of copycode():

(0x0041ddf8) 4E 56 00 00 40 C0 00 40 07 00 46 C0 20 6E 00 08
(0x0041de08) 22 6E 00 0C 20 2E 00 10 22 D8 53 80 66 FA 2C 2E
(0x0041de18) 00 1C 2E 2D CE 5A 2A 2E 00 18 26 6D D6 76 24 6D
(0x0041de28) D6 7A 28 2D CE 6A 28 6D CE 6E 22 6D CE 5E 93 EE
harry() is at 0x64fc00
Hex dump of Harry(), our friend!
(...should be the same as copycode(), above...)

(0x0064fc00) 4E 56 00 00 40 C0 00 40 07 00 46 C0 20 6E 00 08
(0x0064fc10) 22 6E 00 0C 20 2E 00 10 22 D8 53 80 66 FA 2C 2E
(0x0064fc20) 00 1C 2E 2D CE 5A 2A 2E 00 18 26 6D D6 76 24 6D
(0x0064fc30) D6 7A 28 2D CE 6A 28 6D CE 6E 22 6D CE 5E 93 EE

from = 0x0049a000, to = 0x00000000, len = 448512, entry = 0x00002e00
Attempting to kill all running programs
Changing Monitor settings...
  Bye-bye...
        So I sez to him...  The real way
        that it should be done is to...
Serial console flags = 0
Stripping video addr 0xf9900020 'cause pmVersion = 0, not 4.
Env: "ROOT_SCSI_ID" set to 5 (0x5).
Env: "SINGLE_USER" set to 0 (0x0).
Env: "VIDEO_ADDR" set to 2147483647 (0x7fffffff).
Env: "ROW_BYTES" set to 128 (0x80).
Env: "FLAGS" set to 2147483647 (0x7fffffff).
Env: "SCREEN_DEPTH" set to 1 (0x1).
Env: "DIMENSIONS" set to 31457920 (0x1e00280).
Env: "BOOTTIME" set to 888353948 (0x34f3349c).
Env: "GMTBIAS" set to 0 (0x0).
Env: "BOOTERVER" set to 111 (0x6f).
Env: "MACOS_VIDEO" set to 2147483647 (0x7fffffff).
Env: "MACOS_SCC" set to 1357922304 (0x50f04000).
Env: "MACHINEID" set to 8 (0x8).
Env: "MEMSIZE" set to 8 (0x8).
Env: "GRAYBARS" set to 1 (0x1).
Env: "SERIALECHO" set to 0 (0x0).
Env: "SERIALCONSOLE" set to 0 (0x0).
Env: "SERIAL_MODEM_FLAGS" set to 0 (0x0).
Env: "SERIAL_MODEM_HSKICLK" set to 0 (0x0).
Env: "SERIAL_MODEM_GPICLK" set to 0 (0x0).
Env: "SERIAL_PRINT_FLAGS" set to 0 (0x0).
Env: "SERIAL_PRINT_HSKICLK" set to 0 (0x0).
Env: "SERIAL_PRINT_GPICLK" set to 0 (0x0).
Env: "SERIAL_MODEM_DSPEED" set to 9600 (0x2580).
Env: "SERIAL_PRINT_DSPEED" set to 9600 (0x2580).
Env: "PROCESSOR" set to 1 (0x1).
Env: "END_SYM" set to 1545666 (0x1795c2).
Env: "ROMBASE" set to 1082130432 (0x40800000).
Env: "TIMEDBRA" set to 2619 (0xa3b).
Env: "ADBDELAY" set to 784 (0x310).
Env: "HWCFGFLAGS" set to 2147483647 (0x7fffffff).
Env: "HWCFGFLAG2" set to 2147483647 (0x7fffffff).
Env: "HWCFGFLAG3" set to 2147483647 (0x7fffffff).
Env: "ADBREINIT_JTBL" set to 2147483647 (0x7fffffff).

Set _mac68k_vrsrc_cnt to 0x1.

Set _mac68k_vrsrc_vec to {0x8809 0x0 0x0 0x0 0x0 0x0 }.

______________________________________________
Jack Holloway, holloway@midusa.net
http://homepage.netspaceonline.com/~holloway/
"No electrons were harmed in the sending of this e-mail." 
______________________________________________