Synaptics Touchpad doesn't work on 64-bit FreeBSD

2007-11-11 Thread Thomas Hobbes
Hi,

my Synaptics touchpad doesn't work on FreeBSD 200710 amd64. I've add

hw.psm.synaptics_support=1

to my /boot/loader.conf and I've compiled x11-drivers/synaptics and
x11-drivers/xf86-input-mouse.

My dmesg says:

psm0: PS/2 Mouse irq 12 on atkbdc0
psm0: [GIANT-LOCKED]
psm0: model Synaptics Touchpad, device ID 0
kldload: Unsupported file type
kldload: Unsupported file type

Xorg says:

Synaptics Touchpad no synaptics event device found (checked 10 nodes)
Synaptics Touchpad The /dev/input/event* device nodes seem to be missing
(EE) xf86OpenSerial: No Device specified.
Synaptics driver unable to open device
(EE) PreInit failed for input device Synaptics Touchpad

The touchpad worked fine on FreeBSD 200710 i386. Does anybody know what to do?

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


Smartmontools: Load_Cycle_Count increasing rapidly

2007-11-04 Thread Thomas Hobbes
Hi,

there are some reports that Ubuntu GNU/Linux 7.10 kills harddisks:
http://ubuntudemon.wordpress.com/2007/10/28/laptop-hardrive-killer-bug-how-to-discover-whether-you-are-affected/

I can confirm this behaviour for FreeBSD 6.2 STABLE 200710 i386 and
smartmontools-5.37_2 from the portscollection. My Load_Cycle_Count is
increasing about 1 cycle per minute. So maybe Smartmontools is causing
this problem?

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


Re: Smartmontools: Load_Cycle_Count increasing rapidly

2007-11-04 Thread Thomas Hobbes
There's a way to stop the Load_Cycle_Count growing by installing
ataidle from the portscollection and disabling APM with ataidle -P 0 0
0. The Load_Cycle_Count is constant after that. This reduces
battery-runtime but that's much better than destroying your harddisk.

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


Harddisk encryption with geli: key's block size

2007-10-27 Thread Thomas Hobbes
Hi,

I want to encrypt my mobile computer's data-partition with a
passphrase, 128 bit AES and HMAC/MD5. A lot of people use different
block sizes to generate keys with dd. There are examples with block
sizes of 64, 32k and 128k in geli's man-page, but I couldn't find out
why they were used. Spidering 'geli + key bs' discovered that there
are some more values used, i.e. 128, 512 and 1k. What is a reasonable
block size to use?

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


Re: GEOM ELI: MD5 hash mismatch for /dev/mirror/gm0s1f

2007-09-11 Thread Thomas Hobbes
 It's impossible to tell which one of these is more likely without more
 information (e.g. did you receive any other messages, such as CRC errors
 on the drive?)
No, I didn't receive more information. Can I exclude that a
combination of gmirror and geli is responsible for this error? Because
one without another works fine.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: GEOM ELI: MD5 hash mismatch for /dev/mirror/gm0s1f

2007-09-10 Thread Thomas Hobbes
 It means that metadata (in the last provider's sector) is in an
 inconsistent state. Someone/something changed it.

The error occurs while attaching a device on a gmirrored disk. Am I
right assuming that the responisble change happens right between
initialisation and attachment?
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


GEOM ELI: MD5 hash mismatch for /dev/mirror/gm0s1f

2007-09-09 Thread Thomas Hobbes
Hi,

what is this kind of error's meaning?

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


Re: Encrypting mirrored device with geli fails

2007-09-08 Thread Thomas Hobbes

  I was trying to encrypt /dev/mirror/gm0s1f but a MD5 mismatch
 occurred:

 # umount /crypt
  # dd if=/dev/random of=/root/gm0s1f.key bs=64 count=1
  1+0 records in
  1+0 records out
  64 bytes transferred in 0.000580 secs (110331 bytes/sec)

 longer.. 32k or so.


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


Re: Encrypting mirrored device with geli fails

2007-09-08 Thread Thomas Hobbes


  I was trying to encrypt /dev/mirror/gm0s1f but a MD5 mismatch
  occurred:
 
  # umount /crypt
  # dd if=/dev/random of=/root/gm0s1f.key bs=64 count=1
  1+0 records in
  1+0 records out
  64 bytes transferred in 0.000580 secs (110331 bytes/sec)
 
  longer.. 32k or so.
 
 
  The same failure occurred.

 magic

 or you did something wrong

 i would do

 gmirror all needed - already done

 geli init -s 2048 -P -K /root/gm0s1f.key /dev/mirror/gm0s1f

 (or -s different, but you will probably use newfs -f 2048)

 geli attach -p -k /root/gm0s1f.key /dev/mirror/gm0s1f

 i am using geli encrpted gmirror, just without keyfile, but password only
 on 2 servers.

 example

 [EMAIL PROTECTED] ~]# geli status
   Name  Status  Components
 mirror/m1.eli N/A  mirror/m1
   concat/c.eli N/A  concat/c
   ad2b.eli N/A  ad2b
   ad0b.eli N/A  ad0b


I did this:

# geli clear /dev/mirror/gm0s1f
# dd if=/dev/random of=/root/gm0s1f.key bs=32k count=1
# geli init -s 4096 -l 256 -K /root/gm0s1f.key /dev/mirror/gm0s1f
# geli attach -k /root/gm0s1f.key /dev/mirror/gm0s1f

Again a MD5 mismatch occurred. I tried it without a key and the same error
occurred. Encrypting with a onetime-key works fine. The error occures also
while doing 'geli dump /dev/mirror/gm0s1f'. Any idea what's wrong?
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Encrypting mirrored device with geli fails

2007-09-06 Thread Thomas Hobbes
# uname -a
FreeBSD 6.2-RELEASE FreeBSD 6.2-RELEASE #0: Fri Jan 12 10:40:27 UTC 2007
[EMAIL PROTECTED]:/usr/obj/usr/src/sys/GENERIC i386

# cat /boot/loader.conf
beastie_disable=YES
geom_eli_load=YES
geom_mirror_load=YES
padlock_load=YES

Swap space is encrypted by appending '.eli' to /dev/mirror/gm0s1b in
/etc/fstab. According to the ouput of swapinfo that works fine.

/dev/mirror/gm0s1a is mounted on /
/dev/mirror/gm0s1d is mounted on /var
/dev/mirror/gm0s1e is mounted on /usr
/dev/mirror/gm0s1f is mounted on /crypt

I was trying to encrypt /dev/mirror/gm0s1f but a MD5 mismatch occurred:
# umount /crypt
# dd if=/dev/random of=/root/gm0s1f.key bs=64 count=1
1+0 records in
1+0 records out
64 bytes transferred in 0.000580 secs (110331 bytes/sec)
# geli init -K /root/gm0s1f.key -l 256 -s 4096 /dev/mirror/gm0s1f
Enter new passphrase:
Reenter new passphrase:
# geli attach -k /root/gm0s1f.key /dev/mirror/gm0s1f
MD5 hash mismatch for /dev/mirror/gm0s1f.


I don't know what I'm doing wrong.  Was anybody successful  in this respect?
I'd appreciate every hint.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Encrypting mirrored device with geli fails

2007-09-06 Thread Thomas Hobbes
# uname -a
FreeBSD 6.2-RELEASE FreeBSD 6.2-RELEASE #0: Fri Jan 12 10:40:27 UTC 2007
[EMAIL PROTECTED]:/usr/obj/usr/src/sys/GENERIC i386

# cat /boot/loader.conf
beastie_disable=YES
geom_eli_load=YES
geom_mirror_load=YES
padlock_load=YES

Swap space is encrypted by appending '.eli' to /dev/mirror/gm0s1b in
/etc/fstab. According to the ouput of swapinfo that works fine.

/dev/mirror/gm0s1a is mounted on /
/dev/mirror/gm0s1d is mounted on /var
/dev/mirror/gm0s1e is mounted on /usr
/dev/mirror/gm0s1f is mounted on /crypt

I was trying to encrypt /dev/mirror/gm0s1f but a MD5 mismatch occurred:
# umount /crypt
# dd if=/dev/random of=/root/gm0s1f.key bs=64 count=1
1+0 records in
1+0 records out
64 bytes transferred in 0.000580 secs (110331 bytes/sec)
# geli init -K /root/gm0s1f.key -l 256 -s 4096 /dev/mirror/gm0s1f
Enter new passphrase:
Reenter new passphrase:
# geli attach -k /root/gm0s1f.key /dev/mirror/gm0s1f
MD5 hash mismatch for /dev/mirror/gm0s1f.


I don't know what I'm doing wrong.  Was anybody successful  in this respect?
I'd appreciate every hint.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]