Mailing List ArchiveSupport open source code!
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]compact flash card/ compiling modules
- To: tlug@example.com
- Subject: compact flash card/ compiling modules
- From: Joerg Winkelmann <jwinkel@example.com>
- Date: Sat, 30 Dec 2000 20:12:43 +0900
- Reply-To: jwinkel@example.com
- Resent-From: tlug@example.com
- Resent-Message-ID: <T7BHLC.A.DiE.zMcT6@example.com>
- Resent-Sender: tlug-request@example.com
- Sender: winkel@example.com
Hi, I have trouble reading flash cards coming from a digital camera. The Camera is Nikon Coolpix 800, but probably that is not the point. When I enter the PCMCIA adapter with a 8-MB CompactFlash memory card into the PCMCIA slot of my Laptop with SuSe Linux 2.0.33 on it, it apparently realizes that there is a memory card, but fails to load the appropriate driver, which seems to be broken. At least this is my guess from the lines in /var/log/messages, which follow: Dec 29 15:24:57 jwnote cardmgr[76]: initializing socket 2 Dec 29 15:24:57 jwnote cardmgr[76]: socket 2: ATA/IDE Fixed Disk Dec 29 15:24:57 jwnote cardmgr[76]: executing: 'insmod /lib/modules/2.0.33/pcmcia/ide_cs.o' Dec 29 15:24:57 jwnote cardmgr[76]: + /lib/modules/2.0.33/pcmcia/ide_cs.o: unresolved symbol ide_unregister Dec 29 15:24:57 jwnote cardmgr[76]: + /lib/modules/2.0.33/pcmcia/ide_cs.o: unresolved symbol ide_register Dec 29 15:24:57 jwnote cardmgr[76]: insmod exited with status 1 Dec 29 15:24:57 jwnote cardmgr[76]: executing: 'modprobe ide_cs' Dec 29 15:24:57 jwnote cardmgr[76]: + /lib/modules/2.0.33/pcmcia/ide_cs.o: unresolved symbol ide_unregister Dec 29 15:24:57 jwnote cardmgr[76]: + /lib/modules/2.0.33/pcmcia/ide_cs.o: unresolved symbol ide_register Dec 29 15:24:57 jwnote cardmgr[76]: + ds: Device or resource busy Dec 29 15:24:57 jwnote cardmgr[76]: modprobe exited with status 1 Dec 29 15:24:58 jwnote cardmgr[76]: get dev info on socket 2 failed: Try again I then tried to upgrade the kernel modules, downloaded modules-2.1.13 from ftp.kernel.org, but this failed completely: It just does not compile, producing a flood of error messages including the following lines: In file included from insmod.h:29, from insmod.c:71: insmod.c: In function `main': insmod.c:1008: sizeof applied to an incomplete type insmod.c:1009: sizeof applied to an incomplete type ... insmod.c:1030: dereferencing pointer to incomplete type insmod.c:1037: increment of pointer to unknown structure insmod.c:1037: arithmetic on pointer to an incomplete type insmod.c:1044: structure has no member named `module' insmod.c:1077: warning: passing arg 5 of `init_module' from incompatible pointer type insmod.c:369: warning: `symp' might be used uninitialized in this function insmod.c: In function `findsym': insmod.c:1207: `SYM_MAX_NAME' undeclared (first use this function) insmod.c:1207: (Each undeclared identifier is reported only once insmod.c:1207: for each function it appears in.) insmod.c: At top level: insmod.c:1317: `MOD_MAX_NAME' undeclared here (not in a function) insmod.c: In function `ksyms': insmod.c:1588: structure has no member named `addr' insmod.c:1590: warning: int format, long int arg (arg 3) make[1]: *** [insmod.o] Error 1 make[1]: g++: Command not found make[1]: *** [main.o] Error 127 kerneld.c:2: linux/kerneld.h: No such file or directory kerneld.c:76: `KERNELD_CANCEL_RELEASE_MODULE' undeclared here (not in a function) kerneld.c:76: initializer element for `clear_text[0].message' is not constant kerneld.c:77: `KERNELD_SYSTEM' undeclared here (not in a function) kerneld.c:77: initializer element for `clear_text[1].message' is not constant kerneld.c:78: `KERNELD_REQUEST_MODULE' undeclared here (not in a function) kerneld.c:78: initializer element for `clear_text[2].message' is not constant kerneld.c:79: `KERNELD_DELAYED_RELEASE_MODULE' undeclared here (not in a function) kerneld.c:79: initializer element for `clear_text[3].message' is not constant kerneld.c:80: `KERNELD_RELEASE_MODULE' undeclared here (not in a function) kerneld.c:80: initializer element for `clear_text[4].message' is not constant kerneld.c:81: `KERNELD_REQUEST_ROUTE' undeclared here (not in a function) kerneld.c:81: initializer element for `clear_text[5].message' is not constant kerneld.c:82: `KERNELD_BLANKER' undeclared here (not in a function) kerneld.c:82: initializer element for `clear_text[6].message' is not constant kerneld.c:182: field `msg' has incomplete type kerneld.c:279: warning: missing braces around initializer for `child_action._u' kerneld.c:286: warning: missing braces around initializer for `timer_action._u' kerneld.c:292: warning: missing braces around initializer for `hup_action._u' kerneld.c: In function `check_pending_load': kerneld.c:344: `KERNELD_REQUEST_MODULE' undeclared (first use this function) kerneld.c:344: (Each undeclared identifier is reported only once kerneld.c:344: for each function it appears in.) kerneld.c: In function `spawn_it': kerneld.c:371: `KERNELD_CANCEL_RELEASE_MODULE' undeclared (first use this function) kerneld.c:376: `KERNELD_DELAYED_RELEASE_MODULE' undeclared (first use this function) kerneld.c:386: `KERNELD_SYSTEM' undeclared (first use this function) kerneld.c:415: `KERNELD_REQUEST_MODULE' undeclared (first use this function) kerneld.c:437: `KERNELD_RELEASE_MODULE' undeclared (first use this function) kerneld.c:455: `KERNELD_REQUEST_ROUTE' undeclared (first use this function) kerneld.c:485: `KERNELD_BLANKER' undeclared (first use this function) kerneld.c: In function `do_timer': kerneld.c:781: `KERNELD_REQUEST_MODULE' undeclared (first use this function) kerneld.c: In function `main': kerneld.c:804: `IPC_KERNELD' undeclared (first use this function) make[1]: *** [kerneld.o] Error 1 make: *** [install] Error 2 I do not understand anything (no experience in C programming), and right now have absolutely no idea what I should try next. Anybody able to give me useful hints? Thanks in advance Joerg -- e-mail: jwinkel@example.com Web: http://www.math.unibas.ch/~winkel/index.html Postal Adress (valid until Sep 2001): Joerg Winkelmann Graduate School of Mathematical Sciences University of Tokyo Komaba, Meguro, Tokyo 153-8914 Japan Tel.: 00-81-3-5465-7030
- Follow-Ups:
- Re: compact flash card/ compiling modules
- From: Tobias Diedrich <ranma@example.com>
Home | Main Index | Thread Index
- Prev by Date: Re: problems with samba (2)
- Next by Date: Re: compact flash card/ compiling modules
- Prev by thread: Re: Mandrake rehabilitated
- Next by thread: Re: compact flash card/ compiling modules
- Index(es):
Home Page Mailing List Linux and Japan TLUG Members Links