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

[debian-users:19815] Re: DHCP が一回しか動きません



おぎそさん、レスありがとうございます。

At 23:37 1999/12/27 , おぎそさん wrote:
> ifconfig で確認したらどうなっていたのでしょうか。
> cardctl insert した後、dmesg でネットワークカードとして
> 認識されたメッセージが新たに出てますでしょうか。

調べてみました。dmesgの内容は以下のようになっていました。

[この辺はあんまり関係無いかな ?]
Linux version 2.2.13 (root@katsuno-note) (gcc version 2.95.2 19991109 (Debia
n GNU/Linux)) #1 Mon Dec 27 11:03:50 JST 1999
Detected 399929464 Hz processor.
Console: colour VGA+ 80x25
Calibrating delay loop... 397.31 BogoMIPS
Memory: 128040k/130944k available (872k kernel code, 412k reserved, 1584k da
ta, 36k init)
CPU: Intel Mobile Pentium II stepping 0d
Checking 386/387 coupling... OK, FPU using exception 16 error reporting.
Checking 'hlt' instruction... OK.
POSIX conformance testing by UNIFIX
PCI: PCI BIOS revision 2.10 entry at 0xfedce
PCI: Using configuration type 1
PCI: Probing PCI hardware
Linux NET4.0 for Linux 2.2
Based upon Swansea University Computer Society NET3.039
NET4: Unix domain sockets 1.0 for Linux NET4.0.
NET4: Linux TCP/IP 1.0 for NET4.0
IP Protocols: ICMP, UDP, TCP, IGMP
Starting kswapd v 1.5 
Detected PS/2 Mouse Port.
Serial driver version 4.27 with no serial options enabled
ttyS00 at 0x03f8 (irq = 4) is a 16550A
pty: 256 Unix98 ptys configured
apm: BIOS version 1.2 Flags 0x02 (Driver version 1.9)
PIIX4: IDE controller on PCI bus 00 dev 29
PIIX4: not 100% native mode: will probe irqs later
    ide0: BM-DMA at 0xfe60-0xfe67, BIOS settings: hda:DMA, hdb:pio
    ide1: BM-DMA at 0xfe68-0xfe6f, BIOS settings: hdc:pio, hdd:pio
hda: TOSHIBA MK8113MAT, ATA DISK drive
ide0 at 0x1f0-0x1f7,0x3f6 on irq 14
hda: TOSHIBA MK8113MAT, 7815MB w/0kB Cache, CHS=996/255/63, UDMA
Floppy drive(s): fd0 is 1.44M
FDC 0 is an 8272A
PPP: version 2.3.7 (demand dialling)
TCP compression code copyright 1989 Regents of the University of California
PPP line discipline registered.
Partition check:
 hda: hda1 hda2 < hda5 hda6 hda7 >
VFS: Mounted root (ext2 filesystem) readonly.
Freeing unused kernel memory: 36k freed
Adding Swap: 64224k swap-space (priority -1)

[PCMCIA-CSの起動部分]
Linux PCMCIA Card Services 3.1.8
  kernel build: 2.2.13 unknown
  options:  [pci] [cardbus] [apm]
Intel PCIC probe: 
  Toshiba ToPIC97 PCI-to-CardBus at bus 0 slot 11, mem 0x68000000, 2 sockets
    host opts [0]: [slot 0xf0] [ccr 0x10] [cdr 0x86] [rcr 0x02] [no pci irq]
 [lat 168/176] [bus 20/20]
    host opts [1]: [slot 0xf0] [ccr 0x20] [cdr 0x86] [rcr 0x02] [no pci irq]
 [lat 168/176] [bus 21/21]
    ISA irqs (default) = 7,10 polling interval = 1000 ms
cs: IO port probe 0xf900-0xfcff: clean.

[ブート時のNICの認識]
cs: cb_alloc(bus 20): vendor 0x10b7, device 0x5157
3c59x.c:v0.99L 5/28/99 Donald Becker http://cesdis.gsfc.nasa.gov/linux/drive
rs/vortex.html
cs: cb_config(bus 20)
  fn 0 bar 1: io 0xf900-0xf97f
  fn 0 bar 2: mem 0xa0021000-0xa002107f
  fn 0 bar 3: mem 0xa0020000-0xa002007f
  fn 0 rom: mem 0xa0000000-0xa001ffff
cs: cb_enable(bus 20)
  bridge io map 0 (flags 0x21): 0xf900-0xf97f
  bridge mem map 0 (flags 0x1): 0xa0000000-0xa0021fff
vortex_attach(bus 20, function 0, device 5157)
eth0: 3Com 3CCFE575 Cyclone CardBus at 0xf900,  00:00:86:34:e1:c9, IRQ 7
eth0: CardBus functions mapped a0020000->c8030000
  8K byte-wide RAM 5:3 Rx:Tx split, MII interface.
  MII transceiver found at address 0, status 7809.
  Enabling bus-master transmits and whole-frame receives.

[ここはサウンドカード]
maestro: version 0.13m3 time 23:22:25 Dec 17 1999
maestro: Configuring ESS Maestro 2E found at IO 0xEE00 IRQ 11
maestro:  subvendor id: 0x00011179
maestro: AC97 Codec detected: v: 0x414b4d00 caps: 0x0 pwr: 0xf
maestro: 1 channels configured.

********* ここでシステムの起動は完了、eth0は使用できる状態 *********

[一旦carcctl eject]
vortex_detach(eth0)
cs: cb_disable(bus 20)
cs: cb_release(bus 20)
cs: cb_free(bus 20)

[再びcardctl insert]
cs: cb_alloc(bus 20): vendor 0x10b7, device 0x5157
3c59x.c:v0.99L 5/28/99 Donald Becker http://cesdis.gsfc.nasa.gov/linux/drive
rs/vortex.html
cs: cb_config(bus 20)
  fn 0 bar 1: io 0xf900-0xf97f
  fn 0 bar 2: mem 0xa0021000-0xa002107f
  fn 0 bar 3: mem 0xa0020000-0xa002007f
  fn 0 rom: mem 0xa0000000-0xa001ffff
cs: cb_enable(bus 20)
  bridge io map 0 (flags 0x21): 0xf900-0xf97f
  bridge mem map 0 (flags 0x1): 0xa0000000-0xa0021fff
vortex_attach(bus 20, function 0, device 5157)
eth0: 3Com 3CCFE575 Cyclone CardBus at 0xf900,  00:00:86:34:e1:c9, IRQ 7
eth0: CardBus functions mapped a0020000->c8030000
  8K byte-wide RAM 5:3 Rx:Tx split, MII interface.
  MII transceiver found at address 0, status 7809.
  Enabling bus-master transmits and whole-frame receives.

となっていました。二回目もカード自体はPCMCIA-CSに認識されているよう
です。cardctl statusとすると、どちらも

Socket 0:
  3.3V CardBus card
  function 0: [ready]
Socket 1:
  no card

となっていました。ただ、ifconfigに関しては、一回目は

eth0      リンク方法:イーサーネット  ハードウェアアドレス 00:00:86:34:E1:C9 
          inetアドレス:172.16.10.2 ブロードキャスト:172.16.10.255 マスク:255
.255.255.0
          UP BROADCAST NOTRAILERS RUNNING MULTICAST  MTU:1500  Metric:1
          RXパケット:6 エラー:0 損失:0 オーバラン:0 フレーム:0
          TXパケット:7 エラー:0 損失:0 オーバラン:0 キャリア:3
      衝突(Collisions):0 TXキュー長:100 
          割り込み:7 ベースアドレス:0xf900 

と出ますが、2回目は全く表示されません。
ちなみに、2回目にカードを挿したときは、まず高い「ピッ」という音がしま
すが、その後しばらく経ってから(? DHCPのタイムアウト ?)、「ブー」っとい
う低い音がします。

やはりDHCP(または経路制御?)の設定の問題だと思うのですが、何かお気付きの
点や思い当たる節がありましたらご教授ください。



//-------------------------------------------------------------------
// 勝野雅史
// E-Mail : mailto:winfield@xxxxxxxxxx
// HP     : http://www.webs.co.jp/~winfield/