Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 13 Dec 1999 17:48:52 -0500
From:      Christopher Masto <chris@netmonger.net>
To:        Warner Losh <imp@village.org>, mobile@FreeBSD.ORG
Subject:   ed still not entirely ejectable (was Re: ed fix committed)
Message-ID:  <19991213174852.A25352@netmonger.net>
In-Reply-To: <199912100730.AAA20281@harmony.village.org>; from Warner Losh on Fri, Dec 10, 1999 at 12:30:46AM -0700
References:  <199912100730.AAA20281@harmony.village.org>

next in thread | previous in thread | raw e-mail | index | archive | help
On Fri, Dec 10, 1999 at 12:30:46AM -0700, Warner Losh wrote:
> 
> OK.  I've committed a fix for the ed driver.  The basic problem was
> that it didn't properly release the interrupt, so the interrupt was
> still getting called, which lead to all kinds of problems.

Hrm.  Better, but not quite there yet.  On my Vaio, I can use my LinkSys
ed card just fine, I can eject it, and I can put it back in, but
if I telnet or ping or netscape after the second insert, boom:

Fatal trap 18: integer divide fault while in kernel mode
instruction pointer	= 0x8:0xc018bdd6
stack pointer	        = 0x10:0xc6a05ce0
frame pointer	        = 0x10:0xc6a05d24
code segment		= base 0x0, limit 0xfffff, type 0x1b
			= DPL 0, pres 1, def32 1, gran 1
processor eflags	= interrupt enabled, resume, IOPL = 0
current process		= 574 (netscape)
interrupt mask		= 
trap number		= 18
panic: integer divide fault

Oddly, the dhclient that runs when I insert it doesn't seem to trigger
this, but any other network access does.  And yes, I've killed dhclient
before removing the card, so that's not it.

> I've not tried sio, but suspect it will be no more broken than it
> currently seems to be.

sio is working beautifully now, as long as I kill ppp before removing
it.
-- 
Christopher Masto         Senior Network Monkey      NetMonger Communications
chris@netmonger.net        info@netmonger.net        http://www.netmonger.net

Free yourself, free your machine, free the daemon -- http://www.freebsd.org/


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




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