Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 30 Nov 1999 20:09:41 +0100 (CET)
From:      Nick Hibma <hibma@skylink.it>
To:        Mike Smith <msmith@FreeBSD.ORG>
Cc:        Warner Losh <imp@village.org>, FreeBSD CURRENT Mailing List <current@FreeBSD.ORG>
Subject:   Re: your mail
Message-ID:  <Pine.BSF.4.20.9911302008360.1226-100000@henny.jrc.it>
In-Reply-To: <199911301740.JAA02860@mass.cdrom.com>

next in thread | previous in thread | raw e-mail | index | archive | help

With freeze I meant, freeze. Rock solid. Nothing to be done. Stepping
through the code the laptop freezes in the second putb in pcic_disable.
As in stepping the assembler to that outb does never return the prompt.

Nick


> >From some very brief testing here, the problem is that the card's 
> interrupt handler hasn't yet been disconected.  When you power the card 
> down, you get an edge on the interrupt pin, and then the driver interrupt 
> handler spins madly because the card hardware is gone and thus doesn't 
> behave.  If you have an ethernet card, try suspending with just it in the 
> slot and then break into DDB; I'll warrant that you end up inside the
> relevant driver's interrupt handler.
> 
> If I'm correct, this is just an ordering issue; the driver has to be shut 
> down _before_ the slot, not afterwards.
> 
> > The system freezes on powering down a PCCARD slot. From memory the
> > location is putb1 called from pcic_disable. The freeze is easy to
> > reproduce, just remove the card. When stepping through the code, even
> > the debugger prompt does not return after the outb for PCIC_POWER on
> > line 698 of pcic.c.
> > 
> > This is on CURRENT as of yesterday evening, but other CURRENTs of the
> > last month have the same problem. I've not been able to find a possible
> > culprit in recent commits to pcic.c or pccard.c.
> > 
> > Do you have any hint on how to debug this or what version of pcic.c I
> > should take to get rid of this problem?
> > 
> > pcic-pci0: <TI PCI-1131 PCI-CardBus Bridge> irq 9 at device 19.0 on pci0
> > pcic-pci1: <TI PCI-1131 PCI-CardBus Bridge> irq 9 at device 19.1 on pci0
> > ...
> > pcic: polling, can't alloc 0
> > pcic: polling, can't alloc 0
> > pcic0: <VLSI 82C146> on isa0
> > pccard0: <PC Card bus -- kludge version> on pcic0
> > pccard1: <PC Card bus -- kludge version> on pcic0
> > 
> > Thanks for the work being done.
> > 
> > Nick
> > --
> > hibma@skylink.it
> > n_hibma@freebsd.org                                          USB project
> > http://www.etla.net/~n_hibma/
> > 
> > 
> > 
> > To Unsubscribe: send mail to majordomo@FreeBSD.org
> > with "unsubscribe freebsd-current" in the body of the message
> > 
> 
> -- 
> \\ Give a man a fish, and you feed him for a day. \\  Mike Smith
> \\ Tell him he should learn how to fish himself,  \\  msmith@freebsd.org
> \\ and he'll hate you for a lifetime.             \\  msmith@cdrom.com
> 
> 

--
hibma@skylink.it
n_hibma@freebsd.org                                          USB project
http://www.etla.net/~n_hibma/



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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.BSF.4.20.9911302008360.1226-100000>