Files Missing Using Git Add Command

hi,
I'm cross-compiling a linux kernel. And I want to use git to manage the project. When I first add the project to the git index and commit, then I clone it out, I failed to compile it with the file missing information printed. The file missing is like include/linux/autoconf.h amount many others.
PS:I have no gitignore in the current directory.
Please take a look and give some hints if anyone has some thoughts.
Thanks.


Similar Content



Using Gdb To Detect Segmentation Fault In Sh?

I am using scientific linux. In the directory user/project/Build, after I ran 'make' to compile and link all the cpp files,I had no problems. But then, when I went to directory user/run/run.sh, which runs the project binary in user/project/Build/bin/project, I get a segmentation fault error. In the directory user/run, I enter 'gdb' in the command prompt and get the message "*** No targets specified and no makefile found. Stop."

What am I supposed to do to detect the segmentation fault?

Ssh_exchange_identification: Connection Closed By Remote Host

Hi,
I try to co connect to a linux server and get following message:


Code:
me@host:~> ssh -X target -vvv
OpenSSH_5.1p1, OpenSSL 0.9.8j-fips 07 Jan 2009
debug1: Reading configuration data /etc/ssh/ssh_config
debug1: Applying options for *
debug2: ssh_connect: needpriv 0
debug1: Connecting to target [192.103.143.9] port 22.
debug1: Connection established.
debug3: Not a RSA1 key file /users/me/.ssh/id_rsa.
debug2: key_type_from_name: unknown key type '-----BEGIN'
debug3: key_read: missing keytype
debug3: key_read: missing whitespace
debug3: key_read: missing whitespace
debug3: key_read: missing whitespace
debug3: key_read: missing whitespace
debug3: key_read: missing whitespace
debug3: key_read: missing whitespace
debug3: key_read: missing whitespace
debug3: key_read: missing whitespace
debug3: key_read: missing whitespace
debug3: key_read: missing whitespace
debug3: key_read: missing whitespace
debug3: key_read: missing whitespace
debug3: key_read: missing whitespace
debug3: key_read: missing whitespace
debug3: key_read: missing whitespace
debug3: key_read: missing whitespace
debug3: key_read: missing whitespace
debug3: key_read: missing whitespace
debug3: key_read: missing whitespace
debug3: key_read: missing whitespace
debug3: key_read: missing whitespace
debug3: key_read: missing whitespace
debug3: key_read: missing whitespace
debug3: key_read: missing whitespace
debug3: key_read: missing whitespace
debug2: key_type_from_name: unknown key type '-----END'
debug3: key_read: missing keytype
debug1: identity file /users/me/.ssh/id_rsa type 1
debug1: identity file /users/me/.ssh/id_dsa type -1
ssh_exchange_identification: Connection closed by remote host

Now I am trying to figure out what the problem is but I cannot connect to the target server. Is there any other way to connect except using ssh?
Thanx

Creating A Large Tar Ile Form A Sequence Of Small Tar Files And One Files Is Missing

I am trying to put back together a big atr file from some smaller tar files that I created several years ago. The issue is that in order to tar this large file, I must put each file back using the command

tar -xMf cd-1.tar
Prepare volume #2 for 'cd-1.tar' and hit return:n cd-2.tar
Prepare volume #3 for 'cd-2.tar' and hit return:n cd-3.tar
and so forth.

I have fourteen files cd-1.tar through cd-15.tar. The cd-9.tar files is missing and I assume that it is gone. Now when I type the commands in I get the following:

Code:
-linux tarfile]$ tar -xMf cd-1.tar
Prepare volume #2 for `cd-1.tar' and hit return: n cd-2.tar
Prepare volume #3 for `cd-2.tar' and hit return: n cd-3.tar
Prepare volume #4 for `cd-3.tar' and hit return: n cd-4.tar
Prepare volume #5 for `cd-4.tar' and hit return: n cd-5.tar
Prepare volume #6 for `cd-5.tar' and hit return: n cd-6.tar
Prepare volume #7 for `cd-6.tar' and hit return: n cd-7.tar
Prepare volume #8 for `cd-7.tar' and hit return: n cd-8.tar
Prepare volume #9 for `cd-8.tar' and hit return: n cd-10.tar
tar: This volume is out of sequence (10755138772 - 4889670868 != 6598651392)
Prepare volume #9 for `cd-10.tar' and hit return: n cd-10.tar
tar: This volume is out of sequence (10755138772 - 4889670868 != 6598651392)
Prepare volume #9 for `cd-10.tar' and hit return: 
tar: This volume is out of sequence (10755138772 - 4889670868 != 6598651392)

As you can see I do not have cd-9.tar. That stops the untarring cold. However, I have cd-10.tar,cd-11.tar,cd-12.tar,cd-13.tar,cd-14.tar,cd-15.tar. Now I may have these files, but they cannot be put back in the main file because cd-9.tar is missing and everything must be put in sequentially.

Is there a way to complete this sequence of steps and add all fourteen files to the files bigbackup leaving out cd-9.tar? That means that the bigbackup file will be incomplete, but that is better than no file or having bigbackup missing six files on the back end.

Any help appreciated.

Thanks in advance.

Respectfully,


Newport_j

/bin/sh: 1: Cc: Not Found

Hi,
I am crosscompiling u-boot for the beaglebone black and I have a problem that I don't understand.

I have installed correctly the linaro cross-compile tools and export the environment variable CC as:
export CC=/path_to_linaro_arm_cross_compiler/bin/arm-linux-gnueabihf-

And if I type in the terminal:
${CC}gcc --version

I see the linaro's compiler version, so all seems to be ok.

But, when I try to create the config file for the BBB with the command:
make ARCH=arm CROSS_COMPILE=${CC} am335x_boneblack_defconfig

It complains with the message: "/bin/sh: 1: cc: not found"

Am I missing something?

Regarding Cross Compilation Of Ntp

hi all,
I am new to cross compilation .I am trying to cross compile ntp for arm based zync soc board. so i have downloaded ntp source code version ntp-4.2.8-p2

i gave options for confiure file like this ./configure --host=arm-xilinix-linux-gnueabi --build=x86_64-pc-linux-gnu --prefix=/home/sntp CC=arm-xilinx-linux-gnueabi-gcc -with-yeilding-select=yes
configuration is succesful but when i am going for make it is throwing an error like this

