Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 20 Jul 95 10:49:54 EAT
From:      Yen-Wei Liu <ywliu@lin.wsl.sinica.edu.tw>
To:        msmith@atrad.adelaide.edu.au (Michael Smith)
Cc:        questions@freebsd.org
Subject:   Re: Fail to mount root after recompiling kernel
Message-ID:  <199507200304.UAA25809@freefall.cdrom.com>
In-Reply-To: <199507190325.MAA07440@genesis.atrad.adelaide.edu.au>; from "Michael Smith" at Jul 19, 95 12:55 (noon)

next in thread | previous in thread | raw e-mail | index | archive | help
> 
> Yen-Wei Liu stands accused of saying:
> Hmm.  IIRC, you have an IDE disk in this machine as well?  You'll need to
> boot hd(1,a) for this to work.

Yes. I use hd(1,a) to boot and it works !! This only leaves more questions
to me : why the bootstrap code automatically select sd(1,a) rather than
hd(1,a) ? (A bug ?) Why orginally sd(1,a) (or whatever it selected 
automatically) worked but not any more ? (A bug ?)

I will try to re-install my FreeBSD several times until I can pinpoint
where went wrong.

> 
> > For 'not recognizing device names'From owner-freebsd-questions  Wed Jul 19 20:23:44 1995
Return-Path: questions-owner
Received: (from majordom@localhost)
          by freefall.cdrom.com (8.6.11/8.6.6) id UAA29913
          for questions-outgoing; Wed, 19 Jul 1995 20:23:44 -0700
Received: from mail.barrnet.net (mail.barrnet.net [131.119.246.7])
          by freefall.cdrom.com (8.6.11/8.6.6) with ESMTP id UAA29902
          for <freebsd-questions@freebsd.org>; Wed, 19 Jul 1995 20:23:42 -0700
Received: from winjef.somerset (slip149.hk.super.net [202.64.10.6]) by mail.barrnet.net (8.6.10/MAIL-RELAY-LEN) with ESMTP id UAA01303 for <freebsd-questions@freebsd.org>; Wed, 19 Jul 1995 20:23:37 -0700
Received: (from john@localhost) by winjef.somerset (8.6.11/8.6.9) id TAA00215; Thu, 20 Jul 1995 19:06:44 +0800
Date: Thu, 20 Jul 1995 19:06:43 +0800 (HKT)
From: John Beukema <john@winjef.somerset>
To: "Mike O'Brien" <obrien@antares.aero.org>
cc: freebsd-questions@freebsd.org
Subject: Re: Demand dial with IIJ PPP - Round 2
In-Reply-To: <95Jul19.001810pdt.111156-2@aero.org>
Message-ID: <Pine.BSF.3.91.950720185011.190B-100000@winjef.somerset>
MIME-Version: 1.0
Content-Type: TEXT/PLAIN; charset=US-ASCII
Sender: questions-owner@freebsd.org
Precedence: bulk



On Wed, 19 Jul 1995, Mike O'Brien wrote:

> 	Ok, the way I've got things set up now, demand dial works
> perfectly...IF AND ONLY IF I use the 'simplesite' method to
> do a 'manual automatic' session first.  After running such a
> session, I can kill the daemon (tell it to quit, actually, since
> it's in command mode), restart it in -auto mode, and it will
> work like a dream from then on.
> 
> 	Unfortunately, 'netstat -r' and 'ifconfig tun0' look
> absolutely identical before and after the 'manual automatic'
> session.  Obviously the first, command-mode session is
> initializing something...but what???
> 
> 	I'll post any requested files from my other account,
> since things are now up and running to the point that I can
> send & receive mail over there again.
> 
> Mike O'Brien
> 
I am having exactly the same thing.  If I start -auto mode I get 'host is 
down'.  I am using the identical script, a modified 'ondemand' once 
without auto then with -auto.  route add default <ISP-address> works so 
it appears that the -auto is not setting up the route default properly. I 
believe adding route add default to sysconfig will solve that problem.

I have another problem, however.  If I enable named, the boot sequence 
seems to hang at the route add point.  If I ^C at that point I get 
...clearing /tmp and boot.  Bring up iij-ppp first manually then -auto 
works fine and will time out after 120 secs of no activity.  

On the other hand, if I wait at the apparent hang, after about two minutes
the boot continues.  Then if I bring up iijj-ppp manual then -auto, **it 
will never turn off!**.  tcpdump -i tun0 shows my router and my ISP's 
router exchanging packets ever 30 secs or so.  

Can some guru tell me what is different between waiting for the boot 
sequence to time out and exiting from the route add sequence which 
renders the ondemand feature unusable?

jbeukema

  



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199507200304.UAA25809>