Jump to content


Error Updating Linux Kernel


  • Please log in to reply
32 replies to this topic

#1 OFFLINE   ebrke

ebrke

    Board Bigwig

  • Forum MVP
  • 2,708 posts

Posted 08 July 2017 - 02:56 PM

I know very few here use openSUSE, but here goes. When I allow automatic security update to run I get this error:

Quote

Subprocess failed. Error: RPM failed: error: unpacking of archive failed on file /lib/modules/4.4.74-18.20-default/kernel/drivers/ptp/ptp.ko: cpio: rename failed - No space left on device
error: kernel-default-4.4.74-18.20.1.x86_64: install failed
Yet uname tells me:

Quote

ebrke@linux-vida:~> uname -r
4.4.74-18.20-default
Grub also confirms at boot that kernel is 4.4.74-18.20 (I have the option of starting current and previous versions).

Anyone got any ideas?
Registered Linux User 344759

#2 OFFLINE   abarbarian

abarbarian

    Thread Kahuna

  • Forum MVP
  • 5,392 posts

Posted 08 July 2017 - 06:44 PM

View Postebrke, on 08 July 2017 - 02:56 PM, said:

I know very few here use openSUSE, but here goes. When I allow automatic security update to run I get this error:

Quote

Subprocess failed. Error: RPM failed: error: unpacking of archive failed on file /lib/modules/4.4.74-18.20-default/kernel/drivers/ptp/ptp.ko: cpio: rename failed - No space left on device
error: kernel-default-4.4.74-18.20.1.x86_64: install failed
Yet uname tells me:

Quote

ebrke@linux-vida:~> uname -r
4.4.74-18.20-default
Grub also confirms at boot that kernel is 4.4.74-18.20 (I have the option of starting current and previous versions).

Anyone got any ideas?

A quick google throws up nothing. May be an enquiry at the Suse forums might be a better bet.

Is your pc working ok ?

:breakfast:
Install ARCH
You'll never need to install it again
"I did and I'm really happy"

Posted Image~~~~~~~~~~~~~Posted Image

#3 OFFLINE   sunrat

sunrat

    Thread Kahuna

  • Forum Moderators
  • 5,306 posts

Posted 08 July 2017 - 09:14 PM

I'm guessing it's not the same kernel, 4.4.74-18.20-default vs 4.4.74-18.20.1.x86_64
This bit looks the most worrying:
No space left on device

registered Linux user number 324659  || The importance of Reading The *Fine* Manual! :D
Posted ImagePosted ImagePosted ImagePosted ImageKXStudio
For the things we have to learn before we can do them, we learn by doing them.

#4 OFFLINE   securitybreach

securitybreach

    CLI Phreak

  • Forum Admins
  • 22,985 posts

Posted 08 July 2017 - 09:28 PM

View Postsunrat, on 08 July 2017 - 09:14 PM, said:

I'm guessing it's not the same kernel, 4.4.74-18.20-default vs 4.4.74-18.20.1.x86_64
This bit looks the most worrying:
No space left on device

Check your partitions as one one of them is full. Run
df - h


This could be a misconfiguration but one of your drives is 100% full so it cannot be mounted.
Posted ImagePosted Image Posted Image
CNI Radio/G+ Profile/Configs/PGP Key/comhack π

"Do you begin to see, then, what kind of world we are creating? It is the exact opposite of the stupid hedonistic Utopias that the old reformers imagined. A world of fear and treachery and torment, a world of trampling and being trampled upon, a world which will grow not less but more merciless as it refines itself. Progress in our world will be progress toward more pain." -George Orwell, 1984

#5 OFFLINE   ebrke

ebrke

    Board Bigwig

  • Forum MVP
  • 2,708 posts

Posted 09 July 2017 - 01:21 PM

I did that yesterday and didn't find any partition anywhere close to 100%:

Quote

