Subject: Re: 3.99.3 crashes at startup
To: Steve Woodford <scw@netbsd.org>
From: Matt Thomas <matt@3am-software.com>
List: port-mvme68k
Date: 04/14/2005 08:14:46
Steve Woodford wrote:
> On Wednesday 13 April 2005 21:18, Matt Thomas wrote:
> 
>>I've cross built mvme68k on my amd64 and resultant kernels crash right
>>after they print the copyright notice.
>>
>>An unending stream of
>>unexpected trap (vector offset f0) from 8a1a
>>
>>is printed.  This happens with GENERIC and VME177 kernels.
> 
> 
> Update sys/arch/m68k/m68k/switch_subr.s (and sys/dev/mvme/clock_pcctwo.c 
> for good measure) and try again.
> 
> The switch_subr.s fix at least gets my mvme177 to the root device prompt, 
> but not much further. My '177 has always been a bit flaky, so maybe 
> you'll have better luck. A -current '167 with the same root FS works 
> fine.

Alas, my '177 hangs there too.

177-Bug>nbo
Network Booting from: VME177, Controller 0, Device 0
Loading: netboot.mvme68k

Client IP Address      = 192.168.7.41
Server IP Address      = 192.168.7.52
Gateway IP Address     = 0.0.0.0
Subnet IP Address Mask = 255.255.255.0
Boot File Name         = netboot.mvme68k
Argument File Name     =

Network Boot File load in progress... To abort hit <BREAK>

Bytes Received =&24408, Bytes Loaded =&24408
Bytes/Second   =&24408, Elapsed Time =1 Second(s)
>> NetBSD/mvme68k MVME177 netboot (via netboot.mvme68k) [1.5]
device: ie0 attached to 08:00:3e:23:ae:85
net_open: client addr: 192.168.7.41
net_open: subnet mask: 255.255.255.0
net_open: net gateway: 192.168.7.52
net_open: server addr: 192.168.7.52
net_open: server path: /clients/bimini/root
net_open: file name: netboot.mvme68k
1045784+30828+59244 [94096+82719]=0x142aa4
Start @ 0x8000 [1=0x11f4f0-0x14aaa4]...
Copyright (c) 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004, 2005
    The NetBSD Foundation, Inc.  All rights reserved.
Copyright (c) 1982, 1986, 1989, 1991, 1993
    The Regents of the University of California.  All rights reserved.

NetBSD 3.99.3 (VME177) #1: Thu Apr 14 08:09:49 PDT 2005
        matt@amd64.home:/u1/mvme68k/obj/sys/arch/mvme68k/compile/VME177
Motorola MVME-177: 50.0MHz MC68060 CPU+MMU+FPU, 8k+8k on-chip physical I/D caches
total memory = 98304 KB
avail memory = 93908 KB
mainbus0 (root)
pcctwo0 at mainbus0 address 0xfff42000: Peripheral Channel Controller
(PCCchip2), Rev 0
clock0 at pcctwo0 offset 0x0 ipl 5: delay_divisor 20
clmpcc0 at pcctwo0 offset 0x3000 ipl 4: Cirrus Logic CD2401 Serial Controller
clmpcc0: 4 channels available, console on channel 0.
ie0 at pcctwo0 offset 0x4000 ipl 3 address 08:00:3e:23:ae:85, type onboard
osiop0 at pcctwo0 offset 0x5000 ipl 2: NCR53C710 rev 2, 50MHz, SCSI ID 7
scsibus0 at osiop0: 8 targets, 8 luns per target
lpt0 at pcctwo0 offset 0x0 ipl 1: PCCchip2 Parallel Printer
vmetwo0 at mainbus0 address 0xfff40000: Type 2 VMEchip, scon jumper enabled
vme0 at vmetwo0
timekeeper0 at mainbus0 address 0xfffc0000: mk48t08 Time-Keeper RAM
timekeeper0: 8192 bytes NVRAM plus Realtime Clock
memc0 at mainbus0 address 0xfff43000: 64MB ECC Memory Controller Chip (Rev 0)
memc0: Base Address: 0x0, Fast RAM Read Disabled
memc0: Logging ECC errors at ipl 6
memc1 at mainbus0 address 0xfff43100: 32MB ECC Memory Controller Chip (Rev 0)
memc1: Base Address: 0x4000000, Fast RAM Read Disabled
memc1: Logging ECC errors at ipl 6
scsibus0: waiting 2 seconds for devices to settle...
sd0 at scsibus0 target 0 lun 0: <SEAGATE, ST39173WC, 6244> disk fixed
sd0: 8683 MB, 7501 cyl, 10 head, 237 sec, 512 bytes/sect x 17783240 sectors
sd0: sync (100.00ns offset 8), 8-bit (10.000MB/s) transfers
st0 at scsibus0 target 4 lun 0: <ARCHIVE, VIPER TDC 3800, =08:> tape removable
st0: drive empty
st0: sync (240.00ns offset 8), 8-bit (4.166MB/s) transfers
boot device: ie0
root on ie0
nfs_boot: trying DHCP/BOOTP
nfs_boot: DHCP next-server: 192.168.7.52
nfs_boot: my_domain=home
nfs_boot: my_addr=192.168.7.41
nfs_boot: my_mask=255.255.255.0
nfs_boot: gateway=192.168.7.52
root on netra2:/clients/bimini/root
root file system type: nfs
[hang]


-- 
Matt Thomas                     email: matt@3am-software.com
3am Software Foundry              www: http://3am-software.com/bio/matt/
Cupertino, CA              disclaimer: I avow all knowledge of this message.