Re: replacement of ataidle for freebsd 9

2011-10-23 Thread Eugene Dzhurinsky
On Sat, Oct 22, 2011 at 09:59:45PM +0100, Bruce Cran wrote: > On 22/10/2011 16:21, Eugene Dzhurinsky wrote: > >> ataidle -P 0 /dev/ada0 > > ataidle: error opening /dev/ada0 > > Thanks for reporting the breakage, I'll see if I can get it fixed in > time for 9.0.

Re: replacement of ataidle for freebsd 9

2011-10-22 Thread Eugene Dzhurinsky
On Sat, Oct 22, 2011 at 02:23:53PM +0100, Bruce Cran wrote: > Why do you not want to use ataidle? > ataidle -P 0 /dev/ada0 ataidle: error opening /dev/ada0 > ataidle -P 0 /dev/ad4 ataidle: error: identify device /dev/ad4 > ls -l /dev | grep ad lrwxr-xr-x 1 root wheel4 Oct 22 18:1

replacement of ataidle for freebsd 9

2011-10-22 Thread Eugene Dzhurinsky
Hello, can somebody please advice how to disable APM power management for HDD on laptops? > camcontrol cmd ada0 -a "EF 05 00 00 00 00 00 00 00 00 00 00" -v camcontrol: error sending command (pass0:ahcich0:0:0:0): SETFEATURES. ACB: ef 05 00 00 00 00 00 00 00 00 00 00 (pass0:ahcich0:0:0:0): CAM stat

Re: wpa_supplicant, Atheros AR9285 and FreeBSD 8.0 issue -> wpa_supplicant hangs

2010-03-29 Thread Eugene Dzhurinsky
On Sun, Mar 28, 2010 at 10:46:10PM +0300, Eugene Dzhurinsky wrote: > Okay, with simplified config things didn't change, so I submitted > PR: kern/145123 Sometimes I'm felling like being an idiot. I just realized that I had configured both laptops to use same IP address, which was

Re: wpa_supplicant, Atheros AR9285 and FreeBSD 8.0 issue -> wpa_supplicant hangs

2010-03-28 Thread Eugene Dzhurinsky
On Sun, Mar 28, 2010 at 12:24:07PM +0100, Rui Paulo wrote: > You can try with a more simple config. Just: > network={ > ssid="freebsdap" > psk="..." > scan_ssid=1 > } > > If this doesn't work you should send-pr. Okay, with simplified config things didn't change, so I submitted

Re: wpa_supplicant, Atheros AR9285 and FreeBSD 8.0 issue -> wpa_supplicant hangs

2010-03-27 Thread Eugene Dzhurinsky
On Sat, Mar 27, 2010 at 02:20:15PM +0200, Eugene Dzhurinsky wrote: > On Wed, Mar 24, 2010 at 10:26:39PM +0200, Eugeny N Dzhurinsky wrote: > > I realized that it fails after group rekeying completes. If is set rekeying to > occur in 30 minutes on AP host - for 30 minutes I am not getti

Re: wpa_supplicant, Atheros AR9285 and FreeBSD 8.0 issue -> wpa_supplicant hangs

2010-03-27 Thread Eugene Dzhurinsky
On Wed, Mar 24, 2010 at 10:26:39PM +0200, Eugeny N Dzhurinsky wrote: > Hi! > > I am facing very strange issue - for some reason wpa_supplicant hands after > associating connection with AP. It doesn't hang immediately - but after some > time (amout a minute or so). I realized that it fails after g

Re: A tool for remapping bad sectors in CURRENT?

2010-03-08 Thread Eugene Dzhurinsky
On Mon, Mar 08, 2010 at 12:21:44PM +0100, Miroslav Lachman wrote: > Eugeny N Dzhurinsky wrote: > We have this problem from time to time on bunch of machines. As we are > using gmirror, the easiest way is to force re-synchronization (rewrite) > of the whole drive. The problem is when there are Pen

Re: A tool for remapping bad sectors in CURRENT?

2010-03-08 Thread Eugene Dzhurinsky
On Mon, Mar 08, 2010 at 12:52:43PM +0200, Eugene Dzhurinsky wrote: > dd if=/dev/ad4 of=/dev/null skip=222342559 bs=512 count=1 > dd: /dev/ad4: Input/output error > 0+0 records in > 0+0 records out > 0 bytes transferred in 2.351940 secs (0 bytes/sec) > > dd if=/dev/zero of=/d

Re: A tool for remapping bad sectors in CURRENT?

2010-03-08 Thread Eugene Dzhurinsky
On Mon, Mar 08, 2010 at 10:51:22AM +, Poul-Henning Kamp wrote: > I would suggest you boot single-user and run > > mdmfs -s 1m md /tmp > recoverdisk -w /tmp/_.wl /dev/ad4 /dev/ad4 > > That will find out how many bad sectors you have and try to recover > the contents of them if pos

Re: A tool for remapping bad sectors in CURRENT?

2010-03-08 Thread Eugene Dzhurinsky
On Mon, Mar 08, 2010 at 12:31:24PM +0200, Alexander Motin wrote: > You may try to overwrite these sectors with dd. It should trigger sector > reallocation. To be sure, you may read them before and after the write. dd if=/dev/ad4 of=/dev/null skip=222342559 bs=512 count=1 dd: /dev/ad4: Input/output