-mcpu and CPUTYPE (Re: Problems with DP2 install floppies ... ?)

2002-11-20 Thread Kris Kennaway
On Wed, Nov 20, 2002 at 07:32:43PM +0900, Jacques Garrigue wrote:

> Aside question: I realized that the compiler sets -mcpu=pentiumpro by
> default. Is it the correct option for a Crusoe CPU?

-mcpu doesn't change instruction set generated by the compiler, it
affects instruction layout (i.e. the code still runs on a 386).

Your question is really about what value of CPUTYPE to set in
/etc/make.conf.  I don't know the exact answer to that question for
your CPU, but a vague answer is "whatever instruction set architecture
that chip emulates" (i.e. pentium3, pentium/mmx, etc).

Kris



msg46989/pgp0.pgp
Description: PGP signature


RE: Problems with DP2 install floppies ... ?

2002-11-20 Thread Jacques Garrigue
Since I finally succeded in installing DP2 booting from floppy, I
thought I might answer.

On 19-Nov-2002 Marc G. Fournier wrote:
> 
> 'K, that is what I did ...
> 
> One final issue on this first attempt ... when I go into 'partition' an
> existing drive, how do I get it to 'mount' my existing swap device?
> rightnow, I just deleted and created it, but that just doesn't sound ...
> safe ...

I did the same. A bit strange (why would we need a swap during
installation anyway), but not dangerous, since you're not formatting
anything.


> On Tue, 19 Nov 2002, John Baldwin wrote:
>>
>> On 19-Nov-2002 Marc G. Fournier wrote:
>> >
>> > Just got everything up, made sure that it knew how to mount my file
>> > systems, watched it fsck those same file systems ... but as soon as it
>> > started to install, it reported out of space errors ...
>> >
>> > On ALT-F2, it looks like its trying to write to:
>> >
>> > ./usr/share/dict/..
>> >
>> > instead of, what I believe its supposed to be:
>> >
>> > /mnt/usr/share/dict/..
>> >
>> > which would explain why its running out of disk space, as its trying to
>> > write to the floppy ... ?
>> >
>> > Going to ALT-F4 and doing a df shows that everything appears to be mounted
>> > as expected (/mnt, /mnt/dev, /mnt/usr, etc) ...
>> >
>> > known problem, or did I screw up a step here?
>> >
>> > thanks ...
>>
>> Did you try to restart your install via Ctrl-C?  If so,
>> don't, the restart stuff doesn't really work right.

This may be related to Ctrl-C, but considering the time it takes to
reboot, I'm willing to take the risk...

Finally I could locate the problem: go to the options screen and set
the installation root to /mnt. For some reason it is /, which seems
wrong. After that I could install... but failed after the install
finished for some other reason I don't remember.
I couldn't do the post-install configuration, but since it was enough
to boot, I just did it after reboot.
And now, after compiling the packages that are not available, I have a
nice running system.

Is the floppy network install really working if you don't hit Ctrl-C?
I seem to remember it was failing anyway, but I might be wrong.

Aside question: I realized that the compiler sets -mcpu=pentiumpro by
default. Is it the correct option for a Crusoe CPU?

---
Jacques Garrigue  Kyoto University garrigue at kurims.kyoto-u.ac.jp
http://wwwfun.kurims.kyoto-u.ac.jp/~garrigue/>JG

To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-current" in the body of the message



RE: Problems with DP2 install floppies ... ?

2002-11-19 Thread John Baldwin

On 19-Nov-2002 Marc G. Fournier wrote:
> 
> 'K, that is what I did ...
> 
> One final issue on this first attempt ... when I go into 'partition' an
> existing drive, how do I get it to 'mount' my existing swap device?
> rightnow, I just deleted and created it, but that just doesn't sound ...
> safe ...

Hmm, not sure.  I don't think we currently support that.

> On Tue, 19 Nov 2002, John Baldwin wrote:
> 
>>
>> On 19-Nov-2002 Marc G. Fournier wrote:
>> >
>> > Just got everything up, made sure that it knew how to mount my file
>> > systems, watched it fsck those same file systems ... but as soon as it
>> > started to install, it reported out of space errors ...
>> >
>> > On ALT-F2, it looks like its trying to write to:
>> >
>> > ./usr/share/dict/..
>> >
>> > instead of, what I believe its supposed to be:
>> >
>> > /mnt/usr/share/dict/..
>> >
>> > which would explain why its running out of disk space, as its trying to
>> > write to the floppy ... ?
>> >
>> > Going to ALT-F4 and doing a df shows that everything appears to be mounted
>> > as expected (/mnt, /mnt/dev, /mnt/usr, etc) ...
>> >
>> > known problem, or did I screw up a step here?
>> >
>> > thanks ...
>>
>> Did you try to restart your install via Ctrl-C?  If so,
>> don't, the restart stuff doesn't really work right.
>>
>> --
>>
>> John Baldwin <[EMAIL PROTECTED]>  <><  http://www.FreeBSD.org/~jhb/
>> "Power Users Use the Power to Serve!"  -  http://www.FreeBSD.org/
>>
> 

-- 

John Baldwin <[EMAIL PROTECTED]>  <><  http://www.FreeBSD.org/~jhb/
"Power Users Use the Power to Serve!"  -  http://www.FreeBSD.org/

To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-current" in the body of the message



RE: Problems with DP2 install floppies ... ?

2002-11-19 Thread Marc G. Fournier

'K, that is what I did ...

One final issue on this first attempt ... when I go into 'partition' an
existing drive, how do I get it to 'mount' my existing swap device?
rightnow, I just deleted and created it, but that just doesn't sound ...
safe ...

On Tue, 19 Nov 2002, John Baldwin wrote:

>
> On 19-Nov-2002 Marc G. Fournier wrote:
> >
> > Just got everything up, made sure that it knew how to mount my file
> > systems, watched it fsck those same file systems ... but as soon as it
> > started to install, it reported out of space errors ...
> >
> > On ALT-F2, it looks like its trying to write to:
> >
> > ./usr/share/dict/..
> >
> > instead of, what I believe its supposed to be:
> >
> > /mnt/usr/share/dict/..
> >
> > which would explain why its running out of disk space, as its trying to
> > write to the floppy ... ?
> >
> > Going to ALT-F4 and doing a df shows that everything appears to be mounted
> > as expected (/mnt, /mnt/dev, /mnt/usr, etc) ...
> >
> > known problem, or did I screw up a step here?
> >
> > thanks ...
>
> Did you try to restart your install via Ctrl-C?  If so,
> don't, the restart stuff doesn't really work right.
>
> --
>
> John Baldwin <[EMAIL PROTECTED]>  <><  http://www.FreeBSD.org/~jhb/
> "Power Users Use the Power to Serve!"  -  http://www.FreeBSD.org/
>


To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-current" in the body of the message



Re: Problems with DP2 install floppies ... ?

2002-11-19 Thread Tilman Linneweh
In freebsd.current, you wrote:
> 
> Just got everything up, made sure that it knew how to mount my file
> systems, watched it fsck those same file systems ... but as soon as it
> started to install, it reported out of space errors ...
> 
> On ALT-F2, it looks like its trying to write to:
> 
> ./usr/share/dict/..
> 
> instead of, what I believe its supposed to be:
> 
> /mnt/usr/share/dict/..
> 
> which would explain why its running out of disk space, as its trying to
> write to the floppy ... ?
> 
> Going to ALT-F4 and doing a df shows that everything appears to be mounted
> as expected (/mnt, /mnt/dev, /mnt/usr, etc) ...
> 
> known problem, or did I screw up a step here?

I have seen this out of space errors with the floppy install and a fresh formatted 8G 
Harddisk and default partition sizes.

To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-current" in the body of the message



RE: Problems with DP2 install floppies ... ?

2002-11-19 Thread John Baldwin

On 19-Nov-2002 Marc G. Fournier wrote:
> 
> Just got everything up, made sure that it knew how to mount my file
> systems, watched it fsck those same file systems ... but as soon as it
> started to install, it reported out of space errors ...
> 
> On ALT-F2, it looks like its trying to write to:
> 
> ./usr/share/dict/..
> 
> instead of, what I believe its supposed to be:
> 
> /mnt/usr/share/dict/..
> 
> which would explain why its running out of disk space, as its trying to
> write to the floppy ... ?
> 
> Going to ALT-F4 and doing a df shows that everything appears to be mounted
> as expected (/mnt, /mnt/dev, /mnt/usr, etc) ...
> 
> known problem, or did I screw up a step here?
> 
> thanks ...

Did you try to restart your install via Ctrl-C?  If so,
don't, the restart stuff doesn't really work right.

-- 

John Baldwin <[EMAIL PROTECTED]>  <><  http://www.FreeBSD.org/~jhb/
"Power Users Use the Power to Serve!"  -  http://www.FreeBSD.org/

To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-current" in the body of the message