Date: Fri, 18 Dec 2015 16:02:47 +0100 (CET) From: =?ISO-8859-1?Q?Trond_Endrest=F8l?= <Trond.Endrestol@fagskolen.gjovik.no> To: Jos Chrispijn <jos@cloudzeeland.nl> Cc: "freebsd-questions@FreeBSD.org" <freebsd-questions@FreeBSD.org> Subject: Re: Periodic issue Message-ID: <alpine.BSF.2.20.1512181600341.1026@mail.fig.ol.no> In-Reply-To: <56741C70.9030102@cloudzeeland.nl> References: <56741C70.9030102@cloudzeeland.nl>
next in thread | previous in thread | raw e-mail | index | archive | help
On Fri, 18 Dec 2015 15:47+0100, Jos Chrispijn wrote: > For some reason my periodic daily takes 2-3 hours to run. > > Don't have system issues or disk problems. Is this normal and how can I speed > up things? More information is needed. I run BOINC on one of my computers, and I need to suspend the BOINC processes ahead of the periodic tasks, and let them resume their work afterwards. -- +-------------------------------+------------------------------------+ | Vennlig hilsen, | Best regards, | | Trond Endrestøl, | Trond Endrestøl, | | IT-ansvarlig, | System administrator, | | Fagskolen Innlandet, | Gjøvik Technical College, Norway, | | tlf. mob. 952 62 567, | Cellular...: +47 952 62 567, | | sentralbord 61 14 54 00. | Switchboard: +47 61 14 54 00. | +-------------------------------+------------------------------------+ From owner-freebsd-questions@freebsd.org Fri Dec 18 16:29:49 2015 Return-Path: <owner-freebsd-questions@freebsd.org> Delivered-To: freebsd-questions@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id B2227A4C260 for <freebsd-questions@mailman.ysv.freebsd.org>; Fri, 18 Dec 2015 16:29:49 +0000 (UTC) (envelope-from lobo1@abv.bg) Received: from smtp-out.abv.bg (smtp-out.abv.bg [194.153.145.80]) by mx1.freebsd.org (Postfix) with ESMTP id 3DD93144C for <freebsd-questions@freebsd.org>; Fri, 18 Dec 2015 16:29:48 +0000 (UTC) (envelope-from lobo1@abv.bg) Received: from nm21.abv.bg (mail91.ni.bg [192.168.151.140]) by smtp-out.abv.bg (Postfix) with ESMTP id 47FDE56EF0E for <freebsd-questions@freebsd.org>; Fri, 18 Dec 2015 18:23:17 +0200 (EET) DomainKey-Signature: a=rsa-sha1; s=smtp-out; d=abv.bg; c=simple; q=dns; b=cq0vdgrO/5DWlrm0PaUisn3yCqxYITsyWVUI8MhARNNuBjzbcSQ+kDR6oZvMxru7w alquNnsP+YWaUgdugpyrSpKCLFE3H/NFCZnoQcQ4z1/kp8lsgRBesUL4SgH+dTaAJoG pZmZ7tz+tfPm55TZXB/U5+MR2E41aS5rNDQ7zbc= DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=abv.bg; s=smtp-out; t=1450455797; bh=d61e/+NVtwwWYsQOUCxfc2tK5vYJ/FbpLKbYFKpEINU=; h=Date:From:To:Message-ID:Subject:MIME-Version:Content-Type:DKIM; b=NVWTWq39fo3uHkKL3t1MBNyLZwIrwVNBkh+C3fwi2bs5vlE5WMvs7UH7HqlBC8hYm yxjPh5erS1AM9y5XprmMUX14x/3zZ5BevEA/0ulhi+VPnxTU3a5/RBdhuZQql9yzeZ fTFzFz44a1R3uLPCSzEn90QKKgpzOzZVRuxXk0OE= Received: from nm21.abv.bg (localhost [127.0.0.1]) by nm21.abv.bg (Postfix) with ESMTP id 118EC120139 for <freebsd-questions@freebsd.org>; Fri, 18 Dec 2015 18:23:17 +0200 (EET) Date: Fri, 18 Dec 2015 18:23:17 +0200 (EET) From: Georgi Manov <lobo1@abv.bg> To: freebsd-questions@freebsd.org Message-ID: <1171783145.1510695.1450455797069.JavaMail.apache@nm21.abv.bg> Subject: Kernel compile error MIME-Version: 1.0 X-Mailer: AbvMail 3.0 X-Originating-IP: 31.24.216.150 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 8bit X-Content-Filtered-By: Mailman/MimeDel 2.1.20 X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: User questions <freebsd-questions.freebsd.org> List-Unsubscribe: <https://lists.freebsd.org/mailman/options/freebsd-questions>, <mailto:freebsd-questions-request@freebsd.org?subject=unsubscribe> List-Archive: <http://lists.freebsd.org/pipermail/freebsd-questions/> List-Post: <mailto:freebsd-questions@freebsd.org> List-Help: <mailto:freebsd-questions-request@freebsd.org?subject=help> List-Subscribe: <https://lists.freebsd.org/mailman/listinfo/freebsd-questions>, <mailto:freebsd-questions-request@freebsd.org?subject=subscribe> X-List-Received-Date: Fri, 18 Dec 2015 16:29:49 -0000 Hello, I am very new to the BSD world(must say I've been loving it so far) and I am trying to compile my first kernel. After a long-long time of reading and configuring I hit on rocks and I can't go through. I already checked the forums, the mailing lists, the handbook and on google but I can't find anything about the issue I'm running into. So, I decided to put through question as advised in the handbook. In case you wonder why I've done this or that, and what's the purpose of this compile - it's entirely educational and experimental - all of the settings I've set I've checked with dmesg to make sure they exists(or don't exist). I'm not sure I'm allowed to attach files so, I've pasted the output here. I'm did a svnlite update . in /usr/src to make sure I'm using the latest version of the repo. Any help/guidance will be greatly appreciated. Here's my compilation error as a result of make buildkernel KERNCONF=KOPPARBERG /usr/src/sys/fs/devfs/devfs_vnops.c:67:26: error: static declaration of 'devfs_specops' follows non-static declaration static struct vop_vector devfs_specops; ^ /usr/src/sys/sys/vnode.h:824:26: note: previous definition is here extern struct vop_vector devfs_specops; ^ /usr/src/sys/fs/devfs/devfs_vnops.c:1767:26: error: static declaration of 'devfs_specops' follows non-static declaration static struct vop_vector devfs_specops = { ^ /usr/src/sys/sys/vnode.h:824:26: note: previous definition is here extern struct vop_vector devfs_specops; ^ 2 errors generated. *** Error code 1 Stop. make[2]: stopped in /usr/obj/usr/src/sys/KOPPARBERG *** Error code 1 Stop. make[1]: stopped in /usr/src *** Error code 1 Stop. make: stopped in /usr/src and here's my kernel config file(minus top comments): cpu HAMMER ident KOPPARBERG #makeoptions DEBUG=-g # Build kernel with gdb(1) debug symbols #makeoptions WITH_CTF=1 # Run ctfconvert(1) for DTrace support options SCHED_ULE # ULE scheduler options PREEMPTION # Enable kernel thread preemption options INET # InterNETworking options INET6 # IPv6 communications protocols options TCP_OFFLOAD # TCP offload options SCTP # Stream Control Transmission Protocol options FFS # Berkeley Fast Filesystem options SOFTUPDATES # Enable FFS soft updates support #options UFS_ACL # Support for access control lists #options UFS_DIRHASH # Improve performance on big directories #options UFS_GJOURNAL # Enable gjournal-based UFS journaling #options QUOTA # Enable disk quotas for UFS #options MD_ROOT # MD is a potential root device options NFSCL # New Network Filesystem Client options NFSD # New Network Filesystem Server options NFSLOCKD # Network Lock Manager options NFS_ROOT # NFS usable as /, requires NFSCL options MSDOSFS # MSDOS Filesystem #options CD9660 # ISO 9660 Filesystem options PROCFS # Process filesystem (requires PSEUDOFS) options PSEUDOFS # Pseudo-filesystem framework options GEOM_PART_GPT # GUID Partition Tables. #options GEOM_RAID # Soft RAID functionality. options GEOM_LABEL # Provides labelization #options COMPAT_FREEBSD32 # Compatible with i386 binaries #options COMPAT_FREEBSD4 # Compatible with FreeBSD4 #options COMPAT_FREEBSD5 # Compatible with FreeBSD5 #options COMPAT_FREEBSD6 # Compatible with FreeBSD6 #options COMPAT_FREEBSD7 # Compatible with FreeBSD7 #options SCSI_DELAY=5000 # Delay (in ms) before probing SCSI #options KTRACE # ktrace(1) support #options STACK # stack(9) support #options SYSVSHM # SYSV-style shared memory #options SYSVMSG # SYSV-style message queues #options SYSVSEM # SYSV-style semaphores options _KPOSIX_PRIORITY_SCHEDULING # POSIX P1003_1B real-time extensions options PRINTF_BUFR_SIZE=128 # Prevent printf output being interspersed. options KBD_INSTALL_CDEV # install a CDEV entry in /dev #options HWPMC_HOOKS # Necessary kernel hooks for hwpmc(4) options AUDIT # Security event auditing #options CAPABILITY_MODE # Capsicum capability mode #options CAPABILITIES # Capsicum capabilities options PROCDESC # Support for process descriptors options MAC # TrustedBSD MAC Framework #options KDTRACE_FRAME # Ensure frames are compiled in #options KDTRACE_HOOKS # Kernel DTrace hooks #options DDB_CTF # Kernel ELF linker loads CTF data options INCLUDE_CONFIG_FILE # Include this file in kernel options RACCT # Resource accounting framework options RACCT_DEFAULT_TO_DISABLED # Set kern.racct.enable=0 by default options RCTL # Resource limits # Debugging support. Always need this: #options KDB # Enable kernel debugger support. #options KDB_TRACE # Print a stack trace for a panic. # Make an SMP-capable kernel by default options SMP # Symmetric MultiProcessor Kernel # CPU frequency control device cpufreq # Bus support. device acpi options ACPI_DMAR device pci # Floppy drives #device fdc # ATA controllers device ahci # AHCI-compatible SATA controllers #device ata # Legacy ATA/SATA controllers #options ATA_STATIC_ID # Static device numbering #device mvs # Marvell 88SX50XX/88SX60XX/88SX70XX/SoC SATA #device siis # SiliconImage SiI3124/SiI3132/SiI3531 SATA # SCSI Controllers #device ahc # AHA2940 and onboard AIC7xxx devices #options AHC_REG_PRETTY_PRINT # Print register bitfields in debug # output. Adds ~128k to driver. #device ahd # AHA39320/29320 and onboard AIC79xx devices #options AHD_REG_PRETTY_PRINT # Print register bitfields in debug # output. Adds ~215k to driver. #device esp # AMD Am53C974 (Tekram DC-390(T)) #device hptiop # Highpoint RocketRaid 3xxx series #device isp # Qlogic family #device ispfw # Firmware for QLogic HBAs- normally a module #device mpt # LSI-Logic MPT-Fusion #device mps # LSI-Logic MPT-Fusion 2 #device mpr # LSI-Logic MPT-Fusion 3 #device ncr # NCR/Symbios Logic #device sym # NCR/Symbios Logic (newer chipsets + those of `ncr') #device trm # Tekram DC395U/UW/F DC315U adapters #device adv # Advansys SCSI adapters #device adw # Advansys wide SCSI adapters #device aic # Adaptec 15[012]x SCSI adapters, AIC-6[23]60. #device bt # Buslogic/Mylex MultiMaster SCSI adapters #device isci # Intel C600 SAS controller # ATA/SCSI peripherals #device scbus # SCSI bus (required for ATA/SCSI) #device ch # SCSI media changers device da # Direct Access (disks) #device sa # Sequential Access (tape etc) #device cd # CD #device pass # Passthrough device (direct ATA/SCSI access) #device ses # Enclosure Services (SES and SAF-TE) #device ctl # CAM Target Layer # RAID controllers interfaced to the SCSI subsystem #device amr # AMI MegaRAID #device arcmsr # Areca SATA II RAID #XXX it is not 64-bit clean, -scottl #device asr # DPT SmartRAID V, VI and Adaptec SCSI RAID #device ciss # Compaq Smart RAID 5* #device dpt # DPT Smartcache III, IV - See NOTES for options #device hptmv # Highpoint RocketRAID 182x #device hptnr # Highpoint DC7280, R750 #device hptrr # Highpoint RocketRAID 17xx, 22xx, 23xx, 25xx #device hpt27xx # Highpoint RocketRAID 27xx #device iir # Intel Integrated RAID #device ips # IBM (Adaptec) ServeRAID #device mly # Mylex AcceleRAID/eXtremeRAID #device twa # 3ware 9000 series PATA/SATA RAID #device tws # LSI 3ware 9750 SATA+SAS 6Gb/s RAID controller # RAID controllers #device aac # Adaptec FSA RAID #device aacp # SCSI passthrough for aac (requires CAM) #device aacraid # Adaptec by PMC RAID #device ida # Compaq Smart RAID #device mfi # LSI MegaRAID SAS #device mlx # Mylex DAC960 family #device mrsas # LSI/Avago MegaRAID SAS/SATA, 6Gb/s and 12Gb/s #XXX PCI ID conflicts with ahd(4) and mvs(4) #device pmspcv # PMC-Sierra SAS/SATA Controller driver #XXX pointer/int warnings #device pst # Promise Supertrak SX6000 #device twe # 3ware ATA RAID # NVM Express (NVMe) support #device nvme # base NVMe driver #device nvd # expose NVMe namespaces as disks, depends on nvme # atkbdc0 controls both the keyboard and the PS/2 mouse device atkbdc # AT keyboard controller device atkbd # AT keyboard #device psm # PS/2 mouse #device kbdmux # keyboard multiplexer device vga # VGA video card driver options VESA # Add support for VESA BIOS Extensions (VBE) #device splash # Splash screen and screen saver support # syscons is the default console driver, resembling an SCO console #device sc #options SC_PIXEL_MODE # add support for the raster text mode # vt is the new video console driver device vt device vt_vga# PCCARD (PCMCIA) support # PCMCIA and cardbus bridge support #device cbb # cardbus (yenta) bridge #device pccard # PC Card (16-bit) bus #device cardbus # CardBus (32-bit) bus # Serial (COM) ports #device uart # Generic UART driver # Parallel port #device ppc #device ppbus # Parallel port bus (required) #device lpt # Printer #device ppi # Parallel port interface device #device vpo # Requires scbus and da #device puc # Multi I/O cards and multi-channel UARTs # PCI Ethernet NICs. #device bxe # Broadcom NetXtreme II BCM5771X/BCM578XX 10GbE #device de # DEC/Intel DC21x4x (``Tulip'') #device em # Intel PRO/1000 Gigabit Ethernet Family #device igb # Intel PRO/1000 PCIE Server Gigabit Family #device ix # Intel PRO/10GbE PCIE PF Ethernet #device ixv # Intel PRO/10GbE PCIE VF Ethernet #device ixl # Intel XL710 40Gbe PCIE Ethernet #device ixlv # Intel XL710 40Gbe VF PCIE Ethernet #device le # AMD Am7900 LANCE and Am79C9xx PCnet #device ti # Alteon Networks Tigon I/II gigabit Ethernet #device txp # 3Com 3cR990 (``Typhoon'') #device vx # 3Com 3c590, 3c595 (``Vortex'') # PCI Ethernet NICs that use the common MII bus controller code. # NOTE: Be sure to keep the 'device miibus' line in order to use these NICs! device miibus # MII bus support #device ae # Attansic/Atheros L2 FastEthernet #device age # Attansic/Atheros L1 Gigabit Ethernet #device alc # Atheros AR8131/AR8132 Ethernet #device ale # Atheros AR8121/AR8113/AR8114 Ethernet #device bce # Broadcom BCM5706/BCM5708 Gigabit Ethernet #device bfe # Broadcom BCM440x 10/100 Ethernet #device bge # Broadcom BCM570xx Gigabit Ethernet #device cas # Sun Cassini/Cassini+ and NS DP83065 Saturn #device dc # DEC/Intel 21143 and various workalikes #device et # Agere ET1310 10/100/Gigabit Ethernet #device fxp # Intel EtherExpress PRO/100B (82557, 82558) #device gem # Sun GEM/Sun ERI/Apple GMAC #device hme # Sun HME (Happy Meal Ethernet) #device jme # JMicron JMC250 Gigabit/JMC260 Fast Ethernet #device lge # Level 1 LXT1001 gigabit Ethernet #device msk # Marvell/SysKonnect Yukon II Gigabit Ethernet #device nfe # nVidia nForce MCP on-board Ethernet #device nge # NatSemi DP83820 gigabit Ethernet #device nve # nVidia nForce MCP on-board Ethernet Networking #device pcn # AMD Am79C97x PCI 10/100 (precedence over 'le') device re # RealTek 8139C+/8169/8169S/8110S #device rl # RealTek 8129/8139 #device sf # Adaptec AIC-6915 (``Starfire'') #device sge # Silicon Integrated Systems SiS190/191 #device sis # Silicon Integrated Systems SiS 900/SiS 7016 #device sk # SysKonnect SK-984x & SK-982x gigabit Ethernet #device ste # Sundance ST201 (D-Link DFE-550TX) #device stge # Sundance/Tamarack TC9021 gigabit Ethernet #device tl # Texas Instruments ThunderLAN #device tx # SMC EtherPower II (83c170 ``EPIC'') #device vge # VIA VT612x gigabit Ethernet #device vr # VIA Rhine, Rhine II #device wb # Winbond W89C840F #device xl # 3Com 3c90x (``Boomerang'', ``Cyclone'') # ISA Ethernet NICs. pccard NICs included. #device cs # Crystal Semiconductor CS89x0 NIC # 'device ed' requires 'device miibus' #device ed # NE[12]000, SMC Ultra, 3c503, DS8390 cards #device ex # Intel EtherExpress Pro/10 and Pro/10+ #device ep # Etherlink III based cards #device fe # Fujitsu MB8696x based cards #device sn # SMC's 9000 series of Ethernet chips #device xe # Xircom pccard Ethernet # Wireless NIC cards #device wlan # 802.11 support #options IEEE80211_DEBUG # enable debug msgs #options IEEE80211_AMPDU_AGE # age frames in AMPDU reorder q's #options IEEE80211_SUPPORT_MESH # enable 802.11s draft support #device wlan_wep # 802.11 WEP support #device wlan_ccmp # 802.11 CCMP support #device wlan_tkip # 802.11 TKIP support #device wlan_amrr # AMRR transmit rate control algorithm #device an # Aironet 4500/4800 802.11 wireless NICs. #device ath # Atheros NICs #device ath_pci # Atheros pci/cardbus glue #device ath_hal # pci/cardbus chip support #options AH_SUPPORT_AR5416 # enable AR5416 tx/rx descriptors #options AH_AR5416_INTERRUPT_MITIGATION # AR5416 interrupt mitigation #options ATH_ENABLE_11N # Enable 802.11n support for AR5416 and later #device ath_rate_sample # SampleRate tx rate control for ath #device bwi # Broadcom BCM430x/BCM431x wireless NICs. #device bwn # Broadcom BCM43xx wireless NICs. #device ipw # Intel 2100 wireless NICs. #device iwi # Intel 2200BG/2225BG/2915ABG wireless NICs. #device iwn # Intel 4965/1000/5000/6000 wireless NICs. #device malo # Marvell Libertas wireless NICs. #device mwl # Marvell 88W8363 802.11n wireless NICs. #device ral # Ralink Technology RT2500 wireless NICs. #device wi # WaveLAN/Intersil/Symbol 802.11 wireless NICs. #device wpi # Intel 3945ABG wireless NICs. # Pseudo devices. device loop # Network loopback device random # Entropy device #device padlock_rng # VIA Padlock RNG #device rdrand_rng # Intel Bull Mountain RNG device ether # Ethernet support device vlan # 802.1Q VLAN support device tun # Packet tunnel. #device md # Memory "disks" device gif # IPv6 and IPv4 tunneling device faith # IPv6-to-IPv4 relaying (translation) device firmware # firmware assist module # The `bpf' device enables the Berkeley Packet Filter. # Be aware of the administrative consequences of enabling this! # Note that 'bpf' is required for DHCP. device bpf # Berkeley packet filter # USB support #options USB_DEBUG # enable debug msgs #device uhci # UHCI PCI->USB interface device ohci # OHCI PCI->USB interface device ehci # EHCI PCI->USB interface (USB 2.0) device xhci # XHCI PCI->USB interface (USB 3.0) device usb # USB Bus (required) device ukbd # Keyboard device umass # Disks/Mass storage - Requires scbus and da # Sound support device sound # Generic sound driver (required) #device snd_cmi # CMedia CMI8338/CMI8738 #device snd_csa # Crystal Semiconductor CS461x/428x #device snd_emu10kx # Creative SoundBlaster Live! and Audigy #device snd_es137x # Ensoniq AudioPCI ES137x device snd_hda # Intel High Definition Audio #device snd_ich # Intel, NVidia and other ICH AC'97 Audio #device snd_via8233 # VIA VT8233x Audio # MMC/SD #device mmc # MMC/SD bus #device mmcsd # MMC/SD memory card #device sdhci # Generic PCI SD Host Controller # VirtIO support #device virtio # Generic VirtIO bus (required) #device virtio_pci # VirtIO PCI device #device vtnet # VirtIO Ethernet device #device virtio_blk # VirtIO Block device #device virtio_scsi # VirtIO SCSI device #device virtio_balloon # VirtIO Memory Balloon device # HyperV drivers and enchancement support # NOTE: HYPERV depends on hyperv. They must be added or removed together. #options HYPERV # Hyper-V kernel infrastructure #device hyperv # HyperV drivers # Xen HVM Guest Optimizations # NOTE: XENHVM depends on xenpci. They must be added or removed together. #options XENHVM # Xen HVM kernel infrastructure #device xenpci # Xen HVM Hypervisor services driver # VMware support #device vmx # VMware VMXNET3 Ethernet # My custom options device amdtemp # AMD Temperature sensor #device aesni # AES-NI OpenCrypto module options MAXMEM=(23664*1024) # Max Memory 24GB options MAXCPU=8 # Set Max CPUs to the default for the current cpu(8) #options COMPAT_LINUX # Add linux compatibility enabled by default options LINPROCFS # Add linux procfs makeoptions DESTDIR=/tmp # Set testdir options GEOM_ELI # enable ELI options FUSE # enable FUSE by default options AUTOFS # Automounter filesystem options FDESCFS # File descriptor filesystem options TMPFS # Efficient memory filesystem options SHMALL=32768 # Set Maximum number of shared memory pages system wide. options SHMMAX=67108864 # Set Maximum size, in bytes, of a single System V shared memory region options PANIC_REBOOT_WAIT_TIME=-1 # If kernel panic occurs, wait until key pressed to restart... device vt_efifb #device agp # support several AGP chipsets --- Thank you in advance, Georgi Just because you're paranoid, don't mean they're not after you... From owner-freebsd-questions@freebsd.org Fri Dec 18 18:05:32 2015 Return-Path: <owner-freebsd-questions@freebsd.org> Delivered-To: freebsd-questions@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 1CB79A4936E for <freebsd-questions@mailman.ysv.freebsd.org>; Fri, 18 Dec 2015 18:05:32 +0000 (UTC) (envelope-from mcdonnjd@pcam.org) Received: from na01-bl2-obe.outbound.protection.outlook.com (mail-bl2on0121.outbound.protection.outlook.com [65.55.169.121]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-SHA384 (256/256 bits)) (Client CN "mail.protection.outlook.com", Issuer "MSIT Machine Auth CA 2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id B97491A7C for <freebsd-questions@freebsd.org>; Fri, 18 Dec 2015 18:05:30 +0000 (UTC) (envelope-from mcdonnjd@pcam.org) Received: from BLUPR07MB321.namprd07.prod.outlook.com (10.141.25.14) by BLUPR07MB321.namprd07.prod.outlook.com (10.141.25.14) with Microsoft SMTP Server (TLS) id 15.1.361.13; Fri, 18 Dec 2015 18:05:22 +0000 Received: from BLUPR07MB321.namprd07.prod.outlook.com ([169.254.13.26]) by BLUPR07MB321.namprd07.prod.outlook.com ([169.254.13.26]) with mapi id 15.01.0361.006; Fri, 18 Dec 2015 18:05:22 +0000 From: John McDonnell <mcdonnjd@pcam.org> To: FreeBSD Questions <freebsd-questions@freebsd.org> Subject: Re: POS system trashing hard drives during install Thread-Topic: POS system trashing hard drives during install Thread-Index: AdE42/YAUl1Y0GLdSvaQohL1/K9PRAAXdYSAAAD1z/AAIEGVrA== Date: Fri, 18 Dec 2015 18:05:22 +0000 Message-ID: <A09B69E6B9C91963.1-11516305-95c3-4c1e-b7ad-74849ab6baa7@mail.outlook.com> References: <BLUPR07MB321C9B805585AB5A6456D0ABAE00@BLUPR07MB321.namprd07.prod.outlook.com>, <56736BF9.3020803@gmail.com>, <A09B69E6B9C91963.1-76219704-629d-4938-a37f-796c304cacd2@mail.outlook.com> In-Reply-To: <A09B69E6B9C91963.1-76219704-629d-4938-a37f-796c304cacd2@mail.outlook.com> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: authentication-results: spf=none (sender IP is ) smtp.mailfrom=mcdonnjd@pcam.org; x-originating-ip: [52.34.154.136] x-microsoft-exchange-diagnostics: 1; BLUPR07MB321; 5:UPZ6OaAohhTBPpQXUiLgxtqcXer6IK95mMbgR+ikcEw6VqJh24hFJ2agKA12RRVf0ADG+8ceWZYqAumgDym2JuRw5gYuJxuL/dXbki3ZtJop3qpNgK2dJ7RtcSS9nG92e+61bqQUPjp1al7mT2xhaA==; 24:WASCACV0ffhtldBe9XpLibZLEFUyUe3ArMUQOU/2NlfeiAPx5yNCMGZQQ3NXOtiMM8npAhVzE/+S5PyhR4hEmq15T7JR/8f9rLHp1+g+UAs=; 20:d8/4qpLgxfkyAp58BeQRuaRiLTbsYHL3fao77rMJsi+EnSTFOthfbVXMy47W2JXI5IDxmYZ3U4VOzXrh4fxW6W+D7m09//qWXu9hgSRljaitvn/HE9rPZtWyLeyifdo1uwOAHFBig6tK6JuNL31gwVEk4QnjFrx5/HPB57BE2gI= x-microsoft-antispam: UriScan:;BCL:0;PCL:0;RULEID:;SRVR:BLUPR07MB321; x-microsoft-antispam-prvs: <BLUPR07MB32150DE3E32F04EE87E136FBAE10@BLUPR07MB321.namprd07.prod.outlook.com> x-exchange-antispam-report-test: UriScan:(192713067249063); x-exchange-antispam-report-cfa-test: BCL:0; PCL:0; RULEID:(601004)(2401047)(520078)(5005006)(8121501046)(3002001)(10201501046); SRVR:BLUPR07MB321; BCL:0; PCL:0; RULEID:; SRVR:BLUPR07MB321; x-forefront-prvs: 07943272E1 x-forefront-antispam-report: SFV:NSPM; SFS:(10019020)(22974007)(377454003)(199003)(189002)(52044002)(15975445007)(10400500002)(5008740100001)(586003)(19580395003)(19580405001)(15395725005)(1220700001)(1096002)(86362001)(122556002)(6116002)(450100001)(16236675004)(102836003)(3846002)(40100003)(101416001)(11100500001)(87936001)(106356001)(99286002)(110136002)(189998001)(5004730100002)(97736004)(66066001)(107886002)(92566002)(19617315012)(105586002)(2900100001)(15198665003)(81156007)(5001960100002)(2950100001)(54356999)(76176999)(5002640100001)(50986999); DIR:OUT; SFP:1102; SCL:1; SRVR:BLUPR07MB321; H:BLUPR07MB321.namprd07.prod.outlook.com; FPR:; SPF:None; PTR:InfoNoRecords; A:0; MX:1; LANG:en; received-spf: None (protection.outlook.com: pcam.org does not designate permitted sender hosts) spamdiagnosticoutput: 1:23 spamdiagnosticmetadata: NSPM MIME-Version: 1.0 X-OriginatorOrg: pcam.org X-MS-Exchange-CrossTenant-originalarrivaltime: 18 Dec 2015 18:05:22.4454 (UTC) X-MS-Exchange-CrossTenant-fromentityheader: Hosted X-MS-Exchange-CrossTenant-id: 4d0a72ee-ba26-46d5-8bbe-6430f01b636a X-MS-Exchange-Transport-CrossTenantHeadersStamped: BLUPR07MB321 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable X-Content-Filtered-By: Mailman/MimeDel 2.1.20 X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: User questions <freebsd-questions.freebsd.org> List-Unsubscribe: <https://lists.freebsd.org/mailman/options/freebsd-questions>, <mailto:freebsd-questions-request@freebsd.org?subject=unsubscribe> List-Archive: <http://lists.freebsd.org/pipermail/freebsd-questions/> List-Post: <mailto:freebsd-questions@freebsd.org> List-Help: <mailto:freebsd-questions-request@freebsd.org?subject=help> List-Subscribe: <https://lists.freebsd.org/mailman/listinfo/freebsd-questions>, <mailto:freebsd-questions-request@freebsd.org?subject=subscribe> X-List-Received-Date: Fri, 18 Dec 2015 18:05:32 -0000 Just realized I replied directly instead of to the list. Sending this into = the list this time. -- John McDonnell mcdonnjd@pcam.org Sent from Outlook<http://taps.io/outlookmobile> Mobile ---------- Forwarded message ---------- From: "John McDonnell" <mcdonnjd@pcam.org<mailto:mcdonnjd@pcam.org>> Date: Thu, Dec 17, 2015 at 6:41 PM -0800 Subject: Re: POS system trashing hard drives during install To: "luzar722@gmail.com" <luzar722@gmail.com<mailto:luzar722@gmail.com>> From: Ernie Luzar Sent: Thursday, December 17, 9:14 PM Subject: Re: POS system trashing hard drives during install To: John McDonnell Cc: FreeBSD Questions I would say your problem is with the hard drive and how its laid out. The P= OS pc being an older hardware system it uses the MBR (master boot record) f= ormate. Freebsd 10.x releases do not use that format any more. Try doing a = .iso cdrom install and this time do not take the hard drive default, instea= d select the MBR option. You can verify this as the cause by putting the 80= gb H.D. you all ready installed 10.2 on into a newer pc that is running 10.= 0 or newer and it will boot ok. If I remember correctly the 7.x series defa= ulted to the MBR formate. There is one got ya, the HD you installed 10.x on= is now formated with the new gpart boot formate. I do not know if the 10.x= bsdinstaller MBR option will identify the HD has the gpart formate and iss= ue the commands to delete that formate from the 80gb HD with 10.x installed= on it You can run this little simple script called gpart.nuke to prepare t= he HD for MBR install method. #! /bin/sh echo "What disk do you want" echo = "to wipe? For example - da1 :" read disk echo "OK, in 10 seconds I will des= troy all data on $disk!" echo "Press CTRL+C to abort!" sleep 10 diskinfo ${= disk} | while read disk sectorsize size sectors other do # Delete MBR and p= artition table. dd if=3D/dev/zero of=3D/dev/${disk} bs=3D${sectorsize} coun= t=3D1 # Delete GEOM metadata. dd if=3D/dev/zero of=3D/dev/${disk} bs=3D${se= ctorsize} oseek=3D`expr $sectors - 2` count=3D2 done Sorry for not inline posting, but I don't think I can do that on this mobil= e app. As I mentioned, the last time I attempted to install FreeBSD on this machin= e, I did use MBR partitioning. And this was on a hard drive that I had veri= fied had MBR partitions on it. Though thinking back, I'm not sure I did a gpart destroy on the drive first= , so the installer may have created a GPT container on it before I started.= I've not had a chance to do anything with this today and won't be able to = get back to it until tomorrow at the earliest and maybe not until next week= . My Windows PC that I was hooking the failed hard drives up to in order to c= heck the drives should have been able to initialize and reformat the hard d= rive, but it wouldn't do that, but it may be an issue with the IDE to USB a= dapter I was using. (That machine does recognize GPT and actually has Windo= ws installed that way.) I'm thinking the easiest thing to do is going to be to put the drive in ano= ther PC and install there and then put that drive into my POS. But feel free to offer other suggestions as I won't be able to get to this = very soon. -- John McDonnell mcdonnjd@pcam.org Sent from Outlook<http://taps.io/outlookmobile> Mobile
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?alpine.BSF.2.20.1512181600341.1026>