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

[debian-users:25049] [Q] How to make eth0 ? because of no eth0.



柴田(あ)kです。


最近東芝のノートパソコンを買いました。
ネットワークにつながりません。
どなたか成功された方はいらっしゃいますでしょうか?

実は
[linux-users:75663] [Q] NIC driver for ADMtek AN983 or tulip.c( 0.90q) ?
にて tulip ドライバについて質問したのですが、
そもそも eth0 がないのが問題であるような気がしてきました。
とすると distribution 固有の問題かもしれないと
こちらに質問をいたします。 
いままで Slackware を使ってきたので、 rc。* など起動スクリプトの
組まれかたや配置など修行の必要性を痛切に感じます。

また、
http://www.debian.or.jp/search/ にて eth0 をキーワードにて
関係ありそうなところにあらかた目を通したつもりですが、
やはり解決できません。
必要と思われる情報をすべて記述したつもりですが、
さらなるチェックすべきところをご指摘いただければ
幸いです。


【質問】===========================
Debian GNU/Linux 2.2 (potato) 「徹底入門 CDROM からインストール」
下記ハードウェアでネットワーク接続できた方は
いらっしゃいますでしょうか?
いたらその方法はどうされましたでしょうか?

原因と思われるところで eth0 がありません。
どうしたら eth0 を出現させることができるでしょうか?



【状況】===========================
つまり ifconfig では下記のように表示されることを期待するのですが、

                          (うまくいっている例)
saba:~$ /sbin/ifconfig
lo        Link encap:Local Loopback
          inet addr:127.0.0.1  Bcast:127.255.255.255  Mask:255.0.0.0
          UP BROADCAST LOOPBACK RUNNING  MTU:3584  Metric:1
          RX packets:165049 errors:0 dropped:0 overruns:0 frame:0
          TX packets:165049 errors:0 dropped:0 overruns:0 carrier:0
          Collisions:0

eth0      Link encap:Ethernet  HWaddr 00:00:F4:D8:55:9D
          inet addr:192.168.1.3  Bcast:192.168.1.255  Mask:255.255.255.0
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:629110 errors:0 dropped:0 overruns:0 frame:0
          TX packets:559136 errors:0 dropped:0 overruns:0 carrier:0
          Collisions:30
          Interrupt:5 Base address:0xd000

eth1      Link encap:Ethernet  HWaddr 00:40:C7:5A:75:80
          inet addr:192.168.10.3  Bcast:192.168.10.255  Mask:255.255.255.0
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:1992837 errors:2 dropped:0 overruns:0 frame:125
          TX packets:1926076 errors:0 dropped:0 overruns:0 carrier:0
          Collisions:10637
          Interrupt:9 Base address:0x300


ここからしたのように lo しか表示されません。

                           (現在の eth0 がなくて困っている例)
hotate:~$ /sbin/ifconfig
lo        Link encap:Local Loopback
          inet addr:127.0.0.1  Bcast:127.255.255.255  Mask:255.0.0.0
          UP BROADCAST LOOPBACK RUNNING  MTU:3584  Metric:1
          RX packets:0 errors:0 dropped:0 overruns:0 frame:0
          TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
          Collisions:0


エラー等が dmesg には記録されないようなので、手で写しました。
--------------------
MBR

LILO boot;
Loading Linux..........
Uncompressing Linux... Ok, booting the kernel.
Linux version 2.2.17 (root@hotate) (gcc version 2.95.2 200002220 (Debian GNU/Linu
x)) #1 Mon Nov 6 23:36:44 JST 2000
-snip-
mtrr: v1.35a (19990819) Richard Gooch (rgooch@xxxxxxxxxxxxx)
PCI: PCI BIOS revision 2.10 entry at 0xfd9be
PCI: Using configuration tyope 1
PCI: Probin PCI hardware
PCI: Enabling memory for device 00:22
PCI: Enabling I/O for device 00:3a
PCI: Enabling memory for device 00:40
PCI: Enabling I/O for device 00:80
PCI: Enabling memory for device 00:80
PCI: Enabling I/O for device 00:88
PCI: Enabling memory for device 00:88
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
TCP: Hash tables configured (ehash 131072 bhash 65536)
Starting kswapd v 1.5
Detected PS/2 Mouse Port.
-snip-
Setting kernel variables.
Loading the saved-state of serial devices...
modprobe: modprobe: Can't locate module char-major-4
/dev/ttyS1: No such device
modprobe: modprobe: Can't locate module char-major-4
/dev/ttyS1: No such device
Mounting local filesystems...
-snip-
Running dns-clean.
chmod: /etc/resolv.conf: No such file or directory
Settin up IP spoofing protection: rp_filter.
Configuring network interfaces: Don't seem to be have all the variables for eth0
.
done.
Starting portmap daemon: portmap.
-snip-
INIT: Entering runlevel: 2
Starting system log daemon: syslogd klogd.
Starting PCMCIA services: module directory /lib/modules.2,2,17/pcmcia not found.
Starting NFS common utilities: statd lockd.
Starting cannaserver...
-snip-
Starting internet superserver: inetd.
Starting printerspooler: lprng.
Not starting NFS kernel daemon: No exports.
Starting mail transport agent: Postfix.
Starting OpenBSD Secure Shell server: sshd.
Starting X-TT font server: xfs-xtt.
Starting deferred execution scheduler: atd.
Starting periodic command scheduler: cron.

Debina GNU/Linux 2.2 hotate tty1

hotate login:

−−−−−−−−−−−−−−−−−−−−−−−−−−−−


試したこと
---------------------------
$ sudo /etc/init.d/networking restart
Reconfiguring network interfaces: eth0: unknown interface: No such device
Don't seem to be have all the variables for eth0.
done.

---------------------------
$ sudo cat /var/log/syslog
Nov  7 21:13:21 hotete insmod: /lib/modules/2.2.17/net/tulip.o: init_module: Dev
ice or resource busy
Nov  7 21:13:21 hotete insmod: Hint: this error can be caused by incorrect modul
e parameters, includeing invalid IO or IRQ parameters
Nov  7 21:13:21 hotete insmod: /lib/modules/2.2.17/net/tulip.o: insmod eth0 fail
ed


IRQ がぶつかっているのかと思い、みてみました。
---------------------------
$ cat /proc/interrupts
           CPU0       
  0:     201178          XT-PIC  timer
  1:       4335          XT-PIC  keyboard
  2:          0          XT-PIC  cascade
 13:          1          XT-PIC  fpu
 14:       2389          XT-PIC  ide0
 15:          7          XT-PIC  ide1
NMI:          0



内蔵 NIC がおかしいのかもしれないので、
http://www.scyld.com/diag/
から取得したプログラムでみてみました。
一応、 Windows98SE では使えています。

$ sudo ./tulip-diag
Unable to find a recognized card in /proc/pci.
If there is a card in the machine, explicitly set the I/O port address
  using '-p <ioaddr> -t <chip_type_index>'
 Use '-t -1' to see the valid chip types.
tulip-diag.c:v2.04 9/26/2000 Donald Becker (becker@xxxxxxxxx)
 http://www.scyld.com/diag/index.html
------------------------------------------------------
$ sudo ./tulip-diag -a -p 1800

tulip-diag.c:v2.04 9/26/2000 Donald Becker (becker@xxxxxxxxx)
 http://www.scyld.com/diag/index.html
Assuming a Digital Tulip series adapter at 0x1800.
Digital Tulip series chip registers at 0x1800:
  fe590000 ffffffff ffffffff 00000000 00000000 fc00c810 ff970115 fffe4010
  fffe0000 fff0dff8 00000000 fffe0000 00000000 40000200 00000000 c40ffec8
 Port selection is 100mbps-SYM/PCS 100baseTx scrambler, half-duplex.
 Transmit stopped, Receive stopped, half-duplex.
  The Rx process state is 'Stopped'.
  The Tx process state is 'Stopped'.
  The transmit threshold is 128.
 Interrupt sources are pending!  CSR5 is fc00c810.
   Link passed indication.
   Timer expired indication.
   Early Rx indication.
-------------------------------------------------
$ sudo ./tulip-diag -ee -p 1800

tulip-diag.c:v2.04 9/26/2000 Donald Becker (becker@xxxxxxxxx)
 http://www.scyld.com/diag/index.html
Assuming a Digital Tulip series adapter at 0x1800.
 Port selection is 100mbps-SYM/PCS 100baseTx scrambler, half-duplex.
 Transmit stopped, Receive stopped, half-duplex.
  The Rx process state is 'Stopped'.
  The Tx process state is 'Stopped'.
  The transmit threshold is 128.
 Interrupt sources are pending!  CSR5 is fc00c810.
   Link passed indication.
   Timer expired indication.
   Early Rx indication.
EEPROM size is 8.
 A simplifed EEPROM data table was found.
 The EEPROM does not contain transceiver control information.
EEPROM contents:
  0985 0002 0000 0000 9000 0396 2d49 0000
  0000 0400 0001 0000 0000 0000 0000 0100
  1216 1113 2242 1113 ffff 0000 0000 a04c
  0000 0000 0000 0000 0000 0000 0000 0000
  0000 0000 0000 0000 0000 0000 0000 0000
  0000 0000 0000 0000 0000 0000 0000 0000
  0000 0000 0000 0000 0000 0000 0000 0000
  0000 0000 0000 0000 0000 0000 0000 e4dc
 ID block CRC 0xa2 (vs. 00).
  Full contents CRC 0xe4dc (read as 0xe4dc).
-------------------------------------------------
$ sudo ./tulip-diag -mm -p 1800

tulip-diag.c:v2.04 9/26/2000 Donald Becker (becker@xxxxxxxxx)
 http://www.scyld.com/diag/index.html
Assuming a Digital Tulip series adapter at 0x1800.
 Port selection is 100mbps-SYM/PCS 100baseTx scrambler, half-duplex.
 Transmit stopped, Receive stopped, half-duplex.
  The Rx process state is 'Stopped'.
  The Tx process state is 'Stopped'.
  The transmit threshold is 128.
 Interrupt sources are pending!  CSR5 is fc00c810.
   Link passed indication.
   Timer expired indication.
   Early Rx indication.
 MII PHY found at address 1, status 0x786d.
 MII PHY found at address 2, status 0x786d.
 MII PHY found at address 3, status 0x786d.
 MII PHY found at address 4, status 0x786d.
 MII PHY #1 transceiver registers:
   1000 786d 0022 5410 01e1 45e1 0005 2801
   ffff ffff ffff ffff ffff ffff ffff ffff
   01c0 0000 0c99 8000 4f02 0304 0026 0000
   0002 c0bf 0000 ffff ffff ffff ffff ffff.
 MII PHY #2 transceiver registers:
   ffff ffff ffff ffff ffff ffff ffff ffff
   ffff ffff ffff ffff ffff ffff ffff ffff
   ffff ffff ffff ffff ffff ffff ffff ffff
   ffff ffff ffff ffff ffff ffff ffff ffff.
 MII PHY #3 transceiver registers:
   ffff ffff ffff ffff ffff ffff ffff ffff
   ffff ffff ffff ffff ffff ffff ffff ffff
   ffff ffff ffff ffff ffff ffff ffff ffff
   ffff ffff ffff ffff ffff ffff ffff ffff.
 MII PHY #4 transceiver registers:
   ffff ffff ffff ffff ffff ffff ffff ffff
   ffff ffff ffff ffff ffff ffff ffff ffff
   ffff ffff ffff ffff ffff ffff ffff ffff
   ffff ffff ffff ffff ffff ffff ffff ffff.
---------------------------------------------------




【ハードウェア】=====================
東芝 DynaBook SS DS50C/1CA モデル
  http://www2.toshiba.co.jp/pc/catalog/dynabook/db65_50/ds_hard.htm
プレインストールの Windows98SE からは
  accton EN2242 と表示されます。
さらに追求してそのコントローラチップが ADMtek AN983AL という
ものであることを突き止めました。
http://www.tmc.co.jp/admtek/products.htm
http://www.internix.co.jp/products/admtek/an983_985.htm
によると DEC 21140/21143 互換のようで Linux でも使えるようです。



【設定】=========================
--------------------------------------
/etc/modules.conf
### This file is automatically generated by update-modules
#
# Please do not edit this file directly. If you want to change or add
# anything please take a look at the files in /etc/modutils and read
# the manpage for update-modules.
#
### update-modules: start processing /etc/modutils/0keep
# DO NOT MODIFY THIS FILE!
# This file is not marked as conffile to make sure if you upgrade modutils
# it will be restored in case some modifications have been made.
#
# The keep command is necessary to prevent insmod and friends from ignoring
# the builtin defaults of a path-statement is encountered. Until all other
# packages use the new `add path'-statement this keep-statement is essential
# to keep your system working
keep

### update-modules: end processing /etc/modutils/0keep

### update-modules: start processing /etc/modutils/aliases
# Uncomment the network protocols you don't want loaded:
# alias net-pf-1 off		# Unix
# alias net-pf-2 off		# IPv4
alias net-pf-3 off		# Raw sockets
alias net-pf-4 off		# IPX
alias net-pf-5 off		# DDP / appletalk
alias net-pf-6 off		# Amateur Radio NET/ROM
alias net-pf-10 off		# IPv6
alias net-pf-11 off		# ROSE / Amateur Radio X.25 PLP
alias net-pf-19 off		# Acorn Econet

