From owner-freebsd-questions Tue Jun 5 2:14:41 2001 Delivered-To: freebsd-questions@freebsd.org Received: from hon.ai.univ-paris8.fr (hon.ai.univ-paris8.fr [192.33.156.10]) by hub.freebsd.org (Postfix) with ESMTP id 44B1737B401 for ; Tue, 5 Jun 2001 02:14:31 -0700 (PDT) (envelope-from mh@ai.univ-paris8.fr) Received: from oof.ai.univ-paris8.fr (oof.ai.univ-paris8.fr [192.33.156.11]) by hon.ai.univ-paris8.fr (8.11.1/8.9.3) with ESMTP id f559FNL28656 for ; Tue, 5 Jun 2001 11:15:26 +0200 (CEST) Received: from localhost (mh@localhost) by oof.ai.univ-paris8.fr (8.9.3+Sun/8.8.8) with ESMTP id LAA24145 for ; Tue, 5 Jun 2001 11:12:24 +0200 (MET DST) X-Authentication-Warning: oof.ai.univ-paris8.fr: mh owned process doing -bs Date: Tue, 5 Jun 2001 11:12:24 +0200 (MET DST) From: Marc Hufschmitt To: Subject: CODA : venus : mount cfs failed Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG 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