oops, I guess something bad happend

# tcpdump -nvi hme0 -c3 proto 112
panic: psycho0: uncorrectable DMA error AFAR 1362448 (pa=0
tte=0/572012) AFSR 4b00ff0020800000
kdb breakpoint at 132d700
Stopped at      Debugger+0x4:   nop
RUN AT LEAST 'trace' AND 'ps' AND INCLUDE OUTPUT WHEN REPORTING THIS PANIC!
DO NOT EVEN BOTHER REPORTING THIS WITHOUT INCLUDING THAT INFORMATION!
ddb> trace
psycho_ue(1fd3f24, 7, e0017348, e0017460, 12ff320, e0017310) at psycho_ue+0x7c
sparc_interrupt(186be00, 7461c10, 2000, 74f4150, 3f, 74fc3c0) at sparc_interrup
t+0x20c
m_freem(7461c10, 2000, 2046b80, 0, 5ea, 8) at m_freem+0xb0
rl_txeof(2071000, 1fcfd00, 2046b80, 0, 5ea, fff0) at rl_txeof+0xf4
rl_intr(2071000, 1, e0017770, dddcf460, 1053260, 1d) at rl_intr+0xe0
sparc_interrupt(2071098, 745e00e, ffffffffffffffff, 53ecc58, 70, 745e008) at sp
arc_interrupt+0x20c
ether_output(0, 7420f40, 745e008, e0017978, a363, ffff) at ether_output+0x330
ip_output(7420f40, 745e010, 186dd60, 0, 14, 0) at ip_output+0x90c
ip_forward(7421340, 1, 0, 0, 0, 0) at ip_forward+0x1b8
ipv4_input(7420f40, 7415802, 0, 0, ffff, 14) at ipv4_input+0x2dc
ipintr(1, 10101, 21ffbec732, 8000000000000000, 21ffbec732, 1800) at ipintr+0x70

softnet(4, 0, e0017ec8, 0, 131ede0, 0) at softnet+0xd0
sparc_interrupt(0, 0, 137fb78, 0, ffffffffffffffff, d6d80) at sparc_interrupt+0
x20c
microuptime(743f310, 0, 0, 0, 0, 0) at microuptime+0x4
mi_switch(139bdf8, 1000, 0, 0, 0, 0) at mi_switch+0x1b4
ltsleep(1d6c8c0, 204, 0, 0, 72f4600, 0) at ltsleep+0x1c0
uvm_vnp_terminate(72f4600, 3a000, e11bbf8, e11bc04, 0, 1) at uvm_vnp_terminate+
0xc94
uvm_fault(244000, 3a000, ffffffffffffffff, 1, 0, 1) at uvm_fault+0xeb4
data_access_fault(e11bed0, 30, 4ed1867c, 23a0a3, 23b5b8, 0) at data_access_faul
t+0xe0
trapbase(0, ffffffffffffffff, 4c, 0, 0, 0) at trapbase+0x87ac
ddb> ps
  PID   PPID   PGRP    UID  S       FLAGS  WAIT       COMMAND
18874   3313   3313      0  3         0x6  uvn_get    tcpdump
 3313  12225   3313      0  3      0x4006  biowait    tcpdump
12225      1  12225      0  3      0x4086  pause      ksh
18751      1  18751      0  3        0x84  select     cron
11109      1  11109      0  3        0x84  select     sshd
 6608      1   6608      0  3     0x40184  select     sendmail
12486      1  12486      0  3       0x184  select     inetd
12916  27305  27305     74  3       0x184  bpf        pflogd
27305      1  27305      0  3        0x84  netio      pflogd
16386  19125  19125     73  3       0x184  poll       syslogd
19125      1  19125      0  3        0x84  netio      syslogd
31118      1  31118     77  3       0x184  poll       dhclient
21085      1  11480      0  3        0x86  poll       dhclient
    9      0      0      0  3    0x100204  crypto_wa  crypto
    8      0      0      0  3    0x100204  aiodoned   aiodoned
    7      0      0      0  3    0x100204  syncer     update
    6      0      0      0  3    0x100204  cleaner    cleaner
    5      0      0      0  3    0x100204  reaper     reaper
    4      0      0      0  3    0x100204  pgdaemon   pagedaemon
    3      0      0      0  3    0x100204  pftm       pfpurge
    2      0      0      0  3    0x100204  kmalloc    kmthread
    1      0      1      0  3      0x4084  wait       init
    0     -1      0      0  3     0x80204  scheduler  swapper
ddb>

and dmesg of that box:
# dmesg
console is /[EMAIL PROTECTED],0/[EMAIL PROTECTED],1/[EMAIL PROTECTED]/[EMAIL 
PROTECTED],400000:b
Copyright (c) 1982, 1986, 1989, 1991, 1993
       The Regents of the University of California.  All rights reserved.
Copyright (c) 1995-2006 OpenBSD. All rights reserved.  http://www.OpenBSD.org

OpenBSD 3.9 (GENERIC) #759: Wed Mar  1 01:32:54 MST 2006
   [EMAIL PROTECTED]:/usr/src/sys/arch/sparc64/compile/GENERIC
total memory = 268435456
avail memory = 234807296
using 1638 buffers containing 13418496 bytes of memory
bootpath: /[EMAIL PROTECTED],0/[EMAIL PROTECTED],1/[EMAIL PROTECTED],0/[EMAIL 
PROTECTED],0
mainbus0 (root): Sun Ultra 5/10 UPA/PCI (UltraSPARC-IIi 300MHz)
cpu0 at mainbus0: SUNW,UltraSPARC-IIi @ 299.790 MHz, version 0 FPU
cpu0: physical 32K instruction (32 b/l), 16K data (32 b/l), 512K
external (64 b/l)
psycho0 at mainbus0 addr 0xfffc4000
SUNW,sabre: impl 0, version 0: ign 7c0 bus range 0 to 2; PCI bus 0
DVMA map: c0000000 to e0000000
IOTDB: 1362000 to 13e2000
pci0 at psycho0
ppb0 at pci0 dev 1 function 1 "Sun Simba PCI-PCI" rev 0x11
pci1 at ppb0 bus 1
ebus0 at pci1 dev 1 function 0 "Sun PCIO Ebus2" rev 0x01
auxio0 at ebus0 addr 726000-726003, 728000-728003, 72a000-72a003,
72c000-72c003, 72f000-72f003
"power" at ebus0 addr 724000-724003 ipl 37 not configured
"SUNW,pll" at ebus0 addr 504000-504002 not configured
sab0 at ebus0 addr 400000-40007f ipl 43: rev 3.2
sabtty0 at sab0 port 0
sabtty1 at sab0 port 1: console i/o
comkbd0 at ebus0 addr 3083f8-3083ff ipl 41: no keyboard
com0 at ebus0 addr 3062f8-3062ff ipl 42: mouse: ns16550a, 16 byte fifo
lpt0 at ebus0 addr 3043bc-3043cb, 30015c-30015d, 700000-70000f ipl 34: polled
"fdthree" at ebus0 addr 3023f0-3023f7, 706000-70600f, 720000-720003
ipl 39 not configured
clock1 at ebus0 addr 0-1fff: mk48t59: hostid 809e7c60
"flashprom" at ebus0 addr 0-fffff not configured
audioce0 at ebus0 addr 200000-2000ff, 702000-70200f, 704000-70400f,
722000-722003 ipl 35 ipl 36: nvaddrs 0
audio0 at audioce0
hme0 at pci1 dev 1 function 1 "Sun HME" rev 0x01: ivec 3021, address
08:00:20:9e:7c:60
nsphy0 at hme0 phy 1: DP83840 10/100 PHY, rev. 1
vgafb0 at pci1 dev 2 function 0 "ATI Mach64 GT" rev 0x9a
wsdisplay0 at vgafb0
wsdisplay0: screen 0 added (std, sun emulation)
pciide0 at pci1 dev 3 function 0 "CMD Technology PCI0646" rev 0x03:
DMA, channel 0 configured to native-PCI, channel 1 configured to
native-PCI
pciide0: using ivec 1820 for native-PCI interrupt
wd0 at pciide0 channel 0 drive 0: <ST34342A>
wd0: 16-sector PIO, LBA, 4103MB, 8404830 sectors
wd0(pciide0:0:0): using PIO mode 4, DMA mode 2
atapiscsi0 at pciide0 channel 1 drive 0
scsibus0 at atapiscsi0: 2 targets
cd0 at scsibus0 targ 0 lun 0: <GoldStar, CD-ROM CRD-8240B, 1.24> SCSI0
5/cdrom removable
cd0(pciide0:1:0): using PIO mode 4, DMA mode 2
ppb1 at pci0 dev 1 function 0 "Sun Simba PCI-PCI" rev 0x11
pci2 at ppb1 bus 2
rl0 at pci2 dev 2 function 0 "Realtek 8139" rev 0x10: ivec 14, address
00:08:a1:8e:64:70
rlphy0 at rl0 phy 0: RTL internal PHY
fxp0 at pci2 dev 4 function 0 "Intel 8255x" rev 0x05, i82558: ivec 1c,
address 00:50:8b:0e:30:02
inphy0 at fxp0 phy 1: i82555 10/100 PHY, rev. 0
creator0 at mainbus0: Creator3D, model SUNW,501-4788, dac 10
wsdisplay1 at creator0
wsdisplay1: screen 0 added (std, sun emulation)
pcons at mainbus0 not configured
No counter-timer -- using %tick at 299MHz as system clock.
root on wd0a
rootdev=0xc00 rrootdev=0x1a00 rawdev=0x1a02
WARNING: / was not properly unmounted


