Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 8 May 1995 04:50:07 +0900
From:      hosokawa@mt.cs.keio.ac.jp (HOSOKAWA Tatsumi)
To:        phk@ref.tfs.com
Cc:        freebsd-hackers@FreeBSD.org, hosokawa@mt.cs.keio.ac.jp
Subject:   Re: Bug of if_ze is serious! (Re: Help! if_ze bug?)
Message-ID:  <199505071950.EAA03262@remington.mt.cs.keio.ac.jp>
In-Reply-To: Your message of Sun, 7 May 1995 11:01:30 -0700 (PDT). <199505071801.LAA10362@ref.tfs.com>

next in thread | previous in thread | raw e-mail | index | archive | help
In article <199505071801.LAA10362@ref.tfs.com>
phk@ref.tfs.com writes:

>> Well, do you have any other cards in the machine ?

I'm using MEGAHERTZ XJ2144 with PCMCIA sio patch, but ze didn't work
without configuring the card.

Moreover, ze sends ill packets on 'virgin' 0322-SNAP and -current when
it was configured on 0xd0000.

>> What is flags 0x10 anyway ?

It's delayed-attach flags.  But ze did not run without this patch and
runs fine with this patch when it isn't configured on 0xd0000.  So I
think it isn't guilty :-).

Now I tested again on virgin src of 950322-SNAP.  It spits ill
packets.

**********************************************************************
hosokawa[ryukyu:~] ping -s 100 vivian
PING vivian.mt.cs.keio.ac.jp (131.113.32.112): 100 data bytes
108 bytes from 131.113.32.112: icmp_seq=0 ttl=255 time=1.434 ms
^C
--- vivian.mt.cs.keio.ac.jp ping statistics ---
1 packets transmitted, 1 packets received, 0% packet loss
round-trip min/avg/max = 1.434/1.434/1.434 ms
hosokawa[ryukyu:~] ping -s 200 vivian
PING vivian.mt.cs.keio.ac.jp (131.113.32.112): 200 data bytes
208 bytes from 131.113.32.112: icmp_seq=0 ttl=255 time=0.929 ms
^C
--- vivian.mt.cs.keio.ac.jp ping statistics ---
1 packets transmitted, 1 packets received, 0% packet loss
round-trip min/avg/max = 0.929/0.929/0.929 ms
hosokawa[ryukyu:~] ping -s 400 vivian
PING vivian.mt.cs.keio.ac.jp (131.113.32.112): 400 data bytes
408 bytes from 131.113.32.112: icmp_seq=0 ttl=255 time=1.780 ms
^C
--- vivian.mt.cs.keio.ac.jp ping statistics ---
1 packets transmitted, 1 packets received, 0% packet loss
round-trip min/avg/max = 1.780/1.780/1.780 ms
hosokawa[ryukyu:~] ping -s 800 vivian
PING vivian.mt.cs.keio.ac.jp (131.113.32.112): 800 data bytes
^C
--- vivian.mt.cs.keio.ac.jp ping statistics ---
3 packets transmitted, 0 packets received, 100% packet loss
**********************************************************************

The config file I used, follows.

**********************************************************************
machine		"i386"
cpu		"I386_CPU"
cpu		"I486_CPU"
cpu		"I586_CPU"
ident		ZE_TEST
maxusers	10

#options		MATH_EMULATE		#Support for x87 emulation
options		INET			#InterNETworking

options		FFS			#Berkeley Fast Filesystem
options		NFS			#Network Filesystem
options         MFS                     #Memory File System
options		MSDOSFS			#MSDOS Filesystem
#options		"CD9660"		#ISO 9660 Filesystem
options		PROCFS			#Process filesystem

options		"COMPAT_43"		#Compatible with BSD 4.3
#options		"SCSI_DELAY=15"		#Be pessimistic about Joe SCSI device
options		BOUNCE_BUFFERS		#include support for DMA bounce buffers
options		UCONSOLE		#Allow users to grab the console

#
# These three options provide support for System V Interface
# Definition-style interprocess communication, in the form of shared
# memory, semaphores, and message queues, respectively.
#
options         SYSVSHM
options         SYSVSEM
options         SYSVMSG

# laptop-specific configuration
#options		"APM_SLOWSTART=5"
#options		LAPTOP
#options		COM_PCMCIA
#options		COM_CIS_IRQ_BUG
# Buggy!!
#options		COM_PCMCIA_RESUME	

config		kernel	root on wd0 swap on wd0 and wd1 and sd0 and sd1 and vn0 dumps on wd0

controller	isa0
#controller	pci0

controller	fdc0	at isa? port "IO_FD1" bio irq 6 drq 2 vector fdintr
disk		fd0	at fdc0 drive 0
#disk		fd1	at fdc0 drive 1
#tape		ft0	at fdc0 drive 2

controller	wdc0	at isa? port "IO_WD1" bio irq 14 vector wdintr
disk		wd0	at wdc0 drive 0
#disk		wd1	at wdc0 drive 1

#controller	wdc1	at isa? port "IO_WD2" bio irq 15 vector wdintr
#disk		wd2	at wdc1 drive 0
#disk		wd3	at wdc1 drive 1

#controller	ncr0
#controller	ahc0

#controller	bt0	at isa? port "IO_BT0" bio irq ? vector btintr
#controller	uha0	at isa? port "IO_UHA0" bio irq ? drq 5 vector uhaintr
#controller	ahc1	at isa? bio irq ? vector ahcintr
#controller	ahb0	at isa? bio irq ? vector ahbintr
#controller	aha0	at isa? port "IO_AHA0" bio irq ? drq 5 vector ahaintr
#controller	aic0    at isa? port 0x340 bio irq 11 vector aicintr
#controller	nca0	at isa? port 0x1f88 bio irq 10 vector ncaintr
#controller	nca1	at isa? port 0x350 bio irq 5 vector ncaintr
#controller	sea0	at isa? bio irq 5 iomem 0xc8000 iosiz 0x2000 vector seaintr

#controller	scbus0

#device		sd0

#device		st0

#device		cd0	#Only need one of these, the code dynamically grows

#device		wt0	at isa? port 0x300 bio irq 5 drq 1 vector wtintr
#device		mcd0	at isa? port 0x300 bio irq 10 vector mcdintr
#device		mcd1	at isa? port 0x340 bio irq 11 vector mcdintr

#controller	matcd0	at isa? port ?

#device		scd0	at isa? port 0x230 bio

# syscons is the default console driver, resembling an SCO console
device		sc0	at isa? port "IO_KBD" tty irq 1 vector scintr
# Enable this and PCVT_FREEBSD for pcvt vt220 compatible console driver
#device		vt0	at isa? port "IO_KBD" tty irq 1 vector pcrint
#options		"PCVT_FREEBSD=210"	# pcvt running on FreeBSD 2.1
#options		XSERVER			# include code for XFree86

device		npx0	at isa? port "IO_NPX" irq 13 vector npxintr

# my laptop uses sio1 for trackball, so I allocate sio2 for PCMCIA modem 
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		sio2	at isa? port "IO_COM3" tty irq 10 iomem 0xd8000 flags 0x08 vector siointr

#device		lpt0	at isa? port? tty irq 7 vector lptintr
#device		lpt1	at isa? port? tty
#device		lpt2	at isa? port? tty

#device de0
#device ed0 at isa? port 0x280 net irq  5 iomem 0xd8000 vector edintr
#device ed1 at isa? port 0x300 net irq  5 iomem 0xd8000 vector edintr
#device ie0 at isa? port 0x360 net irq  7 iomem 0xd0000 vector ieintr
#device ix0 at isa? port 0x280 net irq 10 iomem 0xd0000 iosiz 32768 vector ixintr
#device ep0 at isa? port 0x300 net irq 10 vector epintr
#device lnc0 at isa? port 0x280 net irq 10 drq 0 vector lncintr
#device le0 at isa? port 0x300 net irq 5 iomem 0xd0000 vector le_intr
device ze0 at isa? port 0x300 net irq 5 iomem 0xd0000 vector zeintr
#device zp0 at isa? port 0x300 net irq 10 iomem 0xd4000 vector zpintr

device pca0 at isa? tty

#device          apm0    at isa?

pseudo-device	loop
pseudo-device	ether
pseudo-device	log
#pseudo-device	sl	1
#pseudo-device	ppp	1
pseudo-device	pty	16
pseudo-device	speaker
pseudo-device	gzip		# Exec gzipped a.out's
pseudo-device	vn
pseudo-device	tun	1
**********************************************************************

--
	HOSOKAWA, Tatsumi              E-mail: hosokawa@mt.cs.keio.ac.jp
	  WWW homepage: http://www.mt.cs.keio.ac.jp/person/hosokawa.html
	Department of Computer Science, Keio University, Yokohama, Japan



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