From owner-freebsd-ports Tue Jan 7 15:50:16 2003 Delivered-To: freebsd-ports@hub.freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id DFD5B37B406 for ; Tue, 7 Jan 2003 15:50:09 -0800 (PST) Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id 6901A43EB2 for ; Tue, 7 Jan 2003 15:50:08 -0800 (PST) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) by freefall.freebsd.org (8.12.6/8.12.6) with ESMTP id h07No7NS080696 for ; Tue, 7 Jan 2003 15:50:07 -0800 (PST) (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.12.6/8.12.6/Submit) id h07No7vA080695; Tue, 7 Jan 2003 15:50:07 -0800 (PST) Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id D8E1F37B401 for ; Tue, 7 Jan 2003 15:45:56 -0800 (PST) Received: from rift.ath.cx (h23n2fls32o836.telia.com [217.208.105.23]) by mx1.FreeBSD.org (Postfix) with ESMTP id DDAD943EB2 for ; Tue, 7 Jan 2003 15:45:55 -0800 (PST) (envelope-from avatar@rift.ath.cx) Received: from rift.ath.cx (localhost [127.0.0.1]) by rift.ath.cx (8.12.6/8.12.6) with ESMTP id h07Ngkj7065316; Wed, 8 Jan 2003 00:42:46 +0100 (CET) (envelope-from avatar@rift.ath.cx) Received: (from avatar@localhost) by rift.ath.cx (8.12.6/8.12.6/Submit) id h07NgjUw065315; Wed, 8 Jan 2003 00:42:45 +0100 (CET) Message-Id: <200301072342.h07NgjUw065315@rift.ath.cx> Date: Wed, 8 Jan 2003 00:42:45 +0100 (CET) From: David Holm Reply-To: David Holm To: FreeBSD-gnats-submit@FreeBSD.org Cc: ebrandi.home@primeirospassos.org X-Send-Pr-Version: 3.113 Subject: ports/46846: livecd: Running fails due to old patches Sender: owner-freebsd-ports@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org >Number: 46846 >Category: ports >Synopsis: livecd: Running fails due to old patches >Confidential: no >Severity: serious >Priority: medium >Responsible: freebsd-ports >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Tue Jan 07 15:50:01 PST 2003 >Closed-Date: >Last-Modified: >Originator: David Holm >Release: FreeBSD 4.7-STABLE i386 >Organization: >Environment: System: FreeBSD rift.ath.cx 4.7-STABLE FreeBSD 4.7-STABLE #6: Sun Jan 5 22:45:01 CET 2003 avatar@rift.ath.cx:/usr/src/sys/compile/MYKERNEL i386 >Description: livecd fails due to the patches not working with a recent STABLE system. I cvsupped my STABLE 2003-01-07 with tag=RELENG_4. And I get lots of these: Log: not found >How-To-Repeat: >Fix: Fixed patch_generic: --- LIVECD Tue Jan 7 20:22:21 2003 +++ LIVECD.diff Tue Jan 7 20:20:56 2003 @@ -55,6 +55,10 @@ options _KPOSIX_PRIORITY_SCHEDULING options ICMP_BANDLIM #Rate limit bad replies options KBD_INSTALL_CDEV # install a CDEV entry in /dev +options ROOTDEVNAME=\"cd9660:acd0\" +options UNION +options EXT2FS +options NTFS options AHC_REG_PRETTY_PRINT # Print register bitfields in debug # output. Adds ~128k to driver. options AHD_REG_PRETTY_PRINT # Print register bitfields in debug @@ -240,6 +244,7 @@ pseudo-device md # Memory "disks" pseudo-device gif # IPv6 and IPv4 tunneling pseudo-device faith 1 # IPv6-to-IPv4 relaying (translation) +pseudo-device vn 15 #Vnode driver (turns a file into a device) # The `bpf' pseudo-device enables the Berkeley Packet Filter. # Be aware of the administrative consequences of enabling this! @@ -261,3 +266,89 @@ device aue # ADMtek USB ethernet device cue # CATC USB ethernet device kue # Kawasaki LSI USB ethernet +# +device agp +device pcm +# +options IPFIREWALL #firewall +options IPFIREWALL_VERBOSE #print information about +options IPFIREWALL_FORWARD #enable transparent proxy support +options IPSTEALTH +options IPDIVERT +options TCP_DROP_SYNFIN #drop TCP packets with SYN+FIN +options ICMP_BANDLIM +# +options USER_LDT +options VESA +options SC_PIXEL_MODE # add support for the raster text mode +# +# Suporte a disk-on Chip +device fla0 at isa? +# +# Suporte a placas ISDN + +# Siemens/Infineon chipsets +device isic0 + +# Winbond chipset +device iwic0 + +# AVM Fritz PCI +device ifpi0 + +# AVM Fritz PCI version 2 +device "ifpi2" + +# Teles 16.3c +device ihfc0 + +# NETjet-S / Teles PCI-TJ +device itjc0 + +# AVM Fritz PnP +device ifpnp0 + +# AVM B1/T1 +device "i4bcapi" +device iavc0 + +# enable some ISA cards within the "isic" driver +options TEL_S0_8 +options TEL_S0_16 +options TEL_S0_16_3 +options AVM_A1 +options USR_STI +options ELSA_PCC16 + +# enable some ISA PnP cards within the "isic" driver +options TEL_S0_16_3_P +options CRTX_S0_P +options DRN_NGO +options SEDLBAUER +options ELSA_QS1ISA +options SIEMENS_ISURF2 +options ASUSCOM_IPAC +options EICON_DIVA +options COMPAQ_M610 + +# enable ELSA Microlink PCI card within the "isic" driver +options ELSA_QS1PCI + +# protocol stack +pseudo-device "i4bq921" +pseudo-device "i4bq931" +pseudo-device "i4b" + +# control devices +pseudo-device "i4btrc" 4 +pseudo-device "i4bctl" +pseudo-device "i4brbch" 4 +pseudo-device "i4btel" 2 + +# IP over raw HDLC +options IPR_VJ +pseudo-device "i4bipr" 4 + +# kernel sppp +pseudo-device sppp +pseudo-device "i4bisppp" 4 New patch_rc: --- rc Tue Jan 7 20:25:07 2003 +++ rc.diff Tue Jan 7 20:34:46 2003 @@ -134,96 +134,11 @@ . /etc/rc.early fi -case ${bootmode} in -autoboot) - echo 'Automatic boot in progress...' - fsck -p - case $? in - 0) - ;; - 2) - exit 1 - ;; - 4) - reboot - echo 'Reboot failed... help!' - exit 1 - ;; - 8) - case ${fsck_y_enable} in - [Yy][Ee][Ss]) - echo 'File system preen failed, trying fsck -y . . .' - fsck -y - case $? in - 0) - ;; - *) - echo 'Automatic file system check failed . . . help!' - exit 1 - ;; - esac - ;; - *) - echo 'Automatic file system check failed . . . help!' - exit 1 - ;; - esac - ;; - 12) - echo 'Reboot interrupted' - exit 1 - ;; - 130) - # interrupt before catcher installed - exit 1 - ;; - *) - echo 'Unknown error in reboot' - exit 1 - ;; - esac - ;; -*) - echo 'Skipping disk checks ...' - ;; -esac - -set -T -trap "echo 'Reboot interrupted'; exit 1" 3 - -# root normally must be read/write, but if this is a BOOTP NFS -# diskless boot it does not have to be. -# -case ${root_rw_mount} in -[Nn][Oo] | '') - ;; -*) - if ! mount -u -o rw /; then - echo 'Mounting root filesystem rw failed, startup aborted' - exit 1 - fi - ;; -esac - -umount -a >/dev/null 2>&1 - -# If using diskless, run custom disk mounting function here -# -if [ -n "${diskless_mount}" -a -r "${diskless_mount}" ]; then - sh ${diskless_mount} -else -# otherwise mount everything except nfs filesystems. - mount -a -t nonfs +if [ -r /etc/rc.live ]; then + echo -n 'Initializing LiveCD:' + sh /etc/rc.live + echo '.' fi - -case $? in -0) - ;; -*) - echo 'Mounting /etc/fstab filesystems failed, startup aborted' - exit 1 - ;; -esac adjkerntz -i >Release-Note: >Audit-Trail: >Unformatted: To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-ports" in the body of the message