Linux PARISC architecture development
 help / color / mirror / Atom feed
* [parisc-linux] cvs update gives 'move away ....' on every file
@ 2001-09-05 13:29 thunder7
  2001-09-06  5:04 ` Grant Grundler
  0 siblings, 1 reply; 9+ messages in thread
From: thunder7 @ 2001-09-05 13:29 UTC (permalink / raw)
  To: parisc-linux

- downloaded the linux-latest.tar.gz archive
- created /home/cvs/parisc and made sure I had enough permissions
- untarred the linux-latest.tar.gz archive there, creating
  /home/cvs/parisc/linux
- installed cvs
- made sure there's a variable CVSROOT in my environment, value:
  ":pserver:anonymous@puffin.external.hp.com:/home/cvs/parisc" (without
  the " of course)
- created ~/.cvsrc, containing:
cvs -z3 -q
diff -uNp
update -Pd
rm -f
- typed 'cd /home/cvs/parisc; cvs update'

result:

jurriaan@pa8200:/home/cvs/parisc$ cvs update -A
cvs update: move away linux/.cvsignore; it is in the way
C linux/.cvsignore
cvs update: move away linux/COPYING; it is in the way
C linux/COPYING
cvs update: move away linux/CREDITS; it is in the way
C linux/CREDITS
cvs [update aborted]: received interrupt signal

and so on. Comments on www.google.com and various mailin-lists seem to
indicate this is often a server-error. I can't really believe that,
since it seems to work for everyone else.

I retried it with linux-20010830.tar.gz, and the same messages were
printed.

What am I doing wrong?

Thanks,
Jurriaan
-- 
Cool is one thing, but you're frozen solid.
	Startrek DS9: Vic Fontaine to Odo.
GNU/Linux 2.4.9-ac7 SMP/ReiserFS 2x1402 bogomips load av: 0.03 0.03 0.02

^ permalink raw reply	[flat|nested] 9+ messages in thread

* Re: [parisc-linux] cvs update gives 'move away ....' on every file
  2001-09-05 13:29 [parisc-linux] cvs update gives 'move away ....' on every file thunder7
@ 2001-09-06  5:04 ` Grant Grundler
  2001-09-06  5:18   ` Andrew Shugg
  0 siblings, 1 reply; 9+ messages in thread
From: Grant Grundler @ 2001-09-06  5:04 UTC (permalink / raw)
  To: thunder7; +Cc: parisc-linux

thunder7@xs4all.nl wrote:
> - downloaded the linux-latest.tar.gz archive
> - created /home/cvs/parisc and made sure I had enough permissions

You can call this directory anything you want.
I have my linux source trees under /linux/pa64/linux.

...
> - typed 'cd /home/cvs/parisc; cvs update'

You didn't name the CVS repository to use and cvs got confused.

Try 'cd /home/cvs/parisc/linux; cvs update -APd'
Or  'cd /home/cvs/parisc; cvs update -APd linux'

I prefer "pwd" be the source tree I want updated from the repository.

grant

Grant Grundler
parisc-linux {PCI|IOMMU|SMP} hacker
+1.408.447.7253

^ permalink raw reply	[flat|nested] 9+ messages in thread

* Re: [parisc-linux] cvs update gives 'move away ....' on every file
  2001-09-06  5:04 ` Grant Grundler
@ 2001-09-06  5:18   ` Andrew Shugg
  2001-09-06  5:35     ` thunder7
  0 siblings, 1 reply; 9+ messages in thread
From: Andrew Shugg @ 2001-09-06  5:18 UTC (permalink / raw)
  To: parisc-linux

Quoth Grant Grundler:
> You didn't name the CVS repository to use and cvs got confused.
> 
> Try 'cd /home/cvs/parisc/linux; cvs update -APd'
> Or  'cd /home/cvs/parisc; cvs update -APd linux'

... with "-d:pserver:anonymous@puffin.external.hp.com:/home/cvs/parisc"
in there too, or your current environment's $CVSROOT set accordingly.

