Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 21 Jan 2008 09:38:55 +0200
From:      Manolis Kiagias <sonicy@otenet.gr>
To:        Zbigniew Szalbot <zszalbot@gmail.com>
Cc:        freebsd-questions@freebsd.org
Subject:   Re: going from 6.2 to 6.3 and custom kernel
Message-ID:  <47944C0F.3030407@otenet.gr>
In-Reply-To: <94136a2c0801202311w1502dbc1o69b1c689168352e6@mail.gmail.com>
References:  <94136a2c0801181417w395f7532w4761fc76388ed60@mail.gmail.com>	<47912AE1.6000603@otenet.gr>	<94136a2c0801190114u46f872eas8f6afd5e52dd73b1@mail.gmail.com>	<4791C177.6030304@otenet.gr>	<94136a2c0801202225r47f424a7gfc3f3fbebffc9403@mail.gmail.com>	<47943DB6.7070301@otenet.gr>	<94136a2c0801202244m524383fak5053d7204224f33f@mail.gmail.com>	<47944387.5010801@otenet.gr> <94136a2c0801202311w1502dbc1o69b1c689168352e6@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help


Zbigniew Szalbot wrote:
> Hello again,
>
> 2008/1/21, Manolis Kiagias <sonicy@otenet.gr>:
>   
>> 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     root@domain.tld:/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  wheel    7638 Jan 22  2007 beastie.4th
>>> -r--r--r--   1 root  wheel    8192 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  wheel    7680 Jan 21 07:21 boot2
>>> -r--r--r--   1 root  wheel    1201 Jan 21 07:21 cdboot
>>> drwxr-xr-x   2 root  wheel     512 Jan 21 07:21 defaults
>>> -r--r--r--   1 root  wheel    1741 May  7  2006 device.hints
>>> -r--r--r--   1 root  wheel    2249 Jan 22  2007 frames.4th
>>> drwxr-xr-x   2 root  wheel    9728 Jan 21 07:21 kernel.old
>>> -r-xr-xr-x   1 root  wheel  217088 Jan 21 07:21 loader
>>> -r--r--r--   1 root  wheel    7772 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  wheel    9728 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  wheel    13163 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  wheel    55673 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  wheel    18136 Jul  4  2007 acpi_asus.ko
> -r-xr-xr-x  1 root  wheel    12062 Jul  4  2007 acpi_fujitsu.ko
> -r-xr-xr-x  1 root  wheel    15152 Jul  4  2007 acpi_ibm.ko
> -r-xr-xr-x  1 root  wheel    10558 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  wheel    12183 Jul  4  2007 acpi_toshiba.ko
> -r-xr-xr-x  1 root  wheel    17119 Jul  4  2007 acpi_video.ko
> -r-xr-xr-x  1 root  wheel    86198 Jul  4  2007 agp.ko
> -r-xr-xr-x  1 root  wheel    25105 Jul  4  2007 aha.ko
> -r-xr-xr-x  1 root  wheel    18784 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 the link by private email in a few moments. It is 
currently uploading.





Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?47944C0F.3030407>