Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 22 Jan 1998 10:50:04 -0800
From:      Bill Trost <trost@cloud.rain.com>
To:        mobile@FreeBSD.ORG
Subject:   SVEC NE2000 "clone" doom and gloom
Message-ID:  <m0xvRlL-0002WeC@jli.com>

next in thread | raw e-mail | index | archive | help
I did some beating on pccardd, and saw some problems.  As you will recall,
the config info had two memory blocks:

	Memory descriptor 1
		 blk length = 0x400 card addr = 0x000 host addr = 0xd4000
	Memory descriptor 2
		 blk length = 0x4000 card addr = 0x4000 host addr = 0xd4000

pccardd blindly tries to map the first block.  Since the block is less than the
memory quanta of MEMUNIT, bit_fns ends up getting asked to allocate a memory
region of size zero (ROUNDOFF BUG!), which it can't do.

So, I "fix" the bug using gdb, and am rewarded with a hang in the PIOCSDRV
ioctl at the end of setup_slot (can't even get DDB to say hello).  Using gdb to
make pccardd use the other memory region, or to not use the memory regions at
all, produces a similar hang.

AARGH!  Yeah, sure, NE2000-compatible my foot!



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