Nikosis |
01-02-2009 01:07 AM |
Kernel 2.6.28 compilation errors
Tried to compile new kernel 2.6.28, but I forgot to add something, so I decided to recompile it again, I couldn't, these are error messages that I've got
Code:
# make
find: /usr/src/linux-2.6.28/.tmp_vmlinux1: Input/output error
find: /usr/src/linux-2.6.28/.version: Input/output error
find: /usr/src/linux-2.6.28/.tmp_vmlinux1: Input/output error
find: /usr/src/linux-2.6.28/.version: Input/output error
CHK include/linux/version.h
CHK include/linux/utsrelease.h
SYMLINK include/asm -> include/asm-x86
CC kernel/bounds.s
GEN include/linux/bounds.h
CC arch/x86/kernel/asm-offsets.s
GEN include/asm/asm-offsets.h
CALL scripts/checksyscalls.sh
CC init/main.o
make[1]: stat: include/linux/compile.h: Input/output error
CHK include/linux/compile.h
/usr/src/linux-2.6.28/scripts/mkcompile_h: line 30: .version: Input/output error
UPD include/linux/compile.h
mv: accessing `include/linux/compile.h': Input/output error
make[1]: stat: include/linux/compile.h: Input/output error
CC init/version.o
init/version.c:9:27: error: include/linux/compile.h: Input/output error
init/version.c:32: error: 'UTS_VERSION' undeclared here (not in a function)
init/version.c:33: error: 'UTS_MACHINE' undeclared here (not in a function)
init/version.c:41: error: expected ',' or ';' before 'LINUX_COMPILE_BY'
init/version.c:46: error: expected ',' or ';' before 'LINUX_COMPILE_BY'
make[1]: *** [init/version.o] Error 1
make: *** [init] Error 2
these are some strange files in /usr/src/2.6.28
Code:
?????????? ? ? ? ? ? .tmp_vmlinux1
?????????? ? ? ? ? ? .version
make mrproper doesn't work either
Code:
# make mrproper
CLEAN /usr/src/linux-2.6.28
CLEAN init
rm: cannot remove `init/../include/linux/compile.h': Input/output error
make[1]: *** [__clean] Error 1
make: *** [_clean_init] Error 2
files from /lib/modules/2.6.28.2
Code:
# ls -all
/bin/ls: cannot access input: Input/output error
/bin/ls: cannot access isdn: Input/output error
/bin/ls: cannot access leds: Input/output error
/bin/ls: cannot access lguest: Input/output error
/bin/ls: cannot access md: Input/output error
/bin/ls: cannot access media: Input/output error
/bin/ls: cannot access memstick: Input/output error
/bin/ls: cannot access message: Input/output error
/bin/ls: cannot access misc: Input/output error
/bin/ls: cannot access mmc: Input/output error
/bin/ls: cannot access mtd: Input/output error
/bin/ls: cannot access net: Input/output error
/bin/ls: cannot access parport: Input/output error
/bin/ls: cannot access pci: Input/output error
/bin/ls: cannot access pcmcia: Input/output error
/bin/ls: cannot access power: Input/output error
/bin/ls: cannot access rtc: Input/output error
/bin/ls: cannot access scsi: Input/output error
total 8
drwxr-xr-x 21 root root 4096 2009-01-02 00:54 ./
drwxr-xr-x 3 root root 56 2009-01-02 00:54 ../
drwxr-xr-x 4 root root 24 2009-01-02 00:51 infiniband/
?????????? ? ? ? ? ? input
?????????? ? ? ? ? ? isdn
?????????? ? ? ? ? ? leds
?????????? ? ? ? ? ? lguest
?????????? ? ? ? ? ? md
?????????? ? ? ? ? ? media
?????????? ? ? ? ? ? memstick
?????????? ? ? ? ? ? message
?????????? ? ? ? ? ? misc
?????????? ? ? ? ? ? mmc
?????????? ? ? ? ? ? mtd
?????????? ? ? ? ? ? net
?????????? ? ? ? ? ? parport
?????????? ? ? ? ? ? pci
?????????? ? ? ? ? ? pcmcia
?????????? ? ? ? ? ? power
?????????? ? ? ? ? ? rtc
?????????? ? ? ? ? ? scsi
at the end of it I can't even delete it.
Any idea what is wrong and what might cause it?
Thx
|