[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Problem compiling custom kernel on debian



Hi,
    I am trying to compile Linux kernel 2.6.29-1 as described here
http://kernel-handbook.alioth.debian.org/ch-common-tasks.html,
section 4.4, i.e. I copy the /boot/config-2.6.26-1-686 to untarred
linux kernel directory as .config and after doing make menuconfig,
when I try to do

make-kpkg clean

I get error that file system is read only. Somehow just before running
this command, the file system wasn´t readonly but after running this,
my file system has become read  only.

Looking at the /etc/fstab, it shows the following line:

/dev/hdc1       /               ext3    errors=remount-ro 0       1

which probably means that in case of errors mount the file system as
read only...but not sure what is causing this.

The full error log from make-kpkg clean is shown below.


exec debian/rules  DEBIAN_REVISION=5:10.Custom  clean
====== making target CLN-common [new prereqs: ]======

====== making target unpatch_now [new prereqs: ]======
====== making target real_stamp_clean [new prereqs: unpatch_now]======
running clean
test ! -e scripts/package/builddeb || mv -f scripts/package/builddeb
scripts/package/builddeb.kpkg-dist
test ! -e scripts/package/Makefile || test -f
scripts/package/Makefile.kpkg-dist || (mv -f scripts/package/Makefile
scripts/package/Makefile.kpkg-dist && (echo "# Dummy file "; echo
"help:") >  scripts/package/Makefile)
test ! -f .config  || cp -pf .config ,,precious
/usr/bin/make    ARCH=i386 -C Documentation/lguest clean
make[1]: Entering directory
`/home/divkis01/downloads/linux-2.6.29.1/Documentation/lguest'
rm -f lguest
make[1]: Leaving directory
`/home/divkis01/downloads/linux-2.6.29.1/Documentation/lguest'
test ! -f Makefile || \
	    /usr/bin/make    ARCH=i386 distclean
make[1]: Entering directory `/home/divkis01/downloads/linux-2.6.29.1'
  CLEAN   scripts/basic
  CLEAN   scripts/kconfig
  CLEAN   include/config
find: `/home/divkis01/downloads/linux-2.6.29.1/fs/btrfs/orphan.c':
Input/output error
find: `/home/divkis01/downloads/linux-2.6.29.1/fs/btrfs/locking.h':
Input/output error
find: `/home/divkis01/downloads/linux-2.6.29.1/fs/btrfs/inode-item.c':
Input/output error
find: `/home/divkis01/downloads/linux-2.6.29.1/fs/btrfs/inode.c':
Input/output error
find: `/home/divkis01/downloads/linux-2.6.29.1/fs/btrfs/inode-map.c':
Input/output error
find: `/home/divkis01/downloads/linux-2.6.29.1/fs/btrfs/ref-cache.h':
Input/output error
find: `/home/divkis01/downloads/linux-2.6.29.1/fs/btrfs/root-tree.c':
Input/output error
find: `/home/divkis01/downloads/linux-2.6.29.1/fs/btrfs/ioctl.c':
Input/output error
find: `/home/divkis01/downloads/linux-2.6.29.1/fs/btrfs/print-tree.h':
Input/output error
find: `/home/divkis01/downloads/linux-2.6.29.1/fs/btrfs/ioctl.h':
Input/output error
find: `/home/divkis01/downloads/linux-2.6.29.1/fs/btrfs/ordered-data.c':
Input/output error
find: `/home/divkis01/downloads/linux-2.6.29.1/fs/btrfs/print-tree.c':
Input/output error
find: `/home/divkis01/downloads/linux-2.6.29.1/fs/btrfs/ordered-data.h':
Input/output error
find: `/home/divkis01/downloads/linux-2.6.29.1/fs/btrfs/locking.c':
Input/output error
find: `/home/divkis01/downloads/linux-2.6.29.1/fs/btrfs/ref-cache.c':
Input/output error
find: `/home/divkis01/downloads/linux-2.6.29.1/fs/btrfs/struct-funcs.c':
Input/output error
make[1]: Leaving directory `/home/divkis01/downloads/linux-2.6.29.1'
test ! -f scripts/package/builddeb.kpkg-dist || mv -f
scripts/package/builddeb.kpkg-dist scripts/package/builddeb
mv: cannot move `scripts/package/builddeb.kpkg-dist' to
`scripts/package/builddeb': Read-only file system

Any help is welcome,
Thanks in advance,
Divick


Reply to: