ktrace of pdnsd attached

From: Divacky Roman <xdivac02_at_stud.fit.vutbr.cz>
Date: Wed, 14 Jul 2004 15:03:31 +0200
While resolving
dig _at_127.0.0.1 and ktracing pdnsd proces I get this (4rd run in row):
necrophilia src# kdump -l
372 pdnsd    GIO   fd 5 read 31 bytes
          0x0000 20a7 0100 0001 0000 0000 0000 0377 7777  | ............www|
	         0x0010 0673 657a 6e61 6d02 637a 0000 0100 01
		 |.seznam.cz.....|

372 pdnsd    RET   kse_release 0
372 pdnsd    CALL  kse_release(0x806cfb4)
372 pdnsd    RET   kse_release 0
372 pdnsd    CALL  recvmsg(0x5,0xbfacbf94,0)
372 pdnsd    RET   fork 0
372 pdnsd    CALL  kse_release(0x806cfac)

then it waits for several seconds, whole ktrace looks like this:

   372 pdnsd    GIO   fd 5 read 31 bytes
       0x0000 c4d2 0100 0001 0000 0000 0000 0377 7777  |.............www|
       0x0010 0673 657a 6e61 6d02 637a 0000 0100 01    |.seznam.cz.....|

   372 pdnsd    RET   kse_release 0
   372 pdnsd    CALL  kse_release(0x806cfb4)
   372 pdnsd    RET   kse_release 0
   372 pdnsd    CALL  recvmsg(0x5,0xbfacbf94,0)
   372 pdnsd    RET   fork 0
   372 pdnsd    CALL  kse_release(0x806cfac)
   372 pdnsd    RET   kse_release 0
   372 pdnsd    CALL  kse_release(0xbfafef5c)
   372 pdnsd    GIO   fd 5 read 31 bytes
       0x0000 c4d2 0100 0001 0000 0000 0000 0377 7777  |.............www|
       0x0010 0673 657a 6e61 6d02 637a 0000 0100 01    |.seznam.cz.....|

   372 pdnsd    RET   kse_release 0
   372 pdnsd    CALL  kse_release(0x806cfb4)
   372 pdnsd    RET   kse_release 0
   372 pdnsd    CALL  recvmsg(0x5,0xbfacbf94,0)
   372 pdnsd    RET   fork 0
   372 pdnsd    CALL  kse_release(0x806cfac)
   372 pdnsd    RET   kse_release 0
   372 pdnsd    CALL  gettimeofday(0xbfaedf68,0)
   372 pdnsd    RET   gettimeofday 0
   372 pdnsd    CALL  gettimeofday(0xbfaedf40,0)
   372 pdnsd    RET   gettimeofday 0
   372 pdnsd    CALL  open(0x28174a38,0,0x1b6)
   372 pdnsd    NAMI  "/etc/protocols"
   372 pdnsd    RET   open 7
   372 pdnsd    CALL  fstat(0x7,0xbfaed8e8)
   372 pdnsd    RET   fstat 0
   372 pdnsd    CALL  read(0x7,0x808b000,0x4000)
   372 pdnsd    GIO   fd 7 read 4096 bytes
       "#
	# Internet protocols
	#
	# $FreeBSD: src/etc/protocols,v 1.19 2004/03/08 22:03:27 mlaier Exp $
	#	from: _at_(#)protocols	5.1 (Berkeley) 4/17/89
	#
	# See also http://www.iana.org/assignments/protocol-numbers
	#
	ip	0	IP		# internet protocol, pseudo protocol n\
	umber
	#hopopt	0	HOPOPT		# hop-by-hop options for ipv6
	icmp	1	ICMP		# internet control message protocol
	igmp	2	IGMP		# internet group management protocol
	ggp	3	GGP		# gateway-gateway protocol
	ipencap	4	IP-ENCAP	# IP encapsulated in IP (officially ``\
	IP'')
	st2	5	ST2		# ST2 datagram mode (RFC 1819)
	tcp	6	TCP		# transmission control protocol
	cbt	7	CBT		# CBT, Tony Ballardie <A.Ballardie_at_cs.\
	ucl.ac.uk>
	egp	8	EGP		# exterior gateway protocol
	igp	9	IGP		# any private interior gateway (Cisco:\
	 for IGRP)
	bbn-rcc	10	BBN-RCC-MON	# BBN RCC Monitoring
	nvp	11	NVP-II		# Network Voice Protocol
	pup	12	PUP		# PARC universal packet protocol
	argus	13	ARGUS		# ARGUS
	emcon	14	EMCON		# EMCON
	xnet	15	XNET		# Cross Net Debugger
	chaos	16	CHAOS		# Chaos
	udp	17	UDP		# user datagram protocol
	mux	18	MUX		# Multiplexing protocol
	dcn	19	DCN-MEAS	# DCN Measurement Subsystems
	hmp	20	HMP		# host monitoring protocol
	prm	21	PRM		# packet radio measurement protocol
	xns-idp	22	XNS-IDP		# Xerox NS IDP
	trunk-1	23	TRUNK-1		# Trunk-1
	trunk-2	24	TRUNK-2		# Trunk-2
	leaf-1	25	LEAF-1		# Leaf-1
	leaf-2	26	LEAF-2		# Leaf-2
	rdp	27	RDP		# "reliable datagram" protocol
	irtp	28	IRTP		# Internet Reliable Transaction Protoc\
	ol
	iso-tp4	29	ISO-TP4		# ISO Transport Protocol Class 4
	netblt	30	NETBLT		# Bulk Data Transfer Protocol
	mfe-nsp	31	MFE-NSP		# MFE Network Services Protocol
	merit-inp	32	MERIT-INP	# MERIT Internodal Protocol
	sep	33	SEP		# Sequential Exchange Protocol
	3pc	34	3PC		# Third Party Connect Protocol
	idpr	35	IDPR		# Inter-Domain Policy Routing Protocol
	xtp	36	XTP		# Xpress Tranfer Protocol
	ddp	37	DDP		# Datagram Delivery Protocol
	idpr-cmtp	38	IDPR-CMTP	# IDPR Control Message Transpo\
	rt Proto
	tp++	39	TP++		# TP++ Transport Protocol
	il	40	IL		# IL Transport Protocol
	ipv6	41	IPV6		# ipv6
	sdrp	42	SDRP		# Source Demand Routing Protocol
	ipv6-route	43	IPV6-ROUTE	# routing header for ipv6
	ipv6-frag	44	IPV6-FRAG	# fragment header for ipv6
	idrp	45	IDRP		# Inter-Domain Routing Protocol
	rsvp	46	RSVP		# Resource ReSerVation Protocol
	gre	47	GRE		# Generic Routing Encapsulation
	mhrp	48	MHRP		# Mobile Host Routing Protocol
	bna	49	BNA		# BNA
	esp	50	ESP		# encapsulating security payload
	ah	51	AH		# authentication header
	i-nlsp	52	I-NLSP		# Integrated Net Layer Security TUBA
	swipe	53	SWIPE		# IP with Encryption
	narp	54	NARP		# NBMA Address Resolution Protocol
	mobile	55	MOBILE		# IP Mobility
	tlsp	56	TLSP		# Transport Layer Security Protocol
	skip	57	SKIP		# SKIP
	ipv6-icmp	58	IPV6-ICMP	icmp6	# ICMP for IPv6
	ipv6-nonxt	59	IPV6-NONXT	# no next header for ipv6
	ipv6-opts	60	IPV6-OPTS	# destination options for ipv6
	#	61			# any host internal protocol
	cftp	62	CFTP		# CFTP
	#	63			# any local network
	sat-expak	64	SAT-EXPAK	# SATNET and Backroom EXPAK
	kryptolan	65	KRYPTOLAN	# Kryptolan
	rvd	66	RVD		# MIT Remote Virtual Disk Protocol
	ippc	67	IPPC		# Internet Pluribus Packet Core
	#	68			# any distributed filesystem
	sat-mon	69	SAT-MON		# SATNET Monitoring
	visa	70	VISA		# VISA Protocol
	ipcv	71	IPCV		# Internet Packet Core Utility
	cpnx	72	CPNX		# Computer Protocol Network Executive
	cphb	73	CPHB		# Computer Protocol Heart Beat
	wsn	74	WSN		# Wang Span Network
	pvp	75	PVP		# Packet Video Protocol
	br-sat-mon	76	BR-SAT-MON	# Backroom SATNET Monitoring
	sun-nd	77	SUN-ND		# SUN ND PROTOCOL-Temporary
	wb-mon	78	WB-MON		# WIDEBAND Monitoring
	wb-expak	79	WB-EXPAK	# WIDEBAND EXPAK
	iso-ip	80	ISO-IP		# ISO Internet Protocol
	vmtp	81	VMTP		# Versatile Message Transport
	secure-vmtp	82	SECURE-VMTP	# SECURE-VMTP
	vines	83	VINES		# VINES
	ttp	84	TTP		# TTP
	nsfnet-igp	85	NSFNET-IGP	# NSFNET-IGP
	dgp	86	DGP		# Dissimilar Gateway Protocol
	tcf	87	TCF		# TCF
	eigrp	88	EIGRP		# Enhanced Interior Routing Protocol (\
	Cisco)
	ospf	89	OSPFIGP		# Open Shortest Path First IGP
	sprite-rpc	90	Sprite-RPC	# Sprite RPC Protocol
	larp	91	LARP		# Locus Address Resolution Protocol
	mtp	92	MTP		# Multicast Transp"
   372 pdnsd    RET   read 5757/0x167d
   372 pdnsd    CALL  close(0x7)
   372 pdnsd    RET   close 0
   372 pdnsd    CALL  sendto(0x3,0xbfaede98,0x8,0,0xbfaedeb8,0x10)
   372 pdnsd    GIO   fd 3 wrote 8 bytes
       0x0000 0800 4147 b6b8 0000                      |..AG....|

   372 pdnsd    RET   sendto 8
   372 pdnsd    CALL  gettimeofday(0xbfaeda20,0)
   372 pdnsd    RET   gettimeofday 0
   372 pdnsd    CALL  poll(0xbfaeda50,0x1,0xbb8)
   372 pdnsd    RET   fork 0
   372 pdnsd    CALL  kse_release(0x806cfac)
   372 pdnsd    RET   kse_release 0
   372 pdnsd    CALL  recvfrom(0x3,0xbfaeda98,0x400,0,0xbfaedec8,0xbfaeda4c)
   372 pdnsd    GIO   fd 3 read 28 bytes
       0x0000 4500 0800 a8b6 0000 3901 7af5 c371 90c2  |E.......9.z..q..|
       0x0010 0a00 0002 0000 4947 b6b8 0000            |......IG....|

   372 pdnsd    RET   recvfrom 28/0x1c
   372 pdnsd    CALL  gettimeofday(0xbfaeda20,0)
   372 pdnsd    RET   gettimeofday 0
   372 pdnsd    CALL  gettimeofday(0xbfaedfac,0)
   372 pdnsd    RET   gettimeofday 0
   372 pdnsd    CALL  kse_release(0x806cfb4)
   372 pdnsd    RET   kse_release 0
   372 pdnsd    CALL  kse_release(0xbfafef5c)
   372 pdnsd    RET   kse_release 0
   372 pdnsd    CALL  gettimeofday(0xbfaedf68,0)
   372 pdnsd    RET   gettimeofday 0
   372 pdnsd    CALL  gettimeofday(0xbfaedfac,0)
   372 pdnsd    RET   gettimeofday 0
   372 pdnsd    CALL  kse_release(0x806cfb4)
   372 pdnsd    RET   kse_release 0
   372 pdnsd    CALL  gettimeofday(0xbfaedf68,0)
   372 pdnsd    RET   gettimeofday 0
   372 pdnsd    CALL  gettimeofday(0xbfaedf40,0)
   372 pdnsd    RET   gettimeofday 0
   372 pdnsd    CALL  open(0x28174a38,0,0x1b6)
   372 pdnsd    NAMI  "/etc/protocols"
   372 pdnsd    RET   open 7
   372 pdnsd    CALL  fstat(0x7,0xbfaed8e8)
   372 pdnsd    RET   fstat 0
   372 pdnsd    CALL  read(0x7,0x808b000,0x4000)
   372 pdnsd    GIO   fd 7 read 4096 bytes
       "#
	# Internet protocols
	#
	# $FreeBSD: src/etc/protocols,v 1.19 2004/03/08 22:03:27 mlaier Exp $
	#	from: _at_(#)protocols	5.1 (Berkeley) 4/17/89
	#
	# See also http://www.iana.org/assignments/protocol-numbers
	#
	ip	0	IP		# internet protocol, pseudo protocol n\
	umber
	#hopopt	0	HOPOPT		# hop-by-hop options for ipv6
	icmp	1	ICMP		# internet control message protocol
	igmp	2	IGMP		# internet group management protocol
	ggp	3	GGP		# gateway-gateway protocol
	ipencap	4	IP-ENCAP	# IP encapsulated in IP (officially ``\
	IP'')
	st2	5	ST2		# ST2 datagram mode (RFC 1819)
	tcp	6	TCP		# transmission control protocol
	cbt	7	CBT		# CBT, Tony Ballardie <A.Ballardie_at_cs.\
	ucl.ac.uk>
	egp	8	EGP		# exterior gateway protocol
	igp	9	IGP		# any private interior gateway (Cisco:\
	 for IGRP)
	bbn-rcc	10	BBN-RCC-MON	# BBN RCC Monitoring
	nvp	11	NVP-II		# Network Voice Protocol
	pup	12	PUP		# PARC universal packet protocol
	argus	13	ARGUS		# ARGUS
	emcon	14	EMCON		# EMCON
	xnet	15	XNET		# Cross Net Debugger
	chaos	16	CHAOS		# Chaos
	udp	17	UDP		# user datagram protocol
	mux	18	MUX		# Multiplexing protocol
	dcn	19	DCN-MEAS	# DCN Measurement Subsystems
	hmp	20	HMP		# host monitoring protocol
	prm	21	PRM		# packet radio measurement protocol
	xns-idp	22	XNS-IDP		# Xerox NS IDP
	trunk-1	23	TRUNK-1		# Trunk-1
	trunk-2	24	TRUNK-2		# Trunk-2
	leaf-1	25	LEAF-1		# Leaf-1
	leaf-2	26	LEAF-2		# Leaf-2
	rdp	27	RDP		# "reliable datagram" protocol
	irtp	28	IRTP		# Internet Reliable Transaction Protoc\
	ol
	iso-tp4	29	ISO-TP4		# ISO Transport Protocol Class 4
	netblt	30	NETBLT		# Bulk Data Transfer Protocol
	mfe-nsp	31	MFE-NSP		# MFE Network Services Protocol
	merit-inp	32	MERIT-INP	# MERIT Internodal Protocol
	sep	33	SEP		# Sequential Exchange Protocol
	3pc	34	3PC		# Third Party Connect Protocol
	idpr	35	IDPR		# Inter-Domain Policy Routing Protocol
	xtp	36	XTP		# Xpress Tranfer Protocol
	ddp	37	DDP		# Datagram Delivery Protocol
	idpr-cmtp	38	IDPR-CMTP	# IDPR Control Message Transpo\
	rt Proto
	tp++	39	TP++		# TP++ Transport Protocol
	il	40	IL		# IL Transport Protocol
	ipv6	41	IPV6		# ipv6
	sdrp	42	SDRP		# Source Demand Routing Protocol
	ipv6-route	43	IPV6-ROUTE	# routing header for ipv6
	ipv6-frag	44	IPV6-FRAG	# fragment header for ipv6
	idrp	45	IDRP		# Inter-Domain Routing Protocol
	rsvp	46	RSVP		# Resource ReSerVation Protocol
	gre	47	GRE		# Generic Routing Encapsulation
	mhrp	48	MHRP		# Mobile Host Routing Protocol
	bna	49	BNA		# BNA
	esp	50	ESP		# encapsulating security payload
	ah	51	AH		# authentication header
	i-nlsp	52	I-NLSP		# Integrated Net Layer Security TUBA
	swipe	53	SWIPE		# IP with Encryption
	narp	54	NARP		# NBMA Address Resolution Protocol
	mobile	55	MOBILE		# IP Mobility
	tlsp	56	TLSP		# Transport Layer Security Protocol
	skip	57	SKIP		# SKIP
	ipv6-icmp	58	IPV6-ICMP	icmp6	# ICMP for IPv6
	ipv6-nonxt	59	IPV6-NONXT	# no next header for ipv6
	ipv6-opts	60	IPV6-OPTS	# destination options for ipv6
	#	61			# any host internal protocol
	cftp	62	CFTP		# CFTP
	#	63			# any local network
	sat-expak	64	SAT-EXPAK	# SATNET and Backroom EXPAK
	kryptolan	65	KRYPTOLAN	# Kryptolan
	rvd	66	RVD		# MIT Remote Virtual Disk Protocol
	ippc	67	IPPC		# Internet Pluribus Packet Core
	#	68			# any distributed filesystem
	sat-mon	69	SAT-MON		# SATNET Monitoring
	visa	70	VISA		# VISA Protocol
	ipcv	71	IPCV		# Internet Packet Core Utility
	cpnx	72	CPNX		# Computer Protocol Network Executive
	cphb	73	CPHB		# Computer Protocol Heart Beat
	wsn	74	WSN		# Wang Span Network
	pvp	75	PVP		# Packet Video Protocol
	br-sat-mon	76	BR-SAT-MON	# Backroom SATNET Monitoring
	sun-nd	77	SUN-ND		# SUN ND PROTOCOL-Temporary
	wb-mon	78	WB-MON		# WIDEBAND Monitoring
	wb-expak	79	WB-EXPAK	# WIDEBAND EXPAK
	iso-ip	80	ISO-IP		# ISO Internet Protocol
	vmtp	81	VMTP		# Versatile Message Transport
	secure-vmtp	82	SECURE-VMTP	# SECURE-VMTP
	vines	83	VINES		# VINES
	ttp	84	TTP		# TTP
	nsfnet-igp	85	NSFNET-IGP	# NSFNET-IGP
	dgp	86	DGP		# Dissimilar Gateway Protocol
	tcf	87	TCF		# TCF
	eigrp	88	EIGRP		# Enhanced Interior Routing Protocol (\
	Cisco)
	ospf	89	OSPFIGP		# Open Shortest Path First IGP
	sprite-rpc	90	Sprite-RPC	# Sprite RPC Protocol
	larp	91	LARP		# Locus Address Resolution Protocol
	mtp	92	MTP		# Multicast Transp"
   372 pdnsd    RET   read 5757/0x167d
   372 pdnsd    CALL  close(0x7)
   372 pdnsd    RET   close 0
   372 pdnsd    CALL  sendto(0x3,0xbfaede98,0x8,0,0xbfaedeb8,0x10)
   372 pdnsd    GIO   fd 3 wrote 8 bytes
       0x0000 0800 0799 f066 0000                      |.....f..|

   372 pdnsd    RET   sendto 8
   372 pdnsd    CALL  gettimeofday(0xbfaeda20,0)
   372 pdnsd    RET   gettimeofday 0
   372 pdnsd    CALL  poll(0xbfaeda50,0x1,0xbb8)
   372 pdnsd    RET   fork 0
   372 pdnsd    CALL  kse_release(0x806cfac)
   372 pdnsd    RET   kse_release 0
   372 pdnsd    CALL  recvfrom(0x3,0xbfaeda98,0x400,0,0xbfaedec8,0xbfaeda4c)
   372 pdnsd    GIO   fd 3 read 28 bytes
       0x0000 4500 0800 a8b8 0000 3901 7af3 c371 90c2  |E.......9.z..q..|
       0x0010 0a00 0002 0000 0f99 f066 0000            |.........f..|

   372 pdnsd    RET   recvfrom 28/0x1c
   372 pdnsd    CALL  gettimeofday(0xbfaeda20,0)
   372 pdnsd    RET   gettimeofday 0
   372 pdnsd    CALL  gettimeofday(0xbfaedfac,0)
   372 pdnsd    RET   gettimeofday 0
   372 pdnsd    CALL  kse_release(0x806cfb4)
   372 pdnsd    RET   kse_release 0
   372 pdnsd    CALL  kse_release(0xbfafef5c)
Received on Wed Jul 14 2004 - 11:03:35 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:38:01 UTC