From owner-freebsd-questions@FreeBSD.ORG Fri Mar 5 20:32:04 2004 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id B9A9D16A4CE for ; Fri, 5 Mar 2004 20:32:04 -0800 (PST) Received: from spam2.snu.ac.kr (spam2.snu.ac.kr [147.46.10.68]) by mx1.FreeBSD.org (Postfix) with SMTP id 11C3143D2D for ; Fri, 5 Mar 2004 20:32:04 -0800 (PST) (envelope-from nospam@users.sourceforge.net) Received: (snipe 5022 invoked by alias); 6 Mar 2004 04:31:56 +0900(KST) Received: from nospam@users.sourceforge.net with SpamSniper2.76 (Processed in 0.049796 secs); Received: from unknown (HELO sis1.snu.ac.kr) (147.46.10.36) by 0 with SMTP; 6 Mar 2004 04:31:56 +0900(KST) X-RCPTTO: freebsd-questions@freebsd.org, Received: from users.sourceforge.net (cisr.snu.ac.kr [147.46.44.181]) by sis1.snu.ac.kr (8.12.10/8.12.10) with ESMTP id i264SNUs275650 for ; Sat, 6 Mar 2004 13:28:24 +0900 Message-ID: <4049543D.1020300@users.sourceforge.net> Date: Sat, 06 Mar 2004 13:31:57 +0900 From: Rob User-Agent: Mozilla/5.0 (X11; U; FreeBSD i386; en-US; rv:1.6) Gecko/20040207 X-Accept-Language: en-us, en MIME-Version: 1.0 To: freebsd-questions@freebsd.org Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit Subject: mount floppy/cdrom on diskless PC: "vfsload: Exec format error" X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 06 Mar 2004 04:32:04 -0000 Hi, I have a diskless PC with a floppy and CDrom drive. I can create a dos floppy without a problem, but the mount fails: # /usr/sbin/fdformat /dev/fd0.1440 Format 1440K floppy `/dev/fd0.1440'? (y/n): y Processing VVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVV done. # /sbin/disklabel -B -r -w /dev/fd0 fd1440 # /sbin/newfs_msdos /dev/fd0 /dev/fd0: 2840 sectors in 355 FAT12 clusters (4096 bytes/cluster) bps=512 spc=8 res=1 nft=2 rde=512 sec=2880 mid=0xf0 spf=2 spt=18 hds=2 hid=0 # mount_msdos /dev/fd0c /mnt mount_msdos: vfsload(msdos): Exec format error Same problem occurs for a CDrom: # mount -t cd9660 /dev/acd0c /cdrom cd9660: vfsload(cd9660): Exec format error The diskless machine has: /modules/msdos.ko /modules/cd9660.ko Probably related to this are these lines in /var/log/messages: Mar 6 13:09:33 diskless //kernel: link_elf: symbol s_lock_init undefined Any ideas what's going wrong here? Thanks, Rob.