From owner-freebsd-mobile Fri Dec 10 16:10: 3 1999 Delivered-To: freebsd-mobile@freebsd.org Received: from pulsar.dead-end.net (pulsar.high-performance.com [216.15.153.82]) by hub.freebsd.org (Postfix) with ESMTP id C73E714DCE for ; Fri, 10 Dec 1999 16:09:58 -0800 (PST) (envelope-from rock@dead-end.net) Received: from mailto.dead-end.net (dead-end.net [216.15.153.82] (may be forged)) by pulsar.dead-end.net (8.9.3/8.9.3/DEAD-END/1999020900) with ESMTP id BAA95361; Sat, 11 Dec 1999 01:09:55 +0100 (CET) (envelope-from rock@dead-end.net) Received: from server.rock.net (p3E9C3755.dip.t-dialin.net [62.156.55.85]) by mailto.dead-end.net (8.9.3/DEAD-END/1999102400-Customer) with ESMTP id BAA95353; Sat, 11 Dec 1999 01:09:52 +0100 (CET) (envelope-from rock@dead-end.net) Received: from dead-end.net (solaris.rock.net [172.23.7.10]) by server.rock.net (8.9.3/8.9.3) with ESMTP id BAA01585; Sat, 11 Dec 1999 01:02:00 +0100 (CET) (envelope-from rock@dead-end.net) Message-ID: <38519487.C38D835C@dead-end.net> Date: Sat, 11 Dec 1999 01:02:15 +0100 From: "D. Rock" X-Mailer: Mozilla 4.7 [en] (X11; I; SunOS 5.7 i86pc) X-Accept-Language: de, en MIME-Version: 1.0 To: Warner Losh Cc: mobile@freebsd.org Subject: Re: ed fix committed References: <385169FE.97592A18@dead-end.net> <199912100730.AAA20281@harmony.village.org> <199912102119.OAA25181@harmony.village.org> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: owner-freebsd-mobile@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org Warner Losh wrote: > > In message <385169FE.97592A18@dead-end.net> "D. Rock" writes: > : slots for a card after suspensions, it won't be detected after resume > : (sio OTOH was detected). Instead pccardd reports: > : > : pccardd[40]: No free configuration for card D-Link > > Cool. If you could troubleshoot this and let me know why things > aren't getting removed, that would be even better. A small correction: The sio driver also has this problem. The cause is simple: pccardd (and the kernel) doesn't know the card has been removed. So it is marked as used. The kernel just disabled the slot and after resume didn't check, if the slot is filled: If you look at the output below, you can see two "card inserted" messages without an "card removed" between. Most of the time removing and re-inserting the card (probably into another slot) solves the problem. Sometimes I have to restart pccardd, but I didn't have to reboot the machine yet to detect the cards again. pccard: card disabled, slot 0 pccard: card disabled, slot 1 [only one slot was filled at this time] pccard: card inserted, slot 0 pccard: card inserted, slot 1 resumed from suspended mode (slept 00:01:17) [after suspension I removed the card, both slots are now empty] ata0: resetting devices .. done pccard: card inserted, slot 1 [now I really inserted the card] pccard: card removed, slot 1 [wasn't properly detected by pccardd, removed it] pccard: card inserted, slot 0 [and re-inserted in into another slot] ed0 at port 0x240-0x25f irq 11 slot 0 on pccard0 ed0: address 00:80:c8:8b:66:e9, type NE2000 (16 bit) ed0: unload Daniel To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-mobile" in the body of the message