Red Hat axp-list: Linux on Alpha (1995-2022)
 help / color / mirror / Atom feed
* pcmcia questions (long)
@ 1999-02-21  6:11 Larry Snyder
  1999-02-21  6:56 ` Michal Jaegermann
  0 siblings, 1 reply; 5+ messages in thread
From: Larry Snyder @ 1999-02-21  6:11 UTC (permalink / raw)
  To: axp-list

Hi all -
My apologies for the length of this...

I'm trying to get support working for the pcmcia slots that came with my
AS200.
Kernel is 2.2.0
gcc is egcs 1.1.1 with attendant binutils
modutils is 2.1.121

I appear to be running into two different headaches:
The first is in building the pcmcia package.  All goes well until I get
into the debug-tools directory. He's griping about outb_p.  Here's the
make output.  I was able to get through the build by removing
debug-tools from the $(DIRS) in the Makefile.

The second problem appears below the make log.


make[1]: Entering directory `/usr/src/pcmcia-cs-3.0.9/debug-tools'
gcc -MD -O -Wall -Wstrict-prototypes -pipe -I../include -I../modules -c
dump_cis.c
gcc   dump_cis.o   -o dump_cis
gcc -MD -O -Wall -Wstrict-prototypes -pipe -I../include -I../modules -c
dump_cisreg.c
gcc   dump_cisreg.o   -o dump_cisreg
gcc -MD -O -Wall -Wstrict-prototypes -pipe -I../include -I../modules -c
pack_cis.c
gcc -O -pipe -I../include -I../modules -c lex_cis.c
gcc -O -pipe -I../include -I../modules -c yacc_cis.c
gcc  -o pack_cis pack_cis.o lex_cis.o yacc_cis.o -lm
gcc -MD -O -Wall -Wstrict-prototypes -pipe -I../include -I../modules -c
dump_tcic.c
gcc   dump_tcic.o   -o dump_tcic
gcc -MD -O -Wall -Wstrict-prototypes -pipe -I../include -I../modules -c
dump_i365.c
dump_i365.c: In function `i365_get':
dump_i365.c:64: warning: implicit declaration of function `outb_p'
dump_i365.c:64: warning: implicit declaration of function `inb_p'
dump_i365.c: At top level:
dump_i365.c:591: warning: return type of `main' is not `int'
gcc   dump_i365.o   -o dump_i365
dump_i365.o: In function `i365_get':
dump_i365.c(.text+0x28): undefined reference to `outb_p'
dump_i365.c(.text+0x2c): undefined reference to `outb_p'
dump_i365.c(.text+0x40): undefined reference to `inb_p'
dump_i365.c(.text+0x44): undefined reference to `inb_p'
dump_i365.o: In function `i365_set':
dump_i365.c(.text+0xb0): undefined reference to `outb_p'
dump_i365.c(.text+0xb4): undefined reference to `outb_p'
dump_i365.c(.text+0xcc): undefined reference to `outb_p'
dump_i365.c(.text+0xd0): undefined reference to `outb_p'
dump_i365.o: In function `i365_probe':
dump_i365.c(.text+0x360): undefined reference to `outb_p'
dump_i365.o(.text+0x364):dump_i365.c: more undefined references to
`outb_p' follow
collect2: ld returned 1 exit status
make[1]: *** [dump_i365] Error 1
make[1]: Leaving directory `/usr/src/pcmcia-cs-3.0.9/debug-tools'
make: *** [all] Error 2


The second problem is modules-related.  Once I got the package to build
and install, it can tell when I insert or remove a card.  It tries to
insmod the appropriate module, but fails on an unresolved symbol. 
Here's a snippet from /var/log/messages:


Feb 20 20:51:53 killer kernel: Linux PCMCIA Card Services 3.0.9
Feb 20 20:51:53 killer kernel:   kernel build: 2.2.0 #1 Sat Feb 20
19:06:21 EST 1999
Feb 20 20:51:53 killer kernel:   options:  [pci]
Feb 20 20:51:53 killer kernel: Intel PCIC probe: 
Feb 20 20:51:53 killer kernel:   Vadem VG-469 ISA-to-PCMCIA at port
0x3e0 ofs 0x00, 2 sockets
Feb 20 20:51:53 killer kernel:     host opts [0]: [ext mode] [isa buf]
Feb 20 20:51:53 killer kernel:     host opts [1]: [ext mode] [isa buf]
Feb 20 20:51:53 killer kernel:     ISA irqs (scanned) = 3,4,7,10,12
status change on irq 10
Feb 20 20:51:54 killer cardmgr[261]: starting, version is 3.0.9
Feb 20 20:51:54 killer cardmgr[261]: watching 2 sockets
Feb 20 20:51:54 killer kernel: cs: IO port probe 0x1000-0x17ff:
excluding 0x11f0-0x11f7 0x1268-0x126f 0x12f8-0x12ff 0x1388-0x138f
0x13b8-0x13bf 0x13f0-0x13ff 0x1530-0x1537 0x15f0-0x15f7 0x1668-0x166f
0x16f8-0x16ff 0x17b8-0x17bf 0x17f0-0x17ff
Feb 20 20:51:54 killer kernel: cs: IO port probe 0x0100-0x04ff:
excluding 0x1f0-0x1f7 0x268-0x26f 0x388-0x38f 0x3b8-0x3e7 0x3f0-0x3ff
0x408-0x40f 0x418-0x43f 0x480-0x48f 0x4d0-0x4d7
Feb 20 20:51:54 killer kernel: cs: IO port probe 0x0a00-0x0aff:
excluding 0xa68-0xa6f 0xaf8-0xaff
Feb 20 20:52:04 killer PAM_pwdb[338]: (login) session opened for user
root by (uid=0)
Feb 20 20:52:04 killer login[338]: ROOT LOGIN ON tty1
Feb 20 20:52:33 killer kernel: cs: memory probe 0x0d0000-0x0dffff:
clean.
Feb 20 20:52:33 killer cardmgr[261]: initializing socket 0
Feb 20 20:52:33 killer cardmgr[261]: socket 0: ATA/IDE Fixed Disk
Feb 20 20:52:33 killer cardmgr[261]: executing: 'insmod
/lib/modules/2.2.0/pcmcia/ide_cs.o'
Feb 20 20:52:33 killer cardmgr[261]: +
/lib/modules/2.2.0/pcmcia/ide_cs.o: unresolved symbol ide_unregister
Feb 20 20:52:33 killer cardmgr[261]: +
/lib/modules/2.2.0/pcmcia/ide_cs.o: unresolved symbol ide_register
Feb 20 20:52:33 killer cardmgr[261]: insmod exited with status 1
Feb 20 20:52:33 killer cardmgr[261]: executing: 'modprobe ide_cs'
Feb 20 20:52:33 killer cardmgr[261]: + can't locate module ide_cs
Feb 20 20:52:33 killer cardmgr[261]: modprobe exited with status 1
Feb 20 20:52:34 killer cardmgr[261]: get dev info on socket 0 failed:
Resource temporarily unavailable
Feb 20 20:53:16 killer cardmgr[261]: shutting down socket 0
Feb 20 20:53:16 killer cardmgr[261]: executing: 'rmmod ide_cs'
Feb 20 20:53:16 killer cardmgr[261]: + rmmod: module ide_cs not loaded
Feb 20 20:53:16 killer cardmgr[261]: rmmod exited with status 1


I'm obviously doing something wrong here....clueful help?
TIA,
-ls-




^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~1999-02-21 23:59 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
1999-02-21  6:11 pcmcia questions (long) Larry Snyder
1999-02-21  6:56 ` Michal Jaegermann
1999-02-21  7:09   ` Larry Snyder
1999-02-21  9:20   ` B. James Phillippe
1999-02-21 23:42     ` AS200 pcmcia success! Larry Snyder

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox