Unlocking HDD ATA password

2012-10-09 Thread Polytropon
I have a question regarding the use (or the make usable again)
of hard disks locked with ATA password: I have a Samsung disk
(2.5 with PATA interface) and approx. 160 GB capacity which
is locked by some ATA password which nobody knows.

What tool is to be used in FreeBSD to transmit the password to
the unit in order to wake it up?

The disk is recognized by the system properly, but no da device
will be created, instead error messages are printed (as it is to
be expected for a locked drive). With some fiddling (didn't document
it, sorry) I finally got a /dev/da0 device, but could not obtain
any further information (like via fdisk da0).

On Linux, there's hdparm (with options like --security-unlock),
but what is the FreeBSD for that?

For comparison: http://linux.die.net/man/8/hdparm

Basically, I don't want to read what's on the disk, I'm just not
accepting to throw precious 160 GB away for nothing. So if there
is a tool to simply remove the password and maybe destroy all data
on the disk, it will be fine.

And: Yes, I've already read about cracking the password by using
respective evil tools, like, dealing with error codes, password
hashes, hex dumps of specific hardware sectors, but it looks like
too much work to just get those 160 GB. But I did learn a lot. :-)



-- 
Polytropon
Magdeburg, Germany
Happy FreeBSD user since 4.0
Andra moi ennepe, Mousa, ...
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: Virtualbox

2012-10-09 Thread Michael Hughes
On Sun, 07 Oct 2012 05:49:19 +0200
Bernt Hansson b...@bananmonarki.se wrote:

 Hello list!
 
 When I try to start a virtual os in virtualbox i get an error.
 
 kldload vboxdrv.ko
 kldload: can't load vboxdrv.ko: Exec format error
 
 Rebuilt VB and still this error
 
 8.2-STABLE FreeBSD 8.2-STABLE #0: Thu Jan 12 15:13:06 CET 2012
 GENERIC amd64
 ___
 freebsd-questions@freebsd.org mailing list
 http://lists.freebsd.org/mailman/listinfo/freebsd-questions
 To unsubscribe, send any mail to
 freebsd-questions-unsubscr...@freebsd.org
 
 

Are you using a PAE kernel?  If so you will get this error when truing
to load the vboxdrv.ko.

-- 
Michael Hughes  Log Home living is the best
mich...@thehugheslogcabin.net


signature.asc
Description: PGP signature
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org

Re: FreeBSD update

2012-10-09 Thread Istvan Gabor
2012. október 8. 17:35 napon Andreas Rudisch cyb.@gmx.net írta:

 On Mon, 08 Oct 2012 16:52:24 +0200
 Istvan Gabor suseuse...@lajt.hu wrote:
 
  As I remember correctly during the fetch I saw a message that the current 
  patch level is p4.
  After rebooting the computer uname gives p3 on the updated system:
 
  Why does uname reports p3 while freebsd-update indicates p4 state?
 
 Hi,
 
 if freebsd-update does not update the kernel uname will not show the
 'correct' patch level.
 
 Andreas

Thanks Andreas.

FreeBSD Handbook (at the end of section 25.2.2) says:

However, freebsd-update will always update the /usr/src/sys/conf/newvers.sh 
file.
The current patch level (as indicated by the -p number reported by uname -r) is 
obtained
from this file. Rebuilding your custom kernel, even if nothing else changed, 
will allow
uname(1) to accurately report the current patch level of the system.

From this I conclude that if I rebuild the kernel (the general kernel, not a 
custom kernel),
it should reflect patch level correctly.
This raises another question: are the updates made sequentially, as p1, p2, 
etc.?
This would explain why the kernel stayed at p3 level while the system was 
updated to
p4. I Suppose if the update was done in one step after fetching and applying all
update patches the kernel should reflect the system's patch level. Is this 
correct?
I am confused a little bit.

Istvan




___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org

Re: Virtualbox

2012-10-09 Thread Bernt Hansson



2012-10-09 03:05, Michael Hughes skrev:

On Sun, 07 Oct 2012 05:49:19 +0200
Bernt Hansson b...@bananmonarki.se wrote:


Hello list!

When I try to start a virtual os in virtualbox i get an error.

kldload vboxdrv.ko
kldload: can't load vboxdrv.ko: Exec format error

Rebuilt VB and still this error

8.2-STABLE FreeBSD 8.2-STABLE #0: Thu Jan 12 15:13:06 CET 2012
GENERIC amd64




Are you using a PAE kernel?  If so you will get this error when truing
to load the vboxdrv.ko.


No PAE kernel. Updated source mon 8 oct 2012. Deinstalled virtualbox and
virtualbox-kmod, rebuilt both but the problem persists.

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: FreeBSD update

2012-10-09 Thread Andreas Rudisch
On Tue, 09 Oct 2012 11:47:02 +0200
Istvan Gabor suseuse...@lajt.hu wrote:

 FreeBSD Handbook (at the end of section 25.2.2) says:
 
 However, freebsd-update will always update the /usr/src/sys/conf/newvers.sh 
 file.
 The current patch level (as indicated by the -p number reported by uname -r) 
 is obtained
 from this file. Rebuilding your custom kernel, even if nothing else changed, 
 will allow
 uname(1) to accurately report the current patch level of the system.
 
 From this I conclude that if I rebuild the kernel (the general kernel, not a 
 custom kernel),
 it should reflect patch level correctly.

Yes.

 This raises another question: are the updates made sequentially, as p1, p2, 
 etc.?
 This would explain why the kernel stayed at p3 level while the system was 
 updated to
 p4.

Yes.

 I Suppose if the update was done in one step after fetching and applying all
 update patches the kernel should reflect the system's patch level. Is this 
 correct?

Well, it 'should', but it does not, since freebsd-update does not work
that way. p4 did not require rebuilding the kernel, so it had not been
done.

 I am confused a little bit.

Feel free to browse the mailing lists, you are not the first one to be
confused.

Andreas
--
GnuPG key  : 0x2A573565|http://www.gnupg.org/howtos/de/
Fingerprint: 925D 2089 0BF9 8DE5 9166  33BB F0FD CD37 2A57 3565
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: Unlocking HDD ATA password

2012-10-09 Thread C. P. Ghost
On Mon, Oct 8, 2012 at 11:29 PM, Polytropon free...@edvax.de wrote:
 I have a question regarding the use (or the make usable again)
 of hard disks locked with ATA password: I have a Samsung disk
 (2.5 with PATA interface) and approx. 160 GB capacity which
 is locked by some ATA password which nobody knows.

 What tool is to be used in FreeBSD to transmit the password to
 the unit in order to wake it up?

camcontrol(8) maybe? After some patching?

http://blog.multiplay.co.uk/2011/08/freebsd-security-support-for-ata-devices-via-camcontrol/

I have not tried it and don't know if it is what you need;
I just found it while googling.

-cpghost.

-- 
Cordula's Web. http://www.cordula.ws/
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Audio out via HDMI... how?

2012-10-09 Thread Ronald F. Guilmette


I have a laptop which has an HDMI output port.

I can get video out of that (with xbmc) just fine.  Audio, not so much.
Like not at all, as far as I can tell.

So anyway, here is what I get when I do cat /dev/sndstat:

pcm0: HDA Realtek ALC888 PCM #0 Analog (play/rec) default
pcm1: HDA Realtek ALC888 PCM #1 Analog (rec)
pcm2: HDA Intel Cantiga HDMI PCM #0 HDMI (play)

