User Tools

Site Tools


hardware:dbbc

This wiki is not maintained! Do not use this when setting up AuScope experiments!

This is an old revision of the document!


Documentation

DBBC Configuration

* Conditioning Module Status

Supplied 1PPS and 10 MHz reference, using the cables previously connected to the SRTP2 system. BNC→SMA adaptors were used to make the connection.

Booted into Windows from the onboard PC, configured the network settings to IP 131.217.63.164, NM 255.255.255.128, GW 131.217.63.129. Used “System” in control panel to change computer name (to dbbchb) & DNS lookup to phys.utas.edu.au.

Ran “DBBC control”, answered “y” to reconfiguration. Sampling modules were re-initialised and resumed processing with the 1PPS sync.

DBBC 3rd Party Utilities & Software

Recording Configuration DBBC And Mark5B+

Linux OS Installation

We have had no luck with the Linux version and are currently sticking with Windows

Dave Graham provided a current version of the Linux implementation on 2010 May 11. The files were downloaded and placed in a directory on a Linux PC. An empty USB-mounted HDD was used and partitions created to match the first two as described in the READ.ME file provided by Dave. This was done using fdisk. The first partition was tagged as bootable.

Then ext3 filesystems were installed on each partition using mkfs.ext3.

The image of the first partition was then copied to the disk:
dd if=dd_sda1 /dev/sdc1

The file boot_sector was copied to the master boot record:
sudo dd if=boot_sector of=/dev/sdc bs=512 count=1

Then the first partition was mounted at /mnt/tmp
sudo mkdir /mnt/tmp
sudo mount /dev/sdc1 /mnt/tmp
Then find out the disk ID:
ls -l /dev/disk/by-id | grep sdc
Then edit the fstab file in the mounted partition so that the / partition has the ID of /dev/sdc1 and /usr2 is at /dev/sdc2, /data at /dev/sdc3. /etc/fstab then looks like this:

/dev/disk/by-id/usb-WDC_WD75_00AACS-00D6B0_DCA425712418-0:0-part1 /                    ext3       acl,user_xattr        1 1
proc                 /proc                proc       defaults              0 0
sysfs                /sys                 sysfs      noauto                0 0
debugfs              /sys/kernel/debug    debugfs    noauto                0 0
usbfs                /proc/bus/usb        usbfs      noauto                0 0
devpts               /dev/pts             devpts     mode=0620,gid=5       0 0
/dev/disk/by-id/usb-WDC_WD75_00AACS-00D6B0_DCA425712418-0:0-part2 /usr2                ext3       acl,user_xattr        1 2
/dev/disk/by-id/usb-WDC_WD75_00AACS-00D6B0_DCA425712418-0:0-part3 /data                ext3       acl,user_xattr        1 2

also edit /mnt/tmp/boot/grub/menu.lst and change the disk ID.

The disk can now be booted from.

Installation on a Compact Flash Card

Use a fast (133x or better) card with 4 GB or more. We're using a SanDisk Ultra 200x 8 GB.

Mounted the CF on a Linux PC via a USB card reader. Card appears as /dev/sde1

As the card is larger than 4 GB I partitioned it to match Dave's card:

disk /dev/sdb: 4009 MB, 4009549824 bytes
255 heads, 63 sectors/track, 487 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Disk identifier: 0xe7cf73dd

  Device Boot      Start         End      Blocks   Id  System
/dev/sdb1   *           2         487     3903795   83  Linux
sudo fdisk /dev/sde
p
d (deleted FAT partition)
n
p
1
2
487  (added Linux partition)
a
1 (made partition bootable)
p (should now match Dave's card)
w

Then installed an ext3 filesystem:

sudo mkfs.ext3 /dev/sde1

Copy the image onto the CF:

gunzip dbbc_if.gz
sudo dd if=dbbc_cf of=/dev/sde 

Mount the disk

sudo mount /dev/sde1 /mnt/tmp

Edit /mnt/tmp/fstab and change first line to read

/dev/sda1 /       ext3       noatime,acl,user_xattr        1 1

Edit /mnt/tmp/boot/grub/menu.lst and replace references to the disk partition to /dev/sda1:

# Modified by YaST2. Last modification on Fri May 14 13:24:28 UTC 2010
default 0
timeout 8
gfxmenu (hd0,0)/boot/message
##YaST - activate

###Don't change this comment - YaST2 identifier: Original name: linux###
title openSUSE 10.3
    root (hd0,0)
    kernel /boot/vmlinuz-2.6.22.5-31-default root=/dev/sda1 vga=0x31a    splash=silent showopts
    initrd /boot/initrd-2.6.22.5-31-default

###Don't change this comment - YaST2 identifier: Original name: failsafe###
title Failsafe -- openSUSE 10.3
    root (hd0,0)
    kernel /boot/vmlinuz-2.6.22.5-31-default root=/dev/sda1 vga=normal showopts ide=nodma apm=off acpi=off noresume nosmp noapic maxcpus=0 edd=off 3
    initrd /boot/initrd-2.6.22.5-31-default

Unmount, eject and boot on DBBC!

4 GB card installation

Tim has been having trouble getting the 8 GB card to boot so I got a 4 GB SanDisk Ultra 200x card.

Partition table initially showed

4011 MB, 4011614208 cylinders
128 heads, 63 cylinders/track, 971 cylinders
units = cylinders of 8064 * 512 = 4128768 bytes

so in the “extra functionality” mode of fdisk I changed number of cylinders to 487 and number of heads to 255

partition table then could be made to match Dave's.

DBBC Power Measurement

Commercial Boards used in the DBBC

/home/www/auscope/opswiki/data/attic/hardware/dbbc.1332988580.txt.gz · Last modified: 2012/03/29 02:36 by Stuart Weston