Welcome, Guest |
You have to register before you can post on our site.
|
Online Users |
There are currently 300 online users. » 0 Member(s) | 297 Guest(s) Bing, Google, Yandex
|
Latest Threads |
How to install Archboot i...
Forum: Network Problems
Last Post: Meup
2025-05-13, 01:41 PM
» Replies: 0
» Views: 510
|
clear logs in smoothwall
Forum: Security and Firewalls
Last Post: amanda63
2024-03-10, 03:27 PM
» Replies: 8
» Views: 89,152
|
I cannot install RedHat 8...
Forum: Redhat
Last Post: hybrid
2023-11-11, 01:01 PM
» Replies: 1
» Views: 42,499
|
How things are done, usin...
Forum: Xorg Problems
Last Post: ross
2023-09-04, 09:03 AM
» Replies: 0
» Views: 1,922
|
Im back.....
Forum: Hello
Last Post: anyweb
2021-01-17, 11:36 AM
» Replies: 1
» Views: 5,414
|
add mp3 plugin to xmms in...
Forum: Fedora
Last Post: anyweb
2021-01-17, 11:30 AM
» Replies: 11
» Views: 41,530
|
Configuring VSFTPd Server
Forum: FTP Server
Last Post: Johnbaca
2020-10-14, 10:25 AM
» Replies: 32
» Views: 118,508
|
Wolf won't play sound!
Forum: Game Problems
Last Post: Guest
2020-10-03, 05:51 PM
» Replies: 1
» Views: 56,287
|
Using git + python
Forum: How Do I?
Last Post: Clueless puppy
2020-08-21, 04:37 PM
» Replies: 0
» Views: 46,190
|
what does your nick mean ...
Forum: Hello
Last Post: volt
2020-08-06, 03:25 PM
» Replies: 28
» Views: 42,186
|
|
|
Debian 2.6 Kernel Compile How-To |
Posted by: Shadowcat - 2005-06-17, 09:03 PM - Forum: Debian
- Replies (3)
|
 |
WARNING!
A custom kernel compile is a very complicated procedure. Use this procedure only if there are no packages in the debian repository that can get your hardware/software configuration working for you. New users should read up on debian kernel compiles and kernel compiles in general before attempting this. This guide, its author(s), and/or contributors, are not responsible for any damage inflicted on your system by following these instructions. You compile and use a custom kernel at your own risk.
The following instructions detail a compile of a 2.6.xx kernel using The Debian Way. Please tell me if there are any errors/omissions, so that I can add them.
Note!
The following how-to assumes that you are running at least Debian 3.1, Sarge.
Step 1: Assuming that you have access to the internet and have installed a minimal debian install (netinstall iso), as root, type:
Code: example:~# aptitude -r install kernel-package ncurses-dev fakeroot wget bzip2 kernel-tree-2.6.8 alsa-source
This should install all the packages required for a successful compile. The alsa-source package is to ensure that you sound works when running on your custom kernel.
Step 2 (Optional): If you do not want to use the debianized kernel, you can download a newer kernel from kernel.org. This is what is done next:
Code: example:~# aptitude install ncftp
....
example:~# cd /usr/src
example:/usr/src# ncftp ftp.se.kernel.org
....
ncftp / > cd pub/linux/kernel/v2.6/
....
ncftp /pub/linux/kernel/v2.6/ > get linux-2.6.11.12.tar.bz2
....
Transfer Complete!
ncftp /pub/linux/kernel/v2.6/ > bye
....
Save? (yes/no) no
....
example:/usr/src#
Of course, use a mirror that is close to you (check for addresses on kernel.org) and grab the latest kernel version. At the time of this writing, it was 2.6.11.12.
Step 3: Now untar the linux and alsa source packs, and make the appropriate symlink.
Code: example:/usr/src# tar xvfj linux-2.6.11.12.tar.bz2
....
example:/usr/src# tar zvfj alsa-driver.tar.bz2
....
example:/usr/src# ln -s linux-2.6.11.12 linux
Step 4 (Optional): Edit the makefile.
Code: example:/usr/src# cd linux
example:/usr/src/linux# nano Makefile
You may want to edit the EXTRAVERSION clause to insert something more descriptive. For example:
Code: VERSION = 2
PATCHLEVEL = 6
SUBLEVEL = 11
EXTRAVERSION = .11-pentium-m
NAME=Woozy Beaver
Step 5: Now comes the tricky part, kernel configuration. There are three ways to configure the kernel to suit your needs. Each will be described below.
Code: example:/usr/src/linux# make config
This is the hardest way, and will present you with an almost endless stream of questions. Using this form of kernel compile assumes that you know exactly what you are doing. Answer one question wrong, and you have to start over. It is not recommended that you use this option.
Code: example:/usr/src/linux# make menuconfig
This way is a lot easier, and will present you with a menu driven configuration interface in your console. You can select the configuration options you want, and when you are done, you can save your config file and proceed directly to a compile. An internel help system for each item is also available if you are unsure as to whether you need a component or not.
Code: example:/usr/src/linux# make xconfig
This assumes that you have an X server available. The configuration interface is similar to that of menuconfig, but much easier to operate because it uses a graphical user interface. In debian, root cannot run X applications. Thus, after running this command, you have to run it again as a user.
Code: user@/usr/src/linux$ make xconfig &
Personally, this guide recommends that you use menuconfig, and if possible, xconfig.
When you are done configuring using xconfig, you have to save your configuration file in your home directory, and then, using the root account, copy it to your /usr/src/linux directory.
Code: example:/usr/src/linux# rm .config
example:/usr/src/linux# cp /home/user/myconfig .config
A few tips when configuring the kernel:
A. When a device driver is to be compiled into the kernel, it is designated by a star (menuconfig) or check (xconfig). When it is to be compiled as module, it is designated by an "M" (menuconfig), or round dot (xconfig).
B. Make sure that the IDE/SCSI and filesystem device drivers for your particular computer/root filesystem are compiled into the kernel. Otherwise your new kernel will not boot. This is done in "Device Drivers > Enhanced IDE/MFM/RLL disk/cdrom/tape/floppy support" and/or, "Device Drivers > SCSI device support", and "File systems" for filesystems.
For example, include support for IDE disk/cdrom/floppy support, along with ex3/reiserFS support, depending on which filesystem you use.
C. Make sure that the drivers for your particular graphics card is compiled into the kernel. Otherwise, you'll just get a blank screen. This is done in "Device Drivers > Character Devices" and "Device Drivers > Graphics support".
D. Compile all drivers for the hardware that is currently in use into the kernel. This will improve performance considerably. An exception to this is sound. All sound related components MUST be compiled as modules. Otherwise they will not work correctly.
Step 6: Now what we have all been waiting for, the kernel compile. After you have configured your kernel, and copied/moved the configuration file to the correct location (if using xconfig), type:
Code: example:/usr/src/linux# make-kpkg clean
....
example:/usr/src/linux# time make-kpkg -revision 2.6.11.12 -append-to-version -pentium-m kernel_image kernel_headers modules_image
....
Note: Multiple kernel compiles using the same source MUST use the same revision. The revision string, once set, cannot be changed. The -append-to-version option does the same thing as appending the EXTRAVERSION section in the makefile.
Now sit back and wait, this is going to take awhile. The time command is so that you can see how long it took for you to compile your kernel.
Step 7: If your kernel compiled successfully, it's time to install it. If it did not, go back and reconfigure the kernel, and repeat step 6. The following commands installs the completed debs. Obviously your files are going to be named differently.
Code: example:/usr/src/linux# cd ..
example:/usr/src# dpkg -i alsa-modules-2.6.11.12-0-pentium-m_1.0.8-7+2.6.11.11_i386.deb kernel-headers-2.6.11.12-0-pentium-m kernel-image-2.6.11.12-0-pentium-m_2.6.11.11_i386.deb
....
example:/usr/src#
IMPORTANT!
DO NOT uninstall your old kernel. You will most probably need it, since your newely compiled kernel will most likely contain fatal configuration errors.
Step 8: Now comes the moment of truth, the reboot. Type:
Code: example:/usr/src# reboot
Select the new kernel from your grub bootlist. If the system successfully boots, congratulations. If it does not, (this is why you SHOULD NOT uninstall a kernel until you have verified that the new one works), boot back with the working kernel, reconfigure, and try again.
|
|
|
new features for linux-noob.com ? |
Posted by: anyweb - 2005-06-17, 02:13 PM - Forum: General Chat
- Replies (4)
|
 |
