How to create NanoBSD iso image to install NanoBSD on vmware machine?

2013-07-15 Thread Ganesh Borse
Dear Friends,

I am new to Nanobsd and trying to create an iso image which can be
installed on vmware machine.

I created an iso image using the disk image
(/usr/obj/nanobsd.full/_.disk.image) generated according to steps
given in NanoBSD
How To http://www.freebsd.org/doc/en/articles/nanobsd/howto.html .

VM could boot up with this ISO image, but I got an error as below before I
could get OS installation prompt:

mount: /dev/ad0s3: No such file or directory
mount -o ro /dev/ad0s3 /conf/default/etc failed: droppnig into /bin/sh
Cannot read termcap database;
using dumb terminal settings.
#


do I need to use different commands or options to create iso image while
using nanobsd.sh script?

Please help.

Many thanks in advance for your help and time.

Best Regards,
- ganesh
___
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: How to create NanoBSD iso image to install NanoBSD on vmware machine?

2013-07-15 Thread Olivier Nicole
Ganesh,

 I am new to Nanobsd and trying to create an iso image which can be
 installed on vmware machine.

 I created an iso image using the disk image
 (/usr/obj/nanobsd.full/_.disk.image) generated according to steps
 given in NanoBSD
 How To http://www.freebsd.org/doc/en/articles/nanobsd/howto.html .

 VM could boot up with this ISO image, but I got an error as below before I
 could get OS installation prompt:

 mount: /dev/ad0s3: No such file or directory
 mount -o ro /dev/ad0s3 /conf/default/etc failed: droppnig into /bin/sh

What type of disk have you defined on your VMWare virtual server? The
default is SCSI, which corresponds to /dev/da, not ad.

Olivier

 Cannot read termcap database;
 using dumb terminal settings.
 #


 do I need to use different commands or options to create iso image while
 using nanobsd.sh script?

 Please help.

 Many thanks in advance for your help and time.

 Best Regards,
 - ganesh
 ___
 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: How to create NanoBSD iso image to install NanoBSD on vmware machine?

2013-07-15 Thread Ganesh Borse
Hi Olivier,

Hard Disk is configured as IDE (IDE 1:1), vm settings.

When freebsd image is booting in this VM, before getting the above error,
following logs are displayed on boost console:
   ada0: VMWare Virtual IDE Hard Driver 0001 ATA-4 device
...
...
   ada0: Previously was known as ad3
   ..
   Trying to mount root from cd9660:/dev/iso9660/nanoISO [ro]...


Thanks


On Mon, Jul 15, 2013 at 3:56 PM, Olivier Nicole olivier.nic...@cs.ait.ac.th
 wrote:

 Ganesh,

  I am new to Nanobsd and trying to create an iso image which can be
  installed on vmware machine.
 
  I created an iso image using the disk image
  (/usr/obj/nanobsd.full/_.disk.image) generated according to steps
  given in NanoBSD
  How To http://www.freebsd.org/doc/en/articles/nanobsd/howto.html .
 
  VM could boot up with this ISO image, but I got an error as below before
 I
  could get OS installation prompt:
 
  mount: /dev/ad0s3: No such file or directory
  mount -o ro /dev/ad0s3 /conf/default/etc failed: droppnig into /bin/sh

 What type of disk have you defined on your VMWare virtual server? The
 default is SCSI, which corresponds to /dev/da, not ad.

 Olivier

  Cannot read termcap database;
  using dumb terminal settings.
  #
 
 
  do I need to use different commands or options to create iso image while
  using nanobsd.sh script?
 
  Please help.
 
  Many thanks in advance for your help and time.
 
  Best Regards,
  - ganesh
  ___
  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


NVIDIA GeForce 6100/nForce 430 chipset

