Older blog entries for pnasrat (starting at number 14)

21 Apr 2004 (updated 22 Apr 2004 at 06:08 UTC) »
It Installs

Last night I successfully did a cold (other than having an AppleBootstrap Part already) install of rawhide onto my iMac DV SE. Here are the gotchas:

  • install in text mode as we don't get correct X setup for macs yet - ie mac text at second yaboot prompt
  • you must be running an anaconda >= 9.92-5
  • Partitioning works other than for mac specific stuff - I just autopartitioned
  • complete install
  • reboot but use the cd again and go into rescue mode - mac rescue
  • I used nfs install so /mnt/source is now the tree - I installed hfsutils - either rpm --root or cp, chroot, rpm will do
  • I ran yabootconfig and edited then ran ybin
  • set default run level to 3 and reboot
  • I manually configure XFree86 (actually I cheated by using ydl's Xautoconfig rebuilt using xorg-foo

For all those keen to go I am pushing my tree courtesy of skvidal to duke:



Note off the cd you can tell yaboot to boot off the kernel - during install note the following partition numbers - / partition and /boot partition if seperate. Also note the kernel version (check from you mirror)

Boot from CD:

For non-boot cases (where 4 is / partition)

tell yaboot to boot hd:4,/boot/vmlinuz-2.6.5-1.327 root=/dev/hda4

For seperate boot (where 4 is /boot and 6 is /):

tell yaboot to boot hd:4,/vmlinuz-2.6.5-1.327 root=/dev/hda6

Oh and the snapshot is up of the tree that worked.

Java a packagers viewpoint

Life has been busy - weddings take up a lot of your time...

Well havoc and others are commenting on java currently so I thought I'd give an opinion from the trenches.

Having worked with JPackage for a long time one the main frustrations is having to make our users repackage the non-free components. However due to licensing confusion as summarised by another Jpackage member figuring out what we could provide as a package is non-trivial. Also trying to keep things FHS compliant means modifications (even if it is just changing paths or wrapper scripts due to lack of proper symlink resolving) which the license prohibits.

On the bright side there is cross distribution discussion that is looking at the issues with java both on free VM's and vendor ones.

I have been very impressed with RHUG and the native java stuff going into Fedora, it is good news for JPackage as people are looking at interoperability. Java support is required for both Fedora and RHEL realistically and it isn't going to go away soon, hopefully we can make it transparent for any implementation.

Oh and hopefully we'll get an updated native Eclipse snapshot soon...

27 Mar 2004 (updated 28 Mar 2004 at 01:44 UTC) »

It's been a while LifeStuff(tm)

Fedora PPC

Things are looking fairly good atm, I've been running arjan's ppc kernel this week, rebuilt for firewire so it'll talk to my shiny new firewire drive I'm going to test builds on.

After wrestling with anaconda in test mode (turned out prodpath in anaconda was still looking for RedHat) a test run went fairly well. Real install on Sunday.

Other stuff

For doing my kernel builds I've started to use mezzanine to wrap around CVS and a PDR type setup. Useful for generating diffs of specs and .configs.

Discussion on objects in python for rpm is starting which is nice, there is still so much to do at the rpm-python level, including a nasty for biarch setups in addErase that skvidal caught - that's on the list for Sunday too.

Today (Saturday) is Red Hat World Tour meets my LUG which should be fun.

UPDATE I'll leave it to you, dear reader to figure some of the questions I asked Red Hat.

9 Mar 2004 (updated 9 Mar 2004 at 16:00 UTC) »
Fedora PPC

Apparently ppc support may be hitting the Fedora kernel tree.

The patches to arch/ppc/mm/init.c and include/asm-ppc/pgalloc.h sound identical to what I did based on spot's sparc patches.

At least can work with the split out configs for pmac. This gives me hope for test3, now I just need to persuade my fiancee to let my buy a G5.

Catching up

Been busy with various things over the last week, so not had great deal of time. However today got a fedora core 2.6.3 derived kernel up, running with selinux on ppc32. Minor patches need to push to various people after more testing.

[pauln@imac pauln]$ uname -a
Linux imac.eridu 2.6.3psn1 #6 SMP Sun Mar 7 09:41:38 GMT 2004 ppc ppc ppc GNU/Linux
[pauln@imac pauln]$ id -Z

Caught up in bugzilla checking existing ppc bugs and got yaboot/ybin added to policy-sources. Probably should get quik and silo added too.

Also looked at ELKS for the first time in ages, some patches I need to check over and merge. I'm glad to see things picking up on it, I just need to unpack my 8086's.

2 Mar 2004 (updated 2 Mar 2004 at 17:29 UTC) »
Back to the grindstone

Well had housewarming this weekend which took up lots of my time - but was very worth while. Lots of people I hadn't seen for a while.

I've made a start on rpm.spec for rpm-python, it'll be the first rpm-python component I've done from scratch but I'm fairly happy with how it's going. I've also experimented with wrapping the rpm extension under a python module to make it easier to merge some helper functions.

jbj has added glob support for macrofiles which will make jpackage's life easier for macros.jpackage.

My rpmdb went a bit foo'ey so I took the opportunity to play some more with skvidal's rpmUtils module in order to fix it. Only real annoyance was not being able to access some useful functions in rpmUtils.updates as they are part of the class. Probably me being lazy though.


Failed to go to FOSDEM, meaning I missed lots of the OSS java people, but as oneof the things I've been sporadically trying to follow is native eclipse for FC2 I have some good news. I'm happy to say that the latest ant that is in rawhide fixes the issues I had with the naoko ant and libgcj-ssa (multiple classpath entries for .so in an executable).

I'm rebuilding against gcc34 packages and if that all works I may host a yum repo. I'll build on ppc later too. Then to work on rpm-java. I may also try and package native jython too.

Brief Update

I've not been up to stuff because of LifeStuff(tm) such as getting engaged and booking a wedding.

Fear not I shall return to geekdom briefly...

I've a few small rpm fixes I should push to HEAD after testing, plus XFree86 patch (the SDK includes patch made it into 4.4 rc 3 so will be in 4.4 yay!).

Bits and pieces

Have organised bandwidth so work should progress more on fedora-ppc kernel.

Having discovered jrpm I am using jython to bend it to my will :)

Jython 2.1+ on java1.3.1_09-i386 (JIT: null)
Type "copyright", "credits" or "license" for more information.
import com.jguild.jrpm as rpm

Next to play with natively compiled RHUG jython and jrpm, then try and build jrpm natively.

4 Feb 2004 (updated 4 Feb 2004 at 12:44 UTC) »
Events Warranted an Update

Well I've pushed another patch mharris' way (one typo has caused so much pain...) so things looking good. Unfortunately my laptop has decided that it really didn't like my last up2date -fu and is segfaulting at such commands as /bin/ls. Seeing as rpm and python are b0rked too I'm going to reinstall rawhide later today. This will delay the synaptics rpm itself as I can't run rpmbuild on laptop atm.

The ppc kernel is looking good, compiled, linked and runs. Need to do config tweaking now and then push to davej. Evil hacky implementation of page_is_array for ppc32 (it just returns 1 atm), but this is apparently what is in ppc64 RHEL branch for time being - so it's not just me ;)

Oh and people feel free to certify me on advogato pnasrat

5 older entries...

New Advogato Features

New HTML Parser: The long-awaited libxml2 based HTML parser code is live. It needs further work but already handles most markup better than the original parser.

Keep up with the latest Advogato features by reading the Advogato status blog.

If you're a C programmer with some spare time, take a look at the mod_virgule project page and help us with one of the tasks on the ToDo list!