[ltp] Kernel 2.4.20 and Realtek8139 with PCMCIA

Dan Sawyer linux-thinkpad@linux-thinkpad.org
Mon, 02 Jun 2003 10:31:30 -0700


It makes less difference today the it used to when machines were 
smaller. I have had good luck by keeping the resulting kernel between 
800k and 900k. This allows for use of a rescue floppy.

There is a very small performance advantage. With modern memories 
capicities modules stay loaded.

I also maintain two 'root' partitions near the front of the drive. One 
is for testing and the second is the original. I use LILO; it allows for 
me to 'link' to the second partition. This allows me to experiment w/o 
doing too much damage.

Good luck,
Dan

Adam Southerland wrote:

> I made a few modifications to the config (Removed stuff I don't have...)
> I started compiling at 10am and at 11:45a it is still compiling - lol
>
> Here is a question... What is the difference between compiling NICs as 
> Modules or into the Kernel?
>
> I know modules are outside and allow the kernel to be smaller... What 
> advantage do you have with compling the stuff into the kernel?  (Ok, 
> NIC Drivers might have been a bad 'example' - I'd just like an idea of 
> the difference)
>
> Thanks again!
> Adam
>
> ----Original Message Follows----
> From: Dan Sawyer <dansawyer@earthlink.net>
> Reply-To: linux-thinkpad@linux-thinkpad.org
> To: linux-thinkpad@linux-thinkpad.org
> Subject: Re: [ltp] Kernel 2.4.20 and Realtek8139 with PCMCIA
> Date: Sun, 01 Jun 2003 21:09:43 -0700
>
> Adam,
>
> I sent you my .config file.
>
> modprobe loads dependencies.
>
> Dan
>
> Adam Southerland wrote:
>
>> How is your PCMCIA setup?
>>
>> Are you still using the PCMCIA-cs-3.1.24 (or whatever version?)
>>
>> I added a line -> if uname -r != '2.2.19' then Don't load the 
>> pcmcia-cs-3.1.24
>>
>> The new kernel has built in PCMCIA support and that is what I have 
>> been attempting to use... Shoule I just disable that and go back to 
>> the previous package? (I have been working with 2.2.19 and 2.4.20 
>> constantly so I have been modifing startup scripts based on versions...)
>>
>> Also, does the mii.o get loaded when you run -> /sbin/modprob 8139too
>> or does it have to be ran by itself?
>>
>> Thanks!
>> Adam Southerland
>>
>> ----Original Message Follows----
>> Adam,
>>
>> I am running 2.4.20 on a thinkpad. I use
>>
>> /sbin/modprobe 8139too
>>
>> to load the driver. There is a dependence on mii.o as well.
>>
>> I can't speak to irq 0. That seems strange.
>>
>> Below is the module list
>>
>> Module                  Size  Used by    Tainted: PF
>> ppdev                   6828   0  (autoclean)
>> nfs                    80920   2  (autoclean)
>> ide-cd                 33700   0  (autoclean)
>> cdrom                  33728   0  (autoclean) [ide-cd]
>> cs46xx                 62896   0  (autoclean)
>> ac97_codec             13672   0  (autoclean) [cs46xx]
>> soundcore               6468   3  (autoclean) [cs46xx]
>> 8139too                18088   1
>> mii                     3912   0  [8139too]
>> vmnet                  23496   4
>> parport_pc             19044   0
>> parport                37152   0  [ppdev parport_pc]
>> vmmon                  27540   0
>> nfsd                   80112   8  (autoclean)
>> lockd                  58704   1  (autoclean) [nfs nfsd]
>> sunrpc                 81564   1  (autoclean) [nfs nfsd lockd]
>> autofs                 13364   0  (autoclean) (unused)
>> apm                    13284   2
>> ds                      8712   2
>> yenta_socket           12960   2
>> pcmcia_core            54880   0  [ds yenta_socket]
>> iptable_filter          2412   0  (autoclean) (unused)
>> ip_tables              14872   1  [iptable_filter]
>> nls_iso8859-1           3516   1  (autoclean)
>> nls_cp437               5116   1  (autoclean)
>> vfat                   13100   1  (autoclean)
>> fat                    38808   0  (autoclean) [vfat]
>> mousedev                5524   1
>> keybdev                 2944   0  (unused)
>> hid                    22244   0  (unused)
>> input                   5792   0  [mousedev keybdev hid]
>> usb-uhci               26380   0  (unused)
>> usbcore                77504   1  [hid usb-uhci]
>> ext3                   70368   3
>> jbd                    51796   3  [ext3]
>>
>>
>> Adam Southerland wrote:
>>
>>> Good Day!
>>>
>>> I Installed the new Kernel 2.4.20 and now I can't get my Realtek 
>>> 8139 PCMCIA Nic to work...
>>>
>>> The CardBus receives an IRQ of 0 and the NIC inherits this IRQ =(
>>>
>>> Anyone know how to make this work with Thinkpads?
>>>
>>> btw...
>>> I have an IBM Thinkpad 760XL
>>> current working kernel is 2.2.19 with the PCMCIA-cs-xxxxx and the 
>>> realtek_cb.o driver...
>>>
>>> I have seen information that I need to use the 8139too.o driver and 
>>> this would work except my IRQ is 0. I have worked on this for 3 
>>> days... Constant compiling and stuff (Pentium 166MMX takes a while 
>>> to compile =) hehe
>>>
>>> _________________________________________________________________
>>> Protect your PC - get McAfee.com VirusScan Online 
>>> http://clinic.mcafee.com/clinic/ibuy/campaign.asp?cid=3963
>>>
>>
>>
>> -- 
>> The linux-thinkpad mailing list home page is at:
>> http://mailman.linux-thinkpad.org/mailman/listinfo/linux-thinkpad
>>
>> _________________________________________________________________
>> Tired of spam? Get advanced junk mail protection with MSN 8. 
>> http://join.msn.com/?page=features/junkmail
>>
>
>
> -- 
> The linux-thinkpad mailing list home page is at:
> http://mailman.linux-thinkpad.org/mailman/listinfo/linux-thinkpad
>
> _________________________________________________________________
> MSN 8 helps eliminate e-mail viruses. Get 2 months FREE*. 
> http://join.msn.com/?page=features/virus
>