Filesystem   Size  Used Avail Use% Mounted on
devtmpfs 1.5G 0  1.5G   0% /dev
tmpfs    1.5G 0  1.5G   0% /dev/shm
tmpfs    1.5G  2.4M  1.5G   1% /run
tmpfs    1.5G 0  1.5G   0% /sys/fs/cgroup
/dev/sda6 20G  7.4G   13G  38% /
/dev/sda6 20G  7.4G   13G  38% /.snapshots
/dev/sda6 20G  7.4G   13G  38% /var/cache
/dev/sda6 20G  7.4G   13G  38% /var/lib/mysql
/dev/sda6 20G  7.4G   13G  38% /tmp
/dev/sda6 20G  7.4G   13G  38% /boot/grub2/i386-pc
/dev/sda6 20G  7.4G   13G  38% /var/log
/dev/sda6 20G  7.4G   13G  38% /var/lib/mariadb
/dev/sda6 20G  7.4G   13G  38% /srv
/dev/sda6 20G  7.4G   13G  38% /boot/grub2/x86_64-efi
/dev/sda6 20G  7.4G   13G  38% /var/tmp
/dev/sda6 20G  7.4G   13G  38% /var/lib/mailman
/dev/sda6 20G  7.4G   13G  38% /var/lib/pgsql
/dev/sda6 20G  7.4G   13G  38% /var/lib/machines
/dev/sda6 20G  7.4G   13G  38% /var/lib/named
/dev/sda6 20G  7.4G   13G  38% /var/spool
/dev/sda6 20G  7.4G   13G  38% /opt
/dev/sda6 20G  7.4G   13G  38% /var/crash
/dev/sda6 20G  7.4G   13G  38% /var/opt
/dev/sda6 20G  7.4G   13G  38% /usr/local
/dev/sda6 20G  7.4G   13G  38% /var/lib/libvirt/images
/dev/sda7    378G  2.3G  374G   1% /home
tmpfs    297M   12K  297M   1% /run/user/1000
Also YAST shows install history that system is at 4.4.74-18.20.1:
Posted Image
Everything seems to be working all right--I'm baffled.
Registered Linux User 344759

#6 ONLINE   raymac46

raymac46

    Discussion Deity

  • Forum MVP
  • 3,337 posts

Posted 09 July 2017 - 02:20 PM

Something is buggy about YaST I think. I had the same problem updating in Virtual Box with LEAP 42.2 and I kept aborting and reloading until everything went through. It took a long time to reboot but here I am.

System: Host: linux-cizf Kernel: 4.4.74-18.20-default x86_64 (64 bit gcc: 4.8.5)
		 Desktop: KDE Plasma 5.8.6 (Qt 5.6.1) Distro: openSUSE Leap 42.2
Machine: Device: kvm System: innotek product: VirtualBox v: 1.2
		 Mobo: Oracle model: VirtualBox v: 1.2
		 BIOS: innotek v: VirtualBox date: 12/01/2006
CPU:	 Dual core Intel Core i5-2320 (-MCP-) cache: 6144 KB
		 flags: (lm nx sse sse2 sse3 sse4_1 sse4_2 ssse3) bmips: 11972
		 clock speeds: max: 2993 MHz 1: 2993 MHz 2: 2993 MHz
Graphics: Card: InnoTek Systemberatung VirtualBox Graphics Adapter bus-ID: 00:02.0
		 Display Server: X.org 1.18.3 drivers: modesetting,vboxvideo (unloaded: fbdev,vesa)
		 Resolution: 88x30
Audio:	 Card Intel 82801AA AC'97 Audio Controller
		 driver: snd_intel8x0 ports: d100 d200 bus-ID: 00:05.0
		 Sound: Advanced Linux Sound Architecture v: k4.4.74-18.20-default
Network: Card: Intel 82540EM Gigabit Ethernet Controller
		 driver: e1000 v: 7.3.21-k8-NAPI port: d010 bus-ID: 00:03.0
		 IF: eth0 state: up speed: 1000 Mbps duplex: full mac: <filter>
Drives: HDD Total Size: 17.2GB (69.3% used)
		 ID-1: /dev/sda model: VBOX_HARDDISK size: 17.2GB
Partition: ID-1: / size: 14G used: 9.2G (67%) fs: btrfs dev: /dev/sda2
		 ID-2: /opt size: 14G used: 9.2G (67%) fs: btrfs dev: /dev/sda2
		 ID-3: /home size: 14G used: 9.2G (67%) fs: btrfs dev: /dev/sda2
		 ID-4: /tmp size: 14G used: 9.2G (67%) fs: btrfs dev: /dev/sda2
		 ID-5: /var/log size: 14G used: 9.2G (67%) fs: btrfs dev: /dev/sda2
		 ID-6: /var/tmp size: 14G used: 9.2G (67%) fs: btrfs dev: /dev/sda2
		 ID-7: swap-1 size: 2.15GB used: 0.05GB (2%) fs: swap dev: /dev/sda1
Sensors: None detected - is lm-sensors installed and configured?					
Info:	 Processes: 177 Uptime: 0:13 Memory: 1118.8/1999.5MB						
		 Init: systemd runlevel: 5 Gcc sys: N/A									
		 Client: Shell (bash 4.3.421) inxi: 2.3.8

Edited by raymac46, 09 July 2017 - 02:31 PM.

Posted Image

Registered Linux User 445659

#7 OFFLINE   ebrke

ebrke

    Board Bigwig

  • Forum MVP
  • 2,708 posts

Posted 09 July 2017 - 03:42 PM

Sorry, Ray, not quite sure what you mean. Are you thinking my error message was a YaST problem? When you say "abort and reload" , can you tell me where you were working from--online update through YaST or the install offered through the security popup?

Edited by ebrke, 09 July 2017 - 03:44 PM.

Registered Linux User 344759

#8 OFFLINE   securitybreach

securitybreach

    CLI Phreak

  • Forum Admins
  • 22,985 posts

Posted 09 July 2017 - 04:36 PM

Unless it is perhaps the /tmp file that is filling, I do not know what else this error would mean besides a full partition:

Quote

No space left on device

Posted ImagePosted Image Posted Image
CNI Radio/G+ Profile/Configs/PGP Key/comhack π

"Do you begin to see, then, what kind of world we are creating? It is the exact opposite of the stupid hedonistic Utopias that the old reformers imagined. A world of fear and treachery and torment, a world of trampling and being trampled upon, a world which will grow not less but more merciless as it refines itself. Progress in our world will be progress toward more pain." -George Orwell, 1984

#9 OFFLINE   ebrke

ebrke

    Board Bigwig

  • Forum MVP
  • 2,708 posts

Posted 09 July 2017 - 04:53 PM

Agreed--that's what has me so confused and there's 13GB free on that partition. I can try to register and put the question on openSUSE's forum, but some years ago I got short shrift there and didn't go back. Guess it might have changed.

Edited by ebrke, 09 July 2017 - 04:55 PM.

Registered Linux User 344759

#10 OFFLINE   securitybreach

securitybreach

    CLI Phreak

  • Forum Admins
  • 22,985 posts

Posted 09 July 2017 - 05:56 PM

Well let me if you figure it out as that is very weird.
Posted ImagePosted Image Posted Image
CNI Radio/G+ Profile/Configs/PGP Key/comhack π

"Do you begin to see, then, what kind of world we are creating? It is the exact opposite of the stupid hedonistic Utopias that the old reformers imagined. A world of fear and treachery and torment, a world of trampling and being trampled upon, a world which will grow not less but more merciless as it refines itself. Progress in our world will be progress toward more pain." -George Orwell, 1984

#11 OFFLINE   V.T. Eric Layton

V.T. Eric Layton

    Nocturnal Slacker

  • Forum Admins
  • 21,165 posts

Posted 09 July 2017 - 06:06 PM

I'd post at LinuxQuestions.org before I bothered with the OpenSuse forums...

https://www.linuxque...se-opensuse-60/

#12 ONLINE   raymac46

raymac46

    Discussion Deity

  • Forum MVP
  • 3,337 posts

Posted 09 July 2017 - 06:12 PM

I think the update process through YaST might be buggy. I was doing the typical online update when I got the "no space left" error and could not install the kernel update. I aborted the installation and ran it again in YaST...and again. Each time more packages were updated and finally the update queue was empty. I did not reboot until everything was updated and then it took a long time for the GUI to show up. I assume some modules were being installed on boot-up.
Maybe the error is more general and if you try to update using the command line it will show up there as well. I don't know because I have only used YaST to update and don't know the command line procedure in SuSE.
Posted Image

Registered Linux User 445659

#13 ONLINE   raymac46

raymac46

    Discussion Deity

  • Forum MVP
  • 3,337 posts

