Re: MVME177 panic: pmap_enter_ptpage (PR #45915 on 6.x)
Andrew Gillham <[email protected]> Tue, 17 Sep 2013 10:10:47 -0700
| Newsgroups | gmane.os.netbsd.ports.mvme68k,gmane.os.netbsd.ports.m68k |
|---|---|
| Message-ID | <CAM3EeKe0ng_nARhHopEUJu7ROJLqWhY3SfCajtUHijdqY_M8mQ@mail.gmail.com> |
On Tue, Sep 17, 2013 at 6:40 AM, Izumi Tsutsui <[email protected]> wrote: > > Wow. I'm really glad that we still have a real mvme68k user! I also have a MVME167 board, but I'm not sure the ethernet works as I haven't been able to get any packets out of it. > With a quick glance, probably we can move physmem (and other) > calculations to the top of the function. (patch attached) The kernel you built for me booted right up. That patch seems good. Thank you. (dmesg below) > Probably it's my fault on switching to MI libsa changes after 5.0: > http://mail-index.netbsd.org/source-changes/2011/01/02/msg016539.html > > All BUGs binaries are converted to raw binaries by objdump -O binary, > so I guess we explicitly have to link SRT0.o (which has an entry point) > first. (patch attached too) I tried the netboot too but it didn't work. It was a bit odd. Part of it was dumped to the console. It looks like starting at offset 0x4F7A (20,346) it dumped to the console. Here's the first bit of console output: Network Boot File load in progress... To abort hit <BREAK> Bytes Received =&23784, Bytes Loaded =&23784 Bytes/Second =&23784, Elapsed Time =1 Second(s) [a bunch of unprintable...]NOp @Nu>> %s MVME%x netboot (via %s) [%s] sbootboot: %s: %s boot: ERROR: ethernet address not set!netie%d: ie_probe called ie%d: send %d to %x:%x:%x:%x:%x:%x ie%d: ie_match --> %d ie%d: ie_match --> 0 ie%d: unknown errorie%d: ie_reset called ie%d: ie_init called device: %s%d attached to %s Thank you for your help! I have it booted on your kernel with 6.1.1 userland (via NFS) and it is working great. I'll apply the patch to my local sources and cross build a kernel. -Andrew ###### dmesg ###### Copyright (c) 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010, 2011, 2012 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 6.1 (GENERIC) #0: Tue Sep 17 22:20:16 JST 2013 tsutsui@mirage:/r/work/netbsd-6/src/sys/arch/mvme68k/compile/GENERIC Motorola MVME-177: 50.0MHz MC68060 CPU+MMU+FPU, 8k+8k on-chip physical I/D caches total memory = 65536 KB avail memory = 60952 KB timecounter: Timecounters tick every 10.000 msec 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:xx:xx:xx, 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 memc at mainbus0 address 0xfff43100 not configured timecounter: Timecounter "clockinterrupt" frequency 100 Hz quality 0 timecounter: Timecounter "pcctwo_count" frequency 1000000 Hz quality 100 scsibus0: waiting 2 seconds for devices to settle... boot device: ie0 root on ie0 nfs_boot: trying DHCP/BOOTP