Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 27 Aug 2001 16:29:11 +1000
From:      Peter Jeremy <peter.jeremy@alcatel.com.au>
To:        Warner Losh <imp@harmony.village.org>
Cc:        FreeBSD Stable List <freebsd-stable@FreeBSD.ORG>
Subject:   Re: 4.4 RC safe for laptops now?
Message-ID:  <20010827162911.K506@gsmx07.alcatel.com.au>
In-Reply-To: <200108262244.f7QMisW13936@harmony.village.org>; from imp@harmony.village.org on Sun, Aug 26, 2001 at 04:44:54PM -0600
References:  <200108261249.f7QCnM821461@panix1.panix.com> <200108262244.f7QMisW13936@harmony.village.org>

next in thread | previous in thread | raw e-mail | index | archive | help
On 2001-Aug-26 16:44:54 -0600, Warner Losh <imp@harmony.village.org> wrote:
>In message <200108261249.f7QCnM821461@panix1.panix.com> stanb@panix.com writes:
>: About a week agao (last Saturday to be exact) I cvsup'd 4.4 RC onto my
>: primary work machine, which is a laptop. 
>: 
>: It broke badly. Specificly none of the pcmcia cards word work because of
>: incorrect IRQ assignments. I maanged to get it back working by
>: up(down)gradding to 4.2 (the most current CD I have).
>: 
>: Has this been fixed, and is it safe to try cvsuup'ing again? I'm anxious to
>: do this, since my source tree doesn't match thie installed kernel or
>: binaries at the moment.
>
>Maybe.  Unless you tell (or remind) what your problems were, I can't
>help much.  But I think that the pcardd bug that I fixed might be your
>salvation.

I'm also having PCcard problems with a Compaq Armada 1592DT with a TDK
Global Freedom 5660 modem and 3Com 3CCE589ET LAN.  I initially
installed 4.3-RELEASE and, after telling pccardd not to use I/O or
IRQs that we being used by other bits of the PC, the LAN worked
happily (I haven't gotten around to trying the modem yet).  Relevant
probe messages from the kernel are:

FreeBSD 4.3-RELEASE #0: Sat Apr 21 10:54:49 GMT 2001
pcic-pci0: <TI PCI-1131 PCI-CardBus Bridge> mem 0x7fffe000-0x7fffefff irq 15 at device 17.0 on pci0
pcic-pci0: TI113X PCI Config Reg: [ring enable][speaker enable][CSC serial isa irq]
pcic-pci1: <TI PCI-1131 PCI-CardBus Bridge> mem 0x7ffff000-0x7fffffff irq 11 at device 17.1 on pci0
pcic-pci1: TI113X PCI Config Reg: [ring enable][speaker enable][CSC serial isa irq]
pcic0: <VLSI 82C146> at port 0x3e0 iomem 0xd0000 on isa0
pcic0: Polling mode
pccard0: <PC Card bus -- kludge version> on pcic0
pccard1: <PC Card bus -- kludge version> on pcic0
ep0: <3Com Etherlink III 3C589> at port 0x200-0x20f irq 9 slot 0 on pccard0
ep0: Ethernet address 00:50:04:b7:98:24
sio4 at port 0x2f8-0x2ff irq 10 slot 1 on pccard1
sio4: type 16550A

After upgrading to -STABLE from last Thursday night, the LAN card no
longer works (the symptoms match loss of interrupts).  This is a
customised kernel, but the major change is adding PNPBIOS - which now
finds the soundcard.  Also, ejecting a card wedged the system - no
response to the keyboard, but the power switch usually (but not
always) works.

I've now updated to about 16 hours ago - this includes
/sys/pccard/pcic_pci.c 1.54.2.10.  I can now eject and insert cards
without hangs, but still no interrupt handling.  I've tried:
- default hw.pcic settings
- hw.pcic.init_routing=1
- hw.pcic.intr_path=1 and hw.pcic.irq=0
- hw.pcic.init_routing=1, hw.pcic.intr_path=1 and hw.pcic.irq=0

The PCCard related probe messages are now:

FreeBSD 4.4-RC #5: Mon Aug 27 13:54:45 EST 2001
pcic0: <TI PCI-1131 PCI-CardBus Bridge> mem 0x7fffe000-0x7fffefff irq 15 at device 17.0 on pci0
pcic0: Polling mode
pcic0: TI113X PCI Config Reg: [ring enable][speaker enable][CSC serial isa irq]
pccard0: <PC Card bus (classic)> on pcic0
pcic1: <TI PCI-1131 PCI-CardBus Bridge> mem 0x7ffff000-0x7fffffff irq 11 at device 17.1 on pci0
pcic1: Polling mode
pcic1: TI113X PCI Config Reg: [ring enable][speaker enable][CSC serial isa irq]
pccard1: <PC Card bus (classic)> on pcic1
ep0: <3Com Etherlink III 3C589> at port 0x200-0x20f irq 9 slot 0 on pccard0
ep0: Ethernet address 00:50:04:b7:98:24
sio2 at port 0x2f8-0x2ff irq 10 slot 1 on pccard1
sio2: type 16550A

(In other combinations, ep0 gets irq 15 and sio2 gets ipq 11).

Any further suggestions?

Peter

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




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