Re: svn.freebsd.org over https fails

2013-02-25 Thread Shane Ambler

On 26/02/2013 08:39, Nikos Vassiliadis wrote:

Hi,

Since a few weeks connecting to svn.freebsd.org over https fails. Is
this deliberate? It used to work...

Thanks in advance, Nikos


Not sure about it working before but I don't see svn.freebsd.org
responding to https now. The two mirrors do respond to https -
svn0.us-east.freebsd.org
svn0.us-west.freebsd.org

If you don't get the two mirrors responding then you are probably using
openssl from ports? make sure you update to 1.0.1_8 it fixed svn over
https a couple of weeks ago.

___
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"


svn.freebsd.org over https fails

2013-02-25 Thread Nikos Vassiliadis

Hi,

Since a few weeks connecting to svn.freebsd.org over https fails.
Is this deliberate? It used to work...

Thanks in advance, Nikos
___
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: Cannot install on HP Pavilion

2013-02-25 Thread Jeff Tipton

On 02/25/2013 22:39, Russell Murphy wrote:

ERROR: No boot disk has been detected or the disk has failed

Isn't this a BIOS message about a failing harddisk?

http://h30434.www3.hp.com/t5/Desktop-Operating-Systems-e-g-Windows-8-Software-Recovery/Error-no-boot-disk-has-been-detected-or-the-disk-has-failed/td-p/1495065
___
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"


Cannot install on HP Pavilion

2013-02-25 Thread Russell Murphy
I'm trying to install FreeBSD 9.1 Release on an HP Pavilion Slimline (model 
s5-1414); I get through the installation fine, but when I re-boot, the machine 
gives an:

 ERROR: No boot disk has been detected or the disk has failed.

I looked around for suggestions via mailing list archives, google, and such but 
no luck (or perhaps the wrong search terms).

Details:

I've been using FreeBSD for more years than I care to admit (i.e. more than 
10); I'm generally pretty familiar with the process and the installer, but am 
by no means an expert
The target machine is a model s5-1414, product # H3Y75AA#ABA
I went through the whole process: re0 configured using DHCP
* guided partition; using the whole disk
  ada0
 ada0p1 64kbfreebsd-boot
 ada0p2 927GB   freebsd-ufs /
 ada0p3 4GB freebsd-swapnone
  commit = yes
 * fetched distribution files (e.g. base, kernel, doc, games, ports, 
src)
 * root password; setup user OK
on boot, the error (above) is generated
the BIOS is an HP/American Megatrends ver. 2.15.227
relevant (?) settings include:
 * Storage:
  SATA Emulation: AHCI
  Boot Order:
 (I've tried just about everything), but
 the relevant part seems to be that the Legacy devices never 
"work"
  * Security:
  Legacy: enable
  Secure boot: disable
  Fast boot: disable

Please let me know if there's anything else you would care to know or see. Any 
ideas or suggestions?  

(Forgive the email formatting, it's a combination of xemacs and my Mac laptop…).

Thanks-

Russ M.

___
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: Boot-time hard drive errors

2013-02-25 Thread b w
This is not very helpful, but you can try Pause, Scroll Lock, high FPS
filming and pause or taking pictures with short exposure.


On Mon, Feb 25, 2013 at 6:20 AM, Martin Alejandro Paredes Sanchez <
mapsw...@prodigy.net.mx> wrote:

> On Sunday 24 February 2013 14:33:06 Ronald F. Guilmette wrote:
> > I have a somewhat eclectic system, currently running (or at any rate,
> > trying to run) 9.1-RELEASE.  The system in question contains three
> > drives, to wit:
> >
> > ATA-8 SATA 3.x device
> > ATA-8 SATA 1.x device
> > ATA-8 SATA 3.x device
> >
> > Previously, I had the ST3500320AS in this system, along with one other
> > entirely different Seagate drive, i.e. one not shown in the list above.
> > (Also, I was previously running 8.3-RELEASE and only recently updated
> > to 9.1-RELEASE.)
> >
> > Since I reconfigured the system to its current state, i.e. with the set
> > of three drives listed above, whenever I reboot the system, about 50%
> > of the time, when the boot process gets down to the point where it
> > would ordinarily be printing out the messages relating to ada0, ada1,
> > etc. suddenly I start to get a massive and apparently endless stream
> > of error messages, apparently relating to one of the drives listed
> > above, but the stream actually alternates between two consecutive
> > error messages, both undoubtedly related to each other.
> >
>
> Does your HDD controller is SATA 3?
>
> I had a similar problem (some times could not boot) and was caused because
> my
> HDD controller is SATA 1
>
> Intel ICH5 SATA150 controller
>
> And my hard disk is SATA 2
>
> WDC WD2500AVVS-00L2B0 01.03A01
>
> The problem disapear when I lock the HDD at 150 MB/s (jumper settings the
> HDD
> to SATA 1)
> ___
> 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: HAST - detect failure and restore avoiding an outage?

2013-02-25 Thread Mikolaj Golub
On Sun, Feb 24, 2013 at 03:42:52PM +0100, Pawel Jakub Dawidek wrote:

> My only comment would be to keep that in one line so it is easier to
> grep. And merging those two lines won't exceed 80 chars.

ok.

> > http://people.freebsd.org/~trociny/hast.stat_error.2.patch
> 
> The patch looks good.

Thanks, committed.

-- 
Mikolaj Golub
___
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: BAD link

2013-02-25 Thread Polytropon
On Mon, 25 Feb 2013 12:30:02 -0500, Marv Graham wrote:
> The link to the BSD Toolkit is broken!?!?
> 
> It's on this page: 
> http://www.freebsdmall.com/cgi-bin/fm/bsdpow?id=hztTbuMR&mv_pc=664

Doesn't seem to be broken here. A page containint a version
6 of FreeBSD is presented.

Can you be more specific with what you mean by "broken"?



> Will it's 'parts' run on a MAC, which has Apple-modified FreeBSD
> as its core ??

Probably not. However, there are means to run the PPC version
of FreeBSD on some Apple hardware, as well as it's maybe
possible to run FreeBSD's x86 version on some x86 Macs.

However, it should be possible to use VirtualBSD within a
virtualisation environment (i. e. in a VM) on Mac OS X and
other operating systems. It even comes with the currently
popular "Mac look & feel".

See: http://www.virtualbsd.info/



> What EXACTLY is PC-BSD?

It's an operating system and applications package with preinstalled
and precondigured desktop environment and custom installer, using
FreeBSD at its heart.

See: http://www.pcbsd.org/



> Does it install on a WINDOZE OS ?

No. You cannot install an operating system on "Windows".




-- 
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"


BAD link

2013-02-25 Thread Marv Graham

The link to the BSD Toolkit is broken!?!?

It's on this page: 
http://www.freebsdmall.com/cgi-bin/fm/bsdpow?id=hztTbuMR&mv_pc=664

Will it's 'parts' run on a MAC, which has Apple-modified FreeBSD as its core ??

What EXACTLY is PC-BSD? Does it install on a WINDOZE OS ?

-- The Constitution was not perfect, but it was better than what we have now.
___
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: SPAM: Re: ZFS root, error 2 when mounting root

2013-02-25 Thread dweimer

On 02/25/2013 10:00 am, bw wrote:


That was my understanding, too, but the instructions on the wiki say 
there's no need to copy the cache file. In fact, there is no cache 
file to copy, since the pool is created with


zpool create -o altroot=/mnt -O canmount=off zroot mirror 
/dev/gpt/g0zfs /dev/gpt/g1zfs


No cache file. The wiki article was changed recently to eliminate 
that part, the message on the wiki is: "Fix so that the default 
instructions does not install data directly to the zroot pool. 
Simplify instructions regarding cache files, they are no longer 
needed. Fixes and cleanups."


Either the instructions are wrong, or something in my script is. I 
assume it's my script.


	The instructions noted above are now INCORRECT for 9.0 (I have not 
tried this with 9.1 yet) as you MUST manually put the zpool.cache file 
in place for it to work correctly (I tried a couple different 
variations when I first setup my systems a few months ago and learned 
this the hard way :-) I have *lost* of experience with ZFS under 
Solaris 10 but am relatively new (about a year) to FreeBSD.


I tried it on 9.1, failed to specify.


There is a change coming down through the stable or current channel, 
that doesn't require the zpool.cache file.  But I don't believe that it 
has made it's to any of the releases.  I haven't been able to track down 
the original message yet, but here is some of the relevant text from a 
reply on the freebsd-stable mailing list, the subject of the thread is 
"[HEADSUP] zfs root pool mounting", if you chose to search for it on 
your own.



on 28/11/2012 20:35 Andriy Gapon said the following:


Recently some changes were made to how a root pool is opened for 
root filesystem
mounting.  Previously the root pool had to be present in 
zpool.cache.  Now it is

automatically discovered by probing available GEOM providers.
The new scheme is believed to be more flexible.  For example, it 
allows to prepare
a new root pool at one system, then export it and then boot from it 
on a new
system without doing any extra/magical steps with zpool.cache.  It 
could also be

convenient after zpool split and in some other situations.

The change was introduced via multiple commits, the latest relevant 
revision in
head is r243502.  The changes are partially MFC-ed, the remaining 
parts are

scheduled to be MFC-ed soon.


--
Thanks,
   Dean E. Weimer
   http://www.dweimer.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: ZFS root, error 2 when mounting root

2013-02-25 Thread bw





That was my understanding, too, but the instructions on the wiki say there's no 
need to copy the cache file. In fact, there is no cache file to copy, since the 
pool is created with

zpool create -o altroot=/mnt -O canmount=off zroot mirror /dev/gpt/g0zfs 
/dev/gpt/g1zfs

No cache file. The wiki article was changed recently to eliminate that part, the message 
on the wiki is: "Fix so that the default instructions does not install data directly 
to the zroot pool. Simplify instructions regarding cache files, they are no longer 
needed. Fixes and cleanups."

Either the instructions are wrong, or something in my script is. I assume it's 
my script.


The instructions noted above are now INCORRECT for 9.0 (I have not 
tried this with 9.1 yet) as you MUST manually put the zpool.cache file in place 
for it to work correctly (I tried a couple different variations when I first 
setup my systems a few months ago and learned this the hard way :-) I have 
*lost* of experience with ZFS under Solaris 10 but am relatively new (about a 
year) to FreeBSD.


I tried it on 9.1, failed to specify.
___
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: ZFS root, error 2 when mounting root

2013-02-25 Thread Paul Kraus
On Feb 25, 2013, at 10:14 AM, bw  wrote:

> On 02/25/2013 03:13 PM, Paul Kraus wrote:
>> On Feb 24, 2013, at 4:42 AM, bw.mail.lists  wrote:
>> 
>>> Basically, I tried to follow 
>>> https://wiki.freebsd.org/RootOnZFS/GPTZFSBoot/9.0-RELEASE, but ended up 
>>> with a system that didn't know how to mount /.
>>> 
>>> There are two scripts attached.
>> 
>> I did not see any attachments.
>> 
> 
> Mail list got rid of them, I didn't know it will do that. Appended inline at 
> the end of this mail. Stuff will probably get wrapped, but at least it's 
> there.
> 

> That was my understanding, too, but the instructions on the wiki say there's 
> no need to copy the cache file. In fact, there is no cache file to copy, 
> since the pool is created with
> 
> zpool create -o altroot=/mnt -O canmount=off zroot mirror /dev/gpt/g0zfs 
> /dev/gpt/g1zfs
> 
> No cache file. The wiki article was changed recently to eliminate that part, 
> the message on the wiki is: "Fix so that the default instructions does not 
> install data directly to the zroot pool. Simplify instructions regarding 
> cache files, they are no longer needed. Fixes and cleanups."
> 
> Either the instructions are wrong, or something in my script is. I assume 
> it's my script.

The instructions noted above are now INCORRECT for 9.0 (I have not 
tried this with 9.1 yet) as you MUST manually put the zpool.cache file in place 
for it to work correctly (I tried a couple different variations when I first 
setup my systems a few months ago and learned this the hard way :-) I have 
*lost* of experience with ZFS under Solaris 10 but am relatively new (about a 
year) to FreeBSD.

--
Paul Kraus
Deputy Technical Director, LoneStarCon 3
Sound Coordinator, Schenectady Light Opera Company

___
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: ZFS root, error 2 when mounting root

2013-02-25 Thread bw

On 02/25/2013 03:13 PM, Paul Kraus wrote:

On Feb 24, 2013, at 4:42 AM, bw.mail.lists  wrote:


Basically, I tried to follow 
https://wiki.freebsd.org/RootOnZFS/GPTZFSBoot/9.0-RELEASE, but ended up with a 
system that didn't know how to mount /.

There are two scripts attached.


I did not see any attachments.



Mail list got rid of them, I didn't know it will do that. Appended 
inline at the end of this mail. Stuff will probably get wrapped, but at 
least it's there.





The main difference I see between those two scripts is that one doesn't use a 
cache file and the other one does, hence the name of the scripts. But it should 
work without cachefile too, shouldn't it? The other difference is how 
mountpoints are set, but I can't figure out what could be wrong there.


I am guessing without seeing the scripts, but I assume the cache you refer to is 
the /boot/zfs/zpool.cahce file. This file instructs the kernel which zpools to import at 
boot time. If this file is missing or damaged the kernel cannot import any zpools. So you 
MUST have a valid zpool.cache file in order to import the zpool containing the 
"/" zfs dataset


That was my understanding, too, but the instructions on the wiki say 
there's no need to copy the cache file. In fact, there is no cache file 
to copy, since the pool is created with


zpool create -o altroot=/mnt -O canmount=off zroot mirror /dev/gpt/g0zfs 
/dev/gpt/g1zfs


No cache file. The wiki article was changed recently to eliminate that 
part, the message on the wiki is: "Fix so that the default instructions 
does not install data directly to the zroot pool. Simplify instructions 
regarding cache files, they are no longer needed. Fixes and cleanups."


Either the instructions are wrong, or something in my script is. I 
assume it's my script.




--
Paul Kraus
Deputy Technical Director, LoneStarCon 3
Sound Coordinator, Schenectady Light Opera Company

___
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"



ZFSNOCACHE:
=
DISK0="da0"
DISK1="da1"
echo "will use pool zroot, made up of disks $DISK0 and DISK1"

echo "Creating partitions..."
echo "  $DISK0"
gpart create -s gpt $DISK0
gpart add -s 122 -t freebsd-boot -l g0boot $DISK0
gpart add -s 4G -t freebsd-swap -l g0swap $DISK0
gpart add -t freebsd-zfs -l g0zfs $DISK0
gpart bootcode -b /boot/pmbr -p /boot/gptzfsboot -i 1 $DISK0
echo "  $DISK1"
gpart create -s gpt $DISK1
gpart add -s 122 -t freebsd-boot -l g1boot $DISK1
gpart add -s 4G -t freebsd-swap -l g1swap $DISK1
gpart add -t freebsd-zfs -l g1zfs $DISK1
gpart bootcode -b /boot/pmbr -p /boot/gptzfsboot -i 1 $DISK1
echo"done"

echo "Loading kernel modules..."
kldload opensolaris
kldload zfs
kldload geom_mirror
echo "done"

echo 'Setting swap as mirror...'
gmirror label gswap /dev/gpt/g0swap /dev/gpt/g1swap
echo 'done'

echo "Creating zroot..."
zpool create -o altroot=/mnt -O canmount=off zroot mirror /dev/gpt/g0zfs 
/dev/gpt/g1zfs

echo "done"

echo "Creating filesystems..."
echo "  checksum"
zfs set checksum=fletcher4 zroot
echo '  /'
zfs create -o mountpoint=/ 
zroot/ROOT

echo '  /tmp'
zfs create -o compression=off-o exec=on  -o setuid=off 
zroot/tmp

chmod 1777 /mnt/tmp
echo '  /usr'
zfs create 
zroot/usr
zfs create 
zroot/usr/local
zfs create -o compression=off-o setuid=off 
zroot/usr/ports
zfs create -o compression=off-o exec=off -o setuid=off 
zroot/usr/ports/distfiles
zfs create -o compression=off-o exec=off -o setuid=off 
zroot/usr/ports/packages
zfs create -o compression=lzjb   -o exec=off -o setuid=off 
zroot/usr/src
zfs create 
zroot/usr/obj

echo '  /var'
zfs create 
zroot/var
zfs create -o compression=lzjb   -o exec=off -o setuid=off 
zroot/var/crash
zfs create   -o exec=off -o setuid=off 
zroot/var/db
zfs create -o compression=lzjb   -o exec=on  -o setuid=off 
zroot/var/db/pkg
zfs create   -o exec=off -o setuid=off 
zroot/var/empty
zfs create -o compression=lzjb   -o exec=off -o setuid=off 
zroot/var/log
zfs create -o compression=gzip   -o exec=off -o setuid=off 
zroot/var/mail
zfs create   -o exec=off -o setuid=off 
zroot/var/run
zfs create -o compression=off-o exec=on  -o setuid=off 
zroot/var/tmp

chmod 1777 /mnt/var/tmp
echo '  /home'
zfs create   -o setuid=off 
zroot/home

echo 'done'

echo 'Installing FreeBSD'
cd /usr/freebsd-dist
export DESTDIR=/mnt
for file in base.txz lib32.txz kernel.txz doc.txz ports.txz src.txz;
do (cat $file | tar --unlink -xpJf - -C ${DESTDIR:-/}); done
echo 'done'

echo 'Setting up the new system'
echo '  loader.conf'
echo 'zfs_load="YES"' >> /mnt/boot/loader.conf
ec

Re: Strange delays in ZFS scrub or resilver

2013-02-25 Thread Paul Kraus
On Feb 23, 2013, at 11:23 PM, John Levine  wrote:

> I have a raidz of three 1 TB SATA drives, in USB enclosures.  One of
> the disks went bad, so I replaced it last night and it's been
> resilvering ever since.  I can watch the activity lights on the disks
> and it cranks away for a minute or so, then stops for a minute, then
> cranks for a minute, and so forth.  If I do a zpool status while it's
> stopped, the zpool waits until the I/O resumes, and a ^T shows it
> waiting for zio->io_cv.
> 
> I'm running FreeBSD 9.1, amd64 version, totally vanilla install on a
> mini-itx box with 4GB of RAM.  The root/swap disk is an SSD separate
> from the zfs disks.  When the disks are active, top shows about 10%
> system time and 4% interrupt.  When it isn't, top shows about 99.8%
> idle.  The server isn't doing much else, and nothing else currently
> touches the disks.  (They're for remote backup of a system somewhere
> else, and I have the backup job turned off until resilvering
> completes.)

Under 9.0 I had some external drives attached via USB and saw truly 
terrible I/O performance. I moved them to ESATA and it got much better. 
Unfortunately, my external exclosure has a SATA port expander as I need to talk 
to 4 external drives. That gives me about a factor of 2 worse performance than 
the internal SATA drives (even if I am only talking to one drive via the 
external connection).

--
Paul Kraus
Deputy Technical Director, LoneStarCon 3
Sound Coordinator, Schenectady Light Opera Company

___
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: ZFS root, error 2 when mounting root

2013-02-25 Thread Paul Kraus
On Feb 24, 2013, at 4:42 AM, bw.mail.lists  wrote:

> Basically, I tried to follow 
> https://wiki.freebsd.org/RootOnZFS/GPTZFSBoot/9.0-RELEASE, but ended up with 
> a system that didn't know how to mount /.
> 
> There are two scripts attached.

I did not see any attachments.



> The main difference I see between those two scripts is that one doesn't use a 
> cache file and the other one does, hence the name of the scripts. But it 
> should work without cachefile too, shouldn't it? The other difference is how 
> mountpoints are set, but I can't figure out what could be wrong there.

I am guessing without seeing the scripts, but I assume the cache you 
refer to is the /boot/zfs/zpool.cahce file. This file instructs the kernel 
which zpools to import at boot time. If this file is missing or damaged the 
kernel cannot import any zpools. So you MUST have a valid zpool.cache file in 
order to import the zpool containing the "/" zfs dataset

--
Paul Kraus
Deputy Technical Director, LoneStarCon 3
Sound Coordinator, Schenectady Light Opera Company

___
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"


how to disable bluetooth

2013-02-25 Thread CeDeROM
hey, how can i disable bluetooth in freebsd (9.1)?

my device is visible to other devices whethever i switch the radio button,
also the radio button seems to be the only waynto disable my computer from
being visible to other devices...

i hwve tried to disable bluetooth and ubt in loader.conf and various
serives in rc.conf but still my computer was visible to other devices. i
dont want it to be visible to other bluetooth computers but still i want to
have radio switched on to use wifi.

please advise :-)
tomek
___
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"