Subject: AW: Cube fileserver
To: 'Laurens Vets' <port-cobalt@NetBSD.org>
From: Andreas Fuchs <email@example.com>
Date: 05/05/2004 20:04:38
This is a multi-part message in MIME format.
I do not know if firewire is working, but i got a adaptec usb 2.0 pci =
succesfully working with usb harddisks.
Some hints how to do it is in the attached file.
Von: port-cobalt-owner@NetBSD.org [mailto:port-cobalt-owner@NetBSD.org] =
Auftrag von Laurens Vets
Gesendet: Dienstag, 4. Mai 2004 18:38
Betreff: Cube fileserver
I've just acquired my first Cube and I would like to 'upgrade' the=20
harddisks as described by Shon and his gigaCube project.=20
(http://www.shon.org/qube/). Seen the fact that 240GB storage will=20
probably be not enough someday ;-), I was wondering whether it would be=20
possible to use a firewire controller in the free pci slot (thus using=20
only one harddrive instead of the 2 on Shon's project) and use that for=20
extra external storage.
Is this possible?
name="Qube2 NetBSD-current install.txt"
filename="Qube2 NetBSD-current install.txt"
HOWTO install NetBSD-current on a Cobalt Qube2
I'm not native english speaker so sorry for the "writing style"
Version 0.1 02.02.2004 Andreas Fuchs, firstname.lastname@example.org
speciall thank to Dennis Chernoivanov for the great
recovery cd image
This guide describes in short steps how i did an upgrade from a running =
NetBSD 1.6.1 to NetBSD-current
(actually it's all in here: =
- move the 1.6.1 source if you have any
mv /usr/src /usr/src.1.6.1
- Download everything from:
- unzip/untar all the tar.gz files
- build the toolchain (~4h on a Qube2)
cd /usr/src && ./build.sh tools
- edit your kernel config
cp GENERIC MYKERNEL
if you have no idea what to edit here, then you are maybe following =
the wrong guide
- compile the new kernel
cd /usr/src && ./build.sh kernel=3DMYKERNEL
- install the new kernel
mv /netbsd /netbsd.old && cp =
If the system boot's you have succesfully compiled a -current kernel, go =
ahead now to install the other updated programs and do the finetuning on =
- to install the -current userland
- for the panel to run
ln -s /dev/panel0 /dev/lcd
echo "i am a qube" > /dev/lcd
you can use paneld now if you wish, on my qube paneld is using alot of =
resources so i do not start it
There is allot to patch and do to get USB support via a PCI card
- for USB support change
at the end
then add the following to MYKERNEL
options USBVERBOSE # verbose USB device autoconfig messages
# USB Controller and Devices
# PCI USB controllers
# The EHCI is not ready for prime time.
#ehci* at pci? dev ? function ? # Enhanced Host Controller
ohci* at pci? dev ? function ? # Open Host Controller
uhci* at pci? dev ? function ? # Universal Host Controller =
# CardBus USB controllers
#ehci* at cardbus? dev ? function ? # Enhanced Host Controller
#ohci* at cardbus? dev ? function ? # Open Host Controller
# USB bus support
#usb* at ehci?
usb* at ohci?
usb* at uhci?
# USB Hubs
uhub* at usb?
uhub* at uhub? port ? configuration ? interface ?
# USB Generic driver
ugen* at uhub? port ?
# USB Mass Storage
umass* at uhub? port ? configuration ? interface ?
scsibus* at umass?
- patch the following files
- run also
sh /dev/MAKEDEV minimal
sh /dev/MAKEDEV scsibus
- to get a usb disk to work which has already a windows partition (i'm =
using a Maxtor OneTouch 120GB disk)
connect the disk, you should see a message that the disk is recognised =
that there is a scsi device (sd0) created.
- to get a memory key to work (which has already a windows partition)
insert the key, you should see some meassages that the key is =
recognised by umass as scsdisk and finally as sd0
if there is a dos partion on the stick i had to:
disklabel -e -I sd0
and edit on the second line (device e) the fstype from unused to MSDOS
then mount the partition with:
mount /dev/sd0e /mnt