[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[pbsd-mg2] Re: cache problem again



 | pbsdboot.exe で debug info. を load すると init が読み込めなくなって
 | 起動しなくなると言っていた件ですが、boot loader の問題ではなさそうなので、
 | pbsdboot.exe を commit しました。
 | 
 | #話の順番が逆になってしまいますが、R320 対応は debug info の load
 | の後です。
 | 
 | まず、本日 cvs update したカーネルでは、debug info. の load をしても、
 | しなくて、ブートできませんでした。load すると init を読み込んだ後 hung up
 | し、load しないと init が見つからず panic します。

 今日、checkoutしてきたpbsdboot.exeとGENERICのkernelでMC-R300と
Freestyleでブートしてみましたが特に問題ないんですけど...
 デバッガからもシンボルが参照できてます。
(下のログはボタンにDebuggerをしかけてあります。)
このブートに使ったkernelは、ftp://f77.nop.or.jp/users/uch/NetBSD/hpcmips/netbsd
に置いてあります。

---
UCHIYAMA Yasushi
uch@nop.or.jp 


Connected.
Copyright (c) 1996, 1997, 1998, 1999
    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 1.3I (GENERIC) #1: Sun Aug 15 01:45:11 JST 1999
    uch@anko:/work/netbsd/hpcmips/sys-1.3I/arch/hpcmips/compile/GENERIC
NEC VR4111 rev0.0
real mem  = 8388608
avail mem = 5627904
using 204 buffers containing 835584 bytes of memory
../../../../arch/hpcmips/vr/vr.c(156): vr_bus_reset() not implemented.
mainbus0 (root)
cpu0 at mainbus0: cpu0: NEC VR4100 CPU Rev. 5.0 with software emulated floating point Rev. 0.0
cpu0: L1 cache: 16kb/16b Instruction, 8kb/16b Data, direct mapped
cpu0: No L2 cache
vrip0 at mainbus0
vrcmu0 at vrip0 addr 0xb000060-0xb00007f
vrgiu0 at vrip0 addr 0xb000100-0xb00011f intr 8vrip_intr_setmask2:
level1[8] level2 mask:......................||.|||..||
Output-port:,,,,,,,,,,,,,,,,;;,,;;;;;;;;;;;;|.|..||.......||.|..||..........
gpbus0 at vrgiu0 comctrl=14 button=[-1 4 6 -1 -1 -1 -1 -1 -1 -1 -1 -1]
vrip_intr_setmask2:
level1[8] level2 mask:................................
vrip_intr_setmask2:
level1[8] level2 mask:...........................|....
vrisab0 at vrgiu0:ISA port 0x14000000-0x18000000 mem 0x10000000-0x20000000
isa0 at vrisab0
pcic0 at isa0 port 0x3e0-0x3e1 iomem 0x70000-0x73fff irq 589827
pcic0: controller 0 (Intel 82365SL Revision 1) has sockets A and B
pcic0: controller 1 (Intel 82365SL Revision 1) has socket A only
ISA IRQ 3 -> GPIO port 9
vrip_intr_setmask2:
level1[8] level2 mask:.........................|.|....
pcmcia0 at pcic0 controller 0 socket 0
pcmcia1 at pcic0 controller 0 socket 1
pcmcia1: CIS version PCMCIA 2.0 or 2.1
pcmcia1: CIS info: HAGIWARA, FLASH, 4.0
pcmcia1: Manufacturer code 0xc012, product 0x0
pcmcia1: function 0: fixed disk, ccr addr 200 mask f
pcmcia1: function 0, config table entry 0: memory card; irq mask 0; memspace 0-7ff0; powerdown
pcmcia1: function 0, config table entry 1: I/O card; irq mask ffff; iomask 4, iospace 0-f; memspace 0-7ff0; powerdown
pcmcia1: function 0, config table entry 2: I/O card; irq mask 4000; iomask a, iospace 1f0-1f7 3f6-3f7; memspace 0-7ff0; powerdown
pcmcia1: function 0, config table entry 3: I/O card; irq mask 4000; iomask a, iospace 170-177 376-377; memspace 0-7ff0; powerdown
wdc0 at pcmcia1 function 0 port 0x14000330-0x1400033f
isa_intr_alloc:............................|...
vrip_intr_setmask2:
level1[8] level2 mask:......................|..|.|....
pcmcia1: card irq 3
wd0 at wdc0 channel 0 drive 0: <HAGIWARA HPC-CF32X>
wd0: drive supports 1-sector pio transfers, lba addressing
wd0: 30MB, 492 cyl, 4 head, 32 sec, 512 bytes/sect x 62976 sectors

pcmcia2 at pcic0 controller 1 socket 0
com0 at vrip0 addr 0xc000000-0xc000007 intr 9: ns16550a, working fifo
com0: console
vrip_intr_setmask2:
vrrtc0 at vrip0 addr 0xb0000c0-0xb0000df intr 2vrip_intr_setmask2:

vrbcu0 at vrip0 addr 0xb000000-0xb00001f
vrkiu0 at vrip0 addr 0xb000180-0xb00019f intr 7vrip_intr_setmask2:
level1[7] level2 mask:.............||.
vrip_intr_setmask2:
level1[7] level2 mask:................

../../../../arch/hpcmips/vr/vr.c(156): vr_bus_reset() not implemented.
boot device: wd0
root on wd0a dumps on wd0b
isa_intr_alloc:............................|...
vrip_intr_setmask2:
level1[8] level2 mask:......................|..|.|....
pcmcia1: card irq 3
isa_intr_alloc:............................|...
vrip_intr_setmask2:
level1[8] level2 mask:......................|..|.|....
pcmcia1: card irq 3
WARNING: preposterous clock chip time
 -- CHECK AND RESET THE DATE!
root file system type: ffs
Enter pathname of shell or RETURN for sh: 
Terminal type? ^C
# exit
swapctl: adding /dev/wd0b as swap device at priority 0
/dev/wd0a: file system not clean (fs_flags=4); please fsck(8)
setting tty flags
starting network
configuring network interfaces:.
dmesg: /netbsd: No such file or directory
starting system logger
checking for core dump...
savecore: /netbsd: kvm_openfiles: /netbsd: No such file or directory
starting rpc daemons: portmap.
/dev/wd0a: file system not clean (fs_flags=4); please fsck(8)
starting nfs daemons:.
setting securelevel: kern.securelevel: 0 -> 1
checking quotas: done.
building databases...
kvm_mkdb: /netbsd: No such file or directory
clearing /tmp
Aug 15 00:47:19  savecore: /netbsd: kvm_openfiles: /netbsd: No such file or directory
updating motd.
standard daemons: update cron.
starting network daemons: inetd.
starting local daemons:.
Sun Aug 15 00:47:25 GMT 1999

NetBSD/hpcmips (Amnesiac) (console)

login: root
Last login: Sun Aug 15 00:35:54 1999 on console
Aug 15 00:47:30  login: ROOT LOGIN (root) ON console
Aug 15 00:47:30  login: ROOT LOGIN (root) ON console
Copyright (c) 1996, 1997, 1998, 1999
        The NetBSD Foundation, Inc.  All rights reserved.
Copyright (c) 1980, 1983, 1986, 1988, 1990, 1991, 1993, 1994
        The Regents of the University of California.  All rights reserved.

NetBSD 1.3I (GENERIC) #1: Sun Aug 15 01:45:11 JST 1999

Welcome to NetBSD!

Terminal type? [unknown] 
tset: terminal type unknown is unknown
Terminal type? ^C
# button...........................|....
Stopped at      Debugger+0x4:   jr      ra
db> trace
Debugger+4 (c0006400,8,59fc,0) ra 8012c40c sz 0
gpbus_button_intr+74 (c0006400,8,59fc,0) ra 8012c2bc sz 32
vrgiu_intr+74 (c0006400,8,59fc,0) ra 8012afe4 sz 48
vrip_intr+9c (c0006400,8,59fc,0) ra 801269c8 sz 40
vr_intr+68 (c0006400,8,59fc,0) ra 0 sz 32
User-level: curproc NULL
db> cont
Aug 15 00:47:34  /netbsd: button...........................|....

# sync
# uname -a
NetBSD  1.3I NetBSD 1.3I (GENERIC) #1: Sun Aug 15 01:45:11 JST 1999     uch@anko:/work/netbsd/hpcmips/sys-1.3I/arch/hpcmips/compile/GENERIC hpcmips
# halt
Aug 15 00:51:05  halt: halted by root
Aug 15 00:51:05  halt: halted by root
Aug 15 00:51:05  syslogd: exiting on signal 15
Aug 15 00:51:05  syslogd: exiting on signal 15
syncing disks... 4 4 1 done
halted.

../../../../arch/hpcmips/hpcmips/machdep.c(775): prom_halt() is not implemented