Subject: 840av boot troubles
To: None <port-mac68k@NetBSD.org>
From: Jeffrey Loren Shaw <shawjef3@msu.edu>
List: port-mac68k
Date: 08/05/2006 17:51:40
840av
64MB Ram (or so, I dont have the number in front of me)
2MB VRAM
jackhammer scsi
asante 10 MBit/s network card 

I'm having a really hard time getting my 840av to boot into netbsd. I'm 
using 3.0.1 and the tools on the mac68k iso. I believe that I've had it boot 
3 times, but it seems completely random. IE I have no idea what the 
conditions were like when NetBSD successfully booted. I've tried zapping the 
pram, starting without extentions, system 7.5.5, 7.5.3, and maybe a couple 
other things. 

I managed to boot into NetBSD to install all the netbsd packages onto a 
partition on a Quantum Atlas V. Unfortunately, the boot application was 
unable to find the partition even if I gave it the partition's name. So I 
decided to reformat the drive, this time using apple's utility and mkfs 
instead of the installation kernel's sysinstall utility. But since doing 
this I have yet to again boot into netbsd. 

The booter completes the following and then nothing happens. The mouse still 
works, and I see the Mac interface in B&W. It always completes this process, 
but almost never manages to go any farther. When it has gone farther it was 
to successfully load the kernel and start the installer application. The 
following log was created when trying to boot one of the installation 
kernels. 

Booting...
transparent = 0
32 bit ELF format
=0x452794
kVec[MARK_START]=0x0
kVec[MARK_ENTRY]=0x2e00
kVec[MARK_NSYM] =0x1
kVec[MARK_SYM]  =0x3f4a34
kVec[MARK_END]  =0x452794
kVec[MARK_MAX]  =0x0
PageSize = 8192, Start 0, entry 11776, NSym 1, Sym 4147764, End 4532116
Allocated 4794260 bytes.
32 bit ELF format
1376100+2691480+71988 [206+258576+124835]=0x452794
kVec[MARK_START]=0xbda000
kVec[MARK_ENTRY]=0x2e00
kVec[MARK_NSYM] =0x1
kVec[MARK_SYM]  =0xfcea34
kVec[MARK_END]  =0x102c794
kVec[MARK_MAX]  =0x0 

symspace=16575968(0xfcede0),symlen=258576(0x3f210),strings=16834544(0x100dff 
0),lenstrings=124835(0x1e7a3)
_end=4143304(0x3f38c8) 

Set _boothowto to 0.
start address = 0x2e00.
total kernel buffer space used = 4536244 (0x4537b4).
The warm and fuzzy copycode() is at 0x032f7394 for 0x04c
harry() is at 0x1067c00 

from = 0x00bda000, to = 0x00000000, len = 1193984, entry = 0x00002e00
Attempting to kill all running programs...
Found process Finder
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 0x50100700 'cause pmVersion = 0, not 4. 

Set _mac68k_vrsrc_cnt to 0. 

Set _mac68k_vrsrc_vec to {0x8442 0x8276 0x1d7 0xb900 0x3e9f 0xac28 }. 

 

...any ideas about how I can consistantly boot into NetBSD? At this point, 
I'd be happy with even a 1 in 2 success rate. Oh and one more potentially 
interesting fact - macos is unable to shut down or reboot my 840av. It's 
very bizarre. 100% of the time, if I want to reboot, I have to use 
apple-control-power. If I want to shut down, I have to pull the power cord. 
On the other hand, under NetBSd, shutdown -h now worked perfectly.