Date: Wed, 21 Nov 2001 08:05:18 -0800 (PST) From: David Wolfskill <david@catwhisker.org> To: current@freebsd.org Subject: Panic on boot of today's -CURRENT Message-ID: <200111211605.fALG5IR59998@bunrab.catwhisker.org>
next in thread | raw e-mail | index | archive | help
A couple of weeks ago, I finally(!) got around to setting up a serial console for my build machine, and it only took me another week or so to figure out that while the default behavior works admirably under -STABLE (if the keyboard is removed prior to boot), -CURRENT needs a /boot.config file created with -P in it to accomplish the same behavior. :-) [Or maybe there are other ways to accomplish this; I know that without the /boot.config, the "serial console" wasn't really a console, in that it didn't get anything written to it until the login: prompt from the completion of the multi-user boot.] Anyway, I now have my first panic on boot from -CURRENT since setting up the serial console; modulo cut/paste damage, the following ought to be fairly accurate. :-} Sources are as of about 3:50 AM PST (8 hrs. west of GMT), from cvsup14. Here are the boot messages, which start showing some strange ugliness down near the end: Copyright (c) 1992-2001 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.0-CURRENT #50: Wed Nov 21 07:13:06 PST 2001 root@freebeast.catwhisker.org:/common/S4/obj/usr/src/sys/FREEBEAST Preloaded elf kernel "/boot/kernel/kernel" at 0xc0440000. Preloaded elf module "/boot/kernel/acpi.ko" at 0xc04400a8. Calibrating clock(s) ... TSC clock: 876472249 Hz, i8254 clock: 1193291 Hz CLK_USE_I8254_CALIBRATION not specified - using default frequency Timecounter "i8254" frequency 1193182 Hz CLK_USE_TSC_CALIBRATION not specified - using old calibration method CPU: Pentium III/Pentium III Xeon/Celeron (876.40-MHz 686-class CPU) Origin = "GenuineIntel" Id = 0x68a Stepping = 10 Features=0x383fbff<FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,MMX,FXSR,SSE> real memory = 536805376 (524224K bytes) Physical memory chunk(s): 0x00001000 - 0x0009efff, 647168 bytes (158 pages) 0x0046a000 - 0x1ffe7fff, 532144128 bytes (129918 pages) avail memory = 518021120 (505880K bytes) Programming 24 pins in IOAPIC #0 IOAPIC #0 intpin 2 -> irq 0 SMP: CPU0 apic_initialize(): lint0: 0x00000700 lint1: 0x00010400 TPR: 0x00000010 SVR: 0x000001ff FreeBSD/SMP: Multiprocessor System Detected: 2 CPUs cpu0 (BSP): apic id: 0, version: 0x00040011, at 0xfee00000 cpu1 (AP): apic id: 1, version: 0x00040011, at 0xfee00000 io0 (APIC): apic id: 2, version: 0x00178011, at 0xfec00000 bios32: Found BIOS32 Service Directory header at 0xc00faf20 bios32: Entry = 0xfb390 (c00fb390) Rev = 0 Len = 1 pcibios: PCI BIOS entry at 0xf0000+0xb3c0 pnpbios: Found PnP BIOS data at 0xc00fbde0 pnpbios: Entry = f0000:be10 Rev = 1.0 Other BIOS signatures found: null: <null device, zero device> mem: <memory & I/O> Pentium Pro MTRR support enabled random: <entropy source> Math emulator present SMP: CPU0 bsp_apic_configure(): lint0: 0x00010700 lint1: 0x00000400 TPR: 0x00000010 SVR: 0x000001ff pci_open(1): mode 1 addr port (0x0cf8) is 0x80000060 pci_open(1a): mode1res=0x80000000 (0x80000000) pci_cfgcheck: device 0 [class=060000] [hdr=00] is there (id=30911106) Using $PIR table, 8 entries at 0xc00fde30 npx0: <math processor> on motherboard npx0: INT 16 interface acpi0: <VIA694 AWRDACPI> on motherboard acpi0: power button is handled as a fixed feature programming model. Timecounter "ACPI" frequency 3579545 Hz acpi_timer0: <24-bit timer at 3.579545MHz> port 0x4008-0x400b on acpi0 acpi_cpu0: <CPU> on acpi0 acpi_cpu1: <CPU> on acpi0 acpi_tz0: <thermal zone> on acpi0 acpi_button0: <Power Button> on acpi0 acpi_pcib0: <Host-PCI bridge> port 0x5000-0x500f,0x4080-0x40ff,0x4000-0x407f,0xcf8-0xcff on acpi0 pci0: physical bus=0 map[10]: type 3, range 32, base d9000000, size 23, enabled found-> vendor=0x1106, dev=0x3091, revid=0x01 bus=0, slot=0, func=0 class=06-00-00, hdrtype=0x00, mfdev=0 powerspec 2 supports D0 D3 current D0 found-> vendor=0x1106, dev=0xb091, revid=0x00 bus=0, slot=1, func=0 class=06-04-00, hdrtype=0x01, mfdev=0 IOAPIC #0 intpin 11 -> irq 2 Freeing (NOT implemented) redirected PCI irq 11. map[10]: type 4, range 32, base 0000c000, size 7, enabled map[14]: type 1, range 32, base d9800000, size 7, enabled found-> vendor=0x10ec, dev=0x8129, revid=0x00 bus=0, slot=9, func=0 class=02-00-00, hdrtype=0x00, mfdev=0 intpin=a, irq=2 IOAPIC #0 intpin 12 -> irq 5 Freeing (NOT implemented) redirected PCI irq 12. map[10]: type 4, range 32, base 0000c400, size 8, enabled found-> vendor=0x13f6, dev=0x0111, revid=0x10 bus=0, slot=14, func=0 class=04-01-00, hdrtype=0x00, mfdev=0 intpin=a, irq=5 powerspec 2 supports D0 D1 D2 D3 current D0 map[10]: type 4, range 32, base 0000c800, size 3, enabled map[14]: type 4, range 32, base 0000cc00, size 2, enabled map[18]: type 4, range 32, base 0000d000, size 3, enabled map[1c]: type 4, range 32, base 0000d400, size 2, enabled map[20]: type 4, range 32, base 0000d800, size 4, enabled found-> vendor=0x1095, dev=0x0649, revid=0x02 bus=0, slot=15, func=0 class=01-04-00, hdrtype=0x00, mfdev=0 intpin=a, irq=10 powerspec 2 supports D0 D1 D2 D3 current D0 found-> vendor=0x1106, dev=0x3074, revid=0x00 bus=0, slot=17, func=0 class=06-01-00, hdrtype=0x00, mfdev=1 powerspec 2 supports D0 D3 current D0 map[20]: type 4, range 32, base 0000dc00, size 4, enabled found-> vendor=0x1106, dev=0x0571, revid=0x06 bus=0, slot=17, func=1 class=01-01-8a, hdrtype=0x00, mfdev=0 powerspec 2 supports D0 D3 current D0 pci0: <PCI bus> on acpi_pcib0 pcib1: <PCI-PCI bridge> at device 1.0 on pci0 pcib1: secondary bus 1 pcib1: subordinate bus 1 pcib1: I/O decode 0xf000-0xfff pcib1: memory decode 0xd0000000-0xd7ffffff pcib1: prefetched decode 0xfff00000-0xfffff pci1: physical bus=1 map[10]: type 1, range 32, base d0000000, size 26, enabled found-> vendor=0x5333, dev=0x8a13, revid=0x02 bus=1, slot=0, func=0 class=03-00-00, hdrtype=0x00, mfdev=0 powerspec 1 supports D0 D3 current D0 pci1: <PCI bus> on pcib1 pci1: <display, VGA> at device 0.0 (no driver attached) rl0: <RealTek 8129 10/100BaseTX> port 0xc000-0xc07f mem 0xd9800000-0xd980007f irq 2 at device 9.0 on pci0 rl0: Ethernet address: 00:80:c6:f9:08:58 miibus0: <MII bus> on rl0 rlphy0: <RealTek internal media interface> on miibus0 rlphy0: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto bpf: rl0 attached pci0: <multimedia, audio> at device 14.0 (no driver attached) atapci0: <CMD 649 ATA100 controller> port 0xd800-0xd80f,0xd400-0xd403,0xd000-0xd007,0xcc00-0xcc03,0xc800-0xc807 irq 10 at device 15.0 on pci0 ata2: iobase=0xc800 altiobase=0xcc02 bmaddr=0xd800 ata2: mask=03 ostat0=7f ostat2=7f ata2-master: ATAPI probe 7f 7f ata2-slave: ATAPI probe 7f 7f ata2: mask=03 stat0=7f stat1=7f ata2-master: ATA probe 7f 7f ata2-slave: ATA probe 7f 7f ata2: devices=00 ata2: at 0xc800 on atapci0 ata3: iobase=0xd000 altiobase=0xd402 bmaddr=0xd808 ata3: mask=03 ostat0=7f ostat2=7f ata3-master: ATAPI probe 7f 7f ata3-slave: ATAPI probe 7f 7f ata3: mask=03 stat0=7f stat1=7f ata3-master: ATA probe 7f 7f ata3-slave: ATA probe 7f 7f ata3: devices=00 ata3: at 0xd000 on atapci0 isab0: <PCI-ISA bridge> at device 17.0 on pci0 isa0: <ISA bus> on isab0 atapci1: <VIA 82C686 ATA100 controller> port 0xdc00-0xdc0f at device 17.1 on pci0 ata0: iobase=0x01f0 altiobase=0x03f6 bmaddr=0xdc00 ata0: mask=03 ostat0=50 ostat2=00 ata0-master: ATAPI probe 00 00 ata0-slave: ATAPI probe 00 00 ata0: mask=03 stat0=50 stat1=00 ata0-master: ATA probe 01 a5 ata0: devices=01 ata0: at 0x1f0 irq 14 on atapci1 ata1: iobase=0x0170 altiobase=0x0376 bmaddr=0xdc08 ata1: mask=03 ostat0=50 ostat2=01 ata1-master: ATAPI probe 14 eb ata1-slave: ATAPI probe 00 00 ata1: mask=03 stat0=00 stat1=00 ata1-slave: ATA probe 04 a5 ata1: devices=06 ata1: at 0x170 irq 15 on atapci1 fdc0: <NEC 72065B or clone> port 0x3f7,0x3f0-0x3f5 irq 6 on acpi0 fdc0: FIFO enabled, 8 bytes threshold fd0: <1440-KB 3.5" drive> on fdc0 drive 0 sio0: irq maps: 0x41 0x51 0x41 0x41 sio0 port 0x3f8-0x3ff irq 4 on acpi0 sio0: type 16550A, console sio1: irq maps: 0x41 0x49 0x41 0x41 sio1 port 0x2f8-0x2ff irq 3 on acpi0 sio1: type 16550A unknown: not probed (disabled) ppc0: using extended I/O port range ppc0: SPP ppc0 port 0xf78-0xf7b,0xb78-0xb7b,0x778-0x77b,0x378-0x37f irq 7 on acpi0 ppc0: Generic chipset (NIBBLE-only) in COMPATIBLE mode plip0: <PLIP network interface> on ppbus0 bpf: lp0 attached lpt0: <Printer> on ppbus0 lpt0: Interrupt-driven port ppi0: <Parallel I/O> on ppbus0 unknown: not probed (disabled) unknown: not probed (disabled) unknown: not probed (disabled) unknown: not probed (disabled) unknown: not probed (disabled) unknown: not probed (disabled) unknown: not probed (disabled) unknown: not probed (disabled) unknown: not probed (disabled) unknown: not probed (disabled) unknown: not probed (disabled) ata-: ata0 already exists, skipping it ata-: ata1 already exists, skipping it fdc-: fdc0 already exists, skipping it ppc-: ppc0 already exists, skipping it sio-: sio0 already exists, skipping it sio-: sio1 already exists, skipping it Trying Read_Port at 203 Trying Read_Port at 243 Trying Read_Port at 283 Trying Read_Port at 2c3 Trying Read_Port at 303 Trying Read_Port at 343 Trying Read_Port at 383 Trying Read_Port at 3c3 sc-: sc0 already exists, skipping it vga-: vga0 already exists, skipping it isa_probe_children: disabling PnP devices isa_probe_children: probing non-PnP devices orm0: <Option ROMs> at iomem 0xc0000-0xc7fff,0xc8000-0xcffff on isa0 adv0 failed to probe on isa0 aha0 failed to probe on isa0 aic0 failed to probe on isa0 atkbdc0: <Keyboard controller (i8042)> at port 0x60,0x64 on isa0 kbdc: DIAGNOSE status:0055 kbdc: TEST_KBD_PORT status:0000 kbdc: DIAGNOSE status:0055 kbdc: TEST_KBD_PORT status:0000 psm0: current command byte:0067 kbdc: TEST_AUX_PORT status:0000 kbdc: RESET_AUX return code:00fe kbdc: RESET_AUX return code:00fe kbdc: RESET_AUX return code:00fe kbdc: DIAGNOSE status:0055 kbdc: TEST_KBD_PORT status:0000 psm0: failed to reset the aux device. bt0 failed to probe on isa0 cs0 failed to probe at port 0x300 on isa0 ed0 failed to probe at port 0x280 iomem 0xd8000 irq 10 on isa0 fe0 failed to probe at port 0x300 on isa0 ie0 failed to probe at port 0x300 iomem 0xd0000 irq 10 on isa0 le0 failed to probe at port 0x300 iomem 0xd0000 irq 5 on isa0 lnc0 failed to probe at port 0x280 irq 10 drq 0 on isa0 pcic0 failed to probe at port 0x3e0 iomem 0xd0000 on isa0 pcic1: not probed (disabled) pmtimer0 on isa0 kbdc: DIAGNOSE status:0055 kbdc: TEST_KBD_PORT status:0000 kbdc: DIAGNOSE status:0055 kbdc: TEST_KBD_PORT status:0000 sc0: <System console> at flags 0x100 on isa0 sc0: VGA <16 virtual consoles, flags=0x100> sc0: fb0, terminal emulator: sc (syscons terminal) sio2: not probed (disabled) sio3: not probed (disabled) sn0 failed to probe at port 0x300 irq 10 on isa0 vga0: <Generic ISA VGA> at port 0x3c0-0x3df iomem 0xa0000-0xbffff on isa0 fb0: vga0, vga, type:VGA (5), flags:0x7007f fb0: port:0x3c0-0x3df, crtc:0x3d4, mem:0xa0000 0x20000 fb0: init mode:24, bios mode:3, current mode:24 fb0: window:0xc00b8000 size:32k gran:32k, buf:0 size:32k VGA parameters upon power-up 50 18 10 00 00 00 03 00 02 67 5f 4f 50 82 55 81 bf 1f 00 4f 0e 0f 00 00 07 80 9c 8e 8f 28 1f 96 b9 a3 ff 00 01 02 03 04 05 14 07 38 39 3a 3b 3c 3d 3e 3f 0c 00 0f 08 00 00 00 00 00 10 0e 00 ff VGA parameters in BIOS for mode 24 50 18 10 00 10 00 03 00 02 67 5f 4f 50 82 55 81 bf 1f 00 4f 0d 0e 00 00 00 00 9c 8e 8f 28 1f 96 b9 a3 ff 00 01 02 03 04 05 14 07 38 39 3a 3b 3c 3d 3e 3f 0c 00 0f 08 00 00 00 00 00 10 0e 00 ff EGA/VGA parameters to be used for mode 24 50 18 10 00 10 00 03 00 02 67 5f 4f 50 82 55 81 bf 1f 00 4f 0d 0e 00 00 00 00 9c 8e 8f 28 1f 96 b9 a3 ff 00 01 02 03 04 05 14 07 38 39 3a 3b 3c 3d 3e 3f 0c 00 0f 08 00 00 00 00 00 10 0e 00 ff vt0 failed to probe on isa0 isa_probe_children: probing PnP devices SMP: enabled INTs: 2, 3, 4, 6, 7, 9, 10, 14, 15, apic_imen: 0xffff3923 BIOS Geometries: 0:03fffe3f 0..1023=1024 cylinders, 0..254=255 heads, 1..63=63 sectors 0 accounted for Device configuration finished. APIC_IO: Testing 8254 interrupt delivery APIC_IO: routing 8254 via IOAPIC #0 intpin 2 bpf: lo0 attached bpf: ppp0 attached acpi_cpu: CPU throttling enabled, 2 steps from 100% to 50.0% ata1-slave: ata_command: timeout waiting for intr ata1-slave: ATA identify failed ad0: success setting UDMA5 on VIA chip Creating DISK ad0 ad0: <QUANTUM FIREBALLP AS40.0/A1Y.1500> ATA-5 disk at ata0-master ad0: 39203MB (80288480 sectors), 79651 C, 16 H, 63 S, 512 B ad0: 16 secs/int, 1 depth queue, UDMA100 ad0: piomode=4 dmamode=2 udmamode=5 cblid=1 ata1-master: piomode=4 dmamode=2 udmamode=-1 dmaflag=1 ata1-master: success setting PIO4 on generic chip acd0: <Compaq CRD-8322B/1.06> CDROM drive at ata1 as master acd0: read 5500KB/s (21KB/s), 128KB buffer, PIO4 acd0: Reads: CD-R, CD-RW, CD-DA stream, packet acd0: Writes: acd0: Audio: play, 255 volume levels acd0: Mechanism: ejectable tray, unlocked, lock protected acd0: Medium: no/blank disc Mounting root from ufs:/dev/ad0s4a ad0s1: type 0xa5, start 63, end = 4192964, size 4192902 : OK ad0s2: type 0xa5, start 4192965, end = 8385929, size 4192965 : OK ad0s3: type 0xa5, start 8385930, end = 12578894, size 4192965 : OK ad0s4: type 0xa5, start 12578895, end = 80276804, size 67697910 : OK yMP: AP CPUs t#a1r tL_aiunnicth:e dt!r _SnMgP :/ sCbPiUn1/ ianpiitc initialize(): lint0: 0x00010700 lint1: 0x00010400 TPR: 0x00000010 SVR: 0x000001ff lock order reversal 1st 0xc0386fe0 sched lock @ /usr/src/sys/i386/i386/mp_machdep.c:2312 2nd 0xc03716e0 sio @ /usr/src/sys/dev/sio/sio.c:2958 kernel trap 12 with interrupts disabled Fatal trap 12: page fault while in kernel mode cpuid = 1; lapic.id = 01000000 fault virtual address = 0x491 fault code = supervisor write, page not present instruction pointer = 0x8:0xc03618d8 stack pointer = 0x10:0xff805f74 frame pointer = 0x10:0xc01b682b code segment = base 0x0, limit 0xfffff, type 0x1b = DPL 0, pres 1, def32 1, gran 1 processor eflags = resume, IOPL = 0 current process = 10 (idle: cpu1) kernel: type 12 trap, code=0 timeout stopping cpus Stopped at 0xc03618d8: addb %al,0(%eax) db> trace w_locklistdata(1c033cf,68000000,4f5,2d45a068,68006ac0) at 0xc03618d8 db> As I mentioned, this is a build machine; there's no rush to get it up & running again immediately, so I can poke & prod a bit, to the extent that this is possible from a remote site. (It's at home, as is the machine on which I'm composing this note. I'm at work.) The machine itself is an Iwill DVD-266R system board. (I'm not even trying to think about using the on-board RAID; it seemed like the most reasonable dual-CPU board available to me at the time I was building the machine.) CPUs are a pair of 876 MHz P3s. I had been running it with 2 128 MB DDR DIMMs; Fry's recently had DDR memory on sale, so it now has 4 128 MB DDR DIMMs. The machine has been pretty stable since August (when I built it), tracking -STABLE & -CURRENT daily. When I put in the new memory, I tried some other BIOS tweaks that didn't work out, so I backed them out again about a week ago. I did leave in the change to use 4-way interleaving, and the machine has been OK for the last week's worth of builds -- though I'd be foolish to rule out hardware at this stage of investigation. One thing I find bizarre is the line _SnMgP :/ sCbPiUn1/ ianpiitc just before the panic. It looks as if some (random?) character is being inserted just before each character that is supposed to be there, so what it ought to be showing is "SMP: CPU1 apic". Oh: normally, I could just re-boot the machine from a different slice, but that may be a little tricky presently. Ideas, thoughts, suggestions? Thanks, david -- David H. Wolfskill david@catwhisker.org As a computing professional, I believe it would be unethical for me to advise, recommend, or support the use (save possibly for personal amusement) of any product that is or depends on any Microsoft product. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200111211605.fALG5IR59998>