2013-07-15 Thread john francis lee


   2.2.1.2. FreeBSD/amd64

   There are two classes of processors capable of running
   FreeBSD/amd64. The first are AMD64 processors, including the
   AMD Athlon™64, AMD Athlon™64-FX, AMD Opteron™ or better processors.

   The second class of processors that can use FreeBSD/amd64 includes
   those using the Intel® EM64T architecture. Examples of these
   processors include the Intel® Core™ 2 Duo, Quad, Extreme processor
   families, the Intel® Xeon™ 3000, 5000, and 7000 sequences of
   processors, and the Intel® Core™ i3, i5 and i7 processors.

   /If you have a machine based on an nVidia nForce3 Pro-150, you
   ///must///use the BIOS setup to disable the IO APIC. If you do not
   have an option to do this, you will likely have to disable ACPI
   instead. There are bugs in the Pro-150 chipset for which we have not
   yet found a workaround./



I have a gigabyte GA-M61PME-52P mother board with an NVIDIA GeForce 
6100/nForce 430 chipset.


Is that OK? Thanks.

--
john francis lee
246/3 Moo 22
Thanon Kaew Wai
Mueang Chiangrai 57000
Thailand

___
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

find netmask for offered lease in dhclient code

2013-07-15 Thread s m
hello all,
i want to change dhclient code and customize it. in order to do that, i
need to know the netmask for offered ip. i see code and found that struct
client_lease  *offered_leases, keeps information about offered lease such
as ip address but this structure hasn't any field about netmask. i don't
know how i can find the netmak for this offered ip address.

any one has traced dhclient code before? how can i see the netmask for
offered ip?

thanks in advance,
SAM
___
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: find netmask for offered lease in dhclient code

2013-07-15 Thread Olivier Nicole
Hi,

 i want to change dhclient code and customize it. in order to do that, i
 need to know the netmask for offered ip. i see code and found that struct
 client_lease  *offered_leases, keeps information about offered lease such
 as ip address but this structure hasn't any field about netmask. i don't
 know how i can find the netmak for this offered ip address.

According to wireshark, it's in option t=1, l=4

Olivier

 any one has traced dhclient code before? how can i see the netmask for
 offered ip?

 thanks in advance,
 SAM
 ___
 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: Re-add lost device entries without a reboot; troubleshoot RAID card

