Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 5 Jun 2001 11:12:24 +0200 (MET DST)
From:      Marc Hufschmitt <mh@ai.univ-paris8.fr>
To:        <freebsd-questions@FreeBSD.ORG>
Subject:   CODA : venus : mount cfs failed
Message-ID:  <Pine.SOL.4.33.0106051054060.24143-100000@oof.ai.univ-paris8.fr>

next in thread | raw e-mail | index | archive | help

I've just installed coda-server-5.3.14_1 & coda-client-5.3.14_1.
But I got the same error with the 5.2.2 version.

venus -init fails : mount(/dev/cfs0, /coda) failed (2), exiting
and
kldload coda : /kernel: module_register_init: MOD_LOAD (coda, c01d5688, 0xc0f4a220) error 17

The /dev/cfs0 exists (I patched the /dev/MAKEDEV)

"Coda" is usurping "Coda"'s cdevsw[] (form /var/log/messages)  what does
it mean?


---
root@coda2>venus -init

  Date: Sun 06/03/2001

  15:37:15 /usr/coda/LOG size is 548342 bytes
  15:37:15 /usr/coda/DATA size is 2193368 bytes
  15:37:15 Initializing RVM data...
  15:37:15 ...done
  15:37:15 Loading RVM data
  15:37:15 starting VDB scan
  15:37:15        1 volume replicas
  15:37:15        0 replicated volumes
  15:37:15        0 CML entries allocated
  15:37:15        0 CML entries on free-list
  15:37:15 starting FSDB scan (833, 20000) (25, 75, 4)
  15:37:15        0 cache files in table (0 blocks)
  15:37:15        833 cache files on free-list
  15:37:15 starting HDB scan
  15:37:15        0 hdb entries in table
  15:37:15        0 hdb entries on free-list
  15:37:16 Initial LRDB allocation
  15:37:16 Getting Root Volume information...
  15:37:16 mount(/dev/cfs0, /coda) failed (2), exiting
  ---

the BSD kernel is reconfigured/installed and venus.ko is loaded:
  ---
  root@coda2>grep -i coda /usr/src/sys/i386/conf/Coda
  # Coda stuff:
  options         CODA                    #CODA filesystem.
  pseudo-device   vcoda   4               #coda minicache <-> venus comm.

  root@coda2>kldstat
  Id Refs Address    Size     Name
   1    3 0xc0100000 340360   kernel
   2    1 0xc0ee5000 11000    linux.ko
   3    1 0xc0f3b000 11000    coda.ko
  ---

  /var/log/messages fills with the lines above at boot-time :
  ---
  ...
  Jun  3 15:24:14 coda2 /kernel: module_register: module codadev already
exists!
  Jun  3 15:24:14 coda2 /kernel: linker_file_sysinit "coda.ko" failed to
register!
  17
  Jun  3 15:24:14 coda2 /kernel: module_register: module coda already
exists!
  Jun  3 15:24:14 coda2 /kernel: linker_file_sysinit "coda.ko" failed to
register!
  17
  Jun  3 15:24:14 coda2 /kernel: WARNING: "Coda" is usurping "Coda"'s
cdevsw[]
  Jun  3 15:24:14 coda2 /kernel: module_register_init: MOD_LOAD (coda,
c01d5688,
  0xc0f4a220) error 17
  Jun  3 15:25:16 coda2 /kernel: WARNING: driver Coda should register
devices with
  make_dev() (dev_t = "#Coda/0")
  ---

after a kldunload coda; kldload coda, dmesg shows:
  ---
Jun  3 15:42:21 coda2 /kernel: module_register: module codadev already exists!
Jun  3 15:42:21 coda2 /kernel: linker_file_sysinit "coda.ko" failed to register! 17
Jun  3 15:42:21 coda2 /kernel: WARNING: "Coda" is usurping "Coda"'s
cdevsw[]
  ---




mh@ai.univ-paris8.fr mh@ai.up8.edu
http://www.ai.univ-paris8.fr/~mh


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-questions" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.SOL.4.33.0106051054060.24143-100000>