[NC10] Kernel 2.6.31

Discussions about Linux installation and configuration on Samsung laptops
cragg.
Newbie
Newbie
Posts: 31
Joined: 03/10/2009, 11:40

Re: [NC10] Kernel 2.6.31

Postby cragg. » 04/10/2009, 13:38

Hey,

I downloaded the files on my Desktop, switched with cd in the terminal in the Desktop directory and then ran

Code: Select all

sudo dpkg -i *deb



The terminal tells me:

Code: Select all

craggi@craggi-netbook:~/.Desktop$ sudo dpkg -i *deb
(Lese Datenbank ... 412124 Dateien und Verzeichnisse sind derzeit installiert.)
Entpacke linux-headers-2.6.31-11 (aus linux-headers-2.6.31-11_2.6.31-11.38~ppa1~nc10~jaunty_all.deb) ...
dpkg: Fehler beim Bearbeiten von linux-headers-2.6.31-11_2.6.31-11.38~ppa1~nc10~jaunty_all.deb (--install):
 Kann »./usr/src/linux-headers-2.6.31-11/drivers/video/mb862xx/Makefile« nicht erzeugen: No space left on device
dpkg-deb: Unterprozess paste mit Signal (Broken pipe) getötet
Entpacke linux-headers-2.6.31-11-generic (aus linux-headers-2.6.31-11-generic_2.6.31-11.38~ppa1~nc10~jaunty_i386.deb) ...
dpkg: Fehler beim Bearbeiten von linux-headers-2.6.31-11-generic_2.6.31-11.38~ppa1~nc10~jaunty_i386.deb (--install):
 Fehler beim Erstellen des Verzeichnisses »./usr/src/linux-headers-2.6.31-11-generic/include/config/b43legacy/dma/and/pio«: No space left on device
dpkg-deb: Unterprozess paste mit Signal (Broken pipe) getötet
Fehler traten auf beim Bearbeiten von:
 linux-headers-2.6.31-11_2.6.31-11.38~ppa1~nc10~jaunty_all.deb
 linux-headers-2.6.31-11-generic_2.6.31-11.38~ppa1~nc10~jaunty_i386.deb
craggi@craggi-netbook:~/.Desktop$


I tried to translate it somehow:

Code: Select all

craggi@craggi-netbook:~/.Desktop$ sudo dpkg -i *deb
(Lese Datenbank ... 412124 Dateien und Verzeichnisse sind derzeit installiert.)
Extract linux-headers-2.6.31-11 (aus linux-headers-2.6.31-11_2.6.31-11.38~ppa1~nc10~jaunty_all.deb) ...
dpkg: Error while editing linux-headers-2.6.31-11_2.6.31-11.38~ppa1~nc10~jaunty_all.deb (--install):
 Couldnt create »./usr/src/linux-headers-2.6.31-11/drivers/video/mb862xx/Makefile« : No space left on device
dpkg-deb: Sub-process paste killed with signal (Broken pipe)
Extract linux-headers-2.6.31-11-generic (aus linux-headers-2.6.31-11-generic_2.6.31-11.38~ppa1~nc10~jaunty_i386.deb) ...
dpkg: Error while editing linux-headers-2.6.31-11-generic_2.6.31-11.38~ppa1~nc10~jaunty_i386.deb (--install):
 Error while creating the directory »./usr/src/linux-headers-2.6.31-11-generic/include/config/b43legacy/dma/and/pio«: No space left on device
dpkg-deb:  Sub-process paste killed with signal (Broken pipe)
Errors ocurred while editing:
 linux-headers-2.6.31-11_2.6.31-11.38~ppa1~nc10~jaunty_all.deb
 linux-headers-2.6.31-11-generic_2.6.31-11.38~ppa1~nc10~jaunty_i386.deb
craggi@craggi-netbook:~/.Desktop$


no space left on Device... But my Mainpartition has 550 MB space left. And the Home-partition is on another sector of my HD.
Is 550MB not enough?

I am confused.. :(

cragg.

User avatar
voRia
Administrator
Administrator
Posts: 1378
Joined: 12/02/2009, 18:08
Location: Italy
Contact:

Re: [NC10] Kernel 2.6.31

Postby voRia » 04/10/2009, 18:04

Yes, you are out of space.
To be more precise, probably you are out of inodes on your filesystem. You can check it with the command:

Code: Select all

df -i

Think of inodes as "indexes" for files: every file needs one inode in order to be "tracked" on your disk.
So even if physically there is free space, the filesystem cannot index any new file because there are no more free inodes.
Image
Please consider a little donation to keep the 'Linux On My Samsung' project up and running. Thank you!

cragg.
Newbie
Newbie
Posts: 31
Joined: 03/10/2009, 11:40

Re: [NC10] Kernel 2.6.31

Postby cragg. » 04/10/2009, 19:53

Ohh, okay... How can I solute that problem?
May I use GParted and then make my "home-Partition" smaller?
Or how can I do that without loosing my files?

Thank you for telling me, what the problem was:D

cragg.

User avatar
voRia
Administrator
Administrator
Posts: 1378
Joined: 12/02/2009, 18:08
Location: Italy
Contact:

Re: [NC10] Kernel 2.6.31

Postby voRia » 04/10/2009, 20:04

Yes, gparted should be able to resize partitions, but it usually requires a lot of time to shrink a partition.
Probably it's faster (and I'd say more safe) to backup all your data and recreate the partitions.
Image
Please consider a little donation to keep the 'Linux On My Samsung' project up and running. Thank you!

cragg.
Newbie
Newbie
Posts: 31
Joined: 03/10/2009, 11:40

Re: [NC10] Kernel 2.6.31

Postby cragg. » 04/10/2009, 20:06

But then I have to configure my whole Ubuntu-system, haven't I? I never understood how to backup a Ubuntu-system (i only know how to backup data, but not an operating system.)
So, I dont know, how to backup the whole system...

I try Gparted, first. Then we'll see...^^

cragg.
Newbie
Newbie
Posts: 31
Joined: 03/10/2009, 11:40

Re: [NC10] Kernel 2.6.31

Postby cragg. » 04/10/2009, 20:14

Okay. Gparted now resizes my Filesystem-Partition (everything except /home) from 8 GB to 15 GB.
I hope, that the updates work, later on.

Now my question is: Do I have to install these two packages you mentioned some posts before? Or do I have to download other packages, after the resizing?

cragg.
Newbie
Newbie
Posts: 31
Joined: 03/10/2009, 11:40

Re: [NC10] Kernel 2.6.31

Postby cragg. » 05/10/2009, 14:22

Hey VoRia,

yeah I made it! :D

After GParted resized the Root-Partition everything worked well :D
Thank you very much :D:D:D
I thought I had to reinstall everything, that wouldn't be great^^

Byee :)
cragg. (who uses your repository now with much more enthusiasm)

User avatar
voRia
Administrator
Administrator
Posts: 1378
Joined: 12/02/2009, 18:08
Location: Italy
Contact:

Re: [NC10] Kernel 2.6.31

Postby voRia » 06/10/2009, 18:13

New kernel 2.6.31-12 on repository (based on vanilla 2.6.31.2).
Image
Please consider a little donation to keep the 'Linux On My Samsung' project up and running. Thank you!

Vox
Newbie
Newbie
Posts: 10
Joined: 21/04/2009, 8:58

Re: [NC10] Kernel 2.6.31

Postby Vox » 13/10/2009, 9:55

is it possible to disable the ext4 journalization in this kernel ?

thank you so much.

User avatar
voRia
Administrator
Administrator
Posts: 1378
Joined: 12/02/2009, 18:08
Location: Italy
Contact:

Re: [NC10] Kernel 2.6.31

Postby voRia » 13/10/2009, 10:26

It should be.
Try to add the 'noload' mount option to your '/etc/fstab'.
Image
Please consider a little donation to keep the 'Linux On My Samsung' project up and running. Thank you!

Vox
Newbie
Newbie
Posts: 10
Joined: 21/04/2009, 8:58

Re: [NC10] Kernel 2.6.31

Postby Vox » 13/10/2009, 10:44

noload and data=writeback added to fstab but kjournald2 is always in action.

User avatar
voRia
Administrator
Administrator
Posts: 1378
Joined: 12/02/2009, 18:08
Location: Italy
Contact:

Re: [NC10] Kernel 2.6.31

Postby voRia » 13/10/2009, 11:19

'noload' should be enough.
Reboot the system to make sure to mount partition(s) with the new option.

Then you can check if journal has been disabled in your dmesg.
Use a command like this one:

Code: Select all

dmesg | grep EXT4-fs | grep journal
Image
Please consider a little donation to keep the 'Linux On My Samsung' project up and running. Thank you!

Vox
Newbie
Newbie
Posts: 10
Joined: 21/04/2009, 8:58

Re: [NC10] Kernel 2.6.31

Postby Vox » 13/10/2009, 13:20

fstab :
UUID=5fd92024-d07b-47c6-ad70-90c2aed65462 / ext4 noload,noatime,errors=remount-ro 0 1

dmesg | grep EXT4-fs | grep journal :
[ 10.169987] EXT4-fs (sda5): internal journal on sda5:8

mount :
/dev/sda5 on / type ext4 (rw,noatime,noload,errors=remount-ro,commit=30000)

Something to change in the menu.lst maybe ?

title Linux Mint 7 Gloria, kernel 2.6.31-13-generic
root (hd0,0)
kernel /vmlinuz-2.6.31-13-generic root=/dev/sda5 ro quiet splash
initrd /initrd.img-2.6.31-13-generic
quiet

Vox
Newbie
Newbie
Posts: 10
Joined: 21/04/2009, 8:58

Re: [NC10] Kernel 2.6.31

Postby Vox » 15/10/2009, 7:16

no ideas ?

User avatar
voRia
Administrator
Administrator
Posts: 1378
Joined: 12/02/2009, 18:08
Location: Italy
Contact:

Re: [NC10] Kernel 2.6.31

Postby voRia » 15/10/2009, 11:07

Just checked on my NC10: for some reason the 'noload' option is ignored for root partition (/), while it works good for any other ext4 partition.
Well, another solution is to use the 'tune2fs' tool in order to force the journal off for the partition.
'tune2fs' can be used only on unmounted partitions, so you need to use a live distro to do that.
Use a command like this one:

Code: Select all

sudo tune2fs -O ^has_journal /dev/sdxx

where '/dev/sdxx' is your unmounted root partition.
Image
Please consider a little donation to keep the 'Linux On My Samsung' project up and running. Thank you!


Return to “Linux On My Samsung”

Who is online

Users browsing this forum: No registered users and 2 guests