mount floppy/cdrom on diskless PC: "vfsload: Exec format error"
    Rob 
    nospam at users.sourceforge.net
       
    Fri Mar  5 20:32:04 PST 2004
    
    
  
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.
    
    
More information about the freebsd-questions
mailing list