Re: going from 6.2 to 6.3 and custom kernel

2008-01-20 Thread Zbigniew Szalbot
Hello,

  It will not update your kernel, but if you do freebsd-update install you
  will get an updated GENERIC kernel in /boot/GENERIC.
 
  This is what I did:
 
  freebsd-update -r 6.3-RELEASE upgrade
 
  (got the warning you mentioned)
 
  freebsd-update install
 
  Got a message about installing kernel updates. Got a new generic kernel
  in /boot/GENERIC (check to see this exists!)

Yes, on the other machine there is no /boot/GENERIC
So what do I do (I followed the steps you described).

# locate GENERIC
/usr/src/sys/alpha/conf/GENERIC
/usr/src/sys/alpha/conf/GENERIC.hints
/usr/src/sys/amd64/conf/GENERIC
/usr/src/sys/amd64/conf/GENERIC.hints
/usr/src/sys/i386/conf/GENERIC
/usr/src/sys/i386/conf/GENERIC.hints
/usr/src/sys/ia64/conf/GENERIC
/usr/src/sys/ia64/conf/GENERIC.hints
/usr/src/sys/pc98/conf/GENERIC
/usr/src/sys/pc98/conf/GENERIC.hints
/usr/src/sys/powerpc/conf/GENERIC
/usr/src/sys/powerpc/conf/GENERIC.hints
/usr/src/sys/sparc64/conf/GENERIC
/usr/src/sys/sparc64/conf/GENERIC.hints


Thanks!

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


Re: going from 6.2 to 6.3 and custom kernel

2008-01-20 Thread Manolis Kiagias

Zbigniew Szalbot wrote:

Hello,

  

It will not update your kernel, but if you do freebsd-update install you
will get an updated GENERIC kernel in /boot/GENERIC.

This is what I did:

freebsd-update -r 6.3-RELEASE upgrade

(got the warning you mentioned)

freebsd-update install

Got a message about installing kernel updates. Got a new generic kernel
in /boot/GENERIC (check to see this exists!)



Yes, on the other machine there is no /boot/GENERIC
So what do I do (I followed the steps you described).

# locate GENERIC
/usr/src/sys/alpha/conf/GENERIC
/usr/src/sys/alpha/conf/GENERIC.hints
/usr/src/sys/amd64/conf/GENERIC
/usr/src/sys/amd64/conf/GENERIC.hints
/usr/src/sys/i386/conf/GENERIC
/usr/src/sys/i386/conf/GENERIC.hints
/usr/src/sys/ia64/conf/GENERIC
/usr/src/sys/ia64/conf/GENERIC.hints
/usr/src/sys/pc98/conf/GENERIC
/usr/src/sys/pc98/conf/GENERIC.hints
/usr/src/sys/powerpc/conf/GENERIC
/usr/src/sys/powerpc/conf/GENERIC.hints
/usr/src/sys/sparc64/conf/GENERIC
/usr/src/sys/sparc64/conf/GENERIC.hints


Thanks!

Zbigniew Szalbot

  

So, you actually run freebsd-update install?