Posted 09 July 2017 - 06:18 PM

https://serverfault....d-enough-inodes

May be a problem with btrfs.

Edited by raymac46, 09 July 2017 - 06:27 PM.

Posted Image

Registered Linux User 445659

#14 OFFLINE   ebrke

ebrke

    Board Bigwig

  • Forum MVP
  • 2,708 posts

Posted 09 July 2017 - 06:31 PM

View Postraymac46, on 09 July 2017 - 06:18 PM, said:

https://serverfault....d-enough-inodes

May be a problem with btrfs.
Checked the link but have to admit I haven't even heard of btrfs. I'm using ext4. Am I missing something?
Registered Linux User 344759

#15 OFFLINE   ebrke

ebrke

    Board Bigwig

  • Forum MVP
  • 2,708 posts

Posted 09 July 2017 - 06:35 PM

View Postraymac46, on 09 July 2017 - 06:12 PM, said:

I think the update process through YaST might be buggy. I was doing the typical online update when I got the "no space left" error and could not install the kernel update. I aborted the installation and ran it again in YaST...and again. Each time more packages were updated and finally the update queue was empty. I did not reboot until everything was updated and then it took a long time for the GUI to show up. I assume some modules were being installed on boot-up.
Maybe the error is more general and if you try to update using the command line it will show up there as well. I don't know because I have only used YaST to update and don't know the command line procedure in SuSE.
There's a notification that there are patches available that pops up on the desktop. I was using that to install updates rather than actually opening YaST and running Online Update. If I'd actually gone into YaST, maybe I would have seen more detail, I don't know. Everything I can see points to the update being installed in spite of the error message--I'm assuming I can trust both uname and the YaST installation history. Very strange.

Edited by ebrke, 09 July 2017 - 06:35 PM.

Registered Linux User 344759

#16 ONLINE   raymac46

raymac46

    Discussion Deity

  • Forum MVP
  • 3,337 posts

Posted 09 July 2017 - 07:24 PM

View Postebrke, on 09 July 2017 - 06:31 PM, said:

View Postraymac46, on 09 July 2017 - 06:18 PM, said:

https://serverfault....d-enough-inodes

May be a problem with btrfs.
Checked the link but have to admit I haven't even heard of btrfs. I'm using ext4. Am I missing something?
I am using btrfs according to my disk info.
Posted Image

Registered Linux User 445659

#17 OFFLINE   securitybreach

securitybreach

    CLI Phreak

  • Forum Admins
  • 22,985 posts

Posted 09 July 2017 - 08:57 PM

I have heard of it but never tried it. The odd part is why would OpenSuse choose it as their default?
Posted ImagePosted Image Posted Image
CNI Radio/G+ Profile/Configs/PGP Key/comhack π

"Do you begin to see, then, what kind of world we are creating? It is the exact opposite of the stupid hedonistic Utopias that the old reformers imagined. A world of fear and treachery and torment, a world of trampling and being trampled upon, a world which will grow not less but more merciless as it refines itself. Progress in our world will be progress toward more pain." -George Orwell, 1984

#18 ONLINE   raymac46

raymac46

    Discussion Deity

  • Forum MVP
  • 3,337 posts

Posted 10 July 2017 - 07:44 AM

https://en.opensuse.org/SDB:BTRFS

I guess they want to have rollback facility like Windows System Restore. Not worth the aggravation if you ask me - but nobody did.
Posted Image

Registered Linux User 445659

#19 OFFLINE   ebrke

ebrke

    Board Bigwig

  • Forum MVP
  • 2,708 posts

Posted 10 July 2017 - 02:55 PM

View Postraymac46, on 10 July 2017 - 07:44 AM, said:

https://en.opensuse.org/SDB:BTRFS

