Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 3 Feb 2007 11:27:01 -0500
From:      Yoshihiro Ota <ota@j.email.ne.jp>
To:        Pawel Jakub Dawidek <pjd@FreeBSD.org>
Cc:        freebsd-current@freebsd.org
Subject:   Re: geli broken
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>

next in thread | previous in thread | raw e-mail | index | archive | help
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 <pjd@FreeBSD.org> 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 <aanton@spintech.ro>
> > 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<FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CLFLUSH,DTS,ACPI,MMX,FXSR,SSE,SSE2,SS,HTT,TM,PBE>
  Features2=0x4400<CNXT-ID,XTPR>
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: <TOSHIB 750> 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: <ACPI CPU> on acpi0
acpi_perf0: <ACPI CPU Frequency Control> on cpu0
p4tcc0: <CPU Frequency Thermal Control> on cpu0
pcib0: <ACPI Host-PCI bridge> port 0xcf8-0xcff on acpi0
pci0: <ACPI PCI bus> on pcib0
pci0: <base peripheral> at device 0.1 (no driver attached)
pci0: <base peripheral> at device 0.3 (no driver attached)
vgapci0: <VGA-compatible display> port 0xeff8-0xefff mem 0xd8000000-0xdfffffff,0xd0000000-0xd007ffff irq 10 at device 2.0 on pci0
agp0: <Intel 8285xM (85xGM GMCH) SVGA controller> on vgapci0
agp0: detected 16252k stolen memory
agp0: aperture size is 128M
vgapci1: <VGA-compatible display> at device 2.1 on pci0
uhci0: <Intel 82801DB (ICH4) USB controller USB-A> port 0xcfe0-0xcfff irq 10 at device 29.0 on pci0
uhci0: [GIANT-LOCKED]
usb0: <Intel 82801DB (ICH4) USB controller USB-A> on uhci0
usb0: USB revision 1.0
uhub0: <Intel UHCI root hub, class 9/0, rev 1.00/1.00, addr 1> on usb0
uhub0: 2 ports with 2 removable, self powered
uhci1: <Intel 82801DB (ICH4) USB controller USB-B> port 0xcf80-0xcf9f irq 11 at device 29.1 on pci0
uhci1: [GIANT-LOCKED]
usb1: <Intel 82801DB (ICH4) USB controller USB-B> on uhci1
usb1: USB revision 1.0
uhub1: <Intel UHCI root hub, class 9/0, rev 1.00/1.00, addr 1> on usb1
uhub1: 2 ports with 2 removable, self powered
uhci2: <Intel 82801DB (ICH4) USB controller USB-C> port 0xcf60-0xcf7f irq 11 at device 29.2 on pci0
uhci2: [GIANT-LOCKED]
usb2: <Intel 82801DB (ICH4) USB controller USB-C> on uhci2
usb2: USB revision 1.0
uhub2: <Intel UHCI root hub, class 9/0, rev 1.00/1.00, addr 1> on usb2
uhub2: 2 ports with 2 removable, self powered
ehci0: <Intel 82801DB/L/M (ICH4) USB 2.0 controller> 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: <Intel 82801DB/L/M (ICH4) USB 2.0 controller> on ehci0
usb3: USB revision 2.0
uhub3: <Intel EHCI root hub, class 9/0, rev 2.00/1.00, addr 1> on usb3
uhub3: 6 ports with 6 removable, self powered
umass0: <vendor 0x04b4 Cypress AT2LP, class 0/0, rev 2.00/2.40, addr 2> on uhub3
pcib1: <ACPI PCI-PCI bridge> at device 30.0 on pci0
pci1: <ACPI PCI bus> on pcib1
fwohci0: <Texas Instruments TSB43AB22/A> 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: <IEEE1394(FireWire) bus> on fwohci0
fwe0: <Ethernet over FireWire> 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: <SBP-2/SCSI over FireWire> 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: <Intel 82801DB (ICH4) Pro/100 VE Ethernet> port 0xcf00-0xcf3f mem 0xcfef7000-0xcfef7fff irq 11 at device 8.0 on pci1
miibus0: <MII bus> on fxp0
inphy0: <i82562ET 10/100 media interface> PHY 1 on miibus0
inphy0:  10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto
fxp0: Ethernet address: 00:08:0d:90:fd:d7
ath0: <Atheros 5212> 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: <ToPIC100 PCI-CardBus Bridge> at device 11.0 on pci1
cardbus0: <CardBus bus> on cbb0
pccard0: <16-bit PCCard bus> on cbb0
cbb1: <ToPIC100 PCI-CardBus Bridge> at device 11.1 on pci1
cardbus1: <CardBus bus> on cbb1
pccard1: <16-bit PCCard bus> on cbb1
pci1: <base peripheral> at device 13.0 (no driver attached)
isab0: <PCI-ISA bridge> at device 31.0 on pci0
isa0: <ISA bus> on isab0
atapci0: <Intel ICH4 UDMA100 controller> port 0x1f0-0x1f7,0x3f6,0x170-0x177,0x376,0xbfa0-0xbfaf irq 11 at device 31.1 on pci0
ata0: <ATA channel 0> on atapci0
ata1: <ATA channel 1> on atapci0
pcm0: <Intel ICH4 (82801DB)> port 0xbe00-0xbeff,0xbdc0-0xbdff mem 0xcfdffe00-0xcfdfffff,0xcfdffd00-0xcfdffdff irq 11 at device 31.5 on pci0
pcm0: <Analog Devices AD1981B AC97 Codec>
pci0: <simple comms, generic modem> at device 31.6 (no driver attached)
acpi_lid0: <Control Method Lid Switch> on acpi0
battery0: <ACPI Control Method Battery> on acpi0
acpi_button0: <Power Button> on acpi0
acpi_acad0: <AC Adapter> on acpi0
acpi_tz0: <Thermal Zone> on acpi0
atkbdc0: <Keyboard controller (i8042)> port 0x60,0x64 irq 1 on acpi0
atkbd0: <AT Keyboard> irq 1 on atkbdc0
kbd0 at atkbd0
atkbd0: [GIANT-LOCKED]
psm0: <PS/2 Mouse> irq 12 on atkbdc0
psm0: [GIANT-LOCKED]
psm0: model GlidePoint, device ID 0
fdc0: <floppy drive controller> 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: <ISA Option ROMs> at iomem 0xc0000-0xcffff,0xe0000-0xeffff pnpid ORM0000 on isa0
ppc0: <Parallel port> 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: <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
ppc0: [GIANT-LOCKED]
sc0: <System console> 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: <Generic ISA VGA> at port 0x3c0-0x3df iomem 0xa0000-0xbffff on isa0
ums0: <MosArt Optical Mouse, class 0/0, rev 1.10/0.00, addr 2> on uhub1
ums0: 3 buttons and Z dir.
Timecounter "TSC" frequency 2394012572 Hz quality 800
Timecounters tick every 1.000 msec
ad0: 57231MB <TOSHIBA MK6021GAS GA024A> at ata0-master UDMA100
acd0: CDRW <DW-224E-A/7.2A> 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: <SAMSUNG SP2514N 0000> 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: <Intel i852GM/i855GM GMCH> on vgapci0
info: [drm] AGP at 0xd8000000 128MB
info: [drm] Initialized i915 1.5.0 20060119
drm1: <Intel i852GM/i855GM GMCH> 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--



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