Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 31 Mar 2002 01:23:27 +0100 (CET)
From:      Salvo Bartolotta <bartequi@neomedia.it>
To:        Wouter Vijvers <woutje@chello.nl>
Cc:        freebsd-questions@freebsd.org
Subject:   Re: A bunch of questions (long)
Message-ID:  <1017534207.3ca656fff3009@webmail.neomedia.it>
In-Reply-To: <3CA5D976.10007@chello.nl>
References:  <1017482226.3ca58bf2c3652@webmail.neomedia.it> <3CA5D976.10007@chello.nl>

next in thread | previous in thread | raw e-mail | index | archive | help
Wouter Vijvers <woutje@chello.nl> scripsisse creditur:

> Salvo Bartolotta wrote
> 
> >I am not quite sure what is happening down there.  I suppose you've
> > taken a look at the (on-line) FAQ entries.
> >
> I have, but that didn't give me a solution. Today I tried it again and
> 
> it worked! I was very tired last night, so I might have done something
> 
> wrong. But today (after a long night of sleep :) it worked. 
>
> I think I have put in "Disc 2" instead of "Disc 1" last night, because that's
> also the only one that doesn't work right now.




In your first post, you had written the following:

> kees# mount /cdrom
> cd9660: /dev/acd0c: Device busy


That probably isn't an issue.  You'll have to see _what_ (sometimes) makes 
your device busy.  You may wish to take a look at fstat(1).  

For example, on my junk^Wworkstation, where I have just mounted a data CD and 
cd-ed to it as root and as a normal user for the purpose of this example, it 
says:

209 12:58am /cdrom >====> fstat /cdrom
USER     CMD          PID   FD MOUNT      INUM MODE         SZ|DV R/W NAME
otto     fstat        868   wd /cdrom    47104 drwxr-xr-x   20480  r  /cdrom
otto     tcsh         420   wd /cdrom    47104 drwxr-xr-x   20480  r  /cdrom
root     csh          169   wd /cdrom    47104 drwxr-xr-x   20480  r  /cdrom




> It gave the same message with /cdrom1, but that has changed now to
> --
> kees# mount /cdrom1
> cd9660: /dev/acd1c: Invalid argument



That usually occurs when
http://www.freebsd.org/doc/en_US.ISO8859-1/books/faq/disks.html#MOUNT-AUDIO-CD 
 
I am not sure how you manage to get it :-)



> What is the "Live filesystem
> and Fix-it CD" anyway? I couldn't find it or mount it to see what on it.
> Is it normal that I can't mount it or do I have a corrupt CD?



This document may be of (general) help:
http://www.freebsd.org/relnotes/4-STABLE/installation/i386/trouble.html


This may also be useful (cf. the emergency restore procedure)
http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/backup-programs.html 


I suppose you have already taken a look at this (in the install FAQ) and at 
the following one: 
http://www.freebsd.org/doc/en_US.ISO8859-1/books/faq/install.html#WIN95-DAMAGED-BOOT-MANAGER
http://www.freebsd.org/relnotes/4-STABLE/installation/i386/article.html


Also, in this connection, a good number of posts can be found in the archives, 
which posts 'feature' a number of interesting suggestions. 


 
> >Someone else will give you 'minimalist' advice:  I have full sources 
> >installed. :-) BTW, a suggestion can be found in the FAQ. 
> >
> This is the reason I don't want the full sources:
> --
> kees# df -h
> Filesystem    Size   Used  Avail Capacity  Mounted on
> /dev/ad0s3a    97M    56M    33M    63%    /
> /dev/ad0s3f   1.4G   1.2G   101M    92%    /usr
> /dev/ad0s3e    19M   4.4M    13M    25%    /var
> procfs        4.0K   4.0K     0B   100%    /proc
> /dev/ad0s5    5.0G   4.0G   971M    81%    /fat32
> /dev/acd1c    636M   636M     0B   100%    /cdrom1
> --
> 
> Just not enough room.... I now did
> --
> #./install.sh include
> #./install.sh contrib
> --
> in /cdrom1/src, but I still get this error:
> --
> c++ -DPACKAGE=\"libsidplay\" -DVERSION=\"1.36.50\" -DSIZEOF_CHAR=1 
> -DSIZEOF_SHORT_INT=2 -DSIZEOF_INT=4 -DSIZEOF_LONG_INT=4 -DSTDC_HEADERS=1
> 
> -DHAVE_LONG_FILE_NAMES=1 -DHAVE_DLFCN_H=1 -I. -I. -I.. -O -pipe -c 
> sidtune.cpp  -fPIC -DPIC -o .libs/sidtune.lo
> In file included from sidtune.cpp:34:
> fformat.h:12: sstream: No such file or directory
                ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
                ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  

/usr/include/g++/sstream appears to be missing on your system, while it should 
be present; on the other hand, you have installed the 'include' sources.  
Let's have a closer look.

213 1:09am ~ >====> ll /usr/include/g++/sstream
-r--r--r--  1 root  wheel  7419 Dec 23 19:57 /usr/include/g++/sstream
                                ^^^^^^^^^^^^  
                                ^^^^^^^^^^^^
    
<guess>This seems to be a (relatively) recent addition, i.e. you should cvsup 
to -STABLE to get it -- inter alia.


HTH,
Salvo (who should really go to bed :-)))

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?1017534207.3ca656fff3009>