How to configure FreeBSD for rebooting when kernel panic

2005-06-10 Thread Andrey V. Elsukov

Hi all,

It is possible to configure OS for rebooting when kernel panic?
--
WBR, Andrey V. Elsukov

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


Re: How to configure FreeBSD for rebooting when kernel panic

2005-06-10 Thread Kris Kennaway
On Fri, Jun 10, 2005 at 11:04:17AM +0400, Andrey V. Elsukov wrote:
 Hi all,
 
 It is possible to configure OS for rebooting when kernel panic?

That should be the default condition as long as you don't specify
debugger support (or do and use DDB_UNATTENDED)

Kris

pgpzKShPybVZI.pgp
Description: PGP signature


Re: How to configure FreeBSD for rebooting when kernel panic

2005-06-10 Thread Andrey V. Elsukov

Kris Kennaway wrote:

That should be the default condition as long as you don't specify
debugger support (or do and use DDB_UNATTENDED)

Thanks.
I have RELENG_5 server with ATA RAID promise controller and 4 ATA disks 
in two RAID0 stripes.
Today one RAID0 has BROKEN (ar0). I have tried umount -f /dev/ar0s1d 
and currently have unreacheble system.. (i have only remote access to 
this machine) :(

How to umount broken raid without system hold?
--
WBR, Andrey V. Elsukov

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


Re: How to configure FreeBSD for rebooting when kernel panic

2005-06-10 Thread Andrey V. Elsukov

Andrew McNaughton wrote:

You can't unmount your root file system.


Because of this it's possibly a good idea to have as minimal a root 
partition system as possible, off the raid system, and very rarely 
changed, so it's unlikely to get screwed up.


Yes, i know. Root FS, and othser system FS's is on the other disk. RAID 
stripe have only public data.

--
WBR, Andrey V. Elsukov

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


Re: How to configure FreeBSD for rebooting when kernel panic

2005-06-10 Thread Simon L. Nielsen
On 2005.06.10 03:06:46 -0400, Kris Kennaway wrote:
 On Fri, Jun 10, 2005 at 11:04:17AM +0400, Andrey V. Elsukov wrote:
  Hi all,
  
  It is possible to configure OS for rebooting when kernel panic?
 
 That should be the default condition as long as you don't specify
 debugger support (or do and use DDB_UNATTENDED)

BTW. note that DDB_UNATTENDED was been broken for a while (so it still
went into the DDB) - it should be fixed now at least in -CURRENT, but
I'm not sure if that change made it back to 5-STABLE/5.4-RELEASE.

-- 
Simon L. Nielsen


pgpcKkwG7pidi.pgp
Description: PGP signature


Re: How to configure FreeBSD for rebooting when kernel panic

2005-06-10 Thread Andrew McNaughton



On Fri, 10 Jun 2005, Andrey V. Elsukov wrote:


Andrew McNaughton wrote:

You can't unmount your root file system.


Because of this it's possibly a good idea to have as minimal a root 
partition system as possible, off the raid system, and very rarely changed, 
so it's unlikely to get screwed up.


Yes, i know. Root FS, and othser system FS's is on the other disk. RAID 
stripe have only public data.


You want a system where if the mounts (other than the root fs) fail, the 
system will still be adminsterable.  To maintain remote access, you'd need 
to make sure that all your basic login tools are on the root disk.  eg 
sshd, root's default shell, etc.


Should be doable, but would be nice if it didn't involve as much custom 
tinkering as I expect it would.


Andrew




--
Life is a process of becoming, a combination of states we have to 
go through. Where people fail is that they wish to elect a state 
and remain in it. This is a kind of death.  -- Anais Nin


---
Andrew McNaughton   http://www.scoop.co.nz/
[EMAIL PROTECTED]  Mobile: +61 422 753 792

--
pgp encrypted mail welcome
keyid: 70F6C32D  keyserver: pgp.mit.edu
5688 2396 AA81 036A EBAC 2DD4 1BEA 7975 A84F 6686
___
freebsd-stable@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-stable
To unsubscribe, send any mail to [EMAIL PROTECTED]