From nobody@FreeBSD.org  Fri Sep 29 00:08:01 2006
Return-Path: <nobody@FreeBSD.org>
Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125])
	by hub.freebsd.org (Postfix) with ESMTP id A06E816A403
	for <freebsd-gnats-submit@FreeBSD.org>; Fri, 29 Sep 2006 00:08:01 +0000 (UTC)
	(envelope-from nobody@FreeBSD.org)
Received: from www.freebsd.org (www.freebsd.org [216.136.204.117])
	by mx1.FreeBSD.org (Postfix) with ESMTP id 650BD43D6A
	for <freebsd-gnats-submit@FreeBSD.org>; Fri, 29 Sep 2006 00:07:57 +0000 (GMT)
	(envelope-from nobody@FreeBSD.org)
Received: from www.freebsd.org (localhost [127.0.0.1])
	by www.freebsd.org (8.13.1/8.13.1) with ESMTP id k8T07uGZ061661
	for <freebsd-gnats-submit@FreeBSD.org>; Fri, 29 Sep 2006 00:07:56 GMT
	(envelope-from nobody@www.freebsd.org)
Received: (from nobody@localhost)
	by www.freebsd.org (8.13.1/8.13.1/Submit) id k8T07uIN061660;
	Fri, 29 Sep 2006 00:07:56 GMT
	(envelope-from nobody)
Message-Id: <200609290007.k8T07uIN061660@www.freebsd.org>
Date: Fri, 29 Sep 2006 00:07:56 GMT
From: Helmut Schellong <var@schellong.biz>
To: freebsd-gnats-submit@FreeBSD.org
Subject: scp works not in one of two directions
X-Send-Pr-Version: www-2.3

>Number:         103791
>Category:       bin
>Synopsis:       scp works not in one of two directions
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    freebsd-bugs
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Fri Sep 29 00:10:20 GMT 2006
>Closed-Date:    Wed Oct 04 03:10:26 GMT 2006
>Last-Modified:  Wed Oct 04 03:10:26 GMT 2006
>Originator:     Helmut Schellong
>Release:        6.2 BETA1
>Organization:
>Environment:
see above (has no X)
>Description:
FBSD 6.1 REL and 6.2 BETA1:
ssh works from both hosts (root-login).
scp not.
scp works 6.1 -> 6.2 (put files), but not 6.2 -> 6.1 (get files).
Exit 1. No byte transfered.
Authentication (first) is okay.
Config equals.
>How-To-Repeat:
call scp again.
>Fix:
>Release-Note:
>Audit-Trail:
Responsible-Changed-From-To: freebsd-ports-bugs->freebsd-bugs 
Responsible-Changed-By: edwin 
Responsible-Changed-When: Fri Sep 29 00:11:43 UTC 2006 
Responsible-Changed-Why:  
Sounds more like a bin/ issue 

http://www.freebsd.org/cgi/query-pr.cgi?pr=103791 
State-Changed-From-To: open->feedback 
State-Changed-By: lawrance 
State-Changed-When: Fri Sep 29 09:31:56 UTC 2006 
State-Changed-Why:  
Can you please collect more information about the problem? 

For example: 
* try 'ssh -v' to see debugging information from ssh 
* use 'tcpdump' on both sides to examine what is happening 


http://www.freebsd.org/cgi/query-pr.cgi?pr=103791 

From: Helmut Schellong <schellong@t-online.de>
To: bug-followup@FreeBSD.org
Cc:  
Subject: Re: bin/103791: scp works not in one of two directions
Date: Fri, 29 Sep 2006 13:31:19 +0200

  From 6.2 BETA1 - Failure:
 ===========================================================================
 Executing: program /usr/bin/ssh host 192.168.64.100, user root, command scp -v -r -p -f /u/wir
 OpenSSH_4.2p1 FreeBSD-20050903, OpenSSL 0.9.7e-p1 25 Oct 2004
 debug1: Reading configuration data /etc/ssh/ssh_config
 debug2: ssh_connect: needpriv 0
 debug1: Connecting to 192.168.64.100 [192.168.64.100] port 22.
 debug1: Connection established.
 debug1: permanently_set_uid: 0/0
 debug1: identity file /home/.ssh/identity type -1
 debug1: identity file /home/.ssh/id_rsa type -1
 debug1: identity file /home/.ssh/id_dsa type -1
 debug1: Remote protocol version 2.0, remote software version OpenSSH_4.2p1 FreeBSD-20050903
 debug1: match: OpenSSH_4.2p1 FreeBSD-20050903 pat OpenSSH*
 debug1: Enabling compatibility mode for protocol 2.0
 debug1: Local version string SSH-2.0-OpenSSH_4.2p1 FreeBSD-20050903
 debug2: fd 3 setting O_NONBLOCK
 debug1: SSH2_MSG_KEXINIT sent
 debug1: SSH2_MSG_KEXINIT received
 debug2: kex_parse_kexinit: 
 diffie-hellman-group-exchange-sha1,diffie-hellman-group14-sha1,diffie-hellman-group1-sha1
 debug2: kex_parse_kexinit: ssh-dss,ssh-rsa
 debug2: kex_parse_kexinit: 
 aes128-cbc,3des-cbc,blowfish-cbc,cast128-cbc,arcfour128,arcfour256,arcfour,aes192-cbc,aes256-cbc,rijndael-cbc@lysator.liu.se,aes128-ctr,aes192-ctr,aes256-ctr
 debug2: kex_parse_kexinit: 
 aes128-cbc,3des-cbc,blowfish-cbc,cast128-cbc,arcfour128,arcfour256,arcfour,aes192-cbc,aes256-cbc,rijndael-cbc@lysator.liu.se,aes128-ctr,aes192-ctr,aes256-ctr
 debug2: kex_parse_kexinit: 
 hmac-md5,hmac-sha1,hmac-ripemd160,hmac-ripemd160@openssh.com,hmac-sha1-96,hmac-md5-96
 debug2: kex_parse_kexinit: 
 hmac-md5,hmac-sha1,hmac-ripemd160,hmac-ripemd160@openssh.com,hmac-sha1-96,hmac-md5-96
 debug2: kex_parse_kexinit: none,zlib@openssh.com,zlib
 debug2: kex_parse_kexinit: none,zlib@openssh.com,zlib
 debug2: kex_parse_kexinit:
 debug2: kex_parse_kexinit:
 debug2: kex_parse_kexinit: first_kex_follows 0
 debug2: kex_parse_kexinit: reserved 0
 debug2: kex_parse_kexinit: 
 diffie-hellman-group-exchange-sha1,diffie-hellman-group14-sha1,diffie-hellman-group1-sha1
 debug2: kex_parse_kexinit: ssh-dss
 debug2: kex_parse_kexinit: 
 aes128-cbc,3des-cbc,blowfish-cbc,cast128-cbc,arcfour128,arcfour256,arcfour,aes192-cbc,aes256-cbc,rijndael-cbc@lysator.liu.se,aes128-ctr,aes192-ctr,aes256-ctr
 debug2: kex_parse_kexinit: 
 aes128-cbc,3des-cbc,blowfish-cbc,cast128-cbc,arcfour128,arcfour256,arcfour,aes192-cbc,aes256-cbc,rijndael-cbc@lysator.liu.se,aes128-ctr,aes192-ctr,aes256-ctr
 debug2: kex_parse_kexinit: 
 hmac-md5,hmac-sha1,hmac-ripemd160,hmac-ripemd160@openssh.com,hmac-sha1-96,hmac-md5-96
 debug2: kex_parse_kexinit: 
 hmac-md5,hmac-sha1,hmac-ripemd160,hmac-ripemd160@openssh.com,hmac-sha1-96,hmac-md5-96
 debug2: kex_parse_kexinit: none,zlib@openssh.com
 debug2: kex_parse_kexinit: none,zlib@openssh.com
 debug2: kex_parse_kexinit:
 debug2: kex_parse_kexinit:
 debug2: kex_parse_kexinit: first_kex_follows 0
 debug2: kex_parse_kexinit: reserved 0
 debug2: mac_init: found hmac-md5
 debug1: kex: server->client aes128-cbc hmac-md5 none
 debug2: mac_init: found hmac-md5
 debug1: kex: client->server aes128-cbc hmac-md5 none
 debug1: SSH2_MSG_KEX_DH_GEX_REQUEST(1024<1024<8192) sent
 debug1: expecting SSH2_MSG_KEX_DH_GEX_GROUP
 debug2: dh_gen_key: priv key bits set: 129/256
 debug2: bits set: 504/1024
 debug1: SSH2_MSG_KEX_DH_GEX_INIT sent
 debug1: expecting SSH2_MSG_KEX_DH_GEX_REPLY
 debug1: Host '192.168.64.100' is known and matches the DSA host key.
 debug1: Found key in /home/.ssh/known_hosts:1
 debug2: bits set: 493/1024
 debug1: ssh_dss_verify: signature correct
 debug2: kex_derive_keys
 debug2: set_newkeys: mode 1
 debug1: SSH2_MSG_NEWKEYS sent
 debug1: expecting SSH2_MSG_NEWKEYS
 debug2: set_newkeys: mode 0
 debug1: SSH2_MSG_NEWKEYS received
 debug1: SSH2_MSG_SERVICE_REQUEST sent
 debug2: service_accept: ssh-userauth
 debug1: SSH2_MSG_SERVICE_ACCEPT received
 debug2: key: /home/.ssh/identity (0x0)
 debug2: key: /home/.ssh/id_rsa (0x0)
 debug2: key: /home/.ssh/id_dsa (0x0)
 debug1: Authentications that can continue: publickey,keyboard-interactive
 debug1: Next authentication method: publickey
 debug1: Trying private key: /home/.ssh/identity
 debug1: Trying private key: /home/.ssh/id_rsa
 debug1: Trying private key: /home/.ssh/id_dsa
 debug2: we did not send a packet, disable method
 debug1: Next authentication method: keyboard-interactive
 debug2: userauth_kbdint
 debug2: we sent a keyboard-interactive packet, wait for reply
 debug2: input_userauth_info_req
 debug2: input_userauth_info_req: num_prompts 1
 debug2: input_userauth_info_req
 debug2: input_userauth_info_req: num_prompts 0
 debug1: Authentication succeeded (keyboard-interactive).
 debug2: fd 4 setting O_NONBLOCK
 debug2: fd 5 setting O_NONBLOCK
 debug2: fd 6 setting O_NONBLOCK
 debug1: channel 0: new [client-session]
 debug2: channel 0: send open
 debug1: Entering interactive session.
 debug2: callback start
 debug2: client_session2_setup: id 0
 debug1: Sending command: scp -v -r -p -f /u/wir
 debug2: channel 0: request exec confirm 0
 debug2: callback done
 debug2: channel 0: open confirm rwindow 0 rmax 32768
 debug2: channel 0: rcvd adjust 131072
 Sink: kern.metadelay: 8 -> 8
 kern.metadelay: 8 -> 8
 debug2: channel 0: read<=0 rfd 4 len 0
 debug2: channel 0: read failed
 debug2: channel 0: close_read
 debug2: channel 0: input open -> drain
 debug2: channel 0: ibuf empty
 debug2: channel 0: send eof
 debug2: channel 0: input drain -> closed
 debug2: channel 0: write failed
 debug2: channel 0: close_write
 debug2: channel 0: output open -> closed
 debug1: client_input_channel_req: channel 0 rtype exit-status reply 0
 debug2: channel 0: rcvd eof
 debug2: channel 0: rcvd close
 debug2: channel 0: almost dead
 debug2: channel 0: gc: notify user
 debug2: channel 0: gc: user detached
 debug2: channel 0: send close
 debug2: channel 0: is dead
 debug2: channel 0: garbage collecting
 debug1: channel 0: free: client-session, nchannels 1
 debug1: fd 0 clearing O_NONBLOCK
 debug1: fd 1 clearing O_NONBLOCK
 debug1: fd 2 clearing O_NONBLOCK
 debug1: Transferred: stdin 0, stdout 0, stderr 0 bytes in 0.3 seconds
 debug1: Bytes per second: stdin 0.0, stdout 0.0, stderr 0.0
 debug1: Exit status 1
 ===========================================================================
 
 
 
 from FBSD 6.1 - success:
 ===========================================================================
 Executing: program /usr/bin/ssh host 192.168.64.102, user root, command scp -v -p -f /tmp/z
 OpenSSH_4.2p1 FreeBSD-20050903, OpenSSL 0.9.7e-p1 25 Oct 2004
 debug1: Reading configuration data /etc/ssh/ssh_config
 debug1: Connecting to 192.168.64.102 [192.168.64.102] port 22.
 debug1: Connection established.
 debug1: permanently_set_uid: 0/0
 debug1: identity file /home/.ssh/identity type -1
 debug1: identity file /home/.ssh/id_rsa type -1
 debug1: identity file /home/.ssh/id_dsa type 2
 debug1: Remote protocol version 2.0, remote software version OpenSSH_4.2p1 FreeBSD-20050903
 debug1: match: OpenSSH_4.2p1 FreeBSD-20050903 pat OpenSSH*
 debug1: Enabling compatibility mode for protocol 2.0
 debug1: Local version string SSH-2.0-OpenSSH_4.2p1 FreeBSD-20050903
 debug1: SSH2_MSG_KEXINIT sent
 debug1: SSH2_MSG_KEXINIT received
 debug1: kex: server->client aes128-cbc hmac-md5 none
 debug1: kex: client->server aes128-cbc hmac-md5 none
 debug1: SSH2_MSG_KEX_DH_GEX_REQUEST(1024<1024<8192) sent
 debug1: expecting SSH2_MSG_KEX_DH_GEX_GROUP
 debug1: SSH2_MSG_KEX_DH_GEX_INIT sent
 debug1: expecting SSH2_MSG_KEX_DH_GEX_REPLY
 debug1: Host '192.168.64.102' is known and matches the DSA host key.
 debug1: Found key in /home/.ssh/known_hosts:2
 debug1: ssh_dss_verify: signature correct
 debug1: SSH2_MSG_NEWKEYS sent
 debug1: expecting SSH2_MSG_NEWKEYS
 debug1: SSH2_MSG_NEWKEYS received
 debug1: SSH2_MSG_SERVICE_REQUEST sent
 debug1: SSH2_MSG_SERVICE_ACCEPT received
 debug1: Authentications that can continue: publickey,keyboard-interactive
 debug1: Next authentication method: publickey
 debug1: Trying private key: /home/.ssh/identity
 debug1: Trying private key: /home/.ssh/id_rsa
 debug1: Offering public key: /home/.ssh/id_dsa
 debug1: Authentications that can continue: publickey,keyboard-interactive
 debug1: Next authentication method: keyboard-interactive
 Password:
 debug1: Authentication succeeded (keyboard-interactive).
 debug1: channel 0: new [client-session]
 debug1: Entering interactive session.
 debug1: Sending command: scp -v -p -f /tmp/z
 Sink: T1159529051 0 1159529084 0
 Sink: C0644 6177 z
 z                                                         0%    0     0.0KB/s   --:-- ETASending 
 file modes: C0644 6177 z
 z                                                       100% 6177     6.0KB/s   00:00
 debug1: client_input_channel_req: channel 0 rtype exit-status reply 0
 debug1: channel 0: free: client-session, nchannels 1
 debug1: fd 0 clearing O_NONBLOCK
 debug1: fd 1 clearing O_NONBLOCK
 debug1: Transferred: stdin 0, stdout 0, stderr 0 bytes in 0.0 seconds
 debug1: Bytes per second: stdin 0.0, stdout 0.0, stderr 0.0
 debug1: Exit status 0
 ===========================================================================
 
 
 -- 
 Mit freundlichen Gren
 Helmut Schellong   var@schellong.biz
 www.schellong.de   www.schellong.com   www.schellong.biz
 http://www.schellong.de/c.htm
State-Changed-From-To: feedback->open 
State-Changed-By: lawrance 
State-Changed-When: Fri Sep 29 13:14:22 UTC 2006 
State-Changed-Why:  
Feedback received. 

The "Sink:" line looks very odd - mine shows the file being 
transferred.  Yours looks to be showing the name of a sysctl. 

http://www.freebsd.org/cgi/query-pr.cgi?pr=103791 

From: Helmut Schellong <var@schellong.biz>
To: bug-followup@FreeBSD.org
Cc:  
Subject: Re: bin/103791: scp works not in one of two directions
Date: Sat, 30 Sep 2006 02:36:39 +0200

 filedelay dirdelay metadelay  are  30 29 28.
 
 The '8' from '28' ...?!
 
 
 
 dmesg.boot:
 ==============================================
 Copyright (c) 1992-2006 The FreeBSD Project.
 Copyright (c) 1979, 1980, 1983, 1986, 1988, 1989, 1991, 1992, 1993, 1994
 	The Regents of the University of California. All rights reserved.
 FreeBSD 6.2-BETA1 #0: Mon Sep 18 17:58:01 UTC 2006
      root@opus.cse.buffalo.edu:/usr/obj/usr/src/sys/SMP
 Timecounter "i8254" frequency 1193182 Hz quality 0
 CPU: Intel(R) Core(TM)2 CPU          6600  @ 2.40GHz (2400.01-MHz 686-class CPU)
    Origin = "GenuineIntel"  Id = 0x6f6  Stepping = 6
  
 Features=0xbfebfbff<FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CLFLUSH,DTS,ACPI,MMX,FXSR,SSE,SSE2,SS,HTT,TM,PBE>
    Features2=0xe3bd<SSE3,RSVD2,MON,DS_CPL,VMX,EST,TM2,<b9>,CX16,<b14>,<b15>>
    AMD Features=0x20100000<NX,LM>
    AMD Features2=0x1<LAHF>
    Cores per package: 2
 real memory  = 2147090432 (2047 MB)
 avail memory = 2096009216 (1998 MB)
 ACPI APIC Table: <A M I  OEMAPIC >
 FreeBSD/SMP: Multiprocessor System Detected: 2 CPUs
   cpu0 (BSP): APIC ID:  0
   cpu1 (AP): APIC ID:  1
 ioapic0 <Version 2.0> irqs 0-23 on motherboard
 kbd1 at kbdmux0
 ath_hal: 0.9.17.2 (AR5210, AR5211, AR5212, RF5111, RF5112, RF2413, RF5413)
 acpi0: <A M I OEMRSDT> on motherboard
 acpi_bus_number: can't get _ADR
 acpi_bus_number: can't get _ADR
 acpi_bus_number: can't get _ADR
 acpi_bus_number: can't get _ADR
 acpi0: Power Button (fixed)
 Timecounter "ACPI-fast" frequency 3579545 Hz quality 1000
 acpi_timer0: <24-bit timer at 3.579545MHz> port 0x808-0x80b on acpi0
 cpu0: <ACPI CPU> on acpi0
 acpi_perf0: <ACPI CPU Frequency Control> on cpu0
 cpu1: <ACPI CPU> on acpi0
 pcib0: <ACPI Host-PCI bridge> port 0xcf8-0xcff on acpi0
 pci0: <ACPI PCI bus> on pcib0
 pcib1: <ACPI PCI-PCI bridge> irq 16 at device 1.0 on pci0
 pci1: <ACPI PCI bus> on pcib1
 pci1: <display, VGA> at device 0.0 (no driver attached)
 pci0: <multimedia> at device 27.0 (no driver attached)
 pcib2: <ACPI PCI-PCI bridge> irq 16 at device 28.0 on pci0
 pci4: <ACPI PCI bus> on pcib2
 pcib3: <ACPI PCI-PCI bridge> irq 16 at device 28.4 on pci0
 pci3: <ACPI PCI bus> on pcib3
 atapci0: <JMicron JMB363 SATA300 controller> port 
 0xac00-0xac07,0xa880-0xa883,0xa800-0xa807,0xa480-0xa483,0xa400-0xa40f mem 0xfe9fe000-0xfe9fffff irq 
 16 at device 0.0 on pci3
 atapci0: AHCI Version 01.00 controller with 2 ports detected
 ata2: <ATA channel 0> on atapci0
 ata3: <ATA channel 1> on atapci0
 ata4: <ATA channel 2> on atapci0
 pcib4: <ACPI PCI-PCI bridge> irq 17 at device 28.5 on pci0
 pci2: <ACPI PCI bus> on pcib4
 pci2: <network, ethernet> at device 0.0 (no driver attached)
 uhci0: <UHCI (generic) USB controller> port 0xd800-0xd81f irq 23 at device 29.0 on pci0
 uhci0: [GIANT-LOCKED]
 usb0: <UHCI (generic) USB controller> on uhci0
 usb0: USB revision 1.0
 uhub0: Intel UHCI root hub, class 9/0, rev 1.00/1.00, addr 1
 uhub0: 2 ports with 2 removable, self powered
 uhci1: <UHCI (generic) USB controller> port 0xd880-0xd89f irq 19 at device 29.1 on pci0
 uhci1: [GIANT-LOCKED]
 usb1: <UHCI (generic) USB controller> on uhci1
 usb1: USB revision 1.0
 uhub1: Intel UHCI root hub, class 9/0, rev 1.00/1.00, addr 1
 uhub1: 2 ports with 2 removable, self powered
 uhci2: <UHCI (generic) USB controller> port 0xdc00-0xdc1f irq 18 at device 29.2 on pci0
 uhci2: [GIANT-LOCKED]
 usb2: <UHCI (generic) USB controller> on uhci2
 usb2: USB revision 1.0
 uhub2: Intel UHCI root hub, class 9/0, rev 1.00/1.00, addr 1
 uhub2: 2 ports with 2 removable, self powered
 uhci3: <UHCI (generic) USB controller> port 0xe000-0xe01f irq 16 at device 29.3 on pci0
 uhci3: [GIANT-LOCKED]
 usb3: <UHCI (generic) USB controller> on uhci3
 usb3: USB revision 1.0
 uhub3: Intel UHCI root hub, class 9/0, rev 1.00/1.00, addr 1
 uhub3: 2 ports with 2 removable, self powered
 ehci0: <EHCI (generic) USB 2.0 controller> mem 0xfebfbc00-0xfebfbfff irq 23 at device 29.7 on pci0
 ehci0: [GIANT-LOCKED]
 usb4: EHCI version 1.0
 usb4: companion controllers, 2 ports each: usb0 usb1 usb2 usb3
 usb4: <EHCI (generic) USB 2.0 controller> on ehci0
 usb4: USB revision 2.0
 uhub4: Intel EHCI root hub, class 9/0, rev 2.00/1.00, addr 1
 uhub4: 8 ports with 8 removable, self powered
 pcib5: <ACPI PCI-PCI bridge> at device 30.0 on pci0
 pci5: <ACPI PCI bus> on pcib5
 fwohci0: <Texas Instruments TSB43AB22/A> mem 0xfeaff800-0xfeafffff,0xfeaf8000-0xfeafbfff irq 21 at 
 device 3.0 on pci5
 fwohci0: OHCI version 1.10 (ROM=1)
 fwohci0: No. of Isochronous channels is 4.
 fwohci0: EUI64 00:11:d8:00:00:c9:2f:16
 fwohci0: Phy 1394a available S400, 2 ports.
 fwohci0: Link S400, max_rec 2048 bytes.
 firewire0: <IEEE1394(FireWire) bus> on fwohci0
 fwe0: <Ethernet over FireWire> on firewire0
 if_fwe0: Fake Ethernet address: 02:11:d8:c9:2f:16
 fwe0: Ethernet address: 02:11:d8:c9:2f:16
 fwe0: if_start running deferred for Giant
 sbp0: <SBP-2/SCSI over FireWire> on firewire0
 fwohci0: Initiate bus reset
 fwohci0: node_id=0xc800ffc0, gen=1, CYCLEMASTER mode
 firewire0: 1 nodes, maxhop <= 0, cable IRM = 0 (me)
 firewire0: bus manager 0 (me)
 skc0: <Marvell Gigabit Ethernet> port 0xb800-0xb8ff mem 0xfeaf4000-0xfeaf7fff irq 19 at device 4.0 
 on pci5
 skc0: Marvell Yukon Lite Gigabit Ethernet rev. (0x9)
 sk0: <Marvell Semiconductor, Inc. Yukon> on skc0
 sk0: Ethernet address: 00:17:31:69:a0:77
 miibus0: <MII bus> on sk0
 e1000phy0: <Marvell 88E1000 Gigabit PHY> on miibus0
 e1000phy0:  10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, 1000baseTX-FDX, auto
 isab0: <PCI-ISA bridge> at device 31.0 on pci0
 isa0: <ISA bus> on isab0
 atapci1: <Intel ICH8 SATA300 controller> port 
 0xec00-0xec07,0xe880-0xe883,0xe800-0xe807,0xe480-0xe483,0xe400-0xe40f,0xe080-0xe08f irq 19 at device 
 31.2 on pci0
 ata5: <ATA channel 0> on atapci1
 ata6: <ATA channel 1> on atapci1
 pci0: <serial bus, SMBus> at device 31.3 (no driver attached)
 atapci2: <Intel ICH8 SATA300 controller> port 
 0xd480-0xd487,0xd400-0xd403,0xd080-0xd087,0xd000-0xd003,0xcc00-0xcc0f,0xc880-0xc88f irq 19 at device 
 31.5 on pci0
 ata7: <ATA channel 0> on atapci2
 ata8: <ATA channel 1> on atapci2
 acpi_button0: <Power Button> on acpi0
 sio0: <16550A-compatible COM port> port 0x3f8-0x3ff irq 4 flags 0x10 on acpi0
 sio0: type 16550A
 fdc0: <floppy drive controller (FDE)> port 0x3f0-0x3f5,0x3f7 irq 6 drq 2 on acpi0
 fdc0: [FAST]
 fd0: <1440-KB 3.5" drive> on fdc0 drive 0
 atkbdc0: <Keyboard controller (i8042)> port 0x60,0x64 irq 1 on acpi0
 atkbd0: <AT Keyboard> irq 1 on atkbdc0
 kbd0 at atkbd0
 atkbd0: [GIANT-LOCKED]
 psm0: <PS/2 Mouse> irq 12 on atkbdc0
 psm0: [GIANT-LOCKED]
 psm0: model Generic PS/2 mouse, device ID 0
 pmtimer0 on isa0
 ata0 at port 0x1f0-0x1f7,0x3f6 irq 14 on isa0
 ata1 at port 0x170-0x177,0x376 irq 15 on isa0
 ppc0: parallel port not found.
 sc0: <System console> at flags 0x100 on isa0
 sc0: VGA <16 virtual consoles, flags=0x300>
 sio1: configured irq 3 not in bitmap of probed irqs 0
 sio1: port may not be enabled
 vga0: <Generic ISA VGA> at port 0x3c0-0x3df iomem 0xa0000-0xbffff on isa0
 Timecounters tick every 1.000 msec
 ad8: 29314MB <IBM DTLA-307030 TX4OA60A> at ata4-master UDMA100
 acd0: DVDR <PLEXTOR DVDR PX-760A/1.03> at ata4-slave UDMA66
 SMP: AP CPU #1 Launched!
 Trying to mount root from ufs:/dev/ad8s2a
 ==============================================
 
 
 -- 
 Mit freundlichen Gren
 Helmut Schellong   var@schellong.biz
 www.schellong.de   www.schellong.com   www.schellong.biz
 http://www.schellong.de/c.htm