I have the HDMI output wired into my everything-capable Sony 5.1 channel
receiver, which then in turn is wired into my 4 (count 'em four) speakers.

OK, so now, could somebody please just tell me how I can do a test
that will determine why I ain't gettin' no audio?

The receiver is capable of decoding 5.1 DTS-HD, Dolby TrueHD, and eveything
else too.  It is working just fine.. not a thing wrong with it.  It works
great with my Blu-Ray player and does the digital-analog decoding for
anything and everything I throw at it.

Again, I just want to know how to _test_ doing some output to that from
my laptop, via HDMI.  I tried these things, but not a sound was heard:

   cat /dev/random  /dev/dsp

   cat /dev/random  /dev/dsp2

The FreeBSD handbook page that deal with setiing up audio cards doesn't
provide a whole lot of guidance for how to test and/or fix digital audio
output, whether it is coming out via HDMI (as in my case) or via any other
kind of physical transport (e.g. coax or S/PDIF).

Somwebody please pass me a clue.  I'd really like to get this working.
Thanks.

P.S.  If I have to downmix to 2ch in xbmc before the audio even hits the
HDMI cable, I could even live with that.  Bu right now, as far as I can
tell, I can't get _any_ audio flowing down that cable, period.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: Audio out via HDMI... how?

2012-10-09 Thread Bernt Hansson



2012-10-09 13:46, Ronald F. Guilmette skrev:



I have a laptop which has an HDMI output port.

I can get video out of that (with xbmc) just fine.  Audio, not so much.
Like not at all, as far as I can tell.

So anyway, here is what I get when I do cat /dev/sndstat:

pcm0: HDA Realtek ALC888 PCM #0 Analog (play/rec) default
pcm1: HDA Realtek ALC888 PCM #1 Analog (rec)
pcm2: HDA Intel Cantiga HDMI PCM #0 HDMI (play)


As root sysctl hw.snd.default_unit=2


I have the HDMI output wired into my everything-capable Sony 5.1 channel
receiver, which then in turn is wired into my 4 (count 'em four) speakers.

OK, so now, could somebody please just tell me how I can do a test
that will determine why I ain't gettin' no audio?

The receiver is capable of decoding 5.1 DTS-HD, Dolby TrueHD, and eveything
else too.  It is working just fine.. not a thing wrong with it.  It works
great with my Blu-Ray player and does the digital-analog decoding for
anything and everything I throw at it.

Again, I just want to know how to _test_ doing some output to that from
my laptop, via HDMI.  I tried these things, but not a sound was heard:

cat /dev/random  /dev/dsp

cat /dev/random  /dev/dsp2

The FreeBSD handbook page that deal with setiing up audio cards doesn't
provide a whole lot of guidance for how to test and/or fix digital audio
output, whether it is coming out via HDMI (as in my case) or via any other
kind of physical transport (e.g. coax or S/PDIF).

Somwebody please pass me a clue.  I'd really like to get this working.
Thanks.

P.S.  If I have to downmix to 2ch in xbmc before the audio even hits the
HDMI cable, I could even live with that.  Bu right now, as far as I can
tell, I can't get _any_ audio flowing down that cable, period.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org



___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: Request to Add Website Details- Hardware Section

2012-10-09 Thread freebsd-questions


Again... How is the list being spammed like this??


On Tue, 9 Oct 2012, Joe Phillip wrote:


Dear Webmaster,

We have been manually researching for relevant partners and found your
website very useful.

Adding my website under Hardware section(URL: *
http://www.freebsd.org/commercial/hardware.html) *of your esteemed
website would be very helpful to us as well be of high value to your
customers.

If interested, pls use the following link details to place our link on your
site:

Title: Rackmount Monitor
URL: http://www.kvmswitchtech.com/rackmount-monitors-c11572.htm
Desc: KVMSwitchTech provides wide range of rackmount monitors to save
valuable space in server rooms. Get 1U rack mount monitors, 1u solaris
rackmount monitors at competitive prices.

OR you can use this HTML Code:

a href=http://www.kvmswitchtech.com/rackmount-monitors-c11572.htm;Rackmount
Monitor/a - KVMSwitchTech.com provides wide range of rackmount monitors
to save valuable space in server rooms. Get 1U rack mount monitors, 1u
solaris rackmount monitors at competitive prices.br

In case if you also require a linkback, please let me know.

Thanks
Joe
Webmaster
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: Your UPS Invoice is Ready

2012-10-09 Thread freebsd-questions


How is it that we are getting spam on the list like this?


On Tue, 9 Oct 2012, UPSBillingCenter wrote:



   This is an automatically 
generated email. Please do not reply to this email address. 
   Dear 
UPS Customer, New 
invoice(s) are available for the consolidated payment plan(s) / account(s) 
enrolled in the UPS Billing Center  
   Please refer to attached file from UPS Billing Center to view and 
pay your invoice.

   Discover more about UPS: 
   Visit ups.comExplore UPS 
Freight ServicesLearn About UPS CompaniesSign Up For Additional Email From 
UPSRead Compass Online
   (c) 2012 United Parcel 
Service of America, Inc. UPS, the UPS brandmark, and the color brown are 
trademarks of United Parcel Service of America, Inc. All rights reserved. For 
more information on UPS's privacy practices, refer to the UPS Privacy 
Policy.Please do not reply directly to this e-mail. 
   UPS will not receive any reply message. For 
questions or comments, visit Contact UPS.This communication contains 
proprietary information and may be confidential. If you are not the intended 
recipient, the reading, copying, disclosure or other use of the contents of 
this e-mail is strictly prohibited and you are instructed to please delete this 
e-mail immediately.
Privacy Policy



___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: Your UPS Invoice is Ready

2012-10-09 Thread Jerry
On Tue, 9 Oct 2012 09:39:33 -0400 (EDT)
freebsd-questi...@fongaboo.com articulated:

 How is it that we are getting spam on the list like this?

{SNIP}

Primarily because you do not need to register to get access to this
list. Apparently, there are people who feel the trivial exercise of
registering yourself for this list is too much trouble although
virtually every other bonafide mailing list uses that procedure.

-- 
Jerry ♔

Disclaimer: off-list followups get on-list replies or get ignored.
Please do not ignore the Reply-To header.
__
In Devon, Connecticut, it is unlawful to walk backwards after sunset.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org

Re: Considering purchase off SSD! Follow up

2012-10-09 Thread Leslie Jensen



Got my new SSD. Have some additional questions.

My old disk is MBR partitioned. I want to reserve only a part of the 
disk for my Win7 installation and in order to do that I must initialise 
the disk (This is in Windows7).


A question comes up about using MBR or GPT (GUID Partition Table)

I know I can just go ahead and use MBR but I would like to ask if GPT 
would be beneficial.


Is it possible to use GUID when one has a dual boot system?

I presume that FreeBSD can handle GPT but I'm unsure!

Will someone enlighten me?

Thanks :-)

/Leslie
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: Considering purchase off SSD! Follow up

2012-10-09 Thread Leslie Jensen



Leslie Jensen skrev 2012-10-09 17:46:



Got my new SSD. Have some additional questions.

My old disk is MBR partitioned. I want to reserve only a part of the
disk for my Win7 installation and in order to do that I must initialise
the disk (This is in Windows7).

A question comes up about using MBR or GPT (GUID Partition Table)

I know I can just go ahead and use MBR but I would like to ask if GPT
would be beneficial.

Is it possible to use GUID when one has a dual boot system?

I presume that FreeBSD can handle GPT but I'm unsure!

Will someone enlighten me?

Thanks :-)

/Leslie
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to
freebsd-questions-unsubscr...@freebsd.org



Found the answer! Sorry for the noice.

http://en.wikipedia.org/wiki/GUID_Partition_Table

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Netflow capture question

2012-10-09 Thread Paul Macdonald


Hi,

I have some periodic traffic coming off one of my servers that is 
regular but i can't figure out where its going..


I don't have direct access to the router this is going via, will 
netflow, flowcapture allow me to monitor traffic ( by port/protocol etc) 
straight off the NIC?


thanks
Paul.


--

-
Paul Macdonald
IFDNRG Ltd
Web and video hosting
-
t: 0131 5548070
m: 07970339546
e: p...@ifdnrg.com
w: http://www.ifdnrg.com
-
IFDNRG
40 Maritime Street
Edinburgh
EH6 6SA
-

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


SATA Controllers

2012-10-09 Thread Doug Hardie
Looking through the list of SATA Controllers available at Best Buy, I don't 
find any of them listed on the 9.0 hardware page.  I need a couple cheap ones 
(for non-production systems).  Does anyone have recommendations?
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: Considering purchase off SSD! Follow up

2012-10-09 Thread Warren Block

On Tue, 9 Oct 2012, Leslie Jensen wrote:


Got my new SSD. Have some additional questions.

My old disk is MBR partitioned. I want to reserve only a part of the disk for 
my Win7 installation and in order to do that I must initialise the disk (This 
is in Windows7).


A question comes up about using MBR or GPT (GUID Partition Table)

I know I can just go ahead and use MBR but I would like to ask if GPT would 
be beneficial.


Is it possible to use GUID when one has a dual boot system?

I presume that FreeBSD can handle GPT but I'm unsure!


Yes, FreeBSD can handle it.  As usual, Windows is the problem.  From 
what I've read, only Windows 7 64-bit supports GPT, and then only with 
UEFI.  So it's very likely that MBR is the only practical choice.


Another trick is that Windows generally only has drivers for what was 
present when it was installed.  So switching the BIOS to AHCI for better 
performance can result in Windows not booting.  It is possible to locate 
the Windows drivers and install them.


Otherwise, FreeBSD will work fine without AHCI, disk IO will be just a 
bit slower.

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: Considering purchase off SSD! Follow up

2012-10-09 Thread Jerry
On Tue, 9 Oct 2012 11:23:36 -0600 (MDT)
Warren Block articulated:

 On Tue, 9 Oct 2012, Leslie Jensen wrote:
 
  Got my new SSD. Have some additional questions.
 
  My old disk is MBR partitioned. I want to reserve only a part of
  the disk for my Win7 installation and in order to do that I must
  initialise the disk (This is in Windows7).
 
  A question comes up about using MBR or GPT (GUID Partition Table)
 
  I know I can just go ahead and use MBR but I would like to ask if
  GPT would be beneficial.
 
  Is it possible to use GUID when one has a dual boot system?
 
  I presume that FreeBSD can handle GPT but I'm unsure!
 
 Yes, FreeBSD can handle it.  As usual, Windows is the problem.  From 
 what I've read, only Windows 7 64-bit supports GPT, and then only
 with UEFI.  So it's very likely that MBR is the only practical choice.
 
 Another trick is that Windows generally only has drivers for what was 
 present when it was installed.  So switching the BIOS to AHCI for
 better performance can result in Windows not booting.  It is possible
 to locate the Windows drivers and install them.
 
 Otherwise, FreeBSD will work fine without AHCI, disk IO will be just
 a bit slower.

A somewhat more concise discussion of Windows 7 and GPT can be found
here:

http://msdn.microsoft.com/en-us/library/windows/hardware/gg463525.aspx

Information on ACHI is available at:

http://www.everything-microsoft.com/2010/05/25/how-to-enable-ahci-in-windows-7/
http://www.ithinkdiff.com/how-to-enable-ahci-in-windows-7-rc-after-installation/

-- 
Jerry ♔

Disclaimer: off-list followups get on-list replies or get ignored.
Please do not ignore the Reply-To header.
__

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org

Puzzled: install system from hard disk to another does not work, but dvd install works

2012-10-09 Thread Heikki Suonsivu
I have traditionally done disk to disk installs, for example, when 
changing partition setup.  I think this worked with 7 and 8, but now 
with 9.* it seems to fail.  Now, this seems to be quite strange, and I 
cannot quite figure this out:


Setup is like this:

- host with two disks, shown up as ada0 and ada1

- I install FreeBSD 9.0R into ada0, with manual setup, which includes
- gpt partitioning, with freebsd-boot partition at 64, size 192 
(aligned for 4kB blocks), freebsd-swap, and freebsd-ufs partitions

- gpart bootcode -b /boot/pmbr -p /boot/gptboot -i 1 ada0
- gmirror label root ada0p3 (other disk will be inserted later)
- gjournal label /dev/mirror/root
- newfs -J /dev/mirror/root.journal
- And appropriate loader.conf etc setups

- This install works fine.

- Upgrade to latest using freebsd-update

- Then I notice that swap (or whatever) was too small, so lets redo the 
partitions on the second disk with changed partitions:


- Boot single user from the working system installed above

- Do the same partitioning steps as earlier from dvd

- tar/rsync whatever all the files from ada0 to ada1

- reboot from ada1.  Now, this hangs when it tries to mount root, the 
last message is


  Trying to mount root from ufs:/dev/mirror/root.journal 
[rw,async,noatime]...


  And after this nothing happens (at least for hours).

So, what might be wrong?  Further debugging:

- If I remove journal and mirror (not changing anything else), it still 
stops when trying to mount root, so it does not seem that mirror and 
journal have effect (though I have not tried if ordinary partition to 
partition copy works)


- noatime option on mount does not have effect on this

- Redoing bootcode commands does not cure it

- This is not specific to computer or OS version.  I have had same 
problem on modern amd64 host as well as old i386 host, and this has 
repeated on at least 4 systems, all different.  This happened with 
earlier 9.0R versions (binary updated) as well, though I cannot be 
certain if unmodified 9.0R has this problem.  Medias have been anything 
from various sized disks to CF cards.  I think doing disk-to-disk 
install worked with 8.x (though I was mostly using mbr partitions that 
time).


- Media size does not seem to have any effect.

- When I give the computer three-letter salute (ctrl-alt-del), it stops 
the journals and mirrors, and reboots normally.  So the kernel is not 
completely hung, and shuts down properly.


- The root disk does not seem to have gotten mounted at all, as dumpfs 
says last mounted at to be /mnt, not / (it was mounted to /mnt when I 
tried this)


- Contents of /boot is identical on both disks (as are all other files, 
copied with either tar or rsync).


- Contents of gpt freebsd-boot partitions are identical

- There was slight difference in mbr block, but copying ada0 mbr block 
to ada1 makes no difference.  The difference was that partition data on 
ada1 was different, with very small partition at the end.  Reinstalling 
pmbr with gpart bootcode does not have effect.


- fsck passes without errors.

- Dumpfs seems to have no strange differences (other than slightly 
different size filesystem


- Doing this from multi user or single user system does not make a 
difference


- Having disk to install from in single user mode as read-only does not 
make a difference (can't use vi to edit fstab but that is not strictly 
necessary...)


- Repeating all steps does not make a difference

- I have done this so many times, that I am pretty sure I am not typoing 
something every time.


- If I drop gjournal and mirror and create filesystem with softupdates 
journaling, the resulting system boots


- If I have mirror with no gjournal, and softupdates journaling (tested 
by labeling already existing partition in previous test, so it might not 
be completely similar situation).


Apart from changed partition sizes, there is no visible difference in 
boot blocks, partition tables, filesystems, and files on the 
partitions.   The commands to create the partitions from dvd seem 
completely identical, there is no visible difference.  Kernel just waits 
for something when trying to mount root filesystem on ada1, while boot 
from ada0 works fine.


Any idea what is going on?

Has anyone else tried this?

In what situations root mount could get stuck waiting for something?

Heikki Suonsivu
bbnetworks.net


___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: Netflow capture question

2012-10-09 Thread Matt Mullins
On Tue, Oct 9, 2012 at 9:05 AM, Paul Macdonald p...@ifdnrg.com wrote:
 I don't have direct access to the router this is going via, will netflow,
 flowcapture allow me to monitor traffic ( by port/protocol etc) straight off
 the NIC?

flow-capture simply receives NetFlow data and stores it to disk.
You'll need to use that in combination with softflowd to listen for
raw packets on the NIC and generate the NetFlow information.

I highly suggest the book Network Flow Analysis by Michael Lucas if
you want to pursue this route; it's especially worth it if you're
going to leave this system around for long-term analysis.
--
Matt Mullins
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


FreeBSD 9.1 RC2

2012-10-09 Thread ajtiM
Hi!

I saw that is no more iso for FreeBSD RC1. Now is for RC2. Is it possible or 
better safe to use freebsd-update to update 9.1 RC1 to RC2, please?

Thanks in advance.

Mitja

http://jpgmag.com/people/lumiwa
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Les 5 bonnes raisons d'utiliser ACT !

2012-10-09 Thread solution Contact et de clients
Pour visualiser et se désabonner ce message,
 
Veuillez, copier puis coller, l'adresse URL complète ci-dessous dans la
barre d'adresse de votre navigateur et appuyer sur la touche Entrée de
votre clavier.



- - - - - - - - - - - - - - - - - 

http://app.cible-event.com/v/?camp=57029452241988555181_20ms=ZnJlZWJzZC1xdWVzdGlvbnNAZnJlZWJzZC5vcmc=

- - - - - - - - - - - - - - - - - 



___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org

Audio out via HDMI... how?

2012-10-09 Thread Ronald F. Guilmette

Bernt Hansson bah at bananmonarki.se wrote:

As root sysctl hw.snd.default_unit=2

Yes, unfortunately I had already tried that before I posted.  (Sorry, I
should have mentioned that also.)

That made no difference whatsoever to the outcome.  There was still no
sound coming out when I tried cat'ing /dev/random to either /dev/dsp
or to /dev/dsp2.

So I'm still stuck.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


P w/ ftp-proxy, using both active/passive FTP

2012-10-09 Thread Duckbreath

My goal is to get my FTP server working for both passive and active type FTP 
connections with the following 
conditions:
1) Running PF firewall on a FreeBSD machine, which is also the FTP machine.
2) Without opening up all ports  1024 (or any upper-swath of ports), except 
where this occurs dynamically.

I have chosen to take an ftp-proxy based solution.  I'm also limited to 1 box 
here, so ftp-proxy is running on the 
same machine as the target FTP server, although I understand it is typically 
used in a gateway/forwarding situation.

After a lot of playing around with my firewall rules, I've ended up in a 
mutually exclusive situation.

With this line:
rdr pass on $std_int proto tcp from any to $std_int port 21 - 127.0.0.1 port 
8021

PASSIVE FTP WORKS!! Yay  W *cheering in background*.
But Active fails.

If I comment it out, in thus fashion:
#rdr pass on $std_int proto tcp from any to $std_int port 21 - 127.0.0.1 port 
8021

ACTIVE FTP WORKS!! Yay Wo *cheering in background*.
But. Passive fails.

I would also like to mention that just commenting it out and restarting the 
firewall is all I did.  ftp-proxy server 
process is still running.  Also both tests were from the same host, using the 
same ftp program, with only 
active/passive settings on ftp client used appropriately for each respective 
test; all other settings identical.


So I took a look at the handbook, which claimed I need to understand 
active/passive better (although I thought 
I already did... funny how that works?) - and the handbook linked the site 
http://slacksite.com/other/ftp.html

Here I got this awesome description from slacksite:
In active mode FTP the client connects from a random unprivileged port (N  
1023) to the FTP server's command port, 
port 21. Then, the client starts listening to port N+1 and sends the FTP 
command PORT N+1 to the FTP server. 
The server will then connect back to the client's specified data port from its 
local data port, which is port 20.

