[wellylug] Debian floppy install pcmcia eth0 problem

Phillip Rose rosewong at paradise.net.nz
Sat Apr 10 22:14:33 NZST 2004


Hello,

I have attempted a "floppy vanilla" install of Debian 2.2.20 on my Toshiba
486 Satellite T2130CS, which has no CDROM drive. I've tried this install a
few times, with the same results. I ran it in "linux debug" mode, and have
attached the /var/log/messages file. Things go OK until the configuration
of my 3c589C Etherlink III card, which has used the 3c589_cs module
successfully in other situations.

I have used Tom's rootboot to boot the Toshiba and have successfully used
said NIC to connect to Linux machines via nfs. It has also worked on
another unnamed OS, so I know the card works OK. An "lsmod" on Tom's shows
the card used, even without setting up the network config. I guess it shows
if it's plugged into a live connection or not:
===
Module                  Size  Used by
serial_cs               3720   0 (unused)
3c589_cs                6852   1
ds                      5904   2 [serial_cs 3c589_cs]
i82365                 21088   2
pcmcia_core            43544   0 [serial_cs 3c589_cs ds i82365]
===
(There's a modem card in there, too.)

On the Debian install, this is the output of "lsmod" after configuring
PCMCIA. It shows the card is unused, even though it was plugged into the
network:
===
Module                  Size  Used by    
serial_cs               5408   0  (unused)
3c589_cs                8544   0  (unused)
ds                      6400   2  [serial_cs 3c589_cs]
i82365                 22672   2 
pcmcia_core            45824   0  [serial_cs 3c589_cs ds i82365]
af_packet               6136   0  (unused)
unix                   11336   3 
===
This is the /var/run/stab
===
Socket 0: 3Com 589 Ethernet
0	network	3c589_cs	0	eth0
Socket 1: Serial or Modem
1	serial	serial_cs	0	ttyS1	4	65
===

The messages file shows that the system was looking for a certain file:
<< + cat: /var/lib/misc/pcmcia-scheme: No such file or directory >>
that wasn't there. I'd say the right module was loaded (automatically, not
by me), but the system somehow can't use it properly. I was planning to
install via nfs, so I'm stuck for now.

I've googled and searched the Debian maillist archives with no joy. Your
suggestions are welcome! TIA,

--Phillip
(Still, it was kinda fun to type "cat stab".)
-------------- next part --------------
Apr 10 18:36:10 (none) syslog.info syslogd started: BusyBox v0.60.3-pre (2002.01.21-22:50+0000)
Apr 10 18:36:10 (none) user.info init: Starting pid 251, console /dev/tty1: '/etc/init.d/check_fb.sh' 
Apr 10 18:36:10 (none) user.info init: Starting pid 254, console /dev/tty4: '/usr/bin/tail -f /proc/kmsg' 
Apr 10 18:36:10 (none) user.info init: Starting pid 255, console /dev/tty3: '/usr/bin/tail -f /var/log/messages' 
Apr 10 18:36:10 (none) user.info init: Waiting for enter to start '-sh' (pid 256, console /dev/tty2) 
Apr 10 18:36:10 (none) user.info init: Starting pid 257, console /dev/console: '/sbin/udbootstrap' 
Apr 10 18:36:10 (none) user.info dbootstrap[257]: dbootstrap starting; built 2002.05.16-04:54+0000 for i386
Apr 10 18:36:10 (none) user.debug dbootstrap[257]: kernel_image_path is 'images-1.44/rescue.bin'
Apr 10 18:36:10 (none) user.debug dbootstrap[257]: drivers_path is 'drivers.tgz'
Apr 10 18:36:10 (none) user.debug dbootstrap[257]: 0 CD-ROM drives detected
Apr 10 18:36:10 (none) user.debug dbootstrap[257]: /instmnt was not mounted, so it was not unmounted.
Apr 10 18:36:10 (none) user.debug dbootstrap[257]: i18n mode, loading message catalog /etc/messages.en
Apr 10 20:15:47 (none) user.debug dbootstrap[257]: running cmd 'zcat /etc/keymaps.tgz | tar -xOf - i386/qwerty/us.bmap | loadkmap'
Apr 10 20:15:54 (none) user.info dbootstrap[257]: formatting swap partition /dev/hda2 
Apr 10 20:15:58 (none) user.info dbootstrap[257]: Initializing partition /dev/hda1 as Ext2 for kernel 2.2 or better
Apr 10 20:15:58 (none) user.debug dbootstrap[257]: Creating filesystem on /dev/hda1 with cmd: mkfs.ext2    /dev/hda1
Apr 10 20:17:12 (none) user.info dbootstrap[257]: Mounting ext2 partition /dev/hda1 on /target
Apr 10 20:17:12 (none) user.debug dbootstrap[257]: running cmd 'mount -t ext2 /dev/hda1 /target'
Apr 10 20:17:23 (none) user.debug dbootstrap[257]: /instmnt was not mounted, so it was not unmounted.
Apr 10 20:17:23 (none) user.debug dbootstrap[257]: new kernel source: (null), new base source: (null)
Apr 10 20:17:26 (none) user.debug dbootstrap[257]: running cmd 'cat /tmp/keybd_settings >> /target/root/dbootstrap_settings'
Apr 10 20:17:26 (none) user.info dbootstrap[257]: installing kernel and modules from /dev/fd0
Apr 10 20:17:40 (none) user.debug dbootstrap[257]: running cmd 'mount -r -t auto /dev/fd0 /floppy'
Apr 10 20:17:42 (none) user.debug dbootstrap[257]: running cmd './install.sh /target'
Apr 10 20:18:26 (none) user.debug dbootstrap[257]: running cmd 'umount /floppy'
Apr 10 20:24:04 (none) user.debug dbootstrap[257]: tempfile is /target/tmp/buff
Apr 10 20:25:55 (none) user.debug dbootstrap[257]: tempfile is /target/tmp/buff
Apr 10 20:27:40 (none) user.debug dbootstrap[257]: tempfile is /target/tmp/buff
Apr 10 20:31:23 (none) user.debug dbootstrap[257]: tempfile is /target/tmp/buff
Apr 10 20:32:05 (none) user.debug dbootstrap[257]: running cmd 'zcat /target/drivers.tgz | tar -x'
Apr 10 20:32:30 (none) user.debug dbootstrap[257]: running cmd './install.sh /target'
Apr 10 20:33:20 (none) user.debug dbootstrap[257]: /instmnt was not mounted, so it was not unmounted.
Apr 10 20:33:20 (none) user.info dbootstrap[257]: kernel and module install was successful
Apr 10 20:33:20 (none) user.info dbootstrap[257]: moving away /lib/modules to /lib/modules.old
Apr 10 20:33:20 (none) user.debug dbootstrap[257]: running cmd 'rm -rf /lib/modules.old'
Apr 10 20:33:20 (none) user.info dbootstrap[257]: making /lib/modules a link to /target/lib/modules
Apr 10 20:33:20 (none) user.debug dbootstrap[257]: running cmd 'depmod -a'
Apr 10 20:55:58 (none) user.info init: Starting pid 256, console /dev/tty2: '-/bin/sh' 
Apr 10 20:59:37 (none) user.info dbootstrap[257]: No /var/run/cardmgr.pid, cardmgr not needing to be stopped
Apr 10 20:59:37 (none) user.debug dbootstrap[257]: running cmd '/sbin/rmmod ds'
Apr 10 20:59:37 (none) user.info dbootstrap[257]: rmmod: module ds is not loaded 
Apr 10 20:59:37 (none) user.debug dbootstrap[257]: running cmd '/sbin/rmmod i82365'
Apr 10 20:59:37 (none) user.info dbootstrap[257]: rmmod: module i82365 is not loaded 
Apr 10 20:59:37 (none) user.debug dbootstrap[257]: running cmd '/sbin/rmmod pcmcia_core'
Apr 10 20:59:37 (none) user.info dbootstrap[257]: rmmod: module pcmcia_core is not loaded 
Apr 10 20:59:37 (none) user.debug dbootstrap[257]: running cmd '/sbin/insmod -s /target/lib/modules/2.2.20/pcmcia/pcmcia_core.o '
Apr 10 20:59:37 (none) user.debug dbootstrap[257]: running cmd '/sbin/insmod -s /target/lib/modules/2.2.20/pcmcia/i82365.o '
Apr 10 20:59:37 (none) user.debug dbootstrap[257]: running cmd '/sbin/insmod -s /target/lib/modules/2.2.20/pcmcia/ds.o '
Apr 10 20:59:37 (none) user.info dbootstrap[257]: Starting 'cardmgr '
Apr 10 20:59:37 (none) user.debug dbootstrap[257]: running cmd '/sbin/cardmgr  ; sleep 3'
Apr 10 20:59:38 (none) daemon.info cardmgr[350]: starting, version is 3.1.33
Apr 10 20:59:38 (none) daemon.info cardmgr[350]: watching 2 sockets
Apr 10 20:59:38 (none) daemon.info cardmgr[350]: socket 0: 3Com 589 Ethernet
Apr 10 20:59:38 (none) daemon.info cardmgr[350]: executing: 'modprobe 3c589_cs'
Apr 10 20:59:38 (none) daemon.info cardmgr[350]: executing: './network start eth0'
Apr 10 20:59:39 (none) daemon.info cardmgr[350]: + cat: /var/lib/misc/pcmcia-scheme: No such file or directory
Apr 10 20:59:39 (none) daemon.info cardmgr[350]: socket 1: Serial or Modem
Apr 10 20:59:39 (none) daemon.info cardmgr[350]: executing: 'modprobe serial_cs'
Apr 10 20:59:40 (none) daemon.info cardmgr[350]: executing: './serial start ttyS1'
Apr 10 20:59:40 (none) daemon.info cardmgr[350]: + cat: /var/lib/misc/pcmcia-scheme: No such file or directory
Apr 10 21:02:51 (none) user.err dbootstrap[257]: Remember that many drivers are already included in the running kernel. If you don't see a required module in the modules configuration, this driver may already have been loaded and you can use the hardware without loading the driver manually.
Apr 10 21:02:55 (none) user.debug dbootstrap[257]: running cmd 'depmod -a'
Apr 10 21:03:09 (none) user.debug dbootstrap[257]: running cmd 'echo /sbin/modprobe >/proc/sys/kernel/modprobe'
Apr 10 21:03:09 (none) user.debug dbootstrap[257]: running cmd 'test -f /target/etc/modules || cp /etc/modules /target/etc/'
Apr 10 21:03:09 (none) user.debug dbootstrap[257]: running cmd fullscreen '/target/usr/sbin/modconf --exclude-section pcmcia --target /target --run-shell cdromsymlink --libdir /tmp/drivers --helpdir /target/usr/share/modconf --tty /dev/tty'
Apr 10 21:04:10 (none) user.debug dbootstrap[257]: running cmd 'echo /bin/true >/proc/sys/kernel/modprobe'
Apr 10 21:04:35 (none) user.debug dbootstrap[257]: running cmd 'ifconfig eth0 | grep -q POINTOPOINT'
Apr 10 21:05:36 (none) user.info dbootstrap[257]: Stopping cardmgr
Apr 10 21:05:36 (none) user.debug dbootstrap[257]: running cmd 'kill -TERM $(cat /var/run/cardmgr.pid) 2>/dev/null; sleep 6'
Apr 10 21:05:36 (none) daemon.info cardmgr[350]: executing: './network check eth0'
Apr 10 21:05:36 (none) daemon.info cardmgr[350]: + cat: /var/lib/misc/pcmcia-scheme: No such file or directory
Apr 10 21:05:36 (none) daemon.info cardmgr[350]: executing: './network stop eth0'
Apr 10 21:05:37 (none) daemon.info cardmgr[350]: + cat: /var/lib/misc/pcmcia-scheme: No such file or directory
Apr 10 21:05:37 (none) daemon.info cardmgr[350]: + grep: /etc/resolv.conf: No such file or directory
Apr 10 21:05:37 (none) daemon.info cardmgr[350]: + sed: /etc/resolv.conf: No such file or directory
Apr 10 21:05:37 (none) daemon.info cardmgr[350]: executing: 'modprobe -r 3c589_cs'
Apr 10 21:05:37 (none) daemon.info cardmgr[350]: executing: './serial check ttyS1'
Apr 10 21:05:37 (none) daemon.info cardmgr[350]: + cat: /var/lib/misc/pcmcia-scheme: No such file or directory
Apr 10 21:05:37 (none) daemon.info cardmgr[350]: check cmd exited with status 1
Apr 10 21:05:38 (none) daemon.info cardmgr[350]: exiting
Apr 10 21:05:42 (none) user.debug dbootstrap[257]: running cmd '/sbin/rmmod serial_cs'
Apr 10 21:05:42 (none) user.debug dbootstrap[257]: running cmd '/sbin/rmmod ds'
Apr 10 21:05:42 (none) user.debug dbootstrap[257]: running cmd '/sbin/rmmod i82365'
Apr 10 21:05:42 (none) user.debug dbootstrap[257]: running cmd '/sbin/rmmod pcmcia_core'
Apr 10 21:05:42 (none) user.debug dbootstrap[257]: running cmd '/sbin/insmod -s /target/lib/modules/2.2.20/pcmcia/pcmcia_core.o '
Apr 10 21:05:42 (none) user.debug dbootstrap[257]: running cmd '/sbin/insmod -s /target/lib/modules/2.2.20/pcmcia/i82365.o '
Apr 10 21:05:43 (none) user.debug dbootstrap[257]: running cmd '/sbin/insmod -s /target/lib/modules/2.2.20/pcmcia/ds.o '
Apr 10 21:05:43 (none) user.info dbootstrap[257]: Starting 'cardmgr '
Apr 10 21:05:43 (none) user.debug dbootstrap[257]: running cmd '/sbin/cardmgr  ; sleep 3'
Apr 10 21:05:43 (none) daemon.info cardmgr[1272]: starting, version is 3.1.33
Apr 10 21:05:43 (none) daemon.info cardmgr[1272]: watching 2 sockets
Apr 10 21:05:43 (none) daemon.info cardmgr[1272]: socket 0: 3Com 589 Ethernet
Apr 10 21:05:44 (none) daemon.info cardmgr[1272]: executing: 'modprobe 3c589_cs'
Apr 10 21:05:44 (none) daemon.info cardmgr[1272]: executing: './network start eth0'
Apr 10 21:05:44 (none) daemon.info cardmgr[1272]: + cat: /var/lib/misc/pcmcia-scheme: No such file or directory
Apr 10 21:05:44 (none) daemon.info cardmgr[1272]: socket 1: Serial or Modem
Apr 10 21:05:45 (none) daemon.info cardmgr[1272]: executing: 'modprobe serial_cs'
Apr 10 21:05:45 (none) daemon.info cardmgr[1272]: executing: './serial start ttyS1'
Apr 10 21:05:45 (none) daemon.info cardmgr[1272]: + cat: /var/lib/misc/pcmcia-scheme: No such file or directory
Apr 10 21:05:46 (none) user.debug dbootstrap[257]: running cmd '/sbin/ifconfig lo 127.0.0.1'
Apr 10 21:21:25 (none) daemon.info cardmgr[1319]: starting, version is 3.1.33
Apr 10 21:21:25 (none) daemon.err cardmgr[1319]: open_sock(socket 0) failed: Device or resource busy
Apr 10 21:21:25 (none) daemon.err cardmgr[1319]: no sockets found!
Apr 10 21:21:25 (none) daemon.info cardmgr[1319]: exiting
Apr 10 21:21:42 (none) daemon.info cardmgr[1272]: executing: './serial stop ttyS1'
Apr 10 21:21:42 (none) daemon.info cardmgr[1272]: + cat: /var/lib/misc/pcmcia-scheme: No such file or directory
Apr 10 21:21:43 (none) daemon.info cardmgr[1272]: executing: 'modprobe -r serial_cs'
Apr 10 21:21:57 (none) daemon.info cardmgr[1272]: socket 1: Serial or Modem
Apr 10 21:21:57 (none) daemon.info cardmgr[1272]: executing: 'modprobe serial_cs'
Apr 10 21:21:57 (none) daemon.info cardmgr[1272]: executing: './serial start ttyS1'
Apr 10 21:21:57 (none) daemon.info cardmgr[1272]: + cat: /var/lib/misc/pcmcia-scheme: No such file or directory
Apr 10 21:22:33 (none) daemon.info cardmgr[1272]: executing: './network stop eth0'
Apr 10 21:22:33 (none) daemon.info cardmgr[1272]: + cat: /var/lib/misc/pcmcia-scheme: No such file or directory
Apr 10 21:22:34 (none) daemon.info cardmgr[1272]: executing: 'modprobe -r 3c589_cs'
Apr 10 21:22:38 (none) daemon.info cardmgr[1272]: socket 0: 3Com 589 Ethernet
Apr 10 21:22:38 (none) daemon.info cardmgr[1272]: executing: 'modprobe 3c589_cs'
Apr 10 21:22:38 (none) daemon.info cardmgr[1272]: executing: './network start eth0'
Apr 10 21:22:38 (none) daemon.info cardmgr[1272]: + cat: /var/lib/misc/pcmcia-scheme: No such file or directory


More information about the wellylug mailing list