Re: [SLUG] Error in Time() command

2010-05-26 Thread Ian Wienand
On Sun, May 23, 2010 at 2:02 AM, tenz...@iinet.net.au
tenz...@iinet.net.au wrote:
 I'm seeking a preferably citeable reference to the amount of error in the 
 returned result from a Time() command. I want to be
 able to quote the level of error in timing the execution speed of my project.

A reference that probably doesn't apply to you wouldn't really
convince me; I would think simply showing a sane standard deviation
over a reasonable number of runs would be better.  You could find a
lot of papers that wouldn't even give this.  [1] is an example of a
paper written with several timing-based results with what I think is
quite readable stats  (IMHO:)

-i

[1]  ftp://ftp.cse.unsw.edu.au/pub/doc/papers/UNSW/0307.pdf
-- 
SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/
Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html


Re: [SLUG] Issues creating/imporing vms with ESXi

2009-04-15 Thread Ian Wienand
On Wed, Apr 15, 2009 at 10:13:42AM +0800, Hongduc Nguyen wrote:
 By any chance has anyone encountered the error message 'A general
 system error occurred - Internal error' during the creation/import
 of a VM via the VMware infastructure client?

This type of question is best asked on the VMware community forums,
see:

http://communities.vmware.com

Thanks,

-i
-- 
SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/
Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html


Re: [SLUG] Ubuntu gcc version problem

2008-10-27 Thread Ian Wienand
On Mon, Oct 27, 2008 at 11:38:15PM +1100, david wrote:
 When I run vmware-config.pl I get the following warning message:

 Your kernel was built with gcc version 4.2.3, while you are trying to use
 /usr/bin/gcc version 4.2.4.

 What version am I running? Should I care? vmware-config.pl gives dire 
 warnings about impending crashes, although I've found two posts on the 
 net suggesting that I can bypass the warning.

It's warning you because different versions of gcc *might* do things
like layout structures differently, meaning the newly built modules
*might* get a wrong offset and end-up poking around where they're not
supposed to (i.e. ABI compatability).

The results could be from nothing at all to all hell breaking loose.
However, for a minor version bump like this it is very unlikely
anything like that changed in gcc, so you should be fine.

If you want to be really sure, re-compile your kernel with the gcc on
your system now.

-i
-- 
SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/
Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html


Re: [Fwd: Re: [SLUG] IOWait definition]

2008-10-09 Thread Ian Wienand
On Fri, Oct 10, 2008 at 05:50:52AM +0800, Adrian Chadd wrote:
 I've never seen IOWAIT for NFS client traffic (ie, traffic from an
 NFS client talking to an NFS server) but who knows, this is linux..

I would say this doesn't count to iowait either; see
fs/nfs/pagelist.c:nfs_wait_on_request() -- it appears to put itself
out of action without doing anything required to update iowait times
(see kernel/sched.c:io_schedule()).

I rekon Shehjar would know though... :)

-i
-- 
SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/
Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html


Re: [SLUG] olympics viewing

2008-08-12 Thread Ian Wienand
On Tue, Aug 12, 2008 at 2:52 PM, Luke Vanderfluit
[EMAIL PROTECTED] wrote:
 Does anyone know of a site where I can watch the olympics using a linux
 (non-windows) codec?

As much as flash is a Linux codec, you could try the instructions for
viewing on Youtube at [1]

[1] http://valleywag.com/5034896/how-to-crack-youtubes-olympics-channel

-i
-- 
SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/
Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html


Re: [SLUG] Filesystem which allows online fsck?

2008-06-11 Thread Ian Wienand
On Wed, Jun 11, 2008 at 8:24 PM, Erik de Castro Lopo
[EMAIL PROTECTED] wrote:
 Does anyone know of a Linux filesystem which allows online
 fsck on a disk that is currently mounted read/write?

I remember ChunkFS talking about this:

http://www.valhenson.org/chunkfs/

Maybe you could take a LVM snapshot and run fsck on that.  But if the
file system is hosed, do you really want to be writing more to it?

-i
-- 
SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/
Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html


Re: [SLUG] USB speakers play everything but web served files

2008-03-04 Thread Ian Wienand
On Tue, Mar 04, 2008 at 08:13:41PM +1100, Mark wrote:
 I assume I am missing some iceweasel plug in, but everything seems
 to be there any pointers?

If you see the video then you've got the flash plugin installed OK.

You might like to try installing the pulseaudio sound server (if it's
not already running; apt-get install pulseaudio, read
/usr/share/doc/pulseaudio/README.Debian) and using the libflashsupport
library from

http://www.pulseaudio.org/wiki/FlashPlayer9Solution

This works pretty good for me.

-i

-- 
SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/
Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html


Re: [SLUG] Tuesday afternoon shell command optimisation party!

2007-12-20 Thread Ian Wienand
On Thu, Dec 20, 2007 at 09:22:49PM +1100, Jamie Wilkinson wrote:
 I love Ians posts only because he includes L1 and L2 cache hits in every
 one.  If only you would share the command that gave you these numbers.

The numbers come from the CPU performance counters.  I use the perfmon
tools [1] to get at these.  This project should (one day) make it into
the standard kernel as the interface to performance management units
provided by current CPUs.

One extremely compelling reason to use Itanium is the excellent HP
Caliper [2].  It monitors a range of useful metrics and presents them
in a report, which is much easier than measuring them all by hand and
manually correlating.  AFAIK there isn't anything like this for x86 so
far, so you're left to get familiar with [3].

-i

[1] http://perfmon2.sourceforge.net/
[2] http://www.hp.com/go/caliper
[3] http://www.intel.com/design/processor/manuals/253669.pdf
-- 
SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/
Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html


Re: [SLUG] Tuesday afternoon shell command optimisation party!

2007-12-18 Thread Ian Wienand
On Wed, Dec 19, 2007 at 12:34:02AM +1100, Rick Welykochy wrote:
 No sir! But shell usually wins.
 
 On my 1 GHz / 1 GB powerbook, the python one-liner
 I just submitted runs 5 x faster than the original.

I think C usually wins, the version below is 25 times faster than the
python version (from disk cache).

[EMAIL PROTECTED]:~$ ls -lh /tmp/randomcommas 
-rw-r--r-- 1 ianw ianw 65M 2007-12-19 14:30 /tmp/randomcommas

[EMAIL PROTECTED]:~$ /usr/bin/time ./comma  /tmp/randomcommas
commas: 1287100
0.07user 0.04system 0:00.11elapsed 99%CPU (0avgtext+0avgdata 0maxresident)k
0inputs+0outputs (0major+126minor)pagefaults 0swaps

[EMAIL PROTECTED]:~$ /usr/bin/time python -Sc import sys; print 
sum(l.count(',') for l in sys.stdin)  /tmp/randomcommas 
1287100
2.68user 0.13system 0:02.84elapsed 99%CPU (0avgtext+0avgdata 0maxresident)k
0inputs+0outputs (0major+8659minor)pagefaults 0swaps

I'd guess the Python version is spending that time doing some extra
copying because it causes a lot of page faults is really cache
unfriendly.

Python
Instructions retired per L1 data cache access: 11.03
Instructions retired per L2 data cache access: 24.16

C
Instructions retired per L1 data cache access: 6.01
Instructions retired per L2 data cache access: 366.92

-i

#include stdio.h
#include stdlib.h
#include sys/types.h
#include sys/stat.h
#include fcntl.h
#include string.h
#include errno.h
#include unistd.h

#define CHUNK 16384 

char buf[CHUNK];

int main(int argc, char *argv[])
{
unsigned long count = 0;
ssize_t len;
int fd = 0;

if (argc != 1)
fd = open(argv[1], O_RDONLY);
if (fd == -1) {
printf(blah: %s\n, strerror(errno));
exit(-1);
}

while ( (len = read(fd, buf, CHUNK)) != 0 )
{
int i;
for (i=0; i  len; i++)
if (buf[i] == ',') count++;
}

printf(commas: %lu\n, count);
return 0;
}
-- 
SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/
Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html


Re: [SLUG] Tuesday afternoon shell command optimisation party!

2007-12-18 Thread Ian Wienand
On Wed, Dec 19, 2007 at 02:51:34PM +1100, Matthew Hannigan wrote:
 Here's one in lex; ripped off from the flex info page.
 I'd be interested in its performance compared to straight C.
 No doubt worse, just curious how much worse.

Similar to the Python version

[EMAIL PROTECTED]:/tmp$ /usr/bin/time ./count  ./randomcommas 
# of commas = 1287100
2.57user 0.02system 0:02.60elapsed 99%CPU (0avgtext+0avgdata 0maxresident)k
0inputs+0outputs (0major+138minor)pagefaults 0swaps

I'm not even going to guess at what that version is actually doing!  A
quick look says this one is CPU bound, compared to Python which is
memory bound.

Lex
% Cycles lost due to GR/load dependency stalls (lower is better): 0.31

Python
% Cycles lost due to GR/load dependency stalls (lower is better): 46.25

The Python spends a lot of time sitting around waiting for data to
come from the cache/memory (load dependency stalls).  The Lex version
doesn't so the extra time can be attributed to CPU work.

-i
-- 
SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/
Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html


Re: [SLUG] switching debian architecture in place?

2007-11-14 Thread Ian Wienand
On Thu, Nov 15, 2007 at 05:47:11PM +1100, Amos Shapira wrote:
 Is there a way to switch over to amd64 system without re-installing
 the system from scratch?

I'm happy to be proved wrong but I think a re-install would be much
easier.

If I had to do it, I would probably use debootstrap to create a chroot
x86-64 environment then use a static shell like sash to copy this
newly created chroot over the existing install.  Then probably spend a
few hours fixing all the things I didn't think of that broke :)

-i
-- 
SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/
Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html


Re: [SLUG] tidy/lint for Apache httpd.conf?

2007-10-30 Thread Ian Wienand
On Wed, Oct 31, 2007 at 02:51:24PM +1100, Sonia Hamilton wrote:
 Anyone seen a 'tidy/lint' like program similar to tidy [1] for cleaning
 up/indenting Apache httpd.conf files?

Try opening it in emacs apache mode (if it doesn't already, type M-x
apache-mode) then indent all lines with M-C-\

-i
-- 
SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/
Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html


Re: [SLUG] Help with strace - WinDev HyperFile Server

2007-05-24 Thread Ian Wienand
On Mon, May 21, 2007 at 10:45:08AM +1000, Simon Wong wrote:
 Can anyone shed a glimmer of light on what the strace trace means?

 clone(child_stack=0, 
 flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD, 
 child_tidptr=0xb7da9928) = 19927
 --- SIGCHLD (Child exited) @ 0 (0) ---
 exit_group(0)   = ?

It forked a child process and then quit.  Try strace with the -f flag
to see what the child does.

-i
-- 
SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/
Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html


Re: [SLUG] AMD based computers.

2007-03-12 Thread Ian Wienand
On Tue, Mar 13, 2007 at 11:54:08AM +1100, Visser, Martin wrote:
 Having two near equal sized competitors in the CPU market ensures
 that progress is aggressively pursued.

If by size you mean performance, maybe, but IIRC Intel still produces
something close to 80% of the x86 market.

-i
-- 
SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/
Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html


Re: [SLUG] dns lookup with host works, other apps doesn't.

2007-02-20 Thread Ian Wienand
On Wed, Feb 21, 2007 at 01:24:01PM +1100, Erik de Castro Lopo wrote:
 Anybody have any explanation for this weird behaviour?

No, but I bet the strace/ltrace output would give a good clue as to
where the problem was happening.

-i
-- 
SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/
Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html


Re: [SLUG] Error in executing mount command

2006-11-28 Thread Ian Wienand
On Wed, Nov 29, 2006 at 01:18:41PM +1100, Leslie Katz wrote:
 mount -o loop /home/leslie/Desktop/sdb.img /mnt/directory
 mount: you must specify the filesystem type

The file system probably starts after the partition table in your dump
of the disk.  Try mounting it with an one block offset, e.g.

mount -o loop,offset=512 ...

-i
-- 
SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/
Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html


[SLUG] NSLU2 USB Power/Serial Port Board

2006-11-08 Thread Ian Wienand
Hi,

A few of the smart cookies at ERTOS/UNSW have designed a great little
add-on board for the Linksys NSLU2 (also known as a Slug --
http://www.nslu2-linux.org/).

It gives you a serial port, a remote reset and allows the device to be
powered over USB -- and it all fits inside the standard case!  This
means you can carry around a whole ARM development platform running
Linux, or L4, or something you wrote yourself, all in your pocket.

It is such fun I'm investigating how we can get these out to others.
If you're interested, please go to

http://www.netux.com.au/nslu2/

and tell me (there's also some photos).  The price will be ~$20AU, but
as with any electronics things vary wildly based on the quantities you
buy (which is why I'm asking).  We'll probably release the plans, but
the genius of it is the small size of the board, which most people
can't (easily) make at home.

Thanks

-i
-- 
SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/
Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html


Re: [SLUG] apt- bittorrent

2006-11-07 Thread Ian Wienand
On Wed, Nov 08, 2006 at 01:02:07AM +1100, Ken Foskey wrote:
 I am sure someone has thought about this.

Yes, I know Shehjar (cc'd) has thought about it an implemented a
version; I'm sure he'd love to talk about it :)

-i
-- 
SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/
Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html


Re: [SLUG] Creating a really really simple .deb package

2006-11-06 Thread Ian Wienand
On Sat, Nov 04, 2006 at 11:09:34PM +1100, Jeremy Visser wrote:
 I would like to know how to create a Debian package that consists of one
 file, not generated by source. I have tried using a Makefile that just
 copies files and running it with CheckInstall, but have failed to get it
 to recognise any changes.

I'm not sure what CheckInstall does, but this should be a fairly easy.
That said, building your first package has a bit of a learning curve
no matter what.

Firstly, write your Makefile to do what it needs to do; but make sure
you allow for a prefix variable correctly; e.g.

---
prefix := /usr

install:
cp file ${prefix}/share/blah
---

This allows you to easily put it in whatever package (deb, rpm, blah)
you want.  automake makes it easy, if you want to learn it.  Put it in
a tarball and use dh_make to get the initial framework for the
package.

Then, your debian/rules file, using CDBS, can be as simple as

---
#!/usr/bin/make -f

include /usr/share/cdbs/1/class/makefile.mk
include /usr/share/cdbs/1/rules/debhelper.mk

DEB_MAKE_CLEAN_TARGET:= clean
DEB_MAKE_BUILD_TARGET:= all
DEB_MAKE_INSTALL_TARGET  := install prefix=$(CURDIR)/debian/tmp/usr
---

dpkg-buildpackage -rfakeroot and you're done.

However, if you are really interested in learning about Debian
packaging, don't use CDBS but build it up by going through the new
maintainers guide [1] to actually learn what CDBS does.

[1] http://www.debian.org/doc/maint-guide/

-i
-- 
SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/
Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html


Re: [SLUG] Some Thoughts Regarding Spam

2006-11-05 Thread Ian Wienand
On Mon, Nov 06, 2006 at 11:40:14AM +1100, Robert Thorsby wrote:
 There is also another new one (which is present on a number of
 mailing lists) that commences with an image.

The only ones spamassassin has missed for me lately is a bunch of
stock scam image based ones with random text.  I heartily recommend
the FuzzyOcr [1] plugin, which passes images through gocr and picks
out scam words.

A quick grep shows it has helped flag 200 of the 1100 spams I've
received over the past 2 weeks.

I sometimes wonder if smart spammers don't mind these arms wars,
because as we cull each new threat we do the work of reducing their
competition for them ...

-i

[1] http://wiki.apache.org/spamassassin/FuzzyOcrPlugin
-- 
SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/
Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html


Re: [SLUG] NSLU2 Stories

2006-10-30 Thread Ian Wienand
On Wed, Oct 25, 2006 at 04:22:27PM +1000, Simon Males wrote:
 It's been brought to my attention that the Linksys NSLU2 runs Linux
 and that there are projects in existence creating custom firmware.

It also runs L4 quite nicley; if you're looking for a challenge you
could shadow the advanced operating systems course from UNSW [1] or
play with some of the ERTOS stuff [2].  You'll want a serial header
which is fun to hardware hack, but careful you don't fry it if you
don't have JTAG equipment; I speak from experience :(.

[1] http://cgi.cse.unsw.edu.au/~cs9242/06/
[2] http://www.ertos.nicta.com.au/

-i
-- 
SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/
Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html


Re: [SLUG] Microtouch USB touch screen X/Y axis swapped

2006-10-24 Thread Ian Wienand
On Tue, Oct 24, 2006 at 03:33:33PM +0930, Glen Turner wrote:
 If that still sucks you'll need to swap the axises in X11 as
 the input layer doesn't allow such niceness.

I've found the evtest program (download latest from)

http://linuxconsole.cvs.sourceforge.net/linuxconsole/ruby/utils/evtest.c?view=log

very useful in tracking down X/Y problems with input drivers.

-i
-- 
SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/
Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html


Re: [SLUG] Re-running X autoconfiguration on Ubuntu

2006-10-09 Thread Ian Wienand
On Mon, Oct 09, 2006 at 07:43:52PM +1000, Mary Gardiner wrote:
  2. dpkg-reconfigure xorg-server at any time, if you want to
 semi-manually configure things and answer a lot of
 semi-compehensible questions

Up the priority so you only see things you have to answer, e.g.

dpkg-reconfigure --priority=high xorg-server

By default reconfigure by hand sets priority to low.

-i


signature.asc
Description: Digital signature
-- 
SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/
Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html

Re: [SLUG] How to force which device is eth0?

2006-08-20 Thread Ian Wienand
On Mon, Aug 21, 2006 at 09:19:13AM +1000, Simon Wong wrote:
 Can anyone offer any advice on how to force which hardware is eth0?

I think you have two options; firstly is the ifrename package, which
reads /etc/iftab.  

The other option is you can give your cards static names with udev,
and then refer to those for your interfaces; see

http://www.debianhelp.co.uk/udev.htm

-i


signature.asc
Description: Digital signature
-- 
SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/
Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html

Re: [SLUG] DHCP client vs sendmail

2006-08-08 Thread Ian Wienand
On Wed, Aug 09, 2006 at 11:58:45AM +1000, Peter Miller wrote:
 In my case, the value of YOUR_ISP_UPSTREAM_MAILSERVER depends on which
 firewall I'm behind, since all the ISPs in question gate client
 connections as being from their own customers' IP addresses, not the
 whole Internet.  So one size definitely doesn't fit all.

Does you ISP not provide you with a secure SMTP server you can
authenticate to?  If they don't, switch ISPs or use the Gmail one.

For example, I have exim on my laptop setup via a ssl tunnel to
Internode's secure SMTP server.  Exim authenticates for for me and it
just works.  I'm sure sendmail can do similar.

Therefore no matter where I am there's no need to switch anything (as
long as I pay my ISP bills :)

-i


signature.asc
Description: Digital signature
-- 
SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/
Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html

Re: [SLUG] Re: Thread distribution on an SMP box

2006-06-27 Thread Ian Wienand
On Tue, Jun 27, 2006 at 05:05:43PM +1000, David Hart wrote:
 AMD has taken out some very interesting patents whereby certain process 
 scheduling operations are moved from the OS into silicon

From reading that patent and a related paper [1] it seems that the
speculative execution on another processor (or processor thread) is
kicked off on a particular instruction and speculatively executes
instructions from the current thread; the particular patent deals with
getting things out the other end in the right order.

It seems this is very effective for loop based code, where the
compiler can find a lot of other things to do.  But have a look at the
figures for IPC on less helpful code; it doesn't seem there is enough
work being found to make it effective.  The authors argue that it is
simpler hardware, so you could increase clock rate.

You're essentially turning two superscalar processors into one with
speculative execution (Itanium anyone?).  We know that even finding
enough instructions to keep the units on a standard superscalar busy
is almost impossible, so, unless you make the compiler much smarter
there is still a bottle neck of finding enough to do (Itanium
anyone?).

Personally, I think we're all going to have to bite the bullet and
learn to write parallelisable code.  For a good discussion on this,
see The problem with threads from May's IEEE Computer [2].

  http://1url.org/go/1USP6574725

A great site I have found is www.pat2pdf.org which puts these in a
little more readable form.

[1] http://citeseer.ist.psu.edu/krishnan99chipmultiprocessor.html
[2] 
http://www.computer.org/portal/site/computer/index.jsp?pageID=computer_level1_articleTheCat=1005path=computer/homepage/0506file=cover.xmlxsl=article.xsl
-- 
SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/
Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html


Re: [SLUG] Thread distribution on an SMP box

2006-06-25 Thread Ian Wienand
On Mon, Jun 26, 2006 at 01:55:16PM +1000, Carlo Sogono wrote:
 I would like to find out how Linux distributes processes in an 
 SMP-enabled box with n CPUs. Will the kernel move a process from one 
 CPU to another if another CPU is idle?

It may do.  Keeping processes close to where they last run is called
CPU affinity, and is obviously better for the cache.  See the man
pages for sched_[set|get]affinity for the Linux interface for binding
to CPUs.

On a larger machine you also need to control node locality, for that
you can use libnuma and numactl, which should come with your
distribution.

-i


signature.asc
Description: Digital signature
-- 
SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/
Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html

Re: [SLUG] Ubuntu : bypassing fsck when booting on battery

2006-06-13 Thread Ian Wienand
On Wed, Jun 14, 2006 at 01:19:59PM +1000, Martin Pool wrote:
 I think this is caused by the fact that fsck runs from rcS and acpid  
 is started from rc0 (i.e. later), and so the acpi modules are not  
 loaded in time to tell fsck to hold off.   Loading the acpi module  
 manually before the on_ac_power check might fix it (in a rather   
 kludgy way).

This is also consistent with it working just fine for me, since I have
very little built as modules.

-i


signature.asc
Description: Digital signature
-- 
SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/
Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html

Re: [SLUG] CRAMFS little vs big endian...

2006-06-13 Thread Ian Wienand
On Tue, Jun 13, 2006 at 06:05:09PM +1000, James Gray wrote:
 Anyone know how (if) it is possible to do the byte-reordering?? 
[of a cramfs file system]

$ apt-get install cramfsswap

-i
-- 
SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/
Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html


Re: [SLUG] How to build a kernel on debian (with modules enabled)

2006-06-12 Thread Ian Wienand
On Sun, Jun 11, 2006 at 12:23:28PM +, Paul Davies wrote:
 Problem: I can't boot the kernel (2.6.15-1) with modules enabled (using 
 DEBIAN)
 
 Reason: My ram disk boot image is not being recognised (not attached to
 an existing device).

Paul, 

My suggestion is ditch the RAM disk; if you don't need it (and I doubt
you do) it's just another thing to go wrong.  Just make sure you build
the important drivers into the kernel (IDE, file system, etc).

You should be able to do

$ make
$ sudo make modules_install
$ sudo make install
$ sudo update-grub

and it should just work

-i


signature.asc
Description: Digital signature
-- 
SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/
Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html

Re: [SLUG] Ubuntu : bypassing fsck when booting on battery

2006-06-09 Thread Ian Wienand
On Fri, Jun 09, 2006 at 08:50:59AM +1000, Erik de Castro Lopo wrote:
 I even tried rebooting and booting on battery and I get the same
 result, it still thinks is on AC power.
 
 This is a Dell Latittude X1, same as Rob's.

FWIW, this works fine (i.e. I get the expected behaviour of no fsck on
battery, even though it wants to) with my X1 and Debian.  I of course
figured this out after rebooting 30 times to try and get the SD card
reader sleeping properly :)

-i


signature.asc
Description: Digital signature
-- 
SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/
Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html

Re: [SLUG] Ubuntu : bypassing fsck when booting on battery

2006-06-09 Thread Ian Wienand
On Fri, Jun 09, 2006 at 05:06:50PM +1000, Erik de Castro Lopo wrote:
 Did you install dapper straight up or install breezy and then
 dist-upgrade?
 
 I'm pretty sure I even installed the one before breezy, upgraded it
 to breezy and then upgraded again to dapper.

I'm afraid I'm one of those uncool actual Debian users; if it helps
it's initscripts 2.86.ds1-14.1 and some fairly recent kernel.

-i


signature.asc
Description: Digital signature
-- 
SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/
Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html

Re: [SLUG] citrix scroll bars do not go back up

2006-05-18 Thread Ian Wienand
On Fri, May 19, 2006 at 11:07:43AM +1000, Ken Foskey wrote:
 I have citrix installed and it has grey scroll bars,  It uses the motif
 libraries.  The problem I am getting is that I can scroll down but not
 back up using the scroll bars.  I have seen this problem with another
 program as well, vnc I think.

IIRC left click goes one way, right click goes the other.

-i


signature.asc
Description: Digital signature
-- 
SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/
Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html

Re: [SLUG] Inatlling a compiled subversion and removing the packaged one - how to fix dependencies.

2006-05-06 Thread Ian Wienand
On Fri, May 05, 2006 at 11:32:18PM +1000, Mike Lake wrote:
 My machine has this:
 
 ~$ ls -l /dev/uran*
 cr--r--r--  1 root root 1, 9 Jun 20  2002 /dev/urandom
 
 ~$ ls -l /dev/ran*
 crw-rw-rw-  1 root root 1, 8 Jun 20  2002 /dev/random

 Why is one writable by all and the other not ?

I think both should be 666.  IIRC, if you write to urandom, it gives
the pseudo random generator a new seed.  Your boot scripts might do
something to it.

 If I do as root 'ln -s /dev/random /dev/urandom' what might it screw up?

Nothing; random is a true random device, and the urandom a
pseudo-random device.  There is a small security issue when you don't
use true random numbers, but this is largely theoretical.

 How can I go back again and create the character device?

man mknod

-i


signature.asc
Description: Digital signature
-- 
SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/
Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html

Re: [SLUG] Inatlling a compiled subversion and removing the packaged one - how to fix dependencies.

2006-05-05 Thread Ian Wienand
On Fri, May 05, 2006 at 05:01:11PM +1000, Michael Lake wrote:
 The make install for the compiled subversion I think will go into 
 /usr/local/
 But I need to remove the subversion that was put on via apt-get which is 
 in /usr/bin/ and /usr/lib etc otherwise there will be clashes and things 
 will get confusing.

/usr/local/bin should be in your path before /usr/bin, so your locally
installed version will be called when you just call 'svn'.  I'd just
leave the old package there.

If you have root, why not symlink /dev/random to /dev/urandom and
avoid the need for entropy.  I'm sure the security implications are
minimal.

-i


signature.asc
Description: Digital signature
-- 
SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/
Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html

Re: [SLUG] LG LW 65 Laptop x.org screen res problems

2006-04-23 Thread Ian Wienand
Mon Mon, Apr 24, 2006 at 10:51:38AM +1000, Menno Schaaf wrote:
 I helped a friend install Ubuntu (5.10) on her laptop this weekend,
 but couldn't get X to display in the native resolution (1280x800).
 It's using the i810 driver, and defaults back to 1024x768.

If it's anything like my Dell X1, try the 915resolution package which
includes the utility and init scripts to re-write the bios to get the
extended resolution.

-i


signature.asc
Description: Digital signature
-- 
SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/
Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html

Re: [SLUG] apt-get update and pgp keys

2006-04-13 Thread Ian Wienand
On Thu, Apr 13, 2006 at 11:10:10PM +1000, Steve Kowalik wrote:
 I doubt the key in question is on the keyservers. It's located at
 http://ftp-master.debian.org/ziyi_key_2006.asc

Or just install the debian-archive-keyring package

-i


signature.asc
Description: Digital signature
-- 
SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/
Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html

Re: [SLUG] software for screencasts

2006-04-11 Thread Ian Wienand
On Tue, Apr 11, 2006 at 03:57:46PM +1000, Julio Cesar Ody wrote:
 does anyone has a recommendation for a software to make screencasts
 (for GNU/Linux)?
 
 What I want is the hability to broadcast my desktop via GAIM/MSN.

I think you might mean taking your screen and encoding it into some
sort of video on the fly, which I have no idea about.  But something I
have heard about is

http://vnccasts.com/

which seems to be doing a similar thing without the GAIM/MSN.  Maybe
there's something in that you could use?

-i


signature.asc
Description: Digital signature
-- 
SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/
Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html

Re: [SLUG] [chat] NFS Shares.

2006-03-21 Thread Ian Wienand
On Tue, Mar 21, 2006 at 08:25:04PM +1100, cmyers wrote:
 Im mounting 5 drives (it takes between 5 - 10 minutes) to mount all the
 drives.
 
 Is there something else I should be looking at? or doing? to get them to
 mount quicker?

Are you sure you're not loosing packets?  I've seen issues where some
magic box in the network decided to mostly drop/shape UDP packets,
causing NFS to act very strage.  Try mounting with TCP and see if that
helps, or trace it using ethereal; you'll quickly see if it is sending
a lot of retry packets.

-i


signature.asc
Description: Digital signature
-- 
SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/
Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html

Re: [SLUG] Latex, layout of maths answer

2006-03-13 Thread Ian Wienand
On Tue, Mar 14, 2006 at 01:43:58PM +1100, Terry Collins wrote:
 Okay, how do you layout an answer for something as simple as
 sqrt(175)-17**2 in latex?

I'd do it something like

\begin{eqnarray*}

a   =  \sqrt{175} - 17^2 \\
=  13.22 - 289 \\
=  -275.78. \\

\end{eqnarray*}


signature.asc
Description: Digital signature
-- 
SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/
Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html

[SLUG] Free AlphaPC 164

2006-02-27 Thread Ian Wienand
Free to good home

 * AlphaPC 164
 * 433Mhz Alpha 21164 Processor
 * 128Mb RAM
 * 18Gig Quantum Atlas 10K SCSI drive
 * Pioneer SCSI CD
 * Archive 4326xx SCSI tape drive (DDS-2?) with a whole bunch of tapes
 * Inbuilt IDE controller - takes normal IDE disks.
 * IDE hard drive cage (modified slightly to fit into top slot
 * DC21030 video (runs X apparently, but never tried)
 * Tulip 10/100 PCI ethernet

Running NetBSD currently.  Only requirements are you're interested in
using it for something and you come to Drummoyne to pick it up.
Please reply off list.

-i


signature.asc
Description: Digital signature
-- 
SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/
Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html

Re: [SLUG] Free AlphaPC 164

2006-02-27 Thread Ian Wienand
On Tue, Feb 28, 2006 at 12:12:20PM +1100, Ian Wienand wrote:
 Free to good home

Thanks, it has found a new home :)

-i


signature.asc
Description: Digital signature
-- 
SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/
Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html

Re: [SLUG] How to discover which modules unnecessary

2006-02-23 Thread Ian Wienand
On Fri, Feb 24, 2006 at 10:09:36AM +0800, [EMAIL PROTECTED] wrote:
 Actually this is mostly just a waste of effort. Config swap and let
 the system swap out all the bits it does not need.

Ahh, what if you compile your SCSI driver as a module, and the pages
containing its code are put onto a SCSI disk drive?  Kernel memory
isn't swappable.

I do however agree it is a waste of effort :)

-i


signature.asc
Description: Digital signature
-- 
SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/
Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html

Re: [SLUG] Dell Latitude D510 with a hard drive that does morse code...

2006-02-12 Thread Ian Wienand
On Mon, Feb 13, 2006 at 07:43:54AM +1100, Anthony O'Hara wrote:
 Booting Gentoo results in an odd beeping noise coming from the hard
 drive..  It just sits there making a very quiet and subtle morse
 code noise over and over and over again.

I don't think it is your hard drive, there was a period a while ago
where a lot of people were complaining about noise, and it was
apparently capacitors resonating due to changed timer frequency.  See

http://lkml.org/lkml/2004/10/7/69

as one example.  Approaches include turning down the timer frequency
and booting with APCI off.  ISTR that it was fixed in later kernels,
so maybe try 2.6.15.

-i


signature.asc
Description: Digital signature
-- 
SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/
Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html

Re: [SLUG] FTP directory synchronisation

2006-02-12 Thread Ian Wienand
On Mon, Feb 13, 2006 at 10:44:14AM +1100, Raphael Kraus wrote:
 I'm wanting to perform FTP synchronisation (similar to rsync) - i.e. a 
 local and remote directory are made up to date at a set schedule.

I use weex for just this; a poor man's rsync

http://weex.sourceforge.net/

-i


signature.asc
Description: Digital signature
-- 
SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/
Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html

Re: [SLUG] Re: pentium M series

