My Linux core upgrade road (from Fedora Core 1 to 2.6.7)

zhaozj2021-02-16  85

1. Download the kernel 2 at www.kernel.org, install the required library and program http://people.redhat.com/arjanv/2.6/rpms.kernel/3, unzip to / usr / src directory LN -S /usr/src/linux-2.xx Linuxmake MRPROPER MAKE MENUCONFIGMAKE MODULESMAKE MAULES_INSTALLMAKE INSTALL Note: There is a case where xxx.h file is wrong, actually due to the ASM, Linux, SCSI, ASM-Generic link error in / usr / include RM-RF / USR / include / asm / usr / include / scsi / usr / include / linuxln -s /usr/src/linux-2.xx/include/ASM-I386 / USR / include / asmln -s / usr / SRC / Linux-2.xx / include / Linux / usr / include / linuxln -s /us/inter/src/linux-2.xx/include/scsi / usr / include / scsiln -s / usr / src / linux-2. XX / include / asm-generic / usr / include / asm-generic

4, problems and solutions (with my machine as an example, patriot U disk, Ess solo1 sound card, nvidia graphics, 8139 network card) a. Module cannot be loaded automatically, causing the sound card to work for a normal work: new core changes configured Document Name Solution: CP /etc/modules.conf /etc/modprobe.conf My File Content Alias ​​Eth0 8139to (NIC) Alias ​​USB-Controller UHCI-HCD (later) Alias ​​Sound-Slot-0 Esssolo1 (Sound Card ) # Post-install sound-slot-0 / bin / amix-minimal -f /etc/.aumixrc -l> / dev / null 2> & 1 ||: (Originally this line, found XFCE 4 Volume adjustment is invalid, can only use Aumix, remove the recovery function after this line)

b. Graphics driver does not work Normal * Do not compile the NV driver from the drive home to download 1.0-5336 driver (this version I can use, the new one cannot be used) init 3 back to the character status, SH NVXXX .Run, all the way. Modify the / etc / x11 / xfxxxxxx file, modify the NV for NVIDIA, do not like it to display NVIDIA logo, can add Option "NOLOGO" Note: You must reinstall the graphics every time you compile the installation core.

c. Mouse speed is too fast to add (I am in / etc / xfce4 / xinitrc) Xset M 3 10

D.U disk cannot be used: The new core changes the name of the USB module, and the startup file /etc/rc.sint is also prepared for the old core and needs to be modified. When I compiled, I chose the following:

Modify /etc/modprobe.confalias USB-Controller UHCI-HCD, general intel, VIA USB with this modification /etc/rc.sinit If you don't have a USB keyboard and mouse, delete USB Keyboard and Part of USB Mouse adds ModProbe USB_Storage (without this, the U disk can not load, you will always appear NOT A Valid Block Device) E. Restart will turn off the hard disk (card, heart is tight) needs to upgrade to 2.6.7, Download 2.6.7 Patch, extract to / usr / src directory, run Patch -p0 <../patch.2.2.6.7 under /usr/src/linux2.6.2.2.6.7 recompile

f. Shutdown can not cut off the power compilation option as follows:

g. Install the ALSA driver? Why is the last value for each restart machine volume?

H.scsi settings (guarantee the minimum option for USB available)

Conclusion: The benefits of rising level in my machine: My xine now puts RMVB finally normal, I don't know if nvidia driver is still the core problem, anyway, I can see RMVB.

转载请注明原文地址:https://www.9cbs.com/read-13828.html

New Post(0)