[Planetlab-devel] bootcd_v3 for wireless/mesh myplc

Chan, Winson C winson.c.chan at intel.com
Thu Nov 9 16:58:24 EST 2006


Marc,

I think it's the bootcd.img I modified that's causing problem.  Can you
review the following and see if I'm doing anything wrong?  Thanks.

1.	cp /plc/root/usr/share/bootcd/build/isofs/bootcd.img bootcd.img
2.	mkdir bootcd
3.	mv bootcd.img bootcd.img.gz
4.	gunzip bootcd.img.gz
5.	cd bootcd
6.	cpio -i --make-directories < ../bootcd.img
7.	copy wireless software into appropriate places
8.	chroot bootcd 
9.	install and configure wireless software
10.	modify /etc/init.d/pl_netinit script as necessary
11.	exit
12.	dd if=/dev/zero of=bootcd.img bs=1024 count=200000
13.	/sbin/mke2fs -F -m 0 -b 1024 bootcd.img 200000
14.	mount bootcd.img /mnt/initrd -t ext2 -o loop
15.	Copy all of the contents in the bootcd directory created at step
5.
16.	umount /mnt/initrd
17.	gzip -9 bootcd.img
18.	mv bootcd.img.gz
/plc/root/usr/share/bootcd/build/isofs/bootcd.img
19.	/plc/root/usr/share/bootcd/build.sh -f plnode.txt

Btw, what is the kernel version (boot and production) used for the
nodes?

Thanks.
Winson


-----Original Message-----
From: devel-bounces at planet-lab.org [mailto:devel-bounces at planet-lab.org]
On Behalf Of Chan, Winson C
Sent: Thursday, November 09, 2006 12:57 PM
To: Marc E. Fiuczynski; devel at lists.planet-lab.org
Subject: RE: [Planetlab-devel] bootcd_v3 for wireless/mesh myplc

Marc,

I trace it to a possible hardware problem with USB on my laptop.  So I
moved on to using CD and it booted.  But I'm running into a different
problem.  On boot, the kernel, overlay.img, and boot.img were loaded.
However, the system halts a few minutes after.  The last thing it was
doing was the following.  

Initializing USB Mass Storage driver..
Usbcore: registered new driver usb-storage
USB Mass Storage support registered
Floppy drive(s): fd0 is 1.44M
FDC 0 is a National Semiconductor PC87306
INIT: Switching to runlevel: 0
INIT: Sending processes the TERM signal
Umount: /dev/pts: not mounted
Umount: /tmp/tmp.uFmDiQh351: not found
shutdown: sending all processes the TERM signal...
shutdown: sending all processes the KILL signal.
shutdown: turning off swap
shutdown: unmounting all file systems
The system is halted. 
md: stopping all md devcies
md: md0 switced to read-only mode.
Shutdown: hda
System halted.


-----Original Message-----
From: Chan, Winson C 
Sent: Wednesday, November 08, 2006 4:08 PM
To: 'Marc E. Fiuczynski'; devel at lists.planet-lab.org
Subject: RE: [Planetlab-devel] bootcd_v3 for wireless/mesh myplc

Marc,

I got the error "Missing Operating System" when booting from USB.  I
want to verify with you what I did.

1. mount BootCD-3.3.usb /mnt/usb -o loop
2. cp planet.cnf /mnt/usb/plnode.txt
3. umount /mnt/usb
4. dd if=BootCd-3.3.usb of=/dev/sdb1
	Where /dev/sdb1 is the device FC3 assigns to my USB flash drive

Thanks.
Winson


-----Original Message-----
From: Marc E. Fiuczynski [mailto:mef at CS.Princeton.EDU] 
Sent: Wednesday, November 08, 2006 2:50 PM
To: Chan, Winson C; Bound, Jim; devel at lists.planet-lab.org
Subject: RE: [Planetlab-devel] bootcd_v3 for wireless/mesh myplc

> Actually, I will be using DHCP for the wireless network. I'm making
the
> boot server be a dhcp server as well.  And when I select DHCP at the
PLC
> website, the primary DNS entries are grey out.  So, do I still need to
> worry about name resolution for the nodes?

No. Life should be good.

Marc

_______________________________________________
Devel mailing list
Devel at lists.planet-lab.org
https://lists.planet-lab.org/mailman/listinfo/devel



More information about the Devel mailing list