Re: SCP problem on Redhat 6.2

Simon White <[email protected]> Tue, 17 Dec 2002 08:30:36 +0000
Newsgroups gmane.linux.redhat.sparc
Message-ID <[email protected]>
17-Dec-02 at 11:45, Arnold Yancha ([email protected]) wrote :
> Hi,
> 
> An update. The machine was running 2.4.19 kernel from kernel.org. I switched 
> to the stock 2.2.14-5.0 that came with the CD and the problem was gone. Is 
> there an incompatibility between the ext2 code on the 2 kernels? Has someone 
> done this on 2.4.xx kernels ?

Running a 2.4.x kernel on a system originally binary compatible with
2.2.x kernels is bound to give problems. You can't update the major
version of a kernel without at least new binaries compiled on that
kernel and a solid fsck of all drives. All the file util binaries will
have minor incompatibilities with a newer major kernel version for sure.

> On Monday 16 December 2002 07:33, you wrote:
> > Hi,
> >
> > I have an Ultra5 running Redhat 6.2. My problem is that when I scp a file
> > into the machine, the progress bar shows no error and the correct file
> > size. However, when I do an ls -l it shows the file size to be very large
> > (1374389534720 in this case from the correct size of 320). The script file
> > only contains 7 lines of code including blanks. I am using openssh-3.2.3p1
> > compiled from source. This also manifested on openssh-3.4p1. The remote
> > machines varies from a Pentium4 running Redhat 7.3 and an Intel box running
> > Solaris2.6. I can't open the file using vi.
> >
> > Anyone can shed light on this ?

If you had said RH6.2 w/ 2.4.19 kernel but otherwise "stock", I'd have
seen it straight away :)

-- 
|-Simon White, Internet Services Manager, Certified Check Point CCSA.
|-MTDS  Internet, Security, Anti-Virus, Linux and Hosting Solutions.
|-MTDS  14, rue du 16 novembre, Agdal, Rabat, Morocco.
|-MTDS  tel +212.3.767.4861 - fax +212.3.767.4863