Page 6 of 8

Re: [NC10] Kernel 2.6.31

Posted: 04 Oct 2009, 13:38
by cragg.
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.

Re: [NC10] Kernel 2.6.31

Posted: 04 Oct 2009, 18:04
by voria
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.

Re: [NC10] Kernel 2.6.31

Posted: 04 Oct 2009, 19:53
by cragg.
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.

Re: [NC10] Kernel 2.6.31

Posted: 04 Oct 2009, 20:04
by voria
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.

Re: [NC10] Kernel 2.6.31

Posted: 04 Oct 2009, 20:06
by cragg.
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...^^

Re: [NC10] Kernel 2.6.31

Posted: 04 Oct 2009, 20:14
by cragg.
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?

Re: [NC10] Kernel 2.6.31

Posted: 05 Oct 2009, 14:22
by cragg.
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)

Re: [NC10] Kernel 2.6.31

Posted: 06 Oct 2009, 18:13
by voria
New kernel 2.6.31-12 on repository (based on vanilla 2.6.31.2).

Re: [NC10] Kernel 2.6.31

Posted: 13 Oct 2009, 09:55
by Vox
is it possible to disable the ext4 journalization in this kernel ?

thank you so much.

Re: [NC10] Kernel 2.6.31

Posted: 13 Oct 2009, 10:26
by voria
It should be.
Try to add the 'noload' mount option to your '/etc/fstab'.

Re: [NC10] Kernel 2.6.31

Posted: 13 Oct 2009, 10:44
by Vox
noload and data=writeback added to fstab but kjournald2 is always in action.

Re: [NC10] Kernel 2.6.31

Posted: 13 Oct 2009, 11:19
by voria
'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

Re: [NC10] Kernel 2.6.31

Posted: 13 Oct 2009, 13:20
by Vox
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

Re: [NC10] Kernel 2.6.31

Posted: 15 Oct 2009, 07:16
by Vox
no ideas ?

Re: [NC10] Kernel 2.6.31

Posted: 15 Oct 2009, 11:07
by voria
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.