From owner-freebsd-hackers Fri Nov 26 11:37:17 1999 Delivered-To: freebsd-hackers@freebsd.org Received: from florence.pavilion.net (florence.pavilion.net [194.242.128.25]) by hub.freebsd.org (Postfix) with ESMTP id 73904150C2; Fri, 26 Nov 1999 11:37:05 -0800 (PST) (envelope-from joe@florence.pavilion.net) Received: (from joe@localhost) by florence.pavilion.net (8.9.3/8.8.8) id SAA49129; Thu, 25 Nov 1999 18:58:04 GMT (envelope-from joe) Date: Thu, 25 Nov 1999 18:58:04 +0000 From: Josef Karthauser To: Warner Losh Cc: Dan Moschuk , hackers@FreeBSD.ORG Subject: Re: VAIO F270, ep0 and -current Message-ID: <19991125185803.F93499@florence.pavilion.net> References: <19991119172025.A97321@florence.pavilion.net> <19991118192338.D55314@florence.pavilion.net> <19991117143759.A3011@spirit.jaded.net> <19991118192338.D55314@florence.pavilion.net> <199911182135.OAA28043@harmony.village.org> <19991119172025.A97321@florence.pavilion.net> <199911191740.KAA33661@harmony.village.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Mailer: Mutt 1.0pre2i In-Reply-To: <199911191740.KAA33661@harmony.village.org> X-NCC-RegID: uk.pavilion Organisation: Pavilion Internet plc, Lees House, 21-23 Dyke Road, Brighton, England Phone: +44-845-333-5000 Fax: +44-845-333-5001 Mobile: +44-403-596893 Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG On Fri, Nov 19, 1999 at 10:40:19AM -0700, Warner Losh wrote: > In message <19991119172025.A97321@florence.pavilion.net> Josef Karthauser writes: > : If you can give me some clues I'll work on it. I've got zero familiarity > : with the code :(. > [..] > Somewhere in the above, something goes wrong :-(. Maybe it is the > first parenthetical statement about waiting for the spl to be > lowered, which would be something like: > > /* > * disable_slot - Disables the slot by removing > * the power and unmapping the I/O > */ > static void real_disable_slot(struct slot *slt); > static void > disable_slot(struct slot *slt) > { > slt->poff_ch = timeout(real_disable_slot, (caddr_t) slot, 0); > } > > static void > real_disable_slot(struct slot *slt) > { > // guts of the old disable_slot goes here > } > > but there may be some more complicated book keeping needed... This didn't help. Interestingly if I unplug the network card and wait a while (minutes) and then suspend it hangs, however if I _never_ put the card in in the first place susspend works fine. I believe that the suspend is a read herring, and what actually happen is that the card doesn't detatch properly. Joe -- Josef Karthauser FreeBSD: How many times have you booted today? Technical Manager Viagra for your server (http://www.uk.freebsd.org) Pavilion Internet plc. [joe@pavilion.net, joe@uk.freebsd.org, joe@tao.org.uk] To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message