2005-12-19 Thread Ian Wienand
On Tue, Dec 20, 2005 at 02:06:11AM +, Dave Airlie wrote:
 I've heard chat on lkml about using alternatives (the kernel ones) to do
 this.. basically at build time you construct a table of every spinlock
 call and patch them all up at CPU hotplug or kernel boot time...
 
 Sounds like magic to me...

No more magic than a debugger inserting breakpoints, but the thin end
of a fairly nasty wedge -- debugging the kernel is already hard enough
without ever being able to ascertain exactly what is executing!

-i


signature.asc
Description: Digital signature
-- 
SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/
Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html

Re: [SLUG] Re: pentium M series

2005-12-18 Thread Ian Wienand
On Mon, Dec 19, 2005 at 12:34:33PM +1100, Visser, Martin wrote:
 I just googled for benchmark performance linux kernel i386 versus
 i686 and found nothing of any import. I am just wondering if anyone has
 bothered doing this. It would be nice to know what the tradeoff is
 between performance and convenience of not needing to know the CPU
 architecture. 

We certainly have an idea that the primitives that the operating
system use can have vastly different implications on different x86
models; costs of things like locks and memory barriers flushing
pipelines vary wildly.  General approaches like RCU in the kernel have
addressed those types of issues (in a general sense -- we know locks
are expensive so avoid them).  We have some students currently working
on a very interesting paper measuring costs of things like atomic
increments, locks and TLB fills on different architectures.  Stay
tuned for that.  But (AFAIK) the 386 kernel doesn't take much account
of these differences across sub-architectures.

Mostly I think the sub-architecture is passed via different flags to
gcc, which can try to optimise the code.  Talking with people from SGI
who look into that sort of thing, the benefits of even a much better
compiler fall into noise compared to things like lock contention.

For your general desktop user, I doubt they're really waiting much for
the kernel no matter what version they run.  If you want to know why I
say that, I have a fairly concise example :

[EMAIL PROTECTED]:~$ ldd /usr/bin/gnome-calculator
linux-gate.so.1 =  (0xa000)
libgnomeui-2.so.0 = /usr/lib/libgnomeui-2.so.0 (0x20064000)
libgnome-keyring.so.0 = /usr/lib/libgnome-keyring.so.0 
(0x20214000)
libjpeg.so.62 = /usr/lib/libjpeg.so.62 (0x2023c000)
libbonoboui-2.so.0 = /usr/lib/libbonoboui-2.so.0 (0x20294000)
libSM.so.6 = /usr/X11R6/lib/libSM.so.6 (0x2037c000)
libICE.so.6 = /usr/X11R6/lib/libICE.so.6 (0x203a)
libX11.so.6 = /usr/X11R6/lib/libX11.so.6 (0x203e8000)
libgnomecanvas-2.so.0 = /usr/lib/libgnomecanvas-2.so.0 
(0x2059)
libgnome-2.so.0 = /usr/lib/libgnome-2.so.0 (0x205fc000)
libesd.so.0 = /usr/lib/libesd.so.0 (0x20644000)
libaudiofile.so.0 = /usr/lib/libaudiofile.so.0 (0x20664000)
libart_lgpl_2.so.2 = /usr/lib/libart_lgpl_2.so.2 (0x206c)
libgtk-x11-2.0.so.0 = /usr/lib/libgtk-x11-2.0.so.0 (0x206fc000)
libgdk-x11-2.0.so.0 = /usr/lib/libgdk-x11-2.0.so.0 (0x20d14000)
libatk-1.0.so.0 = /usr/lib/libatk-1.0.so.0 (0x20e28000)
libgdk_pixbuf-2.0.so.0 = /usr/lib/libgdk_pixbuf-2.0.so.0 
(0x20e7)
libpangoxft-1.0.so.0 = /usr/lib/libpangoxft-1.0.so.0 
(0x20eb)
libpangox-1.0.so.0 = /usr/lib/libpangox-1.0.so.0 (0x20ed)
libpangoft2-1.0.so.0 = /usr/lib/libpangoft2-1.0.so.0 
(0x20ef8000)
libpango-1.0.so.0 = /usr/lib/libpango-1.0.so.0 (0x20f6)
libgnomevfs-2.so.0 = /usr/lib/libgnomevfs-2.so.0 (0x20fe)
libxml2.so.2 = /usr/lib/libxml2.so.2 (0x210bc000)
libgnutls.so.11 = /usr/lib/libgnutls.so.11 (0x21364000)
libtasn1.so.2 = /usr/lib/libtasn1.so.2 (0x2145)
libgcrypt.so.11 = /usr/lib/libgcrypt.so.11 (0x21484000)
libnsl.so.1 = /lib/tls/libnsl.so.1 (0x2152c000)
libgpg-error.so.0 = /usr/lib/libgpg-error.so.0 (0x21568000)
libz.so.1 = /usr/lib/libz.so.1 (0x2157c000)
libresolv.so.2 = /lib/tls/libresolv.so.2 (0x215b4000)
librt.so.1 = /lib/tls/librt.so.1 (0x215ec000)
libbonobo-2.so.0 = /usr/lib/libbonobo-2.so.0 (0x2160c000)
libbonobo-activation.so.4 = /usr/lib/libbonobo-activation.so.4 
(0x216e)
libORBitCosNaming-2.so.0 = /usr/lib/libORBitCosNaming-2.so.0 
(0x2171c000)
libgconf-2.so.4 = /usr/lib/libgconf-2.so.4 (0x21734000)
libORBit-2.so.0 = /usr/lib/libORBit-2.so.0 (0x217b4000)
libpopt.so.0 = /lib/libpopt.so.0 (0x21874000)
libgobject-2.0.so.0 = /usr/lib/libgobject-2.0.so.0 (0x21894000)
libm.so.6.1 = /lib/tls/libm.so.6.1 (0x21928000)
libgmodule-2.0.so.0 = /usr/lib/libgmodule-2.0.so.0 (0x219fc000)
libdl.so.2 = /lib/tls/libdl.so.2 (0x21a14000)
libgthread-2.0.so.0 = /usr/lib/libgthread-2.0.so.0 (0x21a2c000)
libpthread.so.0 = /lib/tls/libpthread.so.0 (0x21a44000)
libglib-2.0.so.0 = /usr/lib/libglib-2.0.so.0 (0x21a7c000)
libc.so.6.1 = /lib/tls/libc.so.6.1 (0x21b8c000)
libXrandr.so.2 = /usr/X11R6/lib/libXrandr.so.2 (0x21e18000)
libXi.so.6 = /usr/X11R6/lib/libXi.so.6 (0x21e3)

Re: [SLUG] memcmp versus strncmp

2005-12-12 Thread Ian Wienand
On Mon, Dec 12, 2005 at 07:57:00PM +1100, Ken Foskey wrote:
 Enforcing standards with gcc -ansi is a bad idea it looks like :-(  This
 draws in the gcc builtins and they do not perform as well.

You are buliding with optimisation on right (-03 or similar)?

If you want fast memcmp() do it on an architecture that doesn't have
the register pressure of x86, like, oh, say, Itanium :)

-i
[EMAIL PROTECTED]
http://www.gelato.unsw.edu.au


signature.asc
Description: Digital signature
-- 
SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/
Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html

Re: [SLUG] memcmp versus strncmp

2005-12-11 Thread Ian Wienand
On Fri, Dec 09, 2005 at 11:56:14PM +1100, Ken Foskey wrote:
 This is an unexpected statistic...
 
 Subroutine using massive number of matches:
  strcmp(x,y) 1.87 seconds
  strncmp(x,y,6) 1.63 seconds
  memcmp(x,y,6) 5.85 seconds
 
 Ignoring the other code it is a huge overhead for using memcmp on Ubuntu
 I386 as opposed to strncmp.
 
 I would not have expected this, any ideas?

I think chances are you've got the gcc builtin memcmp there, which
looks pretty slow compared to the highly optimised glibc one.

See below, where the gcc one comes down to repz cmpsb which is
notoriously slow.  -fno-builtins turns it off.

e.g.

[EMAIL PROTECTED]:/tmp$ cat test.c
#include string.h
extern int *i, *j;

int memcmptest(void)
{
return  memcmp(i,j,1000);
}
[EMAIL PROTECTED]:/tmp$ gcc -c test.c
[EMAIL PROTECTED]:/tmp$ objdump --disassemble ./test.o

./test.o: file format elf32-i386

Disassembly of section .text:

 memcmptest:
   0:   55  push   %ebp
   1:   89 e5   mov%esp,%ebp
   3:   57  push   %edi
   4:   56  push   %esi
   5:   83 ec 0csub$0xc,%esp
   8:   8b 15 00 00 00 00   mov0x0,%edx
   e:   a1 00 00 00 00  mov0x0,%eax
  13:   89 45 f4mov%eax,0xfff4(%ebp)
  16:   89 55 f0mov%edx,0xfff0(%ebp)
  19:   c7 45 ec e8 03 00 00movl   $0x3e8,0xffec(%ebp)
  20:   fc  cld
  21:   8b 75 f4mov0xfff4(%ebp),%esi
  24:   8b 7d f0mov0xfff0(%ebp),%edi
  27:   8b 4d ecmov0xffec(%ebp),%ecx
  2a:   f3 a6   repz cmpsb %es:(%edi),%ds:(%esi)
  2c:   0f 97 c2seta   %dl
  2f:   0f 92 c0setb   %al
  32:   88 d1   mov%dl,%cl
  34:   28 c1   sub%al,%cl
  36:   88 c8   mov%cl,%al
  38:   0f be c0movsbl %al,%eax
  3b:   83 c4 0cadd$0xc,%esp
  3e:   5e  pop%esi
  3f:   5f  pop%edi
  40:   5d  pop%ebp
  41:   c3  ret
[EMAIL PROTECTED]:/tmp$ gcc -fno-builtin -c test.c
[EMAIL PROTECTED]:/tmp$ objdump --disassemble ./test.o

./test.o: file format elf32-i386

Disassembly of section .text:

 memcmptest:
   0:   55  push   %ebp
   1:   89 e5   mov%esp,%ebp
   3:   83 ec 08sub$0x8,%esp
   6:   a1 00 00 00 00  mov0x0,%eax
   b:   8b 15 00 00 00 00   mov0x0,%edx
  11:   83 ec 04sub$0x4,%esp
  14:   68 e8 03 00 00  push   $0x3e8
  19:   50  push   %eax
  1a:   52  push   %edx
  1b:   e8 fc ff ff ff  call   1c memcmptest+0x1c
  20:   83 c4 10add$0x10,%esp
  23:   c9  leave
  24:   c3  ret
[EMAIL PROTECTED]:/tmp$

-i


signature.asc
Description: Digital signature
-- 
SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/
Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html

Re: [SLUG] Linux on a Dell Latitude X1

2005-12-08 Thread Ian Wienand
On Thu, Dec 08, 2005 at 11:17:51PM +1100, Erik de Castro Lopo wrote:
 Some might remember that I was looking at getting a new laptop
 recently. Well I ended up with a Dell Latitude X1, installed ubuntu
 Hoary, dist-upgraded to Breezy to get X working properly and I'm now
 running E17