cd ./html && \
../scripts/build/checkHtmlFileDates
cd . && \
./scripts/build/checkChangeLog
make all-recursive
make[1]: Entering directory `/home/SNTP/ntp-4.2.8p2'
Making all in sntp
make[2]: Entering directory `/home/SNTP/ntp-4.2.8p2/sntp'
[ ! -r ./../COPYRIGHT ] \
|| [ check-COPYRIGHT-submake -nt ./../COPYRIGHT ] \
|| make check-COPYRIGHT-submake
cd ../libntp && make libntp.a
make[3]: Entering directory `/home/sumanth/SNTP/ntp-4.2.8p2/libntp'
CC systime.o
In file included from ../include/ntp.h:14:0,
from systime.c:9:
../include/ntp_crypto.h:27:25: fatal error: openssl/evp.h: No such file or directory
#include "openssl/evp.h"
^
compilation terminated.
make[3]: *** [systime.o] Error 1
make[3]: Leaving directory `/home/sumanth/SNTP/ntp-4.2.8p2/libntp'
make[2]: *** [../libntp/libntp.a] Error 2
make[2]: Leaving directory `/home/sumanth/SNTP/ntp-4.2.8p2/sntp'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/sumanth/SNTP/ntp-4.2.8p2'
make: *** [all] Error 2

suggest me how to fix this?

Regards
sumanth

Linux Kernel Module Installation And Other Questions Related To Kernel Module Install

I have installed Linux 3.5 kernel and have compiled e2fsprogs as well. I have my own version of ext3 file system - lets say it is myfs. I have compiled myfs as well. Now I have few questions:

1.How to insert myfs module and where? When I do modprobe myfs (.ko file) it says module not found. When I simply do insmod myfs.ko it works but I am not sure where is it putting the .ko file. Also the displays I have added (on mkdir call) are not showing up (kernel debug level is also set to 8) when I try to create a directory in mounted folder

Makefile in myfs directory looks like this:

KERNEL_TREE ?= /lib/modules/$(shell uname -r)/build
PWD := $(shell pwd)

obj-m := iext3.o

iext3-objs := balloc.o bitmap.o dir.o file.o fsync.o ialloc.o inode.o \
ioctl.o namei.o super.o symlink.o hash.o resize.o ext3_jbd.o \
xattr.o xattr_user.o xattr_trusted.o acl.o xattr_security.o icefs.o \
transaction.o commit.o recovery.o checkpoint.o revoke.o journal.o

all:
make -C $(KERNEL_TREE) M=$(PWD) modules

clean:
rm -rf *.o *~ core .depend .*.cmd *.ko *.mod.c .tmp_versions *.markers *.order *.symvers

and I am compiling myfs from my own directory: /home/myname/soft/myfs.

Also, I don't see any ext2/ext3/ext4 directories in /lib/modules/linuxversion/kernel/fs/ -- not sure if this is right or wrong.

2.Mount is working fine. I can see myfs is mounted on /dev/sda3 by doing df -a. When I unmount It says - umount: /home/..../mnt: not mounted and then if I do df -a the file system is unmounted. This is strange as its unmounting but still throwing error.

Some Background: Directory where I have everything: /home/soft myfs/ mye2fs/ Linux-3.5/ mnt/

Step1: cd Linux-3.5 --> 1) make 2) make modules 3) make modules_install 4) make install 5) reboot

Step2: compile myfs (my version of ext3) and insert the myfs kernel module --> cd myfs/ --> make --> insmod myfs.ko

Step3: compiled mye2fs for mkfs

Step4: use mye2fs to create myfilesystem on a device --> mount --> test printk statements put under myfs modules

GCC Installation On RedHat 6.0

Hi

I am trying to install gcc on RedHat 6.0. I have installed
binutils 2.21
gmp 4.3.2
mpc 0.8.2
mpfr 3.0.0
ppl 0.10

but while making cloog-ppl 0.15 got an error shown below

what would be the reason?



gcc -DHAVE_CONFIG_H -I. -I. -I./include/cloog -I./include -I./include -I/usr/local/lib/include -Wall -fomit-frame-pointer -g -O2 -MT options.lo -MD -MP -MF .deps/options.Tpo -c source/options.c -fPIC -DPIC -o .libs/options.o
gcc -DHAVE_CONFIG_H -I. -I. -I./include/cloog -I./include -I./include -I/usr/local/lib/include -Wall -fomit-frame-pointer -g -O2 -MT options.lo -MD -MP -MF .deps/options.Tpo -c source/options.c -o options.o >/dev/null 2>&1
cd . && /bin/sh /opt/tools/cloog-ppl/autoconf/missing --run autoheader
autoheader: warning: missing template: HAS_SYS_RESOURCE_H
autoheader: Use AC_DEFINE([HAS_SYS_RESOURCE_H], [], [Description])
make[1]: *** [include/cloog/cloog-config.h.in] Error 1
make[1]: Leaving directory `/opt/tools/cloog-ppl'
make: *** [all-recursive] Error 1

Exporting Log Data To A File That Matches Stdout

hey guys,

Let's say I want to find out which log files have related ntp information in them. I use cat and grep to search through the files in /var/log and then export that to a file. this is the command...

# cat /var/log/* | grep ntp > /home/log.txt

The file created from this command will not include the directories the log entries are apart of. Why not? For example, if you do this same command without exporting to the /home/log.txt file it will show you in stdout which directory each log entry is in. Hope I'm making sense here. My question is, is there a clever way to export to a file in a way so that the file created is structured exactly like the stdout of the command below?

# cat /var/log/* | grep ntp

Module Verification Failed: Signature And/or Required Key Missing - Tainting Kernel

Hello! Who can help me? I remenber this problem have never occured when I was using CentOS 6.4. This time I am using Fedora 19 and problem occured as follow.
[ultrabird@PanFu Downloads]$ ls
dnw-linux-v1.01.tar.gz xdnw-0.5.1.tar.gz
[ultrabird@PanFu Downloads]$ mkdir dnw-linux && tar -zxf dnw-linux-v1.01.tar.gz -C dnw-linux
[ultrabird@PanFu Downloads]$ cd dnw-linux/
[ultrabird@PanFu dnw-linux]$ ls
dnw.rules logo.png Makefile README src
[ultrabird@PanFu dnw-linux]$ cd src/driver/
[ultrabird@PanFu driver]$ ls
Makefile secbulk.c
[ultrabird@PanFu driver]$ make -C /lib/modules/`uname -r`/build M=`pwd` modules
make: Entering directory `/usr/src/kernels/3.10.10-200.fc19.i686'
CC [M] /home/ultrabird/Downloads/dnw-linux/src/driver/secbulk.o
/home/ultrabird/Downloads/dnw-linux/src/driver/secbulk.c: In function ‘secbulk_write’:
/home/ultrabird/Downloads/dnw-linux/src/driver/secbulk.c:60:96: warning: comparison of distinct pointer types lacks a cast [enabled by default]
to_write = min(len, BULKOUT_BUFFER_SIZE);
^
Building modules, stage 2.
MODPOST 1 modules
CC /home/ultrabird/Downloads/dnw-linux/src/driver/secbulk.mod.o
LD [M] /home/ultrabird/Downloads/dnw-linux/src/driver/secbulk.ko
make: Leaving directory `/usr/src/kernels/3.10.10-200.fc19.i686'
[ultrabird@PanFu driver]$ ls
Makefile Module.symvers secbulk.ko secbulk.mod.o
modules.order secbulk.c secbulk.mod.c secbulk.o
[ultrabird@PanFu driver]$ sudo insmod ./secbulk.ko
[sudo] password for ultrabird:
[ultrabird@PanFu driver]$ dmesg | grep secbulk
[ 438.172811] secbulk: module verification failed: signature and/or required key missing - tainting kernel
[ 438.174533] secbulk:secbulk loaded
[ 438.174660] usbco registered new interface driver secbulk
[ultrabird@PanFu driver]$ uname -a
Linux PanFu 3.10.10-200.fc19.i686 #1 SMP Thu Aug 29 19:25:53 UTC 2013 i686 i686 i386 GNU/Linux

dnw is a download tool for ARM. Maybe secbulk is it's driver. I don't know much about it. Any help would be appreciated. Thanks!

WD MyCloud

I'm new to Linux but have a WD MyCloud 2TB NAS. I want to run Logitech Media Server (LMS) on it and have found instructions on Logitech Forums on how to do it. Unfortunately it does not work for me. I've downloaded the deb file and used dpkg -i on that file. This gives a load of lines like this
dpkg: warning: files list file for package 'libpam-winbind:armhf' missing; assuming package has no files currently installed
and in the end LS does not appear to be running. Would anyone know what these lines are telling me and any suggestions as to how to fix the problem.
I can get no response from the Logitech forums so any help here would be greatly appreciated.
PS:The version of Linux seems to be
Linux WDMyCloud 3.2.26 #1 SMP Tue Jun 17 15:53:22 PDT 2014 wd-2.2-rel armv7l