Re: FreeBSD 7.0 Questions

2008-02-28 Thread Dominic Fandrey

Clifton Royston wrote:

On Thu, Feb 28, 2008 at 02:39:35PM +, Chris wrote:

On 28/02/2008, Krassimir Slavchev <[EMAIL PROTECTED]> wrote:

-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Jeremy Chadwick wrote:

On Wed, Feb 27, 2008 at 11:15:30PM -0800, Doug Hardie wrote:

I have just installed 7.0 on some new hardware.  Have never tried earlier
versions.  There are a couple of unexpected items that I do not understand.

2.  I have 2 SATA drives in the system.  The first is recognized as ad10
and the second as ad12.  I expected to see ad0 and ad1.

...

Thus, never expect the adX devices to "start with 0".

If you want adX devices to "start with 0" just remove 'options
ATA_STATIC_ID' from the kernel config file but be very carefully if you
change hardware!

...

Ahh thats useful, on the occasions I have remotely installed freebsd
over linux I have always failed due to incorrectly guessing the hd id
and as such a wrong fstab, if I know it will always be ad0 and ad1 and
so on it makes this much easier.


  And if you ever add a second drive, and it happens to be detected
first, expect a lot of work getting things working again.  There are
good reasons for doing it this way, though you do get a choice.


This is the fstab of my notebook:

# DeviceMountpoint  FStype  Options DumpPass#
/dev/label/2swapnoneswapsw  0   0
/dev/ufs/2root  /   ufs rw  1   1
/dev/ufs/2tmp   /tmpufs rw,async2   2
/dev/ufs/2usr   /usrufs rw  2   2
/dev/ufs/2var   /varufs rw  2   2

I can take out the HD and boot from it via USB-adaptor or put it into another 
machine. It all doesn't matter, I don't care about device IDs at all. The geom 
label class has made life much easier.


You only have to label the partitions with "tunefs -L" and the swap partition 
with "glabel label".

___
freebsd-stable@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-stable
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: FreeBSD 7.0 Questions

2008-02-28 Thread Clifton Royston
On Thu, Feb 28, 2008 at 02:39:35PM +, Chris wrote:
> On 28/02/2008, Krassimir Slavchev <[EMAIL PROTECTED]> wrote:
> > -BEGIN PGP SIGNED MESSAGE-
> > Hash: SHA1
> > Jeremy Chadwick wrote:
> > > On Wed, Feb 27, 2008 at 11:15:30PM -0800, Doug Hardie wrote:
> > >> I have just installed 7.0 on some new hardware.  Have never tried earlier
> > >> versions.  There are a couple of unexpected items that I do not 
> > >> understand.
> > >>
> > >> 2.  I have 2 SATA drives in the system.  The first is recognized as ad10
> > >> and the second as ad12.  I expected to see ad0 and ad1.
...
> > > Thus, never expect the adX devices to "start with 0".
> >
> > If you want adX devices to "start with 0" just remove 'options
> > ATA_STATIC_ID' from the kernel config file but be very carefully if you
> > change hardware!
...
> Ahh thats useful, on the occasions I have remotely installed freebsd
> over linux I have always failed due to incorrectly guessing the hd id
> and as such a wrong fstab, if I know it will always be ad0 and ad1 and
> so on it makes this much easier.

  And if you ever add a second drive, and it happens to be detected
first, expect a lot of work getting things working again.  There are
good reasons for doing it this way, though you do get a choice.

  -- Clifton

-- 
Clifton Royston  --  [EMAIL PROTECTED] / [EMAIL PROTECTED]
   President  - I and I Computing * http://www.iandicomputing.com/
 Custom programming, network design, systems and network consulting services
___
freebsd-stable@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-stable
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: FreeBSD 7.0 Questions

2008-02-28 Thread Vivek Khera

On Feb 28, 2008, at 9:39 AM, Chris wrote:


Ahh thats useful, on the occasions I have remotely installed freebsd
over linux I have always failed due to incorrectly guessing the hd id
and as such a wrong fstab, if I know it will always be ad0 and ad1 and
so on it makes this much easier.



I much prefer to use glabel for this purpose, when the hardware might  
change.

___
freebsd-stable@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-stable
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: FreeBSD 7.0 Questions

2008-02-28 Thread Chris
On 28/02/2008, Krassimir Slavchev <[EMAIL PROTECTED]> wrote:
> -BEGIN PGP SIGNED MESSAGE-
> Hash: SHA1
>
> Jeremy Chadwick wrote:
> > On Wed, Feb 27, 2008 at 11:15:30PM -0800, Doug Hardie wrote:
> >> I have just installed 7.0 on some new hardware.  Have never tried earlier
> >> versions.  There are a couple of unexpected items that I do not understand.
> >>
> >> 2.  I have 2 SATA drives in the system.  The first is recognized as ad10
> >> and the second as ad12.  I expected to see ad0 and ad1.
> >
> > You shouldn't "expect" this in any way shape or form.  The device
> > numbers are not consistent, and are known to change depending upon lots
> > of reasons (AHCI disabled/enabled, another ATA controller in place, SATA
> > in "compatible" mode or "enhanced" mode, etc. etc.).
> >
> > Thus, never expect the adX devices to "start with 0".
> >
>
> If you want adX devices to "start with 0" just remove 'options
> ATA_STATIC_ID' from the kernel config file but be very carefully if you
> change hardware!
>
> Best Regards
>
>
> -BEGIN PGP SIGNATURE-
> Version: GnuPG v1.4.7 (FreeBSD)
>
> iD8DBQFHxpH2xJBWvpalMpkRAtpzAJsHAkMtjVIHU6dmXTZJdn3mtTWtYwCfRl7x
> a9dAr6mnbnORaksfDpJMu8w=
> =jiUk
> -END PGP SIGNATURE-
> ___


Ahh thats useful, on the occasions I have remotely installed freebsd
over linux I have always failed due to incorrectly guessing the hd id
and as such a wrong fstab, if I know it will always be ad0 and ad1 and
so on it makes this much easier.

Chris
___
freebsd-stable@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-stable
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: FreeBSD 7.0 Questions

2008-02-28 Thread Krassimir Slavchev
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Jeremy Chadwick wrote:
> On Wed, Feb 27, 2008 at 11:15:30PM -0800, Doug Hardie wrote:
>> I have just installed 7.0 on some new hardware.  Have never tried earlier 
>> versions.  There are a couple of unexpected items that I do not understand.
>>
>> 2.  I have 2 SATA drives in the system.  The first is recognized as ad10 
>> and the second as ad12.  I expected to see ad0 and ad1.
> 
> You shouldn't "expect" this in any way shape or form.  The device
> numbers are not consistent, and are known to change depending upon lots
> of reasons (AHCI disabled/enabled, another ATA controller in place, SATA
> in "compatible" mode or "enhanced" mode, etc. etc.).
> 
> Thus, never expect the adX devices to "start with 0".
> 

If you want adX devices to "start with 0" just remove 'options
ATA_STATIC_ID' from the kernel config file but be very carefully if you
change hardware!

Best Regards


-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.7 (FreeBSD)

iD8DBQFHxpH2xJBWvpalMpkRAtpzAJsHAkMtjVIHU6dmXTZJdn3mtTWtYwCfRl7x
a9dAr6mnbnORaksfDpJMu8w=
=jiUk
-END PGP SIGNATURE-
___
freebsd-stable@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-stable
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: FreeBSD 7.0 Questions

2008-02-27 Thread Jeremy Chadwick
On Wed, Feb 27, 2008 at 11:15:30PM -0800, Doug Hardie wrote:
> I have just installed 7.0 on some new hardware.  Have never tried earlier 
> versions.  There are a couple of unexpected items that I do not understand.
>
> 2.  I have 2 SATA drives in the system.  The first is recognized as ad10 
> and the second as ad12.  I expected to see ad0 and ad1.

You shouldn't "expect" this in any way shape or form.  The device
numbers are not consistent, and are known to change depending upon lots
of reasons (AHCI disabled/enabled, another ATA controller in place, SATA
in "compatible" mode or "enhanced" mode, etc. etc.).

Thus, never expect the adX devices to "start with 0".

-- 
| Jeremy Chadwickjdc at 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-stable@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-stable
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


FreeBSD 7.0 Questions

2008-02-27 Thread Doug Hardie
I have just installed 7.0 on some new hardware.  Have never tried  
earlier versions.  There are a couple of unexpected items that I do  
not understand.


1.  When booting there are a few messages like:
acd0: TIMEOUT - READ_BIG retrying

When the system is booted off CD (like installation disk), it  
takes about 10 minutes
after these messages first appear and then it finally starts up  
sysinstall properly.


After the system is installed on disk, it reboots and just  
continues on past those
messages with no delays.  Sometimes those messages do not appear  
in dmesg.boot.


Why are there long delays when booting from CD?

2.  I have 2 SATA drives in the system.  The first is recognized as  
ad10 and the second as
ad12.  I expected to see ad0 and ad1. 
 
___

freebsd-stable@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-stable
To unsubscribe, send any mail to "[EMAIL PROTECTED]"