From owner-freebsd-questions@FreeBSD.ORG Tue Dec 6 17:42:22 2005 Return-Path: X-Original-To: freebsd-questions@freebsd.org Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id F0C4A16A420 for ; Tue, 6 Dec 2005 17:42:22 +0000 (GMT) (envelope-from security@adtu.org) Received: from mail.web-1hosting.net (mail.web-1hosting.net [63.123.79.210]) by mx1.FreeBSD.org (Postfix) with ESMTP id 54F9843D66 for ; Tue, 6 Dec 2005 17:42:22 +0000 (GMT) (envelope-from security@adtu.org) Received: from localhost (localhost [127.0.0.1]) by mail.web-1hosting.net (Postfix) with ESMTP id 7AE45216; Tue, 6 Dec 2005 11:42:21 -0600 (CST) Received: from [192.168.168.243] (spencer-900-31.iowaone.net [12.167.40.62]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mail.web-1hosting.net (Postfix) with ESMTP id 9F74A212; Tue, 6 Dec 2005 11:42:19 -0600 (CST) Message-ID: <4395CD2C.8060208@adtu.org> Date: Tue, 06 Dec 2005 11:41:00 -0600 From: Aaron Sloan User-Agent: Mozilla Thunderbird 1.0.7 (X11/20051027) X-Accept-Language: en-us, en MIME-Version: 1.0 To: Giorgos Keramidas References: <438E2AA5.7060209@adtu.org> <86u0dtzq3a.fsf@flame.pc> In-Reply-To: <86u0dtzq3a.fsf@flame.pc> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Virus-Scanned: by ClamAV at web-1hosting.net X-Spam-Status: No, hits=-2.513 tagged_above=-990 required=4.5 tests=AWL, BAYES_00 X-Spam-Level: Cc: freebsd-questions@freebsd.org Subject: Re: make problem after time change and upgrading X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 06 Dec 2005 17:42:23 -0000 Giorgos Keramidas wrote: > Aaron Sloan writes: > >>I am having some problems after I rebuilt 5.4 from cvsup. >>After I mergemastered I have a "make" problem. >> >>This is the error I get when using make in /usr/src >> >>slick# make >>LC_ALL=C: Command not found. >>"Makefile", line 155: warning: "LC_ALL=C date" returned non-zero status >>MAKEFLAGS=: Command not found. >>"Makefile.inc1", line 116: warning: "MAKEFLAGS= CPUTYPE=pentium4 make >>-f /dev/null -m /usr/src/share/mk -V CPUTYPE" returned non-zero status >>"Makefile.inc1", line 118: CPUTYPE global should be set with ?=. >>*** Error code 1 >> >>slick.adtu.org 5.4-STABLE FreeBSD 5.4-STABLE #0: Wed Nov 23 22:26:28 UTC >>2005 aaron@slick.adtu.org:/usr/obj/usr/src/sys/GENERIC i386 >> >>I have done reading on this but I'm not getting anywhere with positive >>results. >> >>Someone has some direction for me to search? > > > The problem doesn't seem to be date-related but an error message that is > included in what you pasted: > > CPUTYPE global should be set with ?=. > > Does your /etc/make.conf file set CPUTYPE unconditionally with something > like this: > > CPUTYPE=pentium4 > > ? > > Here is my make.conf file after I adjusted the cuptype to i686. I have a P4. CPUTYPE?=i686 MAKE_SHELL?=csh CFLAGS= -O -pipe PERL_VER=5.8.7 #PERL_VERSION=5.8.7 #>make LC_ALL=C: Command not found. "Makefile", line 155: warning: "LC_ALL=C date" returned non-zero status MAKEFLAGS=: Command not found. "Makefile.inc1", line 116: warning: "MAKEFLAGS= CPUTYPE=pentiumpro make -f /dev/null -m /usr/src/share/mk -V CPUTYPE" returned non-zero status "Makefile.inc1", line 118: CPUTYPE global should be set with ?=. *** Error code 1 Stop in /usr/src. I'm a little confused... Can someone give me a hint towards debugging the LC returned non-zero status. Troubleshooting: I went into bios and reset the time to local time, CST. The clock was on UTC and was off by an hour, I think ahead. date> Tue Dec 6 11:37:56 CST 2005 seems correct. What other information can I give you that would be helpful? Copyright (c) 1992-2005 The FreeBSD Project. Copyright (c) 1979, 1980, 1983, 1986, 1988, 1989, 1991, 1992, 1993, 1994 The Regents of the University of California. All rights reserved. FreeBSD 5.4-STABLE #0: Wed Nov 23 22:26:28 UTC 2005 aaron@slick.adtu.org:/usr/obj/usr/src/sys/GENERIC ACPI APIC Table: Timecounter "i8254" frequency 1193182 Hz quality 0 CPU: Intel(R) Pentium(R) 4 CPU 2.40GHz (2430.01-MHz 686-class CPU) MOV,PAT,PSE36,CLFLUSH,DTS,ACPI,MMX,FXSR,SSE,SSE2,SS,HTT,TM,PBE> real memory = 536805376 (511 MB) avail memory = 515612672 (491 MB) npx0: INT 16 interface acpi0: on motherboard acpi0: Power Button (fixed) Timecounter "ACPI-fast" frequency 3579545 Hz quality 1000 acpi_throttle0: on cpu0 acpi_button0: on acpi0 pcib0: port 0xcf8-0xcff on acpi0 pci0: on pcib0 pcib1: at device 1.0 on pci0 pci1: on pcib1 pci1: at device 0.0 (no driver attached) uhci0: port 0xd800-0xd81f irq 16 at device 29.0 on pci0 usb0: on uhci0 usb0: USB revision 1.0 device 29.1 on pci0 usb1: on uhci1 usb1: USB revision 1.0 uhub1: Intel UHCI root hub, class 9/0, rev 1.00/1.00, addr 1 device 29.2 on pci0 usb2: on uhci2 usb2: USB revision 1.0 uhub2: Intel UHCI root hub, class 9/0, rev 1.00/1.00, addr 1 uhub2: 2 ports with 2 removable, self powered pci0: at device 29.7 (no driver attached) atapci0: port 0xb000-0xb00f,0xac00-0xac03, 0xa800-0xa807,0xa400-0xa403,0xa000-0xa007 mem 0xee000000-0xee003fff irq 18 at de vice 2.0 on pci2 ata2: channel #0 on atapci0 ata3: channel #1 on atapci0 pcm0: port 0xb400-0xb41f irq 19 at device 6.0 on pci2 pcm0: fxp0: port 0xbc00-0xbc3f mem 0xee0040 00-0xee004fff irq 20 at device 8.0 on pci2 miibus0: on fxp0 fxp0: Ethernet address: 00:e0:81:50:17:27 isab0: at device 31.0 on pci0 isa0: on isab0 atapci1: port 0xf000-0xf00f,0x376,0x170-0x177,0x 3f6,0x1f0-0x1f7 at device 31.1 on pci0 ata0: channel #0 on atapci1 ata1: channel #1 on atapci1 pci0: at device 31.3 (no driver attached) acpi_tz0: on acpi0 fdc0: port 0x3f7,0x3f0-0x3f5 irq 6 drq 2 on acpi0 fd0: <1440-KB 3.5" drive> on fdc0 drive 0 sio0: <16550A-compatible COM port> port 0x3f8-0x3ff irq 4 flags 0x10 on acpi0 sio0: type 16550A sio1: <16550A-compatible COM port> port 0x2f8-0x2ff irq 3 on acpi0 sio1: type 16550A ppc0: port 0x778-0x77b,0x378-0x37f irq 7 on acp i0 ppc0: Generic chipset (NIBBLE-only) in COMPATIBLE mode ppbus0: on ppc0 plip0: on ppbus0 ppi0: on ppbus0 atkbdc0: port 0x64,0x60 irq 1 on acpi0 atkbd0: irq 1 on atkbdc0 kbd0 at atkbd0 psm0: irq 12 on atkbdc0 psm0: model MouseMan+, device ID 0 orm0: at iomem 0xd0000-0xd87ff,0xc0000-0xccfff on isa0 pmtimer0 on isa0 sc0: at flags 0x100 on isa0 sc0: VGA <16 virtual consoles, flags=0x300> vga0: at port 0x3c0-0x3df iomem 0xa0000-0xbffff on isa0 umass0: SanDisk ImageMate 8 in 1, rev 2.00/91.39, addr 2 Timecounter "TSC" frequency 2430009808 Hz quality 800 Timecounters tick every 10.000 msec ad0: 58644MB [119150/16/63] at ata0-master UDMA100 ata1-slave: FAILURE - SETFEATURES SET TRANSFER MODE status=1 error=4 acd0: DVDR at ata1-master PIO4 ast0: TAPE at ata1-slave BIOSPIO ad4: 58644MB [119150/16/63] at ata2-master UDMA133 ad6: 58644MB [119150/16/63] at ata3-master UDMA133 ar0: 117288MB [14952/255/63] status: READY subdisks: disk0 READY on ad4 at ata2-master disk1 READY on ad6 at ata3-master da0 at umass-sim0 bus 0 target 0 lun 0 da0: Removable Direct Access SCSI-0 device da0: 1.000MB/s transfers da0: Attempt to query device size failed: NOT READY, Medium not present da1 at umass-sim0 bus 0 target 0 lun 1 da1: Removable Direct Access SCSI-0 device da1: 1.000MB/s transfers da1: Attempt to query device size failed: NOT READY, Medium not present da2 at umass-sim0 bus 0 target 0 lun 2 da2: Removable Direct Access SCSI-0 device da2: 1.000MB/s transfers da2: Attempt to query device size failed: NOT READY, Medium not present da3 at umass-sim0 bus 0 target 0 lun 3 da3: Removable Direct Access SCSI-0 device da3: 1.000MB/s transfers (da0:umass-sim0:0:0:0): Medium not present (da0:umass-sim0:0:0:0): Unretryable error Opened disk da0 -> 6 (da0:umass-sim0:0:0:0): READ CAPACITY. CDB: 25 0 0 0 0 0 0 0 0 0 (da0:umass-sim0:0:0:0): CAM Status: SCSI Status Error (da0:umass-sim0:0:0:0): SCSI Status: Check Condition (da0:umass-sim0:0:0:0): NOT READY asc:3a,0 (da0:umass-sim0:0:0:0): Medium not present (da0:umass-sim0:0:0:0): Unretryable error Opened disk da0 -> 6 (da0:umass-sim0:0:0:0): READ CAPACITY. CDB: 25 0 0 0 0 0 0 0 0 0 (da0:umass-sim0:0:0:0): CAM Status: SCSI Status Error (da0:umass-sim0:0:0:0): SCSI Status: Check Condition (da0:umass-sim0:0:0:0): NOT READY asc:3a,0 (da0:umass-sim0:0:0:0): Medium not present (da0:umass-sim0:0:0:0): Unretryable error (da1:umass-sim0:0:0:1): Medium not present (da1:umass-sim0:0:0:1): Unretryable error Opened disk da1 -> 6 (da1:umass-sim0:0:0:1): READ CAPACITY. CDB: 25 20 0 0 0 0 0 0 0 0 (da1:umass-sim0:0:0:1): CAM Status: SCSI Status Error (da1:umass-sim0:0:0:1): SCSI Status: Check Condition (da1:umass-sim0:0:0:1): NOT READY asc:3a,0 (da1:umass-sim0:0:0:1): Medium not present (da1:umass-sim0:0:0:1): Unretryable error Opened disk da1 -> 6 (da1:umass-sim0:0:0:1): READ CAPACITY. CDB: 25 20 0 0 0 0 0 0 0 0 (da1:umass-sim0:0:0:1): CAM Status: SCSI Status Error (da1:umass-sim0:0:0:1): SCSI Status: Check Condition (da1:umass-sim0:0:0:1): NOT READY asc:3a,0 (da1:umass-sim0:0:0:1): Medium not present (da1:umass-sim0:0:0:1): Unretryable error (da2:umass-sim0:0:0:2): Medium not present (da2:umass-sim0:0:0:2): Unretryable error Opened disk da2 -> 6 (da2:umass-sim0:0:0:2): READ CAPACITY. CDB: 25 40 0 0 0 0 0 0 0 0 (da2:umass-sim0:0:0:2): CAM Status: SCSI Status Error (da2:umass-sim0:0:0:2): SCSI Status: Check Condition (da2:umass-sim0:0:0:2): NOT READY asc:3a,0 (da2:umass-sim0:0:0:2): Medium not present (da2:umass-sim0:0:0:2): Unretryable error Opened disk da2 -> 6 (da2:umass-sim0:0:0:2): READ CAPACITY. CDB: 25 40 0 0 0 0 0 0 0 0 (da2:umass-sim0:0:0:2): CAM Status: SCSI Status Error (da2:umass-sim0:0:0:2): SCSI Status: Check Condition (da2:umass-sim0:0:0:2): NOT READY asc:3a,0 (da2:umass-sim0:0:0:2): Medium not present (da2:umass-sim0:0:0:2): Unretryable error (da3:umass-sim0:0:0:3): Medium not present (da3:umass-sim0:0:0:3): Unretryable error Opened disk da3 -> 6 (da3:umass-sim0:0:0:3): READ CAPACITY. CDB: 25 60 0 0 0 0 0 0 0 0 (da3:umass-sim0:0:0:3): CAM Status: SCSI Status Error (da3:umass-sim0:0:0:3): SCSI Status: Check Condition (da3:umass-sim0:0:0:3): NOT READY asc:3a,0 (da3:umass-sim0:0:0:3): Medium not present (da3:umass-sim0:0:0:3): Unretryable error Opened disk da3 -> 6 (da3:umass-sim0:0:0:3): READ CAPACITY. CDB: 25 60 0 0 0 0 0 0 0 0 (da3:umass-sim0:0:0:3): CAM Status: SCSI Status Error (da3:umass-sim0:0:0:3): SCSI Status: Check Condition (da3:umass-sim0:0:0:3): NOT READY asc:3a,0 (da3:umass-sim0:0:0:3): Medium not present (da3:umass-sim0:0:0:3): Unretryable error Opened disk da3 -> 6 Mounting root from ufs:/dev/ar0s1a