Re: from 5.4-PRERELEASE - 5.3-RELEASE-p5 error?

2005-03-12 Thread abu khaled
On Sat, 12 Mar 2005 09:52:55 +0300, Bashar [EMAIL PROTECTED] wrote:
 Jon Noack wrote:
 
  On 03/11/05 22:32, Bashar wrote:
 
  Jon Noack wrote:
 
  On 03/11/05 15:57, Bashar wrote:
 
  Jon Noack wrote:
 
  Bashar wrote:
 
  Doug White wrote:
 
  On Thu, 10 Mar 2005, Bashar wrote:
 
  Doug White wrote:
 
  On Wed, 9 Mar 2005, Bashar wrote:
 
  Hello,
  i was wondering just right after the downgrade been facing
  some issues
  such as:
  1. server# /usr/local/bin/strace -f ps
  PIOCSFL: Inappropriate ioctl for device
  trouble opening proc file
  2. mounting ext2fs partition doesn't work unless i specify
  -ro or it
  will give operation not permitted.
 
  any idea what might be causing this?
 
 
  How did you perform the downgrade? The strace error looks like
  you're
  still running the 5.3-STABLE binary.
 
 
  first i ran RELENG_5 and when i got the 5.4-PRERELEASE (which
  incompatible with cPanel.net software) i had to run cvsup with
  RELENG_5_3
  after than i started getting those errors
 
 
  You're leaving out important details, like what you did after
  you cvsup'd.
 
 
  the usual ,cvsup'ed then cd /usr/src  make buildworld  make
  installworld  cd /sys/i386/conf  config mykernel  cd
  ../compile/mykernel  make depend  make  make install  reboot
 
 
  This is the usual?  You should read
  http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/makeworld.html#AEN27432
  and /usr/src/UPDATING.
 
  The Canonical Way to Update Your System (for 5.x):
  1) make buildworld
  2) make buildkernel KERNCONF=YOUR_KERNEL_HERE
  3) make installkernel KERNCONF=YOUR_KERNEL_HERE
  4) reboot in single user
  5) /etc/rc.d/preseedrandom
  6) mergemaster -p
  7) make installworld
  8) mergemaster
  9) reboot
 
 
  Cant do this for remote system as you know
 
 
  I was merely pointing out what was the official take on the usual.
  The general consensus for remote systems is to replace steps 4 and 5
  with shut down as many services as possible.  This has never
  failed me for minor updates, but caution is advised for major ones.
 
 
  AFAIK 6,7,8 is not required unless i'm updating cross major freebsd
  version i,e v4.x - 5.x ?
  correct my if i'm wrong.
 
 
  Step 6 is rarely needed (most often for a FreeBSD version update as
  you describe).  Steps 7 and 8 are required (although step 8 may be a
  noop).
 
  Jon
 
 
 
 yeah my bad i meant 5,6,8 because make installworld took place in my
 scenario.
 
 the issue is would going from 5.4-PRERELEASE to 5.3-RELEASE-p5 give issues ?
 basically i did
 1. system came with 5.3-RELEASE
 2. did cvsup to RELENG_5
 3. cd /usr/src  make buildworld  make installworld  cd
 /sys/i386/conf/  config mykernel  cd ../compile/mykernel  make
 depend  make  make install  reboot
 4. got 5.4-PRERELEASE which cause me issues intalling and configuring cPanel
 5. changed my cvsupfile to RELENG_5_3 and cvsup'ed
 6. did again cd /usr/src  make buildworld  make installworld  cd
 /sys/i386/conf/  config mykernel  cd ../compile/mykernel  make
 depend  make  make install  reboot
 7. got 5.3-RELEASE-p5
 8. and when doing strace got the errors i originally posted in the thread
 =
 1. server# /usr/local/bin/strace -f ps
 PIOCSFL: Inappropriate ioctl for device
 trouble opening proc file
 2. mounting ext2fs partition doesn't work unless i specify -ro or it
 will give operation not permitted.
 =
 to be honest i never tried strace when i was on PRERELEASE , but
 mounting ext2fs on 5.4-PRELREASE it was working with 'rw' option.
 
 ___
 freebsd-stable@freebsd.org mailing list
 http://lists.freebsd.org/mailman/listinfo/freebsd-stable
 To unsubscribe, send any mail to [EMAIL PROTECTED]
 

I think you should build the kernel and install it before installing
world, as others have allready pointed out.

1. cd /usr/src
2. make buildworld
3. make buildkernel KERNCONF=YOUR_KERN_CONF_FILE
3. make installkernel KERNCONF=YOUR_KERN_CONF_FILE
4. reboot.
REBOOT This is reguired. I am not sure if install world works if
you don't reboot into single user mode. but a reboot is required any
way.
5. cd /usr/src
6. make installworld
7. reboot.

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


Re: from 5.4-PRERELEASE - 5.3-RELEASE-p5 error?

2005-03-12 Thread abu khaled
On Sat, 12 Mar 2005 10:19:52 +0200, abu khaled [EMAIL PROTECTED] wrote:
 On Sat, 12 Mar 2005 09:52:55 +0300, Bashar [EMAIL PROTECTED] wrote:
  Jon Noack wrote:
 
   On 03/11/05 22:32, Bashar wrote:
  
   Jon Noack wrote:
  
   On 03/11/05 15:57, Bashar wrote:
  
   Jon Noack wrote:
  
   Bashar wrote:
  
   Doug White wrote:
  
   On Thu, 10 Mar 2005, Bashar wrote:
  
   Doug White wrote:
  
   On Wed, 9 Mar 2005, Bashar wrote:
  
   Hello,
   i was wondering just right after the downgrade been facing
   some issues
   such as:
   1. server# /usr/local/bin/strace -f ps
   PIOCSFL: Inappropriate ioctl for device
   trouble opening proc file
   2. mounting ext2fs partition doesn't work unless i specify
   -ro or it
   will give operation not permitted.
  
   any idea what might be causing this?
  
  
   How did you perform the downgrade? The strace error looks like
   you're
   still running the 5.3-STABLE binary.
  
  
   first i ran RELENG_5 and when i got the 5.4-PRERELEASE (which
   incompatible with cPanel.net software) i had to run cvsup with
   RELENG_5_3
   after than i started getting those errors
  
  
   You're leaving out important details, like what you did after
   you cvsup'd.
  
  
   the usual ,cvsup'ed then cd /usr/src  make buildworld  make
   installworld  cd /sys/i386/conf  config mykernel  cd
   ../compile/mykernel  make depend  make  make install  reboot
  
  
   This is the usual?  You should read
   http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/makeworld.html#AEN27432
   and /usr/src/UPDATING.
  
   The Canonical Way to Update Your System (for 5.x):
   1) make buildworld
   2) make buildkernel KERNCONF=YOUR_KERNEL_HERE
   3) make installkernel KERNCONF=YOUR_KERNEL_HERE
   4) reboot in single user
   5) /etc/rc.d/preseedrandom
   6) mergemaster -p
   7) make installworld
   8) mergemaster
   9) reboot
  
  
   Cant do this for remote system as you know
  
  
   I was merely pointing out what was the official take on the usual.
   The general consensus for remote systems is to replace steps 4 and 5
   with shut down as many services as possible.  This has never
   failed me for minor updates, but caution is advised for major ones.
  
  
   AFAIK 6,7,8 is not required unless i'm updating cross major freebsd
   version i,e v4.x - 5.x ?
   correct my if i'm wrong.
  
  
   Step 6 is rarely needed (most often for a FreeBSD version update as
   you describe).  Steps 7 and 8 are required (although step 8 may be a
   noop).
  
   Jon
  
  
  
  yeah my bad i meant 5,6,8 because make installworld took place in my
  scenario.
 
  the issue is would going from 5.4-PRERELEASE to 5.3-RELEASE-p5 give issues ?
  basically i did
  1. system came with 5.3-RELEASE
  2. did cvsup to RELENG_5
  3. cd /usr/src  make buildworld  make installworld  cd
  /sys/i386/conf/  config mykernel  cd ../compile/mykernel  make
  depend  make  make install  reboot
  4. got 5.4-PRERELEASE which cause me issues intalling and configuring cPanel
  5. changed my cvsupfile to RELENG_5_3 and cvsup'ed
  6. did again cd /usr/src  make buildworld  make installworld  cd
  /sys/i386/conf/  config mykernel  cd ../compile/mykernel  make
  depend  make  make install  reboot
  7. got 5.3-RELEASE-p5
  8. and when doing strace got the errors i originally posted in the thread
  =
  1. server# /usr/local/bin/strace -f ps
  PIOCSFL: Inappropriate ioctl for device
  trouble opening proc file
  2. mounting ext2fs partition doesn't work unless i specify -ro or it
  will give operation not permitted.
  =
  to be honest i never tried strace when i was on PRERELEASE , but
  mounting ext2fs on 5.4-PRELREASE it was working with 'rw' option.
 
  ___
  freebsd-stable@freebsd.org mailing list
  http://lists.freebsd.org/mailman/listinfo/freebsd-stable
  To unsubscribe, send any mail to [EMAIL PROTECTED]
 
 
 I think you should build the kernel and install it before installing
 world, as others have allready pointed out.
 
 1. cd /usr/src
 2. make buildworld
 3. make buildkernel KERNCONF=YOUR_KERN_CONF_FILE
 3. make installkernel KERNCONF=YOUR_KERN_CONF_FILE
 4. reboot.
