DRI and XV gone to the doghouse -- inspiron4000

2006-01-09 Thread Tim Connors
G'day all,

I have an Dull Inspiron 4000, which always used to have working DRI and XV 
under kernel 2.4 and XFree86 4.x.  The video card is a Rage 128:

> lspci -vvv
...
:01:00.0 VGA compatible controller: ATI Technologies Inc Rage 
Mobility M3 AGP 2x (rev 02) (prog-if 00 [VGA])
Subsystem: Dell: Unknown device 00b0
Control: I/O+ Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- 
Stepping+ SERR- FastB2B-
Status: Cap+ 66MHz+ UDF- FastB2B+ ParErr- DEVSEL=medium >TAbort- 
SERR- 
Capabilities: [5c] Power Management version 2
Flags: PMEClk- DSI- D1+ D2+ AuxCurrent=0mA 
PME(D0-,D1-,D2-,D3hot-,D3cold-)
Status: D0 PME-Enable- DSel=0 DScale=0 PME-
...

Note the "unknown device".  I don't recall having seen that before, when 
things were working.

> lsmod
...
intel_agp  23996  1 
r128   48512  1 
drm67540  2 r128
agpgart35464  2 intel_agp,drm
...

Now, after "upgrading", glxinfo and glxgears segfault:

> strace glxgears
...
sigreturn() = ? (mask now [])
rt_sigaction(SIGILL, {SIG_DFL}, NULL, 8) = 0
rt_sigaction(SIGFPE, {SIG_DFL}, NULL, 8) = 0
brk(0x8093000)  = 0x8093000
open("/etc/drirc", O_RDONLY)= -1 ENOENT (No such file or 
directory)
open("/home/tconnors/.drirc", O_RDONLY) = 6
read(6, "\n mplayer foo.avi
...
Movie-Aspect is 1.78:1 - prescaling to correct movie aspect.
VO: [xv] 640x360 => 640x360 Planar YV12 
Unicode charmap not available for this font. Very bad!?% ??,?% 0 0  
 
subtitle font: prepare_charset failed.
Unicode charmap not available for this font. Very bad!?% ??,?% 0 0  
 
subtitle font: prepare_charset failed.
X11 error: BadAlloc (insufficient resources for operation)


MPlayer interrupted by signal 6 in module: vo_check_events
...


Now, Most things appear to load in the Xorg.0.log file, with one 
major exception:

...
(--) PCI:*(1:0:0) ATI Technologies Inc Rage Mobility M3 AGP 2x rev 2, Mem @ 
0xf800/26, 0xfdffc000/14, I/O @ 0xec00/8
...
(WW) Ignoring request to load module GLcore
...
(II) Loading extension XVideo
...
(II) LoadModule: "glx"
(II) Loading /usr/X11R6/lib/modules/extensions/libglx.a
(II) Module glx: vendor="X.Org Foundation"
compiled for 6.8.2, module version = 1.0.0
ABI class: X.Org Server Extension, version 0.2
(II) Loading sub module "GLcore"
(II) LoadModule: "GLcore"
(II) Loading /usr/X11R6/lib/modules/extensions/libGLcore.a
Skipping "/usr/X11R6/lib/modules/extensions/libGLcore.a:m_debug_clip.o":  No 
symbols found
Skipping "/usr/X11R6/lib/modules/extensions/libGLcore.a:m_debug_norm.o":  No 
symbols found
Skipping "/usr/X11R6/lib/modules/extensions/libGLcore.a:m_debug_xform.o":  No 
symbols found
(II) Module GLcore: vendor="X.Org Foundation"
compiled for 6.8.2, module version = 1.0.0
ABI class: X.Org Server Extension, version 0.2
(II) Loading extension GLX
(II) LoadModule: "dri"
(II) Loading /usr/X11R6/lib/modules/extensions/libdri.a
(II) Module dri: vendor="X.Org Foundation"
compiled for 6.8.2, module version = 1.0.0
ABI class: X.Org Server Extension, version 0.2
(II) Loading sub module "drm"
(II) LoadModule: "drm"
(II) Loading /usr/X11R6/lib/modules/linux/libdrm.a
(II) Module drm: vendor="X.Org Foundation"
compiled for 6.8.2, module version = 1.0.0
ABI class: X.Org Server Extension, version 0.2
(II) Loading extension XFree86-DRI
...
(II) LoadModule: "r128"
(II) Loading /usr/X11R6/lib/modules/drivers/r128_drv.o
(II) Module r128: vendor="X.Org Foundation"
compiled for 6.8.2, module version = 4.0.1
Module class: X.Org Video Driver
ABI class: X.Org Video Driver, version 0.7
(II) LoadModule: "ati"
(II) Loading /usr/X11R6/lib/modules/drivers/ati_drv.o
(II) Module ati: vendor="X.Org Foundation"
compiled for 6.8.2, module version = 6.5.6
Module class: X.Org Video Driver
ABI class: X.Org Video Driver, version 0.7
...
(II) ATI: ATI driver (version 6.5.6) for chipsets: ati, ativga
(II) R128: Driver for ATI Rage 128 chipsets:
ATI Rage 128 Mobility M3 LE (PCI), ATI Rage 128 Mobility M3 LF (AGP),
...
(--) Chipset ATI Rage 128 Mobility M3 LF (AGP) found
(II) Loading sub module "r128"
(II) LoadModule: "r128"
(II) Reloading /usr/X11R6/lib/modules/drivers/r128_drv.o
...
(II) R128(0): PCI bus 1 card 0 func 0
(**) R128(0): Depth 16, (--) framebuffer bpp 16
(II) R128(0): Pixel depth = 16 bits stored in 2 bytes (16 bpp pixmaps)
(==) R128(0): Default visual is TrueColor
(**) R128(0): Option "Display" "CRT"
...
(II) R128(0): vgaHWGetIOBase: hwp->IOBase is 0x03d0, hwp->PIOOffset is 0x
(==) R128(0): RGB weight 565
(II) R128(0): Using 6 bits per RGB (8 bit DAC)
(II) Loading sub module "int10"
(II) LoadModule: "int10"
(II) Reloading /usr/X11R6/lib/modules/linux/libint10.a
(II) R128(0): initializing int10
(II) R128(0):

Re: DRI and XV gone to the doghouse -- inspiron4000

2006-01-10 Thread Tim Connors
On Mon, 9 Jan 2006, Tim Connors wrote:

> G'day all,
> 
> I have an Dull Inspiron 4000, which always used to have working DRI and XV 
> under kernel 2.4 and XFree86 4.x.  The video card is a Rage 128:

Hrm..  Now seems to be working, possibly because I resorted to modprobing 
agpgart manually, then r128, rather than putting them in that order in 
/etc/modules -- perhaps /etc/modules is done in a non-deterministic order.

Now the problem is that X seems to ignore my modelines I need for my 
1280x1024 fixed frequency monitor (the IBM_mode_1, 2, and 3 lines that 
appear in the xorg.conf and Xorg.0.log files attached).

Anyone know why this would be?  Could it be something to do with the LCD 
display, despite me having told X to use the CRT (which is dutifully does, 
just getting the wrong modelines)?

It worked in the last version of X, so I don't know what has changed...

# XF86Config-4 (XFree86 X server configuration file) generated by dexconf, the
# Debian X Configuration tool, using values from the debconf database.
#
# Edit this file with caution, and see the XF86Config-4 manual page.
# (Type "man XF86Config-4" at the shell prompt.)
#
# This file is automatically updated on xserver-xfree86 package upgrades *only*
# if it has not been modified since the last upgrade of the xserver-xfree86
# package.
#
# If you have edited this file but would like it to be automatically updated
# again, run the following commands as root:
#
#   cp /etc/X11/XF86Config-4 /etc/X11/XF86Config-4.custom
#   md5sum /etc/X11/XF86Config-4 > /var/lib/xfree86/XF86Config-4.md5sum
#   dpkg-reconfigure xserver-xfree86

Section "Files"
# if the local font server has problems, we can fall back on these
FontPath"/usr/lib/X11/fonts/100dpi"
FontPath"/usr/lib/X11/fonts/75dpi"
FontPath"/usr/lib/X11/fonts/Type1"
FontPath"/usr/lib/X11/fonts/misc"
FontPath"/usr/lib/X11/fonts/CID"
FontPath"/usr/lib/X11/fonts/Speedo"
FontPath"/usr/lib/X11/fonts/cyrillic"
FontPath"/usr/X11R6/lib/X11/fonts/TrueType"
FontPath"/var/lib/defoma/x-ttcidfont-conf.d/dirs/TrueType"
FontPath"/var/lib/defoma/x-ttcidfont-conf.d/dirs/CID"
FontPath"unix/:7100"# local font server
EndSection

Section "ServerFlags"
 Option "BlankTime" "60"
 Option "StandbyTime" "60"
 Option "SuspendTime" "60"
 Option "OffTime" "90"
 Option "Accel" "true"
 Option "AGPMode2x"
 Option "AGPMode"  "2"
 Option "AllowMouseOpenFail" "true"
EndSection

Section "Monitor"
Identifier  "IBM"
VendorName  "IBM 19inch+Sun 19inch"
ModelName   "6091/19"

HorizSync  50-120  #Heck; too many valid modes. Lets just 
enable them all and be wery wery careful
VertRefresh 50-160

DisplaySize 406 304

#Option   "NoDPMS"

  Modeline "IBM_mode_1"  89.20  1024 1045 1205 1408  1024 1027 1030 1056 -hsync 
-vsync
  Modeline "IBM_mode_2"   111.50   1280 1298 1498 1756   1024 1024 1035 1040 
-hsync -vsync
  # old sun monitor: Modeline "IBM_mode_3"   120.00   1280 1312 1472 1696   
1024 1027 1030 1052 -hsync -vsync
  # new sun monitor:
#  From bohr:
#  Modeline "IBM_mode_3"   120.00   1280 1312 1472 1696   1024 1027 1030 1060 
-hsync -vsync
#  To scuzzie:
  Modeline "IBM_mode_3"120.00   1280 1308 1468 1696   1024 1027 1030 1060 
-hsync -vsync


  

  Modeline "[EMAIL PROTECTED]"   120.00   1280 1300 1460 1696   1024 1027 1030 
1052 -hsync -vsync
  #Modeline "[EMAIL PROTECTED]"   120.00   1280 1312 1472 1696   1024 1027 1030 
1052 -hsync -vsync
  ModeLine "[EMAIL PROTECTED]"  83.87   1024 1052 1348 1396768  769  776  
808
  ModeLine "[EMAIL PROTECTED]"  80.79904  924 1212 1256675  676  
683  717
  ModeLine "[EMAIL PROTECTED]"   72.56768  792 1048 1088576  577  585  
621
  ModeLine "[EMAIL PROTECTED]"  71.86720  748 1004 1048576  577  585  
621
  Modeline "[EMAIL PROTECTED]"   70.24640  652  900  936512  513  521  
560 -hsync -vsync

EndSection

Section "Module"
Load"GLcore"
Load"bitmap"
Load"dbe"
Load"ddc"
Load"extmod"
Load"freetype"
Load"glx"
Load"dri"
Load"int10"
Load"record"

Re: Inspiron 4100, APM, blinking lights

2006-01-31 Thread Tim Connors
On Wed, 1 Feb 2006, Michael Perry wrote:

> I'm wondering if anyone running a Dell Inspiron 4100, debian kernel
> sources 2.6.15, with apm compiled in has seen a periodic problem with APM
> suspends where the numlock and screenlock lights just blink on and off
> repeatedly and the resume does not work.  I looked at the number of times
> this happens and its about 2 times out of every 30 suspends.  I hardly
> ever reboot the laptop since APM has worked so flawlessly for me and this
> is not bad; but it causes me a bit of desire to find out if others
> experience similar things with a 4100 and APM suspends.

Blinking lock leds mean the kernel has panicked.  I think APM still works 
on my Inspiron 4000, but I haven't checked it in a while...


Perhaps, if you can be bothered, hook up a serial console and see what the 
panic is about.  You should be able to google for "serial console panic"

Or get out of X (killing xdm/kdm/gdm), and then try to cause the panic 
again -- the panic should then be displayed on the screen.

-- 
TimC
Smash head on keyboard to continue.


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



dell inspiron 4000 Xircom CBEII-10/100

2001-04-10 Thread Tim Connors
I found that the xircom_tulip_cb module is needed for my card, as opposed
to tulip_cb, and so added 

device "xircom_tulip_cb"
  class "network" module "cb_enabler", "xircom_tulip_cb"

and

card "Xircom CBEII-10/100 CardBus 10/100 Ethernet"
  version "Xircom", "*", "CBEII-10/100"
  bind "xircom_tulip_cb"

to /etc/pcmcia/config.

/var/lib/pcmcia/stab now comes up with 

Socket 0: Xircom CBEII-10/100 CardBus 10/100 Ethernet
Socket 1: empty

without being tab separated, and all the other columns are missing -
which means that inserting the card never runs the /etc/pcmcia/network
script (and it would not be called with the right params if it was).

Hence networking doesn't come up automatically via cardmgr when card is
inserted - however I put in the details in /etc/network/interfaces, run
/etc/init.d/networking restart and all is fine. 

What did I do wrong with /etc/pcmcia/config? 

Pcmcia-cs version 3.1.25-3. 
Card detected as 'Xircom Cardbus Adapter (DEC 21143 compatible mode)'.
xircom_tulip_cb compiled as a module.
Debian 2.2r2 mostly unstable.

--
TimC
http://www.physics.usyd.edu.au/~tcon/ugrad.cs.home

mathematician, n.:
Some one who believes imaginary things appear right before your i's.




power button dell inspiron 4000

2001-06-07 Thread Tim Connors
One annoying um, feature, of the dell laptop, is the ability to shut down
immediately upon pressing the power button. I have not found anything on
the web to disable the power button (seems there are lots of references to
toshiba laptops though), has anyone else found anything useful? 

Unfortuneatly, there is nothing in the bios that says "power
switch==off/suspend" - is there a newer bios that fixes this?


--
TimC
http://www.physics.usyd.edu.au/~tcon/

"32-bit patch for a 16-bit GUI shell running on top of an
8-bit operating system written for a 4-bit processor by a
2-bit company who cannot stand 1 bit of competition."




Re: power button dell inspiron 4000

2001-06-07 Thread Tim Connors
On Wed, 6 Jun 2001, Eric Richardson wrote:

> Tim Connors wrote:
> > 
> > One annoying um, feature, of the dell laptop, is the ability to shut down
> > immediately upon pressing the power button. I have not found anything on
> > the web to disable the power button (seems there are lots of references to
> > toshiba laptops though), has anyone else found anything useful?
> > 
> > Unfortuneatly, there is nothing in the bios that says "power
> > switch==off/suspend" - is there a newer bios that fixes this?
> > 
> If dmesg pumps out something like this, then APM is enabled in the
> kernel.
> apm: BIOS version 1.2 Flags 0x03 (Driver version 1.13)
> 
> Edit /etc/lilo.conf
> image=/vmlinuz
>   label=Linux
>   read-only
>   append="apm=on"
> # restricted
> # alias=1
> 
> Add the append line. Then when you halt, APM will shutoff the machine.

Sorry, that is not my problem... That works fine.
My problem is that the power button turns off the machine without so much
as questioning the kernel - no halt scripts, nuttin.

My desktop has the bios option of letting the power off button being
redefined to suspend the machine - can I do this with the Dell? 

The button is in a bad place, and I keep hitting it.

--
TimC
http://www.physics.usyd.edu.au/~tcon/

Experiments must be reproducible; they should all fail in the same way.




Re: power button dell inspiron 4000

2001-06-08 Thread Tim Connors
On Fri, 8 Jun 2001, Andrew Taylor wrote:

> Tim -
> 
> I have an Inspiron 7000 which had this feature, it was a BIOS fix. This 
> issue is buried in their web site - you can find model specific info w/ 
> your system service tag.
> 
> Andy
> 
> 
> > Sorry, that is not my problem... That works fine.
> > My problem is that the power button turns off the machine without so much
> > as questioning the kernel - no halt scripts, nuttin.
> 
> > My desktop has the bios option of letting the power off button being
> > redefined to suspend the machine - can I do this with the Dell?
> 
> > The button is in a bad place, and I keep hitting it.
> 

I've given up on this project for a while, but here's some more info:
Flashed with the latest BIOS, but pretty much everything is the same in
the setup menu (gee, I like being able to change bios options when the
machine is already running an OS!). I booted winbloze, and found out it
doesn't even disable the power button (good chance to run scandisk, 
anyway :)

So I think I will ask Dell for some help and/or for them to add yet
another thing to the BIOS.

Incidentally - when the machine hard-crashes you need to press the power
button for 4 seconds to turn it off. So somewhere, it is asking the OS for
permission to turn off, and doesn't get through to it when it is crashed.
I'm slightly confuzzled by this


--
TimC
http://www.physics.usyd.edu.au/~tcon/

But it does move!
-- Galileo Galilei




xfree86 4.1.0 ati rage 128

2001-08-16 Thread Tim Connors

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
using a savetextmode/textmode combination, but this is tedious for
everytime I have to change to console.

I tried various combinations of compiling dri and agpgart as modules or
into the kernel, and turning DRI off, just in case, but all to no avail.

Anyone solved this (or indeed, come across it at all)?

The other thing, that is not related to laptops at all (besides the fact
that I am trying this on mine) - I have to run a second X session with
only 8 bit colors, for some really broken analysis software, and
running X via 
startx -- :1
doesn't seem to set the DISPLAY properly, nor sets up the permissions. I
am tracking debian unstable, but this has not been fixed in quite some
number of versions. Of course it could be that my customization has
screwed something up - but has anyone noticed this?

I hacked up a very dodgy set of scripts, and being dodgy, they broke upon
upgrade, so I just settled with xdm in the end. But it is still annoying
that manually starting a second (or third!) X session no longer works

Thanks.

-- 
TimC -- http://www.physics.usyd.edu.au/~tcon/

"I give up," said Pierre de Fermat's friend. "How DO you keep a
mathematician busy for 350 years?"



Re: 2.4.10 and apm !

2001-09-25 Thread Tim Connors
> what happened to apm support on 2.4.10
> apm -S does not work anymore :(

Works for me. You have compiled apm into the kernel, or as a module,
haven't you?

Incidentally, most of the time, apm -S "standby"'s my machine, blanks the
screen and spins donw HD, but then the screen pretty much immediately
returns, followed soon after by the HD. Since I don't use apm -S very
often (my machine wont repond to eth0 once in standby -- strange - my
desktop does), I don't get worried by it.


-- 
TimC -- http://www.physics.usyd.edu.au/~tcon/

Calm down, it's *only* ones and zeroes.



Re: Dell Latitude - Screen problems

2001-10-11 Thread Tim Connors
On 11 Oct 2001, Patrice Neff wrote:

> Hi all,
> 
> I recently bought a Dell Latitude CPt and it runs really nice now. I
> have only one problem with the screen. In the middle of the screen
> there is a very thin vertical bar. I usually don't see it unless I
> have a black background. I'm not really sure if this is an X problem
> or if the screen is defect. But I believe it's X because the bar isn't
> there during computer initialization or in the BIOS.

Sounds like X - at least not a physical LCD problem. Could still be
something wrong with graphics in general that doens't crop up in textmode,
but I doubt it.

What version of X, accalration (DRI) turned on, other details of
interest, etc etc? 


Is the video card on those ones a ATI rage?


-- 
TimC -- http://www.physics.usyd.edu.au/~tcon/

 .-.
 /v\L   I   N   U   X 
// \\  >Phear the Penguin<
   /(   )\
^^-^^



dell inspiron 4000 Xircom CBEII-10/100

2001-04-10 Thread Tim Connors

I found that the xircom_tulip_cb module is needed for my card, as opposed
to tulip_cb, and so added 

device "xircom_tulip_cb"
  class "network" module "cb_enabler", "xircom_tulip_cb"

and

card "Xircom CBEII-10/100 CardBus 10/100 Ethernet"
  version "Xircom", "*", "CBEII-10/100"
  bind "xircom_tulip_cb"

to /etc/pcmcia/config.

/var/lib/pcmcia/stab now comes up with 

Socket 0: Xircom CBEII-10/100 CardBus 10/100 Ethernet
Socket 1: empty

without being tab separated, and all the other columns are missing -
which means that inserting the card never runs the /etc/pcmcia/network
script (and it would not be called with the right params if it was).

Hence networking doesn't come up automatically via cardmgr when card is
inserted - however I put in the details in /etc/network/interfaces, run
/etc/init.d/networking restart and all is fine. 

What did I do wrong with /etc/pcmcia/config? 

Pcmcia-cs version 3.1.25-3. 
Card detected as 'Xircom Cardbus Adapter (DEC 21143 compatible mode)'.
xircom_tulip_cb compiled as a module.
Debian 2.2r2 mostly unstable.

--
TimC
http://www.physics.usyd.edu.au/~tcon/ugrad.cs.home

mathematician, n.:
Some one who believes imaginary things appear right before your i's.



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




power button dell inspiron 4000

2001-06-04 Thread Tim Connors

One annoying um, feature, of the dell laptop, is the ability to shut down
immediately upon pressing the power button. I have not found anything on
the web to disable the power button (seems there are lots of references to
toshiba laptops though), has anyone else found anything useful? 

Unfortuneatly, there is nothing in the bios that says "power
switch==off/suspend" - is there a newer bios that fixes this?


--
TimC
http://www.physics.usyd.edu.au/~tcon/

"32-bit patch for a 16-bit GUI shell running on top of an
8-bit operating system written for a 4-bit processor by a
2-bit company who cannot stand 1 bit of competition."



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




Re: power button dell inspiron 4000

2001-06-07 Thread Tim Connors

On Wed, 6 Jun 2001, Eric Richardson wrote:

> Tim Connors wrote:
> > 
> > One annoying um, feature, of the dell laptop, is the ability to shut down
> > immediately upon pressing the power button. I have not found anything on
> > the web to disable the power button (seems there are lots of references to
> > toshiba laptops though), has anyone else found anything useful?
> > 
> > Unfortuneatly, there is nothing in the bios that says "power
> > switch==off/suspend" - is there a newer bios that fixes this?
> > 
> If dmesg pumps out something like this, then APM is enabled in the
> kernel.
> apm: BIOS version 1.2 Flags 0x03 (Driver version 1.13)
> 
> Edit /etc/lilo.conf
> image=/vmlinuz
>   label=Linux
>   read-only
>   append="apm=on"
> # restricted
> # alias=1
> 
> Add the append line. Then when you halt, APM will shutoff the machine.

Sorry, that is not my problem... That works fine.
My problem is that the power button turns off the machine without so much
as questioning the kernel - no halt scripts, nuttin.

My desktop has the bios option of letting the power off button being
redefined to suspend the machine - can I do this with the Dell? 

The button is in a bad place, and I keep hitting it.

--
TimC
http://www.physics.usyd.edu.au/~tcon/

Experiments must be reproducible; they should all fail in the same way.



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




Re: power button dell inspiron 4000

2001-06-08 Thread Tim Connors

On Fri, 8 Jun 2001, Andrew Taylor wrote:

> Tim -
> 
> I have an Inspiron 7000 which had this feature, it was a BIOS fix. This 
> issue is buried in their web site - you can find model specific info w/ 
> your system service tag.
> 
> Andy
> 
> 
> > Sorry, that is not my problem... That works fine.
> > My problem is that the power button turns off the machine without so much
> > as questioning the kernel - no halt scripts, nuttin.
> 
> > My desktop has the bios option of letting the power off button being
> > redefined to suspend the machine - can I do this with the Dell?
> 
> > The button is in a bad place, and I keep hitting it.
> 

I've given up on this project for a while, but here's some more info:
Flashed with the latest BIOS, but pretty much everything is the same in
the setup menu (gee, I like being able to change bios options when the
machine is already running an OS!). I booted winbloze, and found out it
doesn't even disable the power button (good chance to run scandisk, 
anyway :)

So I think I will ask Dell for some help and/or for them to add yet
another thing to the BIOS.

Incidentally - when the machine hard-crashes you need to press the power
button for 4 seconds to turn it off. So somewhere, it is asking the OS for
permission to turn off, and doesn't get through to it when it is crashed.
I'm slightly confuzzled by this


--
TimC
http://www.physics.usyd.edu.au/~tcon/

But it does move!
-- Galileo Galilei



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




xfree86 4.1.0 ati rage 128

2001-08-16 Thread Tim Connors


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
using a savetextmode/textmode combination, but this is tedious for
everytime I have to change to console.

I tried various combinations of compiling dri and agpgart as modules or
into the kernel, and turning DRI off, just in case, but all to no avail.

Anyone solved this (or indeed, come across it at all)?

The other thing, that is not related to laptops at all (besides the fact
that I am trying this on mine) - I have to run a second X session with
only 8 bit colors, for some really broken analysis software, and
running X via 
startx -- :1
doesn't seem to set the DISPLAY properly, nor sets up the permissions. I
am tracking debian unstable, but this has not been fixed in quite some
number of versions. Of course it could be that my customization has
screwed something up - but has anyone noticed this?

I hacked up a very dodgy set of scripts, and being dodgy, they broke upon
upgrade, so I just settled with xdm in the end. But it is still annoying
that manually starting a second (or third!) X session no longer works

Thanks.

-- 
TimC -- http://www.physics.usyd.edu.au/~tcon/

"I give up," said Pierre de Fermat's friend. "How DO you keep a
mathematician busy for 350 years?"


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




Re: 2.4.10 and apm !

2001-09-25 Thread Tim Connors

> what happened to apm support on 2.4.10
> apm -S does not work anymore :(

Works for me. You have compiled apm into the kernel, or as a module,
haven't you?

Incidentally, most of the time, apm -S "standby"'s my machine, blanks the
screen and spins donw HD, but then the screen pretty much immediately
returns, followed soon after by the HD. Since I don't use apm -S very
often (my machine wont repond to eth0 once in standby -- strange - my
desktop does), I don't get worried by it.


-- 
TimC -- http://www.physics.usyd.edu.au/~tcon/

Calm down, it's *only* ones and zeroes.


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




Re: Dell Latitude - Screen problems

2001-10-11 Thread Tim Connors

On 11 Oct 2001, Patrice Neff wrote:

> Hi all,
> 
> I recently bought a Dell Latitude CPt and it runs really nice now. I
> have only one problem with the screen. In the middle of the screen
> there is a very thin vertical bar. I usually don't see it unless I
> have a black background. I'm not really sure if this is an X problem
> or if the screen is defect. But I believe it's X because the bar isn't
> there during computer initialization or in the BIOS.

Sounds like X - at least not a physical LCD problem. Could still be
something wrong with graphics in general that doens't crop up in textmode,
but I doubt it.

What version of X, accalration (DRI) turned on, other details of
interest, etc etc? 


Is the video card on those ones a ATI rage?


-- 
TimC -- http://www.physics.usyd.edu.au/~tcon/

 .-.
 /v\L   I   N   U   X 
// \\  >Phear the Penguin<
   /(   )\
^^-^^


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




Re: laptop_mode doesn't seem to work: kjournald waking up disks frequently

2004-07-16 Thread Tim Connors
On Fri, 16 Jul 2004, Bartek Kania wrote:

> -BEGIN PGP SIGNED MESSAGE-
> Hash: SHA1
>
> > I'm trying to use laptop_mode to get my disks to stay down to save
> > energy in kernel 2.6.7. I used the script from kernel 2.6.7, put it in
> > sbin. I also compiled the monitor in laptop_mode.txt too. When I run
> > laptop_mode it doesn't seem to help much with the disks. What's the
> > problem?
> 
> > Using the bit block that reports to dmesg I get kjournald as the process
> > that's dirtying the node.
>
> What filesystems are you using?
> Please attach the output from mount before and after running the laptop-mode
> script.
> When the script runs it should change the commit-time of the filesystem to
> something large, to prevent kjournald to flush the journal every couple of
> seconds.

A while ago, I looked at the code in one of the filesystems (either ext3
or jfs - the two fs's I use), and I wasn't convinced that the code
correctly saved the -o remount,commitinterval value. I convinced myself it
only got set at mount time, not at remount time - but I am very likely
wrong, given that I am not a kernel hacker, and probably missed some
subtlety.

I have never had any luck with the laptop mode patches. Dammit.

-- 
TimC -- http://astronomy.swin.edu.au/staff/tconnors/
A sysadmins description of life:
Even if the underpowered inter-continental links could take it,
you'd see a routing nightmare.   BGP packets would be flying around
in circles panicking, and any sane network administrator would lock
him or herself in a small room and whimper until it was all over.


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



Re: laptop_mode doesn't seem to work: kjournald waking up disks frequently

2004-07-17 Thread Tim Connors
On Sat, 17 Jul 2004, Micha Feigin wrote:

> On Sat, Jul 17, 2004 at 03:08:08AM +1000, Tim Connors wrote:
> > On Fri, 16 Jul 2004, Bartek Kania wrote:
> > A while ago, I looked at the code in one of the filesystems (either ext3
> > or jfs - the two fs's I use), and I wasn't convinced that the code
> > correctly saved the -o remount,commitinterval value. I convinced myself it
> > only got set at mount time, not at remount time - but I am very likely
> > wrong, given that I am not a kernel hacker, and probably missed some
> > subtlety.
> >
> > I have never had any luck with the laptop mode patches. Dammit.
> >
>
> It should work fine with ext3, reiserfs and xfs with kernel 2.6. With
> 2.4 only ext3 is functional (although it is somewhat faulty). I have
> patches for 2.4 if anyone wants, didn't try to push them through yet
> and I doubt they will be accepted as 2.4 doesn't take too many changes
> other then bug fixes anymore.

How much work do you reckon it would be to get it to play nice with jfs?
:)

-- 
TimC -- http://astronomy.swin.edu.au/staff/tconnors/
Just because they are called 'forbidden' transitions does not mean
that they are forbidden.  They are less allowed than allowed
transitions, if you see what I mean.


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



Re: Laptop safe for flight in planes?

2005-02-22 Thread Tim Connors
On Tue, 22 Feb 2005, Andreas Tille wrote:

> Hi,
>
> my former Laptop had no internal WLAN card so I was safe that it is no
> source of any radio frequencies.

Um? Actually, you know your 1.4GHz machine? It emits 1.4GHz, as well
as every harmonic above - 2.8, 4.2, 5.6, Ghz. And if you are only
executing an instruction every n clock cycles, then you also emit at
1.4/n, 1.4*2/n, 1.4*3/n, Ghz.

So your laptop emits a whole mash of radio frequencies (you can almost
call it microwave, actually).


You can imagine that if you want to put a cluster at a radio telescope,
you have to enclose the entire cluster and air conditioner in a faraday
cage.

-- 
TimC -- http://astronomy.swin.edu.au/staff/tconnors/
Anyone seeking the "Relativistic Quantum Mechanics" soft option
course, may wish to leave now. -- Intro lecture to RQM


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



Re: ATI M3 / Kernel 2.6.10

2005-05-07 Thread Tim Connors
On Sat, 7 May 2005, Jordan Smith wrote:

> I don't believe that the dri ati drivers support direct rendering.

> DISPLAY=:0 glxinfo | grep Yes
direct rendering: Yes

> lspci | grep M3
:01:00.0 VGA compatible controller: ATI Technologies Inc Rage Mobility M3 
AGP 2x (rev 02)

> uname -a
Linux scuzzie 2.4.26 #1 Mon Apr 18 22:54:39 EST 2005 i686 GNU/Linux

> X -version 2>&1 | head -n 5
XFree86 Version 4.3.0.1 (Debian 4.3.0.dfsg.1-12.0.1 20050223080930
[EMAIL PROTECTED])
Release Date: 15 August 2003
X Protocol Version 11, Revision 0, Release 6.6
Build Operating System: Linux 2.6.9 i686 [ELF]
Build Date: 23 February 2005

> lsmod | grep -E '(agp|r128)'
r128   80244   1
agpgart19208   3

> dpkg --get-selections | grep -E 'dr[mi]'
xfree86-driver-synapticsinstall
xlibmesa-driinstall
xlibmesa-drm-module-2.4.22  install
xlibmesa-drm-srcinstall

Hmmm - odd, I don't seem to have compiled or updated the drm-module -
perhaps it is in the mainline 2.4 kernel now?

> l /dev/dri/
total 0
crw-rw-rw-  1 root root 226, 0 Aug 15  2004 card0

And all the XF86Config stuff is as usual, except maybe:
Section "Device"
Identifier  "ATI mobility"
Driver  "r128"
#   Driver  "ati"
BusID   "PCI:1:0:0"
VideoRam8192
#   Option  "UseFBDev"  "true"
EndSection


WFM.

-- 
TimC -- http://astronomy.swin.edu.au/staff/tconnors/
It's the _target_ that supposed to go "F00F", not the processor.
  -- Mike Andrews, on Pentiums in missiles


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



Re: ATI M3 / Kernel 2.6.10

2005-05-12 Thread Tim Connors
On Thu, 12 May 2005, Lee Turner wrote:

> I appear to have everything except
> r128 and agpgart
>
> are these kernel modules?
>
> > > lsmod | grep -E '(agp|r128)'
> > r128   80244   1
> > agpgart19208   3
> >

Indeed.  Probably unlikely that they are compiled statically in the
kernel, but they will be available by default if you are using a debian
kernel - just modprobe agpgart first, then r128.  Might also work if you
compiled the kernel yourself, else configure them in as modules and
recompile.

-- 
TimC -- http://astronomy.swin.edu.au/staff/tconnors/
If the plural of moose is meese the singular of sheep must be shoop.
--Hetta on RHOD


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



Re: Debian on Slow laptops. What setup is best?

2005-06-22 Thread Tim Connors
On Wed, 22 Jun 2005, Benedek Frank wrote:

> Hi. Can you check to see if I use something really that I shouldnt use at all?
>
> THanks, and the RES column is that shows the "m" after numbers. Maybe stands
> for for MB?

Yes it does.  Also, if you don't already know, the first memory column is
the total memory usage of a program, some of which may be swapped out, the
second memory column is the total currently in core, and the third is the
amount that is shared between programs that use the same set of libraries
(or simply two forked copies of the same program).

> 22318 root  15   0 43904  32m 5732 S  3.6 13.9  23:48.20 X
>  3814 ben   16   0 48816  31m  21m S  0.0 13.3   2:15.27 kmail
>  4052 ben   16   0 81496  22m  17m R  0.0  9.5   0:17.64 kopete
>  2152 ben   15   0 27776  15m  11m S  0.0  6.5   0:20.47 kmix
> 30692 ben   15   0 32636  14m  12m S  0.0  6.3   0:22.40 knotify
>  4037 ben   15   0 30020  12m 7832 S 24.8  5.3   0:32.65 gnome-terminal
> 22347 ben   15   0 17792  12m 7272 S  0.0  5.3   1:13.85 xfce-mcs-manage
> 30686 ben   16   0 26556  11m 9.8m S  0.0  5.0   0:08.34 kded
>  3850 ben   16   0 25080  10m 8700 S  0.0  4.3   0:00.20 kio_file
>  4140 ben   15   0 49728  10m 8696 S  0.0  4.3   0:00.39 kio_pop3
>  4142 ben   15   0 49728  10m 8696 S  0.0  4.3   0:00.29 kio_pop3
> 22338 ben   15   0 15556   9m 6716 S  0.0  4.2   1:32.69 xfce4-panel
> 30684 ben   16   0 24764 9996 8548 S  0.0  4.2   0:02.08 klauncher
> 30679 ben   17   0 23464 9588 8004 S  0.0  4.0   0:02.13 kdeinit
> 24336 ben   15   0 24424 8972 5740 S  3.0  3.7   8:43.92 gkrellm
> 30682 ben   16   0 22788 8792 7716 S  0.0  3.7   0:01.60

Gah!  And this is why you don't use kde.  32-12m=20m (32m in use total, of
which 14m is swapped in, and 12m is able to be shared amongst other
bloated kde apps) just for a mixer?  And if the mixer happens to be the
only kde app you were using (yes this happens - I once ran xwrits to get
me to stop typing too much, and then promptly blew it away when it wanted
to drag in 30m worth of libraries, just to set up a timer and
keyboard/mouse monitor - how fscked is that?), then you can count the full
32m to it.  What does it do?  Emulate emacs whilst brewing the coffee?

Use xterm instead of gnome-terminal:

 1410 tconnors  15   0  4060 4060 2192 S  0.0  0.4   0:44 xterm

Yes, a terminal emulator doesn't *need* 30m just to freaking run.  Yikes!

As much as I hate pine (I'd hate kmail worse), it only needs:
 5065 tconnors  15   0  3736 3736 2272 S  0.2  0.4   0:00 pine

All those other k* programs are just useless helper apps to kde.  Blow kde
away, and that'll free up a bit.


Seriously, get rid of the kde and gnome crap.  You don't need it.  It
won't make your life any happier.  And then you will look at the dribbling
fools who keep on drooling over the eye-candy, and laugh at their constant
need to upgrade to the latest hardware that only makes their room hotter
(and fucks up the environment for the rest of us).  And you won't need to
upgrade your computer, because when it is not running crufty bloated
crapware, it's plenty fast enough.

Oh, and encourage your favourite hacker to emphasise code quality and
optimisation before useless feaping creaturism.

-- 
TimC
[On being overcaffeinated...] Yes, this is possible - symptons include
the sun being too loud and grokking in full what Adams meant by
"unpleasantly like being drunk".  -- Steed @ ASR


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



Re: Debian on Slow laptops. What setup is best?

2005-06-22 Thread Tim Connors
On Wed, 22 Jun 2005, Benedek Frank wrote:

> On Wednesday 22 June 2005 11:36, you wrote:
> > All those other k* programs are just useless helper apps to kde.  Blow kde
> > away, and that'll free up a bit.
>
> I have realized that. Actually, having the machine rebootet, with KDM and KDE
> taken out of auto-start, I got a much prettier picture, and a responsive
> system. ALready half-success. When I dont start this kmail prog, I have 140MB
> free mem. Yes, more than half of what I have. Firefox eats up 20 or so. I

Firefox has a hideous memory leak, where is simply does not decrease
memory usage after you close tabs, or move onto new pages.  Seems to be
related to images.  After weeks of uptime, you may find firefox is eating
300M of virtual mem, despite only having one tab open, and to do
*anything* seems to require a sweep through the entire memory set.  So it
thrashes around, and brings everything out of swap, and swaps everything
back in, and does the hokey pokey.  I hate firefox (why does it have to
walk over the entire memory contents just to open a dialog?  Oh, it's that
stupid slow-as-treacle cross platform XUL stuff), and this bug has existed
since day 0, yet no-one bothers about it.  I think it also exists in plain
mozilla.  Yep, there's an ancient bug opened in bugzilla for it, along
with a whole bunch of tweaks that seem only relevant for windows, and
claims and counterclaims that it is fixed.

This is a rare case where the KDE equivalent (konqueror) seems to do a
better job.  But the interface seems crippled, and it seems not nearly as
powerful as mozilla/firefox, and it still pulls in all the kde crap, if I
recall correctly.

> still have 120 left. At that point, I start Kmail, and slowly, about one
> minute it starts, and I will have 20 MB left. So it eats 100MB or RAM. That
> is weird. One weird program. It starts all these programs with it
>
> kmail 30MB
> knotify 14MB
> kded 11MB
> kio_pop3 (as many times as many POP3 accounts I have-each uses 10MB)
> klauncher 10MB
> kdeinit 9.5MB

At least kio_pop3 is the same program just forked, so the extra dozen
kio_pop3 (there's some other process that konq likes to fork off 30
copies of) don't use that much more.

> This is unacceptable. I am looking for a NEW email client. I like a GUI email
> client, that has features such as putting emails to the folders I want them
> to go (filtering) and has support for more than one POP account. Any takers
> on this? Will pine do this for me? Can it use the maildir format?

pine's textmode.  No idea what else to use.

> > Seriously, get rid of the kde and gnome crap.  You don't need it.  It
> > won't make your life any happier.  And then you will look at the dribbling
> > fools who keep on drooling over the eye-candy, and laugh at their constant
> > need to upgrade to the latest hardware that only makes their room hotter
> > (and fucks up the environment for the rest of us).  And you won't need to
> > upgrade your computer, because when it is not running crufty bloated
> > crapware, it's plenty fast enough.
> >
> How can I get rid of KDE and Gnome? apt-get uninstall kde gnome ??

Something like that (`remove', not `uninstall'), but it will only save
diskspace.  To save memory, you merely need to just run another window
manager as you are doing.

-- 
TimC
Kleeneness is next to Godelness.


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



Re: Ugly mozilla fonts

2002-11-17 Thread Tim Connors
On Sun, 17 Nov 2002, Anders E. Andersen wrote:

> After installing j2re (and some ghostview font package which was needed)
> suddenly my mozilla looks like this:
>
> http://www.fys.ku.dk/~andersa/mozilla.png
>
> Does anybody know what's wrong?

Looks fine to me.

Must be the beer.

-- 
TimC -- http://astronomy.swin.edu.au/staff/tconnors/

A transistor protected by a fast-acting fuse will protect
the fuse by blowing first.



Re: Laptop 386dx40 with 4 MByte and 40 MByte

2002-11-20 Thread Tim Connors
On Wed, 20 Nov 2002, Wookey wrote:

> On Wed 20 Nov, David B Harris wrote:
> > On Wed, 20 Nov 2002 14:09:59 +0200
> > Michelle Konzack <[EMAIL PROTECTED]> wrote:
> > > Hello laptop.deb's,
> > >
> > > I have gotten a NEW OLD LAptop and I like to install Debian.
> > > MS-Dos 6.2 was no problem, but... it's a Microsoft product.
> > >
> > > Which Version of Debian is recommended ?
> > >
> > > bo, hamm, slink, potatop or woody ?
> > >
> > > Oh yes, I have no CD and no lpd-port. Only one Floppy and mono-display.
> > >
> > > Generaly I like to run Lyx, a webbrowser and a MUA like balsa.
> >
> > With only four megs of memory, you'll not be able to run any of those
> > versions listed.
>
> There is a whole 4mb-laptop HOWTO, which shows that it is possible to run
> Linux on such machines, but it's true - in practice doing much useful in a
> 4MB machine requires an 'embedded device' mentality, and Debian is not
> really set up for that as supplied. And most embedded devices these days
> have a lot more than 4MB RAM :-)
>
> Woody has been installed on an 16MB Psion5mx with 64MB CF card, but you
> wouldn't want anything much smaller.

You can certainly get by with only 8Megs RAM. The way I do this is by
getting a really old linux, say, redhat 5.x, and installing that. Export
the drive over NFS, get a remote computer to 'rm -rf' the redhat install,
copy (some of the) the debian system from the remote computer. Specify all
the packages you want on the small-RAM computer by doing a "dpkg --get
selections > small-packages.txt ; emacs small-packages.txt ; dpkg
--set-selections < small-packages.txt", chrooting to the small-RAM
computer's NFS mount, and doing a dpkg-upgrade.

About a day's work.

A kinda HOW-TO is here:
http://www.astronomy.swin.edu.au/staff/tconnors/code/nfs-bind.txt

My small RAM box works beautifully now. Not too shabby as a NFS server and
firewall.


-- 
TimC -- http://astronomy.swin.edu.au/staff/tconnors/

If my head were spinning at relativistic speeds,
it would appear to everyone else that my brane had slowed down.
(unattributed, because it so accurately describes me)



Re: Modeline for 800x600 on Dell Inspiron 8000, Rage 128

2002-11-21 Thread Tim Connors
On 21 Nov 2002, Simon Wong wrote:

> Does anyone ou there have a modeline that will work for 800x600 on a
> Dell Inspiron 8000 with an ATI  Rage 128 video card?
>
> I want to get the TV out going for which you need 800x600.

I don't have mine handy (and don't know whether I have used 800x600), but
have you tried the "modeline" program?

-- 
TimC -- http://astronomy.swin.edu.au/staff/tconnors/

Your fault (core dumped)



Re: Random keystrokes lost

2002-11-26 Thread Tim Connors
On Wed, 27 Nov 2002, martin f krafft wrote:

> also sprach Karl E. Jorgensen <[EMAIL PROTECTED]> [2002.11.27.0147 +0100]:
> > Bad luck for you :-)  For me the system would freeze less than .5
> > seconds every 3 or 4 seconds. Just enough to make me wonder whether I
> > was given de-caf by mistake...
>
> The phenomenon of the mouse freezing or keyboard input being delayed
> does coincide with IDE/hdd activity.
>
> But the problem of forgotten keystrokes (and randomly repeating
> letters[1]) does not need to happen with a hdd access.
>
>   1. i *touch* 'i' and suddenly, i appears, or similar. Happens
>  for all keys rarely but noticably, and probably has something to
>  do with the random keystrokes being lost.

Damn. I don't think I will ever touch Dell laptops ever again. My own
I4000 has had problems, such as 2 wonky HD's, but they just seem so damn
unreliable, and have a lot of bios bugs.

My own thought about the KB is - with mine, If I use the tleds package to
blink the keyboard leds AND have an externel keyboard plugged in, then
whenever one of the leds change state, then the KB won't register a
keypress within x milliseconds of the led changing state. This manifests
itself as a loss of every 20th or so keypress. It seems the Dell KB
controllers just can't think of 2 things at once - I have never had this
problem on any other computer.

Also - your hdd statement: try unmasking interrupts using hdparm. This
helps modem traffic a lot, and might also help the KB - if there is a lot
of hdd activity (and laptop disks are very slow), then the KB just never
gets a chance to signal to the CPU that "HEY! LOOK HERE. I HAVE A
KEYSTROKE FOR YOU. FEED ME!". :)

As for the temperature thing, can you cat /proc/apm and the i8k file under
/proc (I can't remember what is is called - perhaps you might have to do a
strace on i8kutils when it reads the temperature from the kernel, if it is
not obviously under /proc) when there is a problem, and then again when
there is not a problem?

Is this flavour laptop aimed more at APM or ACPI for power management? The
newer ones tend to work better on ACPI than APM.

-- 
TimC -- http://astronomy.swin.edu.au/staff/tconnors/

Bus error -- driver executed.




Re: Dell cpu speed toggle (was: Temperatur weirdnes)

2002-12-05 Thread Tim Connors
On Wed, 4 Dec 2002, Dan Christensen wrote:

> For the high speed test, the machine was sometimes in light use,
> sometimes idle.  For the low speed test, it was completely idle.
>
> So for me, the slow speed is no use.

Heh bizzare. Must have been because the cosmic rays were being partially
blocked because of the moon during the solar eclipse (which, BTW, I am
pissed that I missed, but I digress). You did the slow speed test after
the fast one? I wonder if the battery wasn't quite charged between the 2,
despite reading 100% - or maybe the battery was a bit warmer because of
the extra work, and hence a bit less efficient?

Maybe too many chickens in your fridge.

-- 
TimC -- http://astronomy.swin.edu.au/staff/tconnors/

Computer screens simply ooze buckets of yang.
To balance this, place some women around the corners of the room.
-- Kaz Cooke, Dumb Feng Shui



Re: Dell cpu speed toggle (was: Temperatur weirdnes)

2002-12-01 Thread Tim Connors
On Sun, 1 Dec 2002, Dan Christensen wrote:

> "Karl E. Jorgensen" <[EMAIL PROTECTED]> writes:
>
> > On I4000 (bios A16):
> >  fn+#Toggle CPU speed

Yes - I had tried that before with no luck. But the missing peice of info
was the X keycode. Thanks for that one...

> For the record, with a US keyboard this is fn+\ (backslash, above
> the enter key).  I didn't reboot with the slow setting, but based
> on some timings, this seems to switch my I4150 from 2 GHz to about
> 450 MHz.  However, it doesn't cause the temperature to be any lower,
> and apm doesn't seem to think my battery is going to last any longer.

bogmips tells me 650 when in high speed mode. This corresponds with its
clock freq of 650 (interestingly, since the bogomips count at bootup is
twice the clock-speed). When in low speed mode, it tells me 110!


APM only tells you what the BIOS told it. The bios doesn't know that it is
going to power on for longer because the speed it lower. It only learns
from repeated charging/dischargings.

> Has anyone else tested battery life with the slow cpu setting?

I would be curious to know. Personally, I never run my batteries fully
down.

-- 
TimC -- http://astronomy.swin.edu.au/staff/tconnors/

cat ~/.signature
File size limit exceeded (core dumped)




Re: Problems on Shutdown with X

2003-01-06 Thread Tim Connors
On Mon, 6 Jan 2003, Richard Palfalvi wrote:

> Most of the time (I'd say 8 times out of 10) X doesn't shutdown correctly.
> When I turn off my computer with the shutdown-menu-button in gdm the screen
> first gets black and after 3 seconds the screen gets brighter and brighter
> beginning from the bottom of the screen, then brightening up the whole screen 
> to
> the top, like if it was BURNING off  !! :-(((
>
> So I always have to turn off quickly the laptop by the
> "hardware-turn-off-button" as I fear to destroy the screen otherwise. But 
> this is not only
> uncomfortable but also doesn't turn off the computer correctly 
> (filesystem-checks
> necessary on reboot, etc.)

In the meantime before we solve your problem, try converting your
filesystem to ext3, reading the appropriate HOW-TO documents to find out
how. Then when your system does crash, it won't take so long too boot up.
I would do this even if you were having problems with X, simply because
laptops tend to crash a lot more frequent that quality desktops (X is
always more fragile, they tend to overheat, and tend to run out of
batteries at the most inoportune of times, and you don't get to switch off
in time).

> The strange thing is that sometimes X shuts down correctly, after the black
> screen it shows plain text (as linux always does when it turns on or off),
> and the system is going down in a normal way without brightening the whole
> screen. I couldn't find out when the correct shutdown happens, it seems to be 
> by
> "hazard". Usually I close all my applications when I am going to shutdown the
> computer, sometimes I let one or to open (and then sometimes it shuts down
> correctly) but this doesn't really help and make sense.

I doubt there is anything wrong with your particular setup. laptops
always seem to have trouble with X - when normal monitors lose their sync
signal, this is their cue to power down into power saving mode. One would
think you could shut off sync to laptops, and the internal circutry would
turn off the LCD electronics and backlight, but this doesn't seem to
happen. There is usually some kind of proprietry interface to the
electronics - windows knows how to turn off the screen, but X doesn't.

So when X crashes, and the screen doesn't get any more sync signal, the
screen will fuzz up like yours does. Mine occasionally does this as I
switch to virtual consoles, or come out of suspend, or open the lid. My X
driver (for the ati rage128 video card) is pretty mature and stable, so I
don't understand these occasional hicups, except to think that maybe the
video card has some small firmware bugs in it.

Try pressing ctrl+alt+f1 just after selecting shutdown. This will then
hopefully switch to a console, and as long as X hasn't thourougly killed
the system, things should proceed normally. If not, put this script
somewhere in /sbin or /usr/local/sbin or /usr/sbin etc (I haven't tested
it, but I will be careful), log in as root, and use this script to
shutdown your computer instead of selecting the shutdown button in your
window-manager.

start script below---
#!/bin/sh

chvt 1  #switch to the first console

sleep 5 #let things settle down

#/etc/init.d/xdm stop   #kills X in an orderly fashion

exec /sbin/shutdown
-end script--

If it doesn't work, try killing X before shutting down, by uncommenting
the xdm line. The program to kill might be xdm or probably gdm, or
possibly kdm - look in that directory for these 3 files, and see what is
there. I think you mentioned gdm below.

> Can some (X-)expert tell me what I have to change?

No expert - just a random laptop user who has experience similar problems,
but who is still taking wild stabs in the dark.

My script possibily wont even work around the problem, because it could be
a fundamental problem with stopping X on your laptop. Try getting the very
latest copy of X 4.2.something from debian. Also try unstable instead of
woody (is that stable or testing, I can't remember!?)

> At the moment I am using gdm for login and KDE2.2 as it was shipped with the
> Debian-Woody-Release. The video-card is a Lynx3DM from Silicon Motion.
>
>  (Could it be that GDM and KDE does not work together properly??)


No - gdm and KDE are clients of X - they will not affect how X shuts down.


-- 
TimC -- http://astronomy.swin.edu.au/staff/tconnors/

cat /kat/ n.  A furry keyboard cover



Re: got stuck in dpkg-available-cache

2003-01-15 Thread Tim Connors
On Wed, 15 Jan 2003, Bjoern Rueffer wrote:

> I tried the following
> dpkg --forget-old-unavail
> dpkg --clear-avail
>
> but it didn't have the result as hoped for.
>
> How do I clear this available-cache with the version numbers in it? I'm
> using sid if anyone thinks that matters.
>
> Thanks in advance

Try using 'apt-get update' along with the equivalent in dselect (I don't
use the latter, so don't remember how to do this). From the looks of it,
it is using an outdated locations file, so is trying to download old
version of programs which have since been upgraded, so no longer appear on
the server with that name.

Also, if you change the contents of sources.list without running apt-get
update (and the dselect equivalent - the databases aren't the
same) afterwards, then it will be using an inconsisent set of file
locations.

-- 
TimC -- http://astronomy.swin.edu.au/staff/tconnors/

"Meddle not in the affairs of cats, for they are subtle, and will
piss on your computer." - Jeff Wilder



Re: lots of Zombie Processes on Vaio PCG-Z600LEK

2003-03-28 Thread Tim Connors
In linux.debian.laptop, you wrote:
>Hello, 
>
>   I have a problem with zombie processes on my laptop(debian woody).
>Applications that seem to spawn child processes don't seem to get rid
>off them when finnished, for example XMMS creates a process for every
>track, but these never get killed, and just pile up until the system
>process limit is hit. When the offending application is finnished the
>zombie child processes are killed as well (by init?), but not before
>then. 

It's been a while. Have you solved the problem yet?

>   The problem only starts to occur a few hours after boot. Other friends
>said it might be an issue with my kernel(custom 2.4.18), but I rebuilt
>it from scratch (new kernel soruce) and that didn't help.
>
>   I vaguely remember (I realize that's unhelpfull) this starting to occur
>after I fiddled around with pcmcia-cs and wavelan to try and get my
>wavelan card to work, I used versions of those packages that I compiled
>my self, and recompiled the kernel as well to get it to work. Could this
>be related, if so how might I go about trying to tell?

I first encountered this problem about 1.5 years ago, on both my
laptop and desktop. I downgraded both to testing from unstable -
mainly to get libc back to the older version. I also removed a few
packages, and my problems mysteriously dissapeared. The problem
initially persisted across a large range of kernels - about 2.4.10 to
18 or so, IIRC.

>I would be greatfull if anyone has any suggestsions/ ideas of where to
>start looking?

For the past few hours, I have been hacking on noflushd, trying to get
it to talk to ext3 partitions (with little success so far - it
*should* be working, in theory)

Then I gave up for the night, and noticed that I have all these zombies 
everywhere again. What have I not been using for the past 6 months, since the 
problem disappeared? noflushd.

> 283 ?00:00:11 xfs
> 285 ?00:00:10 noflushd
> 294 ?00:00:00 atd

And then I notice you're running it too. Suspcicious.

I wonder if the killing of a kernel thread (kupdated) - a process I
always thought of as being rather clumsy, could be upsetting threaded
applications. Just a random stab in the dark, but you may want to
concider turning it off, rebooting, and seeing whether the problem is
gone.

-- 
TimC -- http://astronomy.swin.edu.au/staff/tconnors/

Calm down, it's *only* ones and zeroes.



Re: KDE3 + noflushd + call for comments

2003-04-03 Thread Tim Connors
On Thu, 3 Apr 2003, Gabor FLEISCHER wrote:

> Is there anyone who succeeded with KDE3, noflushd?

I don't run KDE3, but...

> I could set up my system to spin down the disks when I don't run KDE.
> But with KDE it always has some disk usage. I was searching in google, and I
> saw other people had the same problem about a year ago, but nobody had any
> answer.

Try turning off atime in the mount options for all your ext2 partitions
(you are not runnign ext3 or other journalling fs's are you?)

HOWEVER:

I think if you are running kernel 2.4, there might be a rather serious
flaw with noflushd. See for details:
http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=174521

I wouldn't mind knowing whether there are any people out there who are
*not* experiencing this problem (ie, you must be running applications
that use pthreads), so I can understand what might be wrong?


-- 
TimC -- http://astronomy.swin.edu.au/staff/tconnors/

-
   *  * It's:   "SPLAT - MY CAT!"
 -//-//-_
   +>\--__  Slower than a speeding DATSUN 180B.   Much slower.
   +>/   _--__  Mortally slower, one might say.Rest in Pieces.
 -\\-\\--
   *  *
-



Re: Xfree 4.2.1-6 with ATI Rage Mobility...

2003-05-22 Thread Tim Connors
On Wed, 21 May 2003, Nicolas Delestre wrote:

> Hi,
> Since i updated my debian sarge on my Dell laptitude CPxJ 650 (with an ATI 
> Rage
> Mobility video card), that installed a new version of  xfree (to the 4.2.1.6
> version), i can not use the crt port to display X on a monitor (it continue to
> works fine with the lcd). When i try to display X on the monitor (with Fn+F7),
> the monitor display something during about 0.1 second with a bad resolution 
> and
> after the display disappears (Note that it works very fine when i do not use 
> X).

Please attach your /var/log/XFree86.0.log in this case...

> In the same way, the atitvout software works fine when i use it in a text 
> mode,
> but it write this error when i use it in X mode :
> VBE call failed.

... and in this case.

-- 
TimC -- http://astronomy.swin.edu.au/staff/tconnors/

I'm sorry, but all questions must be in the form of a question.
-- pieceoftheuniverse



Re: OpenSSH hack (linux is vulnerable?)

2003-09-17 Thread Tim Connors
On Tue, 16 Sep 2003, jhorton wrote:

> Hello,
>
> I do not know if anyone on this list is interested in Linux security,
> but, there appears to be an
> exploit of OpenSSH. Linux is vulnerable. The remedy is to upgrade to
> OpenSSH 3.7p1

Don't do that. Update to your distributions latest update - as long as it
has the fix applied.

Debian unstable has a backport to 1:3.6.1p2-6, because 3.7p1 is not ready
for debian yet, given that it has major PAM updates.

Debian stable is a different version again, and can be got from:
deb http://security.debian.org/debian-security stable/updates main contrib 
non-free
or the like.


Your own distribution may well be OpenSSH 3.7p1, but not necessarily.

Unfortunately the firewall solution won't work for everyone, if they need
to be able to log in from any address.

-- 



Re: [OT] Virusses (many!) via list?

2003-09-26 Thread Tim Connors
On Thu, 25 Sep 2003, Mike Hommey wrote:

> > I think, I will install an M$-Outlook filter witch sends a
> > Message to the sender that I dont like to be in his/her Adressbook.
>
> Useless, cf. my previous mail on the subject [1]
>
> Mike
>
> [1] http://lists.debian.org/debian-laptop/2003/debian-laptop-200309/
> msg00407.html

Now tell me, why on earth would someone add that 'feature' deliberately?
Surely someone had to go out of their way to do that; it doesn't exactly
sound like a feature anyone would *want* to use.

Oops, it's Microsoft.

-- 
TimC -- http://astronomy.swin.edu.au/staff/tconnors/
I'm sorry, but all questions must be in the form of a question.
-- pieceoftheuniverse



Re: backlight off w/o suspend

2002-03-04 Thread Tim Connors
On Sun, 3 Mar 2002, Remy Indebetouw wrote:

> I'd like to turn off the backlight when I'm away for the day, but leave
> unsuspended so I can connect back from work via the cable modem.
>
> There was a similar question last summer and the suggestion to switch to
> CRT; something like that would be fine with me, except that the fn-f8 that
> would appear to accomplish this on my Dell I7K doesn't do anything.

Does fn-d work for the 7k? This turns off the display on my I4k.

Also, I tell the bios to turn the display off after 30 minutes with both
AC and battery, and it works fine with me. Its a bit annoying that I can't
seem to convince X4.1.x to turn the backlight off, it just want's to
blank the screen instead.

I can't help you with the thing not switching displays. It Works For
Me(tm).

> Also, the Battery-Operated mini-HOWTO seems dated and not always
> applicable to debian (e.g. no update call in /etc/inittab), so any
> suggestions for better advice on reducing syncing and flushing intervals
> w/o a full suspend would also be appreciated.

apt-get install noflushd

-- 
TimC



Re: Which filesystem for a notebook?

2002-04-11 Thread Tim Connors
On 11 Apr 2002, Mark Janssen wrote:

> On Thu, 2002-04-11 at 13:22, Michal Frackowiak wrote:
> > Mark Janssen wrote:
> >
> > >On Thu, 2002-04-11 at 13:02, Michal Frackowiak wrote:
> > >If you want more battery life, stick with ext2, since the journaling
> > >filesystems keep the harddisk spinning all the time.
> > >
> > No way to stop it? No standby?
>
> Sure you can go to suspend... but when not suspended the disk will spin
> up every 5-15 seconds to write journal data.
>
> Using ext2 and noflushd you can hold this back. this doesn't work for
> ext3 and reiser.

I did manage to stop the spinning up for ext3. First, do the old trick of
mounting the fs's with noatime (because all writes still go through
straight away), then download the noflushd source. It has been a while,
but I think noflush tries to stop kupdated or something, but this does not
exist in kernel 2.4. But a similar named process does exist (kupdate,
without the d, or vice-versa). Change all occurences of kupdated with
kupdate (or vice versa) in noflushd (including the /etc/rc*.d scripts),
recompile, and voila. Now maybe, there needs to be at least one partition
that is ext2, rather than ext3 - frankly, I can't remember (both my laptop
and desktop are at home, where I haven't downloaded that innernet thingie
:) - that way the kupdate kernel thread is actually running, so there is
something to stop and take over. But I could be talking out of my arse
here.

Now, if I haven't missed anything (entirely unlikely), your disks should
spin down, as long as you don't write to them (writes take immediate
effect - they are not allowed to stay around in the cache for long)


> It's been running all night (downloading news) and all day now, usually
> it wouln't have survived that... now it's still going strong :)

Gosh, you make it sound like that is amazing. Thank goodness I have stable
hardware. What machine is it? Dells have the i8k utility to control the
fan, and toshibas have something similar. 'apt-cache search fan' might
help you (damn I hate not having a linux box with root connected to the
net).

-- 
TimC -- http://astronomy.swin.edu.au/staff/tconnors/

>Cats are intended to teach us that not everything in nature has a function.
You're saying cats are the opposite of bijectiveness?
-- ST in RHOD


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



Re: Unsubscribe

2002-04-14 Thread Tim Connors
On Sun, 14 Apr 2002, Josh Knarr wrote:

>
> I no longer wish to supscribe to this mailing list.  I've mailed the
> admin on my particular issue and received no response.  Please remove
> the address [EMAIL PROTECTED] from the list.

You may want to set your newsreader to not strip the stuff below sigdashes
- that way you will know how to unsubscribe.

-- 
TimC -- http://astronomy.swin.edu.au/staff/tconnors/

The universe was strange after we had beauty and truth replaced


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



Re: After discussing on LCDs in Debian-laptop, did you get spammed by Sharp Systems as well?

2002-08-14 Thread Tim Connors
On Tue, 13 Aug 2002, Alexei Khlebnikov wrote:

> > Today i got a spam by Sharp Systems, offering a LCD display.
> > Did any of you (especially the ones who did participate in a discussion
> > related to LCD displays) get that spam, too?
> > Please tell me, i'm trying to find out why they spammed me...
> > (It wasn't among the usual spam that is eaten by my filters, but it was
> > only sent to my @debian.org address. I usually get spam multiple times,
> > this one i got only once, and it had proper headers. So it has to be
> > directed by some way, probably abuse of debian mailing lists, a thing we
> > have to stop - but it might have been some other reason they spammed me,
> > probably they spammed all @debian.org addresses?)
> > So if you got one, too - please tell me.
>
> I've got this spam message as well (to my @scnsoft.com address). Seems like
> they grepped maillist to get per-person addresses.

While I didn't get this spam (I have talked about LCD's in the past, I
think), I did a ssearch on my email address, and found this and a bunch of
other lists are archived for all to see around the web, without our email
addresses obfuscated. Needless to say, I was mightily PISSED OFF about
this, but there is nothing I can do, short of not posting here, because I
can't obfuscate my mail address when using mail!
USENET yes, mail no. Short of forging my headers :(

I have to say, I am terribly surprise gnu.org and debian.org archive our
mail without obfuscation :(


But then again, kinda a moot point for me, I find my mail address is
everywhere but my own site, because I have no control about that. When I
commandeer the world, it might be a different matter :)

-- 
TimC -- http://astronomy.swin.edu.au/staff/tconnors/

I'm sorry, but all questions must be in the form of a question.
-- pieceoftheuniverse



Re: After discussing on LCDs in Debian-laptop, did you get spammed by Sharp Systems as well?

2002-08-14 Thread Tim Connors
On Wed, 14 Aug 2002, Erich Schubert wrote:

> > I have to say, I am terribly surprise gnu.org and debian.org archive our
> > mail without obfuscation :(
>
> Obfuscation doesn't help, even if you use some rotating obfuscation.
> Most, if not all of these, can easily be broken by Perl Regexps.
> So any spammer just needs to add a few regexps to his bot and he will
> get all obfuscated addresses as well.
> But obfuscation is very annoying to regular users... they won't add
> these regexps to their mail clients so they can hit "reply", instead
> they'll have to fix you address on each reply. Annyoing.

Never caused me any pain. Occasionally I forget, and get a bounce, but
then fix it immediately. Maybe because I do this sufficiently rarely, that
it does not matter to me

> Therefore obfuscation is not a solution (neither is it for security ;)
> Better solutions include filters like spamassassin and razor, as well as
> using troll-boxes... (setup mail boxes like [EMAIL PROTECTED]
> and hide these addresses on the webpages, and have mail that is sent to
> these boxes added to blacklists)

Blacklists are such a pain in the butt. Remember that some of us pay for
our bandwidth. Some of us come from underfunded universities that pay for
their bandwidth, and would like it as easy for the university to not have
to pay for the scum sucking american spam (our overseas per/MB fee is 6
times higher than our local fee - we pay for both inbound and outbound
connections - US ISP's take none of the charge, which pisses me off, but I
digress.)

And some of us don't administer our own domains. So we would like to stop
the spammers before the even CONCIDER spamming us.

> The other way is to try to stop this abuse at least by serious
> companies like Sharp Systems, by telling them that they suck.

Unfortunately, as per a recent story on slashdot and friends, most of the
spam in the world comes from less than 100 idiots in America. Not
reputable companies, by any means.

-- 
TimC -- http://astronomy.swin.edu.au/staff/tconnors/

Disclaimer: This post owned by the owner



speedstep

2002-08-15 Thread Tim Connors
At one stage in the past, I discoevered a magic fn-key incantation that
will tell my dell inspiron 4000 laptop to slow down from 650MHz to 250 or
200MHz or so, on the fly. It emitted a low pitched beep when told to go
slower, and high pitched when fast.

But I can't remember the dang keystrokes anymore, and google is remaining
my foe.

Anyone?

-- 
TimC -- http://astronomy.swin.edu.au/staff/tconnors/

GREAT MOMENTS IN HISTORY (#7):  April 2, 1751
Issac Newton becomes discouraged when he falls up a flight of stairs.



Re: speedstep

2002-08-16 Thread Tim Connors
On Thu, 15 Aug 2002, Karl E. Jorgensen wrote:

> On Thu, Aug 15, 2002 at 09:37:01PM +1000, Tim Connors wrote:
> > At one stage in the past, I discoevered a magic fn-key incantation that
> > will tell my dell inspiron 4000 laptop to slow down from 650MHz to 250 or
> > 200MHz or so, on the fly. It emitted a low pitched beep when told to go
> > slower, and high pitched when fast.
> >
> > But I can't remember the dang keystrokes anymore, and google is remaining
> > my foe.
> >
> > Anyone?
>
> Perhaps Fn+# ?

Not with mine. :(

Strange that they would make it different for the different models.

I tried entering "fn #" and "fn \#" into google, but it seems to reject
special characters. Bummer.

-- 
TimC -- http://astronomy.swin.edu.au/staff/tconnors/

You're one microscopic dog in his catastrophic .plan
Designed and directed by his red right hand
Nick Cave, Red Right Hand



Re: Dell's hibernate partition (was: Debian on a Dell 4150?)

2002-09-09 Thread Tim Connors
On Mon, 9 Sep 2002, Erich Schubert wrote:

> > initialize the s2d partition, dell's very own tool (the latest
> > version) complains that it does not support systems with more than 768
>
> Did you try this lphtool?
> Dells BIOS might be a Phoenix one, and there's a linux utility for
> creating hibernate partitions for phoenix i think.
> lphdisk i think, it also references Dell Inspiron 5000:

Keep forgetting the news:linux.debian.laptop gateway is only one way :)

Hmmm - lphdisk on my system wan'ts a partition type of A0. The s2d
partition is already set to type 84 - "OS/2 hidden c: drive", so
lphdisk bails out. Can I safely turn on "-f" - I am wary of anything
that mentions disk corruption when it's been so long since my last
backup :)

-- 
TimC -- http://astronomy.swin.edu.au/staff/tconnors/

"Nature is pretty" -- CmdrTaco



Re: Old batteries - or ... ?

2002-09-20 Thread Tim Connors
On Fri, 20 Sep 2002, Karl E. Jorgensen wrote:

> System info:[DH]ell Inspiron 4000, BIOS A16, kernel 2.4.18 with apm,
> Li-ion batteries

Shite! I wish I saw this earlier!

This is my laptop, and it developed a bad battery in December last year. I
replcaced it under waranty, and went on the BIOS upgrading cycle. Every
new BIOS fixed bugs with the charger, but caused new ones. But A21 seems
to have fixed all of my problems, and has not caused any new ones. I am
using APM, it works just fine!

The problem with all earlier BIOSs is that they didn't know how to charge
the battery, and keep it charged, if you kept the system online all the
time, with never removing the power or turning it off. After 2 weeks or
so, my battery always started losing charge, even when the thing was
plugged in. This eventually killed the battery.

The battery is a smart battery, and it calibrates it charging time, rate,
etc, in combination with the BIOS. There is a utility from the DELL
website somewhere (sorry, can't remember where) that will recalibrate the
battery. Perhaps search google or dell.com for "battery calibrate inspiron
4000"?



-- 
TimC -- http://astronomy.swin.edu.au/staff/tconnors/

"As an adolescent I aspired to lasting fame, I craved factual certainty,
and I thirsted for a meaningful vision of human life -- so I became a
scientist.  This is like becoming an archbishop so you can meet girls."
-- Matt Cartmill



Re: kcore eating my disk space

2002-10-16 Thread Tim Connors
In linux.debian.laptop, you wrote:
> ps: I have 256 M of ram and 320M is around the sum of my ram and the 
> swap space thats being used so I assume it's the combined total of 
> memory that the kernel is using. So I probably don't want to get rid of 
> it do I :) just of my root partition if it was still there or appears in 
> the future when we have our next blue moon.

kcore should never increase in size. It is the size of physical RAM,
and does not include swap (incidentally, if you want to search for
text in memory for debugging purposes, then you have to grep both
/proc/kcore and the swap device, /dev/hdAB)

2 possiblities I can think of: 

1) Some weird bug in the kernel?  

2) You just backup/restored from from tape, /proc is not mounted for
some bizaare reason, and you are trying to write a real file to the
/proc directory which is not a proc file system yet.

How many partitions do you have? What is your df -k output?
Bizaare.

-- 
TimC -- http://astronomy.swin.edu.au/staff/tconnors/

Entropy isn't what it used to be.



Re: backlight off w/o suspend

2002-03-04 Thread Tim Connors

On Sun, 3 Mar 2002, Remy Indebetouw wrote:

> I'd like to turn off the backlight when I'm away for the day, but leave
> unsuspended so I can connect back from work via the cable modem.
>
> There was a similar question last summer and the suggestion to switch to
> CRT; something like that would be fine with me, except that the fn-f8 that
> would appear to accomplish this on my Dell I7K doesn't do anything.

Does fn-d work for the 7k? This turns off the display on my I4k.

Also, I tell the bios to turn the display off after 30 minutes with both
AC and battery, and it works fine with me. Its a bit annoying that I can't
seem to convince X4.1.x to turn the backlight off, it just want's to
blank the screen instead.

I can't help you with the thing not switching displays. It Works For
Me(tm).

> Also, the Battery-Operated mini-HOWTO seems dated and not always
> applicable to debian (e.g. no update call in /etc/inittab), so any
> suggestions for better advice on reducing syncing and flushing intervals
> w/o a full suspend would also be appreciated.

apt-get install noflushd

-- 
TimC


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




Re: Which filesystem for a notebook?

2002-04-11 Thread Tim Connors

On 11 Apr 2002, Mark Janssen wrote:

> On Thu, 2002-04-11 at 13:22, Michal Frackowiak wrote:
> > Mark Janssen wrote:
> >
> > >On Thu, 2002-04-11 at 13:02, Michal Frackowiak wrote:
> > >If you want more battery life, stick with ext2, since the journaling
> > >filesystems keep the harddisk spinning all the time.
> > >
> > No way to stop it? No standby?
>
> Sure you can go to suspend... but when not suspended the disk will spin
> up every 5-15 seconds to write journal data.
>
> Using ext2 and noflushd you can hold this back. this doesn't work for
> ext3 and reiser.

I did manage to stop the spinning up for ext3. First, do the old trick of
mounting the fs's with noatime (because all writes still go through
straight away), then download the noflushd source. It has been a while,
but I think noflush tries to stop kupdated or something, but this does not
exist in kernel 2.4. But a similar named process does exist (kupdate,
without the d, or vice-versa). Change all occurences of kupdated with
kupdate (or vice versa) in noflushd (including the /etc/rc*.d scripts),
recompile, and voila. Now maybe, there needs to be at least one partition
that is ext2, rather than ext3 - frankly, I can't remember (both my laptop
and desktop are at home, where I haven't downloaded that innernet thingie
:) - that way the kupdate kernel thread is actually running, so there is
something to stop and take over. But I could be talking out of my arse
here.

Now, if I haven't missed anything (entirely unlikely), your disks should
spin down, as long as you don't write to them (writes take immediate
effect - they are not allowed to stay around in the cache for long)


> It's been running all night (downloading news) and all day now, usually
> it wouln't have survived that... now it's still going strong :)

Gosh, you make it sound like that is amazing. Thank goodness I have stable
hardware. What machine is it? Dells have the i8k utility to control the
fan, and toshibas have something similar. 'apt-cache search fan' might
help you (damn I hate not having a linux box with root connected to the
net).

-- 
TimC -- http://astronomy.swin.edu.au/staff/tconnors/

>Cats are intended to teach us that not everything in nature has a function.
You're saying cats are the opposite of bijectiveness?
-- ST in RHOD


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




Re: Unsubscribe

2002-04-14 Thread Tim Connors

On Sun, 14 Apr 2002, Josh Knarr wrote:

>
> I no longer wish to supscribe to this mailing list.  I've mailed the
> admin on my particular issue and received no response.  Please remove
> the address [EMAIL PROTECTED] from the list.

You may want to set your newsreader to not strip the stuff below sigdashes
- that way you will know how to unsubscribe.

-- 
TimC -- http://astronomy.swin.edu.au/staff/tconnors/

The universe was strange after we had beauty and truth replaced


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




Re: Old batteries - or ... ?

2002-09-20 Thread Tim Connors

On Fri, 20 Sep 2002, Karl E. Jorgensen wrote:

> System info:[DH]ell Inspiron 4000, BIOS A16, kernel 2.4.18 with apm,
> Li-ion batteries

Shite! I wish I saw this earlier!

This is my laptop, and it developed a bad battery in December last year. I
replcaced it under waranty, and went on the BIOS upgrading cycle. Every
new BIOS fixed bugs with the charger, but caused new ones. But A21 seems
to have fixed all of my problems, and has not caused any new ones. I am
using APM, it works just fine!

The problem with all earlier BIOSs is that they didn't know how to charge
the battery, and keep it charged, if you kept the system online all the
time, with never removing the power or turning it off. After 2 weeks or
so, my battery always started losing charge, even when the thing was
plugged in. This eventually killed the battery.

The battery is a smart battery, and it calibrates it charging time, rate,
etc, in combination with the BIOS. There is a utility from the DELL
website somewhere (sorry, can't remember where) that will recalibrate the
battery. Perhaps search google or dell.com for "battery calibrate inspiron
4000"?



-- 
TimC -- http://astronomy.swin.edu.au/staff/tconnors/

"As an adolescent I aspired to lasting fame, I craved factual certainty,
and I thirsted for a meaningful vision of human life -- so I became a
scientist.  This is like becoming an archbishop so you can meet girls."
-- Matt Cartmill


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




Re: kcore eating my disk space

2002-10-15 Thread Tim Connors

In linux.debian.laptop, you wrote:
> ps: I have 256 M of ram and 320M is around the sum of my ram and the 
> swap space thats being used so I assume it's the combined total of 
> memory that the kernel is using. So I probably don't want to get rid of 
> it do I :) just of my root partition if it was still there or appears in 
> the future when we have our next blue moon.

kcore should never increase in size. It is the size of physical RAM,
and does not include swap (incidentally, if you want to search for
text in memory for debugging purposes, then you have to grep both
/proc/kcore and the swap device, /dev/hdAB)

2 possiblities I can think of: 

1) Some weird bug in the kernel?  

2) You just backup/restored from from tape, /proc is not mounted for
some bizaare reason, and you are trying to write a real file to the
/proc directory which is not a proc file system yet.

How many partitions do you have? What is your df -k output?
Bizaare.

-- 
TimC -- http://astronomy.swin.edu.au/staff/tconnors/

Entropy isn't what it used to be.


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




Re: Ugly mozilla fonts

2002-11-17 Thread Tim Connors
On Sun, 17 Nov 2002, Anders E. Andersen wrote:

> After installing j2re (and some ghostview font package which was needed)
> suddenly my mozilla looks like this:
>
> http://www.fys.ku.dk/~andersa/mozilla.png
>
> Does anybody know what's wrong?

Looks fine to me.

Must be the beer.

-- 
TimC -- http://astronomy.swin.edu.au/staff/tconnors/

