[1.] One line summary of the problem: plip module on 2.6.x {where x=8,10,11} fails to transfer data [2.] Full description of the problem/report: I've successfully used rsync to transfer files over a plip connection via a cable connecting the parallel ports of my desktop and laptop, using kernel 2.4.27. Now, I'm trying to use kernel 2.6.8 (also failed with 2.6.10 and 2.6.11) and rsync won't establish a connection. root #: rsync mydesktop:: rsync: failed to connect to mydesktop: Connection refused (111) rsync error: error in socket IO (code 10 at clientserver.c(99) I'm guessing the problem is the ipv6 in 2.6.x. For 2.6.x, ifconfig shows an inet6 line that isn't there under 2.4.27: under 2.4.27: plip0 Link encap:Ethernet HWaddr FC:FC:C0:A8:01:01 inet addr:192.168.1.1 P-t-P:192.168.1.2 Mask:255.255.255.0 UP POINTOPOINT RUNNING NOARP MTU:1500 Metric:1 RX packets:0 errors:0 dropped:0 overruns:0 frame:0 TX packets:0 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 txqueuelen:10 RX bytes:0 (0.0 b) TX bytes:0 (0.0 b) Interrupt:7 Base address:0x378 with 2.6.x: plip0 Link encap:Ethernet HWaddr FC:FC:C0:A8:01:01 inet addr:192.168.1.1 P-t-P:192.168.1.2 Mask:255.255.255.0 inet6 addr: fe80::fefc:c0ff:fea8:101/64 Scope:Link UP POINTOPOINT RUNNING NOARP MTU:1500 Metric:1 RX packets:0 errors:0 dropped:0 overruns:0 frame:0 TX packets:0 errors:1 dropped:0 overruns:0 carrier:1 collisions:0 txqueuelen:10 RX bytes:0 (0.0 b) TX bytes:0 (0.0 b) Interrupt:7 Base address:0x378 In fact, I can't even ping with this. So, I thought I'd try to disable ipv6 on this link. I added 'del 192.168.1.2' at the end of my ifconfig to disable ipv6 (per man ifconfig) and now get: root #: ifconfig plip0 Link encap:Ethernet HWaddr FC:FC:C0:A8:01:01 inet addr:192.168.1.1 P-t-P:192.168.1.2 Mask:255.255.255.0 inet6 addr: fe80::fefc:c0ff:fea8:101/64 Scope:Link UP POINTOPOINT RUNNING NOARP MTU:1500 Metric:1 RX packets:0 errors:0 dropped:0 overruns:0 frame:0 TX packets:0 errors:1 dropped:0 overruns:0 carrier:1 collisions:0 txqueuelen:10 RX bytes:0 (0.0 b) TX bytes:0 (0.0 b) Interrupt:7 Base address:0x378 plip0:0 Link encap:Ethernet HWaddr FC:FC:C0:A8:01:01 inet addr:192.168.1.2 P-t-P:192.168.1.2 Mask:255.255.255.0 UP POINTOPOINT RUNNING NOARP MTU:1500 Metric:1 Interrupt:7 Base address:0x378 Apparently, the plip0:0 listing is the subtraction of ipv6. Now I can successfully ping: root :~# ping -c1 192.168.1.2 PING 192.168.1.2 (192.168.1.2) 56(84) bytes of data. 64 bytes from 192.168.1.2: icmp_seq=1 ttl=64 time=0.144 ms --- 192.168.1.2 ping statistics --- 1 packets transmitted, 1 received, 0% packet loss, time 0ms rtt min/avg/max/mdev = 0.144/0.144/0.144/0.000 ms 'man rsync' says to add '-4' to the options to get the daemon to use ipv4, and I did this in /etc/defaults/rsync and it works: root :~# ps aux |grep rsync root 8349 0.0 0.3 1912 672 ? Ss 11:02 0:00 /usr/bin/rsync --no-detach --daemon --config/etc/rsyncd.conf -4 However, when I try rsync with or without the '-4' option, on my laptop, it still fails: root #: rsync -4 mydesktop:: rsync: failed to connect to mydesktop: Connection refused (111) rsync error: error in socket IO (code 10 at clientserver.c(99) When I look in my /var/log/rsyncd logfile on the host, there is no entry for the attempted connection. I went back to my original ifconfig, and tried rsync with the '-6' option, but it also failed. This makes rsync unusable on 2.6.8/10/11 for me. [3.] Keywords (i.e., modules, networking, kernel): plip parport tcp rsync 2.6.8 2.6.10 2.6.11 [4.] Kernel version (from /proc/version): Linux version 2.6.8-2-686 (horms@xxxxxxxxxxxxxxxxxxxxxxxxxxx) (gcc version 3.3.5 (Debian 1:3.3.5-12)) #1 Thu May 19 17:53:30 JST 2005 [5.] Output of Oops: none - no Oops [6.] A small shell script or example program which triggers the problem (if possible) - none [7.] Environment [7.1.] Software (add the output of the ver_linux script here) Linux localhost 2.6.8-2-686 #1 Thu May 19 17:53:30 JST 2005 i686 GNU/Linux Gnu C 3.3.5 Gnu make 3.80 binutils 2.15 util-linux 2.12p mount 2.12p module-init-tools 3.2-pre1 e2fsprogs 1.37 PPP 2.4.3 nfs-utils 1.0.6 Linux C Library 2.3.2 Dynamic linker (ldd) 2.3.2 Procps 3.2.1 Net-tools 1.60 Console-tools 0.2.3 Sh-utils 5.2.1 Modules Loaded plip parport_pc parport ipt_LOG ipt_limit ipt_state iptable_filter ip_tables ip_conntrack_ftp ip_conntrack ppp_deflate zlib_deflate bsd_comp ppp_async crc_ccitt ppp_generic slhc slusb ipv6 floppy pcspkr rtc snd_ens1371 snd_rawmidi snd_seq_device snd_pcm_oss snd_mixer_oss snd_pcm snd_page_alloc snd_timer snd_ac97_codec snd soundcore gameport shpchp pciehp pci_hotplug hw_random intel_agp ehci_hcd ohci_hcd uhci_hcd usbcore agpgart nls_iso8859_1 nls_cp437 tsdev mousedev vfat fat evdev capability commoncap psmouse ide_cd cdrom ext3 jbd mbcache ide_generic piix ide_disk ide_core sd_mod ata_piix libata scsi_mod unix font vesafb cfbcopyarea cfbimgblt cfbfillrect [7.2.] Processor information (from /proc/cpuinfo): processor : 0 vendor_id : GenuineIntel cpu family : 6 model : 8 model name : Pentium III (Coppermine) stepping : 6 cpu MHz : 797.542 cache size : 256 KB fdiv_bug : no hlt_bug : no f00f_bug : no coma_bug : no fpu : yes fpu_exception : yes cpuid level : 2 wp : yes flags : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 mmx fxsr sse bogomips : 1581.05 [7.3.] Module information (from /proc/modules): plip 16296 0 - Live 0xccb70000 parport_pc 36900 1 - Live 0xccb77000 parport 41800 2 plip,parport_pc, Live 0xccbd2000 ipt_LOG 6560 1 - Live 0xccbaf000 ipt_limit 2528 1 - Live 0xccbad000 ipt_state 2080 2 - Live 0xccbab000 iptable_filter 2880 1 - Live 0xcc90d000 ip_tables 18464 4 ipt_LOG,ipt_limit,ipt_state,iptable_filter, Live 0xccbcc000 ip_conntrack_ftp 72368 0 - Live 0xccbb9000 ip_conntrack 35724 2 ipt_state,ip_conntrack_ftp, Live 0xccb82000 ppp_deflate 6336 0 - Live 0xccb60000 zlib_deflate 22776 1 ppp_deflate, Live 0xccbb2000 bsd_comp 6112 0 - Live 0xccb5d000 ppp_async 11648 1 - Live 0xccb2f000 crc_ccitt 2144 1 ppp_async, Live 0xcc9c1000 ppp_generic 30164 7 ppp_deflate,bsd_comp,ppp_async, Live 0xccb8c000 slhc 7488 1 ppp_generic, Live 0xcca93000 slusb 18756 2 - Live 0xccb64000 ipv6 264740 12 - Live 0xccbf3000 floppy 61200 0 - Live 0xccb97000 pcspkr 3592 0 - Live 0xcc904000 rtc 12760 0 - Live 0xcca8a000 snd_ens1371 24932 1 - Live 0xccb27000 snd_rawmidi 25124 1 snd_ens1371, Live 0xccb1f000 snd_seq_device 8200 1 snd_rawmidi, Live 0xccaa4000 snd_pcm_oss 55080 0 - Live 0xccb4e000 snd_mixer_oss 20096 1 snd_pcm_oss, Live 0xccab8000 snd_pcm 98728 2 snd_ens1371,snd_pcm_oss, Live 0xccb34000 snd_page_alloc 11752 1 snd_pcm, Live 0xccaa0000 snd_timer 25732 1 snd_pcm, Live 0xccaa9000 snd_ac97_codec 69988 1 snd_ens1371, Live 0xccb03000 snd 57156 10 snd_ens1371,snd_rawmidi,snd_seq_device,snd_pcm_oss, snd_mixer_oss,snd_pcm,snd_timer,snd_ac97_codec, Live 0xccaf4000 soundcore 10336 1 snd, Live 0xcca8f000 gameport 4704 1 snd_ens1371, Live 0xcc9cf000 shpchp 101900 0 - Live 0xccada000 pciehp 99020 0 - Live 0xccac0000 pci_hotplug 34640 2 shpchp,pciehp, Live 0xcca96000 hw_random 5460 0 - Live 0xcc9be000 intel_agp 22816 1 - Live 0xcc9f1000 ehci_hcd 32004 0 - Live 0xcc9c3000 ohci_hcd 21764 0 - Live 0xcc906000 uhci_hcd 33136 0 - Live 0xcc9af000 usbcore 119012 6 slusb,ehci_hcd,ohci_hcd,uhci_hcd, Live 0xcc9d2000 agpgart 34664 2 intel_agp, Live 0xcc9a5000 nls_iso8859_1 4032 1 - Live 0xcc82b000 nls_cp437 5696 1 - Live 0xcc8d1000 tsdev 7392 0 - Live 0xcc8fb000 mousedev 10476 2 - Live 0xcc899000 vfat 14656 1 - Live 0xcc8f6000 fat 46784 1 vfat, Live 0xcc998000 evdev 9600 0 - Live 0xcc8ca000 capability 4520 0 - Live 0xcc8c7000 commoncap 7232 1 capability, Live 0xcc89d000 psmouse 20360 0 - Live 0xcc836000 ide_cd 42656 0 - Live 0xcc8ea000 cdrom 40732 1 ide_cd, Live 0xcc888000 ext3 127240 1 - Live 0xcc90f000 jbd 62616 1 ext3, Live 0xcc8d9000 mbcache 9348 1 ext3, Live 0xcc81c000 ide_generic 1408 0 - Live 0xcc8a1000 piix 13440 1 - Live 0xcc8d4000 ide_disk 19296 6 - Live 0xcc893000 ide_core 139940 4 ide_cd,ide_generic,piix,ide_disk, Live 0xcc8a3000 sd_mod 21728 0 - Live 0xcc83d000 ata_piix 8132 0 - Live 0xcc824000 libata 41700 1 ata_piix, Live 0xcc844000 scsi_mod 125228 2 sd_mod,libata, Live 0xcc85d000 unix 28756 280 - Live 0xcc82d000 font 8320 0 - Live 0xcc820000 vesafb 6656 0 - Live 0xcc813000 cfbcopyarea 3872 1 vesafb, Live 0xcc81a000 cfbimgblt 3040 1 vesafb, Live 0xcc818000 cfbfillrect 3776 1 vesafb, Live 0xcc816000 [7.4.] Loaded driver and hardware information (/proc/ioports, /proc/iomem) root :~# cat /proc/ioports 0000-001f : dma1 0020-0021 : pic1 0040-005f : timer 0060-006f : keyboard 0070-0077 : rtc 0080-008f : dma page reg 00a0-00a1 : pic2 00c0-00df : dma2 00f0-00ff : fpu 0170-0177 : ide1 01f0-01f7 : ide0 0376-0376 : ide1 0378-037a : parport0 03c0-03df : vga+ 03f6-03f6 : ide0 03f8-03ff : serial 0400-047f : 0000:00:1f.0 04d0-04d1 : pnp 00:09 0500-053f : 0000:00:1f.0 0800-087f : pnp 00:0b 0cf8-0cff : PCI conf1 df00-df3f : 0000:01:09.0 df00-df3f : Ensoniq AudioPCI dff0-dff7 : 0000:01:0b.0 ef80-ef9f : 0000:00:1f.2 ef80-ef9f : uhci_hcd efa0-efaf : 0000:00:1f.3 ffa0-ffaf : 0000:00:1f.1 ffa0-ffa7 : ide0 ffa8-ffaf : ide1 root :~# cat /proc/iomem 00000000-0009fbff : System RAM 0009fc00-0009ffff : reserved 000a0000-000bffff : Video RAM area 000c0000-000cbfff : Video ROM 000cc000-000ccfff : Adapter ROM 000f0000-000fffff : System ROM 00100000-0bebffff : System RAM 00100000-00283f92 : Kernel code 00283f93-00330adf : Kernel data 0bec0000-0bef7fff : ACPI Tables 0bef8000-0befffff : ACPI Non-volatile Storage f8000000-fbffffff : 0000:00:01.0 ff8ed000-ff8edfff : 0000:01:0a.0 ff8ed000-ff8edfff : ohci_hcd ff8ee000-ff8eefff : 0000:01:0a.1 ff8ee000-ff8eefff : ohci_hcd ff8efc00-ff8efcff : 0000:01:0a.2 ff8efc00-ff8efcff : ehci_hcd ff8f0000-ff8fffff : 0000:01:0b.0 ffa80000-ffafffff : 0000:00:01.0 ffb80000-ffbfffff : reserved fff00000-ffffffff : reserved [7.5.] PCI information ('lspci -vvv' as root) 0000:00:00.0 Host bridge: Intel Corp. 82810E DC-133 GMCH [Graphics Memory Controller Hub] (rev 03) Control: I/O- Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR- FastB2B- Status: Cap- 66MHz- UDF- FastB2B+ ParErr- DEVSEL=fast >TAbort- <TAbort- <MAbort+ >SERR- <PERR- Latency: 0 0000:00:01.0 VGA compatible controller: Intel Corp. 82810E DC-133 CGC [Chipset Graphics Controller] (rev 03) (prog-if 00 [VGA]) Subsystem: Intel Corp.: Unknown device 4332 Control: I/O+ Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR- FastB2B- Status: Cap+ 66MHz+ UDF- FastB2B+ ParErr- DEVSEL=medium >TAbort- <TAbort- <MAbort- >SERR- <PERR- Latency: 0 Interrupt: pin A routed to IRQ 11 Region 0: Memory at f8000000 (32-bit, prefetchable) [size=64M] Region 1: Memory at ffa80000 (32-bit, non-prefetchable) [size=512K] Capabilities: [dc] Power Management version 1 Flags: PMEClk- DSI+ D1- D2- AuxCurrent=0mA PME(D0-,D1-,D2-,D3hot-,D3cold-) Status: D0 PME-Enable- DSel=0 DScale=0 PME- 0000:00:1e.0 PCI bridge: Intel Corp. 82801AA PCI Bridge (rev 02) (prog-if 00 [Normal decode]) Control: I/O+ Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR+ FastB2B- Status: Cap- 66MHz- UDF- FastB2B+ ParErr- DEVSEL=fast >TAbort- <TAbort- <MAbort- >SERR- <PERR- Latency: 0 Bus: primary=00, secondary=01, subordinate=01, sec-latency=64 I/O behind bridge: 0000d000-0000dfff Memory behind bridge: ff800000-ff8fffff Prefetchable memory behind bridge: f6a00000-f6afffff BridgeCtl: Parity- SERR+ NoISA- VGA- MAbort- >Reset- FastB2B- 0000:00:1f.0 ISA bridge: Intel Corp. 82801AA ISA Bridge (LPC) (rev 02) Control: I/O+ Mem+ BusMaster+ SpecCycle+ MemWINV- VGASnoop- ParErr- Stepping- SERR+ FastB2B- Status: Cap- 66MHz- UDF- FastB2B+ ParErr- DEVSEL=medium >TAbort- <TAbort- <MAbort- >SERR- <PERR- Latency: 0 0000:00:1f.1 IDE interface: Intel Corp. 82801AA IDE (rev 02) (prog-if 80 [Master]) Subsystem: Intel Corp. 82801AA IDE Control: I/O+ Mem- BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR- FastB2B- Status: Cap- 66MHz- UDF- FastB2B+ ParErr- DEVSEL=medium >TAbort- <TAbort- <MAbort- >SERR- <PERR- Latency: 0 Region 4: I/O ports at ffa0 [size=16] 0000:00:1f.2 USB Controller: Intel Corp. 82801AA USB (rev 02) (prog-if 00 [UHCI]) Subsystem: Intel Corp. 82801AA USB Control: I/O+ Mem- BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR- FastB2B- Status: Cap- 66MHz- UDF- FastB2B+ ParErr- DEVSEL=medium >TAbort- <TAbort- <MAbort- >SERR- <PERR- Latency: 0 Interrupt: pin D routed to IRQ 10 Region 4: I/O ports at ef80 [size=32] 0000:00:1f.3 SMBus: Intel Corp. 82801AA SMBus (rev 02) Subsystem: Intel Corp. 82801AA SMBus Control: I/O+ Mem- BusMaster- SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR- FastB2B- Status: Cap- 66MHz- UDF- FastB2B+ ParErr- DEVSEL=medium >TAbort- <TAbort- <MAbort- >SERR- <PERR- Interrupt: pin B routed to IRQ 9 Region 4: I/O ports at efa0 [size=16] 0000:01:09.0 Multimedia audio controller: Ensoniq ES1371 [AudioPCI-97] (rev 09) Subsystem: Ensoniq Creative Sound Blaster AudioPCI64V, AudioPCI128 Control: I/O+ Mem- BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR+ FastB2B- Status: Cap+ 66MHz- UDF- FastB2B- ParErr- DEVSEL=slow >TAbort- <TAbort+ <MAbort- >SERR- <PERR- Latency: 64 (3000ns min, 32000ns max) Interrupt: pin A routed to IRQ 9 Region 0: I/O ports at df00 [size=64] Capabilities: [dc] Power Management version 2 Flags: PMEClk- DSI+ D1+ D2+ AuxCurrent=0mA PME(D0-,D1-,D2-,D3hot-,D3cold-) Status: D0 PME-Enable- DSel=0 DScale=0 PME- 0000:01:0a.0 USB Controller: NEC Corporation USB (rev 43) (prog-if 10 [OHCI]) Subsystem: Belkin Root Hub Control: I/O- Mem+ BusMaster+ SpecCycle- MemWINV+ VGASnoop- ParErr- Stepping- SERR+ FastB2B- Status: Cap+ 66MHz- UDF- FastB2B- ParErr- DEVSEL=medium >TAbort- <TAbort- <MAbort- >SERR- <PERR- Latency: 64 (250ns min, 10500ns max), Cache Line Size: 0x08 (32 bytes) Interrupt: pin A routed to IRQ 3 Region 0: Memory at ff8ed000 (32-bit, non-prefetchable) [size=4K] Capabilities: [40] Power Management version 2 Flags: PMEClk- DSI- D1+ D2+ AuxCurrent=0mA PME(D0+,D1+,D2+,D3hot+,D3cold-) Status: D0 PME-Enable- DSel=0 DScale=0 PME- 0000:01:0a.1 USB Controller: NEC Corporation USB (rev 43) (prog-if 10 [OHCI]) Subsystem: Belkin Root Hub Control: I/O- Mem+ BusMaster+ SpecCycle- MemWINV+ VGASnoop- ParErr- Stepping- SERR+ FastB2B- Status: Cap+ 66MHz- UDF- FastB2B- ParErr- DEVSEL=medium >TAbort- <TAbort- <MAbort- >SERR- <PERR- Latency: 64 (250ns min, 10500ns max), Cache Line Size: 0x08 (32 bytes) Interrupt: pin B routed to IRQ 10 Region 0: Memory at ff8ee000 (32-bit, non-prefetchable) [size=4K] Capabilities: [40] Power Management version 2 Flags: PMEClk- DSI- D1+ D2+ AuxCurrent=0mA PME(D0+,D1+,D2+,D3hot+,D3cold-) Status: D0 PME-Enable- DSel=0 DScale=0 PME- 0000:01:0a.2 USB Controller: NEC Corporation USB 2.0 (rev 04) (prog-if 20 [EHCI]) Subsystem: Belkin Root Hub Control: I/O- Mem+ BusMaster+ SpecCycle- MemWINV+ VGASnoop- ParErr- Stepping- SERR+ FastB2B- Status: Cap+ 66MHz- UDF- FastB2B- ParErr- DEVSEL=medium >TAbort- <TAbort- <MAbort- >SERR- <PERR- Latency: 64 (4000ns min, 8500ns max), Cache Line Size: 0x08 (32 bytes) Interrupt: pin C routed to IRQ 11 Region 0: Memory at ff8efc00 (32-bit, non-prefetchable) [size=256] Capabilities: [40] Power Management version 2 Flags: PMEClk- DSI- D1+ D2+ AuxCurrent=0mA PME(D0+,D1+,D2+,D3hot+,D3cold-) Status: D0 PME-Enable- DSel=0 DScale=0 PME- 0000:01:0b.0 Communication controller: Conexant HCF 56k Data/Fax Modem (rev 08) Subsystem: GVC Corporation Dell Copper Control: I/O+ Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR+ FastB2B- Status: Cap+ 66MHz- UDF- FastB2B+ ParErr- DEVSEL=medium >TAbort- <TAbort- <MAbort- >SERR- <PERR- Latency: 64 Interrupt: pin A routed to IRQ 10 Region 0: Memory at ff8f0000 (32-bit, non-prefetchable) [size=64K] Region 1: I/O ports at dff0 [size=8] Capabilities: [40] Power Management version 2 Flags: PMEClk- DSI+ D1- D2- AuxCurrent=0mA PME(D0+,D1-,D2-,D3hot+,D3cold+) Status: D0 PME-Enable- DSel=0 DScale=0 PME- [7.6.] SCSI information (from /proc/scsi/scsi) root :~# cat /proc/scsi/scsi Attached devices: [7.7.] Other information that might be relevant to the problem (please look in /proc and include all information that you think to be relevant): [X.] Other notes, patches, fixes, workarounds: - : send the line "unsubscribe linux-net" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html