Re: Installed new kernel and then make buildworld and now no internet?

2005-03-05 Thread Brian John
On Sat, 5 Mar 2005 16:09:56 +
Kris Kennaway <[EMAIL PROTECTED]> wrote:

> On Sat, Mar 05, 2005 at 10:08:54AM -0600, Brian John wrote:
> > Roland Smith wrote:
> > 
> > >On Sat, Mar 05, 2005 at 02:40:26AM -0600, Brian John wrote:
> > >
> > > 
> > >
> > >>Then I did a "make buildkernel" and "make installkernel".  I then 
> > >>rebooted into single user mode and did a "make buildworld".  Then I 
> > >>restarted and now I have no internet. 
> > >>
> > >>I can't get any pages to come up in firefox or dillo.  I tried pinging
> > >>www.yahoo.com and I got 69% packet loss.  Also, when I try to do
> > >>"portupgrade -ap" to reinstall all of my ports, it can't connect to
> > >>download the distfiles.  What can I do to fix this?
> > >>   
> > >>
> > >
> > >Brian,
> > >
> > >Did you follow the procedure as laid out in ?19.4 of the Handbook? It
> > >looks like you're not doing things in the right order. That might give
> > >trouble. 
> > >
> > >Did you make any changes to your kernel configuration?
> > >
> > >Roland
> > > 
> > >
> > Well, I went back and followed the instructions exactly and now I get 
> > 100% packet loss.  For now I am stuck booting into windows until I can 
> > figure this out.  PLEASE HELP!
> 
> Do you use a firewall (ipfw, etc) that is possibly misconfigured?
> 
> Kris

You were right the first time.  I was actually using a '0' instead of an 'O' in 
one of the options.  This was enough to break it.  I couldn't tell that it was 
a zero in my terminal, but when I looked at the file in single-user mode I 
could tell.  Sorry about this one, it was purely my error.

Thanks for the help

/Brian

> ___
> freebsd-questions@freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-questions
> To unsubscribe, send any mail to "[EMAIL PROTECTED]"
> 
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: Installed new kernel and then make buildworld and now no internet?

2005-03-05 Thread Kris Kennaway
On Sat, Mar 05, 2005 at 10:11:59AM -0600, Brian John wrote:
> Erik Trulsson wrote:
> 
> >On Sat, Mar 05, 2005 at 02:40:26AM -0600, Brian John wrote:
> > 
> >
> >>Hello.
> >>I just added a couple of config attributes to my make.conf, namely this 
> >>(I think this is close):
> >>CPU-TYPE = athlon-xp
> >>CFLAGS = -0 -pipe
> >>COPTFLAGS = -0 -pipe
> >>   
> >>
> >
> >That should be '-O', not '-0'.  (And it should be 'CPUTYPE', not
> >'CPU-TYPE'.
> >
> >
> > 
> >
> I was just pulling this from memory.  I double-checked and it was done 
> the way you said.  Another thing that is weird, on startup it takes 
> sendmail about 1 minute to start.  What could cause this to happen?

Timeout waiting to perform DNS resolution.

It sounds to me like you've still done something wrong in the upgrade
procedure and have been left with a nonfunctional packet filter (this
can happen when you have a mismatch between your kernel and world,
caused by upgrading out-of-order).

To fix this you should either tell us precisely what steps you
followed in the upgrade procedure so we can try and help your recover,
or have another go at it yourself making doubly sure not to do things
out of order or omit steps.

Kris
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: Installed new kernel and then make buildworld and now no internet?

2005-03-05 Thread Brian John
Erik Trulsson wrote:
On Sat, Mar 05, 2005 at 02:40:26AM -0600, Brian John wrote:
 

Hello.
I just added a couple of config attributes to my make.conf, namely this 
(I think this is close):
CPU-TYPE = athlon-xp
CFLAGS = -0 -pipe
COPTFLAGS = -0 -pipe
   

That should be '-O', not '-0'.  (And it should be 'CPUTYPE', not
'CPU-TYPE'.
 

I was just pulling this from memory.  I double-checked and it was done 
the way you said.  Another thing that is weird, on startup it takes 
sendmail about 1 minute to start.  What could cause this to happen?

Thanks for the help
/Brian
Then I did a "make buildkernel" and "make installkernel".  I then 
rebooted into single user mode and did a "make buildworld".  Then I 
restarted and now I have no internet.  I can't get any pages to come up 
in firefox or dillo.  I tried pinging www.yahoo.com and I got 69% packet 
loss.  Also, when I try to do "portupgrade -ap" to reinstall all of my 
ports, it can't connect to download the distfiles.  What can I do to fix 
this?

Thanks
/Brian
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"
   

 

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


Re: Installed new kernel and then make buildworld and now no internet?

2005-03-05 Thread Brian John
Kent Stewart wrote:
On Saturday 05 March 2005 12:40 am, Brian John wrote:
 

Hello.
I just added a couple of config attributes to my make.conf, namely
this (I think this is close):
CPU-TYPE = athlon-xp
CFLAGS = -0 -pipe
COPTFLAGS = -0 -pipe
Then I did a "make buildkernel" and "make installkernel".  I then
rebooted into single user mode and did a "make buildworld".  Then I
restarted and now I have no internet.  I can't get any pages to come
up in firefox or dillo.  I tried pinging www.yahoo.com and I got 69%
packet loss.  Also, when I try to do "portupgrade -ap" to reinstall
all of my ports, it can't connect to download the distfiles.  What
can I do to fix this?
   

Do it in the right order. You want a new kernel build to use the code 
produced by the buildworld. Now, you have a user land from one 
buildworld and a kernel from the previous one. Processes such a top may 
not even work in your environment.

 

Yeah, I went back and did it exactly as it said in the handbook, now I 
have 100% packet loss.  Any clue what would cause this?

Thanks for the help
/Brian
You boot to single user mode to test the new kernel and stop all of the 
competing processes. Then, you do the installworld and run mergemaster 
to update the configuration files.

Kent
 

Thanks
/Brian
   

 

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


Re: Installed new kernel and then make buildworld and now no internet?

2005-03-05 Thread Kris Kennaway
On Sat, Mar 05, 2005 at 10:08:54AM -0600, Brian John wrote:
> Roland Smith wrote:
> 
> >On Sat, Mar 05, 2005 at 02:40:26AM -0600, Brian John wrote:
> >
> > 
> >
> >>Then I did a "make buildkernel" and "make installkernel".  I then 
> >>rebooted into single user mode and did a "make buildworld".  Then I 
> >>restarted and now I have no internet. 
> >>
> >>I can't get any pages to come up in firefox or dillo.  I tried pinging
> >>www.yahoo.com and I got 69% packet loss.  Also, when I try to do
> >>"portupgrade -ap" to reinstall all of my ports, it can't connect to
> >>download the distfiles.  What can I do to fix this?
> >>   
> >>
> >
> >Brian,
> >
> >Did you follow the procedure as laid out in ?19.4 of the Handbook? It
> >looks like you're not doing things in the right order. That might give
> >trouble. 
> >
> >Did you make any changes to your kernel configuration?
> >
> >Roland
> > 
> >
> Well, I went back and followed the instructions exactly and now I get 
> 100% packet loss.  For now I am stuck booting into windows until I can 
> figure this out.  PLEASE HELP!

Do you use a firewall (ipfw, etc) that is possibly misconfigured?

Kris
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: Installed new kernel and then make buildworld and now no internet?

2005-03-05 Thread Brian John
Roland Smith wrote:
On Sat, Mar 05, 2005 at 02:40:26AM -0600, Brian John wrote:
 

Then I did a "make buildkernel" and "make installkernel".  I then 
rebooted into single user mode and did a "make buildworld".  Then I 
restarted and now I have no internet. 

I can't get any pages to come up in firefox or dillo.  I tried pinging
www.yahoo.com and I got 69% packet loss.  Also, when I try to do
"portupgrade -ap" to reinstall all of my ports, it can't connect to
download the distfiles.  What can I do to fix this?
   

Brian,
Did you follow the procedure as laid out in ยง19.4 of the Handbook? It
looks like you're not doing things in the right order. That might give
trouble. 

Did you make any changes to your kernel configuration?
Roland
 

Well, I went back and followed the instructions exactly and now I get 
100% packet loss.  For now I am stuck booting into windows until I can 
figure this out.  PLEASE HELP!

/Brian
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: Installed new kernel and then make buildworld and now no internet?

2005-03-05 Thread Erik Trulsson
On Sat, Mar 05, 2005 at 02:40:26AM -0600, Brian John wrote:
> Hello.
> I just added a couple of config attributes to my make.conf, namely this 
> (I think this is close):
> CPU-TYPE = athlon-xp
> CFLAGS = -0 -pipe
> COPTFLAGS = -0 -pipe

That should be '-O', not '-0'.  (And it should be 'CPUTYPE', not
'CPU-TYPE'.


> 
> Then I did a "make buildkernel" and "make installkernel".  I then 
> rebooted into single user mode and did a "make buildworld".  Then I 
> restarted and now I have no internet.  I can't get any pages to come up 
> in firefox or dillo.  I tried pinging www.yahoo.com and I got 69% packet 
> loss.  Also, when I try to do "portupgrade -ap" to reinstall all of my 
> ports, it can't connect to download the distfiles.  What can I do to fix 
> this?
> 
> Thanks
> 
> /Brian
> 
> ___
> freebsd-questions@freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-questions
> To unsubscribe, send any mail to "[EMAIL PROTECTED]"

-- 

Erik Trulsson
[EMAIL PROTECTED]
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: Installed new kernel and then make buildworld and now no internet?

2005-03-05 Thread Kent Stewart
On Saturday 05 March 2005 12:40 am, Brian John wrote:
> Hello.
> I just added a couple of config attributes to my make.conf, namely
> this (I think this is close):
> CPU-TYPE = athlon-xp
> CFLAGS = -0 -pipe
> COPTFLAGS = -0 -pipe
>
> Then I did a "make buildkernel" and "make installkernel".  I then
> rebooted into single user mode and did a "make buildworld".  Then I
> restarted and now I have no internet.  I can't get any pages to come
> up in firefox or dillo.  I tried pinging www.yahoo.com and I got 69%
> packet loss.  Also, when I try to do "portupgrade -ap" to reinstall
> all of my ports, it can't connect to download the distfiles.  What
> can I do to fix this?

Do it in the right order. You want a new kernel build to use the code 
produced by the buildworld. Now, you have a user land from one 
buildworld and a kernel from the previous one. Processes such a top may 
not even work in your environment.

You boot to single user mode to test the new kernel and stop all of the 
competing processes. Then, you do the installworld and run mergemaster 
to update the configuration files.

Kent

>
> Thanks
>
> /Brian

-- 
Kent Stewart
Richland, WA

http://users.owt.com/kstewart/index.html
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Installed new kernel and then make buildworld and now no internet?

2005-03-05 Thread Brian John
Hello.
I just added a couple of config attributes to my make.conf, namely this 
(I think this is close):
CPU-TYPE = athlon-xp
CFLAGS = -0 -pipe
COPTFLAGS = -0 -pipe

Then I did a "make buildkernel" and "make installkernel".  I then 
rebooted into single user mode and did a "make buildworld".  Then I 
restarted and now I have no internet.  I can't get any pages to come up 
in firefox or dillo.  I tried pinging www.yahoo.com and I got 69% packet 
loss.  Also, when I try to do "portupgrade -ap" to reinstall all of my 
ports, it can't connect to download the distfiles.  What can I do to fix 
this?

Thanks
/Brian
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"