lubuntu-qa team mailing list archive
-
lubuntu-qa team
-
Mailing list archive
-
Message #01285
Re: (PPC) Latest Radeon Kernel Bug
hey i can add to this you might also want to double check that your md5sums match up.
so really the process to get a cd should be with a little linux magic that you can put in a file, mark excecutable, and run as a script (note the warning if you have more than one cdrom), passing "alternate" or "desktop" as the parameter, e.g. ./foobar alternate:
--------------------------------------------
#!/bin/bash
# make sure we have arguments and decide which iso to use
case $1 in
desktop)
zsync_url="http://cdimage.ubuntu.com/lubuntu/daily-live/current/quantal-desktop-powerpc.iso.zsync"
iso_filename="quantal-desktop-powerpc.iso"
md5sums_url="http://cdimage.ubuntu.com/lubuntu/daily-live/current/MD5SUMS"
;;
alternate)
zsync_url="http://cdimage.ubuntu.com/lubuntu/daily/current/quantal-alternate-powerpc.iso.zsync"
iso_filename="quantal-alternate-powerpc.iso"
md5sums_url="http://cdimage.ubuntu.com/lubuntu/daily/current/MD5SUMS"
;;
*)
echo "usage: $0 [alternate|desktop]"
exit
;;
esac
# grab the iso
wget $zsync_url -O $iso_filename
# a. grab the MD5SUMS file
# b. get the md5sum of the iso, excluding the filename
# c. find the appropriate md5sum in the MD5SUMS file, excluding the filename
# d. compare 2,3 and report success or failure
wget $md5sums_url
if [ $(md5sum $iso_filename | awk '{print $1}') == $(grep powerpc MD5SUMS | awk '{print $1}') ];
then
echo "iso passes"
else
echo "iso fails"
exit
fi
# copy the iso the cd
# if you have more than one cd drive you might want to use df to figure out which specific one to write to
dd if=$iso_filename of=/dev/cdrom
# a. just like in 2b above, get the md5sum of the iso
# b. use a large block size for dd that the isos should always be divisible by to speed up the process
# c. make sure to divide the iso size by the block size for dd's count
# d. using b,c get the md5sum of the cdrom
# e. compare a,d and report sucess or failure
if [ $(md5sum $iso_filename | awk '{print $1}') == $(dd if=/dev/cdrom bs=2048 count=$(ls -l | grep $iso_filename | echo $(awk '{print $5}')/2048 | bc -l) | md5sum) ];
then
echo "disc passes"
else
echo "disc fails"
fi
--------------------------------------------
i should note, this is probably useful to qa in general.
wxl
On Fri, 21 Sep 2012 08:58:03 -0600
Greg Faith <gregfaith@xxxxxxxxx> wrote:
> On Fri, Sep 21, 2012 at 7:56 AM, Arild Lindseth
> <arild.lindseth@xxxxxxxxxxx> wrote:
> >
> > Hi Greg
> >
> > You managed to go through the install process fully and reboot? What kind
> > of ppc do y.ou have? I have an iBook G4, 1.42GHz CPU and 1.5GB RAM and
> > cannot boot the live CD with any thing actually working properly. Any
> > suggestions to how I can generate any usefull info to the iso developers?
> >
> > Regards from Arild
> >
> >
>
> Hi Arild,
>
> Yes I managed to go through the install process fully and reboot..
> I have a PowerBook G4 laptop 1 Ghz and 1 GB Ram (both plenty for Lubuntu)
>
> I always use USBs (too lazy or cheap to do CDs (probably too lazy))
>
> I zsync my Lubuntu 12.10 testing isos daily nearly and that would include:
> desktop-powerpc
> alternate-powerpc
> desktop-amd64
> alternate-amd
> desktop-i386
> alternate-i386
>
> I prepare all my USB isos on a PC where I save all my testing isos.
>
> Now when I am going to test the powerpc isos. I delete everything on
> the USB then I use the dd command to write a byte for byte of the iso.
> After getting to the directory Isos/ppc in terminal.
>
> My commands looks like these:
>
> sudo dd if=quantal-desktop-powerpc.iso of=/dev/sdb
>
> or
>
> sudo dd if=quantal-alternate-powerpc.iso of=/dev/sdb
>
> Be very careful with the dd command and make sure you are writing to
> the correct sdx
>
> The tricky part is booting into OpenFirmware and getting the USB iso
> started. Here is a link that I used when I first started testing
> powerpc isos (this guy has done lots of research on powerpc stuff)..
> Adam (rsavage).
>
> https://wiki.ubuntu.com/PowerPCFAQ#How_do_I_boot_from_a_USB_drive.3F
>
> The command I use in the openfirmware typically is:
>
> boot usb0/@1:2,\\yaboot
>
> Some have issues with this but I usually don't if the iso is good I
> can get to the live session.
>
> Right now with 12.10, I am fighting with radeon graphic issues and the
> kernel modesets. Do you have Lubuntu 12.04 running? It is very
> stable for me on my PowerBook G4.
>
> I am no PowerPC guru believe me.. I only picked up this G4 because a
> Mac-Guy I know has more of them than he needs and gave me mine. I saw
> that Lubuntu qa only had one testers doing all the ppc and amd-64 MAC
> testing and started trying to help him when I could. My main focus is
> testing the Lubuntu amd64 and i386 images on PC laptops.. but they are
> boring if you want more Bugs.. q:o)
>
> Okay, this dissertation is over I am not even going to re-read it for errors..
>
> Out,
> Greg nm_geo
>
> --
> Mailing list: https://launchpad.net/~lubuntu-qa
> Post to : lubuntu-qa@xxxxxxxxxxxxxxxxxxx
> Unsubscribe : https://launchpad.net/~lubuntu-qa
> More help : https://help.launchpad.net/ListHelp
Follow ups
References