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

trap .. (Re: F2 get power and date off (Re: iBook/sleep ?))



>                                            千葉市中央区長洲
>                                                    藤原  誠
椿井さん> たぶんこんな感じでいいと思いますが、このコードどこに入れれば

椿井さん> *** abtn.c~	Fri Mar 30 02:44:50 2001
椿井さん> --- abtn.c	Mon Apr  9 00:24:05 2001

これを、2001-04-12 の日付の 
NetBSD/NetBSD-current/tar_files/src/sys.tar.gz
に当てて作ったもの (例によって insecure だけは追加)
は、次のように trap してしまいます。
(作ったのは iBook/1.5_ALPHA=userland 1.5E=libc 1.5K= kernel です)
....
zstty1 at zsc0 channel 1
adb0 at obio0 offset 0x16000 irq 47: 3 targets
aed0 at adb0 addr 0: ADB Event device
akbd0 at adb0 addr 2: PowerBook G3 keyboard (Japanese layout)
wskbd0 at akbd0: console keyboard, using wsdisplay0
ams0 at adb0 addr 3: EMP trackpad <tpad> 2-button, 400 dpi
ams0 at adb0 addr 3: EMP trackpad <tpad> 2-button, 400 dpi
wsmounse0 at ams0
trap type 200 at 3447ec
Stopped in pid 0 (swapper) at   ams_disable+0x64:    eieio
db> trace
at config_attach+38c
at config_found_sm+48
at zsstop+1058
at conifig_attach+38cspurious interrupt
■
at config_found_sm+48
at gmac_mii_tick+2b4
at config_attach+38c
at config_found_sm+48
at pci_probe_bus+240
at pciattach+1f8
at config_attach+38c
at config_found_sm+48spurious interrupt
■
at uninorth_attach+208
at config_attach+38c
at config_found_sm+48
at mainbus_attach+134
at config_attach+38c
at config_rootfound+5c
at cpu_configure+24spurious interrupt
■
at configure+60
at main+408
at __start+90
db> next
After 16 instructions (0 loads, 0 stores),
Stopped in pid  0 (swapper) at SetADBInfo:  stwu r1, r1, -0xfff0,
db>

---
(藤原)
http://www.ki.nu/software/NetBSD/iBook2/