Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 3 Jul 1998 10:44:31 +0300 (EET DST)
From:      Yury Yaroshevsky <yk@info.dgtu.donetsk.ua>
To:        freebsd-stable@FreeBSD.ORG
Subject:   Troubles with slattach in 2.2.6-STABLE ...
Message-ID:  <199807030744.KAA29544@info.dgtu.donetsk.ua>

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

Hi , I'm running FreeBSD 2.2-STABLE (cvs(over ctm)#4434)
and am having problem with slip: 


Jul  2 12:40:18 cross /kernel: Copyright (c) 1992-1998 FreeBSD Inc.
Jul  2 12:40:18 cross /kernel: Copyright (c) 1982, 1986, 1989, 1991, 1993
Jul  2 12:40:18 cross /kernel: 	The Regents of the University of California.  All rights reserved.
Jul  2 12:40:19 cross /kernel: 
Jul  2 12:40:19 cross /kernel: FreeBSD 2.2.6-STABLE #0: Thu Jul  2 12:39:43 EEST 1998
Jul  2 12:40:19 cross /kernel:     yk@work.dgtu.donetsk.ua:/usr/src/sys/compile/CROSS
Jul  2 12:40:19 cross /kernel: CPU: AMD Am5x86 Write-Back (486-class CPU)
Jul  2 12:40:19 cross /kernel:   Origin = "AuthenticAMD"  Id = 0x4f4  Stepping=4
Jul  2 12:40:19 cross /kernel:   Features=0x1<FPU>
Jul  2 12:40:19 cross /kernel: real memory  = 16777216 (16384K bytes)
Jul  2 12:40:20 cross /kernel: Probing for devices on PCI bus 0:
Jul  2 12:40:20 cross /kernel: chip0 <SiS 85c496> rev 49 on pci0:5:0
Jul  2 12:40:20 cross /kernel: Probing for devices on the ISA bus:
Jul  2 12:40:20 cross /kernel: sc0 at 0x60-0x6f irq 1 on motherboard
Jul  2 12:40:20 cross /kernel: sc0: VGA color <16 virtual consoles, flags=0x0>
Jul  2 12:40:20 cross /kernel: ed0 at 0x340-0x35f irq 5 on isa
Jul  2 12:40:20 cross /kernel: ed0: address 00:50:4e:05:90:89, type NE2000 (16 bit) 
Jul  2 12:40:20 cross /kernel: lpt0 at 0x378-0x37f irq 7 on isa
Jul  2 12:40:20 cross /kernel: lpt0: Interrupt-driven port
Jul  2 12:40:20 cross /kernel: lp0: TCP/IP capable interface
Jul  2 12:40:20 cross /kernel: sio0 at 0x3f8-0x3ff irq 4 on isa
Jul  2 12:40:20 cross /kernel: sio0: type 16550A
Jul  2 12:40:21 cross /kernel: sio1 at 0x2f8-0x2ff irq 3 on isa
Jul  2 12:40:21 cross /kernel: sio1: type 16550A
Jul  2 12:40:21 cross /kernel: wdc0 at 0x1f0-0x1f7 irq 14 on isa
Jul  2 12:40:21 cross /kernel: wdc0: unit 0 (wd0): <WDC AC2635F>
Jul  2 12:40:21 cross /kernel: wd0: 610MB (1249920 sectors), 1240 cyls, 16 heads, 63 S/T, 512 B/S
Jul  2 12:40:21 cross /kernel: fdc0 at 0x3f0-0x3f7 irq 6 drq 2 on isa
Jul  2 12:40:21 cross /kernel: npx0 on motherboard
Jul  2 12:40:21 cross /kernel: npx0: INT 16 interface
Jul  2 12:40:21 cross /kernel: ccd0-3: Concatenated disk drivers
Jul  2 12:40:21 cross /kernel: IP packet filtering initialized, divert enabled, default to accept, unlimited logging
Jul  2 12:41:21 cross login: ROOT LOGIN (root) ON ttyv1

Leased line is up by SRM Patton 1004.
I'm run slattach  manually.
/sbin/slattach -c -l -S 10 -s 57600 ttyd1


Jul  2 12:41:41 cross slattach[187]: sl10 connected to /dev//ttyd1 at 57600 baud

ifconfig sl10 inet ip1 ip2 

