|
Namazu for hns による簡易全文検索 詳しくは 詳細指定/ヘルプを参照して下さい |
||||||||||||||||||||||||||||||||||||||||||||
2003年06月28日(土) 旧暦 [n年日記]#1 [Network] pppoe-server と 単なる pppoe の違いが( つっこみ )
#2 [Emacs] wl/namazu で検索結果が多い時に
そのうちの一部を表示することにすると、
最新のものからではなく、最古の方から表示する。
例えば 1-2000 のうち 500 を表示する時に、1501-2000 を表示してくれるが、多分これは 1-500 の方がいいと思う。 ( つっこみ )
#3 [NetBSD] macppc walkopenfirm
ずうっと昔に、
walkopenfirm.c
というのを作った人がいた。
これを今実行しようとすると、 ttyp0:root@h 8:30:03/030628(...macppc/walkopenfirm)# ./walkopenfirmになってしまう。一応それらしいものはまだ /dev には残っているが。 r--r--r-- 1 root wheel 53, 0 Jun 22 15:43 openfirm関係があるのは src/sys/dev/ofw/openfirmio.c かな。 ( つっこみ )
#4 [NetBSD] bind-9.2.2
/etc/rc.conf に
named=YES と書いておいても、name を起動してくれないので、
/etc/rc.d/named start と試すと、やはり何もしてくれないので、次のようにして見た。 tty00:root@h 9:10:48/030628(~)# diff /etc/rc.d/named{-sbin,} 15c15 < command="/usr/sbin/${name}" --- > command="/usr/pkg/sbin/${name}"というよりは、 /usr/pkg/etc/rc.d の下にある named9 を使うのが正しいのか。 ( つっこみ )
#5 [NetBSD] Promise PDC20276 irq 25 ?pciide0 at pci1 dev 3 function 0: Promise Ultra100/ATA Bus Master IDE Accelerator (rev. 0x02) # dd if=/dev/rwd0a of=/dev/null bs=64k ... ... Jun 28 11:11:29 h /netbsd: ex0: device timeout Jun 28 11:11:34 h /netbsd: pciide0:0:0: lost interrupt Jun 28 11:11:34 h /netbsd: type: ata tc_bcount: 65536 tc_skip: 0 Jun 28 11:11:34 h /netbsd: ex0: device timeout pciide0:0:0: lost interrupt type: ata tc_bcount: 65536 tc_skip: 0 Jun 28 11:11:39 h /netbsd: ex0: device timeout Jun 28 11:11:44 h /netbsd: pciide0:0:0: lost interrupt Jun 28 11:11:44 h /netbsd: type: ata tc_bcount: 65536 tc_skip: 0 Jun 28 11:11:44 h /netbsd: ex0: device timeout pciide0:0:0: lost interrupt type: ata tc_bcount: 65536 tc_skip: 0これは何かなぁ。試しに ex0 を機械から外して試すと、 # tty00:root@h 11:28:01/030628(~)# dd if=/dev/rwd0a of=/dev/null bs=64k 8000+0 records in 8000+0 records out 524288000 bytes transferred in 22.650 secs (23147373 bytes/sec)あれーっ、良く見ると irq がどちらも 25 機械は UMAX S900 PCI slot の左から Promise.(空).3Com905.(空).Video(空) となっている。 # dmesg | grep irqかにさんと DEC だと tlp0: interrupting at irq 25これって Open Firmware の問題 ? @ 604e/200 + 3Com905C-TX:pci1: i/o space, memory space enabled ex0 at pci1 dev 1 function 0: 3Com 3c905C-TX 10/100 Ethernet with mngmt (rev. 0x6c) ex0: interrupting at irq 25 trap type 200 at 1a73e4 Stopped in pid 0.1 (swapper) at netbsd:ex_reset+0x88: rlwinm 9,9,20,31,31 db> trace at ex_config+70 at ex_pci_attach+358 at config_attach+3c0 at config_found_sm+48 at pci_probe_device+220 at pci_enumerate_bus_generic+128 at pciattach+20c at config_attach+3c0 at config_found_sm+48 at ppbattach+f4 at config_attach+3c0 at config_found_sm+48 at pci_probe_device+220 at pci_enumerate_bus_generic+128 at pciattach+20c at config_attach+3c0 at config_found_sm+48 at bandit_attach+194 at config_attach+3c0 at config_found_sm+48 at mainbus_attach+12c at config_attach+3c0 at config_rootfound+5c at cpu_configure+74 at configure+44 at main+388 at 0x100090 db> reboot rebooting EXIT called ok 0 > exit trap type 700 at ff805644 Stopped in pid 0.1 (swapper) at 0xff805644: .long 0xff80f540 db> trace at ADBDevTable+81add1c8 at ADBDevTable+12da4cc saved LR(0xdedededa) is invalid. db> @ pci_intr_string:
はどこで定義しているのかなぁ。
sys/arch/macppc/pci/pci_machdep.c: 232 pci_intr_string(pc, ih) 233 pci_chipset_tag_t pc; 234 pci_intr_handle_t ih; 235 { 236 static char irqstr[8]; /* 4 + 2 + NULL + sanity */ 237 238 if (ih == 0 || ih >= ICU_LEN) 239 panic("pci_intr_string: bogus handle 0x%x", ih); 240 241 sprintf(irqstr, "irq %d", ih); 242 return irqstr; 243 } 244これは探しているものとは違う..ih が問題で、それは呼ぶ方に入っている。 @ sys/dev/pci/pciide.c:895 if (sc->sc_pci_ih == NULL) { 896 if (pci_intr_map(pa, &intrhandle) != 0) { 897 printf("%s: couldn't map native-PCI interrupt\n", 898 sc->sc_wdcdev.sc_dev.dv_xname); 899 return 0; 900 } 901 intrstr = pci_intr_string(pa->pa_pc, intrhandle); @ sys/arch/macppc/pci/pci_machdep.c:181 int 182 pci_intr_map(pa, ihp) 183 struct pci_attach_args *pa; 184 pci_intr_handle_t *ihp; 185 { 186 int pin = pa->pa_intrpin; 187 int line = pa->pa_intrline; 188 @ sys/dev/pci/pci.c:265 intr = pci_conf_read(pc, tag, PCI_INTERRUPT_REG); 311 pin = PCI_INTERRUPT_PIN(intr); 321 pa.pa_intrpin = /* XXX */ 322 ((pin + pa.pa_intrswiz - 1) % 4) + 1; @ sys/arch/macppc/pci/pci_machdep.c:161 pci_conf_read(pc, tag, reg) 162 pci_chipset_tag_t pc; 163 pcitag_t tag; 164 int reg; 165 { 166 167 return (*pc->conf_read)(pc, tag, reg); @ bandit:103 pc->conf_read = bandit_conf_read; 148 bandit_conf_read(pc, tag, reg) ( つっこみ )
#6 [politics] 「電子政府構築計画(案)」に関するパブリックコメントの募集( つっこみ )
|
最近の日記 2024年04月29日 ・dkim 2024年03月10日 ・停電 (瞬電) 2024年03月03日 ・the second try on bare-metal ・useradd 2024年02月29日 ・opendkim and senmail 2024年01月24日 ・chat/iam 0.0.8 | ||