Re: FreeBSD compatible mini-itx board

2011-05-19 Thread perryh
Erik N?rgaard norga...@locolomo.org wrote:

 ... what is Serial Presence Detect RAM?

SPD refers to an I2C device mounted on (most) DIMMS, which provides
the BIOS with the DIMM's size and speed properties.
___
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


c150A.pilship.com Virus removed from message

2011-05-19 Thread Anti-Virus-From
The following viruses were repaired or dropped from the message (MID 10274031)
'W32/MyDoom-O'

And, Attachments dropped during repair.

Actions taken:
Message delivered

Original Envelope Sender:
From freebsd-questions@freebsd.org Thu May 19 15:39:13 2011

Message Headers:
From: freebsd-questions@freebsd.org
To: chris@sha.pilship.com
Subject: Error
Date: Thu, 19 May 2011 14:36:08 +0700
Content-Type: multipart/mixed;  
boundary==_NextPart_000_0002_CCEB72FA.241A7AAE
X-Priority: 3
X-MSMail-Priority: Normal
X-Mailer: Microsoft Outlook Express 6.00.2600.
X-MIMEOLE: Produced By Microsoft MimeOLE V6.00.2600.
___
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: UDF and DVD's

2011-05-19 Thread Jeremy Chadwick
On Thu, May 19, 2011 at 12:36:02AM -0400, grarpamp wrote:
 Greetings... :)
 
 The first filesystem DVD... other than a movie DVD (DVD-VIDEO?),
 and the FreeBSD make release DVD's (iso9660)... that I've ever tried
 to mount, well... don't. It is:
  Windows 7 Ultimate with Service Pack 1 (x64) - DVD (English) 5/12/2011
 You can find the SHA-1 hash here:
  http://msdn.microsoft.com/en-us/subscriptions/downloads/default.aspx
 and a sample image, if needed for reference purposes, via any search
 engine.
 
 Anyways, after a little reasearch, does FreeBSD not, in fact, support
 this UDF version? (I don't yet know how to supply the version of
 this image for you?)
 
 Can the FreeBSD team implement it? Perhaps by porting from NetBSD
 5.1's seemingly near complete implementation?
  http://en.wikipedia.org/wiki/Universal_Disk_Format
  http://www.osta.org/specs/index.htm
 As perhaps even a GSOC or Foundation project? Because reading retail
 optical filesystem formats would seem to be a rather expected
 capability?
 
 I'm guessing the current state within FreeBSD means that I can
 neither read, nor create, or write, readable (compatible) images
 at this, or any given, UDF level?
 
 As I've no other DVD's to test with... what UDF versions are most
 DVD data ROM's published in?
 
 Is this a blocker for FreeBSD?
 
 For me, at least, minimally, that seems to be the case... as I now
 have no way to rip, mount and add the files to this DVD that I would
 like to add. Except to use Windows, which I consider to be unreliable
 at best.
 
 Thoughts? Thanks :)

Thoughts: please provide commands, full output, etc. that show how
you're trying to mount the disc, as well as relevant /dev entries
pertaining to your DVD drive.  dmesg might also be helpful.  And I
assume you have looked at mount_udf(8)?

-- 
| Jeremy Chadwick   j...@parodius.com |
| Parodius Networking   http://www.parodius.com/ |
| UNIX Systems Administrator  Mountain View, CA, USA |
| Making life hard for others since 1977.   PGP 4BD6C0CB |

___
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


UDF and DVD's

2011-05-19 Thread grarpamp
Greetings... :)

The first filesystem DVD... other than a movie DVD (DVD-VIDEO?),
and the FreeBSD make release DVD's (iso9660)... that I've ever tried
to mount, well... don't. It is:
 Windows 7 Ultimate with Service Pack 1 (x64) - DVD (English) 5/12/2011
You can find the SHA-1 hash here:
 http://msdn.microsoft.com/en-us/subscriptions/downloads/default.aspx
and a sample image, if needed for reference purposes, via any search
engine.

Anyways, after a little reasearch, does FreeBSD not, in fact, support
this UDF version? (I don't yet know how to supply the version of
this image for you?)

Can the FreeBSD team implement it? Perhaps by porting from NetBSD
5.1's seemingly near complete implementation?
 http://en.wikipedia.org/wiki/Universal_Disk_Format
 http://www.osta.org/specs/index.htm
As perhaps even a GSOC or Foundation project? Because reading retail
optical filesystem formats would seem to be a rather expected
capability?

I'm guessing the current state within FreeBSD means that I can
neither read, nor create, or write, readable (compatible) images
at this, or any given, UDF level?

As I've no other DVD's to test with... what UDF versions are most
DVD data ROM's published in?

Is this a blocker for FreeBSD?

For me, at least, minimally, that seems to be the case... as I now
have no way to rip, mount and add the files to this DVD that I would
like to add. Except to use Windows, which I consider to be unreliable
at best.

Thoughts? 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: UDF and DVD's

2011-05-19 Thread Alexander Best
On Thu May 19 11, Jeremy Chadwick wrote:
 On Thu, May 19, 2011 at 12:36:02AM -0400, grarpamp wrote:
  Greetings... :)
  
  The first filesystem DVD... other than a movie DVD (DVD-VIDEO?),
  and the FreeBSD make release DVD's (iso9660)... that I've ever tried
  to mount, well... don't. It is:
   Windows 7 Ultimate with Service Pack 1 (x64) - DVD (English) 5/12/2011
  You can find the SHA-1 hash here:
   http://msdn.microsoft.com/en-us/subscriptions/downloads/default.aspx
  and a sample image, if needed for reference purposes, via any search
  engine.
  
  Anyways, after a little reasearch, does FreeBSD not, in fact, support
  this UDF version? (I don't yet know how to supply the version of
  this image for you?)
  
  Can the FreeBSD team implement it? Perhaps by porting from NetBSD
  5.1's seemingly near complete implementation?
   http://en.wikipedia.org/wiki/Universal_Disk_Format
   http://www.osta.org/specs/index.htm
  As perhaps even a GSOC or Foundation project? Because reading retail
  optical filesystem formats would seem to be a rather expected
  capability?
  
  I'm guessing the current state within FreeBSD means that I can
  neither read, nor create, or write, readable (compatible) images
  at this, or any given, UDF level?
  
  As I've no other DVD's to test with... what UDF versions are most
  DVD data ROM's published in?
  
  Is this a blocker for FreeBSD?
  
  For me, at least, minimally, that seems to be the case... as I now
  have no way to rip, mount and add the files to this DVD that I would
  like to add. Except to use Windows, which I consider to be unreliable
  at best.
  
  Thoughts? Thanks :)

freebsd as of now has two problems:

1) it only supports UDF 1.x and *not* UDF 2.x.

2) it does not properly support iso9660 with files  4gb via multiple extents.
   whenever you mount such a dvd, you see each 4gb file twice.

cheers.
alex

ps: for 2) see http://www.freebsd.org/cgi/query-pr.cgi?pr=kern/95222

 
 Thoughts: please provide commands, full output, etc. that show how
 you're trying to mount the disc, as well as relevant /dev entries
 pertaining to your DVD drive.  dmesg might also be helpful.  And I
 assume you have looked at mount_udf(8)?
 
 -- 
 | Jeremy Chadwick   j...@parodius.com |
 | Parodius Networking   http://www.parodius.com/ |
 | UNIX Systems Administrator  Mountain View, CA, USA |
 | Making life hard for others since 1977.   PGP 4BD6C0CB |
 

-- 
a13x
___
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 on shuttle XS35GTV2

2011-05-19 Thread Hagmann Jörg
I am planning to set up a home server and am considering a Shuttle XS35GTV2 
Barebone (http://www.shuttle.eu/products/slim/xs35gtv2/overview/). Does 
anybody have experience with FreeBSD on this or a similar computer? Are there 
FreeBSD-related things I should be aware of before buying it? (Googling didn't 
turn up anything).

Thanks for your answer, Joerg___
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: Established method to enable suid scripts?

2011-05-19 Thread Scott Bennett
 On Wed, 11 May 2011 11:59:48 +0200 Jonathan McKeown j.mcke...@ru.ac.za
wrote:
On Wednesday 11 May 2011 04:19:29 Devin Teske wrote:

 The reason that the suid bit doesn't work on scripts (shell, perl, or
 otherwise) is because these are essentially text files that are interpreted
 by their associated interpreter. It is the interpreter itself that must be
 suid.

I'm pretty sure that's not the case, although I'm open to correction.

The reason the system ignores the suid bit on a script is because of what 
would happen when it's executed:

1) the script is read from a file called filename and the system notices 
that it needs to be interpreted by another program.

2) that program is launched and told to re-open the file named filename and 
execute its contents with suid privilege.

The problem is a race condition: there's no guarantee that the filename opened 
by the interpreter in step 2 is the same file the user executed in step 1.

 Yes, that is basically what happened.  It was demonstrated under 4.3BSD
that a small program needed to do very little to gain privileges when run by
a user who had execute access to a suid shell script.  The first time the
kernel looked at it, the kernel also noted the permissions, including the suid
bit.  A small program 1) forks a child that loops, creating a symlink to the
suid script, removing the symlink, creating a new symlink of the same name but
pointing to /bin/sh, removing the symlink again, and repeating, while 2) the
parent loops, trying to run the script via the symlink.  If the attempt
returns, then that means the script actually got run (no security violation).
If the attempt instead returns a prompt,

#

then it means that after the kernel first looked at the file and got the
permission bits, the link was changed to point to /bin/sh, which then got
run with the suid root permission.  (This actually worked for scripts owned
by any uid, so the prompt could be $ with the privileges of whatever non-root
uid owned the script.)  Most people who reported results of trying this at
that time said they had a root shell in less than a second, even on slow
(for that era) machines. 8-
 This problem was publicly announced but not fixed in 4.3BSD.  The
recommended workaround, instead, was not to have any suid scripts.  I do
not know when the change was made in the kernel to block suid permission
elevation on executable non-binaries (i.e., scripts).


  Scott Bennett, Comm. ASMELG, CFIAG
**
* Internet:   bennett at cs.niu.edu  *
**
* A well regulated and disciplined militia, is at all times a good  *
* objection to the introduction of that bane of all free governments *
* -- a standing army.   *
*-- Gov. John Hancock, New York Journal, 28 January 1790 *
**
___
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


IPSec with Public IP Addresses only

2011-05-19 Thread jhall
Ladies and Gentlemen,

I am attempting to connect a FreeBSD server, 8.1-RELEASE to a Juniper 
J2320 router running the JUNOS operating system. 

The Juniper router I am connecting to has a public IP address of 1.2.3.4.  
The provider has not given me a private IP address and has stated it is 
not needed. 

The FreeBSD server, has a public IP address of 2.3.4.5 and a private IP 
address of 6.7.8.9. 

I am able to create the gif tunnel without any problem.  However, the 
provider I am connecting to has told me there is not a private IP address 
available for the creation of the private IP tunnel.  I will be connecting 
to private addresses in the 5.6.7.0/24 range on the provider's server. 

Here is the output of the ifconfig command.

gif0: flags=8050POINTOPOINT,RUNNING,MULTICAST metric 0 mtu 1280
tunnel inet 2.3.4.5 -- 1.2.3.4
options=1ACCEPT_REV_ETHIP_VER

Following are the relevant route table entries.

1.2.3.4/32  2.3.4.5  US  1  798   bge1
5.6.7.0/24 1.2.3.4 UGS 2  192   bge1

Is it possible to connect to the private address on the provider's server 
without a private IP address?  I have done this before, but I have always 
private IP addresses as well. 

I do not have racoon running yet.  Could this make a difference?


Thanks for your help.



Jay Hall

___
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


Filenames with French characters cannot be open

2011-05-19 Thread Frank Bonnet

Hello

I am facing a boring problem.

We use a small application to extract some files
from a SQL database and copy them to a FreeBSD
WEBDAV server ( apache + mod dav )

the problem comes when a filename contains some
French characters,  it cannot be found by apache

here is some error message I get in apache.log

[19/May/2011:16:49:05 +0200] GET 
/cv/ESIEE_MANAGEMENT/Systeme_information/11_EM2_SI_JUIN_CV_AMICHIA_Anthony%20Aim%C3%A9e%20Marthe%20Moteh.docx 
HTTP/1.1 404 1227


the problem is %C3%A9 character it seems witch is an e with acute accent
that appear as an ? in the filename in a terminal

Thanks a lot for any info




___
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


xscreensaver

2011-05-19 Thread pwnedomina

what contents should be placed into /etc/pam.d/xscreensaver ?
___
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: xscreensaver

2011-05-19 Thread Julian Fagir
Hi,

 what contents should be placed into /etc/pam.d/xscreensaver ?
that depends solely on your system's configuration.
You should say what your window manager is, how you authenticate, etc.
If you have only a single-user system, taking the authentication-part should
be sufficient. I don't know about the generic pam-scripts of FreeBSD, but
e.g. `grep ^auth /etc/pam.d/login  /etc/pam.d/xscreensaver` could already do
the job.

Regards, Julian


signature.asc
Description: PGP signature


Re: xscreensaver

2011-05-19 Thread pwnedomina

On 19-05-2011 17:05, Julian Fagir wrote:

Hi,


what contents should be placed into /etc/pam.d/xscreensaver ?

that depends solely on your system's configuration.
You should say what your window manager is, how you authenticate, etc.
If you have only a single-user system, taking the authentication-part should
be sufficient. I don't know about the generic pam-scripts of FreeBSD, but
e.g. `grep ^auth /etc/pam.d/login  /etc/pam.d/xscreensaver` could already do
the job.

Regards, Julian

my wm is fluxbox..
___
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 compatible mini-itx board

2011-05-19 Thread Chuck Swiger
On May 19, 2011, at 11:46 AM, Erik Nørgaard wrote:
 It indicates that they put faster RAM into the box, but ran it at a speed of 
 533MHz, which is slower than the memory is capable of running.  In some 
 cases, doing this lets you run the RAM at lower voltage or with tighter 
 timing settings of CL/tRCD/tTP/etc.
 
 Thanks, currently I have, well ancient RAM on an old VIA board and it's not 
 really any reliable. That with the flacky disk controller on the VIA board is 
 my reason to go Intel.

Yeah, I have one of the VIA EPIA M6000 boards, and the IDE controller gets 
flaky under load if there is more than one device attached.  Disabling the 
secondary channel on IRQ 15 helped some

Regards,
-- 
-Chuck

___
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 compatible mini-itx board

2011-05-19 Thread Chuck Swiger
Hi--

[ Perry gave a good answer to the last question; I'll try to hit some of the 
earlier ones.  :-) ]

On May 19, 2011, at 12:23 AM, per...@pluto.rain.com wrote:
 Erik N?rgaard norga...@locolomo.org wrote:
 Mobile Intel 945GSE Express Chipset
 Intel 82945GSE Express Chipset Graphics/Memory Controller Hub
 Intel 82801GBM I/O Controller Hub (ICH7-M)
 Intel GMA950
 RealTek 8111DL Gigabit Ethernet Controller
 
 Does FBSD support this?

FreeBSD ought to support the 945G chipset and the ICH7 hub; also the RealTek 
NIC, but the latter isn't the highest quality NIC around.

 Also: The Intel manual mentions: Support for DDR2 533 MHz SO-DIMMs (DDR2 
 800 MHz and DDR2 667 MHz validated to run at 533 MHz only)
 
 Will faster RAM result in a less stable system?

It indicates that they put faster RAM into the box, but ran it at a speed of 
533MHz, which is slower than the memory is capable of running.  In some cases, 
doing this lets you run the RAM at lower voltage or with tighter timing 
settings of CL/tRCD/tTP/etc.

 ... what is Serial Presence Detect RAM?
 
 SPD refers to an I2C device mounted on (most) DIMMS, which provides
 the BIOS with the DIMM's size and speed properties.

Yes.  In particular, newer memory uses the SPD to provide multiple timing 
profiles, which can be used for EPP and XMP for indicating that the RAM has 
higher performance timings available.

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

Regards,
-- 
-Chuck

___
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 compatible mini-itx board

2011-05-19 Thread Erik Nørgaard

On 19/5/11 7:49 PM, Chuck Swiger wrote:


FreeBSD ought to support the 945G chipset and the ICH7 hub; also the RealTek 
NIC, but the latter isn't the highest quality NIC around.


yeah, I'd rather have Intels own NIC dunno why they can't put them on 
their own boards. Realtek seem to be on all the Intel boards :S


At least I'm adding an Intel PCI NIC.


Also: The Intel manual mentions: Support for DDR2 533 MHz SO-DIMMs (DDR2 800 MHz 
and DDR2 667 MHz validated to run at 533 MHz only)
Will faster RAM result in a less stable system?


It indicates that they put faster RAM into the box, but ran it at a speed of 
533MHz, which is slower than the memory is capable of running.  In some cases, 
doing this lets you run the RAM at lower voltage or with tighter timing 
settings of CL/tRCD/tTP/etc.


Thanks, currently I have, well ancient RAM on an old VIA board and it's 
not really any reliable. That with the flacky disk controller on the VIA 
board is my reason to go Intel.



Regards,


Thanks, Erik
___
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: A possibly odd upgrade question

2011-05-19 Thread Chris Brennan
On Wed, May 4, 2011 at 6:11 PM, Jerry je...@seibercom.net wrote:

Yes, from the man pages it states it will rebuild all packages and their
 dependencies. I simply include the l so he would have a log file
 available if something did go wrong.

 In any case, I thought it might save him some trouble rebuilding his
 system. There are some ports; however, that will not build correctly
 unless the program is first removed from the system. Obviously not a
 friendly concept; however, a reality. The OP would have to remove them
 first I suppose before doing a force rebuild. Maybe just doing a
 pkg_delete -adv would be a better idea.


Sorry it took me so long to get back to this e-mail, been busy w/ a bunch of
stuff lately, but this box is still on my todo list.

portupgrade/portmaster don't comeplete due to some bazaar issues that I no
longer wish to try and fix. A recent development that I've discovered is
that I can no longer compile anything, even as a user, it all just fails and
it's one colossal headache I no longer want.

If I go the way of pkg_delete -fravd, will it save configs in
/usr/local/etc/ ? I just need to know if I need to take the extra step to
archive that directory beforehand or not I'm just looking at
possibilities of saving myself any other potential conf file
reconfigurations in the future ... like I know I will need to reinstall
samba and I would hate to loose that config and have to rewrite it...

-- 
 A: Yes.
 Q: Are you sure?
 A: Because it reverses the logical flow of conversation.
 Q: Why is top posting frowned upon?
___
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: A possibly odd upgrade question

2011-05-19 Thread Polytropon
On Thu, 19 May 2011 16:29:41 -0400, Chris Brennan xa...@xaerolimit.net wrote:
 If I go the way of pkg_delete -fravd, will it save configs in
 /usr/local/etc/ ? I just need to know if I need to take the extra step to
 archive that directory beforehand or not

I would advice to do so, no matter what the pkg_delete
command will cause. If I remember correctly, MODYFIED
files will not be touched (checksum test), and a directory
won't be removed if it contains something that won't
be deleted according to the initial packing list.

So if anything unexpected happens - you can consult your
before configuration files to change the after ones,
or simply re-use them if possible.



-- 
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: A possibly odd upgrade question

2011-05-19 Thread Chris Brennan
On Thu, May 19, 2011 at 4:40 PM, Polytropon free...@edvax.de wrote:

I would advice to do so, no matter what the pkg_delete
 command will cause. If I remember correctly, MODYFIED
 files will not be touched (checksum test), and a directory
 won't be removed if it contains something that won't
 be deleted according to the initial packing list.

 So if anything unexpected happens - you can consult your
 before configuration files to change the after ones,
 or simply re-use them if possible.


Thanks for getting back to me so quick on this :D. That was pretty much what
I needed to know, so I shall embark on this shortly.

After much thought, I think my process would be this:

chsh back to bin/sh (I currently use bash as my primary shell)
logout back in for shell change
pkg_delete -fravd
get new base srcs
portsnap
(re)install desired tools (vim mostly, although I can function in vi)
rebuild world/kernel for new version
rebuild new tools for new libs

am I forgetting something?

-- 
 A: Yes.
 Q: Are you sure?
 A: Because it reverses the logical flow of conversation.

 Q: Why is top posting frowned upon?
___
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: A possibly odd upgrade question

2011-05-19 Thread Polytropon
On Thu, 19 May 2011 16:47:26 -0400, Chris Brennan xa...@xaerolimit.net wrote:
 After much thought, I think my process would be this:
 
 chsh back to bin/sh (I currently use bash as my primary shell)
 logout back in for shell change
 pkg_delete -fravd
 get new base srcs
 portsnap
 (re)install desired tools (vim mostly, although I can function in vi)
 rebuild world/kernel for new version
 rebuild new tools for new libs
 
 am I forgetting something?

Yes, the recommended order. :-)

First, update your ports/ and src/ trees (e. g. using portsnap
and csup), then compile and install. You don't need any tools
provided by ports for this task. After you've started your
new system, install the additional software you need.

Mentioning the shell was good: In case you remove bash from
the system, it may cause trouble when a shell is requested
for a user that is not there (the shell), as bash is not part
of the base system. Still it seems that you'll do most of
the work mentioned in the above paragraph as root, you will
use root's default shell (which is csh) anyway.




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


SSD drive not recognized

2011-05-19 Thread Robert Simmons
I recently upgraded a hard drive to an SSD drive.  Initially I bought
a cheap(er) Microcenter house branded SATA II drive (after looking
around online it turns out it is really an A-Data that was rebranded).
 It was recognized by the BIOS, but not by FreeBSD.  I decided to
return it and try a name brand (OCZ Vertex 2, 60GB) with the same
results.  The system is 8.2-RELEASE and this is a fresh install.

The motherboard (ASRock K8Upgrade-NF3, nForce3 250 chipset) is only
SATA, not SATA II, but it has another SATA II drive (not SSD) that is
recognized just fine even without the jumper set to force it to SATA.
So, I don't think it is a problem with the drive negotiating down to
SATA, otherwise I don't think the BIOS would recognize it at all.

What is the best way to figure out why FreeBSD does not recognize the drive?
___
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


Over-whelmed by ports and package tools

2011-05-19 Thread Xn Nooby
It is hard for me to tell what tools I should be using to work with
ports and packages.  I was trying to set up a 64bit 8.2 machine as a
desktop environment, with Firefox 4 and Flash installed.  It looked
like I was going to need to track the 8.x stable branch in order to
get a Firefox package, and I was having some problems pinning down
which version of Flash I should use (they have a new version since 8l2
was released).  I decided to stop and just make sure I understood how
I was supposed to be working with ports and packages.

I've have been reading about cvsup, freebsd-update, portsnap,
portupgrade, and portmaster.  In general, I think I would like to use
packages when possible, since I expect to be doing some installs on
low-powered machines (my old laptops).  I don't want to build
everything from the ports tree (unless I have to).  I know that I can
set the environment variable PACKAGESITE in order to get packages from
8.x instead of 8.2, and the packages would at worst be a month old.  I
have also read portupgrade can be used to upgrade ports (obvious
enough).

What I have not really seen yet, is an explanation of when you might
want to use the different tools.  I have read some tools don't need
certain other things installed, but I don't know why that is
significant.  Perhaps some of the tools are only used in rare
situations, and I don't need to consider using them. I also don't know
how mutually exclusive they are.

I am working on a script to automatically load up all the software I
want on my desktop, below are some of the sub-routines that show what
I am trying to do. I think the script worked when 8.2 was new, but
things seemed to have changed and it no longer works so well. I want
to make it change-proof.

loadPorts() {
echo loadPorts...
freebsd-update fetch install
portsnap fetch extract
}

loadFF() {
echo loadFF...
pkg_add -r firefox
echo 'sem_load=YES'  /boot/loader.conf
}


loadApps() {
echo loadApps...
apps=bash unzip p7zip vlc xmms subversion mplayer openbox icewm
cmdwatch xfe miro filezilla
for x in $apps
do
pkg_add -r $x
done
}

loadFonts() {
echo loadFonts...
cd /usr/ports/x11-fonts/webfonts
make install clean
pkg_add -r dejavu
cd
sed '
/Section Module/ a\
Load freetype\
Load type1
' /etc/X11/xorg.conf  /etc/X11/xorg.conf.sed
cp /etc/X11/xorg.conf.sed /etc/X11/xorg.conf
sed '
/Section Files/ a\
FontPath /usr/local/lib/X11/fonts/webfonts/\
FontPath /usr/local/lib/X11/fonts/dejavu/
' /etc/X11/xorg.conf  /etc/X11/xorg.conf.sed
cp /etc/X11/xorg.conf.sed /etc/X11/xorg.conf
fc-cache -f -v
}


loadFlash() {
echo loadFlash...
kldload linux
pkg_add -r linux_base-f10
echo 'linux_enable=YES'  /etc/rc.conf
echo 'linproc /usr/compat/linux/proc linprocfs rw 0 0'  /etc/fstab
mount -a
pkg_add -r nspluginwrapper
cd /usr/ports/www/linux-f10-flashplugin10
mkdir -p /usr/ports/distfiles/flashplugin/10.1r53
scp me@192.168.200.2:install_flash_player_10_linux.tar.gz
/usr/ports/distfiles/flashplugin/10.1r53/
make install clean
cd
mkdir /usr/local/lib/browser_plugins
ln -s /usr/local/lib/npapi/linux-f10-flashplugin/libflashplayer.so
/usr/local/lib/browser_plugins/
# read -p pausing
rehash
}
___
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: A possibly odd upgrade question

2011-05-19 Thread Chris Brennan
On Thu, May 19, 2011 at 5:04 PM, Polytropon free...@edvax.de wrote:

Yes, the recommended order. :-)

 First, update your ports/ and src/ trees (e. g. using portsnap
 and csup), then compile and install. You don't need any tools
 provided by ports for this task. After you've started your
 new system, install the additional software you need.

 Mentioning the shell was good: In case you remove bash from
 the system, it may cause trouble when a shell is requested
 for a user that is not there (the shell), as bash is not part
 of the base system. Still it seems that you'll do most of
 the work mentioned in the above paragraph as root, you will
 use root's default shell (which is csh) anyway.


One last question ... hopefully lol. am I going to run into any issues w/
the default fbsd6 layout?

[root@Ziggy [~]# df -h
Filesystem SizeUsed   Avail Capacity  Mounted on
/dev/ad0s1a496M328M128M72%/
devfs  1.0K1.0K  0B   100%/dev
/dev/ad0s1e496M234K456M 0%/tmp
/dev/ad0s1f 33G5.7G 25G19%/usr
/dev/ad0s1d1.3G1.0G226M82%/var
/dev/ad1s1d 54G8.9G 41G18%/usr/home
/dev/ad6s1  74G 61G 13G82%/mnt/music
linprocfs  4.0K4.0K  0B   100%/usr/compat/linux/proc
[root@Ziggy [~]#

What I think I failed to previously mention is that this machine started out
with fbsd6.x, was upgraded many times from 6x though 7.1 where it fell into
disuse. With my recent repurpose of this box ... I'm concerned that it might
be a moot point if base won't fit on rot root slice.

-- 
 A: Yes.
 Q: Are you sure?
 A: Because it reverses the logical flow of conversation.
 Q: Why is top posting frowned upon?
___
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: Over-whelmed by ports and package tools

2011-05-19 Thread Alejandro Imass
On Thu, May 19, 2011 at 9:23 PM, Xn Nooby xno...@gmail.com wrote:
 It is hard for me to tell what tools I should be using to work with
 ports and packages.  I was trying to set up a 64bit 8.2 machine as a
 desktop environment, with Firefox 4 and Flash installed.  It looked
 like I was going to need to track the 8.x stable branch in order to
 get a Firefox package, and I was having some problems pinning down
 which version of Flash I should use (they have a new version since 8l2


Great question. The is no best prctice as such and it mostly depends
on your use of FreeBSD. If it's a workstation you probably want to
install most things via binary packages instead of ports. FreeBSD is
so amazing that it does not matter which way you install them, the pkg
database will not care. You can add a package and the remove by port
and vice-versa. cvsup and all that is mostly used nowadays by mere
mortals for building the world and upgrading.

if you are going to use FreeBSD as a server you arel probably be
better off compiling everything to your exact needs. Precompiled
binary packages are built with standard default options: i.e. probably
either over-bloated with unnecessary features and security holes, or
other times lack the functionality you will require. I would
personally never compile Gnome, Open Office and these great big
packages for several reasons but primarily because it's a waste of
time, and the default compilation options are usually good for the
average use.

Also, please take a look at PC BSD which derives directly from FreeBSD
but it's targeted for the PC/Workstation/laptop world. It's somewhat
akin to Ubuntu and Debian. I think PC BSD is great for workstation use
whereas FreeBSD is great for servers. I use FreeBSD for both but use
binary packages for the big fat GUI applications and compile
everything else.

Best,

--
Alejandro Imass
___
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: Over-whelmed by ports and package tools

2011-05-19 Thread Alejandro Imass
On Thu, May 19, 2011 at 10:06 PM, Alejandro Imass a...@p2ee.org wrote:
 On Thu, May 19, 2011 at 9:23 PM, Xn Nooby xno...@gmail.com wrote:
 It is hard for me to tell what tools I should be using to work with
[..]

 and vice-versa. cvsup and all that is mostly used nowadays by mere
 mortals for building the world and upgrading.



Also try to go with portsnap for ports IMHO it's the path of least
resistance ;-)
___
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: SSD drive not recognized

2011-05-19 Thread Daniel Staal
--As of May 19, 2011 5:30:19 PM -0400, Robert Simmons is alleged to have 
said:



I recently upgraded a hard drive to an SSD drive.  Initially I bought
a cheap(er) Microcenter house branded SATA II drive (after looking
around online it turns out it is really an A-Data that was rebranded).
 It was recognized by the BIOS, but not by FreeBSD.  I decided to
return it and try a name brand (OCZ Vertex 2, 60GB) with the same
results.  The system is 8.2-RELEASE and this is a fresh install.

The motherboard (ASRock K8Upgrade-NF3, nForce3 250 chipset) is only
SATA, not SATA II, but it has another SATA II drive (not SSD) that is
recognized just fine even without the jumper set to force it to SATA.
So, I don't think it is a problem with the drive negotiating down to
SATA, otherwise I don't think the BIOS would recognize it at all.

What is the best way to figure out why FreeBSD does not recognize the
drive?


--As for the rest, it is mine.

Well, the traditional first start would be a dmesg.

I'm not sure if there is any possible reason why a SATA II drive might not 
work on a SATA I interface, but I suppose it's a possibility.  A good 
regular HD can fill a SATA I interface, so it could be possible that they 
never expected an SSD to be attached to one.


Daniel T. Staal

---
This email copyright the author.  Unless otherwise noted, you
are expressly allowed to retransmit, quote, or otherwise use
the contents for non-commercial purposes.  This copyright will
expire 5 years after the author's death, or in 30 years,
whichever is longer, unless such a period is in excess of
local copyright law.
---
___
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: UDF and DVD's

2011-05-19 Thread b. f.
grarpamp wrote:
...
 I'm guessing the current state within FreeBSD means that I can
 neither read, nor create, or write, readable (compatible) images
 at this, or any given, UDF level?
...

 Is this a blocker for FreeBSD?

 For me, at least, minimally, that seems to be the case... as I now
 have no way to rip, mount and add the files to this DVD that I would
 like to add. Except to use Windows, which I consider to be unreliable
 at best.

Obviously, the base system UDF support is minimal and needs some work.
 But you may find that ports like sysutils/cdrtools[-devel] or
sysutils/udfclient will allow you to do much of what you want to do.

b.
___
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