|
|
| ahpama 2003-07-24, 6:57 pm |
| Hi Guys,
I just recently installed REDHAT 8.0 but I am not sure if it detected my two pentium processors.
My question is how will I know if it detected my two processors? what command will I issue?
Thanks. | |
| Boulware5 2003-07-24, 9:38 pm |
| cat /proc/cpuinfo
You can also check your kernel config to see if SMP support is built into the kernel. You would hope that during the Red Hat install it would detect it and create an SMP based kernel. But do the command I said first.
Can also see if the kernel recognized it during startup with:
dmesg | grep -i cpu | |
| ahpama 2003-07-25, 12:51 pm |
| quote: Originally posted by Boulware5
cat /proc/cpuinfo
You can also check your kernel config to see if SMP support is built into the kernel. You would hope that during the Red Hat install it would detect it and create an SMP based kernel. But do the command I said first.
Can also see if the kernel recognized it during startup with:
dmesg | grep -i cpu
I am not yet sure about the results how will I know if indeed really detected my two processors because based on the cpuinfo cmd i issue it says only cpu#0. when I issue the dmesg it doesn't show any relevant text that confirms it detected the two processors. can you please give me a hint on how to read. i will also post the result here later.
thanks | |
| Boulware5 2003-07-25, 4:25 pm |
| Well if you only see one processor it probably means it detected only one.
in your /usr/src/linux* directory check your .config file. You want to check for the setting CONFIG_SMP to see if it's set. If not, you found your problem and you will have to recompile your kernel to support dual processors. (it's not hard at all) | |
| ahpama 2003-07-25, 4:57 pm |
| quote: Originally posted by Boulware5
Well if you only see one processor it probably means it detected only one.
in your /usr/src/linux* directory check your .config file. You want to check for the setting CONFIG_SMP to see if it's set. If not, you found your problem and you will have to recompile your kernel to support dual processors. (it's not hard at all)
Here is the list of the command I issue:
[root@cnn etc]# cat /proc/cpuinfo
processor : 0
vendor_id : GenuineIntel
cpu family : 6
model : 1
model name : Pentium Pro
stepping : 9
cpu MHz : 200.005
cache size : 1024 KB
fdiv_bug : no
hlt_bug : no
f00f_bug : no
coma_bug : no
fpu : yes
fpu_exception : yes
cpuid level : 2
wp : yes
flags : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov
bogomips : 398.95
[root@cnn etc]# dmesg | grep -i cpu
Initializing CPU#0
CPU: Before vendor init, caps: 0000fbff 00000000 00000000, vendor = 0
CPU: L1 I cache: 8K, L1 D cache: 8K
CPU: L2 cache: 1024K
Intel machine check reporting enabled on CPU#0.
CPU: After vendor init, caps: 0000fbff 00000000 00000000 00000000
CPU: After generic, caps: 0000fbff 00000000 00000000 00000000
CPU: Common caps: 0000fbff 00000000 00000000 00000000
CPU: Before vendor init, caps: 0000fbff 00000000 00000000, vendor = 0
CPU: L1 I cache: 8K, L1 D cache: 8K
CPU: L2 cache: 1024K
Intel machine check reporting enabled on CPU#0.
CPU: After vendor init, caps: 0000fbff 00000000 00000000 00000000
CPU: After generic, caps: 0000fbff 00000000 00000000 00000000
CPU: Common caps: 0000fbff 00000000 00000000 00000000
CPU0: Intel Pentium Pro stepping 09
per-CPU timeslice cutoff: 2921.03 usecs.
enabled ExtINT on CPU#0
..... CPU clock speed is 200.0026 MHz.
cpu: 0, clocks: 666672, slice: 333336
CPU0< T0:666672,T1:333328,D:8,S:3333
36,C:666672>
I assumed it only detects one processor because of CPU#0 presence without the CPU#1.
I am using only Redhat 7.2. one more thing is that when I go to /usr/src/redhat i cant see any .config file.
[root@cnn etc]# cd /usr/src/
[root@cnn src]# ls
redhat
[root@cnn src]# cd redhat
[root@cnn redhat]# ls
BUILD RPMS SOURCES SPECS SRPMS
[root@cnn redhat]#
Thanks a lot Boulware5.
Regards | |
| Boulware5 2003-07-25, 5:08 pm |
| .config is a hidden file. When you see a dot in front of a file it means it is hidden. Use ls -a to see it. Then open it with vi or pico. | |
| ahpama 2003-07-25, 5:12 pm |
| quote: Originally posted by Boulware5
.config is a hidden file. When you see a dot in front of a file it means it is hidden. Use ls -a to see it. Then open it with vi or pico.
is it really in the /usr/src/redhat directory? | |
| Boulware5 2003-07-25, 5:16 pm |
| I couldn't tell you... I use my own kernel. Try locate .config to see what you see. If you dont have one, run make xconfigand check that way. | |
| ahpama 2003-07-27, 4:55 pm |
| quote: Originally posted by Boulware5
I couldn't tell you... I use my own kernel. Try locate .config to see what you see. If you dont have one, run make xconfigand check that way.
Hi,
It seems that Redhat 7.2 didn't detected the other processors. And the only option for me is to recompile the kernel. I am only a newbie in recompiling kernel and all i can see on the net is recompiling with LILO as the boot loader. But I used GRUB as my loader so i am kinda lost. can anybody here give me link to recompile kernel and have GRUB as its boot loader?
regards...
ahpama | |
| Boulware5 2003-07-27, 5:09 pm |
| quote: Originally posted by ahpama
Hi,
It seems that Redhat 7.2 didn't detected the other processors. And the only option for me is to recompile the kernel. I am only a newbie in recompiling kernel and all i can see on the net is recompiling with LILO as the boot loader. But I used GRUB as my loader so i am kinda lost. can anybody here give me link to recompile kernel and have GRUB as its boot loader?
regards...
ahpama
http://www.isi.edu/~weiye/system/guide/kernel.html
You do know that RedHat 9 is the latest and greatest right? | |
| ahpama 2003-08-04, 9:45 am |
| Hi,
I just recently recompile my kernel and I am stuck. SInce I still have the options on my old kernel on the grub.conf and i already added the line of the new kernel for me to choose. But when I restarted the machine i couldn't choose the new kernel i have created. The default one is being booted up by the machine. I know that this is the default but how can I choose the new kernel at the same time having an option to boot/choose safely from the old kernel.
Is it safe to remove or comment the "default=0" parameter on the grub.conf?
regards, |
|
|
|