From owner-freebsd-current@FreeBSD.ORG Sat Feb 3 16:29:59 2007 Return-Path: X-Original-To: freebsd-current@freebsd.org Delivered-To: freebsd-current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id AEA4216A402 for ; Sat, 3 Feb 2007 16:29:59 +0000 (UTC) (envelope-from ota@j.email.ne.jp) Received: from mail.asahi-net.or.jp (mail2.asahi-net.or.jp [202.224.39.198]) by mx1.freebsd.org (Postfix) with ESMTP id 65D4613C442 for ; Sat, 3 Feb 2007 16:29:59 +0000 (UTC) (envelope-from ota@j.email.ne.jp) Received: from dynabook-freebsd.advok.com (pool-151-197-185-221.phil.east.verizon.net [151.197.185.221]) by mail.asahi-net.or.jp (Postfix) with ESMTP id 54E92224A8; Sun, 4 Feb 2007 01:29:56 +0900 (JST) Date: Sat, 3 Feb 2007 11:27:01 -0500 From: Yoshihiro Ota To: Pawel Jakub Dawidek Message-Id: <20070203112701.d8b6f58f.ota@j.email.ne.jp> In-Reply-To: <20070203161519.GD64874@garage.freebsd.pl> References: <20070201232118.c7cc1a10.ota@j.email.ne.jp> <20070203161519.GD64874@garage.freebsd.pl> X-Mailer: Sylpheed version 2.2.9 (GTK+ 2.10.6; i386-portbld-freebsd7.0) Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="Multipart=_Sat__3_Feb_2007_11_27_01_-0500_AoVg2732TpKkwENx" Cc: freebsd-current@freebsd.org Subject: Re: geli broken 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: Sat, 03 Feb 2007 16:29:59 -0000 This is a multi-part message in MIME format. --Multipart=_Sat__3_Feb_2007_11_27_01_-0500_AoVg2732TpKkwENx Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit On Sat, 3 Feb 2007 17:15:19 +0100 Pawel Jakub Dawidek wrote: > On Thu, Feb 01, 2007 at 11:21:18PM -0500, Yoshihiro Ota wrote: > > RCS file: /home/ncvs/src/sys/geom/eli/g_eli.c,v > > Working file: g_eli.c > > head: 1.34 > > > > revision 1.34 > > date: 2007/01/28 20:29:12; author: pjd; state: Exp; lines: +7 -0 > > It is possible that GEOM taste provider before SMP is started. > > We can't bind to a CPU which is not yet on-line, so add code that wait for > > CPUs to go on-line before binding to them. > > > > Reported by: Alin-Adrian Anton > > MFC after: 2 weeks > > ---------------------------- > > > > > > The change noted above caused problem with my system. > > After typing password, the geli device was never recognized never response. > > It looked like it was in an infinity loop. > > I have the following entry in my fstab and I need to type in my password for it. > > > > /dev/da0s2.eli /export ufs rw 2 2 > > > > After reverting to 1.33, my system started without problems. I use GENERIC kernel > > configuration without WITNESS and INVARIANTS. > > Could you provide dmesg from your machine? Sure. Here is the diff to the GENERIC as well. --- GENERIC 13 Dec 2006 03:41:47 -0000 1.460 +++ GENERIC 3 Feb 2007 16:28:29 -0000 @@ -63,10 +63,10 @@ options KDB # Enable kernel debugger support. options DDB # Support DDB. options GDB # Support remote GDB. -options INVARIANTS # Enable calls of extra sanity checking -options INVARIANT_SUPPORT # Extra sanity checks of internal structures, required by INVARIANTS -options WITNESS # Enable checks to detect deadlocks and cycles -options WITNESS_SKIPSPIN # Don't run witness on spinlocks for speed +#options INVARIANTS # Enable calls of extra sanity checking +#options INVARIANT_SUPPORT # Extra sanity checks of internal structures, required by INVARIANTS +#options WITNESS # Enable checks to detect deadlocks and cycles +#options WITNESS_SKIPSPIN # Don't run witness on spinlocks for speed # To make an SMP kernel, the next two lines are needed options SMP # Symmetric MultiProcessor Kerne --Multipart=_Sat__3_Feb_2007_11_27_01_-0500_AoVg2732TpKkwENx Content-Type: text/plain; name="dmesg.txt" Content-Disposition: attachment; filename="dmesg.txt" Content-Transfer-Encoding: 7bit Copyright (c) 1992-2007 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 7.0-CURRENT #29: Fri Feb 2 23:43:43 EST 2007 root@dynabook-freebsd.XXX.XYZ:/usr/obj/usr/src/sys/GENERIC Timecounter "i8254" frequency 1193182 Hz quality 0 CPU: Mobile Intel(R) Celeron(R) CPU 2.40GHz (2394.01-MHz 686-class CPU) Origin = "GenuineIntel" Id = 0xf29 Stepping = 9 Features=0xbfebf9ff Features2=0x4400 real memory = 519372800 (495 MB) avail memory = 494325760 (471 MB) wlan: mac acl policy registered ath_hal: 0.9.20.3 (AR5210, AR5211, AR5212, RF5111, RF5112, RF2413, RF5413) acpi0: on motherboard acpi0: Power Button (fixed) Timecounter "ACPI-safe" frequency 3579545 Hz quality 1000 acpi_timer0: <24-bit timer at 3.579545MHz> port 0xd808-0xd80b on acpi0 cpu0: on acpi0 acpi_perf0: on cpu0 p4tcc0: on cpu0 pcib0: port 0xcf8-0xcff on acpi0 pci0: on pcib0 pci0: at device 0.1 (no driver attached) pci0: at device 0.3 (no driver attached) vgapci0: port 0xeff8-0xefff mem 0xd8000000-0xdfffffff,0xd0000000-0xd007ffff irq 10 at device 2.0 on pci0 agp0: on vgapci0 agp0: detected 16252k stolen memory agp0: aperture size is 128M vgapci1: at device 2.1 on pci0 uhci0: port 0xcfe0-0xcfff irq 10 at device 29.0 on pci0 uhci0: [GIANT-LOCKED] usb0: on uhci0 usb0: USB revision 1.0 uhub0: on usb0 uhub0: 2 ports with 2 removable, self powered uhci1: port 0xcf80-0xcf9f irq 11 at device 29.1 on pci0 uhci1: [GIANT-LOCKED] usb1: on uhci1 usb1: USB revision 1.0 uhub1: on usb1 uhub1: 2 ports with 2 removable, self powered uhci2: port 0xcf60-0xcf7f irq 11 at device 29.2 on pci0 uhci2: [GIANT-LOCKED] usb2: on uhci2 usb2: USB revision 1.0 uhub2: on usb2 uhub2: 2 ports with 2 removable, self powered ehci0: mem 0xcffffc00-0xcfffffff irq 11 at device 29.7 on pci0 ehci0: [GIANT-LOCKED] usb3: EHCI version 1.0 usb3: companion controllers, 2 ports each: usb0 usb1 usb2 usb3: on ehci0 usb3: USB revision 2.0 uhub3: on usb3 uhub3: 6 ports with 6 removable, self powered umass0: on uhub3 pcib1: at device 30.0 on pci0 pci1: on pcib1 fwohci0: mem 0xcfeff800-0xcfefffff,0xcfef8000-0xcfefbfff irq 11 at device 7.0 on pci1 fwohci0: OHCI version 1.10 (ROM=1) fwohci0: No. of Isochronous channels is 4. fwohci0: EUI64 00:00:39:00:00:4a:27:6e fwohci0: Phy 1394a available S400, 2 ports. fwohci0: Link S400, max_rec 2048 bytes. firewire0: on fwohci0 fwe0: on firewire0 if_fwe0: Fake Ethernet address: 02:00:39:4a:27:6e fwe0: Ethernet address: 02:00:39:4a:27:6e fwe0: if_start running deferred for Giant sbp0: on firewire0 fwohci0: Initiate bus reset fwohci0: node_id=0xc000ffc0, gen=1, CYCLEMASTER mode firewire0: 1 nodes, maxhop <= 0, cable IRM = 0 (me) firewire0: bus manager 0 (me) fxp0: port 0xcf00-0xcf3f mem 0xcfef7000-0xcfef7fff irq 11 at device 8.0 on pci1 miibus0: on fxp0 inphy0: PHY 1 on miibus0 inphy0: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto fxp0: Ethernet address: 00:08:0d:90:fd:d7 ath0: mem 0xcfee0000-0xcfeeffff irq 11 at device 10.0 on pci1 ath0: using obsoleted if_watchdog interface ath0: Ethernet address: 00:90:96:8f:0d:10 ath0: mac 5.6 phy 4.1 radio 1.7 cbb0: at device 11.0 on pci1 cardbus0: on cbb0 pccard0: <16-bit PCCard bus> on cbb0 cbb1: at device 11.1 on pci1 cardbus1: on cbb1 pccard1: <16-bit PCCard bus> on cbb1 pci1: at device 13.0 (no driver attached) isab0: at device 31.0 on pci0 isa0: on isab0 atapci0: port 0x1f0-0x1f7,0x3f6,0x170-0x177,0x376,0xbfa0-0xbfaf irq 11 at device 31.1 on pci0 ata0: on atapci0 ata1: on atapci0 pcm0: port 0xbe00-0xbeff,0xbdc0-0xbdff mem 0xcfdffe00-0xcfdfffff,0xcfdffd00-0xcfdffdff irq 11 at device 31.5 on pci0 pcm0: pci0: at device 31.6 (no driver attached) acpi_lid0: on acpi0 battery0: on acpi0 acpi_button0: on acpi0 acpi_acad0: on acpi0 acpi_tz0: on acpi0 atkbdc0: port 0x60,0x64 irq 1 on acpi0 atkbd0: irq 1 on atkbdc0 kbd0 at atkbd0 atkbd0: [GIANT-LOCKED] psm0: irq 12 on atkbdc0 psm0: [GIANT-LOCKED] psm0: model GlidePoint, device ID 0 fdc0: port 0x3f0-0x3f5,0x3f7 irq 6 drq 2 on acpi0 fdc0: [FAST] fd0: <1440-KB 3.5" drive> on fdc0 drive 0 pmtimer0 on isa0 orm0: at iomem 0xc0000-0xcffff,0xe0000-0xeffff pnpid ORM0000 on isa0 ppc0: at port 0x378-0x37f irq 7 on isa0 ppc0: SMC-like chipset (ECP/EPP/PS2/NIBBLE) in COMPATIBLE mode ppc0: FIFO with 16/16/15 bytes threshold ppbus0: on ppc0 plip0: on ppbus0 lpt0: on ppbus0 lpt0: Interrupt-driven port ppi0: on ppbus0 ppc0: [GIANT-LOCKED] sc0: at flags 0x100 on isa0 sc0: VGA <16 virtual consoles, flags=0x300> sio0: configured irq 4 not in bitmap of probed irqs 0 sio0: port may not be enabled sio0: configured irq 4 not in bitmap of probed irqs 0 sio0: port may not be enabled sio0 at port 0x3f8-0x3ff irq 4 flags 0x10 on isa0 sio0: type 8250 or not responding sio0: [FAST] sio1: configured irq 3 not in bitmap of probed irqs 0 sio1: port may not be enabled vga0: at port 0x3c0-0x3df iomem 0xa0000-0xbffff on isa0 ums0: on uhub1 ums0: 3 buttons and Z dir. Timecounter "TSC" frequency 2394012572 Hz quality 800 Timecounters tick every 1.000 msec ad0: 57231MB at ata0-master UDMA100 acd0: CDRW at ata1-master UDMA33 (probe0:umass-sim0:0:0:0): Uninitialized Transport 5:f59318df? da0 at umass-sim0 bus 0 target 0 lun 0 da0: Fixed Direct Access SCSI-0 device da0: 40.000MB/s transfers da0: 238475MB (488397168 512 byte sectors: 255H 63S/T 30401C) Trying to mount root from ufs:/dev/ad0s2a GEOM_ELI: Device da0s2.eli created. GEOM_ELI: Encryption: AES-CBC 128 GEOM_ELI: Crypto: software md0.uzip: 8063 x 130048 blocks drm0: on vgapci0 info: [drm] AGP at 0xd8000000 128MB info: [drm] Initialized i915 1.5.0 20060119 drm1: on vgapci1 info: [drm] AGP at 0xd8000000 128MB info: [drm] Initialized i915 1.5.0 20060119 --Multipart=_Sat__3_Feb_2007_11_27_01_-0500_AoVg2732TpKkwENx--