The -q and -z3 flags are good too, to avoid unnecessary chatter and to
compress the data stream a bit.  Avoid the temptation to crank up to -z9
as this just puts the server on its back for minimal gain.

Andrew.

-- 
Andrew Shugg <andrew@neep.com.au>                   http://www.neep.com.au/

"Just remember, Mr Fawlty, there's always someone worse off than yourself."
"Is there?  Well I'd like to meet him.  I could do with a good laugh."

^ permalink raw reply	[flat|nested] 9+ messages in thread

* Re: [parisc-linux] cvs update gives 'move away ....' on every file
  2001-09-06  5:18   ` Andrew Shugg
@ 2001-09-06  5:35     ` thunder7
  2001-09-06  6:08       ` Grant Grundler
  0 siblings, 1 reply; 9+ messages in thread
From: thunder7 @ 2001-09-06  5:35 UTC (permalink / raw)
  To: parisc-linux

On Thu, Sep 06, 2001 at 01:18:37PM +0800, Andrew Shugg wrote:
> Quoth Grant Grundler:
> > You didn't name the CVS repository to use and cvs got confused.
> > 
> > Try 'cd /home/cvs/parisc/linux; cvs update -APd'
> > Or  'cd /home/cvs/parisc; cvs update -APd linux'
> 
> ... with "-d:pserver:anonymous@puffin.external.hp.com:/home/cvs/parisc"
> in there too, or your current environment's $CVSROOT set accordingly.
> 
> The -q and -z3 flags are good too, to avoid unnecessary chatter and to
> compress the data stream a bit.  Avoid the temptation to crank up to -z9
> as this just puts the server on its back for minimal gain.
> 
So this shouldn't happen:

jurriaan@pa8200:/home/cvs/parisc$ tar zxf ~/source/linux-20010831.tar.gz
jurriaan@pa8200:/home/cvs/parisc$ echo $CVSROOT
:pserver:anonymous@puffin.external.hp.com:/home/cvs/parisc
jurriaan@pa8200:/home/cvs/parisc$ cvs update -APd linux
cvs update: move away linux/.cvsignore; it is in the way
C linux/.cvsignore
cvs update: move away linux/COPYING; it is in the way
C linux/COPYING
cvs update: move away linux/CREDITS; it is in the way
C linux/CREDITS
cvs [update aborted]: received interrupt signal
jurriaan@pa8200:/home/cvs/parisc$

Unfortunately, I see it both with linux-20010830.tar gz and with
linux-20010831.tar.gz

Jurriaan
-- 
GNU/Linux 2.4.9-ac7 SMP/ReiserFS 2x1402 bogomips load av: 0.00 0.00 0.00

^ permalink raw reply	[flat|nested] 9+ messages in thread

* Re: [parisc-linux] cvs update gives 'move away ....' on every file
  2001-09-06  5:35     ` thunder7
@ 2001-09-06  6:08       ` Grant Grundler
  2001-09-06 12:53         ` Matthew Wilcox
  0 siblings, 1 reply; 9+ messages in thread
From: Grant Grundler @ 2001-09-06  6:08 UTC (permalink / raw)
  To: thunder7; +Cc: parisc-linux

thunder7@xs4all.nl wrote:
> So this shouldn't happen:
> 
> jurriaan@pa8200:/home/cvs/parisc$ tar zxf ~/source/linux-20010831.tar.gz
> jurriaan@pa8200:/home/cvs/parisc$ echo $CVSROOT
> :pserver:anonymous@puffin.external.hp.com:/home/cvs/parisc
> jurriaan@pa8200:/home/cvs/parisc$ cvs update -APd linux
> cvs update: move away linux/.cvsignore; it is in the way
> C linux/.cvsignore

Sorry. It doesn't happen to me.

I get the following:
grundler <518>cvs update -APd linux
cvs update: in directory linux:
cvs update: ignoring CVS/Root because it specifies a non-existent repository /home/cvs/parisc
...
ad nauseum for every CVS/Root file in the tree.

One needs to:
1) echo $CVSROOT > ~/Root
2) find linux -name Root -exec cp ~/Root \{\} \;

