Subject: trouble installing on an LCIII
To: None <port-mac68k@NetBSD.ORG>
From: John Valente <jv@gensym.com>
List: port-mac68k
Date: 03/31/1997 20:25:39
Hello,
I've been trying to instal NetBSD 1.2 on an LCIII. I used Silverlining 5.6.3
to partition the drive, and installed System 7.3 (yes, it did exist). First,
I had lots of trouble installing the package. I saw the line "sz 8192" and then
the machine would go into MacsBug. However, I noticed it was failing at
different places, so I just persistently re-installed several times (starting
with a new mkfs on the root partition each time), and eventually everything got
on without crashing.
However, when I try to boot, the kernel panics. I have a hard time even
reading the message, because it just scrolls by really fast and nothing seems to
stop it short of pulling the plug. Here's what I think the message says:
Debugger +06 unlnk
db> kernel: Illegal Instruction Trap
trap type 2, code = 0, v= 0
Caught exception in ddb
Those last three lines are repeated over and over again. I'll include the full
boot log file at the end of this message. Thanks to anyone who can help with
this.
- John Valente
Logging to bootlog
Booting...reading partition # 1
reading partition # 2
reading partition # 3
reading partition # 4
reading partition # 5
Found partition 5
name 'A/UX Root'
type 'Apple_UNIX_SVR2'
blocks in map 9, start block 90760, length 109134
Magic from fs: 72020
Magic from .h: 72020
get_diinode(2) = sector 64
read_bsd_block(): Reading block 112
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(512) = sector 4224
"altroot" (inode 512) 512 bytes
get_diinode(1024) = sector 8384
"bin" (inode 1024) 512 bytes
get_diinode(4) = sector 65
"netbsd" (inode 4) 919896 bytes
read_bsd_block(): Reading block 2088
sizeof struct exec = 32
read_bsd_block(): Reading block 120
Magic = NMAGIC (read-only text)
MID_M68K executable: entry 0x3356.
Allocated 1232828 bytes.
768516 (0x0)read_bsd_block(): Reading block 120
read_bsd_block(): Reading block 136
read_bsd_block(): Reading block 152
read_bsd_block(): Reading block 168
read_bsd_block(): Reading block 184
read_bsd_block(): Reading block 200
read_bsd_block(): Reading block 216
read_bsd_block(): Reading block 232
read_bsd_block(): Reading block 248
read_bsd_block(): Reading block 264
read_bsd_block(): Reading block 280
read_bsd_block(): Reading block 296
read_bsd_block(): Reading block 2064
read_bsd_block(): Reading block 2080
read_bsd_block(): Reading block 2072
read_bsd_block(): Reading block 2048
read_bsd_block(): Reading block 2176
read_bsd_block(): Reading block 2192
read_bsd_block(): Reading block 2208
read_bsd_block(): Reading block 2224
read_bsd_block(): Reading block 2240
read_bsd_block(): Reading block 2256
read_bsd_block(): Reading block 2272
read_bsd_block(): Reading block 2288
read_bsd_block(): Reading block 2304
read_bsd_block(): Reading block 2320
read_bsd_block(): Reading block 2336
read_bsd_block(): Reading block 2352
read_bsd_block(): Reading block 2368
read_bsd_block(): Reading block 2384
read_bsd_block(): Reading block 2400
read_bsd_block(): Reading block 2416
read_bsd_block(): Reading block 2432
read_bsd_block(): Reading block 2448
read_bsd_block(): Reading block 2464
read_bsd_block(): Reading block 2480
read_bsd_block(): Reading block 2496
read_bsd_block(): Reading block 2512
read_bsd_block(): Reading block 2528
read_bsd_block(): Reading block 2544
read_bsd_block(): Reading block 2560
read_bsd_block(): Reading block 2576
read_bsd_block(): Reading block 2592
read_bsd_block(): Reading block 2608
read_bsd_block(): Reading block 2624
read_bsd_block(): Reading block 2640
read_bsd_block(): Reading block 2656
read_bsd_block(): Reading block 2672
read_bsd_block(): Reading block 2688
read_bsd_block(): Reading block 2704
read_bsd_block(): Reading block 2720
read_bsd_block(): Reading block 2736
read_bsd_block(): Reading block 2752
read_bsd_block(): Reading block 2768
read_bsd_block(): Reading block 2784
read_bsd_block(): Reading block 2800
read_bsd_block(): Reading block 2816
read_bsd_block(): Reading block 2832
read_bsd_block(): Reading block 2848
read_bsd_block(): Reading block 2864
read_bsd_block(): Reading block 2880
read_bsd_block(): Reading block 2896
read_bsd_block(): Reading block 2912
read_bsd_block(): Reading block 2928
read_bsd_block(): Reading block 2944
read_bsd_block(): Reading block 2960
read_bsd_block(): Reading block 2976
read_bsd_block(): Reading block 2992
read_bsd_block(): Reading block 3008
read_bsd_block(): Reading block 3024
read_bsd_block(): Reading block 3040
read_bsd_block(): Reading block 3056
read_bsd_block(): Reading block 3072
read_bsd_block(): Reading block 3088
read_bsd_block(): Reading block 3104
read_bsd_block(): Reading block 3120
read_bsd_block(): Reading block 3136
read_bsd_block(): Reading block 3152
read_bsd_block(): Reading block 3168
read_bsd_block(): Reading block 3184
read_bsd_block(): Reading block 3200
read_bsd_block(): Reading block 3216
read_bsd_block(): Reading block 3232
read_bsd_block(): Reading block 3248
read_bsd_block(): Reading block 3264
read_bsd_block(): Reading block 3280
read_bsd_block(): Reading block 3296
read_bsd_block(): Reading block 3312
read_bsd_block(): Reading block 3328
read_bsd_block(): Reading block 3344
read_bsd_block(): Reading block 3360
read_bsd_block(): Reading block 3376
read_bsd_block(): Reading block 3392
read_bsd_block(): Reading block 3408
+57516read_bsd_block(): Reading block 3408
read_bsd_block(): Reading block 3424
read_bsd_block(): Reading block 3440
read_bsd_block(): Reading block 3456
read_bsd_block(): Reading block 3472
read_bsd_block(): Reading block 3488
read_bsd_block(): Reading block 3504
read_bsd_block(): Reading block 3520
+99064+45588read_bsd_block(): Reading block 3520
read_bsd_block(): Reading block 3536
read_bsd_block(): Reading block 3552
read_bsd_block(): Reading block 3568
read_bsd_block(): Reading block 3584
read_bsd_block(): Reading block 3600
read_bsd_block(): Reading block 3616
read_bsd_block(): Reading block 3616
+48244
read_bsd_block(): Reading block 3616
read_bsd_block(): Reading block 3632
read_bsd_block(): Reading block 3648
read_bsd_block(): Reading block 3664
read_bsd_block(): Reading block 3680
read_bsd_block(): Reading block 3696
read_bsd_block(): Reading block 3712
Set _boothowto to 0x2.
start address = 0x3356.
total kernel buffer space used = 1020464 (0xf9230).
The warm and fuzzy copycode() is at 0x003180aa
Hex dump of copycode():
(0x003180aa) 4E 56 00 00 40 C0 00 40 07 00 46 C0 20 6E 00 08
(0x003180ba) 22 6E 00 0C 20 2E 00 10 22 D8 53 80 66 FA 2C 2E
(0x003180ca) 00 1C 2E 2D E3 AE 2A 2E 00 18 26 6D E3 BE 24 6D
(0x003180da) E3 B6 28 2D E3 BA 28 6D E3 B2 22 6D E3 AA 93 EE
harry() is at 0x4adc00
Hex dump of Harry(), our friend!
(...should be the same as copycode(), above...)
(0x004adc00) 4E 56 00 00 40 C0 00 40 07 00 46 C0 20 6E 00 08
(0x004adc10) 22 6E 00 0C 20 2E 00 10 22 D8 53 80 66 FA 2C 2E
(0x004adc20) 00 1C 2E 2D E3 AE 2A 2E 00 18 26 6D E3 BE 24 6D
(0x004adc30) E3 B6 28 2D E3 BA 28 6D E3 B2 22 6D E3 AA 93 EE
from = 0x00384000, to = 0x00000000, len = 305152, entry = 0x00003356
Bye-bye...
So I sez to him... The real way
that it should be done is to...
Serial console flags = 0
Stripping video addr 0x60b00000 'cause pmVersion = 0, not 4.
Env: ÒROOT_SCSI_IDÓ set to 0 (0x0).
Env: ÒSINGLE_USERÓ set to 2 (0x2).
Env: ÒVIDEO_ADDRÓ set to 1622147072 (0x60b00000).
Env: ÒROW_BYTESÓ set to 640 (0x280).
Env: ÒFLAGSÓ set to -2147351443 (0x8002046d).
Env: ÒSCREEN_DEPTHÓ set to 8 (0x8).
Env: ÒDIMENSIONSÓ set to 31457920 (0x1e00280).
Env: ÒBOOTTIMEÓ set to 859743722 (0x333ea5ea).
Env: ÒGMTBIASÓ set to 0 (0x0).
Env: ÒBOOTERVERÓ set to 108 (0x6c).
Env: ÒMACOS_VIDEOÓ set to 1622147072 (0x60b00000).
Env: ÒMACOS_SCCÓ set to 1357922304 (0x50f04000).
Env: ÒMACHINEIDÓ set to 27 (0x1b).
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: ÒPROCESSORÓ set to 1 (0x1).
Env: ÒEND_SYMÓ set to 1020464 (0xf9230).
Env: ÒROMBASEÓ set to 1082130432 (0x40800000).
Env: ÒTIMEDBRAÓ set to 4160 (0x1040).
Env: ÒADBDELAYÓ set to 771 (0x303).
Env: ÒHWCFGFLAGSÓ set to -5120 (0xffffec00).
Env: ÒHWCFGFLAG2Ó set to 30527 (0x773f).
Env: ÒHWCFGFLAG3Ó set to 557842726 (0x21400126).
Env: ÒADBREINIT_JTBLÓ set to 1082992920 (0x408d2918).
Set _mac68k_vrsrc_cnt to 0.
Set _mac68k_vrsrc_vec to {0x0 0x0 0x0 0x0 0x0 0x0 }.