So my first assumption was, Either I can't connect to the client's local port, 
or my firewall isn't letting anything 
out on port 20.  I look at the rules... hmm, don't think so.  I just open up 
everything and try anyway,
try ftp-proxy with  without -r option, and no dice.  Same situation for both 
tests.  Nothing changes.

Examples of what I put in:
pass in quick on $std_int proto tcp from any to any
pass out quick on $std_int proto tcp from any to any
below rdr directive (which is required by pf.conf ordering).


Then I have a Face Palm exactly how did any of that have to do with it 
working when the rule was commented out?  Absolutely nothing, that's what!  I 
feel like such an idiot!!

Ok.. so what does that rule mean?  Let's revisit the rule:
rdr pass on $std_int proto tcp from any to $std_int port 21 - 127.0.0.1 port 
8021

So all traffic on port 21, either in or out, goes to localhost 8021.  H.  
The rule failed when I tried to 
specify 'in' or 'out' on the rdr directive.  I don't think pf works rdr that 
way.

My only logical conclusion is FTP has become stubborn and is using Active mode 
on port 21, and not 20, for whatever 
reason.  The connection starts to succeed, but then the ACK packet from the 
client of course gets redirected to 8021, 
and the active connection being attempted from 21 misses it, resulting in a 
half-open connection, thus causing the 
FTP data channel to fail.  It is the only possible explanation I can come up 
with, yet that is not in 
accordance to know what I know about FTP behavior (i.e., according to 
slacksite's description).

Somewhere between convention and the IETF, I think I got lost.

Does anyone know how to get passive + active both working with the stated goals 
of using PF w/ ftp-proxy?

If this question is outside the scope of this list but better suited to be 
asked freebsd-pf, apologies in advance.  Since the question is not about the 
development of the firewall itself, I thought it appropriate to ask here.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


efgssdfg

2012-10-09 Thread idyk6917
今年前8个月,工行票据营业部累计票据交易量6404亿元,同比增加3123亿元,增幅95%。值得一提的是,为67家中小企业直接办理票据贴现业务625笔,金额21.28亿元;累计买入1.8万家中小企业转贴现票据2155亿元
业内分析人士认为,在信贷规模相对宽松,或者一般性贷款需求相对不足的情况下,票据融资余额较快增长,金融机构利用票据融资做大贷款余额。对于小企业而言,与发行股票、债券、银行借贷等多种融资渠道相比,票据融资更能够有效解决在银行贷款难、限制条件多等问题,并且能够在较短的时间内低成本募集资金。
有共发出到时间票内完成
据记者了解,中小企业客户票据融资的链条表现为:寻求银行贷款-转化为存款放在银行-客户以此存款开出100%保证金的银行承兑汇票-获得票据后客户再寻找票据中介包装贸易背景-再到银行贴现-获得资金,但不少企业对贸易融资背景进行虚假“包装

咨询:⑴⑶⑼800⑹⑼⑸⑵

公司可表去上海开会的
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org

freebsd-texlive port

2012-10-09 Thread Joseph Olatt
Hi,

According to: 
  
  http://code.google.com/p/freebsd-texlive

I got the impression that the texlive is now available in the ports. My
understanding was that we no longer need to use portshaker(8). I've
updated svn of ports to r305607 and I still don't see texlive* in 
/usr/ports/print or any where in /usr/ports.

I'm running: FreeBSD 9.0 STABLE i386

Can any TeX Live / LaTeX users on the list shed some light?

Thanks

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: what is an in-core disklabel ?

2012-10-09 Thread Lucas B. Cohen
On 2012.10.08 18:22, Robert Bonomi wrote:
 'cached' is not _technically_ exactly accurate, but you have the concept
 basically correct.

Thanks for the detailed explanation, Robert. Maybe shadowed would be
have been a more accurate term. But in-core also has a nice ring to it!
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org