Markus and freebsd-stable: I have encountered a situation exactly the same as the one described in this thread when attempting a source upgrade from 5.4-RELEASE-p4 to 6.0-RELEASE-p4.
I have had nothing but success on 10 other machines that were initially running 5.4-RELEASE, 5.4-RELEASE, -p6, and -p8. Each of these machines has a unique hardware configuration, and the one that fails to buildworld is no exception. I have tried an empty /etc/make.conf as well as specifically including "CFLAGS=-O -pipe" therein. I have also tried a default /etc/profile. The build still fails. I'm thinking that the best course of action might be to upgrade to 5.4-RELEASE-p11 (which builds successfully), but I'm very interested to know what's causing this error in case my intended course of action doesn't work. The commit logs show no changes for this particular file since well before this problem was reported, so the problem must have lied somewhere else in the source tree. Any ideas what could be causing this? Am I on the right track? I have included my dmesg.boot below. Cheers! On Sat, 05 Nov 2005 23:49:34 +0100 Markus Buretorp <[EMAIL PROTECTED]> wrote: > Peter Jeremy wrote: > >>On Sat, 2005-Nov-05 21:17:58 +0100, Markus Buretorp wrote: >> >>> I'm trying to upgrade from FreeBSD 5.4-STABLE to 6.0. I've done a >>> cvsup to RELENG_6 and RELENG_6_0, I've ran make cleanworld, make >>> clean, rm -rf /usr/obj/*, etc; but nothing helps. >>> >>>... >>> >>> /usr/src/lib/libkvm/kvm_proc.c:108: error: storage size of 't_cdev' >>> isn't known >> >>Where is this error occurring during the buildworld? (What are the >>latest lines beginning '>>>' and '===>') >>What non-standard bits do you have in your command line, /etc/make.conf >>or MAKEOBJDIRPREFIX? > > >>> stage 4.2: building libraries > ... > ===> lib/libkvm (depend,all,install) > > make.conf: > > WITHOUT_X11=yes > CPUTYPE?=athlon-xp > CFLAGS=-O2 -pipe > COPTFLAGS=-O -pipe > # added by use.perl 2005-06-24 23:01:50 > PERL_VER=5.8.7 > PERL_VERSION=5.8.7 > > Note, I've tried without the first four lines. > > $ cd lib/libkvm > /usr/src [EMAIL PROTECTED] > $ make > ...r/src/lib/libkvm [EMAIL PROTECTED] > cc -O -pipe -DLIBC_SCCS -I/usr/src/lib/libkvm -c > /usr/src/lib/libkvm/kvm_proc.c > /usr/src/lib/libkvm/kvm_proc.c: In function `kvm_proclist': > /usr/src/lib/libkvm/kvm_proc.c:108: error: storage size of 't_cdev' > isn't known > /usr/src/lib/libkvm/kvm_proc.c:114: error: storage size of 'pr' > isn't known > /usr/src/lib/libkvm/kvm_proc.c:176: error: structure has no member > named `ki_jid' > /usr/src/lib/libkvm/kvm_proc.c:377: error: structure has no member > named `p_rux' > *** Error code 1 > > Stop in /usr/src/lib/libkvm. > > I found this, http://www.freebsd.org/cgi/query-pr.cgi?pr=77821 , but > it doesn't help me much. I don't now what I've done. I've used cvsup > and buildworld several times. -- Anthony Chavez http://anthonychavez.org/ mailto:[EMAIL PROTECTED] jabber:[EMAIL PROTECTED] --8<---------------cut here---------------start------------->8--- 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-RELEASE-p4 #1: Sun Sep 11 20:13:50 MDT 2005 [EMAIL PROTECTED]:/usr/obj/usr/src/sys/MYBOX WARNING: debug.mpsafenet forced to 0 as ipsec requires Giant WARNING: MPSAFE network stack disabled, expect reduced performance. Timecounter "i8254" frequency 1193182 Hz quality 0 CPU: Intel(R) Pentium(R) 4 CPU 3.00GHz (3010.67-MHz 686-class CPU) Origin = "GenuineIntel" Id = 0xf41 Stepping = 1 Features=0xbfebfbff<FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CLFLUSH,DTS,ACPI,MMX,FXSR,SSE,SSE2,SS,HTT,TM,PBE> Hyperthreading: 2 logical CPUs real memory = 1073414144 (1023 MB) avail memory = 1040855040 (992 MB) ACPI APIC Table: <A M I OEMAPIC > ioapic0 <Version 2.0> irqs 0-23 on motherboard npx0: <math processor> on motherboard npx0: INT 16 interface acpi0: <A M I OEMRSDT> on motherboard acpi_bus_number: can't get _ADR acpi_bus_number: can't get _ADR acpi_bus_number: can't get _ADR acpi_bus_number: can't get _ADR acpi_bus_number: can't get _ADR acpi_bus_number: can't get _ADR acpi0: Power Button (fixed) acpi_bus_number: can't get _ADR acpi_bus_number: can't get _ADR Timecounter "ACPI-safe" frequency 3579545 Hz quality 1000 acpi_timer0: <24-bit timer at 3.579545MHz> port 0x808-0x80b on acpi0 cpu0: <ACPI CPU> on acpi0 acpi_throttle0: <ACPI CPU Throttling> on cpu0 pcib0: <ACPI Host-PCI bridge> port 0xcf8-0xcff on acpi0 pci0: <ACPI PCI bus> on pcib0 pcib1: <ACPI PCI-PCI bridge> at device 28.0 on pci0 pci2: <ACPI PCI bus> on pcib1 uhci0: <Intel 82801FB/FR/FW/FRW (ICH6) USB controller USB-A> port 0xb880-0xb89f irq 23 at device 29.0 on pci0 usb0: <Intel 82801FB/FR/FW/FRW (ICH6) USB controller USB-A> on uhci0 usb0: USB revision 1.0 uhub0: Intel UHCI root hub, class 9/0, rev 1.00/1.00, addr 1 uhub0: 2 ports with 2 removable, self powered uhci1: <Intel 82801FB/FR/FW/FRW (ICH6) USB controller USB-B> port 0xbc00-0xbc1f irq 19 at device 29.1 on pci0 usb1: <Intel 82801FB/FR/FW/FRW (ICH6) USB controller USB-B> on uhci1 usb1: USB revision 1.0 uhub1: Intel UHCI root hub, class 9/0, rev 1.00/1.00, addr 1 uhub1: 2 ports with 2 removable, self powered uhci2: <Intel 82801FB/FR/FW/FRW (ICH6) USB controller USB-C> port 0xc000-0xc01f irq 18 at device 29.2 on pci0 usb2: <Intel 82801FB/FR/FW/FRW (ICH6) USB controller USB-C> 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 uhci3: <Intel 82801FB/FR/FW/FRW (ICH6) USB controller USB-D> port 0xc080-0xc09f irq 16 at device 29.3 on pci0 usb3: <Intel 82801FB/FR/FW/FRW (ICH6) USB controller USB-D> on uhci3 usb3: USB revision 1.0 uhub3: Intel UHCI root hub, class 9/0, rev 1.00/1.00, addr 1 uhub3: 2 ports with 2 removable, self powered pci0: <serial bus, USB> at device 29.7 (no driver attached) pcib2: <ACPI PCI-PCI bridge> at device 30.0 on pci0 pci1: <ACPI PCI bus> on pcib2 xl0: <3Com 3c905B-TX Fast Etherlink XL> port 0xd880-0xd8ff mem 0xd7fef800-0xd7fef87f irq 17 at device 9.0 on pci1 miibus0: <MII bus> on xl0 xlphy0: <3Com internal media interface> on miibus0 xlphy0: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto xl0: Ethernet address: 00:01:02:43:87:6c xl1: <3Com 3c905B-TX Fast Etherlink XL> port 0xdc00-0xdc7f mem 0xd7fefc00-0xd7fefc7f irq 21 at device 10.0 on pci1 miibus1: <MII bus> on xl1 xlphy1: <3Com internal media interface> on miibus1 xlphy1: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto xl1: Ethernet address: 00:50:da:1e:f2:34 pci1: <display, VGA> at device 11.0 (no driver attached) isab0: <PCI-ISA bridge> at device 31.0 on pci0 isa0: <ISA bus> on isab0 atapci0: <Intel ICH6 UDMA100 controller> port 0xffa0-0xffaf,0x376,0x170-0x177,0x3f6,0x1f0-0x1f7 at device 31.1 on pci0 ata0: channel #0 on atapci0 ata1: channel #1 on atapci0 atapci1: <Intel ICH6 SATA150 controller> port 0xc400-0xc40f,0xc480-0xc483,0xc800-0xc807,0xc880-0xc883,0xcc00-0xcc07 irq 19 at device 31.2 on pci0 ata2: channel #0 on atapci1 ata3: channel #1 on atapci1 pci0: <serial bus, SMBus> at device 31.3 (no driver attached) acpi_button0: <Power Button> on acpi0 fdc0: <floppy drive controller (FDE)> port 0x3f7,0x3f0-0x3f5 irq 6 drq 2 on acpi0 fd0: <1440-KB 3.5" drive> on fdc0 drive 0 atkbdc0: <Keyboard controller (i8042)> port 0x64,0x60 irq 1 on acpi0 atkbd0: <AT Keyboard> irq 1 on atkbdc0 kbd0 at atkbd0 psm0: <PS/2 Mouse> irq 12 on atkbdc0 psm0: model Generic PS/2 mouse, device ID 0 orm0: <ISA Option ROM> at iomem 0xc0000-0xccfff on isa0 pmtimer0 on isa0 ppc0: parallel port not found. sc0: <System console> at flags 0x100 on isa0 sc0: VGA <16 virtual consoles, flags=0x300> sio0: configured irq 4 not in bitmap of probed irqs 0 sio0: port may not be enabled sio0 at port 0x3f8-0x3ff irq 4 flags 0x10 on isa0 sio0: type 8250 or not responding sio1: configured irq 3 not in bitmap of probed irqs 0 sio1: port may not be enabled vga0: <Generic ISA VGA> at port 0x3c0-0x3df iomem 0xa0000-0xbffff on isa0 uhid0: American Power Conversion Back-UPS RS 1000 FW:7.g8 .D USB FW:g8, rev 1.10/1.06, addr 2, iclass 3/0 Timecounter "TSC" frequency 3010667573 Hz quality 800 Timecounters tick every 10.000 msec IPsec: Initialized Security Association Processing. acd0: CDRW <LITE-ON DVD+RW LDW-401S/ES0G> at ata0-master PIO4 ad1: 239372MB <Maxtor 7Y250P0/YAR41BW0> [486344/16/63] at ata0-slave UDMA100 ad4: 114473MB <WDC WD1200JD-00HBB0/08.02D08> [232581/16/63] at ata2-master SATA150 ad5: 286188MB <Maxtor 6L300S0/BANC1E00> [581463/16/63] at ata2-slave SATA150 ad6: 286188MB <Maxtor 6L300S0/BANC1E00> [581463/16/63] at ata3-master SATA150 ad7: 286188MB <Maxtor 6L300S0/BANC1E00> [581463/16/63] at ata3-slave SATA150 GEOM_RAID3: Device data created (id=3217021508). GEOM_RAID3: Device data: provider ad5 detected. GEOM_RAID3: Device data: provider ad6 detected. GEOM_RAID3: Device data: provider ad7 detected. GEOM_RAID3: Device data: provider ad5 activated. GEOM_RAID3: Device data: provider ad6 activated. GEOM_RAID3: Device data: provider ad7 activated. GEOM_RAID3: Device data: provider raid3/data launched. Mounting root from ufs:/dev/ad4s1a --8<---------------cut here---------------end--------------->8---
pgpiowu4neysc.pgp
Description: PGP signature