From owner-freebsd-current@FreeBSD.ORG Fri Mar 6 20:11:55 2009 Return-Path: Delivered-To: current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 1A1D8106566C; Fri, 6 Mar 2009 20:11:55 +0000 (UTC) (envelope-from rnoland@FreeBSD.org) Received: from gizmo.2hip.net (gizmo.2hip.net [64.74.207.195]) by mx1.freebsd.org (Postfix) with ESMTP id C00D48FC15; Fri, 6 Mar 2009 20:11:54 +0000 (UTC) (envelope-from rnoland@FreeBSD.org) Received: from [192.168.1.156] (adsl-154-199-160.ard.bellsouth.net [72.154.199.160]) (authenticated bits=0) by gizmo.2hip.net (8.14.3/8.14.3) with ESMTP id n26KAXDv081434 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Fri, 6 Mar 2009 15:10:33 -0500 (EST) (envelope-from rnoland@FreeBSD.org) From: Robert Noland To: Tom Uffner In-Reply-To: <49B160E0.8010301@uffner.com> References: <49B160E0.8010301@uffner.com> Content-Type: multipart/signed; micalg="pgp-sha1"; protocol="application/pgp-signature"; boundary="=-d5xx2X7IDh0Hkxjgs0Ye" Organization: FreeBSD Date: Fri, 06 Mar 2009 14:11:43 -0600 Message-Id: <1236370303.1671.1.camel@balrog.2hip.net> Mime-Version: 1.0 X-Mailer: Evolution 2.24.5 FreeBSD GNOME Team Port X-Spam-Status: No, score=-1.5 required=5.0 tests=AWL,BAYES_00,RCVD_IN_PBL, RCVD_IN_SORBS_DUL,RDNS_DYNAMIC autolearn=no version=3.2.5 X-Spam-Checker-Version: SpamAssassin 3.2.5 (2008-06-10) on gizmo.2hip.net Cc: svn-src-all@freebsd.org, current@freebsd.org Subject: Re: panic on boot caused by svn commit: r189367 - head/sys/dev/pci X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 06 Mar 2009 20:11:55 -0000 --=-d5xx2X7IDh0Hkxjgs0Ye Content-Type: text/plain Content-Transfer-Encoding: quoted-printable On Fri, 2009-03-06 at 12:44 -0500, Tom Uffner wrote: > My system works w/ kernel & world built from current as of Date: > Wed Mar 4 18:15:00 2009. >=20 > this commit seems to break my Promise SATA controller >=20 > with same world and kernel from Wed Mar 4 18:24:00 2009, differing > only by head/sys/dev/pci/pci.c it panics while booting: >=20 > ... > pci2: at device 8.0 (no driver attached) > re0: port= 0xd400 > -0xd4ff mem 0xfeafe800-0xfeafe8ff irq 22 at device 10.0 on pci2 > re0: Chip rev. 0x10000000 > re0: MAC rev. 0x00000000 > miibus0: on re0 > rgephy0: PHY 1 on miibus0 > rgephy0: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, 1000baseT, 1000= baseT-F > DX, auto > re0: Ethernet address: 00:14:d1:38:81:ab > re0: [FILTER] > atapci0: port 0xdc00-0xdc7f,0xd800-= 0xd8ff > mem 0xfeaff000-0xfeafffff,0xfeac0000-0xfeadffff irq 23 at device 11.0 on = pci2 > atapci0: [ITHREAD] >=20 > Fatal trap 12: page fault while in kernel mode > cpuid =3D 0; apic id =3D 00 > fault virtual address =3D 0xfffffffc > fault code =3D supervisor read, page not present > instruction pointer =3D 0x20:0xc050767a > stack pointer =3D 0x28:0xc0c2085c > frame pointer =3D 0x28:0xc0c20880 > code segment =3D base 0x0, limit 0xfffff, type 0x1b > =3D DPL 0, pres 1, def32 1, gran 1 > processor eflags =3D interrupt enabled, resume, IOPL =3D 0 > current process =3D 0 (swapper) > panic: from debugger > cpuid =3D 0 > Uptime: 1s >=20 > unfortunately i cannot provide a traceback because savecore complains > about a bad magic number and refuses to produce a dump, even w/ -f I fixed a logic error in: r189447 | rnoland | 2009-03-06 05:24:42 -0600 (Fri, 06 Mar 2009) | 6 lines Could you see if that fixes the issue? robert. > here is the normal boot (kernel: Wed Mar 4 18:15:00 2009) >=20 > Copyright (c) 1992-2009 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 8.0-CURRENT #390: Fri Mar 6 03:45:32 EST 2009 > tom@xiombarg.uffner.com:/usr/obj/usr/src/sys/XIOMBARG > Timecounter "i8254" frequency 1193182 Hz quality 0 > CPU: Intel(R) Pentium(R) 4 CPU 2.40GHz (2386.57-MHz 686-class CPU) > Origin =3D "GenuineIntel" Id =3D 0xf27 Stepping =3D 7 > =20 > Features=3D0xbfebfbff > Features2=3D0x400 > real memory =3D 1073479680 (1023 MB) > avail memory =3D 1041518592 (993 MB) > ACPI APIC Table: > ioapic0: Changing APIC ID to 2 > ioapic0 irqs 0-23 on motherboard > kbd1 at kbdmux0 > acpi0: on motherboard > acpi0: [ITHREAD] > acpi0: Power Button (fixed) > acpi0: reservation of 0, a0000 (3) failed > acpi0: reservation of 100000, 3ff00000 (3) failed > Timecounter "ACPI-fast" frequency 3579545 Hz quality 1000 > acpi_timer0: <24-bit timer at 3.579545MHz> port 0x408-0x40b on acpi0 > acpi_button0: on acpi0 > pcib0: port 0xcf8-0xcff on acpi0 > pci0: on pcib0 > agp0: on hostb0 > pcib1: at device 1.0 on pci0 > pci1: on pcib1 > vgapci0: mem=20 > 0xfd000000-0xfdffffff,0xe8000000-0xefffffff irq 16 at device 0.0 on pci1 > pcib2: at device 30.0 on pci0 > pci2: on pcib2 > pci2: at device 1.0 (no driver attached) > pci2: at device 1.1 (no driver attached) > ehci0: mem 0xfeafec00-0xfeafecff irq = 23 at=20 > device 1.2 on pci2 > ehci0: [ITHREAD] > usbus0: EHCI version 0.95 > usbus0: on ehci0 > pci2: at device 8.0 (no driver attached) > re0: port= =20 > 0xd400-0xd4ff mem 0xfeafe800-0xfeafe8ff irq 22 at device 10.0 on pci2 > re0: Chip rev. 0x10000000 > re0: MAC rev. 0x00000000 > miibus0: on re0 > rgephy0: PHY 1 on miibus0 > rgephy0: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, 1000baseT,=20 > 1000baseT-FDX, auto > re0: Ethernet address: 00:14:d1:38:81:ab > re0: [FILTER] > atapci0: port=20 > 0xdc00-0xdc7f,0xd800-0xd8ff mem 0xfeaff000-0xfeafffff,0xfeac0000-0xfeadff= ff=20 > irq 23 at device 11.0 on pci2 > atapci0: [ITHREAD] > atapci0: [ITHREAD] > ata2: on atapci0 > ata2: SIGNATURE: 00000101 > ata2: [ITHREAD] > ata3: on atapci0 > ata3: [ITHREAD] > ata4: on atapci0 > ata4: [ITHREAD] > pci2: at device 12.0 (no driver attached) > pci2: at device 13.0 (no driver attached) > isab0: at device 31.0 on pci0 > isa0: on isab0 > atapci1: port=20 > 0x1f0-0x1f7,0x3f6,0x170-0x177,0x376,0xffa0-0xffaf at device 31.1 on pci0 > ata0: on atapci1 > ata0: [ITHREAD] > ata1: on atapci1 > ata1: [ITHREAD] > uhci0: port 0xef80-0xef9f= irq=20 > 19 at device 31.2 on pci0 > uhci0: [ITHREAD] > uhci0: LegSup =3D 0x0030 > usbus1: on uhci0 > pci0: at device 31.3 (no driver attached) > atrtc0: port 0x70-0x71 irq 8 on acpi0 > atkbdc0: port 0x60,0x64 irq 1 on acpi0 > atkbd0: irq 1 on atkbdc0 > kbd0 at atkbd0 > atkbd0: [GIANT-LOCKED] > atkbd0: [ITHREAD] > fdc0: port 0x3f0-0x3f1,0x3f2-0x3f3,0x3f4-0x3f5,= 0x3f7=20 > irq 6 drq 2 on acpi0 > fdc0: [FILTER] > fd0: <1440-KB 3.5" drive> on fdc0 drive 0 > uart0: <16550 or compatible> port 0x3f8-0x3ff irq 4 flags 0x10 on acpi0 > uart0: [FILTER] > ppc0: port 0x378-0x37f,0x778-0x77f irq 7 drq 3 on acpi0 > ppc0: SMC-like chipset (ECP/EPP/PS2/NIBBLE) in COMPATIBLE mode > ppc0: FIFO with 16/16/8 bytes threshold > ppc0: [ITHREAD] > ppbus0: on ppc0 > plip0: on ppbus0 > plip0: [ITHREAD] > lpt0: on ppbus0 > lpt0: [ITHREAD] > lpt0: Interrupt-driven port > ppi0: on ppbus0 > cpu0: on acpi0 > p4tcc0: on cpu0 > pmtimer0 on isa0 > orm0: at iomem=20 > 0xc0000-0xca7ff,0xca800-0xd2fff,0xd3000-0xd37ff,0xec000-0xec7ff pnpid ORM= 0000=20 > on isa0 > sc0: at flags 0x100 on isa0 > sc0: VGA <16 virtual consoles, flags=3D0x300> > vga0: at port 0x3c0-0x3df iomem 0xa0000-0xbffff on isa0 > Timecounter "TSC" frequency 2386568852 Hz quality 800 > Timecounters tick every 1.000 msec > usbus0: 480Mbps High Speed USB v2.0 > usbus1: 12Mbps Full Speed USB v1.0 > acd0: DVDR at ata0-master UDMA66 > ugen0.1: at usbus0 > uhub0: on usbus0 > ugen1.1: at usbus1 > uhub1: on usbus1 > acd1: CDRW at ata1-master UDMA33 > ad4: 953869MB at ata2-master SATA300 > uhub1: 2 ports with 2 removable, self powered > ugen1.2: at usbus1 > ums0: on usbu= s1 > ums0: 3 buttons and [XY] coordinates > GEOM: ad4s1: geometry does not match label (255h,63s !=3D 16h,63s). > Root mount waiting for: usbus1 usbus0 > uhub0: 4 ports with 4 removable, self powered > Root mount waiting for: usbus1 > ugen1.3: at usbus1 > Trying to mount root from ufs:/dev/ad4s1a > _______________________________________________ > freebsd-current@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-current > To unsubscribe, send any mail to "freebsd-current-unsubscribe@freebsd.org= " --=20 Robert Noland FreeBSD --=-d5xx2X7IDh0Hkxjgs0Ye Content-Type: application/pgp-signature; name="signature.asc" Content-Description: This is a digitally signed message part -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.11 (FreeBSD) iEYEABECAAYFAkmxg38ACgkQM4TrQ4qfROMMSACeNARzrGTx9BgP2/zMOw5FGW+e hjQAnR1StZcSxSYkl6zNG7/gcIfCa/9/ =bt4V -----END PGP SIGNATURE----- --=-d5xx2X7IDh0Hkxjgs0Ye--