would you be interested in any of these features being added to linux-noob.com
if so give us your reasons why/why not
i believe all of these additional features cost $ but if enough people are interested anything can be considered
blogging for all members - [/url]http://www.invisionblog.com/?features
invision gallery - [url=http://www.invisiongallery.com/?features]http://www.invisiongallery.com/?features
one thing i dont like is you pay a fee then yearly subscription fees, seems unfair to me and infact i think that even applies to this forums software, dunno yet...
so what do you guys think ?
cheers
anyweb
|
|
|
PHP 4.4.0RC1 |
Posted by: seeno - 2005-06-17, 04:25 AM - Forum: LAMP
- Replies (2)
|
 |
Well, I was doing an update checkup to my apache/php/mysql versions, and on php.net this new PHP version was on the top of the news list.
Quote:PHP 4.4.0RC1 Available
[14-Jun-2005]We just released the first release candidate for PHP 4.4.0. This is a bug-fix only release, the increased middle digit is needed because this release changes PHP's Internal API that causes existing third-party binary extensions to be incompatible with the new version.
This release address a major problem within PHP concerning references. If references were used in a wrong way, PHP would often create memory corruptions which would not always surface and be visible. In other cases it can cause variables and objects to change type or class. If you encountered strange behavior like this, this release might fix it.
Besides addressing this reference related bug, 46 other bugs are fixed. Please test this release and report any bugs or problems in our bugsystem (after searching first). You can find 4.4.0 RC1 at [/url][url=http://qa.php.net/~derick/]http://qa.php.net/~derick/
I was wondering if this version was safe? What made me doubt was that it wasn't listed in the Downloads section and there was no md5sum for me to check it against the file.
Just wondering... [img]<___base_url___>/uploads/emoticons/default_ph34r.png[/img]
Paranoia sucks. :P
|
|
|
Audio Driver for Fedora Core 4 |
Posted by: JerLasVegas - 2005-06-16, 07:12 PM - Forum: Audio and Video
- Replies (8)
|
 |
I have, what Windows XP, reports as a Conexant AC-Link Audio card in my Gateway 7324gz laptop computer.
In the Details Section, the Device Insance ID is:
PCI\VEN_8086&DEV_24c5&SUBSYS_202F161F&REV_03\3&267A616A&0&FD
In the Resources Section:
I/O Range E400-E4FF
EE80-EEBF
Memory Range E02FF800 - E02FF9FF
Memory Range E02FF400 - E02FF4FF
IRQ 17
It works fine in Windows XP.
In Fedora Core 4, when I use detect sound card, the soundcard is detected as :
Intel
Corporation 82801DB/DBL/DBM (ICH/ICH4-L/ICH4-M) AC'97 Audio Controller
snd-intel8x0
lsmod lists this related information:
snd_intel8x0m 22084 0
snd_intel8x0 36160 1
snd_ac97_codec 74744 2 snd_intel8x0m,snd_intel8x0
snd_seq_oss 36608 0
snd_seq_midi_event 11776 1 snd_seq_oss
snd_seq 55184 4 snd_seq_oss,snd_seq_midi_event
snd_seq_device 13068 2 snd_seq_oss,snd_seq
snd_pcm_oss 55840 0
snd_mixer_oss 23040 1 snd_pcm_oss
snd_pcm 93700 5 snd_intel8x0m,snd_intel8x0,snd_ac97_codec,snd_pc m_oss
snd_timer 29188 2 snd_seq,snd_pcm
snd 58212 11 snd_intel8x0m,snd_intel8x0,snd_ac97_codec,snd_s eq_oss,snd_seq,snd_seq_device,snd_pcm_oss,snd_mixer_oss,snd_pcm,snd_timer
soundcore 13792 1 snd
snd_page_alloc 14212 3 snd_intel8x0m,snd_intel8x0,snd_pcm
When I press test sound, the application needs to be force quitted becuase it crashes.
Gateway's specifications page for this notebook report this card as:
PC2001 compliant AC' 97 audio
The full specifications are here: [/url][url=http://support.gateway.com/s/Mobile/Gatewa...103099sp3.shtml]http://support.gateway.com/s/Mobile/Gatewa...103099sp3.shtml
Does anyone have any ideas on how to get the audio working with Linux?
|
|
|
dns delegation |
Posted by: hijinks - 2005-06-16, 05:58 PM - Forum: DNS and DHCP
- Replies (2)
|
 |
This is pretty popular in the shell provider land. You have a host and you want to delegate a subdomain of that domain out to a friend to have ownership over.
So say we have a basic domain called jy.com
Now say we have a friend that wants to take ownership over likes.jy.com.. Well this is actually VERY easy to do.
First we want to add the following lines into the jy.com zone
Code: likes IN NS ns1.likes.jy.com
likes IN NS ns2.likes.jy.com
ns1.likes IN A 33.44.55.66
ns2.likes IN A 33.44.55.67
Ok so as you see the first two lines say send all request to likes.jy.com to ns1/ns2.likes.jy.com
Then the next two lines tell them what IP those are at. Those ip address should be the other person's DNS servers. You can have more then 2.
Then just setup the domain like normal following something like
[/url][url=<___base_url___>/index.php?showtopic=694][/url][url=<___base_url___>/index.php?showtopic=694]https://www.linux-noob.com/forums/index.php?showtopic=694
Instead of using jy.com.. you want to make a domain called likes.jy.com and then you can do things like www.likes.jy.com
|
|
|
keyboard problem |
Posted by: modernbob - 2005-06-14, 08:05 PM - Forum: Fedora
- Replies (4)
|
 |
After I updated to FC4 the number pad part of my keyboard isn't working. I have plugged this keyboard into a winxp machine and it works fine. I am assuming that there is a problem somewhere with keyboard set up, perhaps xorg.conf? Anyone have any idea's?
|
|
|
|