From owner-freebsd-stable@FreeBSD.ORG Wed Apr 14 19:45:53 2004 Return-Path: Delivered-To: freebsd-stable@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 062DD16A4CE for ; Wed, 14 Apr 2004 19:45:53 -0700 (PDT) Received: from smtp1.mc.surewest.net (smtp1.mc.surewest.net [66.60.130.50]) by mx1.FreeBSD.org (Postfix) with SMTP id CBFF543D2D for ; Wed, 14 Apr 2004 19:45:52 -0700 (PDT) (envelope-from dislists@updegrove.net) Received: (s3-4989); DATE Received: from unknown (HELO updegrove.net) (64.30.97.117) by smtp1.mc.surewest.net (s3-smtpd/0.90-beta3) with SMTP; Wed, 14 Apr 2004 19:44:40 -0700 Received: (qmail 98016 invoked by uid 98); 15 Apr 2004 02:45:56 -0000 Received: from dislists@updegrove.net by smeagol.purgatory by uid 1008 with qmail-scanner-1.20 Clear:RC:1(64.166.46.10):. Processed in 3.183006 secs); 15 Apr 2004 02:45:56 -0000 X-Qmail-Scanner-Mail-From: dislists@updegrove.net via smeagol.purgatory X-Qmail-Scanner: 1.20 (Clear:RC:1(64.166.46.10):. Processed in 3.183006 secs) Received: from adsl-64-166-46-10.dsl.scrm01.pacbell.net (HELO updegrove.net) (64.166.46.10) by updegrove.net with SMTP; 15 Apr 2004 02:45:52 -0000 Message-ID: <407DF735.7020705@updegrove.net> Date: Wed, 14 Apr 2004 19:45:09 -0700 From: Rick Updegrove User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.6) Gecko/20040113 X-Accept-Language: en-us, en MIME-Version: 1.0 To: freebsd-stable@freebsd.org References: <407C5AED.9040709@updegrove.net> <407C76A6.5080502@users.sourceforge.net> <407CA3D6.2090803@updegrove.net> <20040414083216.A45296@server.gisp.dk> <407D466E.9060900@updegrove.net> <407DBD39.6020405@updegrove.net> <20040414232312.GA56901@xor.obsecurity.org> <407DCB29.8010109@updegrove.net> <20040415000022.GA57253@xor.obsecurity.org> <407DE32B.8040304@updegrove.net> <20040415014851.GA58873@xor.obsecurity.org> In-Reply-To: <20040415014851.GA58873@xor.obsecurity.org> Content-Type: multipart/mixed; boundary="------------000909040402090508020003" Subject: Re: 4.9 SMP Stability? X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 15 Apr 2004 02:45:53 -0000 This is a multi-part message in MIME format. --------------000909040402090508020003 Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit Ok BIOS is updated. Sorry for the attachments, but the lines would wrap badly. Kris Kennaway wrote: > Run mptable. See mptable.txt > Look in /modules for stale files, and check kldstat to see what you're > running. See modules.txt How do I know if they are stale? root@govmail /modules # kldstat Id Refs Address Size Name 1 1 0xc0100000 227ff4 kernel > This doesn't correspond to the recommended upgrade procedure (yes, in > the handbook :-), e.g. you omit running mergemaster, and run the > installworld target before rebooting, but that shouldn't cause panics. Oh I am supposed to reboot first, then run make installworld? Well I admit that I don't use mergemaster because it has never actually been useful. I prefer to keep my /etc configuration files in CVS and refer to them if something breaks.. perhaps I should RTFM again and again? > It will, however, cause you to destroy your system if you attempted to > use that method to update to 5.x ;-) Good to know. >>>You said the machine panicked. >> >>I said the machine reboots without any warning and without leaving >>anything useful in any of the logs. > > > Are you sure that nothing is displayed on the system console before it > reboots? Hooking up a serial console can be a good way to catch this. I am not sure because I am always on a shell via openssh and the server is in the freezing cold server room. I will try to hook up a serial console can you point me to a HOWTO maybe? I will also google... > man boot and see the 'v' option. I hate man pages sometimes. After reading that several times, I took a guess and I am trying: ############################################################## ### Basic configuration options ############################ ############################################################## exec=".( Loading /boot/defaults/loader.conf ) cr" kernel="/kernel" kernel_options="-v" <== CHANGED userconfig_script_load="NO" userconfig_script_name="/boot/kernel.conf" userconfig_script_type="userconfig_script" loader_conf_files="/boot/device.hints /boot/loader.conf /boot/loader.conf.local /boot/nextboot.conf" verbose_loading="YES" <== CHANGED Does that look OK? > This indicates a problem - I don't know how serious - the BIOS update > may help. I am attaching the output from "dmesg -a" again after booting to the new BIOS and making the above changes. See dmesg.txt > Also, buggy firmware on raid controllers can cause problems. Also try > updating that. Ok but not until I make it crash with this BIOS right? --------------000909040402090508020003 Content-Type: text/plain; name="mptable.txt" Content-Transfer-Encoding: 7bit Content-Disposition: inline; filename="mptable.txt" =============================================================================== MPTable, version 2.0.15 ------------------------------------------------------------------------------- MP Floating Pointer Structure: location: BIOS physical address: 0x000f69b0 signature: '_MP_' length: 16 bytes version: 1.4 checksum: 0x3e mode: Virtual Wire ------------------------------------------------------------------------------- MP Config Table Header: physical address: 0x0009f960 signature: 'PCMP' base table length: 308 version: 1.4 checksum: 0x50 OEM ID: 'HP ' Product ID: 'LH 3 ' OEM table pointer: 0x00000000 OEM table size: 0 entry count: 30 local APIC address: 0xfee00000 extended table length: 144 extended table checksum: 105 ------------------------------------------------------------------------------- MP Config Base Table Entries: -- Processors: APIC ID Version State Family Model Step Flags 1 0x11 BSP, usable 6 7 3 0x387fbff 0 0x11 AP, usable 6 7 3 0x387fbff -- Bus: Bus ID Type 0 PCI 1 PCI 2 PCI 3 ISA -- I/O APICs: APIC ID Version State Address 2 0x11 usable 0xfec00000 -- I/O Ints: Type Polarity Trigger Bus ID IRQ APIC ID PIN# ExtINT active-hi edge 3 0 2 0 INT active-hi edge 3 1 2 1 INT active-hi edge 3 0 2 2 INT active-hi edge 3 3 2 3 INT active-hi edge 3 4 2 4 INT active-hi edge 3 5 2 5 INT active-hi edge 3 6 2 6 INT active-lo level 3 7 2 7 INT active-hi edge 3 8 2 8 INT active-lo level 3 9 2 9 INT active-lo level 3 10 2 10 INT active-lo level 3 11 2 11 INT active-hi edge 3 12 2 12 INT active-hi edge 3 13 2 13 INT active-hi edge 3 14 2 14 INT active-hi edge 3 15 2 15 INT active-lo level 0 4:D 2 19 INT active-lo level 0 7:A 2 17 INT active-lo level 1 4:A 2 16 INT active-lo level 1 7:A 2 18 INT active-lo level 2 2:A 2 17 -- Local Ints: Type Polarity Trigger Bus ID IRQ APIC ID PIN# ExtINT active-hi edge 3 0 255 0 NMI active-hi edge 0 0:A 255 1 ------------------------------------------------------------------------------- MP Config Extended Table Entries: -- System Address Space bus ID: 0 address type: I/O address address base: 0x0 address range: 0x10000 -- System Address Space bus ID: 0 address type: memory address address base: 0x20000000 address range: 0xcff00000 -- System Address Space bus ID: 0 address type: prefetch address address base: 0xeff00000 address range: 0xe100000 -- System Address Space bus ID: 0 address type: memory address address base: 0xfe000000 address range: 0x2000000 -- System Address Space bus ID: 0 address type: memory address address base: 0xa0000 address range: 0x20000 -- System Address Space bus ID: 0 address type: memory address address base: 0xd8000 address range: 0x10000 -- Bus Heirarchy bus ID: 3 bus info: 0x01 parent bus ID: 0 -- Compatibility Bus Address bus ID: 0 address modifier: add predefined range: 0x00000000 -- Compatibility Bus Address bus ID: 0 address modifier: add predefined range: 0x00000001 =============================================================================== --------------000909040402090508020003 Content-Type: text/plain; name="modules.txt" Content-Transfer-Encoding: 7bit Content-Disposition: inline; filename="modules.txt" aac.ko aac_linux.ko accf_data.ko accf_http.ko agp.ko aha.ko amr.ko apm_saver.ko asr.ko bktr.ko bktr_mem.ko blank_saver.ko bridge.ko cam.ko ccd.ko cd9660.ko ciss.ko coda.ko crypto.ko cryptodev.ko daemon_saver.ko dcons.ko dcons_crom.ko dragon_saver.ko dummynet.ko ext2fs.ko fade_saver.ko fdesc.ko fire_saver.ko firewire.ko fpu.ko gnufpu.ko green_saver.ko hifn.ko ibcs2.ko ibcs2_coff.ko ida.ko if_an.ko if_ar.ko if_aue.ko if_bfe.ko if_bge.ko if_cue.ko if_dc.ko if_disc.ko if_ed.ko if_ef.ko if_em.ko if_faith.ko if_fwe.ko if_fxp.ko if_gif.ko if_gre.ko if_gx.ko if_kue.ko if_lge.ko if_my.ko if_nge.ko if_pcn.ko if_ppp.ko if_ray.ko if_rl.ko if_rue.ko if_sbni.ko if_sbsh.ko if_sf.ko if_sis.ko if_sk.ko if_sl.ko if_sr.ko if_ste.ko if_stf.ko if_tap.ko if_ti.ko if_tl.ko if_tun.ko if_txp.ko if_vlan.ko if_vr.ko if_wb.ko if_wi.ko if_wx.ko if_xe.ko if_xl.ko iir.ko ip6fw.ko ipfw.ko ipl.ko ispfw.ko joy.ko libiconv.ko libmchain.ko linprocfs.ko linux.ko logo_saver.ko md.ko mfs.ko miibus.ko mlx.ko mly.ko modules.txt msdos.ko ncp.ko ncv.ko netgraph.ko nfs.ko ng_UI.ko ng_async.ko ng_bpf.ko ng_bridge.ko ng_cisco.ko ng_echo.ko ng_eiface.ko ng_etf.ko ng_ether.ko ng_frame_relay.ko ng_hole.ko ng_iface.ko ng_ksocket.ko ng_l2tp.ko ng_lmi.ko ng_mppc.ko ng_one2many.ko ng_ppp.ko ng_pppoe.ko ng_pptpgre.ko ng_rfc1490.ko ng_socket.ko ng_sync_ar.ko ng_sync_sr.ko ng_tee.ko ng_tty.ko ng_vjc.ko ng_vlan.ko nmdm.ko nsp.ko ntfs.ko null.ko nwfs.ko portal.ko procfs.ko pst.ko rain_saver.ko rp.ko safe.ko sbp.ko sbp_targ.ko scsi_low.ko smbfs.ko snake_saver.ko snd.ko snd_ad1816.ko snd_als4000.ko snd_cmi.ko snd_cs4281.ko snd_csa.ko snd_ds1.ko snd_emu10k1.ko snd_es137x.ko snd_ess.ko snd_fm801.ko snd_ich.ko snd_maestro.ko snd_maestro3.ko snd_mss.ko snd_neomagic.ko snd_pcm.ko snd_sb16.ko snd_sb8.ko snd_sbc.ko snd_solo.ko snd_t4dwave.ko snd_uaudio.ko snd_via8233.ko snd_via82c686.ko snd_vibes.ko snp.ko splash_bmp.ko splash_pcx.ko sppp.ko star_saver.ko stg.ko streams.ko svr4.ko trm.ko twa.ko twe.ko ubsa.ko ubsec.ko ucom.ko ufm.ko uftdi.ko ugen.ko uhid.ko ukbd.ko ulpt.ko umap.ko umass.ko umct.ko umodem.ko ums.ko union.ko uplcom.ko usb.ko uscanner.ko uvisor.ko uvscom.ko vesa.ko vinum.ko vn.ko vpo.ko warp_saver.ko  --------------000909040402090508020003 Content-Type: text/plain; name="dmesg.txt" Content-Transfer-Encoding: 7bit Content-Disposition: inline; filename="dmesg.txt" Copyright (c) 1992-2003 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 4.10-BETA #0: Tue Apr 13 21:49:08 PDT 2004 root@govmail.ca.gov:/usr/obj/usr/src/sys/SMP Calibrating clock(s) ... TSC clock: 499149470 Hz, i8254 clock: 1193186 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 (499.15-MHz 686-class CPU) Origin = "GenuineIntel" Id = 0x673 Stepping = 3 Features=0x387fbff real memory = 536870912 (524288K bytes) Physical memory chunk(s): 0x000001000 - 0x00009efff, 647168 bytes (158 pages) 0x000353000 - 0x01fff7fff, 533352448 bytes (130213 pages) avail memory = 519507968 (507332K bytes) Programming 24 pins in IOAPIC #0 IOAPIC #0 intpin 2 -> irq 0 SMP: CPU0 apic_initialize(): lint0: 0x00000700 lint1: 0x00010400 TPR: 0x00000000 SVR: 0x000001ff FreeBSD/SMP: Multiprocessor motherboard: 2 CPUs cpu0 (BSP): apic id: 1, version: 0x00040011, at 0xfee00000 cpu1 (AP): apic id: 0, version: 0x00040011, at 0xfee00000 io0 (APIC): apic id: 2, version: 0x00170011, at 0xfec00000 bios32: Found BIOS32 Service Directory header at 0xc00f69f0 bios32: Entry = 0xfd7ca (c00fd7ca) Rev = 0 Len = 1 pcibios: PCI BIOS entry at 0x4d7 pnpbios: Found PnP BIOS data at 0xc00f69c0 pnpbios: Entry = f0000:a987 Rev = 1.0 pnpbios: OEM ID 1c2f022 Other BIOS signatures found: ACPI: 00000000 Preloaded elf kernel "kernel" at 0xc0329000. Pentium Pro MTRR support enabled Creating DISK md0 md0: Malloc disk Math emulator present SMP: CPU0 bsp_apic_configure(): lint0: 0x00010700 lint1: 0x00000400 TPR: 0x00000000 SVR: 0x000001ff pci_open(1): mode 1 addr port (0x0cf8) is 0x80003964 pci_open(1a): mode1res=0x80000000 (0x80000000) pci_cfgcheck: device 0 [class=060000] [hdr=00] is there (id=71928086) Using $PIR table, 14 entries at 0xc00fdee0 npx0: on motherboard npx0: INT 16 interface pcib0: on motherboard found-> vendor=0x8086, dev=0x7192, revid=0x03 class=06-00-00, hdrtype=0x00, mfdev=0 subordinatebus=0 secondarybus=0 map[10]: type 1, range 32, base 00000000, size 28 found-> vendor=0x8086, dev=0x7110, revid=0x02 class=06-01-00, hdrtype=0x00, mfdev=1 subordinatebus=0 secondarybus=0 found-> vendor=0x8086, dev=0x7111, revid=0x01 class=01-01-80, hdrtype=0x00, mfdev=0 subordinatebus=0 secondarybus=0 map[20]: type 1, range 32, base 0000fcd0, size 4 IOAPIC #0 intpin 19 -> irq 2 Freeing (NOT implemented) redirected PCI irq 11. found-> vendor=0x8086, dev=0x7112, revid=0x01 class=0c-03-00, hdrtype=0x00, mfdev=0 subordinatebus=0 secondarybus=0 intpin=d, irq=2 map[20]: type 1, range 32, base 0000fce0, size 5 found-> vendor=0x8086, dev=0x7113, revid=0x02 class=06-80-00, hdrtype=0x00, mfdev=0 subordinatebus=0 secondarybus=0 map[90]: type 1, range 32, base 00002180, size 4 found-> vendor=0x8086, dev=0x0960, revid=0x05 class=06-04-00, hdrtype=0x01, mfdev=1 subordinatebus=1 secondarybus=1 IOAPIC #0 intpin 17 -> irq 16 Freeing (NOT implemented) redirected PCI irq 9. found-> vendor=0x8086, dev=0x1960, revid=0x05 class=0e-00-01, hdrtype=0x00, mfdev=1 subordinatebus=0 secondarybus=0 intpin=a, irq=16 map[10]: type 1, range 32, base f0000000, size 27 found-> vendor=0x1011, dev=0x0024, revid=0x03 class=06-04-00, hdrtype=0x01, mfdev=0 subordinatebus=2 secondarybus=2 found-> vendor=0x103c, dev=0x10c1, revid=0xa0 class=08-80-00, hdrtype=0x00, mfdev=0 subordinatebus=0 secondarybus=0 map[10]: type 1, range 32, base fedf8000, size 15 found-> vendor=0x1013, dev=0x00b8, revid=0x45 class=03-00-00, hdrtype=0x00, mfdev=0 subordinatebus=0 secondarybus=0 map[10]: type 1, range 32, base fc000000, size 25 map[14]: type 1, range 32, base fedf7000, size 12 pci0: on pcib0 isab0: at device 4.0 on pci0 isa0: on isab0 atapci0: port 0xfcd0-0xfcdf at device 4.1 on pci0 ata0: iobase=0x01f0 altiobase=0x03f6 bmaddr=0xfcd0 ata0: mask=03 ostat0=50 ostat2=01 ata0-master: ATAPI 14 eb ata0-slave: ATAPI 14 eb ata0: mask=03 stat0=00 stat1=01 ata0: devices=0c ata0: at 0x1f0 irq 14 on atapci0 ata1: iobase=0x0170 altiobase=0x0376 bmaddr=0xfcd8 ata1: at 0x170 irq 15 on atapci0 pci0: (vendor=0x8086, dev=0x7112) at 4.2 irq 2 Timecounter "PIIX" frequency 3579545 Hz chip1: port 0x2180-0x218f at device 4.3 on pci0 pcib1: at device 7.0 on pci0 IOAPIC #0 intpin 16 -> irq 17 Freeing (NOT implemented) redirected PCI irq 7. found-> vendor=0x9004, dev=0x8178, revid=0x00 class=01-00-00, hdrtype=0x00, mfdev=0 subordinatebus=0 secondarybus=0 intpin=a, irq=17 map[10]: type 1, range 32, base 0000e800, size 8 map[14]: type 1, range 32, base febfe000, size 12 Freeing (NOT implemented) redirected PCI irq 10. found-> vendor=0x1000, dev=0x000c, revid=0x01 class=01-00-00, hdrtype=0x00, mfdev=0 subordinatebus=0 secondarybus=0 intpin=a, irq=18 map[10]: type 1, range 32, base 0000e400, size 8 map[14]: type 1, range 32, base febff800, size 8 map[18]: type 1, range 32, base febfd000, size 12 pci1: on pcib1 ahc0: port 0xe800-0xe8ff mem 0xfebfe000-0xfebfefff irq 17 at device 4.0 on pci1 ahc0: Defaulting to MEMIO off ahc0: Reading SEEPROM...done. ahc0: internal 50 cable not present, internal 68 cable not present ahc0: external cable not present ahc0: BIOS eeprom is present ahc0: High byte termination Enabled ahc0: Low byte termination Enabled ahc0: Downloading Sequencer Program... 449 instructions downloaded ahc0: Features 0x10005, Bugs 0x25, Flags 0x20481540 aic7880: Ultra Wide Channel A, SCSI Id=7, 16/253 SCBs pci1: (vendor=0x1000, dev=0x000c) at 7.0 irq 18 amr0: mem 0xf0000000-0xf7ffffff irq 16 at device 7.1 on pci0 amr0: Firmware D.02.05, BIOS B.01.04, 16MB RAM pcib2: at device 8.0 on pci0 Freeing (NOT implemented) redirected PCI irq 9. found-> vendor=0x8086, dev=0x1229, revid=0x05 class=02-00-00, hdrtype=0x00, mfdev=0 subordinatebus=0 secondarybus=0 intpin=a, irq=16 map[10]: type 1, range 32, base efffe000, size 12 map[14]: type 1, range 32, base 0000dce0, size 5 map[18]: type 1, range 32, base fe900000, size 20 pci2: on pcib2 fxp0: port 0xdce0-0xdcff mem 0xfe900000-0xfe9fffff,0xefffe000-0xefffefff irq 16 at device 2.0 on pci2 fxp0: using memory space register mapping using shared irq16. fxp0: Ethernet address 00:90:27:b7:09:76 fxp0: PCI IDs: 8086 1229 103c 10c3 0005 fxp0: Dynamic Standby mode is disabled inphy0: on miibus0 inphy0: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto pci0: (vendor=0x103c, dev=0x10c1) at 11.0 pci0: (vendor=0x1013, dev=0x00b8) at 13.0 ata-: ata0 exists, using next available unit number ata-: ata1 exists, using next available unit number 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 isa_probe_children: disabling PnP devices isa_probe_children: probing non-PnP devices orm0: