Re: XFree 4.1 on ATI rage128

2001-08-06 Thread Vivek
On Mon, 6 Aug 2001, Christoph Ulrich Scholler wrote:

> hi,
>
> to x once.  is anyone experiencing the same?  are there any known cures?
> could it be due to some framebuffer issue?  i did not configure any kind
> of frambuffer.  i'd be grateful for every hint.

Not exactly a framebuffer issue, but if you set up an fb console, it will
probably effectively work around the problem. [The r128 specific fb console
may not work - you might have to settle for the unaccelerated vesa fb
console]

-- 
"I don't want to go to the movies to be horrified and depressed."
"No, I suppose you've got real life to do that."



Re: X11 at different resolution for I8000.

2001-08-13 Thread Vivek
On Sun, 12 Aug 2001, Massimo Dal Zotto wrote:

> > But now that I can play all these games and look at these nice graphics,
> > I'd like to switch resolutions to something else than 1400x1050, but
> > when I change to other modes, it doesn't look so good (some kind of
> > delay/refraction going on)..

Laptop screens aren't like CRTs - They're generally only made to show one
resolution: Some laptops [my thinkpad, for example] can 'magnify' a smaller
resolution up to the optimal one, but you always get artifacts or blurring
when you do this. Others simply use a smaller area in the middle of the
screen to display lower resolutions.

-- 
There's an old proverb that says just about whatever you want it to.



Re: Debian and XSGA+ displays

2001-08-14 Thread Vivek
On 14 Aug 2001, Norman Walsh wrote:

> I gather that some newer laptops (the Toshiba Tecra 8200 and the
> latest Sony VAIO) include an "SXGA+" display capable of more than
> 1024x768.  Anyone have success stories getting these running under
> Linux?

I don't know if it's SXGA+ or not, but the Thinkpad A20p works fine at
1400x1050

-- 
My mother loved children - she would have given anything if I had been one.
-- Groucho Marx



Re: Crash on suspend

2001-08-15 Thread Vivek
On Wed, 15 Aug 2001, Rolf Heckemann wrote:

> You only need a hibernation partition if you a) want to enter suspend
> mode (i. e. powersaving without shutting your computer down, b) your

Slight correction - you need the hibernate partition to enter hibernate mode
- you should be ablt to suspend just fine without it.

-- 
"I like work ... I can sit and watch it for hours."



Re: Crash on suspend

2001-08-15 Thread Vivek
On Wed, 15 Aug 2001, Rolf Heckemann wrote:

> > > You only need a hibernation partition if you a) want to enter suspend
> > > mode (i. e. powersaving without shutting your computer down, b) your
> >
> > Slight correction - you need the hibernate partition to enter hibernate mode
> > - you should be ablt to suspend just fine without it.
>
> I may be confused here - but wouldn't that be standby mode?

No - standby and suspend are distinct: In standby mode the machine is till
on, the kernel is still ticking away, but some (possibly only fuzzily
defined) power saving things, like spinning the HD down, turning off the
monitor, clocking the CPU down, etc have happened.

In suspend mode, the machine is almost off - just enough power is consumed
to keep the memory alive, and pretty much everything else is off. [There may be
a trickle of power to things like the NIC, so wake-on-lan type things can
happen].

In hibernate mode, the memory+videomem [as you say] is flushed to permanent
storage, and not even the memory is powered - The BIOS knows how to read the
state back from storage into memory, and the kernel knows how to come back
to life from there.

You may have been confused by the 'swsusp' project, which achieves something
similar to hibernation. I think it works  by having a kernel that can boot
very quickly with a 'memory-image' file: The kernel flushes data to disk and
shuts down - then when it comes back, it detects the file, and instead of
going through the normal boot process, slurps the file into memory and takes
a running jump back to wherever it was when you shut down.

Same effect as hibernation, but no BIOS/APM/ACPI support is required.

Standby mode is, AFAIK, not often used, at least not explicitly by the user,
and has little impact on the user anyway, since the moment they start
prodding the machine, it should come back to 'full on' mode.

I use suspend a lot myself - my thinkpad will last 5~7 days while suspended,
and I generally turn it off if it's going to be out for longer.

Hibernate doesn't work for me - I ran the IBM utility to create a partition
for it, but I just get a beep and a 'system is invalid' message if I try to
suspend. Not sure why. It'd be nice if it worked, but I don't need it so
it's Ok - I may try out swsusp later.

-- 
Everyone would _like_ a first. By the time you get to the third year,
you become more fatalistic, until you get to the point when a kippered
herring with a Warwick crest on it would be as welcome as a degree.
- Stephen Williams




Re: Crash on suspend

2001-08-15 Thread Vivek
On Wed, 15 Aug 2001, Rolf Heckemann wrote:

> That's a lot of interesting information, especially about swsusp,
> which I wasn't aware of.
>
> If you suspend to RAM, energy use probably depends on the amount you
> have.  Do you think that extending your RAM shortens suspend time?

Seems like a reasonable assumption to me, although I don't know if the
memory power drain is the single major factor in suspend lifetime.
I've also noticed my laptop waking itself up from time to time, whirring for
a few seconds, then going back to sleep, but I'm not sure why. My flatmate
says it's possesed and refuses to turn his back on it... :)

-- 
By doing just a little every day, you can gradually let the task
completely overwhelm you.



Re: xfree86 4.1.0 ati rage 128

2001-08-16 Thread Vivek
On Thu, 16 Aug 2001, Tim Connors wrote:

>
> I had no problems with xfree86 4.0.x on my dell inspiron 4000, but after
> upgrading to 4.1.0, I now have crud all over my text console when I either
> quit X or go to the console. I have temporarily solved this problem by

Assuming you don't have an fb console already, you may be able to work
around this by using either the vesa or the r128 fb console.

-- 
That which doesn't kill you will make you bitter and cynical.
-TMEG



Re: thinkpad A21p display restore problem when opening top in X11

2001-08-20 Thread Vivek
On Mon, 20 Aug 2001, Peter Amstutz wrote:

> I just recently bought a Thinkpad A21p and it's a wonderful machine.  I'm
> running Debian unstable (Cid, I belive) and so far I have encountered only
> one major problem: when I close the top for just a minute and then reopen
> it, the display is almost always messed up.

1) Are you using an fb console? [the r128 fb console might not work - if so
try the vesa one]
2) Does using the fb console work around this?

> While on the subject, I have also noticed what appears to be X
> missing/dropping enter-exit messages when the pointer moves from window to
> window.  In other words, if I move the pointer around quickly, the focus
> sometimes will not be assigned to the window that the pointer is actually
> on.

I've had this happen to me on an A20p - not sure why - usually after a
susp/resume or flipping to the console and back.

-- 
Manual? We've just been pushing buttons til it works...



Re: thinkpad A21p display restore problem when opening top in X11

2001-08-21 Thread Vivek

> By the way, has anyone tried the DRI 3D support on the ATI Mobility M3
> (the video chipset the TP A21p has) in X4?  What is involved in setting
> this up in debian?

Yes. It works fine. It locked a few time for me in 4.0.1, but not since
4.0.3, [I think]. agpgart and r128 drm compiled as modules, set permissions
on /dev/agpgart, make sure the agpgart and r128 modules are loaded _before_
you start X [1]. Oh yes, it should be enabled in your XF86Config file, of
course.

[1] They seem to get autoloaded only after the first time X requests them,
by which time X seems to have decided they aren't available, or
something. I'm being hand-wavy here, but preloading them works fine.

-- 
I'm an apatheist. The question is no longer interesting,
and the answer no longer matters. - petro - a.s.r



Re: tpctl and kernel 2.4.7

2001-08-23 Thread Vivek
On Thu, 23 Aug 2001, Ignasi Palou-Rivera wrote:

> those instead. Does anybody have any experience in tpctl and 2,4
> kernels using testing? The tpctl page talks about some dependencies of

Yeah, I have them running at home - laptops suspended right now, so I can't
prod it from here... I'll post my .config and so on when i get home.

-- 
fsck -f -b 8193 /dev/cortex



Re: tpctl and kernel 2.4.7

2001-08-24 Thread Vivek
On Fri, 24 Aug 2001, Ignasi Palou-Rivera wrote:

> I have another problem now, though. The modules load fine, but I can't
> do anything with the tpctl utility. Calling something like 'tpctl -ix'
> gives a 'Function not supported' message (Sorry, I don;t have the

AT a first glance, your problem would seem to be this:

Not all functions are supported on all thinkpads, and the 'show me the
whole group' options for tpctl don't recover from this - tpctl just bombs
out when it encounters an unsupported function - if you try the individual
item options, you should be able to figure out which nits are supported and
which aren't. Also, ntpctl should work. [I assume here that the thinkpad.o
module has been loaded and is happy...]

-- 
"Outside of a dog, a book is a man's best friend: and inside a dog,
it's too dark to read."
-- Groucho Marx



Re: Cursor Gets Stuck

2001-08-29 Thread Vivek
On Wed, 29 Aug 2001, Ignasi Palou-Rivera wrote:

> I also remember a similar problem with my desktop. It was gpm's
> fault. One of the defaults in the gpm's debconf has a conflict with

No two devices can have /dev/psaux (usefully) open at the same time -
If you want both X and the console to have access to the same psaux
device, then you must set gpm up as a repeater and get X to use /dev/gpmdata
as its mouse device. [Note that you should also select an appropriate
protocol for gpm to repeat in]

console-mouse  <--- gpm <- /dev/psaux
   /
Xfree86 <- /dev/gpmdata <-[ protocol translated ]

Later versions of gpm have been reported as working around this by
releasing the device when you switch away from the console, but if
this is in fact the problem you are seeing then either the version
you have is  not recent enough, or this workaround, well, isn't.

-- 
Everyone would _like_ a first. By the time you get to the third year,
you become more fatalistic, until you get to the point when a kippered
herring with a Warwick crest on it would be as welcome as a degree.
- Stephen Williams



Re: wooky->potato

2001-09-09 Thread Vivek
On Sat, 8 Sep 2001, Tom Allison wrote:

> 
> > Has anyone else been finding upgrades to woody getting better or
> > harder?
[cut]
> Here's what I did that worked.
> replaced 'stable' with 'testing' in the sources.list.
> ran the following on command line:
> 'while true; do apt-get -y dist-select; sleep 30; done'
>
> Eventually it got stupid, I broke the code and ran
> 'dpkg --configure -a;apt-get -f install'
[cut]

Er. I just added the woody lines to my sources.list and did an

apt-get update
apt-get dist-upgrade

It churned on for a while - occasionally dist upgrade seemed to get a bit
confused and claim it had finished when it neded to do more stuff, but I
just issued another dist-upgrade and it picked up where it left off. Had to
do that about twice, iirc, but apart from that it was pretty hassle free.

-- 
"I don't suffer from insanity, I enjoy every moment of it" - Anon



Re: wooky->potato

2001-09-10 Thread Vivek
On Sun, 9 Sep 2001, Tom Allison wrote:

> CaT wrote:
> > On Sun, Sep 09, 2001 at 03:04:28PM +0100, Vivek wrote:
> >
> >>Er. I just added the woody lines to my sources.list and did an
> >>
> >>apt-get update
> >>apt-get dist-upgrade
[cut]
> Maybe I have a dumb question.
> After you change the sources.list from 'stable' to 'testing'
> are you supposed to run apt-get upgrade first or apt-get dist-upgrade?
> I've always thought it was apt-get dist-upgrade..
> Is that right?

That's apt-get update, not upgrade. 'update' tells apt to fetch the
up-to-date package lists from/for the specified sources. 'dist-upgrade' is
similar to upgrade, except that it's a lot more aggressive about installing
extra dependencies and stuff, given that it know it has to upgrade across a
whole distribution.

-- 
"He was too young to be taken from us."
 'You were the one who cut him in half with a chainsaw, dude.'



Re: pcmcia-source version 3.1.28-2 gave error on wireless drivers

2001-09-12 Thread Vivek
On Thu, 13 Sep 2001, A. Demarteau (linux rules!) wrote:

[cut]
> wvlan_hcf.c:781: macro `min' used with only 2 args
> wvlan_hcf.c:1702: macro `max' used with only 2 args
[cut]
> I hope someone can helpout here.

Yeah - looks like you've bumped into the much hated 3 arg min/max macros
that were introdcued in 2.4. - iirc they've been or are about to
be phased back out again in 2.4.10 for a somewhat cleverer 2 arg construct
which achieves the same thing without invoking howls of indignation from
half the people involved :)

At least, I assume that's what those 2 messages are about, because apart
from the brief run recently in the linux kernel, I've never seen a min or
max macro with any number of args other than 2 Don't know what the rest
of the stuff was about, though...

-- 
Just one nuclear family can ruin your whole life.



Re: apm death

2001-09-26 Thread Vivek
On Wed, 26 Sep 2001, Tom Allison wrote:

> For example:  I hit the keyboard buttons to suspend the computer for the
> night (not Hibernate) and it goes to "sleep" just fine.
> I close the lid, OK.
> I plug in the power cord to recharge - computer beeps, comes back to
> life, and the screen/keyboard hang.  I'm not in X at the time because

What are your tpctl settings w. regard to allowing suspend/hibernate while
on AC power?



Re: ati (mach64) framebuffer

2001-09-26 Thread Vivek
On Wed, 26 Sep 2001, Richard Weil wrote:

> Can anyone give me some pointers on getting the ATI
> framebuffer set-up?

I think the ATI framebuffer stuff is still pretty experimental - still
hoses the display on my laptop completely - I just use the vesa fb - it's
not as if I spend of a lot of time on the console anyway - it may be worth
contacting the author(s) with your symptoms if you have the time to give
them the feedback/diagnostics they need to fix things

-- 
You are in a maze of twisty X resources, all like.



Re: Galeon + xterm wierdness

2001-09-29 Thread Vivek
On Sun, 30 Sep 2001, Kevin Shanahan wrote:

> Debian Sid, kernel-2.4.9-ac17
>   xterm   4.1.0-6
>   galeon  0.12.1-1
>
> If there's any other info that might help, let me know and I'll gladly
> provide it. I just don't really know where to look to solve this one.

strace an xterm, dump the ouptut to a file, start galeon, strace an xterm,
dump the ouput to another file, have a nose through those and see if there
are any differences that seem significant. strace is your friend.



Re: X-Fonts

2001-10-09 Thread Vivek
On Tue, 9 Oct 2001, Andrew McMillan wrote:

> I think I saw somewhere that this problem is to do with the internal font
> server in X 4.1.0 which is seeing the wrong default encoding - the fix is
> to use xfs to serve the fonts.

Under what circumstances does this occur? I have Xfree 4.1.0 at both work
(on an evil el-cheapo i810 mb) and at home on an A20p and a desktop box w. a
radeon in it, and they all work fine - I used to get the little square boxes
at work, but only in gnumeric, nowhere else, and then only when the font
size was < 10 and the font was set to helvetica - which leads me to suspect
that it's gnome related. I don't use font servers on any of the machines in
question. [The gnumeric problem went away after a recent upgrade].

-- 
When someone says "I want a programming language in which I need only
say what I wish done," give him a lollipop.



Re: Next step?

2001-10-11 Thread Vivek
On Thu, 11 Oct 2001, Søren Neigaard wrote:

> What are the difference between Testing and Unstable?

Unstable is where bleeding edge just-released packages get dropped in by the
maintainers. After a while, once it's been established that they won't
barbecue your dog and microwave your spleen, they filter through to testing.

Generally I just live in testing, and anytime I need a package from
unstable, I get the source from unstable and compile a package on testing -
this works fine for packages without a gazillion dependencies in unstable.

> Should I upgrade to testing/unstable first, or install sawfish first
> (will sawfish upgrade together with the rest of my system)?

All packages that can upgrade, do so when you do an 'apt-get dist-upgrade',
so unless sawfish is borken/missing in stable, it shouln't matter much which
way you do it. (although you will conserve bandwidth and time by upgrading
and _then_ installing new packages)

-- 
That which doesn't kill you will make you bitter and cynical.
-TMEG



Re: ATI Radeon and Inspiron 4100

2001-10-13 Thread Vivek
On Sat, 13 Oct 2001, Philipp Bliedung wrote:

> Hi,
>
> I'm planning on getting a Dell Inspiron 4100 but I can't find any
> information whether the
> ATI Radeon Mobility (16Mb) card is supported under Linux.
> I'm using unstable.

The ATI Radeon Mobility, iirc, has only just come out - probably take a
little while for there to be a specific driver for it - best place to ask
would be on one of the xfree86 lists, I suppose...

-- 
If we all work together, we can totally disrupt the system.



Re: ssh port-forwarding and UDP-connections

2001-10-16 Thread Vivek
On Mon, 15 Oct 2001, A. Demarteau (linux rules!) wrote:

> hi,
> I need to use a local service form my laptop (remote location).
> Thi is an udp connection.
> Now I was wondering if it is possible to forward udp-connections over an
> ssh-tunnel.
>
> I know it's possible for tcp-connections, but this has to be udp.
> Any suggestions?

http://www.stunnel.org/faq/otherapps.html#ToC2

Can I forward UDP services over stunnel?
As described thus far, no. Stunnel works with SSL, which runs only on TCP.
There are ways to forward UDP packets over TCP, and in principle these
should be able to work over stunnel.

There are also other programs that do this natively, and could be used
standalone or via stunnel, such as Zebedee. If you have any success
tunneling UDP over stunnel, please contact the faq maintainer so we can
write up a good HOWTO for folks.




Re: X11 hork after apt-get dist-upgrade

2001-10-19 Thread Vivek
On Thu, 18 Oct 2001, Michael K. O'Brien wrote:

> Running unstable on two machines, both now hork after running apt-get
> dist-upgrade. I believe the error is an ssh configuration because the
> .xsession-errors contains:

X in unstable is broken at the moment - one of the shell commands in the
startup scripts is misquoted (it has "" around the whole command, and it
shouldn't).

-- 
"Always try to do things in chronological order; it's less confusing
that way."



Re: X11 hork after apt-get dist-upgrade

2001-10-20 Thread Vivek
On Sat, 20 Oct 2001, buggz wrote:

>
> And when you've done both of the below suggestions, and it still doesn't work?
> Sigh...
> Oh, I get:
>
> Fatal server error:
> could not open default font 'fixed'
>
> Though, I can't find such a word in /etc/X11/XF86Config

Your font path is misconfigured, or you have somehow managed to uninstall
the default font.



Re: Silicon Motion extremely slow

2001-07-27 Thread Vivek

On Fri, 27 Jul 2001, Gernot A. Weber wrote:

> I also noticed that e.g. tuxracer or other 3d apps are very slow, but I
> don't think its my notebook, which is equipped with a PIII-600 and 192
> megs of ram.
>
> I'm loading all necessary modules, like extmods, glx, dri and so on. Is
> there anything else, perhaps in the kernel, that brings an improvement,
> that I might have forgotten?

Do you have agpgart support compiled in / as a module for your chipset?
If it is a module, did it get loaded _before_ you started X?

-- 
Vivek


--  
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]




Re: Silicon Motion extremely slow

2001-07-28 Thread Vivek

On Sat, 28 Jul 2001, Gernot A. Weber wrote:

> Hi,
>
> yes I compiled agpgart into the kernel. dmesg says, that it has been
> loaded and shows about 149megs of aperture size, but after that there is a
> message, that my card is not supported?!?

May we see the messages?  Also, You will need to compile and load a card
specific kernel module - I have an ATI Radeon in my desktop box, and
although there is a radeon.o from my kernel, I actually have to remove that
one and load radeon.o from my copy of XFree [a dri-cvs version] to get 3D
acceleration - [this may be fixed in more recent kernels than 2.4.3, I'll
have to check]

The options for these kernel modules should be listed just after the agpgart
options in your xconfig/menuconfig display.


-- 
Vivek


--  
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]




Re: rip off Britain!

2001-07-30 Thread Vivek

On Sun, 29 Jul 2001, Dhruva B. Reddy wrote:

> Several mailing lists do not allow posts from unregistered e-mail addresses.
> Is it possible to set this one up this way?
>
> 

Possibly, but this is the sort of list where you might expect a lot of
'help I'm a newbie' messages from people who aren't subscribed, and it would
be nice if those people didn't have to. Plus, I don't think the problem is
that bad, and filtering might be a better response if it is deemed necessary
[seems to work pretty well for the kernel list]

-- 
Vivek


--  
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]




Re: XFree 4.1 on ATI rage128

2001-08-06 Thread Vivek

On Mon, 6 Aug 2001, Christoph Ulrich Scholler wrote:

> hi,
>
> to x once.  is anyone experiencing the same?  are there any known cures?
> could it be due to some framebuffer issue?  i did not configure any kind
> of frambuffer.  i'd be grateful for every hint.

Not exactly a framebuffer issue, but if you set up an fb console, it will
probably effectively work around the problem. [The r128 specific fb console
may not work - you might have to settle for the unaccelerated vesa fb
console]

-- 
"I don't want to go to the movies to be horrified and depressed."
"No, I suppose you've got real life to do that."


--  
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]




Re: X11 at different resolution for I8000.

2001-08-13 Thread Vivek

On Sun, 12 Aug 2001, Massimo Dal Zotto wrote:

> > But now that I can play all these games and look at these nice graphics,
> > I'd like to switch resolutions to something else than 1400x1050, but
> > when I change to other modes, it doesn't look so good (some kind of
> > delay/refraction going on)..

Laptop screens aren't like CRTs - They're generally only made to show one
resolution: Some laptops [my thinkpad, for example] can 'magnify' a smaller
resolution up to the optimal one, but you always get artifacts or blurring
when you do this. Others simply use a smaller area in the middle of the
screen to display lower resolutions.

-- 
There's an old proverb that says just about whatever you want it to.


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]




Re: Debian and XSGA+ displays

2001-08-14 Thread Vivek

On 14 Aug 2001, Norman Walsh wrote:

> I gather that some newer laptops (the Toshiba Tecra 8200 and the
> latest Sony VAIO) include an "SXGA+" display capable of more than
> 1024x768.  Anyone have success stories getting these running under
> Linux?

I don't know if it's SXGA+ or not, but the Thinkpad A20p works fine at
1400x1050

-- 
My mother loved children - she would have given anything if I had been one.
-- Groucho Marx


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]




Re: Crash on suspend

2001-08-15 Thread Vivek

On Wed, 15 Aug 2001, Rolf Heckemann wrote:

> You only need a hibernation partition if you a) want to enter suspend
> mode (i. e. powersaving without shutting your computer down, b) your

Slight correction - you need the hibernate partition to enter hibernate mode
- you should be ablt to suspend just fine without it.

-- 
"I like work ... I can sit and watch it for hours."


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]




Re: Crash on suspend

2001-08-15 Thread Vivek

On Wed, 15 Aug 2001, Rolf Heckemann wrote:

> > > You only need a hibernation partition if you a) want to enter suspend
> > > mode (i. e. powersaving without shutting your computer down, b) your
> >
> > Slight correction - you need the hibernate partition to enter hibernate mode
> > - you should be ablt to suspend just fine without it.
>
> I may be confused here - but wouldn't that be standby mode?

No - standby and suspend are distinct: In standby mode the machine is till
on, the kernel is still ticking away, but some (possibly only fuzzily
defined) power saving things, like spinning the HD down, turning off the
monitor, clocking the CPU down, etc have happened.

In suspend mode, the machine is almost off - just enough power is consumed
to keep the memory alive, and pretty much everything else is off. [There may be
a trickle of power to things like the NIC, so wake-on-lan type things can
happen].

In hibernate mode, the memory+videomem [as you say] is flushed to permanent
storage, and not even the memory is powered - The BIOS knows how to read the
state back from storage into memory, and the kernel knows how to come back
to life from there.

You may have been confused by the 'swsusp' project, which achieves something
similar to hibernation. I think it works  by having a kernel that can boot
very quickly with a 'memory-image' file: The kernel flushes data to disk and
shuts down - then when it comes back, it detects the file, and instead of
going through the normal boot process, slurps the file into memory and takes
a running jump back to wherever it was when you shut down.

Same effect as hibernation, but no BIOS/APM/ACPI support is required.

Standby mode is, AFAIK, not often used, at least not explicitly by the user,
and has little impact on the user anyway, since the moment they start
prodding the machine, it should come back to 'full on' mode.

I use suspend a lot myself - my thinkpad will last 5~7 days while suspended,
and I generally turn it off if it's going to be out for longer.

Hibernate doesn't work for me - I ran the IBM utility to create a partition
for it, but I just get a beep and a 'system is invalid' message if I try to
suspend. Not sure why. It'd be nice if it worked, but I don't need it so
it's Ok - I may try out swsusp later.

-- 
Everyone would _like_ a first. By the time you get to the third year,
you become more fatalistic, until you get to the point when a kippered
herring with a Warwick crest on it would be as welcome as a degree.
- Stephen Williams



-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]




Re: Crash on suspend

2001-08-15 Thread Vivek

On Wed, 15 Aug 2001, Rolf Heckemann wrote:

> That's a lot of interesting information, especially about swsusp,
> which I wasn't aware of.
>
> If you suspend to RAM, energy use probably depends on the amount you
> have.  Do you think that extending your RAM shortens suspend time?

Seems like a reasonable assumption to me, although I don't know if the
memory power drain is the single major factor in suspend lifetime.
I've also noticed my laptop waking itself up from time to time, whirring for
a few seconds, then going back to sleep, but I'm not sure why. My flatmate
says it's possesed and refuses to turn his back on it... :)

-- 
By doing just a little every day, you can gradually let the task
completely overwhelm you.


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]




Re: xfree86 4.1.0 ati rage 128

2001-08-16 Thread Vivek

On Thu, 16 Aug 2001, Tim Connors wrote:

>
> I had no problems with xfree86 4.0.x on my dell inspiron 4000, but after
> upgrading to 4.1.0, I now have crud all over my text console when I either
> quit X or go to the console. I have temporarily solved this problem by

Assuming you don't have an fb console already, you may be able to work
around this by using either the vesa or the r128 fb console.

-- 
That which doesn't kill you will make you bitter and cynical.
-TMEG


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]




Re: thinkpad A21p display restore problem when opening top in X11

2001-08-20 Thread Vivek

On Mon, 20 Aug 2001, Peter Amstutz wrote:

> I just recently bought a Thinkpad A21p and it's a wonderful machine.  I'm
> running Debian unstable (Cid, I belive) and so far I have encountered only
> one major problem: when I close the top for just a minute and then reopen
> it, the display is almost always messed up.

1) Are you using an fb console? [the r128 fb console might not work - if so
try the vesa one]
2) Does using the fb console work around this?

> While on the subject, I have also noticed what appears to be X
> missing/dropping enter-exit messages when the pointer moves from window to
> window.  In other words, if I move the pointer around quickly, the focus
> sometimes will not be assigned to the window that the pointer is actually
> on.

I've had this happen to me on an A20p - not sure why - usually after a
susp/resume or flipping to the console and back.

-- 
Manual? We've just been pushing buttons til it works...


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]




Re: thinkpad A21p display restore problem when opening top in X11

2001-08-21 Thread Vivek


> By the way, has anyone tried the DRI 3D support on the ATI Mobility M3
> (the video chipset the TP A21p has) in X4?  What is involved in setting
> this up in debian?

Yes. It works fine. It locked a few time for me in 4.0.1, but not since
4.0.3, [I think]. agpgart and r128 drm compiled as modules, set permissions
on /dev/agpgart, make sure the agpgart and r128 modules are loaded _before_
you start X [1]. Oh yes, it should be enabled in your XF86Config file, of
course.

[1] They seem to get autoloaded only after the first time X requests them,
by which time X seems to have decided they aren't available, or
something. I'm being hand-wavy here, but preloading them works fine.

-- 
I'm an apatheist. The question is no longer interesting,
and the answer no longer matters. - petro - a.s.r


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]




Re: tpctl and kernel 2.4.7

2001-08-23 Thread Vivek

On Thu, 23 Aug 2001, Ignasi Palou-Rivera wrote:

> those instead. Does anybody have any experience in tpctl and 2,4
> kernels using testing? The tpctl page talks about some dependencies of

Yeah, I have them running at home - laptops suspended right now, so I can't
prod it from here... I'll post my .config and so on when i get home.

-- 
fsck -f -b 8193 /dev/cortex


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]




Re: tpctl and kernel 2.4.7

2001-08-24 Thread Vivek

On Fri, 24 Aug 2001, Ignasi Palou-Rivera wrote:

> I have another problem now, though. The modules load fine, but I can't
> do anything with the tpctl utility. Calling something like 'tpctl -ix'
> gives a 'Function not supported' message (Sorry, I don;t have the

AT a first glance, your problem would seem to be this:

Not all functions are supported on all thinkpads, and the 'show me the
whole group' options for tpctl don't recover from this - tpctl just bombs
out when it encounters an unsupported function - if you try the individual
item options, you should be able to figure out which nits are supported and
which aren't. Also, ntpctl should work. [I assume here that the thinkpad.o
module has been loaded and is happy...]

-- 
"Outside of a dog, a book is a man's best friend: and inside a dog,
it's too dark to read."
-- Groucho Marx


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]




Re: Cursor Gets Stuck

2001-08-29 Thread Vivek

On Wed, 29 Aug 2001, Ignasi Palou-Rivera wrote:

> I also remember a similar problem with my desktop. It was gpm's
> fault. One of the defaults in the gpm's debconf has a conflict with

No two devices can have /dev/psaux (usefully) open at the same time -
If you want both X and the console to have access to the same psaux
device, then you must set gpm up as a repeater and get X to use /dev/gpmdata
as its mouse device. [Note that you should also select an appropriate
protocol for gpm to repeat in]

console-mouse  <--- gpm <- /dev/psaux
   /
Xfree86 <- /dev/gpmdata <-[ protocol translated ]

Later versions of gpm have been reported as working around this by
releasing the device when you switch away from the console, but if
this is in fact the problem you are seeing then either the version
you have is  not recent enough, or this workaround, well, isn't.

-- 
Everyone would _like_ a first. By the time you get to the third year,
you become more fatalistic, until you get to the point when a kippered
herring with a Warwick crest on it would be as welcome as a degree.
- Stephen Williams


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]




Re: wooky->potato

2001-09-09 Thread Vivek

On Sat, 8 Sep 2001, Tom Allison wrote:

> 
> > Has anyone else been finding upgrades to woody getting better or
> > harder?
[cut]
> Here's what I did that worked.
> replaced 'stable' with 'testing' in the sources.list.
> ran the following on command line:
> 'while true; do apt-get -y dist-select; sleep 30; done'
>
> Eventually it got stupid, I broke the code and ran
> 'dpkg --configure -a;apt-get -f install'
[cut]

Er. I just added the woody lines to my sources.list and did an

apt-get update
apt-get dist-upgrade

It churned on for a while - occasionally dist upgrade seemed to get a bit
confused and claim it had finished when it neded to do more stuff, but I
just issued another dist-upgrade and it picked up where it left off. Had to
do that about twice, iirc, but apart from that it was pretty hassle free.

-- 
"I don't suffer from insanity, I enjoy every moment of it" - Anon


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]




Re: wooky->potato

2001-09-10 Thread Vivek

On Sun, 9 Sep 2001, Tom Allison wrote:

> CaT wrote:
> > On Sun, Sep 09, 2001 at 03:04:28PM +0100, Vivek wrote:
> >
> >>Er. I just added the woody lines to my sources.list and did an
> >>
> >>apt-get update
> >>apt-get dist-upgrade
[cut]
> Maybe I have a dumb question.
> After you change the sources.list from 'stable' to 'testing'
> are you supposed to run apt-get upgrade first or apt-get dist-upgrade?
> I've always thought it was apt-get dist-upgrade..
> Is that right?

That's apt-get update, not upgrade. 'update' tells apt to fetch the
up-to-date package lists from/for the specified sources. 'dist-upgrade' is
similar to upgrade, except that it's a lot more aggressive about installing
extra dependencies and stuff, given that it know it has to upgrade across a
whole distribution.

-- 
"He was too young to be taken from us."
 'You were the one who cut him in half with a chainsaw, dude.'


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]




Re: pcmcia-source version 3.1.28-2 gave error on wireless drivers

2001-09-12 Thread Vivek

On Thu, 13 Sep 2001, A. Demarteau (linux rules!) wrote:

[cut]
> wvlan_hcf.c:781: macro `min' used with only 2 args
> wvlan_hcf.c:1702: macro `max' used with only 2 args
[cut]
> I hope someone can helpout here.

Yeah - looks like you've bumped into the much hated 3 arg min/max macros
that were introdcued in 2.4. - iirc they've been or are about to
be phased back out again in 2.4.10 for a somewhat cleverer 2 arg construct
which achieves the same thing without invoking howls of indignation from
half the people involved :)

At least, I assume that's what those 2 messages are about, because apart
from the brief run recently in the linux kernel, I've never seen a min or
max macro with any number of args other than 2 Don't know what the rest
of the stuff was about, though...

-- 
Just one nuclear family can ruin your whole life.


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]




Re: apm death

2001-09-26 Thread Vivek

On Wed, 26 Sep 2001, Tom Allison wrote:

> For example:  I hit the keyboard buttons to suspend the computer for the
> night (not Hibernate) and it goes to "sleep" just fine.
> I close the lid, OK.
> I plug in the power cord to recharge - computer beeps, comes back to
> life, and the screen/keyboard hang.  I'm not in X at the time because

What are your tpctl settings w. regard to allowing suspend/hibernate while
on AC power?


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]




Re: ati (mach64) framebuffer

2001-09-26 Thread Vivek

On Wed, 26 Sep 2001, Richard Weil wrote:

> Can anyone give me some pointers on getting the ATI
> framebuffer set-up?

I think the ATI framebuffer stuff is still pretty experimental - still
hoses the display on my laptop completely - I just use the vesa fb - it's
not as if I spend of a lot of time on the console anyway - it may be worth
contacting the author(s) with your symptoms if you have the time to give
them the feedback/diagnostics they need to fix things

-- 
You are in a maze of twisty X resources, all like.


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]




Re: X11 hork after apt-get dist-upgrade

2001-10-19 Thread Vivek

On Thu, 18 Oct 2001, Michael K. O'Brien wrote:

> Running unstable on two machines, both now hork after running apt-get
> dist-upgrade. I believe the error is an ssh configuration because the
> .xsession-errors contains:

X in unstable is broken at the moment - one of the shell commands in the
startup scripts is misquoted (it has "" around the whole command, and it
shouldn't).

-- 
"Always try to do things in chronological order; it's less confusing
that way."


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]




Re: X11 hork after apt-get dist-upgrade

2001-10-20 Thread Vivek

On Sat, 20 Oct 2001, buggz wrote:

>
> And when you've done both of the below suggestions, and it still doesn't work?
> Sigh...
> Oh, I get:
>
> Fatal server error:
> could not open default font 'fixed'
>
> Though, I can't find such a word in /etc/X11/XF86Config

Your font path is misconfigured, or you have somehow managed to uninstall
the default font.


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]




Re: 16 bit PCMCIA devices

2001-10-30 Thread Vivek

On Tue, 30 Oct 2001, Sunny Dubey wrote:

> Hi,
>
> Is anyone aware of the band width limitation of a 16 bit pcmcia device ??  Or
> does that band width limitation not matter if I plug the card into a 32 bit
> card socket??  (or am I completely wrong?)

The bandwidth limitation always applies.


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]




Re: naive question: XFree86 4.1 and Debian Potato

2001-11-10 Thread Vivek

On Sat, 10 Nov 2001, Jerome BENOIT wrote:

> Glen Mehn wrote:
> >
> > you can get them at your local (or remote) debian mirror, under testing.
>
> As far I can understand
> this distribution is for Woody,
> does I miss something ?

No, you are correct, that is woody, not potato. You can get the source
package from woody and compile it for potato, although you might have
to fetch a large number of other packages from woody and compile those for
potato first, depending on the build dependencies that the X source package
has. Alternatively, you should be able to find someone who has already done
this and provided unofficial binaries: try a google search, or similar (iirc
it has been mentioned on debianplanet.org, you could try searching the
older articles there).

-- 
"Outside of a dog, a book is a man's best friend: and inside a dog,
it's too dark to read."
-- Groucho Marx


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]




Re: APM -- wmapm and user-initiated sleep/suspend?

2001-11-07 Thread Vivek

On Tue, 6 Nov 2001, Karsten M. Self wrote:

> I've got APM configured, and can initiate a sleep/suspend from root.  I
> can't do this as an unprivileged user either from the command line or
> via wmapm (a WindowMaker dock app).
>
> Attempting same from command line:
>
> $ apm -S
> Cannot open APM device: Permission denied
>
> Suggestions?

Change the permissions on the apm device and/or add yourself to an
appropriate group?


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]




Re: APM -- wmapm and user-initiated sleep/suspend?

2001-11-08 Thread Vivek

On Wed, 7 Nov 2001, Karsten M. Self wrote:

> > Change the permissions on the apm device and/or add yourself to an
> > appropriate group?
>
> I tried that.  Created an apm group, added myself, newgrp'd, and did
> 'apm -S'.  No dice.

Yes, but what are the permissions on the apm device file?


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]




Re: Galeon + xterm wierdness

2001-09-29 Thread Vivek

On Sun, 30 Sep 2001, Kevin Shanahan wrote:

> Debian Sid, kernel-2.4.9-ac17
>   xterm   4.1.0-6
>   galeon  0.12.1-1
>
> If there's any other info that might help, let me know and I'll gladly
> provide it. I just don't really know where to look to solve this one.

strace an xterm, dump the ouptut to a file, start galeon, strace an xterm,
dump the ouput to another file, have a nose through those and see if there
are any differences that seem significant. strace is your friend.


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]




Re: thinkpad no video on boot

2001-11-25 Thread Vivek

On Mon, 26 Nov 2001, Serge Rey wrote:

> not sure what H/V is. can you educate me and i'll check.

H/V expand is the option that sets the display behaviour when the
received display XY size is < real LCD XY size. If H/V is on,
then the display chipset attempts to stretch the display it gets
out over the real display, using a weird antialiasing type thingy
to handle the fact that there isn't a 1 : 1 or even necessarily
a (1 : integer x integer) relationship between the logical and
physical displays. iyswim. If it's off, the chipset just uses a
small area in the center of the display whose XY dimensions match
the XY dimensions of the logical display.

I've got a couple of weird problems with my A20p myself - I left the laptop
plugged in and on for a while once (a few days) with the lid down,
suspended - it came back on with the display hosed and the keyboard locked
up - but I could ssh in and thwack X hard (init.d restart of gdm).
So I experimented and left it on, plugged in and _not_ suspended for a
similar period of time: same result - machine responded over the ntwork,
local access hosed - and when I suspended it, it refused to wake back up at
all till I lened on the power button and sat through a fsck. Also, if I
leave it in hibernation for > 1 hour(ish), it locks up the next time I
come back up (if I come back into X) or the next time I leave X (if I flip
to the console before starting hibernation).

-- 
I must be sad when I have cause, and smile at no  man's jests;
eat when I have stomach, and wait for no man's leisure;
sleep when I am drowsy, and tend on no man's business;
laugh when I am merry, and claw no man in his humour.


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]




Re: thinkpad no video on boot

2001-11-25 Thread Vivek

On Mon, 26 Nov 2001, Serge Rey wrote:

> in the past i noticed that i could get back to the cursor faster from a
> cold boot than from a recovery from hibernation. so i rarely used
> hibernation. i wonder if other folks experience the same relative timing
> of booting versus recovery from hibernation?

Nah, hibernation, when it didn't lock up (which admittedly was almost every
time, since for < 1 hour I'd probably have suspended) came back pretty
quickly for me - booting is pretty slow, and hibernation never involves a
fsck, whereas from time to time, booting is guaranteed to (unless you're on
a journaling fs, but then you have pm issues, what with the cache being
bypassed to guarantee atomicity, or something...)

Hmm - I see the sig generator is in semi-psychic mode again :)

-- 
"Am I missing something else? The same configuration is working fine elsewhere
(albeit with a different OS, computer and network)..."
 -- seen on a mailing list


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]




Re: Next step?

2001-10-11 Thread Vivek

On Thu, 11 Oct 2001, Søren Neigaard wrote:

> What are the difference between Testing and Unstable?

Unstable is where bleeding edge just-released packages get dropped in by the
maintainers. After a while, once it's been established that they won't
barbecue your dog and microwave your spleen, they filter through to testing.

Generally I just live in testing, and anytime I need a package from
unstable, I get the source from unstable and compile a package on testing -
this works fine for packages without a gazillion dependencies in unstable.

> Should I upgrade to testing/unstable first, or install sawfish first
> (will sawfish upgrade together with the rest of my system)?

All packages that can upgrade, do so when you do an 'apt-get dist-upgrade',
so unless sawfish is borken/missing in stable, it shouln't matter much which
way you do it. (although you will conserve bandwidth and time by upgrading
and _then_ installing new packages)

-- 
That which doesn't kill you will make you bitter and cynical.
-TMEG


--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]




Re: ATI Radeon and Inspiron 4100

2001-10-13 Thread Vivek

On Sat, 13 Oct 2001, Philipp Bliedung wrote:

> Hi,
>
> I'm planning on getting a Dell Inspiron 4100 but I can't find any
> information whether the
> ATI Radeon Mobility (16Mb) card is supported under Linux.
> I'm using unstable.

The ATI Radeon Mobility, iirc, has only just come out - probably take a
little while for there to be a specific driver for it - best place to ask
would be on one of the xfree86 lists, I suppose...

-- 
If we all work together, we can totally disrupt the system.


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]




Re: ssh port-forwarding and UDP-connections

2001-10-16 Thread Vivek

On Mon, 15 Oct 2001, A. Demarteau (linux rules!) wrote:

> hi,
> I need to use a local service form my laptop (remote location).
> Thi is an udp connection.
> Now I was wondering if it is possible to forward udp-connections over an
> ssh-tunnel.
>
> I know it's possible for tcp-connections, but this has to be udp.
> Any suggestions?

http://www.stunnel.org/faq/otherapps.html#ToC2

Can I forward UDP services over stunnel?
As described thus far, no. Stunnel works with SSL, which runs only on TCP.
There are ways to forward UDP packets over TCP, and in principle these
should be able to work over stunnel.

There are also other programs that do this natively, and could be used
standalone or via stunnel, such as Zebedee. If you have any success
tunneling UDP over stunnel, please contact the faq maintainer so we can
write up a good HOWTO for folks.



-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]




Re: XFS won't daemonize

2001-12-06 Thread Vivek

On Wed, 5 Dec 2001, Prince Mathew Samuel wrote:

> 4.1.0. Now, the X Font Server doesn't daemonize at
> startup. It just waits there listening to port
> 7100 and the system doesn't show me the login prompt.

Are you sure it's xfs that's freezing? What's the next thing in your rc.d
that the init scripts try to start?

-- 
Just one nuclear family can ruin your whole life.


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]




Re: XFS won't daemonize

2001-12-06 Thread Vivek

On Thu, 6 Dec 2001, Prince Mathew Samuel wrote:

> Yes I am sure, it is XFS. I removed XFS from my
> startup script and tried starting it separately from
> command line. This too results in XFS not going to the
> background. Any ideas?

Hmm. What version of xfs do you have? Is your init script significantly
different from mine? (attached)

-- 
I've had a perfectly wonderful evening.  But this wasn't it.
-- Groucho Marx


#!/bin/sh
# /etc/init.d/xfs: start or stop the X font server

set -e

PATH=/bin:/usr/bin:/sbin:/usr/sbin
DAEMON=/usr/bin/X11/xfs
PIDFILE=/var/run/xfs.pid
UPGRADEFILE=/var/run/xfs.upgrade

test -x $DAEMON || exit 0

# If we upgraded the daemon, we can't use the --exec argument to
# start-stop-daemon since the inode will have changed.  The risk here is that
# in a situation where the daemon died, its pidfile was not cleaned up, and
# some other process is now running under that pid, start-stop-daemon will send
# signals to an innocent process.  However, this seems like a corner case.
# C'est la vie!
if [ -e $UPGRADEFILE ]; then
  SSD_ARGS="--pidfile $PIDFILE --startas $DAEMON"
else
  SSD_ARGS="--pidfile $PIDFILE --exec $DAEMON"
fi

stillrunning () {
  if [ "$DAEMON" = "$(cat /proc/$DAEMONPID/cmdline 2> /dev/null)" ]; then
true
  else
# if the daemon does not remove its own pidfile, we will
rm -f $PIDFILE $UPGRADEFILE
false
  fi;
}

case "$1" in
  start)
echo -n "Starting X font server: xfs"
start-stop-daemon --start --quiet $SSD_ARGS -- -daemon || echo -n " already 
running"
echo "."
  ;;

  restart)
/etc/init.d/xfs stop
if [ -f $PIDFILE ]; then
  if stillrunning; then
exit 1
  fi
fi
/etc/init.d/xfs start
  ;;

  reload)
echo -n "Reloading X font server configuration..."
if start-stop-daemon --stop --signal 1 --quiet $SSD_ARGS; then
  echo "done."
else
  echo "xfs not running."
fi
  ;;

  force-reload)
/etc/init.d/xfs reload
  ;;

  stop)
echo -n "Stopping X font server: xfs"
if [ ! -f $PIDFILE ]; then
  echo " not running ($PIDFILE not found)."
  exit 0
else
  DAEMONPID=$(cat $PIDFILE | tr -d '[:blank:]')
  KILLCOUNT=1
  if [ ! -e $UPGRADEFILE ]; then
start-stop-daemon --stop --quiet $SSD_ARGS || echo -n " not running"
  fi
  while [ $KILLCOUNT -le 5 ]; do
if stillrunning; then
  kill $DAEMONPID
else
  break
fi
sleep 1
KILLCOUNT=$(expr $KILLCOUNT + 1)
  done
  if stillrunning; then
echo -n "not responding to TERM signal (pid $DAEMONPID)"
  else
rm -f $UPGRADEFILE
  fi
fi
echo "."
  ;;

  *)
echo "Usage: /etc/init.d/xfs {start|stop|restart|reload|force-reload}"
exit 1
;;
esac

exit 0

# vim:set ai et sts=2 sw=2 tw=0:



Re: XFS won't daemonize

2001-12-07 Thread Vivek

On Thu, 6 Dec 2001, Prince Mathew Samuel wrote:

> Hi,
> I changed my init script to yours and it worked!! Tell
> me, shouldn't the script have been changed when I
> changed to X 4.1.0? Or is it that the X installation

I think the init scripts are marked as config files, which means that if
they've been edited since installation, (eg to set env variables or font
paths or whatever) then when you upgrade, you will be asked if you want
to replace them with the new version, with the default answer being 'no'.
[Assuming you have debconf (I think I mean debconf) configured to ask you].

This generally works well for minor upgrades, but sometimes when there's a
major change, you have to compare the two files and transfer your changes
over to the new file by hand. I suspect this may have happened in your case.

-- 
"As you point out, EFAULT situations are `undefined' which means the
machine is entitled to grow wings an launch itself towards the sun..."
 -- Chris Wedgwood on the linux-kernel mailing list


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]




Re: X-Fonts

2001-10-09 Thread Vivek

On Tue, 9 Oct 2001, Andrew McMillan wrote:

> I think I saw somewhere that this problem is to do with the internal font
> server in X 4.1.0 which is seeing the wrong default encoding - the fix is
> to use xfs to serve the fonts.

Under what circumstances does this occur? I have Xfree 4.1.0 at both work
(on an evil el-cheapo i810 mb) and at home on an A20p and a desktop box w. a
radeon in it, and they all work fine - I used to get the little square boxes
at work, but only in gnumeric, nowhere else, and then only when the font
size was < 10 and the font was set to helvetica - which leads me to suspect
that it's gnome related. I don't use font servers on any of the machines in
question. [The gnumeric problem went away after a recent upgrade].

-- 
When someone says "I want a programming language in which I need only
say what I wish done," give him a lollipop.


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]




Re: module licence problems with pcmcia

2001-11-27 Thread Vivek

On Tue, 27 Nov 2001, [EMAIL PROTECTED] wrote:

> modules (or whenever they are automatically loaded) I get this error:
> Warning: loading /lib/modules/2.4.16-grsec-1.9-spiritus/pcmcia/ds.o will
> taint the kernel: no license
>
> Is there a way to do it right, so this warning would not be displayed
> any more?

Get the author/maintainer to add the right symbol (or #define or whatever)
so that the kernel can tell this is a GPL'd module (assuming it is).

-- 
Manual? We've just been pushing buttons til it works...


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]




Thinkpad A20p S-Video (output)

2001-12-22 Thread Vivek


Having successfully gotten DVD playback going w. ogle (woohoo!), I was
wondering - does anyone know how/if the S-Video output can be prodded to
life? I have all the connectors needed to get from the 7-pin (ati) s-video
connector to a scart socket, so I've got the physical layer sorted...

-- 
To err is human, To moo bovine.


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]




Re: Thinkpads under linux

2001-12-27 Thread Vivek

On Thu, 27 Dec 2001, Alexey Vyskubov wrote:

> T21 does not use hybernation partition; instead it uses hybernation file
> on FAT partition.
>
> Did anybody succeed in hybernating T21?

I don't have one, but if the hibernation details are similar to an A20p's,
then lphdisk won't do the right kind of black magic - you'll need a
hibernation file already set up, or you'll have to use the standalone boot
utility thingy (which you can download from ibm - it's just a boot image for
a floppy, but distributed as a dos/windows-only exe that won't run
under dosemu (d'oh)). Once the hibernation file is set up, it should all
just work (tm). [ Provided the file is big enough - you need mem + videomem
+ a bit, but you probably already knew that. ]

-- 
"Always try to do things in chronological order; it's less confusing
that way."


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]




Re: Thinkpads under linux

2001-12-27 Thread Vivek

On Thu, 27 Dec 2001, Alexey Vyskubov wrote:

> It doesn't.

What messages/behaviour if any do you get when you try? Are you using Fn+Key
or apm? Do you have AC-power on when you try?




-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]




Re: Thinkpads under linux

2001-12-27 Thread Vivek

On Thu, 27 Dec 2001, Alexey Vyskubov wrote:

> on and off. I also tried to use tpctl utility; it can put my computer in
> sleeping mode; but tpctl -H produces the following message:
>
> tpctl: SMAPI BIOS error 0x91 ("system is invalid") -- exiting.

AFAIK that means the BIOS doesn't like something about your hibernation
file. Where is your FAT partition located? And if you mount it, what files
can you see there?

-- 
"I don't want to go to the movies to be horrified and depressed."
"No, I suppose you've got real life to do that."


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]




Re: Mouse setup under X

2002-11-07 Thread Vivek
On Thu, 7 Nov 2002, Rolf Heckemann wrote:

[snip]
> I wonder if (and I have no way to test this at present) you could run
> two simultaneous instances of X on separate consoles, each one using
> one of Yoann's ServerLayouts.  Probably not, because each one will
> attempt to initialize the psaux interface for itself.

Trivially worked around. Get gpm to repeat the psaux pointer on
/dev/gpmdata and have the instances of X use that instead.





Re: Mouse setup under X

2002-11-07 Thread Vivek
On Thu, 7 Nov 2002, Rolf Heckemann wrote:

> On Thu, Nov 07, 2002 at 04:58:29PM +0000, Vivek wrote:
> > On Thu, 7 Nov 2002, Rolf Heckemann wrote:
> >
> > [snip]
> > > > Trivially worked around. Get gpm to repeat the psaux pointer on
> > > > /dev/gpmdata and have the instances of X use that instead.
> > >
> > > Yeah, but what about the two different protocols?
> >
> > I was assuming the aforementioned 2 mice -> same protocol setup.
>
> With 2 mice -> same protocol, you don't get a problem in the first
> place even when you run two instances of X.

Really? I would have thought that they'd fight over the psaux device,
since only one process can usefully have /dev/psaux open.




Re: Mouse setup under X

2002-11-07 Thread Vivek
On Thu, 7 Nov 2002, Rolf Heckemann wrote:

> I use a set up with two and one with three instances of X routinely.
> One of the machines has a PS/2 touchpad and an external USB
> wheelmouse, the other only a USB mouse.  No problems there.

Ok, but that isn't 2 ps/2 mice, is it? Hence no problem. [ I assume the
USB mouse doesn't turn up under /dev/psaux. ]





Re: Booting 2 Linuxes with LILO

2002-12-02 Thread Vivek
On Mon, 2 Dec 2002, alberto wrote:

> # /etc/lilo.conf  for potato before installing woody on /dev/hda1
> lba32

have you tried "linear" instead of lba32?

> boot=/dev/hda3
> root=/dev/hda3




RE: Strange tv out problem

2003-02-11 Thread Vivek
On Tue, 11 Feb 2003, Axel C. Voigt wrote:

> think we cannot help, since this is quite offtopic. use the debian and we
> are glad to answer...
>
> P.S. what is WindowsXP and why should we use it?

I think it's one of those "closed" systems that has all sorts of
media output restrictions (like macrovision) implemented that
restrict what you are allowed to do. I suggest the original author
contacts the support service associated with his system and/or
vendor(s).






Re: xine fullscreen of 1280x768

2003-02-19 Thread Vivek
On Wed, 19 Feb 2003, Xavier Barnabe-Theriault wrote:

> Actually I have to change manually to 1024x768 in order to keep xine
> from crashing but doing this the image is horizontally distorted.
> Do creating a low resolution like 640x384 or so would help ??

ISTR xine having some sort of 'keep aspect ratio when in fullscreen mode'
setting in its config options. Have you set that?

Also, is xine using the Xvideo extensionf to grab the display, or is it
just creating a window the size of your display? You want the former
setup.



Re: making a new kernel

2003-02-26 Thread Vivek
On 26 Feb 2003, Bret Comstock Waldow wrote:

[snip]
> make[1]: Leaving directory `/usr/src/linux-2.4.20/scripts'
> wish -f scripts/kconfig.tk
> make: wish: Command not found
> make: *** [xconfig] Error 127
> ganesha:/usr/src/linux#
>
> "wish"?

It's part of Tk. Install tk8.3 or equivalent.

> make -C scripts/lxdialog all
> make[1]: Entering directory `/usr/src/linux-2.4.20/scripts/lxdialog'
> /usr/bin/ld: cannot find -lncurses
> collect2: ld returned 1 exit status
>
> >> Unable to find the Ncurses libraries.
> >>
> >> You must have Ncurses installed in order
> >> to use 'make menuconfig'

I believe I may have stumbled across this before, a long time ago,
but it seemed to go away - not sure whether it's a kernel build
system bug or ld.so problem, or something else again.

Try running ldconfig again. If that fails, try:

  (cd /lib && ln -s libncurses.so.5 libncurses.so)

Which is something of a hack, but did make the problem go away for me.
[ I have no such symlink now, and it all seems to work for me - ymmv ]



Re: An hopefully simple question about acpi and debian kernel

2003-02-28 Thread Vivek
On 28 Feb 2003, Alexandre Beelen wrote:

[snip]
> > you have to get the real vanilla sources from kernel.org (or rip
> > off the Debian patches).
>
> And how can you rip off the Debian patches since in the README.Debian
> file of the kernel-image package you can only read :

You could, for instance, use the diffs which accompany the source
package. All debian (installation) packages have a source package
which in turn is built from an upstream tarball + a patch to apply
any debian related changes.

But for the kernel, you might as well just get the vanilla tarball
from kernel.org if you need to apply your own patches: The magic all
resides in make-kpkg anyway, and afaik it's only the most recent debian
kernels that have had any patches applied at all (bicbw about this).



Re: DELL Inspiron and some problems

2003-02-28 Thread Vivek
On Fri, 28 Feb 2003, Karsten Rothemund wrote:

[snip]
> over questions), but now I have problems with the keyboard and the
> clock is loosing around 5 Minutes an hour. :-(
[snip]
> But the more anoying problem is the keyboard: it swallows some letters
> from time to time (around 6 letters when writing about 3 sentences).

What does /proc/interrupts say?
Is there any useful (related) info in dmesg, or /var/log/syslog?

> And of course even more interesting: is there some possibllity to cure
> this "desease"[1]. Maybe some kernel options to set[2]. I would try to
> downgrade the BIOS again (but this seems to be not so easy, as the

Check the BIOS settings: there may be something you can set in there:
I don't know if your machine does this, but there's a Dell laptop here
that can actually enter and exit the BIOS _while the OS is running_
with Fn-F1. Which is convenient, if a little scary and wrong sounding.

> [2] Kernel is 2.4.20. The config file is on
> http://www-ae.e-technik.uni-rostock.de/home/karo/Configs/Kernel-Config.I8100
> Sorry, but the rest of the site is mostly in german, the english part
> is very "work in progress".

On an unrelated note, I see you _aren't_ storing UTC in your hardware
clock: It's generally a sensible thing to keep your hardware clock set
to UTC (GMT) unless you need to use an OS that is horribly broken wrt
to timekeeping.




Re: kde3.1

2003-03-03 Thread Vivek
On Mon, 3 Mar 2003, Marcin Pankowski wrote:

> Hi,
>
> weis einer von euch wie weit das kompilieren in unstable ist? Sind die
> dependencies wieder ok?
>
> Oder kennt einer von euch ein Mozilla 1.2.1 oder größer Package für testing
> oder woody?

Um. Ich spreche nur ein bischen Deutsch, aber:

http://www.apt-get.org/

which contains:

http://people.debian.org/~frankie/debian/woody/kalem/
and:
http://download.us.kde.org/pub/kde/stable/latest/Debian/

amongst others.

Hopefully I haven't just made a complete fool of myself :)



Re: tvout on a gericom laptop

2003-03-06 Thread Vivek

> I have a gericom notebook with a ati radeon graphic card and a tvout
> port. I'm running debian (sid) with xfree86 4.2.2.

> could somebody give me an idea how i can use this tvout port? i still
> searched the web, but haven't found something usable.

apt-get install atitvout

Also, you'll need to have your laptop running at a low enough resolution
that the TV will accept the signal: < 800x600 (I use 720x576).

Depending on the video bios on your laptop, you may also need a patch
to the xfree86 radeon driver. [ Which I can provide, but not test,
since I do not have the same hardware ].

[ The patch relates to which modes the driver/bios will accept: the r128
  driver, in conjunction with the bios on my thinkpad, silently rejects
  the users modeline and uses its own, and only allows 1400x1050 (w/o
  the patch, that is): The radeon driver has v similar code, but the bios
  may not be as buggy/restricted ]



Re: XFree86 4.1.0 with ATI Mobility Radeon 9000 64 MB

2003-03-14 Thread Vivek
On Fri, 14 Mar 2003, Volker Sturm wrote:

> recognize a valid device. I even tried backports of 4.3.0 from
> www.apt-get.org but there was a library that was not found. Strange thing.

Which library?





Re: Compaq 1700T - Video OUT and ACPI

2003-04-05 Thread Vivek
On 5 Apr 2003, Robert Lazzurs wrote:

> > I have a PIII 1ghz Compaq 1700T. There are two things I never found
> > out how to solve that keeps me from deleting windows. Wondering if
> > someone over here could give me some ideas.
> >
> > First thing: I never got S-VHS video out working on linux, it got a
> > Radeon M6 LY video card. I tried lots of diferent things, but dident
> > find a way to get it working.

Drop the X resolution to <= 800x600, use atitvout.





Re: Compaq 1700T - Video OUT and ACPI

2003-04-05 Thread Vivek
On Sat, 5 Apr 2003, Fernando Caprio Jr wrote:

> > Drop the X resolution to <= 800x600, use atitvout.
>
> Not really. Ati tv out wont stand for Radeon series, at least, not the M6
> LY one.

It definitely drives some radeons. If it won't drive yours (remember, it
might not be able to autodetect) then it may be worth your while to get
in touch with the author.





Re: checking ssh tunnels: best practices?

2003-05-22 Thread Vivek
On Wed, 21 May 2003, Tony Godshall wrote:

> The problem is that sometimes these programs don't work
> right and hassle ensues if I start them up without starting
> up my ssh session first, or if the ssh session has dropped

[snip]

Perhaps an inetd based solution would be simpler?





Re: checking ssh tunnels: best practices?

2003-05-22 Thread Vivek
On Thu, 22 May 2003, Tony Godshall wrote:

> For that to work the script I hook into inetd would have to
> be smart enough to figure out where it is (home, office,

If autodetection doesn't work, you could always have a "clue" file
( eg "/etc/where" or similar ).

> A downside with using inetd is that the ssh connections
> take a few seconds to come up, and the one that does the
> actual tunnelling (back to my laptop) sometimes doesn't come
> up on the first attempt, so it's a bit of a delay, I'd think.

True - it does take a while. I was thinking the main benefit
would be not needing to write a watcher to restart it.

> Another would be that it connects to a particular port,
> right?  Would I have to run an ssh command for each port I
> want to forward then?  I'd think there's less overhead in
> making one ssh connection and running the multiple tunnels

Probably, I suppose what you really want is the ability to
make the running ssh tunnel add ports to forward on demand,
but I don't think you can do that.




Re: Debian Upgrade

2003-05-23 Thread Vivek
On Fri, 23 May 2003, Joao Pedro Clemente wrote:

> You just need to add the "testing" sources to your /etc/apt/apt.conf,

/etc/apt/sources.list, surely?




Re: alternate boot for internet connection

2003-06-17 Thread Vivek
On Tue, 17 Jun 2003, Emma Jane Hogbin wrote:

> While we're on the topic of internet connections at bootHow could I
> make two entries in lilo: one for at home with a wireless internet, and
> one for "away" with no internet connection? I'd like to use the same

apt-cache show netenv

May point the way to a solution. You could specify the extra kernel
parameter with an append line in your lilo entry (ie have two lilo
entries that differ only in their 'append' entries).



Re: SiS630 video playback with mplayer and xine sucks cpu

2003-09-15 Thread Vivek
On Mon, 15 Sep 2003, AndersEllenshøj Andersen wrote:

> I have switched from 24 bpp to 16 bpp in X. This cuts down on cpu usage
> considerably. Everything works now, but I still think it's strange that 24
> bpp strains the system that much.

Various hardware accel is often not available/implemented/supported
in 24bpp, generally 16bpp is supported. Not sure about 32.




Re: reiserfs vs ext3fs

2003-10-06 Thread Vivek
On Mon, 6 Oct 2003, Yves Rutschle wrote:

> I thought about using xfs when installing on a new laptop
> recently, then realised that the current install ISOs don't
> let you install with anything else than ext2. How would one

You can install with ext3 and (iirc) reiser if you use the
bf2.4 (2.4.x kernel) boot floppies. I believe the ISOs offer
the same choices.





Re: reiserfs vs ext3fs

2003-10-07 Thread Vivek
On Mon, 6 Oct 2003, Hugo S.Carrer wrote:

[snip]
> > Also you can mount with option noatime to reduce writes
> > (atime updating means you have a write for every read!).
>
> Doesn't this option reduce the recovery capability of the FS?

I don't see why it would. All you're doing is _not_ writing the
extra couple of bytes ( access time ) to each file's metadata
every time you read/open it.



Re: 16 bit PCMCIA devices

2001-10-30 Thread Vivek
On Tue, 30 Oct 2001, Sunny Dubey wrote:

> Hi,
>
> Is anyone aware of the band width limitation of a 16 bit pcmcia device ??  Or
> does that band width limitation not matter if I plug the card into a 32 bit
> card socket??  (or am I completely wrong?)

The bandwidth limitation always applies.



Re: APM unusable since 2.4.10

2001-11-06 Thread Vivek
On Mon, 5 Nov 2001, Michael Robinson wrote:

> My Dell i5000e is a *most times* 2.4.9 APM deal too.  Most of the time it
> doesn't lock up suspending, and most of the time it doesn't lock up
> resuming.  I've figured out that any sort of interrupts during key
> phases of the suspend/resume cycle are bad news.  So it's basically sync,
> suspend, cross fingers and don't breathe; resume, cross fingers and don't
> breathe.
>
>   -Michael Robinson

Have you set the following config option:

  CONFIG_APM_ALLOW_INTS:

  Normally we disable external interrupts while we are making calls to
  the APM BIOS as a measure to lessen the effects of a badly behaving
  BIOS implementation.  The BIOS should reenable interrupts if it
  needs to.  Unfortunately, some BIOSes do not -- especially those in
  many of the newer IBM Thinkpads.  If you experience hangs when you
  suspend, try setting this to Y.  Otherwise, say N.

-- 
Sleep, where is thy sting,
Bed, where is thy victory...
   -- Insomnia? Me?



Re: APM -- wmapm and user-initiated sleep/suspend?

2001-11-07 Thread Vivek
On Tue, 6 Nov 2001, Karsten M. Self wrote:

> I've got APM configured, and can initiate a sleep/suspend from root.  I
> can't do this as an unprivileged user either from the command line or
> via wmapm (a WindowMaker dock app).
>
> Attempting same from command line:
>
> $ apm -S
> Cannot open APM device: Permission denied
>
> Suggestions?

Change the permissions on the apm device and/or add yourself to an
appropriate group?



Re: APM unusable since 2.4.10

2001-11-08 Thread Vivek
On Wed, 7 Nov 2001, Michael Robinson wrote:

>
>   elephant:/usr/src/kernel-source-2.4.9# grep ALLOW_INTS .config
>   CONFIG_APM_ALLOW_INTS=y
>
> Further suggestions are welcome, though, because it's a royal PITA.

What modules do you have loaded/interfaces + sound devices + sound daemons
do you have up before a suspend? Until (semi)recently, the debian apm
scripts incorrectly ignored user suspends when on AC power - you might want
to put some error logging into the apm scripts so you get a log of what
they're doing or attempting to do.

Also, is the suspend-res^H^H^Hfreeze X related? If you flip to the console
before suspending, can you still trigger a freeze? What about the amount of
time you spend there?

I have a hibernate-resume/freeze problem, which only triggers after I've
been hibernating for > x hours (I need to figure out where the boundary lies),
but it may be a similar issue to yours... (I can suspend-resume Ok though,
although I'm on 2.4.9 - I shall go to  2.4.13 or .14 or whetever's current
and try again).

-- 
I'm an apatheist. The question is no longer interesting,
and the answer no longer matters. - petro - a.s.r



Re: APM -- wmapm and user-initiated sleep/suspend?

2001-11-08 Thread Vivek
On Wed, 7 Nov 2001, Karsten M. Self wrote:

> > Change the permissions on the apm device and/or add yourself to an
> > appropriate group?
>
> I tried that.  Created an apm group, added myself, newgrp'd, and did
> 'apm -S'.  No dice.

Yes, but what are the permissions on the apm device file?



Re: naive question: XFree86 4.1 and Debian Potato

2001-11-10 Thread Vivek
On Sat, 10 Nov 2001, Jerome BENOIT wrote:

> Glen Mehn wrote:
> >
> > you can get them at your local (or remote) debian mirror, under testing.
>
> As far I can understand
> this distribution is for Woody,
> does I miss something ?

No, you are correct, that is woody, not potato. You can get the source
package from woody and compile it for potato, although you might have
to fetch a large number of other packages from woody and compile those for
potato first, depending on the build dependencies that the X source package
has. Alternatively, you should be able to find someone who has already done
this and provided unofficial binaries: try a google search, or similar (iirc
it has been mentioned on debianplanet.org, you could try searching the
older articles there).

-- 
"Outside of a dog, a book is a man's best friend: and inside a dog,
it's too dark to read."
-- Groucho Marx



Re: thinkpad no video on boot

2001-11-24 Thread Vivek
On Sat, 24 Nov 2001, Serge Rey wrote:

> i've been running into an intermittent problem on my thinkpad x20. on
> some cold boots i don't see the bios message or any boot message. the
> screen is backlight, there is just no text on the console. there is
> obviously disk activity, however, so i've waited till that stops to
> carefully (and blindly) enter my shutdown -r sequence. on the second
> boot i get the normal bios message and see all the boot messages.
>
> i'm wondering if anyone has run into something like this before, or
> could suggest things (lilo settings?) to look at that might address
> this.

What lilo settings have you currently got?

> fwiw, this is for woody upgraded from potato on a fresh hard drive (no
> other os was previously installed).

Stock or custom kernel?

> i'm booting into the console, not using xdm so X isn't a factor.

Normal or fb console?
Have you got the H/V expand option in the bios turned on or off?
What about screen-blanking options?

The only thing like it that springs to mind is that you might be using the
fb console and it isn't working, but in my experience that isn't an inter-
mittent thing...

-- 
There's an old proverb that says just about whatever you want it to.



Re: thinkpad no video on boot

2001-11-25 Thread Vivek
On Mon, 26 Nov 2001, Serge Rey wrote:

> not sure what H/V is. can you educate me and i'll check.

H/V expand is the option that sets the display behaviour when the
received display XY size is < real LCD XY size. If H/V is on,
then the display chipset attempts to stretch the display it gets
out over the real display, using a weird antialiasing type thingy
to handle the fact that there isn't a 1 : 1 or even necessarily
a (1 : integer x integer) relationship between the logical and
physical displays. iyswim. If it's off, the chipset just uses a
small area in the center of the display whose XY dimensions match
the XY dimensions of the logical display.

I've got a couple of weird problems with my A20p myself - I left the laptop
plugged in and on for a while once (a few days) with the lid down,
suspended - it came back on with the display hosed and the keyboard locked
up - but I could ssh in and thwack X hard (init.d restart of gdm).
So I experimented and left it on, plugged in and _not_ suspended for a
similar period of time: same result - machine responded over the ntwork,
local access hosed - and when I suspended it, it refused to wake back up at
all till I lened on the power button and sat through a fsck. Also, if I
leave it in hibernation for > 1 hour(ish), it locks up the next time I
come back up (if I come back into X) or the next time I leave X (if I flip
to the console before starting hibernation).

-- 
I must be sad when I have cause, and smile at no  man's jests;
eat when I have stomach, and wait for no man's leisure;
sleep when I am drowsy, and tend on no man's business;
laugh when I am merry, and claw no man in his humour.



Re: thinkpad no video on boot

2001-11-25 Thread Vivek
On Mon, 26 Nov 2001, Serge Rey wrote:

> in the past i noticed that i could get back to the cursor faster from a
> cold boot than from a recovery from hibernation. so i rarely used
> hibernation. i wonder if other folks experience the same relative timing
> of booting versus recovery from hibernation?

Nah, hibernation, when it didn't lock up (which admittedly was almost every
time, since for < 1 hour I'd probably have suspended) came back pretty
quickly for me - booting is pretty slow, and hibernation never involves a
fsck, whereas from time to time, booting is guaranteed to (unless you're on
a journaling fs, but then you have pm issues, what with the cache being
bypassed to guarantee atomicity, or something...)

Hmm - I see the sig generator is in semi-psychic mode again :)

-- 
"Am I missing something else? The same configuration is working fine elsewhere
(albeit with a different OS, computer and network)..."
 -- seen on a mailing list



Re: module licence problems with pcmcia

2001-11-27 Thread Vivek
On Tue, 27 Nov 2001, [EMAIL PROTECTED] wrote:

> modules (or whenever they are automatically loaded) I get this error:
> Warning: loading /lib/modules/2.4.16-grsec-1.9-spiritus/pcmcia/ds.o will
> taint the kernel: no license
>
> Is there a way to do it right, so this warning would not be displayed
> any more?

Get the author/maintainer to add the right symbol (or #define or whatever)
so that the kernel can tell this is a GPL'd module (assuming it is).

-- 
Manual? We've just been pushing buttons til it works...



Re: XFS won't daemonize

2001-12-06 Thread Vivek
On Wed, 5 Dec 2001, Prince Mathew Samuel wrote:

> 4.1.0. Now, the X Font Server doesn't daemonize at
> startup. It just waits there listening to port
> 7100 and the system doesn't show me the login prompt.

Are you sure it's xfs that's freezing? What's the next thing in your rc.d
that the init scripts try to start?

-- 
Just one nuclear family can ruin your whole life.



Re: XFS won't daemonize

2001-12-06 Thread Vivek
On Thu, 6 Dec 2001, Prince Mathew Samuel wrote:

> Yes I am sure, it is XFS. I removed XFS from my
> startup script and tried starting it separately from
> command line. This too results in XFS not going to the
> background. Any ideas?

Hmm. What version of xfs do you have? Is your init script significantly
different from mine? (attached)

-- 
I've had a perfectly wonderful evening.  But this wasn't it.
-- Groucho Marx
#!/bin/sh
# /etc/init.d/xfs: start or stop the X font server

set -e

PATH=/bin:/usr/bin:/sbin:/usr/sbin
DAEMON=/usr/bin/X11/xfs
PIDFILE=/var/run/xfs.pid
UPGRADEFILE=/var/run/xfs.upgrade

test -x $DAEMON || exit 0

# If we upgraded the daemon, we can't use the --exec argument to
# start-stop-daemon since the inode will have changed.  The risk here is that
# in a situation where the daemon died, its pidfile was not cleaned up, and
# some other process is now running under that pid, start-stop-daemon will send
# signals to an innocent process.  However, this seems like a corner case.
# C'est la vie!
if [ -e $UPGRADEFILE ]; then
  SSD_ARGS="--pidfile $PIDFILE --startas $DAEMON"
else
  SSD_ARGS="--pidfile $PIDFILE --exec $DAEMON"
fi

stillrunning () {
  if [ "$DAEMON" = "$(cat /proc/$DAEMONPID/cmdline 2> /dev/null)" ]; then
true
  else
# if the daemon does not remove its own pidfile, we will
rm -f $PIDFILE $UPGRADEFILE
false
  fi;
}

case "$1" in
  start)
echo -n "Starting X font server: xfs"
start-stop-daemon --start --quiet $SSD_ARGS -- -daemon || echo -n " already 
running"
echo "."
  ;;

  restart)
/etc/init.d/xfs stop
if [ -f $PIDFILE ]; then
  if stillrunning; then
exit 1
  fi
fi
/etc/init.d/xfs start
  ;;

  reload)
echo -n "Reloading X font server configuration..."
if start-stop-daemon --stop --signal 1 --quiet $SSD_ARGS; then
  echo "done."
else
  echo "xfs not running."
fi
  ;;

  force-reload)
/etc/init.d/xfs reload
  ;;

  stop)
echo -n "Stopping X font server: xfs"
if [ ! -f $PIDFILE ]; then
  echo " not running ($PIDFILE not found)."
  exit 0
else
  DAEMONPID=$(cat $PIDFILE | tr -d '[:blank:]')
  KILLCOUNT=1
  if [ ! -e $UPGRADEFILE ]; then
start-stop-daemon --stop --quiet $SSD_ARGS || echo -n " not running"
  fi
  while [ $KILLCOUNT -le 5 ]; do
if stillrunning; then
  kill $DAEMONPID
else
  break
fi
sleep 1
KILLCOUNT=$(expr $KILLCOUNT + 1)
  done
  if stillrunning; then
echo -n "not responding to TERM signal (pid $DAEMONPID)"
  else
rm -f $UPGRADEFILE
  fi
fi
echo "."
  ;;

  *)
echo "Usage: /etc/init.d/xfs {start|stop|restart|reload|force-reload}"
exit 1
;;
esac

exit 0

# vim:set ai et sts=2 sw=2 tw=0:


Re: XFS won't daemonize

2001-12-07 Thread Vivek
On Thu, 6 Dec 2001, Prince Mathew Samuel wrote:

> Hi,
> I changed my init script to yours and it worked!! Tell
> me, shouldn't the script have been changed when I
> changed to X 4.1.0? Or is it that the X installation

I think the init scripts are marked as config files, which means that if
they've been edited since installation, (eg to set env variables or font
paths or whatever) then when you upgrade, you will be asked if you want
to replace them with the new version, with the default answer being 'no'.
[Assuming you have debconf (I think I mean debconf) configured to ask you].

This generally works well for minor upgrades, but sometimes when there's a
major change, you have to compare the two files and transfer your changes
over to the new file by hand. I suspect this may have happened in your case.

-- 
"As you point out, EFAULT situations are `undefined' which means the
machine is entitled to grow wings an launch itself towards the sun..."
 -- Chris Wedgwood on the linux-kernel mailing list



Thinkpad A20p S-Video (output)

2001-12-22 Thread Vivek

Having successfully gotten DVD playback going w. ogle (woohoo!), I was
wondering - does anyone know how/if the S-Video output can be prodded to
life? I have all the connectors needed to get from the 7-pin (ati) s-video
connector to a scart socket, so I've got the physical layer sorted...

-- 
To err is human, To moo bovine.



  1   2   3   >