(CVSROOT is the ":pserver:..." value posted several times earlier.)

I'm not sure who owns the script that make tarballs from cvs source trees.
But adding those two steps would take care of this for most people.


Now I get:
grundler <523>cvs update -APd linux
P linux/Makefile
P linux/arch/parisc/kernel/hardware.c
grundler <524>pwd
/home/grundler
grundler <525>cat ~/.cvsrc
cvs -z3 -q
diff -uNp
update -Pd
rm -f
grundler <526>head -4 linux/Makefile
VERSION = 2
PATCHLEVEL = 4
SUBLEVEL = 9
EXTRAVERSION = -pa15
grundler <527>echo $CVSROOT
:pserver:anonymous@puffin.external.hp.com:/home/cvs/parisc
grundler <528>


I already forgot I don't need to specify "-Pd" options
on the command line... :^)

grant

^ permalink raw reply	[flat|nested] 9+ messages in thread

* Re: [parisc-linux] cvs update gives 'move away ....' on every file
  2001-09-06  6:08       ` Grant Grundler
@ 2001-09-06 12:53         ` Matthew Wilcox
  2001-09-06 19:14           ` thunder7
  0 siblings, 1 reply; 9+ messages in thread
From: Matthew Wilcox @ 2001-09-06 12:53 UTC (permalink / raw)
  To: Grant Grundler; +Cc: thunder7, parisc-linux

> One needs to:
> 1) echo $CVSROOT > ~/Root
> 2) find linux -name Root -exec cp ~/Root \{\} \;
> 
> (CVSROOT is the ":pserver:..." value posted several times earlier.)

easier is: for i in `find linux -name Root`; do echo $CVSROOT > $i; done

> I'm not sure who owns the script that make tarballs from cvs source trees.

Alex deVries...

> grundler <525>cat ~/.cvsrc
> cvs -z3 -q
> diff -uNp
> update -Pd
> rm -f

you're not using the most uptodate cvsrc... i fubar the last line, needs to be
`remove', not `rm'.

-- 
Revolutions do not require corporate support.

^ permalink raw reply	[flat|nested] 9+ messages in thread

* Re: [parisc-linux] cvs update gives 'move away ....' on every file
  2001-09-06 12:53         ` Matthew Wilcox
@ 2001-09-06 19:14           ` thunder7
  2001-09-07  7:07             ` Andrew Shugg
  0 siblings, 1 reply; 9+ messages in thread
From: thunder7 @ 2001-09-06 19:14 UTC (permalink / raw)
  To: parisc-linux

On Thu, Sep 06, 2001 at 01:53:27PM +0100, Matthew Wilcox wrote:
> > One needs to:
> > 1) echo $CVSROOT > ~/Root
> > 2) find linux -name Root -exec cp ~/Root \{\} \;
> > 
> > (CVSROOT is the ":pserver:..." value posted several times earlier.)
> 
> easier is: for i in `find linux -name Root`; do echo $CVSROOT > $i; done
> 
> you're not using the most uptodate cvsrc... i fubar the last line, needs to be
> `remove', not `rm'.
> 
Thanks everyone, now it works. Is there interest in a short (20 lines)
document describing the steps, starting with the download of
linux-latest.tar.gz - 'how to get cvs running without stress' ?

Thanks,
Jurriaan
-- 
Now I will kill you until you die from it.
	Hot Shots II
GNU/Linux 2.4.9-ac7 SMP/ReiserFS 2x1402 bogomips load av: 0.00 0.00 0.12

^ permalink raw reply	[flat|nested] 9+ messages in thread

