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

Re: panic when DIAGNOSTIC is defined



Tsubai Masanari <tsubai@iri.co.jp> wrote:

Tsubai> ADB のドライバーってはっきりいって理解不能なんですが、:-)

確かにかなりごちゃごちゃしていますね。仕様がもっときちんと公
開されていればいいんですけど。

>> panic: kernel diagnostic assertion "wskbd_console_device
>> == NULL" failed: file "../../../../dev/wscons/wskbd.c",
>> line 318

Tsubai> これだけなら wskbd を複数 config しなければ回避でき
Tsubai> るんじゃないかと思います。

Tsubai> wskbd0 at ...

Tsubai> とか。akbd も akbd0 だけで大丈夫だったと思います。

はい、これでいけました。ただ、やはりキーボードが1つしかない
のに2つプローブされています。adbドライバの動きが変みたいです。

NetBSD 1.3I (AZARIN) #17: Mon Dec 21 00:17:08 JST 1998
    kei@azarin:/var/src/sys/arch/macppc/compile/AZARIN
CPU: 604ev (Revision 204)
real mem  = 33554432
avail mem = 24571904
using 1200 buffers containing 4915200 bytes of memory
mainbus0 (root)
cpu0 at mainbus0
pci0 at mainbus0 bus 0
pci0: i/o enabled, memory enabled
pchb0 at pci0 dev 11 function 0
pchb0: Apple Computer Bandit PCI Controller (rev. 0x03)
ne0 at pci0 dev 13 function 0: RealTek 8029 Ethernet
ne0: 10base2, 10baseT, 10baseT-FDX, auto, default auto
ne0: Ethernet address 00:00:e8:d8:51:35
ne0: interrupting at irq 23
obio0 at pci0 dev 16 function 0: addr 0xf3000000
mesh0 at obio0 offset 0x10000 irq 12: MESH SCSI ID 7
scsibus0 at mesh0: 8 targets, 1 luns per target
sd0 at scsibus0 targ 0 lun 0: <IBM, DDRS-34560, S97B> SCSI2 0/direct fixed
sd0: 4357MB, 8387 cyl, 5 head, 212 sec, 512 bytes/sect x 8925000 sectors
sd1 at scsibus0 targ 1 lun 0: <IBM, DORS-32160, WA6A> SCSI2 0/direct fixed
sd1: 2063MB, 6703 cyl, 5 head, 126 sec, 512 bytes/sect x 4226725 sectors
zsc0 at obio0 offset 0x13000: irq 15,16
zstty0 at zsc0 channel 0
zstty1 at zsc0 channel 1
awacs at obio0 offset 0x14000 not configured
swim3 at obio0 offset 0x15000 not configured
nvram0 at obio0 offset 0x60000
ata at obio0 offset 0x20000 not configured
ata at obio0 offset 0x21000 not configured
adb0 at obio0 offset 0x16000 irq 18: 3 targets
aed0 at adb0 addr 0: ADB Event device
akbd0 at adb0 addr 2: extended keyboard
wskbd0 at akbd0: console keyboard
ams0 at adb0 addr 3: 1-button, 100 dpi mouse
wsmouse0 at ams0
adb0 addr 2: mapped device (2) not configured
ofb0 at pci0 dev 17 function 0: 1280 x 1024, 8bpp
wsdisplay0 at ofb0: console (std, vt100 emulation)
ppb0 at pci0 dev 20 function 0: Digital Equipment DECchip 21052 PCI-PCI Bridge (rev. 0x01)
pci at ppb0 bus 1 not configured
wscons: wskbd0 glued to wsdisplay0 (console)
boot device: sd0
root on sd0a dumps on sd0b
root file system type: ffs