Re: newcard, /dev/card0 missing?

Cyril Niklaus <[email protected]>
Newsgroups gmane.os.freebsd.devel.mobile
Message-ID <[email protected]>
On Mardi, janvier 21, 2003, at 10:32 AM, Kevin Oberman wrote:
> If you are using NEWCARD, there is no /devc/card0 and you don't run
> pccardd. If you look at /sys/i386/conf/OLDCARD, you will see that it
> includes "device card" while NEWCARD does not.
Well, I'm using NEWCARD (well GENERIC) and this is what I get during 
startup:

Setup PC-CARD:
pccardc:
/dev/card0
:
No such file or directory
pccardc:
/dev/card0
:
No such file or directory.
Looking closely at the dmesg output I see this:
pcib0: <ACPI Host-PCI bridge> port 0xcf8-0xcff on acpi0
pci0: <ACPI PCI bus> on pcib0
and you mention that one needs OLDCARD for ISA->pccard bridges. Would 
that then apply as well?

Wanting to see if OLDCARD was helping any, I cvsup and build the OC 
kernel. Unfortunately it fails here:
rm -f hack.c
sh /usr/src/sys/conf/newvers.sh OLDCARD
cc -c -O -pipe -mcpu=pentiumpro -Wall -Wredundant-decls 
-Wnested-externs -Wstrict-prototypes  -Wmissing-prototypes 
-Wpointer-arith -Winline -Wcast-qual  -fformat-extensions -ansi -g 
-nostdinc -I-  -I. -I/usr/src/sys -I/usr/src/sys/dev 
-I/usr/src/sys/contrib/dev/acpica -I/usr/src/sys/contrib/ipfilter 
-D_KERNEL -include opt_global.h -fno-common  -mno-align-long-strings 
-mpreferred-stack-boundary=2 -ffreestanding -Werror  vers.c
linking kernel.debug
if_wi.o: In function `wi_attach':
/usr/src/sys/dev/wi/if_wi.c:447: undefined reference to 
`ieee80211_rate2media'
/usr/src/sys/dev/wi/if_wi.c:466: undefined reference to 
`ieee80211_ifattach'
if_wi.o: In function `wi_detach':
/usr/src/sys/dev/wi/if_wi.c:488: undefined reference to 
`ieee80211_ifdetach'
if_wi.o: In function `wi_stop':
/usr/src/sys/dev/wi/if_wi.c:797: undefined reference to 
`ieee80211_new_state'
if_wi.o: In function `wi_start':
/usr/src/sys/dev/wi/if_wi.c:878: undefined reference to 
`ieee80211_encap'
/usr/src/sys/dev/wi/if_wi.c:883: undefined reference to 
`ieee80211_find_node'
/usr/src/sys/dev/wi/if_wi.c:904: undefined reference to 
`ieee80211_wep_crypt'
if_wi.o: In function `wi_watchdog':
/usr/src/sys/dev/wi/if_wi.c:1017: undefined reference to 
`ieee80211_new_state'
/usr/src/sys/dev/wi/if_wi.c:1024: undefined reference to 
`ieee80211_watchdog'
if_wi.o: In function `wi_ioctl':
/usr/src/sys/dev/wi/if_wi.c:1163: undefined reference to 
`ieee80211_ioctl'
if_wi.o: In function `wi_media_change':
/usr/src/sys/dev/wi/if_wi.c:1190: undefined reference to 
`ieee80211_media2rate'
if_wi.o: In function `wi_media_status':
/usr/src/sys/dev/wi/if_wi.c:1264: undefined reference to 
`ieee80211_rate2media'
if_wi.o: In function `wi_sync_bssid':
/usr/src/sys/dev/wi/if_wi.c:1301: undefined reference to 
`ieee80211_new_state'
if_wi.o: In function `wi_rx_intr':
/usr/src/sys/dev/wi/if_wi.c:1404: undefined reference to 
`ieee80211_input'
if_wi.o: In function `wi_info_intr':
/usr/src/sys/dev/wi/if_wi.c:1530: undefined reference to 
`ieee80211_new_state'
if_wi.o: In function `wi_get_cfg':
/usr/src/sys/dev/wi/if_wi.c:1846: undefined reference to 
`ieee80211_cfgget'
if_wi.o: In function `wi_set_cfg':
/usr/src/sys/dev/wi/if_wi.c:1999: undefined reference to 
`ieee80211_cfgset'
if_wi.o: In function `wi_dump_pkt':
/usr/src/sys/dev/wi/if_wi.c:2580: undefined reference to 
`ieee80211_dump_pkt'
*** Error code 1

Stop in /usr/obj/usr/src/sys/OLDCARD.
*** Error code 1

Stop in /usr/src.
*** Error code 1

Stop in /usr/src.

Seems like I'm not gonna go very far today.
Cyril


To Unsubscribe: send mail to [email protected]
with "unsubscribe freebsd-mobile" in the body of the message
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.