Posts: 45
hobbyist7890
Joined: 24 Apr 2016
#31
The 4.8.10 seems to work fine. I haven't tested much and have a very minimal installation.

Code: Select all

System:    Host: anti151 Kernel: 4.8.10-antix.1-amd64-smp x86_64 (64 bit) Desktop: N/A 
           Distro: antiX-15.1_x64-base Killah P 19 February 2016 
Repos:     Active apt sources in file: / etc/apt/sources.list.d/antix.list
           deb http://antix.daveserver.info/jessie jessie main nosystemd dev
           Active apt sources in file: / etc/apt/sources.list.d/debian.list
           deb http://ftp.us.debian.org/debian/ jessie main contrib non-free
           deb http://security.debian.org/ jessie/updates main contrib non-free
Posts: 48
myway_1
Joined: 26 Oct 2016
#32
Hello,

My system is not booting after upgrading to the 4.8.10-gnu-antix.1-amd64-smp.

I had previously successfully upgraded to 4.6.2-gnu-antix.1-amd64-smp and can still boot using that kernel

boot messages:

Image
Posts: 4,164
rokytnji
Joined: 20 Feb 2009
#33
Mine is.

Code: Select all

$ inxi -b
System:    Host: biker Kernel: 4.8.10-antix.1-686-smp-pae i686 (32 bit) Desktop: IceWM 1.3.8
           Distro: antiX-15-V_386-full Killah P 30 June 2015
Machine:   System: LENOVO (portable) product: 2347DS2 v: ThinkPad T430
           Mobo: LENOVO model: 2347DS2 UEFI [Legacy]: LENOVO v: G1ET41WW (1.16 ) date: 05/25/2012
Battery    BAT0: charge: 34.2 Wh 99.9% condition: 34.2/56.2 Wh (61%)
CPU:       Dual core Intel Core i5-3320M (-HT-MCP-) speed/max: 1218/3300 MHz
Graphics:  Card: Intel 3rd Gen Core processor Graphics Controller
           Display Server: X.Org 1.16.4 drivers: intel (unloaded: fbdev,vesa) Resolution: 1600x900@60.01hz
           GLX Renderer: Mesa DRI Intel Ivybridge Mobile x86/MMX/SSE2 GLX Version: 3.0 Mesa 10.3.2
Network:   Card-1: Intel 82579LM Gigabit Network Connection driver: e1000e
           Card-2: Intel Centrino Advanced-N 6205 [Taylor Peak] driver: iwlwifi
Drives:    HDD Total Size: 320.1GB (20.8% used)
Info:      Processes: 175 Uptime: 1:13 Memory: 356.2/15936.9MB Client: Shell (bash) inxi: 2.3.1 
I guess there is a right way and then there is a myway. __{{emoticon}}__

I am not sure where you have messed up the install of the new kernel. It is saying a uuid does not exist.

Code: Select all

$ ls -l /dev/disk/by-uuid/
total 0
lrwxrwxrwx 1 root root 10 Dec  1 07:21 45720f5c-3d28-4e6d-a06d-9ce4a9fe5370 -> ../../sda3
lrwxrwxrwx 1 root root 10 Dec  1 07:21 685d85b2-6651-49ed-928c-d5e17f70f500 -> ../../sda1
lrwxrwxrwx 1 root root 10 Dec  1 07:21 8c692b69-46f7-48ef-abc9-e6963655e259 -> ../../sda5
lrwxrwxrwx 1 root root 10 Dec  1 07:21 8d150b09-c903-4b7d-9326-7b88e7ac84f2 -> ../../sda2
lrwxrwxrwx 1 root root 10 Dec  1 07:21 b76696e8-11ba-4177-970b-0d237aa5a8ae -> ../../sda6
Posts: 4,164
rokytnji
Joined: 20 Feb 2009
#34
When in your shoes. I just uninstall the kernel image and headers and live with what I have. Newer kernels are usually for newer gear and on my older
computers. Some of the newer kernels won't play nice with them either. So I just roll with a 3.16 and continue computer tasks.

Unless you have bleeding edge or new kits. You can live without the 4.8 kernel. Or not. Up to you.
Posts: 48
myway_1
Joined: 26 Oct 2016
#35
rokytnji wrote:When in your shoes. I just uninstall the kernel image and headers and live with what I have. Newer kernels are usually for newer gear and on my older
computers. Some of the newer kernels won't play nice with them either. So I just roll with a 3.16 and continue computer tasks.

Unless you have bleeding edge or new kits. You can live without the 4.8 kernel. Or not. Up to you.
My PC was introduced about 18 months ago. It is very-low-spec but may benefit from a new kernel.
Posts: 48
myway_1
Joined: 26 Oct 2016
#36
Unfortunately myway is too often the wrongway, haha!

Here is output showing the UUID does exist. I have antiX installed on two drives. I select the one I want to use in the grub menu.That didn't cause a problem with the previous upgrade but it may be pertinent..

Code: Select all

ls -l /dev/disk/by-uuid/
total 0
lrwxrwxrwx 1 root root 15 Dec  1 09:33 202977db-50f5-4498-8ba9-3c28357c1f55 -> ../../mmcblk2p3
lrwxrwxrwx 1 root root 15 Dec  1 09:33 8be482e3-3a1f-45e3-ae02-a4a512123c99 -> ../../mmcblk0p1
lrwxrwxrwx 1 root root 10 Dec  1 09:33 98B6F92CB6F90B8E -> ../../sda1
lrwxrwxrwx 1 root root 15 Dec  1 09:33 B3F6-4C1E -> ../../mmcblk0p3
lrwxrwxrwx 1 root root 15 Dec  1 09:33 EC06-31EE -> ../../mmcblk2p1
lrwxrwxrwx 1 root root 15 Dec  1 09:33 f90df60a-c3c9-43eb-953f-4f1bce05a54c -> ../../mmcblk2p2
Posts: 4,164
rokytnji
Joined: 20 Feb 2009
#37
Read your whole error message. Line by line.

It pretty much explains a module is missing . Hence no boot. I usually use the locate command when looking for something like

Code: Select all

$ locate ehci-orion
/usr/src/linux-headers-4.6.2-antix.1-686-smp-pae/include/linux/platform_data/usb-ehci-orion.h
/usr/src/linux-headers-4.8.10-antix.1-686-smp-pae/include/linux/platform_data/usb-ehci-orion.h
I am not standing next to you. So take my post as a crude bikers joke. But I am guessing myway decided headers were not needed when he installed the 4.8 image file.
Posts: 45
hobbyist7890
Joined: 24 Apr 2016
#38
I had to add the 'dev' packages to the 'main' and 'nosystemd' for the antix repo because the udev wouldn't work with the 4.8 kernels. Maybe that is the reason for the UUID problem.

The gnu kernel omits some modules in the typical 'free for most humans' non-free firmware packages. I avoid the gnu kernel and add the missing firmware modules to make sure my hardware works correctly.

The bootloader in the UEFI System Partition needs to be updated for every kernel and that isn't automatic the way the Legacy mode works at least on my setups. The Grub will fail unless updated.

There should be two bootloaders already installed if there are two dists installed and each Grub should have an option for both dists so at least one might work now. I can use the F8 key during boot to see the bootloader choices. If not you can run update-grub and something similar to the following grub-install command to search for the other distribution and maybe get the stubborn dist to boot unless the udev is the problem. There shouldn't be a problem if the old kernel is still available in the Grub menu. Be sure there is a unique bootloader-id for each distribution or they will problably overwrite each other.

Code: Select all

grub-install --target=x86_64-efi --efi-directory=/boot/efi --bootloader-id=antix
Posts: 48
myway_1
Joined: 26 Oct 2016
#39
rokytnji wrote:Read your whole error message. Line by line.

It pretty much explains a module is missing . Hence no boot. I usually use the locate command when looking for something like

Code: Select all

$ locate ehci-orion
/usr/src/linux-headers-4.6.2-antix.1-686-smp-pae/include/linux/platform_data/usb-ehci-orion.h
/usr/src/linux-headers-4.8.10-antix.1-686-smp-pae/include/linux/platform_data/usb-ehci-orion.h
I am not standing next to you. So take my post as a crude bikers joke. But I am guessing myway decided headers were not needed when he installed the 4.8 image file.
haha! true, i didn't install headers. I was going to go back and do that. The lack of headers didn't effect booting with 4.6, but maybe it does with 4.8. So I guess I will use the 4.6 kernel to update again to 4.8 but this time also update the headers before rebooting.

edit: 4.8 kernel is already there. got the headers. looks okay will try to reboot

Code: Select all

sudo apt-get install linux-headers-4.8.10-gnu-antix.1-amd64-smp
Reading package lists... Done
Building dependency tree       
Reading state information... Done
The following NEW packages will be installed:
  linux-headers-4.8.10-gnu-antix.1-amd64-smp
0 upgraded, 1 newly installed, 0 to remove and 1 not upgraded.
Need to get 10.4 MB of archives.
After this operation, 73.3 MB of additional disk space will be used.
Get:1 http://antix.daveserver.info/jessie/ jessie/main linux-headers-4.8.10-gnu-antix.1-amd64-smp amd64 4.8.10-gnu-antix.1-amd64-smp-1 [10.4 MB]
Fetched 10.4 MB in 23s (434 kB/s)                                                                                  
Selecting previously unselected package linux-headers-4.8.10-gnu-antix.1-amd64-smp.
(Reading database ... 142401 files and directories currently installed.)
Preparing to unpack .../linux-headers-4.8.10-gnu-antix.1-amd64-smp_4.8.10-gnu-antix.1-amd64-smp-1_amd64.deb ...
Unpacking linux-headers-4.8.10-gnu-antix.1-amd64-smp (4.8.10-gnu-antix.1-amd64-smp-1) ...
Setting up linux-headers-4.8.10-gnu-antix.1-amd64-smp (4.8.10-gnu-antix.1-amd64-smp-1) ...
Posts: 48
myway_1
Joined: 26 Oct 2016
#40
Well, heck! That didn't work. And I already have everything that locate ehci-orion output.

edit: unless the"1 not upgraded" is the problem

Code: Select all

locate ehci-orion
/usr/src/linux-headers-4.4.10-antix.1-amd64-smp/include/linux/platform_data/usb-ehci-orion.h
/usr/src/linux-headers-4.4.10-gnu-antix.1-amd64-smp/include/linux/platform_data/usb-ehci-orion.h
/usr/src/linux-headers-4.6.2-gnu-antix.1-amd64-smp/include/linux/platform_data/usb-ehci-orion.h
joe@stick:~
$ sudo apt-get install linux-headers-4.4.10-antix.1-amd64-smp
[sudo] password for joe: 
Reading package lists... Done
Building dependency tree       
Reading state information... Done
linux-headers-4.4.10-antix.1-amd64-smp is already the newest version.
0 upgraded, 0 newly installed, 0 to remove and 1 not upgraded.
joe@stick:~
$ sudo apt-get install linux-headers-4.4.10-gnu-antix.1-amd64-smp
Reading package lists... Done
Building dependency tree       
Reading state information... Done
linux-headers-4.4.10-gnu-antix.1-amd64-smp is already the newest version.
0 upgraded, 0 newly installed, 0 to remove and 1 not upgraded.
joe@stick:~
$ sudo apt-get install linux-headers-4.6.2-gnu-antix.1-amd64-smp
Reading package lists... Done
Building dependency tree       
Reading state information... Done
linux-headers-4.6.2-gnu-antix.1-amd64-smp is already the newest version.
0 upgraded, 0 newly installed, 0 to remove and 1 not upgraded.
Posts: 48
myway_1
Joined: 26 Oct 2016
#41
hobbyist7890 wrote:I had to add the 'dev' packages to the 'main' and 'nosystemd' for the antix repo because the udev wouldn't work with the 4.8 kernels. Maybe that is the reason for the UUID problem.

The gnu kernel omits some modules in the typical 'free for most humans' non-free firmware packages. I avoid the gnu kernel and add the missing firmware modules to make sure my hardware works correctly.

The bootloader in the UEFI System Partition needs to be updated for every kernel and that isn't automatic the way the Legacy mode works at least on my setups. The Grub will fail unless updated.

There should be two bootloaders already installed if there are two dists installed and each Grub should have an option for both dists so at least one might work now. I can use the F8 key during boot to see the bootloader choices. If not you can run update-grub and something similar to the following grub-install command to search for the other distribution and maybe get the stubborn dist to boot unless the udev is the problem. There shouldn't be a problem if the old kernel is still available in the Grub menu. Be sure there is a unique bootloader-id for each distribution or they will problably overwrite each other.

Code: Select all