alias char-major-10-130	softdog
alias char-major-10-175	agpgart
alias char-major-108	ppp_generic
alias /dev/ppp		ppp_generic
alias tty-ldisc-3	ppp_async
alias tty-ldisc-14	ppp_synctty
alias ppp-compress-21	bsd_comp
alias ppp-compress-24	ppp_deflate
alias ppp-compress-26	ppp_deflate
#alias eth0		pcnet_cs
alias eth0		tulip 
options tulip options=3 debug=1

# Crypto modules (see http://www.kerneli.org/)
alias loop-xfer-gen-0 loop_gen
alias loop-xfer-3 loop_fish2
alias loop-xfer-gen-10 loop_gen
alias cipher-2 des
alias cipher-3 fish2
alias cipher-4 blowfish
alias cipher-6 idea
alias cipher-7 serp6f
alias cipher-8 mars6
alias cipher-11 rc62
alias cipher-15 dfc2
alias cipher-16 rijndael
alias cipher-17 rc5


### update-modules: end processing /etc/modutils/aliases

### update-modules: start processing /etc/modutils/aliases.bak
# Uncomment the network protocols you don't want loaded:
# alias net-pf-1 off		# Unix
# alias net-pf-2 off		# IPv4
alias net-pf-3 off		# Raw sockets
alias net-pf-4 off		# IPX
alias net-pf-5 off		# DDP / appletalk
alias net-pf-6 off		# Amateur Radio NET/ROM
alias net-pf-10 off		# IPv6
alias net-pf-11 off		# ROSE / Amateur Radio X.25 PLP
alias net-pf-19 off		# Acorn Econet

alias char-major-10-130	softdog
alias char-major-10-175	agpgart
alias char-major-108	ppp_generic
alias /dev/ppp		ppp_generic
alias tty-ldisc-3	ppp_async
alias tty-ldisc-14	ppp_synctty
alias ppp-compress-21	bsd_comp
alias ppp-compress-24	ppp_deflate
alias ppp-compress-26	ppp_deflate


# Crypto modules (see http://www.kerneli.org/)
alias loop-xfer-gen-0 loop_gen
alias loop-xfer-3 loop_fish2
alias loop-xfer-gen-10 loop_gen
alias cipher-2 des
alias cipher-3 fish2
alias cipher-4 blowfish
alias cipher-6 idea
alias cipher-7 serp6f
alias cipher-8 mars6
alias cipher-11 rc62
alias cipher-15 dfc2
alias cipher-16 rijndael
alias cipher-17 rc5


### update-modules: end processing /etc/modutils/aliases.bak

### update-modules: start processing /etc/modutils/old_tulip
#options old_tulip options=15

### update-modules: end processing /etc/modutils/old_tulip

### update-modules: start processing /etc/modutils/paths
# This file contains a list of paths that modprobe should scan,
# beside the once that are compiled into the modutils tools
# themselves.

# This used to be quite a list, but upstream merged some Debian patches
# so we currently don't need to do anything here

### update-modules: end processing /etc/modutils/paths

### update-modules: start processing /etc/modutils/setserial
#
# This is what I wanted to do, but logger is in /usr/bin, which isn't loaded
# when the module is first loaded into the kernel at boot time!
#
#post-install serial /etc/init.d/setserial start | logger -p daemon.info -t "setserial-module reload"
#pre-remove serial /etc/init.d/setserial stop | logger -p daemon.info -t "setserial-module uload"
post-install serial /etc/init.d/setserial modload > /dev/null 2> /dev/null
pre-remove serial /etc/init.d/setserial modsave  > /dev/null 2> /dev/null

### update-modules: end processing /etc/modutils/setserial

### update-modules: start processing /etc/modutils/arch/i386
alias parport_lowlevel parport_pc
alias char-major-10-144 nvram

### update-modules: end processing /etc/modutils/arch/i386

---------------------------------------------------------------------
/etc/modules

# /etc/modules: kernel modules to load at boot time.
#
# This file should contain the names of kernel modules that are
# to be loaded at boot time, one per line.  Comments begin with
# a #, and everything on the line after them are ignored.
vfat
tulip
pcnet_cs


--
あまねく生命に、あまねく知性に、最大の幸福を願う
E-mail:help@xxxxxxxxx