篠田です。
長南様、お返事ありがとうございます。
> 本題とは関係ありませんが、LAN カードを一つ持っていると、PCMCIA 関係の
> チェックにも使えて、なにかと便利です。確実に動きそうなら、安いもので
> よいのですから。
すみません、VAIO に LAN カード一枚ささってました。
長南さんに言われて気が付きました。
しかし、LAN カードも認識しませんでした。
> 1) Win 2000 とのデュアルブートでしたね。その外付け CD-ROM は
> Win 2000 では使えるのですか。
はい、使えます。
> 2) Vine のインストールをしたのは、この CD-ROM からなのですか。
> だとしたら、そのときは Vine でも使えていたわけだ。
おっしゃるとおり、そのときは使えていました。
インストールのときは
linux ide2=0x180,0x386
と打ったら、使えました。
> 3) /sbin/lsmod の出力は? yenta_socket とか pcmcia_core とか ide-cs
> とかいう項目がありますか(以下の質問もですが、出力結果はメールに貼り
> 付けてください)。
# /sbin/lsmod
Module Size Used by Tainted: P
isofs 27072 0 (autoclean)
pcmcia_core 50848 0
autofs 10916 1 (autoclean)
eepro100 20012 1
mii 3548 0 [eepro100]
uhci 26824 0 (unused)
hid 20480 0 (unused)
md 60608 0 (unused)
encode-eucjp 242944 0 (unused)
i810_audio 24896 0
ac97_codec 12736 0 [i810_audio]
soundcore 5508 2 [i810_audio]
rtc 7164 0 (autoclean)
#
> 4) /etc/rc.d/init.d/pcmcia status の出力は?
# /etc/rc.d/init.d/pcmcia status
cardmgr is stopped
#
> 5) /sbin/chkconfig --list | egrep 'pcmcia|murasaki' の出力は?
# /sbin/chkconfig --list | egrep 'pcmcia|murasaki'
pcmcia 0:off 1:off 2:on 3:on 4:on 5:on 6:off
murasaki 0:off 1:off 2:on 3:on 4:on 5:on 6:off
#
> 6) カードを挿入した状態で /etc/rc.d/init.d/pcmcia restart をやった
> とき、 /var/log/messages に追加されるメッセージはどうなりますか。
>
> ..... kernel: Linux Kernel Card Services 3.1.22
>
> といった行から後だけで十分です。
# /etc/rc.d/init.d/pcmcia restart
Shutting down PCMCIA services: done.
Starting PCMCIA services:
/lib/modules/2.4.20-0vl29.1/kernel/drivers/pcmcia/yenta_socket.o:
init_module: No such device
Hint: insmod errors can be caused by incorrect module parameters,
including invalid IO or IRQ parameters.
You may find more information in syslog or the output from dmesg
/lib/modules/2.4.20-0vl29.1/kernel/drivers/pcmcia/yenta_socket.o: insmod
/lib/modules/2.4.20-0vl29.1/kernel/drivers/pcmcia/yenta_socket.o failed
/lib/modules/2.4.20-0vl29.1/kernel/drivers/pcmcia/yenta_socket.o: insmod
yenta_socket failed
#
/var/log/messages で追加された行は、
Oct 22 14:34:26 localhost modprobe: modprobe: Can't locate module
block-major-2
です。
カーネルは、
# rpm -q kernel-pcmcia-cs
kernel-pcmcia-cs-3.2.1-0vl3
#
と最新のものにしてあります。
次に、カーネルのヴァージョンを変えて起動してみまして、
$ uname -r
2.2.20-0vl10
$
において、
起動時の
Starting pcmcia:
で音がし、それから CD-ROM ドライブの POWER ランプがつき、
ログイン後もそうでしたので、認識していてそうでした。
# mount -t iso9660 /dev/hdc /mnt/cdrom
mount: このカーネルは /dev/hdc をブロックデバイスとして認識しません
(多分、`insmod ドライバ' しないといけないのでは?)
#
/dev/hdc を /dev/hdb, /dev/hdb1, /dev/hde, /dev/hde1 などに変えても
ダメでした。もう一息だと思います。
3)
# /sbin/lsmod
Module Size Used by
ds 7776 2
i82365 26032 2
pcmcia_core 59552 0 [ds i82365]
autofs 11748 1 (autoclean)
eepro100 18128 1
uhci 21752 0 (unused)
hid 13312 0 (unused)
usbcore 61096 0 [uhci hid]
mousedev 4768 0 (unused)
input 5440 0 [hid mousedev]
i810_audio 13248 0
soundcore 5604 2 [i810_audio]
ac97_codec 8864 0 [i810_audio]
#
4)
# /etc/rc.d/init.d/pcmcia status
cardmgr (pid 649) is running...
#
5)
# /sbin/chkconfig --list | egrep 'pcmcia|murasaki'
pcmcia 0:off 1:off 2:on 3:on 4:on 5:on 6:off
murasaki 0:off 1:off 2:on 3:on 4:on 5:on 6:off
#
6)
# /etc/rc.d/init.d/pcmcia restart
Shutting down PCMCIA services: done.
Starting PCMCIA services: cardmgr[1256]: watching 2 sockets
done.
#
/var/log/messages に追加された行は、
Oct 22 17:38:34 localhost cardmgr[651]: executing: 'modprobe -r ide-cs'
Oct 22 17:38:34 localhost cardmgr[651]: exiting
Oct 22 17:38:36 localhost kernel: unloading PCMCIA Card Services
Oct 22 17:38:36 localhost modprobe: modprobe: Can't locate module
block-major-2
Oct 22 17:38:36 localhost modprobe: modprobe: Can't locate module
block-major-2
Oct 22 17:38:37 localhost kernel: Linux PCMCIA Card Services 3.1.29
Oct 22 17:38:37 localhost kernel: kernel build: 2.2.20-0vl10 #1 Tue
Mar 12 21:04:53 JST 2002
Oct 22 17:38:37 localhost kernel: options: [pci] [cardbus] [apm] [pnp]
Oct 22 17:38:37 localhost kernel: PCI routing table version 1.0 at 0xf0170
Oct 22 17:38:37 localhost kernel: PnP: PNP BIOS installation structure
at 0x800f9460
Oct 22 17:38:37 localhost kernel: PnP: PNP BIOS version 1.0, entry at
f0000:98b6, dseg at 0
Oct 22 17:38:37 localhost kernel: Intel ISA/PCI/CardBus PCIC probe:
Oct 22 17:38:37 localhost kernel: Intel i82365sl B step rev 00
ISA-to-PCMCIA at port 0x3e0 ofs 0x00
Oct 22 17:38:37 localhost kernel: host opts [0]: none
Oct 22 17:38:37 localhost kernel: host opts [1]: none
Oct 22 17:38:37 localhost kernel: ISA irqs (scanned) = 3,5,10,15
status change on irq 15
Oct 22 17:38:37 localhost cardmgr[1256]: watching 2 sockets
Oct 22 17:38:37 localhost cardmgr[1257]: starting, version is 3.2.1
Oct 22 17:38:37 localhost kernel: cs: memory probe 0x0d0000-0x0dffff: clean.
Oct 22 17:38:37 localhost cardmgr[1257]: socket 0: TOSHIBA/NOTEWORTHY
IPC5009A CD-ROM
Oct 22 17:38:37 localhost cardmgr[1257]: executing: 'modprobe ide-cs'
Oct 22 17:38:37 localhost cardmgr[1257]: + modprobe: Can't locate module
ide-cs
Oct 22 17:38:37 localhost cardmgr[1257]: modprobe exited with status 255
Oct 22 17:38:37 localhost cardmgr[1257]: module
/lib/modules/2.2.20-0vl10/pcmcia/ide-cs.o not available
Oct 22 17:38:38 localhost cardmgr[1257]: get dev info on socket 0
failed: Resource temporarily unavailable
#
その次に、
# rpm -q kernel
kernel-2.4.19-0vl11
kernel-2.4.20-0vl29.1
#
より、
# uname -r
2.4.19-0vl11
#
において
6)
# /etc/rc.d/init.d/pcmcia restart
Shutting down PCMCIA services: done.
Starting PCMCIA services:
/lib/modules/2.4.19-0vl11/kernel/drivers/pcmcia/yenta_socket.o:
init_module: No such device
Hint: insmod errors can be caused by incorrect module parameters,
including invalid IO or IRQ parameters.
You may find more information in syslog or the output from dmesg
/lib/modules/2.4.19-0vl11/kernel/drivers/pcmcia/yenta_socket.o: insmod
/lib/modules/2.4.19-0vl11/kernel/drivers/pcmcia/yenta_socket.o failed
/lib/modules/2.4.19-0vl11/kernel/drivers/pcmcia/yenta_socket.o: insmod
yenta_socket failed
#
/var/log/messages に追加された行は
Oct 22 17:25:00 localhost modprobe: modprobe: Can't locate module
block-major-2
でした。
kernel-2.4.20 と変わりないようです。
> 7) 今でも lilo.conf に append="ide2=0x180,0x386" が書いてあるのです
> か。
> 書き込んで /sbin/lilo を実行した場合と、書き込まなかった場合と、
> 両方試してみたわけですね。たぶん関係ないでしょうが、lilo.conf も
> お見せになった方がよいかもしれません。
# cat /etc/lilo.conf
prompt
timeout=50
default=win
boot=/dev/hda
map=/boot/map
install=/boot/boot.b
message=/boot/message
lba32
append="acpi=off ide2=0x180,0x386 pci=biosirq"
image=/boot/vmlinuz-2.4.20-0vl29.1
label=linux
read-only
root=/dev/hda2
image=/boot/vmlinuz-2.4.19-0vl11
label=linux-2.4.19
read-only
root=/dev/hda2
image=/boot/vmlinuz-2.2.20-0vl10
label=linux-2.2-up
read-only
root=/dev/hda2
other=/dev/hda1
optional
label=win
#
> 8) VAIO C1 も持っていらっしゃるのですね。そちらでも 3) から 6) を
> やってみて、較べてみると、何か感じがつかめるかもしれません。
外付け CD-ROM ドライブを付けて起動すると、
始めから POWER ランプがつきっぱなしで、途中で「ピッ」っと鳴って
Starting Postfix:
のところで固まります。
逆に、PC カードスロットを空にして起動し、
ログイン後、外付け CD-ROM ドライブを付けると、
「ピッ」と鳴って、CD が BUSY になり、しばらくして止まって、
固まります。POWER ランプは接続後つきっぱなしです。
したがって、VAIO C1 と比べることは出来ませんでした。
#そう言えば Linux で LAN カード以外使ったことありませんでした。
カーネルのヴァージョンによって認識したり、
しなかったりしているようですね。