Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 4 Jan 2006 11:34:21 +0300
From:      Alexey Sopov <adler@smtp.ru>
To:        freebsd-stable@freebsd.org
Subject:   5.4 freezes randomly
Message-ID:  <31615625.20060104113421@smtp.ru>

next in thread | raw e-mail | index | archive | help
I have installed a FreeBSD 5.4-RELEASE router, with mpd4 (for pptp
clients) and with ng_netflow for traffic collecting, the machine also
performs NAT be means of pfnat.

But my machine occasionally freezes. It does not respond to echo
requests over ethernet and it even does not respond to keyboard.

I have connected this machine with another one via serial cable
and when it hang, I've entered debugger (see below). I've tried to
install FreeBSD 6.0-RELEASE, mpd4, ng_netflow on another machine
with different hardware, and those machine freezes too. Is there any
solution? Thank you, sorry for my English.

==========================Cut====================
db> where
Tracing pid 26 tid 100020 td 0xc3980000
kdb_enter(c0703955,e563fa0c,63f9c0,e563f900,0) at kdb_enter+0x32
siointr1(c3b6ba80,c396bb80,e563f9f4,c06b09df,c3b67000) at siointr1+0x3ed
siointr(c3b67000,c4206600,e563fa28,c3980000,4) at siointr+0x32
intr_execute_handlers(c073be80,e563fa18,21,595,c6617000) at intr_execute_handlers+0xef
atpic_handle_intr(4) at atpic_handle_intr+0x4a
Xatpic_intr4() at Xatpic_intr4+0x20
--- interrupt, eip = 0xc0554479, esp = 0xe563fa5c, ebp = 0xe563fa68 ---
m_adj(c6617000,ffffffdf,0,1,c3efcc80) at m_adj+0x69
ip_fragment(c66170ec,e563fb3c,578,0,1) at ip_fragment+0x293
ip_output(c6617000,0,e563fb08,20,0) at ip_output+0xad8
rip_output(c6617000,c57148dc,2319a8c0,c07224a0,c0746b3c) at rip_output+0x132
rip_send(c57148dc,0,c6608e00,0,0) at rip_send+0x6e
sosend(c57148dc,0,0,c6608e00,0) at sosend+0x5f7
ng_ksocket_rcvdata(c41ee900,c57c4880,8,c41eb100,c41eb100) at ng_ksocket_rcvdata+0x202
ng_apply_item(c41eb100,c57c4880,c4026dda,ceb,c57c4880) at ng_apply_item+0x25a
ngintr(0,16c,4c813673,3595a917,8) at ngintr+0x1fb
swi_net(0,0,0,0,0) at swi_net+0x9b
ithread_loop(c396b580,e563fd48,0,0,0) at ithread_loop+0xc4
fork_exit(c04ffe20,c396b580,e563fd48) at fork_exit+0x62
fork_trampoline() at fork_trampoline+0x8
--- trap 0x1, eip = 0, esp = 0xe563fd7c, ebp = 0 ---                                                    
db> ps
  pid   proc     uid  ppid  pgrp  flag   stat  wmesg    wchan  cmd
