From owner-freebsd-bugs@FreeBSD.ORG Thu Dec 13 01:10:01 2007 Return-Path: Delivered-To: freebsd-bugs@hub.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 5910C16A420 for ; Thu, 13 Dec 2007 01:10:01 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:4f8:fff6::28]) by mx1.freebsd.org (Postfix) with ESMTP id 3F58513C457 for ; Thu, 13 Dec 2007 01:10:01 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) by freefall.freebsd.org (8.14.2/8.14.2) with ESMTP id lBD1A1ms017912 for ; Thu, 13 Dec 2007 01:10:01 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.2/8.14.1/Submit) id lBD1A1D6017911; Thu, 13 Dec 2007 01:10:01 GMT (envelope-from gnats) Resent-Date: Thu, 13 Dec 2007 01:10:01 GMT Resent-Message-Id: <200712130110.lBD1A1D6017911@freefall.freebsd.org> Resent-From: FreeBSD-gnats-submit@FreeBSD.org (GNATS Filer) Resent-To: freebsd-bugs@FreeBSD.org Resent-Reply-To: FreeBSD-gnats-submit@FreeBSD.org, "Julian H. Stacey" Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id CCE1616A418 for ; Thu, 13 Dec 2007 01:08:24 +0000 (UTC) (envelope-from jhs@berklix.org) Received: from tower.berklix.org (tower.berklix.org [83.236.223.114]) by mx1.freebsd.org (Postfix) with ESMTP id 777ED13C442 for ; Thu, 13 Dec 2007 01:08:24 +0000 (UTC) (envelope-from jhs@berklix.org) Received: from js.berklix.net (p549A690D.dip.t-dialin.net [84.154.105.13]) (authenticated bits=0) by tower.berklix.org (8.13.6/8.13.6) with ESMTP id lBD18Lux026872 for ; Thu, 13 Dec 2007 01:08:22 GMT (envelope-from jhs@berklix.org) Received: from fire.js.berklix.net (fire.js.berklix.net [192.168.91.41]) by js.berklix.net (8.13.8/8.13.8) with ESMTP id lBD184TU003743 for ; Thu, 13 Dec 2007 02:08:04 +0100 (CET) (envelope-from jhs@berklix.org) Received: from fire.js.berklix.net (localhost.js.berklix.net [127.0.0.1]) by fire.js.berklix.net (8.13.8/8.13.8) with ESMTP id lBD187O3007585 for ; Thu, 13 Dec 2007 02:08:07 +0100 (CET) (envelope-from jhs@fire.js.berklix.net) Received: (from jhs@localhost) by fire.js.berklix.net (8.13.8/8.13.8/Submit) id lBD187Ye007584; Thu, 13 Dec 2007 02:08:07 +0100 (CET) (envelope-from jhs) Message-Id: <200712130108.lBD187Ye007584@fire.js.berklix.net> Date: Thu, 13 Dec 2007 02:08:07 +0100 (CET) From: "Julian H. Stacey" To: FreeBSD-gnats-submit@FreeBSD.org X-Send-Pr-Version: 3.113 Cc: Subject: conf/118636: remove requirement for SLIP install cables to support hard flow X-BeenThere: freebsd-bugs@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: "Julian H. Stacey" List-Id: Bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 13 Dec 2007 01:10:01 -0000 >Number: 118636 >Category: conf >Synopsis: remove requirement for SLIP install cables to support hard flow >Confidential: no >Severity: serious >Priority: medium >Responsible: freebsd-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: change-request >Submitter-Id: current-users >Arrival-Date: Thu Dec 13 01:10:00 UTC 2007 >Closed-Date: >Last-Modified: >Originator: Julian H. Stacey jhs@berklix.com >Release: FreeBSD 7.0BETA4 >Organization: http://berklix.com >Environment: System: FreeBSD fire.js.berklix.net 6.2-RELEASE FreeBSD 6.2-RELEASE #0: Mon Sep 17 23:01:21 CEST 2007 jhs@fire.js.berklix.net:/usr1/src/sys/amd64/compile/FIRE64.small amd64 >Description: Comment in diff. >How-To-Repeat: Comment in diff. >Fix: ---------------- This file is: http://berklix.com/~jhs/src/bsd/fixes/FreeBSD/src/gen/usr.sbin/sysinstal/network.c.REL=ALL.diff Discard -h as a liability: It is doesnt work on various commercial cables, We should be conservative & inclusive. Chances are, if someone is using SLIP, theyre already desperate & near ready to give up, having encountered enough install problems. EG one real nightmare laptop: http://localhost/~jhs/hardware/laptops/dell_latitude_xpi_p133st/ Had all these problems in one laptop: laptop pcmcia cdrom not recogniesd on 7.0BETA3 (OK on 4.11) laptop pcmcia ethernet not recognised on 7.0BETA3 (OK on 4.11) BIOS broken, creating spare partition to park eg 7.0BETA4 distribution imported under 4.11-RELEASE, kills boot on all partitions. 7.0BETA3 ATA/WC driver broken (4.11-RELEASE OK), silently failing to write without eg hw.ata.ata_dma=0 in http://localhost/~jhs/hardware/laptops/#loader.conf PLIP broken (been so FreeBSD-5.0 to 7.0BETA4 inclusive) http://berklix.com/~jhs/src/bsd/fixes/FreeBSD/src/gen/share/man/man4/lp.4.REL=ALL.diff http://berklix.com/~jhs/src/bsd/fixes/FreeBSD/src/gen/share/man/man4/plip.4.send-pr.ignore http://berklix.com/~jhs/src/bsd/fixes/FreeBSD/src/jhs/sys/dev/ppbus/if_plip.c.REL=ALL.diff SLIP breaks by default on some commercial cables. without patch below. PS 1 Remove word `execute' un-necessary geek speak ;-) PS 2 A 4.11 server feeds 7.0BETA3 client happily without '-h' *** 6.2-RELEASE/src/usr.sbin/sysinstall/network.c Thu Dec 13 00:22:22 2007 --- new-generic/src/usr.sbin/sysinstall/network.c Thu Dec 13 01:00:12 2007 *************** *** 93,107 **** /* Cheesy slip attach */ snprintf(attach, 256, "slattach -a -h -l -s 9600 %s", dev->devname); val = msgGetInput(attach, "Warning: SLIP is rather poorly supported in this revision\n" "of the installation due to the lack of a dialing utility.\n" "If you can use PPP for this instead then you're much better\n" "off doing so, otherwise SLIP works fairly well for *hardwired*\n" "links. Please edit the following slattach command for\n" ! "correctness (default here is: VJ compression, Hardware flow-\n" ! "control, ignore carrier and 9600 baud data rate). When you're\n" ! "ready, press [ENTER] to execute it."); if (!val) { msgConfirm("slattach command was empty. Try again!"); restorescr(w); --- 93,123 ---- /* Cheesy slip attach */ snprintf(attach, 256, "slattach -a -h -l -s 9600 %s", dev->devname); + snprintf(attach, 256, "slattach -a -l -s 9600 %s", dev->devname); val = msgGetInput(attach, "Warning: SLIP is rather poorly supported in this revision\n" "of the installation due to the lack of a dialing utility.\n" "If you can use PPP for this instead then you're much better\n" "off doing so, otherwise SLIP works fairly well for *hardwired*\n" "links. Please edit the following slattach command for\n" ! "correctness (default here is: VJ compression, Software flow-\n" ! "control, ignore carrier and 9600 baud data rate).\n" ! "Some commercial cables do not support hardware flow control,\n" ! "but if your cables do support it, you can add '-h' .\n" ! "When you're ready, press [ENTER]."); ! /* Comment To Reduce Before Commiting: ! jhs@berklix.com has 2 red commercial ! cables with 9 pins. & 1 blue commercial ! cable with both 9 & 25 plugs that do Not ! support '-h' Proven between a Toshiba ! Libretto 70CT ! http://www.berklix.com/~jhs/hardware/toshiba/libretto/ ! & an ACi Mirage Model 8700M ! http://www.berklix.com/~jhs/hardware/laptops/aci_mirage_8700m/ ! both running 4.11-RELEASE (but also tried ! with newer FreeBSD). ! ! */ if (!val) { msgConfirm("slattach command was empty. Try again!"); restorescr(w); ---------------- >Release-Note: >Audit-Trail: >Unformatted: