, <port-cobalt@netbsd.org>
From: Wil Bowes <wil@kiowa.demon.co.uk>
List: port-cobalt
Date: 09/04/2003 12:52:29
Phil,
I used the standard method for recompiling my kernel, seemed to work ok. Had
to disable the LCD output in /etc/rc (see below) as I hadn't applied the
patch to the kernel source (do I need to do this??).
/etc/rc:
# echo -n "[Starting up] > $script_name" > /dev/lcd
Kernel recompile procedure:
1. Downloaded syssrc.tgz
2. Untarred using cd /; tar zxvpf /tmp/syssrc.tgz
3. cd /usr/src/sys/arch/cobalt/conf
4. cp GENERIC QUBE
5. vi QUBE
6. Made changes.
7. config QUBE
8. cd ../compile/QUBE
9. make depend
10. make
11. make install (copies /netbsd to /onetbsd and overwrites /netbsd with new
kernel).
12. reboot
I was expecting to have to faff around with the /altroot/boot files but I
found I didn't have to.
This was all done after a fresh install from the 1.6.1 restore CD and I'm
doubting myself that it was this easy now but I'm 99.9% certain I didn't
have to do anything else!!
BTW if anyone is remotely interested I'm trying to get Otto Audio Jukebox
http://www.cardhouse.com/otto/ working on my Qube2 (Gateway Micro Server),
I've installed a Soundblaster PCI 128 (Ensoniq AudioPCI 97 ES1371B (rev.
0x09) eap driver) and it appears to be detected and installed fine...
Haven't played any sounds through it yet so I could be getting my hopes up
too early!!
Otto is designed to work with mySQL but I've managed to persuade it to talk
with PostgreSQL and all the other software it requires is supported on the
Qube2. I'm just not a Perl programmer so the latest error I've hit has
flummoxed me for the moment.
Wil
----- Original Message -----
From: <phil.yeo@orange.co.uk>
To: <port-cobalt@netbsd.org>
Sent: Wednesday, September 03, 2003 12:23 PM
Subject: How to recompile Kernel after using install CD
>
> Hello,
>
> I have screwed it up again.
>
> If I re-install using the CD to get a fresh 1.6.1 installation what do I
do to
> recompile the kernel on my Qube 2?
>
> Here is what I did:
>
> Download syssrc.tgz from
> http://ftp.plig.org/pub/NetBSD/NetBSD-1.6.1/source/sets/
> Copy syssrc.tgz to the Qube
> tar -xzpf syssrc.tgz
> cd /usr/src/sys/arch/cobalt/conf
> cp GENERIC QUBE
> vi QUBE
> ..make changes
> config QUBE
> cd ../compile/QUBE
> make depends
> make
>
> edit /etc/fstab the following line
> /dev/wd0e /altroot ext2fs rw 0 1
>
> mount /altroot
>
> [I think I messed it up here somewhere]
>
> rm /altroot/boot/vmlinux_RAQ.gz
> rm /altroot/boot/vmlinux_raq-2800.gz
>
> mv /netbsd /netbsd.orig
> mv /altroot/boot/vmlinux.gz /altroot/boot/vmlinux.gz.orig
>
> cp netbsd /netbsd
> cp netbsd /altroot/boot/vmlinux
> cd /altroot/boot
> gzip -v9 vmlinux
>
>
> Any tips appreciated.
>
> Also can I set up my i386 to do the compilation as it takes over half an
hour on
> the Qube?
>
> Thanks,
>
> Phil
>
>
>
>
****************************************************************************
***
> Important.
> Confidentiality: This communication is intended for the above-named person
and
> may be confidential and/or legally privileged. Any opinions expressed in
this
> communication are not necessarily those of the company. If it has come to
you
> in error you must take no action based on it, nor must you copy or show it
to
> anyone; please delete/destroy and inform the sender immediately.
>
> Monitoring/Viruses
> Orange may monitor all incoming and outgoing emails in line with current
> legislation. Although we have taken steps to ensure that this email and
> attachments are free from any virus, we advise that in keeping with good
> computing practice the recipient should ensure they are actually virus
free.
>
> Orange PCS Limited is a subsidiary of Orange SA and is registered in
England No
> 2178917, with its address at St James Court, Great Park Road, Almondsbury
Park,
> Bradley Stoke, Bristol BS32 4QJ.
>
****************************************************************************
***
>