Coder Social home page Coder Social logo

Comments (7)

lastweek avatar lastweek commented on June 2, 2024

Hi, it is mostly configuration issues rather than kernel bugs. Did you first copy .config from /boot and then do a make oldconfig?

from legoos.

anoyiuhu avatar anoyiuhu commented on June 2, 2024

Yes, the following is my kernel switch procedure in CentOS-7 (1) copy /boot/config-xxxx .config (2) make menuconfig/oldconfig (I tried both) (3) make -j; (4) make -j modules_install install

It's very weird to show nothing but a black screen after rebooting!

from legoos.

anoyiuhu avatar anoyiuhu commented on June 2, 2024

Hi, @lastweek
I have one question,
Why does legoos storage node have to run on the 3.11.1 kernel? Can we use other stable versions of the kernel?

from legoos.

Boon-Jun avatar Boon-Jun commented on June 2, 2024

I'm having troubles with this too. I tried setting up 3.11.1 on both CentOS & Ubuntu on the r320 cloud instance and the results are the same as what was described by @anoyiuhu. It will be great to get some updates on this!

from legoos.

lastweek avatar lastweek commented on June 2, 2024

Hi @anoyiuhu and @Boon-Jun,

Using 3.11.1 is due to kernel API compatibility issue. The storage node has two key modules, an Infiniband (IB) module and a lego storage monitor. When we built these modules, we were using 3.11.1 kernel, hence its APIs. Unfortunately, some IB and file kernel APIs were changed in later kernel releases. So these modules stuck with 3.11.1.

If you try a new kernel, you are likely to a lot compiler errors due to API mismatch. You can try to modify the code but it is a time-consuming process.

Can you guys tell me what's the filesystem in your CentOS and Ubuntu? I remember XFS has bugs.

from legoos.

anoyiuhu avatar anoyiuhu commented on June 2, 2024

Hi, @lastweek

I used xfs for centos7 and ext4 for ubuntu, respectively. I have three questions for your latest comments:

  1. If xfs doesn't work for LegoOS, which filesystem do you recommend for LegoOS storage node with 3.11.1.
  2. I have tried centos7.2 in virtualbox which was described in your GitHub readme. It succeeded in switching to linux 3.11.1 with xfs. So this system halt during reboot was not necessarily due to xfs
  3. According to news in LegoOS readme, it said that you have already deployed LegoOS in CloudLab, could you please share your configuration? (According to this issue, they used ubuntu14.04 in r320 and successfully rebooted the system. But CloudLab no longer provided ubuntu14.04.)

Looking forward to your reply.

Thanks!

from legoos.

Boon-Jun avatar Boon-Jun commented on June 2, 2024

As for me, I used xfs on centos7 and tried both ext3 & ext4 filesystems on ubuntu 18.04. My setup is entirely on cloudlab's r320 instances so it will definitely help if there are any details on how linux v3.11.1 is installed there.

from legoos.

Related Issues (17)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.