[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
TDK 96M CF doesn't work?
- Subject: TDK 96M CF doesn't work?
- From: Kenji Aoyama / 青山健治<aoyama@nk.mcu.or.jp>
- To: port-hpcmips-ja@jp.netbsd.org
- Date: Sat, 24 Jun 2000 19:19:28 +0900
- Message-ID: <14676.35632.270646.72159A@robby.nk.mcu.or.jp>
- Delivered-To: mailing list port-hpcmips-ja@jp.netbsd.org
- Mailing-List: contact port-hpcmips-ja-help@jp.netbsd.org; run by ezmlm-idx
- User-Agent: Wanderlust/1.0.3 (Notorious) SEMI/1.13.4 (Terai) FLIM/1.12.7(Yūzaki) MULE/2.3 (SUETSUMUHANA) (based on Emacs 19.34)
はじめまして、あおやまと申します。
しばらくディスクレス環境で遊んでいたのですが、TDK の Compact Flash を
入手したので、出来立ての 1.5_ALPHA snapshot (2000-06-20版)をインストー
ルしようとしたところブート途中でデバッガに落ちてしまいました。
環境は以下の通りです。シリアルコンソールでとったログと、FreeBSD 4.0 で
とった TDK Compact Flash の pccardc dumpcis の結果をを末尾につけます。
本体 : MobileGearII MC-R300(RAM 32MB)
PCMCIA スロット: Corega Ether PCC-T
CF スロット : TDK Compact Flash TC096MS (96M)
pbsdboot.exe : 20000620-1.5/installation にあったもの
カーネル : 20000620-1.5/installation にあったもの
Corega のカードはディスクレス環境で動作していたものなので、今回追加し
た TDK の Compact Flash が認識されていないようです。
ソースのどこかにこのカードの定義を書き加えれば済むのならいじってみよう
と思いますが、(認識できないのではなく)いきなりデバッガに落ちているのが
気になります。
どこが怪しいのかヒントを頂ければ幸いです。
=== ブート時のログ ===
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 redraw
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: 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 blockstrap: 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> cont
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...
=== pccardc dumpcis の結果 ===
Configuration data for card in slot 0
Tuple #1, code = 0x1 (Common memory descriptor), length = 4
000: df 4a 01 ff
Common memory device information:
Device number 1, type Function specific, WPS = ON
Speed = 4.0 x 100 ns, Memory block size = 2Kb, 1 units
Tuple #2, code = 0x1c (Other conditions for common memory), length = 4
000: 02 d9 01 ff
(3V card)
Tuple #3, code = 0x18 (JEDEC descr for common memory), length = 2
000: df 01
Tuple #4, code = 0x20 (Manufacturer ID), length = 4
000: 01 05 01 04
PCMCIA ID = 0x501, OEM ID = 0x401
Tuple #5, code = 0x15 (Version 1 info), length = 11
000: 04 01 54 44 4b 20 54 43 5f 4d ff
Version = 4.1, Manuf = [TDK TC_M],card vers = []
Addit. info = (このあたりコントロールコードが大量に入っているので略)
Tuple #6, code = 0x21 (Functional ID), length = 2
000: 04 01
Fixed disk card - POST initialize
Tuple #7, code = 0x22 (Functional EXT), length = 2
000: 01 01
Modem interface capabilities:
Tuple #8, code = 0x22 (Functional EXT), length = 3
000: 02 0c 0f
Data modem services available:
Tuple #9, code = 0x1a (Configuration map), length = 5
000: 01 03 00 02 0f
Reg len = 2, config register addr = 0x200, last config = 0x3
Registers: XXXX----
Tuple #10, code = 0x1b (Configuration entry), length = 8
000: c0 40 a1 01 55 08 00 20
Config index = 0x0(default)
Interface byte = 0x40 (memory) +RDY/-BSY active
Vcc pwr:
Nominal operating supply voltage: 5 x 1V
Memory space length = 0x8
Max twin cards = 0
Misc attr: (Power down supported)
Tuple #11, code = 0x1b (Configuration entry), length = 6
000: 00 01 21 b5 1e 4d
Config index = 0x0
Vcc pwr:
Nominal operating supply voltage: 3 x 1V, ext = 0x1e
Max current average over 10 ms: 4.5 x 10mA
Tuple #12, code = 0x1b (Configuration entry), length = 10
000: c1 41 99 01 55 64 f0 ff ff 20
Config index = 0x1(default)
Interface byte = 0x41 (I/O) +RDY/-BSY active
Vcc pwr:
Nominal operating supply voltage: 5 x 1V
Card decodes 4 address lines, full 8/16 Bit I/O
IRQ modes: Level, Pulse
IRQ level = 4
Max twin cards = 0
Misc attr: (Read-only) (Power down supported) (Ext byte = 0xff)
Tuple #13, code = 0x1b (Configuration entry), length = 6
000: 01 01 21 b5 1e 4d
Config index = 0x1
Vcc pwr:
Nominal operating supply voltage: 3 x 1V, ext = 0x1e
Max current average over 10 ms: 4.5 x 10mA
Tuple #14, code = 0x1b (Configuration entry), length = 15
000: c2 41 99 01 55 ea 61 f0 01 07 f6 03 01 ee 20
Config index = 0x2(default)
Interface byte = 0x41 (I/O) +RDY/-BSY active
Vcc pwr:
Nominal operating supply voltage: 5 x 1V
Card decodes 10 address lines, full 8/16 Bit I/O
I/O address # 1: block start = 0x1f0 block length = 0x8
I/O address # 2: block start = 0x3f6 block length = 0x2
IRQ modes: Level, Pulse, Shared
IRQ level = 14
Max twin cards = 0
Misc attr: (Power down supported)
Tuple #15, code = 0x1b (Configuration entry), length = 6
000: 02 01 21 b5 1e 4d
Config index = 0x2
Vcc pwr:
Nominal operating supply voltage: 3 x 1V, ext = 0x1e
Max current average over 10 ms: 4.5 x 10mA
Tuple #16, code = 0x1b (Configuration entry), length = 15
000: c3 41 99 01 55 ea 61 70 01 07 76 03 01 ee 20
Config index = 0x3(default)
Interface byte = 0x41 (I/O) +RDY/-BSY active
Vcc pwr:
Nominal operating supply voltage: 5 x 1V
Card decodes 10 address lines, full 8/16 Bit I/O
I/O address # 1: block start = 0x170 block length = 0x8
I/O address # 2: block start = 0x376 block length = 0x2
IRQ modes: Level, Pulse, Shared
IRQ level = 14
Max twin cards = 0
Misc attr: (Power down supported)
Tuple #17, code = 0x1b (Configuration entry), length = 6
000: 03 01 21 b5 1e 4d
Config index = 0x3
Vcc pwr:
Nominal operating supply voltage: 3 x 1V, ext = 0x1e
Max current average over 10 ms: 4.5 x 10mA
Tuple #18, code = 0x14 (No link), length = 0
Tuple #19, code = 0xff (Terminator), length = 0
2 slots found
--
Kenji Aoyama / aoyama@nk.mcu.or.jp (at home, UUCP)