grub-install --target=x86_64-efi --efi-directory=/boot/efi --bootloader-id=antix
You're right, I have two bootloaders. One of them doesn't do anything when I click on it (that's the one that pertains to this subject distro which would be expected given your statement above) The bootloader that works pertains to the other antix distro. This doesn't matter to me since I can use it to access either distro (unless it's what's causing me to have to use the 4.6 kernel instead of the 4.8 kernel)
Posts: 1,445
skidoo
Joined: 09 Feb 2012
#42
great post, hobbyist7890, quite enlightening. Thanks!
Posts: 48
myway_1
Joined: 26 Oct 2016
#43
I did a fresh install and deleted the second antix install, so now there is only one antix.

This time I went with testing repos - removed contrib and non-free

did dist-upgrade

used synaptic to upgrade kernel and headers to 4.8 gnu-antix-sid-amd64

same problem

used synaptic to add kernel and headers to 4.6 gnu-antix-sid-amd64

worked fine.

so 4.4 works, 4.6 works, 4.8 does not work.

I would like to use 4.8 because my computer is almost new and may benefit from recent kernel.
Posts: 45
hobbyist7890
Joined: 24 Apr 2016
#44
Yes, 4.8.10 should work better than 4.6.2. Did you try the 'dev' packages in the antix repo? The eudev happens automatically. Compare with my Repos list below. Check in / etc / apt / sources.list.d / antix.list

Code: Select all

System:    Host: antiX16 Kernel: 4.8.10-antix-sid.1-amd64-smp x86_64 (64 bit) Desktop: N/A
           Distro: antiX-16-a1-xorg-sid_x64-core ????? 19 February 2016
Machine:   Device: portable System: Dell product: Studio 1558 v: A08
           Mobo: Dell model: 0G939P v: A08 BIOS: Dell v: A08 date: 07/22/2010
Battery    BAT0: charge: 2.0 Wh 98.8% condition: 2.0/5.2 Wh (39%)
CPU:       Dual core Intel Core i3 M 370 (-HT-MCP-) cache: 3072 KB 
           clock speeds: max: 2399 MHz 1: 933 MHz 2: 933 MHz 3: 1066 MHz 4: 1599 MHz
Graphics:  Card: Intel Core Processor Integrated Graphics Controller
           Display Server: X.org 1.18.4 driver: intel Resolution: 136x39
Audio:     Card Intel 5 Series/3400 Series High Definition Audio driver: snd_hda_intel
           Sound: Advanced Linux Sound Architecture v: k4.8.10-antix-sid.1-amd64-smp
Network:   Card-1: Qualcomm Atheros AR928X Wireless Network Adapter (PCI-Express) driver: ath9k
           IF: wlan0 state: up mac: 00:21:63:b6:b7:72
           Card-2: Realtek RTL8111/8168/8411 PCI Express Gigabit Ethernet Controller driver: r8169
           IF: eth0 state: down mac: f0:4d:a2:55:ce:f9
Drives:    HDD Total Size: 250.1GB (2.9% used)
           ID-1: /dev/sda model: Samsung_SSD_850 size: 250.1GB
Partition: ID-1: / size: 25G used: 3.3G (15%) fs: ext4 dev: /dev/sda5
           ID-2: swap-1 size: 4.00GB used: 0.00GB (0%) fs: swap dev: /dev/sda2
Sensors:   System Temperatures: cpu: 33.0C mobo: 0.0C
           Fan Speeds (in rpm): cpu: N/A
Repos:     Active apt sources in file: / etc/apt/sources.list.d/antix.list
           deb [ arch=amd64 ] http://antix.daveserver.info/testing testing main nosystemd dev
           Active apt sources in file: / etc/apt/sources.list.d/debian.list
           deb [ arch=amd64 ] http://ftp.us.debian.org/debian/ testing main contrib non-free
Info:      Processes: 141 Uptime: 1 min Memory: 93.1/3754.3MB Init: SysVinit runlevel: 5
           Client: Shell (bash) inxi: 2.3.4 
Posts: 48
myway_1
Joined: 26 Oct 2016
#45
hobbyist7890 wrote:Yes, 4.8.10 should work better than 4.6.2. Did you try the 'dev' packages in the antix repo? The eudev happens automatically. Compare with my Repos list below. Check in / etc / apt / sources.list.d / antix.list
[/code]
No, I didn't because I didn't know how. Thanks for showing your example. Now I do know how. So I'll give it a go. Once I add 'dev' and do an update, do I just install the kernel and headers or do I need to do a dist-upgrade first? Do I need to update-grub?

Thanks for your help.

Joe