Re: pccard problems

1999-07-02 Thread Mike Smith
 # PCCARD (PCMCIA) support
 controllercard0
 devicepcic0   at card? irq 0
 devicepcic1   at card? irq 0
 
 Is that what you meant?

No, it's a loader tunable.

-- 
\\  The mind's the standard   \\  Mike Smith
\\  of the man.   \\  msm...@freebsd.org
\\-- Joseph Merrick   \\  msm...@cdrom.com




To Unsubscribe: send mail to majord...@freebsd.org
with unsubscribe freebsd-hackers in the body of the message



Re: pccard problems

1999-07-02 Thread Mike Smith
 Yes.  Somebody else told me that.  I tried it (and confirmed that show
 displayed it, and that it was spelt right), and it still grabbed irq
 5.  Just to make sure it wasn't lying, I pulled the Ethernet board.
 No message, and when I tried a ping, the machine locked up solid.
 This is 3.2-RELEASE; when I'm finished what I'm doing, I'll look for
 why it's not reacting correctly.

You may be loading the pcic KLD as well as having it built into the 
kernel.

-- 
\\  The mind's the standard   \\  Mike Smith
\\  of the man.   \\  msm...@freebsd.org
\\-- Joseph Merrick   \\  msm...@cdrom.com




To Unsubscribe: send mail to majord...@freebsd.org
with unsubscribe freebsd-hackers in the body of the message



Re: pccard problems

1999-07-02 Thread Greg Lehey
On Friday,  2 July 1999 at  0:10:28 -0700, Mike Smith wrote:
 Yes.  Somebody else told me that.  I tried it (and confirmed that show
 displayed it, and that it was spelt right), and it still grabbed irq
 5.  Just to make sure it wasn't lying, I pulled the Ethernet board.
 No message, and when I tried a ping, the machine locked up solid.
 This is 3.2-RELEASE; when I'm finished what I'm doing, I'll look for
 why it's not reacting correctly.

 You may be loading the pcic KLD as well as having it built into the
 kernel.

Nope:

=== g...@mojave (/dev/ttyp0) ~ 1 - kldstat
Id Refs AddressSize Name
 12 0xc010 1ed760   kernel
 21 0xc0966000 d000 linux.ko
=== g...@mojave (/dev/ttyp0) ~ 2 - 

Greg
--
See complete headers for address, home page and phone numbers
finger g...@lemis.com for PGP public key


To Unsubscribe: send mail to majord...@freebsd.org
with unsubscribe freebsd-hackers in the body of the message



Re: pccard problems

1999-07-01 Thread Mike Smith

 
 Indeed.  Is it possibly interrupting on a line which something else is
 using?  I've found a problem on my Latitude where it appears that the
 machine only has two interrupts free (3 and 9).  If I put a modem on 3
 and an Ethernet board on 9, it works, but only by putting pccardd on
 irq 5, which doesn't really work.  If I pull the Ethernet card, the
 whole machine hangs up when I try to access the net, presumably
 because pccardd hasn't found out about it.

Have you tried setting the PCIC IRQ to 0, so that the driver polls 
instead?
-- 
\\  The mind's the standard   \\  Mike Smith
\\  of the man.   \\  [EMAIL PROTECTED]
\\-- Joseph Merrick   \\  [EMAIL PROTECTED]




To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-hackers" in the body of the message



Re: pccard problems

1999-07-01 Thread Greg Lehey

On Thursday,  1 July 1999 at 13:08:11 -0700, Mike Smith wrote:

 Indeed.  Is it possibly interrupting on a line which something else is
 using?  I've found a problem on my Latitude where it appears that the
 machine only has two interrupts free (3 and 9).  If I put a modem on 3
 and an Ethernet board on 9, it works, but only by putting pccardd on
 irq 5, which doesn't really work.  If I pull the Ethernet card, the
 whole machine hangs up when I try to access the net, presumably
 because pccardd hasn't found out about it.

 Have you tried setting the PCIC IRQ to 0, so that the driver polls
 instead?

I have now.  It ignored it and grabbed irq 5 anyway.  Where is this
described?  I put it in my config file:

# PCCARD (PCMCIA) support
controller  card0
device  pcic0   at card? irq 0
device  pcic1   at card? irq 0

Is that what you meant?

Greg
--
See complete headers for address, home page and phone numbers
finger [EMAIL PROTECTED] for PGP public key


To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-hackers" in the body of the message



Re: pccard problems

1999-07-01 Thread Warner Losh

In message [EMAIL PROTECTED] Greg Lehey writes:
: Is that what you meant?

No.  You need to set
machdep.pccard.pcic_irq
to be zero in your boot loader.

Warner


To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-hackers" in the body of the message



Re: pccard problems

1999-07-01 Thread Greg Lehey
On Wednesday, 30 June 1999 at 22:56:43 -0700, Dan Strick wrote:
 I am attempting to configure a couple of pccards on a DELL Inspiron 3500
 running FreeBSD 3.2-RELEASE.  Neither card works:

 1) The first card is some sort of DVD/MPEG-2 decoder card.  It seems
to be called a DELL Margi.  Whenever the card is inserted and
pccardd is running, the entire system hangs so hard that console
I/O no longer works.  Even ctl-alt-del is ignored.  The power
button is ignored.  I have to turn the machine off by poking a
special hidden recessed button on the side with a paper clip.

I don't expect to find a FreeBSD driver for this card, but I would
prefer that having it physically installed didn't hang the system.

Indeed.  Is it possibly interrupting on a line which something else is
using?  I've found a problem on my Latitude where it appears that the
machine only has two interrupts free (3 and 9).  If I put a modem on 3
and an Ethernet board on 9, it works, but only by putting pccardd on
irq 5, which doesn't really work.  If I pull the Ethernet card, the
whole machine hangs up when I try to access the net, presumably
because pccardd hasn't found out about it.

 2) The second card is a DELL 10/100 LAN+56K Modem CardBus by 3Com.
A label on the back of the card says Model 3CCFEM656.

The command pccardc dumpcis reports:

   Configuration data for card in slot 1
   Tuple #1, code = 0xff (Terminator), length = 0

I assume that pccardd cannot recognize and configure cards without
configuration data.  Is this card broken in some sense?  Can anyone
recommend a driver?

I've seen this kind of problem on my Latitude laptop after running
Microsoft.  It seems that Microsoft sets the board state in such a way
that a simple reboot doesn't reset it, and this is the result.  If I
power down the machine and then boot it with FreeBSD, I don't have any
problems.  Have you tried that?

Greg
--
See complete headers for address, home page and phone numbers
finger g...@lemis.com for PGP public key


To Unsubscribe: send mail to majord...@freebsd.org
with unsubscribe freebsd-hackers in the body of the message



Re: pccard problems

1999-07-01 Thread Mike Smith
 
 Indeed.  Is it possibly interrupting on a line which something else is
 using?  I've found a problem on my Latitude where it appears that the
 machine only has two interrupts free (3 and 9).  If I put a modem on 3
 and an Ethernet board on 9, it works, but only by putting pccardd on
 irq 5, which doesn't really work.  If I pull the Ethernet card, the
 whole machine hangs up when I try to access the net, presumably
 because pccardd hasn't found out about it.

Have you tried setting the PCIC IRQ to 0, so that the driver polls 
instead?
-- 
\\  The mind's the standard   \\  Mike Smith
\\  of the man.   \\  msm...@freebsd.org
\\-- Joseph Merrick   \\  msm...@cdrom.com




To Unsubscribe: send mail to majord...@freebsd.org
with unsubscribe freebsd-hackers in the body of the message



Re: pccard problems

1999-07-01 Thread Greg Lehey
On Thursday,  1 July 1999 at 13:08:11 -0700, Mike Smith wrote:

 Indeed.  Is it possibly interrupting on a line which something else is
 using?  I've found a problem on my Latitude where it appears that the
 machine only has two interrupts free (3 and 9).  If I put a modem on 3
 and an Ethernet board on 9, it works, but only by putting pccardd on
 irq 5, which doesn't really work.  If I pull the Ethernet card, the
 whole machine hangs up when I try to access the net, presumably
 because pccardd hasn't found out about it.

 Have you tried setting the PCIC IRQ to 0, so that the driver polls
 instead?

I have now.  It ignored it and grabbed irq 5 anyway.  Where is this
described?  I put it in my config file:

# PCCARD (PCMCIA) support
controller  card0
device  pcic0   at card? irq 0
device  pcic1   at card? irq 0

Is that what you meant?

Greg
--
See complete headers for address, home page and phone numbers
finger g...@lemis.com for PGP public key


To Unsubscribe: send mail to majord...@freebsd.org
with unsubscribe freebsd-hackers in the body of the message



Re: pccard problems

1999-07-01 Thread Warner Losh
In message 19990702105346.h87...@freebie.lemis.com Greg Lehey writes:
: Is that what you meant?

No.  You need to set
machdep.pccard.pcic_irq
to be zero in your boot loader.

Warner


To Unsubscribe: send mail to majord...@freebsd.org
with unsubscribe freebsd-hackers in the body of the message



Re: pccard problems

1999-07-01 Thread Greg Lehey
On Thursday,  1 July 1999 at 22:59:56 -0600, Warner Losh wrote:
 In message 19990702105346.h87...@freebie.lemis.com Greg Lehey writes:
 Is that what you meant?

 No.  You need to set
   machdep.pccard.pcic_irq
 to be zero in your boot loader.

Yes.  Somebody else told me that.  I tried it (and confirmed that show
displayed it, and that it was spelt right), and it still grabbed irq
5.  Just to make sure it wasn't lying, I pulled the Ethernet board.
No message, and when I tried a ping, the machine locked up solid.
This is 3.2-RELEASE; when I'm finished what I'm doing, I'll look for
why it's not reacting correctly.

Greg
--
See complete headers for address, home page and phone numbers
finger g...@lemis.com for PGP public key


To Unsubscribe: send mail to majord...@freebsd.org
with unsubscribe freebsd-hackers in the body of the message