From owner-freebsd-questions@FreeBSD.ORG Sun Feb 20 00:40:32 2005
Return-Path:
Delivered-To: freebsd-questions@freebsd.org
Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125])
by hub.freebsd.org (Postfix) with ESMTP id 167E916A4CE
for ;
Sun, 20 Feb 2005 00:40:32 +0000 (GMT)
Received: from sdf.lonestar.org (mx.freeshell.org [192.94.73.21])
by mx1.FreeBSD.org (Postfix) with ESMTP id 7595943D31
for ;
Sun, 20 Feb 2005 00:40:31 +0000 (GMT)
(envelope-from tiberius@sdf.lonestar.org)
Received: from sdf.lonestar.org (IDENT:tiberius@sverige.freeshell.org
[192.94.73.4])
by sdf.lonestar.org (8.13.1/8.12.10) with ESMTP id j1K0dJP9015195
for ; Sun, 20 Feb 2005 00:39:19 GMT
Received: (from tiberius@localhost)
by sdf.lonestar.org (8.13.1/8.12.8/Submit) id j1K0dJKu007011
for freebsd-questions@freebsd.org;
Sat, 19 Feb 2005 17:39:19 -0700 (MST)
Date: Sat, 19 Feb 2005 17:39:19 -0700
From: Matt Rechkemmer
To: freebsd-questions@freebsd.org
Message-ID: <20050220003919.GA22570@sdf.lonestar.org>
References: <20050219120108.F32F516A4DB@hub.freebsd.org>
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
In-Reply-To: <20050219120108.F32F516A4DB@hub.freebsd.org>
User-Agent: Mutt/1.4.2.1i
Subject: Re: freebsd-questions Digest, Vol 88, Issue 68
X-BeenThere: freebsd-questions@freebsd.org
X-Mailman-Version: 2.1.1
Precedence: list
List-Id: User questions
List-Unsubscribe: ,
List-Archive:
List-Post:
List-Help:
List-Subscribe: ,
X-List-Received-Date: Sun, 20 Feb 2005 00:40:32 -0000
On Sat, Feb 19, 2005 at 12:01:08PM +0000, freebsd-questions-request@freebsd.org wrote:
>
> Lately my FreeBSD 5.3R system has been running fine. Tonight I decided to
> load the mysql 4.1.x port. After loading it, glancing at mysql-server.sh, and
> firing it up, things went haywire.
>
> At the time I had two root sessions open, as well as two normal users. My
> normal users started getting permission denied for everything, new users are
> unable to login receiving this via SSHd:
>
> No supported authentication methods left to try!
>
> Root cannot query any user information. /etc/passwd and /etc/master.passwd
> look fine. MySQL.d is NOT running, it never did startup, and now I am
> effectively locked out of the system if I logout.
>
> It's obviously authenticated since /var/log/auth.log reports:
> Feb 19 04:51:17 hybrid sshd[79901]: Accepted keyboard-interactive/pam for
> theuser from 172.17.1.11 port 2101 ssh2
>
> Any help is GREATLY appreciated, Google has so far yieled nothing on this
> topic.
>
> Thanks!
>
> Matt Rechkemmer
> tiberius@trancell.org
A bit more detail:
Normal users can no longer login, they receive:
No supported authentication methods left to try!
I can still login with root and toor. I've tried everything I know of, short
of rebooting it. If you guys have any insight, it's greatly appreciated, as
I'm at a total loss.
With the normal user that is currently logged in (before this occured), here
are some examples of the odd behavior:
captkirk@hybrid:~$ /bin/ls
-bash: /bin/ls: Permission denied
root@hybrid:/etc/rc.d# /bin/ls -al /bin/ls
-r-xr-xr-x 1 root wheel 22784 Nov 4 19:24 /bin/ls
root@hybrid:/etc/rc.d# finger captkirk; grep captkirk /etc/master.passwd
finger: captkirk: no such user
captkirk::1005:1005:default:0:0:Matt
Rechkemmer:/home/captkirk:/bin/tcsh
When users get the "No supported authentication methods" error, I do see valid
authentications in /var/log/auth.log. So this behavior makes no sense, to me
anyways.
Any ideas?
From owner-freebsd-questions@FreeBSD.ORG Sun Feb 20 01:31:03 2005
Return-Path:
Delivered-To: freebsd-questions@freebsd.org
Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125])
by hub.freebsd.org (Postfix) with ESMTP id 3438E16A4CE
for ;
Sun, 20 Feb 2005 01:31:03 +0000 (GMT)
Received: from mail.iinet.net.au (mail-09.iinet.net.au [203.59.3.41])
by mx1.FreeBSD.org (Postfix) with SMTP id A7E2643D55
for ;
Sun, 20 Feb 2005 01:31:01 +0000 (GMT)
(envelope-from forums@jefferyfernandez.id.au)
Received: (qmail 3652 invoked from network); 20 Feb 2005 01:30:47 -0000
Received: from unknown (HELO ?10.1.1.66?) (203.173.46.98)
by mail.iinet.net.au with SMTP; 20 Feb 2005 01:30:47 -0000
Message-ID: <4217E846.9090604@jefferyfernandez.id.au>
Date: Sun, 20 Feb 2005 12:30:46 +1100
From: Jeffery Fernandez
User-Agent: Mozilla Thunderbird 0.9 (X11/20041103)
X-Accept-Language: en-us, en
MIME-Version: 1.0
To: freebsd-questions@freebsd.org
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding: 7bit
X-Content-Filtered-By: Mailman/MimeDel 2.1.1
Subject: Creating CA with CA.pl
X-BeenThere: freebsd-questions@freebsd.org
X-Mailman-Version: 2.1.1
Precedence: list
List-Id: User questions
List-Unsubscribe: ,
List-Archive:
List-Post:
List-Help:
List-Subscribe: ,
X-List-Received-Date: Sun, 20 Feb 2005 01:31:03 -0000
Hi all,
I am following a tutorial on creating a CA on my FreeBSD 5.3 development
box. The tutorial can be found at
http://www.freebsddiary.org/openssl-client-authentication.php
I had a problem on signing the certificate as explained in this forum
thread: http://www.freebsddiary.org/phorum/read.php?f=1&i=9702&t=9694
But now I have traced back the problem to the fourth step of that
article. So when I execute
perl CA.pl -newca
I get to enter the details of the certificate.. but when I completed
entering the details for
Email Address []:me@mydomain.com
I get the following output:
unknown option -next_serial
usage: x509 args
-inform arg - input format - default PEM (one of DER, NET or PEM)
-outform arg - output format - default PEM (one of DER, NET or PEM)
-keyform arg - private key format - default PEM
-CAform arg - CA format - default PEM
-CAkeyform arg - CA key format - default PEM
-in arg - input file - default stdin
-out arg - output file - default stdout
-passin arg - private key password source
-serial - print serial number value
-hash - print hash value
-subject - print subject DN
-issuer - print issuer DN
-email - print email address(es)
-startdate - notBefore field
-enddate - notAfter field
-purpose - print out certificate purposes
-dates - both Before and After dates
-modulus - print the RSA key modulus
-pubkey - output the public key
-fingerprint - print the certificate fingerprint
-alias - output certificate alias
-noout - no certificate output
-ocspid - print OCSP hash values for the subject name and
public key
-trustout - output a "trusted" certificate
-clrtrust - clear all trusted purposes
-clrreject - clear all rejected purposes
-addtrust arg - trust certificate for a given purpose
-addreject arg - reject certificate for a given purpose
-setalias arg - set certificate alias
-days arg - How long till expiry of a signed certificate - def 30
days
-checkend arg - check whether the cert expires in the next arg seconds
exit 1 if so, 0 if not
-signkey arg - self sign cert with arg
-x509toreq - output a certification request object
-req - input is a certificate request, sign and output.
-CA arg - set the CA certificate, must be PEM format.
-CAkey arg - set the CA key, must be PEM format
missing, it is assumed to be in the CA file.
-CAcreateserial - create serial number file if it does not exist
-CAserial arg - serial file
-set_serial - serial number to use
-text - print the certificate in text form
-C - print out C code forms
-md2/-md5/-sha1/-mdc2 - digest to use
-extfile - configuration file with X509V3 extensions to add
-extensions - section from config file with X509V3 extensions to add
-clrext - delete extensions before signing and input certificate
-nameopt arg - various certificate name options
-engine e - use engine e, possibly a hardware device.
-certopt arg - various certificate text options
I have googled for the "unknown option -next_serial" string with no
results. I also opened CA.pl and found "-next_serial" to be present on
line 108. Anyone have a clue why its failing on that line of code ? I
beleive the signing of the certificate is not working properly because
of this. Appreciate your help.
cheers,
Jeffery
From owner-freebsd-questions@FreeBSD.ORG Sun Feb 20 01:43:02 2005
Return-Path:
Delivered-To: freebsd-questions@freebsd.org
Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125])
by hub.freebsd.org (Postfix) with ESMTP id 83FD916A4CE
for ;
Sun, 20 Feb 2005 01:43:02 +0000 (GMT)
Received: from hosea.tallye.com (joel.tallye.com [216.99.199.78])
by mx1.FreeBSD.org (Postfix) with ESMTP id B246343D45
for ;
Sun, 20 Feb 2005 01:43:01 +0000 (GMT)
(envelope-from lorenl@alzatex.com)
Received: from hosea.tallye.com (hosea.tallye.com [127.0.0.1])
by hosea.tallye.com (8.12.8/8.12.10) with ESMTP id j1K1h0Xq006334
(version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO);
Sat, 19 Feb 2005 17:43:01 -0800
Received: (from sttng359@localhost)
by hosea.tallye.com (8.12.8/8.12.10/Submit) id j1K1gxS0006332;
Sat, 19 Feb 2005 17:42:59 -0800
X-Authentication-Warning: hosea.tallye.com: sttng359 set sender to
lorenl@alzatex.com using -f
Date: Sat, 19 Feb 2005 17:42:59 -0800
From: "Loren M. Lang"
To: Bill Moran
Message-ID: <20050220014259.GA4471@alzatex.com>
References: <20050217165733.28e0c57e.wmoran@potentialtech.com>
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
In-Reply-To: <20050217165733.28e0c57e.wmoran@potentialtech.com>
User-Agent: Mutt/1.4.1i
X-GPG-Key: ftp://ftp.tallye.com/pub/lorenl_pubkey.asc
X-GPG-Fingerprint: B3B9 D669 69C9 09EC 1BCD 835A FAF3 7A46 E4A3 280C
cc: freebsd-questions@freebsd.org
Subject: Re: What is the status of gvinum in FreeBSD 5.3?
X-BeenThere: freebsd-questions@freebsd.org
X-Mailman-Version: 2.1.1
Precedence: list
List-Id: User questions
List-Unsubscribe: ,
List-Archive:
List-Post:
List-Help:
List-Subscribe: ,
X-List-Received-Date: Sun, 20 Feb 2005 01:43:02 -0000
On Thu, Feb 17, 2005 at 04:57:33PM -0500, Bill Moran wrote:
>
> I was wondering about the status of gvinum in 5.3.
>
> I seem to remember that there were a lot of problems with gvinum in 5.3,
> but searching around, I can't seem to find anything that says for sure
> one way or the other.
>
> I'm just trying to seperate the FUD from the reality. Is there anywhere
> that has the status? Anyone using gvinum that can say how reliable it
> is or isn't?
>
> I understand that there are GEOM classes available that have some of
> the functionality of vinum that I could use instead, but there are
> two reasons that these aren't an option for me.
> 1) I'm wanting to migrate 4.X machines with existing vinum volumes to
> 5, and I'd rather not dump/restore.
FreeBSD 5.x also has the original vinum implementation plus gvinum
so it should be possible to use that instead of needing to dump/restore.
Though I think that there are a couple of limitations like no swap on
the original vinum do to the addition of GEOM.
> 2) There is at least one feature that vinum has that I don't see in
> any GEOM class, that I'm using. That is the ability to add subdisks
> and use growfs to enlarge filesystems without having to dump/restore.
I think that either geom_ccd or geom_concat will allow you to concat
more drives in and then use growfs to expand the fs.
>
> --
> Bill Moran
> Potential Technologies
> http://www.potentialtech.com
--
I sense much NT in you.
NT leads to Bluescreen.
Bluescreen leads to downtime.
Downtime leads to suffering.
NT is the path to the darkside.
Powerful Unix is.
Public Key: ftp://ftp.tallye.com/pub/lorenl_pubkey.asc
Fingerprint: B3B9 D669 69C9 09EC 1BCD 835A FAF3 7A46 E4A3 280C
From owner-freebsd-questions@FreeBSD.ORG Sun Feb 20 02:18:32 2005
Return-Path:
Delivered-To: freebsd-questions@freebsd.org
Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125])
by hub.freebsd.org (Postfix) with ESMTP id 7773916A4CE
for ;
Sun, 20 Feb 2005 02:18:32 +0000 (GMT)
Received: from hosea.tallye.com (joel.tallye.com [216.99.199.78])
by mx1.FreeBSD.org (Postfix) with ESMTP id CD05A43D2D
for ;
Sun, 20 Feb 2005 02:18:31 +0000 (GMT)
(envelope-from lorenl@alzatex.com)
Received: from hosea.tallye.com (hosea.tallye.com [127.0.0.1])
by hosea.tallye.com (8.12.8/8.12.10) with ESMTP id j1K2IUXq006755
(version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO);
Sat, 19 Feb 2005 18:18:31 -0800
Received: (from sttng359@localhost)
by hosea.tallye.com (8.12.8/8.12.10/Submit) id j1K2IT28006753;
Sat, 19 Feb 2005 18:18:29 -0800
X-Authentication-Warning: hosea.tallye.com: sttng359 set sender to
lorenl@alzatex.com using -f
Date: Sat, 19 Feb 2005 18:18:29 -0800
From: "Loren M. Lang"
To: Timothy Smith
Message-ID: <20050220021829.GB4471@alzatex.com>
References: <421695E7.2050407@open-networks.net>
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
In-Reply-To: <421695E7.2050407@open-networks.net>
User-Agent: Mutt/1.4.1i
X-GPG-Key: ftp://ftp.tallye.com/pub/lorenl_pubkey.asc
X-GPG-Fingerprint: B3B9 D669 69C9 09EC 1BCD 835A FAF3 7A46 E4A3 280C
cc: freebsd-questions@freebsd.org
Subject: Re: ssh key authentication
X-BeenThere: freebsd-questions@freebsd.org
X-Mailman-Version: 2.1.1
Precedence: list
List-Id: User questions
List-Unsubscribe: ,
List-Archive:
List-Post:
List-Help:
List-Subscribe: ,
X-List-Received-Date: Sun, 20 Feb 2005 02:18:32 -0000
On Sat, Feb 19, 2005 at 11:27:03AM +1000, Timothy Smith wrote:
> i've followed the howto exactly and it still doesn't work. i don't know
> wtf i'm doing wrong. here is the output i get in verbose mode
>
> Password:
>
> the files i have in the local host
>
> ls -l /home/timothy/.ssh/
> total 6
> -rw------- 1 timothy wheel 672 Feb 19 11:06 id_dsa
> -rw-r--r-- 1 timothy wheel 621 Feb 19 11:06 id_dsa.pub
> -rw-r--r-- 1 timothy wheel 614 Feb 19 11:21 known_hosts
>
> the files i have in the remote host
> ls -l
> total 4
> -rw-r--r-- 1 timothy wheel 241 Feb 18 22:44 authorised_keys
> -rw-r--r-- 1 timothy wheel 621 Feb 19 11:12 authorised_keys2
It looks like you copied id_dsa.pub to authorized_keys2. On recent
versions of ssh, all public authorized keys are stored in
authorized_keys. Do:
cat authorized_keys2 >> authorized_keys && rm authorized_keys2
>
> _______________________________________________
> freebsd-questions@freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-questions
> To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd.org"
--
I sense much NT in you.
NT leads to Bluescreen.
Bluescreen leads to downtime.
Downtime leads to suffering.
NT is the path to the darkside.
Powerful Unix is.
Public Key: ftp://ftp.tallye.com/pub/lorenl_pubkey.asc
Fingerprint: B3B9 D669 69C9 09EC 1BCD 835A FAF3 7A46 E4A3 280C
From owner-freebsd-questions@FreeBSD.ORG Sun Feb 20 02:24:04 2005
Return-Path:
Delivered-To: freebsd-questions@freebsd.org
Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125])
by hub.freebsd.org (Postfix) with ESMTP id 0F99F16A4CE
for ; Sun, 20 Feb 2005 02:24:04 +0000 (GMT)
Received: from web51710.mail.yahoo.com (web51710.mail.yahoo.com
[206.190.38.228])
by mx1.FreeBSD.org (Postfix) with SMTP id 866E343D2D
for ; Sun, 20 Feb 2005 02:24:03 +0000 (GMT)
(envelope-from poni1111@yahoo.com)
Received: (qmail 72600 invoked by uid 60001); 20 Feb 2005 02:24:03 -0000
Comment: DomainKeys? See http://antispam.yahoo.com/domainkeys
DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws;
s=s1024; d=yahoo.com;
b=HcUGmVTCQ3X1tei+eXAlFhld1q4Qf/dLWja6na+ax66mA1WL6OsaYdGM3M6GLK9r54bqYV6uIqpL8s5YCZTQK+1q2jvSxLdrQhT9jwBBdZcQDCzThntXU32SdwU2z4LUk9itfu57gosOVPumi4q0smTy5WGQXXXYmeksUJ6iB+k=
;
Message-ID: <20050220022403.72598.qmail@web51710.mail.yahoo.com>
Received: from [82.76.162.207] by web51710.mail.yahoo.com via HTTP;
Sat, 19 Feb 2005 18:24:02 PST
Date: Sat, 19 Feb 2005 18:24:02 -0800 (PST)
From: Andrei Iarus
To: questions@freebsd.org
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Subject: PHP
X-BeenThere: freebsd-questions@freebsd.org
X-Mailman-Version: 2.1.1
Precedence: list
List-Id: User questions
List-Unsubscribe: ,
List-Archive:
List-Post:
List-Help:
List-Subscribe: ,
X-List-Received-Date: Sun, 20 Feb 2005 02:24:04 -0000
I have installed apache-1.3.33_1, php5-5.0.3_1. And I
tried to run simple scripts like:
PHP Test
Hello World
'; ?>
and the output was an unexpected one:
Hello World
'; ?>
It also doesn`t outputs anything when using the
phpversion() function. A possible bug? Before
reporting this as a bug, I wanted to check if there
was someone else with similar problems(or may be I did
something wrong).
__________________________________
Do you Yahoo!?
Yahoo! Mail - 250MB free storage. Do more. Manage less.
http://info.mail.yahoo.com/mail_250
From owner-freebsd-questions@FreeBSD.ORG Sun Feb 20 02:35:39 2005
Return-Path:
Delivered-To: freebsd-questions@freebsd.org
Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125])
by hub.freebsd.org (Postfix) with ESMTP id 6207216A4CE
for ;
Sun, 20 Feb 2005 02:35:39 +0000 (GMT)
Received: from ix.networx.com.sg (ix.networx.com.sg [202.172.254.4])
by mx1.FreeBSD.org (Postfix) with ESMTP id 432C943D41
for ;
Sun, 20 Feb 2005 02:35:38 +0000 (GMT)
(envelope-from spades@galaxynet.org)
Received: from astral ([150.101.180.253])
by ix.networx.com.sg (8.12.11/8.11.3) with SMTP id j1K2dXeg059322;
Sun, 20 Feb 2005 10:39:38 +0800 (SGT)
(envelope-from spades@galaxynet.org)
Message-ID: <008201c516f4$d9e78ff0$0a01a8c0@astral>
From: "Spades"
To: "Chad Leigh -- Shire.Net LLC" ,
"Sandy Rutherford"
References:
<421467C0.9060801@ant.uni-bremen.de><42159B2C.3000000@ant.uni-bremen.de>
<200502181015.44103.karelj@kayjay.nl><00b301c5164e$ae86b0d0$162dc2cb@astral><5895876136a642eb60e73d6ebe87729c@shire.net><16918.60595.297759.953364@szamoca.krvarr.bc.ca>
<6463233752496ef9dc7301fd33c035c9@shire.net>
Date: Sun, 20 Feb 2005 11:39:10 +1000
MIME-Version: 1.0
Content-Type: text/plain;
format=flowed;
charset="Windows-1252";
reply-type=response
Content-Transfer-Encoding: 8bit
X-Priority: 3
X-MSMail-Priority: Normal
X-Mailer: Microsoft Outlook Express 6.00.2900.2180
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.2180
cc: freebsd-questions@freebsd.org
Subject: Re: raid1
X-BeenThere: freebsd-questions@freebsd.org
X-Mailman-Version: 2.1.1
Precedence: list
Reply-To: Spades
List-Id: User questions
List-Unsubscribe: ,
List-Archive:
List-Post:
List-Help:
List-Subscribe: ,
X-List-Received-Date: Sun, 20 Feb 2005 02:35:39 -0000
How do we check if FreeBSD recorgnises it as individual drives or Hardware
RAID array.
----- Original Message -----
From: "Chad Leigh -- Shire.Net LLC"
To: "Sandy Rutherford"
Cc: ; "Spades"
Sent: Saturday, February 19, 2005 5:46 PM
Subject: Re: raid1
On Feb 19, 2005, at 12:37 AM, Sandy Rutherford wrote:
>>>>>> On Fri, 18 Feb 2005 23:51:53 -0700,
>>>>>> "Chad Leigh -- Shire.Net LLC" said:
>
>> On Feb 18, 2005, at 11:39 PM, Spades wrote:
>
>>> hi, my server hardware supports hardware raid, i installed it
>>> as per normal freebsd 5.3, however i see no difference
>>> in df. its using 2 x 160GB, what do i do during the installation
>>> to enable the raid?
>>>
>>> mobo:
>>> http://www.supermicro.com/products/motherboard/Xeon800/E7320/X6DVL-
>>> EG.cfm
>>>
>>> -bash-2.05b$ df
>>> Filesystem 1K-blocks Used Avail Capacity Mounted on
>>> /dev/ad4s1a 66008394 35424 60692300 0% /
>>> devfs 1 1 0 100% /dev
>>> ...
>
>> What do you expect to see?
>
>> A raid1 is a mirror set and to the OS would probably look like a single
>> drive if it truly is a HW raid
>
> This should be true of any hardware RAID level, not just RAID1. The
> HW RAID presents logical drives to the OS, which look like real drives
> to it. The caveat is that the RAID driver will appear as the disk
> type. I don't have any experience with SATA RAID, but on my server,
> which has a Mylex ExtremeRAID 1100 SCSI RAID card, a df gives:
>
> Filesystem 1K-blocks Used Avail Capacity Mounted on
> /dev/mlxd0s1a ...
> /dev/mlxd0s1d ...
> /dev/mlxd0s1h ...
> /dev/mlxd0s1e ...
> /dev/mlxd0s1f ...
> /dev/mlxd0s1g ...
> /dev/mlxd1s1e ...
> /dev/mlxd1s1f ...
> /dev/mlxd1s1g ...
> /dev/mlxd2s1e ...
>
> mlx(4) is the driver for this card. The underlying hard drive
> structure doesn't look anything like the above, but this is irrelevant
> to the OS.
>
> Regarding your situation, I believe that your MB uses an Adaptec SATA
> controller. You should find out exactly what the controller is and if
> it is supported in "Hardware Notes". I would expect that if your
> controller is supported and found, then "ad" should be replaced by the
> relevant driver. Also, have a look at the dmesg output. There should
> be some sign that the OS is recognizing your RAID controller.
>
According to the MB specs at the URL given by the OP, the SATA is an
Intel 6300ESB (part of a more general IO chip)
" • 6300ESB (Hance Rapids) SATA Controller (2x Drive support)
• 2x SATA Ports
• RAID 0, 1, JBOD support"
I don't see any specific mention of this in any of the HW notes for
5.3. I would be interested to see the dmesg output at boot time to see
what the system sees for devices and controllers. If it is an ATA raid
(pseudo HW RAID) then it would show as arX devices and not adX
according to the handbook.
Chad
_______________________________________________
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd.org"
From owner-freebsd-questions@FreeBSD.ORG Sun Feb 20 02:41:18 2005
Return-Path:
Delivered-To: freebsd-questions@freebsd.org
Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125])
by hub.freebsd.org (Postfix) with ESMTP id 22F7616A4CE
for ;
Sun, 20 Feb 2005 02:41:18 +0000 (GMT)
Received: from rwcrmhc13.comcast.net (rwcrmhc13.comcast.net [204.127.198.39])
by mx1.FreeBSD.org (Postfix) with ESMTP id EB56443D39
for ;
Sun, 20 Feb 2005 02:41:17 +0000 (GMT)
(envelope-from fbsd-questions@trini0.org)
Received: from hivemind.trini0.org (trini0.org[65.34.205.195])
by comcast.net (rwcrmhc13) with ESMTP
id <2005022002411701500kuh0ce>; Sun, 20 Feb 2005 02:41:17 +0000
Received: from [192.168.0.16] (gladiator.trini0.org [192.168.0.16])
by hivemind.trini0.org (Postfix) with ESMTP id 118E16125
for ;
Sat, 19 Feb 2005 21:41:17 -0500 (EST)
Message-ID: <4217F8CF.5030508@trini0.org>
Date: Sat, 19 Feb 2005 21:41:19 -0500
From: Gerard Samuel
User-Agent: Mozilla Thunderbird 1.0 (X11/20050122)
X-Accept-Language: en-us, en
MIME-Version: 1.0
To: freebsd-questions
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding: 7bit
Subject: Reconfiguring my network
X-BeenThere: freebsd-questions@freebsd.org
X-Mailman-Version: 2.1.1
Precedence: list
List-Id: User questions
List-Unsubscribe: ,
List-Archive:
List-Post:
List-Help:
List-Subscribe: ,
X-List-Received-Date: Sun, 20 Feb 2005 02:41:18 -0000
I currently own my own domain name, and run a dns server that services
only the lan (i.e. It just forwards requests to my ISP's dns server, and
resolves
computers on the lan).
Other services, (i.e. www/mail/cvs/etc) are port forwarded through the
firewall.
The setup is ok, but I have it in my mind, that I can *grow* the setup
beyond what it is currently (its been this way for the past
4-5 years, and Im looking to see if it can change).
Today, I've been trying to see if it was possible to get the dns
server/lan,
more accessible to the internet, so that I can do away with port forwarding
(maybe not completely).
Where other dns servers can query my dns server, so
that the lan is more accessible (maybe not the right word), with
some voodoo to get around a *real* single ip, and internal virtual ip
addresss.
Is it even possible with a setup like mine (psuedo diagram below)?
If so, can you give a synopsis on what to do, and or any resources on
the net
that can guide me?
Thanks for your time.
INTERNET
|
|
FIREWALL (FreeBSD running DNS/DHCP/IPF/IPNAT)
|
|
SWITCH
|
|
LAN (Various servers & workstations)
From owner-freebsd-questions@FreeBSD.ORG Sun Feb 20 02:44:25 2005
Return-Path:
Delivered-To: freebsd-questions@freebsd.org
Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125])
by hub.freebsd.org (Postfix) with ESMTP id 797F016A4CE
for ; Sun, 20 Feb 2005 02:44:25 +0000 (GMT)
Received: from rwcrmhc13.comcast.net (rwcrmhc13.comcast.net [204.127.198.39])
by mx1.FreeBSD.org (Postfix) with ESMTP id 49B5A43D53
for ; Sun, 20 Feb 2005 02:44:25 +0000 (GMT)
(envelope-from fbsd-questions@trini0.org)
Received: from hivemind.trini0.org (trini0.org[65.34.205.195])
by comcast.net (rwcrmhc13) with ESMTP
id <2005022002442501500l3cj5e>; Sun, 20 Feb 2005 02:44:25 +0000
Received: from [192.168.0.16] (gladiator.trini0.org [192.168.0.16])
by hivemind.trini0.org (Postfix) with ESMTP id A3B8A6125;
Sat, 19 Feb 2005 21:44:24 -0500 (EST)
Message-ID: <4217F98B.7070605@trini0.org>
Date: Sat, 19 Feb 2005 21:44:27 -0500
From: Gerard Samuel
User-Agent: Mozilla Thunderbird 1.0 (X11/20050122)
X-Accept-Language: en-us, en
MIME-Version: 1.0
To: Andrei Iarus
References: <20050220022403.72598.qmail@web51710.mail.yahoo.com>
In-Reply-To: <20050220022403.72598.qmail@web51710.mail.yahoo.com>
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding: 7bit
cc: questions@freebsd.org
Subject: Re: PHP
X-BeenThere: freebsd-questions@freebsd.org
X-Mailman-Version: 2.1.1
Precedence: list
List-Id: User questions
List-Unsubscribe: ,
List-Archive:
List-Post:
List-Help:
List-Subscribe: ,
X-List-Received-Date: Sun, 20 Feb 2005 02:44:25 -0000
Andrei Iarus wrote:
>I have installed apache-1.3.33_1, php5-5.0.3_1. And I
>tried to run simple scripts like:
>
>
> PHP Test
>
>
> Hello World'; ?>
>
>
>and the output was an unexpected one:
>
> Hello World
>
>'; ?>
>It also doesn`t outputs anything when using the
>phpversion() function. A possible bug? Before
>reporting this as a bug, I wanted to check if there
>was someone else with similar problems(or may be I did
>something wrong).
>
First guess. Apache doesn't know about
And see what it does...
From owner-freebsd-questions@FreeBSD.ORG Sun Feb 20 03:04:28 2005
Return-Path:
Delivered-To: freebsd-questions@freebsd.org
Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125])
by hub.freebsd.org (Postfix) with ESMTP id 75ACE16A4CE
for ; Sun, 20 Feb 2005 03:04:28 +0000 (GMT)
Received: from mail.iinet.net.au (mail-09.iinet.net.au [203.59.3.41])
by mx1.FreeBSD.org (Postfix) with SMTP id 46EB943D2F
for ; Sun, 20 Feb 2005 03:04:27 +0000 (GMT)
(envelope-from forums@jefferyfernandez.id.au)
Received: (qmail 8665 invoked from network); 20 Feb 2005 03:04:26 -0000
Received: from unknown (HELO ?10.1.1.66?) (203.173.46.98)
by mail.iinet.net.au with SMTP; 20 Feb 2005 03:04:25 -0000
Message-ID: <4217FE39.4030206@jefferyfernandez.id.au>
Date: Sun, 20 Feb 2005 14:04:25 +1100
From: Jeffery Fernandez
User-Agent: Mozilla Thunderbird 0.9 (X11/20041103)
X-Accept-Language: en-us, en
MIME-Version: 1.0
To: Gerard Samuel
References: <20050220022403.72598.qmail@web51710.mail.yahoo.com>
<4217F98B.7070605@trini0.org>
In-Reply-To: <4217F98B.7070605@trini0.org>
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding: 7bit
cc: questions@freebsd.org
Subject: Re: PHP
X-BeenThere: freebsd-questions@freebsd.org
X-Mailman-Version: 2.1.1
Precedence: list
List-Id: User questions
List-Unsubscribe: ,
List-Archive:
List-Post:
List-Help:
List-Subscribe: ,
X-List-Received-Date: Sun, 20 Feb 2005 03:04:28 -0000
Gerard Samuel wrote:
> Andrei Iarus wrote:
>
>> I have installed apache-1.3.33_1, php5-5.0.3_1. And I
>> tried to run simple scripts like:
>>
>> PHP Test
>>
>>
>> Hello World'; ?>
>>
>>
>> and the output was an unexpected one:
>> Hello World
>>
>> '; ?>
>> It also doesn`t outputs anything when using the
>> phpversion() function. A possible bug? Before
>> reporting this as a bug, I wanted to check if there
>> was someone else with similar problems(or may be I did
>> something wrong).
>
>
> First guess. Apache doesn't know about If you installed php via the port, apache is configured automatically.
> So I have to ask. Did you restart apache??
> Just create a file (index.php), and in it put
>
>
> And see what it does...
> _______________________________________________
> freebsd-questions@freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-questions
> To unsubscribe, send any mail to
> "freebsd-questions-unsubscribe@freebsd.org"
>
>
You will have to add the following entries to the httpd.conf file for
apache to understand its a php file
AddType application/x-httpd-php .php
AddType application/x-httpd-php-source .phps
I don't know if its any different for PHP5 but for PHP4 thats what you
need to add.
cheers,
Jeffery
From owner-freebsd-questions@FreeBSD.ORG Sun Feb 20 03:18:51 2005
Return-Path:
Delivered-To: freebsd-questions@freebsd.org
Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125])
by hub.freebsd.org (Postfix) with ESMTP id 06A0E16A4CE
for ; Sun, 20 Feb 2005 03:18:51 +0000 (GMT)
Received: from ns1.tiadon.com (SMTP.tiadon.com [69.27.132.161])
by mx1.FreeBSD.org (Postfix) with ESMTP id 86C6043D45
for ; Sun, 20 Feb 2005 03:18:50 +0000 (GMT)
(envelope-from kdk@daleco.biz)
Received: from [69.27.131.0] ([69.27.131.0]) by ns1.tiadon.com with Microsoft
SMTPSVC(6.0.3790.211); Sat, 19 Feb 2005 21:18:51 -0600
Message-ID: <42180198.2030702@daleco.biz>
Date: Sat, 19 Feb 2005 21:18:48 -0600
From: Kevin Kinsey
User-Agent: Mozilla/5.0 (X11; U; FreeBSD i386; en-US; rv:1.7.3) Gecko/20041210
X-Accept-Language: en-us, en
MIME-Version: 1.0
To: Andrei Iarus
References: <20050220022403.72598.qmail@web51710.mail.yahoo.com>
In-Reply-To: <20050220022403.72598.qmail@web51710.mail.yahoo.com>
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding: 7bit
X-OriginalArrivalTime: 20 Feb 2005 03:18:52.0485 (UTC)
FILETIME=[E71AB750:01C516FA]
cc: questions@freebsd.org
Subject: Re: PHP
X-BeenThere: freebsd-questions@freebsd.org
X-Mailman-Version: 2.1.1
Precedence: list
List-Id: User questions
List-Unsubscribe: ,
List-Archive:
List-Post:
List-Help:
List-Subscribe: ,
X-List-Received-Date: Sun, 20 Feb 2005 03:18:51 -0000
Andrei Iarus wrote:
>I have installed apache-1.3.33_1, php5-5.0.3_1. And I
>tried to run simple scripts like:
>
>
> PHP Test
>
>
> Hello World'; ?>
>
>
>and the output was an unexpected one:
>
> Hello World
>
>'; ?>
>It also doesn`t outputs anything when using the
>phpversion() function. A possible bug? Before
>reporting this as a bug, I wanted to check if there
>was someone else with similar problems(or may be I did
>something wrong).
>
>
Simple configuration needed. Note that this is PHP4.
***These are my comments*** (be sure not to put _them_
into your httpd.conf).
-----------------------------------------------------------------------------------------------------------
#grep -A 2 php /usr/local/etc/apache/httpd.conf
LoadModule php4_module /usr/local/libexec/apache/libphp4.so
***this is necessary.***
AddModule mod_php4.c
***so is this.***
DirectoryIndex index.php index.html
***tells Apache to use "index.php" as the preferred index,
if not present, then use "index.html" if it exists***
AddType application/x-httpd-php .php .html .asp .php3
AddType application/x-httpd-php-source .phps
***a little overkill, mostly for humor. My development server
treats files ending in "php", "html" and "asp" as php files and
parses them looking for PHP (mostly as a political statement).***
-----------------------------------------------------------------------------------------------------------------
Basically, you must have 1]LoadModule 2]AddModule and
3]AddType declarations in httpd.conf, then restart Apache
and your scripts should work fine.
HTH, Kevin Kinsey
From owner-freebsd-questions@FreeBSD.ORG Sun Feb 20 03:20:59 2005
Return-Path:
Delivered-To: freebsd-questions@freebsd.org
Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125])
by hub.freebsd.org (Postfix) with ESMTP id 9B53316A4CE
for ; Sun, 20 Feb 2005 03:20:59 +0000 (GMT)
Received: from sccrmhc13.comcast.net (sccrmhc13.comcast.net [204.127.202.64])
by mx1.FreeBSD.org (Postfix) with ESMTP id 12AD043D48
for ; Sun, 20 Feb 2005 03:20:58 +0000 (GMT)
(envelope-from fbsd-questions@trini0.org)
Received: from hivemind.trini0.org (trini0.org[65.34.205.195])
by comcast.net (sccrmhc13) with ESMTP
id <2005022003205201600sdqrfe>; Sun, 20 Feb 2005 03:20:56 +0000
Received: from [192.168.0.16] (gladiator.trini0.org [192.168.0.16])
by hivemind.trini0.org (Postfix) with ESMTP id 44B6960D3;
Sat, 19 Feb 2005 22:20:52 -0500 (EST)
Message-ID: <42180216.1020109@trini0.org>
Date: Sat, 19 Feb 2005 22:20:54 -0500
From: Gerard Samuel
User-Agent: Mozilla Thunderbird 1.0 (X11/20050122)
X-Accept-Language: en-us, en
MIME-Version: 1.0
To: Jeffery Fernandez
References: <20050220022403.72598.qmail@web51710.mail.yahoo.com>
<4217F98B.7070605@trini0.org> <4217FE39.4030206@jefferyfernandez.id.au>
In-Reply-To: <4217FE39.4030206@jefferyfernandez.id.au>
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding: 7bit
cc: questions@freebsd.org
Subject: Re: PHP
X-BeenThere: freebsd-questions@freebsd.org
X-Mailman-Version: 2.1.1
Precedence: list
List-Id: User questions
List-Unsubscribe: ,
List-Archive:
List-Post:
List-Help:
List-Subscribe: ,
X-List-Received-Date: Sun, 20 Feb 2005 03:20:59 -0000
Jeffery Fernandez wrote:
> Gerard Samuel wrote:
>
>> Andrei Iarus wrote:
>>
>>> I have installed apache-1.3.33_1, php5-5.0.3_1. And I
>>> tried to run simple scripts like:
>>>
>>> PHP Test
>>>
>>>
>>> Hello World'; ?>
>>>
>>>
>>> and the output was an unexpected one:
>>> Hello World
>>>
>>> '; ?>
>>> It also doesn`t outputs anything when using the
>>> phpversion() function. A possible bug? Before
>>> reporting this as a bug, I wanted to check if there
>>> was someone else with similar problems(or may be I did
>>> something wrong).
>>
>>
>>
>> First guess. Apache doesn't know about > If you installed php via the port, apache is configured automatically.
>> So I have to ask. Did you restart apache??
>> Just create a file (index.php), and in it put
>>
>>
>> And see what it does...
>> _______________________________________________
>> freebsd-questions@freebsd.org mailing list
>> http://lists.freebsd.org/mailman/listinfo/freebsd-questions
>> To unsubscribe, send any mail to
>> "freebsd-questions-unsubscribe@freebsd.org"
>>
>>
> You will have to add the following entries to the httpd.conf file for
> apache to understand its a php file
>
> AddType application/x-httpd-php .php
> AddType application/x-httpd-php-source .phps
>
> I don't know if its any different for PHP5 but for PHP4 thats what you
> need to add.
Forgot about that.
AddType application/x-httpd-php .php
AddType application/x-httpd-php-source .phps
is what I have (php 5.0.2), so I guess you are correct..
From owner-freebsd-questions@FreeBSD.ORG Sun Feb 20 03:24:39 2005
Return-Path:
Delivered-To: freebsd-questions@freebsd.org
Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125])
by hub.freebsd.org (Postfix) with ESMTP id 0DBB016A4CE
for ;
Sun, 20 Feb 2005 03:24:39 +0000 (GMT)
Received: from frontend2.cwpanama.net (frontend2.cwpanama.net
[201.225.225.168])
by mx1.FreeBSD.org (Postfix) with ESMTP id 57F3C43D46
for ;
Sun, 20 Feb 2005 03:24:38 +0000 (GMT)
(envelope-from eballis@cwpanama.net)
Received: from [201.226.44.2] (HELO ballis)
by frontend2.cwpanama.net (CommuniGate Pro SMTP 4.2.1)
with ESMTP id 35785714 for freebsd-questions@freebsd.org;
Sat, 19 Feb 2005 22:23:57 -0500
From: "Euripides Ballis"
To:
Date: Sat, 19 Feb 2005 22:24:38 -0500
MIME-Version: 1.0
X-Mailer: Microsoft Office Outlook, Build 11.0.5510
Thread-Index: AcUW+7T0DRF7//m7TiOxiI+9A7V1Xg==
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.2527
Message-ID:
Content-Type: text/plain;
charset="us-ascii"
Content-Transfer-Encoding: 7bit
X-Content-Filtered-By: Mailman/MimeDel 2.1.1
Subject: Enlightenment desktop
X-BeenThere: freebsd-questions@freebsd.org
X-Mailman-Version: 2.1.1
Precedence: list
List-Id: User questions
List-Unsubscribe: ,
List-Archive:
List-Post:
List-Help:
List-Subscribe: ,
X-List-Received-Date: Sun, 20 Feb 2005 03:24:39 -0000
People I a new user. Exist a forum for me or if this can help me: I dont
know how i can load or install enlightenemet in freebsd 5.3
From owner-freebsd-questions@FreeBSD.ORG Sun Feb 20 03:29:23 2005
Return-Path:
Delivered-To: freebsd-questions@freebsd.org
Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125])
by hub.freebsd.org (Postfix) with ESMTP id E452516A4CE
for ;
Sun, 20 Feb 2005 03:29:23 +0000 (GMT)
Received: from rproxy.gmail.com (rproxy.gmail.com [64.233.170.201])
by mx1.FreeBSD.org (Postfix) with ESMTP id 4855443D55
for ;
Sun, 20 Feb 2005 03:29:23 +0000 (GMT)
(envelope-from dawgeestyle@gmail.com)
Received: by rproxy.gmail.com with SMTP id a41so113790rng
for ;
Sat, 19 Feb 2005 19:29:22 -0800 (PST)
DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws;
s=beta; d=gmail.com;
h=received:message-id:date:from:reply-to:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:references;
b=uRCTvCtGyCNgaZQLr42djKDBaXLb/hmyGoeOx89lHaLxGGK2QwQklhz9kK1J3bvchA2l8ttRvz06R+p2BIClpXJ7JCsRO8B5WiT1amYNEf/EpeMiCTpdRFZxjtWA/6AEYV7bRN9mdl9kEKDR4Iphv0M8QYVSulbHyNpdVOHgh9Q=
Received: by 10.38.162.2 with SMTP id k2mr74139rne;
Sat, 19 Feb 2005 19:29:22 -0800 (PST)
Received: by 10.38.73.32 with HTTP; Sat, 19 Feb 2005 19:29:22 -0800 (PST)
Message-ID: <5ae9cd5505021919294cd36733@mail.gmail.com>
Date: Sat, 19 Feb 2005 22:29:22 -0500
From: Benjamin Dover
To: Euripides Ballis
In-Reply-To:
Mime-Version: 1.0
Content-Type: text/plain; charset=US-ASCII
Content-Transfer-Encoding: 7bit
References:
cc: FreeBSD Mailing List
Subject: Re: Enlightenment desktop
X-BeenThere: freebsd-questions@freebsd.org
X-Mailman-Version: 2.1.1
Precedence: list
Reply-To: Benjamin Dover
List-Id: User questions
List-Unsubscribe: ,
List-Archive:
List-Post:
List-Help:
List-Subscribe: ,
X-List-Received-Date: Sun, 20 Feb 2005 03:29:24 -0000
On Sat, 19 Feb 2005 22:24:38 -0500, Euripides Ballis
wrote:
> People I a new user. Exist a forum for me or if this can help me: I dont
> know how i can load or install enlightenemet in freebsd 5.3
>
> _______________________________________________
> freebsd-questions@freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-questions
> To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd.org"
>
I don't know anything about it but from the following you can see
where to find it in ports:
w00f# whereis enlightenment
enlightenment: /usr/ports/x11-wm/enlightenment
make sure you have xorg installed and cd to the above and make install clean
From owner-freebsd-questions@FreeBSD.ORG Sun Feb 20 04:47:29 2005
Return-Path:
Delivered-To: freebsd-questions@freebsd.org
Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125])
by hub.freebsd.org (Postfix) with ESMTP id B2D4616A4CE
for ;
Sun, 20 Feb 2005 04:47:29 +0000 (GMT)
Received: from hobbiton.shire.net (hobbiton.shire.net [166.70.252.250])
by mx1.FreeBSD.org (Postfix) with ESMTP id 6274143D1F
for ;
Sun, 20 Feb 2005 04:47:29 +0000 (GMT) (envelope-from chad@shire.net)
Received: from [67.161.222.227] (helo=[192.168.99.68])
by hobbiton.shire.net with esmtpsa (TLSv1:RC4-SHA:128)
(Exim 4.43)
id 1D2j09-000IWp-NF; Sat, 19 Feb 2005 21:47:27 -0700
In-Reply-To: <008201c516f4$d9e78ff0$0a01a8c0@astral>
References:
<421467C0.9060801@ant.uni-bremen.de><42159B2C.3000000@ant.uni-bremen.de>
<200502181015.44103.karelj@kayjay.nl><00b301c5164e$ae86b0d0$162dc2cb@astral><5895876136a642eb60e73d6ebe87729c@shire.net><16918.60595.297759.953364@szamoca.krvarr.bc.ca>
<6463233752496ef9dc7301fd33c035c9@shire.net>
<008201c516f4$d9e78ff0$0a01a8c0@astral>
Mime-Version: 1.0 (Apple Message framework v619.2)
Message-Id: <7aa7839bec01936ea3c064a84ad69178@shire.net>
From: Chad Leigh -- Shire.Net LLC
Date: Sat, 19 Feb 2005 21:47:24 -0700
To: "Spades"
X-Mailer: Apple Mail (2.619.2)
X-SA-Exim-Connect-IP: 67.161.222.227
X-SA-Exim-Mail-From: chad@shire.net
Content-Type: text/plain; charset=WINDOWS-1252; format=flowed
Content-Transfer-Encoding: quoted-printable
X-Spam-Checker-Version: SpamAssassin 3.0.0 (2004-09-13) on hobbiton.shire.net
X-Spam-Status: No, score=-0.1 required=5.0 tests=AWL,BAYES_50
autolearn=disabled version=3.0.0
X-Spam-Level:
X-SA-Exim-Version: 4.1+cvs (built Mon, 23 Aug 2004 08:44:05 -0700)
X-SA-Exim-Scanned: Yes (on hobbiton.shire.net)
cc: List Free Bsd
Subject: Re: raid1
X-BeenThere: freebsd-questions@freebsd.org
X-Mailman-Version: 2.1.1
Precedence: list
List-Id: User questions
List-Unsubscribe: ,
List-Archive:
List-Post:
List-Help:
List-Subscribe: ,
X-List-Received-Date: Sun, 20 Feb 2005 04:47:29 -0000
On Feb 19, 2005, at 6:39 PM, Spades wrote:
> How do we check if FreeBSD recorgnises it as individual drives or=20
> Hardware RAID array.
Your raid chip appears to be a software ATA raid. man ata
The raid appears as arN according to man ata
look in the dmesg to see what happened at boot -- this will tell you=20=
how the controller and drives were found by FreeBSD
/var/run/dmesg.boot
Chad
>
> ----- Original Message ----- From: "Chad Leigh -- Shire.Net LLC"=20
>
> To: "Sandy Rutherford"
> Cc: ; "Spades"
> Sent: Saturday, February 19, 2005 5:46 PM
> Subject: Re: raid1
>
>
>
> On Feb 19, 2005, at 12:37 AM, Sandy Rutherford wrote:
>
>>>>>>> On Fri, 18 Feb 2005 23:51:53 -0700,
>>>>>>> "Chad Leigh -- Shire.Net LLC" said:
>>
>>> On Feb 18, 2005, at 11:39 PM, Spades wrote:
>>
>>>> hi, my server hardware supports hardware raid, i installed it
>>>> as per normal freebsd 5.3, however i see no difference
>>>> in df. its using 2 x 160GB, what do i do during the installation
>>>> to enable the raid?
>>>>
>>>> mobo:
>>>> http://www.supermicro.com/products/motherboard/Xeon800/E7320/X6DVL-
>>>> EG.cfm
>>>>
>>>> -bash-2.05b$ df
>>>> Filesystem 1K-blocks Used Avail Capacity Mounted on
>>>> /dev/ad4s1a 66008394 35424 60692300 0% /
>>>> devfs 1 1 0 100% /dev
>>>> ...
>>
>>> What do you expect to see?
>>
>>> A raid1 is a mirror set and to the OS would probably look like a=20
>>> single
>>> drive if it truly is a HW raid
>>
>> This should be true of any hardware RAID level, not just RAID1. The
>> HW RAID presents logical drives to the OS, which look like real =
drives
>> to it. The caveat is that the RAID driver will appear as the disk
>> type. I don't have any experience with SATA RAID, but on my server,
>> which has a Mylex ExtremeRAID 1100 SCSI RAID card, a df gives:
>>
>> Filesystem 1K-blocks Used Avail Capacity Mounted =
on
>> /dev/mlxd0s1a ...
>> /dev/mlxd0s1d ...
>> /dev/mlxd0s1h ...
>> /dev/mlxd0s1e ...
>> /dev/mlxd0s1f ...
>> /dev/mlxd0s1g ...
>> /dev/mlxd1s1e ...
>> /dev/mlxd1s1f ...
>> /dev/mlxd1s1g ...
>> /dev/mlxd2s1e ...
>>
>> mlx(4) is the driver for this card. The underlying hard drive
>> structure doesn't look anything like the above, but this is =
irrelevant
>> to the OS.
>>
>> Regarding your situation, I believe that your MB uses an Adaptec SATA
>> controller. You should find out exactly what the controller is and =
if
>> it is supported in "Hardware Notes". I would expect that if your
>> controller is supported and found, then "ad" should be replaced by =
the
>> relevant driver. Also, have a look at the dmesg output. There =
should
>> be some sign that the OS is recognizing your RAID controller.
>>
>
> According to the MB specs at the URL given by the OP, the SATA is an
> Intel 6300ESB (part of a more general IO chip)
>
> " =95 6300ESB (Hance Rapids) SATA Controller (2x Drive support)
> =95 2x SATA Ports
> =95 RAID 0, 1, JBOD support"
>
>
> I don't see any specific mention of this in any of the HW notes for
> 5.3. I would be interested to see the dmesg output at boot time to =
see
> what the system sees for devices and controllers. If it is an ATA =
raid
> (pseudo HW RAID) then it would show as arX devices and not adX
> according to the handbook.
>
> Chad
>
> _______________________________________________
> freebsd-questions@freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-questions
> To unsubscribe, send any mail to=20
> "freebsd-questions-unsubscribe@freebsd.org"
From owner-freebsd-questions@FreeBSD.ORG Sun Feb 20 07:24:03 2005
Return-Path:
Delivered-To: freebsd-questions@freebsd.org
Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125])
by hub.freebsd.org (Postfix) with ESMTP id 9449B16A4CE
for ;
Sun, 20 Feb 2005 07:24:03 +0000 (GMT)
Received: from rproxy.gmail.com (rproxy.gmail.com [64.233.170.207])
by mx1.FreeBSD.org (Postfix) with ESMTP id C9F2C43D45
for ;
Sun, 20 Feb 2005 07:24:02 +0000 (GMT)
(envelope-from perikillo@gmail.com)
Received: by rproxy.gmail.com with SMTP id a41so124004rng
for ;
Sat, 19 Feb 2005 23:24:02 -0800 (PST)
DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws;
s=beta; d=gmail.com;
h=received:message-id:date:from:reply-to:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:references;
b=mNDbW4EbgOa5nU2KsImEvOgLpWgR8alaQjZv/JTde1PvV032K6/jKD1DDVAacN6fT4x2EzCXabberLAC0W9JUocnasls24yT51F7337JWvOSCGE3FNhBr3uqY1Vn+t3mf2ZsAfb9xWXZxnDt9pjauq2rFNpkPrV4pOIJ/FlkkLA=
Received: by 10.38.68.14 with SMTP id q14mr524382rna;
Sat, 19 Feb 2005 23:24:02 -0800 (PST)
Received: by 10.38.98.35 with HTTP; Sat, 19 Feb 2005 23:24:01 -0800 (PST)
Message-ID: <51d7a5160502192324f17fb9d@mail.gmail.com>
Date: Sat, 19 Feb 2005 23:24:01 -0800
From: perikillo
To: freebsd-questions@freebsd.org
In-Reply-To: <51d7a5160502180858643e2bdc@mail.gmail.com>
Mime-Version: 1.0
Content-Type: text/plain; charset=US-ASCII
Content-Transfer-Encoding: 7bit
References: <51d7a5160502171525353f3bfc@mail.gmail.com>
<7cbadc87050218033547d9ce8d@mail.gmail.com>
<51d7a5160502180858643e2bdc@mail.gmail.com>
cc: questions@freebsd.org
Subject: Re: How change the FTP_PASSIVE_MODE?
X-BeenThere: freebsd-questions@freebsd.org
X-Mailman-Version: 2.1.1
Precedence: list
Reply-To: perikillo
List-Id: User questions
List-Unsubscribe: ,
List-Archive:
List-Post:
List-Help:
List-Subscribe: ,
X-List-Received-Date: Sun, 20 Feb 2005 07:24:03 -0000
FTP Passive problems fix.
After making some test with different advices from this and
another list i could fix my problem, the situation was that went i was
trying to access ftp.freebsd.org, i cannot use the ls command, them
someone say:
--Use the IP address of the server you want to access
map tun0 192.168.0.1/24 -> 204.152.184.73/32 proxy port ftp ftp/tcp
map tun0 192.168.0.1/24 -> 0/32 proxy port ftp ftp/tcp
map tun0 192.168.0.1/24 -> 0/32 portmap 20000:60000
map tun0 192.168.0.1/24 -> 0/32
Results:
ftp> ls
no route to host
---Use the port 20 on ipf.rules some servers works like.
pass out quick on tun0 proto tcp from any to any port 21 flags S keep state
pass out quick on tun0 proto tcp from any to any port 20 flags S keep state
/etc/ipnat.rules the same
Results:
ftp> ls
no route to host
--Them after read, change, save, test, with ipnat this two scripts make the job:
map tun0 0/0 -> 0/32 proxy port ftp ftp/tcp
map tun0 0/0 -> 0/32 portmap 20000:60000
map tun0 0/0 -> 0/32
and
map tun0 192.168.0.1/0 -> 0/32 proxy port ftp ftp/tcp
map tun0 192.168.0.1/0 -> 0/32 portmap 20000:60000
map tun0 192.168.0.1/0 -> 0/32
Delete the port 20 from /etc/ipf.rules
set enviroment var FTP_PASSIVE_MODE no
ipf# setenv FTP_PASSIVE_MODE no
Result:
ftp> ls
bla bla bla...................etc
bla bla bla...................pub
OK, my rules are working, now i need to check wich script is better, i
still have the doubt on:-? The machine that was having this problems
was my firewall unsing Freebsd 4.11 release, IPFILTER on kernel
v3.4.35, sometimes i need to access the freebsd servers to check
information and found this problems, but they are resolved ;-).
my client win2k is working very well
Firefox 1.0 www and ftp ok
Explorer 6.0 www and ftp ok
cmd ftp ok
I only need to read about this two scripts, any information about
the differents i will apreciate.
Thanks.
On Fri, 18 Feb 2005 08:58:46 -0800, perikillo wrote:
> On Fri, 18 Feb 2005 13:35:28 +0200, Nelis Lamprecht
> wrote:
> > On Thu, 17 Feb 2005 15:25:13 -0800, perikillo wrote:
> > > Hi, i have been around reading docs about the problem we have a lot
> > > of people went we try to access one ftp server on the Internet,
> > > normally the (Passive servers), in the past i was using rules on
> > > IPFILTER(freebsd 4.10 p5, think is the 3.4.31?? the one it cames
> > > with), my rule was:
> > >
> > > To block all that arrives to my tun0(IN), and let out all the
> > > packets of my internal cients over tun0 and keep state. it was easy,
> > > only let my users go to outside world. My ipnat it was simply, only:
> > >
> > > map tun0 198.168.1.0/24 -> 0/32
> > >
> > > With this all my clients(win2k, win98, Freebsd, win XP) where happy
> > > and secure.
> > >
> > > Them i decide to change my rules be more define, i read the
> > > handbook, and start making changes:
> > >
> > > Block in all over my tun0 and let out any package over my tun0 only to:
> > > port 21, 53, 80, 443, 5999, all the handbook say, services that i know
> > > that normally went someone surf the web he is going to connect to
> > > those services.
> > >
> > > I change my nat:
> > >
> > > map tun0 198.168.1.0//24 -> proxy port 21 ftp/tcp
> > > map tun0 192.168.1.0/24 -> 0/32 portmap tcp/udp 20000:60000
> > > map tun0 192.168.1.0/24 -> 0/32
> > >
> > > Is ok, i can surf the web, but went i went to the freebsd server,
> > > what happend:
> > >
> > > ftp: ls
> > > entering passive mode(bla, bla, bla)
> > > ftp: connect no route to host
> > >
> >
> > hi,
> >
> > to solve your problem or you should need to do is add another rule for
> > the actual freebsd server:
> >
> > map tun0 198.168.1.1/32 -> 198.168.1.1/32 proxy port ftp ftp/tcp
> >
> > the above rule assumes 198.168.1.1 is your freebsd server. this rule
> > should be placed first. you should also have a rule to pass out
> > traffic, something along the lines of:
> >
> > pass out quick on tun0 proto tcp from 198.168.1.0/24 to any port = 21
> > flags S keep state
> >
> > that should do the trick.
> >
> > cheers,
> > nelis
> >
>
From owner-freebsd-questions@FreeBSD.ORG Sun Feb 20 07:24:03 2005
Return-Path:
Delivered-To: freebsd-questions@freebsd.org
Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125])
by hub.freebsd.org (Postfix) with ESMTP id 96C5216A4CF
for ; Sun, 20 Feb 2005 07:24:03 +0000 (GMT)
Received: from rproxy.gmail.com (rproxy.gmail.com [64.233.170.192])
by mx1.FreeBSD.org (Postfix) with ESMTP id C9DC343D41
for ; Sun, 20 Feb 2005 07:24:02 +0000 (GMT)
(envelope-from perikillo@gmail.com)
Received: by rproxy.gmail.com with SMTP id a41so124005rng
for ; Sat, 19 Feb 2005 23:24:02 -0800 (PST)
DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws;
s=beta; d=gmail.com;
h=received:message-id:date:from:reply-to:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:references;
b=mNDbW4EbgOa5nU2KsImEvOgLpWgR8alaQjZv/JTde1PvV032K6/jKD1DDVAacN6fT4x2EzCXabberLAC0W9JUocnasls24yT51F7337JWvOSCGE3FNhBr3uqY1Vn+t3mf2ZsAfb9xWXZxnDt9pjauq2rFNpkPrV4pOIJ/FlkkLA=
Received: by 10.38.68.14 with SMTP id q14mr524382rna;
Sat, 19 Feb 2005 23:24:02 -0800 (PST)
Received: by 10.38.98.35 with HTTP; Sat, 19 Feb 2005 23:24:01 -0800 (PST)
Message-ID: <51d7a5160502192324f17fb9d@mail.gmail.com>
Date: Sat, 19 Feb 2005 23:24:01 -0800
From: perikillo
To: freebsd-questions@freebsd.org
In-Reply-To: <51d7a5160502180858643e2bdc@mail.gmail.com>
Mime-Version: 1.0
Content-Type: text/plain; charset=US-ASCII
Content-Transfer-Encoding: 7bit
References: <51d7a5160502171525353f3bfc@mail.gmail.com>
<7cbadc87050218033547d9ce8d@mail.gmail.com>
<51d7a5160502180858643e2bdc@mail.gmail.com>
cc: questions@freebsd.org
Subject: Re: How change the FTP_PASSIVE_MODE?
X-BeenThere: freebsd-questions@freebsd.org
X-Mailman-Version: 2.1.1
Precedence: list
Reply-To: perikillo
List-Id: User questions
List-Unsubscribe: ,
List-Archive:
List-Post:
List-Help:
List-Subscribe: ,
X-List-Received-Date: Sun, 20 Feb 2005 07:24:03 -0000
FTP Passive problems fix.
After making some test with different advices from this and
another list i could fix my problem, the situation was that went i was
trying to access ftp.freebsd.org, i cannot use the ls command, them
someone say:
--Use the IP address of the server you want to access
map tun0 192.168.0.1/24 -> 204.152.184.73/32 proxy port ftp ftp/tcp
map tun0 192.168.0.1/24 -> 0/32 proxy port ftp ftp/tcp
map tun0 192.168.0.1/24 -> 0/32 portmap 20000:60000
map tun0 192.168.0.1/24 -> 0/32
Results:
ftp> ls
no route to host
---Use the port 20 on ipf.rules some servers works like.
pass out quick on tun0 proto tcp from any to any port 21 flags S keep state
pass out quick on tun0 proto tcp from any to any port 20 flags S keep state
/etc/ipnat.rules the same
Results:
ftp> ls
no route to host
--Them after read, change, save, test, with ipnat this two scripts make the job:
map tun0 0/0 -> 0/32 proxy port ftp ftp/tcp
map tun0 0/0 -> 0/32 portmap 20000:60000
map tun0 0/0 -> 0/32
and
map tun0 192.168.0.1/0 -> 0/32 proxy port ftp ftp/tcp
map tun0 192.168.0.1/0 -> 0/32 portmap 20000:60000
map tun0 192.168.0.1/0 -> 0/32
Delete the port 20 from /etc/ipf.rules
set enviroment var FTP_PASSIVE_MODE no
ipf# setenv FTP_PASSIVE_MODE no
Result:
ftp> ls
bla bla bla...................etc
bla bla bla...................pub
OK, my rules are working, now i need to check wich script is better, i
still have the doubt on:-? The machine that was having this problems
was my firewall unsing Freebsd 4.11 release, IPFILTER on kernel
v3.4.35, sometimes i need to access the freebsd servers to check
information and found this problems, but they are resolved ;-).
my client win2k is working very well
Firefox 1.0 www and ftp ok
Explorer 6.0 www and ftp ok
cmd ftp ok
I only need to read about this two scripts, any information about
the differents i will apreciate.
Thanks.
On Fri, 18 Feb 2005 08:58:46 -0800, perikillo wrote:
> On Fri, 18 Feb 2005 13:35:28 +0200, Nelis Lamprecht
> wrote:
> > On Thu, 17 Feb 2005 15:25:13 -0800, perikillo wrote:
> > > Hi, i have been around reading docs about the problem we have a lot
> > > of people went we try to access one ftp server on the Internet,
> > > normally the (Passive servers), in the past i was using rules on
> > > IPFILTER(freebsd 4.10 p5, think is the 3.4.31?? the one it cames
> > > with), my rule was:
> > >
> > > To block all that arrives to my tun0(IN), and let out all the
> > > packets of my internal cients over tun0 and keep state. it was easy,
> > > only let my users go to outside world. My ipnat it was simply, only:
> > >
> > > map tun0 198.168.1.0/24 -> 0/32
> > >
> > > With this all my clients(win2k, win98, Freebsd, win XP) where happy
> > > and secure.
> > >
> > > Them i decide to change my rules be more define, i read the
> > > handbook, and start making changes:
> > >
> > > Block in all over my tun0 and let out any package over my tun0 only to:
> > > port 21, 53, 80, 443, 5999, all the handbook say, services that i know
> > > that normally went someone surf the web he is going to connect to
> > > those services.
> > >
> > > I change my nat:
> > >
> > > map tun0 198.168.1.0//24 -> proxy port 21 ftp/tcp
> > > map tun0 192.168.1.0/24 -> 0/32 portmap tcp/udp 20000:60000
> > > map tun0 192.168.1.0/24 -> 0/32
> > >
> > > Is ok, i can surf the web, but went i went to the freebsd server,
> > > what happend:
> > >
> > > ftp: ls
> > > entering passive mode(bla, bla, bla)
> > > ftp: connect no route to host
> > >
> >
> > hi,
> >
> > to solve your problem or you should need to do is add another rule for
> > the actual freebsd server:
> >
> > map tun0 198.168.1.1/32 -> 198.168.1.1/32 proxy port ftp ftp/tcp
> >
> > the above rule assumes 198.168.1.1 is your freebsd server. this rule
> > should be placed first. you should also have a rule to pass out
> > traffic, something along the lines of:
> >
> > pass out quick on tun0 proto tcp from 198.168.1.0/24 to any port = 21
> > flags S keep state
> >
> > that should do the trick.
> >
> > cheers,
> > nelis
> >
>
From owner-freebsd-questions@FreeBSD.ORG Sun Feb 20 07:40:14 2005
Return-Path:
Delivered-To: freebsd-questions@freebsd.org
Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125])
by hub.freebsd.org (Postfix) with ESMTP id 3254116A4CE
for ;
Sun, 20 Feb 2005 07:40:14 +0000 (GMT)
Received: from stewie.obfuscated.net (stewie.obfuscated.net [66.118.188.125])
by mx1.FreeBSD.org (Postfix) with ESMTP id 9AB1643D3F
for ;
Sun, 20 Feb 2005 07:40:13 +0000 (GMT) (envelope-from m@obmail.net)
Received: from [192.168.1.100] (653259hfc120.tampabay.res.rr.com
[65.32.59.120]) (using TLSv1 with cipher RC4-SHA (128/128 bits))
(No client certificate requested)
by stewie.obfuscated.net (Postfix) with ESMTP id 15C3460D1
for ;
Sun, 20 Feb 2005 02:40:13 -0500 (EST)
Mime-Version: 1.0 (Apple Message framework v619.2)
Content-Transfer-Encoding: 7bit
Message-Id:
Content-Type: text/plain; charset=US-ASCII; format=flowed
To: FreeBSD Mailing List
From: Michael Conlen
Date: Sun, 20 Feb 2005 02:40:11 -0500
X-Mailer: Apple Mail (2.619.2)
Subject: growfs
X-BeenThere: freebsd-questions@freebsd.org
X-Mailman-Version: 2.1.1
Precedence: list
List-Id: User questions
List-Unsubscribe: ,
List-Archive:
List-Post:
List-Help:
List-Subscribe: ,
X-List-Received-Date: Sun, 20 Feb 2005 07:40:14 -0000
On FreeBSD 5.3 I added disks to a disk array. The array contained two
250 GB disks stripped (actually four mirrored and striped but it's all
done in hardware). I added two more pairs to the virtual disk, rebooted
the machine, rewrote the disklabel for the additional capacity and ran
growfs. It would grow the filesystem to almost the end and reported
growfs: rdfs: seek error: :
unknown error: 0
I ran growfs with progressively smaller -s options, but the same thing
happens when it gets near the end of the new size of the file system.
fdisk reports the new size for the disk in sectors on partition 1 and
the cylinders, heads and sectors/track appear proper.
the only odd thing I notice is that
nfs2# fdisk -s /dev/da1s1
/dev/da1s1: 121341 cyl 255 hd 63 sec
Part Start Size Type Flags
4: 0 50000 0xa5 0x80
nfs2# fdisk -s /dev/da1
/dev/da1: 121342 cyl 255 hd 63 sec
Part Start Size Type Flags
1: 63 1949359167 0xa5 0x80
notice da1s1 lists part 4 as size 50000 (25 MB). da1 lists the
propersize.
disklabel looks right for da1s1
nfs2# disklabel -r /dev/da1s1
# /dev/da1s1:
8 partitions:
# size offset fstype [fsize bsize bps/cpg]
c: 1949359167 0 unused 0 0 # "raw" part,
don't edit
d: 1949359167 0 4.2BSD 2048 16384 28552
Now, I had gone through this process when upgrading from one pair to
two without a problem. I'm not sure where to start looking for issues
and am looking for a pointer of where to start looking or a better idea
of what info I need to debug this. Does anyone see something completely
out of whack?
From owner-freebsd-questions@FreeBSD.ORG Sun Feb 20 07:41:31 2005
Return-Path:
Delivered-To: freebsd-questions@freebsd.org
Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125])
by hub.freebsd.org (Postfix) with ESMTP id C5BB016A4CE
for ;
Sun, 20 Feb 2005 07:41:31 +0000 (GMT)
Received: from rproxy.gmail.com (rproxy.gmail.com [64.233.170.192])
by mx1.FreeBSD.org (Postfix) with ESMTP id 65B9E43D48
for ;
Sun, 20 Feb 2005 07:41:31 +0000 (GMT)
(envelope-from gert.cuykens@gmail.com)
Received: by rproxy.gmail.com with SMTP id a41so124710rng
for ;
Sat, 19 Feb 2005 23:41:31 -0800 (PST)
DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws;
s=beta; d=gmail.com;
h=received:message-id:date:from:reply-to:to:subject:in-reply-to:mime-version:content-type:content-transfer-encoding:references;
b=pDLAea3PSAtd4KtyBdcZ5UPxo5WcfNbZESPbp7howeHuR2AH/ePLdx3FdI/nPUudEqbB7tVIMfnvwPhJLVAJ9XXjwyWyRkbdSTaMutO9TaZrUv3ulPEFWuN9koIo51Y0j2rjZM1j/0/CHA23jlgXtTPahtSr8eVQErl50Vi5MOs=
Received: by 10.38.152.42 with SMTP id z42mr190097rnd;
Sat, 19 Feb 2005 23:41:30 -0800 (PST)
Received: by 10.38.74.23 with HTTP; Sat, 19 Feb 2005 23:41:30 -0800 (PST)
Message-ID:
Date: Sun, 20 Feb 2005 08:41:30 +0100
From: Gert Cuykens
To: freebsd-questions@freebsd.org
In-Reply-To: <675354920.20050220001731@wanadoo.fr>
Mime-Version: 1.0
Content-Type: text/plain; charset=US-ASCII
Content-Transfer-Encoding: 7bit
References:
<5b8472dd5925a0b0b59f15cd9f8e15f3@shire.net>
<675354920.20050220001731@wanadoo.fr>
Subject: Re: c++
X-BeenThere: freebsd-questions@freebsd.org
X-Mailman-Version: 2.1.1
Precedence: list
Reply-To: Gert Cuykens
List-Id: User questions
List-Unsubscribe: ,
List-Archive:
List-Post:
List-Help:
List-Subscribe: ,
X-List-Received-Date: Sun, 20 Feb 2005 07:41:31 -0000
On Sun, 20 Feb 2005 00:17:31 +0100, Anthony Atkielski
wrote:
> > A=*data
>
> The contents of the memory location pointed to by data is copied to A.
>
> > A=data
>
> The value of data is copied to A.
>
> > A=&data
>
> The address in memory of data is copied to A.
>
> --
> Anthony
>
So if data is declared as a gchar *data; for example, then the value
of data is a memory adress right ? So if A=data; and B=&data; then A
and B are exactly the same result right ?
Now why would anybody want a gchar when a integer is needed ? That is
just making it more complicated then it already is?
From owner-freebsd-questions@FreeBSD.ORG Sun Feb 20 07:59:27 2005
Return-Path:
Delivered-To: freebsd-questions@freebsd.org
Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125])
by hub.freebsd.org (Postfix) with ESMTP id 1B75F16A4CE
for ;
Sun, 20 Feb 2005 07:59:27 +0000 (GMT)
Received: from stewie.obfuscated.net (stewie.obfuscated.net [66.118.188.125])
by mx1.FreeBSD.org (Postfix) with ESMTP id CCE7D43D3F
for ;
Sun, 20 Feb 2005 07:59:26 +0000 (GMT) (envelope-from m@obmail.net)
Received: from [192.168.1.100] (653259hfc120.tampabay.res.rr.com
[65.32.59.120]) (using TLSv1 with cipher RC4-SHA (128/128 bits))
(No client certificate requested)
by stewie.obfuscated.net (Postfix) with ESMTP id 2E3D060D1;
Sun, 20 Feb 2005 02:59:26 -0500 (EST)
In-Reply-To:
References:
Mime-Version: 1.0 (Apple Message framework v619.2)
Content-Type: text/plain; charset=US-ASCII; format=flowed
Message-Id: <084dc319497f1f951e5483e31e22e078@obmail.net>
Content-Transfer-Encoding: 7bit
From: Michael Conlen
Date: Sun, 20 Feb 2005 02:59:23 -0500
To: Michael Conlen
X-Mailer: Apple Mail (2.619.2)
cc: FreeBSD Mailing List
Subject: Re: growfs
X-BeenThere: freebsd-questions@freebsd.org
X-Mailman-Version: 2.1.1
Precedence: list
List-Id: User questions
List-Unsubscribe: ,
List-Archive:
List-Post:
List-Help:
List-Subscribe: ,
X-List-Received-Date: Sun, 20 Feb 2005 07:59:27 -0000
Sorry for the double post but I found a copy of the actual error...
growfs: rdfs: seek error: 237231962044550260: Unknown error: 0
On Feb 20, 2005, at 2:40 AM, Michael Conlen wrote:
> On FreeBSD 5.3 I added disks to a disk array. The array contained two
> 250 GB disks stripped (actually four mirrored and striped but it's all
> done in hardware). I added two more pairs to the virtual disk,
> rebooted the machine, rewrote the disklabel for the additional
> capacity and ran growfs. It would grow the filesystem to almost the
> end and reported growfs: rdfs: seek error: 18 digits long>: unknown error: 0
>
> I ran growfs with progressively smaller -s options, but the same thing
> happens when it gets near the end of the new size of the file system.
>
> fdisk reports the new size for the disk in sectors on partition 1 and
> the cylinders, heads and sectors/track appear proper.
>
> the only odd thing I notice is that
>
> nfs2# fdisk -s /dev/da1s1
> /dev/da1s1: 121341 cyl 255 hd 63 sec
> Part Start Size Type Flags
> 4: 0 50000 0xa5 0x80
> nfs2# fdisk -s /dev/da1
> /dev/da1: 121342 cyl 255 hd 63 sec
> Part Start Size Type Flags
> 1: 63 1949359167 0xa5 0x80
>
>
> notice da1s1 lists part 4 as size 50000 (25 MB). da1 lists the
> propersize.
>
> disklabel looks right for da1s1
>
> nfs2# disklabel -r /dev/da1s1
> # /dev/da1s1:
> 8 partitions:
> # size offset fstype [fsize bsize bps/cpg]
> c: 1949359167 0 unused 0 0 # "raw"
> part, don't edit
> d: 1949359167 0 4.2BSD 2048 16384 28552
>
>
> Now, I had gone through this process when upgrading from one pair to
> two without a problem. I'm not sure where to start looking for issues
> and am looking for a pointer of where to start looking or a better
> idea of what info I need to debug this. Does anyone see something
> completely out of whack?
>
> _______________________________________________
> freebsd-questions@freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-questions
> To unsubscribe, send any mail to
> "freebsd-questions-unsubscribe@freebsd.org"
From owner-freebsd-questions@FreeBSD.ORG Sun Feb 20 08:10:15 2005
Return-Path:
Delivered-To: freebsd-questions@freebsd.org
Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125])
by hub.freebsd.org (Postfix) with ESMTP
id 9BC5516A4D0; Sun, 20 Feb 2005 08:10:15 +0000 (GMT)
Received: from nezlok.unixathome.org (nezlok.unixathome.org [66.154.97.250])
by mx1.FreeBSD.org (Postfix) with ESMTP
id 758BB43D39; Sun, 20 Feb 2005 08:10:15 +0000 (GMT)
(envelope-from dan@nezlok.unixathome.org)
Received: from localhost (localhost [127.0.0.1])
by nezlok.unixathome.org (Postfix) with ESMTP
id 805D9575E; Sun, 20 Feb 2005 00:10:13 -0800 (PST)
Received: from nezlok.unixathome.org ([127.0.0.1])
by localhost (nezlok.unixathome.org [127.0.0.1]) (amavisd-new, port 10024)
with ESMTP id 77417-07; Sun, 20 Feb 2005 00:10:03 -0800 (PST)
Received: by nezlok.unixathome.org (Postfix, from userid 1000)
id 61A9E5646; Sun, 20 Feb 2005 00:10:03 -0800 (PST)
From: Dan Langille
To: freebsd-newbies@freebsd.org, freebsd-questions@freebsd.org
Message-Id: <20050220081003.61A9E5646@nezlok.unixathome.org>
Date: Sun, 20 Feb 2005 00:10:03 -0800 (PST)
X-Virus-Scanned: by amavisd-new at unixathome.org
Subject: The FreeBSD Diary: 2005-01-30 - 2005-02-19
X-BeenThere: freebsd-questions@freebsd.org
X-Mailman-Version: 2.1.1
Precedence: list
List-Id: User questions
List-Unsubscribe: ,
List-Archive:
List-Post:
List-Help:
List-Subscribe: ,
X-List-Received-Date: Sun, 20 Feb 2005 08:10:15 -0000
The FreeBSD Diary contains a large number of practical
examples and how-to guides. This message is posted weekly
to freebsd-questions@freebsd.org with the aim of letting people
know what's available on the website. Before you post a question
here it might be a good idea to first search the mailing list
archives
and/or The FreeBSD Diary .
--
Dan Langille
BSDCan - http://www.BSDCan.org/ - BSD Conference
From owner-freebsd-questions@FreeBSD.ORG Sun Feb 20 08:10:26 2005
Return-Path:
Delivered-To: freebsd-questions@freebsd.org
Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125])
by hub.freebsd.org (Postfix) with ESMTP
id 7314A16A4CE; Sun, 20 Feb 2005 08:10:26 +0000 (GMT)
Received: from bsdnerds.org (pcp0011384308pcs.ebrnsw01.nj.comcast.net
[69.248.83.208]) by mx1.FreeBSD.org (Postfix) with ESMTP
id 02FB143D31; Sun, 20 Feb 2005 08:10:26 +0000 (GMT)
(envelope-from owner-freebsd-newbies@freebsd.org)
Received: by bsdnerds.org (Postfix, from userid 1001)
id 2771D6151; Sun, 20 Feb 2005 03:10:31 -0500 (EST)
Received: from mx2.freebsd.org (mx2.freebsd.org [216.136.204.119])
by bsdnerds.org (Postfix) with ESMTP id 85BEF60F6
for ; Sun, 20 Feb 2005 03:10:27 -0500 (EST)
Received: from hub.freebsd.org (hub.freebsd.org [216.136.204.18])
by mx2.freebsd.org (Postfix) with ESMTP
id 2269C562C4; Sun, 20 Feb 2005 08:10:19 +0000 (GMT)
(envelope-from owner-freebsd-newbies@freebsd.org)
Received: from hub.freebsd.org (localhost [127.0.0.1])
by hub.freebsd.org (Postfix) with ESMTP
id 8E99216A4D5; Sun, 20 Feb 2005 08:10:18 +0000 (GMT)
Delivered-To: freebsd-newbies@freebsd.org
Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125])
by hub.freebsd.org (Postfix) with ESMTP
id 9BC5516A4D0; Sun, 20 Feb 2005 08:10:15 +0000 (GMT)
Received: from nezlok.unixathome.org (nezlok.unixathome.org [66.154.97.250])
by mx1.FreeBSD.org (Postfix) with ESMTP
id 758BB43D39; Sun, 20 Feb 2005 08:10:15 +0000 (GMT)
(envelope-from dan@nezlok.unixathome.org)
Received: from localhost (localhost [127.0.0.1])
by nezlok.unixathome.org (Postfix) with ESMTP
id 805D9575E; Sun, 20 Feb 2005 00:10:13 -0800 (PST)
Received: from nezlok.unixathome.org ([127.0.0.1])
by localhost (nezlok.unixathome.org [127.0.0.1]) (amavisd-new, port 10024)
with ESMTP id 77417-07; Sun, 20 Feb 2005 00:10:03 -0800 (PST)
Received: by nezlok.unixathome.org (Postfix, from userid 1000)
id 61A9E5646; Sun, 20 Feb 2005 00:10:03 -0800 (PST)
From: Dan Langille
To: freebsd-newbies@freebsd.org, freebsd-questions@freebsd.org
Message-Id: <20050220081003.61A9E5646@nezlok.unixathome.org>
Date: Sun, 20 Feb 2005 00:10:03 -0800 (PST)
X-Virus-Scanned: by amavisd-new at unixathome.org
X-BeenThere: freebsd-newbies@freebsd.org
X-Mailman-Version: 2.1.1
Precedence: list
Sender: owner-freebsd-newbies@freebsd.org
Errors-To: owner-freebsd-newbies@freebsd.org
X-Spam-Checker-Version: SpamAssassin 2.64 (2004-01-11) on bsdnerds.org
X-Spam-Level:
X-Spam-Status: No, hits=0.0 required=4.5 tests=none autolearn=ham version=2.64
Subject: The FreeBSD Diary: 2005-01-30 - 2005-02-19
X-BeenThere: freebsd-questions@freebsd.org
List-Id: User questions
List-Unsubscribe: ,
List-Archive:
List-Post:
List-Help:
List-Subscribe: ,
X-List-Received-Date: Sun, 20 Feb 2005 08:10:26 -0000
The FreeBSD Diary contains a large number of practical
examples and how-to guides. This message is posted weekly
to freebsd-questions@freebsd.org with the aim of letting people
know what's available on the website. Before you post a question
here it might be a good idea to first search the mailing list
archives
and/or The FreeBSD Diary .
--
Dan Langille
BSDCan - http://www.BSDCan.org/ - BSD Conference
_______________________________________________
freebsd-newbies@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-newbies
To unsubscribe, send any mail to "freebsd-newbies-unsubscribe@freebsd.org"
From owner-freebsd-questions@FreeBSD.ORG Sun Feb 20 09:42:00 2005
Return-Path:
Delivered-To: freebsd-questions@freebsd.org
Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125])
by hub.freebsd.org (Postfix) with ESMTP id 1B41716A4CE
for ; Sun, 20 Feb 2005 09:42:00 +0000 (GMT)
Received: from rproxy.gmail.com (rproxy.gmail.com [64.233.170.193])
by mx1.FreeBSD.org (Postfix) with ESMTP id B7AB743D2F
for ; Sun, 20 Feb 2005 09:41:59 +0000 (GMT)
(envelope-from gert.cuykens@gmail.com)
Received: by rproxy.gmail.com with SMTP id a41so130760rng
for ; Sun, 20 Feb 2005 01:41:59 -0800 (PST)
DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws;
s=beta; d=gmail.com;
h=received:message-id:date:from:reply-to:to:subject:mime-version:content-type:content-transfer-encoding;
b=HLF8wfuE9HB0H5EGIB0Kj5N9c8MandT/mPodrmVUgNi5C2wOvGvKxOiklrUFgCPEoJ++SsyIezU7CoeVHvTYxQ3vTUAAuxQngyapPT0j3ZkPLTpMhSSJis54dOAjYrYTP29+w9E+hK8VTzDNZU2vsHubv1bG/kf427P9+9aCMDo=
Received: by 10.38.67.72 with SMTP id p72mr318728rna;
Sun, 20 Feb 2005 01:41:59 -0800 (PST)
Received: by 10.38.74.23 with HTTP; Sun, 20 Feb 2005 01:41:59 -0800 (PST)
Message-ID:
Date: Sun, 20 Feb 2005 10:41:59 +0100
From: Gert Cuykens