Re: 6.2-PRE: Fatal Trap?



Robert Watson wrote:

On Sat, 30 Dec 2006, Larry Rosenman wrote:

I had to on an emergency basis replace my aging P-1 Firewall. The
guys at my hosting company gave me an AthlonXP 2200+, and with 6.1
(all the way up to today's RELENG_6_1), it works fine.

I tried(!) to put 6.2-PRE (RELENG_6) on it, but no matter what I do,
it panics when either NTPD or SSHD starts (depending on whats first).

Unfortunately, I don't have the exact panic (it's a page not
present, and if I understood my remote eyes/hands right, a NULL
de-reference).

The box is 300+ miles away (Distance from Austin, TX to Dallas, TX).

Anyone got ideas?

It looks like the attached patch was missed in the MFC I just pointed
at. Could you try applying it?

You can also fetch it from:

http://www.watson.org/~robert/freebsd/20061230-20061230-tcp_pcb_fix.diff


Normally, I'd be more than happy to, but, given:
1) the box is 300+ miles away
2) I do NOT have access to remote hands again till Tuesday (Holiday)
3) this is my firewall between all my services and the rest of the world
and if down, I'm off the air :(

I wish I could, but can't afford to be down for the 5 days :(

Thanks for the diagnosis, however, as I was going nuts.

I've gone ahead and MFC'd the missing tcp_subr.c patch and the change
now appears stable on by 6-STABLE test box. I'd appreciate it if other
people experiencing the panic could slide forward to confirm (or perhaps
less ideally, not confirm) that this fixes the problem for them also.

The link is slightly broken, I've found the patch here:

http://www.watson.org/~robert/freebsd/20061230-tcp_pcb_fix.diff

Applied, recompiled the kernel - no more panic :)

Thanks Robert nad Max. If there's anything else needed let me know.

Karol

P.S. out of curiosity - now that I have configured kernel with DDB and
KDB options, is there any performance penalty of running such kernel?

--
Karol Kwiatkowski <freebsd at orchid dot homeunix dot org>
OpenPGP: http://www.orchid.homeunix.org/carlos/gpg/0x06E09309.asc

Attachment: signature.asc
Description: OpenPGP digital signature



Relevant Pages

  • Random panics seen in 2.6.18-rc1
    ... random panics in slab allocation/free routines. ... By adding one patch at a time to 2.6.17's mm/slab.c, ... leads the 2.6.18-rc1 kernel to panic in 30-60 minutes. ... # ACPI Support ...
    (Linux-Kernel)
  • Re: kernel panic
    ... I am a kgdb newbie, ... Perhaps the kernel panic could be avoided with the following patch? ... Hopefully it panics here which might help: ...
    (freebsd-stable)
  • Re: kernel panic
    ... I am a kgdb newbie, ... Perhaps the kernel panic could be avoided with the following patch? ... Hopefully it panics here which might help: ...
    (freebsd-stable)
  • Re: kernel panic
    ... I am a kgdb newbie, ... Perhaps the kernel panic could be avoided with the following patch? ... Hopefully it panics here which might help: ...
    (freebsd-stable)
  • Re: [panic] aacraid on 2.4.33.4 w/ PERC 3/Di
    ... I have now seen the panics ... I originally saw the panics with a 2.4.32 kernel which had a few patches ... Subsystem: Dell Computer Corporation: Unknown device 000c ...
    (Linux-Kernel)