Hello All!
I've upgraded freebsd from 7.0 to 7.3 and all was good until I tryed to
configure gre interface and use ipfw fwd.
I'm actually does not know what was the point of failure in my
configuration.
I got freebsd 7.0, next i made csup and:
make buildworld && make kernel KERNCONF=MYKERNEL
reboot to single user mode
mergemaster -p
make installworld
make delete-old
make delete-old-libs
mergemaster -iF
reboot
And made some test to check that 7.3 works well.
It worked about one week and then I made some configuration changes:
added gre interface and 2 aliases:
# cat /etc/rc.conf |grep
ifconfig_xl0="inet 192.168.0.10 netmask 255.255.255.0"
ifconfig_xl0_alias0="192.168.0.11 netmask 255.255.255.255"
ifconfig_xl0_alias1="192.168.0.12 netmask 255.255.255.255"
cloned_interfaces="gre0"
ifconfig_gre0="inet 192.168.250.6 192.168.250.5 tunnel 192.168.0.12
192.168.200.15 netmask 255.255.255.252 link1 up"
and
# cat /etc/rc.local
#!/bin/sh
ipfw add fwd 192.168.250.5 icmp from 192.168.0.11 to any out via xl0
ipfw add fwd 192.168.250.5 tcp from 192.168.0.11 443 to any out via xl0
ipfw add allow ip from any to any
# ifconfig gre0
gre0: flags=b050<POINTOPOINT,RUNNING,LINK0,LINK1,MULTICAST> metric 0 mtu
1476
tunnel inet 192.168.0.12 --> 192.168.200.15
inet 192.168.250.6 --> 192.168.250.5 netmask 0xfffffffc
I shutted down gre interface to prevent requests via gre to buggy IP.
The main idea of such configurations was: fwd all connections to https to
192.168.0.1 via gre interface.
And also I made apache configurations to make it listen on 192.168.0.11 too.
And make some tests: ping 192.168.0.11 - was fine, goes via gre. Telnet to
192.168.0.11 443 was fine too. Then I tryed to make browser https
connection to 192.168.0.11. Apache showed me certificate warning and I
accepted, then in browser nothing happened, it was trying to open page. But
server got kernel panic at that moment.
At first time I thought that it was some power failure, I tryed 2 more times
and got same behaviour.
So https works without kernel panic via 192.168.0.10 address but kernel
panics when I try do https via 192.168.0.11 address that source-forwarded
via gre.
And some tech info:
FreeBSD host.domain.com 7.3-RELEASE FreeBSD 7.3-RELEASE #0: Wed Apr 14
23:41:15 NOVST 2010 root@host.domain.com:/usr/obj/usr/src/sys/MYKERNEL
i386
dmesg after failure:
host# dmesg
Copyright (c) 1992-2010 The FreeBSD Project.
Copyright (c) 1979, 1980, 1983, 1986, 1988, 1989, 1991, 1992, 1993, 1994
The Regents of the University of California. All rights reserved.
FreeBSD is a registered trademark of The FreeBSD Foundation.
FreeBSD 7.3-RELEASE #0: Wed Apr 14 23:41:15 NOVST 2010
root@host.domain.com:/usr/obj/usr/src/sys/MYKERNEL i386
Timecounter "i8254" frequency 1193182 Hz quality 0
CPU: Intel(R) Celeron(R) CPU 2.00GHz (2000.03-MHz 686-class CPU)
Origin = "GenuineIntel" Id = 0xf29 Stepping = 9
Features=0xbfebfbff<FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CLFLUSH,DTS,ACPI,MMX,FXSR,SSE,SSE2,SS,HTT,TM,PBE>
Features2=0x4400<CNXT-ID,xTPR>
real memory = 259981312 (247 MB)
avail memory = 240336896 (229 MB)
ACPI APIC Table: <IntelR AWRDACPI>
ioapic0 <Version 2.0> irqs 0-23 on motherboard
kbd1 at kbdmux0
acpi0: <IntelR AWRDACPI> on motherboard
acpi0: [ITHREAD]
acpi0: Power Button (fixed)
acpi0: reservation of 0, a0000 (3) failed
acpi0: reservation of 100000, f6f0000 (3) failed
Timecounter "ACPI-fast" frequency 3579545 Hz quality 1000
acpi_timer0: <24-bit timer at 3.579545MHz> port 0x408-0x40b on acpi0
acpi_button0: <Power Button> on acpi0
pcib0: <ACPI Host-PCI bridge> port 0xcf8-0xcff on acpi0
pci0: <ACPI PCI bus> on pcib0
vgapci0: <VGA-compatible display> mem
0xe0000000-0xe7ffffff,0xec100000-0xec17ffff irq 16 at device 2.0 on pci0
agp0: <Intel 82845M (845M GMCH) SVGA controller> on vgapci0
agp0: detected 8060k stolen memory
agp0: aperture size is 128M
uhci0: <Intel 82801DB (ICH4) USB controller USB-A> port 0xd800-0xd81f irq
16
at device 29.0 on pci0
uhci0: [GIANT-LOCKED]
uhci0: [ITHREAD]
usb0: <Intel 82801DB (ICH4) USB controller USB-A> on uhci0
usb0: USB revision 1.0
uhub0: <Intel UHCI root hub, class 9/0, rev 1.00/1.00, addr 1> on usb0
uhub0: 2 ports with 2 removable, self powered
uhci1: <Intel 82801DB (ICH4) USB controller USB-B> port 0xd000-0xd01f irq
19
at device 29.1 on pci0
uhci1: [GIANT-LOCKED]
uhci1: [ITHREAD]
usb1: <Intel 82801DB (ICH4) USB controller USB-B> on uhci1
usb1: USB revision 1.0
uhub1: <Intel UHCI root hub, class 9/0, rev 1.00/1.00, addr 1> on usb1
uhub1: 2 ports with 2 removable, self powered
uhci2: <Intel 82801DB (ICH4) USB controller USB-C> port 0xd400-0xd41f irq
18
at device 29.2 on pci0
uhci2: [GIANT-LOCKED]
uhci2: [ITHREAD]
usb2: <Intel 82801DB (ICH4) USB controller USB-C> on uhci2
usb2: USB revision 1.0
uhub2: <Intel UHCI root hub, class 9/0, rev 1.00/1.00, addr 1> on usb2
uhub2: 2 ports with 2 removable, self powered
ehci0: <Intel 82801DB/L/M (ICH4) USB 2.0 controller> mem
0xec180000-0xec1803ff irq 23 at device 29.7 on pci0
ehci0: [GIANT-LOCKED]
ehci0: [ITHREAD]
usb3: EHCI version 1.0
usb3: companion controllers, 2 ports each: usb0 usb1 usb2
usb3: <Intel 82801DB/L/M (ICH4) USB 2.0 controller> on ehci0
usb3: USB revision 2.0
uhub3: <Intel EHCI root hub, class 9/0, rev 2.00/1.00, addr 1> on usb3
uhub3: 6 ports with 6 removable, self powered
pcib1: <ACPI PCI-PCI bridge> at device 30.0 on pci0
pci1: <ACPI PCI bus> on pcib1
xl0: <3Com 3c905C-TX Fast Etherlink XL> port 0xc000-0xc07f mem
0xec020000-0xec02007f irq 22 at device 6.0 on pci1
miibus0: <MII bus> on xl0
xlphy0: <3c905C 10/100 internal PHY> PHY 24 on miibus0
xlphy0: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto
xl0: Ethernet address: 00:03:99:88:79:2f
xl0: [ITHREAD]
fxp0: <Intel 82801DB (ICH4) Pro/100 Ethernet> port 0xc400-0xc43f mem
0xec021000-0xec021fff irq 20 at device 8.0 on pci1
miibus1: <MII bus> on fxp0
inphy0: <i82562ET 10/100 media interface> PHY 1 on miibus1
inphy0: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto
fxp0: Ethernet address: 00:0a:48:08:7d:0a
fxp0: [ITHREAD]
isab0: <PCI-ISA bridge> at device 31.0 on pci0
isa0: <ISA bus> on isab0
atapci0: <Intel ICH4 UDMA100 controller> port
0x1f0-0x1f7,0x3f6,0x170-0x177,0x376,0xf000-0xf00f at device 31.1 on pci0
ata0: <ATA channel 0> on atapci0
ata0: [ITHREAD]
ata1: <ATA channel 1> on atapci0
ata1: [ITHREAD]
pci0: <serial bus, SMBus> at device 31.3 (no driver attached)
pci0: <multimedia, audio> at device 31.5 (no driver attached)
acpi_tz0: <Thermal Zone> on acpi0
fdc0: <floppy drive controller> port 0x3f0-0x3f5,0x3f7 irq 6 drq 2 on
acpi0
fdc0: [FILTER]
sio0: <16550A-compatible COM port> port 0x3f8-0x3ff irq 4 flags 0x10 on
acpi0
sio0: type 16550A
sio0: [FILTER]
sio1: <16550A-compatible COM port> port 0x2f8-0x2ff irq 3 on acpi0
sio1: type 16550A
sio1: [FILTER]
atkbdc0: <Keyboard controller (i8042)> port 0x60,0x64 irq 1 on acpi0
atkbd0: <AT Keyboard> irq 1 on atkbdc0
kbd0 at atkbd0
atkbd0: [GIANT-LOCKED]
atkbd0: [ITHREAD]
psm0: <PS/2 Mouse> irq 12 on atkbdc0
psm0: [GIANT-LOCKED]
psm0: [ITHREAD]
psm0: model IntelliMouse Explorer, device ID 4
cpu0: <ACPI CPU> on acpi0
p4tcc0: <CPU Frequency Thermal Control> on cpu0
pmtimer0 on isa0
orm0: <ISA Option ROM> at iomem 0xcc000-0xcc7ff pnpid ORM0000 on isa0
ppc0: <Parallel port> at port 0x378-0x37f irq 7 on isa0
ppc0: SMC-like chipset (ECP/EPP/PS2/NIBBLE) in COMPATIBLE mode
ppc0: FIFO with 16/16/9 bytes threshold
ppbus0: <Parallel port bus> on ppc0
ppbus0: [ITHREAD]
plip0: <PLIP network interface> on ppbus0
plip0: WARNING: using obsoleted IFF_NEEDSGIANT flag
lpt0: <Printer> on ppbus0
lpt0: Interrupt-driven port
ppi0: <Parallel I/O> on ppbus0
ppc0: [GIANT-LOCKED]
ppc0: [ITHREAD]
sc0: <System console> at flags 0x100 on isa0
sc0: VGA <16 virtual consoles, flags=0x300>
vga0: <Generic ISA VGA> at port 0x3c0-0x3df iomem 0xa0000-0xbffff on isa0
Timecounter "TSC" frequency 2000033152 Hz quality 800
Timecounters tick every 1.000 msec
ipfw2 initialized, divert enabled, nat loadable, rule-based forwarding
enabled, default to deny, logging limited to 1000 packets/entry by default
ad0: 76319MB <Seagate ST380215A 3.AAD> at ata0-master UDMA100
ad2: 76319MB <Seagate ST380215A 3.AAD> at ata1-master UDMA100
Trying to mount root from ufs:/dev/ad0s1a
WARNING: / was not properly dismounted
WARNING: /tmp was not properly dismounted
WARNING: /usr was not properly dismounted
WARNING: /var was not properly dismounted
host# tail /var/log/messages
Apr 19 20:49:00 host kernel: WARNING: / was not properly dismounted
Apr 19 20:49:00 host kernel: WARNING: /tmp was not properly dismounted
Apr 19 20:49:00 host kernel: WARNING: /usr was not properly dismounted
Apr 19 20:49:00 host kernel: WARNING: /var was not properly dismounted
Apr 19 20:49:00 host savecore: reboot after panic: double fault
Apr 19 20:49:00 host savecore: writing core to vmcore.2
Apr 19 20:49:31 host su: milyar to root on /dev/ttyp0
Apr 19 20:50:10 host fsck: /dev/ad0s1e: 30 files, 25 used, 1012990 free (70
frags, 126615 blocks, 0.0% fragmentation)
Apr 19 20:51:56 host fsck: /dev/ad0s1f: 298037 files, 2009202 used, 3067877
free (103869 frags, 370501 blocks, 2.0% fragmentation)
Apr 19 20:52:06 host fsck: /dev/ad0s1d: 22758 files, 749889 used, 263126
free (30022 frags, 29138 blocks, 3.0% fragmentation)
_______________________________________________________________________________________
/var/log/messages after failure:
Apr 19 20:49:00 host syslogd: kernel boot file is /boot/kernel/kernel
Apr 19 20:49:00 host kernel: Copyright (c) 1992-2010 The FreeBSD Project.
Apr 19 20:49:00 host kernel: Copyright (c) 1979, 1980, 1983, 1986, 1988,
1989, 1991, 1992, 1993, 1994
Apr 19 20:49:00 host kernel: The Regents of the University of California.
All rights reserved.
Apr 19 20:49:00 host kernel: FreeBSD is a registered trademark of The
FreeBSD Foundation.
Apr 19 20:49:00 host kernel: FreeBSD 7.3-RELEASE #0: Wed Apr 14 23:41:15
NOVST 2010
Apr 19 20:49:00 host kernel: root@host.domain.com:/usr/obj/usr/src/sys/MYKERNEL
i386
Apr 19 20:49:00 host kernel: Timecounter "i8254" frequency 1193182 Hz
quality 0
Apr 19 20:49:00 host kernel: CPU: Intel(R) Celeron(R) CPU 2.00GHz
(2000.03-MHz 686-class CPU)
Apr 19 20:49:00 host kernel: Origin = "GenuineIntel" Id = 0xf29
Stepping 9
Apr 19 20:49:00 host kernel:
Features=0xbfebfbff<FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CLFLUSH,DTS,ACPI,MMX,FXSR,SSE,SSE2,SS,HTT,TM,PBE>
Apr 19 20:49:00 host kernel: Features2=0x4400<CNXT-ID,xTPR>
Apr 19 20:49:00 host kernel: real memory = 259981312 (247 MB)
Apr 19 20:49:00 host kernel: avail memory = 240336896 (229 MB)
Apr 19 20:49:00 host kernel: ACPI APIC Table: <IntelR AWRDACPI>
Apr 19 20:49:00 host kernel: ioapic0 <Version 2.0> irqs 0-23 on
motherboard
Apr 19 20:49:00 host kernel: kbd1 at kbdmux0
Apr 19 20:49:00 host kernel: acpi0: <IntelR AWRDACPI> on motherboard
Apr 19 20:49:00 host kernel: acpi0: [ITHREAD]
Apr 19 20:49:00 host kernel: acpi0: Power Button (fixed)
Apr 19 20:49:00 host kernel: acpi0: reservation of 0, a0000 (3) failed
Apr 19 20:49:00 host kernel: acpi0: reservation of 100000, f6f0000 (3)
failed
Apr 19 20:49:00 host kernel: Timecounter "ACPI-fast" frequency 3579545
Hz
quality 1000
Apr 19 20:49:00 host kernel: acpi_timer0: <24-bit timer at 3.579545MHz>
port
0x408-0x40b on acpi0
Apr 19 20:49:00 host kernel: acpi_button0: <Power Button> on acpi0
Apr 19 20:49:00 host kernel: pcib0: <ACPI Host-PCI bridge> port
0xcf8-0xcff
on acpi0
Apr 19 20:49:00 host kernel: pci0: <ACPI PCI bus> on pcib0
Apr 19 20:49:00 host kernel: vgapci0: <VGA-compatible display> mem
0xe0000000-0xe7ffffff,0xec100000-0xec17ffff irq 16 at device 2.0 on pci0
Apr 19 20:49:00 host kernel: agp0: <Intel 82845M (845M GMCH) SVGA
controller> on vgapci0
Apr 19 20:49:00 host kernel: agp0: detected 8060k stolen memory
Apr 19 20:49:00 host kernel: agp0: aperture size is 128M
Apr 19 20:49:00 host kernel: uhci0: <Intel 82801DB (ICH4) USB controller
USB-A> port 0xd800-0xd81f irq 16 at device 29.0 on pci0
Apr 19 20:49:00 host kernel: uhci0: [GIANT-LOCKED]
Apr 19 20:49:00 host kernel: uhci0: [ITHREAD]
Apr 19 20:49:00 host kernel: usb0: <Intel 82801DB (ICH4) USB controller
USB-A> on uhci0
Apr 19 20:49:00 host kernel: usb0: USB revision 1.0
Apr 19 20:49:00 host kernel: uhub0: <Intel UHCI root hub, class 9/0, rev
1.00/1.00, addr 1> on usb0
Apr 19 20:49:00 host kernel: uhub0: 2 ports with 2 removable, self powered
Apr 19 20:49:00 host kernel: uhci1: <Intel 82801DB (ICH4) USB controller
USB-B> port 0xd000-0xd01f irq 19 at device 29.1 on pci0
Apr 19 20:49:00 host kernel: uhci1: [GIANT-LOCKED]
Apr 19 20:49:00 host kernel: uhci1: [ITHREAD]
Apr 19 20:49:00 host kernel: usb1: <Intel 82801DB (ICH4) USB controller
USB-B> on uhci1
Apr 19 20:49:00 host kernel: usb1: USB revision 1.0
Apr 19 20:49:00 host kernel: uhub1: <Intel UHCI root hub, class 9/0, rev
1.00/1.00, addr 1> on usb1
Apr 19 20:49:00 host kernel: uhub1: 2 ports with 2 removable, self powered
Apr 19 20:49:00 host kernel: uhci2: <Intel 82801DB (ICH4) USB controller
USB-C> port 0xd400-0xd41f irq 18 at device 29.2 on pci0
Apr 19 20:49:00 host kernel: uhci2: [GIANT-LOCKED]
Apr 19 20:49:00 host kernel: uhci2: [ITHREAD]
Apr 19 20:49:00 host kernel: usb2: <Intel 82801DB (ICH4) USB controller
USB-C> on uhci2
Apr 19 20:49:00 host kernel: usb2: USB revision 1.0
Apr 19 20:49:00 host kernel: uhub2: <Intel UHCI root hub, class 9/0, rev
1.00/1.00, addr 1> on usb2
Apr 19 20:49:00 host kernel: uhub2: 2 ports with 2 removable, self powered
Apr 19 20:49:00 host kernel: ehci0: <Intel 82801DB/L/M (ICH4) USB 2.0
controller> mem 0xec180000-0xec1803ff irq 23 at device 29.7 on pci0
Apr 19 20:49:00 host kernel: ehci0: [GIANT-LOCKED]
Apr 19 20:49:00 host kernel: ehci0: [ITHREAD]
Apr 19 20:49:00 host kernel: usb3: EHCI version 1.0
Apr 19 20:49:00 host kernel: usb3: companion controllers, 2 ports each: usb0
usb1 usb2
Apr 19 20:49:00 host kernel: usb3: <Intel 82801DB/L/M (ICH4) USB 2.0
controller> on ehci0
Apr 19 20:49:00 host kernel: usb3: USB revision 2.0
Apr 19 20:49:00 host kernel: uhub3: <Intel EHCI root hub, class 9/0, rev
2.00/1.00, addr 1> on usb3
Apr 19 20:49:00 host kernel: uhub3: 6 ports with 6 removable, self powered
Apr 19 20:49:00 host kernel: pcib1: <ACPI PCI-PCI bridge> at device 30.0
on
pci0
Apr 19 20:49:00 host kernel: pci1: <ACPI PCI bus> on pcib1
Apr 19 20:49:00 host kernel: xl0: <3Com 3c905C-TX Fast Etherlink XL> port
0xc000-0xc07f mem 0xec020000-0xec02007f irq 22 at device 6.0 on pci1
Apr 19 20:49:00 host kernel: miibus0: <MII bus> on xl0
Apr 19 20:49:00 host kernel: xlphy0: <3c905C 10/100 internal PHY> PHY 24
on
miibus0
Apr 19 20:49:00 host kernel: xlphy0: 10baseT, 10baseT-FDX, 100baseTX,
100baseTX-FDX, auto
Apr 19 20:49:00 host kernel: xl0: Ethernet address: 00:03:99:88:79:2f
Apr 19 20:49:00 host kernel: xl0: [ITHREAD]
Apr 19 20:49:00 host kernel: fxp0: <Intel 82801DB (ICH4) Pro/100 Ethernet>
port 0xc400-0xc43f mem 0xec021000-0xec021fff irq 20 at device 8.0 on pci1
Apr 19 20:49:00 host kernel: miibus1: <MII bus> on fxp0
Apr 19 20:49:00 host kernel: inphy0: <i82562ET 10/100 media interface> PHY
1
on miibus1
Apr 19 20:49:00 host kernel: inphy0: 10baseT, 10baseT-FDX, 100baseTX,
100baseTX-FDX, auto
Apr 19 20:49:00 host kernel: fxp0: Ethernet address: 00:0a:48:08:7d:0a
Apr 19 20:49:00 host kernel: fxp0: [ITHREAD]
Apr 19 20:49:00 host kernel: isab0: <PCI-ISA bridge> at device 31.0 on
pci0
Apr 19 20:49:00 host kernel: isa0: <ISA bus> on isab0
Apr 19 20:49:00 host kernel: atapci0: <Intel ICH4 UDMA100 controller> port
0x1f0-0x1f7,0x3f6,0x170-0x177,0x376,0xf000-0xf00f at device 31.1 on pci0
Apr 19 20:49:00 host kernel: ata0: <ATA channel 0> on atapci0
Apr 19 20:49:00 host kernel: ata0: [ITHREAD]
Apr 19 20:49:00 host kernel: ata1: <ATA channel 1> on atapci0
Apr 19 20:49:00 host kernel: ata1: [ITHREAD]
Apr 19 20:49:00 host kernel: pci0: <serial bus, SMBus> at device 31.3 (no
driver attached)
Apr 19 20:49:00 host kernel: pci0: <multimedia, audio> at device 31.5 (no
driver attached)
Apr 19 20:49:00 host kernel: acpi_tz0: <Thermal Zone> on acpi0
Apr 19 20:49:00 host kernel: fdc0: <floppy drive controller> port
0x3f0-0x3f5,0x3f7 irq 6 drq 2 on acpi0
Apr 19 20:49:00 host kernel: fdc0: [FILTER]
Apr 19 20:49:00 host kernel: sio0: <16550A-compatible COM port> port
0x3f8-0x3ff irq 4 flags 0x10 on acpi0
Apr 19 20:49:00 host kernel: sio0: type 16550A
Apr 19 20:49:00 host kernel: sio0: [FILTER]
Apr 19 20:49:00 host kernel: sio1: <16550A-compatible COM port> port
0x2f8-0x2ff irq 3 on acpi0
Apr 19 20:49:00 host kernel: sio1: type 16550A
Apr 19 20:49:00 host kernel: sio1: [FILTER]
Apr 19 20:49:00 host kernel: atkbdc0: <Keyboard controller (i8042)> port
0x60,0x64 irq 1 on acpi0
Apr 19 20:49:00 host kernel: atkbd0: <AT Keyboard> irq 1 on atkbdc0
Apr 19 20:49:00 host kernel: kbd0 at atkbd0
Apr 19 20:49:00 host kernel: atkbd0: [GIANT-LOCKED]
Apr 19 20:49:00 host kernel: atkbd0: [ITHREAD]
Apr 19 20:49:00 host kernel: psm0: <PS/2 Mouse> irq 12 on atkbdc0
Apr 19 20:49:00 host kernel: psm0: [GIANT-LOCKED]
Apr 19 20:49:00 host kernel: psm0: [ITHREAD]
Apr 19 20:49:00 host kernel: psm0: model IntelliMouse Explorer, device ID 4
Apr 19 20:49:00 host kernel: cpu0: <ACPI CPU> on acpi0
Apr 19 20:49:00 host kernel: p4tcc0: <CPU Frequency Thermal Control> on
cpu0
Apr 19 20:49:00 host kernel: pmtimer0 on isa0
Apr 19 20:49:00 host kernel: orm0: <ISA Option ROM> at iomem
0xcc000-0xcc7ff
pnpid ORM0000 on isa0
Apr 19 20:49:00 host kernel: ppc0: <Parallel port> at port 0x378-0x37f irq
7
on isa0
Apr 19 20:49:00 host kernel: ppc0: SMC-like chipset (ECP/EPP/PS2/NIBBLE) in
COMPATIBLE mode
Apr 19 20:49:00 host kernel: ppc0: FIFO with 16/16/9 bytes threshold
Apr 19 20:49:00 host kernel: ppbus0: <Parallel port bus> on ppc0
Apr 19 20:49:00 host kernel: ppbus0: [ITHREAD]
Apr 19 20:49:00 host kernel: plip0: <PLIP network interface> on ppbus0
Apr 19 20:49:00 host kernel: plip0: WARNING: using obsoleted IFF_NEEDSGIANT
flag
Apr 19 20:49:00 host kernel: lpt0: <Printer> on ppbus0
Apr 19 20:49:00 host kernel: lpt0: Interrupt-driven port
Apr 19 20:49:00 host kernel: ppi0: <Parallel I/O> on ppbus0
Apr 19 20:49:00 host kernel: ppc0: [GIANT-LOCKED]
Apr 19 20:49:00 host kernel: ppc0: [ITHREAD]
Apr 19 20:49:00 host kernel: sc0: <System console> at flags 0x100 on isa0
Apr 19 20:49:00 host kernel: sc0: VGA <16 virtual consoles, flags=0x300>
Apr 19 20:49:00 host kernel: vga0: <Generic ISA VGA> at port 0x3c0-0x3df
iomem 0xa0000-0xbffff on isa0
Apr 19 20:49:00 host kernel: Timecounter "TSC" frequency 2000033152 Hz
quality 800
Apr 19 20:49:00 host kernel: Timecounters tick every 1.000 msec
Apr 19 20:49:00 host kernel: ipfw2 initialized, divert enabled, nat
loadable, rule-based forwarding enabled, default to deny, logging limited to
1000 packets/entry by default
Apr 19 20:49:00 host kernel: ad0: 76319MB <Seagate ST380215A 3.AAD> at
ata0-master UDMA100
Apr 19 20:49:00 host kernel: ad2: 76319MB <Seagate ST380215A 3.AAD> at
ata1-master UDMA100
Apr 19 20:49:00 host kernel: Trying to mount root from ufs:/dev/ad0s1a
Apr 19 20:49:00 host kernel: WARNING: / was not properly dismounted
Apr 19 20:49:00 host kernel: WARNING: /tmp was not properly dismounted
Apr 19 20:49:00 host kernel: WARNING: /usr was not properly dismounted
Apr 19 20:49:00 host kernel: WARNING: /var was not properly dismounted
Apr 19 20:49:00 host savecore: reboot after panic: double fault
Apr 19 20:49:00 host savecore: writing core to vmcore.2
_______________________________________________________________________________________
kernel config:
# cat /usr/src/sys/i386/conf/MYKERNEL
#
# GENERIC -- Generic kernel configuration file for FreeBSD/i386
#
# For more information on this file, please read the handbook section on
# Kernel Configuration Files:
#
#
http://www.FreeBSD.org/doc/en_US.ISO8859-1/books/handbook/kernelconfig-config.html
#
# The handbook is also available locally in /usr/share/doc/handbook
# if you've installed the doc distribution, otherwise always see the
# FreeBSD World Wide Web server (http://www.FreeBSD.org/) for the
# latest information.
#
# An exhaustive list of options and more detailed explanations of the
# device lines is also present in the ../../conf/NOTES and NOTES files.
# If you are in doubt as to the purpose or necessity of a line, check first
# in NOTES.
#
# $FreeBSD: src/sys/i386/conf/GENERIC,v 1.474.2.22.2.1 2010/02/10 00:26:20
kensmith Exp $
#cpu I486_CPU
#cpu I586_CPU
cpu I686_CPU
ident MYKERNEL
# To statically compile in device wiring instead of /boot/device.hints
#hints "GENERIC.hints" # Default places to look for
devices.
makeoptions DEBUG=-g # Build kernel with gdb(1) debug
symbols
options SCHED_ULE # ULE scheduler
options PREEMPTION # Enable kernel thread preemption
options INET # InterNETworking
#options INET6 # IPv6 communications protocols
#options SCTP # Stream Control Transmission
Protocol
options FFS # Berkeley Fast Filesystem
options SOFTUPDATES # Enable FFS soft updates support
options UFS_ACL # Support for access control lists
options UFS_DIRHASH # Improve performance on big
directories
options UFS_GJOURNAL # Enable gjournal-based UFS
journaling
options MD_ROOT # MD is a potential root device
options NFSCLIENT # Network Filesystem Client
options NFSSERVER # Network Filesystem Server
options NFSLOCKD # Network Lock Manager
options NFS_ROOT # NFS usable as /, requires
NFSCLIENT
options MSDOSFS # MSDOS Filesystem
options CD9660 # ISO 9660 Filesystem
options PROCFS # Process filesystem (requires
PSEUDOFS)
options PSEUDOFS # Pseudo-filesystem framework
options GEOM_PART_GPT # GUID Partition Tables.
options GEOM_LABEL # Provides labelization
options COMPAT_43TTY # BSD 4.3 TTY compat [KEEP THIS!]
options COMPAT_FREEBSD4 # Compatible with FreeBSD4
options COMPAT_FREEBSD5 # Compatible with FreeBSD5
options COMPAT_FREEBSD6 # Compatible with FreeBSD6
options SCSI_DELAY=5000 # Delay (in ms) before probing SCSI
options KTRACE # ktrace(1) support
options STACK # stack(9) support
options SYSVSHM # SYSV-style shared memory
options SYSVMSG # SYSV-style message queues
options SYSVSEM # SYSV-style semaphores
options P1003_1B_SEMAPHORES # POSIX-style semaphores
options _KPOSIX_PRIORITY_SCHEDULING # POSIX P1003_1B real-time
extensions
options KBD_INSTALL_CDEV # install a CDEV entry in /dev
options ADAPTIVE_GIANT # Giant mutex is adaptive.
options STOP_NMI # Stop CPUS using NMI instead of IPI
options AUDIT # Security event auditing
#options KDTRACE_HOOKS # Kernel DTrace hooks
options INCLUDE_CONFIG_FILE # Include this file in kernel
# To make an SMP kernel, the next two lines are needed
options SMP # Symmetric MultiProcessor Kernel
device apic # I/O APIC
# CPU frequency control
device cpufreq
# Bus support.
device eisa
device pci
# Floppy drives
device fdc
# ATA and ATAPI devices
device ata
device atadisk # ATA disk drives
device ataraid # ATA RAID drives
device atapicd # ATAPI CDROM drives
device atapifd # ATAPI floppy drives
device atapist # ATAPI tape drives
options ATA_STATIC_ID # Static device numbering
# SCSI Controllers
device ahb # EISA AHA1742 family
device ahc # AHA2940 and onboard AIC7xxx devices
options AHC_REG_PRETTY_PRINT # Print register bitfields in debug
# output. Adds ~128k to driver.
device ahd # AHA39320/29320 and onboard AIC79xx devices
options AHD_REG_PRETTY_PRINT # Print register bitfields in debug
# output. Adds ~215k to driver.
device amd # AMD 53C974 (Tekram DC-390(T))
device hptiop # Highpoint RocketRaid 3xxx series
device isp # Qlogic family
#device ispfw # Firmware for QLogic HBAs- normally a
module
device mpt # LSI-Logic MPT-Fusion
#device ncr # NCR/Symbios Logic
device sym # NCR/Symbios Logic (newer chipsets + those
of `ncr')
device trm # Tekram DC395U/UW/F DC315U adapters
device adv # Advansys SCSI adapters
device adw # Advansys wide SCSI adapters
device aha # Adaptec 154x SCSI adapters
device aic # Adaptec 15[012]x SCSI adapters,
AIC-6[23]60.
device bt # Buslogic/Mylex MultiMaster SCSI adapters
device ncv # NCR 53C500
device nsp # Workbit Ninja SCSI-3
device stg # TMC 18C30/18C50
# SCSI peripherals
device scbus # SCSI bus (required for SCSI)
device ch # SCSI media changers
device da # Direct Access (disks)
device sa # Sequential Access (tape etc)
device cd # CD
device pass # Passthrough device (direct SCSI access)
device ses # SCSI Environmental Services (and SAF-TE)
# RAID controllers interfaced to the SCSI subsystem
device amr # AMI MegaRAID
device arcmsr # Areca SATA II RAID
device asr # DPT SmartRAID V, VI and Adaptec SCSI RAID
device ciss # Compaq Smart RAID 5*
device dpt # DPT Smartcache III, IV - See NOTES for
options
device hptmv # Highpoint RocketRAID 182x
device hptrr # Highpoint RocketRAID 17xx, 22xx, 23xx,
25xx
device iir # Intel Integrated RAID
device ips # IBM (Adaptec) ServeRAID
device mly # Mylex AcceleRAID/eXtremeRAID
device twa # 3ware 9000 series PATA/SATA RAID
# RAID controllers
device aac # Adaptec FSA RAID
device aacp # SCSI passthrough for aac (requires CAM)
device ida # Compaq Smart RAID
device mfi # LSI MegaRAID SAS
device mlx # Mylex DAC960 family
device pst # Promise Supertrak SX6000
device twe # 3ware ATA RAID
# atkbdc0 controls both the keyboard and the PS/2 mouse
device atkbdc # AT keyboard controller
device atkbd # AT keyboard
device psm # PS/2 mouse
device kbdmux # keyboard multiplexer
device vga # VGA video card driver
device splash # Splash screen and screen saver support
# syscons is the default console driver, resembling an SCO console
device sc
device agp # support several AGP chipsets
# Power management support (see NOTES for more options)
#device apm
# Add suspend/resume support for the i8254.
device pmtimer
# PCCARD (PCMCIA) support
# PCMCIA and cardbus bridge support
device cbb # cardbus (yenta) bridge
device pccard # PC Card (16-bit) bus
device cardbus # CardBus (32-bit) bus
# Serial (COM) ports
device sio # 8250, 16[45]50 based serial ports
device uart # Generic UART driver
# Parallel port
device ppc
device ppbus # Parallel port bus (required)
device lpt # Printer
device plip # TCP/IP over parallel
device ppi # Parallel port interface device
#device vpo # Requires scbus and da
# If you've got a "dumb" serial or parallel PCI card that is
# supported by the puc(4) glue driver, uncomment the following
# line to enable it (connects to sio, uart and/or ppc drivers):
#device puc
# PCI Ethernet NICs.
device de # DEC/Intel DC21x4x (``Tulip'')
device em # Intel PRO/1000 Gigabit Ethernet Family
device igb # Intel PRO/1000 PCIE Server Gigabit Family
device ixgb # Intel PRO/10GbE Ethernet Card
device le # AMD Am7900 LANCE and Am79C9xx PCnet
device txp # 3Com 3cR990 (``Typhoon'')
device vx # 3Com 3c590, 3c595 (``Vortex'')
# PCI Ethernet NICs that use the common MII bus controller code.
# NOTE: Be sure to keep the 'device miibus' line in order to use these
NICs!
device miibus # MII bus support
device age # Attansic/Atheros L1 Gigabit Ethernet
device alc # Atheros AR8131/AR8132 Ethernet
device ale # Atheros AR8121/AR8113/AR8114 Ethernet
device bce # Broadcom BCM5706/BCM5708 Gigabit Ethernet
device bfe # Broadcom BCM440x 10/100 Ethernet
device bge # Broadcom BCM570xx Gigabit Ethernet
device dc # DEC/Intel 21143 and various workalikes
device et # Agere ET1310 10/100/Gigabit Ethernet
device fxp # Intel EtherExpress PRO/100B (82557, 82558)
device jme # JMicron JMC250 Gigabit/JMC260 Fast
Ethernet
device lge # Level 1 LXT1001 gigabit Ethernet
device msk # Marvell/SysKonnect Yukon II Gigabit
Ethernet
device nfe # nVidia nForce MCP on-board Ethernet
device nge # NatSemi DP83820 gigabit Ethernet
#device nve # nVidia nForce MCP on-board Ethernet
Networking
device pcn # AMD Am79C97x PCI 10/100 (precedence over
'le')
device re # RealTek 8139C+/8169/8169S/8110S
device rl # RealTek 8129/8139
device sf # Adaptec AIC-6915 (``Starfire'')
device sis # Silicon Integrated Systems SiS 900/SiS
7016
device sk # SysKonnect SK-984x & SK-982x gigabit
Ethernet
device ste # Sundance ST201 (D-Link DFE-550TX)
device stge # Sundance/Tamarack TC9021 gigabit Ethernet
device ti # Alteon Networks Tigon I/II gigabit
Ethernet
device tl # Texas Instruments ThunderLAN
device tx # SMC EtherPower II (83c170 ``EPIC'')
device vge # VIA VT612x gigabit Ethernet
device vr # VIA Rhine, Rhine II
device wb # Winbond W89C840F
device xl # 3Com 3c90x (``Boomerang'',
``Cyclone'')
# ISA Ethernet NICs. pccard NICs included.
device cs # Crystal Semiconductor CS89x0 NIC
# 'device ed' requires 'device miibus'
device ed # NE[12]000, SMC Ultra, 3c503, DS8390 cards
device ex # Intel EtherExpress Pro/10 and Pro/10+
device ep # Etherlink III based cards
device fe # Fujitsu MB8696x based cards
device ie # EtherExpress 8/16, 3C507, StarLAN 10 etc.
device sn # SMC's 9000 series of Ethernet chips
device xe # Xircom pccard Ethernet
# Wireless NIC cards
device wlan # 802.11 support
device wlan_wep # 802.11 WEP support
device wlan_ccmp # 802.11 CCMP support
device wlan_tkip # 802.11 TKIP support
device wlan_amrr # AMRR transmit rate control algorithm
device wlan_scan_ap # 802.11 AP mode scanning
device wlan_scan_sta # 802.11 STA mode scanning
device an # Aironet 4500/4800 802.11 wireless NICs.
device ath # Atheros pci/cardbus NIC's
device ath_hal # Atheros HAL (Hardware Access Layer)
options AH_SUPPORT_AR5416 # enable AR5416 tx/rx descriptors
device ath_rate_sample # SampleRate tx rate control for ath
device awi # BayStack 660 and others
device ral # Ralink Technology RT2500 wireless NICs.
device wi # WaveLAN/Intersil/Symbol 802.11 wireless
NICs.
#device wl # Older non 802.11 Wavelan wireless NIC.
# Pseudo devices.
device loop # Network loopback
device random # Entropy device
device ether # Ethernet support
device vlan # 802.1Q VLAN support
device sl # Kernel SLIP
device ppp # Kernel PPP
device tun # Packet tunnel.
device pty # Pseudo-ttys (telnet etc)
device md # Memory "disks"
device gif # IPv6 and IPv4 tunneling
device faith # IPv6-to-IPv4 relaying (translation)
device firmware # firmware assist module
# The `bpf' device enables the Berkeley Packet Filter.
# Be aware of the administrative consequences of enabling this!
# Note that 'bpf' is required for DHCP.
device bpf # Berkeley packet filter
# USB support
device uhci # UHCI PCI->USB interface
device ohci # OHCI PCI->USB interface
device ehci # EHCI PCI->USB interface (USB 2.0)
device usb # USB Bus (required)
#device udbp # USB Double Bulk Pipe devices
device ugen # Generic
device uhid # "Human Interface Devices"
device ukbd # Keyboard
device ulpt # Printer
device umass # Disks/Mass storage - Requires scbus and da
device ums # Mouse
device urio # Diamond Rio 500 MP3 player
device uscanner # Scanners
# USB Serial devices
device ucom # Generic com ttys
device uark # Technologies ARK3116 based serial adapters
device ubsa # Belkin F5U103 and compatible serial
adapters
device ubser # BWCT console serial adapters
device uftdi # For FTDI usb serial adapters
device uipaq # Some WinCE based devices
device uplcom # Prolific PL-2303 serial adapters
device uslcom # SI Labs CP2101/CP2102 serial adapters
device uvisor # Visor and Palm devices
device uvscom # USB serial support for DDI pocket's PHS
# USB Ethernet, requires miibus
device aue # ADMtek USB Ethernet
device axe # ASIX Electronics USB Ethernet
device cdce # Generic USB over Ethernet
device cue # CATC USB Ethernet
device kue # Kawasaki LSI USB Ethernet
device rue # RealTek RTL8150 USB Ethernet
# USB Wireless
device rum # Ralink Technology RT2501USB wireless NICs
device ural # Ralink Technology RT2500USB wireless NICs
# FireWire support
device firewire # FireWire bus code
device sbp # SCSI over FireWire (Requires scbus and da)
device fwe # Ethernet over FireWire (non-standard!)
device fwip # IP over FireWire (RFC 2734,3146)
device dcons # Dumb console driver
device dcons_crom # Configuration ROM for dcons
# Local additions
options IPFIREWALL #firewall
options IPFIREWALL_VERBOSE #enable logging to syslogd(8)
options IPFIREWALL_VERBOSE_LIMIT=1000 #limit verbosity
options IPFIREWALL_FORWARD #packet destination changes
options IPDIVERT #divert sockets
options IPSTEALTH #support for stealth forwarding
options DUMMYNET
device carp
_______________________________________________________________________________________
And debugging information:
vmcore.2
# cd /usr/obj/usr/src/sys/MYKERNEL
# kgdb kernel.debug /var/crash/vmcore.2
GNU gdb 6.1.1 [FreeBSD]
Copyright 2004 Free Software Foundation, Inc.
GDB is free software, covered by the GNU General Public License, and you are
welcome to change it and/or distribute copies of it under certain
conditions.
Type "show copying" to see the conditions.
There is absolutely no warranty for GDB. Type "show warranty" for
details.
This GDB was configured as "i386-marcel-freebsd"...
Unread portion of the kernel message buffer:
Fatal double fault:
eip = 0xc08e3ba3
esp = 0xccf6dfc4
ebp = 0xccf6e274
cpuid = 0; apic id = 00
panic: double fault
cpuid = 0
Uptime: 7m14s
Physical memory: 235 MB
Dumping 35 MB: 20 4
Reading symbols from /boot/kernel/acpi.ko...Reading symbols from
/boot/kernel/acpi.ko.symbols...done.
done.
Loaded symbols for /boot/kernel/acpi.ko
Reading symbols from /boot/kernel/if_gre.ko...Reading symbols from
/boot/kernel/if_gre.ko.symbols...done.
done.
Loaded symbols for /boot/kernel/if_gre.ko
Reading symbols from /boot/kernel/linux.ko...Reading symbols from
/boot/kernel/linux.ko.symbols...done.
done.
Loaded symbols for /boot/kernel/linux.ko
#0 doadump () at pcpu.h:196
196 __asm __volatile("movl %%fs:0,%0" : "=r"
(td));
(kgdb) bt
#0 doadump () at pcpu.h:196
#1 0xc07f2857 in boot (howto=260) at /usr/src/sys/kern/kern_shutdown.c:418
#2 0xc07f2b29 in panic (fmt=Variable "fmt" is not available.
) at /usr/src/sys/kern/kern_shutdown.c:574
#3 0xc0a7ea2b in dblfault_handler () at /usr/src/sys/i386/i386/trap.c:983
#4 0xc08e3ba3 in ipfw_chk (args=0xccf6e28c) at
/usr/src/sys/netinet/ip_fw2.c:2465
#5 0xc08e6ce1 in ipfw_check_out (arg=0x0, m0=0xccf6e390, ifp=0xc25c5c00,
dir=2, inp=0xc28ba708) at /usr/src/sys/netinet/ip_fw_pfil.c:248
#6 0xc08a1968 in pfil_run_hooks (ph=0xc0c55240, mp=0xccf6e420,
ifp=0xc25c5c00, dir=2, inp=0xc28ba708) at /usr/src/sys/net/pfil.c:78
#7 0xc08eb6f2 in ip_output (m=0xc2710b00, opt=0x0, ro=0xccf6e3f4, flags=0,
imo=0x0, inp=0xc28ba708) at /usr/src/sys/netinet/ip_output.c:443
#8 0xc08f4016 in tcp_output (tp=0xc25b2570) at
/usr/src/sys/netinet/tcp_output.c:1134
#9 0xc08f6d98 in tcp_mtudisc (inp=0xc28ba708, errno=0) at tcp_offload.h:269
#10 0xc08f4105 in tcp_output (tp=0xc25b2570) at
/usr/src/sys/netinet/tcp_output.c:1195
#11 0xc08f6d98 in tcp_mtudisc (inp=0xc28ba708, errno=0) at tcp_offload.h:269
#12 0xc08f4105 in tcp_output (tp=0xc25b2570) at
/usr/src/sys/netinet/tcp_output.c:1195
#13 0xc08f6d98 in tcp_mtudisc (inp=0xc28ba708, errno=0) at tcp_offload.h:269
#14 0xc08f4105 in tcp_output (tp=0xc25b2570) at
/usr/src/sys/netinet/tcp_output.c:1195
#15 0xc08f6d98 in tcp_mtudisc (inp=0xc28ba708, errno=0) at tcp_offload.h:269
#16 0xc08f4105 in tcp_output (tp=0xc25b2570) at
/usr/src/sys/netinet/tcp_output.c:1195
#17 0xc08f6d98 in tcp_mtudisc (inp=0xc28ba708, errno=0) at tcp_offload.h:269
#18 0xc08f4105 in tcp_output (tp=0xc25b2570) at
/usr/src/sys/netinet/tcp_output.c:1195
#19 0xc08f6d98 in tcp_mtudisc (inp=0xc28ba708, errno=0) at tcp_offload.h:269
#20 0xc08f4105 in tcp_output (tp=0xc25b2570) at
/usr/src/sys/netinet/tcp_output.c:1195
#21 0xc08f6d98 in tcp_mtudisc (inp=0xc28ba708, errno=0) at tcp_offload.h:269
#22 0xc08f4105 in tcp_output (tp=0xc25b2570) at
/usr/src/sys/netinet/tcp_output.c:1195
#23 0xc08f6d98 in tcp_mtudisc (inp=0xc28ba708, errno=0) at tcp_offload.h:269
#24 0xc08f4105 in tcp_output (tp=0xc25b2570) at
/usr/src/sys/netinet/tcp_output.c:1195
#25 0xc08f6d98 in tcp_mtudisc (inp=0xc28ba708, errno=0) at tcp_offload.h:269
#26 0xc08f4105 in tcp_output (tp=0xc25b2570) at
/usr/src/sys/netinet/tcp_output.c:1195
#27 0xc08f6d98 in tcp_mtudisc (inp=0xc28ba708, errno=0) at tcp_offload.h:269
#28 0xc08f4105 in tcp_output (tp=0xc25b2570) at
/usr/src/sys/netinet/tcp_output.c:1195
#29 0xc08f6d98 in tcp_mtudisc (inp=0xc28ba708, errno=0) at tcp_offload.h:269
#30 0xc08f4105 in tcp_output (tp=0xc25b2570) at
/usr/src/sys/netinet/tcp_output.c:1195
#31 0xc08f6d98 in tcp_mtudisc (inp=0xc28ba708, errno=0) at tcp_offload.h:269
#32 0xc08f4105 in tcp_output (tp=0xc25b2570) at
/usr/src/sys/netinet/tcp_output.c:1195
#33 0xc08f6d98 in tcp_mtudisc (inp=0xc28ba708, errno=0) at tcp_offload.h:269
#34 0xc08f4105 in tcp_output (tp=0xc25b2570) at
/usr/src/sys/netinet/tcp_output.c:1195
#35 0xc08f6d98 in tcp_mtudisc (inp=0xc28ba708, errno=0) at tcp_offload.h:269
#36 0xc08f4105 in tcp_output (tp=0xc25b2570) at
/usr/src/sys/netinet/tcp_output.c:1195
#37 0xc08f6d98 in tcp_mtudisc (inp=0xc28ba708, errno=0) at tcp_offload.h:269
#38 0xc08f4105 in tcp_output (tp=0xc25b2570) at
/usr/src/sys/netinet/tcp_output.c:1195
#39 0xc08f6d98 in tcp_mtudisc (inp=0xc28ba708, errno=0) at tcp_offload.h:269
#40 0xc08f4105 in tcp_output (tp=0xc25b2570) at
/usr/src/sys/netinet/tcp_output.c:1195
#41 0xc08f6d98 in tcp_mtudisc (inp=0xc28ba708, errno=0) at tcp_offload.h:269
#42 0xc08f4105 in tcp_output (tp=0xc25b2570) at
/usr/src/sys/netinet/tcp_output.c:1195
#43 0xc08f6d98 in tcp_mtudisc (inp=0xc28ba708, errno=0) at tcp_offload.h:269
#44 0xc08f4105 in tcp_output (tp=0xc25b2570) at
/usr/src/sys/netinet/tcp_output.c:1195
#45 0xc08f6d98 in tcp_mtudisc (inp=0xc28ba708, errno=0) at tcp_offload.h:269
#46 0xc08f4105 in tcp_output (tp=0xc25b2570) at
/usr/src/sys/netinet/tcp_output.c:1195
#47 0xc08f6d98 in tcp_mtudisc (inp=0xc28ba708, errno=0) at tcp_offload.h:269
#48 0xc08f4105 in tcp_output (tp=0xc25b2570) at
/usr/src/sys/netinet/tcp_output.c:1195
#49 0xc08f6d98 in tcp_mtudisc (inp=0xc28ba708, errno=0) at tcp_offload.h:269
---Type <return> to continue, or q <return> to quit---
#50 0xc08f4105 in tcp_output (tp=0xc25b2570) at
/usr/src/sys/netinet/tcp_output.c:1195
#51 0xc08f6d98 in tcp_mtudisc (inp=0xc28ba708, errno=0) at tcp_offload.h:269
#52 0xc08f4105 in tcp_output (tp=0xc25b2570) at
/usr/src/sys/netinet/tcp_output.c:1195
#53 0xc08f6d98 in tcp_mtudisc (inp=0xc28ba708, errno=0) at tcp_offload.h:269
#54 0xc08f4105 in tcp_output (tp=0xc25b2570) at
/usr/src/sys/netinet/tcp_output.c:1195
#55 0xc08fdcf8 in tcp_usr_send (so=0xc2ac1820, flags=0, m=0xc270ed00,
nam=0x0, control=0x0, td=0xc28e2d80) at tcp_offload.h:269
#56 0xc0850405 in sosend_generic (so=0xc2ac1820, addr=0x0, uio=0xc28766c0,
top=0xc270ed00, control=0x0, flags=0, td=0xc28e2d80) at
/usr/src/sys/kern/uipc_socket.c:1243
#57 0xc084bf7f in sosend (so=0xc2ac1820, addr=0x0, uio=0xc28766c0, top=0x0,
control=0x0, flags=0, td=0xc28e2d80) at /usr/src/sys/kern/uipc_socket.c:1285
#58 0xc0833c5b in soo_write (fp=0xc28e84c0, uio=0xc28766c0,
active_cred=0xc28e5900, flags=0, td=0xc28e2d80) at
/usr/src/sys/kern/sys_socket.c:103
#59 0xc082d2e7 in dofilewrite (td=0xc28e2d80, fd=24, fp=0xc28e84c0,
auio=0xc28766c0, offset=-1, flags=0) at file.h:257
#60 0xc082d5c8 in kern_writev (td=0xc28e2d80, fd=24, auio=0xc28766c0) at
/usr/src/sys/kern/sys_generic.c:402
#61 0xc082d816 in writev (td=0xc28e2d80, uap=0xccf6fcfc) at
/usr/src/sys/kern/sys_generic.c:388
#62 0xc0a7f2d5 in syscall (frame=0xccf6fd38) at
/usr/src/sys/i386/i386/trap.c:1101
#63 0xc0a636a0 in Xint0x80_syscall () at
/usr/src/sys/i386/i386/exception.s:262
#64 0x00000033 in ?? ()
Previous frame inner to this frame (corrupt stack?)
(kgdb)
(kgdb) quit
_______________________________________________________________________________________
vmcore.1
host# kgdb kernel.debug /var/crash/vmcore.1
GNU gdb 6.1.1 [FreeBSD]
Copyright 2004 Free Software Foundation, Inc.
GDB is free software, covered by the GNU General Public License, and you are
welcome to change it and/or distribute copies of it under certain
conditions.
Type "show copying" to see the conditions.
There is absolutely no warranty for GDB. Type "show warranty" for
details.
This GDB was configured as "i386-marcel-freebsd"...
Unread portion of the kernel message buffer:
Fatal double fault:
eip = 0xc08e3091
esp = 0xc23f2f34
ebp = 0xc23f31e4
cpuid = 0; apic id = 00
panic: double fault
cpuid = 0
Uptime: 12m7s
Physical memory: 235 MB
Dumping 43 MB: 28 12
Reading symbols from /boot/kernel/acpi.ko...Reading symbols from
/boot/kernel/acpi.ko.symbols...done.
done.
Loaded symbols for /boot/kernel/acpi.ko
Reading symbols from /boot/kernel/if_gre.ko...Reading symbols from
/boot/kernel/if_gre.ko.symbols...done.
done.
Loaded symbols for /boot/kernel/if_gre.ko
Reading symbols from /boot/kernel/linux.ko...Reading symbols from
/boot/kernel/linux.ko.symbols...done.
done.
Loaded symbols for /boot/kernel/linux.ko
#0 doadump () at pcpu.h:196
196 __asm __volatile("movl %%fs:0,%0" : "=r"
(td));
(kgdb)
(kgdb) bt
#0 doadump () at pcpu.h:196
#1 0xc07f2857 in boot (howto=260) at /usr/src/sys/kern/kern_shutdown.c:418
#2 0xc07f2b29 in panic (fmt=Variable "fmt" is not available.
) at /usr/src/sys/kern/kern_shutdown.c:574
#3 0xc0a7ea2b in dblfault_handler () at /usr/src/sys/i386/i386/trap.c:983
#4 0xc08e3091 in ipfw_chk (args=0xc23f31fc) at
/usr/src/sys/netinet/ip_fw2.c:2118
#5 0xc08e6ce1 in ipfw_check_out (arg=0x0, m0=0xc23f3300, ifp=0xc25c5c00,
dir=2, inp=0xc28e8168) at /usr/src/sys/netinet/ip_fw_pfil.c:248
#6 0xc08a1968 in pfil_run_hooks (ph=0xc0c55240, mp=0xc23f3390,
ifp=0xc25c5c00, dir=2, inp=0xc28e8168) at /usr/src/sys/net/pfil.c:78
#7 0xc08eb6f2 in ip_output (m=0xc2710600, opt=0x0, ro=0xc23f3364, flags=0,
imo=0x0, inp=0xc28e8168) at /usr/src/sys/netinet/ip_output.c:443
#8 0xc08f4016 in tcp_output (tp=0xc28eaae0) at
/usr/src/sys/netinet/tcp_output.c:1134
#9 0xc08f6d98 in tcp_mtudisc (inp=0xc28e8168, errno=0) at tcp_offload.h:269
#10 0xc08f4105 in tcp_output (tp=0xc28eaae0) at
/usr/src/sys/netinet/tcp_output.c:1195
#11 0xc08f6d98 in tcp_mtudisc (inp=0xc28e8168, errno=0) at tcp_offload.h:269
#12 0xc08f4105 in tcp_output (tp=0xc28eaae0) at
/usr/src/sys/netinet/tcp_output.c:1195
#13 0xc08f6d98 in tcp_mtudisc (inp=0xc28e8168, errno=0) at tcp_offload.h:269
#14 0xc08f4105 in tcp_output (tp=0xc28eaae0) at
/usr/src/sys/netinet/tcp_output.c:1195
#15 0xc08f6d98 in tcp_mtudisc (inp=0xc28e8168, errno=0) at tcp_offload.h:269
#16 0xc08f4105 in tcp_output (tp=0xc28eaae0) at
/usr/src/sys/netinet/tcp_output.c:1195
#17 0xc08f6d98 in tcp_mtudisc (inp=0xc28e8168, errno=0) at tcp_offload.h:269
#18 0xc08f4105 in tcp_output (tp=0xc28eaae0) at
/usr/src/sys/netinet/tcp_output.c:1195
#19 0xc08f6d98 in tcp_mtudisc (inp=0xc28e8168, errno=0) at tcp_offload.h:269
#20 0xc08f4105 in tcp_output (tp=0xc28eaae0) at
/usr/src/sys/netinet/tcp_output.c:1195
#21 0xc08f6d98 in tcp_mtudisc (inp=0xc28e8168, errno=0) at tcp_offload.h:269
#22 0xc08f4105 in tcp_output (tp=0xc28eaae0) at
/usr/src/sys/netinet/tcp_output.c:1195
#23 0xc08f6d98 in tcp_mtudisc (inp=0xc28e8168, errno=0) at tcp_offload.h:269
#24 0xc08f4105 in tcp_output (tp=0xc28eaae0) at
/usr/src/sys/netinet/tcp_output.c:1195
#25 0xc08f6d98 in tcp_mtudisc (inp=0xc28e8168, errno=0) at tcp_offload.h:269
#26 0xc08f4105 in tcp_output (tp=0xc28eaae0) at
/usr/src/sys/netinet/tcp_output.c:1195
#27 0xc08f6d98 in tcp_mtudisc (inp=0xc28e8168, errno=0) at tcp_offload.h:269
#28 0xc08f4105 in tcp_output (tp=0xc28eaae0) at
/usr/src/sys/netinet/tcp_output.c:1195
#29 0xc08f6d98 in tcp_mtudisc (inp=0xc28e8168, errno=0) at tcp_offload.h:269
#30 0xc08f4105 in tcp_output (tp=0xc28eaae0) at
/usr/src/sys/netinet/tcp_output.c:1195
#31 0xc08f6d98 in tcp_mtudisc (inp=0xc28e8168, errno=0) at tcp_offload.h:269
#32 0xc08f4105 in tcp_output (tp=0xc28eaae0) at
/usr/src/sys/netinet/tcp_output.c:1195
#33 0xc08f6d98 in tcp_mtudisc (inp=0xc28e8168, errno=0) at tcp_offload.h:269
#34 0xc08f4105 in tcp_output (tp=0xc28eaae0) at
/usr/src/sys/netinet/tcp_output.c:1195
#35 0xc08f6d98 in tcp_mtudisc (inp=0xc28e8168, errno=0) at tcp_offload.h:269
#36 0xc08f4105 in tcp_output (tp=0xc28eaae0) at
/usr/src/sys/netinet/tcp_output.c:1195
#37 0xc08f6d98 in tcp_mtudisc (inp=0xc28e8168, errno=0) at tcp_offload.h:269
#38 0xc08f4105 in tcp_output (tp=0xc28eaae0) at
/usr/src/sys/netinet/tcp_output.c:1195
#39 0xc08f6d98 in tcp_mtudisc (inp=0xc28e8168, errno=0) at tcp_offload.h:269
#40 0xc08f4105 in tcp_output (tp=0xc28eaae0) at
/usr/src/sys/netinet/tcp_output.c:1195
#41 0xc08f6d98 in tcp_mtudisc (inp=0xc28e8168, errno=0) at tcp_offload.h:269
#42 0xc08f4105 in tcp_output (tp=0xc28eaae0) at
/usr/src/sys/netinet/tcp_output.c:1195
#43 0xc08f6d98 in tcp_mtudisc (inp=0xc28e8168, errno=0) at tcp_offload.h:269
#44 0xc08f4105 in tcp_output (tp=0xc28eaae0) at
/usr/src/sys/netinet/tcp_output.c:1195
#45 0xc08f6d98 in tcp_mtudisc (inp=0xc28e8168, errno=0) at tcp_offload.h:269
#46 0xc08f4105 in tcp_output (tp=0xc28eaae0) at
/usr/src/sys/netinet/tcp_output.c:1195
#47 0xc08f6d98 in tcp_mtudisc (inp=0xc28e8168, errno=0) at tcp_offload.h:269
#48 0xc08f4105 in tcp_output (tp=0xc28eaae0) at
/usr/src/sys/netinet/tcp_output.c:1195
#49 0xc08f6d98 in tcp_mtudisc (inp=0xc28e8168, errno=0) at tcp_offload.h:269
---Type <return> to continue, or q <return> to quit---
#50 0xc08f4105 in tcp_output (tp=0xc28eaae0) at
/usr/src/sys/netinet/tcp_output.c:1195
#51 0xc08f14f5 in tcp_do_segment (m=0xc25ece00, th=0xc260b83c,
so=0xc27e6820, tp=0xc28eaae0, drop_hdrlen=40, tlen=0) at
/usr/src/sys/netinet/tcp_input.c:2359
#52 0xc08f21df in tcp_input (m=0xc25ece00, off0=20) at
/usr/src/sys/netinet/tcp_input.c:847
#53 0xc08e9d29 in ip_input (m=0xc25ece00) at
/usr/src/sys/netinet/ip_input.c:664
#54 0xc08a0105 in netisr_dispatch (num=2, m=0xc25ece00) at
/usr/src/sys/net/netisr.c:185
#55 0xc27b842a in gre_input (m=0xc25ece00, off=20) at
/usr/src/sys/modules/if_gre/../../netinet/ip_gre.c:217
#56 0xc08df35a in encap4_input (m=0xc25ece00, off=20) at
/usr/src/sys/netinet/ip_encap.c:191
#57 0xc08e9d29 in ip_input (m=0xc25ece00) at
/usr/src/sys/netinet/ip_input.c:664
#58 0xc08a0105 in netisr_dispatch (num=2, m=0xc25ece00) at
/usr/src/sys/net/netisr.c:185
#59 0xc089426a in ether_demux (ifp=0xc25c5c00, m=0xc25ece00) at
/usr/src/sys/net/if_ethersubr.c:834
#60 0xc0894683 in ether_input (ifp=0xc25c5c00, m=0xc25ece00) at
/usr/src/sys/net/if_ethersubr.c:692
#61 0xc0952f18 in xl_rxeof (sc=0xc25d9000) at /usr/src/sys/pci/if_xl.c:2022
#62 0xc0955490 in xl_intr (arg=0xc25d9000) at /usr/src/sys/pci/if_xl.c:2257
#63 0xc07cf6db in ithread_loop (arg=0xc25b4900) at
/usr/src/sys/kern/kern_intr.c:1181
#64 0xc07cbe79 in fork_exit (callout=0xc07cf530 <ithread_loop>,
arg=0xc25b4900, frame=0xc23f4d38) at /usr/src/sys/kern/kern_fork.c:811
#65 0xc0a636b0 in fork_trampoline () at
/usr/src/sys/i386/i386/exception.s:271
(kgdb)
(kgdb) quit
_______________________________________________________________________________________
vmcore.0
host# kgdb kernel.debug /var/crash/vmcore.0
GNU gdb 6.1.1 [FreeBSD]
Copyright 2004 Free Software Foundation, Inc.
GDB is free software, covered by the GNU General Public License, and you are
welcome to change it and/or distribute copies of it under certain
conditions.
Type "show copying" to see the conditions.
There is absolutely no warranty for GDB. Type "show warranty" for
details.
This GDB was configured as "i386-marcel-freebsd"...
Unread portion of the kernel message buffer:
Fatal double fault:
eip = 0xc08e3ba3
esp = 0xccfd6fc4
ebp = 0xccfd7274
cpuid = 0; apic id = 00
panic: double fault
cpuid = 0
Uptime: 4d2h25m8s
Physical memory: 235 MB
Dumping 81 MB: 66 50 34 18 2
Reading symbols from /boot/kernel/acpi.ko...Reading symbols from
/boot/kernel/acpi.ko.symbols...done.
done.
Loaded symbols for /boot/kernel/acpi.ko
Reading symbols from /boot/kernel/linux.ko...Reading symbols from
/boot/kernel/linux.ko.symbols...done.
done.
Loaded symbols for /boot/kernel/linux.ko
Reading symbols from /boot/kernel/if_gre.ko...Reading symbols from
/boot/kernel/if_gre.ko.symbols...done.
done.
Loaded symbols for /boot/kernel/if_gre.ko
#0 doadump () at pcpu.h:196
196 __asm __volatile("movl %%fs:0,%0" : "=r"
(td));
(kgdb) bt
#0 doadump () at pcpu.h:196
#1 0xc07f2857 in boot (howto=260) at /usr/src/sys/kern/kern_shutdown.c:418
#2 0xc07f2b29 in panic (fmt=Variable "fmt" is not available.
) at /usr/src/sys/kern/kern_shutdown.c:574
#3 0xc0a7ea2b in dblfault_handler () at /usr/src/sys/i386/i386/trap.c:983
#4 0xc08e3ba3 in ipfw_chk (args=0xccfd728c) at
/usr/src/sys/netinet/ip_fw2.c:2465
#5 0xc08e6ce1 in ipfw_check_out (arg=0x0, m0=0xccfd7390, ifp=0xc25c5c00,
dir=2, inp=0xc288dd5c) at /usr/src/sys/netinet/ip_fw_pfil.c:248
#6 0xc08a1968 in pfil_run_hooks (ph=0xc0c55240, mp=0xccfd7420,
ifp=0xc25c5c00, dir=2, inp=0xc288dd5c) at /usr/src/sys/net/pfil.c:78
#7 0xc08eb6f2 in ip_output (m=0xc3633400, opt=0x0, ro=0xccfd73f4, flags=0,
imo=0x0, inp=0xc288dd5c) at /usr/src/sys/netinet/ip_output.c:443
#8 0xc08f4016 in tcp_output (tp=0xc32123a0) at
/usr/src/sys/netinet/tcp_output.c:1134
#9 0xc08f6d98 in tcp_mtudisc (inp=0xc288dd5c, errno=0) at tcp_offload.h:269
#10 0xc08f4105 in tcp_output (tp=0xc32123a0) at
/usr/src/sys/netinet/tcp_output.c:1195
#11 0xc08f6d98 in tcp_mtudisc (inp=0xc288dd5c, errno=0) at tcp_offload.h:269
#12 0xc08f4105 in tcp_output (tp=0xc32123a0) at
/usr/src/sys/netinet/tcp_output.c:1195
#13 0xc08f6d98 in tcp_mtudisc (inp=0xc288dd5c, errno=0) at tcp_offload.h:269
#14 0xc08f4105 in tcp_output (tp=0xc32123a0) at
/usr/src/sys/netinet/tcp_output.c:1195
#15 0xc08f6d98 in tcp_mtudisc (inp=0xc288dd5c, errno=0) at tcp_offload.h:269
#16 0xc08f4105 in tcp_output (tp=0xc32123a0) at
/usr/src/sys/netinet/tcp_output.c:1195
#17 0xc08f6d98 in tcp_mtudisc (inp=0xc288dd5c, errno=0) at tcp_offload.h:269
#18 0xc08f4105 in tcp_output (tp=0xc32123a0) at
/usr/src/sys/netinet/tcp_output.c:1195
#19 0xc08f6d98 in tcp_mtudisc (inp=0xc288dd5c, errno=0) at tcp_offload.h:269
#20 0xc08f4105 in tcp_output (tp=0xc32123a0) at
/usr/src/sys/netinet/tcp_output.c:1195
#21 0xc08f6d98 in tcp_mtudisc (inp=0xc288dd5c, errno=0) at tcp_offload.h:269
#22 0xc08f4105 in tcp_output (tp=0xc32123a0) at
/usr/src/sys/netinet/tcp_output.c:1195
#23 0xc08f6d98 in tcp_mtudisc (inp=0xc288dd5c, errno=0) at tcp_offload.h:269
#24 0xc08f4105 in tcp_output (tp=0xc32123a0) at
/usr/src/sys/netinet/tcp_output.c:1195
#25 0xc08f6d98 in tcp_mtudisc (inp=0xc288dd5c, errno=0) at tcp_offload.h:269
#26 0xc08f4105 in tcp_output (tp=0xc32123a0) at
/usr/src/sys/netinet/tcp_output.c:1195
#27 0xc08f6d98 in tcp_mtudisc (inp=0xc288dd5c, errno=0) at tcp_offload.h:269
#28 0xc08f4105 in tcp_output (tp=0xc32123a0) at
/usr/src/sys/netinet/tcp_output.c:1195
#29 0xc08f6d98 in tcp_mtudisc (inp=0xc288dd5c, errno=0) at tcp_offload.h:269
#30 0xc08f4105 in tcp_output (tp=0xc32123a0) at
/usr/src/sys/netinet/tcp_output.c:1195
#31 0xc08f6d98 in tcp_mtudisc (inp=0xc288dd5c, errno=0) at tcp_offload.h:269
#32 0xc08f4105 in tcp_output (tp=0xc32123a0) at
/usr/src/sys/netinet/tcp_output.c:1195
#33 0xc08f6d98 in tcp_mtudisc (inp=0xc288dd5c, errno=0) at tcp_offload.h:269
#34 0xc08f4105 in tcp_output (tp=0xc32123a0) at
/usr/src/sys/netinet/tcp_output.c:1195
#35 0xc08f6d98 in tcp_mtudisc (inp=0xc288dd5c, errno=0) at tcp_offload.h:269
#36 0xc08f4105 in tcp_output (tp=0xc32123a0) at
/usr/src/sys/netinet/tcp_output.c:1195
#37 0xc08f6d98 in tcp_mtudisc (inp=0xc288dd5c, errno=0) at tcp_offload.h:269
#38 0xc08f4105 in tcp_output (tp=0xc32123a0) at
/usr/src/sys/netinet/tcp_output.c:1195
#39 0xc08f6d98 in tcp_mtudisc (inp=0xc288dd5c, errno=0) at tcp_offload.h:269
#40 0xc08f4105 in tcp_output (tp=0xc32123a0) at
/usr/src/sys/netinet/tcp_output.c:1195
#41 0xc08f6d98 in tcp_mtudisc (inp=0xc288dd5c, errno=0) at tcp_offload.h:269
#42 0xc08f4105 in tcp_output (tp=0xc32123a0) at
/usr/src/sys/netinet/tcp_output.c:1195
#43 0xc08f6d98 in tcp_mtudisc (inp=0xc288dd5c, errno=0) at tcp_offload.h:269
#44 0xc08f4105 in tcp_output (tp=0xc32123a0) at
/usr/src/sys/netinet/tcp_output.c:1195
#45 0xc08f6d98 in tcp_mtudisc (inp=0xc288dd5c, errno=0) at tcp_offload.h:269
#46 0xc08f4105 in tcp_output (tp=0xc32123a0) at
/usr/src/sys/netinet/tcp_output.c:1195
#47 0xc08f6d98 in tcp_mtudisc (inp=0xc288dd5c, errno=0) at tcp_offload.h:269
#48 0xc08f4105 in tcp_output (tp=0xc32123a0) at
/usr/src/sys/netinet/tcp_output.c:1195
#49 0xc08f6d98 in tcp_mtudisc (inp=0xc288dd5c, errno=0) at tcp_offload.h:269
---Type <return> to continue, or q <return> to quit---
#50 0xc08f4105 in tcp_output (tp=0xc32123a0) at
/usr/src/sys/netinet/tcp_output.c:1195
#51 0xc08f6d98 in tcp_mtudisc (inp=0xc288dd5c, errno=0) at tcp_offload.h:269
#52 0xc08f4105 in tcp_output (tp=0xc32123a0) at
/usr/src/sys/netinet/tcp_output.c:1195
#53 0xc08f6d98 in tcp_mtudisc (inp=0xc288dd5c, errno=0) at tcp_offload.h:269
#54 0xc08f4105 in tcp_output (tp=0xc32123a0) at
/usr/src/sys/netinet/tcp_output.c:1195
#55 0xc08fdcf8 in tcp_usr_send (so=0xc26d4000, flags=0, m=0xc27c3b00,
nam=0x0, control=0x0, td=0xc2a57480) at tcp_offload.h:269
#56 0xc0850405 in sosend_generic (so=0xc26d4000, addr=0x0, uio=0xc266ed40,
top=0xc27c3b00, control=0x0, flags=0, td=0xc2a57480) at
/usr/src/sys/kern/uipc_socket.c:1243
#57 0xc084bf7f in sosend (so=0xc26d4000, addr=0x0, uio=0xc266ed40, top=0x0,
control=0x0, flags=0, td=0xc2a57480) at /usr/src/sys/kern/uipc_socket.c:1285
#58 0xc0833c5b in soo_write (fp=0xc2754098, uio=0xc266ed40,
active_cred=0xc3404200, flags=0, td=0xc2a57480) at
/usr/src/sys/kern/sys_socket.c:103
#59 0xc082d2e7 in dofilewrite (td=0xc2a57480, fd=24, fp=0xc2754098,
auio=0xc266ed40, offset=-1, flags=0) at file.h:257
#60 0xc082d5c8 in kern_writev (td=0xc2a57480, fd=24, auio=0xc266ed40) at
/usr/src/sys/kern/sys_generic.c:402
#61 0xc082d816 in writev (td=0xc2a57480, uap=0xccfd8cfc) at
/usr/src/sys/kern/sys_generic.c:388
#62 0xc0a7f2d5 in syscall (frame=0xccfd8d38) at
/usr/src/sys/i386/i386/trap.c:1101
#63 0xc0a636a0 in Xint0x80_syscall () at
/usr/src/sys/i386/i386/exception.s:262
#64 0x00000033 in ?? ()
Previous frame inner to this frame (corrupt stack?)
(kgdb) quit
I'm not kernel hacker and C programmer so it's hard for me to understand
what's the problem here.