Jump to content

frosterrj

Members
  • Posts

    159
  • Joined

  • Last visited

Posts posted by frosterrj

  1. I happened to have the kernel-source.rpm on another machine, so I moved it over, did the rpm Uvh, but got a "source already installed" message.

     

    doing modprobe 8211 just gives me:

    root@172 Desktop]# modprobe 8211

    /lib/modules/2.4.21-0.18mdk/kernel/drivers/net/pcmcia/8211.o: kernel-module version mismatch

    /lib/modules/2.4.21-0.18mdk/kernel/drivers/net/pcmcia/8211.o was compiled for kernel version 2.4.21-0.18mdkcustom

    while this kernel is version 2.4.21-0.18mdk.

    modprobe: insmod /lib/modules/2.4.21-0.18mdk/kernel/drivers/net/pcmcia/8211.o failed

    modprobe: insmod 8211 failed

     

    not sure what to do.....

  2. well, tried something else. There was a '2.4.21-0.18mdk' in the lilo boot screen (the one I usually use is 'linux' at the top of the list), so I booted into it, then dep mod && modprobe 8211, got a kernel source mismatch again! this time it said the module was compiled against the .18mdkcustom kernel!!! The one it didnt like when I was booted into that one....

     

    So, make clean && make. Cleanly made; modprobe - kernel mismatch as above.

     

    What have I hosed? In lilo.conf there is no 'mdkcustom' entry so where is this coming from?

     

    I'm sure glad the Xircom works with linux. Get this: it doesnt under Winblows! Go figure.....

     

     

    Its beginning to look like I'm off to do some kernel installing....What will running a kernel-source rpm do?

     

    R

  3. hold my horses. Spoke too soon. The previous kernel version error came back to bite me as I do modprobe or insmod:

     

    [root@172 ADM8211]# modprobe 8211.o

    modprobe: Can't locate module 8211.o

    [root@172 ADM8211]# insmod 8211.o

    8211.o: kernel-module version mismatch

    8211.o was compiled for kernel version 2.4.21-0.18mdkcustom

    while this kernel is version 2.4.21-0.18mdk.

  4. OK, I got your thinking and looked at my /usr/src tree. The correct way was

    linux-2.4.21-0.18mdk - that was actually the name of the folder with include for my running kernel. did make with no errors! COOL!

     

    Now that I have the module, my steps are (?):

    1)remove my Xircom

    2) hope I dont get a crash!

    3) insert Dlink

    4) modprobe 8211.o or insmod 8211.o (I would like it to always be there)

    5) cardctl ident to get manfid

    6) edit /etc/pcmcia/config put in manfid and bind module =8211.0

    7) reboot/hope/pray

    8) configure the wep etc

     

    Is this a plan? if I can get manfid numbers?

     

    Thanks,

    R

  5. Ok, looks like make clean cleared up the old make, but the new make spwewed out a lot and just errored out. Here's the output, any ideas?

    Not sure what to do with the below.... Thanks again

     

    [root@172 ADM8211]# make clean && make

    rm -f 8211.o adm8211.o

    gcc -D__KERNEL__ -DMODULE -Wall -Wstrict-prototypes -O2 -I/usr/src/`uname -r`/in

    clude -fomit-frame-pointer -fno-strict-aliasing -Wno-trigraphs -fno-common -pipe

    -mpreferred-stack-boundary=2 -march=i386 -c adm8211.c

    In file included from /usr/include/linux/prefetch.h:13,

    from /usr/include/linux/list.h:6,

    from /usr/include/linux/timer.h:4,

    from adm8211.c:7:

    /usr/include/asm/processor.h:55: `CONFIG_X86_L1_CACHE_SHIFT' undeclared here (no

    t in a function)

    /usr/include/asm/processor.h:55: requested alignment is not a constant

    In file included from /usr/include/asm/hardirq.h:6,

    from /usr/include/linux/interrupt.h:46,

    from adm8211.c:11:

    /usr/include/linux/irq.h:65: `CONFIG_X86_L1_CACHE_SHIFT' undeclared here (not in

    a function)

    /usr/include/linux/irq.h:65: requested alignment is not a constant

    In file included from /usr/include/linux/interrupt.h:46,

    from adm8211.c:11:

    /usr/include/asm/hardirq.h:16: `CONFIG_X86_L1_CACHE_SHIFT' undeclared here (not

    in a function)

    /usr/include/asm/hardirq.h:16: requested alignment is not a constant

    In file included from adm8211.c:11:

    /usr/include/linux/interrupt.h:129: `CONFIG_X86_L1_CACHE_SHIFT' undeclared here

    (not in a function)

    /usr/include/linux/interrupt.h:129: requested alignment is not a constant

    In file included from adm8211.c:13:

    /usr/include/linux/netdevice.h:165: `CONFIG_X86_L1_CACHE_SHIFT' undeclared here

    (not in a function)

    /usr/include/linux/netdevice.h:165: requested alignment is not a constant

    In file included from adm8211.c:13:

    /usr/include/linux/netdevice.h:507: `CONFIG_X86_L1_CACHE_SHIFT' undeclared here

    (not in a function)

    /usr/include/linux/netdevice.h:507: requested alignment is not a constant

    In file included from /usr/include/linux/module.h:297,

    from adm8211.c:31:

    /usr/include/linux/version.h:2:2: #error "======================================

    ================="

    /usr/include/linux/version.h:3:2: #error "You should not include /usr/include/{l

    inux,asm}/ header"

    /usr/include/linux/version.h:4:2: #error "files directly for the compilation of

    kernel modules."

    /usr/include/linux/version.h:5:2: #error ""

    /usr/include/linux/version.h:6:2: #error "glibc now uses kernel header files fro

    m a well-defined"

    /usr/include/linux/version.h:7:2: #error "working kernel version (as recommended

    by Linus Torvalds)"

    /usr/include/linux/version.h:8:2: #error "These files are glibc internal and may

    not match the"

    /usr/include/linux/version.h:9:2: #error "currently running kernel. They should

    only be"

    /usr/include/linux/version.h:10:2: #error "included via other system header file

    s - user space"

    /usr/include/linux/version.h:11:2: #error "programs should not directly include

    <linux/*.h> or"

    /usr/include/linux/version.h:12:2: #error "<asm/*.h> as well."

    /usr/include/linux/version.h:13:2: #error ""

    /usr/include/linux/version.h:14:2: #error "To build kernel modules please do the

    following:"

    /usr/include/linux/version.h:15:2: #error ""

    /usr/include/linux/version.h:16:2: #error " o Have the kernel sources installed"

    /usr/include/linux/version.h:17:2: #error ""

    /usr/include/linux/version.h:18:2: #error " o Make sure that the symbolic link"

    /usr/include/linux/version.h:19:2: #error " /lib/modules/`uname -r`/build exis

    ts and points to"

    /usr/include/linux/version.h:20:2: #error " the matching kernel source directo

    ry"

    /usr/include/linux/version.h:21:2: #error ""

    /usr/include/linux/version.h:22:2: #error " o Now copy /boot/vmlinuz.version.h t

    o"

    /usr/include/linux/version.h:23:2: #error " /lib/modules/`uname -r`/build/incl

    ude/linux/version.h"

    /usr/include/linux/version.h:24:2: #error ""

    /usr/include/linux/version.h:25:2: #error " o When compiling, make sure to use t

    he following"

    /usr/include/linux/version.h:26:2: #error " compiler option to use the correct

    include files:"

    /usr/include/linux/version.h:27:2: #error ""

    /usr/include/linux/version.h:28:2: #error " -I/lib/modules/`uname -r`/build/in

    clude"

    /usr/include/linux/version.h:29:2: #error ""

    /usr/include/linux/version.h:30:2: #error " instead of"

    /usr/include/linux/version.h:31:2: #error ""

    /usr/include/linux/version.h:32:2: #error " -I/usr/include/linux"

    /usr/include/linux/version.h:33:2: #error ""

    /usr/include/linux/version.h:34:2: #error " Please adjust the Makefile accordi

    ngly."

    /usr/include/linux/version.h:35:2: #error "=====================================

    =================="

    In file included from adm8211.c:31:

    /usr/include/linux/module.h:299: parse error before "UTS_RELEASE"

    adm8211.c: In function `adm8211_init_one':

    adm8211.c:211: warning: implicit declaration of function `pci_request_regions'

    adm8211.c: In function `adm8201_remove':

    adm8211.c:1080: warning: implicit declaration of function `pci_release_regions'

    make: *** [adm8211.o] Error 1

  6. this is getting weird. Just chaged the line to the kernel path, did make, all went ok, then this:

    [root@172 ADM8211]# insmod 8211.o

    8211.o: kernel-module version mismatch

    8211.o was compiled for kernel version 2.4.21-0.18mdkcustom

    while this kernel is version 2.4.21-0.18mdk.

     

    there's no kernel named 2.4.21-0.18mdkcustom in the usr/src/linux tree!

     

    Heres[root@172 robert]# cd /usr/src

    [root@172 src]# ls

    linux@ linux-2.4.21-0.13mdk/ linux-2.4.21-0.18mdk/ RPM/ the tree:

     

    the 2.24.21-0.18mdk is what is running.

    [root@172 src]# uname -r

    2.4.21-0.18mdk

     

     

    so how do I get it out now? I'll change the line in the make to 'uname -r' and remake. Would that even help?

     

    R

  7. Thanks for the reply. After modprobe 8211, just says

    modprobe: Can't locate module 8211.

     

    I've tried the prism2 before as well, but I get nothing in cardctl ident.

     

    Funny thing is, I originally got a DWL-650+ that I figured I could never get to work since its 802.11b @ 22mbs, but I got some cardctl info from that one. Not sure how.

     

    I think something fundamental is missing here, not to do with the wireless driver, MDK just isnt seeing the hardware for some reason.

     

    Any more ideas? Appreciate the help.

     

    Robert

  8. Ok, so I have just gotten DSL, and its working in a wired config, and I am currently writing using Mozilla 1.4 on MDK 9.1. I dont know how this happened, buy OMG! I just plugged the lan cable into my Xircom 56k/100 lan/modem and I'm surfing. It didnt do that yesterday! Now that's plug and play!! I have never had this machine on a lan of anykind before, so I'm really surprised.

     

    My wireless card (ok, just to clarify, the DSL modem is a wireless 2wire) is a Dlink DWL-650 <B> Cardbus Adapter (PCMCIA) with H/W:M1 according to the crap on the back of the box. Supposedly this is a prism chipset, but I'm not sure. Can anyone confirm?

     

    My current problem is that I can get no card info after booting with the card in the PCMCIA slot using this:

    [root@localhost robert]# /sbin/cardctl ident

    Socket 0:

    no product info available

    Socket 1:

    no product info available

     

    but I know PCMCIA and Eth0 are loaded on boot (I watched the scrolling lines, all ended with OK). But when I eject the card, insert the Xircom I get this:

    /sbin/cardctl ident

    Socket 0:

    no product info available

    Socket 1:

    product info: "Xircom", "CreditCard Ethernet 10/100 + Modem 56", "CEM56", "1.00"

    manfid: 0x0105, 0x110a

    function: 2 (serial)

     

    So, from the other posts, I try ifconfg -a:

    all I got wat the lo (sorry forgot to get the data), and not eth0.

    After inserting the Xircom I get:

    [root@172 robert]# ifconfig -a

    eth0 Link encap:Ethernet HWaddr 00:10:A4:C4:D8:51

    inet addr:172.XX.X.XX Bcast:172.XX.XXX.XXX Mask:255.255.0.0

    UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1

    RX packets:86 errors:0 dropped:0 overruns:0 frame:0

    TX packets:72 errors:0 dropped:0 overruns:0 carrier:0

    collisions:0 txqueuelen:100

    RX bytes:34073 (33.2 Kb) TX bytes:5815 (5.6 Kb)

    Interrupt:3 Base address:0x300

     

    lo Link encap:Local Loopback

    inet addr:127.0.0.1 Mask:255.0.0.0

    UP LOOPBACK RUNNING MTU:16436 Metric:1

    RX packets:505 errors:0 dropped:0 overruns:0 frame:0

    TX packets:505 errors:0 dropped:0 overruns:0 carrier:0

    collisions:0 txqueuelen:0

    RX bytes:34358 (33.5 Kb) TX bytes:34358 (33.5 Kb)

     

    and here is lsmod before Xircom insertion:

     

    Module Size Used by Not tainted

    udf 90464 0 (autoclean)

    sg 34636 0 (autoclean) (unused)

    lp 8096 0 (unused)

    parport_pc 25096 1

    parport 34176 1 [lp parport_pc]

    neofb 15560 0 (unused)

    binfmt_misc 7020 1

    nm256_audio 70556 0

    sound 70644 0 [nm256_audio]

    soundcore 6276 0 [sound]

    ac97 4800 0 [nm256_audio]

    nfsd 74256 0 (autoclean)

    ds 8456 2

    yenta_socket 13056 2

    pcmcia_core 57184 0 [ds yenta_socket]

    ppp_async 9216 0 (unused)

    ppp_generic 24060 0 [ppp_async]

    slhc 6564 0 [ppp_generic]

    af_packet 14952 0 (autoclean)

    ide-floppy 15580 0 (autoclean)

    ide-tape 48304 0 (autoclean)

    ide-cd 33856 0 (autoclean)

    cdrom 31648 0 (autoclean) [ide-cd]

    floppy 55100 0

    nls_iso8859-1 3516 2 (autoclean)

    nls_cp850 4316 2 (autoclean)

    vfat 11820 2 (autoclean)

    fat 37944 0 (autoclean) [vfat]

    supermount 15296 2 (autoclean)

    sd_mod 13132 0 (autoclean) (unused)

    usb-storage 73016 0 (unused)

    scsi_mod 103540 2 [sg sd_mod usb-storage]

    usbmouse 2936 0 (unused)

    keybdev 2720 0 (unused)

    mousedev 5300 1

    hid 20900 0 (unused)

    input 5664 0 [usbmouse keybdev mousedev hid]

    printer 8448 0 (unused)

    usb-uhci 24684 0 (unused)

    usbcore 72992 1 [usb-storage usbmouse hid printer usb-uhci]

    rtc 8060 0 (autoclean)

    ext3 59756 1

    jbd 39100 1 [ext3]

     

    after Xircom is in, the xir2cps.cs module loads, that's all thats different that I can tell.

     

    SO I cant get the machine to even see the wireless card in the socket so I cant get to the card manfid or module loading yet.

     

    I did get the hex ids from windows for the Dlink, tried editing the pcmcia config putting the manfid in, but that just caused a halt during boot at the portmapper line.

     

    Any ideas? It feels like I'm so close, but just missing something. I tried MCC, but under hardware ethernet just shows ethernet, no eth0, and nothing in the config sections for and Dlink cards.

     

    Thanks for the input.

     

    Robert

  9. Well, I've got the same problem too--but I have all the most current packages listed in the post above, so can that really be the problem? Its a good thing I have Ximian's red-carpet as well. THey seem to get the mandrake update packages too.

     

    Still, I'd really like to nail down why Mandrake update would churn for 30 minutes (I'm on dial-up) and come back with some goofy error like "You're already up to date!!".

     

    Robert

  10. you might try using it with Evolution. I dont use it myself, but many do quite effectively, and it's pretty easy to get it and Evolution to work together.

     

    Just use a filter called "pipe message to shell command", put in the path to spamassassin, and a rule to put all '1' 's into trash and everything else into your inbox.

     

    robert

  11. if you have the space, you can use Mandrake Contol Center to make a backup and put it on your Win partition. That has been successful for me, but then again I dont need to backup the amount you are trying to do.

     

    My .02.

     

    R

  12. well, if you have apm enabled, you could suspend the machine. not sure if its the same as 'hibernate', but its what I use on my PII laptop instead of shutting down and rebooting all the time. do and rpm -qa | grep apm

    or an apmd.

     

    If you've got it, you can use /usr/bin/apm -s (and make it an icon on your desktop) to suspend.

     

    Good luck,

    Robert

  13. I just installed the 1.4 myself (from the sea.tar.gz file on the mozilla site) and also got a little frustrated. The directions from the mozilla site, didnt work, but after removing mozilla-mail and not wanting to dork with the Galeon removal because of the dependency issues :banghead: , I just pointed the icon on my desktop (right-click, go to executable tab), and change /usr/bin/mozilla to usr/local/mozilla/mozilla and it launches the 1.4 binary with my profile from the 1.3 install.

     

    after reading the other posts, maybe I'll go back and remove Galeon and Moz 1.3.

     

    Good luck.

    Robert

×
×
  • Create New...