hi list,

.. i recently upgraded my dsl-gw-box to 3.8-beta (from 22th aug)
and today (after ~1week of uptime) it now paniced with a duplicate free.

ddb> show panic
free: duplicated free

ddb> show proc
PROC (squid) pid=8806 stat=onproc flags=4104<INMEM,SUGID,EXEC>
    pri=53, usrpri=53, nice=20
    forw=0xd05d1620, back=0x0, list=0xd3a94900,0xdac423ec
    user=0xdad33000, vmspace=0xd3be2e9c
    estcpu=3, cpticks=9, pctcpu=0.0, swtime=592473
    user=28868, sys=23908, intr=3032

ddb> tr
Debugger(d057f804,dad34c38,dad34c10,d0cc4180,9) at Debugger+0x4
panic(d04f497d,d0cc4180,dad34c60,0,dad34d7c) at panic+0x63
free(d0cc4180,9,dad34c80,d0342b2d) at free+0x40
ifafree(d0cc4180,c2a03ac3,dad34ca0,d0285fe0) at ifafree+0x27
rtfree(d3a67b68,d3a95d84,dad34d80,d0288e4e) at rtfree+0x8d
ip_output(dac0fe00,0,d3a95dcc,0,0) at ip_output+0x1105
udp_output(dac0fe00,d3a95d84,dada0a00,0,0) at udp_output+0x1fb
sosend(d3a8ebfc,dada0a00,dad34e78,dac0fe00,0,0,10,3) at sosend+0x389
sendit(d3b31e1c,7,dad34ee8,0,dad34f58) at sendit+0x157
sys_sendto(d3b31e1c,dad34f68,dad34f58,8023f940,30fe) at sys_sendto+0x50
syscall() at syscall+0x2ee
--- syscall (number 133) ---
0xca078ed:


this is pretty odd, since i know of some other 3.8 boxes which are
running just fine; so just in case that matters ... imho the only
difference here is that my box is doing (kernel-)pppoe to an
upstream-isp and in turn often has to "redial" it's connection
(eg. its doing a lot of ifconfig up/down/destroys via some watchdog
cronscript in case it detects a dead uplink ... yes ugly and stuff,
but it usually just works(tm) :-)

so ..

any insights/ideas/advices? b0rked hardware? known bug?

thx,
alex.


ps and dmesg follows ...

ddb> show all procs
   PID   PPID   PGRP    UID  S       FLAGS  WAIT       COMMAND
 14819      1  14819      0  3        0x84  poll       openvpn
  8924  30582  30582     83  3       0x184  poll       ntpd
 30582      1  30582      0  3        0x84  poll       ntpd
 10382      1  10382      0  3        0x84  select     mountd
 14826      1  12134      0  3        0x84  nfsd       nfsd
 25964      1  12134      0  3        0x84  nfsd       nfsd
 15518      1  12134      0  3        0x84  nfsd       nfsd
 16586      1  12134      0  3        0x84  nfsd       nfsd
  3214      1  12134      0  3        0x84  nfsd       nfsd
 10202      1  10202     28  3       0x184  poll       portmap
 24379  21138  21138     68  3       0x184  select     isakmpd
 21138      1  21138      0  3        0x80  netio      isakmpd
 11351   8806  11351    515  3      0x4080  netio      perl
 22829   8806  22829    515  3      0x4080  netio      perl
 16174   8806  16174    515  3      0x4080  netio      perl
 20096   8806  20096    515  3      0x4080  netio      perl
 17033   8806  17033    515  2      0x4004             perl
 18071   8806  18071    515  3      0x4080  piperd     unlinkd
* 8806  22590  22590    515  7      0x4104             squid
 22590      1  22590      0  3        0x80  wait       squid
 28623      1  28623     77  3       0x184  poll       dhclient
 20644      1      1      0  3      0x4080  ttyopn     getty
  7509      1   7509      0  3      0x4080  ttyin      getty
  4942      1   4942      0  3      0x4082  ttyin      getty
  8245      1   8245      0  3        0x84  select     cron
 13530      1  13530      0  3     0x40184  select     sendmail
 20610      1  20610      0  3        0x84  select     sshd
 23830      1  23830      0  3       0x180  select     inetd
 32589  14706  14706     70  3       0x184  select     named
 14706      1  14706      0  3       0x180  netio      named
 27538   6830   6830     74  3       0x184  bpf        pflogd
  6830      1   6830      0  3        0x84  netio      pflogd
 27378   4386   4386     73  2       0x184             syslogd
  4386      1   4386      0  3        0x84  netio      syslogd
     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