If I trying to send any TCP or UDP  packets, my host was rebooted :((((((
without any warning.
But pinging remote host perform successfully.


Jul  2 12:48:22 cross /kernel: Copyright (c) 1992-1998 FreeBSD Inc.
Jul  2 12:48:22 cross /kernel: Copyright (c) 1982, 1986, 1989, 1991, 1993
Jul  2 12:48:22 cross /kernel: 	The Regents of the University of California.  All rights reserved.
Jul  2 12:48:22 cross /kernel: 
Jul  2 12:48:22 cross /kernel: FreeBSD 2.2.6-STABLE #0: Thu Jul  2 12:39:43 EEST 1998
Jul  2 12:48:22 cross /kernel:     yk@work.dgtu.donetsk.ua:/usr/src/sys/compile/CROSS
Jul  2 12:48:22 cross /kernel: CPU: AMD Am5x86 Write-Back (486-class CPU)
Jul  2 12:48:22 cross /kernel:   Origin = "AuthenticAMD"  Id = 0x4f4  Stepping=4
Jul  2 12:48:22 cross /kernel:   Features=0x1<FPU>
Jul  2 12:48:22 cross /kernel: real memory  = 16777216 (16384K bytes)
Jul  2 12:48:22 cross /kernel: avail memory = 14856192 (14508K bytes)
Jul  2 12:48:22 cross /kernel: Probing for devices on PCI bus 0:
Jul  2 12:48:22 cross /kernel: chip0 <SiS 85c496> rev 49 on pci0:5:0
Jul  2 12:48:23 cross /kernel: Probing for devices on the ISA bus:
Jul  2 12:48:23 cross /kernel: sc0 at 0x60-0x6f irq 1 on motherboard
Jul  2 12:48:23 cross /kernel: sc0: VGA color <16 virtual consoles, flags=0x0>
Jul  2 12:48:23 cross /kernel: ed0 at 0x340-0x35f irq 5 on isa
Jul  2 12:48:23 cross /kernel: ed0: address 00:50:4e:05:90:89, type NE2000 (16 bit) 
Jul  2 12:48:23 cross /kernel: lpt0 at 0x378-0x37f irq 7 on isa
Jul  2 12:48:23 cross /kernel: lpt0: Interrupt-driven port
Jul  2 12:48:23 cross /kernel: lp0: TCP/IP capable interface
Jul  2 12:48:23 cross /kernel: sio0 at 0x3f8-0x3ff irq 4 on isa
Jul  2 12:48:23 cross /kernel: sio0: type 16550A
Jul  2 12:48:23 cross /kernel: sio1 at 0x2f8-0x2ff irq 3 on isa
Jul  2 12:48:23 cross /kernel: sio1: type 16550A
Jul  2 12:48:23 cross /kernel: wdc0 at 0x1f0-0x1f7 irq 14 on isa
Jul  2 12:48:24 cross /kernel: wdc0: unit 0 (wd0): <WDC AC2635F>
Jul  2 12:48:24 cross /kernel: wd0: 610MB (1249920 sectors), 12
Jul  2 12:48:24 cross /kernel: 40 cyls, 16 heads, 63 S/T, 512 B/S
Jul  2 12:48:24 cross /kernel: fdc0 at 0x3f0-0x3f7 irq 6 drq 2 on isa
Jul  2 12:48:24 cross /kernel: npx0 on motherboard
Jul  2 12:48:24 cross /kernel: npx0: INT 16 interface
Jul  2 12:48:24 cross /kernel: ccd0-3: Concatenated disk drivers
Jul  2 12:48:24 cross /kernel: IP packet filtering initialized, divert enabled, default to accept, unlimited logging
Jul  2 12:48:24 cross /kernel: WARNING: / was not properly dismounted.
		^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
Jul  2 12:49:26 cross login: ROOT LOGIN (root) ON ttyv2
Jul  2 13:13:21 cross login: ROOT LOGIN (root) ON ttyv1

This is bug in slattach?
Any ideas?

PS. I'm probe some version cvs. #4389 - #4434. (20-30 June 1998)

PPS.

After experiments I discovered that :

I have 16 slip interfaces in kernel.

So, if I try up slattach on sl0 - this work.
But if I try up slattach on any other slip interfaces - situation described 
above repeated.

See my config of kernel:

machine		"i386"
ident		CROSS
maxusers	30
options         INCLUDE_CONFIG_FILE     # Include this file in kernel
config		kernel	root on wd0
#####################################################################
# CPU OPTIONS
cpu		"I486_CPU"
cpu		"I586_CPU"		# aka Pentium(tm)
#####################################################################
# COMPATIBILITY OPTIONS                                             
options		"COMPAT_43"
options		SYSVSHM
options		SYSVSEM
options		SYSVMSG
options		"MD5"
#####################################################################
# DEBUGGING OPTIONS
#options		DDB
#options		DDB_UNATTENDED
#options		KTRACE			#kernel tracing
#options		DIAGNOSTIC
#options		PERFMON
#options		UCONSOLE
options		USERCONFIG		#boot -c editor
options		VISUAL_USERCONFIG	#visual boot -c editor
#####################################################################
# NETWORKING OPTIONS
options		INET			#Internet communications protocols
pseudo-device	ether			#Generic Ethernet
pseudo-device	loop			#Network loopback device
pseudo-device	sl	16		#Serial Line IP
#pseudo-device	ppp	2		#Point-to-point protocol
pseudo-device	bpfilter	4	#Berkeley packet filter
pseudo-device	disc			#Discard device
pseudo-device	tun	1		#Tunnel driver(user process ppp)
options         IPFIREWALL              #firewall
options         IPFIREWALL_VERBOSE      #print information about
					# dropped packets
options		IPFIREWALL_DEFAULT_TO_ACCEPT #allow everything by default
options		IPDIVERT		#divert sockets
#####################################################################
# FILESYSTEM OPTIONS
options		FFS			#Fast filesystem
options		"CD9660"		#ISO 9660 filesystem
options		KERNFS			#Kernel filesystem
options		MSDOSFS			#MS DOS filesystem
options		PROCFS			#Process filesystem
#####################################################################
# SCSI DEVICES
#####################################################################
# MISCELLANEOUS DEVICES AND OPTIONS
pseudo-device	pty	20	#Pseudo ttys - can go as high as 256
#pseudo-device	vcfs	4	#coda minicache <-> venus comm.
#pseudo-device	speaker		#Play IBM BASIC-style noises out your speaker
pseudo-device	log		#Kernel syslog interface (/dev/klog)
pseudo-device	gzip		#Exec gzipped a.out's
pseudo-device	vn		#Vnode driver (turns a file into a device)
pseudo-device	snp	3	#Snoop device - to look at pty/vty/etc..
pseudo-device	ccd	4	#Concatenated disk driver
# Size of the kernel message buffer.  Should be N * pagesize.
options		"MSGBUF_SIZE=40960"
#####################################################################
# HARDWARE DEVICE CONFIGURATION
controller	isa0
options		"AUTO_EOI_1"
#controller      pnp0
device		sc0	at isa? port "IO_KBD" tty irq 1 vector scintr
options		MAXCONS=16		# number of virtual consoles
device		npx0	at isa? port "IO_NPX" iosiz 0x0 flags 0x0 irq 13 vector npxintr
controller	wdc0	at isa? port "IO_WD1" bio irq 14 vector wdintr
disk		wd0	at wdc0 drive 0
disk		wd1	at wdc0 drive 1
#options         ATAPI   #Enable ATAPI support for IDE bus
#options		ATAPI_STATIC	#Don't do it as an LKM
#device          wcd0
controller	fdc0	at isa? port "IO_FD1" bio irq 6 drq 2 vector fdintr
disk		fd0	at fdc0 drive 0
device		lpt0	at isa? port? tty irq 7 vector lptintr
device		sio0	at isa? port "IO_COM1" tty irq 4 vector siointr
device		sio1	at isa? port "IO_COM2" tty irq 3 vector siointr
device ed0 at isa? port 0x320 net irq 10 iomem 0xd8000 vector edintr
#controller	snd0
#device sb0      at isa? port 0x220 irq 5 drq 1 vector sbintr
#device mpu0     at isa? port 0x330 irq 10 drq 0
#device pca0 at isa? port IO_TIMER1 tty
#options	APM_IDLE_CPU	# Tell APM to idle rather than halt'ing the cpu
#device		apm0	at isa?
#options		APM_BROKEN_STATCLOCK
controller	pci0
#options		COMPAT_LINUX
#options		DEBUG
#options		"EXT2FS"
#options		"IBCS2"


Any of ideas? This is problems with options "-S" ?
How I can resolve this task?


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-stable" in the body of the message



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