Re: pccardd og FBSD 4.2

From: Jesper Skriver (none@jesper--skriver.dk.lh.bsd-dk.dk)
Date: Sun 29 Apr 2001 - 21:20:11 CEST


Date: Sun, 29 Apr 2001 21:20:11 +0200
From: Jesper Skriver <none@jesper--skriver.dk.lh.bsd-dk.dk>
To: bsd-dk@BSD-Dk.dk
Subject: Re: pccardd og FBSD 4.2


On Sun, Apr 29, 2001 at 12:22:13PM +0100, Jens Dueholm Christensen wrote:
> Hejsa!
>
> Da jeg er ved at sætte en gammel bærbar (P133 m 64MB ram og 4GB hd) op
> som gateway for mig selv har jeg fået et problem med at få fundet de 2
> netkort jeg vil have i.
>
> Begge netkort er 3Com 589C/D som virker fuldt ud fint.. problemet kommer
> når jeg sætter dem begge i på en gang.
>
> Så bliver ep0 kun configget, da jeg får følgende at vide om det andet
> kort:
>
> pccardd[53]: No free configuration for card 3Com Corporation
> pccardd[53]: pccardd started

Se vedhæftede mails

/Jesper

-- 
Jesper Skriver, jesper(at)skriver(dot)dk  -  CCIE #5456
Work:    Network manager   @ AS3292 (Tele Danmark DataNetworks)
Private: FreeBSD committer @ AS2109 (A much smaller network ;-)

One Unix to rule them all, One Resolver to find them, One IP to bring them all and in the zone to bind them.

attached mail follows:


Date: Sat, 28 Apr 2001 22:15:52 +0200
From: Tobias Reifenberger <none@treif--mayn.de.lh.bsd-dk.dk>
To: freebsd-mobile@freebsd.org
Subject: Two 'ed' cards in one laptop?

Hi

I want to use two PCMCIA network cards at the same time (Both are using the 'ed' driver). But if I insert the second card, pccardd complains about 'No free configuration for card'.

It seems that pccard.conf has too few resources specified. Can someone give me hits for the "io" and "memory" line? (irq 5 and 9 are available on this system. That shouldn't be the problem.)

[/etc/pccard.conf] # Generally available IO ports io 0x240-0x360 # Generally available IRQs (Built-in sound-card owners remove 5) irq 5 9 # Available memory slots memory 0xd4000 96k

[pccard controller] pcic-pci0: <Cirrus Logic PD6729/6730 PC-Card Controller> port 0x3000-0x3003 at device 16.0 on pci0 pcic0: <Cirrus logic 672x> at port 0x3000 iomem 0xd0000 irq 10 on isa0 pcic0: management irq 10 pccard0: <PC Card bus -- kludge version> on pcic0 pccard1: <PC Card bus -- kludge version> on pcic0

[First Card] pccardd[608]: Card "D-Link"("DE-660") [118B6603] [(null)] matched "D-Link" ("/DE-6[56]0/") [(null)] [(null)]

kernel: ed0 at port 0x240-0x25f irq 5 slot 0 on pccard0 kernel: ed0: address 00:80:c8:8f:f0:f9, type NE2000 (16 bit)

[Second Card] pccardd[608]: Card "D-Link"("DFE-650") [Fast Ethernet] [Rev. D1] matched "D-Link" ("DFE-650") [(null)] [(null)]

kernel: ukphy0: <Generic IEEE 802.3u media interface> on miibus0 kernel: ukphy0: 10baseT, 10baseT-FDX, 100baseT X, 100baseTX-FDX, auto kernel: ed0 at port 0x240-0x25f irq 5 slot 1 on pccard1 kernel: ed0: address 00:e0:98:77:58:33, type Linksys (16 bit)

bye

-- 
Tobias Reifenberger -- treif@mayn.de -- DG1NGT
GEE e* dpu s:- a-- C+++ UB+++ L- W+ N+ w--- Y+ tv+ b++ D++ h++ r---

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

attached mail follows:


To: Tobias Reifenberger <none@treif--mayn.de.lh.bsd-dk.dk>
Subject: Re: Two 'ed' cards in one laptop? 
Date: Sun, 29 Apr 2001 01:23:39 -0600
From: Warner Losh <none@imp--harmony.village.org.lh.bsd-dk.dk>

In message <none@3AEB24F8.DA4167F2--mayn.de.lh.bsd-dk.dk> Tobias Reifenberger writes: : I want to use two PCMCIA network cards at the same time (Both are using : the 'ed' driver). But if I insert the second card, pccardd complains : about 'No free configuration for card'.

You need two config lines, or arrange for "ed1" to be one card and "ed2" to be another. This is a weakness in the current OLDCARD system and will be fixed in newcard.

Warner

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


attached mail follows:


Date: Sun, 29 Apr 2001 17:40:18 +0200
From: Tobias Reifenberger <none@treif--mayn.de.lh.bsd-dk.dk>
To: freebsd-mobile@freebsd.org
Subject: Re: Two 'ed' cards in one laptop?

Hi

I finally got the cards working. Thanks to erich@ucsd.edu, Greg Smith and Warner Losh.

The solution was to change the lines 'config auto "ed" ....' to 'config auto "edX" ...' with X in [0;n]. Below is the customized pccardd configuration I'm using. Everyone with a similar problem may use this as an inspiration.

This works with -current (2001.03.01), but should also with -stable.

[/etc/pccard.conf] # Generally available IO ports io 0x240-0x360 # Generally available IRQs (Built-in sound-card owners remove 5) # Use "dmesg | grep irq" to see which are used. irq 5 9 10 # Available memory slots memory 0xd4000 96k

# D-Link DE-650 and DE-660 card "D-Link" "/DE-6[56]0/" config auto "ed0" ? 0x10 insert /etc/pccard_ether $device start remove /etc/pccard_ether $device stop

# D-Link DFE-650 Fast Ethernet Card card "D-Link" "DFE-650" config auto "ed1" ? 0x80010 insert /etc/pccard_ether $device start remove /etc/pccard_ether $device stop

bye

-- 
Tobias Reifenberger -- treif@mayn.de -- DG1NGT
GEE e* dpu s:- a-- C+++ UB+++ L- W+ N+ w--- Y+ tv+ b++ D++ h++ r---

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



This archive was generated by hypermail 2b30 : Wed 15 Nov 2006 - 18:24:06 CET