OpenBSD 3.8-beta (GENERIC) #115: Mon Aug 22 22:54:07 MDT 2005
    [EMAIL PROTECTED]:/usr/src/sys/arch/i386/compile/GENERIC
cpu0: Intel Pentium/MMX ("GenuineIntel" 586-class) 200 MHz
cpu0: FPU,V86,DE,PSE,TSC,MSR,MCE,CX8,MMX
cpu0: F00F bug workaround installed
real mem  = 133799936 (130664K)
avail mem = 115466240 (112760K)
using 1658 buffers containing 6791168 bytes (6632K) of memory
mainbus0 (root)
bios0 at mainbus0: AT/286+(66) BIOS, date 09/25/97, BIOS32 rev. 0 @ 0xfb040
apm0 at bios0: Power Management spec V1.2
apm0: APM engage (device 1): interface not connected (3)
apm0: AC on, battery charge unknown
apm0: APM get event: interface not connected (3)
apm0: APM get event: interface not connected (3)
apm0: APM system defaults failed: interface not connected (3)
apm0: APM disconnect failed: interface not connected (3)
apm0: flags 70102 dobusy 0 doidle 0
pcibios0 at bios0: rev 2.1 @ 0xf0000/0xb4b4
pcibios0: PCI IRQ Routing Table rev 1.0 @ 0xfda60/96 (4 entries)
pcibios0: PCI Exclusive IRQs: 0
pcibios0: PCI Interrupt Router at 000:07:0 ("VIA VT82C586 ISA" rev 0x00)
pcibios0: PCI bus #0 is the last bus
bios0: ROM list: 0xc8000/0x1800 0xca000/0x1800 0xcc000/0x1800
cpu0 at mainbus0
pci0 at mainbus0 bus 0: configuration mode 1 (bios)
pchb0 at pci0 dev 0 function 0 "VIA VT82C585 ISA" rev 0x23
pcib0 at pci0 dev 7 function 0 "VIA VT82C586 ISA" rev 0x27
pciide0 at pci0 dev 7 function 1 "VIA VT82C571 IDE" rev 0x06: ATA33,
channel 0 c
onfigured to compatibility, channel 1 configured to compatibility
wd0 at pciide0 channel 0 drive 0: <QUANTUM FIREBALLlct15 30>
wd0: 16-sector PIO, LBA, 28629MB, 58633344 sectors
wd0(pciide0:0:0): using PIO mode 4, Ultra-DMA mode 2
pciide0: channel 1 ignored (disabled)
fxp0 at pci0 dev 8 function 0 "Intel 82557" rev 0x08, i82559: irq 15, address 0
0:d0:b7:29:5f:be
inphy0 at fxp0 phy 1: i82555 10/100 PHY, rev. 4
fxp1 at pci0 dev 9 function 0 "Intel 82557" rev 0x08, i82559: irq 11, address 0
0:d0:b7:29:a9:52
inphy1 at fxp1 phy 1: i82555 10/100 PHY, rev. 4
fxp2 at pci0 dev 10 function 0 "Intel 82557" rev 0x08, i82559: irq 10,
address 0
0:d0:b7:29:a9:8b
inphy2 at fxp2 phy 1: i82555 10/100 PHY, rev. 4
isa0 at pcib0
isadma0 at isa0
pckbc0 at isa0 port 0x60/5
pckbd0 at pckbc0 (kbd slot)
pckbc0: using irq 1 for kbd slot
wskbd0 at pckbd0: console keyboard
pcppi0 at isa0 port 0x61
midi0 at pcppi0: <PC speaker>
spkr0 at pcppi0
sysbeep0 at pcppi0
npx0 at isa0 port 0xf0/16: using exception 16
pccom0 at isa0 port 0x3f8/8 irq 4: ns16550a, 16 byte fifo
pccom0: console
pccom1 at isa0 port 0x2f8/8 irq 3: ns16550a, 16 byte fifo
biomask 73e5 netmask ffe5 ttymask ffe7
pctr: 586-class performance counters and user-level cycle counter enabled
dkcsum: wd0 matches BIOS drive 0x80
root on wd0a
rootdev=0x0 rrootdev=0x300 rawdev=0x302
<6>pppoe0: phase establish
<6>pppoe0: phase dead
<6>pppoe0: phase establish
<6>pppoe0: phase dead
<6>pppoe0: phase establish
<6>pppoe0: phase dead
<6>pppoe0: phase establish
<6>pppoe0: phase dead
<6>pppoe0: phase establish
<6>pppoe0: phase dead
<6>pppoe0: phase establish
<6>pppoe0: phase dead
<6>pppoe0: phase establish
pppoe0: received unexpected PADO
<6>pppoe0: phase authenticate
<6>pppoe0: phase network
<6>pppoe0: phase network
<6>pppoe0: phase terminate
<6>pppoe0: phase establish
pppoe0: received unexpected PADO
<6>pppoe0: phase authenticate
<6>pppoe0: phase network
<6>pppoe0: phase network
<6>pppoe0: phase terminate
<6>pppoe0: phase establish
pppoe0: received unexpected PADO
<6>pppoe0: phase authenticate
<6>pppoe0: phase network
<6>pppoe0: phase network
<6>pppoe0: phase terminate
<6>pppoe0: phase dead
<6>pppoe0: phase establish
<6>pppoe0: phase dead
pppoe0: received unexpected PADO
<6>pppoe0: phase establish
pppoe0: up
<6>pppoe0: phase authenticate
<6>pppoe0: phase network
<6>pppoe0: phase network
<6>pppoe0: phase terminate
<6>pppoe0: phase dead
<6>pppoe0: phase establish
<6>pppoe0: phase dead
pppoe0: received unexpected PADO
<6>pppoe0: phase establish
pppoe0: up
<6>pppoe0: phase authenticate
<6>pppoe0: phase network
<6>pppoe0: phase terminate
<6>pppoe0: phase dead
<6>pppoe0: phase establish
<6>pppoe0: phase dead
pppoe0: received unexpected PADO
<6>pppoe0: phase establish
pppoe0: up
<6>pppoe0: phase authenticate
<6>pppoe0: phase network
<6>pppoe0: phase network
<6>pppoe0: phase terminate
<6>pppoe0: phase establish
pppoe0: received unexpected PADO
<6>pppoe0: phase authenticate
<6>pppoe0: phase network
<6>pppoe0: phase network
<6>pppoe0: phase terminate
<6>pppoe0: phase dead
<6>pppoe0: phase establish
<6>pppoe0: phase dead
pppoe0: received unexpected PADO
<6>pppoe0: phase establish
pppoe0: up
<6>pppoe0: phase authenticate
<6>pppoe0: phase network
<6>pppoe0: phase network
<6>pppoe0: phase terminate
<6>pppoe0: phase dead
<6>pppoe0: phase establish
<6>pppoe0: phase dead
pppoe0: received unexpected PADO
<6>pppoe0: phase establish
pppoe0: up
<6>pppoe0: phase authenticate
<6>pppoe0: phase network
<6>pppoe0: phase network
multiply freed item 0xd0cc4180
panic: free: duplicated free


ddb> show registers
ds                  0x10
es                  0x10
fs                  0x58
gs                  0x10
edi           0xd04f497d        copyright+0xe5d
esi           0xdad34c1c        end+0xa6ba88c
ebp           0xdad34bf0        end+0xa6ba860
ebx                    0
edx                  0x8
ecx           0xd057f804        kprintf_mutex
eax                  0x1
eip           0xd0338110        Debugger+0x4
cs                   0x8
eflags             0x202
esp           0xdad34bf0        end+0xa6ba860
ss            0xdad30010        end+0xa6b5c80
Debugger+0x4:   leave

Reply via email to