Subject: Re: evbppc reserved-tlb cleanup
To: None <>
From: Masao Uebayashi <>
List: port-powerpc
Date: 10/09/2006 16:07:09
Content-Type: Text/Plain; charset=us-ascii
Content-Transfer-Encoding: 7bit

> I patched that.  My OpenBlockS266 booted, doesn't panic.  ;-)
> However I don't test on other boards.

Hmm.  My board did panic.  The log attached.

Some executables linked with shared libraries (e.g., /bin/sh) didn't
work.  /rescue/sh and some executables worked.

Content-Type: Message/Rfc822
Content-Transfer-Encoding: 7bit
Content-Disposition: inline

Script started on Mon Oct  9 15:51:43 2006
$ tip U0-9600


Copyright (c) 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004, 2005, 2006
    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 4.99.3 (obj.OPENBLOCKS266) #2: Mon Oct  9 15:53:32 JST 2006
Model: OpenBlockS266 IBM PowerPC 405GPr Board
total memory = 65536 KB
avail memory = 61424 KB
plb0 (root)
cpu0 at plb0: 266MHz 405GPr (PVR 0x50910951)
cpu0: Instruction cache size 16384 line size 32
cpu0: Data cache size 16384 line size 32
ecc0 at plb0 irq 16: ECC controller
opb0 at plb0
com0 at opb0 addr 0xef600300 irq 0: ns16550a, working fifo
com0: console
com1 at opb0 addr 0xef600400 irq 1: ns16550a, working fifo
emac0 at opb0 addr 0xef600800 irq 9: 405GP EMAC
emac0: interrupting at irqs 9 .. 15
emac0: Ethernet address 00:0a:85:XX:XX:XX
lxtphy0 at emac0 phy 0: LXT971/2 10/100 media interface, rev. 2
lxtphy0: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto
opbgpio0 at opb0 addr 0xef600700: On-Chip GPIO controller
gpio0 at opbgpio0: 24 pins
gpiic0 at opb0 addr 0xef600500 irq 2: On-Chip IIC controller
iic0 at gpiic0: I2C bus
xrtc0 at iic0 addr 0x6f: Xicor X1226 Real-time Clock/NVRAM
wdog0 at opb0: 4 second period
pchb0 at plb0
pchb0: IBM PPC 405GP PCI Bridge (rev. 0x21)
pci0 at pchb0
pci0: i/o space, memory space enabled
IBM PPC 405GP PCI Bridge (host bridge, revision 0x21) at pci0 dev 0 function 0 not configured
hptide0 at pci0 dev 3 function 0
hptide0: Triones/Highpoint HPT371 IDE Controller
hptide0: bus-master DMA support present
hptide0: primary channel wired to native-PCI mode
hptide0: using irq 30 for native-PCI interrupt
atabus0 at hptide0 channel 0
hptide0: secondary channel wired to native-PCI mode
atabus1 at hptide0 channel 1
tlp0 at pci0 dev 4 function 0: Davicom DM9102A Ethernet, pass 4.0
tlp0: broken MicroWire interface detected; setting SROM size to 1Kb
tlp0: interrupting at irq 31
tlp0: Ethernet address 00:0a:85:XX:XX:XX
dmphy0 at tlp0 phy 1: DM9102 10/100 media interface, rev. 1
dmphy0: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto
biomask 1c02 netmask 1c03 ttymask 1c03
Setting PIT to 266666666/100 = 2666666
root on emac0
nfs_boot: trying DHCP/BOOTP
emac0: device timeout (txfree 243 txsfree 58 txnext 17)
nfs_boot: timeout...
nfs_boot: DHCP next-server:
nfs_boot: my_domain=my.home
nfs_boot: my_addr=
nfs_boot: my_mask=
nfs_boot: timeout...
root on
root time: 0x4529f243
warning: no /dev/console
init: copying out path `/sbin/init' 11
init: Creating mfs /dev (410 blocks, 1024 inodes)
Undefined symbol "_ctypeW" referenced from COPY relocation in sh
init: Unable to run MAKEDEV: Invalid argument
Enter pathname of shell or RETURN for /bin/sh: 
Undefined symbol "_ctypeW" referenced from COPY relocation in -sh
panic: uvm_unmap_remove: has mapping
Stopped in pid 14.1 (sh) at     netbsd:cpu_Debugger+0x10:       lwz     r0, r1, 0
db> bt
0x86967d40: at panic+0x1b4
0x86967d90: at uvm_unmap_remove+0x380
0x86967df0: at uvmspace_free+0xa8
0x86967e20: at uvm_proc_exit+0x48
0x86967e50: at exit1+0x194
0x86967ec0: at sys_exit+0x3c
0x86967ee0: at syscall_plain+0x1d8
0x86967f40: user SC trap #1 by 0x4183a38c: srr1=0xc030
            r1=0xfffeade0 cr=0x22000042 xer=0 ctr=0 esr=0x800000 pid=0x7
db> ~
Script done on Mon Oct  9 15:55:15 2006