SOLUSI: SMP / multi-core tidak terdeteksi di Ubuntu

Beberapa waktu yang lalu saya baru menyadari bahwa sebuah server saya, yang ditaruh di datacenter SoftLayer.com, ternyata cuma terdeteksi 1 core/CPU oleh operating systemnya; yaitu Ubuntu 8.04 (hardy). Padahal spec server tersebut adalah Quad-core Xeon.

Karena sebelumnya SoftLayer.com juga keliru mendeploy server tersebut – saya pesan 4 GB RAM dan 500 GB HD, namun hanya mereka pasang separuhnya; maka saya kira mereka juga keliru dalam pemasangan CPU-nya ini. No problem, lalu saya kirim lagi support request kepada customer service mereka.

Ternyata, menurut mereka, sudah betul terpasang CPU Xeon quad-core. Lho, tapi kenapa tidak terdeteksi oleh Ubuntu ya ?

Setelah saya cek dengan perintah uname -a yang muncul adalah output sbb :

Linux xxx.abangadek.com 2.6.24-19-386

Kemudian saya menanyakan masalah ini di channel #ubuntu di server irc.freenode.com
Luar biasa, ternyata dalam waktu beberapa menit saja saya sudah mendapatkan solusinya, yaitu :

apt-get install linux-image-generic
shutdown -r now

Karena ada proses instalasi kernel baru, maka sebelum melakukan perintah-perintah tersebut diatas, saya backup dulu data-data yang ada di server tersebut. Setelah itu, saya ketikkan perintah-perintah tersebut, dan menunggu dengan harap-harap cemas.

Bukan apa-apa, 3 jam lagi akan peak-time di Amerika, dan akan tiba ratusan ribu pengunjung yang mendatangi berbagai situs yang di hosting di server tersebut. Kalau sampai ada masalah dan terus berlanjut sampai peak time tersebut, maka jelas ini akan menimbulkan banyak kesulitan.

Alhamdulillah, worst-case scenario tersebut tidak terjadi 🙂
Proses pergantian kernel ini berjalan dengan sangat mulus. Dalam waktu 10 menit saja server tersebut sudah online & live kembali.

Kini perintah uname -a menampilkan output sbb :

Linux xxx.abangadek.com 2.6.24-19-generic #1 SMP

Yesss…. dan pada output di perintah top, jika saya menekan angka 1 (satu), maka statistik untuk 4 buah core muncul. Tidak lagi cuma 1 core 🙂

Syukurlah tidak ada yang serius. Ternyata teknisi SoftLayer hanya keliru memasang kernel – dia pasang kernel linux-image-386, yang tidak mendukung SMP (Symmetric Multi Processing). Padahal, seperti yang dicantumkan diatas, seharusnya yang dipasang adalah kernel linux-image-generic

Happy, and easy, ending.
Semoga bermanfaat.

86 thoughts on “SOLUSI: SMP / multi-core tidak terdeteksi di Ubuntu

  1. Mas harry, tolong beri pencerahan donk… begini ceritanya, saya mau install suse11 dalam ubuntu 8.04 pk virtualbox bawaan reponya, tapi waktu mau running muncul pesan error spt ini :
    Make sure that the user has write permissions for /dev/vboxdrv by adding them to the vboxusers groups. You will need to logout for the change to take effect..
    VBox status code: -1909 (VERR_VM_DRIVER_NOT_ACCESSIBLE)

    Kenapa ya ? tolong dibantu… Mas wkt itu saya ikutan kopdar opensuse di rumah mas vavai. kalo mau iktan komunitas ubuntu yg gak cuman lewat forum/milis, tapi interaktif tatap muka dimana ya? sy tinggal di jakarta. thanks ya tolong kirim ke email sya.

  2. @agung – wah maaf komentarnya terlewat oleh saya. Tapi memang saya juga tidak begitu paham soal virtualbox juga.
    .
    Komunitas ubuntu tidak terlalu sering kopdar. Kalau ada yang mau kopdar, biasanya ada pengumumannya di milis.
    .
    Thanks

  3. Where else could anyone get that kind of information in such a complete way of writing? I have a presentation incoming week, and I am on the lookout for such information

  4. Thank you for another essential article. Where else could anyone get that kind of information in such a complete way of writing? I have a presentation incoming week, and I am on the lookout for such information

  5. Wah brow kalo soal ubuntu ane baru coba-coba nich… masih katro… tapi salut dech artikelnya keren.. ;-P

  6. Linux… kayaknya bagus ya..
    tapi aku masih setia ma windows.. hihihi. kali aja aku kapan2 mau coba linux. TQ infonya mas harry

  7. I know that computer is a necessary for most of people. People can’t work without computer. With the development of tech. More high speed computer was develped and people can improve the work easily. Happy every body.

  8. I hope you have a nice day! Good article, well written, very thought out. I look forward to your articles more time in the future.

  9. Can somebody tell me what this blog is about? Seems like there are a lot of comments and I couldn’t help but wonder why. Thanks.

  10. Nice post and this fill someone in on helped me alot in my college assignement. Thanks you seeking your information

    thank for you…

  11. Simply wanna tell that this is handy , Thanks for taking your time to write this. “The least of learning is done in the classrooms.” by Thomas Merton.

  12. My programmer is trying to convince me to move to .net from PHP. I have always disliked the idea because of the costs. But he’s tryiong none the less. I’ve been using Movable-type on several websites for about a year and am concerned about switching to another platform. I have heard good things about blogengine.net. Is there a way I can import all my wordpress posts into it? Any kind of help would be really appreciated!

  13. Right here is the perfect web site for anybody who would
    like to find out about this topic. You understand so much its almost hard to argue with you (not that I personally would want to…HaHa).
    You definitely put a new spin on a subject that has been written about
    for ages. Excellent stuff, just wonderful!

  14. whoah this weblog is fantastic i love studying your articles.
    Stay up the good work! You know, many persons are searching round for this info, you can aid them greatly.

  15. Very nice post. I just stumbled upon your blog and wished to
    say that I’ve really enjoyed browsing your blog posts.

    In any case I will be subscribing to your rss feed and I hope
    you write again very soon!

  16. Terrific work! This is the type of info that are supposed to be shared around the web.
    Shame on the seek engines for no longer positioning
    this post upper! Come on over and seek advice
    from my website . Thanks =)

  17. I am curious to find out what blog platform you have been utilizing?
    I’m experiencing some minor security issues with my latest blog and I would like to find something more safe.
    Do you have any solutions?

  18. Good blog you’ve got here.. It’s hard to find good quality
    writing like yours these days. I truly appreciate people like you!
    Take care!!

Leave a Reply

Your email address will not be published. Required fields are marked *