Hi, I installed FreeBSD today on the following machine : ================================ bccm-it# pciconf -lv hostb0@pci0:0:0:0: class=0x060000 card=0x34248086 chip=0x254c8086 rev=0x01 hdr=0x00 vendor = 'Intel Corporation' device = 'E7501 Host Controller' class = bridge subclass = HOST-PCI none0@pci0:0:0:1: class=0xff0000 card=0x34248086 chip=0x25418086 rev=0x01 hdr=0x00 vendor = 'Intel Corporation' device = 'E7500 System Controller (MCH, Hub Interface A) Error Reporter' pcib1@pci0:0:3:0: class=0x060400 card=0x00000000 chip=0x25458086 rev=0x01 hdr=0x01 vendor = 'Intel Corporation' device = 'E7500/E7501 HI_C Virtual PCI-to-PCI Bridge' class = bridge subclass = PCI-PCI none1@pci0:0:3:1: class=0xff0000 card=0x34248086 chip=0x25468086 rev=0x01 hdr=0x00 vendor = 'Intel Corporation' device = 'E7500/E7501 HI_C PCI-to-PCI Bridge Error Reporting' pcib4@pci0:0:30:0: class=0x060400 card=0x00000000 chip=0x244e8086 rev=0x42 hdr=0x01 vendor = 'Intel Corporation' device = '82801 Family (ICH2/3/4/4/5/5/6/7/8/9,63xxESB) Hub Interface to PCI Bridge' class = bridge subclass = PCI-PCI isab0@pci0:0:31:0: class=0x060100 card=0x00000000 chip=0x24808086 rev=0x02 hdr=0x00 vendor = 'Intel Corporation' device = '82801CA/CAM (ICH3-S/ICH3-M) LPC Interface' class = bridge subclass = PCI-ISA atapci0@pci0:0:31:1: class=0x01018a card=0x34248086 chip=0x248b8086 rev=0x02 hdr=0x00 vendor = 'Intel Corporation' device = '82801CA (ICH3) UltraATA/100 EIDE Controller' class = mass storage subclass = ATA none2@pci0:0:31:3: class=0x0c0500 card=0x34248086 chip=0x24838086 rev=0x02 hdr=0x00 vendor = 'Intel Corporation' device = '82801CA/CAM (ICH3-S/ICH3-M) SMBus Controller' class = serial bus subclass = SMBus ioapic0@pci0:2:28:0: class=0x080020 card=0x34248086 chip=0x14618086 rev=0x04 hdr=0x00 vendor = 'Intel Corporation' device = 'P64H2 I/O Advanced Programmable Interrupt Controller' class = base peripheral subclass = interrupt controller pcib2@pci0:2:29:0: class=0x060400 card=0x00000000 chip=0x14608086 rev=0x04 hdr=0x01 vendor = 'Intel Corporation' device = '82870P2 P64H2 PCI/PCI-X Hub Controller' class = bridge subclass = PCI-PCI ioapic1@pci0:2:30:0: class=0x080020 card=0x34248086 chip=0x14618086 rev=0x04 hdr=0x00 vendor = 'Intel Corporation' device = 'P64H2 I/O Advanced Programmable Interrupt Controller' class = base peripheral subclass = interrupt controller pcib3@pci0:2:31:0: class=0x060400 card=0x00000000 chip=0x14608086 rev=0x04 hdr=0x01 vendor = 'Intel Corporation' device = '82870P2 P64H2 PCI/PCI-X Hub Controller' class = bridge subclass = PCI-PCI em0@pci0:4:5:0: class=0x020000 card=0x34248086 chip=0x10108086 rev=0x01 hdr=0x00 vendor = 'Intel Corporation' device = '82546EB Dual Port Gigabit Ethernet Controller (Copper)' class = network subclass = ethernet em1@pci0:4:5:1: class=0x020000 card=0x34248086 chip=0x10108086 rev=0x01 hdr=0x00 vendor = 'Intel Corporation' device = '82546EB Dual Port Gigabit Ethernet Controller (Copper)' class = network subclass = ethernet iir0@pci0:3:1:0: class=0x010400 card=0x01af8086 chip=0x06008086 rev=0x00 hdr=0x00 vendor = 'Intel Corporation' device = 'Storage RAID Controller' class = mass storage subclass = RAID vgapci0@pci0:1:12:0: class=0x030000 card=0x34248086 chip=0x47521002 rev=0x27 hdr=0x00 vendor = 'ATI Technologies Inc' device = 'Rage XL PCI' class = display subclass = VGA ================================ The installation was successfull, but the GENERIC kernel panic at boot, even with ACPI disabled. After a recompilation (in single user mode) with the options below, the system is able to boot and doesn't panic anymore. I essentially removed useless drivers, USB support, etc : ================================ cpu I686_CPU ident BCCMIT options SCHED_ULE # ULE scheduler options PREEMPTION # Enable kernel thread preemption options INET # InterNETworking 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 MD_ROOT # MD is a potential root device 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_LABEL # Provides labelization options COMPAT_43TTY # BSD 4.3 TTY compat [KEEP THIS!] options COMPAT_FREEBSD4 # Compatible with FreeBSD4 options COMPAT_FREEBSD5 # Compatible with FreeBSD5 options COMPAT_FREEBSD6 # Compatible with FreeBSD6 options SCSI_DELAY=15000 # Delay (in ms) before probing SCSI options KTRACE # ktrace(1) 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 KBD_INSTALL_CDEV # install a CDEV entry in /dev options ADAPTIVE_GIANT # Giant mutex is adaptive. options STOP_NMI # Stop CPUS using NMI instead of IPI options AUDIT # Security event auditing # To make an SMP kernel, the next two lines are needed options SMP # Symmetric MultiProcessor Kernel device apic # I/O APIC # CPU frequency control device cpufreq # Bus support. device eisa device pci # Floppy drives device fdc # ATA and ATAPI devices device ata device atadisk # ATA disk drives device atapicd # ATAPI CDROM drives options ATA_STATIC_ID # Static device numbering # SCSI peripherals device scbus # SCSI bus (required for 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 SCSI access) device ses # SCSI Environmental Services (and SAF-TE) # RAID controllers interfaced to the SCSI subsystem device iir # Intel Integrated RAID # atkbdc0 controls both the keyboard and the PS/2 mouse device atkbdc # AT keyboard controller device atkbd # AT keyboard device kbdmux # keyboard multiplexer device vga # VGA video card driver device splash # Splash screen and screen saver support # syscons is the default console driver, resembling an SCO console device sc # Add suspend/resume support for the i8254. device pmtimer # Serial (COM) ports device sio # 8250, 16[45]50 based serial ports device uart # Generic UART driver # If you've got a "dumb" serial or parallel PCI card that is # supported by the puc(4) glue driver, uncomment the following # line to enable it (connects to sio, uart and/or ppc drivers): device em # Intel PRO/1000 adapter Gigabit Ethernet Card # Pseudo devices. device loop # Network loopback device random # Entropy device device ether # Ethernet support device tun # Packet tunnel. device pty # Pseudo-ttys (telnet etc) device firmware # firmware assist module device bpf # Berkeley packet filter ================================ I kgdb'ed the old one (GENERIC), hope it helps : ================================ bccm-it# kgdb /boot/kernel.old/kernel vmcore.0 [GDB will not be able to debug user-mode threads: /usr/lib/libthread_db.so: Undefined symbol "ps_pglobal_lookup"] GNU gdb 6.1.1 [FreeBSD] Copyright 2004 Free Software Foundation, Inc. GDB is free software, covered by the GNU General Public License, and you are welcome to change it and/or distribute copies of it under certain conditions. Type "show copying" to see the conditions. There is absolutely no warranty for GDB. Type "show warranty" for details. This GDB was configured as "i386-marcel-freebsd". bt Unread portion of the kernel message buffer: Copyright (c) 1992-2008 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 7.0-RELEASE #0: Sun Feb 24 19:59:52 UTC 2008 root@logan.cse.buffalo.edu:/usr/obj/usr/src/sys/GENERIC Timecounter "i8254" frequency 1193182 Hz quality 0 CPU: Intel(R) Xeon(TM) CPU 2.40GHz (2392.30-MHz 686-class CPU) Origin = "GenuineIntel" Id = 0xf25 Stepping = 5 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> Features2=0x4400<CNXT-ID,xTPR> Logical CPUs per core: 2 real memory = 2147418112 (2047 MB) avail memory = 2091868160 (1994 MB) ACPI APIC Table: <INTEL S7501HG0> FreeBSD/SMP: Multiprocessor System Detected: 4 CPUs cpu0 (BSP): APIC ID: 0 cpu1 (AP): APIC ID: 1 cpu2 (AP): APIC ID: 6 cpu3 (AP): APIC ID: 7 ioapic0 <Version 2.0> irqs 0-23 on motherboard ioapic1 <Version 2.0> irqs 24-47 on motherboard ioapic2 <Version 2.0> irqs 48-71 on motherboard lapic0: Forcing LINT1 to edge trigger kbd1 at kbdmux0 ath_hal: 0.9.20.3 (AR5210, AR5211, AR5212, RF5111, RF5112, RF2413, RF5413) hptrr: HPT RocketRAID controller driver v1.1 (Feb 24 2008 19:59:27) acpi0: <INTEL S7501HG0> on motherboard ACPI Warning (dswload-0794): Type override - [DEB_] had invalid type (Integer) for Scope operator, changed to (Scope) [20070320] ACPI Warning (dswload-0794): Type override - [MLIB] had invalid type (Integer) for Scope operator, changed to (Scope) [20070320] ACPI Warning (dswload-0794): Type override - [DATA] had invalid type (String) for Scope operator, changed to (Scope) [20070320] ACPI Warning (dswload-0794): Type override - [SIO_] had invalid type (String) for Scope operator, changed to (Scope) [20070320] ACPI Warning (dswload-0794): Type override - [LEDP] had invalid type (String) for Scope operator, changed to (Scope) [20070320] ACPI Warning (dswload-0794): Type override - [GPEN] had invalid type (String) for Scope operator, changed to (Scope) [20070320] ACPI Warning (dswload-0794): Type override - [GPST] had invalid type (String) for Scope operator, changed to (Scope) [20070320] ACPI Warning (dswload-0794): Type override - [GP1N] had invalid type (String) for Scope operator, changed to (Scope) [20070320] ACPI Warning (dswload-0794): Type override - [WUES] had invalid type (String) for Scope operator, changed to (Scope) [20070320] ACPI Warning (dswload-0794): Type override - [WUSE] had invalid type (String) for Scope operator, changed to (Scope) [20070320] ACPI Warning (dswload-0794): Type override - [SBID] had invalid type (String) for Scope operator, changed to (Scope) [20070320] ACPI Warning (dswload-0794): Type override - [SWCE] had invalid type (String) for Scope operator, changed to (Scope) [20070320] ACPI Warning (dswload-0794): Type override - [SMIR] had invalid type (String) for Scope operator, changed to (Scope) [20070320] acpi0: [ITHREAD] acpi0: Power Button (fixed) Timecounter "ACPI-fast" frequency 3579545 Hz quality 1000 acpi_timer0: <24-bit timer at 3.579545MHz> port 0x408-0x40b on acpi0 acpi_ec0: <Embedded Controller: GPE 0x8> port 0xca6,0xca7 on acpi0 cpu0: <ACPI CPU> on acpi0 p4tcc0: <CPU Frequency Thermal Control> on cpu0 cpu1: <ACPI CPU> on acpi0 p4tcc1: <CPU Frequency Thermal Control> on cpu1 cpu2: <ACPI CPU> on acpi0 p4tcc2: <CPU Frequency Thermal Control> on cpu2 cpu3: <ACPI CPU> on acpi0 p4tcc3: <CPU Frequency Thermal Control> on cpu3 pcib0: <ACPI Host-PCI bridge> port 0xcf8-0xcff on acpi0 pci0: <ACPI PCI bus> on pcib0 pci0: <unknown> at device 0.1 (no driver attached) pcib1: <ACPI PCI-PCI bridge> at device 3.0 on pci0 pci2: <ACPI PCI bus> on pcib1 pcib2: <ACPI PCI-PCI bridge> at device 29.0 on pci2 pci4: <ACPI PCI bus> on pcib2 em0: <Intel(R) PRO/1000 Network Connection Version - 6.7.3> port 0x2040-0x207f mem 0xfeac0000-0xfeadffff irq 58 at device 5.0 on pci4 em0: Ethernet address: 00:03:47:30:28:7c em0: [FILTER] em1: <Intel(R) PRO/1000 Network Connection Version - 6.7.3> port 0x2000-0x203f mem 0xfeae0000-0xfeafffff irq 59 at device 5.1 on pci4 em1: Ethernet address: 00:03:47:30:28:7d em1: [FILTER] pcib3: <ACPI PCI-PCI bridge> at device 31.0 on pci2 pci3: <ACPI PCI bus> on pcib3 iir0: <Intel Integrated RAID Controller> mem 0xfa000000-0xfbffffff irq 28 at device 1.0 on pci3 iir0: [GIANT-LOCKED] iir0: [ITHREAD] pci0: <unknown> at device 3.1 (no driver attached) pcib4: <ACPI PCI-PCI bridge> at device 30.0 on pci0 pci1: <ACPI PCI bus> on pcib4 vgapci0: <VGA-compatible display> port 0x1000-0x10ff mem 0xfd000000-0xfdffffff,0xfe8f0000-0xfe8f0fff irq 23 at device 12.0 on pci1 isab0: <PCI-ISA bridge> at device 31.0 on pci0 isa0: <ISA bus> on isab0 atapci0: <Intel ICH3 UDMA100 controller> port 0x1f0-0x1f7,0x3f6,0x170-0x177,0x376,0x3a0-0x3af at device 31.1 on pci0 ata0: <ATA channel 0> on atapci0 ata0: [ITHREAD] ata1: <ATA channel 1> on atapci0 ata1: [ITHREAD] pci0: <serial bus, SMBus> at device 31.3 (no driver attached) atkbdc0: <Keyboard controller (i8042)> port 0x60,0x64 irq 1 on acpi0 atkbd0: <AT Keyboard> irq 1 on atkbdc0 kbd0 at atkbd0 atkbd0: [GIANT-LOCKED] atkbd0: [ITHREAD] fdc0: <floppy drive controller (FDE)> port 0x3f2-0x3f3,0x3f4-0x3f5,0x3f7 irq 6 drq 2 on acpi0 fdc0: [FILTER] 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 sio0: [FILTER] sio1: <16550A-compatible COM port> port 0x2f8-0x2ff irq 3 on acpi0 sio1: type 16550A sio1: [FILTER] pmtimer0 on isa0 orm0: <ISA Option ROMs> at iomem 0xc0000-0xc7fff,0xcd800-0xcefff,0xcf000-0xd07ff pnpid ORM0000 on isa0 ppc0: parallel port not found. sc0: <System console> at flags 0x100 on isa0 sc0: VGA <16 virtual consoles, flags=0x300> vga0: <Generic ISA VGA> at port 0x3c0-0x3df iomem 0xa0000-0xbffff on isa0 Timecounters tick every 1.000 msec hptrr: no controller detected. acd0: DVDROM <SAMSUNG DVD-ROM SD-616Q/F403> at ata0-master UDMA33 Waiting 5 seconds for SCSI devices to settle da0 at iir0 bus 2 target 0 lun 0 da0: <Intel Host Drive #00 > Fixed Direct Access SCSI-2 device ses0 at iir0 bus 0 target 6 lun 0 ses0: <ESG-SHV SCA HSBP M15 0.10> Fixed Processor SCSI-2 device ses1 at iir0 bus 1 target 6 lun 0 ses1: <ESG-SHV SCA HSBP M15 0.10> Fixed Processor SCSI-2 device SMP: AP CPU #3 Launched! SMP: AP CPU #1 Launched! lapic6: Forcing LINT1 to edge trigger SMP: AP CPU #2 Launched! Trying to mount root from ufs:/dev/da0s1a <118>Loading configuration files. <118>kernel dumps on /dev/da0s1b <118>Entropy harvesting: <118> interrupts <118> ethernet <118> point_to_point Fatal trap 12: page fault while in kernel mode cpuid = 1; apic id = 01 fault virtual address = 0x40 fault code = supervisor read, page not present instruction pointer = 0x20:0xc07032cd stack pointer = 0x28:0xe56b8c6c frame pointer = 0x28:0xe56b8c90 code segment = base rx0, limit 0xfffff, type 0x1b = DPL 0, pres 1, def32 1, gran 1 processor eflags = interrupt enabled, resume, IOPL = 0 current process = 2 (g_event) trap number = 12 panic: page fault cpuid = 1 Uptime: 16s Physical memory: 2035 MB Dumping 63 MB: 48 32 16 #0 doadump () at pcpu.h:195 195 pcpu.h: No such file or directory. in pcpu.h (kgdb) bt #0 doadump () at pcpu.h:195 #1 0xc0754457 in boot (howto=260) at /usr/src/sys/kern/kern_shutdown.c:409 #2 0xc0754719 in panic (fmt=Variable "fmt" is not available. ) at /usr/src/sys/kern/kern_shutdown.c:563 #3 0xc0a4905c in trap_fatal (frame=0xe56b8c2c, eva=64) at /usr/src/sys/i386/i386/trap.c:899 #4 0xc0a492e0 in trap_pfault (frame=0xe56b8c2c, usermode=0, eva=64) at /usr/src/sys/i386/i386/trap.c:812 #5 0xc0a49c8c in trap (frame=0xe56b8c2c) at /usr/src/sys/i386/i386/trap.c:490 #6 0xc0a2fc0b in calltrap () at /usr/src/sys/i386/i386/exception.s:139 #7 0xc07032cd in g_conf_specific (sb=0xc529a240, mp=0x0, gp=0x0, pp=0x0, cp=0x0) at /usr/src/sys/geom/geom_dump.c:166 #8 0xc0703501 in g_confxml (p=0xc529a240, flag=0) at /usr/src/sys/geom/geom_dump.c:267 #9 0xc0703e04 in g_run_events () at /usr/src/sys/geom/geom_event.c:211 #10 0xc070519b in g_event_procbody () at /usr/src/sys/geom/geom_kern.c:141 #11 0xc0734479 in fork_exit (callout=0xc0705130 <g_event_procbody>, arg=0x0, frame=0xe56b8d38) at /usr/src/sys/kern/kern_fork.c:781 #12 0xc0a2fc80 in fork_trampoline () at /usr/src/sys/i386/i386/exception.s:205 (kgdb) Regards, Julien
Responsible Changed From-To: freebsd-bugs->freebsd-geom reassign to maintainer
I experienced the same error today after an upgrade from 7.0BETA4 to 7.0RELEASE :-( Any idea how to avoid this? regards, dennis
- boot in single user mode - mount filesystems (mount -a) - recompile kernel - reboot This is my custom file if it can help http://pastebin.com/f145def72 Regards, Julien On Mon, 2008-04-07 at 17:29 +0200, Dennis Berger wrote: > I experienced the same error today after an upgrade from 7.0BETA4 to > 7.0RELEASE :-( > Any idea how to avoid this? > regards, > dennis -- Julien Cigar Belgian Biodiversity Platform http://www.biodiversity.be Université Libre de Bruxelles (ULB) Campus de la Plaine CP 257 Bâtiment NO, Bureau 4 N4 115C (Niveau 4) Boulevard du Triomphe, entrée ULB 2 B-1050 Bruxelles Mail: jcigar@ulb.ac.be @biobel: http://biobel.biodiversity.be/person/show/471 Tel : 02 650 57 52
Can you please post output of `sysctl -b kern.geom.conftxt'?
Here's the result: bccm-it# sysctl -b kern.geom.conftxt 0 DISK da1 733900608000 512 hd 255 sc 63 1 MBR da1s1 733900575744 512 i 0 o 32256 ty 165 2 BSD da1s1d 733900575744 512 i 3 o 0 ty 7 2 BSD da1s1c 733900575744 512 i 2 o 0 ty 0 0 DISK da0 146771896320 512 hd 255 sc 63 1 MBR da0s1 146771864064 512 i 0 o 32256 ty 165 2 BSD da0s1e 136070097408 512 i 4 o 10701766656 ty 7 2 BSD da0s1d 4294967296 512 i 3 o 6406799360 ty 7 2 BSD da0s1c 146771864064 512 i 2 o 0 ty 0 2 BSD da0s1b 4259315712 512 i 1 o 2147483648 ty 1 2 BSD da0s1a 2147483648 512 i 0 o 0 ty 7 On Thu, 2008-04-24 at 23:33 +0200, Volker wrote: > Can you please post output of `sysctl -b kern.geom.conftxt'? -- Julien Cigar Belgian Biodiversity Platform http://www.biodiversity.be Université Libre de Bruxelles (ULB) Campus de la Plaine CP 257 Bâtiment NO, Bureau 4 N4 115C (Niveau 4) Boulevard du Triomphe, entrée ULB 2 B-1050 Bruxelles Mail: jcigar@ulb.ac.be @biobel: http://biobel.biodiversity.be/person/show/471 Tel : 02 650 57 52
For bugs matching the following criteria: Status: In Progress Changed: (is less than) 2014-06-01 Reset to default assignee and clear in-progress tags. Mail being skipped
Keyword: crash – in lieu of summary line prefix: [panic] * bulk change for the keyword * summary lines may be edited manually (not in bulk). Keyword descriptions and search interface: <https://bugs.freebsd.org/bugzilla/describekeywords.cgi>