Date: Wed, 8 Jan 2003 00:42:45 +0100 (CET) From: David Holm <david@realityrift.com> To: FreeBSD-gnats-submit@FreeBSD.org Cc: ebrandi.home@primeirospassos.org Subject: ports/46846: livecd: Running fails due to old patches Message-ID: <200301072342.h07NgjUw065315@rift.ath.cx>
next in thread | raw e-mail | index | archive | help
>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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200301072342.h07NgjUw065315>