Closed astrom0 closed 7 years ago
It appears that you aren't running the CentOS plus kernel (kernel-plus) did you possibly forget to reboot?
On Jul 13, 2017 11:08 PM, "astrom0" notifications@github.com wrote:
Firstly a big thank you to ipilcher for this piece of work. Much appreciated.
My issue is that dracut is failing to build the kernel modules for n5550.
Before I launch into the issue, I want to demonstrate that I've got my setup squared away and it's all good to go. I've installed CentOS 7 as per my post here: https://forum.thecus.com/showthread.php?tid=7748&pid=73092#pid73092 http://url
Here's the release and kernel that the unit's running:
[thecus@N5550 ~]$ tail /etc/redhat-release CentOS Linux release 7.3.1611 (Core) [thecus@N5550 ~]$ uname -r 3.10.0-514.26.2.el7.x86_64
I applied the Quick Start https://github.com/ipilcher/ n5550/wiki/QuickStart-for-CentOS-7 http://url but initially had some difficulty with rpmbuild.
As an aside, the Quick Start at 6. Build the prerequisite packages refers to Fedora 21 for hddtemp. I went for the CentOS 7 version and pointed the relevant command to the appropriate file at: https://centos.pkgs.org/7/epel-x86_64/hddtemp-0.3-0.31. beta15.el7.x86_64.rpm.html http://url (If time permits, it would be a positive to get that part of the Quick Start updated.) Anyway, I got that all sorted and to demonstrate it's all good, check the system display here doing a reinstall:
[thecus@N5550 ~]$ sudo yum reinstall /home/rpmbuild/rpmbuild/RPMS/x86_64/libcip{,-devel}-0.1.1.5-1.el7.centos.x86_64.rpm Loaded plugins: fastestmirror, langpacks Examining /home/rpmbuild/rpmbuild/RPMS/x86_64/libcip-0.1.1.5-1.el7.centos.x86_64.rpm: libcip-0.1.1.5-1.el7.centos.x86_64 Examining /home/rpmbuild/rpmbuild/RPMS/x86_64/libcip-devel-0.1.1.5-1.el7.centos.x86_64.rpm: libcip-devel-0.1.1.5-1.el7.centos.x86_64 Resolving Dependencies --> Running transaction check ---> Package libcip.x86_64 0:0.1.1.5-1.el7.centos will be reinstalled ---> Package libcip-devel.x86_64 0:0.1.1.5-1.el7.centos will be reinstalled --> Finished Dependency Resolution
Dependencies Resolved
Package Arch Version Repository Size
Reinstalling: libcip x86_64 0.1.1.5-1.el7.centos /libcip-0.1.1.5-1.el7.centos.x86_64 28 k libcip-devel x86_64 0.1.1.5-1.el7.centos /libcip-devel-0.1.1.5-1.el7.centos.x86_64 7.0 k
Transaction Summary
Reinstall 2 Packages
Total size: 35 k Installed size: 35 k Is this ok [y/d/N]: y Downloading packages: Running transaction check Running transaction test Transaction test succeeded Running transaction Installing : libcip-0.1.1.5-1.el7.centos.x86_64 1/2 Installing : libcip-devel-0.1.1.5-1.el7.centos.x86_64 2/2 Verifying : libcip-0.1.1.5-1.el7.centos.x86_64 1/2 Verifying : libcip-devel-0.1.1.5-1.el7.centos.x86_64 2/2
Installed: libcip.x86_64 0:0.1.1.5-1.el7.centos libcip-devel.x86_64 0:0.1.1.5-1.el7.centos
Complete! [thecus@N5550 ~]$ sudo yum reinstall /home/rpmbuild/rpmbuild/RPMS/x86_64/hddtemp-0.3-0.33.beta15.el7.centos.x86_64.rpm Loaded plugins: fastestmirror, langpacks No Match for argument: /home/rpmbuild/rpmbuild/RPMS/x86_64/hddtemp-0.3-0.33. beta15.el7.centos.x86_64.rpm Loading mirror speeds from cached hostfile Error: Nothing to do [thecus@N5550 ~]$ sudo yum reinstall /home/rpmbuild/rpmbuild/RPMS/x86_64/n5550-0.3.1-1.el7.centos.x86_64.rpm Loaded plugins: fastestmirror, langpacks Examining /home/rpmbuild/rpmbuild/RPMS/x86_64/n5550-0.3.1-1.el7.centos.x86_64.rpm: n5550-0.3.1-1.el7.centos.x86_64 Resolving Dependencies --> Running transaction check ---> Package n5550.x86_64 0:0.3.1-1.el7.centos will be reinstalled --> Finished Dependency Resolution
Package Arch Version Repository Size Reinstalling: n5550 x86_64 0.3.1-1.el7.centos /n5550-0.3.1-1.el7.centos.x86_64 87 k
Transaction Summary Reinstall 1 Package
Total size: 87 k Installed size: 87 k Is this ok [y/d/N]: y Downloading packages: Running transaction check Running transaction test Transaction test succeeded Running transaction Installing : n5550-0.3.1-1.el7.centos.x86_64 1/1 Verifying : n5550-0.3.1-1.el7.centos.x86_64 1/1
Installed: n5550.x86_64 0:0.3.1-1.el7.centos
Complete!
So, looks good. Now comes the kicker. Here comes the result of Quick Start *Step
[thecus@N5550 ~]$ sudo dracut -f /boot/initramfs-$(uname -r).img /var/tmp/tmp.k1velDvt38 / make -C /lib/modules/3.10.0-514.26.2.el7.x86_64/build M=/var/tmp/tmp.k1velDvt38 modules make: /lib/modules/3.10.0-514.26.2.el7.x86_64/build: No such file or directory. St make: [all] Error 2 Failed to build n5550 kernel modules / /var/tmp/tmp.nkdbca0Owj / make -C /lib/modules/3.10.0-514.26.2.el7.x86_64/build M=/var/tmp/tmp.nkdbca0Owj modules make: /lib/modules/3.10.0-514.26.2.el7.x86_64/build: No such file or directory. St make: [all] Error 2 Failed to build n5550 kernel modules / Failed to install module leds_gpio
Broadcast message from systemd-journald@N5550 (Fri 2017-07-14 12:26:34 AEST):
dracut[22694]: Failed to install module leds_gpio
Message from syslogd@N5550 at Jul 14 12:26:34 ... dracut:Failed to install module leds_gpio
What I don't get is the line:
make: *** /lib/modules/3.10.0-514.26.2.el7.x86_64/build: No such file or directory.
I can see the file build inside the relevant directory, refer the detail below : [thecus@N5550 ~]$ ls -la /lib/modules/3.10.0-514.26.2.el7.x86_64/ total 2944 drwxr-xr-x. 7 root root 4096 Jul 12 17:07 . drwxr-xr-x. 4 root root 86 Jul 13 21:29 .. lrwxrwxrwx. 1 root root 43 Jul 12 17:05 build -> /usr/src/kernels/3.10.0-514.26.2.el7.x86_64
Looking forward to the answer. Hopefully there's a simple answer for this.
Cheers and thanks in advance .. ;-)
— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/ipilcher/n5550/issues/11, or mute the thread https://github.com/notifications/unsubscribe-auth/AFBV44LaokQO4NSReIA07Ijnj5jSsElBks5sNunSgaJpZM4OXzns .
I did reboot but the unit is set to auto login and the CentOS plus kernel is the 2nd selection in the GRUB menu, so with the default running to the first selection I had a bust ... face palm
All came good when I used the advice from here: https://wiki.centos.org/HowTos/Grub2
So, using that info I saved the default GRUB as index number 1, i.e. the 2nd menu position.
Once that was sorted, dracut ran as per expectation. After a reboot the LCD is providing system info. However, I'm seeing:
RAID STATUS ERROR: NOT AVAILABLE
TEMPERATURE STATUS ERROR: NOT AVAILABLE
Also the System Fan readout indicates 2,376 rpm which seems a touch high considering the ambient air temperature in the room is around 20deg.C.
Plus, I'm seeing the System Warning LED (that's the one with the exclamation mark ! in a circle) indicating Solid RED - "System Error" by the Thecus manual.
Thoughts?
On 07/14/2017 03:49 AM, astrom0 wrote:
Once that was sorted, dracut ran as per expectation. After a reboot the LCD is providing system info. However, I'm seeing:
RAID STATUS ERROR: NOT AVAILABLE
TEMPERATURE STATUS ERROR: NOT AVAILABLE
Does "journalctl -u freecusd" give you anything useful?
Also the System Fan readout indicates 2,376 rpm which seems a touch high considering the ambient air temperature in the room is around 20deg.C.
To be safe, the default configuration runs the fan at top speed. You can play with the value of /sys/devices/platform/it87.656/pwm3 to try to find a value that provides the right balance of noise and cooling for you. To permanently change the value, edit /usr/lib/modprobe.d/n5550.conf (or override it with a file in /etc/modprobe.d).
Plus, I'm seeing the System Warning LED (that's the one with the exclamation mark ! in a circle) indicating Solid RED - "System Error" by the Thecus manual.
The daemon is turning that on because of the RAID and temperature errors. (It uses the red LED for serious errors and the orange LED for "warnings.")
Firstly a big thank you to ipilcher for this piece of work. Much appreciated.
My issue is that dracut is failing to build the kernel modules for n5550.
Before I launch into the issue, I want to demonstrate that I've got my setup squared away and it's all good to go. I've installed CentOS 7 as per my post here: https://forum.thecus.com/showthread.php?tid=7748&pid=73092#pid73092
Here's the release and kernel that the unit's running:
I applied the Quick Start but initially had some difficulty with rpmbuild.
As an aside, the Quick Start at 6. Build the prerequisite packages refers to Fedora 21 for hddtemp. I went for the CentOS 7 version and pointed the relevant command to the appropriate file at: https://centos.pkgs.org/7/epel-x86_64/hddtemp-0.3-0.31.beta15.el7.x86_64.rpm.html (If time permits, it would be a positive to get that part of the Quick Start updated.) Anyway, I got that all sorted and to demonstrate it's all good, check the system display here doing a reinstall:
So, looks good. Now comes the kicker. Here comes the result of Quick Start Step 10. Rebuild the initial RAM disk :
What I don't get is the line:
I can see the file build inside the relevant directory, refer the detail below : [thecus@N5550 ~]$ ls -la /lib/modules/3.10.0-514.26.2.el7.x86_64/ total 2944 drwxr-xr-x. 7 root root 4096 Jul 12 17:07 . drwxr-xr-x. 4 root root 86 Jul 13 21:29 .. lrwxrwxrwx. 1 root root 43 Jul 12 17:05 build -> /usr/src/kernels/3.10.0-514.26.2.el7.x86_64
Looking forward to the answer. Hopefully there's a simple answer for this.
Cheers and thanks in advance .. ;-)