Re: ixgbe_tx_ctx_setup crash

2015-01-12 Thread Kapetanakis Giannis

Tested current kernel and revision 1.115 of if_ix.c is working fine :)

Thanks to Mike and David for their immediate help on this.

regards,

Giannis



Re: ixgbe_tx_ctx_setup crash

2014-12-28 Thread David Gwynne
 On 27 Dec 2014, at 6:09 pm, Kapetanakis Giannis bil...@edu.physics.uoc.gr 
 wrote:
 
 On 27/12/14 10:05, Kapetanakis Giannis wrote:
 On 26/12/14 12:23, Kapetanakis Giannis wrote:
 Hi,
 
 Any ideas on this? I'm getting at least one panic every day.
 
 G
 
 On 24/12/14 06:13, Kapetanakis Giannis wrote:
 Today I've installed a 10Gb adapter and upgraded to latest snapshot.
 I've had a crash...
 
 Machine is a Fujitsu RX300 S6 and the adapter is an Intel X520 SR1
 
 G
 
 ddb{0} trace
 ixgbe_tx_ctx_setup(d4164980,d919df00,f55a0e5c,f55a0e60,4) at 
 ixgbe_tx_ctx_setup
 +0x11a
 ixgbe_encap(d4164980,d919df00,0,1000,a) at ixgbe_encap+0x16a
 ixgbe_start(d4376030,d424f2c0,1,f55a0ed4,d43ac320) at ixgbe_start+0xa7
 nettxintr(0,50,0,f55a0f08,d055e282) at nettxintr+0x47
 softintr_dispatch(1) at softintr_dispatch+0x5a
 Xsoftnet() at Xsoftnet+0x17
 --- interrupt ---
 cpu_idle_cycle(d0c54a00) at cpu_idle_cycle+0xf
 Bad frame pointer: 0xd0d1ee58
 
 I'm still getting the crash at the same point.
 I've followed http://www.benzedrine.cx/crashreport.html
 and I have managed to trace it to line 2114 of revision 1.113
 
  2107  /* Set the ether header length */
  2108  vlan_macip_lens |= ehdrlen  IXGBE_ADVTXD_MACLEN_SHIFT;
  2109
  2110  switch (etype) {
  2111  case ETHERTYPE_IP:
  2112  ip = (struct ip *)(mp-m_data + ehdrlen);
  2113  ip_hlen = ip-ip_hl  2;
 2114  ipproto = ip-ip_p;
  2115  type_tucmd_mlhl |= IXGBE_ADVTXD_TUCMD_IPV4;
  2116  break;
 
 I've also tried to revert back to older revisions of if_ix.c (until 1.108) 
 with no luck.
 I will continue a bit more to see if anything changes.
 
 regards,
 
 Giannis
 
 Just to add that I'm running vlan 802.1q trunk on this interface.

thats pretty cool.

what kind of traffic are you sending on this interface? is it forwarded traffic 
or locally generated?

cheers,
dlg



Re: ixgbe_tx_ctx_setup crash

2014-12-28 Thread David Gwynne
On Sun, Dec 28, 2014 at 08:00:57PM +1000, David Gwynne wrote:
 
  On 27 Dec 2014, at 6:09 pm, Kapetanakis Giannis bil...@edu.physics.uoc.gr 
  wrote:
  
  On 27/12/14 10:05, Kapetanakis Giannis wrote:
  On 26/12/14 12:23, Kapetanakis Giannis wrote:
  Hi,
  
  Any ideas on this? I'm getting at least one panic every day.
  
  G
  
  On 24/12/14 06:13, Kapetanakis Giannis wrote:
  Today I've installed a 10Gb adapter and upgraded to latest snapshot.
  I've had a crash...
  
  Machine is a Fujitsu RX300 S6 and the adapter is an Intel X520 SR1
  
  G
  
  ddb{0} trace
  ixgbe_tx_ctx_setup(d4164980,d919df00,f55a0e5c,f55a0e60,4) at 
  ixgbe_tx_ctx_setup
  +0x11a
  ixgbe_encap(d4164980,d919df00,0,1000,a) at ixgbe_encap+0x16a
  ixgbe_start(d4376030,d424f2c0,1,f55a0ed4,d43ac320) at ixgbe_start+0xa7
  nettxintr(0,50,0,f55a0f08,d055e282) at nettxintr+0x47
  softintr_dispatch(1) at softintr_dispatch+0x5a
  Xsoftnet() at Xsoftnet+0x17
  --- interrupt ---
  cpu_idle_cycle(d0c54a00) at cpu_idle_cycle+0xf
  Bad frame pointer: 0xd0d1ee58
  
  I'm still getting the crash at the same point.
  I've followed http://www.benzedrine.cx/crashreport.html
  and I have managed to trace it to line 2114 of revision 1.113
  
   2107  /* Set the ether header length */
   2108  vlan_macip_lens |= ehdrlen  IXGBE_ADVTXD_MACLEN_SHIFT;
   2109
   2110  switch (etype) {
   2111  case ETHERTYPE_IP:
   2112  ip = (struct ip *)(mp-m_data + ehdrlen);
   2113  ip_hlen = ip-ip_hl  2;
  2114  ipproto = ip-ip_p;
   2115  type_tucmd_mlhl |= IXGBE_ADVTXD_TUCMD_IPV4;
   2116  break;
  
  I've also tried to revert back to older revisions of if_ix.c (until 1.108) 
  with no luck.
  I will continue a bit more to see if anything changes.
  
  regards,
  
  Giannis
  
  Just to add that I'm running vlan 802.1q trunk on this interface.
 
 thats pretty cool.
 
 what kind of traffic are you sending on this interface? is it forwarded 
 traffic or locally generated?
 
 cheers,
 dlg

can you try this diff? it should apply with a little fuzz.

Index: if_ix.c
===
RCS file: /cvs/src/sys/dev/pci/if_ix.c,v
retrieving revision 1.113
diff -u -p -r1.113 if_ix.c
--- if_ix.c 22 Dec 2014 02:28:52 -  1.113
+++ if_ix.c 28 Dec 2014 11:53:00 -
@@ -2035,14 +2049,13 @@ ixgbe_tx_ctx_setup(struct tx_ring *txr, 
struct ix_softc *sc = txr-sc;
struct ixgbe_adv_tx_context_desc *TXD;
struct ixgbe_tx_buf *tx_buffer;
+   struct ether_header eh;
 #if NVLAN  0
-   struct ether_vlan_header *eh;
-#else
-   struct ether_header *eh;
+   struct ether_vlan_header evh;
 #endif
-   struct ip *ip;
+   struct ip ip;
 #ifdef notyet
-   struct ip6_hdr *ip6;
+   struct ip6_hdr ip6;
 #endif
uint32_t vlan_macip_lens = 0, type_tucmd_mlhl = 0;
int ehdrlen, ip_hlen = 0;
@@ -2089,19 +2102,21 @@ ixgbe_tx_ctx_setup(struct tx_ring *txr, 
 * Jump over vlan headers if already present,
 * helpful for QinQ too.
 */
+   if (mp-m_pkthdr.len  sizeof(eh))
+   return (1);
+
+   m_copydata(mp, 0, sizeof(eh), (caddr_t)eh);
+   etype = ntohs(eh.ether_type);
+   ehdrlen = ETHER_HDR_LEN;
 #if NVLAN  0
-   eh = mtod(mp, struct ether_vlan_header *);
-   if (eh-evl_encap_proto == htons(ETHERTYPE_VLAN)) {
-   etype = ntohs(eh-evl_proto);
-   ehdrlen = ETHER_HDR_LEN + ETHER_VLAN_ENCAP_LEN;
-   } else {
-   etype = ntohs(eh-evl_encap_proto);
-   ehdrlen = ETHER_HDR_LEN;
+   if (etype == htons(ETHERTYPE_VLAN)) {
+   if (mp-m_pkthdr.len  sizeof(evh))
+   return (1);
+
+   m_copydata(mp, 0, sizeof(evh), (caddr_t)evh);
+   etype = ntohs(evh.evl_proto);
+   ehdrlen = sizeof(evh);
}
-#else
-   eh = mtod(mp, struct ether_header *);
-   etype = ntohs(eh-ether_type);
-   ehdrlen = ETHER_HDR_LEN;
 #endif
 
/* Set the ether header length */
@@ -2109,17 +2124,23 @@ ixgbe_tx_ctx_setup(struct tx_ring *txr, 
 
switch (etype) {
case ETHERTYPE_IP:
-   ip = (struct ip *)(mp-m_data + ehdrlen);
-   ip_hlen = ip-ip_hl  2;
-   ipproto = ip-ip_p;
+   if (mp-m_pkthdr.len  ehdrlen + sizeof(ip))
+   return (1);
+
+   m_copydata(mp, ehdrlen, sizeof(ip), (caddr_t)ip);
+   ip_hlen = ip.ip_hl  2;
+   ipproto = ip.ip_p;
type_tucmd_mlhl |= IXGBE_ADVTXD_TUCMD_IPV4;
break;
 #ifdef notyet
case ETHERTYPE_IPV6:
-   ip6 = (struct ip6_hdr *)(mp-m_data + ehdrlen);
-   ip_hlen = sizeof(struct ip6_hdr);
+   if (mp-m_pkthdr.len  ehdrlen + sizeof(ip6))
+   return (1);
+
+   

Re: ixgbe_tx_ctx_setup crash

2014-12-27 Thread Kapetanakis Giannis

On 26/12/14 12:23, Kapetanakis Giannis wrote:

Hi,

Any ideas on this? I'm getting at least one panic every day.

G

On 24/12/14 06:13, Kapetanakis Giannis wrote:

Today I've installed a 10Gb adapter and upgraded to latest snapshot.
I've had a crash...

Machine is a Fujitsu RX300 S6 and the adapter is an Intel X520 SR1

G

ddb{0} trace
ixgbe_tx_ctx_setup(d4164980,d919df00,f55a0e5c,f55a0e60,4) at 
ixgbe_tx_ctx_setup

+0x11a
ixgbe_encap(d4164980,d919df00,0,1000,a) at ixgbe_encap+0x16a
ixgbe_start(d4376030,d424f2c0,1,f55a0ed4,d43ac320) at ixgbe_start+0xa7
nettxintr(0,50,0,f55a0f08,d055e282) at nettxintr+0x47
softintr_dispatch(1) at softintr_dispatch+0x5a
Xsoftnet() at Xsoftnet+0x17
--- interrupt ---
cpu_idle_cycle(d0c54a00) at cpu_idle_cycle+0xf
Bad frame pointer: 0xd0d1ee58


I'm still getting the crash at the same point.
I've followed http://www.benzedrine.cx/crashreport.html
and I have managed to trace it to line 2114 of revision 1.113

  2107  /* Set the ether header length */
  2108  vlan_macip_lens |= ehdrlen  IXGBE_ADVTXD_MACLEN_SHIFT;
  2109
  2110  switch (etype) {
  2111  case ETHERTYPE_IP:
  2112  ip = (struct ip *)(mp-m_data + ehdrlen);
  2113  ip_hlen = ip-ip_hl  2;

2114  ipproto = ip-ip_p;

  2115  type_tucmd_mlhl |= IXGBE_ADVTXD_TUCMD_IPV4;
  2116  break;

I've also tried to revert back to older revisions of if_ix.c (until 
1.108) with no luck.

I will continue a bit more to see if anything changes.

regards,

Giannis



ddb{0} ps
   PID   PPID   PGRPUID  S   FLAGS  WAIT COMMAND
 27524  29077  29077  0  30x81  netio tcpdump
 29077   7998  29077 76  30x93  bpf tcpdump
  7998   5475   7998  0  30x8b  pause tcsh
  5475  27931   5475  0  30x8b  pause ksh
 27931  26770  27931  0  30x92  selectsshd
 31314  1  31314  0  30x80  poll  cron
 30894  1  30894  0  30x83  ttyin getty
 18970   8424   8424 90  30x90  kqreadospf6d
 32570   8424   8424 90  30x90  kqreadospf6d
  8424  1   8424  0  30x80  kqreadospf6d
 21883   1784   1784 85  30x90  kqreadospfd
   912   1784   1784 85  30x90  kqreadospfd
  1784  1   1784  0  30x80  kqreadospfd
 12595  1  12595  0  30x83  ttyin getty
 25497  1  25497  0  30x83  ttyin getty
 12975  1  12975  0  30x83  ttyin getty
 28159  1  28159  0  30x83  ttyin getty
 32715  1  32715  0  30x83  ttyin getty
 10193   2540   2540 74  30x90  bpf   pflogd
  2540  1   2540  0  30x80  netio pflogd
  2835  1  14597  0  30x80  selectsnmpd
  7479  32707  32707 95  30x90  kqreadsmtpd
 20765  32707  32707 95  30x90  kqreadsmtpd
 28600  32707  32707 95  30x90  kqreadsmtpd
 13782  32707  32707 95  30x90  kqreadsmtpd
 12419  32707  32707 95  30x90  kqreadsmtpd
  2489  32707  32707103  30x90  kqreadsmtpd
 32707  1  32707  0  30x80  kqreadsmtpd
 26770  1  26770  0  30x80  selectsshd
  7240  19769   3791 83  30x90  poll  ntpd
 19769   3791   3791 83  30x90  poll  ntpd
  3791  1   3791  0  30x80  poll  ntpd
 11125  23743  23743 74  30x90  bpf   pflogd
 23743  1  23743  0  30x80  netio pflogd
 28337   5090   5090 73  20x90 syslogd
  5090  1   5090  0  30x80  netio syslogd
 30111  0  0  0  3 0x14200  pgzero zerothread
 14175  0  0  0  3 0x14200  aiodoned aiodoned
 14536  0  0  0  3 0x14200  syncerupdate
 26108  0  0  0  3 0x14200  cleaner cleaner
 25408  0  0  0  3 0x14200  reaperreaper
 28179  0  0  0  3 0x14200  pgdaemon pagedaemon
  3310  0  0  0  3 0x14200  bored crypto
 26495  0  0  0  3 0x14200  pftm pfpurge
  7600  0  0  0  3 0x14200  usbtsk usbtask
 13439  0  0  0  3 0x14200  usbatsk usbatsk
 11642  0  0  0  3 0x14200  bored sensors
 25436  0  0  0  3  0x40014200  acpi0 acpi0
 27440  0  0  0  7  0x40014200idle3
  4660  0  0  0  7  0x40014200idle2
 27534  0  0  0  7  0x40014200idle1
 25518  0  0  0  3 0x14200  bored systqmp
 24295  0  0  0  3 0x14200  bored systq
 15404  0  0  0  3 

Re: ixgbe_tx_ctx_setup crash

2014-12-27 Thread Kapetanakis Giannis

On 27/12/14 10:05, Kapetanakis Giannis wrote:

On 26/12/14 12:23, Kapetanakis Giannis wrote:

Hi,

Any ideas on this? I'm getting at least one panic every day.

G

On 24/12/14 06:13, Kapetanakis Giannis wrote:

Today I've installed a 10Gb adapter and upgraded to latest snapshot.
I've had a crash...

Machine is a Fujitsu RX300 S6 and the adapter is an Intel X520 SR1

G

ddb{0} trace
ixgbe_tx_ctx_setup(d4164980,d919df00,f55a0e5c,f55a0e60,4) at 
ixgbe_tx_ctx_setup

+0x11a
ixgbe_encap(d4164980,d919df00,0,1000,a) at ixgbe_encap+0x16a
ixgbe_start(d4376030,d424f2c0,1,f55a0ed4,d43ac320) at ixgbe_start+0xa7
nettxintr(0,50,0,f55a0f08,d055e282) at nettxintr+0x47
softintr_dispatch(1) at softintr_dispatch+0x5a
Xsoftnet() at Xsoftnet+0x17
--- interrupt ---
cpu_idle_cycle(d0c54a00) at cpu_idle_cycle+0xf
Bad frame pointer: 0xd0d1ee58


I'm still getting the crash at the same point.
I've followed http://www.benzedrine.cx/crashreport.html
and I have managed to trace it to line 2114 of revision 1.113

  2107  /* Set the ether header length */
  2108  vlan_macip_lens |= ehdrlen  IXGBE_ADVTXD_MACLEN_SHIFT;
  2109
  2110  switch (etype) {
  2111  case ETHERTYPE_IP:
  2112  ip = (struct ip *)(mp-m_data + ehdrlen);
  2113  ip_hlen = ip-ip_hl  2;

2114  ipproto = ip-ip_p;

  2115  type_tucmd_mlhl |= IXGBE_ADVTXD_TUCMD_IPV4;
  2116  break;

I've also tried to revert back to older revisions of if_ix.c (until 
1.108) with no luck.

I will continue a bit more to see if anything changes.

regards,

Giannis


Just to add that I'm running vlan 802.1q trunk on this interface.

G



Re: ixgbe_tx_ctx_setup crash

2014-12-26 Thread Kapetanakis Giannis

Hi,

Any ideas on this? I'm getting at least one panic every day.

G

On 24/12/14 06:13, Kapetanakis Giannis wrote:

Today I've installed a 10Gb adapter and upgraded to latest snapshot.
I've had a crash...

Machine is a Fujitsu RX300 S6 and the adapter is an Intel X520 SR1

G

ddb{0} trace
ixgbe_tx_ctx_setup(d4164980,d919df00,f55a0e5c,f55a0e60,4) at 
ixgbe_tx_ctx_setup

+0x11a
ixgbe_encap(d4164980,d919df00,0,1000,a) at ixgbe_encap+0x16a
ixgbe_start(d4376030,d424f2c0,1,f55a0ed4,d43ac320) at ixgbe_start+0xa7
nettxintr(0,50,0,f55a0f08,d055e282) at nettxintr+0x47
softintr_dispatch(1) at softintr_dispatch+0x5a
Xsoftnet() at Xsoftnet+0x17
--- interrupt ---
cpu_idle_cycle(d0c54a00) at cpu_idle_cycle+0xf
Bad frame pointer: 0xd0d1ee58

ddb{0} ps
   PID   PPID   PGRPUID  S   FLAGS  WAIT  COMMAND
 27524  29077  29077  0  30x81  netio tcpdump
 29077   7998  29077 76  30x93  bpf   tcpdump
  7998   5475   7998  0  30x8b  pause tcsh
  5475  27931   5475  0  30x8b  pause ksh
 27931  26770  27931  0  30x92  selectsshd
 31314  1  31314  0  30x80  poll  cron
 30894  1  30894  0  30x83  ttyin getty
 18970   8424   8424 90  30x90  kqreadospf6d
 32570   8424   8424 90  30x90  kqreadospf6d
  8424  1   8424  0  30x80  kqreadospf6d
 21883   1784   1784 85  30x90  kqreadospfd
   912   1784   1784 85  30x90  kqreadospfd
  1784  1   1784  0  30x80  kqreadospfd
 12595  1  12595  0  30x83  ttyin getty
 25497  1  25497  0  30x83  ttyin getty
 12975  1  12975  0  30x83  ttyin getty
 28159  1  28159  0  30x83  ttyin getty
 32715  1  32715  0  30x83  ttyin getty
 10193   2540   2540 74  30x90  bpf   pflogd
  2540  1   2540  0  30x80  netio pflogd
  2835  1  14597  0  30x80  selectsnmpd
  7479  32707  32707 95  30x90  kqreadsmtpd
 20765  32707  32707 95  30x90  kqreadsmtpd
 28600  32707  32707 95  30x90  kqreadsmtpd
 13782  32707  32707 95  30x90  kqreadsmtpd
 12419  32707  32707 95  30x90  kqreadsmtpd
  2489  32707  32707103  30x90  kqreadsmtpd
 32707  1  32707  0  30x80  kqreadsmtpd
 26770  1  26770  0  30x80  selectsshd
  7240  19769   3791 83  30x90  poll  ntpd
 19769   3791   3791 83  30x90  poll  ntpd
  3791  1   3791  0  30x80  poll  ntpd
 11125  23743  23743 74  30x90  bpf   pflogd
 23743  1  23743  0  30x80  netio pflogd
 28337   5090   5090 73  20x90syslogd
  5090  1   5090  0  30x80  netio syslogd
 30111  0  0  0  3 0x14200  pgzero zerothread
 14175  0  0  0  3 0x14200  aiodoned  aiodoned
 14536  0  0  0  3 0x14200  syncerupdate
 26108  0  0  0  3 0x14200  cleaner   cleaner
 25408  0  0  0  3 0x14200  reaperreaper
 28179  0  0  0  3 0x14200  pgdaemon pagedaemon
  3310  0  0  0  3 0x14200  bored crypto
 26495  0  0  0  3 0x14200  pftm  pfpurge
  7600  0  0  0  3 0x14200  usbtskusbtask
 13439  0  0  0  3 0x14200  usbatsk   usbatsk
 11642  0  0  0  3 0x14200  bored sensors
 25436  0  0  0  3  0x40014200  acpi0 acpi0
 27440  0  0  0  7  0x40014200idle3
  4660  0  0  0  7  0x40014200idle2
 27534  0  0  0  7  0x40014200idle1
 25518  0  0  0  3 0x14200  bored systqmp
 24295  0  0  0  3 0x14200  bored systq
 15404  0  0  0  3 0x14200  bored syswq
* 9159  0  0  0  7  0x40014200idle0
 26863  0  0  0  3 0x14200  kmalloc   kmthread
 1  0  1  0  30x82  wait  init
 0 -1  0  0  3 0x10200  scheduler swapper

ddb{0}  dmesg
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,PAGE1GB,LONG,SSE3,PCLMUL,DTES64,MWAIT,DS-CPL,V 

MX,SMX,EST,TM2,SSSE3,CX16,xTPR,PDCM,PCID,DCA,SSE4.1,SSE4.2,POPCNT,AES,LAHF,PERF 


,ITSC
real mem  = 3210936320 (3062MB)
avail mem = 3146129408 (3000MB)
mpath0 at root
scsibus0 at mpath0: 256 targets
mainbus0 at root
bios0 at mainbus0: AT/286+ BIOS, date 01/19/12, 

ixgbe_tx_ctx_setup crash

2014-12-23 Thread Kapetanakis Giannis

Today I've installed a 10Gb adapter and upgraded to latest snapshot.
I've had a crash...

Machine is a Fujitsu RX300 S6 and the adapter is an Intel X520 SR1

G

ddb{0} trace
ixgbe_tx_ctx_setup(d4164980,d919df00,f55a0e5c,f55a0e60,4) at ixgbe_tx_ctx_setup
+0x11a
ixgbe_encap(d4164980,d919df00,0,1000,a) at ixgbe_encap+0x16a
ixgbe_start(d4376030,d424f2c0,1,f55a0ed4,d43ac320) at ixgbe_start+0xa7
nettxintr(0,50,0,f55a0f08,d055e282) at nettxintr+0x47
softintr_dispatch(1) at softintr_dispatch+0x5a
Xsoftnet() at Xsoftnet+0x17
--- interrupt ---
cpu_idle_cycle(d0c54a00) at cpu_idle_cycle+0xf
Bad frame pointer: 0xd0d1ee58

ddb{0} ps
   PID   PPID   PGRPUID  S   FLAGS  WAIT  COMMAND
 27524  29077  29077  0  30x81  netio tcpdump
 29077   7998  29077 76  30x93  bpf   tcpdump
  7998   5475   7998  0  30x8b  pause tcsh
  5475  27931   5475  0  30x8b  pause ksh
 27931  26770  27931  0  30x92  selectsshd
 31314  1  31314  0  30x80  poll  cron
 30894  1  30894  0  30x83  ttyin getty
 18970   8424   8424 90  30x90  kqreadospf6d
 32570   8424   8424 90  30x90  kqreadospf6d
  8424  1   8424  0  30x80  kqreadospf6d
 21883   1784   1784 85  30x90  kqreadospfd
   912   1784   1784 85  30x90  kqreadospfd
  1784  1   1784  0  30x80  kqreadospfd
 12595  1  12595  0  30x83  ttyin getty
 25497  1  25497  0  30x83  ttyin getty
 12975  1  12975  0  30x83  ttyin getty
 28159  1  28159  0  30x83  ttyin getty
 32715  1  32715  0  30x83  ttyin getty
 10193   2540   2540 74  30x90  bpf   pflogd
  2540  1   2540  0  30x80  netio pflogd
  2835  1  14597  0  30x80  selectsnmpd
  7479  32707  32707 95  30x90  kqreadsmtpd
 20765  32707  32707 95  30x90  kqreadsmtpd
 28600  32707  32707 95  30x90  kqreadsmtpd
 13782  32707  32707 95  30x90  kqreadsmtpd
 12419  32707  32707 95  30x90  kqreadsmtpd
  2489  32707  32707103  30x90  kqreadsmtpd
 32707  1  32707  0  30x80  kqreadsmtpd
 26770  1  26770  0  30x80  selectsshd
  7240  19769   3791 83  30x90  poll  ntpd
 19769   3791   3791 83  30x90  poll  ntpd
  3791  1   3791  0  30x80  poll  ntpd
 11125  23743  23743 74  30x90  bpf   pflogd
 23743  1  23743  0  30x80  netio pflogd
 28337   5090   5090 73  20x90syslogd
  5090  1   5090  0  30x80  netio syslogd
 30111  0  0  0  3 0x14200  pgzerozerothread
 14175  0  0  0  3 0x14200  aiodoned  aiodoned
 14536  0  0  0  3 0x14200  syncerupdate
 26108  0  0  0  3 0x14200  cleaner   cleaner
 25408  0  0  0  3 0x14200  reaperreaper
 28179  0  0  0  3 0x14200  pgdaemon  pagedaemon
  3310  0  0  0  3 0x14200  bored crypto
 26495  0  0  0  3 0x14200  pftm  pfpurge
  7600  0  0  0  3 0x14200  usbtskusbtask
 13439  0  0  0  3 0x14200  usbatsk   usbatsk
 11642  0  0  0  3 0x14200  bored sensors
 25436  0  0  0  3  0x40014200  acpi0 acpi0
 27440  0  0  0  7  0x40014200idle3
  4660  0  0  0  7  0x40014200idle2
 27534  0  0  0  7  0x40014200idle1
 25518  0  0  0  3 0x14200  bored systqmp
 24295  0  0  0  3 0x14200  bored systq
 15404  0  0  0  3 0x14200  bored syswq
* 9159  0  0  0  7  0x40014200idle0
 26863  0  0  0  3 0x14200  kmalloc   kmthread
 1  0  1  0  30x82  wait  init
 0 -1  0  0  3 0x10200  scheduler swapper

ddb{0}  dmesg
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,PAGE1GB,LONG,SSE3,PCLMUL,DTES64,MWAIT,DS-CPL,V
MX,SMX,EST,TM2,SSSE3,CX16,xTPR,PDCM,PCID,DCA,SSE4.1,SSE4.2,POPCNT,AES,LAHF,PERF
,ITSC
real mem  = 3210936320 (3062MB)
avail mem = 3146129408 (3000MB)
mpath0 at root
scsibus0 at mpath0: 256 targets
mainbus0 at root
bios0 at mainbus0: AT/286+ BIOS, date 01/19/12, BIOS32 rev. 0 @ 0xfdb60, SMBIOS
 rev. 2.5 @ 0xbf6c8000 (94 entries)
bios0: vendor FUJITSU // Phoenix Technologies