2013-07-15 Thread Jason Birch
On Sun, Jul 14, 2013 at 9:38 PM, Jason Birch jbi...@jbirch.net wrote:

 I have several hard drives running through an M1015 flashed to think it's
 an LSI 9211-8i IT. I've been running them successfully for the last three
 months through mps(4) as part of a raidz pool, but had the pool drop to a
 degraded state when /dev/da0 (and associated gpt device) disappeared after
 some apparent errors.

 After a reboot, I noticed that the disk that disappeared - da0 - was
 successfully probed and resilvered back in to the existing pool. I ran a
 short SMART self test and everything was fine. I ran a long SMART self test
 and the drive disappeared again towards the end of the scan (I didn't get a
 chance to view the results)

 I'd like to know if there's a way to suggest to 're-probe' connections to
 see if there are any devices that can be reconnected. It's clear that the
 drive is still around and at least partially responsive - is there a way I
 can online this disk, as just a device in its own right, such that I can
 finishing running the SMART diagnostics?

 I've read some old mentions of mps not being the most stable thing under
 load, but the mentions are over a year old. The initial failure happened
 right at the time the daily periodic was running (Which includes a check
 for negative permissions on the zfs partition) and the second failure was
 during a SMART long test, so I guess there's potential for load there.
 How might I go about diagnosing whether this is just the drive or possibly
 the card itself? I suppose the obvious Move it off the raid card is
 probably a good first start...

 $ uname -a
 FreeBSD blackfyre 9.1-RELEASE-p4 FreeBSD 9.1-RELEASE-p4 #0: Mon Jun 17
 11:42:37 UTC 2013 
 r...@amd64-builder.daemonology.net:/usr/obj/usr/src/sys/GENERIC
  amd64

 dmesg output when things started going south the first time:

 Jul 11 03:07:20 blackfyre kernel: (da0:mps0:0:0:0): WRITE(10). CDB: 2a 0
 5a ca e4 98 0 0 8 0 length 4096 SMID 563 terminated ioc 804b scsi 0 state c
 xfer 0
 Jul 11 03:07:20 blackfyre kernel: (da0:mps0:0:0:0): WRITE(10). CDB: 2a 0
 23 55 ec 58 0 0 8 0 length 4096 SMID 557 terminated ioc 804b scsi 0 state c
 xfer 0
 Jul 11 03:07:20 blackfyre kernel: (da0:mps0:0:0:0): WRITE(10). CDB: 2a 0
 5a d7 a7 f8 0 0 8 0 length 4096 SMID 889 terminated ioc 804b scsi 0 state c
 xfer 0
 Jul 11 03:07:20 blackfyre kernel: (da0:mps0:0:0:0): WRITE(10). CDB: 2a 0
 23 55 ec 60 0 0 8 0 length 4096 SMID 61 terminated ioc 804b scsi 0 state c
 xfer 0
 Jul 11 03:07:20 blackfyre kernel: (da0:mps0:0:0:0): WRITE(10). CDB: 2a 0
 23 55 ec 60 0 0 8 0
 Jul 11 03:07:20 blackfyre kernel: (da0:mps0:0:0:0): CAM status: SCSI
 Status Error
 Jul 11 03:07:20 blackfyre kernel: (da0:mps0:0:0:0): SCSI status: Check
 Condition
 Jul 11 03:07:20 blackfyre kernel: (da0:mps0:0:0:0): SCSI sense: UNIT
 ATTENTION asc:29,0 (Power on, reset, or bus device reset occurred)
 Jul 11 03:07:20 blackfyre kernel: (da0:mps0:0:0:0): Retrying command (per
 sense data)
 Jul 11 03:07:25 blackfyre kernel: (da0:mps0:0:0:0): WRITE(10). CDB: 2a 0
 23 55 ec a0 0 0 8 0
 Jul 11 03:07:25 blackfyre kernel: (da0:mps0:0:0:0): CAM status: SCSI
 Status Error
 Jul 11 03:07:25 blackfyre kernel: (da0:mps0:0:0:0): SCSI status: Check
 Condition
 Jul 11 03:07:25 blackfyre kernel: (da0:mps0:0:0:0): SCSI sense: UNIT
 ATTENTION asc:29,0 (Power on, reset, or bus device reset occurred)
 Jul 11 03:07:25 blackfyre kernel: (da0:mps0:0:0:0): Retrying command (per
 sense data)

 Device picked up again on restart:

 Jul 14 15:04:15 blackfyre kernel: da0 at mps0 bus 0 scbus0 target 0 lun 0
 Jul 14 15:04:15 blackfyre kernel: da0: ATA ST3000DM001-9YN1 CC4H Fixed
 Direct Access SCSI-6 device
 Jul 14 15:04:15 blackfyre kernel: da0: 600.000MB/s transfers
 Jul 14 15:04:15 blackfyre kernel: da0: Command Queueing enabled
 Jul 14 15:04:15 blackfyre kernel: da0: 2861588MB (5860533168 512 byte
 sectors: 255H 63S/T 364801C)

 Device going south a second time:

 Jul 14 18:36:56 blackfyre kernel: (da0:mps0:0:0:0): READ(10). CDB: 28 0 d
 7d 76 10 0 0 38 0
 Jul 14 18:36:56 blackfyre kernel: (da0:mps0:0:0:0): CAM status: SCSI
 Status Error
 Jul 14 18:36:56 blackfyre kernel: (da0:mps0:0:0:0): SCSI status: Check
 Condition
 Jul 14 18:36:56 blackfyre kernel: (da0:mps0:0:0:0): SCSI sense: ABORTED
 COMMAND asc:47,3 (Information unit iuCRC error detected)
 Jul 14 18:36:56 blackfyre kernel: (da0:mps0:0:0:0): Retrying command (per
 sense data)
 Jul 14 18:37:02 blackfyre kernel: (da0:mps0:0:0:0): READ(10). CDB: 28 0 d
 94 b8 20 0 0 38 0
 Jul 14 18:37:02 blackfyre kernel: (da0:mps0:0:0:0): CAM status: SCSI
 Status Error
 Jul 14 18:37:02 blackfyre kernel: (da0:mps0:0:0:0): SCSI status: Check
 Condition
 Jul 14 18:37:02 blackfyre kernel: (da0:mps0:0:0:0): SCSI sense: ABORTED
 COMMAND asc:47,3 (Information unit iuCRC error detected)
 Jul 14 18:37:02 blackfyre kernel: (da0:mps0:0:0:0): Retrying command (per
 sense data)


 Culminating in the device being removed from /dev/:

 Jul 14 18:39:17 blackfyre 

Re: find netmask for offered lease in dhclient code

2013-07-15 Thread saeedeh motlagh
thanks Olivier, but may i ask you to explain it more? i have seen that
there is a struct option_data in offered_lease in code but when these
options set, how can i see the netmask value? where is it kept?


On Mon, Jul 15, 2013 at 1:43 PM, Olivier Nicole olivier.nic...@cs.ait.ac.th
 wrote:

 Hi,

  i want to change dhclient code and customize it. in order to do that, i
  need to know the netmask for offered ip. i see code and found that struct
  client_lease  *offered_leases, keeps information about offered lease such
  as ip address but this structure hasn't any field about netmask. i don't
  know how i can find the netmak for this offered ip address.

 According to wireshark, it's in option t=1, l=4

 Olivier

  any one has traced dhclient code before? how can i see the netmask for
  offered ip?
 
  thanks in advance,
  SAM
  ___
  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




-- 
*Sa.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: find netmask for offered lease in dhclient code

2013-07-15 Thread Olivier Nicole
 thanks Olivier, but may i ask you to explain it more? i have seen that
 there is a struct option_data in offered_lease in code but when these
 options set, how can i see the netmask value? where is it kept?

Well, I am afraid I have no more explanation, I just did a dhcp renew
while running wireshark and check the contents of the dialog. I could
see that in the DHCP offer, there is an option field with holds the
netmask. I did not dig any further.

Olivier



 On Mon, Jul 15, 2013 at 1:43 PM, Olivier Nicole olivier.nic...@cs.ait.ac.th
 wrote:

 Hi,

  i want to change dhclient code and customize it. in order to do that, i
  need to know the netmask for offered ip. i see code and found that struct
  client_lease  *offered_leases, keeps information about offered lease such
  as ip address but this structure hasn't any field about netmask. i don't
  know how i can find the netmak for this offered ip address.

 According to wireshark, it's in option t=1, l=4

 Olivier

  any one has traced dhclient code before? how can i see the netmask for
  offered ip?
 
  thanks in advance,
  SAM
  ___
  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




 --
 *Sa.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
___
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: find netmask for offered lease in dhclient code

2013-07-15 Thread s m
thank you so much. it is a hint for me to search more in code. i hope to
find something.


On Mon, Jul 15, 2013 at 2:04 PM, Olivier Nicole olivier2...@gmail.comwrote:

  thanks Olivier, but may i ask you to explain it more? i have seen that
  there is a struct option_data in offered_lease in code but when these
  options set, how can i see the netmask value? where is it kept?

 Well, I am afraid I have no more explanation, I just did a dhcp renew
 while running wireshark and check the contents of the dialog. I could
 see that in the DHCP offer, there is an option field with holds the
 netmask. I did not dig any further.

 Olivier

 
 
  On Mon, Jul 15, 2013 at 1:43 PM, Olivier Nicole 
 olivier.nic...@cs.ait.ac.th
  wrote:
 
  Hi,
 
   i want to change dhclient code and customize it. in order to do that,
 i
   need to know the netmask for offered ip. i see code and found that
 struct
   client_lease  *offered_leases, keeps information about offered lease
 such
   as ip address but this structure hasn't any field about netmask. i
 don't
   know how i can find the netmak for this offered ip address.
 
  According to wireshark, it's in option t=1, l=4
 
  Olivier
 
   any one has traced dhclient code before? how can i see the netmask for
   offered ip?
  
   thanks in advance,
   SAM
   ___
   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
 
 
 
 
  --
  *Sa.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

___
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: Re-add lost device entries without a reboot; troubleshoot RAID card

2013-07-15 Thread Jason Birch
On Mon, Jul 15, 2013 at 7:18 PM, Jason Birch jbi...@jbirch.net wrote:


 I should note that `camcontrol rescan 0` (Or `camcontrol rescan all`)
 won't find da0.


