From owner-freebsd-hackers@FreeBSD.ORG Mon Oct 18 22:53:34 2010 Return-Path: Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 4852F106566B for ; Mon, 18 Oct 2010 22:53:34 +0000 (UTC) (envelope-from jack@skysel.com) Received: from mail-ww0-f50.google.com (mail-ww0-f50.google.com [74.125.82.50]) by mx1.freebsd.org (Postfix) with ESMTP id C7E8F8FC12 for ; Mon, 18 Oct 2010 22:53:32 +0000 (UTC) Received: by wwb13 with SMTP id 13so878089wwb.31 for ; Mon, 18 Oct 2010 15:53:31 -0700 (PDT) MIME-Version: 1.0 Received: by 10.216.158.7 with SMTP id p7mr5278209wek.58.1287442411615; Mon, 18 Oct 2010 15:53:31 -0700 (PDT) Received: by 10.216.54.84 with HTTP; Mon, 18 Oct 2010 15:53:31 -0700 (PDT) X-Originating-IP: [83.233.150.160] Date: Tue, 19 Oct 2010 00:53:31 +0200 Message-ID: From: Jack Engqvist Johansson To: freebsd-hackers@freebsd.org Content-Type: text/plain; charset=ISO-8859-1 X-Mailman-Approved-At: Mon, 18 Oct 2010 23:32:54 +0000 Subject: Filesystem full when installing custom kernel in FreeBSD X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 18 Oct 2010 22:53:34 -0000 Hi, I just got succeeded with my compilation of a custom kernel for FreeBSD 8.1. But when I'm trying to install it, I got an error. File system is full! So I moved the old kernel to another partition, but got the same error. And I cannot move it back again. Whats wrong? How can I do to get a kernel again? Thanks. Best regards, Jack Engvist Johansson bsd# make installkernel KERNCONF=NECTRUS -------------------------------------------------------------- >>> Installing kernel -------------------------------------------------------------- cd /usr/obj/usr/src/sys/NECTRUS; MAKEOBJDIRPREFIX=/usr/obj MACHINE_ARCH=amd64 MACHINE=amd64 CPUTYPE= GROFF_BIN_PATH=/usr/obj/usr/src/tmp/legacy/usr/bin GROFF_FONT_PATH=/usr/obj/usr/src/tmp/legacy/usr/share/groff_font GROFF_TMAC_PATH=/usr/obj/usr/src/tmp/legacy/usr/share/tmac PATH=/usr/obj/usr/src/tmp/legacy/usr/sbin:/usr/obj/usr/src/tmp/legacy/usr/bin:/usr/obj/usr/src/tmp/legacy/usr/games:/usr/obj/usr/src/tmp/usr/sbin:/usr/obj/usr/src/tmp/usr/bin:/usr/obj/usr/src/tmp/usr/games:/sbin:/bin:/usr/sbin:/usr/bin make KERNEL=kernel install thiskernel=`sysctl -n kern.bootfile` ; if [ ! "`dirname "$thiskernel"`" -ef /boot/kernel ] ; then chflags -R noschg /boot/kernel ; rm -rf /boot/kernel ; else if [ -d /boot/kernel.old ] ; then chflags -R noschg /boot/kernel.old ; rm -rf /boot/kernel.old ; fi ; mv /boot/kernel /boot/kernel.old ; sysctl kern.bootfile=/boot/kernel.old/"`basename "$thiskernel"`" ; fi mkdir -p /boot/kernel install -p -m 555 -o root -g wheel kernel /boot/kernel /: write failed, filesystem is full install: /boot/kernel/kernel: No space left on device *** Error code 71 Stop in /usr/obj/usr/src/sys/NECTRUS. *** Error code 1 Stop in /usr/src. *** Error code 1 Stop in /usr/src. ----------------------------------------------------------------------------------------- Laptop spec: http://h10025.www1.hp.com/ewfrf/wc/document?lc=en&cc=us&docname=c01302377&dlc=en /var/run/dmesg.boot: Copyright (c) 1992-2010 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 is a registered trademark of The FreeBSD Foundation. FreeBSD 8.1-RELEASE #0: Mon Jul 19 02:36:49 UTC 2010 root@mason.cse.buffalo.edu:/usr/obj/usr/src/sys/GENERIC amd64 Timecounter "i8254" frequency 1193182 Hz quality 0 CPU: AMD Turion(tm) 64 X2 Mobile Technology TL-60 (1994.64-MHz K8-class CPU) Origin = "AuthenticAMD" Id = 0x60f82 Family = f Model = 68 Stepping = 2 Features=0x178bfbff Features2=0x2001 AMD Features=0xea500800 AMD Features2=0x11f real memory = 2147483648 (2048 MB) avail memory = 1976483840 (1884 MB) ACPI APIC Table: FreeBSD/SMP: Multiprocessor System Detected: 2 CPUs FreeBSD/SMP: 1 package(s) x 2 core(s) cpu0 (BSP): APIC ID: 0 cpu1 (AP): APIC ID: 1 MADT: Forcing active-low polarity and level trigger for SCI ioapic0 irqs 0-23 on motherboard kbd1 at kbdmux0 acpi0: on motherboard acpi0: [ITHREAD] acpi0: Power Button (fixed) Timecounter "ACPI-fast" frequency 3579545 Hz quality 1000 acpi_timer0: <24-bit timer at 3.579545MHz> port 0x1008-0x100b on acpi0 cpu0: on acpi0 cpu1: on acpi0 acpi_ec0: port 0x62,0x66 on acpi0 acpi_hpet0: iomem 0xfed00000-0xfed003ff on acpi0 Timecounter "HPET" frequency 25000000 Hz quality 900 acpi_button0: on acpi0 acpi_button1: on acpi0 acpi_acad0: on acpi0 battery0: on acpi0 acpi_lid0: on acpi0 pcib0: port 0xcf8-0xcff on acpi0 pci0: on pcib0 pci0: at device 0.0 (no driver attached) pci0: at device 0.1 (no driver attached) pci0: at device 0.2 (no driver attached) pci0: at device 0.3 (no driver attached) pci0: at device 0.4 (no driver attached) pci0: at device 0.5 (no driver attached) pci0: at device 0.6 (no driver attached) pci0: at device 0.7 (no driver attached) pcib1: at device 2.0 on pci0 pci1: on pcib1 pcib2: at device 3.0 on pci0 pci3: on pcib2 pci3: at device 0.0 (no driver attached) vgapci0: mem 0xc2000000-0xc2ffffff,0xd0000000-0xdfffffff,0xc1000000-0xc1ffffff irq 18 at device 5.0 on pci0 nvidia0: on vgapci0 vgapci0: child nvidia0 requested pci_enable_busmaster vgapci0: child nvidia0 requested pci_enable_io vgapci0: child nvidia0 requested pci_enable_io nvidia0: [ITHREAD] pci0: at device 9.0 (no driver attached) isab0: at device 10.0 on pci0 isa0: on isab0 pci0: at device 10.1 (no driver attached) pci0: at device 10.3 (no driver attached) ohci0: mem 0xc0004000-0xc0004fff irq 20 at device 11.0 on pci0 ohci0: [ITHREAD] usbus0: on ohci0 ehci0: mem 0xc0005000-0xc00050ff irq 22 at device 11.1 on pci0 ehci0: [ITHREAD] usbus1: EHCI version 1.0 usbus1: on ehci0 atapci0: port 0x1f0-0x1f7,0x3f6,0x170-0x177,0x376,0x3080-0x308f at device 13.0 on pci0 ata0: on atapci0 ata0: [ITHREAD] ata1: on atapci0 ata1: [ITHREAD] atapci1: port 0x30b0-0x30b7,0x30a4-0x30a7,0x30a8-0x30af,0x30a0-0x30a3,0x3090-0x309f mem 0xc0006000-0xc0006fff irq 21 at device 14.0 on pci0 atapci1: [ITHREAD] ata2: on atapci1 ata2: [ITHREAD] ata3: on atapci1 ata3: [ITHREAD] pcib3: at device 16.0 on pci0 pci7: on pcib3 pci0: at device 16.1 (no driver attached) nfe0: port 0x30b8-0x30bf mem 0xc0007000-0xc0007fff irq 16 at device 20.0 on pci0 miibus0: on nfe0 rgephy0: PHY 1 on miibus0 rgephy0: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, 1000baseT, 1000baseT-FDX, auto nfe0: Ethernet address: 00:1e:68:30:00:dd nfe0: [FILTER] acpi_tz0: on acpi0 atrtc0: port 0x70-0x71 on acpi0 atkbdc0: port 0x60,0x64 irq 1 on acpi0 atkbd0: irq 1 on atkbdc0 kbd0 at atkbd0 atkbd0: [GIANT-LOCKED] atkbd0: [ITHREAD] psm0: irq 12 on atkbdc0 psm0: [GIANT-LOCKED] psm0: [ITHREAD] psm0: model IntelliMouse, device ID 3 orm0: at iomem 0xcf800-0xd0fff 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 ppc0: cannot reserve I/O port range powernow0: on cpu0 powernow1: on cpu1 Timecounters tick every 1.000 msec usbus0: 12Mbps Full Speed USB v1.0 usbus1: 480Mbps High Speed USB v2.0 ugen0.1: at usbus0 uhub0: on usbus0 ugen1.1: at usbus1 uhub1: on usbus1 acd0: DVDR at ata0-master PIO4 ad4: 152627MB at ata2-master UDMA100 SATA 1.5Gb/s SMP: AP CPU #1 Launched! Root mount waiting for: usbus1 usbus0 uhub0: 8 ports with 8 removable, self powered Root mount waiting for: usbus1 Root mount waiting for: usbus1 Root mount waiting for: usbus1 uhub1: 8 ports with 8 removable, self powered ugen1.2: at usbus1 uhub2: on usbus1 Root mount waiting for: usbus1 uhub2: 4 ports with 4 removable, self powered Root mount waiting for: usbus1 ugen1.3: at usbus1 ugen1.4: at usbus1 Root mount waiting for: usbus1 ugen1.5: at usbus1 ums0: on usbus1 ums0: 2 buttons and [XY] coordinates ID=1 uhid0: on usbus1 Root mount waiting for: usbus1 Root mount waiting for: usbus1 ugen0.2: at usbus0 ugen1.6: at usbus1 uhub3: on usbus1 uhub3: 3 ports with 2 removable, bus powered Root mount waiting for: usbus1 ugen1.7: at usbus1 ums1: on usbus1 ums1: 8 buttons and [XYZT] coordinates ID=0 ugen1.8: at usbus1 ukbd0: on usbus1 kbd2 at ukbd0 uhid1: on usbus1 Trying to mount root from ufs:/dev/ad4s1a ------------------------------------------------------------------------------------------