Re: Making installworld got stuck on SunFire v20z (Freebsd 8.0)

2010-02-20 Thread Lucas Wang
Thanks for your reply. I'll give it a try.

Lucas

On Feb 20, 2010, at 5:00 PM, Ivan Voras wrote:

> Lucas Wang wrote:
>> I tried to install Freebsd 8.0 on one of our lab machines, which is
>> SunFire v20z. After successfully installing it from CD, I followed the
>> following steps trying to update the kernel and world:
>> cvsup
>> make buildworld
>> make buildkernel
>> make installkernel
>> reboot
>> mergemaster -p
>> make installworld
>> Everything was fine until the `make installworld` process run for a while 
>> and then got stuck, after that it won't respond to Ctrl-C. When I tried to 
>> login from another tty, it doesn't respond either. I even tried installing 
>> the machine from scratch
>> several times, and at different times it got stuck when installing different 
>> libraries. I would really appreciate any ideas about why this could happen 
>> or how
>> to solve it.
> 
> If you have an AMD CPU of a recent generation, Try adding
> 
> vm.pmap.pg_ps_enabled=0
> 
> to /boot/loader.conf and rebooting. This disables Superpages - there is a CPU 
> bug on some of those.
> 
> ___
> freebsd-questions@freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-questions
> To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"


Re: Making installworld got stuck on SunFire v20z (Freebsd 8.0)

2010-02-20 Thread Ivan Voras

Lucas Wang wrote:

I tried to install Freebsd 8.0 on one of our lab machines, which is
SunFire v20z. After successfully installing it from CD, I followed the
following steps trying to update the kernel and world:

cvsup
make buildworld
make buildkernel
make installkernel
reboot
mergemaster -p
make installworld

Everything was fine until the `make installworld` process run for a while and then got stuck, 
after that it won't respond to Ctrl-C. When I tried to login from another tty, it 
doesn't respond either. I even tried installing the machine from scratch
several times, and at different times it got stuck when installing different libraries. 


I would really appreciate any ideas about why this could happen or how
to solve it.


If you have an AMD CPU of a recent generation, Try adding

vm.pmap.pg_ps_enabled=0

to /boot/loader.conf and rebooting. This disables Superpages - there is 
a CPU bug on some of those.


___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"


Re: Making installworld got stuck on SunFire v20z (Freebsd 8.0)

2010-02-19 Thread Randy Schultz
On Thu, 18 Feb 2010, Lucas Wang spaketh thusly:

-}I tried to install Freebsd 8.0 on one of our lab machines, which is
-}SunFire v20z. After successfully installing it from CD, I followed the
-}following steps trying to update the kernel and world:
-}
-}cvsup
-}make buildworld
-}make buildkernel
-}make installkernel
-}reboot
-}mergemaster -p
-}make installworld
-}
-}Everything was fine until the `make installworld` process run for a while and 
then got stuck, 
-}after that it won't respond to Ctrl-C. When I tried to login from another 
tty, it 
-}doesn't respond either. I even tried installing the machine from scratch
-}several times, and at different times it got stuck when installing different 
libraries. 

Hard tellin'.  When you tried to install from scratch, did you keep the same
partitions and not force a newfs?  When you rebooted, did you reboot into
single-user?

The steps that have never failed me are close to what you have:
   - csup
   - env -i make buildworld
   - env -i make buildkernel
   - env -i make installkernel
   - reboot into single user
   - mount -a
   - mergemaster -paU
   - make installworld
   - mergemaster -aU
   - reboot

Perhaps try a re-install but fiddle a bit with the partition sizes and/or
force a newfs of the partitions.  Also, at the install step where you select
the entire drive (assuming this is what you are doing), you can delete what's
there and re-select "use the entire drive".  That also forces newfs'ing.

YMMV

--
 Randy(schu...@earlham.edu)  765.983.1283 <*>

Love with your heart, think with your head;  not the other way around.

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"


Making installworld got stuck on SunFire v20z (Freebsd 8.0)

2010-02-18 Thread Lucas Wang
I tried to install Freebsd 8.0 on one of our lab machines, which is
SunFire v20z. After successfully installing it from CD, I followed the
following steps trying to update the kernel and world:

cvsup
make buildworld
make buildkernel
make installkernel
reboot
mergemaster -p
make installworld

Everything was fine until the `make installworld` process run for a while and 
then got stuck, 
after that it won't respond to Ctrl-C. When I tried to login from another tty, 
it 
doesn't respond either. I even tried installing the machine from scratch
several times, and at different times it got stuck when installing different 
libraries. 

I would really appreciate any ideas about why this could happen or how
to solve it.

Lucas

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"