But does it sleep (and, more importantly, wake back up)?

-i


signature.asc
Description: Digital signature
-- 
SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/
Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html

Re: [SLUG] C Gurus

2005-11-22 Thread Ian Wienand
On Tue, Nov 22, 2005 at 10:12:07PM +1100, Crossfire wrote:
 IIRC, ANSI C[1] makes no guaranty as to the lifetime of literal
 strings when their enclosing scope finishes. 

I'm fairly sure ANSI C does, C99 definitely does

 And not all literal strings are 'static' as my code demonstrated.

String literals are defined with static storage duration by
definition.

C99 6.4.5.5

 The multibyte character sequence [string literal] is then used to
 initalize an array of static storage duration and length just
 sufficient to contain the sequence.

Where static storage duration is defined in 6.2.4.3

 Its lifetime is the entire execution of the program and its stored
 value is initalized only once, prior to program startup.

So it seems quite valid (as you probably know anyway it will be put in
some read only section which isn't going to go away).  But the code in
question will have an interesting alternative property that it will
confuse every single programmer who looks at the code for the rest of
eternity.

-i


signature.asc
Description: Digital signature
-- 
SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/
Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html

Re: [SLUG] Via EPIA MII 1.2GHz Nehemiah + SUSE 10 ssh compatability issue

2005-11-16 Thread Ian Wienand
On Wed, Nov 16, 2005 at 03:11:18PM +1100, Grant Parnell - EverythingLinux wrote:
 Not sure if anyone else has used SuSE 9.3 or SuSE 10 on a Via EPIA MII
 with 1.2GHZ CPU but we have a machine here that's segfaulting when running
 ssh-keygen for example but runs fine otherwise. We have tried different
 RAM and hard disk and done a memtest86 for days. 

Is your kernel built for the Nehemiah processor?  Looking at Kconfig
there is an option

config MVIAC3_2
bool VIA C3-2 (Nehemiah)
help
  Select this for a VIA C3 Nehemiah. Selecting this enables usage
  of SSE and tells gcc to treat the CPU as a 686.
  Note, this kernel will not boot on older (pre model 9) C3s.

What does /proc/cpuinfo say?  

I'd assume that doing something like ssh-keygen would try using SSE if
it thought it could to speed things up and probably cause a segfault
or SIGILL.  Try running with LD_ASSUME_KERNEL=2.4.0 and that would
bump you back to non-optimised libraries which might help.

-i


signature.asc
Description: Digital signature
-- 
SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/
Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html

Re: [SLUG] Via EPIA MII 1.2GHz Nehemiah + SUSE 10 ssh compatability issue

2005-11-16 Thread Ian Wienand
On Thu, Nov 17, 2005 at 02:01:05PM +1100, Grant Parnell - EverythingLinux wrote:
 On Thu, 17 Nov 2005, Ian Wienand wrote:
  Try running with LD_ASSUME_KERNEL=2.4.0 and that would
  bump you back to non-optimised libraries which might help.
 
 No change.

Oh well.  Run it under gdb and find out what instruction it it barfing
on, at least then you'll have an idea where to start.

-i


signature.asc
Description: Digital signature
-- 
SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/
Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html

Re: [SLUG] Linux hosting in Australia?

2005-11-13 Thread Ian Wienand
On Sun, Nov 13, 2005 at 01:08:27PM +1100, Peter Chubb wrote:
 Or redwoodvirtual.com?

I've *heard* that things can get a bit slow as the machines are loaded
pretty high; however they certainly have good low end prices.  When I
looked into them around a month ago they were not accepting new
sign-ups, so they must have completed expansion if they are accepting
new customers now.

-i


signature.asc
Description: Digital signature
-- 
SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/
Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html

Re: [SLUG] latex question

2005-10-24 Thread Ian Wienand
On Tue, Oct 25, 2005 at 12:37:07PM +1000, Taryn East wrote:
 I'm writing a template for an invoice that we will send to the customer.
 It's in landscape format and has a lefthand section (with all the
 details fo the order and price etc - which the customer keeps) and a
 righthand section (which is a summary section that is torn off by the
 customer and sent in with their payment).

I'm not sure about why the minipages overlap, but I had to do
something similar once and I used multicol to separate out the page.
It has some disadvantages (watch out putting images in, you need to
use a special float).  You can see the original stuff at

http://www.gelato.unsw.edu.au/cgi-bin/viewcvs.cgi/cvs/gelato/posters/2005-SanJose/

but your example looks something like

---

\documentclass[10pt]{article}
\usepackage[a4paper,landscape,noheadfoot,margin={0.25in,0.25in}]{geometry}
\usepackage{nopageno}
\usepackage{multicol}
\begin{document}

\newcommand{\makerightpage}{
   whatever\\
   whatever\\
   whatever\\
}

\newcommand{\makeleftpage}{
%%% Header section %%%
\begin{tabular}{lcr}
% customer details and address
   Insured Name here\\
   Customer name here\\
   Street address here\\
   Suburb, State PCD

Logo here

\begin{tabular}{ll} % policy identifiers
   Date:policy date here\\
   Invoice No:  0510abcdef\\
   Policy No:   NSW 0510 ghijkl \\
   Amount:  \$ AAA.aa\\
\end{tabular}
\\ %%% end of header section row %%%
\end{tabular}
}

\begin{multicols}{2}
\setlength{\columnseprule}{0.4mm}
\makeleftpage

\columnbreak

\makerightpage

\end{multicols}

\end{document}

---

try something like

$ pslatex test.tex
$ dvips -Ppdf -t landscape  test.dvi
$ ps2pdf test.ps

-i
[EMAIL PROTECTED]
http://www.gelato.unsw.edu.au


signature.asc
Description: Digital signature
-- 
SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/
Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html

Re: [SLUG] latex question

2005-10-24 Thread Ian Wienand
On Tue, Oct 25, 2005 at 02:04:40PM +1000, Taryn East wrote:
 only now the column-widths are not controlled in th way they were for the
 tabular environment :(

yes, multicol doesn't do column widths.

 any other ideas?

Looking back at your original example, Latex is assuming you are using
a portrait page, which isn't wide enough to get all that stuff in.
Thus Latex then just shoves the boxes ontop of each other.

I think what you need to do is make sure you have something like

\usepackage[a4paper,landscape,noheadfoot,margin={0.25in,0.25in}]{geometry}

to setup landscape mode (and thus set \textwidth properly to something
nice and wide).  Make sure you don't include anything like
\usepackage{a4} after it, because that will reset \textwidth.

You can check the width with the \showthe command (\showthe\textwidth)
to make sure it does look wide.

-i


signature.asc
Description: Digital signature
-- 
SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/
Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html

Re: [SLUG] Strange results from df

2005-10-13 Thread Ian Wienand
On Fri, Oct 14, 2005 at 10:54:05AM +1000, Roger Barnes wrote:
 [EMAIL PROTECTED]:~/$ df
 Filesystem   1K-blocks  Used Available Use% Mounted on
 /dev/sda1114879816 109103408 0 100% /mnt/seagate

 I can copy files onto the disk and the Used number goes up, but the
 Available and Use% counts have me baffled.  Could this be something
 to do with sparse files?  If so, how might I identify the culprit/s?

No, you've by default got 5% of space reserved for root (so you don't
fill your disks up and paint yourself into a corner).

You can modify this with tune2fs.  There's also an option when you're
formatting.

-i


signature.asc
Description: Digital signature
-- 
SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/
Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html

Re: [SLUG] Driver query

2005-10-05 Thread Ian Wienand
On Thu, Oct 06, 2005 at 08:53:39AM +0800, James wrote:
  Program_ 3(ABC TV Sydney AC3   ,   545,   512,  A660,   256)

Totally unrelated to Linux, but ...

I've never noticed these channels before.  Does that AC3 refer to
Dobly Digital, and does this mean those channels are actually
broadcasting with full 5-channel surround sound?

My set top box shows me an alternative digital audio stream for most
channels, but when I put it through my speakers it's only ever the
front two left/right.  I've been wondering if they ever will broadcast
the true surround sound signals.

-i


signature.asc
Description: Digital signature
-- 
SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/
Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html

Re: [SLUG] Gentoo getting better

2005-10-04 Thread Ian Wienand
On Wed, Oct 05, 2005 at 10:45:33AM +1000, [EMAIL PROTECTED] wrote:
 We've got it running on AMD64, PIII, PIV and P-M all tuned and boy
 does it make a difference. Distros I've compared are Ubuntu on a PIV
 and Debian on AMD64. It is faster than both standard installs if
 compiled for the platform.

Can you show us some numbers from your benchmarks?

-i


signature.asc
Description: Digital signature
-- 
SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/
Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html

Re: [SLUG] Your top-ten linux desktop apps

2005-09-29 Thread Ian Wienand
On Thu, Sep 29, 2005 at 07:39:51PM +1000, O Plameras wrote:
 With C on 64-bit your number will not be a problem as an integer. C
 integer is size 8 bytes = 64 bits. So 2 exponent 64 less 1 can be
 handled.

This isn't correct; there are two main models for 64 bit computing.
LP64 where longs and pointers are 64 bits (Linux, most UNIX?) and the
Windows model where only pointers are 64 bits.  Many might suggest
this is because so much Windows code would break if long suddenly
became 64 bits, but I think the official reason is efficiency within
the API.

In both cases an int is 32 bits.  In both models a long long will be
64 bits, no matter what your architecture.  It's no wonder people use
Python/Perl/OCaml/Haskell/Smalltalk so they don't have to worry about
any of this.

-i
[EMAIL PROTECTED]
http://www.gelato.unsw.edu.au


signature.asc
Description: Digital signature
-- 
SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/
Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html

Re: [SLUG] Your top-ten linux desktop apps

2005-09-29 Thread Ian Wienand
On Thu, Sep 29, 2005 at 09:42:41PM +1000, O Plameras wrote:
 This should be 8 bytes = 64 bits.
 So 2 exponent (64-1) - 1 = max int size in 64 bit machine.

I think you missed my point.  An int is still only 32 bits on a 64 bit
machine.  On a 64 bit machine running Linux a long will be 64 bits,
however on Windows a long is always 32 bits.

-i


signature.asc
Description: Digital signature
-- 
SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/
Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html

Re: [SLUG] Your top-ten linux desktop apps

2005-09-29 Thread Ian Wienand
On Thu, Sep 29, 2005 at 09:59:26PM +1000, O Plameras wrote:
 It is easy to check if one has a 64-bit machine.  I'm curious to
 know.

Have a look at the AMD64 ABI, for example

http://www.x86-64.org/documentation/abi.pdf

Figure 3.1 gives you the size of types.

-i


signature.asc
Description: Digital signature
-- 
SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/
Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html

Re: [SLUG] Your top-ten linux desktop apps