* Re: [parisc-linux] cvs update gives 'move away ....' on every file
  2001-09-06 19:14           ` thunder7
@ 2001-09-07  7:07             ` Andrew Shugg
  2001-09-09 12:26               ` [parisc-linux] 'Getting a parisc-linux cvs kernel without stress' thunder7
  0 siblings, 1 reply; 9+ messages in thread
From: Andrew Shugg @ 2001-09-07  7:07 UTC (permalink / raw)
  To: parisc-linux

Quoth thunder7@xs4all.nl:
> Thanks everyone, now it works. Is there interest in a short (20 lines)
> document describing the steps, starting with the download of
> linux-latest.tar.gz - 'how to get cvs running without stress' ?

Certainly wouldn't hurt, the website could suffer an update ...  =)

Andrew.

-- 
Andrew Shugg <andrew@neep.com.au>                   http://www.neep.com.au/

"Just remember, Mr Fawlty, there's always someone worse off than yourself."
"Is there?  Well I'd like to meet him.  I could do with a good laugh."

^ permalink raw reply	[flat|nested] 9+ messages in thread

* [parisc-linux] 'Getting a parisc-linux cvs kernel without stress'
  2001-09-07  7:07             ` Andrew Shugg
@ 2001-09-09 12:26               ` thunder7
  0 siblings, 0 replies; 9+ messages in thread
From: thunder7 @ 2001-09-09 12:26 UTC (permalink / raw)
  To: parisc-linux

This is a small update/addition to the 'kernel-building recipe'.

============================================================
If you want to test the latest kernel and don't want to download the
enormous linux-latest.tar.gz file every time, use the cvs system to
get just the changed files. This is a very short manual how to do this
in 3 steps.  Obviously, step 1 and 2 are only needed once. Step 3 can be
repeated as you like.

Step 1 - create the right environment.

Make sure you have a variable 'CVSROOT' with value
CVSROOT=:pserver:anonymous@puffin.external.hp.com:/home/cvs/parisc

To make it available on every boot, put it in ~/.bashrc like this:

CVSROOT=:pserver:anonymous@puffin.external.hp.com:/home/cvs/parisc
export CVSROOT

Also create a .cvsrc file in your home directory with this content:

cvs -z3 -q
diff -uNp
update -Pd
remove -f

Also make sure you have cvs installed ('apt-get install cvs' if you have
not). Before going on to step 2, make sure the CVSROOT variable is
actually set - by logging out and logging in again.

Step 2 - prepare a linux source tree

Get linux-latest.tar.gz from the ftp-site, and untar. In this manual,
I'll user ~/source/ as directory untar in, but any directory will do.
Now you'll have to change some files in the source tree. Make sure your
CVSROOT variable is set correctly and type:

for i in `find linux -name Root`; do echo $CVSROOT > $i; done

Step 3 - get the latest source code

Change directory to ~/source/ and type

cvs update -APd linux

You should see a list of files looking something like this:

P linux/Makefile
P linux/Documentation/parisc/registers
P linux/arch/parisc/vmlinux.lds
P linux/arch/parisc/vmlinux64.lds
P linux/arch/parisc/hpux/fs.c

etc.

To make sure something has changed you can always do:

grep -i version linux/Makefile | head -2

which will answer 

VERSION = 2
EXTRAVERSION = -pa17

Now compile your new kernel as usual.
============================================================

This is by way of thanks to everyone who helped me to get it working,
and to possibly prevent other people from endless trying.

Good luck,
Jurriaan
-- 
Satan: "Welcome to hell - Here's your DoubleSpaced 386SX and windows"
GNU/Linux 2.4.9-ac10 SMP/ReiserFS 2x1402 bogomips load av: 0.31 0.08 0.02

^ permalink raw reply	[flat|nested] 9+ messages in thread

end of thread, other threads:[~2001-09-09 12:54 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2001-09-05 13:29 [parisc-linux] cvs update gives 'move away ....' on every file thunder7
2001-09-06  5:04 ` Grant Grundler
2001-09-06  5:18   ` Andrew Shugg
2001-09-06  5:35     ` thunder7
2001-09-06  6:08       ` Grant Grundler
2001-09-06 12:53         ` Matthew Wilcox
2001-09-06 19:14           ` thunder7
2001-09-07  7:07             ` Andrew Shugg
2001-09-09 12:26               ` [parisc-linux] 'Getting a parisc-linux cvs kernel without stress' thunder7

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox