[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: config(8) not saving modifications?



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