Am 31.03.2015 um 06:24 schrieb Holger Glaess:
Am 30.03.2015 um 17:49 schrieb Martin Pieuchot:
On 30/03/15(Mon) 17:21, Holger Glaess wrote:
Am 29.03.2015 um 13:54 schrieb Martin Pieuchot:
On 29/03/15(Sun) 12:56, Holger Glaess wrote:
Am 24.03.2015 um 05:41 schrieb Holger Glaess:
hi
i play a little bit with rdomain
if add my pppoe device to rdomain 1
# cat /etc/hostname.pppoe0
rdomain 1
rtlabel netcologne
inet6 autoconf
inet 0.0.0.0 255.255.255.255 NONE \
pppoedev msk0 authproto pap \
authname 'foo@bar' authkey 'xyz' up
dest 0.0.0.1
!/sbin/route -T 1 add default -ifp pppoe0 0.0.0.1
!/sbin/route -T 1 add -inet6 default -ifp pppoe0 ::0.0.0.1
the pf lines
pass in on $lan_if from any to $myserver rtable 1
pass in on rdomain 1 proto tcp from <allow_ssh> to ($nc_pppoe:0)
port 22
rdr-to 192.168.131.250 port 22 rtable 0
match out on $nc_pppoe nat-to ($nc_pppoe:0)
so , all works fine but if i connect to the system by ssh and do
, for
example , an tcpdump -n- r /var/log/pflog
the whole machine crash to an kernel panik.
this is reproducable and , looks like , just when you have an
inbound
connection ( rdr ) .
[...]
some news for me ?
We can't give you any news because the panic information you sent are
useless. Generally when a panic happen you see the message below:
RUN AT LEAST 'trace' AND 'ps' AND INCLUDE OUTPUT WHEN REPORTING
THIS PANIC!
If you include this information we might be able to give you some
news ;)
Martin
hi
i try to do what you wrote .
but if i enter show painc the ddb at console say "no panic"
i made some pictures i hope this helps.
http://www.glaessixs.de/~glaess/debugging.tgz
Are you using a USB Ethernet device? Could you try -current and let me
know if you still have the same panic, a fix regarding uhci(4) has been
committed.
hi
me again , after the night i forgot that i connect to an internaly usb
port
a multi card reader with the cf card where the system boot.
but there is no ethernet usb device.
i will try the current .
holger
hi
so after a while for update the system to 5.7 release ( by build the
source by my self )
i try again
login from outside by ssh to the openbsd box .
same rules and nat as describe agead for rdomain.
the is do an tcpdump -nvr /var/log/pflog
and now after a couple of seconds an complete cold boot ,
no kernel panic ,no ddb ,direct to ramtest of the bios.
holger
the acual dmesg
OpenBSD 5.7-stable (GENERIC.MP) #7: Thu Apr 2 16:04:44 CEST 2015
root@DAF.rocki.intern:/usr/src/sys/arch/i386/compile/GENERIC.MP
cpu0: Intel(R) Atom(TM) CPU D525 @ 1.80GHz ("GenuineIntel" 686-class)
1.80 GHz
cpu0:
FPU,V86,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CFLUSH,DS,ACPI,MMX,FXSR,SSE,SSE2,SS,HTT,TM,PBE,NXE,LONG,SSE3,DTES64,MWAIT,DS-CPL,TM2,SSSE3,CX16,xTPR,PDCM,MOVBE,LAHF,PERF
real mem = 3208724480 (3060MB)
avail mem = 3143913472 (2998MB)
mpath0 at root
scsibus0 at mpath0: 256 targets
mainbus0 at root
bios0 at mainbus0: date 12/22/10, BIOS32 rev. 0 @ 0xf0010, SMBIOS rev.
2.6 @ 0xfbe90 (22 entries)
bios0: vendor American Megatrends Inc. version "080016" date 12/22/2010
bios0: ZOTAC ATOM D525
acpi0 at bios0: rev 2
acpi0: sleep states S0 S3 S4 S5
acpi0: tables DSDT FACP APIC MCFG SLIC OEMB HPET GSCI
acpi0: wakeup devices P0P1(S4) P0P4(S4) P0P5(S4) P0P6(S4) P0P7(S4)
P0P8(S4) P0P9(S4) USB0(S3) USB1(S3) USB2(S3) USB3(S3) EUSB(S3) SLPB(S4)
acpitimer0 at acpi0: 3579545 Hz, 24 bits
acpimadt0 at acpi0 addr 0xfee00000: PC-AT compat
cpu0 at mainbus0: apid 0 (boot processor)
mtrr: Pentium Pro MTRR support, 7 var ranges, 88 fixed ranges
cpu0: apic clock running at 199MHz
cpu0: mwait min=22785, max=32960
cpu1 at mainbus0: apid 2 (application processor)
cpu1: Intel(R) Atom(TM) CPU D525 @ 1.80GHz ("GenuineIntel" 686-class)
1.80 GHz
cpu1:
FPU,V86,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CFLUSH,DS,ACPI,MMX,FXSR,SSE,SSE2,SS,HTT,TM,PBE,NXE,LONG,SSE3,DTES64,MWAIT,DS-CPL,TM2,SSSE3,CX16,xTPR,PDCM,MOVBE,LAHF,PERF
cpu2 at mainbus0: apid 1 (application processor)
cpu2: Intel(R) Atom(TM) CPU D525 @ 1.80GHz ("GenuineIntel" 686-class)
1.80 GHz
cpu2:
FPU,V86,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CFLUSH,DS,ACPI,MMX,FXSR,SSE,SSE2,SS,HTT,TM,PBE,NXE,LONG,SSE3,DTES64,MWAIT,DS-CPL,TM2,SSSE3,CX16,xTPR,PDCM,MOVBE,LAHF,PERF
cpu3 at mainbus0: apid 3 (application processor)
cpu3: Intel(R) Atom(TM) CPU D525 @ 1.80GHz ("GenuineIntel" 686-class)
1.80 GHz
cpu3:
FPU,V86,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CFLUSH,DS,ACPI,MMX,FXSR,SSE,SSE2,SS,HTT,TM,PBE,NXE,LONG,SSE3,DTES64,MWAIT,DS-CPL,TM2,SSSE3,CX16,xTPR,PDCM,MOVBE,LAHF,PERF
ioapic0 at mainbus0: apid 4 pa 0xfec00000, version 20, 24 pins
ioapic0: misconfigured as apic 1, remapped to apid 4
acpimcfg0 at acpi0 addr 0xe0000000, bus 0-255
acpihpet0 at acpi0: 14318179 Hz
acpiprt0 at acpi0: bus 0 (PCI0)
acpiprt1 at acpi0: bus 5 (P0P1)
acpiprt2 at acpi0: bus 1 (P0P4)
acpiprt3 at acpi0: bus 2 (P0P5)
acpiprt4 at acpi0: bus 3 (P0P6)
acpiprt5 at acpi0: bus 4 (P0P7)
acpiprt6 at acpi0: bus -1 (P0P8)
acpiprt7 at acpi0: bus -1 (P0P9)
acpicpu0 at acpi0
acpicpu1 at acpi0
acpicpu2 at acpi0
acpicpu3 at acpi0
acpibtn0 at acpi0: SLPB
acpibtn1 at acpi0: PWRB
bios0: ROM list: 0xc0000/0xda00! 0xce000/0x3000!
pci0 at mainbus0 bus 0: configuration mode 1 (bios)
pchb0 at pci0 dev 0 function 0 "Intel Pineview DMI" rev 0x02
vga1 at pci0 dev 2 function 0 "Intel Pineview Video" rev 0x02
intagp0 at vga1
agp0 at intagp0: aperture at 0xd0000000, size 0x10000000
inteldrm0 at vga1
drm0 at inteldrm0
inteldrm0: 1280x720
wsdisplay0 at vga1 mux 1: console (std, vt100 emulation)
wsdisplay0: screen 1-5 added (std, vt100 emulation)
"Intel Pineview Video" rev 0x02 at pci0 dev 2 function 1 not configured
azalia0 at pci0 dev 27 function 0 "Intel 82801GB HD Audio" rev 0x02: msi
azalia0: codecs: Realtek ALC662
audio0 at azalia0
ppb0 at pci0 dev 28 function 0 "Intel 82801GB PCIE" rev 0x02: apic 4 int 16
pci1 at ppb0 bus 1
jmb0 at pci1 dev 0 function 0 "JMicron JMB363 IDE/SATA" rev 0x03
ahci0 at jmb0: apic 4 int 16, AHCI 1.0
scsibus1 at ahci0: 32 targets
pciide0 at jmb0: DMA, channel 0 wired to native-PCI, channel 1 wired to
native-PCI
pciide0: using apic 4 int 16 for native-PCI interrupt
pciide0: channel 0 disabled (no drives)
pciide0: channel 1 disabled (no drives)
ppb1 at pci0 dev 28 function 1 "Intel 82801GB PCIE" rev 0x02: apic 4 int 17
pci2 at ppb1 bus 2
mskc0 at pci2 dev 0 function 0 "Marvell Yukon 88E8053" rev 0x20, Yukon-2
EC rev. A3 (0x2): apic 4 int 17
msk0 at mskc0 port A: address 00:50:43:00:45:3e
eephy0 at msk0 phy 0: 88E1111 Gigabit PHY, rev. 2
ppb2 at pci0 dev 28 function 2 "Intel 82801GB PCIE" rev 0x02: apic 4 int 18
pci3 at ppb2 bus 3
mskc1 at pci3 dev 0 function 0 "Marvell Yukon 88E8053" rev 0x20, Yukon-2
EC rev. A3 (0x2): apic 4 int 18
msk1 at mskc1 port A: address 00:50:43:00:45:3e
eephy1 at msk1 phy 0: 88E1111 Gigabit PHY, rev. 2
ppb3 at pci0 dev 28 function 3 "Intel 82801GB PCIE" rev 0x02: apic 4 int 19
pci4 at ppb3 bus 4
athn0 at pci4 dev 0 function 0 "Atheros AR9285" rev 0x01: apic 4 int 19
athn0: AR9285 rev 2 (1T1R), ROM rev 13, address 48:5d:60:7c:e4:10
uhci0 at pci0 dev 29 function 0 "Intel 82801GB USB" rev 0x02: apic 4 int 23
uhci1 at pci0 dev 29 function 1 "Intel 82801GB USB" rev 0x02: apic 4 int 19
uhci2 at pci0 dev 29 function 2 "Intel 82801GB USB" rev 0x02: apic 4 int 18
uhci3 at pci0 dev 29 function 3 "Intel 82801GB USB" rev 0x02: apic 4 int 16
ehci0 at pci0 dev 29 function 7 "Intel 82801GB USB" rev 0x02: apic 4 int 23
usb0 at ehci0: USB revision 2.0
uhub0 at usb0 "Intel EHCI root hub" rev 2.00/1.00 addr 1
ppb4 at pci0 dev 30 function 0 "Intel 82801BAM Hub-to-PCI" rev 0xe2
pci5 at ppb4 bus 5
re0 at pci5 dev 11 function 0 "Realtek 8169SC" rev 0x10: RTL8169/8110SCd
(0x1800), apic 4 int 16, address 00:01:2e:33:59:80
rgephy0 at re0 phy 7: RTL8169S/8110S PHY, rev. 2
pcib0 at pci0 dev 31 function 0 "Intel NM10 LPC" rev 0x02
ahci1 at pci0 dev 31 function 2 "Intel 82801GR AHCI" rev 0x02: msi, AHCI 1.1
scsibus2 at ahci1: 32 targets
cd0 at scsibus2 targ 1 lun 0: <PIONEER, DVD RW DVR-106D, 1.07> ATAPI
5/cdrom removable
ichiic0 at pci0 dev 31 function 3 "Intel 82801GB SMBus" rev 0x02: apic 4
int 19
iic0 at ichiic0
iic0: addr 0x4e 00=12 03=48 04=48 12=ff 13=0f 26=03 28=83 29=12 2a=12
2b=28 words 00=1200 01=0000 02=0048 03=4848 04=4800 05=0000 06=0000 07=0000
spdmem0 at iic0 addr 0x50: 2GB DDR2 SDRAM non-parity PC2-6400CL5
spdmem1 at iic0 addr 0x51: 2GB DDR2 SDRAM non-parity PC2-6400CL5
usb1 at uhci0: USB revision 1.0
uhub1 at usb1 "Intel UHCI root hub" rev 1.00/1.00 addr 1
usb2 at uhci1: USB revision 1.0
uhub2 at usb2 "Intel UHCI root hub" rev 1.00/1.00 addr 1
usb3 at uhci2: USB revision 1.0
uhub3 at usb3 "Intel UHCI root hub" rev 1.00/1.00 addr 1
usb4 at uhci3: USB revision 1.0
uhub4 at usb4 "Intel UHCI root hub" rev 1.00/1.00 addr 1
isa0 at pcib0
isadma0 at isa0
fdc0 at isa0 port 0x3f0/6 irq 6 drq 2
com0 at isa0 port 0x3f8/8 irq 4: ns16550a, 16 byte fifo
pckbc0 at isa0 port 0x60/5
pckbd0 at pckbc0 (kbd slot)
pckbc0: using irq 1 for kbd slot
wskbd0 at pckbd0: console keyboard, using wsdisplay0
pcppi0 at isa0 port 0x61
spkr0 at pcppi0
lpt0 at isa0 port 0x378/4 irq 7
npx0 at isa0 port 0xf0/16: reported by CPUID; using exception 16
uhub5 at uhub0 port 6 "Genesys Logic USB2.0 Hub" rev 2.00/77.32 addr 2
umass0 at uhub3 port 1 configuration 1 interface 0 "MEDION Medion Flash
XL V3.1A" rev 1.10/3.1a addr 2
umass0: using SCSI over Bulk-Only
scsibus3 at umass0: 2 targets, initiator 0
sd0 at scsibus3 targ 1 lun 0: <Medion, Flash XL CF, 3.1A> SCSI0 0/direct
removable
sd0: 15296MB, 512 bytes/sector, 31326208 sectors
sd1 at scsibus3 targ 1 lun 1: <Medion, Flash XL MS, 3.1A> SCSI0 0/direct
removable
sd2 at scsibus3 targ 1 lun 2: <Medion, Flash XL MMC/SD, 3.1A> SCSI0
0/direct removable
sd3 at scsibus3 targ 1 lun 3: <Medion, Flash XL SM, 3.1A> SCSI0 0/direct
removable
vscsi0 at root
scsibus4 at vscsi0: 256 targets
softraid0 at root
scsibus5 at softraid0: 256 targets
root on sd0a (711c9109d47c2152.a) swap on sd0b dump on sd0b
WARNING: / was not properly unmounted
17:37:03 Fri Apr 03
you are on furt