Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 15 May 2003 08:28:36 +0200
From:      Dimitar.Peikov@borg.de
To:        osa@FreeBSD.org.ru
Cc:        freebsd-current@freebsd.org
Subject:   Re: ifconfig tun0 down -> reboot  on current
Message-ID:  <OFB4392A44.7DE9CF6A-ONC2256D27.002190CF@borg.de>

next in thread | raw e-mail | index | archive | help

[-- Attachment #1 --]


In attached file 'shell.text' there is information from 'malloc.conf,
uname -a, dmesg'.
Also I attached my configuration file. Last night I cvsup-ed CURRENT and
'ifconfig tun0 down'
problem appeared again on established modem connection. Once 'ddb' were
started on tunopen(),
but still I can't handle how to save information into log file from 'ddb'
on one machine.




Dimitar Peikov
Development Software
___________________________
BORG INSTRUMENTS Ltd.
17 Washington str.
BG - 1040, Sofia
Tel.: +359 (0) 2 989 5523
Fax: +359 (0) 2 989 5585
mailto:Dimitar.Peikov@borg.de
http://www.borg.de





"Sergey A. Osokin" <osa@freebsd.org.ru>
05/14/2003 11:39
Please respond to osa


        To:     Dimitar.Peikov@borg.de
        cc:     freebsd-current@freebsd.org
        Subject:        Re: ifconfig tun0 down -> reboot  on current


On Wed, May 14, 2003 at 09:14:10AM +0300, Dimitar.Peikov@borg.de wrote:
>
> Last night I try to down 'tun0' interface when my modem was connected to
> internet, machine hangs and after 5-6 seconds just reboot. I didn't try
to
> reproduce this, because the time was too late, but I think that I can.
At
> that time I had opened Mozilla 1.02, one wget and 2-3 xterm's under
> WindowMaker.
> I'm using current from sunday evening - GMT+2.

uname -a?

--

Rgdz,                        /"\  ASCII RIBBON CAMPAIGN
Sergey Osokin aka oZZ,       \ /    AGAINST HTML MAIL
http://ozz.pp.ru/             X          AND NEWS
/ \


(See attached file: mitko.conf)
(See attached file: shell.text)

[-- Attachment #2 --]
#
# GENERIC -- Generic kernel configuration file for FreeBSD/i386
#
# For more information on this file, please read the handbook section on
# Kernel Configuration Files:
#
#    http://www.FreeBSD.org/handbook/kernelconfig-config.html
#
# The handbook is also available locally in /usr/share/doc/handbook
# if you've installed the doc distribution, otherwise always see the
# FreeBSD World Wide Web server (http://www.FreeBSD.org/) for the
# latest information.
#
# An exhaustive list of options and more detailed explanations of the
# device lines is also present in the NOTES configuration file. If you are
# in doubt as to the purpose or necessity of a line, check first in NOTES.
#
# $FreeBSD: src/sys/i386/conf/GENERIC,v 1.335 2002/02/13 18:47:50 alfred Exp $

machine		i386
#cpu		I486_CPU
#cpu		I586_CPU
cpu		I686_CPU
ident		mitko
maxusers	0

# We want LINT to cover profiling as well
profile         2

#To statically compile in device wiring instead of /boot/device.hints
#hints		"GENERIC.hints"		#Default places to look for devices.

makeoptions	DEBUG=-g		#Build kernel with gdb(1) debug symbols

options 	INET			#InterNETworking
options 	INET6			#IPv6 communications protocols
options 	FFS			#Berkeley Fast Filesystem
options 	SOFTUPDATES		#Enable FFS soft updates support
options 	UFS_DIRHASH		#Improve performance on big directories
options         UFS_ACL                 #Support for access control lists
options         UFS_EXTATTR
options         UFS_EXTATTR_AUTOSTART
options         EXT2FS
options 	MD_ROOT			#MD is a potential root device
options 	NFSCLIENT		#Network Filesystem Client
options 	NFSSERVER		#Network Filesystem Server
options 	NFS_ROOT		#NFS usable as root device, requires NFSCLIENT
options 	MSDOSFS			#MSDOS Filesystem
options 	CD9660			#ISO 9660 Filesystem
options 	PROCFS			#Process filesystem (requires PSEUDOFS)
options 	PSEUDOFS		#Pseudo-filesystem framework
options 	COMPAT_43		#Compatible with BSD 4.3 [KEEP THIS!]
#options 	SCSI_DELAY=15000	#Delay (in ms) before probing SCSI
#options 	UCONSOLE		#Allow users to grab the console
#options 	USERCONFIG		#boot -c editor
#options 	VISUAL_USERCONFIG	#visual boot -c editor
options 	KTRACE			#ktrace(1) support
options 	SYSVSHM			#SYSV-style shared memory
options 	SYSVMSG			#SYSV-style message queues
options 	SYSVSEM			#SYSV-style semaphores
options 	_KPOSIX_PRIORITY_SCHEDULING
# options         P1003_1B_SEMAPHORES
options 	KBD_INSTALL_CDEV	# install a CDEV entry in /dev
options         IPSEC         		#IP security
options         IPSEC_ESP         	#IP security (crypto; define w/IPSEC)
# options 	SCHED_ULE
options 	SCHED_4BSD

# Debugging for use in -current
options 	DDB			#Enable the kernel debugger

# The following options were disabled for 5.0 DP1 to make a more
# usable system for early adopters.

options 	INVARIANTS		#Enable calls of extra sanity checking
options 	INVARIANT_SUPPORT	#Extra sanity checks of internal structures, required by INVARIANTS
#options 	WITNESS			#Enable mutex checks to detects deadlocks and cycles
#options		WITNESS_SKIPSPIN	#Don't run witness on spinlocks for speed

# To make an SMP kernel, the next two are needed
#options 	SMP			# Symmetric MultiProcessor Kernel
#options 	APIC_IO			# Symmetric (APIC) I/O

device		isa
#device		eisa
device		pci
#options 	PCI_ENABLE_IO_MODES	# Enable pci resources left off by a "lazy BIOS"

# Floppy drives
device		fdc

# ATA and ATAPI devices
device		ata
device		atadisk			# ATA disk drives
device		atapicd			# ATAPI CDROM drives
#device		atapifd			# ATAPI floppy drives
#device		atapist			# ATAPI tape drives
options 	ATA_STATIC_ID		#Static device numbering

# SCSI Controllers
#device		ahb		# EISA AHA1742 family
#device		ahc		# AHA2940 and onboard AIC7xxx devices
#device		amd		# AMD 53C974 (Tekram DC-390(T))
#device		isp		# Qlogic family
#device		ncr		# NCR/Symbios Logic
#device		sym		# NCR/Symbios Logic (newer chipsets + those of `ncr')

#device		adv		# Advansys SCSI adapters
#device		adw		# Advansys wide SCSI adapters
#device		aha		# Adaptec 154x SCSI adapters
#device		aic		# Adaptec 15[012]x SCSI adapters, AIC-6[23]60.
#device		bt		# Buslogic/Mylex MultiMaster SCSI adapters

#device		ncv		# NCR 53C500
#device		nsp		# Workbit Ninja SCSI-3
#device		stg		# TMC 18C30/18C50

# RAID controllers interfaced to the SCSI subsystem
#device		asr		# DPT SmartRAID V, VI and Adaptec SCSI RAID
#device		ciss		# Compaq Smart RAID 5*
#device		dpt		# DPT Smartcache III, IV - See NOTES for options!
#device		iir		# Intel Integrated RAID
#device		mly		# Mylex AcceleRAID/eXtremeRAID

# SCSI peripherals
device		scbus		# SCSI bus (required)
#device		ch		# SCSI media changers
device		da		# Direct Access (disks)
#device		sa		# Sequential Access (tape etc)
#device		cd		# CD
#device		pass		# Passthrough device (direct SCSI access)
#device		ses		# SCSI Environmental Services (and SAF-TE)

# RAID controllers
#device		aac		# Adaptec FSA RAID
#device		amr		# AMI MegaRAID
#device		ida		# Compaq Smart RAID
#device		mlx		# Mylex DAC960 family
#device		twe		# 3ware ATA RAID

# atkbdc0 controls both the keyboard and the PS/2 mouse
device		atkbdc		# At keyboard controller
device		atkbd		# at keyboard
device		psm		# psm mouse

device		vga		# VGA screen

# splash screen/screen saver
device		splash

# syscons is the default console driver, resembling an SCO console
device		sc

# Enable this for the pcvt (VT220 compatible) console driver
#device		vt
#options 	XSERVER			# support for X server on a vt console
#options 	FAT_CURSOR		# start with block cursor

# Floating point support - do not disable.
device		npx

# Power management support (see NOTES for more options)
device		apm
# Add suspend/resume support for the i8254.
device		pmtimer

# PCCARD (PCMCIA) support
#device		card		# pccard bus
#device		pcic		# PCMCIA bridge

# Serial (COM) ports
device		sio		# 8250, 16[45]50 based serial ports

# Parallel port
device		ppc
device		ppbus		# Parallel port bus (required)
device		lpt		# Printer
device		plip		# TCP/IP over parallel
device		ppi		# Parallel port interface device
#device		vpo		# Requires scbus and da


# PCI Ethernet NICs.
#device		de		# DEC/Intel DC21x4x (``Tulip'')
#device		txp		# 3Com 3cR990 (``Typhoon'')
#device		vx		# 3Com 3c590, 3c595 (``Vortex'')

# PCI Ethernet NICs that use the common MII bus controller code.
# NOTE: Be sure to keep the 'device miibus' line in order to use these NICs!
#device		miibus		# MII bus support
#device		dc		# DEC/Intel 21143 and various workalikes
#device		fxp		# Intel EtherExpress PRO/100B (82557, 82558)
#device		pcn		# AMD Am79C97x PCI 10/100 NICs
#device		rl		# RealTek 8129/8139
#device		sf		# Adaptec AIC-6915 (``Starfire'')
#device		sis		# Silicon Integrated Systems SiS 900/SiS 7016
#device		ste		# Sundance ST201 (D-Link DFE-550TX)
#device		tl		# Texas Instruments ThunderLAN
#device		tx		# SMC EtherPower II (83c170 ``EPIC'')
#device		vr		# VIA Rhine, Rhine II
#device		wb		# Winbond W89C840F
#device		xl		# 3Com 3c90x (``Boomerang'', ``Cyclone'')

# ISA Ethernet NICs.  pccard nics included.
#device		cs		# Crystal Semiconductor CS89x0 NIC
# 'device ed' requires 'device miibus'
#device		ed		# NE[12]000, SMC Ultra, 3c503, DS8390 cards
#device		ex		# Intel EtherExpress Pro/10 and Pro/10+
#device		ep		# Etherlink III based cards
#device		fe		# Fujitsu MB8696x based cards
#device		lnc		# NE2100, NE32-VL Lance Ethernet cards
#device		sn		# SMC's 9000 series of ethernet chips
#device		xe		# Xircom pccard ethernet

# ISA devices that use the old ISA shims
#device		le

# Wireless NIC cards
#device		an		# Aironet 4500/4800 802.11 wireless NICs. 
#device		awi		# BayStack 660 and others
#device		wi		# WaveLAN/IEEE 802.11 wireless NICs. 
#device		wl		# Older non 802.11 Wavelan wireless NIC.

# Pseudo devices - the number indicates how many units to allocate.
device		random		# Entropy device
device		loop		# Network loopback
device		ether		# Ethernet support
#device		sl		# Kernel SLIP
device		ppp		# Kernel PPP
device		tun		# Packet tunnel.
device		pty		# Pseudo-ttys (telnet etc)
device		md		# Memory "disks"
device		gif		# IPv6 and IPv4 tunneling
device		faith		# IPv6-to-IPv4 relaying (translation)

# The `bpf' device enables the Berkeley Packet Filter.
# Be aware of the administrative consequences of enabling this!
device		bpf		# Berkeley packet filter

# USB support
device		uhci		# UHCI PCI->USB interface
device		ohci		# OHCI PCI->USB interface
device		usb		# USB Bus (required)
#device		udbp		# USB Double Bulk Pipe devices
device		ugen		# Generic
device		uhid		# "Human Interface Devices"
device		ukbd		# Keyboard
device		ulpt		# Printer
device		umass		# Disks/Mass storage - Requires scbus and da
device		ums		# Mouse
device		urio		# Diamond Rio 500 MP3 player
device		uscanner	# Scanners
# USB Ethernet, requires mii
#device		aue		# ADMtek USB ethernet
#device		cue		# CATC USB ethernet
#device		kue		# Kawasaki LSI USB ethernet

device pcm
options COMPAT_LINUX
options LINPROCFS
options CPU_ENABLE_SSE
options CPU_PPRO2CELERON
options CPU_UPGRADE_HW_CACHE
options CPU_L2_LATENCY=3
options PERFMON
options NETSMB
options NETSMBCRYPTO
options LIBMCHAIN
options LIBICONV
options AUTO_EOI_1
device agp
options VESA
options PECOFF_SUPPORT
options	COMPAT_FREEBSD4
options	COMPAT_AOUT
options	DEVICE_POLLING
device gzip

# IPFIREWALL
#options IPFIREWALL
#options IPFIREWALL_VERBOSE
#options IPFIREWALL_DEFAULT_TO_ACCEPT
#options IPDIVERT
#options DUMMYNET
#options BRIDGE

options RANDOM_IP_ID
options NBUF=1024
options NMBCLUSTERS=2048
options PCVT_CTRL_ALT_DEL
# options SC_DISABLE_REBOOT
options MAXDSIZ=(1024UL*1024*1024)
options MAXSSIZ=(128UL*1024*1024)
options DFLDSIZ=(1024UL*1024*1024)
options CONSPEED=115200

# The following two options measure the frequency of the corresponding
# clock relative to the RTC (onboard mc146818a).
options         CLK_USE_I8254_CALIBRATION
options         CLK_USE_TSC_CALIBRATION


[-- Attachment #3 --]
bash-2.05a$ ls -la /etc/malloc.conf 
lrwxr-xr-x  1 root  wheel  9 Aug 31  2002 /etc/malloc.conf -> >>>hrjzxv


bash-2.05a$ uname -a
FreeBSD mitko 5.1-BETA FreeBSD 5.1-BETA #6: Wed May 14 22:06:05 GMT 2003     mitko@mitko:/usr/obj/usr/src/sys/mitko  i386


bash-2.05a$ dmesg
Copyright (c) 1992-2003 The FreeBSD Project.
Copyright (c) 1979, 1980, 1983, 1986, 1988, 1989, 1991, 1992, 1993, 1994
	The Regents of the University of California. All rights reserved.
FreeBSD 5.1-BETA #6: Wed May 14 22:06:05 GMT 2003
    mitko@mitko:/usr/obj/usr/src/sys/mitko
Preloaded elf kernel "/boot/kernel/kernel" at 0xc05a7000.
Preloaded elf module "/boot/kernel/s3.ko" at 0xc05a71a4.
Timecounter "i8254"  frequency 1193397 Hz
Timecounter "TSC"  frequency 375069918 Hz
CPU: Pentium II/Pentium II Xeon/Celeron (375.07-MHz 686-class CPU)
  Origin = "GenuineIntel"  Id = 0x660  Stepping = 0
  Features=0x183f9ff<FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,MMX,FXSR>
real memory  = 201326592 (192 MB)
avail memory = 189530112 (180 MB)
netsmb_dev: loaded
Pentium Pro MTRR support enabled
VESA: v2.0, 16384k memory, flags:0x1, mode table:0xc00c0c7a (c0000c7a)
VESA: S3 Incorporated. Savage4
npx0: <math processor> on motherboard
npx0: INT 16 interface
pcibios: BIOS version 2.10
Using $PIR table, 5 entries at 0xc00fdf20
pcib0: <Intel 82443BX (440 BX) host to PCI bridge> at pcibus 0 on motherboard
pci0: <PCI bus> on pcib0
agp0: <Intel 82443BX (440 BX) host to PCI bridge> mem 0xe0000000-0xe7ffffff at device 0.0 on pci0
pcib1: <PCIBIOS PCI-PCI bridge> at device 1.0 on pci0
pci1: <PCI bus> on pcib1
s3pci0: <S3 graphic card> port 0x4ae8,0x3c0-0x3df mem 0xe8000000-0xefffffff,0xf1000000-0xf107ffff irq 11 at device 0.0 on pci1
start (4ae8) < sc->iobase (c000)
pcib1: device s3pci0 requested unsupported I/O range 0x4ae8-0x4ae8 (decoding 0xc000-0xcfff)
s3pci_attach: enhanced port resource allocation failed!
device_probe_and_attach: s3pci0 attach returned 6
isab0: <PCI-ISA bridge> at device 7.0 on pci0
isa0: <ISA bus> on isab0
atapci0: <Intel PIIX4 UDMA33 controller> port 0xf000-0xf00f at device 7.1 on pci0
ata0: at 0x1f0 irq 14 on atapci0
ata1: at 0x170 irq 15 on atapci0
uhci0: <Intel 82371AB/EB (PIIX4) USB controller> port 0xd000-0xd01f irq 10 at device 7.2 on pci0
usb0: <Intel 82371AB/EB (PIIX4) USB controller> on uhci0
usb0: USB revision 1.0
uhub0: Intel UHCI root hub, class 9/0, rev 1.00/1.00, addr 1
uhub0: 2 ports with 2 removable, self powered
pci0: <bridge, PCI-unknown> at device 7.3 (no driver attached)
ohci0: <OPTi 82C861 (FireLink) USB controller> mem 0xf2000000-0xf2000fff irq 11 at device 9.0 on pci0
usb1: OHCI version 1.0, legacy support
usb1: <OPTi 82C861 (FireLink) USB controller> on ohci0
usb1: USB revision 1.0
uhub1: OPTi OHCI root hub, class 9/0, rev 1.00/1.00, addr 1
uhub1: 2 ports with 2 removable, self powered
pcm0: <ESS Solo-1E> port 0xe400-0xe403,0xe000-0xe003,0xdc00-0xdc0f,0xd800-0xd80f,0xd400-0xd43f irq 5 at device 10.0 on pci0
pci0: <multimedia> at device 11.0 (no driver attached)
orm0: <Option ROM> at iomem 0xc0000-0xcffff on isa0
atkbdc0: <Keyboard controller (i8042)> at port 0x64,0x60 on isa0
atkbd0: <AT Keyboard> flags 0x1 irq 1 on atkbdc0
kbd0 at atkbd0
psm0: <PS/2 Mouse> irq 12 on atkbdc0
psm0: model IntelliMouse, device ID 3
fdc0: <Enhanced floppy controller (i82077, NE72065 or clone)> at port 0x3f7,0x3f0-0x3f5 irq 6 drq 2 on isa0
fdc0: FIFO enabled, 8 bytes threshold
fd0: <1440-KB 3.5" drive> on fdc0 drive 0
pmtimer0 on isa0
ppc0: <Parallel port> at port 0x378-0x37f irq 7 on isa0
ppc0: Generic chipset (EPP/NIBBLE) in COMPATIBLE mode
ppbus0: <Parallel port bus> on ppc0
plip0: <PLIP network interface> on ppbus0
lpt0: <Printer> on ppbus0
lpt0: Interrupt-driven port
ppi0: <Parallel I/O> on ppbus0
sc0: <System console> at flags 0x100 on isa0
sc0: VGA <16 virtual consoles, flags=0x300>
sio0 at port 0x3f8-0x3ff irq 4 flags 0x10 on isa0
sio0: type 16550A
sio1 at port 0x2f8-0x2ff irq 3 on isa0
sio1: type 16550A
vga0: <Generic ISA VGA> at port 0x3c0-0x3df iomem 0xa0000-0xbffff on isa0
unknown: <PNP0303> can't assign resources (port)
unknown: <PNP0a03> can't assign resources (port)
unknown: <PNP0f13> can't assign resources (irq)
unknown: <PNP0501> can't assign resources (port)
unknown: <PNP0501> can't assign resources (port)
unknown: <PNP0700> can't assign resources (port)
unknown: <PNP0400> can't assign resources (port)
Timecounters tick every 10.000 msec
IPsec: Initialized Security Association Processing.
Profiling kernel, textsize=3062896 [c0132370..c041dfe0]
cputime 139, empty_loop 5, nullfunc_loop_profiled 405, mcount 531, mexitcount 360
Profiling overheads: mcount: 133+391, 367+157; mexitcount: 133+221, 322+31 nsec
Profiling overheads: mcount: 50+147, 138+59; mexitcount: 50+83, 121+12 cycles
ad0: 32253MB <MAXTOR 4K040H2> [65531/16/63] at ata0-master UDMA33
ad1: 4110MB <QUANTUM FIREBALL SE4.3A> [14848/9/63] at ata0-slave UDMA33
acd0: CD-RW <CD-W58E> at ata1-master PIO4
acd1: CDROM <CD-524EA> at ata1-slave PIO3
Mounting root from ufs:/dev/ad0s3a
Loading configuration files.
Entropy harvesting:
 interrupts
 ethernet
 point_to_point
.
swapon: adding /dev/ad0s3b as swap device
Starting file system checks:
/dev/ad0s3a: FILESYSTEM CLEAN; SKIPPING CHECKS
/dev/ad0s3a: clean, 1293994 free (57514 frags, 154560 blocks, 1.6% fragmentation)
Setting hostname: mitko.
lo0: flags=8049<UP,LOOPBACK,RUNNING,MULTICAST> mtu 16384
	inet6 ::1 prefixlen 128 
	inet6 fe80::1%lo0 prefixlen 64 scopeid 0x2 
	inet 127.0.0.1 netmask 0xff000000 
Additional routing options:
.
/etc/rc: INFO: run_rc_command: cannot run (routed).
hw.bus.devctl_disable: 
0
 -> 
1

Mounting NFS file systems:
.
Starting syslogd.
  syslogd: /var/log/debug.log: No such file or directory
May 15 08:02:52 mitko syslogd: kernel boot file is /boot/kernel/kernel
Starting rpcbind.
Setting NIS domain: mitko.
ELF ldconfig path: /usr/lib /usr/lib/compat /usr/X11R6/lib /usr/local/lib
a.out ldconfig path: /usr/lib/aout /usr/lib/compat/aout /usr/X11R6/lib/aout
Starting local daemons:
.
Updating motd.
Configuring syscons:
 blanktime
.
Initial i386 initialization:
.
Additional ABI support:
 linux
.
Starting cron.
Local package initialization:
 xfstt
.
Additional TCP options:
.
Starting moused:
.
Starting inetd.
Starting background file system checks in 60 seconds.

Thu May 15 08:03:00 GMT 2003
May 15 08:07:17 mitko login: ROOT LOGIN (root) ON ttyv0

Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?OFB4392A44.7DE9CF6A-ONC2256D27.002190CF>