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

Re: TDK 96M CF doesn't work?



あおやまです。アドバイスありがとうございます。

At Mon, 26 Jun 2000 11:29:28 +0900,
TAKEMURA Shin <takemura@netbsd.org> wrote:

> まずカードを 1 枚ずつさして、どちらが問題なのか確かめて
> 下さい。

TDK の CF のみをさしていても、デバッガに落ちることを確認しました。

> 次に、pbsdboot の options のテキストボックスに -d を指定して
> 起動し、すぐにデバッガに落ちたところで以下のようにデバッグ
> フラグを設定して起動してみてください。なにか有用な情報が
> 得られるかも知れません。
> 
> db> w pcmcia_debug 1
> db> w pcmciacis_debug 1
> db> c

TDK の CF のみをさして、上記の操作をしてブートしたときのログを末尾につ
けます。

> カーネルのソースコードに printf を入れて再コンパイルすれば
> 色々な情報が表示できますので、それで調べていってはどうで
> しょうか。

今日はここまでしかできませんでしがが、これからソースを入手してデバッグ
してみます。また不明な点が出てきたら質問すると思いますが、よろしくお願
いします。

=== ブート時のログ ===

Stopped in  at  cpu_Debugger+0x4:       jr      ra
                bdslot: cpu_Debugger+0x8:       nop
db> w pcmcia_debug 1
pcmcia_debug                     0 =        0x1
db> w pcmciacis_debug 1
pcmciacis_debug                  0 =        0x1
db> c
mem_cluster_cnt = 2
mem_clusters[0] = {0x0,0x676000}
mem_clusters[1] = {0x676000,0x198a000}
loading 0x676000,0x198a000
Copyright (c) 1996, 1997, 1998, 1999, 2000
    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.5_ALPHA (RAMDISK) #3: Thu Jun 22 12:04:42 PDT 2000
    matt@mp800.local:/other/kobj/hpcmips/RAMDISK
NEC MC-R300 (NEC VR4111 rev0.0 78.643MHz)
total memory = 32768 KB
avail memory = 23636 KB
using 435 buffers containing 1740 KB of memory
/other/anoncvs/src/sys/arch/hpcmips/vr/vr.c(294): vr_bus_reset() not implemented
.
mainbus0 (root)
cpu0 at mainbus0: NEC VR4100 CPU (0xc50) Rev. 5.0 with software emulated floatin
g point Rev. 0.0
cpu0: L1 cache: 16KB/16B instruction, 8KB/16B data, direct mapped
cpu0: No L2 cache
cpu0: install VR specific idle routine
bivideo0 at mainbus0: pseudo video controller
hpcfb0 at bivideo0: hpcrasops 640x240 pixels, 4 colors, 80x24 chars: tvram redra
w
wsdisplay0 at hpcfb0
wsdisplay0: screen 0 added (std, vt100 emulation)
vrip0 at mainbus0
vrcmu0 at vrip0 addr 0xb000060-0xb00007f
vrgiu0 at vrip0 addr 0xb000100-0xb00011f intr 8
button0 at vrgiu0 port=4 id=5 active=high sense=edge
button1 at vrgiu0 port=6 id=6 active=high sense=edge
pwctl0 at vrgiu0 port=14 id=0 on=1
pwctl1 at vrgiu0 port=45 id=4 on=1
pwctl2 at vrgiu0 port=10 id=5 on=1
vrbcu0 at vrip0 addr 0xb000000-0xb00001f
vrbcu: cpu 78.643MHz, bus 26.214MHz, ram 26.214MHz
com0 at vrip0 addr 0xc000000-0xc000007 intr 9: ns16550a, working fifo
com0: console
vrrtc0 at vrip0 addr 0xb0000c0-0xb0000df intr 2
vrkiu0 at vrip0 addr 0xb000180-0xb00019f intr 7
wskbd0 at vrkiu0 mux 1
vrpmu0 at vrip0 addr 0xb0000a0-0xb0000bf intr 1
vrpmu: Battery low during activation
vrpmu: Deadman's switch detected
vrdsu0 at vrip0 addr 0xb0000e0-0xb0000e7
vrpiu0 at vrip0 addr 0xb000120-0xb0002bf intr 5
wsmouse0 at vrpiu0 mux 0
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
pcmcia0 at pcic0 controller 0 socket 0
pcmcia1 at pcic0 controller 0 socket 1
pcmcia at pcic0 controller 1 socket 0 not configured
btnmgr0 at mainbus0
wskbd1 at btnmgr0 mux 1
/other/anoncvs/src/sys/arch/hpcmips/vr/vr.c(294): vr_bus_reset() not implemented
.
pcic0: using irq 589827 for socket events
 fixed, 8192 blockscis mem map b0070000