A transistor protected by a fast-acting fuse will protect
the fuse by blowing first.


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




Re: Laptop 386dx40 with 4 MByte and 40 MByte

2002-11-20 Thread Tim Connors
On Wed, 20 Nov 2002, Wookey wrote:

> On Wed 20 Nov, David B Harris wrote:
> > On Wed, 20 Nov 2002 14:09:59 +0200
> > Michelle Konzack <[EMAIL PROTECTED]> wrote:
> > > Hello laptop.deb's,
> > >
> > > I have gotten a NEW OLD LAptop and I like to install Debian.
> > > MS-Dos 6.2 was no problem, but... it's a Microsoft product.
> > >
> > > Which Version of Debian is recommended ?
> > >
> > > bo, hamm, slink, potatop or woody ?
> > >
> > > Oh yes, I have no CD and no lpd-port. Only one Floppy and mono-display.
> > >
> > > Generaly I like to run Lyx, a webbrowser and a MUA like balsa.
> >
> > With only four megs of memory, you'll not be able to run any of those
> > versions listed.
>
> There is a whole 4mb-laptop HOWTO, which shows that it is possible to run
> Linux on such machines, but it's true - in practice doing much useful in a
> 4MB machine requires an 'embedded device' mentality, and Debian is not
> really set up for that as supplied. And most embedded devices these days
> have a lot more than 4MB RAM :-)
>
> Woody has been installed on an 16MB Psion5mx with 64MB CF card, but you
> wouldn't want anything much smaller.

You can certainly get by with only 8Megs RAM. The way I do this is by
getting a really old linux, say, redhat 5.x, and installing that. Export
the drive over NFS, get a remote computer to 'rm -rf' the redhat install,
copy (some of the) the debian system from the remote computer. Specify all
the packages you want on the small-RAM computer by doing a "dpkg --get
selections > small-packages.txt ; emacs small-packages.txt ; dpkg
--set-selections < small-packages.txt", chrooting to the small-RAM
computer's NFS mount, and doing a dpkg-upgrade.

About a day's work.

A kinda HOW-TO is here:
http://www.astronomy.swin.edu.au/staff/tconnors/code/nfs-bind.txt

My small RAM box works beautifully now. Not too shabby as a NFS server and
firewall.


-- 
TimC -- http://astronomy.swin.edu.au/staff/tconnors/

If my head were spinning at relativistic speeds,
it would appear to everyone else that my brane had slowed down.
(unattributed, because it so accurately describes me)


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




Re: Modeline for 800x600 on Dell Inspiron 8000, Rage 128

2002-11-20 Thread Tim Connors
On 21 Nov 2002, Simon Wong wrote:

> Does anyone ou there have a modeline that will work for 800x600 on a
> Dell Inspiron 8000 with an ATI  Rage 128 video card?
>
> I want to get the TV out going for which you need 800x600.

I don't have mine handy (and don't know whether I have used 800x600), but
have you tried the "modeline" program?

-- 
TimC -- http://astronomy.swin.edu.au/staff/tconnors/

Your fault (core dumped)


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




Re: Random keystrokes lost

2002-11-26 Thread Tim Connors
On Wed, 27 Nov 2002, martin f krafft wrote:

> also sprach Karl E. Jorgensen <[EMAIL PROTECTED]> [2002.11.27.0147 +0100]:
> > Bad luck for you :-)  For me the system would freeze less than .5
> > seconds every 3 or 4 seconds. Just enough to make me wonder whether I
> > was given de-caf by mistake...
>
> The phenomenon of the mouse freezing or keyboard input being delayed
> does coincide with IDE/hdd activity.
>
> But the problem of forgotten keystrokes (and randomly repeating
> letters[1]) does not need to happen with a hdd access.
>
>   1. i *touch* 'i' and suddenly, i appears, or similar. Happens
>  for all keys rarely but noticably, and probably has something to
>  do with the random keystrokes being lost.

Damn. I don't think I will ever touch Dell laptops ever again. My own
I4000 has had problems, such as 2 wonky HD's, but they just seem so damn
unreliable, and have a lot of bios bugs.

My own thought about the KB is - with mine, If I use the tleds package to
blink the keyboard leds AND have an externel keyboard plugged in, then
whenever one of the leds change state, then the KB won't register a
keypress within x milliseconds of the led changing state. This manifests
itself as a loss of every 20th or so keypress. It seems the Dell KB
controllers just can't think of 2 things at once - I have never had this
problem on any other computer.

Also - your hdd statement: try unmasking interrupts using hdparm. This
helps modem traffic a lot, and might also help the KB - if there is a lot
of hdd activity (and laptop disks are very slow), then the KB just never
gets a chance to signal to the CPU that "HEY! LOOK HERE. I HAVE A
KEYSTROKE FOR YOU. FEED ME!". :)

As for the temperature thing, can you cat /proc/apm and the i8k file under
/proc (I can't remember what is is called - perhaps you might have to do a
strace on i8kutils when it reads the temperature from the kernel, if it is
not obviously under /proc) when there is a problem, and then again when
there is not a problem?

Is this flavour laptop aimed more at APM or ACPI for power management? The
newer ones tend to work better on ACPI than APM.

-- 
TimC -- http://astronomy.swin.edu.au/staff/tconnors/

Bus error -- driver executed.



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




Re: Dell cpu speed toggle (was: Temperatur weirdnes)

2002-11-30 Thread Tim Connors
On Sun, 1 Dec 2002, Dan Christensen wrote:

> "Karl E. Jorgensen" <[EMAIL PROTECTED]> writes:
>
> > On I4000 (bios A16):
> >  fn+#Toggle CPU speed

Yes - I had tried that before with no luck. But the missing peice of info
was the X keycode. Thanks for that one...

> For the record, with a US keyboard this is fn+\ (backslash, above
> the enter key).  I didn't reboot with the slow setting, but based
> on some timings, this seems to switch my I4150 from 2 GHz to about
> 450 MHz.  However, it doesn't cause the temperature to be any lower,
> and apm doesn't seem to think my battery is going to last any longer.

bogmips tells me 650 when in high speed mode. This corresponds with its
clock freq of 650 (interestingly, since the bogomips count at bootup is
twice the clock-speed). When in low speed mode, it tells me 110!


APM only tells you what the BIOS told it. The bios doesn't know that it is
going to power on for longer because the speed it lower. It only learns
from repeated charging/dischargings.

> Has anyone else tested battery life with the slow cpu setting?

I would be curious to know. Personally, I never run my batteries fully
down.

-- 
TimC -- http://astronomy.swin.edu.au/staff/tconnors/

cat ~/.signature
File size limit exceeded (core dumped)



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




Re: Dell cpu speed toggle (was: Temperatur weirdnes)

2002-12-05 Thread Tim Connors
On Wed, 4 Dec 2002, Dan Christensen wrote:

> For the high speed test, the machine was sometimes in light use,
> sometimes idle.  For the low speed test, it was completely idle.
>
> So for me, the slow speed is no use.

Heh bizzare. Must have been because the cosmic rays were being partially
blocked because of the moon during the solar eclipse (which, BTW, I am
pissed that I missed, but I digress). You did the slow speed test after
the fast one? I wonder if the battery wasn't quite charged between the 2,
despite reading 100% - or maybe the battery was a bit warmer because of
the extra work, and hence a bit less efficient?

Maybe too many chickens in your fridge.

-- 
TimC -- http://astronomy.swin.edu.au/staff/tconnors/

Computer screens simply ooze buckets of yang.
To balance this, place some women around the corners of the room.
-- Kaz Cooke, Dumb Feng Shui


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




Re: Problems on Shutdown with X

2003-01-06 Thread Tim Connors
On Mon, 6 Jan 2003, Richard Palfalvi wrote:

> Most of the time (I'd say 8 times out of 10) X doesn't shutdown correctly.
> When I turn off my computer with the shutdown-menu-button in gdm the screen
> first gets black and after 3 seconds the screen gets brighter and brighter
> beginning from the bottom of the screen, then brightening up the whole screen to
> the top, like if it was BURNING off  !! :-(((
>
> So I always have to turn off quickly the laptop by the
> "hardware-turn-off-button" as I fear to destroy the screen otherwise. But this is 
>not only
> uncomfortable but also doesn't turn off the computer correctly (filesystem-checks
> necessary on reboot, etc.)

In the meantime before we solve your problem, try converting your
filesystem to ext3, reading the appropriate HOW-TO documents to find out
how. Then when your system does crash, it won't take so long too boot up.
I would do this even if you were having problems with X, simply because
laptops tend to crash a lot more frequent that quality desktops (X is
always more fragile, they tend to overheat, and tend to run out of
batteries at the most inoportune of times, and you don't get to switch off
in time).

> The strange thing is that sometimes X shuts down correctly, after the black
> screen it shows plain text (as linux always does when it turns on or off),
> and the system is going down in a normal way without brightening the whole
> screen. I couldn't find out when the correct shutdown happens, it seems to be by
> "hazard". Usually I close all my applications when I am going to shutdown the
> computer, sometimes I let one or to open (and then sometimes it shuts down
> correctly) but this doesn't really help and make sense.

I doubt there is anything wrong with your particular setup. laptops
always seem to have trouble with X - when normal monitors lose their sync
signal, this is their cue to power down into power saving mode. One would
think you could shut off sync to laptops, and the internal circutry would
turn off the LCD electronics and backlight, but this doesn't seem to
happen. There is usually some kind of proprietry interface to the
electronics - windows knows how to turn off the screen, but X doesn't.

So when X crashes, and the screen doesn't get any more sync signal, the
screen will fuzz up like yours does. Mine occasionally does this as I
switch to virtual consoles, or come out of suspend, or open the lid. My X
driver (for the ati rage128 video card) is pretty mature and stable, so I
don't understand these occasional hicups, except to think that maybe the
video card has some small firmware bugs in it.

Try pressing ctrl+alt+f1 just after selecting shutdown. This will then
hopefully switch to a console, and as long as X hasn't thourougly killed
the system, things should proceed normally. If not, put this script
somewhere in /sbin or /usr/local/sbin or /usr/sbin etc (I haven't tested
it, but I will be careful), log in as root, and use this script to
shutdown your computer instead of selecting the shutdown button in your
window-manager.

start script below---
#!/bin/sh

chvt 1  #switch to the first console

sleep 5 #let things settle down

#/etc/init.d/xdm stop   #kills X in an orderly fashion

exec /sbin/shutdown
-end script--

If it doesn't work, try killing X before shutting down, by uncommenting
the xdm line. The program to kill might be xdm or probably gdm, or
possibly kdm - look in that directory for these 3 files, and see what is
there. I think you mentioned gdm below.

> Can some (X-)expert tell me what I have to change?

No expert - just a random laptop user who has experience similar problems,
but who is still taking wild stabs in the dark.

My script possibily wont even work around the problem, because it could be
a fundamental problem with stopping X on your laptop. Try getting the very
latest copy of X 4.2.something from debian. Also try unstable instead of
woody (is that stable or testing, I can't remember!?)

> At the moment I am using gdm for login and KDE2.2 as it was shipped with the
> Debian-Woody-Release. The video-card is a Lynx3DM from Silicon Motion.
>
>  (Could it be that GDM and KDE does not work together properly??)


No - gdm and KDE are clients of X - they will not affect how X shuts down.


-- 
TimC -- http://astronomy.swin.edu.au/staff/tconnors/

cat /kat/ n.  A furry keyboard cover


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




Re: got stuck in dpkg-available-cache

2003-01-15 Thread Tim Connors
On Wed, 15 Jan 2003, Bjoern Rueffer wrote:

> I tried the following
> dpkg --forget-old-unavail
> dpkg --clear-avail
>
> but it didn't have the result as hoped for.
>
> How do I clear this available-cache with the version numbers in it? I'm
> using sid if anyone thinks that matters.
>
> Thanks in advance

Try using 'apt-get update' along with the equivalent in dselect (I don't
use the latter, so don't remember how to do this). From the looks of it,
it is using an outdated locations file, so is trying to download old
version of programs which have since been upgraded, so no longer appear on
the server with that name.

Also, if you change the contents of sources.list without running apt-get
update (and the dselect equivalent - the databases aren't the
same) afterwards, then it will be using an inconsisent set of file
locations.

-- 
TimC -- http://astronomy.swin.edu.au/staff/tconnors/

"Meddle not in the affairs of cats, for they are subtle, and will
piss on your computer." - Jeff Wilder


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




Re: lots of Zombie Processes on Vaio PCG-Z600LEK

2003-03-28 Thread Tim Connors
In linux.debian.laptop, you wrote:
>Hello, 
>
>   I have a problem with zombie processes on my laptop(debian woody).
>Applications that seem to spawn child processes don't seem to get rid
>off them when finnished, for example XMMS creates a process for every
>track, but these never get killed, and just pile up until the system
>process limit is hit. When the offending application is finnished the
>zombie child processes are killed as well (by init?), but not before
>then. 

It's been a while. Have you solved the problem yet?

>   The problem only starts to occur a few hours after boot. Other friends
>said it might be an issue with my kernel(custom 2.4.18), but I rebuilt
>it from scratch (new kernel soruce) and that didn't help.
>
>   I vaguely remember (I realize that's unhelpfull) this starting to occur
>after I fiddled around with pcmcia-cs and wavelan to try and get my
>wavelan card to work, I used versions of those packages that I compiled
>my self, and recompiled the kernel as well to get it to work. Could this
>be related, if so how might I go about trying to tell?

I first encountered this problem about 1.5 years ago, on both my
laptop and desktop. I downgraded both to testing from unstable -
mainly to get libc back to the older version. I also removed a few
packages, and my problems mysteriously dissapeared. The problem
initially persisted across a large range of kernels - about 2.4.10 to
18 or so, IIRC.

>I would be greatfull if anyone has any suggestsions/ ideas of where to
>start looking?

For the past few hours, I have been hacking on noflushd, trying to get
it to talk to ext3 partitions (with little success so far - it
*should* be working, in theory)

Then I gave up for the night, and noticed that I have all these zombies everywhere 
again. What have I not been using for the past 6 months, since the problem 
disappeared? noflushd.

> 283 ?00:00:11 xfs
> 285 ?00:00:10 noflushd
> 294 ?00:00:00 atd

And then I notice you're running it too. Suspcicious.

I wonder if the killing of a kernel thread (kupdated) - a process I
always thought of as being rather clumsy, could be upsetting threaded
applications. Just a random stab in the dark, but you may want to
concider turning it off, rebooting, and seeing whether the problem is
gone.

-- 
TimC -- http://astronomy.swin.edu.au/staff/tconnors/

Calm down, it's *only* ones and zeroes.


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



Re: KDE3 + noflushd + call for comments

2003-04-03 Thread Tim Connors
On Thu, 3 Apr 2003, Gabor FLEISCHER wrote:

> Is there anyone who succeeded with KDE3, noflushd?

I don't run KDE3, but...

> I could set up my system to spin down the disks when I don't run KDE.
> But with KDE it always has some disk usage. I was searching in google, and I
> saw other people had the same problem about a year ago, but nobody had any
> answer.

Try turning off atime in the mount options for all your ext2 partitions
(you are not runnign ext3 or other journalling fs's are you?)

HOWEVER:

I think if you are running kernel 2.4, there might be a rather serious
flaw with noflushd. See for details:
http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=174521

I wouldn't mind knowing whether there are any people out there who are
*not* experiencing this problem (ie, you must be running applications
that use pthreads), so I can understand what might be wrong?


-- 
TimC -- http://astronomy.swin.edu.au/staff/tconnors/

-
   *  * It's:   "SPLAT - MY CAT!"
 -//-//-_
   +>\--__  Slower than a speeding DATSUN 180B.   Much slower.
   +>/   _--__  Mortally slower, one might say.Rest in Pieces.
 -\\-\\--
   *  *
-


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



Re: OpenSSH hack (linux is vulnerable?)

2003-09-16 Thread Tim Connors
On Tue, 16 Sep 2003, jhorton wrote:

> Hello,
>
> I do not know if anyone on this list is interested in Linux security,
> but, there appears to be an
> exploit of OpenSSH. Linux is vulnerable. The remedy is to upgrade to
> OpenSSH 3.7p1

Don't do that. Update to your distributions latest update - as long as it
has the fix applied.

Debian unstable has a backport to 1:3.6.1p2-6, because 3.7p1 is not ready
for debian yet, given that it has major PAM updates.

Debian stable is a different version again, and can be got from:
deb http://security.debian.org/debian-security stable/updates main contrib non-free
or the like.


Your own distribution may well be OpenSSH 3.7p1, but not necessarily.

Unfortunately the firewall solution won't work for everyone, if they need
to be able to log in from any address.

-- 


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



Re: [OT] Virusses (many!) via list?

2003-09-26 Thread Tim Connors
On Thu, 25 Sep 2003, Mike Hommey wrote:

> > I think, I will install an M$-Outlook filter witch sends a
> > Message to the sender that I dont like to be in his/her Adressbook.
>
> Useless, cf. my previous mail on the subject [1]
>
> Mike
>
> [1] http://lists.debian.org/debian-laptop/2003/debian-laptop-200309/
> msg00407.html

Now tell me, why on earth would someone add that 'feature' deliberately?
Surely someone had to go out of their way to do that; it doesn't exactly
sound like a feature anyone would *want* to use.

Oops, it's Microsoft.

-- 
TimC -- http://astronomy.swin.edu.au/staff/tconnors/
I'm sorry, but all questions must be in the form of a question.
-- pieceoftheuniverse


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



Re: Debian Users...

2003-11-19 Thread Tim Connors
On Tue, 18 Nov 2003, Dutch wrote:

>
> Just sorta takin an informal poll here...
>
> Debian users,
> -how many of you are running Gnome?
>
> -how many are running WindowMaker (me)
>
> -If not WM,then which windowmanager doyou use/prefer?

Geez, no fvwm users yet?
(Not that I usually answer these polls)

Of course, I have a setup I have been happy with for 6 years, so it was
only 6 months back that I decided to upgrade from fvwm1 to 2.


-- 
TimC -- http://astronomy.swin.edu.au/staff/tconnors/
I'm not a procrastinator! I'm temporally challenged!


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



Re: Debian Users...

2003-11-20 Thread Tim Connors
On Thu, 20 Nov 2003, Steve McIntyre wrote:

> On Thu, Nov 20, 2003 at 01:29:27PM +1100, Tim Connors wrote:
> >
> >Geez, no fvwm users yet?
> >(Not that I usually answer these polls)
> >
> >Of course, I have a setup I have been happy with for 6 years, so it was
> >only 6 months back that I decided to upgrade from fvwm1 to 2.
>
> Well, quite. I've got a fvwm setup that I've been tuning for ~10
> years. I made the swap to fvwm2 about 5 years ago. In fact,
> checking... Yay! my m4-ified fvwm2rc is still in the package as an
> example. I should probably update that, as by now it probably won't
> work too well.
>
> Fvwm is cool. It takes a fair bit of configuration, but it's fast,
> small and absolutely bomb-proof in my experience. And several of the
> newer WMs still don't match its features...

Bulletproof my oath. One thing you *never* *ever* want to segfault is your
window manager. Because if you have been logged in for 60 days, there is a
lot of state stored on your desktop[1] that you don't want lost when the
WM dies, gives control back to X, and X quits on you. (I saw someone on a
solaris box with a 250 day uptime, using the same session of fvwm he
started on the first day (that was when he moved to that site))

The window manager should be the most reliable peice of software on the
system next to your kernel, and I can't say too many positive things about
the reliability of some WM's.

As it is, I did have the occasional segfault while trialing FVWM 2.5 (the
unstable tree), and as such made a tiny shell script that continually
respawns fvwm as long as the exit code is greater than 130, and invoke
that instead if fvwm in my ~/.xsession

As for configuration, my personal view is that the default configuration
for fvwm is crap. Not very poweful and crap. The reason people *think*
fvwm is crap, is because they never go past the default config. If there
was a better config straight off, maybe people wouldn't be turned away so
quickly?


[1]In the form of XEmacs buffers and layout, mozilla windows, 1001 xterms,
login session, etc.

-- 
TimC -- http://astronomy.swin.edu.au/staff/tconnors/
We don't need no education
We don't need no thought control
   -- Pink Floyd, Another Brick in the Wall


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



Re: Debian Users...

2003-11-20 Thread Tim Connors
On Thu, 20 Nov 2003, Russell Coker wrote:

> On Thu, 20 Nov 2003 21:40, Tim Connors <[EMAIL PROTECTED]>
> wrote:
> > > Fvwm is cool. It takes a fair bit of configuration, but it's fast,
> > > small and absolutely bomb-proof in my experience. And several of the
> > > newer WMs still don't match its features...
> >
> > Bulletproof my oath. One thing you *never* *ever* want to segfault is your
> > window manager. Because if you have been logged in for 60 days, there is a
> > lot of state stored on your desktop[1] that you don't want lost when the
>
> I learnt an interesting trick from a friend at university (Swinburne in fact).
> He had his .xinitrc configured such that the window manager would run as a
> child process, and the process that the X server recognised as the window
> manager was "sleep 10".  That way he could restart his window manager
> while remaining logged in, and if the window manager crashed it was no big
> deal.  /bin/sleep is extremely unlikely to crash...

That would suck to lose all that if you forgot after 31 years about your
hack.

:)


I also have a habit of running killall sleep, so I'd have to make a
symlink to sleep called
"/bin/\ Really\ don\'t\ kill\ this\ copy\ of\ sleep,\ you\'ll\ regret\
it\ \(think\ about\ the\ uptime\!\)."


Sigh, this is so offtopic :)

-- 
TimC -- http://astronomy.swin.edu.au/staff/tconnors/
"It took people a long time to figure out which machine was [mooing],
and even longer to figure out how.  But for some reason it didn't take
them any time at all to figure that I'd done it."  -- Paul Tomblin on ASR


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



Re: Debian Users...

2003-11-20 Thread Tim Connors
On Thu, 20 Nov 2003, Jan T. Kim wrote:

> On Wed, Nov 19, 2003 at 09:35:23PM -0800, Larry Colen wrote:
>
> > I've been using fvwm for years. Now I'm running fvwm2. It has some
> > features I really like and haven't seen easily in other desktops. Also
> > the last time I tried another desktop it was so freaking slow, I
> > couldn't stand it.
>
> I use fvwm2 too. Among the things I like about it is the fact that when
> I get an account on a Linux box, I just have to copy my ~/.fvwm2rc file
> into my new home directory, instead of messing around for an evening or so
> with some "Control Center" or comparable thing in order to try and set up
> my environment.

Someone recently had an article about putting their home directory in CVS.
I'm not quite that fool hardy, but all my pertinent dotfiles are in CVS,
including my ~/.fvwm/.fvwmrc.in (which is very naively transformed to
~/.fvwm/.fvwmrc at login, and whenever I wish to restart fvwm to effect
config changes.

> Another thing which irritates me a lot is that an increasing amount
> of applications fails to handle the standard X options properly, and
> apparently does not properly communicate with the window manager properly
> either. For example, acroread just disregards any -geometry option,
> and it took me a lot of experimentation to finally figure out a special
> setup for the AcroRead class in my .fvwm2rc in which the full screen
> view (which I needed for presentation purposes) works properly.
>
> Is there any initiative of the Debian user community in which petitions
> to software providers, asking them to adhere to the pertinent standards,
> can be signed? I would gladly participate...

I have submitted my share of bug reports. Mainly to small WindowMaker
widgets that I would like to have positioned on the screen using
-geometry. I don't have the specific bug numbers handy, but none of them
have been acknowledged. wmcliphist doesn't even work when it's put into
FvwmButtons - it never registers any mouse-clicks.

(useful tip for FvwmButtons users - have a 12x2 sized buttons, with the
left half taken up by actual buttons, and the right half taken up by
something like:
Exec env SMALLPROMPT=yes xterm -name consolexterm -ls -bg darkblue -fg coral -geometry 
-1500-1500 -wf

In my .bash_profile file, if SMALLPROMPT is set, I do less fancy settings
of my PS1, so less xterm real-estate is taken up by prompts.

The different colours of the xterm, and the fact that it remains on the
screen all the time, independant of which virtual page you are on, makes
it very useful for doing small things like calculations. Screenshot here:
http://astronomy.swin.edu.au/staff/tconnors/screenshot3.png
)

-- 
TimC -- http://astronomy.swin.edu.au/staff/tconnors/
A new verb was accidently created during a discussion about KDE 3 and Debian.
It was said that KDE 3 will sid soon. -- Debian Weekly News Jan 14,2003


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



Re: hi

2003-12-09 Thread Tim Connors
On Tue, 9 Dec 2003, clifford padgett wrote:

> hi i have a epson actionnote 500c i lost my password to get in to it
> how can i get in to my notebook now
> clifford padgett

Sorry, you have the wrong list. This is not the "how to break into stolen
laptops" list.  Oh, and we post in plain text, not HTML here. A useful
subject line might also be helpful.

HTH. HAND.

-- 
TimC -- http://astronomy.swin.edu.au/staff/tconnors/
"These people [spam fighters] will go to the lowest depths,"
 -- Tom Cowles, spammer and convicted thief.


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



Re: driver

2003-12-17 Thread Tim Connors
On Wed, 17 Dec 2003, Trong Tram wrote:

> I want driver for IR HP omnibook 4100

I want to be able to juggle properly.

-- 
TimC -- http://astronomy.swin.edu.au/staff/tconnors/
E = MC ** 2 +- 3db


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



Re: noflushd: making/having drives spin down.

2004-01-05 Thread Tim Connors
On Tue, 6 Jan 2004, Micha Feigin wrote:

> On Mon, Jan 05, 2004 at 01:36:48PM -0800, Mike Mestnik wrote:
> > I have a dell8900 and I can't seam to get the drive to spin down on 2.6.0-test9.  
> > The drive makes
> > a noticeable whine that can be heard across the room.  I'd like the noise to go 
> > away, that is more
> > important than saving battery power for me.
> >
> > I'm using noflushd but it has no effect, I also tried hdtune.
> >
>
> Look at the -M option of hdparm:
> -M   get/set acoustic management (0-254, 128: quiet, 254: fast) (EXPERIMENTAL)

That'll do no good.

-M just makes seeks slower. The OP is complaining about the constant whine
of the HD spinning. I would agree with him - my I4000 is really quite
disturbingly loud -- in a room full of computers.

noflushd is the best solution, as long as you don't use journalling
filesystems - although there is currently work in that area (seek google
for "laptop-mode" kernel patches)

Having said that, noflushd induces a bug in the kernel that is a killer
for me - threads become zombied after 43 minutes, eventually filling the
process table:
http://sourceforge.net/mailarchive/forum.php?thread_id=2060865&forum_id=4904

(gee, that mailing list has a lot of spam)


-- 
TimC -- http://astronomy.swin.edu.au/staff/tconnors/
The Klein-Gordon equation was derived by Schroedinger.
Hence its name. -- Peter Robinson, Rel. Quant. Mech Lecturer.


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



Re: noflushd: making/having drives spin down.

2004-01-05 Thread Tim Connors
On Mon, 5 Jan 2004, Mike Mestnik wrote:

> I had not yet upgraded to test11.
>
> , s/hdtune/hdparm/g
>
> I think I am using journalling, as it's a laptop it's more likely to suddenly loose 
> power.  What
> dose this mean for noflushd?  Are there any links or bug reports to track?

No bugs - just journalling systems always insist on spinning up the drive
at the most inopportune times.

google for "ext3 noflushd" or smoething like.

-- 
TimC -- http://astronomy.swin.edu.au/staff/tconnors/
size doesn't matter, resolution matters:
Hmm, I might be able to use that one tonight.


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



Re: Dual Display on a Laptop?

2004-03-26 Thread Tim Connors
On Fri, 26 Mar 2004, Hubert Chan wrote:

> > "Arief" == arief#  <[EMAIL PROTECTED]> writes:
>
> Arief> Is it possible to use different X-Window client on a laptop
> Arief> VGA-port?
>
> Maybe.  It depends on whether your video chip supports it (some do,
> some can only do mirroring).  If your chip does support it, it also
> depends on whether or not XFree86 supports your chip well enough to do
> it.  (Doesn't work on mine -- Trident.)

Does anyone have r128 mobility working (mine is in a Dell I4K).

I never did get it to work, but last tried about a year ago. No fair
having something work under Windoze but not Lunix :(

-- 
TimC -- http://astronomy.swin.edu.au/staff/tconnors/
Keyboard Not Found: Press  to Continue


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



Re: Dual Display on a Laptop?

2004-03-26 Thread Tim Connors
On Fri, 26 Mar 2004, s. keeling wrote:

> Incoming from Tim Connors:
> >
> > Does anyone have r128 mobility working (mine is in a Dell I4K).
>
> Sure.  Works great here.  Dell i4k, Woody/stable, XFree86 4.2.1.1
> (Debian 4.2.1-3.woody3).

Dual display? What's your X-config? Just the "blah1 rightof blah2" part in
the serverlayout section?

How long has that been working for? Damn.

-- 
TimC -- http://astronomy.swin.edu.au/staff/tconnors/
A new verb was accidently created during a discussion about KDE 3 and Debian.
It was said that KDE 3 will sid soon. -- Debian Weekly News Jan 14,2003


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



Re: List based subject line

2004-05-27 Thread Tim Connors
On Wed, 26 May 2004, Larry Colen wrote:

> I use this account for all my linux related mailing lists. All of the
> lists but this one have the list name at the start of the subject:
> ie.
> Subject: [debian-laptop] list based subject line
>
> I'd like to propose that this list do so as well. I can't be the only
> person who would find it a lot easier to sort out their mail (and get
> rid of spam) if this were done.

List-Id: 

All but a few mailing lists use List-Id
(cf. Xemacs IIRC, comes to mind)

-- 
TimC -- http://astronomy.swin.edu.au/staff/tconnors/
Usage: fortune -P [-f] -a [xsz] Q: file [rKe9] -v6[+] file1 ...


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



Re: Debian Users...

2003-11-19 Thread Tim Connors
On Tue, 18 Nov 2003, Dutch wrote:

>
> Just sorta takin an informal poll here...
>
> Debian users,
> -how many of you are running Gnome?
>
> -how many are running WindowMaker (me)
>
> -If not WM,then which windowmanager doyou use/prefer?

Geez, no fvwm users yet?
(Not that I usually answer these polls)

Of course, I have a setup I have been happy with for 6 years, so it was
only 6 months back that I decided to upgrade from fvwm1 to 2.


-- 
TimC -- http://astronomy.swin.edu.au/staff/tconnors/
I'm not a procrastinator! I'm temporally challenged!



Re: Debian Users...

2003-11-20 Thread Tim Connors
On Thu, 20 Nov 2003, Steve McIntyre wrote:

> On Thu, Nov 20, 2003 at 01:29:27PM +1100, Tim Connors wrote:
> >
> >Geez, no fvwm users yet?
> >(Not that I usually answer these polls)
> >
> >Of course, I have a setup I have been happy with for 6 years, so it was
> >only 6 months back that I decided to upgrade from fvwm1 to 2.
>
> Well, quite. I've got a fvwm setup that I've been tuning for ~10
> years. I made the swap to fvwm2 about 5 years ago. In fact,
> checking... Yay! my m4-ified fvwm2rc is still in the package as an
> example. I should probably update that, as by now it probably won't
> work too well.
>
> Fvwm is cool. It takes a fair bit of configuration, but it's fast,
> small and absolutely bomb-proof in my experience. And several of the
> newer WMs still don't match its features...

Bulletproof my oath. One thing you *never* *ever* want to segfault is your
window manager. Because if you have been logged in for 60 days, there is a
lot of state stored on your desktop[1] that you don't want lost when the
WM dies, gives control back to X, and X quits on you. (I saw someone on a
solaris box with a 250 day uptime, using the same session of fvwm he
started on the first day (that was when he moved to that site))

The window manager should be the most reliable peice of software on the
system next to your kernel, and I can't say too many positive things about
the reliability of some WM's.

As it is, I did have the occasional segfault while trialing FVWM 2.5 (the
unstable tree), and as such made a tiny shell script that continually
respawns fvwm as long as the exit code is greater than 130, and invoke
that instead if fvwm in my ~/.xsession

As for configuration, my personal view is that the default configuration
for fvwm is crap. Not very poweful and crap. The reason people *think*
fvwm is crap, is because they never go past the default config. If there
was a better config straight off, maybe people wouldn't be turned away so
quickly?


[1]In the form of XEmacs buffers and layout, mozilla windows, 1001 xterms,
login session, etc.

-- 
TimC -- http://astronomy.swin.edu.au/staff/tconnors/
We don't need no education
We don't need no thought control
   -- Pink Floyd, Another Brick in the Wall



Re: Debian Users...

2003-11-20 Thread Tim Connors
On Thu, 20 Nov 2003, Russell Coker wrote:

> On Thu, 20 Nov 2003 21:40, Tim Connors <[EMAIL PROTECTED]>
> wrote:
> > > Fvwm is cool. It takes a fair bit of configuration, but it's fast,
> > > small and absolutely bomb-proof in my experience. And several of the
> > > newer WMs still don't match its features...
> >
> > Bulletproof my oath. One thing you *never* *ever* want to segfault is your
> > window manager. Because if you have been logged in for 60 days, there is a
> > lot of state stored on your desktop[1] that you don't want lost when the
>
> I learnt an interesting trick from a friend at university (Swinburne in fact).
> He had his .xinitrc configured such that the window manager would run as a
> child process, and the process that the X server recognised as the window
> manager was "sleep 10".  That way he could restart his window manager
> while remaining logged in, and if the window manager crashed it was no big
> deal.  /bin/sleep is extremely unlikely to crash...

That would suck to lose all that if you forgot after 31 years about your
hack.

:)


I also have a habit of running killall sleep, so I'd have to make a
symlink to sleep called
"/bin/\ Really\ don\'t\ kill\ this\ copy\ of\ sleep,\ you\'ll\ regret\
it\ \(think\ about\ the\ uptime\!\)."


Sigh, this is so offtopic :)

-- 
TimC -- http://astronomy.swin.edu.au/staff/tconnors/
"It took people a long time to figure out which machine was [mooing],
and even longer to figure out how.  But for some reason it didn't take
them any time at all to figure that I'd done it."  -- Paul Tomblin on ASR



Re: Debian Users...

2003-11-20 Thread Tim Connors
On Thu, 20 Nov 2003, Jan T. Kim wrote:

> On Wed, Nov 19, 2003 at 09:35:23PM -0800, Larry Colen wrote:
>
> > I've been using fvwm for years. Now I'm running fvwm2. It has some
> > features I really like and haven't seen easily in other desktops. Also
> > the last time I tried another desktop it was so freaking slow, I
> > couldn't stand it.
>
> I use fvwm2 too. Among the things I like about it is the fact that when
> I get an account on a Linux box, I just have to copy my ~/.fvwm2rc file
> into my new home directory, instead of messing around for an evening or so
> with some "Control Center" or comparable thing in order to try and set up
> my environment.

Someone recently had an article about putting their home directory in CVS.
I'm not quite that fool hardy, but all my pertinent dotfiles are in CVS,
including my ~/.fvwm/.fvwmrc.in (which is very naively transformed to
~/.fvwm/.fvwmrc at login, and whenever I wish to restart fvwm to effect
config changes.

> Another thing which irritates me a lot is that an increasing amount
> of applications fails to handle the standard X options properly, and
> apparently does not properly communicate with the window manager properly
> either. For example, acroread just disregards any -geometry option,
> and it took me a lot of experimentation to finally figure out a special
> setup for the AcroRead class in my .fvwm2rc in which the full screen
> view (which I needed for presentation purposes) works properly.
>
> Is there any initiative of the Debian user community in which petitions
> to software providers, asking them to adhere to the pertinent standards,
> can be signed? I would gladly participate...

I have submitted my share of bug reports. Mainly to small WindowMaker
widgets that I would like to have positioned on the screen using
-geometry. I don't have the specific bug numbers handy, but none of them
have been acknowledged. wmcliphist doesn't even work when it's put into
FvwmButtons - it never registers any mouse-clicks.

(useful tip for FvwmButtons users - have a 12x2 sized buttons, with the
left half taken up by actual buttons, and the right half taken up by
something like:
Exec env SMALLPROMPT=yes xterm -name consolexterm -ls -bg darkblue -fg coral 
-geometry -1500-1500 -wf

In my .bash_profile file, if SMALLPROMPT is set, I do less fancy settings
of my PS1, so less xterm real-estate is taken up by prompts.

The different colours of the xterm, and the fact that it remains on the
screen all the time, independant of which virtual page you are on, makes
it very useful for doing small things like calculations. Screenshot here:
http://astronomy.swin.edu.au/staff/tconnors/screenshot3.png
)

-- 
TimC -- http://astronomy.swin.edu.au/staff/tconnors/
A new verb was accidently created during a discussion about KDE 3 and Debian.
It was said that KDE 3 will sid soon. -- Debian Weekly News Jan 14,2003



Re: hi

2003-12-09 Thread Tim Connors
On Tue, 9 Dec 2003, clifford padgett wrote:

> hi i have a epson actionnote 500c i lost my password to get in to it
> how can i get in to my notebook now
> clifford padgett

Sorry, you have the wrong list. This is not the "how to break into stolen
laptops" list.  Oh, and we post in plain text, not HTML here. A useful
subject line might also be helpful.

HTH. HAND.

-- 
TimC -- http://astronomy.swin.edu.au/staff/tconnors/
"These people [spam fighters] will go to the lowest depths,"
 -- Tom Cowles, spammer and convicted thief.



Re: driver

2003-12-18 Thread Tim Connors
On Wed, 17 Dec 2003, Trong Tram wrote:

> I want driver for IR HP omnibook 4100

I want to be able to juggle properly.

-- 
TimC -- http://astronomy.swin.edu.au/staff/tconnors/
E = MC ** 2 +- 3db



Re: noflushd: making/having drives spin down.

2004-01-05 Thread Tim Connors
On Tue, 6 Jan 2004, Micha Feigin wrote:

> On Mon, Jan 05, 2004 at 01:36:48PM -0800, Mike Mestnik wrote:
> > I have a dell8900 and I can't seam to get the drive to spin down on 
> > 2.6.0-test9.  The drive makes
> > a noticeable whine that can be heard across the room.  I'd like the noise 
> > to go away, that is more
> > important than saving battery power for me.
> >
> > I'm using noflushd but it has no effect, I also tried hdtune.
> >
>
> Look at the -M option of hdparm:
> -M   get/set acoustic management (0-254, 128: quiet, 254: fast) (EXPERIMENTAL)

That'll do no good.

-M just makes seeks slower. The OP is complaining about the constant whine
of the HD spinning. I would agree with him - my I4000 is really quite
disturbingly loud -- in a room full of computers.

noflushd is the best solution, as long as you don't use journalling
filesystems - although there is currently work in that area (seek google
for "laptop-mode" kernel patches)

Having said that, noflushd induces a bug in the kernel that is a killer
for me - threads become zombied after 43 minutes, eventually filling the
process table:
http://sourceforge.net/mailarchive/forum.php?thread_id=2060865&forum_id=4904

(gee, that mailing list has a lot of spam)


-- 
TimC -- http://astronomy.swin.edu.au/staff/tconnors/
The Klein-Gordon equation was derived by Schroedinger.
Hence its name. -- Peter Robinson, Rel. Quant. Mech Lecturer.



Re: noflushd: making/having drives spin down.

2004-01-05 Thread Tim Connors
On Mon, 5 Jan 2004, Mike Mestnik wrote:

> I had not yet upgraded to test11.
>
> , s/hdtune/hdparm/g
>
> I think I am using journalling, as it's a laptop it's more likely to suddenly 
> loose power.  What
> dose this mean for noflushd?  Are there any links or bug reports to track?

No bugs - just journalling systems always insist on spinning up the drive
at the most inopportune times.

google for "ext3 noflushd" or smoething like.

-- 
TimC -- http://astronomy.swin.edu.au/staff/tconnors/
size doesn't matter, resolution matters:
Hmm, I might be able to use that one tonight.



Re: Dual Display on a Laptop?

2004-03-26 Thread Tim Connors
On Fri, 26 Mar 2004, Hubert Chan wrote:

> > "Arief" == arief#  <[EMAIL PROTECTED]> writes:
>
> Arief> Is it possible to use different X-Window client on a laptop
> Arief> VGA-port?
>
> Maybe.  It depends on whether your video chip supports it (some do,
> some can only do mirroring).  If your chip does support it, it also
> depends on whether or not XFree86 supports your chip well enough to do
> it.  (Doesn't work on mine -- Trident.)

Does anyone have r128 mobility working (mine is in a Dell I4K).

I never did get it to work, but last tried about a year ago. No fair
having something work under Windoze but not Lunix :(

-- 
TimC -- http://astronomy.swin.edu.au/staff/tconnors/
Keyboard Not Found: Press  to Continue



Re: Dual Display on a Laptop?

2004-03-26 Thread Tim Connors
On Fri, 26 Mar 2004, s. keeling wrote:

> Incoming from Tim Connors:
> >
> > Does anyone have r128 mobility working (mine is in a Dell I4K).
>
> Sure.  Works great here.  Dell i4k, Woody/stable, XFree86 4.2.1.1
> (Debian 4.2.1-3.woody3).

Dual display? What's your X-config? Just the "blah1 rightof blah2" part in
the serverlayout section?

How long has that been working for? Damn.

-- 
TimC -- http://astronomy.swin.edu.au/staff/tconnors/
A new verb was accidently created during a discussion about KDE 3 and Debian.
It was said that KDE 3 will sid soon. -- Debian Weekly News Jan 14,2003



Re: List based subject line

2004-05-28 Thread Tim Connors
On Wed, 26 May 2004, Larry Colen wrote:

> I use this account for all my linux related mailing lists. All of the
> lists but this one have the list name at the start of the subject:
> ie.
> Subject: [debian-laptop] list based subject line
>
> I'd like to propose that this list do so as well. I can't be the only
> person who would find it a lot easier to sort out their mail (and get
> rid of spam) if this were done.

List-Id: 

All but a few mailing lists use List-Id
(cf. Xemacs IIRC, comes to mind)

-- 
TimC -- http://astronomy.swin.edu.au/staff/tconnors/
Usage: fortune -P [-f] -a [xsz] Q: file [rKe9] -v6[+] file1 ...



Re: laptop_mode doesn't seem to work: kjournald waking up disks frequently

2004-07-16 Thread Tim Connors
On Fri, 16 Jul 2004, Bartek Kania wrote:

> -BEGIN PGP SIGNED MESSAGE-
> Hash: SHA1
>
> > I'm trying to use laptop_mode to get my disks to stay down to save
> > energy in kernel 2.6.7. I used the script from kernel 2.6.7, put it in
> > sbin. I also compiled the monitor in laptop_mode.txt too. When I run
> > laptop_mode it doesn't seem to help much with the disks. What's the
> > problem?
> 
> > Using the bit block that reports to dmesg I get kjournald as the process
> > that's dirtying the node.
>
> What filesystems are you using?
> Please attach the output from mount before and after running the laptop-mode
> script.
> When the script runs it should change the commit-time of the filesystem to
> something large, to prevent kjournald to flush the journal every couple of
> seconds.

A while ago, I looked at the code in one of the filesystems (either ext3
or jfs - the two fs's I use), and I wasn't convinced that the code
correctly saved the -o remount,commitinterval value. I convinced myself it
only got set at mount time, not at remount time - but I am very likely
wrong, given that I am not a kernel hacker, and probably missed some
subtlety.

I have never had any luck with the laptop mode patches. Dammit.

-- 
TimC -- http://astronomy.swin.edu.au/staff/tconnors/
A sysadmins description of life:
Even if the underpowered inter-continental links could take it,
you'd see a routing nightmare.   BGP packets would be flying around
in circles panicking, and any sane network administrator would lock
him or herself in a small room and whimper until it was all over.



Re: laptop_mode doesn't seem to work: kjournald waking up disks frequently

2004-07-17 Thread Tim Connors
On Sat, 17 Jul 2004, Micha Feigin wrote:

> On Sat, Jul 17, 2004 at 03:08:08AM +1000, Tim Connors wrote:
> > On Fri, 16 Jul 2004, Bartek Kania wrote:
> > A while ago, I looked at the code in one of the filesystems (either ext3
> > or jfs - the two fs's I use), and I wasn't convinced that the code
> > correctly saved the -o remount,commitinterval value. I convinced myself it
> > only got set at mount time, not at remount time - but I am very likely
> > wrong, given that I am not a kernel hacker, and probably missed some
> > subtlety.
> >
> > I have never had any luck with the laptop mode patches. Dammit.
> >
>
> It should work fine with ext3, reiserfs and xfs with kernel 2.6. With
> 2.4 only ext3 is functional (although it is somewhat faulty). I have
> patches for 2.4 if anyone wants, didn't try to push them through yet
> and I doubt they will be accepted as 2.4 doesn't take too many changes
> other then bug fixes anymore.

How much work do you reckon it would be to get it to play nice with jfs?
:)

-- 
TimC -- http://astronomy.swin.edu.au/staff/tconnors/
Just because they are called 'forbidden' transitions does not mean
that they are forbidden.  They are less allowed than allowed
transitions, if you see what I mean.



Re: Dynamic MMap ran out of room!!!

2005-07-20 Thread Tim Connors
On Wed, 20 Jul 2005, Adam Aube wrote:

> Will Ness wrote:
>
> > I have an old laptop that I installed debian on. Everything works
> > except apt!! Everytime I run apt, it does its thing but at the very
> > end it says:
> >
> > Error!
> > Dynamic MMap ran out of room
>
> > I did some googling and got the general response that my Apt cache
> > memory limit needed to be expanded/checked/corrected.
>
> Kudos for checking the archives first. Many posters with this question do
> not, and it is likely one of the most common questions asked.

Now that he's found the solution, perhaps it is time to add a meaningful
sentence to that dynamic mmap out of room message?  Or what about
automatically doubling each time it runs out of room, and starting again
(along with an appropriate warning message as to how not to keep doing
this)?

First time I was bitten by the 'bug', I did a google, but made a tyop in
the conf file, and so nothing happened.  I was pulling out my hair for
ages until I noticed the missing letter (I must have cut and paste from
one letter in).

-- 
TimC
'It's amazing I won. I was running against peace, prosperity and incumbency.'
  -- George W. Bush. June 14, 2001, to Swedish PM Goran Perrson,
 unaware that a live television camera was still rolling.


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



Re: Dynamic MMap ran out of room!!!

2005-07-20 Thread Tim Connors
On Wed, 20 Jul 2005, Steve Lamb wrote:

> Tim Connors wrote:
> > Or what about
> > automatically doubling each time it runs out of room, and starting again
> > (along with an appropriate warning message as to how not to keep doing
> > this)?
>
> Kinda defeats the purpose of limiting the amount of space the process
> uses.  I mean which is better, a clear error message or the machine being
> dropped into swap hell?

It's not that clear!

-- 
TimC
An engineer is someone who does list processing in FORTRAN.


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