REBOOT This is reguired. I am not sure if install world works if
 you don't reboot into single user mode. but a reboot is required any
 way.
 5. cd /usr/src
 6. make installworld
 7. reboot.
 
 --
 Kind regards
 Abu Khaled
 

Sorry but I forgot two steps !!!

after step 5
#mergemaster -p
and after step 6
#mergemaster

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


Re: from 5.4-PRERELEASE - 5.3-RELEASE-p5 error?

2005-03-11 Thread Bashar
Doug White wrote:
On Thu, 10 Mar 2005, Bashar wrote:
 

Doug White wrote:
   

On Wed, 9 Mar 2005, Bashar wrote:

 

Hello,
i was wondering just right after the downgrade been facing some issues
such as:
1. server# /usr/local/bin/strace -f ps
PIOCSFL: Inappropriate ioctl for device
trouble opening proc file
2. mounting ext2fs partition doesn't work unless i specify -ro or it
will give operation not permitted.
any idea what might be causing this?
   

How did you perform the downgrade? The strace error looks like you're
still running the 5.3-STABLE binary.

 

first i ran RELENG_5 and when i got the 5.4-PRERELEASE (which
incompatible with cPanel.net software) i had to run cvsup with RELENG_5_3
after than i started getting those errors
   

You're leaving out important details, like what you did after you cvsup'd.
 

the usual ,cvsup'ed then cd /usr/src  make buildworld  make 
installworld  cd /sys/i386/conf  config mykernel  cd 
../compile/mykernel  make depend  make  make install  reboot

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


Re: from 5.4-PRERELEASE - 5.3-RELEASE-p5 error?

2005-03-11 Thread Jon Noack
Bashar wrote:
Doug White wrote:
On Thu, 10 Mar 2005, Bashar wrote:
Doug White wrote:
On Wed, 9 Mar 2005, Bashar wrote:
Hello,
i was wondering just right after the downgrade been facing some issues
such as:
1. server# /usr/local/bin/strace -f ps
PIOCSFL: Inappropriate ioctl for device
trouble opening proc file
2. mounting ext2fs partition doesn't work unless i specify -ro or it
will give operation not permitted.
any idea what might be causing this?
How did you perform the downgrade? The strace error looks like you're
still running the 5.3-STABLE binary.
first i ran RELENG_5 and when i got the 5.4-PRERELEASE (which
incompatible with cPanel.net software) i had to run cvsup with 
RELENG_5_3
after than i started getting those errors
You're leaving out important details, like what you did after you 
cvsup'd.
the usual ,cvsup'ed then cd /usr/src  make buildworld  make 
installworld  cd /sys/i386/conf  config mykernel  cd 
../compile/mykernel  make depend  make  make install  reboot
This is the usual?  You should read 
http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/makeworld.html#AEN27432 
and /usr/src/UPDATING.

The Canonical Way to Update Your System (for 5.x):
1) make buildworld
2) make buildkernel KERNCONF=YOUR_KERNEL_HERE
3) make installkernel KERNCONF=YOUR_KERNEL_HERE
4) reboot in single user
5) /etc/rc.d/preseedrandom
6) mergemaster -p
7) make installworld
8) mergemaster
9) reboot
Jon
___
freebsd-stable@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-stable
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: from 5.4-PRERELEASE - 5.3-RELEASE-p5 error?