Running just the freebsd-update -r 6.3-RELEASE upgrade part will not 
install anything. You will have to run freebsd-update install, it will 
complain about not running a GENERIC kernel and install the new one in 
/boot/GENERIC. Although in my case I believe I already had a 
/boot/GENERIC kernel, and I think this was created by standard 
freebsd-update (i.e. when going from a -p# to another -p# while in 6.2)


Could you please send the output of uname -a and ls -la /boot

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


Re: going from 6.2 to 6.3 and custom kernel

2008-01-20 Thread Manolis Kiagias



Zbigniew Szalbot wrote:

Here they go:

FreeBSD domain.tld 6.2-RELEASE-p5 FreeBSD 6.2-RELEASE-p5 #2: Wed Jul
4 13:29:40 CEST 2007 [EMAIL PROTECTED]:/usr/obj/usr/src/sys/LISTS
i386

$ ls -la /boot
total 836
drwxr-xr-x   6 root  wheel 512 Jan 21 07:21 .
drwxr-xr-x  23 root  wheel 512 Jan 19 18:06 ..
-r--r--r--   1 root  wheel7638 Jan 22  2007 beastie.4th
-r--r--r--   1 root  wheel8192 Jan 21 07:21 boot
-r--r--r--   1 root  wheel 512 Jan 22  2007 boot0
-r--r--r--   1 root  wheel 512 Jan 21 07:21 boot0sio
-r--r--r--   1 root  wheel 512 Jan 22  2007 boot1
-r--r--r--   1 root  wheel7680 Jan 21 07:21 boot2
-r--r--r--   1 root  wheel1201 Jan 21 07:21 cdboot
drwxr-xr-x   2 root  wheel 512 Jan 21 07:21 defaults
-r--r--r--   1 root  wheel1741 May  7  2006 device.hints
-r--r--r--   1 root  wheel2249 Jan 22  2007 frames.4th
drwxr-xr-x   2 root  wheel9728 Jan 21 07:21 kernel.old
-r-xr-xr-x   1 root  wheel  217088 Jan 21 07:21 loader
-r--r--r--   1 root  wheel7772 Jan 22  2007 loader.4th
-rw-r--r--   1 root  wheel   0 Sep  8  2006 loader.conf
-r--r--r--   1 root  wheel   15219 Jan 22  2007 loader.help
-r-xr-xr-x   1 root  wheel  212992 May  7  2006 loader.old
-r--r--r--   1 root  wheel 389 May  7  2006 loader.rc
-r--r--r--   1 root  wheel 512 Jan 22  2007 mbr
drwxr-xr-x   2 root  wheel 512 May  7  2006 modules
drwxr-xr-x   2 root  wheel9728 Jan 21 07:21 mykernel.old
-r--r--r--   1 root  wheel  219136 Jan 21 07:21 pxeboot
-r--r--r--   1 root  wheel 692 Jan 22  2007 screen.4th
-r--r--r--   1 root  wheel   36440 Jan 22  2007 support.4th

Thank you!

I can repeat upgrade/install procedure but will it help?

Thanks!

Zbigniew Szalbot


  
Problem is if you run freebsd-update install a second time, I believe it 
will install the rest of the system, as it has already installed the kernel.
From your /boot/ directory I see no /kernel directory, I assume you 
moved it to mykernel.old
However the /kernel.old directory has a today's date, while normally 
this is only changed when you recompile a new kernel. Is it possible 
there was a GENERIC kernel in there that was updated?

I am just speculating here, but you could try the following:

- Reboot
- Escape to loader prompt
- unload
- load /boot/kernel.old/kernel
- boot

and see if uname -a shows a 6.3-RELEASE

Before this, you may want to take a look at the dates of the files 
inside /boot/kernel.old to see if they are updated



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


Re: going from 6.2 to 6.3 and custom kernel

2008-01-20 Thread Manolis Kiagias



Zbigniew Szalbot wrote:

Hello again,

2008/1/21, Manolis Kiagias [EMAIL PROTECTED]:
  

Zbigniew Szalbot wrote:


Here they go:

FreeBSD domain.tld 6.2-RELEASE-p5 FreeBSD 6.2-RELEASE-p5 #2: Wed Jul
4 13:29:40 CEST 2007 [EMAIL PROTECTED]:/usr/obj/usr/src/sys/LISTS
i386

$ ls -la /boot
total 836
drwxr-xr-x   6 root  wheel 512 Jan 21 07:21 .
drwxr-xr-x  23 root  wheel 512 Jan 19 18:06 ..
-r--r--r--   1 root  wheel7638 Jan 22  2007 beastie.4th
-r--r--r--   1 root  wheel8192 Jan 21 07:21 boot
-r--r--r--   1 root  wheel 512 Jan 22  2007 boot0
-r--r--r--   1 root  wheel 512 Jan 21 07:21 boot0sio
-r--r--r--   1 root  wheel 512 Jan 22  2007 boot1
-r--r--r--   1 root  wheel7680 Jan 21 07:21 boot2
-r--r--r--   1 root  wheel1201 Jan 21 07:21 cdboot
drwxr-xr-x   2 root  wheel 512 Jan 21 07:21 defaults
-r--r--r--   1 root  wheel1741 May  7  2006 device.hints
-r--r--r--   1 root  wheel2249 Jan 22  2007 frames.4th
drwxr-xr-x   2 root  wheel9728 Jan 21 07:21 kernel.old
-r-xr-xr-x   1 root  wheel  217088 Jan 21 07:21 loader
-r--r--r--   1 root  wheel7772 Jan 22  2007 loader.4th
-rw-r--r--   1 root  wheel   0 Sep  8  2006 loader.conf
-r--r--r--   1 root  wheel   15219 Jan 22  2007 loader.help
-r-xr-xr-x   1 root  wheel  212992 May  7  2006 loader.old
-r--r--r--   1 root  wheel 389 May  7  2006 loader.rc
-r--r--r--   1 root  wheel 512 Jan 22  2007 mbr
drwxr-xr-x   2 root  wheel 512 May  7  2006 modules
drwxr-xr-x   2 root  wheel9728 Jan 21 07:21 mykernel.old
-r--r--r--   1 root  wheel  219136 Jan 21 07:21 pxeboot
-r--r--r--   1 root  wheel 692 Jan 22  2007 screen.4th
-r--r--r--   1 root  wheel   36440 Jan 22  2007 support.4th

Thank you!

I can repeat upgrade/install procedure but will it help?

Thanks!

Zbigniew Szalbot



  

Problem is if you run freebsd-update install a second time, I believe it
will install the rest of the system, as it has already installed the kernel.
 From your /boot/ directory I see no /kernel directory, I assume you
moved it to mykernel.old



Yes, I did. I was then going to copy GENRIC when it turned out there is none.

  

However the /kernel.old directory has a today's date, while normally
this is only changed when you recompile a new kernel. Is it possible
there was a GENERIC kernel in there that was updated?
I am just speculating here, but you could try the following:

- Reboot
- Escape to loader prompt
- unload
- load /boot/kernel.old/kernel
- boot

and see if uname -a shows a 6.3-RELEASE

Before this, you may want to take a look at the dates of the files
inside /boot/kernel.old to see if they are updated



I don't think they are updated. The date for all of them is Jul 4 2007
which is when I upgraded to 6.2 (I think or when I last compiled the
kernel)

$ ls -la /boot/kernel.old |less
total 22958
drwxr-xr-x  2 root  wheel 9728 Jan 21 07:21 .
drwxr-xr-x  6 root  wheel  512 Jan 21 07:21 ..
-r-xr-xr-x  1 root  wheel13163 Jul  4  2007 3dfx.ko
-r-xr-xr-x  1 root  wheel 4948 Jul  4  2007 3dfx_linux.ko
-r-xr-xr-x  1 root  wheel55673 Jul  4  2007 aac.ko
-r-xr-xr-x  1 root  wheel 4427 Jul  4  2007 aac_linux.ko
-r-xr-xr-x  1 root  wheel 3296 Jul  4  2007 accf_data.ko
-r-xr-xr-x  1 root  wheel 5868 Jul  4  2007 accf_http.ko
-r-xr-xr-x  1 root  wheel   369012 Jul  4  2007 acpi.ko
-r-xr-xr-x  1 root  wheel18136 Jul  4  2007 acpi_asus.ko
-r-xr-xr-x  1 root  wheel12062 Jul  4  2007 acpi_fujitsu.ko
-r-xr-xr-x  1 root  wheel15152 Jul  4  2007 acpi_ibm.ko
-r-xr-xr-x  1 root  wheel10558 Jul  4  2007 acpi_panasonic.ko
-r-xr-xr-x  1 root  wheel 6599 Jul  4  2007 acpi_sony.ko
-r-xr-xr-x  1 root  wheel12183 Jul  4  2007 acpi_toshiba.ko
-r-xr-xr-x  1 root  wheel17119 Jul  4  2007 acpi_video.ko
-r-xr-xr-x  1 root  wheel86198 Jul  4  2007 agp.ko
-r-xr-xr-x  1 root  wheel25105 Jul  4  2007 aha.ko
-r-xr-xr-x  1 root  wheel18784 Jul  4  2007 ahb.ko
-r-xr-xr-x  1 root  wheel   139328 Jul  4  2007 ahc.ko
-r-xr-xr-x  1 root  wheel 7787 Jul  4  2007 ahc_eisa.ko
-r-xr-xr-x  1 root  wheel 8541 Jul  4  2007 ahc_isa.ko

What are my choices now? I cannot reboot as it won't run without a
generic kernel. I cannot go back to 6.2 as I have already used
install...?

Thank you!

Zbigniew Szalbot

  
I just checked with all my systems, and I seem to have a GENERIC folder 
in all of them. Even on one that has been running the GENERIC kernel all 
along (a VMware machine). Weird.
Anyway, to get you out of this awkward position, I am uploading a 
GENERIC 6.3 kernel to an FTP where you can download it to your machine, 
uncompress it, reboot and continue:


- Copy the GENERIC.tar.gz to the boot folder.
- Uncompress with
 tar xvzf GENERIC.tar.gz

you will now have a GENERIC folder with a 6.3-RELEASE generic kernel.

Continue like before, i.e.:

- reboot
- Escape to loader prompt
- unload
- load /boot/GENERIC/kernel
- boot

... you know the rest

I will send you 

Re: going from 6.2 to 6.3 and custom kernel

2008-01-20 Thread Zbigniew Szalbot
Hello again,

2008/1/21, Manolis Kiagias [EMAIL PROTECTED]:


 Zbigniew Szalbot wrote:
  Here they go:
 
  FreeBSD domain.tld 6.2-RELEASE-p5 FreeBSD 6.2-RELEASE-p5 #2: Wed Jul
  4 13:29:40 CEST 2007 [EMAIL PROTECTED]:/usr/obj/usr/src/sys/LISTS
  i386
 
  $ ls -la /boot
  total 836
  drwxr-xr-x   6 root  wheel 512 Jan 21 07:21 .
  drwxr-xr-x  23 root  wheel 512 Jan 19 18:06 ..
  -r--r--r--   1 root  wheel7638 Jan 22  2007 beastie.4th
  -r--r--r--   1 root  wheel8192 Jan 21 07:21 boot
  -r--r--r--   1 root  wheel 512 Jan 22  2007 boot0
  -r--r--r--   1 root  wheel 512 Jan 21 07:21 boot0sio
  -r--r--r--   1 root  wheel 512 Jan 22  2007 boot1
  -r--r--r--   1 root  wheel7680 Jan 21 07:21 boot2
  -r--r--r--   1 root  wheel1201 Jan 21 07:21 cdboot
  drwxr-xr-x   2 root  wheel 512 Jan 21 07:21 defaults
  -r--r--r--   1 root  wheel1741 May  7  2006 device.hints
  -r--r--r--   1 root  wheel2249 Jan 22  2007 frames.4th
  drwxr-xr-x   2 root  wheel9728 Jan 21 07:21 kernel.old
  -r-xr-xr-x   1 root  wheel  217088 Jan 21 07:21 loader
  -r--r--r--   1 root  wheel7772 Jan 22  2007 loader.4th
  -rw-r--r--   1 root  wheel   0 Sep  8  2006 loader.conf
  -r--r--r--   1 root  wheel   15219 Jan 22  2007 loader.help
  -r-xr-xr-x   1 root  wheel  212992 May  7  2006 loader.old
  -r--r--r--   1 root  wheel 389 May  7  2006 loader.rc
  -r--r--r--   1 root  wheel 512 Jan 22  2007 mbr
  drwxr-xr-x   2 root  wheel 512 May  7  2006 modules
  drwxr-xr-x   2 root  wheel9728 Jan 21 07:21 mykernel.old
  -r--r--r--   1 root  wheel  219136 Jan 21 07:21 pxeboot
  -r--r--r--   1 root  wheel 692 Jan 22  2007 screen.4th
  -r--r--r--   1 root  wheel   36440 Jan 22  2007 support.4th
 
  Thank you!
 
  I can repeat upgrade/install procedure but will it help?
 
  Thanks!
 
  Zbigniew Szalbot
 
 
 
 Problem is if you run freebsd-update install a second time, I believe it
 will install the rest of the system, as it has already installed the kernel.
  From your /boot/ directory I see no /kernel directory, I assume you
 moved it to mykernel.old

Yes, I did. I was then going to copy GENRIC when it turned out there is none.

 However the /kernel.old directory has a today's date, while normally
 this is only changed when you recompile a new kernel. Is it possible
 there was a GENERIC kernel in there that was updated?
 I am just speculating here, but you could try the following:

 - Reboot
 - Escape to loader prompt
 - unload
 - load /boot/kernel.old/kernel
 - boot

 and see if uname -a shows a 6.3-RELEASE

 Before this, you may want to take a look at the dates of the files
 inside /boot/kernel.old to see if they are updated

I don't think they are updated. The date for all of them is Jul 4 2007
which is when I upgraded to 6.2 (I think or when I last compiled the
kernel)

$ ls -la /boot/kernel.old |less
total 22958
drwxr-xr-x  2 root  wheel 9728 Jan 21 07:21 .
drwxr-xr-x  6 root  wheel  512 Jan 21 07:21 ..
-r-xr-xr-x  1 root  wheel13163 Jul  4  2007 3dfx.ko
-r-xr-xr-x  1 root  wheel 4948 Jul  4  2007 3dfx_linux.ko
-r-xr-xr-x  1 root  wheel55673 Jul  4  2007 aac.ko
-r-xr-xr-x  1 root  wheel 4427 Jul  4  2007 aac_linux.ko
-r-xr-xr-x  1 root  wheel 3296 Jul  4  2007 accf_data.ko
-r-xr-xr-x  1 root  wheel 5868 Jul  4  2007 accf_http.ko
-r-xr-xr-x  1 root  wheel   369012 Jul  4  2007 acpi.ko
-r-xr-xr-x  1 root  wheel18136 Jul  4  2007 acpi_asus.ko
-r-xr-xr-x  1 root  wheel12062 Jul  4  2007 acpi_fujitsu.ko
-r-xr-xr-x  1 root  wheel15152 Jul  4  2007 acpi_ibm.ko
-r-xr-xr-x  1 root  wheel10558 Jul  4  2007 acpi_panasonic.ko
-r-xr-xr-x  1 root  wheel 6599 Jul  4  2007 acpi_sony.ko
-r-xr-xr-x  1 root  wheel12183 Jul  4  2007 acpi_toshiba.ko
-r-xr-xr-x  1 root  wheel17119 Jul  4  2007 acpi_video.ko
-r-xr-xr-x  1 root  wheel86198 Jul  4  2007 agp.ko
-r-xr-xr-x  1 root  wheel25105 Jul  4  2007 aha.ko
-r-xr-xr-x  1 root  wheel18784 Jul  4  2007 ahb.ko
-r-xr-xr-x  1 root  wheel   139328 Jul  4  2007 ahc.ko
-r-xr-xr-x  1 root  wheel 7787 Jul  4  2007 ahc_eisa.ko
-r-xr-xr-x  1 root  wheel 8541 Jul  4  2007 ahc_isa.ko

What are my choices now? I cannot reboot as it won't run without a
generic kernel. I cannot go back to 6.2 as I have already used
install...?

Thank you!

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


Re: going from 6.2 to 6.3 and custom kernel

2008-01-20 Thread Zbigniew Szalbot
One more thought...

2008/1/21, Zbigniew Szalbot [EMAIL PROTECTED]:
 Hello again,

 2008/1/21, Manolis Kiagias [EMAIL PROTECTED]:
 
 
  Zbigniew Szalbot wrote:
   Here they go:
  
   FreeBSD domain.tld 6.2-RELEASE-p5 FreeBSD 6.2-RELEASE-p5 #2: Wed Jul
   4 13:29:40 CEST 2007 [EMAIL PROTECTED]:/usr/obj/usr/src/sys/LISTS
   i386
  
   $ ls -la /boot
   total 836
   drwxr-xr-x   6 root  wheel 512 Jan 21 07:21 .
   drwxr-xr-x  23 root  wheel 512 Jan 19 18:06 ..
   -r--r--r--   1 root  wheel7638 Jan 22  2007 beastie.4th
   -r--r--r--   1 root  wheel8192 Jan 21 07:21 boot
   -r--r--r--   1 root  wheel 512 Jan 22  2007 boot0
   -r--r--r--   1 root  wheel 512 Jan 21 07:21 boot0sio
   -r--r--r--   1 root  wheel 512 Jan 22  2007 boot1
   -r--r--r--   1 root  wheel7680 Jan 21 07:21 boot2
   -r--r--r--   1 root  wheel1201 Jan 21 07:21 cdboot
   drwxr-xr-x   2 root  wheel 512 Jan 21 07:21 defaults
   -r--r--r--   1 root  wheel1741 May  7  2006 device.hints
   -r--r--r--   1 root  wheel2249 Jan 22  2007 frames.4th
   drwxr-xr-x   2 root  wheel9728 Jan 21 07:21 kernel.old
   -r-xr-xr-x   1 root  wheel  217088 Jan 21 07:21 loader
   -r--r--r--   1 root  wheel7772 Jan 22  2007 loader.4th
   -rw-r--r--   1 root  wheel   0 Sep  8  2006 loader.conf
   -r--r--r--   1 root  wheel   15219 Jan 22  2007 loader.help
   -r-xr-xr-x   1 root  wheel  212992 May  7  2006 loader.old
   -r--r--r--   1 root  wheel 389 May  7  2006 loader.rc
   -r--r--r--   1 root  wheel 512 Jan 22  2007 mbr
   drwxr-xr-x   2 root  wheel 512 May  7  2006 modules
   drwxr-xr-x   2 root  wheel9728 Jan 21 07:21 mykernel.old
   -r--r--r--   1 root  wheel  219136 Jan 21 07:21 pxeboot
   -r--r--r--   1 root  wheel 692 Jan 22  2007 screen.4th
   -r--r--r--   1 root  wheel   36440 Jan 22  2007 support.4th
  
   Thank you!
  
   I can repeat upgrade/install procedure but will it help?
  
   Thanks!
  
   Zbigniew Szalbot
  
  
  
  Problem is if you run freebsd-update install a second time, I believe it
  will install the rest of the system, as it has already installed the kernel.
   From your /boot/ directory I see no /kernel directory, I assume you
  moved it to mykernel.old

 Yes, I did. I was then going to copy GENRIC when it turned out there is none.

  However the /kernel.old directory has a today's date, while normally
  this is only changed when you recompile a new kernel. Is it possible
  there was a GENERIC kernel in there that was updated?
  I am just speculating here, but you could try the following:
 
  - Reboot
  - Escape to loader prompt
  - unload
  - load /boot/kernel.old/kernel
  - boot
 
  and see if uname -a shows a 6.3-RELEASE
 
  Before this, you may want to take a look at the dates of the files
  inside /boot/kernel.old to see if they are updated

 I don't think they are updated. The date for all of them is Jul 4 2007
 which is when I upgraded to 6.2 (I think or when I last compiled the
 kernel)

 $ ls -la /boot/kernel.old |less
 total 22958
 drwxr-xr-x  2 root  wheel 9728 Jan 21 07:21 .
 drwxr-xr-x  6 root  wheel  512 Jan 21 07:21 ..
 -r-xr-xr-x  1 root  wheel13163 Jul  4  2007 3dfx.ko
 -r-xr-xr-x  1 root  wheel 4948 Jul  4  2007 3dfx_linux.ko
 -r-xr-xr-x  1 root  wheel55673 Jul  4  2007 aac.ko
 -r-xr-xr-x  1 root  wheel 4427 Jul  4  2007 aac_linux.ko
 -r-xr-xr-x  1 root  wheel 3296 Jul  4  2007 accf_data.ko
 -r-xr-xr-x  1 root  wheel 5868 Jul  4  2007 accf_http.ko
 -r-xr-xr-x  1 root  wheel   369012 Jul  4  2007 acpi.ko
 -r-xr-xr-x  1 root  wheel18136 Jul  4  2007 acpi_asus.ko
 -r-xr-xr-x  1 root  wheel12062 Jul  4  2007 acpi_fujitsu.ko
 -r-xr-xr-x  1 root  wheel15152 Jul  4  2007 acpi_ibm.ko
 -r-xr-xr-x  1 root  wheel10558 Jul  4  2007 acpi_panasonic.ko
 -r-xr-xr-x  1 root  wheel 6599 Jul  4  2007 acpi_sony.ko
 -r-xr-xr-x  1 root  wheel12183 Jul  4  2007 acpi_toshiba.ko
 -r-xr-xr-x  1 root  wheel17119 Jul  4  2007 acpi_video.ko
 -r-xr-xr-x  1 root  wheel86198 Jul  4  2007 agp.ko
 -r-xr-xr-x  1 root  wheel25105 Jul  4  2007 aha.ko
 -r-xr-xr-x  1 root  wheel18784 Jul  4  2007 ahb.ko
 -r-xr-xr-x  1 root  wheel   139328 Jul  4  2007 ahc.ko
 -r-xr-xr-x  1 root  wheel 7787 Jul  4  2007 ahc_eisa.ko
 -r-xr-xr-x  1 root  wheel 8541 Jul  4  2007 ahc_isa.ko

 What are my choices now? I cannot reboot as it won't run without a
 generic kernel. I cannot go back to 6.2 as I have already used
 install...?

Would it matter that I did the upgrade procedure:
sh freebsd-update.sh -f freebsd-update.conf -r 6.3-RELEASE upgrade
serveral times?

I had problems with system asking for file comparison, which I
described here (and I wanted to have another look at them):

http://lists.freebsd.org/pipermail/freebsd-questions/2008-January/166804.html

Could this be why I have no GENERIC kernel?

Thanks!

Zbigneiw Szalbot
___
freebsd-questions@freebsd.org mailing 

Re: going from 6.2 to 6.3 and custom kernel

2008-01-20 Thread Zbigniew Szalbot
Hello,

2008/1/21, Manolis Kiagias [EMAIL PROTECTED]:
 Zbigniew Szalbot wrote:
  Hello,
 
 
  It will not update your kernel, but if you do freebsd-update install you
  will get an updated GENERIC kernel in /boot/GENERIC.
 
  This is what I did:
 
  freebsd-update -r 6.3-RELEASE upgrade
 
  (got the warning you mentioned)
 
  freebsd-update install
 
  Got a message about installing kernel updates. Got a new generic kernel
  in /boot/GENERIC (check to see this exists!)
 
 
  Yes, on the other machine there is no /boot/GENERIC
  So what do I do (I followed the steps you described).
 
  # locate GENERIC
  /usr/src/sys/alpha/conf/GENERIC
  /usr/src/sys/alpha/conf/GENERIC.hints
  /usr/src/sys/amd64/conf/GENERIC
  /usr/src/sys/amd64/conf/GENERIC.hints
  /usr/src/sys/i386/conf/GENERIC
  /usr/src/sys/i386/conf/GENERIC.hints
  /usr/src/sys/ia64/conf/GENERIC
  /usr/src/sys/ia64/conf/GENERIC.hints
  /usr/src/sys/pc98/conf/GENERIC
  /usr/src/sys/pc98/conf/GENERIC.hints
  /usr/src/sys/powerpc/conf/GENERIC
  /usr/src/sys/powerpc/conf/GENERIC.hints
  /usr/src/sys/sparc64/conf/GENERIC
  /usr/src/sys/sparc64/conf/GENERIC.hints
 
 
  Thanks!
 
  Zbigniew Szalbot
 
 
 So, you actually run freebsd-update install?
Yes, I did.

sh freebsd-update.sh -f freebsd-update.conf install


 Running just the freebsd-update -r 6.3-RELEASE upgrade part will not
 install anything. You will have to run freebsd-update install, it will
 complain about not running a GENERIC kernel and install the new one in
 /boot/GENERIC. Although in my case I believe I already had a
 /boot/GENERIC kernel, and I think this was created by standard
 freebsd-update (i.e. when going from a -p# to another -p# while in 6.2)

 Could you please send the output of uname -a and ls -la /boot

Here they go:

FreeBSD domain.tld 6.2-RELEASE-p5 FreeBSD 6.2-RELEASE-p5 #2: Wed Jul
4 13:29:40 CEST 2007 [EMAIL PROTECTED]:/usr/obj/usr/src/sys/LISTS
i386

$ ls -la /boot
total 836
drwxr-xr-x   6 root  wheel 512 Jan 21 07:21 .
drwxr-xr-x  23 root  wheel 512 Jan 19 18:06 ..
-r--r--r--   1 root  wheel7638 Jan 22  2007 beastie.4th
-r--r--r--   1 root  wheel8192 Jan 21 07:21 boot
-r--r--r--   1 root  wheel 512 Jan 22  2007 boot0
-r--r--r--   1 root  wheel 512 Jan 21 07:21 boot0sio
-r--r--r--   1 root  wheel 512 Jan 22  2007 boot1
-r--r--r--   1 root  wheel7680 Jan 21 07:21 boot2
-r--r--r--   1 root  wheel1201 Jan 21 07:21 cdboot
drwxr-xr-x   2 root  wheel 512 Jan 21 07:21 defaults
-r--r--r--   1 root  wheel1741 May  7  2006 device.hints
-r--r--r--   1 root  wheel2249 Jan 22  2007 frames.4th
drwxr-xr-x   2 root  wheel9728 Jan 21 07:21 kernel.old
-r-xr-xr-x   1 root  wheel  217088 Jan 21 07:21 loader
-r--r--r--   1 root  wheel7772 Jan 22  2007 loader.4th
-rw-r--r--   1 root  wheel   0 Sep  8  2006 loader.conf
-r--r--r--   1 root  wheel   15219 Jan 22  2007 loader.help
-r-xr-xr-x   1 root  wheel  212992 May  7  2006 loader.old
-r--r--r--   1 root  wheel 389 May  7  2006 loader.rc
-r--r--r--   1 root  wheel 512 Jan 22  2007 mbr
drwxr-xr-x   2 root  wheel 512 May  7  2006 modules
drwxr-xr-x   2 root  wheel9728 Jan 21 07:21 mykernel.old
-r--r--r--   1 root  wheel  219136 Jan 21 07:21 pxeboot
-r--r--r--   1 root  wheel 692 Jan 22  2007 screen.4th
-r--r--r--   1 root  wheel   36440 Jan 22  2007 support.4th

Thank you!

I can repeat upgrade/install procedure but will it help?

Thanks!

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


Re: going from 6.2 to 6.3 and custom kernel

2008-01-20 Thread Manolis Kiagias



Zbigniew Szalbot wrote:



Would it matter that I did the upgrade procedure:
sh freebsd-update.sh -f freebsd-update.conf -r 6.3-RELEASE upgrade
serveral times?

I had problems with system asking for file comparison, which I
described here (and I wanted to have another look at them):

http://lists.freebsd.org/pipermail/freebsd-questions/2008-January/166804.html

Could this be why I have no GENERIC kernel?

Thanks!

Zbigneiw Szalbot

  
I doubt it, but can't really tell you. None of my systems asked any 
questions.

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


Re: going from 6.2 to 6.3 and custom kernel

2008-01-19 Thread Zbigniew Szalbot
Hello again,

  How do I update the kernel manually then?
 
  Do I have to fetch the latest source and then follow the advice given here?
 
  http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/kernelconfig-building.html
 
  Thanks!
 
  Zbigniew Szalbot
 
 
 It will not update your kernel, but if you do freebsd-update install you
 will get an updated GENERIC kernel in /boot/GENERIC.

 This is what I did:

 freebsd-update -r 6.3-RELEASE upgrade

 (got the warning you mentioned)

 freebsd-update install

 Got a message about installing kernel updates. Got a new generic kernel
 in /boot/GENERIC (check to see this exists!)

 Depending on whether you have console access to the machine or not:

 1. If you don't have console access (you are doing this remotely), mv
 /boot/kernel /boot/mykernel.old and mv /boot/GENERIC /boot/kernel and
 reboot. This is because you can't (normally) interrupt the loader
 remotely - unless someone does it for you. Continue from step 3.

 2. If you are in front of the machine, reboot. Stop the boot sequence
 when the boot loader comes up, and escape to loader prompt. Type:

 unload
 load /boot/GENERIC/kernel
 boot

 3. You are now running a 6.3-RELEASE kernel, albeit a GENERIC one. Run
 freebsd-update install again to install the rest of the system.

 4. Recompile your custom kernel the usual way, i.e.

I do have to fetch the latest sources before building a custom kernel, don't I?


 make buildkernel KERNCONF=MYKERNEL
 make installkernel KERNCONF=MYKERNEL
 reboot

 5. You are done!

Thanks!

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


Re: going from 6.2 to 6.3 and custom kernel

2008-01-19 Thread Manolis Kiagias



Zbigniew Szalbot wrote:

Hello again,

  

How do I update the kernel manually then?

Do I have to fetch the latest source and then follow the advice given here?

http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/kernelconfig-building.html

Thanks!

Zbigniew Szalbot


  

It will not update your kernel, but if you do freebsd-update install you
will get an updated GENERIC kernel in /boot/GENERIC.

This is what I did:

freebsd-update -r 6.3-RELEASE upgrade

(got the warning you mentioned)

freebsd-update install

Got a message about installing kernel updates. Got a new generic kernel
in /boot/GENERIC (check to see this exists!)

Depending on whether you have console access to the machine or not:

1. If you don't have console access (you are doing this remotely), mv
/boot/kernel /boot/mykernel.old and mv /boot/GENERIC /boot/kernel and
reboot. This is because you can't (normally) interrupt the loader
remotely - unless someone does it for you. Continue from step 3.

2. If you are in front of the machine, reboot. Stop the boot sequence
when the boot loader comes up, and escape to loader prompt. Type:

unload
load /boot/GENERIC/kernel
boot

3. You are now running a 6.3-RELEASE kernel, albeit a GENERIC one. Run
freebsd-update install again to install the rest of the system.

4. Recompile your custom kernel the usual way, i.e.



I do have to fetch the latest sources before building a custom kernel, don't I?

  

make buildkernel KERNCONF=MYKERNEL
make installkernel KERNCONF=MYKERNEL
reboot

5. You are done!



Thanks!

Zbigniew Szalbot

  
Assuming you had the sources for 6.2 installed (how else could  you had 
compiled a custom kernel anyway?), freebsd-update will also update your 
sources (look at freebsd-update.conf and you will realize it 
immediately). Just go ahead and compile your new custom kernel!


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


Re: going from 6.2 to 6.3 and custom kernel

2008-01-19 Thread Zbigniew Szalbot
Hello,

 Assuming you had the sources for 6.2 installed (how else could  you had
 compiled a custom kernel anyway?), freebsd-update will also update your
 sources (look at freebsd-update.conf and you will realize it
 immediately). Just go ahead and compile your new custom kernel!

Thank you!

FreeBSD 6.3-RELEASE #6: Sat Jan 19 10:19:28 CET 2008

:)

I'd like to thank all people involved with FreeBSD development and
support for a great, great product! You're doing an incredible work
for the benift of a large community. Thank you!

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


Re: going from 6.2 to 6.3 and custom kernel

2008-01-19 Thread Wojciech Puchar

WARNING: This system is running a szalbot kernel, which is not a
kernel configuration distributed as part of FreeBSD 6.2-RELEASE.
This kernel will not be updated: you MUST update the kernel manually
before running freebsd-update.sh install.

How do I update the kernel manually then?


simply recompile - sources are updated by freebsd-update
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: going from 6.2 to 6.3 and custom kernel

2008-01-18 Thread Manolis Kiagias

Zbigniew Szalbot wrote:

Hello,

I thought I would try to upgrade from 6.2 to 6.2-Release now that it
is officially avilable. However, I do have custom kernel on my
machine. And when using advice written by Colin (thanks!)
http://www.daemonology.net/blog/2007-11-10-freebsd-minor-version-upgrade.html
I get this warning:

WARNING: This system is running a szalbot kernel, which is not a
kernel configuration distributed as part of FreeBSD 6.2-RELEASE.
This kernel will not be updated: you MUST update the kernel manually
before running freebsd-update.sh install.

How do I update the kernel manually then?

Do I have to fetch the latest source and then follow the advice given here?

http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/kernelconfig-building.html

Thanks!

Zbigniew Szalbot

  
It will not update your kernel, but if you do freebsd-update install you 
will get an updated GENERIC kernel in /boot/GENERIC.


This is what I did:

freebsd-update -r 6.3-RELEASE upgrade

(got the warning you mentioned)

freebsd-update install

Got a message about installing kernel updates. Got a new generic kernel 
in /boot/GENERIC (check to see this exists!)


Depending on whether you have console access to the machine or not:

1. If you don't have console access (you are doing this remotely), mv 
/boot/kernel /boot/mykernel.old and mv /boot/GENERIC /boot/kernel and 
reboot. This is because you can't (normally) interrupt the loader 
remotely - unless someone does it for you. Continue from step 3.


2. If you are in front of the machine, reboot. Stop the boot sequence 
when the boot loader comes up, and escape to loader prompt. Type:


   unload
   load /boot/GENERIC/kernel
   boot

3. You are now running a 6.3-RELEASE kernel, albeit a GENERIC one. Run 
freebsd-update install again to install the rest of the system.


4. Recompile your custom kernel the usual way, i.e.

   make buildkernel KERNCONF=MYKERNEL
   make installkernel KERNCONF=MYKERNEL
   reboot

5. You are done!
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]