11635 c54548d4    0  1540 11635 0004002 [SLPQ select 0xc074c7c4][SLP] top
 1540 c55b71c4    0   852  1540 0004002 [SLPQ pause 0xc55b71fc][SLP] csh
 1096 c3b748d4    0   790    47 0004000 [SLPQ select 0xc074c7c4][SLP] utm5_radius
  858 c3b74a98    0     1   851 0000000 [SLPQ select 0xc074c7c4][SLP] 3dm2
  857 c3f561c4    0     1   857 0004002 [SLPQ ttyin 0xc3d0c210][SLP] getty
  856 c3f56000    0     1   856 0004002 [SLPQ ttyin 0xc3b6da10][SLP] getty
  855 c54541c4    0     1   855 0004002 [SLPQ ttyin 0xc3a1b810][SLP] getty
  854 c3f53000    0     1   854 0004002 [SLPQ ttyin 0xc3af6410][SLP] getty
  853 c5454a98    0     1   853 0004002 [SLPQ ttyin 0xc3a1c210][SLP] getty
  852 c545454c    0     1   852 0004102 [SLPQ wait 0xc545454c][SLP] login
  849 c3d66a98    0   795    47 0004002 [SLPQ select 0xc074c7c4][SLP] utm5_rfw
  795 c3f56388    0     1    47 0004002 [SLPQ wait 0xc3f56388][SLP] sh
  794 c3f531c4    0   787    47 0004002 [SLPQ select 0xc074c7c4][SLP] utm5_core
  790 c3f53a98    0     1    47 0004002 [SLPQ wait 0xc3f53a98][SLP] sh
  787 c5454e20    0     1    47 0004002 [SLPQ wait 0xc5454e20][SLP] sh
  694 c3f53c5c    0     1   694 0008080 (threaded)  mpd4
   thread 0xc55ae000 ksegrp 0xc397e0e0 [RUNQ]
   thread 0xc3f18c00 ksegrp 0xc3b73d90 [SLPQ ksesigwait 0xc3f53d5c][SLP]
  550 c3d66c5c    0     1   550 0000000 [SLPQ nanslp 0xc07491cc][SLP] cron
  538 c3f53710   25     1   538 0000100 [SLPQ pause 0xc3f53748][SLP] sendmail
  534 c3f53388    0     1   534 0000100 [SLPQ select 0xc074c7c4][SLP] sendmail
  528 c3d66e20    0     1   528 0000100 [SLPQ select 0xc074c7c4][SLP] sshd
  507 c3f5354c    0     1   507 0000000 [SLPQ select 0xc074c7c4][SLP] ntpd
  447 c3d6654c    0   442   442 0000000 [SLPQ - 0xc3cfcc00][SLP] nfsd
  446 c3b74710    0   442   442 0000000 [SLPQ - 0xc3d0d200][SLP] nfsd
  444 c3b74e20    0   442   442 0000000 [SLPQ - 0xc3d1a600][SLP] nfsd
  443 c3d66710    0   442   442 0000000 [SLPQ - 0xc3d0ce00][SLP] nfsd
  442 c3b74388    0     1   442 0000000 [SLPQ select 0xc074c7c4][SLP] nfsd
  434 c3d66000    0     1   434 0000000 [SLPQ select 0xc074c7c4][SLP] mountd
  380 c3b74c5c    0     1   380 0000000 [SLPQ select 0xc074c7c4][SLP] rpcbind
  370 c3b741c4   53     1   370 0008180 (threaded)  named
   thread 0xc3f17900 ksegrp 0xc397ebd0 [SLPQ kserel 0xc397ec10][SLP]
   thread 0xc5580600 ksegrp 0xc397ebd0 [SLPQ select 0xc074c7c4][SLP]
   thread 0xc3b76180 ksegrp 0xc397e460 [SLPQ ksesigwait 0xc3b742c4][SLP]
  362 c3b7454c    0     1   362 0000000 [SLPQ select 0xc074c7c4][SLP] syslogd
  338 c3d661c4    0     1   338 0000000 [SLPQ select 0xc074c7c4][SLP] devd
  228 c3d66388    0     1   228 0000000 [SLPQ pause 0xc3d663c0][SLP] adjkerntz
   46 c39d1a98    0     0     0 0000204 [SLPQ - 0xe564ed00][SLP] schedcpu
   45 c39d1c5c    0     0     0 0000204 [SLPQ - 0xc075498c][SLP] nfsiod 3
   44 c39d1e20    0     0     0 0000204 [SLPQ - 0xc0754988][SLP] nfsiod 2                                                                         
   43 c3b71000    0     0     0 0000204 [SLPQ - 0xc0754984][SLP] nfsiod 1                                                                         
   42 c3b711c4    0     0     0 0000204 [SLPQ - 0xc0754980][SLP] nfsiod 0                                                                         
   41 c3b71388    0     0     0 0000204 [SLPQ syncer 0xc0748f4c][SLP] syncer                                                                            
   40 c3b7154c    0     0     0 0000204 [SLPQ vlruwt 0xc3b7154c][SLP] vnlru                                                                           
   39 c3b71710    0     0     0 0000204 [SLPQ psleep 0xc074cd8c][SLP] bufdaemon                                                                               
   38 c3b718d4    0     0     0 000020c [SLPQ pgzero 0xc075b                                                           
   37 c3b71a98    0     0     0 0000204 [SLPQ pollid 0xc0746b64][SLP] idlepoll                                                                              
   36 c3b71c5c    0     0     0 0000204 [SLPQ psleep 0xc075b248][SLP] vmdaemon                                                                              
    9 c3b71e20    0     0     0 0000204 [SLPQ psleep 0xc075b204][SLP] pagedaemon
   35 c3b74000    0     0     0 0000204 [RUNQ] swi0: sio                                                        
    8 c39c054c    0     0     0 0000204 [SLPQ idle 0xc3adb000][SLP] aic_recovery1 
    7 c39c0710    0     0     0 0000204 [SLPQ idle 0xc3ad8000][SLP] aic_recovery0 
    6 c39c08d4    0     0     0 0000204 [SLPQ - 0xc3a1                                                    
   34 c39c0a98    0     0     0 0000204 [IWAIT] swi6:+                                                      
   33 c39c0c5c    0     0     0 0000204 [IWAIT] swi3: cambio                                                            
   32 c39c0e20    0     0     0 0000204 [IWAIT] swi2: camnet                                                            
    5 c39d1000    0     0     0 0000204 [SLPQ - 0xc39fb840][SLP] kqueue taskq                                                                             
   31 c39d11c4    0     0     0 0000204 [IWAIT] swi6: task queue                                                                
   30 c39d1388    0     0     0 0000204 [IWAIT] swi6:+                                                      
   29 c39d154c    0     0     0 0000204 [SLPQ - 0xc07409e0][SLP] yarrow                                                                       
    4 c39d1710    0     0     0 0000204 [SLPQ - 0xc0743448][SLP] g_do           
    3 c39d18d4    0     0     0 0000204 [SLPQ - 0xc0743444][SLP] g_up
    2 c397f1c4    0     0     0 0000204 [SLPQ - 0xc074343c][SLP] g_event
   28 c397f388    0     0     0 0000204 [IWAIT] swi4: vm
   27 c397f54c    0     0     0 000020c [RUNQ] swi5: clock sio
   26 c397f710    0     0     0 0000204 [CPU 0] swi1: net
   25 c397f8d4    0     0     0 0000204 [IWAIT] irq15: ata1
   24 c397fa98    0     0     0 0000204 [IWAIT] irq14: ata0
   23 c397fc5c    0     0     0 0000204 [IWAIT] irq13:
   22 c397fe20    0     0     0 0000204 [IWAIT] irq12:
   21 c39c0000    0     0     0 0000204 [IWAIT] irq11: em1 ahd0
   20 c39c01c4    0     0     0 0000204 [IWAIT] irq10: ahd1 twe0
   19 c39c0388    0     0     0 0000204 [IWAIT] irq9: fxp1
   18 c3978000    0     0     0 0000204 [IWAIT] irq8:
   17 c39781c4    0     0     0 0000204 [IWAIT] irq7:
   16 c3978388    0     0     0 0000204 [IWAIT] irq6:
   15 c397854c    0     0     0 0000204 [IWAIT] irq5: fxp0 em0
   14 c3978710    0     0     0 0000204 [IWAIT] irq4: sio0
   13 c39788d4    0     0     0 0000204 [IWAIT] irq3: sio1
   12 c3978a98    0     0     0 0000204 [RUNQ] irq1: atkbd0
   11 c3978c5c    0     0     0 0000204 [IWAIT] irq0: clk
   10 c3978e20    0     0     0 000020c [Can run] idle
    1 c397f000    0     0     1 0004200 [SLPQ wait 0xc397f000][SLP] init
    0 c07434e0    0     0     0 0000200 [SLPQ sched 0xc07434e0][SLP] swapper
db>


pciconf -lv
agp0@pci0:0:0:  class=0x060000 card=0x00000000 chip=0x01e010de rev=0xc1 hdr=0x00
    vendor   = 'NVIDIA Corporation'
    device   = 'nForce2 AGP Controller'
    class    = bridge
    subclass = HOST-PCI
none0@pci0:0:1: class=0x050000 card=0x10001695 chip=0x01eb10de rev=0xc1 hdr=0x00
    vendor   = 'NVIDIA Corporation'
    device   = 'nForce2 Memory Controller 1'
    class    = memory
    subclass = RAM
none1@pci0:0:2: class=0x050000 card=0x10001695 chip=0x01ee10de rev=0xc1 hdr=0x00
    vendor   = 'NVIDIA Corporation'
    device   = 'nForce2 Memory Controller 4'
    class    = memory
    subclass = RAM
none2@pci0:0:3: class=0x050000 card=0x10001695 chip=0x01ed10de rev=0xc1 hdr=0x00
    vendor   = 'NVIDIA Corporation'
    device   = 'nForce2 Memory Controller 3'
    class    = memory
    subclass = RAM
none3@pci0:0:4: class=0x050000 card=0x10001695 chip=0x01ec10de rev=0xc1 hdr=0x00
    vendor   = 'NVIDIA Corporation'
    device   = 'nForce2 Memory Controller 2'
    class    = memory
    subclass = RAM
none4@pci0:0:5: class=0x050000 card=0x10001695 chip=0x01ef10de rev=0xc1 hdr=0x00
    vendor   = 'NVIDIA Corporation'
    device   = 'nForce2 Memory Controller 5'
    class    = memory
    subclass = RAM
isab0@pci0:1:0: class=0x060100 card=0x10001695 chip=0x006010de rev=0xa4 hdr=0x00
    vendor   = 'NVIDIA Corporation'
    device   = 'nForce MCP2 ISA Bridge'
    class    = bridge
    subclass = PCI-ISA
none5@pci0:1:1: class=0x0c0500 card=0x10001695 chip=0x006410de rev=0xa2 hdr=0x00
    vendor   = 'NVIDIA Corporation'
    device   = 'nForce MCP-T? SMBus Controller'
    class    = serial bus
    subclass = SMBus
none6@pci0:2:0: class=0x0c0310 card=0x10001695 chip=0x006710de rev=0xa4 hdr=0x00
    vendor   = 'NVIDIA Corporation'
    device   = 'nForce MCP2 OpenHCI USB Controller'
    class    = serial bus
    subclass = USB
none7@pci0:2:1: class=0x0c0310 card=0x10001695 chip=0x006710de rev=0xa4 hdr=0x00
    vendor   = 'NVIDIA Corporation'
    device   = 'nForce MCP2 OpenHCI USB Controller'
    class    = serial bus
    subclass = USB
none8@pci0:2:2: class=0x0c0320 card=0x10001695 chip=0x006810de rev=0xa4 hdr=0x00
    vendor   = 'NVIDIA Corporation'
    device   = 'nForce MCP2 EHCI USB 2.0 Controller'
    class    = serial bus
    subclass = USB
none9@pci0:4:0: class=0x020000 card=0x10001695 chip=0x006610de rev=0xa1 hdr=0x00
    vendor   = 'NVIDIA Corporation'
    device   = 'nForce MCP-T Networking Adapter'
    class    = network
    subclass = ethernet
pcib1@pci0:8:0: class=0x060400 card=0x00000000 chip=0x006c10de rev=0xa3 hdr=0x01
    vendor   = 'NVIDIA Corporation'
    device   = 'nForce MCP-T CPU to PCI Bridge'
    class    = bridge
    subclass = PCI-PCI
atapci0@pci0:9:0:       class=0x01018a card=0x10001695 chip=0x006510de rev=0xa2 hdr=0x00
    vendor   = 'NVIDIA Corporation'
    device   = 'nForce MCP2 EIDE Controller'
    class    = mass storage
    subclass = ATA
pcib2@pci0:30:0:        class=0x060400 card=0x00000000 chip=0x01e810de rev=0xc1 hdr=0x01
    vendor   = 'NVIDIA Corporation'
    device   = 'nForce2 AGP Host to PCI Bridge'
    class    = bridge
    subclass = PCI-PCI
fxp0@pci1:6:0:  class=0x020000 card=0x000e8086 chip=0x12298086 rev=0x08 hdr=0x00
    vendor   = 'Intel Corporation'
    device   = '82550/1/7/8/9 EtherExpress PRO/100(B) Ethernet Adapter'
    class    = network
    subclass = ethernet
ahd0@pci1:7:0:  class=0x010000 card=0x00409005 chip=0x80109005 rev=0x03 hdr=0x00
    vendor   = 'Adaptec Inc'
    device   = 'ASC-39320 Ultra320 SCSI Controller'
    class    = mass storage
    subclass = SCSI
ahd1@pci1:7:1:  class=0x010000 card=0x00409005 chip=0x80109005 rev=0x03 hdr=0x00
    vendor   = 'Adaptec Inc'
    device   = 'ASC-39320 Ultra320 SCSI Controller'
    class    = mass storage
    subclass = SCSI
twe0@pci1:8:0:  class=0x010400 card=0x100113c1 chip=0x100113c1 rev=0x01 hdr=0x00
    vendor   = '3ware Inc.'
    device   = '7000 series ATA-100 Storage Controller'
    class    = mass storage
    subclass = RAID
fxp1@pci1:9:0:  class=0x020000 card=0x00408086 chip=0x12298086 rev=0x08 hdr=0x00
    vendor   = 'Intel Corporation'
    device   = '82550/1/7/8/9 EtherExpress PRO/100(B) Ethernet Adapter'
    class    = network
    subclass = ethernet
em0@pci1:10:0:  class=0x020000 card=0x11798086 chip=0x10798086 rev=0x03 hdr=0x00
    vendor   = 'Intel Corporation'
    device   = '82546EB Dual Port Gigabit Ethernet Controller'
    class    = network
    subclass = ethernet
em1@pci1:10:1:  class=0x020000 card=0x11798086 chip=0x10798086 rev=0x03 hdr=0x00
    vendor   = 'Intel Corporation'
    device   = '82546EB Dual Port Gigabit Ethernet Controller'
    class    = network
    subclass = ethernet
none10@pci2:0:0:        class=0x030000 card=0x00000000 chip=0x011010de rev=0xb2 hdr=0x00
    vendor   = 'NVIDIA Corporation'
    device   = 'NV11 GeForce2 MX / MX 400'
    class    = display
    subclass = VGA
==================================Cut==============================
  

-- 
  [ /Iexa ]                         mailto:adler@smtp.ru




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?31615625.20060104113421>