2005-03-11 Thread Bashar
Jon Noack wrote:
Bashar wrote:
Doug White wrote:
On Thu, 10 Mar 2005, Bashar wrote:
Doug White wrote:
On Wed, 9 Mar 2005, Bashar wrote:
Hello,
i was wondering just right after the downgrade been facing some 
issues
such as:
1. server# /usr/local/bin/strace -f ps
PIOCSFL: Inappropriate ioctl for device
trouble opening proc file
2. mounting ext2fs partition doesn't work unless i specify -ro or it
will give operation not permitted.

any idea what might be causing this?

How did you perform the downgrade? The strace error looks like you're
still running the 5.3-STABLE binary.

first i ran RELENG_5 and when i got the 5.4-PRERELEASE (which
incompatible with cPanel.net software) i had to run cvsup with 
RELENG_5_3
after than i started getting those errors

You're leaving out important details, like what you did after you 
cvsup'd.

the usual ,cvsup'ed then cd /usr/src  make buildworld  make 
installworld  cd /sys/i386/conf  config mykernel  cd 
../compile/mykernel  make depend  make  make install  reboot

This is the usual?  You should read 
http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/makeworld.html#AEN27432 
and /usr/src/UPDATING.

The Canonical Way to Update Your System (for 5.x):
1) make buildworld
2) make buildkernel KERNCONF=YOUR_KERNEL_HERE
3) make installkernel KERNCONF=YOUR_KERNEL_HERE
4) reboot in single user
5) /etc/rc.d/preseedrandom
6) mergemaster -p
7) make installworld
8) mergemaster
9) reboot
Jon
Jon,
Cant do this for remote system as you know
___
freebsd-stable@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-stable
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: from 5.4-PRERELEASE - 5.3-RELEASE-p5 error?

2005-03-11 Thread Sam Nilsson
Bashar wrote:
The Canonical Way to Update Your System (for 5.x):
1) make buildworld
2) make buildkernel KERNCONF=YOUR_KERNEL_HERE
3) make installkernel KERNCONF=YOUR_KERNEL_HERE
4) reboot in single user
5) /etc/rc.d/preseedrandom
6) mergemaster -p
7) make installworld
8) mergemaster
9) reboot
Jon

Jon,
Cant do this for remote system as you know
Sorry if this is a bit off topic...
Well, you can't reboot into single user on remote (unless you have a 
remote console setup), but I have done the above steps remotely except 
for that.

The difference for me was that instead of rebooting into single user, I 
rebooted into normal system, then shut down each running service/daemon 
except for ssh before the mergemaster and installworld steps.

I don't know how reliable this method is for others, but it always works 
well for me (with 5.3 Release and 5.3 Stable at least).

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


Re: from 5.4-PRERELEASE - 5.3-RELEASE-p5 error?

2005-03-11 Thread Jon Noack
On 03/11/05 15:57, Bashar wrote:
Jon Noack wrote:
Bashar wrote:
Doug White wrote:
On Thu, 10 Mar 2005, Bashar wrote:
Doug White wrote:
On Wed, 9 Mar 2005, Bashar wrote:
Hello,
i was wondering just right after the downgrade been facing some 
issues
such as:
1. server# /usr/local/bin/strace -f ps
PIOCSFL: Inappropriate ioctl for device
trouble opening proc file
2. mounting ext2fs partition doesn't work unless i specify -ro or it
will give operation not permitted.

any idea what might be causing this?
How did you perform the downgrade? The strace error looks like you're
still running the 5.3-STABLE binary.
first i ran RELENG_5 and when i got the 5.4-PRERELEASE (which
incompatible with cPanel.net software) i had to run cvsup with 
RELENG_5_3
after than i started getting those errors
You're leaving out important details, like what you did after you 
cvsup'd.
the usual ,cvsup'ed then cd /usr/src  make buildworld  make 
installworld  cd /sys/i386/conf  config mykernel  cd 
../compile/mykernel  make depend  make  make install  reboot
This is the usual?  You should read 
http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/makeworld.html#AEN27432 
and /usr/src/UPDATING.

The Canonical Way to Update Your System (for 5.x):
1) make buildworld
2) make buildkernel KERNCONF=YOUR_KERNEL_HERE
3) make installkernel KERNCONF=YOUR_KERNEL_HERE
4) reboot in single user
5) /etc/rc.d/preseedrandom
6) mergemaster -p
7) make installworld
8) mergemaster
9) reboot
Cant do this for remote system as you know
I was merely pointing out what was the official take on the usual. 
The general consensus for remote systems is to replace steps 4 and 5 
with shut down as many services as possible.  This has never failed me 
for minor updates, but caution is advised for major ones.

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