For those who stumble upon this thread later looking for answers, I'm
almost certain the problem I'm seeing is the same as described in
http://forums.freebsd.org/showthread.php?t=28252. I'm going to work through
some of that to see if I can fix my problem.
___
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


WAS : NVIDIA GeForce 6100/nForce 430 chipset NOW : installation in Vbox repeats endlessly

2013-07-15 Thread john francis lee


   2.2.1.2. FreeBSD/amd64

   There are two classes of processors capable of running
   FreeBSD/amd64. The first are AMD64 processors, including the
   AMD Athlon™64, AMD Athlon™64-FX, AMD Opteron™ or better processors.

   The second class of processors that can use FreeBSD/amd64 includes
   those using the Intel® EM64T architecture. Examples of these
   processors include the Intel® Core™ 2 Duo, Quad, Extreme processor
   families, the Intel® Xeon™ 3000, 5000, and 7000 sequences of
   processors, and the Intel® Core™ i3, i5 and i7 processors.

   /If you have a machine based on an nVidia nForce3 Pro-150, you
   ///must///use the BIOS setup to disable the IO APIC. If you do not
   have an option to do this, you will likely have to disable ACPI
   instead. There are bugs in the Pro-150 chipset for which we have not
   yet found a workaround./



I have a gigabyte GA-M61PME-52P mother board with an NVIDIA GeForce 
6100/nForce 430 chipset.


Is that OK? Thanks.

Answer : It seems to be OK. I downloaded the release 10 memstick image, 
put it on a memstick, booted from, ran it as a live cd and it worked OK. 
I looked at the messages and there were no complaints about ACPI. There 
was a WARNING : WITNESS option enabled, expect reduced performance. 
Don't know what that meant.


So I downloaded a 9.1 iso and ... actually  I had one I'd downloaded in 
March, i386, and tried to install that in a Virtual box under ubuntu. 
The installation seemed OK ... but I looked up and it was rebooting. It 
ran the installation again and I watched ... to see it drop out at the 
3rd screen with a % of files installed.


I'll try and download the 10.0 iso image, since it worked from the memstick.

--
john francis lee
246/3 Moo 22
Thanon Kaew Wai
Mueang Chiangrai 57000
Thailand

___
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

Fwd: WAS : NVIDIA GeForce 6100/nForce 430 chipset NOW : installation in Vbox repeats endlessly

2013-07-15 Thread john francis lee


That did it! Looks good now. The 10.0 installation completed ... but I 
forgot to umount the iso image, so the installation was offered again. I 
'forcibly' unmounted the iso image, as Virtual Box put it, and booted 
again. Looks good. Thanks ! No I'll try to add X and some ports.


 Original Message 
Subject: 	WAS : NVIDIA GeForce 6100/nForce 430 chipset NOW : 
installation in Vbox repeats endlessly

Date:   Mon, 15 Jul 2013 19:10:33 +0700
From:   john francis lee j...@robinlea.com
To: questi...@freebsd.org



   2.2.1.2. FreeBSD/amd64

   There are two classes of processors capable of running
   FreeBSD/amd64. The first are AMD64 processors, including the
   AMD Athlon™64, AMD Athlon™64-FX, AMD Opteron™ or better processors.

   The second class of processors that can use FreeBSD/amd64 includes
   those using the Intel® EM64T architecture. Examples of these
   processors include the Intel® Core™ 2 Duo, Quad, Extreme processor
   families, the Intel® Xeon™ 3000, 5000, and 7000 sequences of
   processors, and the Intel® Core™ i3, i5 and i7 processors.

   /If you have a machine based on an nVidia nForce3 Pro-150, you
   ///must///use the BIOS setup to disable the IO APIC. If you do not
   have an option to do this, you will likely have to disable ACPI
   instead. There are bugs in the Pro-150 chipset for which we have not
   yet found a workaround./



I have a gigabyte GA-M61PME-52P mother board with an NVIDIA GeForce 
6100/nForce 430 chipset.


Is that OK? Thanks.

Answer : It seems to be OK. I downloaded the release 10 memstick image, 
put it on a memstick, booted from, ran it as a live cd and it worked OK. 
I looked at the messages and there were no complaints about ACPI. There 
was a WARNING : WITNESS option enabled, expect reduced performance. 
Don't know what that meant.


