From owner-freebsd-current@FreeBSD.ORG Tue Oct 6 21:10:47 2009 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 00482106568F for ; Tue, 6 Oct 2009 21:10:46 +0000 (UTC) (envelope-from csjp@freebsd.org) Received: from mx-01queue01.mts.net (mx-01queue01.mts.net [142.161.3.10]) by mx1.freebsd.org (Postfix) with ESMTP id BA2768FC24 for ; Tue, 6 Oct 2009 21:10:46 +0000 (UTC) Received: from wnpgmb013qw-sp03.mts.net ([10.205.128.23]) by mx-01mtaout01.mts.net with ESMTP id <20091006205519.JZLH6612.mx-01mtaout01.mts.net@wnpgmb013qw-sp03.mts.net> for ; Tue, 6 Oct 2009 15:55:19 -0500 X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: ApsEAA5My0qOoTFx/2dsb2JhbACBUsNQCY58gjMXgWAEgVOCTA X-IronPort-AV: E=Sophos;i="4.44,515,1249275600"; d="scan'208";a="103278005" Received: from wnpgmb1308w-ad04-49-113.dynamic.mts.net (HELO movsx.my.domain) ([142.161.49.113]) by wnpgmb013qw-sp03.mts.net with ESMTP; 06 Oct 2009 15:54:59 -0500 Received: from movsx.my.domain (csjp@localhost [127.0.0.1]) by movsx.my.domain (8.14.3/8.14.3) with ESMTP id n96KsxMv015812; Tue, 6 Oct 2009 20:54:59 GMT (envelope-from csjp@movsx.my.domain) Received: (from csjp@localhost) by movsx.my.domain (8.14.3/8.14.3/Submit) id n96KswBA015811; Tue, 6 Oct 2009 20:54:58 GMT (envelope-from csjp) Date: Tue, 6 Oct 2009 20:54:58 +0000 From: Christian Peron To: Larry Baird Message-ID: <20091006205458.GA15679@movsx> References: <20090921153655.GA37236@gta.com> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="a8Wt8u1KmwUX3Y2C" Content-Disposition: inline In-Reply-To: <20090921153655.GA37236@gta.com> User-Agent: Mutt/1.4.2.3i Cc: freebsd-current@freebsd.org Subject: Re: XEN 5.5.0 and clflush 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: Tue, 06 Oct 2009 21:10:47 -0000 --a8Wt8u1KmwUX3Y2C Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable This has been fixed. Update your kernel On Mon, Sep 21, 2009 at 11:36:55AM -0400, Larry Baird wrote: > Since the end of August I have been unable to boot a generic kernel from > FreeBSD current or 8 under XEN 5.5.0. Finally had a chance to briefly lo= ok > at the problem. If I apply attached patch to remove calls to clflush() I > am able to boot current. Hopefully somebody can shed some light. Is > XEN incorrecty reporting CPUID_CLFSH or is XEN not correctly virtualizing > this option. Or is the issue someplace else? I have also attached the > dmesg from a successful boot. This issue seems to be same as > http://www.freebsd.org/cgi/query-pr.cgi?pr=3D138863 >=20 >=20 > Here is an attempt to type backtrace from non-booting kernel: > pmap_invalidate_cache_range(c3252000,c3253000,c3253000,0,fee00000,...) at= pamp_invalidate_cache_range+0x60 > pmap_mapdev_attr(fee00000,400,0,c1420d34,c0ba7a72,...) at pmap_mapdev_att= r+0xec > pmap_mapdev() at pmap_mapdev+0x20 > lapic_init() at lapic_init+0x32 > madt_setup_local() at madt_setup_local+0x2c > apic_init() at apic_init+0x11a > mistartup() at mi_startup+0x96 > begin() at begin+0x2c >=20 > Larry >=20 >=20 > --=20 > ------------------------------------------------------------------------ > Larry Baird | http://www.gta.com > Global Technology Associates, Inc. | Orlando, FL > Email: lab@gta.com | TEL 407-380-0220, FAX 407-380-6080 > 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 9.0-CURRENT #2: Mon Sep 21 11:00:46 EDT 2009 > lab@sw-xenoss.gta.com:/usr/src/sys/i386/compile/GENERIC > WARNING: WITNESS option enabled, expect reduced performance. > Timecounter "i8254" frequency 1193182 Hz quality 0 > CPU: Intel(R) Xeon(R) CPU 5110 @ 1.60GHz (1691.83-MHz 686-cla= ss CPU) > Origin =3D "GenuineIntel" Id =3D 0x6fb Stepping =3D 11 > Features=3D0x789fbff > Features2=3D0x80002201> > AMD Features=3D0x20000000 > AMD Features2=3D0x1 > TSC: P-state invariant > real memory =3D 536870912 (512 MB) > avail memory =3D 493977600 (471 MB) > ACPI APIC Table: > ioapic0: Changing APIC ID to 1 > MADT: Forcing active-low polarity and level trigger for SCI > ioapic0 irqs 0-47 on motherboard > kbd1 at kbdmux0 > acpi0: on motherboard > acpi0: [ITHREAD] > Timecounter "ACPI-safe" frequency 3579545 Hz quality 850 > acpi_timer0: <32-bit timer at 3.579545MHz> port 0x1f48-0x1f4b on acpi0 > acpi_hpet0: iomem 0xfed00000-0xfed003ff on a= cpi0 > Timecounter "HPET" frequency 62500000 Hz quality 900 > pcib0: port 0xcf8-0xcff on acpi0 > pci0: on pcib0 > isab0: at device 1.0 on pci0 > isa0: on isab0 > atapci0: port 0x1f0-0x1f7,0x3f6,0x170-0x17= 7,0x376,0xc220-0xc22f at device 1.1 on pci0 > ata0: on atapci0 > ata0: [ITHREAD] > ata1: on atapci0 > ata1: [ITHREAD] > uhci0: port 0xc200-0xc21f irq 23 a= t device 1.2 on pci0 > uhci0: [ITHREAD] > uhci0: LegSup =3D 0x0000 > usbus0: controller did not stop > usbus0: on uhci0 > pci0: at device 1.3 (no driver attached) > vgapci0: mem 0xf0000000-0xf1ffffff,0xf3000000-0x= f3000fff at device 2.0 on pci0 > pci0: at device 3.0 (no driver attached) > re0: port 0xc100-0xc1ff mem 0xf3001000-0xf3= 0010ff irq 32 at device 4.0 on pci0 > re0: Chip rev. 0x74800000 > re0: MAC rev. 0x00000000 > miibus0: on re0 > rlphy0: PHY 0 on miibus0 > rlphy0: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto > re0: Ethernet address: 4e:c4:60:ce:d0:72 > re0: [FILTER] > 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] > psm0: irq 12 on atkbdc0 > psm0: [GIANT-LOCKED] > psm0: [ITHREAD] > psm0: model IntelliMouse Explorer, device ID 4 > fdc0: port 0x3f0-0x3f5,0x3f7 irq 6 drq 2 on acp= i0 > fdc0: does not respond > device_attach: fdc0 attach returned 6 > uart0: port 0x3f8-0x3ff irq 4= flags 0x10 on acpi0 > uart0: [FILTER] > ppc0: port 0x378-0x37f irq 7 on acpi0 > ppc0: Generic chipset (NIBBLE-only) in COMPATIBLE mode > 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 > fdc0: port 0x3f0-0x3f5,0x3f7 irq 6 drq 2 on acp= i0 > fdc0: does not respond > device_attach: fdc0 attach returned 6 > pmtimer0 on isa0 > orm0: at iomem 0xd0000-0xd7fff pnpid ORM0000 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 1691834274 Hz quality 800 > Timecounters tick every 10.000 msec > usbus0: 12Mbps Full Speed USB v1.0 > ad0: 20480MB at ata0-master WDMA2 > ugen0.1: at usbus0 > uhub0: on usbus0 > GEOM: ad0s1: geometry does not match label (255h,63s !=3D 16h,63s). > uhub0: 2 ports with 2 removable, self powered > ugen0.2: at usbus0 > ums0: on usbus0 > ums0: 3 buttons and [Z] coordinates ID=3D0 > acd0: CDROM at ata1-slave WDMA2 > WARNING: WITNESS option enabled, expect reduced performance. > Trying to mount root from ufs:/dev/ad0s1a > lock order reversal: (sleepable after non-sleepable) > 1st 0xc390a058 rtentry (rtentry) @ net/route.c:1409 > 2nd 0xc0f433b8 ifnet_sx (ifnet_sx) @ netinet/sctp_bsd_addr.c:211 > KDB: stack backtrace: > db_trace_self_wrapper(c0c828bc,d6957788,c08c2725,c08b354b,c0c85715,...) a= t db_trace_self_wrapper+0x26 > kdb_backtrace(c08b354b,c0c85715,c35286e8,c352c8b8,d69577e4,...) at kdb_ba= cktrace+0x29 > _witness_debugger(c0c85715,c0f433b8,c0c8e50e,c352c8b8,c0c9865e,...) at _w= itness_debugger+0x25 > witness_checkorder(c0f433b8,1,c0c98655,d3,0,...) at witness_checkorder+0x= 839 > _sx_slock(c0f433b8,0,c0c98655,d3,d6957878,...) at _sx_slock+0x85 > sctp_init_ifns_for_vrf(3,c39018c0,d69578c0,c08c3178,c3901964,...) at sctp= _init_ifns_for_vrf+0x30 > sctp_addr_change(c38ffa00,1,d69578c0,c08c256c,d695791c,...) at sctp_addr_= change+0x2c > rt_newaddrmsg(1,c38ffa00,0,c390a000,c38ffa00,...) at rt_newaddrmsg+0x3f > rtinit(c38ffa00,1,5,c0de9cfc,51573592,...) at rtinit+0x381 > in_ifinit(0,c0c96ee7,1aa,1a6,c3814800,...) at in_ifinit+0x8f6 > in_control(c38f7000,8040691a,c3907dc0,c3814800,c39018c0,...) at in_contro= l+0xccb > ifioctl(c38f7000,8040691a,c3907dc0,c39018c0,c38ff200,...) at ifioctl+0x14= f0 > soo_ioctl(c385f540,8040691a,c3907dc0,c356e100,c39018c0,...) at soo_ioctl+= 0x415 > kern_ioctl(c39018c0,3,8040691a,c3907dc0,8bc060,...) at kern_ioctl+0x1fd > ioctl(c39018c0,d6957cf8,c,c0c96f81,c0d665c8,...) at ioctl+0x134 > syscall(d6957d38) at syscall+0x2a3 > Xint0x80_syscall() at Xint0x80_syscall+0x20 > --- syscall (54, FreeBSD ELF32, ioctl), eip =3D 0x281bf513, esp =3D 0xbfb= fe61c, ebp =3D 0xbfbfe658 --- > _______________________________________________ > 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" --a8Wt8u1KmwUX3Y2C Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.9 (FreeBSD) iEYEARECAAYFAkrLrqIACgkQzHFpVAM/ozwlFQCfd9F1xpIT5oT3YFgTgFbyu+2Z uVMAn1Oon4TBBvwAqm7qo98z5XKq5SNP =TJ3o -----END PGP SIGNATURE----- --a8Wt8u1KmwUX3Y2C--