Re: from 5.4-PRERELEASE - 5.3-RELEASE-p5 error?

2005-03-11 Thread Kevin Oberman
 Date: Sat, 12 Mar 2005 00:57:00 +0300
 From: Bashar [EMAIL PROTECTED]
 Sender: [EMAIL PROTECTED]
 
 Jon Noack wrote:
 
  Bashar wrote:
 
  Doug White wrote:
 
  On Thu, 10 Mar 2005, Bashar wrote:
 
  Doug White wrote:
 
  On Wed, 9 Mar 2005, Bashar wrote:
 
  Hello,
  i was wondering just right after the downgrade been facing some 
  issues
  such as:
  1. server# /usr/local/bin/strace -f ps
  PIOCSFL: Inappropriate ioctl for device
  trouble opening proc file
  2. mounting ext2fs partition doesn't work unless i specify -ro or it
  will give operation not permitted.
 
  any idea what might be causing this?
 
 
  How did you perform the downgrade? The strace error looks like you're
  still running the 5.3-STABLE binary.
 
 
  first i ran RELENG_5 and when i got the 5.4-PRERELEASE (which
  incompatible with cPanel.net software) i had to run cvsup with 
  RELENG_5_3
  after than i started getting those errors
 
 
  You're leaving out important details, like what you did after you 
  cvsup'd.
 
 
  the usual ,cvsup'ed then cd /usr/src  make buildworld  make 
  installworld  cd /sys/i386/conf  config mykernel  cd 
  ../compile/mykernel  make depend  make  make install  reboot
 
 
  This is the usual?  You should read 
  http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/makeworld.html#AEN27432
   
  and /usr/src/UPDATING.
 
  The Canonical Way to Update Your System (for 5.x):
  1) make buildworld
  2) make buildkernel KERNCONF=YOUR_KERNEL_HERE
  3) make installkernel KERNCONF=YOUR_KERNEL_HERE
  4) reboot in single user
  5) /etc/rc.d/preseedrandom
  6) mergemaster -p
  7) make installworld
  8) mergemaster
  9) reboot
 
  Jon
 
 Jon,
 Can't do this for remote system as you know

True, you can't always reboot to single user (and that is dangerous, but
often unavoidable), but you can make kernel (or make buildkernel 
make installkernel) which is the only officially supported way of
building a kernel. The way you did it usually works, but is not
officially supported and may fail in some cases.
-- 
R. Kevin Oberman, Network Engineer
Energy Sciences Network (ESnet)
Ernest O. Lawrence Berkeley National Laboratory (Berkeley Lab)
E-mail: [EMAIL PROTECTED]   Phone: +1 510 486-8634
___
freebsd-stable@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-stable
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: from 5.4-PRERELEASE - 5.3-RELEASE-p5 error?

2005-03-11 Thread Doug White
On Fri, 11 Mar 2005, Bashar wrote:

 first i ran RELENG_5 and when i got the 5.4-PRERELEASE (which
 incompatible with cPanel.net software) i had to run cvsup with RELENG_5_3
 after than i started getting those errors
 
 You're leaving out important details, like what you did after you cvsup'd.
 
 the usual ,cvsup'ed then cd /usr/src  make buildworld  make
 installworld  cd /sys/i386/conf  config mykernel  cd
 ../compile/mykernel  make depend  make  make install  reboot

This is probably where you went wrong. By not using buildkernel it may
have still compiled against the -PRERELEASE headers.

I'm not sure how to fix you at this point ... If cpanel has hardcoded
assumptions about the release name you may need to fake it out by hacking
src/sys/conf/newvers.sh to rename it back to 5.3-STABLE and then be
caereful to repply the fix after every cvsup.  However I'm not sure how to
get your world back to a functional state without reinstalling...

You should also file a bug with the cpanel folks and have them handle the
name changes more gracefully.

-- 
Doug White|  FreeBSD: The Power to Serve
[EMAIL PROTECTED]  |  www.FreeBSD.org
___
freebsd-stable@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-stable
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: from 5.4-PRERELEASE - 5.3-RELEASE-p5 error?

2005-03-11 Thread Bashar
Jon Noack wrote:
On 03/11/05 15:57, Bashar wrote:
Jon Noack wrote:
Bashar wrote:
Doug White wrote:
On Thu, 10 Mar 2005, Bashar wrote:
Doug White wrote:
On Wed, 9 Mar 2005, Bashar wrote:
Hello,
i was wondering just right after the downgrade been facing some 
issues
such as:
1. server# /usr/local/bin/strace -f ps
PIOCSFL: Inappropriate ioctl for device
trouble opening proc file
2. mounting ext2fs partition doesn't work unless i specify -ro 
or it
will give operation not permitted.

any idea what might be causing this?

How did you perform the downgrade? The strace error looks like 
you're
still running the 5.3-STABLE binary.

first i ran RELENG_5 and when i got the 5.4-PRERELEASE (which
incompatible with cPanel.net software) i had to run cvsup with 
RELENG_5_3
after than i started getting those errors

You're leaving out important details, like what you did after you 
cvsup'd.

the usual ,cvsup'ed then cd /usr/src  make buildworld  make 
installworld  cd /sys/i386/conf  config mykernel  cd 
../compile/mykernel  make depend  make  make install  reboot

This is the usual?  You should read 
http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/makeworld.html#AEN27432 
and /usr/src/UPDATING.

The Canonical Way to Update Your System (for 5.x):
1) make buildworld
2) make buildkernel KERNCONF=YOUR_KERNEL_HERE
3) make installkernel KERNCONF=YOUR_KERNEL_HERE
4) reboot in single user
5) /etc/rc.d/preseedrandom
6) mergemaster -p
7) make installworld
8) mergemaster
9) reboot

Cant do this for remote system as you know

I was merely pointing out what was the official take on the usual. 
The general consensus for remote systems is to replace steps 4 and 5 
with shut down as many services as possible.  This has never failed 
me for minor updates, but caution is advised for major ones.

Jon

AFAIK 6,7,8 is not required unless i'm updating cross major freebsd 
version i,e v4.x - 5.x ?
correct my if i'm wrong.
___
freebsd-stable@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-stable
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: from 5.4-PRERELEASE - 5.3-RELEASE-p5 error?

2005-03-11 Thread Bashar
Doug White wrote:
On Fri, 11 Mar 2005, Bashar wrote:
 

first i ran RELENG_5 and when i got the 5.4-PRERELEASE (which
incompatible with cPanel.net software) i had to run cvsup with RELENG_5_3
after than i started getting those errors
   

You're leaving out important details, like what you did after you cvsup'd.
 

the usual ,cvsup'ed then cd /usr/src  make buildworld  make
installworld  cd /sys/i386/conf  config mykernel  cd
../compile/mykernel  make depend  make  make install  reboot
   

This is probably where you went wrong. By not using buildkernel it may
have still compiled against the -PRERELEASE headers.
I'm not sure how to fix you at this point ... If cpanel has hardcoded
assumptions about the release name you may need to fake it out by hacking
src/sys/conf/newvers.sh to rename it back to 5.3-STABLE and then be
caereful to repply the fix after every cvsup.  However I'm not sure how to
get your world back to a functional state without reinstalling...
You should also file a bug with the cpanel folks and have them handle the
name changes more gracefully.
 

i have already report it to cPanel to look into it, but the scenario 
here is i'm going from 5.4-PRERELEASE back to 5.3-RELEASE which is from 
RELENG_5 - RELENG_5_3 and the errors i originally posted started to happen.

btw doesn't config -r mykernel would remove all files including headers?
___
freebsd-stable@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-stable
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: from 5.4-PRERELEASE - 5.3-RELEASE-p5 error?

2005-03-11 Thread Jon Noack
On 03/11/05 22:32, Bashar wrote:
Jon Noack wrote:
On 03/11/05 15:57, Bashar wrote:
Jon Noack wrote:
Bashar wrote:
Doug White wrote:
On Thu, 10 Mar 2005, Bashar wrote:
Doug White wrote:
On Wed, 9 Mar 2005, Bashar wrote:
Hello,
i was wondering just right after the downgrade been facing some 
issues
such as:
1. server# /usr/local/bin/strace -f ps
PIOCSFL: Inappropriate ioctl for device
trouble opening proc file
2. mounting ext2fs partition doesn't work unless i specify -ro 
or it
will give operation not permitted.

any idea what might be causing this?
How did you perform the downgrade? The strace error looks like 
you're
still running the 5.3-STABLE binary.
first i ran RELENG_5 and when i got the 5.4-PRERELEASE (which
incompatible with cPanel.net software) i had to run cvsup with 
RELENG_5_3
after than i started getting those errors
You're leaving out important details, like what you did after you 
cvsup'd.
the usual ,cvsup'ed then cd /usr/src  make buildworld  make 
installworld  cd /sys/i386/conf  config mykernel  cd 
../compile/mykernel  make depend  make  make install  reboot
This is the usual?  You should read 
http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/makeworld.html#AEN27432 
and /usr/src/UPDATING.

The Canonical Way to Update Your System (for 5.x):
1) make buildworld
2) make buildkernel KERNCONF=YOUR_KERNEL_HERE
3) make installkernel KERNCONF=YOUR_KERNEL_HERE
4) reboot in single user
5) /etc/rc.d/preseedrandom
6) mergemaster -p
7) make installworld
8) mergemaster
9) reboot
Cant do this for remote system as you know
I was merely pointing out what was the official take on the usual. 
The general consensus for remote systems is to replace steps 4 and 5 
with shut down as many services as possible.  This has never failed 
me for minor updates, but caution is advised for major ones.
AFAIK 6,7,8 is not required unless i'm updating cross major freebsd 
version i,e v4.x - 5.x ?
correct my if i'm wrong.
Step 6 is rarely needed (most often for a FreeBSD version update as you 
describe).  Steps 7 and 8 are required (although step 8 may be a noop).

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


Re: from 5.4-PRERELEASE - 5.3-RELEASE-p5 error?

2005-03-11 Thread Bashar
Jon Noack wrote:
On 03/11/05 22:32, Bashar wrote:
Jon Noack wrote:
On 03/11/05 15:57, Bashar wrote:
Jon Noack wrote:
Bashar wrote:
Doug White wrote:
On Thu, 10 Mar 2005, Bashar wrote:
Doug White wrote:
On Wed, 9 Mar 2005, Bashar wrote:
Hello,
i was wondering just right after the downgrade been facing 
some issues
such as:
1. server# /usr/local/bin/strace -f ps
PIOCSFL: Inappropriate ioctl for device
trouble opening proc file
2. mounting ext2fs partition doesn't work unless i specify 
-ro or it
will give operation not permitted.

any idea what might be causing this?

How did you perform the downgrade? The strace error looks like 
you're
still running the 5.3-STABLE binary.

first i ran RELENG_5 and when i got the 5.4-PRERELEASE (which
incompatible with cPanel.net software) i had to run cvsup with 
RELENG_5_3
after than i started getting those errors

You're leaving out important details, like what you did after 
you cvsup'd.

the usual ,cvsup'ed then cd /usr/src  make buildworld  make 
installworld  cd /sys/i386/conf  config mykernel  cd 
../compile/mykernel  make depend  make  make install  reboot

This is the usual?  You should read 
http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/makeworld.html#AEN27432 
and /usr/src/UPDATING.

The Canonical Way to Update Your System (for 5.x):
1) make buildworld
2) make buildkernel KERNCONF=YOUR_KERNEL_HERE
3) make installkernel KERNCONF=YOUR_KERNEL_HERE
4) reboot in single user
5) /etc/rc.d/preseedrandom
6) mergemaster -p
7) make installworld
8) mergemaster
9) reboot

Cant do this for remote system as you know

I was merely pointing out what was the official take on the usual. 
The general consensus for remote systems is to replace steps 4 and 5 
with shut down as many services as possible.  This has never 
failed me for minor updates, but caution is advised for major ones.

AFAIK 6,7,8 is not required unless i'm updating cross major freebsd 
version i,e v4.x - 5.x ?
correct my if i'm wrong.

Step 6 is rarely needed (most often for a FreeBSD version update as 
you describe).  Steps 7 and 8 are required (although step 8 may be a 
noop).

Jon

yeah my bad i meant 5,6,8 because make installworld took place in my 
scenario.

the issue is would going from 5.4-PRERELEASE to 5.3-RELEASE-p5 give issues ?
basically i did
1. system came with 5.3-RELEASE
2. did cvsup to RELENG_5
3. cd /usr/src  make buildworld  make installworld  cd 
/sys/i386/conf/  config mykernel  cd ../compile/mykernel  make 
depend  make  make install  reboot
4. got 5.4-PRERELEASE which cause me issues intalling and configuring cPanel
5. changed my cvsupfile to RELENG_5_3 and cvsup'ed
6. did again cd /usr/src  make buildworld  make installworld  cd 
/sys/i386/conf/  config mykernel  cd ../compile/mykernel  make 
depend  make  make install  reboot
7. got 5.3-RELEASE-p5
8. and when doing strace got the errors i originally posted in the thread
=
1. server# /usr/local/bin/strace -f ps
PIOCSFL: Inappropriate ioctl for device
trouble opening proc file
2. mounting ext2fs partition doesn't work unless i specify -ro or it
will give operation not permitted.
=
to be honest i never tried strace when i was on PRERELEASE , but 
mounting ext2fs on 5.4-PRELREASE it was working with 'rw' option.

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


Re: from 5.4-PRERELEASE - 5.3-RELEASE-p5 error?

2005-03-10 Thread Bashar
Doug White wrote:
On Wed, 9 Mar 2005, Bashar wrote:
 

Hello,
i was wondering just right after the downgrade been facing some issues
such as:
1. server# /usr/local/bin/strace -f ps
PIOCSFL: Inappropriate ioctl for device
trouble opening proc file
2. mounting ext2fs partition doesn't work unless i specify -ro or it
will give operation not permitted.
any idea what might be causing this?
   

How did you perform the downgrade? The strace error looks like you're
still running the 5.3-STABLE binary.
 

first i ran RELENG_5 and when i got the 5.4-PRERELEASE (which 
incompatible with cPanel.net software) i had to run cvsup with RELENG_5_3
after than i started getting those errors

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


Re: from 5.4-PRERELEASE - 5.3-RELEASE-p5 error?

2005-03-10 Thread Doug White
On Thu, 10 Mar 2005, Bashar wrote:

 Doug White wrote:

 On Wed, 9 Mar 2005, Bashar wrote:
 
 
 
 Hello,
 i was wondering just right after the downgrade been facing some issues
 such as:
 1. server# /usr/local/bin/strace -f ps
 PIOCSFL: Inappropriate ioctl for device
 trouble opening proc file
 2. mounting ext2fs partition doesn't work unless i specify -ro or it
 will give operation not permitted.
 
 any idea what might be causing this?
 
 
 
 How did you perform the downgrade? The strace error looks like you're
 still running the 5.3-STABLE binary.
 
 
 
 first i ran RELENG_5 and when i got the 5.4-PRERELEASE (which
 incompatible with cPanel.net software) i had to run cvsup with RELENG_5_3
 after than i started getting those errors

You're leaving out important details, like what you did after you cvsup'd.

-- 
Doug White|  FreeBSD: The Power to Serve
[EMAIL PROTECTED]  |  www.FreeBSD.org
___
freebsd-stable@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-stable
To unsubscribe, send any mail to [EMAIL PROTECTED]


from 5.4-PRERELEASE - 5.3-RELEASE-p5 error?

2005-03-09 Thread Bashar
Hello,
i was wondering just right after the downgrade been facing some issues 
such as:
1. server# /usr/local/bin/strace -f ps
PIOCSFL: Inappropriate ioctl for device
trouble opening proc file
2. mounting ext2fs partition doesn't work unless i specify -ro or it 
will give operation not permitted.

any idea what might be causing this?
Thanks,
___
freebsd-stable@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-stable
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: from 5.4-PRERELEASE - 5.3-RELEASE-p5 error?

2005-03-09 Thread Doug White
On Wed, 9 Mar 2005, Bashar wrote:

 Hello,
 i was wondering just right after the downgrade been facing some issues
 such as:
 1. server# /usr/local/bin/strace -f ps
 PIOCSFL: Inappropriate ioctl for device
 trouble opening proc file
 2. mounting ext2fs partition doesn't work unless i specify -ro or it
 will give operation not permitted.

 any idea what might be causing this?

How did you perform the downgrade? The strace error looks like you're
still running the 5.3-STABLE binary.

-- 
Doug White|  FreeBSD: The Power to Serve
[EMAIL PROTECTED]  |  www.FreeBSD.org
___
freebsd-stable@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-stable
To unsubscribe, send any mail to [EMAIL PROTECTED]