Kernel Downloads (random)
http://www.deherrera.net/cobalt/
Scripts
Temperature:
#!/bin/bash
awk '{print $3 "C/" (9/5)*$3+32 "F"}' /proc/cobalt/sensors/thermal
IP Address:
#!/bin/bash
/sbin/ifconfig eth0 | grep "inet addr" | awk -F: '{print $2}' | awk '{print $1}'
CRONTAB for Above to LCD Panel
sudo crontab -e
*/10 * * * * /sbin/lcd-write `/root/ip.sh` `/root/temp.sh`
This is gentoo, ttyS0 for debian?
check your nfsroot filesystem has a dev/console set up correctly.
crw-rw-rw- 1 root tty 5, 1 Feb 14 00:03 console
if there isn't a console then cd into /nfsroot-x86 and do:
rm -f dev/console
mknod --mode=622 dev/console c 5 1
make sure you omit the '/' - eg don't do rm -f /dev/console :)
If your system uses udev to create the device nodes then the console and /dev/null
nodes will not exist until udev starts which is too late for the init and so the
box hangs/reboots after the message "Warning: unable to open an initial console".
I played around with this for ages, mounting the disc back into my build box and
booting from the CD in rescue mode. Every time I looked the dev nodes where there.
Finally it dawned on me what might be wrong, so I mounted the disc as a slave in
another Linux box and checked the disc's /dev directory - empty of course. The
solution I found was to create 3 device nodes manually when the disc was mounted
in another linux box:
mount /dev/hdb2 /mnt/ ; cd /mnt
you can check that the dev directory is indeed empty, and if so, execute the
following commands:
mknod --mode=666 dev/console c 5 1
mknod --mode=666 dev/null c 1 3
mknod --mode=666 dev/zero c 1 5
It took me ages to realise that booting my build box in rescue mode created the
/dev nodes so it always looked like it was populated when I checked!
The CentOS installer will install i686 kernel, glibc and openssl so if you need
this on a Raq3/4 or a Qube 3 then you will need to replace the i686 kernel,
glibc and openssl with the i386 versions.
--------------------------------------------------------------------------------
http://gentoo.404ster.com/texts.php?action=view&id=10
Because we have no video card we have no need of setting a console font, so:
# rc-update del consolefont
ROM Configuration for Filesystem:
Your boot_dev is /boot partition, the root_dev is your / partition.
set_boot_dev hda1
set_root_dev hda4
--------------------------------------------------------------------------------
Linux on RaQ 3+ x86 (may be inaccurate!)
The RaQ 3+ expects the kernels in straight gzipped format, not
bzImage/compressed format, so when you make your kernel, use 'make vmlinux'
instead of the traditional bzImage/zImage method. Make sure you specify the
vmlinux target, as the default target makes a bzImage and will not help you
at all.
Your kernel must be less than 1000000b compressed and 2500000b uncompressed,
so I elected to make extra functionality, like USB, loadable modules instead
of including them in the kernel. When you are done you should have a
/usr/src/linux/vmlinux kernel. Make sure it fits the size requirements above
for the uncompressed kernel, then compress it up with 'gzip -v9 vmlinux'.
You'll get a vmlinux.gz that is ready for booting on a RaQ. Move it to
/boot/vmlinux.gz, which should reside on hda1.
Your LCD will be forever stuck with the Cobalt logo saying 'Booting...' as
it requires some sort of special kernel module to make it work and I
didn't even try to make mine behave. Along the same lines your 'Web'
light will not do anything anymore, I assume it is also related to the LCD
issue.
--------------------------------------------------------------------------------