Re: Realtek RTL8111B fc6 problems

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Arjan van de Ven wrote:
On Wed, 2006-11-01 at 10:26 +0100, Benjamin Kosnik wrote:
- downloaded kernel-2.6.18-1.2747.fc6.src.rpm
- install the src.rpm
- changed spec file putting 1 only in
%define buildsmp 1
and
%define includexen 1
- done an rpmbuild -bp
- applied the further patch you outlined r8169.c
- gone into /usr/src/redhat/BUILD/kernel-2.6.18/linux-2.6.18.i386/
- make
- make modules_install
- copy under /boot of the vmlinuz file generated
- mkinitrd for the new kernel
- reboot
+1 for posting solutions.... thanks.


btw the entire "copy and make an initrd" step can be shortened to

make install


that copies all needed files, makes an initrd and also adds the new
kernel to grub (or lilo if that's your preferred poison)

in this case a complete rebuild isn't needed anyway:
download linux-2.6.18.1 from kernel.org
extract
apply the patch
edit the makefile in drivers/net so that it looks like this:
obj-m += r8169.o
cd into the drivers/net dir
do make -C /lib/modules/`uname -r`/build SUBDIRS=$PWD modules
make -C /lib/modules/`uname -r`/build SUBDIRS=$PWD modules_install
/sbin/depmod -a
works fine here
lspci -vvv:
02:00.0 Ethernet controller: Realtek Semiconductor Co., Ltd. RTL8111/8168B PCI Express Gigabit Ethernet controller (rev 01)
       Subsystem: Inventec Corporation Unknown device 0040
Control: I/O+ Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR+ FastB2B- Status: Cap+ 66MHz- UDF- FastB2B- ParErr- DEVSEL=fast >TAbort- <TAbort- <MAbort- >SERR+ <PERR-
       Latency: 0, Cache Line Size: 64 bytes
       Interrupt: pin A routed to IRQ 169
       Region 0: I/O ports at 3000 [size=256]
       Region 2: Memory at cc000000 (64-bit, non-prefetchable) [size=4K]
       [virtual] Expansion ROM at c4000000 [disabled] [size=128K]
       Capabilities: [40] Power Management version 2
Flags: PMEClk- DSI- D1+ D2+ AuxCurrent=375mA PME(D0-,D1+,D2+,D3hot+,D3cold+)
               Status: D0 PME-Enable- DSel=0 DScale=0 PME+
       Capabilities: [48] Vital Product Data
Capabilities: [50] Message Signalled Interrupts: 64bit+ Queue=0/1 Enable-
               Address: 0000000000000000  Data: 0000
       Capabilities: [60] Express Endpoint IRQ 0
Device: Supported: MaxPayload 1024 bytes, PhantFunc 0, ExtTag+
               Device: Latency L0s <1us, L1 unlimited
               Device: AtnBtn+ AtnInd+ PwrInd+
               Device: Errors: Correctable- Non-Fatal- Fatal- Unsupported-
               Device: RlxdOrd+ ExtTag- PhantFunc- AuxPwr- NoSnoop+
               Device: MaxPayload 128 bytes, MaxReadReq 512 bytes
               Link: Supported Speed 2.5Gb/s, Width x4, ASPM L0s, Port 0
               Link: Latency L0s unlimited, L1 unlimited
               Link: ASPM Disabled RCB 64 bytes CommClk+ ExtSynch-
               Link: Speed 2.5Gb/s, Width x1
       Capabilities: [84] Vendor Specific Information
       Capabilities: [100] Advanced Error Reporting
       Capabilities: [12c] Virtual Channel
       Capabilities: [148] Device Serial Number 68-81-ec-10-00-00-00-1e
       Capabilities: [154] Power Budgeting


--
fedora-test-list mailing list
fedora-test-list@xxxxxxxxxx
To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-test-list

[Index of Archives]     [Fedora Desktop]     [Fedora SELinux]     [Photo Sharing]     [Yosemite Forum]     [KDE Users]