2005-09-29 Thread Ian Wienand
On Thu, Sep 29, 2005 at 10:40:47PM +1000, O Plameras wrote:
 The only change from 32-bit to 64-bit machine as far as
 data type sizes are concerned is 'long'. Changed from 4 to 8 bytes.
 This resolves the argument comprehensively.
 
 This means that there is going to be minimal improvements from
 a 32-bit to 64-bit PCs. 
 
 I had wanted to buy a 64-bit CPU, but with this I will defer.
 I need to check that documentation re AMD64.

When thinking about why things are as they are, it's always good to
consider the alternative outcome.  Imagine if the size of int did
increase to 64 bits.  Firstly a lot of code would break.  That's a
bug, and would eventually be fixed after some initial pain.

Suddenly every int variable now takes up twice as much space, every
array of ints is twice as big.  This means binary sizes increase and,
more importantly, you waste a lot of your cache.

How often does a loop counter overflow a 32 bit variable?  To be sane
people would have to reduce the size of variables they know won't
overflow.  So maybe you could make a short a 32 bit variable on your
64 bit machine.  But now when people try to move their code between
machines might find their counter becomes 16 bits, which is much more
realistically overflowed.  Now programmers have to be concerned about
sizeof(int) and sizeof(short) to maintain portability.  It would be a
debacle.

64 bits is mostly about addressing; the times we need to cater for 64
bit variables that aren't addresses are limited.  I'd still consider
an AMD64; there are a number of architectural enhancements over x86.
Of course if you want a real 64 bit architecture, pick up an Itanium
from somewhere :)

-i


signature.asc
Description: Digital signature
-- 
SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/
Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html

Re: [SLUG] Your top-ten linux desktop apps

2005-09-29 Thread Ian Wienand
On Fri, Sep 30, 2005 at 08:01:59AM +1000, [EMAIL PROTECTED] wrote:
 Actually, just checking one 64 bit machine would not be enough.
 If you stick to Linux and gcc then you get fairly consistent results
 but C is bigger than gcc (only slightly).

I'd suggest it is the other way around; gcc implements *much* more
than the C standard.  C99 says that the minimum size of an integer is
2 bytes, but anything bigger is OK.  The real reference is the
relevant ABI for the architecture/operating system combination.

-i


signature.asc
Description: Digital signature
-- 
SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/
Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html

Re: [SLUG] Output from 64 bit machine

2005-09-29 Thread Ian Wienand
On Fri, Sep 30, 2005 at 10:22:33AM +1000, Benno wrote:
 (Of course using printf then becomes a real bitch...)

What's wrong with the PRI macros in inttypes.h?

-i


signature.asc
Description: Digital signature
-- 
SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/
Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html

Re: [SLUG] great code to learn from - request

2005-09-21 Thread Ian Wienand
On Wed, Sep 21, 2005 at 03:55:06PM +1000, Benno wrote:
 On Wed Sep 21, 2005 at 13:09:52 +1000, Taryn East wrote:
 what nobody else is going to bite? :(
 
 I think this is because great code is code is due to the absence
 of suckiness rather than the presence of brilliance. At least
 IMHO.[1] 

 Fools ignore complexity. Pragmatists suffer it. Some can avoid
 it. Geniuses remove it.
From SIGPLAN Notices Vol. 17, No. 9, September 1982, pages 7-13.

So the best code is code you look at and say is that it - I could
have done that, even though you probably couldn't have.

If you're interested in systems, I'd suggest starting with an
intermediate step of some good books first, the obvious ones that
spring to mind are

Lions' Commentary on UNIX 6th Edition, with Source Code - John Lions
Advanced Programming in the UNIX Environment - Stevens
TCP/IP Illustrated - Stevens
Linux Kernel Development - Robert Love (top levels of the kernel)
IA-64 Linux Kernel - David Mosberger (how an architecture really works)

Once you've got some idea jump in and start programming something.
Follow Rusty's driver tutorial from LCA, write toolbars for Mozilla,
fix that annoying bug in Gnome.  You'll soon see how things hang
together, and identify what is good and what isn't.  It's like
learning a musical instrument; you can read about guitar technique
(and that's certainly part of it) but you really need to sit there and
strum the thing to get any good.

-i



signature.asc
Description: Digital signature
-- 
SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/
Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html

Re: [SLUG] Accidental mouse gestures in Firefox driving me insane.

2005-09-21 Thread Ian Wienand
On Wed, Sep 21, 2005 at 04:42:49PM +1000, Mike MacCana wrote:
 Firefox keeps randomly going back. It seems to be some kind of mouse
 gesture triggered by my trackpad. I'd like to disable gestures in FF
 completely. 

Do you have horizontal scrolling on your trackpad?  The same thing
happened to me when I switched over to a mouse with horizontal scrolling.

This tip

http://www.macosxhints.com/article.php?story=20050821141856688lsrc=osxh

fixed it for me.

-i


signature.asc
Description: Digital signature
-- 
SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/
Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html

Re: [SLUG] MRTG Demo data source

2005-09-12 Thread Ian Wienand
On Mon, Sep 12, 2005 at 10:22:06PM +1000, Richard Hayes wrote:
 I need to do a demo of  signal graphing, so I though I would use MRTG. 
...
 What non-SNMP / MIB2 data sources are available?

It's very easy to plug an arbitrary non SNMP data source into MRTG.
The output just needs to be in the format 

Line 1
current state of the first variable, normally 'incoming bytes
count'
Line 2
current state of the second variable, normally 'outgoing bytes
count'
Line 3
string (in any human readable format), telling the uptime of the
target.
Line 4
string, telling the name of the target.

As an example, openupsmart (openupsmart.sf.net) when running will give
status output on a port like this :

[EMAIL PROTECTED]:~$ /usr/pkg/sbin/nc localhost 8740
248.0
58.0
28 days, 21 hours, 46 minutes, 35 seconds
OpenUPSmart

This can be snarfed into MRTG with a target like

Target[ups]: `/usr/pkg/sbin/nc localhost 8740`
MaxBytes[ups]: 300
Title[ups]: UPS Statistics
PageTop[ups]: H1UPS Statistics/H1
YLegend[ups]: Power Statistics
ShortLegend[ups] : nbsp;
LegendI[ups]: nbsp;Volts
LegendO[ups]: nbsp;Load
options[ups]: gauge, nopercent

You could use openupsmart if you wanted; there is a UPS simulator
included in the source which you could quite easily modify to return
some sort of reasonable random variables to make it look real.
(http://openupsmart.sourceforge.net/mrtg/ups.html is a sample of
actual data)

Probably easier to just write your own dummy device, though.

-i



signature.asc
Description: Digital signature
-- 
SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/
Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html

Re: [SLUG] Lappies with preinstalled Linux (was Partitioning software)

2005-09-08 Thread Ian Wienand
On Thu, Sep 08, 2005 at 03:55:45PM +1000, Dean Hamstead wrote:
 oh well
 just thought i would reply on my ibook running only debian linux
 
 connected via aiport card.
 
 *shrug*

You, like myself, probably hit the sweet spot with Apple laptops where
we have the Ornico wireless (just Airport, rather than Extreme), a
Radeon chip with decent support and working suspend to RAM.

These days it's all Broadcom wireless, NVidia chips (no drivers for
PowerPC) and only software suspend to disk, which seems to cause as
many problems as it solves.  That and if BenH ever got hit by a bus
(touch wood) I really wonder who else would step in to keep Linux
support even where it's at.  As Erik has noticed strange things can
start to happen and you haven't really any clues on how to start
fixing it.  I certainly couldn't recommend the current crop of Apple
laptops to anyone wanting to run Linux on them.

-i


signature.asc
Description: Digital signature
-- 
SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/
Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html

Re: [SLUG] serial to ethernet

2005-09-04 Thread Ian Wienand
On Mon, Sep 05, 2005 at 11:48:09AM +1000, Richard Hayes wrote:
 I know there are connectors that will do it but I am trying to do it
 with software to reduce the need for hardware.

I'm not sure exactly what you are after; it might just require netcat
and a pipe to /dev/ttyS0.

If it's for interaction (e.g. a console) have a look at conserver,
packaged in Debian as conserver-server (and conserver-client for the
other end).

-i
[EMAIL PROTECTED]
http://www.gelato.unsw.edu.au


signature.asc
Description: Digital signature
-- 
SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/
Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html

Re: [SLUG] Bash Question - Redirection of output determined by Variable name

2005-08-04 Thread Ian Wienand
On Thu, Aug 04, 2005 at 03:00:49PM +1000, [EMAIL PROTECTED] wrote:
 The $J substitution into the last command works fine but the $R bit, which 
 attempts to redirect the output to a file, does not.  Bash seems to 
 interpret the  bit as part of the command rather than a redirection 
 instruction.

Read about expansion in the bash manual.  What you want to do is eval
the command.

e.g.

#!/bin/bash

output= /tmp/output

eval ls $output

-i
[EMAIL PROTECTED]
http://www.gelato.unsw.edu.au


signature.asc
Description: Digital signature
-- 
SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/
Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html

Re: [SLUG] Increasing the number of Inodes?

2005-07-21 Thread Ian Wienand
On Fri, Jul 22, 2005 at 10:49:11AM +1000, Terry Collins wrote:
 I've googled, man tunefs  others, read the HOWTOs but I am none the
 wiser as to how I can increase the umber of available inodes in a
 partition.

You can't.  From mke2fs

 -i bytes-per-inode
Specify the bytes/inode ratio.  mke2fs creates an inode for every
bytes-per-inode bytes of space on the disk.  The larger the
bytes-per-inode ratio, the fewer inodes will be created.  This
value generally shouldn't be smaller than the block- size of the
filesystem, since then too many inodes will be made.  Be warned
that is not possible to expand the number of inodes on a
filesystem after it is created, so be careful deciding the correct
value for this parameter.

So you need to move the data somewhere and re-format.

-i
[EMAIL PROTECTED]
http://www.gelato.unsw.edu.au


signature.asc
Description: Digital signature
-- 
SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/
Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html

Re: [SLUG] Re: Why XML bites and why it is NOT a markup language

2005-06-10 Thread Ian Wienand
On Fri, Jun 10, 2005 at 10:17:16AM +0100, Rev Simon Rumble wrote:
 Actually, if the initial spec had said all HTML pages MUST be valid XML 
 or the browser MUST give an error and make no attempt at rendering it 
 and this had been honoured by NCSA and Nutscrape, the web would be in a 
 much better state.  Of course, that's cloud cuckoo land.  XML didn't 
 exist, and Nutscrape would have extended the spec.

Since XML wasn't around, I think it is rather the case that if HTML
had paid more attention to SGML than it's tags enclosed in  signs
we might have had true separation of data and presentation from day 1,
and DSSSL might have been something people would put on their resume.
But at least these days that's starting to happen with XML.

XML is so useful because it provides such good abstractions.  You can
define it with a DTD, whack all your data in it, walk it with XPath
and display it with XSLT and some CSS.

-i
[EMAIL PROTECTED]
http://www.gelato.unsw.edu.au


signature.asc
Description: Digital signature
-- 
SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/
Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html

Re: [SLUG] gnome-panel gone in Debian-unstable/Metacity

2005-06-09 Thread Ian Wienand
On Thu, Jun 09, 2005 at 09:39:03PM +1200, Adam Bogacki wrote:
 Trying 'apt-get -f install gnome-panel' as root gives me a long
 string of unmet dependencies which won't cut'n paste from
 gnome-terminal.
 
 Is this something affecting other Debian unstable users at the
 moment, or just me ?

There are some problems with a migration to 2.10, particularly the
gnome-panel package.

See

http://oskuro.net/blog/freesoftware/gnome-2.10-unstable-2005-06-09-21-10

-i
[EMAIL PROTECTED]
http://www.gelato.unsw.edu.au


signature.asc
Description: Digital signature
-- 
SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/
Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html

Re: [SLUG] Newlines in environment variables

2005-05-29 Thread Ian Wienand
On Mon, May 30, 2005 at 11:30:48AM +1000, Peter Hardy wrote:
 xmessage -nearmouse $message

 Now, running this script with bash compresses $message to a single line,
 while zsh keeps the newlines intact. So I'm wondering how to achieve the
 same thing with bash.

Quote $message, as in

$ xmessage -nearmouse $message

-i
[EMAIL PROTECTED]
http://www.gelato.unsw.edu.au


signature.asc
Description: Digital signature
-- 
SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/
Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html

Re: [SLUG] error processing ndtpd

2005-05-25 Thread Ian Wienand
On Wed, May 25, 2005 at 09:42:00PM +1200, Adam Bogacki wrote:
 I've poked around and am still a bit confused. I've attached it to
 see if you can spot anything.

Inspection isn't really going to help in this case.  You need to run
it (as root, since that's what dpkg does) on your machine with the -x
flag and watch the output of each step, and then debug why it fails.

e.g 
# bash -x [shell script]

-i


signature.asc
Description: Digital signature
-- 
SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/
Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html

Re: [SLUG] error processing ndtpd

2005-05-24 Thread Ian Wienand
On Tue, May 24, 2005 at 09:20:42PM +1200, Adam Bogacki wrote:
 Hi, I keep getting the following error message.
 
  Setting up ndtpd (3.1.5-6.3) ...
  Ydpkg: error processing ndtpd (--configure):
   subprocess post-installation script returned error exit status 1
  Errors were encountered while processing:
   ndtpd

Try running /var/lib/dpkg/ntpd.post with bash -x and see where it's
failing.

-i
[EMAIL PROTECTED]
http://www.gelato.unsw.edu.au


signature.asc
Description: Digital signature
-- 
SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/
Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html

Re: [SLUG] error processing ndtpd

2005-05-24 Thread Ian Wienand
On Wed, May 25, 2005 at 11:22:22AM +1200, Adam Bogacki wrote:
 Ian Wienand wrote:
 Try running /var/lib/dpkg/ntpd.post with bash -x and see where it's
 failing.

 Thanks, but my /var/lib/dpkg does not include 'ntpd.post'

Wow, I suck; two errors in the one line.  What I really meant was
/var/lib/dpkg/info/ntpd.postinst

Anyway, the general concept is to find the script that is being run
and trace it.

-i


signature.asc
Description: Digital signature
-- 
SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/
Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html

Re: [SLUG] error processing ndtpd

2005-05-24 Thread Ian Wienand
On Wed, May 25, 2005 at 03:27:44PM +1200, Adam Bogacki wrote:
 Anyway, the general concept is to find the script that is being run
 and trace it.

 Thanks again but I can't find the ntp daemon (presumably ntpd) in
 /var/lib/dpkg

Alright, I just reread your message and noticed that you're installing
*ndtpd* rather than *ntpd*, which appear to be completely different
things.

The file should therefore be called /var/lib/dpkg/info/ndtpd.postinst

That (barring me misreading or typing anything else) is the script
that is failing.  In general, when you get an error about a
post-installation script failing, you can head straight to

/var/lib/dpkg/info/[package].postinst

and start poking around that script to see why.

-i


signature.asc
Description: Digital signature
-- 
SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/
Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html

Re: [SLUG] automake

2005-03-06 Thread Ian Wienand
On Mon, Mar 07, 2005 at 10:50:38AM +1100, Ian Su wrote:
 I would like to get automake to install some .h files in
 $(top_srcdir)/include prior to compiling the objects for my
 project. However, there doesn't appear to be any way to do this
 elegantly. If I add the rules to all-local, it gets executed after
 everything is compiled, does anyone know how to get anything
 executed before? 

A priori this sounds like the wrong way to do things.  You can specify
as many -I flags to the compiler as you want to bring in your headers.
Copying them around the build tree sounds like a bad idea because
they're sure to end up out of sync somehow.

If you absolutely have to copy for some obscure reason you need to
setup your targets correctly; your program should depend on your
header and your header target should do whatever copying is required.

-i


signature.asc
Description: Digital signature
-- 
SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/
Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html

Re: [SLUG] Finding .so's path from inside the .so at runtime?

2005-02-24 Thread Ian Wienand
On Fri, Feb 25, 2005 at 11:17:48AM +1100, [EMAIL PROTECTED] wrote:
 Is there a standard way for a .so file to find where it was loaded from?

from man dl_iterate_phdr 

  The info argument is a structure of the following type:

 struct dl_phdr_info {
   ElfW(Addr)dlpi_addr;  /* Base address of object */
   const char   *dlpi_name;  /* (Null-terminated) name of
object
   const ElfW(Phdr) *dlpi_phdr;  /* Pointer to array of
ELF program headers
for this object */
   ElfW(Half)dlpi_phnum; /* # of items in 'dlpi_phdr' */
 };

  The dlpi_name field is a null-terminated string giving the path-name
  from which the shared object was loaded.

-i
[EMAIL PROTECTED]
http://www.gelato.unsw.edu.au


signature.asc
Description: Digital signature
-- 
SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/
Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html

Re: [SLUG] Howcome I Have suspicious headers?

2005-02-23 Thread Ian Wienand
On Thu, Feb 24, 2005 at 10:37:09AM +1100, Luke Skywalker wrote:
 I tried to send a post, but I got a message saying I have suspicious 
 headers.

This is not the list you are looking for

... this is not the list I'm looking for ...

You will email [EMAIL PROTECTED] with these problems

... I will email [EMAIL PROTECTED] with these problems ...

-i
[EMAIL PROTECTED]
http://www.gelato.unsw.edu.au




signature.asc
Description: Digital signature
-- 
SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/
Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html

Re: [SLUG] Prblem with bash and rsync

2005-02-09 Thread Ian Wienand
On Thu, Feb 10, 2005 at 10:40:45AM +1100, Jobst Schmalenbach wrote:
 COMMAND=$RSYNC -rlptgoD --delete --delete-excluded --exclude .snapshot 
 --exclude \Temporary Internet Files\ /$d/ $TARGET
 if [ $DEBUG == 1 ]; then $ECHO $COMMAND; fi
 $COMMAND

Try using eval around this, e.g.

eval $COMMAND

You need bash to re-evaluate those quotes so it understands it should
be one argument.

-i
[EMAIL PROTECTED]
http://www.gelato.unsw.edu.au


signature.asc
Description: Digital signature
-- 
SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/
Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html

Re: [SLUG] Controlling address space layout

2005-01-17 Thread Ian Wienand
On Tue, Jan 18, 2005 at 01:28:51PM +1100, Benno wrote:
 It would be convenient for my current project if there was some way
 to specify where in VM the dynamic libraries ended up. 

You can use prelink to put shared libraries to specific virtual
addresses with the --reloc-only option.

-i
[EMAIL PROTECTED]
http://www.gelato.unsw.edu.au


signature.asc
Description: Digital signature
-- 
SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/
Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html

Re: [SLUG] Compile tutorial

2004-11-28 Thread Ian Wienand
On Sun, Nov 28, 2004 at 12:27:00AM +1100, Rod Butcher wrote:
 Sluggers, can somebody point me to a tutorial on the various components
 in software building (newbie-comprehensible) :-

You'll need to understand the general concept of makefiles

http://www.gnu.org/software/make/manual/make.html

and then the best tutorial style reference is the autobook

http://sources.redhat.com/autobook/autobook/autobook_toc.html

There is a bit of a learning curve.

 I've been getting by by ./configure, make, make install but beyond
 that I'm lost... e.g I untarred a source package and copied latest
 updated source and Makefile.am files from CVS into it and then did
 my standard ./configure etc. dance, which leads to link errors, so I
 obviously don't know what I'm doing). I need to know how/why these
 files are generated etc.

I'm not sure why you need to copy parts of a CVS tree into a source
tarball; can't you just build the CVS tree?  Usually there will be a
script in the root directory of the CVS tree called autogen.sh or
similar that will run the autoconf tools for you.  You just need to
ensure the tool versions you have match what the developers are using.

-i
[EMAIL PROTECTED]
http://www.gelato.unsw.edu.au


signature.asc
Description: Digital signature
-- 
SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/
Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html

Re: [SLUG] mrtg logs

2004-11-18 Thread Ian Wienand
On Fri, Nov 19, 2004 at 07:05:56AM +1100, Ben Donohue wrote:
 I'm yet to find this by RTFM but what produces the log file that MRTG 
 makes it's graphs from?

MRTG produces the log file.  You would usually have mrtg setup in a
cron job that runs every so often, which polls the devices and
re-writes all the graphs.

 It must be MRTG polling the router but why is not the router not 
 responding on that particular interface. Nothing changed on the MRTG box 
 (as far as I can tell) so i'm assuming the router is not sending out 
 SNMP on that particular port perhaps?

Probably.  Can you try rebooting it?  You can run mrtg by hand with
debugging options, or check where the output of the process is piped
to when run via cron; usually there is something useful in that.

-i
[EMAIL PROTECTED]
http://www.gelato.unsw.edu.au


signature.asc
Description: Digital signature
-- 
SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/
Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html

[SLUG] Stripping Recevied: Headers on bounce

2004-11-17 Thread Ian Wienand
Hi,

I often bounce email from mutt to remote addresses and every now and
then will get back some sort of too many hops or to many forwards
message (especially from Hotmail).

I want some way to strip the Received: headers when I bounce the
message via mutt.  Anyone done that before?  My initial attempt was
piping to formail, but I can't figure out how to get the message back
into mutt for bouncing.

-i
[EMAIL PROTECTED]
http://www.gelato.unsw.edu.au


signature.asc
Description: Digital signature
-- 
SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/
Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html

[SLUG] Remote scp access

2004-11-08 Thread Ian Wienand
On Tue, Nov 09, 2004 at 10:07:20AM +1100, Michael Lake wrote:
 Michael Lake wrote:
 4. Other ways ?
 What's the easist way to allow the new user to use windows scp but not 
 browse the filesystem. Reading up on chroot jails it seems that they 
 are not trivial to setup.

I deleted the previous parts of this thread but this question got me
interested; it is not hard to do this with scponly.

http://www.sublimation.org/scponly/

I run it inside a separate chroot, although it has its own options to
chroot itself.  It's not that hard to setup.  If you setup a ssh
chroot following some vague instructions like

http://www.gelato.unsw.edu.au/IA64wiki/DebianSSHChroot

you can make each users shell scponly and feel just about as secure as
you ever can having a publicly accessible box that allows uploading.

-i
[EMAIL PROTECTED]
http://www.gelato.unsw.edu.au


signature.asc
Description: Digital signature
-- 
SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/
Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html

Re: [SLUG] Re: Remote scp access

2004-11-08 Thread Ian Wienand
On Tue, Nov 09, 2004 at 04:13:11PM +1100, Michael Lake wrote:
 Also one problem with scponly is that to use the chroot features you 
 have to make it suid and the authors warns of this.

Which is why I installed it in a separate ssh chroot; but I have the
luxury of having full access and carte-blanche control over what I do
to the box.

FWIW, I've even done some hacking on it and I didn't see anything that
raised my alarm bells, and with a known, generally trusted user base
(like people you work with) I'd be happy to run it suid.  If you trust
your users enough that you'd give them shell access if they asked, but
are limiting them to scp more to protect themselves, you'd probably be
fine running it with it's internal chroot too.  If you're giving out a
key to anyone who asks, wrap up ssh in an extra chroot to be sure.

As has been mentioned far too often in the last few days, security is
not a one-fits-all solution.

-i


signature.asc
Description: Digital signature
-- 
SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/
Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html

Re: [SLUG] updating gaim apt-get

2004-10-05 Thread Ian Wienand
On Wed, Oct 06, 2004 at 08:47:58AM +1000, Gareth Smith wrote:
 To use msn I need version 0.69 or greater, the only version of gaim I 
 can get is 0.58 and I can't run msn on this version as they say on
 http://gaim.sourceforge.net/faq.php#q66

That looks like the version from Debian stable.  You can either search
around for a 'backport' of the latest gaim to work with your system,
or just upgrade your whole system.  Despite the name, 'unstable'
really is quite stable, and has the latest stuff to boot.

 How do you update apt-get to get the lates updates?
 I've tryed apt-get update

The 10 second guide to updating is

1) edit /etc/apt/sources.list to just have two lines something like

deb ftp://mirror.cse.unsw.edu.au/debian/ unstable main non-free contrib
deb-src ftp://mirror.cse.unsw.edu.au/debian/ unstable main non-free contrib

(change the mirror.cse.unsw.edu.au to a mirror that is closer to you;
your isp's if they have one otherwise ftp.au.debian.org is a safe bet)

2) run apt-get update

3) run apt-get dist-upgrade

4) wait (it will need to download a lot)

Good luck,

-i
[EMAIL PROTECTED]
http://www.gelato.unsw.edu.au


signature.asc
Description: Digital signature
-- 
SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/
Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html

Re: [SLUG] installing amsn error

2004-10-04 Thread Ian Wienand
On Tue, Oct 05, 2004 at 12:11:12PM +1000, Gareth Smith wrote:
 #apt-get install amsn
 Sorry, but the following packages have unmet dependencies:
 kde: Depends: kdebase-audiolibs but it is not going to be installed or
 kdebase3-audiolibs but it is not installable

Often with big meta packages like kde things get broken in unstable,
and the best strategy is usually to wait a few days as the developers
are usually aware of it.  But that said it seems to work for me; try
running apt-get update to make sure you've got the latest packages
files?

Does it do something that gaim doesn't?

-i


signature.asc
Description: Digital signature
-- 
SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/
Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html

Re: [SLUG] Mutt and html messages

2004-09-20 Thread Ian Wienand
On Mon, Sep 20, 2004 at 05:12:01PM +1000, Alexander Samad wrote:
 I seem to recieve a lot of email from corporate users whos client send
 me text and html version of the email, is there any way to tell mutt
 that the text version is the prefered version, right now I have to go
 through and delete the html version, rather annoying!

Try 

auto_view text/plain

in .muttrc.

Alternatively, I like to do something like add

text/html; lynx -force_html -dump %s; copiousoutput

to .mailcap, and set 

auto_view text/html

in .muttrc and you can get a pretty good view of what's happening in
the html mail.

-i
[EMAIL PROTECTED]
http://www.gelato.unsw.edu.au


signature.asc
Description: Digital signature
-- 
SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/
Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html

Re: [SLUG] Elementary symlink question

2004-09-13 Thread Ian Wienand
On Mon, Sep 13, 2004 at 04:04:43PM +1000, Matthew Davidson wrote:
 lrwxrwxrwx  1 mdavids mdavids   12 2004-09-13 15:52 application - version/0.3/
 -rw-r--r--  1 mdavids mdavids0 2004-09-13 15:43 file
 drwxr-sr-x  5 mdavids mdavids 4096 2004-09-13 15:51 version

 [EMAIL PROTECTED]:~/test$ cd application

is the equivalent of doing cd version/0.3

 [EMAIL PROTECTED]:~/test/application$ ls -l ../file 
 ls: ../file: No such file or directory

Your parent directory is now version, you probably want ../../file
 
 But bash even autocompletes the name file for me!

Bash remembers your old parent directory and intercepts, giving you
the tab completion.  Try using 'ls' and you shouldn't see the same
thing.

For example, go into /tmp and create a symlink called test to, say,
/usr/include.  Then do 'cd test' and 'cd ..' in bash and you'll be
back in /tmp.  Do the same thing in something like csh and you (should
be) in /usr, because it doesn't keep a directory history stack but
just uses chdir().

-i
[EMAIL PROTECTED]
http://www.gelato.unsw.edu.au


signature.asc
Description: Digital signature
-- 
SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/
Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html

Re: [SLUG] Elementary symlink question

2004-09-13 Thread Ian Wienand
On Tue, Sep 14, 2004 at 09:58:59AM +1000, Matthew Davidson wrote:
 Funny; I've always assumed that the system treated a directory symlink
 as a real directory that just happens to have exactly the same contents
 as some other directory.  I suppose I'd never put myself in a situation
 to find out outherwise.
 
 However, I maintain that's the way it _should_ work!

Sounds like what you really want is a hard link to a directory.  This
has never been allowed for various reasons, but has recently come up
since reiser4 has the 'file as a directory' concept.  For a nice
overview (as always done by Jonathan Corbet) see
http://lwn.net/Articles/99408/

But you might like to try a bind mount, in your previous example doing
'sudo mount --bind application/ version/0.3/' would give you the
semantics you want (i.e. ls ../file will work).

-i
[EMAIL PROTECTED]
http://www.gelato.unsw.edu.au



signature.asc
Description: Digital signature
-- 
SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/
Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html

Re: [SLUG] Debian sarge on vmware

2004-09-12 Thread Ian Wienand
On Mon, Sep 13, 2004 at 10:17:30AM +1000, Robert Tillsley wrote:
 Now I installed xfree68, but there is no X in that folder. Can anyone
 give me an idea of where to start troubleshooting?

Sounds like you missed a package; try apt-get install x-window-system

-i
[EMAIL PROTECTED]
http://www.gelato.unsw.edu.au
-- 
SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/
Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html


Re: [SLUG] start scripts on Debian

2004-09-08 Thread Ian Wienand
On Thu, Sep 09, 2004 at 10:38:22AM +1000, David wrote:
   * --enable-[redhat/suse/gentoo/cobalt/netbsd/fhs]
 This option helps netatalk to determine where to install the start
 scripts.
 Can anyone suggest which option out of these might work for Debian. Or
 any other suggestion.

FHS sounds like as good a start as any ...

 Second question: Having done the usual configure/make/make-install, what's
 the approved way to remove everything that was installed?

Unless they include a make uninstall type target, you're out of luck
other than picking through by hand.  That's why people invented
packaging systems :)

 PS: apt-get is not an option because the latest version doesn't seem to be
 available.

Why don't you apt-get source netatalk and try updating the existing
package to your version (I or any number of others can help, but
basically just try copying the /debian directory of the downloaded
source to your new tarball and run dpkg-buildpackage and see if it
works).  If it hasn't changed significantly it's probably pretty easy
to do, and depending on how active the maintainer is maybe someone can
NMU it for you.

-i
[EMAIL PROTECTED]
http://www.gelato.unsw.edu.au


signature.asc
Description: Digital signature
-- 
SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/
Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html

Re: [SLUG] Rebuild hda

2004-07-28 Thread Ian Wienand
On Thu, Jul 29, 2004 at 12:52:19PM +1000, Simon Bryan wrote:
 I could of course just disconnect the second HDD until the first is
 re-built, but felt there had to be a more logical method.

Nothing could be *more* logical that removing a drive with sensitive
data during a re-install.  Even if you know exactly what you're doing,
all it takes is a slip of the finger.  Once you're done, just plug it
back in and add it to fstab ...

-i
[EMAIL PROTECTED]
http://www.gelato.unsw.edu.au


signature.asc
Description: Digital signature
-- 
SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/
Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html


Re: Need to be root to install plugins. was Re: [SLUG] Firebird Googlesearch to do Australia?

2004-07-14 Thread Ian Wienand
On Thu, Jul 15, 2004 at 11:05:26AM +1000, Michael Lake wrote:
 I just installed Firefox yesterday on my PowerBook and when I go to 
 install plugins it just crashes and exits.

Firefox 0.8 has a problem on Power where installing any extension will
just crash.  Firefox 0.9 is in unstable now (assuming you use Debian)
so install that and you'll be right.

-i


signature.asc
Description: Digital signature
-- 
SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/
Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html


Re: [SLUG] Networking advice please.

2004-07-13 Thread Ian Wienand
On Wed, Jul 14, 2004 at 01:04:44PM +1000, bill wrote:
 I have 3 pc's networked to an ethernet switch, which is connected to the 
 'Net via a modem router. All works well.

Is it a four port switch?  Often those things have 5 ports, but only
four can be active at the same time (the extra port can be used as an
uplink port, disabling usually the number 1 port).

 Should I be using straight-through cable or crossover cable from the wall 
 point to the ethernet switch (I asume straight-through)?

Generally PC-switch is straight through, but most equipment these
days is auto-sensing and will just figure it out.

-i
[EMAIL PROTECTED]
http://www.gelato.unsw.edu.au


signature.asc
Description: Digital signature
-- 
SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/
Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html


Re: [SLUG] souces.list for packages stored locally

2004-06-14 Thread Ian Wienand
On Tue, Jun 15, 2004 at 12:05:43PM +1000, David wrote:
 What entry should I put in my sources.list for packages that are stored
 locally

If it's just one or two debs you need to use dpkg-scanpackages to
greate a Packages.gz file.  Explained at

http://www.debian.org/doc/manuals/repository-howto/repository-howto.html

If you need something for a few more packages and some level of
automation you can refer to  

http://www.gelato.unsw.edu.au/IA64wiki/SettingUpADebianRepository

-i
[EMAIL PROTECTED]
http://www.gelato.unsw.edu.au


signature.asc
Description: Digital signature
-- 
SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/
Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html


  1   2   >