pcmcia0: CIS tuple chain:
CISTPL_DEVICE type=funcspec speed=ext
 01 04 df 4a 01 ff
unhandled CISTPL 1c
 1c 04 02 d9 01 ff
unhandled CISTPL 18
 18 02 df 01
CISTPL_MANFID
 20 04 01 05 01 04
CISTPL_VERS_1
 15 0b 04 01 54 44 4b 20 54 43 5f 4d ff
CISTPL_FUNCID
 21 02 04 01
unhandled CISTPL 22
 22 02 01 01
unhandled CISTPL 22
 22 03 02 0c 0f
CISTPL_CONFIG
 1a 05 01 03 00 02 0f
CISTPL_CFTABLE_ENTRY
 1b 08 c0 40 a1 01 55 08 00 20
CISTPL_CFTABLE_ENTRY
 1b 06 00 01 21 b5 1e 4d
CISTPL_CFTABLE_ENTRY
 1b 0a c1 41 99 01 55 64 f0 ff ff 20
CISTPL_CFTABLE_ENTRY
 1b 06 01 01 21 b5 1e 4d
CISTPL_CFTABLE_ENTRY
 1b 0f c2 41 99 01 55 ea 61 f0 01 07 f6 03 01 ee
 20
CISTPL_CFTABLE_ENTRY
 1b 06 02 01 21 b5 1e 4d
CISTPL_CFTABLE_ENTRY
 1b 0f c3 41 99 01 55 ea 61 70 01 07 76 03 01 ee
 20
CISTPL_CFTABLE_ENTRY
 1b 06 03 01 21 b5 1e 4d
CISTPL_NO_LINK
 14 00
CISTPL_END
 ff
trap: TLB miss (load or instr. fetch) in kernel mode
status=0xff03, cause=0x8, epc=0x801a2e30, vaddr=0x0
pid=2 cmd=pcic0,0,0 usp=0x0 ksp=0xc2bddd88
Stopped in pcic0,0,0 at strcmp: lbu     t0,0(a0)
db> trace
strcmp+0 (0,805d47e4,ffffffff,0) ra 80192e48 sz 0
ne_pcmcia_match+98 (0,805d47e4,ffffffff,0) ra 8018e56c sz 40
pcmcia_submatch+3c (0,805d47e4,ffffffff,0) ra 8006ac7c sz 24
8006ac1c+60 (0,805d47e4,ffffffff,0) ra 8006ad44 sz 32
config_search+9c (8018e530,805d47e4,c2bdded8,0) ra 8006ae70 sz 72
config_found_sm+30 (8018e530,805d47e4,c2bdded8,0) ra 8018e3bc sz 32
pcmcia_card_attach+104 (8018e530,805d47e4,c2bdded8,0) ra 8018c35c sz 48
pcic_attach_card+28 (8018e530,805d47e4,c2bdded8,0) ra 8018bc7c sz 24
pcic_event_thread+1bc (8018e530,805d47e4,c2bdded8,0) ra 80031c20 sz 64
mips3_proc_trampoline+8 (8018e530,805d47e4,c2bdded8,0) ra 0 sz 0
User-level: pid 2
db> c
trap: TLB miss (load or instr. fetch) in kernel mode
status=0xfc03, cause=0x108, epc=0x801576b4, vaddr=0x0
pid=2 cmd=pcic0,0,0 usp=0x0 ksp=0xc2bddcc8
Stopped in pcic0,0,0 at trap+0x2c4:     lw      a0,0(v1)
db> reboot
syncing disks... done
rebooting...

--
Kenji Aoyama / aoyama@nk.mcu.or.jp (at home, UUCP)