For reference, what bzr revision are you using?
Actually "bzr version" doesn't show anything useful use: "bzr version-info"
Regards,
No, it means you must be still using the version Karmic installed with
apt-get....
There's been a lot of random bug fixes pushed into rootstock since
it's first release with karmic
I would really download the latest version via:
bzr branch lp:project-rootstock
cd project-rootstock
sudo ./rootstock......
btw, with trunk you might need "sudo apt-get install dctrl-tools"
Regards,
bzr branch lp:project-rootstock
Branched 95 revision(s).
Awesome, thanks! I'm trying again.
This gave "./rootstock: 792: Bad substitution" after downloading the
.deb file still.
sudo ./rootstock --fqdn beagleboard --imagesize 3G --dist karmic \
--serial ttyS2 --seed xubuntu-desktop \
--kernel-image http://rcn-ee.net/deb/kernel/beagle/karmic/v2.6.31.11-x11.0/linux-image-2.6.31.11-x11.0_1.0karmic_armel.deb
Also:
project-rootstock$ bzr version-info
revision-id: ogra@ubuntu.com-20100415215701-dp3nl33bnxf4xt2a
date: 2010-04-15 23:57:01 +0200
build-date: 2010-04-21 13:44:11 -0500
revno: 95
branch-nick: project-rootstock
and:
sudo apt-get install dctrl-tools
Reading package lists... Done
Building dependency tree
Reading state information... Done
dctrl-tools is already the newest version.
The following packages were automatically installed and are no longer required:
libdns50 binutils-static
Use 'apt-get autoremove' to remove them.
0 upgraded, 0 newly installed, 0 to remove and 5 not upgraded.
Next I'm going to try just this:
sudo ./rootstock --fqdn beagleboard --imagesize 2G --dist karmic \
--kernel-image http://rcn-ee.net/deb/kernel/beagle/karmic/v2.6.31.11-x11.0/linux-image-2.6.31.11-x11.0_1.0karmic_armel.deb
Are there restrictions on the kernel image used from rcn-ee.net? I
just picked the newest 2.6.31, which I think is also the closest to
Xubuntu. I don't really need the GUI though, I'd just use it to
initially configure a webcam, but I'm hoping with 2.6.31 the driver
will work as well as it does on my Ubuntu 9.10 server.
Thanks again for helping.
This gave "./rootstock: 792: Bad substitution" after downloading the
.deb file still.
That's still strange, 792 is the end of a if loop:
790 if [ "$KERNEL_IMAGE" ];then
791 setup_kernel_image
792 fi
sudo ./rootstock --fqdn beagleboard --imagesize 3G --dist karmic \
--serial ttyS2 --seed xubuntu-desktop \
--kernel-image http://rcn-ee.net/deb/kernel/beagle/karmic/v2.6.31.11-x11.0/linux-image-2.6.31.11-x11.0_1.0karmic_armel.debAlso:
project-rootstock$ bzr version-info
revision-id: ogra@ubuntu.com-20100415215701-dp3nl33bnxf4xt2a
date: 2010-04-15 23:57:01 +0200
build-date: 2010-04-21 13:44:11 -0500
revno: 95
branch-nick: project-rootstockNext I'm going to try just this:
sudo ./rootstock --fqdn beagleboard --imagesize 2G --dist karmic \
--kernel-image http://rcn-ee.net/deb/kernel/beagle/karmic/v2.6.31.11-x11.0/linux-image-2.6.31.11-x11.0_1.0karmic_armel.debAre there restrictions on the kernel image used from rcn-ee.net? I
just picked the newest 2.6.31, which I think is also the closest to
Xubuntu. I don't really need the GUI though, I'd just use it to
initially configure a webcam, but I'm hoping with 2.6.31 the driver
will work as well as it does on my Ubuntu 9.10 server.
Nope, there is no restrictions, the code is very generic so it'll work
with any http or ftp link, local or external server...
I'm currently pointing people to use the 2.6.32 series as the 2.6.31
is nolonger tested/etc...
Using your same rootstock, with my Debian Squeeze x86_64 server i get...
I: Extracting util-linux...
I: Extracting zlib1g...
I: First stage install done
I: Downloading kernel image (deb) from external site
I: linux-image-2.6.31.11-x11.0_1.0karmic_armel.deb download complete
I: Setting up serial tty in image
I: Getting Virtual Machine kernel from the server
But something strange on my Karmic x86_64 laptop:
I: linux-image-2.6.31.11-x11.0_1.0karmic_armel.deb download complete
I: Setting up serial tty in image
I: Getting Virtual Machine kernel from the server
I: Switching to Virtual Machine for second stage processing
qemu: unknown parameter 'aio' in
'file=/tmp/tmp.fVBwb84ceS/qemu-armel-201004211429.img,aio=native,cache=none'
I: Virtual Machine done
I: Creating tarball from rootfs
I: Mounting temporary Image
I: ARM rootfs created as
/home/voodoo/bzr_repo/project-rootstock/armel-rootfs-201004211429.tgz
I: Extracting vmlinuz from *.deb
cp: cannot stat `/tmp/tmp.fVBwb84ceS/tmpmount/boot/initrd.img-*': No
such file or directory
Looks, like the qemu needed by rootstock is too new for Karmic.. The
aio change was made in Rev 95..
So if we revert to the previous with: "bzr revert -r 94"
then run it:
I: Downloading kernel image (deb) from external site
I: linux-image-2.6.31.11-x11.0_1.0karmic_armel.deb download complete
I: Setting up serial tty in image
I: Getting Virtual Machine kernel from the server
I: Switching to Virtual Machine for second stage processing
Adding `local diversion of /usr/sbin/invoke-rc.d to
/usr/sbin/invoke-rc.d.rootstock'
Internet Systems Consortium DHCP Client V3.1.2
Copyright 2004-2008 Internet Systems Consortium.
All rights reserved.
For info, please visit http://www.isc.org/sw/dhcp/
it seems to be working for me again..
I'll test a 386 machine tonight when i get home tonight with karmic..
(old athlon 2100xp)... too see if it's an 64bit vs 32bit problem..
In the mean time, i do have a demo image here already built with the
latest stable kernel, so you could test your usb device..
http://elinux.org/BeagleBoardUbuntu#Karmic_9.10
Regards,
Hi,
I tested the demo image, and it does not work any better with the
webcam. I installed Debian squeeze on a different disk, and got the
same 792 bad substitution, so maybe it is a 32bit problem. Do you
know of anywhere that has a 2.6.31 image I could use to test the
camera? I know it works well on a 386 with 2.6.31, but there could be
something different on the bb that's causing the problem. It takes
pictures, but starts including part of older images shifted around.
Thanks!
Jimmy
Hi Jimmy,
I must have missed a previous email.. What is this "same 792 bad
substitution" error you mentioned?
Once you have an image up and running, you can easily install any
kernel version listed on rcn-ee.net by downloading and running an
install-me.sh script on the beagle..
The Latest 2.6.31 for Karmic would be:
http://rcn-ee.net/deb/kernel/beagle/karmic/v2.6.31.11-x11.0/
So on the beagle:
wget http://rcn-ee.net/deb/kernel/beagle/karmic/v2.6.31.11-x11.0/install-me.sh
then
". install-me.sh"
then reboot...
Regards,
I just updated to the latest rootstock and tried to run the following
code from http://elinux.org/BeagleBoardUbuntu for a Lucid 10.04 image
and I'm getting that unknown aio parameter:
...
I: Downloading kernel image (deb) from external site
I: linux-image-2.6.32.11-l13_1.0lucid_armel.deb download complete
I: Setting up serial tty in image
I: Getting Virtual Machine kernel from the server
I: Switching to Virtual Machine for second stage processing
qemu: unknown parameter 'aio' in 'file=/tmp/tmp.QxNNQAxEyv/qemu-
armel-201004221701.img,aio=native,cache=none'
I: Virtual Machine done
I: Creating tarball from rootfs
I: Mounting temporary Image
I: ARM rootfs created as /home/george/project-rootstock/armel-
rootfs-201004221701.tgz
I: Extracting vmlinuz from *.deb
cp: cannot stat `/tmp/tmp.QxNNQAxEyv/tmpmount/boot/initrd.img-*': No
such file or directory
should I revert to the previous branch ("bzr revert -r 94")??
Thanks,
George
Hi George,
Yeap, that's correct.. I've verified that on all my machines..
When running rootstock trunk in Karmic, make sure you issue "bzr
revert -r 94".. Then everything seems to work again.. The one oddity
is still the Karmic pae enabled 32bit kernel as something else goes
wrong....
Regards,
Hello,
I have the same problem with a UVC webcam which sent down images as MJPEG by default as I suspect that the buffer for this was being overrun as the processor on the beagleboard could not decompress them quick enough and it was not being double buffered. I’m guessing this from looking in comments in the opencv code. My other clue is that if I run the camera with luvcview but force YUV mode then it does not do this as the image comes down uncompressed.
This is only a guess but I’d give it a try and if you could ;et me knwo your results I’d be very interested.
Cheers,
Neil
Hello, Robert.
I had same ‘aio’ problem with my karmic on X86_64 machine.
So I just manually changed the line
QEMUOPTS="-M versatilepb ${VMCPU:±cpu $VMCPU} -kernel ${BUILDDIR}/qemu-vmlinuz -no-reboot -nographic -pidfile ${QEMUPID} -drive file=${IMAGENAME},aio=native,cache=none ${SWAPDEV} -m 256"
to
QEMUOPTS="-M versatilepb ${VMCPU:±cpu $VMCPU} -kernel ${BUILDDIR}/qemu-vmlinuz -no-reboot -nographic -pidfile ${QEMUPID} -drive file=${IMAGENAME},cache=none ${SWAPDEV} -m 256"
and it works.
Maybe the aio option is not that much important.
I guess that it is some kind of virtual hard disk setting option.
Regards,
ILKYOUNG.
2010/4/22 Robert Nelson <robertcnelson@gmail.com>
Yeap, this is a known issue, the aio option is not recognized by
Karmic's qemu... Gotta use Lucid... or revert rev 95, or manually
remove the aio=native option
The change was made, after a recommendation from qemu developers to solve
https://bugs.launchpad.net/ubuntu/+source/qemu-kvm/+bug/532733
which is still being worked on...
Regards,