 |
 |
 |
 |
| Hardware & Laptops Help with your hardware, including laptop issues |

16th February 2004, 08:25 PM
|
|
Registered User
|
|
Join Date: Mar 2004
Posts: 155

|
|
|
Your current working directory is /root. You need to cd /tmp first, mate.
- V
|

16th February 2004, 08:32 PM
|
|
Registered User
|
|
Join Date: Feb 2004
Posts: 56

|
|
|
Also once we get past this , editing the Make Files, do I have to use vi or where do i edit them...
Please let me know that also.
|

16th February 2004, 08:52 PM
|
|
Registered User
|
|
Join Date: Mar 2004
Posts: 155

|
|
Hi kuknoppix,
Quote:
|
Originally Posted by kuknoppix
Also once we get past this , editing the Make Files, do I have to use vi or where do i edit them...
Please let me know that also.
|
vi is what I use, however use something you know how to use, please, to keep me from having to help with that as well.
- V
|

16th February 2004, 09:07 PM
|
|
Registered User
|
|
Join Date: Feb 2004
Posts: 56

|
|
|
Did the editing and the Make gave me a whole lot of errors:
[root@dhcp1710715176 rtltemp]# make
gcc -O6 -Wall -DMODULE -D__KERNEL__ -DLINUX -I /usr/src/linux-2.4.22-1.2115.npt1/include/ -DRTL_IO_MAP -DRTL_LITTLE_ENDIAN -DRTL_ACT_AS_STA -c -o r8180_pci_init.o r8180_pci_init.c
In file included from /usr/include/linux/sched.h:14,
from r8180_pci_init.c:24:
/usr/include/linux/timex.h:56: error: syntax error before "and"
In file included from /usr/include/linux/timex.h:126,
from /usr/include/linux/sched.h:14,
from r8180_pci_init.c:24:
/usr/include/asm/timex.h:33: error: syntax error before "cacheflush_time"
/usr/include/asm/timex.h:35: error: syntax error before "get_cycles"
In file included from /usr/include/linux/sched.h:14,
from r8180_pci_init.c:24:
/usr/include/linux/timex.h:147: error: field `time' has incomplete type
In file included from /usr/include/linux/bitops.h:69,
from /usr/include/asm/system.h:7,
from /usr/include/linux/sched.h:16,
from r8180_pci_init.c:24:
/usr/include/asm/bitops.h:327:2: warning: #warning This includefile is not available on all architectures.
/usr/include/asm/bitops.h:328:2: warning: #warning Using kernel headers in userspace: atomicity not guaranteed
In file included from /usr/include/linux/signal.h:4,
from /usr/include/linux/sched.h:25,
from r8180_pci_init.c:24:
/usr/include/asm/signal.h:107: error: syntax error before "sigset_t"
/usr/include/asm/signal.h:110: error: syntax error before '}' token
In file included from /usr/include/linux/sched.h:81,
from r8180_pci_init.c:24:
/usr/include/linux/timer.h:45: error: syntax error before "spinlock_t"
/usr/include/linux/timer.h:53: error: syntax error before '}' token
/usr/include/linux/timer.h:67: error: syntax error before "tvec_base_t"
/usr/include/linux/timer.h:101: error: syntax error before "tvec_bases"
/usr/include/linux/timer.h: In function `init_timer':
/usr/include/linux/timer.h:105: error: dereferencing pointer to incomplete type
/usr/include/linux/timer.h:105: error: dereferencing pointer to incomplete type
/usr/include/linux/timer.h:106: error: dereferencing pointer to incomplete type
/usr/include/linux/timer.h: In function `timer_pending':
/usr/include/linux/timer.h:121: error: dereferencing pointer to incomplete type
In file included from r8180_pci_init.c:30:
/usr/include/linux/delay.h:13:23: asm/delay.h: No such file or directory
In file included from r8180_pci_init.c:34:
/usr/include/linux/proc_fs.h: At top level:
/usr/include/linux/proc_fs.h:70: error: syntax error before "atomic_t"
/usr/include/linux/proc_fs.h:73: error: syntax error before '}' token
/usr/include/linux/proc_fs.h:203: error: syntax error before "void"
In file included from r8180_pci_init.c:35:
/usr/include/asm/io.h:4:2: warning: #warning <asm/io.h> is deprecated, use <sys/io.h> instead
In file included from r8180_pci_init.c:38:
r8180_type.h:128: warning: redefinition of `timer_t'
/usr/include/linux/timer.h:42: warning: `timer_t' previously declared here
r8180_pci_init.c:56: error: elements of array `rtl8180_pci_id_tbl' have incomplete type
r8180_pci_init.c:57: warning: excess elements in struct initializer
r8180_pci_init.c:57: warning: (near initialization for `rtl8180_pci_id_tbl[0]')
r8180_pci_init.c:57: warning: excess elements in struct initializer
r8180_pci_init.c:57: warning: (near initialization for `rtl8180_pci_id_tbl[0]')
r8180_pci_init.c:57: error: `PCI_ANY_ID' undeclared here (not in a function)
r8180_pci_init.c:57: warning: excess elements in struct initializer
r8180_pci_init.c:57: warning: (near initialization for `rtl8180_pci_id_tbl[0]')
r8180_pci_init.c:57: error: `PCI_ANY_ID' undeclared here (not in a function)
r8180_pci_init.c:57: warning: excess elements in struct initializer
r8180_pci_init.c:57: warning: (near initialization for `rtl8180_pci_id_tbl[0]')
r8180_pci_init.c:57: warning: excess elements in struct initializer
r8180_pci_init.c:57: warning: (near initialization for `rtl8180_pci_id_tbl[0]')
r8180_pci_init.c:57: warning: excess elements in struct initializer
r8180_pci_init.c:57: warning: (near initialization for `rtl8180_pci_id_tbl[0]')
r8180_pci_init.c:57: warning: excess elements in struct initializer
r8180_pci_init.c:57: warning: (near initialization for `rtl8180_pci_id_tbl[0]')
r8180_pci_init.c:58: warning: excess elements in struct initializer
r8180_pci_init.c:58: warning: (near initialization for `rtl8180_pci_id_tbl[1]')
r8180_pci_init.c:70: error: variable `rtl8180_pci_driver' has initializer but incomplete type
r8180_pci_init.c:71: error: unknown field `name' specified in initializer
r8180_pci_init.c:71: warning: excess elements in struct initializer
r8180_pci_init.c:71: warning: (near initialization for `rtl8180_pci_driver')
r8180_pci_init.c:72: error: unknown field `id_table' specified in initializer
r8180_pci_init.c:72: warning: excess elements in struct initializer
r8180_pci_init.c:72: warning: (near initialization for `rtl8180_pci_driver')
r8180_pci_init.c:73: error: unknown field `probe' specified in initializer
r8180_pci_init.c:73: warning: excess elements in struct initializer
r8180_pci_init.c:73: warning: (near initialization for `rtl8180_pci_driver')
r8180_pci_init.c:74: error: unknown field `remove' specified in initializer
r8180_pci_init.c:74: warning: excess elements in struct initializer
r8180_pci_init.c:74: warning: (near initialization for `rtl8180_pci_driver')
r8180_pci_init.c:75: error: unknown field `suspend' specified in initializer
r8180_pci_init.c:75: warning: excess elements in struct initializer
r8180_pci_init.c:75: warning: (near initialization for `rtl8180_pci_driver')
r8180_pci_init.c:76: error: unknown field `resume' specified in initializer
r8180_pci_init.c:76: warning: excess elements in struct initializer
r8180_pci_init.c:76: warning: (near initialization for `rtl8180_pci_driver')
r8180_pci_init.c:82: error: invalid application of `sizeof' to an incomplete type
r8180_pci_init.c: In function `rtl8180_pci_probe':
r8180_pci_init.c:103: warning: implicit declaration of function `pci_enable_device'
r8180_pci_init.c:104: warning: implicit declaration of function `printk'
r8180_pci_init.c:105: error: `EIO' undeclared (first use in this function)
r8180_pci_init.c:105: error: (Each undeclared identifier is reported only once
r8180_pci_init.c:105: error: for each function it appears in.)
r8180_pci_init.c:111: warning: implicit declaration of function `pci_set_master'
r8180_pci_init.c:130: warning: implicit declaration of function `pci_set_drvdata'
r8180_pci_init.c:139: warning: implicit declaration of function `pci_resource_start'
r8180_pci_init.c:140: warning: implicit declaration of function `pci_resource_len'
r8180_pci_init.c:141: warning: implicit declaration of function `pci_resource_flags'
r8180_pci_init.c:144: error: dereferencing pointer to incomplete type
r8180_pci_init.c:148: error: dereferencing pointer to incomplete type
r8180_pci_init.c:158: error: dereferencing pointer to incomplete type
r8180_pci_init.c:196: error: dereferencing pointer to incomplete type
r8180_pci_init.c:196: error: dereferencing pointer to incomplete type
r8180_pci_init.c:199: error: dereferencing pointer to incomplete type
r8180_pci_init.c:200: error: dereferencing pointer to incomplete type
r8180_pci_init.c:201: error: dereferencing pointer to incomplete type
r8180_pci_init.c:202: error: dereferencing pointer to incomplete type
r8180_pci_init.c:204: error: dereferencing pointer to incomplete type
r8180_pci_init.c:210: error: dereferencing pointer to incomplete type
r8180_pci_init.c:211: warning: implicit declaration of function `strcpy'
r8180_pci_init.c:223: warning: implicit declaration of function `request_irq'
r8180_pci_init.c:223: error: dereferencing pointer to incomplete type
r8180_pci_init.c:223: error: `SA_SHIRQ' undeclared (first use in this function)
r8180_pci_init.c:223: error: dereferencing pointer to incomplete type
r8180_pci_init.c:239: error: dereferencing pointer to incomplete type
r8180_pci_init.c:239: error: dereferencing pointer to incomplete type
r8180_pci_init.c:239: error: dereferencing pointer to incomplete type
r8180_pci_init.c:239: error: dereferencing pointer to incomplete type
r8180_pci_init.c:239: error: dereferencing pointer to incomplete type
r8180_pci_init.c:239: error: dereferencing pointer to incomplete type
r8180_pci_init.c:239: error: dereferencing pointer to incomplete type
r8180_pci_init.c:256: error: dereferencing pointer to incomplete type
r8180_pci_init.c:257: warning: implicit declaration of function `free_irq'
r8180_pci_init.c:257: error: dereferencing pointer to incomplete type
r8180_pci_init.c:261: error: dereferencing pointer to incomplete type
r8180_pci_init.c:262: error: dereferencing pointer to incomplete type
r8180_pci_init.c:263: error: dereferencing pointer to incomplete type
r8180_pci_init.c:277: warning: implicit declaration of function `kfree'
r8180_pci_init.c:283: error: `ENOMEM' undeclared (first use in this function)
r8180_pci_init.c: In function `rtl8180_pci_remove':
r8180_pci_init.c:299: warning: implicit declaration of function `pci_get_drvdata'
r8180_pci_init.c:299: warning: initialization makes pointer from integer without a cast
r8180_pci_init.c:318: error: dereferencing pointer to incomplete type
r8180_pci_init.c:319: error: dereferencing pointer to incomplete type
r8180_pci_init.c:320: error: dereferencing pointer to incomplete type
r8180_pci_init.c:333: error: dereferencing pointer to incomplete type
r8180_pci_init.c:334: error: dereferencing pointer to incomplete type
r8180_pci_init.c: In function `rtl8180_pci_module_init':
r8180_pci_init.c:371: error: `KERN_INFO' undeclared (first use in this function)
r8180_pci_init.c:371: error: syntax error before string constant
r8180_pci_init.c:373: warning: implicit declaration of function `pci_register_driver'
r8180_pci_init.c:375: warning: implicit declaration of function `pci_unregister_driver'
r8180_pci_init.c:376: error: `ENODEV' undeclared (first use in this function)
r8180_pci_init.c: In function `rtl8180_pci_module_exit':
r8180_pci_init.c:392: error: `KERN_INFO' undeclared (first use in this function)
r8180_pci_init.c:392: error: syntax error before string constant
r8180_pci_init.c: At top level:
r8180_pci_init.c:70: error: storage size of `rtl8180_pci_driver' isn't known
make: *** [r8180_pci_init.o] Error 1
[root@dhcp1710715176 rtltemp]#
|

16th February 2004, 09:44 PM
|
|
Registered User
|
|
Join Date: Mar 2004
Posts: 155

|
|
|
Hi kuknoppix,
Re-edit your Makefile and find (or something similar):
[code:1]
INCLUDEPATH=-I /usr/src/linux/include/
[/code:1]
... and replace it with:
[code:1]
INCLUDEPATH=-I /usr/src/linux-$(uname -r)/include
[/code:1]
- V
|

16th February 2004, 09:44 PM
|
|
Registered User
|
|
Join Date: Feb 2004
Posts: 56

|
|
|
Is there anything we can do now???
Please help...
I'm sorry I'm not that good on Linux...but I am following instructions to the "T".
You've been great...Hopefully you can help me make this work.
Thanks
|

16th February 2004, 09:54 PM
|
|
Registered User
|
|
Join Date: Feb 2004
Posts: 56

|
|
|
Still getting those errors....
Do you think, it has something to do with the ENDIAN thing, BIG or LITTLE.
[root@dhcp1710715176 rtltemp]# make
gcc -O6 -Wall -DMODULE -D__KERNEL__ -DLINUX -I /usr/src/linux-/include/ -DRTL_IO_MAP -DRTL_LITTLE_ENDIAN -DRTL_ACT_AS_STA -c -o r8180_pci_init.o r8180_pci_init.c
In file included from /usr/include/linux/sched.h:14,
from r8180_pci_init.c:24:
/usr/include/linux/timex.h:56: error: syntax error before "and"
In file included from /usr/include/linux/timex.h:126,
from /usr/include/linux/sched.h:14,
from r8180_pci_init.c:24:
/usr/include/asm/timex.h:33: error: syntax error before "cacheflush_time"
/usr/include/asm/timex.h:35: error: syntax error before "get_cycles"
In file included from /usr/include/linux/sched.h:14,
from r8180_pci_init.c:24:
/usr/include/linux/timex.h:147: error: field `time' has incomplete type
In file included from /usr/include/linux/bitops.h:69,
from /usr/include/asm/system.h:7,
from /usr/include/linux/sched.h:16,
from r8180_pci_init.c:24:
/usr/include/asm/bitops.h:327:2: warning: #warning This includefile is not available on all architectures.
/usr/include/asm/bitops.h:328:2: warning: #warning Using kernel headers in userspace: atomicity not guaranteed
In file included from /usr/include/linux/signal.h:4,
from /usr/include/linux/sched.h:25,
from r8180_pci_init.c:24:
/usr/include/asm/signal.h:107: error: syntax error before "sigset_t"
/usr/include/asm/signal.h:110: error: syntax error before '}' token
In file included from /usr/include/linux/sched.h:81,
from r8180_pci_init.c:24:
/usr/include/linux/timer.h:45: error: syntax error before "spinlock_t"
/usr/include/linux/timer.h:53: error: syntax error before '}' token
/usr/include/linux/timer.h:67: error: syntax error before "tvec_base_t"
/usr/include/linux/timer.h:101: error: syntax error before "tvec_bases"
/usr/include/linux/timer.h: In function `init_timer':
/usr/include/linux/timer.h:105: error: dereferencing pointer to incomplete type
/usr/include/linux/timer.h:105: error: dereferencing pointer to incomplete type
/usr/include/linux/timer.h:106: error: dereferencing pointer to incomplete type
/usr/include/linux/timer.h: In function `timer_pending':
/usr/include/linux/timer.h:121: error: dereferencing pointer to incomplete type
In file included from r8180_pci_init.c:30:
/usr/include/linux/delay.h:13:23: asm/delay.h: No such file or directory
In file included from r8180_pci_init.c:34:
/usr/include/linux/proc_fs.h: At top level:
/usr/include/linux/proc_fs.h:70: error: syntax error before "atomic_t"
/usr/include/linux/proc_fs.h:73: error: syntax error before '}' token
/usr/include/linux/proc_fs.h:203: error: syntax error before "void"
In file included from r8180_pci_init.c:35:
/usr/include/asm/io.h:4:2: warning: #warning <asm/io.h> is deprecated, use <sys/io.h> instead
In file included from r8180_pci_init.c:38:
r8180_type.h:128: warning: redefinition of `timer_t'
/usr/include/linux/timer.h:42: warning: `timer_t' previously declared here
r8180_pci_init.c:56: error: elements of array `rtl8180_pci_id_tbl' have incomplete type
r8180_pci_init.c:57: warning: excess elements in struct initializer
r8180_pci_init.c:57: warning: (near initialization for `rtl8180_pci_id_tbl[0]')
r8180_pci_init.c:57: warning: excess elements in struct initializer
r8180_pci_init.c:57: warning: (near initialization for `rtl8180_pci_id_tbl[0]')
r8180_pci_init.c:57: error: `PCI_ANY_ID' undeclared here (not in a function)
r8180_pci_init.c:57: warning: excess elements in struct initializer
r8180_pci_init.c:57: warning: (near initialization for `rtl8180_pci_id_tbl[0]')
r8180_pci_init.c:57: error: `PCI_ANY_ID' undeclared here (not in a function)
r8180_pci_init.c:57: warning: excess elements in struct initializer
r8180_pci_init.c:57: warning: (near initialization for `rtl8180_pci_id_tbl[0]')
r8180_pci_init.c:57: warning: excess elements in struct initializer
r8180_pci_init.c:57: warning: (near initialization for `rtl8180_pci_id_tbl[0]')
r8180_pci_init.c:57: warning: excess elements in struct initializer
r8180_pci_init.c:57: warning: (near initialization for `rtl8180_pci_id_tbl[0]')
r8180_pci_init.c:57: warning: excess elements in struct initializer
r8180_pci_init.c:57: warning: (near initialization for `rtl8180_pci_id_tbl[0]')
r8180_pci_init.c:58: warning: excess elements in struct initializer
r8180_pci_init.c:58: warning: (near initialization for `rtl8180_pci_id_tbl[1]')
r8180_pci_init.c:70: error: variable `rtl8180_pci_driver' has initializer but incomplete type
r8180_pci_init.c:71: error: unknown field `name' specified in initializer
r8180_pci_init.c:71: warning: excess elements in struct initializer
r8180_pci_init.c:71: warning: (near initialization for `rtl8180_pci_driver')
r8180_pci_init.c:72: error: unknown field `id_table' specified in initializer
r8180_pci_init.c:72: warning: excess elements in struct initializer
r8180_pci_init.c:72: warning: (near initialization for `rtl8180_pci_driver')
r8180_pci_init.c:73: error: unknown field `probe' specified in initializer
r8180_pci_init.c:73: warning: excess elements in struct initializer
r8180_pci_init.c:73: warning: (near initialization for `rtl8180_pci_driver')
r8180_pci_init.c:74: error: unknown field `remove' specified in initializer
r8180_pci_init.c:74: warning: excess elements in struct initializer
r8180_pci_init.c:74: warning: (near initialization for `rtl8180_pci_driver')
r8180_pci_init.c:75: error: unknown field `suspend' specified in initializer
r8180_pci_init.c:75: warning: excess elements in struct initializer
r8180_pci_init.c:75: warning: (near initialization for `rtl8180_pci_driver')
r8180_pci_init.c:76: error: unknown field `resume' specified in initializer
r8180_pci_init.c:76: warning: excess elements in struct initializer
r8180_pci_init.c:76: warning: (near initialization for `rtl8180_pci_driver')
r8180_pci_init.c:82: error: invalid application of `sizeof' to an incomplete type
r8180_pci_init.c: In function `rtl8180_pci_probe':
r8180_pci_init.c:103: warning: implicit declaration of function `pci_enable_device'
r8180_pci_init.c:104: warning: implicit declaration of function `printk'
r8180_pci_init.c:105: error: `EIO' undeclared (first use in this function)
r8180_pci_init.c:105: error: (Each undeclared identifier is reported only once
r8180_pci_init.c:105: error: for each function it appears in.)
r8180_pci_init.c:111: warning: implicit declaration of function `pci_set_master'
r8180_pci_init.c:130: warning: implicit declaration of function `pci_set_drvdata'
r8180_pci_init.c:139: warning: implicit declaration of function `pci_resource_start'
r8180_pci_init.c:140: warning: implicit declaration of function `pci_resource_len'
r8180_pci_init.c:141: warning: implicit declaration of function `pci_resource_flags'
r8180_pci_init.c:144: error: dereferencing pointer to incomplete type
r8180_pci_init.c:148: error: dereferencing pointer to incomplete type
r8180_pci_init.c:158: error: dereferencing pointer to incomplete type
r8180_pci_init.c:196: error: dereferencing pointer to incomplete type
r8180_pci_init.c:196: error: dereferencing pointer to incomplete type
r8180_pci_init.c:199: error: dereferencing pointer to incomplete type
r8180_pci_init.c:200: error: dereferencing pointer to incomplete type
r8180_pci_init.c:201: error: dereferencing pointer to incomplete type
r8180_pci_init.c:202: error: dereferencing pointer to incomplete type
r8180_pci_init.c:204: error: dereferencing pointer to incomplete type
r8180_pci_init.c:210: error: dereferencing pointer to incomplete type
r8180_pci_init.c:211: warning: implicit declaration of function `strcpy'
r8180_pci_init.c:223: warning: implicit declaration of function `request_irq'
r8180_pci_init.c:223: error: dereferencing pointer to incomplete type
r8180_pci_init.c:223: error: `SA_SHIRQ' undeclared (first use in this function)
r8180_pci_init.c:223: error: dereferencing pointer to incomplete type
r8180_pci_init.c:239: error: dereferencing pointer to incomplete type
r8180_pci_init.c:239: error: dereferencing pointer to incomplete type
r8180_pci_init.c:239: error: dereferencing pointer to incomplete type
r8180_pci_init.c:239: error: dereferencing pointer to incomplete type
r8180_pci_init.c:239: error: dereferencing pointer to incomplete type
r8180_pci_init.c:239: error: dereferencing pointer to incomplete type
r8180_pci_init.c:239: error: dereferencing pointer to incomplete type
r8180_pci_init.c:256: error: dereferencing pointer to incomplete type
r8180_pci_init.c:257: warning: implicit declaration of function `free_irq'
r8180_pci_init.c:257: error: dereferencing pointer to incomplete type
r8180_pci_init.c:261: error: dereferencing pointer to incomplete type
r8180_pci_init.c:262: error: dereferencing pointer to incomplete type
r8180_pci_init.c:263: error: dereferencing pointer to incomplete type
r8180_pci_init.c:277: warning: implicit declaration of function `kfree'
r8180_pci_init.c:283: error: `ENOMEM' undeclared (first use in this function)
r8180_pci_init.c: In function `rtl8180_pci_remove':
r8180_pci_init.c:299: warning: implicit declaration of function `pci_get_drvdata'
r8180_pci_init.c:299: warning: initialization makes pointer from integer without a cast
r8180_pci_init.c:318: error: dereferencing pointer to incomplete type
r8180_pci_init.c:319: error: dereferencing pointer to incomplete type
r8180_pci_init.c:320: error: dereferencing pointer to incomplete type
r8180_pci_init.c:333: error: dereferencing pointer to incomplete type
r8180_pci_init.c:334: error: dereferencing pointer to incomplete type
r8180_pci_init.c: In function `rtl8180_pci_module_init':
r8180_pci_init.c:371: error: `KERN_INFO' undeclared (first use in this function)
r8180_pci_init.c:371: error: syntax error before string constant
r8180_pci_init.c:373: warning: implicit declaration of function `pci_register_driver'
r8180_pci_init.c:375: warning: implicit declaration of function `pci_unregister_driver'
r8180_pci_init.c:376: error: `ENODEV' undeclared (first use in this function)
r8180_pci_init.c: In function `rtl8180_pci_module_exit':
r8180_pci_init.c:392: error: `KERN_INFO' undeclared (first use in this function)
r8180_pci_init.c:392: error: syntax error before string constant
r8180_pci_init.c: At top level:
r8180_pci_init.c:70: error: storage size of `rtl8180_pci_driver' isn't known
make: *** [r8180_pci_init.o] Error 1
[root@dhcp1710715176 rtltemp]#
|

16th February 2004, 09:59 PM
|
|
Registered User
|
|
Join Date: Feb 2004
Posts: 56

|
|
|
This is what the first few lines of the Make File look like..
Tell me if I did anything wrong
#-----------------------------------------------
#Specify kernel version and include path
#-----------------------------------------------
VERSION = 2
PATCHLEVEL = 4
SUBLEVEL = 20
EXTRAVERSION = -4
KERNELRELEASE=2.4.22-1.2115.npt1
INCLUDEPATH=-I /usr/src/linux-$(uname -r)/include/
|

16th February 2004, 10:17 PM
|
|
Registered User
|
|
Join Date: Mar 2004
Posts: 155

|
|
|
Hi kuknoppix,
Tell you what - Let me install that particular kernel source and compile the modules and/or fix it. Be back in a little bit.
- V
|

16th February 2004, 11:11 PM
|
|
Registered User
|
|
Join Date: Mar 2004
Posts: 155

|
|
|
Hi kuknoppix,
Ok, do this.
su - (if you're already root, ignore)
cd /tmp
rm -fr rtl8180*
rm -fr rtltemp
mkdir rtl_mod
cd /tmp/rtl_mod
wget http://s89455473.onlinehome.us/rtl8180_2.4.22-1.2115.nptl.zip
unzip rtl8180_2.4.22-1.2115.nptl.zip
insmod -f rtl8180_24x.o
This is the driver I precompiled for your kernel.
- V
|

16th February 2004, 11:23 PM
|
|
Registered User
|
|
Join Date: Feb 2004
Posts: 56

|
|
|
This is what I get after
insmod -f rtl8180_24x.o
[root@dhcp1710715176 rtl_mod]# insmod -f rtl8180_24x.o
insmod: a module named rtl8180_24x already exists
[root@dhcp1710715176 rtl_mod]#
|

16th February 2004, 11:31 PM
|
|
Registered User
|
|
Join Date: Mar 2004
Posts: 155

|
|
|
Hi kuknoppix,
rmmod rtl8180_24x
insmod -f rtl8180_24x.o
- V
|

16th February 2004, 11:45 PM
|
|
Registered User
|
|
Join Date: Feb 2004
Posts: 56

|
|
Back to square One..
[root@dhcp1710715176 rtl_mod]# insmod -f rtl8180_24x.o
Warning: loading rtl8180_24x.o will taint the kernel: forced load
See http://www.tux.org/lkml/#export-tainted for information about tainted modu les
Segmentation fault
[root@dhcp1710715176 rtl_mod]#
|

17th February 2004, 12:00 AM
|
|
Registered User
|
|
Join Date: Mar 2004
Posts: 155

|
|
|
Hi kuknoppix,
Ok, this is becoming a pain in the ass, but don't feel alone. If you pull up a Google search on this card, you'll see it's a royal pain in the ass.
Let's try this...
(become root)
cd /tmp
mkdir rt_module
cd /tmp/rt_module
wget http://s89455473.onlinehome.us/rtl8180.tar.gz
tar --ungzip -vxf rtl8180.tar.gz
rmmod rtl8180_24x
insmod -f rtl8180_24x.o
If that doesn't work, I'm out of ideas. I'd need the card in front of me to really troubleshoot this further...
Hope the above works!
- V
|

17th February 2004, 12:08 AM
|
|
Registered User
|
|
Join Date: Feb 2004
Posts: 56

|
|
|
Don't give up mate...You have been wonderfull
I'm sure you can make it work..I'm here too..
This is what I get now though:
[root@dhcp1710715176 rt_module]# rmmod rtl8180_24x
rtl8180_24x: Device or resource busy
[root@dhcp1710715176 rt_module]# insmod -f rtl8180_24x.o
insmod: a module named rtl8180_24x already exists
|
| Thread Tools |
Search this Thread |
|
|
|
| Display Modes |
Linear Mode
|
Posting Rules
|
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is Off
|
|
|
Current GMT-time: 09:05 (Wednesday, 19-06-2013)
|
|
 |
 |
 |
 |
|
|