On 01/06/06, Bachman Kharazmi <[EMAIL PROTECTED]> wrote:
After the change in pf.conf you suggested,
nat on hme0 from rl0:network to any -> carp0
I must do ifconfig down on both carp0 and carp1 at MASTERhost to make
BACKUPhost taking control.
If I only do "ifconfig carp1 down" on the master the CARP1 iface on
BACKUPhost will become MASTER but the CARP0 will still be BACKUP. And
no traffic gets through.

When I have:
nat on hme0 from rl0:network to any -> hme0
I can do "ifconfig carp1 down" on MASTERhost and the BACKUP will take control.

And I "still" have the problem that my IRC,aim-client and
radiostreaming disconnects with both tries.

I forgot to mention that the MASTERhost is on
OpenBSD sunshine-2 3.9 GENERIC#759 sparc64
and BACKUPhost
OpenBSD sunbird 3.8 GENERIC#607 sparc64

The problem with disconnections from various services (IRC,aim and
radio) still exist :/

/bkw


On 01/06/06, Dag Richards <[EMAIL PROTECTED]> wrote:
> Bachman Kharazmi wrote:
> > I finally got CARP _working_ :)
> >
> > I've a problem when I do "ifconfig carp1 down" on the MASTER host to
> > test if BACKUP takes over the traffic..
> >
> > It does work so far. But the problem is that if I'm streaming Internet
> > radio or are connected to IRC the radio will get stalled when I do
> > "ifconfig carp1 down" on MASTER, and the IRC disconnects and then
> > tries to reconnect which of course works.
> >
> > I think something is wrong, since it shouldn't affect the traffic flow
> > at all when MASTER interrupt.
> >
> > I have three interfaces in each host. and my setup looks like
> > (here is a diff link http://pastebin.com/pastebin.php?diff=749904)
> >
> > MASTER HOST:
> > # ifconfig
> > lo0: flags=8049<UP,LOOPBACK,RUNNING,MULTICAST> mtu 33192
> >        groups: lo
> >        inet 127.0.0.1 netmask 0xff000000
> >        inet6 ::1 prefixlen 128
> >        inet6 fe80::1%lo0 prefixlen 64 scopeid 0x7
> > hme0:
> > 
flags=8b63<UP,BROADCAST,NOTRAILERS,RUNNING,PROMISC,ALLMULTI,SIMPLEX,MULTICAST>
> >
> > mtu 1500
> >        lladdr 08:00:20:9e:7c:60
> >        groups: egress
> >        media: Ethernet autoselect (100baseTX full-duplex)
> >        status: active
> >        inet6 fe80::a00:20ff:fe9e:7c60%hme0 prefixlen 64 scopeid 0x1
> >        inet 192.168.1.10 netmask 0xffffff00 broadcast 192.168.1.255
> > rl0: flags=8943<UP,BROADCAST,RUNNING,PROMISC,SIMPLEX,MULTICAST> mtu 1500
> >        lladdr 00:08:a1:8e:64:70
> >        media: Ethernet autoselect (100baseTX full-duplex)
> >        status: active
> >        inet 192.168.10.100 netmask 0xffffff00 broadcast 192.168.10.255
> >        inet6 fe80::208:a1ff:fe8e:6470%rl0 prefixlen 64 scopeid 0x2
> > fxp0: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> mtu 1500
> >        lladdr 00:50:8b:0e:30:02
> >        media: Ethernet autoselect (100baseTX full-duplex)
> >        status: active
> >        inet 192.168.254.254 netmask 0xffffff00 broadcast 192.168.254.255
> >        inet6 fe80::250:8bff:fe0e:3002%fxp0 prefixlen 64 scopeid 0x3
> > pflog0: flags=141<UP,RUNNING,PROMISC> mtu 33192
> > pfsync0: flags=41<UP,RUNNING> mtu 1460
> >        pfsync: syncdev: fxp0 maxupd: 128
> > enc0: flags=0<> mtu 1536
> > carp0: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> mtu 1500
> >        carp: MASTER carpdev hme0 vhid 1 advbase 1 advskew 0
> >        groups: carp
> >        inet 192.168.1.100 netmask 0xffffff00 broadcast 192.168.1.255
> > carp1: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> mtu 1500
> >        carp: MASTER carpdev rl0 vhid 2 advbase 1 advskew 0
> >        groups: carp
> >        inet 192.168.10.50 netmask 0xffffff00 broadcast 192.168.10.255
> > # cat /etc/hostname.*
> > inet 192.168.1.100 255.255.255.0 192.168.1.255 vhid 1 pass foo
> > inet 192.168.10.50 255.255.255.0 192.168.10.255 vhid 2 pass bar
> > inet 192.168.254.254 255.255.255.0 NONE
> > dhcp NONE NONE NONE
> > up syncif fxp0
> > inet 192.168.10.100 255.255.255.0 NONE
> >
> > BACKUP HOST:
> > # ifconfig
> > lo0: flags=8049<UP,LOOPBACK,RUNNING,MULTICAST> mtu 33192
> >        groups: lo
> >        inet 127.0.0.1 netmask 0xff000000
> >        inet6 ::1 prefixlen 128
> >        inet6 fe80::1%lo0 prefixlen 64 scopeid 0x7
> > hme0:
> > 
flags=8b63<UP,BROADCAST,NOTRAILERS,RUNNING,PROMISC,ALLMULTI,SIMPLEX,MULTICAST>
> >
> > mtu 1500
> >        lladdr 08:00:20:9c:5d:3a
> >        groups: egress
> >        media: Ethernet autoselect (100baseTX full-duplex)
> >        status: active
> >        inet6 fe80::a00:20ff:fe9c:5d3a%hme0 prefixlen 64 scopeid 0x1
> >        inet 192.168.1.7 netmask 0xffffff00 broadcast 192.168.1.255
> > rl0: flags=8943<UP,BROADCAST,RUNNING,PROMISC,SIMPLEX,MULTICAST> mtu 1500
> >        lladdr 00:c0:26:6d:ff:6c
> >        media: Ethernet autoselect (100baseTX full-duplex)
> >        status: active
> >        inet 192.168.10.200 netmask 0xffffff00 broadcast 192.168.10.255
> >        inet6 fe80::2c0:26ff:fe6d:ff6c%rl0 prefixlen 64 scopeid 0x2
> > fxp0: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> mtu 1500
> >        lladdr 00:50:8b:0e:7d:7d
> >        media: Ethernet autoselect (100baseTX full-duplex)
> >        status: active
> >        inet 192.168.254.253 netmask 0xffffff00 broadcast 192.168.254.255
> >        inet6 fe80::250:8bff:fe0e:7d7d%fxp0 prefixlen 64 scopeid 0x3
> > pflog0: flags=141<UP,RUNNING,PROMISC> mtu 33192
> > pfsync0: flags=41<UP,RUNNING> mtu 1348
> >        pfsync: syncdev: fxp0 maxupd: 128
> > enc0: flags=0<> mtu 1536
> > carp0: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> mtu 1500
> >        carp: BACKUP carpdev hme0 vhid 1 advbase 1 advskew 50
> >        groups: carp
> >        inet 192.168.1.100 netmask 0xffffff00 broadcast 192.168.1.255
> > carp1: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> mtu 1500
> >        carp: BACKUP carpdev rl0 vhid 2 advbase 1 advskew 50
> >        groups: carp
> >        inet 192.168.10.50 netmask 0xffffff00 broadcast 192.168.10.255
> > # cat /etc/hostname.*
> > inet 192.168.1.100 255.255.255.0 192.168.1.255 vhid 1 advskew 50 pass foo
> > inet 192.168.10.50 255.255.255.0 192.168.10.255 vhid 2 advskew 50 pass bar
> > inet 192.168.254.253 255.255.255.0 NONE
> > dhcp NONE NONE NONE
> > up syncif fxp0
> > inet 192.168.10.200 255.255.255.0 NONE
> >
> > And pf.conf at both hosts are identical:
> > # cat /etc/pf.conf
> > set loginterface fxp0
> > nat on hme0 from rl0:network to any -> hme0
> > pass in  on hme0  all
> > pass out on hme0  all
> > pass quick on { fxp0 } proto pfsync keep state
> > pass on { hme0 rl0 } proto carp keep state
> >
> > any suggestions are welcome
>
> nat on hme0 from rl0:network to any -> carp0
>
> would be what I would expect to see.



--
/Bachman

Reply via email to