From: Helmut Schellong <var@schellong.biz>
To: bug-followup@FreeBSD.org
Cc:  
Subject: Re: bin/103791: scp works not in one of two directions
Date: Tue, 03 Oct 2006 21:53:20 +0200

 Problem is solved!
 
 I have read the man pages of scp and ssh and so on again:
 
 scp uses ssh.
 ssh -> sshd executes a login shell: -csh
 The -csh executes ~/.cshrc
 .cshrc contains commands they put strings to stdout fd=1!
 
 I have not expected this behaviour of the COPY-command scp.
 
 
 I have modified my .cshrc:
 ----------------------------------------------------
 if (! $?SSH_CONNECTION && ! $?BOOTcmd ) then
    #atacontrol mode 1 UDMA33 XXX
    #atacontrol mode acd0 UDMA33
    @ v = ( `sysctl -n kern.metadelay` > 8 )
    if ($v == 1)  sysctl kern.metadelay=8 kern.dirdelay=9 kern.filedelay=10
    @ v = ( `sysctl -n kern.maxfiles` < 1536 )
    if ($v == 1)  sysctl kern.maxfiles=1536
    #sysctl kern.geom.debugflags=16
 
    if (-e /dev/ad1s4e && ! -e /dev/s)  then
       echo ln -s /dev/ad1s4e /dev/s
       ln -s /dev/ad1s4e /dev/s
    endif
    if (-e /dev/acd1 && ! -e /dev/dvd)  then
       echo ln -s /dev/acd1 /dev/dvd
       ln -s /dev/acd1 /dev/dvd
    endif
 
    if (! $?DISPLAY ) then
      echo "\n Tastenprogrammierung ..."
      #/usr/bin/mapkey  $UFS/sc/conf/keys
      #/usr/bin/mapstr  $UFS/sc/conf/strings
      #$UFS/bin/mapfkeys  $UFS/sc/conf/strings.437
      #source $UFS/sc/conf/setfkey
      echo " Bildschirmrand und Beep ...\n"
      if (! $?SESSION_MANAGER)  echo '[=4A[=32000;7B[=3C[=13;15C'
    endif
    #/bin/sh $UFS/sc/conf/genenv
    date +" %A, %e. %B %Y %X %Z   KW%V  TJ%j"
 
    echo "\n"
    echo " Hallo sc, dann woll'n wir mal wieder \!?"		
    echo "\n"
    echo " Suche nach aktuellen Terminen ..."
    calendar -f /u/sc/calendar
    echo
    setenv BOOTcmd 1
 endif
 ----------------------------------------------------
State-Changed-From-To: open->closed 
State-Changed-By: maxim 
State-Changed-When: Wed Oct 4 03:10:01 UTC 2006 
State-Changed-Why:  
Duplicate of bin/103919. 

http://www.freebsd.org/cgi/query-pr.cgi?pr=103791 
>Unformatted:
