Re: Boot-time pass for geli on 7.0-BETA2 (and RELENG_7) not working for me.

2007-11-14 Thread Marc Olzheim
On Sun, Nov 11, 2007 at 03:54:24PM +0100, Marc Olzheim wrote:
  today I updated from 6.2-RELEASE-p8 to 7.0-BETA2 as well.
  I've ran into the same problem with the password input to GELI on boot time.
  Chars are showing up after several keypresses.
  
  After removing the new dcons driver from my KERNEL config, recompiling and 
  rebooting, it does work normally like under 6.2R
 
 Thanks, I tried it, but alas, to no avail... Still the same symptoms. :-/

Using an uniprocessor kernel doesn't change anything either.

Marc


pgpSN5iWKuY0J.pgp
Description: PGP signature


Re: Boot-time pass for geli on 7.0-BETA2 (and RELENG_7) not working for me.

2007-11-11 Thread Marc Olzheim
On Thu, Nov 08, 2007 at 05:09:34PM +0100, Thorsten Trampisch wrote:
 Hello,
 
 today I updated from 6.2-RELEASE-p8 to 7.0-BETA2 as well.
 I've ran into the same problem with the password input to GELI on boot time.
 Chars are showing up after several keypresses.
 
 After removing the new dcons driver from my KERNEL config, recompiling and 
 rebooting, it does work normally like under 6.2R

Thanks, I tried it, but alas, to no avail... Still the same symptoms. :-/

Marc


pgpRfmEWdkDDo.pgp
Description: PGP signature


Re: Boot-time pass for geli on 7.0-BETA2 (and RELENG_7) not working for me.

2007-11-08 Thread Thorsten Trampisch
Hello,

today I updated from 6.2-RELEASE-p8 to 7.0-BETA2 as well.
I've ran into the same problem with the password input to GELI on boot time.
Chars are showing up after several keypresses.

After removing the new dcons driver from my KERNEL config, recompiling and 
rebooting, it does work normally like under 6.2R

Hope that will help you too.

Regards,
Thorsten Trampisch


-
 /\  ASCII Ribbon Campaign  
 \ /   - against HTML email  vCards 
  X- against proprietary formats 
 / \ 



___
freebsd-stable@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-stable
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Boot-time pass for geli on 7.0-BETA2 (and RELENG_7) not working for me.

2007-11-07 Thread Karsten Rothemund
On Tue, Nov 06, 2007 at 04:35:24PM +0100, Marc Olzheim wrote:
 Hi.
 
 I can't get the kernel to accept my passphrase at boot time.
 

What kind of passphrase do you use? I had the same problem until I
realized, that my passphrase contained a letter, which changed its
position on the keyboard when changing layout, during boot it is still
the US-layout. Later it changed to de in my case (no problem to attach
geli device later).

Just a hint.

Ciao,

Karsten

-- 

Karsten Rothemund [EMAIL PROTECTED] /\
PGP-Key: 0x7019CAA5   \ /
Fingerprint: E752 C759 B9B2 2057 E42F  \  ASCII Ribbon Campaign
 50EE 47AC A7CE 7019 CAA5 / \ Against HTML Mail and News


pgpMuguWmgAVV.pgp
Description: PGP signature


Re: Boot-time pass for geli on 7.0-BETA2 (and RELENG_7) not working for me.

2007-11-07 Thread Steve Bertrand
 What kind of passphrase do you use? I had the same problem until I
 realized, that my passphrase contained a letter, which changed its
 position on the keyboard when changing layout, during boot it is still
 the US-layout. Later it changed to de in my case (no problem to attach
 geli device later).

 Just a hint.
 
 Hmm, thanks for the tip. I set the passphrase to 'a' now, and when I set
 'kern.geom.eli.visible_passphrase=1' I see that the 'a' is typed as
 expected. When I type more characters though, not all of them are
 printed, only about half of them.
 
 I did read about problems with SMP, and have set kern.geom.eli.threads=1
 in loader.conf, but still no go.

I also found somewhere that there was/is also a problem with passphrase
entry when you have kbdmux enabled in the kernel.

However, removing it did not fix it for me. Because I am booting from a
USB thumbdrive which has my key on it, and the thumbdrive is removed
after boot, I just went without a passphrse.

Steve
___
freebsd-stable@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-stable
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Boot-time pass for geli on 7.0-BETA2 (and RELENG_7) not working for me.

2007-11-07 Thread Marc Olzheim
On Wed, Nov 07, 2007 at 10:41:40AM +0100, Karsten Rothemund wrote:
 On Tue, Nov 06, 2007 at 04:35:24PM +0100, Marc Olzheim wrote:
  Hi.
  
  I can't get the kernel to accept my passphrase at boot time.
  
 
 What kind of passphrase do you use? I had the same problem until I
 realized, that my passphrase contained a letter, which changed its
 position on the keyboard when changing layout, during boot it is still
 the US-layout. Later it changed to de in my case (no problem to attach
 geli device later).
 
 Just a hint.

Hmm, thanks for the tip. I set the passphrase to 'a' now, and when I set
'kern.geom.eli.visible_passphrase=1' I see that the 'a' is typed as
expected. When I type more characters though, not all of them are
printed, only about half of them.

I did read about problems with SMP, and have set kern.geom.eli.threads=1
in loader.conf, but still no go.

Marc


pgprwRzCJxNHn.pgp
Description: PGP signature


Boot-time pass for geli on 7.0-BETA2 (and RELENG_7) not working for me.

2007-11-06 Thread Marc Olzheim
Hi.

I can't get the kernel to accept my passphrase at boot time.

Excerpt from dmesg:

...

FreeBSD 7.0-BETA2 #0: Tue Nov  6 15:06:03 UTC 2007
[EMAIL PROTECTED]:/usr/obj/usr/src/sys/LAPCAT
Preloaded elf kernel /boot/kernel/kernel at 0x808a5000.
Preloaded elf obj module /boot/kernel/geom_eli.ko at 0x808a5288.
Preloaded elf obj module /boot/kernel/crypto.ko at 0x808a58f8.
Preloaded elf obj module /boot/kernel/zlib.ko at 0x808a5f60.
Preloaded ad4s3e:keyfile0 /boot/keys/ad4s3e.key at 0x808a64c8.
Calibrating clock(s) ... i8254 clock: 1193193 Hz
CLK_USE_I8254_CALIBRATION not specified - using default frequency
Timecounter i8254 frequency 1193182 Hz quality 0
Calibrating TSC clock ... TSC clock: 1496263977 Hz
CPU: Intel(R) Core(TM)2 Duo CPU T5250  @ 1.50GHz (1496.26-MHz K8-class CPU)
  Origin = GenuineIntel  Id = 0x6fd  Stepping = 13
  
Features=0xbfebfbffFPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CLFLUSH,DTS,ACPI,MMX,FXSR,SSE,SSE2,SS,HTT,TM,PBE
  Features2=0xe39dSSE3,RSVD2,MON,DS_CPL,EST,TM2,SSSE3,CX16,xTPR,PDCM
  AMD Features=0x20100800SYSCALL,NX,LM
  AMD Features2=0x1LAHF
  Cores per package: 2
usable memory = 2128379904 (2029 MB)

...

ad4: 114473MB FUJITSU MHW2120BH 8918 at ata2-master SATA150
ad4: 234441648 sectors [232581C/16H/63S] 16 sectors/interrupt 1 depth queue
GEOM: new disk ad4
battery0: battery initialization done, tried 1 times
GEOM_LABEL: Label for provider ad4s4 is ntfs/HP_RECOVERY.
Enter passphrase for ad4s3e: (probe4:sbp0:0:4:0): error 22
(probe4:sbp0:0:4:0): Unretryable Error
(probe5:sbp0:0:5:0): error 22
(probe5:sbp0:0:5:0): Unretryable Error
(probe6:sbp0:0:6:0): error 22
(probe6:sbp0:0:6:0): Unretryable Error
(probe0:sbp0:0:0:0): error 22
(probe0:sbp0:0:0:0): Unretryable Error
(probe1:sbp0:0:1:0): error 22
(probe1:sbp0:0:1:0): Unretryable Error
(probe2:sbp0:0:2:0): error 22
(probe2:sbp0:0:2:0): Unretryable Error
(probe3:sbp0:0:3:0): error 22
(probe3:sbp0:0:3:0): Unretryable Error

GEOM_ELI: Wrong key for ad4s3e. Tries left: 2.
Enter passphrase for ad4s3e: 
GEOM_ELI: Wrong key for ad4s3e. Tries left: 1.
Enter passphrase for ad4s3e: 
GEOM_ELI: Wrong key for ad4s3e. No tries left.
SMP: AP CPU #1 Launched!
cpu1 AP:
 ID: 0x0100   VER: 0x00050014 LDR: 0x DFR: 0x
  lint0: 0x00010700 lint1: 0x0400 TPR: 0x SVR: 0x01ff
  timer: 0x000200ef therm: 0x0001 err: 0x0001 pcm: 0x0001

...

Trying to mount root from ufs:/dev/ad4s3a
start_init: trying /sbin/init
Loading configuration files.
No suitable dump device was found.
Entropy harvesting:
 interrupts
 ethernet
 point_to_point
 kickstart
.
Starting file system checks:
Setting hostuuid: 434e4637-3332-3352-3451-001b24850b51.
Setting hostid: 0x55ee28a8.
Mounting local file systems:

...

But when trying after boot, geli attach -k /boot/keys/ad4s3e.key:

GEOM_ELI: Device ad4s3e.eli created.
GEOM_ELI: Encryption: AES-CBC 128
GEOM_ELI: Crypto: software

Then it works fine.

Any ideas ?



Another issue with BETA1.5 was that when disklabeling /dev/ad4s3e.eli
into multiple slices, after newfsing and mounting, I could create files
and fsck the filesystem, but as soon as I created a directory, it caused
a panic. I didn't see that after cvsuping to RELENG_7 then though, so i
assume something was already fixed in that department.

Marc


pgpn3tilKQgwX.pgp
Description: PGP signature