Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 30 Dec 2006 15:08:30 +0000 (GMT)
From:      Robert Watson <rwatson@FreeBSD.org>
To:        Larry Rosenman <ler@lerctr.org>
Cc:        freebsd-stable@freebsd.org
Subject:   Re: 6.2-PRE: Fatal Trap?
Message-ID:  <20061230150655.E18740@fledge.watson.org>
In-Reply-To: <20061230035722.L39715@thebighonker.lerctr.org>
References:  <20061230035722.L39715@thebighonker.lerctr.org>

next in thread | previous in thread | raw e-mail | index | archive | help
On Sat, 30 Dec 2006, Larry Rosenman wrote:

> I had to on an emergency basis replace my aging P-1 Firewall.  The guys at 
> my hosting company gave me an AthlonXP 2200+, and with 6.1 (all the way up 
> to today's RELENG_6_1), it works fine.
>
> I tried(!) to put 6.2-PRE (RELENG_6) on it, but no matter what I do, it 
> panics when either NTPD or SSHD starts (depending on whats first).
>
> Unfortunately, I don't have the exact panic (it's a page not present, and if 
> I understood my remote eyes/hands right, a NULL de-reference).
>
> The box is 300+ miles away (Distance from Austin, TX to Dallas, TX).
>
> Anyone got ideas?
>
> Here's the 6.1 dmesg, and a pciconf -lv to see if anyone knows of wonkity 
> hardware....

The following commit went into RELENG_6 yesterday; could you check and see if 
it's present in the version that panics, and if you move to a revision 
slightly before this (i.e., from the 28th) the panic goes away?  It could be 
there's a problem with these changes and it needs to be backed out until 
fixed...

Date: Fri, 29 Dec 2006 19:25:49 +0000 (UTC)
From: John Baldwin <jhb@FreeBSD.org>
To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org
Subject: cvs commit: src/sys/netinet in_pcb.c in_pcb.h ip_divert.c raw_ip.c
             tcp_usrreq.c udp_usrreq.c src/sys/netinet6 in6_pcb.c raw_ip6.c
            udp6_usrreq.c

jhb         2006-12-29 19:25:49 UTC

   FreeBSD src repository

   Modified files:        (Branch: RELENG_6)
     sys/netinet          in_pcb.c in_pcb.h ip_divert.c raw_ip.c
                          tcp_usrreq.c udp_usrreq.c
     sys/netinet6         in6_pcb.c raw_ip6.c udp6_usrreq.c
   Log:
   MFC: Close some races between enumerating inpcb's and tearing them down by
   making the mutex portion of struct inpcb type-stable and never destroying
   it.

   Revision   Changes    Path
   1.165.2.6  +9 -5      src/sys/netinet/in_pcb.c
   1.80.2.5   +2 -1      src/sys/netinet/in_pcb.h
   1.113.2.3  +24 -4     src/sys/netinet/ip_divert.c
   1.150.2.6  +15 -4     src/sys/netinet/raw_ip.c
   1.124.2.5  +2 -2      src/sys/netinet/tcp_usrreq.c
   1.175.2.9  +15 -4     src/sys/netinet/udp_usrreq.c
   1.62.2.5   +1 -1      src/sys/netinet6/in6_pcb.c
   1.50.2.8   +1 -2      src/sys/netinet6/raw_ip6.c
   1.54.2.3   +1 -2      src/sys/netinet6/udp6_usrreq.c


>
> thanks all!
>
>
> Copyright (c) 1992-2006 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 6.1-RELEASE-p11 #0: Sat Dec 30 03:11:48 CST 2006
>    root@fw.lerctr.org:/usr/obj/usr/src/sys/GENERIC
> ACPI APIC Table: <AMIINT AMIINI09>
> Timecounter "i8254" frequency 1193182 Hz quality 0
> CPU: AMD Athlon(tm) XP 2200+ (1807.31-MHz 686-class CPU)
>  Origin = "AuthenticAMD"  Id = 0x681  Stepping = 1
>  Features=0x383fbff<FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,MMX,FXSR,SSE>
>  AMD Features=0xc0400800<SYSCALL,MMX+,3DNow+,3DNow>
> real memory  = 503250944 (479 MB)
> avail memory = 483074048 (460 MB)
> ioapic0 <Version 0.3> irqs 0-23 on motherboard
> kbd1 at kbdmux0
> acpi0: <AMIINT AMIINI09> on motherboard
> acpi0: Power Button (fixed)
> Timecounter "ACPI-fast" frequency 3579545 Hz quality 1000
> acpi_timer0: <24-bit timer at 3.579545MHz> port 0x808-0x80b on acpi0
> cpu0: <ACPI CPU> on acpi0
> acpi_button0: <Power Button> on acpi0
> pcib0: <ACPI Host-PCI bridge> port 0xcf8-0xcff on acpi0
> pci0: <ACPI PCI bus> on pcib0
> agp0: <VIA XM266 (PM266/KM266) host to PCI bridge> mem 0xe0000000-0xe3ffffff 
> at device 0.0 on pci0
> pcib1: <PCI-PCI bridge> at device 1.0 on pci0
> pci1: <PCI bus> on pcib1
> pci1: <display, VGA> at device 0.0 (no driver attached)
> xl0: <3Com 3c905B-TX Fast Etherlink XL> port 0xec00-0xec7f mem 
> 0xdfffff80-0xdfffffff irq 17 at device 9.0 on pci0
> 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:2a:67:e4
> xl1: <3Com 3c905B-TX Fast Etherlink XL> port 0xe800-0xe87f mem 
> 0xdfffff00-0xdfffff7f irq 18 at device 10.0 on pci0
> miibus1: <MII bus> on xl1
> xlphy1: <3Com internal media interface> on miibus1
> xlphy1:  10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto
> xl1: Ethernet address: 00:10:5a:11:7c:ec
> uhci0: <VIA 83C572 USB controller> port 0xe400-0xe41f irq 21 at device 16.0 
> on pci0
> uhci0: [GIANT-LOCKED]
> usb0: <VIA 83C572 USB controller> on uhci0
> usb0: USB revision 1.0
> uhub0: VIA UHCI root hub, class 9/0, rev 1.00/1.00, addr 1
> uhub0: 2 ports with 2 removable, self powered
> uhci1: <VIA 83C572 USB controller> port 0xe000-0xe01f irq 21 at device 16.1 
> on pci0
> uhci1: [GIANT-LOCKED]
> usb1: <VIA 83C572 USB controller> on uhci1
> usb1: USB revision 1.0
> uhub1: VIA UHCI root hub, class 9/0, rev 1.00/1.00, addr 1
> uhub1: 2 ports with 2 removable, self powered
> uhci2: <VIA 83C572 USB controller> port 0xdc00-0xdc1f irq 21 at device 16.2 
> on pci0
> uhci2: [GIANT-LOCKED]
> usb2: <VIA 83C572 USB controller> on uhci2
> usb2: USB revision 1.0
> uhub2: VIA UHCI root hub, class 9/0, rev 1.00/1.00, addr 1
> uhub2: 2 ports with 2 removable, self powered
> ehci0: <VIA VT6202 USB 2.0 controller> mem 0xdffffe00-0xdffffeff irq 21 at 
> device 16.3 on pci0
> ehci0: [GIANT-LOCKED]
> usb3: EHCI version 1.0
> usb3: companion controllers, 2 ports each: usb0 usb1 usb2
> usb3: <VIA VT6202 USB 2.0 controller> on ehci0
> usb3: USB revision 2.0
> uhub3: VIA EHCI root hub, class 9/0, rev 2.00/1.00, addr 1
> uhub3: 6 ports with 6 removable, self powered
> isab0: <PCI-ISA bridge> at device 17.0 on pci0
> isa0: <ISA bus> on isab0
> atapci0: <VIA 8235 UDMA133 controller> port 
> 0x1f0-0x1f7,0x3f6,0x170-0x177,0x376,0xfc00-0xfc0f at device 17.1 on pci0
> ata0: <ATA channel 0> on atapci0
> ata1: <ATA channel 1> on atapci0
> pci0: <multimedia, audio> at device 17.5 (no driver attached)
> rl0: <RealTek 8139 10/100BaseTX> port 0xd400-0xd4ff mem 0xdffffd00-0xdffffdff 
> irq 18 at device 19.0 on pci0
> miibus2: <MII bus> on rl0
> rlphy0: <RealTek internal media interface> on miibus2
> rlphy0:  10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto
> rl0: Ethernet address: 00:20:ed:8d:3e:13
> acpi_button1: <Sleep Button> on acpi0
> fdc0: <floppy drive controller> port 0x3f2-0x3f3,0x3f4-0x3f5,0x3f7 irq 6 drq 
> 2 on acpi0
> fdc0: [FAST]
> sio0: <16550A-compatible COM port> port 0x3f8-0x3ff irq 4 flags 0x10 on acpi0
> sio0: type 16550A
> sio1: <16550A-compatible COM port> port 0x2f8-0x2ff irq 3 on acpi0
> sio1: type 16550A
> ppc0: <ECP parallel printer port> port 0x378-0x37f,0x778-0x77b irq 7 drq 3 on 
> acpi0
> ppc0: Generic chipset (ECP/PS2/NIBBLE) in COMPATIBLE mode
> ppc0: FIFO with 16/16/16 bytes threshold
> ppbus0: <Parallel port bus> on ppc0
> plip0: <PLIP network interface> on ppbus0
> lpt0: <Printer> on ppbus0
> lpt0: Interrupt-driven port
> ppi0: <Parallel I/O> on ppbus0
> atkbdc0: <Keyboard controller (i8042)> port 0x60,0x64 irq 1 on acpi0
> atkbd0: <AT Keyboard> irq 1 on atkbdc0
> kbd0 at atkbd0
> atkbd0: [GIANT-LOCKED]
> pmtimer0 on isa0
> orm0: <ISA Option ROMs> at iomem 0xc0000-0xcbfff,0xcc000-0xccfff on isa0
> 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
> Timecounter "TSC" frequency 1807314700 Hz quality 800
> Timecounters tick every 1.000 msec
> ad0: DMA limited to UDMA33, device found non-ATA66 cable
> ad0: 76319MB <WDC WD800JB-00ETA0 77.07W77> at ata0-master UDMA33
> Trying to mount root from ufs:/dev/ad0s1a
> IP Filter: v4.1.8 initialized.  Default = pass all, Logging = enabled
>
>
>
> $ sudo pciconf -lv
> Password:
> agp0@pci0:0:0:	class=0x060000 card=0x31161106 chip=0x31161106 rev=0x00 
> hdr=0x00
>    vendor   = 'VIA Technologies Inc'
>    device   = 'VT8375 ProSavageDDR PM266/KM266 CPU to PCI Bridge'
>    class    = bridge
>    subclass = HOST-PCI
> pcib1@pci0:1:0:	class=0x060400 card=0x00000080 chip=0xb0911106 rev=0x00 
> hdr=0x01
>    vendor   = 'VIA Technologies Inc'
>    device   = 'VT8633 Apollo Pro 266 CPU to AGP Controller'
>    class    = bridge
>    subclass = PCI-PCI
> xl0@pci0:9:0:	class=0x020000 card=0x905510b7 chip=0x905510b7 rev=0x30 
> hdr=0x00
>    vendor   = '3COM Corp, Networking Division'
>    device   = '3C905B-TX Fast Etherlink 10/100 PCI TX NIC'
>    class    = network
>    subclass = ethernet
> xl1@pci0:10:0:	class=0x020000 card=0x905510b7 chip=0x905510b7 rev=0x30 
> hdr=0x00
>    vendor   = '3COM Corp, Networking Division'
>    device   = '3C905B-TX Fast Etherlink 10/100 PCI TX NIC'
>    class    = network
>    subclass = ethernet
> uhci0@pci0:16:0:	class=0x0c0300 card=0x30381106 chip=0x30381106 
> rev=0x80 hdr=0x00
>    vendor   = 'VIA Technologies Inc'
>    device   = 'VT82xxxxx UHCI USB 1.1 Controller (All VIA Chipsets)'
>    class    = serial bus
>    subclass = USB
> uhci1@pci0:16:1:	class=0x0c0300 card=0x30381106 chip=0x30381106 
> rev=0x80 hdr=0x00
>    vendor   = 'VIA Technologies Inc'
>    device   = 'VT82xxxxx UHCI USB 1.1 Controller (All VIA Chipsets)'
>    class    = serial bus
>    subclass = USB
> uhci2@pci0:16:2:	class=0x0c0300 card=0x30381106 chip=0x30381106 
> rev=0x80 hdr=0x00
>    vendor   = 'VIA Technologies Inc'
>    device   = 'VT82xxxxx UHCI USB 1.1 Controller (All VIA Chipsets)'
>    class    = serial bus
>    subclass = USB
> ehci0@pci0:16:3:	class=0x0c0320 card=0x50041458 chip=0x31041106 
> rev=0x82 hdr=0x00
>    vendor   = 'VIA Technologies Inc'
>    device   = 'VT6202 USB 2.0 Enhanced Host Controller'
>    class    = serial bus
>    subclass = USB
> isab0@pci0:17:0:	class=0x060100 card=0x31771106 chip=0x31771106 
> rev=0x00 hdr=0x00
>    vendor   = 'VIA Technologies Inc'
>    device   = 'VT8235 PCI to ISA Bridge'
>    class    = bridge
>    subclass = PCI-ISA
> atapci0@pci0:17:1:	class=0x01018a card=0x05711106 chip=0x05711106 
> rev=0x06 hdr=0x00
>    vendor   = 'VIA Technologies Inc'
>    device   = 'VT82xxxx EIDE Controller (All VIA Chipsets)'
>    class    = mass storage
>    subclass = ATA
> none0@pci0:17:5:	class=0x040100 card=0xa0021458 chip=0x30591106 
> rev=0x50 hdr=0x00
>    vendor   = 'VIA Technologies Inc'
>    device   = 'VT8233/33A/8235/8237 AC97 Enhanced Audio Controller'
>    class    = multimedia
>    subclass = audio
> rl0@pci0:19:0:	class=0x020000 card=0x813910ec chip=0x813910ec rev=0x10 
> hdr=0x00
>    vendor   = 'Realtek Semiconductor'
>    device   = 'RT8139 (A/B/C/810x/813x/C+) Fast Ethernet Adapter'
>    class    = network
>    subclass = ethernet
> none1@pci1:0:0:	class=0x030000 card=0xd0001458 chip=0x8d045333 rev=0x00 
> hdr=0x00
>    vendor   = 'S3 Graphics Co., Ltd.'
>    device   = '86C420 ProSavage DDR'
>    class    = display
>    subclass = VGA
> -- 
> Larry Rosenman                     http://www.lerctr.org/~ler
> Phone: +1 512-248-2683                 E-Mail: ler@lerctr.org
> US Mail: 430 Valona Loop, Round Rock, TX 78681-3893
> _______________________________________________
> freebsd-stable@freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-stable
> To unsubscribe, send any mail to "freebsd-stable-unsubscribe@freebsd.org"
>



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20061230150655.E18740>