|
Namazu for hns による簡易全文検索 詳しくは 詳細指定/ヘルプを参照して下さい |
|||||||||||||||||||||||||||||||||||||||||||||||
2005年06月17日(金) 旧暦 [n年日記] [更新:"2005/06/18 22:43:38"]#1 [NetBSD][R1] PHS カードから発信に問題
一部で絶好調と伝えられた NetBSD/CF-R1 だけれど、PHS カード
から発信がうまく行かない(at で ok が返って来ない)。
cu -l /dev/dty03 -s 115200 Connected. Jun 17 12:04:12 lets /netbsd: cbb0: wait took too long 0.199996s Jun 17 12:04:12 lets /netbsd: com3 at pcmcia0 function 0: <HONDA ELECTRON, AH-H403C> Jun 17 12:04:12 lets /netbsd: com3: ns8250 or ns16450, no fifo Jun 17 12:04:27 lets /netbsd: cbb0: wait took too long 0.197610s Jun 17 12:06:48 lets /netbsd: com3 detached Jun 17 12:06:52 lets /netbsd: cbb0: wait took too long 0.199962s
sys/dev/pci/pccbb.c 1363 if (on) { 1364 int s, error = 0; 1365 struct timeval before, after, diff; 1366 1367 microtime(&before); 1368 s = splbio(); 1369 while (pwrcycle == sc->sc_pwrcycle) { 1370 /* 1371 * XXX: Set timeout to 200ms because power cycle event 1372 * will be never happen when attaching a 16-bit card. 1373 */ 1374 if ((error = tsleep(&sc->sc_pwrcycle, PWAIT, "pccpwr", 1375 hz / 5)) == EWOULDBLOCK) 1376 break; 1377 } 1378 splx(s); 1379 microtime(&after); 1380 timersub(&after, &before, &diff); 1381 printf("%s: wait took%s %ld.%06lds\n", sc->sc_dev.dv_xname, 1382 error == EWOULDBLOCK ? " too long" : "", 1383 diff.tv_sec, diff.tv_usec); 1384 }このカードは、陏分昔に NetBSD/macppc 1.6ZI 辺りで使ったものだから 動くはずなのだが (正確には、その時に使ったのは AH-H401 かも知れない)。 @ PR/26726:
itojun さんが報告している
PR/26726
が関係ありそう。
com3 at pcmcia0 function 0: <HONDA ELECTRON, AH-H403C> com3: ns8250 or ns16450, no fifoというのは、 sys/dev/ic/com.c の中の com_attach_subr が出している。それは sys/dev/pcmcia/com_pcmcia.c の次の行から呼ばれている 221 com_attach_subr(sc); @ with 'options PCMCIAVERBOSE' in kernel config:pcmcia0: CIS version PC Card Standard 8.0 @ patch to pcmciadevs:Index: pcmciadevs =================================================================== RCS file: /e/st4200/cvsync/src/sys/dev/pcmcia/pcmciadevs,v retrieving revision 1.211 diff -u -r1.211 pcmciadevs --- pcmciadevs 7 May 2005 16:59:11 -0000 1.211 +++ pcmciadevs 17 Jun 2005 23:55:09 -0000 @@ -112,6 +112,7 @@ vendor HAGIWARASYSCOM 0xc012 Hagiwara SYS-COM vendor RATOC 0xc015 RATOC System Inc. vendor NEXTCOM 0xc020 NextCom K.K. +vendor HONDAELEC 0xc036 Honda Electron vendor EMTAC 0xc250 EMTAC Technology Corporation vendor ELSA 0xd601 Elsa @@ -226,6 +227,9 @@ product FUJITSU LA501 0x2000 Fujitsu Towa LA501 Ethernet product FUJITSU WL110 0x2003 PEGA-WL110 Wireless LAN +/* Honda Electron Products */ +product HONDAELEC AHH403C 0x001a Honda Electron AH-H403C + /* IBM Products */ product IBM MICRODRIVE 0x0000 IBM Microdrive product IBM 3270 0x0001 IBM 3270 Emulationand cd dev/pcmcia; make -f Makefile.pcmciadev does N O T give any good change @ AH-H401C is OK, just AH-H403C is NG:
古い方のカードを使ったら、問題がない ;-(
( つっこみ )
|
最近の日記 2024年05月06日 ・py-setuptools (python 3.11.9) ・make release took 1 hours and 10 min ・qemu invocation for 10.99.10 2024年05月05日 ・Windows 10 version ・serial connection ・bc bench 2024年05月04日 ・Trial on 10.99.10 ・another version (later trial) to succeed 2024年04月29日 ・dkim 2024年03月10日 ・停電 (瞬電) | ||