[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: config(8) not saving modifications?
- To: tech_(_at_)_openbsd_(_dot_)_org
- Subject: Re: config(8) not saving modifications?
- From: BooK <book_(_at_)_netcourrier_(_dot_)_com>
- Date: Wed, 4 Jul 2001 11:59:36 +0200 (CEST)
- Cc: Peter Galbavy <peter_(_dot_)_galbavy_(_at_)_knowtion_(_dot_)_net>, Hakan Olsson <ho_(_at_)_crt_(_dot_)_se>
On Mon, 2 Jul 2001, Peter Galbavy wrote:
> > Right know for each reboot I have to boot -c to correctly configure that
> > NIC.
>
> the '-c' boot option is a one time only - useful for verifying a setting.
> Once you have booted up then run 'config -ef /bsd' or whatever and it will
> make then changes permanent.
But the changes are saved when I run config -ef /bsd...
It's just that somehow, they are not used (?) at boot time.
And when I use the '-c' boot option to *check* what the values are at
boot time, I see:
131 ec1 at isa0 port 0 size 0 iomem 0 iosiz 0 irq 0 drq 0 drq2 0 flags 0x0
instead of what is saved in /bsd:
131 ec1 at isa0 port 0x280 size 0 iomem 0xc8000 iosiz 0 irq 5 drq -1 drq2 -1 flags 0x0
So I change the config, boot, and when I used config -euf /bsd, it detects
no change. Indeed, since the value used to boot where already saved...
I also tried to exchange the configuration information between ec0 and
ec1, and still only one of the cards is detected. And I don't think it's a
problem with the cards, since they worked perfectly (and were detected)
with OpenBSD 2.7.
-- BooK
------------------------------------------------------------------------------
Philippe BRUHAT - BooK
Law is the best deterrent to Justice.
(Moral from Groo The Wanderer #90 (Epic))
Visit your host, monkey.org