So I downloaded a 9.1 iso and ... actually  I had one I'd downloaded in 
March, i386, and tried to install that in a Virtual box under ubuntu. 
The installation seemed OK ... but I looked up and it was rebooting. It 
ran the installation again and I watched ... to see it drop out at the 
3rd screen with a % of files installed.


I'll try and download the 10.0 iso image, since it worked from the memstick.

--
john francis lee
246/3 Moo 22
Thanon Kaew Wai
Mueang Chiangrai 57000
Thailand



___
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

Adding another mirror to existing ZFS-root mirror?

2013-07-15 Thread Scott Ballantyne
Hi,

I have the current situation:

sdb@gigawattmomma$ zpool status zroot

NAME   STATE READ WRITE CKSUM
zroot  ONLINE   0 0 0
  mirror-0 ONLINE   0 0 0
gpt/disk0  ONLINE   0 0 0
gpt/disk1  ONLINE   0 0 0


I boot directly from this.

This article from Oracle:

http://docs.oracle.com/cd/E19253-01/819-5461/gazgw/index.html 

implies I can add two more disks to the zroot pool with a 

zpool add zroot mirror disk2 disk3 to get

zroot
  mirror-0
gpt/disk0
gpt/disk1
  mirror-1
gpt/disk2
gpt/disk3

My questions:

1) Will booting still work? What do I need to do to make sure I can
still boot up the system?

Perhaps related:

2) How do I use gpart to prep these disks?

The current mirror has the usual three partitions (freebsd-boot,
freebsd-swap and freebsd-zfs), with boot code installed, obviously. Do
I need to do that with the second mirror, or can I just use the whole
thing for a freebsd-zfs filesystem?

Sorry this was a bit long. Thanks in advance for any help.

Best,
Scott
-- 
s...@ssr.com
___
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


Firefox and nfs-home

2013-07-15 Thread Elimar Riesebieter

Hi,

my setup:

NFSv3 Server running linux /etc/exports:
/export/users  
192.168.200.0/24(rw,no_root_squash,sync,no_subtree_check,insecure)

FreeBSD 9.1 client /etc/fstab:
server:/export/users /home/users nfs\
rw,tcp,nfsv3,hard,intr,rsize=32768,wsize=32768 0 0

/etc/rc.conf:
#rpcbind_enable=YES
#rpc_lockd_enable=YES
#rpc_statd_enable=YES
nfs_client_enable=YES
nfs_client_flags=-n 4

Firefox starts but no bookmarks, history, 

With rpc_lockd_enable=YES
Firefox dosn't come up after 5 minutes

With nolockd mountoption:
Firefox dosn't come up after 5 minutes

Can someone please enlighten me?

Thanks
Elimar
-- 
  what IMHO then?
  IMHO - Inhalation of a Multi-leafed Herbal Opiate ;)
  --posting from alex in debian-user--
___
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: resolvconf.conf in 9.1

2013-07-15 Thread Mike.
On 7/14/2013 at 11:45 AM Mike. wrote:

|I am trying to figure out and understand the config file
|resolvconf.conf.  The man page is a bit on the sketchy side, and I see
|no reference for resolvconf.conf in the Handbook.  Most of what google
|finds looks like it is Linux-oriented, and that seems to be an
entirely
|different config structure for resolvconf, i.e., a directory of files
|instead of a file of variables.
|
|
|For example, I would like to change the order in which the name
servers
|appear in resolv.conf.  
|
|
|There is one interface (fxp0) that is assigned both IPv4 and IPv6
|addresses.   IPv4 uses DHCP to obtain the address and two nameservers.
|  IPv6 uses rtadvd to obtain the IP address and nameserver (RDNSS).
|
|The IPv4 nameservers appear before the IPv6 nameserver in resolv.conf,
|and I would like the IPv6 nameserver to be first on the resolv.conf
|list.
|
|
|What parameter in resolvconf.conf controls the order in which
|nameservers are placed in resolv.conf?
|
|Thanks.
 =


I finally solved this.

First, I ran

resolvconf -l

to list the interfaces it knew about.


Then I added this line, based upon the interfaces in the above list, to
resolvconf.conf:


interface_order=fxp0:slaac fxp0


That puts the interface configured via rtadv before the interface
configured via dchp, resulting in the IPv6 nameserver coming before the
IPv4 nameservers in resolv.conf.







___
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: highest nice(1) -n increment value?

2013-07-15 Thread Greg Larkin
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

On 7/8/13 6:48 AM, Anton Shterenlikht wrote:
 It is not clear from the nice(1) man page, i.e. for /usr/bin/nice,
 not a shell built-in nice, what is the highest increment value nice
 will accept.
 
 It seems it is limited to 20. I tried
 
 $ /usr/bin/nice -n 100 portmaster -a
 
 But all processes spawned by the portmaster have the nice value of
 only 20, as in:
 
 PID USERNAMETHR PRI NICE   SIZERES STATETIMEWCPU
 COMMAND 57586 root  1  52   20 13976K  4720K wait 0:00
 0.39% sh 52729 root  1  40   20 13976K  4960K wait 0:02
 0.00% sh 58239 root  1  92   20 35632K  8584K RUN  0:00
 0.00% pkg 58237 root  1  52   20  9216K  1616K ppwait
 0:00   0.00% make
 
 The root shell priority was 0.
 
 So is 20 the upper increment limit?
 
 Thanks
 
 Anton

Yes, please check the setpriority man page:
http://www.freebsd.org/cgi/man.cgi?query=setpriority

The prio argument is a value in the range -20 to 20.  The default
priority is 0; lower priorities cause more favorable scheduling.

Hope that helps,
Greg
- -- 
Greg Larkin

http://www.FreeBSD.org/   - The Power To Serve
http://www.sourcehosting.net/ - Ready. Set. Code.
http://twitter.com/cpucycle/  - Follow you, follow me
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.13 (Darwin)
Comment: Using GnuPG with Thunderbird - http://www.enigmail.net/

iEYEARECAAYFAlHkTMwACgkQ0sRouByUApAzQACgvf8VJ8bO6Rld8UmOWRwNexmS
3FoAniQ0bdyu4DtNIXbKoP5ogasvFewk
=/u88
-END 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


to gmirror or to ZFS

2013-07-15 Thread aurfalien
... thats the question :)

At any rate, I'm building a rather large 100+TB NAS using ZFS.

However for my OS, should I also ZFS or simply gmirror as I've a dedicated pair 
of 256GB SSD drives for it.  I didn't ask for SSD sys drives, this system just 
came with em.

This is more of a best practices q.

Thanks in advance,

- aurf
___
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: to gmirror or to ZFS

2013-07-15 Thread Warren Block

On Mon, 15 Jul 2013, aurfalien wrote:


... thats the question :)

At any rate, I'm building a rather large 100+TB NAS using ZFS.

However for my OS, should I also ZFS or simply gmirror as I've a dedicated pair 
of 256GB SSD drives for it.  I didn't ask for SSD sys drives, this system just 
came with em.

This is more of a best practices q.


ZFS has data integrity checking, gmirror has low RAM overhead.  gmirror 
is, at present, restricted to MBR partitioning due to metadata conflicts 
with GPT, so 2TB is the maximum size.


Best practices... depends on your use.  gmirror for the system leaves 
more RAM for ZFS.

___
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: to gmirror or to ZFS

2013-07-15 Thread aurfalien

On Jul 15, 2013, at 9:23 PM, Warren Block wrote:

 On Mon, 15 Jul 2013, aurfalien wrote:
 
 ... thats the question :)
 
 At any rate, I'm building a rather large 100+TB NAS using ZFS.
 
 However for my OS, should I also ZFS or simply gmirror as I've a dedicated 
 pair of 256GB SSD drives for it.  I didn't ask for SSD sys drives, this 
 system just came with em.
 
 This is more of a best practices q.
 
 ZFS has data integrity checking, gmirror has low RAM overhead.  gmirror is, 
 at present, restricted to MBR partitioning due to metadata conflicts with 
 GPT, so 2TB is the maximum size.
 
 Best practices... depends on your use.  gmirror for the system leaves more 
 RAM for ZFS.

Perfect, thanks Warren.

Just what I was looking for.

- aurf

___
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