I guess they want to have rollback facility like Windows System Restore. Not worth the aggravation if you ask me - but nobody did.
Crap. You're right--it's btrfs. I completely missed this during my last install. In addition to CLI instructions in your link, there's now an entry for Snapper in YaST under Miscellaneous. I can see all the snapshots but haven't a clue which, if any, I can delete safely. Have to do more research I guess. Why the *** do they just keep creating snapshots if it's going to give you problems? After 10+ years, this is the first time SUSE has really messed me up. Really don't need this today--had dealings with Comcast about new TV set top box in mother's bedroom that wouldn't activate properly and the top of my head is ready to blow off now.
EDIT: All SUSE says in documentation is to delete oldest snapshots first since they take up most space, not a word about what might be more important or shouldn't be deleted. When I feel stronger I'll have to try deleting all but last couple of snapshots and keep checking and deleting as time goes on. What a pain. Annoying as all this is, I have to say that I knew someone here would come up with the answer. Thanks everyone!

Can I use gparted to increase the space I have allocated to / without needing to do a complete reinstall afterward? I'm having a senior moment, I guess, but something nags at me that I shouldn't do it although I can't remember why.

Edited by ebrke, 10 July 2017 - 03:24 PM.

Registered Linux User 344759

#20 OFFLINE   securitybreach

securitybreach

    CLI Phreak

  • Forum Admins
  • 22,985 posts

Posted 10 July 2017 - 04:12 PM

You should be just fine resizing the / partition but you will to do this via a livecd/dvd.
Posted ImagePosted Image Posted Image
CNI Radio/G+ Profile/Configs/PGP Key/comhack π

"Do you begin to see, then, what kind of world we are creating? It is the exact opposite of the stupid hedonistic Utopias that the old reformers imagined. A world of fear and treachery and torment, a world of trampling and being trampled upon, a world which will grow not less but more merciless as it refines itself. Progress in our world will be progress toward more pain." -George Orwell, 1984

#21 OFFLINE   ebrke

ebrke

    Board Bigwig

  • Forum MVP
  • 2,708 posts

Posted 10 July 2017 - 04:32 PM

View Postsecuritybreach, on 10 July 2017 - 04:12 PM, said:

You should be just fine resizing the / partition but you will to do this via a livecd/dvd.
I'd use GParted dvd I burned a couple of years ago. Hope that version supports btrfs--wikipedia says GParted will handle all operations on btrfs. Anyone have a link to download GParted if I need newest version?
Registered Linux User 344759

#22 OFFLINE   securitybreach

securitybreach

    CLI Phreak

  • Forum Admins
  • 22,985 posts

Posted 10 July 2017 - 04:40 PM

http://gparted.org/ ;)
Posted ImagePosted Image Posted Image
CNI Radio/G+ Profile/Configs/PGP Key/comhack π

"Do you begin to see, then, what kind of world we are creating? It is the exact opposite of the stupid hedonistic Utopias that the old reformers imagined. A world of fear and treachery and torment, a world of trampling and being trampled upon, a world which will grow not less but more merciless as it refines itself. Progress in our world will be progress toward more pain." -George Orwell, 1984

#23 OFFLINE   ebrke

ebrke

    Board Bigwig

  • Forum MVP
  • 2,708 posts

Posted 10 July 2017 - 05:04 PM

View Postsecuritybreach, on 10 July 2017 - 04:40 PM, said:

Duh, never occurred to me. :blush:

Edited by ebrke, 10 July 2017 - 05:06 PM.

Registered Linux User 344759

#24 OFFLINE   securitybreach

securitybreach

    CLI Phreak

  • Forum Admins
  • 22,985 posts

Posted 10 July 2017 - 05:29 PM

View Postebrke, on 10 July 2017 - 05:04 PM, said:

View Postsecuritybreach, on 10 July 2017 - 04:40 PM, said:

Duh, never occurred to me. :blush:

Hehe B)
Posted ImagePosted Image Posted Image
CNI Radio/G+ Profile/Configs/PGP Key/comhack π

"Do you begin to see, then, what kind of world we are creating? It is the exact opposite of the stupid hedonistic Utopias that the old reformers imagined. A world of fear and treachery and torment, a world of trampling and being trampled upon, a world which will grow not less but more merciless as it refines itself. Progress in our world will be progress toward more pain." -George Orwell, 1984

#25 ONLINE   raymac46

raymac46

    Discussion Deity

  • Forum MVP
  • 3,337 posts

Posted 10 July 2017 - 06:07 PM

I've deleted Leap 42.2 from VirtualBox. It just doesn't seem to be an appropriate distro to run with limited storage capacity like you have in a VM.
Posted Image

Registered Linux User 445659




0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users