AF:
NF:0
PS:10
SRH:1
SFN:
DSR:
MID:
CFG:
PT:0
S:andy.sharp@lsi.com
RQ:
SSV:mhbs.lsil.com
NSV:
SSH:
R:<Rendell.Fong@lsi.com>
MAID:2
X-Sylpheed-Privacy-System:
X-Sylpheed-Sign:0
SCF:#mh/Mailbox/sent
RMID:#imap/LSI/INBOX	0	1253818992.14287.46.camel@rendellf
X-Sylpheed-End-Special-Headers: 1
Date: Thu, 24 Sep 2009 14:26:10 -0700
From: Andrew Sharp <andy.sharp@lsi.com>
To: Rendell Fong <Rendell.Fong@lsi.com>
Subject: Re: tuxrx branch git repository
Message-ID: <20090924142610.58c2a744@ripper.onstor.net>
In-Reply-To: <1253818992.14287.46.camel@rendellf>
References: <20090923165332.36a4d92e@ripper.onstor.net>
	<1253810843.14287.43.camel@rendellf>
	<20090924112627.61ef543e@ripper.onstor.net>
	<1253818992.14287.46.camel@rendellf>
Organization: LSI
X-Mailer: Sylpheed-Claws 2.6.0 (GTK+ 2.8.20; x86_64-pc-linux-gnu)
Mime-Version: 1.0
Content-Type: text/plain; charset=US-ASCII
Content-Transfer-Encoding: 7bit

It's the last command example at the bottom

find . -type f | p4 -x- have >/dev/null

Don't forget to read the text above it for important instructions ~:^)

On Thu, 24 Sep 2009 13:03:12 -0600 Rendell Fong <Rendell.Fong@lsi.com>
wrote:

> Is this the wiki page you are referring to?
> I don't see any mention of p4havenot.sh script.
> 
> http://wiki.onstor.net/wiki/Kernel_changes_with_perforce
> 
> On Thu, 2009-09-24 at 12:26 -0600, Andrew Sharp wrote:
> > My git is saying HEAD doesn't refer to an existing object, which
> > means there's no object in the repository by that name.  You need
> > to use the p4havenot.sh script (contents of which are described in
> > the wiki) to figure out what you have on disk that isn't in the
> > perforce repository.
> > 
> > On Thu, 24 Sep 2009 10:47:23 -0600 Rendell Fong
> > <Rendell.Fong@lsi.com> wrote:
> > 
> > > I don't know if its the index file but its the only different file
> > > from what I can tell.  It doesn't seem to work when copied to a
> > > newly checked out workspace.  So I can't verify if its the
> > > problem.
> > > 
> > > 
> > > linux-compile.onstor.net $ p4 diff -sa .git/...
> > > /homes/rendellf/tuxrx/linux/kernel/linux-mips-2.6/.git/index
> > > linux-compile.onstor.net $ p4 diff -se .git/...
> > > .git/... - file(s) up-to-date.
> > > linux-compile.onstor.net $ p4 diff -sd .git/...
> > > .git/... - file(s) up-to-date.
> > > linux-compile.onstor.net $
> > > 
> > > rendellf $ pwd
> > > /homes/rendellf/tuxrx/linux/kernel/linux-mips-2.6
> > > rendellf $ git status
> > > # On branch onstor-2.6.22
> > > # Changes to be committed:
> > > #   (use "git reset HEAD <file>..." to unstage)
> > > #
> > > #       modified:   cougar-config
> > > #       modified:   cougar-debug-config
> > > #       new file:   drivers/ssc-mgmt-bus/Kconfig
> > > #       new file:   drivers/ssc-mgmt-bus/Makefile
> > > #       modified:   include/asm-mips/sibyte/bcm1480_regs.h
> > > #       modified:   include/net/sock.h
> > > #       modified:   net/Kconfig
> > > #       modified:   net/Makefile
> > > #       new file:   net/neteee-ui/Kconfig
> > > #       new file:   net/neteee-ui/Makefile
> > > #       new file:   net/neteee-ui/argvize.c
> > > #       new file:   net/neteee-ui/cli.c
> > > #       new file:   net/neteee-ui/cmdtable.c
> > > #       new file:   net/neteee-ui/commands.c
> > > #       new file:   net/neteee-ui/eee-simple-test.c
> > > #       new file:   net/neteee-ui/eee-simple-test.h
> > > #       new file:   net/neteee-ui/eee-test-both.c
> > > #       new file:   net/neteee-ui/eraline.c
> > > #       new file:   net/neteee-ui/getword.c
> > > #       new file:   net/neteee-ui/help.c
> > > #       new file:   net/neteee-ui/hist.c
> > > #       new file:   net/neteee-ui/more.c
> > > #       new file:   net/neteee-ui/pmon-ui.h
> > > #       new file:   net/neteee-ui/queue-api.c
> > > #       new file:   net/neteee-ui/queue-api.h
> > > #       new file:   net/neteee-ui/queue-error.h
> > > #       new file:   net/neteee-ui/queue.c
> > > #       new file:   net/neteee-ui/queue.h
> > > #       new file:   net/neteee-ui/rcon-shell.c
> > > #       new file:   net/neteee-ui/rcon-shell.h
> > > #       new file:   net/neteee-ui/sbm-commands.c
> > > #       new file:   net/neteee-ui/strlib.c
> > > #       new file:   net/neteee-ui/strlib.h
> > > #       new file:   net/neteee-ui/strlibc.h
> > > #       new file:   net/neteee-ui/uihdr.h
> > > #       modified:   net/neteee/neteee.c
> > > #       new file:   net/neteee2/Kconfig
> > > #       new file:   net/neteee2/Makefile
> > > #       new file:   net/neteee2/eee-api.h
> > > #       new file:   net/neteee2/eee-app.c
> > > #       new file:   net/neteee2/eee-app.h
> > > #       new file:   net/neteee2/eee-debug.c
> > > #       new file:   net/neteee2/eee-desc.c
> > > #       new file:   net/neteee2/eee-drv.c
> > > #       new file:   net/neteee2/eee-drv.h
> > > #       new file:   net/neteee2/eee-error.h
> > > #       new file:   net/neteee2/eee-fwd-test.c
> > > #       new file:   net/neteee2/eee-fwd.c
> > > #       new file:   net/neteee2/eee-fwd.h
> > > #       new file:   net/neteee2/eee-init.c
> > > #       new file:   net/neteee2/eee-ipc.c
> > > #       new file:   net/neteee2/eee-ipc.h
> > > #       new file:   net/neteee2/eee-mem.c
> > > #       new file:   net/neteee2/eee-mem.h
> > > #       new file:   net/neteee2/eee-msg.c
> > > #       new file:   net/neteee2/eee-platform.c
> > > #       new file:   net/neteee2/eee-platform.h
> > > #       new file:   net/neteee2/eee-poll.c
> > > #       new file:   net/neteee2/eee-poll.h
> > > #       new file:   net/neteee2/eee-queue.c
> > > #       new file:   net/neteee2/eee-queue.h
> > > #       new file:   net/neteee2/eee-rcon.h
> > > #       new file:   net/neteee2/eee-rq.c
> > > #       new file:   net/neteee2/eee-rq.h
> > > #       new file:   net/neteee2/eee-shmem.h
> > > #       new file:   net/neteee2/eee-test.c
> > > #       new file:   net/neteee2/eee-test.h
> > > #       new file:   net/neteee2/eee-time.c
> > > #       new file:   net/neteee2/eee-time.h
> > > #       new file:   net/neteee2/eee-timer-api-test.c
> > > #       new file:   net/neteee2/eee-timer-api.c
> > > #       new file:   net/neteee2/eee-timer-api.h
> > > #       new file:   net/neteee2/eee-timer-tic.c
> > > #       new file:   net/neteee2/eee-timer.c
> > > #       new file:   net/neteee2/eee-timer.h
> > > #       new file:   net/neteee2/eee-utils.c
> > > #       new file:   net/neteee2/eee.h
> > > #       new file:   net/neteee2/req-queue-struct.h
> > > #       modified:   net/onstor/acpu.c
> > > #       new file:   net/tpl/Kconfig
> > > #       new file:   net/tpl/Makefile
> > > #       new file:   net/tpl/bqueue.h
> > > #       new file:   net/tpl/cache.h
> > > #       new file:   net/tpl/eee-desc.h
> > > #       new file:   net/tpl/nfx-defs.h
> > > #       new file:   net/tpl/nfx-error.h
> > > #       new file:   net/tpl/nfx-types.h
> > > #       new file:   net/tpl/pkt-api.h
> > > #       new file:   net/tpl/pkt-queue-api.c
> > > #       new file:   net/tpl/pkt-queue-api.h
> > > #       new file:   net/tpl/pkt-queue-dcache.c
> > > #       new file:   net/tpl/pkt-queue-struct.h
> > > #       new file:   net/tpl/pkt-queue-test.c
> > > #       new file:   net/tpl/pkt.c
> > > #       new file:   net/tpl/pkt.h
> > > #       new file:   net/tpl/tpl-api.h
> > > #       new file:   net/tpl/tpl-fp-api.h
> > > #       new file:   net/tpl/tpl-fp.h
> > > #       new file:   net/tpl/tpl-ipc.c
> > > #       new file:   net/tpl/tpl-ipc.h
> > > #       new file:   net/tpl/tpl-msg.c
> > > #       new file:   net/tpl/tpl-rcv.c
> > > #       new file:   net/tpl/tpl-utils.c
> > > #       new file:   net/tpl/tpl.c
> > > #       new file:   net/tpl/tpl.h
> > > #       modified:   tuxrx-config
> > > #       modified:   tuxrx-debug-config
> > > #
> > > # Changed but not updated:
> > > #   (use "git add <file>..." to update what will be committed)
> > > #   (use "git checkout -- <file>..." to discard changes in working
> > > directory)
> > > #
> > > #       modified:   drivers/mgmt-bus/rcon.c
> > > #       modified:   include/asm-mips/sibyte/bcm1480_regs.h
> > > #       modified:   include/linux/netdevice.h
> > > #       modified:   include/net/sock.h
> > > #       modified:   kernel/sched.c
> > > #       modified:   net/neteee2/eee-app.c
> > > #       modified:   net/neteee2/eee-timer-api.c
> > > #       modified:   net/neteee2/eee-timer-api.h
> > > #       modified:   net/neteee2/eee-timer-tic.c
> > > #
> > > # Untracked files:
> > > #   (use "git add <file>..." to include in what will be committed)
> > > #
> > > #       .config
> > > #       .missing-syscalls.d
> > > #       drivers/mgmt-bus/bak/
> > > #       drivers/net/sb1250-mac.c-orig
> > > #       errlog
> > > #       scripts/kconfig/.nfs02e6d2c9000001da
> > > rendellf $
> > > 
> > > 
> > > On Wed, 2009-09-23 at 17:53 -0600, Andrew Sharp wrote:
> > > > Hi Rendell,
> > > > 
> > > > It would seem that you didn't quite get something right, or I
> > > > didn't, because the git repository in the tuxrx branch is
> > > > broken:
> > > > 
> > > > ripper:~/src/tuxrx/linux/kernel/linux-mips-2.6$ git-status
> > > > fatal: bad object HEAD
> > > > # On branch onstor-2.6.22
> > > > 
> > > > 
> > > > I haven't tried the dev branch, but you might want to start
> > > > there to see if it's frelled as well.  My guess is there's some
> > > > file that you didn't check in that you needed to.  Refer to the
> > > > wiki for a checklist.
> > > > 
> > > > Thanks,
> > > > 
> > > > a
> > > 
> 
