[SLUG] udev - don't install it without understanding...

2004-11-25 Thread Ken Foskey
I just recovered my system from installing udev.  It booted ran udev and
died.  I had to boot in 2.2 then remove udev to recover.

There is something about re-enabling a block device that I must do but I
cannot find it again.  Maybe later.

Still trying to get my USB to work again under 2.6.9

-- 
Ken Foskey

PS:  Yes I compile my kernel myself, leave me alone Jeff :-)

-- 
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] udev - don't install it without understanding...

2004-11-25 Thread Darren Williams
Hi Ken

On Thu, 25 Nov 2004, Ken Foskey wrote:

 I just recovered my system from installing udev.  It booted ran udev and
 died.  I had to boot in 2.2 then remove udev to recover.
How did it die, I use the snap shot BK tree and leave the udev root in
/etc/udev/udev.conf pointing to /udev. This means I have two device fs, /dev
and /udev. This way any app that relies on /dev can have it, they will wake up
to themselves soon I hope;) and I can have hotplug stuff map consistently to
the same device in /udev.

If you use a packaged system like debian it does some trickery with mount,
what is does is make a backup of devfs's /dev in /.dev, then mounts the new udev
file system on /dev, when you do a /etc/init.d/udev start it makes the backup
then mounts udev on /dev and creates a subset of the devfs devices, the rest is 
left
up to hotplug. The reverse is performed when you stop udev. So not that tricky 
;)

So you may have a /.dev hanging around that can be used to restore the old 
devfs.
 
 
 There is something about re-enabling a block device that I must do but I
 cannot find it again.  Maybe later.
???

 
 Still trying to get my USB to work again under 2.6.9

Are you using libusb

 
 -- 
 Ken Foskey
 
 PS:  Yes I compile my kernel myself, leave me alone Jeff :-)
 
 -- 
 SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/
 Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html
--
Darren Williams dsw AT gelato.unsw.edu.au
[EMAIL PROTECTED] 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] udev - don't install it without understanding...

2004-11-25 Thread amos
Darren Williams wrote:
If you use a packaged system like debian it does some trickery with mount,
what is does is make a backup of devfs's /dev in /.dev, then mounts the new udev
file system on /dev, when you do a /etc/init.d/udev start it makes the backup
then mounts udev on /dev and creates a subset of the devfs devices, the rest is 
left
up to hotplug. The reverse is performed when you stop udev. So not that tricky 
;)
So you may have a /.dev hanging around that can be used to restore the old devfs.
Are you sure /.dev is just a backup?  If so can it be removed?
I once removed /.dev (on Debian testting, or maybe it was unstable
back than) and things didn't boot until I restored it.
Just curios to understand what's going on with udev and hotplug.
--Amos
--
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] udev - don't install it without understanding...

2004-11-25 Thread Darren Williams
Hi amos

On Thu, 25 Nov 2004, [EMAIL PROTECTED] wrote:

 Darren Williams wrote:
 If you use a packaged system like debian it does some trickery with mount,
 what is does is make a backup of devfs's /dev in /.dev, then mounts the 
 new udev
 file system on /dev, when you do a /etc/init.d/udev start it makes the 
 backup
 then mounts udev on /dev and creates a subset of the devfs devices, the 
 rest is left
 up to hotplug. The reverse is performed when you stop udev. So not that 
 tricky ;)
 
 So you may have a /.dev hanging around that can be used to restore the old 
 devfs.
 
 Are you sure /.dev is just a backup?  If so can it be removed?
 
 I once removed /.dev (on Debian testting, or maybe it was unstable
 back than) and things didn't boot until I restored it.
 
From what I can tell, nothing should even look at /.dev so removing
it OK, this is backed up by /usr/init.d/udev. The only thing that
looks at it is /sbin/MAKEDEV and that is conditional. When I have some
time I will test removing /.dev and see what happens.

 Just curios to understand what's going on with udev and hotplug.

OK reading again its a bind mount, what happens is that before udev
is setup a bind mount of the original /dev is bound to /.dev. When
the new tmpfs udev device tree is created on /dev, /.dev still
contains the contents of the original devfs tree.

Another thing to consider is that debian just mounts tmpfs over the
top of the original devfs so when you un-mount the udev tmpfs the
original devfs will still be there.

Becareful, however if you do a
mount --bind /myold-devfs /mynew-devfs
umount /myold-devfs

/mynew-devfs will be unmounted first.

 
 --Amos
 
 -- 
 SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/
 Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html
--
Darren Williams dsw AT gelato.unsw.edu.au
[EMAIL PROTECTED] 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


[SLUG] /etc/module question

2004-11-25 Thread Russell Davie
Hi All
How is /etc/modules made?
scenario:
I replaced a dying NIC (ancient DEC454) with a new RealTek 8139.
The module for supporting a RealTek NIC didn't load at boot time 
(8139too) and so eth0 and networking failed. However lspci finds the NIC 
and the module is compiled and present in 
/lib/modules/2.6.6/kernel/drivers/net
So far, I have found that /etc/modules provides a list of modules that 
the kernel loads at boot, and this module is missing. So I added it and 
now eth0 and networking comes up.

How is this list made? depmod -a?  or modutils?
Can someone explain this?
I thought it was generated automagically.
This box runs Debian with a 2.6.6 kernel
regards
Russell
--
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] /etc/module question

2004-11-25 Thread Jeff Waugh
quote who=Russell Davie

 How is /etc/modules made?

 How is this list made? depmod -a?  or modutils?
 Can someone explain this?
 I thought it was generated automagically.

It's there for you to edit as you wish, to load modules at startup. There is
a tool in Debian called 'modconf', which will add stuff to /etc/modules when
you load modules with it.

- Jeff

-- 
linux.conf.au 2005: Canberra, Australiahttp://linux.conf.au/
 
 If I can't be near you I would rather be adrift in space. - Neil
  Finn, Try Whistling This
-- 
SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/
Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html


[SLUG] Remider - Code Fest!

2004-11-25 Thread Craige McWhirter
(It's tomorrow - see you there!)



When:
Saturday, November 27, 10:00am - 10:00pm
Where:
CSE/UNSW Kensington, Seminar Room 
Map / Transport: http://slug.org.au/events/cse.html

We're holding a Debian RC Bug Squish and general Code Fest. The idea of
of the day is to have a social, coding day, learn a few things, close
some Debian RC Bugs or just hack the day away on what ever takes your
fancy. For those with a punting itch or a taste for bloodsports, we'll
be running a book on whether this boast
http://lists.slug.org.au/archives/slug/2004/11/msg00231.html will be
fulfilled. Get in early for ring side seats. There'll be a 22:00 til
late kick-on at a nearby house with plenty of room and net access for
those with a need for it.

Food and drink will be organised throughout the day and dinner be held
afterwards at a venue decided on by the participants. There's also ample
on-site parking. 

See you there!

-- 

Harp not on that string.
-- William Shakespeare, Henry VI

-- 
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] calendar app -- terminal

2004-11-25 Thread Stuart Guthrie
lynx www.egroupware.org ?

ie, check if the web versions of the various cal apps work in lynx...?

Stu

On Thu, 2004-11-25 at 14:38, [EMAIL PROTECTED] wrote:
 Hi,
 
 I'm looking for a calendar app that runs in an xterm window, I am aware of 
 ical, are there any others that I should be aware of?
 
 tia,
 Luke
 
 -- 
/  /  _
   /_ /_/ / /=
   0421 276 282

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


[SLUG] maybe good

2004-11-25 Thread Ashley Maher
Good Morning,
I subscribe to the Fairfax mailing list. For some reason their online 
service appears broken so I don't know if the below are good or bad 
however maybe worth looking at?

Patently yours
The US-Australia free trade agreement, which comes into effect in2005, will
hit Australia hardest in the area of intellectualproperty rights, according
to three academics who have authored abook detailing the specifics of the
agreement.
http://newsletters.fairfax.com.au/cgi-bin16/DM/y/ehjY0LoV8e0JhK0BbA70Eb
TV series dedicated to open source
http://newsletters.fairfax.com.au/cgi-bin16/DM/y/ehjY0LoV8e0JhK0BbBC0Eo

Regards,
Ashley
--
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] maybe good

2004-11-25 Thread Benno
On Fri Nov 26, 2004 at 10:02:07 +1100, Ashley Maher wrote:

TV series dedicated to open source
http://newsletters.fairfax.com.au/cgi-bin16/DM/y/ehjY0LoV8e0JhK0BbBC0Eo

So Mark Shuttleworth is the same guy funding Ubuntu right? He is certainly
puring a lot of money into this!

Benno
-- 
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] /etc/module question

2004-11-25 Thread O Plameras
Russell Davie wrote:
Hi All
How is /etc/modules made?

When you run,
'depmod -a'
the lot is recreated.
When you run,
'depmod -aA'
it is recreated when there is
a change in timestamp. Kinda
like the behaviour of 'Makefile'
when doing a command 'make'.
scenario:
I replaced a dying NIC (ancient DEC454) with a new RealTek 8139.
The module for supporting a RealTek NIC didn't load at boot time 
(8139too) and so eth0 and networking failed. However lspci finds the 
NIC and the module is compiled and present in 
/lib/modules/2.6.6/kernel/drivers/net
So far, I have found that /etc/modules provides a list of modules that 
the kernel loads at boot, and this module is missing. So I added it 
and now eth0 and networking comes up.

In this scenario, I'd do the following:
First run,
depmod -a
Then, run 'lsmod | grep 8139' to confirm if
8139too has been loaded. If it is not, I'd
do this,
'modprobe 8139too' and then do an
'lsmod | grep 8139'. If it is not loaded still, I'd
do an 'dmesg' and examine the output to
investigate the reason if there is, why the
driver is not being loaded.  Also, examine your
/var/log/messages. Then proceed from
from there.
How is this list made? depmod -a?  or modutils?
Can someone explain this?

Since, kernel 2.5.x, 'depmod -a' will recreate
/etc/modules as explained previously.
I thought it was generated automagically.
This box runs Debian with a 2.6.6 kernel

If you installed your distribution or re-compiled
your kernel, 'depmod -a' is done as part of the process.
Since you changed your NIC, you have to run,
'depmod -a' or 'depmod -aA'.

regards
Russell

--
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] /etc/module question

2004-11-25 Thread Jeff Waugh
quote who=O Plameras

 How is /etc/modules made?
 
 When you run,
 'depmod -a'
 the lot is recreated.

depmod creates modules.dep, which is stored under /lib/modules/kernelver.
It's unrelated to /etc/modules.

- Jeff

-- 
linux.conf.au 2005: Canberra, Australiahttp://linux.conf.au/
 
   Well, you know us usability folks... We like to believe that the two
aren't mutually exclusive. - Calum Benson on power and cleanliness
-- 
SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/
Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html


[SLUG] ADSL/DNS/IPTables issue

2004-11-25 Thread Tony Green
Happy Friday Afternoon one and all,
I've got a annoyance of a problem which, I thought, was limited to my 
home ADSL connection, but I was wrong.

I upgraded my firewall at home to Debian Sarge (running 2.6 kernel) and 
quickly found some problems which didn't used to exist.  I thought it 
was MSS clamping (which I had missed), but enabling that didn't fix 
everything.

The issue is that when a desktop requests a DNS lookup, it times out 
before it comes back (5 seconds approx).  You can immediately request 
the address again and everything works fine - a simple but annoying 
work around.

I thought it was some weird setup thing with my ADSL (iiNet).  I 
switched from PPPoE on the firewall to running that on the ADSL modem - 
still no good.  I looked into MTU's, but nothing worked (went down to 
1452).

The firewall config is the same on the old and the new setups, port 53 
tcp/udp is allowed through.  I'm running bind9 on the firewall and the 
iptables is run through shorewall.

Head scratching and googling hasn't yielded much more info and now I've 
replicated the problem on a brand new, but completely separate, machine 
(same packages but on Telstra ADSL).

Concussion from a cluestick to the head is more than welcome.
Greeno
--
Tony Green [EMAIL PROTECTED]
--
SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/
Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html


[SLUG] Ubuntu - Wollongong

2004-11-25 Thread James Gray
Hi All,

If anyone in the 'Gong is after the latest Ubuntu CD (Hoary, Ubuntu 5.04) 
for i386, I've just finished D/L'ing the ISO and burned a copy or 3 for 
some friends.  Contact me off-list if you want to swing past my place with 
a blank CDR and sample some home-brew.

Cheers,

James
-- 
Ed Sullivan will be around as long as someone else has talent.
-- Fred Allen


pgpmLUbTuPeNH.pgp
Description: PGP 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 - Wollongong

2004-11-25 Thread Jeff Waugh
quote who=James Gray

 If anyone in the 'Gong is after the latest Ubuntu CD (Hoary, Ubuntu 5.04)
 for i386, I've just finished D/L'ing the ISO and burned a copy or 3 for
 some friends.  Contact me off-list if you want to swing past my place with
 a blank CDR and sample some home-brew.

Note that the Hoary CD is the first release of the development series, and
won't work very well. If you're passing around CDs, I'd strongly recommend
passing around CDs of the latest released version, 4.10 (Warty).

- Jeff

-- 
linux.conf.au 2005: Canberra, Australiahttp://linux.conf.au/
 
  Linux continues to have almost as much soul as James Brown. - Forrest
 Cook, LWN
-- 
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 - Wollongong

2004-11-25 Thread James Gray
On Fri, 26 Nov 2004 06:00 pm, Jeff Waugh wrote:
 quote who=James Gray

  If anyone in the 'Gong is after the latest Ubuntu CD (Hoary, Ubuntu
  5.04) for i386, I've just finished D/L'ing the ISO and burned a copy or
  3 for some friends.  Contact me off-list if you want to swing past my
  place with a blank CDR and sample some home-brew.

 Note that the Hoary CD is the first release of the development series,
 and won't work very well. If you're passing around CDs, I'd strongly
 recommend passing around CDs of the latest released version, 4.10
 (Warty).

 - Jeff

Thanks Jeff.  The friends were actually after the development version, I'm 
also downloading the last couple of megs of Warty right now and the same 
offer stands for any sluggers in Wollongong.  I now have versions 4.10 
(Warty) and 5.04 (Hoary) available if anyone's interested.

Cheers,

James
-- 
Always borrow money from a pessimist; he doesn't expect to be paid
back.


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