Re: Search Algorithm

2004-11-15 Thread Niels L Ellegaard
On Mon, 15 Nov 2004 10:52:22 -0800 (PST)
Sergio Basurto Juarez [EMAIL PROTECTED] wrote:

 To find a key k in an array v with indexes from 0 to
 n-1, begin with x0 = 0, x1 = n-1, and i = 1. Compute
 the next position with
 xi+1 = xi - (v[xi]-k) * (xi - xi-1)/(v[xi] - v[xi-1]).
 If this lies outside the range, a different method
 (e.g., midpoint of the range) must be used to get the
 next position.

Numerical Recipies has several methods. Depending on the distribution 
of your data some of these methods may prove to be faster (section 9.2 and 9.3)
http://www.library.cornell.edu/nr/bookcpdf.html

Please read their license. If I remember correctly you are only 
allowed to use their code if you mention where you found it. 




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



Re: 'rpm --freshen': dpkg Equivalent?

2004-11-07 Thread Niels L Ellegaard
On Sun, 07 Nov 2004 11:05:01 -0500
Kenneth Jacker [EMAIL PROTECTED] wrote:

 How can I use 'dpkg' to install a new .deb, but *only* if the package
 is already on a machine?  With RPM, you can use the freshen option
 (-F or --freshen).  But how with 'dpkg'?
 
 In other words:
   o If the package is already installed, then update it
   o If the package is not installed, do nothing (do *not* install it)

You may succeed with one of the following two suggestions (change syntax of 
if according to shell)

if (dpkg -l package-name | grep  -c ii ) apt-get install package-name;

if (dpkg -l package-name | grep  -c ii ) dpkg -i ./package.deb;

But I still don't understand why you wish to do all this. In most cases it is 
easier to upgrade all packages at once:

apt-get update  apt-get upgrade

Good luck

Niels

 



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



Re: Xemacs latex

2004-09-27 Thread Niels L Ellegaard
On Mon, 27 Sep 2004 14:31:50 +0200
[EMAIL PROTECTED] wrote:

 Under xemacs 21 it is possible to compile a latex file by issuing the command
 'C-c C-r'. Unfortunately this runs the plain 'latex' command whilst I'd
 like to run 'pdflatex' (and also ConTeXt via texexec). 
 
 How could I reach this result? 

The following (untested) code may work for you. The idea is to define a hook that adds 
extra options to the tex-commandlist, and assigns pdflatex as the default compile 
option. If it works then you will be able to do stuff like 

C-c C-c enter

(defun my-tex-mode-hook () (interactive)
  (add-to-list 'TeX-command-list (list pdflatex pdflatex  %t 'TeX-run-LaTeX nil t))
 (add-to-list 'TeX-command-list (list pdfview acroread %s.pdf  'TeX-run-background 
nil nil))
 (setq TeX-command-default 'pdflatex)
)
(add-hook 'TeX-mode-hook 'my-tex-mode-hook)


 


This will enable you to


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



Is an xcf sourcecode? (according to GPL)

2004-09-12 Thread Niels L. Ellegaard

Dear gurus :)

Suppose I use gimp to create graphics for a GPL'ed program. First I
use gimp to create a layered xcf-files of the graphics, and then I use
gimp to manually flatten the layers of the xcf files to create jpg's
for the game. Of course I keep the original xcf-files on my harddisk
to be able to correct spelling mistakes.

Do the xcf-files count as sourcecode? (according to the GPL)

Should Debian ideally offer free download of xcf-files corresponding a
large percentage of the graphics in the distribution?

Where can I read more about this? 

   Thanks in advance

  Niels


PS: GPL definition of sourcecode
http://www.gnu.org/copyleft/gpl.html

 The source code for a work means the preferred form of the work for
 making modifications to it. For an executable work, complete source
 code means all the source code for all modules it contains, plus any
 associated interface definition files, plus the scripts used to
 control compilation and installation of the executable.


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



Re: Is an xcf sourcecode? (according to GPL)

2004-09-12 Thread Niels L. Ellegaard
[EMAIL PROTECTED] (Niels L. Ellegaard) writes:

 Do the xcf-files count as sourcecode? (according to the GPL)

I just noted that this question is currently being discussed at
debian-legal.

 Sorry about the noise :)

Niels

-- 
Niels L Ellegaard  http://dirac.ruc.dk/~gnalle/


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



gdb + xfree86 (Cannot upgrade xfree to sarge)

2004-08-14 Thread Niels L. Ellegaard

Is it possible to start xfree within gdb and get a backtrace? The
problem is that if I try try `gdb Xfree86`, and my XFree86 crashes,
then my screen locks, and I dont get to see the backtrace.

OK here is the long story..

A year ago I filed a bug #204603 that I cannot upgrade XFree86 from
Woody to Sarge. I still have this problem, and I am unable to use
XFree86 with Sarge. When I try to start Xfree86 in Sarge I get a
signal 11 crash with no further explanation. See Bug #204603 for
log-files, search google for `gnalle debian XFree86` for a little more
info (I cannot paste the links from emacs-w3 ). Last year I solved my
problem by downgrading xserver-xfree86 to woody, and placing a line in
my /etc/apt/preferences. This worked fine.

Today I tried upgrading to Sarge again, and it still doesn`t work, but
now I have the extra problem that I cannot downgrade again. The
problem is that dkpg-reconfigure xserver-xfree86/stable requires a
special version of discover, so I starting from a Sarge distribution
it is no longer possible to downgrade xserver-xfree86 to woody. (I
forgot to write down the exact eror message)

In conclusion I am left with a system with no xserver. XFree86 doesn`t
start in Sarge and I cannot downgrade. As a final attempt before
reinstall I would like to start xfree86 in gdb, and see if I can
construct a backtrace. Perhaps this can give a hint of the source of
the problem.

So returning to my original question. Is it possible to start XFree86
in gdb and get a backtrace?

Thanks in advance

Niels

-- 
Niels L Ellegaard  http://dirac.ruc.dk/~gnalle/


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



Re: gdb + xfree86 (Cannot upgrade xfree to sarge)

2004-08-14 Thread Niels L. Ellegaard
[EMAIL PROTECTED] (Niels L. Ellegaard) writes:

 In conclusion I am left with a system with no xserver. XFree86
 doesn`t start in Sarge and I cannot downgrade. As a final attempt
 before reinstall I would like to start xfree86 in gdb, and see if I
 can construct a backtrace. Perhaps this can give a hint of the
 source of the problem.

A small update. I recreated my old XF86Config file, so XFree86 4.0
works again, but I would still like debug XFree86 4.3 to find the
source of the crash.

I don't like the idea of ending up running an x-server that is older
than stable :)

Niels

-- 
Niels L Ellegaard  http://dirac.ruc.dk/~gnalle/


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



Re: Synchronizing between Windows and Linux: character encoding problem

2004-07-30 Thread Niels L. Ellegaard
Debian Users [EMAIL PROTECTED] writes:

 Hello there!
 
 I am trying to synchronize files between a laptop running either Windows
 XP or Debian and a Debian file server. I have tried rsync and unison on
 the Linux install of the laptop and rsync (under Cygwin) on the Windows
 install, but both were unable to transfer files with special characters
 (here: German umlauts) correctly.

I don't know if the following is helpful, but there was a related message
 in the unison yahoo group (I found it on google).
http://groups.yahoo.com/group/unison-users/message/2616


On Tue, Jun 22, 2004 at 02:49:09PM +0100, Nuno Ferreira wrote:
 I'm trying to synchronize from windows 2000 to linux and I have problems
 with non-ascii characters in filenames.
[...]
 It appears that the filenames are using utf8 on the linux side and
 iso8859-15 or similar on the windows side and no conversion is made.
 Is there a way to fix it in unison? Is it a bug?

Windows provides two API for manipulating files: a 8-bit API where
filenames are encoded in the current locale and a 16-bit API where
filenames are encoded in Unicode (UTF-16). At the moment, Unison uses
the 8-bit API, as this is what is provided by Ocaml under Windows. I
think we should eventually switch to the Unicode API (or maybe allow
to choose between the two APIs). However, this is a significant
amount of work, and none of the Unison developpers are using
Windows...

-- Jerome
 

-- 
Niels L Ellegaard  http://dirac.ruc.dk/~gnalle/


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



Re: Is Linux Unix?

2004-07-20 Thread Niels L. Ellegaard
John L Fjellstad [EMAIL PROTECTED] writes:

 Is there a semantic difference between being like something or a
 clone of something, and being that thing in the English language?
 
 I'm just thinking of the statement, GNU's Not Unix.  Does that mean
 that GNU/Linux is a OS with unix like functionality, kinda like
 Windows with Service For Unix, or OS/2 with its POSIX layer, or is
 GNU/Linux an unix.
 
 Kinda like, Kleenex is both a brand of tissue and the generic name for
 tissues.  Is the same true for unix?

The name Unix is registered trademark in the US and probably also in
many other countries. This means that it is not automatically legal to
refer to an operative system as a Unix while trying to sell it in the
US. This trademark is the reason why the term Unix is not used to
describe Linux distributions.

I believe that Linux is as similar to the average Unix system, as the
average Unix system is similar to other Unix systems.

Niels

PS: I hope to be corrected if I have misunderstood.


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



Unofficial binary Debian packages considered insecure?

2004-05-28 Thread Niels L. Ellegaard

I have been looking at a few of the the sites that offer unofficial
debian packages, and I am somewhat confused about the security issues.
I am not a great Linux guru, so I wonder how easy it would be to hide
a rootkit in a binary package and submit it to apt-get.org or
backports.org. Is this a serious risk or am I just being paranoid?

Thanks in advance

Niels


PS: I realize that I can often use to apt-source, but I like plug-and-play :)


-- 
Niels L Ellegaard  http://dirac.ruc.dk/~gnalle/


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



Re: Debian downgrade from unstable to testing

2004-05-28 Thread Niels L. Ellegaard
Joseph [EMAIL PROTECTED] writes:

 I don't have this manual 5 apt_preferences installed.  When I create
 the preferences file name, I get: E: Invalid record in preferences
 file...
 
My guess is that you have to create the file /etc/apt/preferences, but
I don't know much about knoppix. Anyway here is a link to a relevant
page in apt-howto.

http://www.debian.org/doc/manuals/apt-howto/ch-apt-get.en.html#s-default-version

If you get an error named invalid record then you may have made a
typing error in the file.

Niels

PS: Most people will prefer if you write your message below the
citations from the parent post.

-- 
Niels L Ellegaard  http://dirac.ruc.dk/~gnalle/


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



modprobe nvidia gives no version for struct_module found: kernel tainted

2004-05-24 Thread Niels L. Ellegaard

I have some problems installing nvidia. i woudl be grateful for any help

I am using the vanilla kernel 2.6.5-1-386 Sarge. I installed nvidia
following the very nice instructions in
/usr/share/doc/nvidia-kernel-source/README.Debian

However when I try to modprobe nvidia I get the following error
message:

nissefisken# modprobe struct_module
FATAL: Module struct_module not found.

nissefisken# modprobe struct-module
FATAL: Module struct_module not foun

nissefisken# lsmod | grep nvidia
nvidia   2068648  0 

nissefisken# dmesg 
[snip]
nvidia: no version for struct_module found: kernel tainted.
nvidia: module license 'NVIDIA' taints kernel.
0: nvidia: loading NVIDIA Linux x86 NVIDIA Kernel Module  1.0-5336
Wed Jan 14 18:29:26 PST 2004 

If I try to start X with the nvidia module my GLX is not initialized:

 (II) Loading sub module ISO8859_1
 (II) LoadModule: ISO8859_1
 (II) Loading /usr/X11R6/lib/modules/codeconv/libISO8859_1.a
 (II) Module ISO8859_1: vendor=X-TrueType Server Project
 compiled for 4.1.0.1, module version = 1.3.0
 Module class: XFree86 Font Renderer
 ABI class: XFree86 Font Renderer, version 0.2
 (II) UnloadSubModule: ISO8859_1
 (II) Unloading /usr/X11R6/lib/modules/codeconv/libISO8859_1.a
 (WW) Cannot open APM
 (II) NV(0): WC region has to be split (0xc000,0x3e8)
 (==) NV(0): Write-combining range (0xc000,0x200)
 (==) NV(0): Write-combining range (0xc200,0x100)
 (==) NV(0): Write-combining range (0xc300,0x80)
 (==) NV(0): Write-combining range (0xc380,0x40)
 (==) NV(0): Write-combining range (0xc3c0,0x20)
 (==) NV(0): Write-combining range (0xc3e0,0x8)
 (**) NV(0): DPMS enabled
 (EE) Failed to initialize GLX extension (NVIDIA XFree86 driver not
found)

nissefisken# dpkg -l  initscripts udev xserver-xfree86
+++-=-=
ii  initscripts   2.85-15  
ii  udev  0.024-7  
ii  xserver-xfree86   4.1.0-16woody3   


I would be most graful for any hints. Thanks in advance

  Niels



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



Re: modprobe nvidia gives no version for struct_module found: kernel tainted

2004-05-24 Thread Niels L. Ellegaard
[EMAIL PROTECTED] (Niels L. Ellegaard) writes:

 nvidia: no version for struct_module found: kernel tainted.
 nvidia: module license 'NVIDIA' taints kernel.
 0: nvidia: loading NVIDIA Linux x86 NVIDIA Kernel Module  1.0-5336
 Wed Jan 14 18:29:26 PST 2004 

Oops. The bug has been reported. Sorry for the noise on the list
http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=248451


-- 
Niels L Ellegaard  http://dirac.ruc.dk/~gnalle/


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



Re: Question about installing nvidia driver (no version for struct_module)

2004-05-23 Thread Niels L. Ellegaard
LeVA [EMAIL PROTECTED] writes:

 When I've compiled my 2.6.5 kernel, and installed the nvidia
 drivers, it was ok. But after the make clean in /usr/src/linux
 (symlink to linux-2.6.5) the installer didn't work. And that was
 because it couldn't find the version file, which contains the kernel
 source's version, which exists in the 2.4* kernel's sources by
 default, but with 2.6* kernel, you must make the kernel to create
 that version file.

You story sounds like bug #242163. There are a few workarounds:
http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=242163
http://home.comcast.net/~andrex/Debian-nVidia/troubleshooting.html

I also have some nvidia trouble. Perhaps someone can help me

I am trying to configure my nvidia card (Sarge + 2.6.5 vanilla
kernel). I followed the standard procedure from
/usr/share/doc/nvidia-source. XFree86 works with the nvidia driver,
but I don't get any glx-display.

(II) Loading sub module ISO8859_1
(II) LoadModule: ISO8859_1
(II) Loading /usr/X11R6/lib/modules/codeconv/libISO8859_1.a
(II) Module ISO8859_1: vendor=X-TrueType Server Project
compiled for 4.1.0.1, module version = 1.3.0
Module class: XFree86 Font Renderer
ABI class: XFree86 Font Renderer, version 0.2
(II) UnloadSubModule: ISO8859_1
(II) Unloading /usr/X11R6/lib/modules/codeconv/libISO8859_1.a
(WW) Cannot open APM
(II) NV(0): WC region has to be split (0xc000,0x3e8)
(==) NV(0): Write-combining range (0xc000,0x200)
(==) NV(0): Write-combining range (0xc200,0x100)
(==) NV(0): Write-combining range (0xc300,0x80)
(==) NV(0): Write-combining range (0xc380,0x40)
(==) NV(0): Write-combining range (0xc3c0,0x20)
(==) NV(0): Write-combining range (0xc3e0,0x8)
(**) NV(0): DPMS enabled
(EE) Failed to initialize GLX extension (NVIDIA XFree86 driver not
found)

[gnalle_~]% bzflag
Xlib:  extension GLX missing on display :0.0.
Xlib:  extension GLX missing on display :0.0.
Xlib:  extension GLX missing on display :0.0.
Can't create window.  Exiting.

In my /var/log/syslog this produces the following lines
May 16 16:43:23 nissefisken kernel: nvidia: no version for struct_module found: 
kernel tainted.
May 16 16:43:23 nissefisken kernel: nvidia: module license 'NVIDIA' taints kernel.
May 16 16:43:23 nissefisken kernel: 0: nvidia: loading NVIDIA Linux x86 NVIDIA Kernel 
Module  1.0-5336  Wed Jan 14 18:29:26 PST 2004
May 16 16:43:23 nissefisken udev[12367]: creating device node '/dev/nvidia0'
May 16 16:43:23 nissefisken udev[12366]: creating device node '/dev/nvidiactl'

If I start start x with the nv driver, and then modprobe nvidia
afterwards, then I get the same three lines
nvidia: no version for struct_module found: kernel tainted.
nvidia: module license 'NVIDIA' taints kernel.
0: nvidia: loading NVIDIA Linux x86 NVIDIA Kernel Module  1.0-5336

However now the nvidia module is loaded:
nissefisken# lsmod | grep nvidia
nvidia   2068648  0

What is struct_module. Is struct_module the reason why my nvidia does
not work for me?

Log files (These correspond to using xfree with the nv-driver)
http://dirac.ruc.dk/~gnalle/boot
http://dirac.ruc.dk/~gnalle/syslog.0

nissefisken# dpkg -l kernel-image-2.6.5-1-386
Desired=Unknown/Install/Remove/Purge/Hold|
Status=Not/Installed/Config-files/Unpacked/Failed-config/Half-installed
|/ Err?=(none)/Hold/Reinst-required/X=both-problems (Status,Err:uppercase=bad)
||/ Name   Version
Description
+++-==-==-
ii  kernel-image-2.6.5-1-386   2.6.5-4
Linux kernel image for version 2.6.5 on 386.
nissefisken# uname -r
2.6.5-1-386


I did a bit of googling and I found a person who reported a somewhat similar error on 
debian-boot:
http://groups.google.com/groups?hl=enlr=ie=UTF-8selm=1OiKz-8is-33%40gated-at.bofh.itrnum=1

Sonmeone posted that he got the following error
fglrx: no version for struct_module found: kernel tainted.
fglrx: module license 'Proprietary. (C) 2002 - ATI Technologies, Starnberg, GERMANY' 
taints kernel.
[fglrx] Maximum main memory to use for locked dma buffers: 431 MBytes.
[fglrx] module loaded - fglrx 3.7.6 [Mar  5 2004] on minor 0

I would be grateful for any hints and enlightening flames :)


Niels

-- 
Niels L Ellegaard  http://dirac.ruc.dk/~gnalle/


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



Re: Upgrade to Sarge kills X

2004-05-02 Thread Niels L. Ellegaard
cr [EMAIL PROTECTED] writes:

 The upgrade asked me a number of questions about my monitor and
 video card, some of which I probably got wrong, but it made no
 visible difference as my /etc/X11/XF86Config-4 is completely
 unchanged.

During the upgrade you are asked a set of questions about the
system. Ideally the answers to these questions should result in a new
XF86Config-4. So ideally you should never be forced to edit your
XF86Config-4 yourselves. If you wish to change the settings of
your x-server, you can write the following

dpkg-reconfigure xserver-xfree86

If you edit your XF86Config-4 yourselves after the update, then you
have to do a bit of work to force dpkg-reconfigure to take control of
XF86Config-4 again. The following header explains it nicely.

# 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

Now you can use dpkg-reconfigure to create an XF86Config-4 that is
taylored for the version of xfree86 that comes with Sarge. Perhaps
this will help. (Remember not to delete the old version XF86Config-4
:)

 I tried looking at /var/log/XFree86.0.log, but couldn't see anything
 with an EE (error) against it, and only one WW (warning) - Cannot
 open APM - which I've got in Woody anyway.

Well actually I had a somewhat similar problem myself (Bug
Bug#204603). When I use Xserver-4.2 I get a signal 11 with no further
intelligible error messages. If your log looks somewhat like mine,
then you are doomed :) If they look different, then you should perhaps
post the entire log
http://lists.debian.org/debian-x/2003/debian-x-200308/msg00177.html
http://groups.google.dk/groups?th=9ac4ac009ab6e231

 Regards cr (back in Woody)

Personally I got a nice system by using xserver-xfree86 from woody,
and everything else from Sarge. This is not perfect, but at least it
seems to work. It was easy to achieve this by editing my
/etc/apt/preferences. (See APT-HOWTO). I have something like this:

Package: xserver-xfree86
Pin: release a=stable
Pin-Priority: 800

Package: * 
Pin: release a=testing
Pin-Priority: 600



Good luck

   Niels


-- 
Niels L Ellegaard  http://dirac.ruc.dk/~gnalle/


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



Re: Is there a complete log to the bootup messages?

2004-04-25 Thread Niels L. Ellegaard
[EMAIL PROTECTED] writes:

 Does dmesg holds the complete log of the bootup messages? If not, is
 there any way for me to retrieve and view the complete log of the
 bootup messages?

There is daemon called bootlogd which creates a bootlog-file named
/var/log/boot. The bootlogd is part of the package sysvinit

http://packages.debian.org/stable/base/sysvinit

The standard behavior of the bootlogd is to be turned off, so in order
to get the log file you have to edit the file /etc/default/bootlogd,
to set BOOTLOGD_ENABLE equal to yes.

BOOTLOGD_ENABLE=yes

According to random pages on google you may have to install
initscripts or module-init-tools.
http://www.linuxforums.org/forum/viewtopic.php?p=78679

Niels

PS: I never understood why is bootlogd turned of by default. In case
some big guru is reading this, I would be grateful for a pointer to an
explanation. :)

-- 
Niels L Ellegaard  http://dirac.ruc.dk/~gnalle/


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



Re: apt-get in a webbrowser

2004-04-09 Thread Niels L. Ellegaard
Pedro M. (Morphix User) [EMAIL PROTECTED] writes:

 Good idea .  One can create plug-in s for Mozilla to run Synaptic
 from Mozilla.

I found this one, but I am not sure if it solves your problem:

http://packages.debian.org/stable/doc/dpkg-www
http://olympus.het.brown.edu/cgi-bin/man2html?dpkg-www+8

Also I am not sure if it works well with xsu or similar.

Niels

-- 
Niels L Ellegaard  http://dirac.ruc.dk/~gnalle/


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



dm-linear: Device lookup failed (uname -r = 2.6.3-1-386)

2004-04-07 Thread Niels L. Ellegaard

I am using Sarge on a x86 (amd) and the 2.6.3-1-386 kernel.  When I
boot my kernel I get some errors like this (copied from  dmesg)

device-mapper: 4.0.0-ioctl (2003-06-04) initialised: [EMAIL PROTECTED]
device-mapper: dm-linear: Device lookup failed
device-mapper: error adding target to table
device-mapper: dm-linear: Device lookup failed
device-mapper: error adding target to table

Should I worry about this? 

Can I provide useful data material?

According to google this is an serious error. Someone got the
following answer on the Linux-lwm list:

 This is a serious error, it means that device mapper was asked to
 instance a linear mapping across a non-existent device.  Could you
 turn on verbose logging in the LVM2 tools, and try and find out which
 LV is failing to activate please ?

https://www.redhat.com/archives/linux-lvm/2004-March/msg00042.html

However I guess that there is no easy route to lvm2 from me (whatever
lvm2 is :)

 Though LVM2 is currently stable, it is not yet recommended for
 production use. It is backwards-compatible with LVM1 (lvm10), and
 requires Linux kernel 2.4.

http://packages.debian.org/testing/admin/lvm2 

 Thanks in advance for any hints

   Niels

PS: At the moment my alsa, and bootlogd do not work. Furthermore I
cannot use any xfree-xserver with a higher that is newer than the one
from stable.  But all these problems are probably unrelated to the
kernel messages, and rather a sign that I have messed up something
else :)


-- 
Niels L Ellegaard  http://dirac.ruc.dk/~gnalle/


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



Re: Goodbye stable?

2004-03-28 Thread Niels L. Ellegaard
Wolfgang Jeltsch [EMAIL PROTECTED] writes:

 Were the gaps between releases ever so large as the gap between woody and 
 sarge?

Wikipedia says that the distance between Potato and Woody was somewhat
similar:
 3.1* -- sarge, expected in 2004
 3.0  -- woody, July 19th, 2002
 2.2  -- potato, August 15th, 2000
 2.1  -- slink, March 9th, 1999
 2.0  -- hamm, July 24th, 1998
 1.3  -- bo, June 2nd, 1997
 1.2  -- rex, 1996
 1.1  -- buzz, 1996
http://en.wikipedia.org/wiki/Debian

-- 
Niels L Ellegaard  http://dirac.ruc.dk/~gnalle/


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



Re: x-crash (please decipher my log file)

2004-03-26 Thread Niels L. Ellegaard
hugo vanwoerkom [EMAIL PROTECTED] writes:

 Well, I think it is a bug. No (EE) and just segfault!? So what I
 would do is use the Nvidia closed-source driver. I always use it and
 always have good results. 

Thanks you for your advice. I don't think I will follow it though :)

A few months ago I upgraded my kernel to 2.6.3. At this point my
nvidia driver stopped working (with Xfre86). However I was able to
make Xfree86 work with the nv driver. I think that I would prefer
not to start testing the nvidia before my X-server stops
crashing. This way I can limit the number of sources of error.

Niels

-- 
Niels L Ellegaard  http://dirac.ruc.dk/~gnalle/


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



Re: x-crash (please decipher my log file)

2004-03-26 Thread Niels L. Ellegaard

Kent West [EMAIL PROTECTED] writes (I rearranged the citations a bit)
 Fatal server error:
 Caught signal 11.  Server aborting

 I don't recall if this error number occurs with other non-X-related
 errors, so I'll ask the question: Are you sure it's X that is dying
 and not the failure of X to find a window manager/client which causes
 X to die?

I have fixed the resfresh and the mouse problems. If I start XFree86
directly as root, and I also get the same signal 11. startx gives me
the same signal 11, but I also get

XIO: fatal IO error 104 (Connection reset by peer) on X server :0:0
 after 0 requests (0 known processes) with 0 events remaining

When I run kdm, then following is put in my /var/log/syslog. I believe
that the important line is Server terminated unexpectedly

Mar 26 10:13:25 nissefisken kernel: atkbd.c: Unknown key released (translated set 2, 
code 0x7a on isa0060/serio0).
Mar 26 10:13:25 nissefisken kernel: atkbd.c: This is an XFree86 bug. It shouldn't 
access hardware directly.
Mar 26 10:13:25 nissefisken kernel: atkbd.c: Unknown key released (translated set 2, 
code 0x7a on isa0060/serio0).
Mar 26 10:13:25 nissefisken kernel: atkbd.c: This is an XFree86 bug. It shouldn't 
access hardware directly.
Mar 26 10:13:27 nissefisken kdm[4426]: IO Error in XOpenDisplay
Mar 26 10:13:27 nissefisken kdm[4424]: Server for display :0 terminated unexpectedly
Mar 26 10:13:27 nissefisken kdm[4424]: Display :0 cannot be opened

  Here is the log: (--) PCI:*(1:0:0) nVidia Corporation NV11 [GeForce2
  MX/MX 400] rev 178, Mem @ 0xce00/24, 0xc000/27, BIOS
 My first suspicion is that the new version of X has changed in its
 support for your nVidia chipset.

I haven't found anything, but perhaps the reason is my lack of control
of Lynx :)

 My second suspicion is that in your old system you had a third-party
 (directly from nVidia?) driver which was wiped out with this upgrade,
 and you'll need to go back to nVidia to get their driver.

A few month ago I was using the third party nvidia driver debian
package. However I failed to make it work with the Kernel 2.6.3, so I
removed it. Since then I have been using XFree86 4.0 with the standard
nv-driver.

I tried using gdb to debug my XFree86, but when I try this, XFree86
freezes with a black screen and I have to reboot (I have only one
computer). I tried doing sleep 60  killall -9 XFree86 in one
terminal and gdb XFree86 in another termial, but this was not
enough. Is there a tricky way of creating a backtrace of XFree86?
Would such a backtrace be useful?

I can send send all the output, but I am slightly afraid of flooding.
Do Debian gurus use dial-up? :)

  Thanks for the help
Niels

-- 
Niels L Ellegaard  http://dirac.ruc.dk/~gnalle/


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



Re: x-crash (please decipher my log file)

2004-03-26 Thread Niels L. Ellegaard
Kent West [EMAIL PROTECTED] writes:
 Niels L. Ellegaard wrote:
 I removed the part about the generic mouse because I got a
 complaint that I did not have the device /dev/input/mice (I don't
 know how to create it... I make a symbolic link, and it get's
 deleted)

 I believe this device node is automagically created when a USB mouse
 is inserted. Alternatively, you might try switching to the /dev
 directory and running ./MAKEDEV mouse or maybe even just
 ./MAKEDEV. (This is from hazy understanding, so you might want to
 do some research along these lines.)

Hmm.. I don't own an USB mouse, so I guess that I should not have a
device named /dev/input/mice. Perhaps my problem is caused by the fact
that I don't know how to force dpkg-reconfigure xserver-xfree86 to
avoid creating a reference to a generic USB-mouse.

Anyways.. This is not a big issue for me. I can just edit my XF86Config-4 by
hand, and change the md5sums afterwards. Thanks for the help

 Niels

-- 
Niels L Ellegaard  http://dirac.ruc.dk/~gnalle/


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



gdm-greeter doesn't disable itself if xfree86 fails.

2004-03-25 Thread Niels L. Ellegaard

At the moment I have trouble starting my xserver. When it fails I get
a nice window with the log file, and afterwards I get a message that
tells me that gdm will disable itself. It tells me to restart gdm
after reconfiguring xfree86 in a better way.

However when I press OK, nothing happens. The gdm process does not
kill itself, and I have to killall -9 gdm before restarting gdm.

I would like to change this behavior, because it looks like it may
take a while before my X will work again. Is there an easy way to fix
this? (or should I file a bug report). Which files should I examine to
find out?

I am using Sarge, and I recently upgraded from xfree86 4.0 to
xfree86 4.3

 thanks in advance
 Niels

-- 
Niels L Ellegaard  http://dirac.ruc.dk/~gnalle/


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



Re: Rewriting XF86Config-4 with dpkg-reconfigure

2004-03-25 Thread Niels L. Ellegaard
hugo vanwoerkom [EMAIL PROTECTED] writes:

 If you make changes to XF86Config-4 then dpkg-reconfigure
 xserver-xfree86 refuses to touch it. How can one change that behavior?
 I want him to rewrite the file.

The following text is put in the preambles of an automatically
generated XFConfig-4 files. I think that I can help you :)

Niels

# 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



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



x-crash (please decipher my log file)

2004-03-25 Thread Niels L. Ellegaard
32 256x256 slots
16 512x512 slots
(==) NV(0): Backing store disabled
(==) NV(0): Silken mouse enabled
(**) Option dpms
(**) NV(0): DPMS enabled
(==) RandR enabled
(II) Initializing built-in extension MIT-SHM
(II) Initializing built-in extension XInputExtension
(II) Initializing built-in extension XTEST
(II) Initializing built-in extension XKEYBOARD
(II) Initializing built-in extension LBX
(II) Initializing built-in extension XC-APPGROUP
(II) Initializing built-in extension SECURITY
(II) Initializing built-in extension XINERAMA
(II) Initializing built-in extension XFree86-Bigfont
(II) Initializing built-in extension RENDER
(II) Initializing built-in extension RANDR
(II) Keyboard Generic Keyboard handled by legacy driver
(**) Option Protocol Microsoft
(**) Configured Mouse: Protocol: Microsoft
(**) Configured Mouse: Core Pointer
(**) Option Device /dev/ttyS0
(**) Option BaudRate 1200
(**) Option StopBits 1
(**) Option DataBits 7
(**) Option Parity None
(**) Option Vmin 1
(**) Option Vtime 0
(**) Option FlowControl None
(**) Configured Mouse: Emulate3Buttons, Emulate3Timeout: 50
(==) Configured Mouse: Buttons: 3
(**) Configured Mouse: BaudRate: 1200
(II) XINPUT: Adding extended input device Configured Mouse (type: MOUSE)
(II) Server_Terminate keybinding not found
Warning: font renderer for .pcf already registered at priority 0
Warning: font renderer for .pcf.Z already registered at priority 0
Warning: font renderer for .pcf.gz already registered at priority 0
Warning: font renderer for .snf already registered at priority 0
Warning: font renderer for .snf.Z already registered at priority 0
Warning: font renderer for .snf.gz already registered at priority 0
Warning: font renderer for .bdf already registered at priority 0
Warning: font renderer for .bdf.Z already registered at priority 0
Warning: font renderer for .bdf.gz already registered at priority 0
Warning: font renderer for .pmf already registered at priority 0

   *** If unresolved symbols were reported above, they might not
   *** be the reason for the server aborting.

Fatal server error:
Caught signal 11.  Server aborting


When reporting a problem related to a server crash, please send
the full server output, not just the last messages.
This can be found in the log file /var/log/XFree86.0.log.
Please report problems to [EMAIL PROTECTED]



-- 
Niels L Ellegaard  http://dirac.ruc.dk/~gnalle/


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



Re: debian and women? from DWN #10

2004-03-25 Thread Niels L. Ellegaard
Leo Spalteholz [EMAIL PROTECTED] writes:

 My university has programs to encourage women to enroll in
 engineering and women tend to be favoured for jobs here but still
 the percentage of female engineering students is less than 5%.  Why
 is that?  No idea but certainly not because they are being driven
 out.  Every effort is made to attract them to engineering and CS
 but there are just not that many interested.

In the catholic countries, where boys an girls (afaik) are seperated
until highschool, there is a higher pecentage number of females
among mathematicians. I once saw a map showing the percentage number
of females among mathematicians in European countries. There was a
clear change of color along the Alps.

I don't know if such a color map can be generalized this to explain
behavior on GNU/Linux mailing lists or the popularity of female-only
skiing courses.

-- 
Niels L Ellegaard  http://dirac.ruc.dk/~gnalle/


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



grub-install /dev/hda... /dev/.../disc does not have any corresponding BIOS drive

2004-03-22 Thread Niels L. Ellegaard

I tried changing bootloader from lilo to grub, but I am stuck halfway
in the process, and I am slightly afraid of rebooting. (BTW I am using
debian testing). Here is what I did

root:gnalle# apt-get install grub grub-doc

root:gnalle# grub-install /dev/hda
Probing devices to guess BIOS drives. This may take a long time.
/dev/ide/host0/bus0/target0/lun0/disc does not have any correspondin

root:gnalle# update-grub
Searching for GRUB installation directory ... found: /boot/grub .
/dev/ide/host0/bus0/target0/lun0/part1 does not have any correspondi

I tried looking at google, but I could not understand what was the
reason for the errors. I would be grateful for any hint or
enlighteling flame.

If I reboot now, will my lilo still be working or will my system try
to boot from a malfunctional grub? Where should I look to find out?

   Thanks in advance

Niels


A bit of extra info:

root:gnalle# cat /etc/mtab
/dev/ide/host0/bus0/target0/lun0/part3 / ext3 rw,errors=remount-ro 0 0
proc /proc proc rw 0 0
devpts /dev/pts devpts rw,gid=5,mode=620 0 0
/dev/ide/host0/bus0/target0/lun0/part1 /boot ext2 rw 0 0
/dev/ide/host0/bus0/target0/lun0/part4 /home ext3 rw 0 0
tmpfs /dev/shm tmpfs rw 0 0
usbfs /proc/bus/usb usbfs rw 0 0
none /proc/sys/fs/binfmt_misc binfmt_misc rw 0 0

root:gnalle# cat /etc/fstab
# /etc/fstab: information om statisk filsystem.
#
# filsystem   monteringspunkt   type  tilvalg
tjek  priort
/dev/hda3   /   ext3defaults,errors=remount-ro
0   1
/dev/hda2   noneswapsw  0
0
proc/proc   procdefaults
0   0
/dev/fd0/floppy autodefaults,user,noauto
0   0
/dev/cdrom  /cdrom  iso9660 defaults,ro,user,noauto
0   0
/dev/hda1   /boot   ext2defaults0
2
/dev/hda4   /home   ext3defaults0
2
/dev/hdb1  /w2k vfatuid=500,gid=100,umask=002,noauto  0
   0

root:gnalle# grub-install /dev/hda1
/dev/ide/host0/bus0/target0/lun0/part1 does not have any corresponding
BIOS drive.
root:gnalle# grub-install /dev/hda3
/dev/ide/host0/bus0/target0/lun0/part3 does not have any corresponding
BIOS drive.
root:gnalle# grub-install /dev/hda4
/dev/ide/host0/bus0/target0/lun0/part4 does not have any corresponding
BIOS drive.

root:gnalle# ls /boot/grub
device.map
root:gnalle# cat /boot/grub/device.map 
(fd0)   /dev/fd0
(hd0)   /dev/hda
(hd1)   /dev/hdb


-- 
Niels L Ellegaard  http://dirac.ruc.dk/~gnalle/


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



Re: kernel 2.6.3

2004-03-10 Thread Niels L. Ellegaard
la2 [EMAIL PROTECTED] writes:

 I compiled subject. Now i cannot install and compile NVIDIA
 drivers 1.5336, it says: I cannot find nvidia.ko. Also I
 cannot compile alsa-drivers for my AC'97 codec (I always use
 Intel810): at first I configure them, the write make install
 and the compiler prints that there is a great number of error
 during compiling process.

I don't know if the following answers a question of yours, but in alsa
as become part of the 2.6 kernel. So from now on, you have to select
alsa from make xconfig. (while preparing to compile the kernel)

Searching google you can find much info on your nvidia problem. I know
toob little to judge what is goo and what is bad, so I will just give
you this senseless link :)
http://www.google.com/search?q=cannot%20find%20nvidia.ko

Good luck

  Niels


-- 
Niels L Ellegaard  http://dirac.ruc.dk/~gnalle/


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



Re: Scoring up unstable security fixes in my /etc/apt/preferences:

2004-02-22 Thread Niels L. Ellegaard
Paul Johnson [EMAIL PROTECTED] writes:

 On Sat, Feb 21, 2004 at 04:37:14PM +0100, Niels L. Ellegaard wrote:
  Is it possible to configure my /etc/apt/preferences in such a way that
  I automatically upgrade a package from testing to unstable whenever
  this can save me from a security problem?
 
 apt pinning to testing should do the trick.  I don't recommend
 having stable in your sources.list and move up any packages that are
 straggling.

Thank you for you answer. However I have a feeling that you
misunderstood me. 

I am already apt-pinning to testing and this works fine. However I
feel that testing is not enough for me, because the security team does
not produce fixes for testing. (At least it is seldom)

Instead I use the Debian website to discover if any of my programs has
a security problem. Whenever I discover a problem I upgrade the
insecure package to unstable

  apt-get install insecure-package/unstable

I am getting a little tired of having to look at the Debian website
every day. Therefore I would like to configure apt in such a way that
I automatically update insecure packages to unstable. Is this
possible?

Thanks in advance

Niels

-- 
Niels L Ellegaard  http://dirac.ruc.dk/~gnalle/


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



Scoring up unstable security fixes in my /etc/apt/preferences:

2004-02-21 Thread Niels L. Ellegaard

I am using debian testing.

Is it possible to configure my /etc/apt/preferences in such a way that
I automatically upgrade a package from testing to unstable whenever
this can save me from a security problem?

Perhaps I am looking for a pin that tells me whether or not a package
in unstable contains a fix for a security error.

I suspect that it would be easier for me to perform automatic
downgrading to sarge. The reason is that the security fixes for
woody(stable) are placed on a different server. However sometimes I
cannot downgrade without tearing everything apart in my
system. Therefore I would prefer to be able to upgrade.

Is this a wellknown problem? I would be grateful if someone would
enlighten me with a solution. (I did not find it in APT-HOWTO)

Thanks in advace

Niels


-- 
Niels L Ellegaard  http://dirac.ruc.dk/~gnalle/


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



ssh -t B sftp C (Was Re: ssh -X from A through B to C)

2004-02-11 Thread Niels L. Ellegaard
Cristian Gutierrez [EMAIL PROTECTED] writes:

   ssh -X B ssh -X C xclock

Is i possible to do something similar with sftp? The following creates
an sftp line from b to c, but I wish to create a line from a to c.

ssh -t B sftp C 

-- 
Niels L Ellegaard  http://dirac.ruc.dk/~gnalle/


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



Re: Errors starting up alsa

2004-02-01 Thread Niels L. Ellegaard
Monique Y. Herman [EMAIL PROTECTED] writes:

 Sorry for jumping into this thread late ... will the alsa intel8x0
 module work for any card using the ac97_codec module?

In the alsa howto there is a brief description of the hardware supported by alsa
http://www.tldp.org/HOWTO/Alsa-sound-3.html#ss3.3

I am not a great alsa master, so I can only give you a proof of
existence. I use kernel 2.4.22 and I have have a k7s5a card. I can
choose between a module called ac97_codec and alsa (which again uses a
module called snd-ac97-codec). However I cannot load both ac97 modules
at the same time.

Here is some lsmod output with alsa

snd-dummy   3520   0 
snd-usb-audio  37792   0  (unused)
snd-intel8x0   16068   3 
snd-pcm51012   1  [snd-dummy snd-usb-audio snd-intel8x0]
snd-timer  12196   0  [snd-pcm]
snd-ac97-codec 34360   0  [snd-intel8x0]
snd-page-alloc  5460   0  [snd-dummy snd-intel8x0 snd-pcm]
snd-mpu401-uart 2656   0  [snd-intel8x0]
snd-rawmidi11680   0  [snd-usb-audio snd-mpu401-uart]
snd-seq-device  3616   0  [snd-rawmidi]
snd24996   2  [snd-dummy snd-usb-audio snd-intel8x0 snd-pcm 
snd-timer snd-ac97-codec snd-mpu401-uart snd-rawmidi snd-seq-device]

There is a very specific description of the k7s5a card in the k7s5a
howto, but you can probably find more general descriptions elsewhere.
http://www.tldp.org/HOWTO/K7s5a-HOWTO.html


Niels

PS: Is k7s5a short for kissa?

-- 
Niels L Ellegaard  http://dirac.ruc.dk/~gnalle/


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



Re: Errors starting up alsa

2004-01-31 Thread Niels L. Ellegaard
Soumyadip Modak [EMAIL PROTECTED] writes:
 to build alsa modules for my kernel 2.4.21-5-k7. I also edited the
 config files as instructed. But when i /etc/init.d/alsa start the
 following error message is shown: Storing ALSA mixer settings
 ... failed Shutting down ALSA (version 0.9.6): done.  Starting ALSA
 (version 0.9.6): intel8x0-failed failed

I got a somewhat similar message a few days ago because i had
forgotten to uninstall the ac97_codec module.  I solved my proplem by
adding the following lines to /etc/discover-autoskip.conf

skip i810_audio
skip ac97_codec

What do you get when you write lsmod?

Do any of the files in /var/log directory mention the attempt to
include ALSA. What do they tell you?

 Good luck

Niels


-- 
Niels L Ellegaard  http://dirac.ruc.dk/~gnalle/


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



Nvidia-kernel-source unresolved symbols

2004-01-26 Thread Niels L. Ellegaard
 for assistance, only they
  can help you.


nissefisken# lsmod
Module  Size  Used byNot tainted
apm 8492   1  (autoclean)
pcmcia_core35360   0 
snd-dummy   3520   0 
snd-usb-audio  37792   0  (unused)
snd-intel8x0   16068   3 
snd-pcm51012   1  [snd-dummy snd-usb-audio snd-intel8x0]
snd-timer  12196   0  [snd-pcm]
snd-ac97-codec 34360   0  [snd-intel8x0]
snd-page-alloc  5460   0  [snd-dummy snd-intel8x0 snd-pcm]
snd-mpu401-uart 2656   0  [snd-intel8x0]
snd-rawmidi11680   0  [snd-usb-audio snd-mpu401-uart]
snd-seq-device  3616   0  [snd-rawmidi]
snd24996   2  [snd-dummy snd-usb-audio snd-intel8x0 snd-pcm 
snd-timer snd-ac97-codec snd-mpu401-uart snd-rawmidi snd-seq-device]
usb-uhci   19696   0  (unused)
sis900 11436   0  (unused)
ide-scsi8464   0 
scsi_mod   85344   1  [ide-scsi]
ide-cd 27936   0  (autoclean)
cdrom  25088   0  (autoclean) [ide-cd]
pwc38952   0  (unused)
videodev5184   1  [pwc]
audio  37368   0 
soundcore   3268   2  [snd audio]
usbcore52588   0  [snd-usb-audio usb-uhci pwc audio]
i2c-proc6352   0  (unused)
i2c-core   11780   0  [i2c-proc]
nls_cp865   4284   0  (unused)
parport_pc 19400   1  (autoclean)
lp  5952   0 
parport21800   1  [parport_pc lp]
nls_iso8859-1   2780   0  (unused)
slhc4464   0  (unused)
8139too13640   1 
mii 1984   0  [8139too]
crc32   2848   0  [sis900 8139too]
af_packet  11624   0  (unused)
rtc 6120   0  (autoclean)
ide-disk   12384   4  (autoclean)
ext3   53220   2  (autoclean)
jbd34824   2  (autoclean) [ext3]
ide-detect  9008   0  (autoclean)
sis5513 9968   1  (autoclean)
ide-core   84216   4  (autoclean) [ide-scsi ide-cd ide-disk ide-detect 
sis5513]
unix   13260 221  (autoclean)



-- System Information:
Debian Release: testing/unstable
Architecture: i386
Kernel: Linux nissefisken 2.4.22-1-386 #9 Sat Oct 4 14:30:39 EST 2003 i686
Locale: LANG=C, LC_CTYPE=C

Versions of packages nvidia-kernel-source depends on:
ii  debhelper 4.1.83 helper programs for debian/rules
ii  make  3.80-4 The GNU version of the make util

-- no debconf information
~   

nissefisken# dpkg -l nvidia-glx gcc libc6 
Desired=Unknown/Install/Remove/Purge/Hold
| Status=Not/Installed/Config-files/Unpacked/Failed-config/Half-installed
|/ Err?=(none)/Hold/Reinst-required/X=both-problems (Status,Err: uppercase=bad)
||/ Name  Version   
Description
+++-=-=-==
ii  nvidia-glx1.0.4496-2.1  NVIDIA 
binary XFree86 4.x driver
ii  gcc   3.3.2-2   The 
GNU C compiler
ii  libc6 2.3.2.ds1-10  GNU C 
Library: Shared libraries and Timezone data


-- 
Niels L Ellegaard  http://dirac.ruc.dk/~gnalle/


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



Re: Purging Alsa - invoke-rc.d: initscript alsa, action stop failed.

2004-01-25 Thread Niels L. Ellegaard
Kevin Mark [EMAIL PROTECTED] writes:

 You can see what script is failing by looking in
 /var/lib/dpkg/info/package.* Although, it seems that the prerm
 (pre-remove) script is trying to shut down alsa by running
 /etc/init.d/alsa stop (may no be correct name). So, you may need to
 do a workaround by putting a 'exit 0' at the top of the script. This
 should allow you to run the scripts with out error.  you can also
 try to run dpkg with 'debug' options (man dpkg)

The error occured because rplayd was using the alsa-modules.

dpkg --purge  -D10 alsa-modules-2.4.22-1-386
killall -9 rplayd
dpkg --purge  -D10 alsa-modules-2.4.22-1-386 
Profit

 Thank you for the helpful advice.

Niels

-- 
Niels L Ellegaard  http://dirac.ruc.dk/~gnalle/


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



Re: features in galeon-1.2.5 vs 1.3.11+, was: Status of Galeon in testing?

2004-01-24 Thread Niels L. Ellegaard
Arnt Karlsen [EMAIL PROTECTED] writes:

 ..how about cookies?  I generally want allow these cookies ban these
 cookies and ban this spam site, should take 3 buttons only, but is a
 major hassle with all browsers I've used, you get accept or ban and 
 these cookies only or all cookies.

Right click on picture and chose ban pictures from this site

In the menu you can choose
web - cookies - ban cookies from this site
web - popups -  ban popups from this site
(These menu item took me a while to find :)

They have made a nice personal data manger with the following tabs:

Cookies : Which cookies do you have
Cookie sites : Who can/cannot set cookies
Image sites : Who can/cannot show images
Passwords : Which passwords do you remember
Password sites : For which sites don't you wish to remember passwords
Popup sites : Which sites cannot make popups

 ..is it still possible to drag tabs across each other?  Or between
 Galeon instances?

You can drag tabs from one Galeon window to another Galeon
window. (Window == instance?). This works very nicely. 

My only grudge is that if a Galeon window only has one tab, then the
drag handle disappears. This means that I cannot drag the last
remaining tab into another window. In other words I cannot empty a
window for all tabs. Galeon 1.2.5 had a very nice menu item for this
but sadly this menu item has not been reimplemented.

 ..the interview explained quite a things, losing bonobo sounds good,
 but does these guys plan to add mail etc stuff to it???

I hope that they stick to their slogan The web and only the web :)
However I believe that Galeon works nicely together with sylpheed and
evolution. (I am writing this post using xemacs/GNUS and SSH, so there
is no hope for me :)

   Med venlig hilsen 

Niels

-- 
Niels L Ellegaard  http://dirac.ruc.dk/~gnalle/


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



Purging Alsa - invoke-rc.d: initscript alsa, action stop failed.

2004-01-24 Thread Niels L. Ellegaard

I have messed up my ALSA installation, and now I cannot remove the package.

Some time ago I was compiling my kernels myself, and i think that I
tried to install alsa without much luck, so there may be some old
config files floating around in my system.

What can I do to solve my problems?

What should I read to understand them better? 

   Thanks in advance

Niels

nissefisken# apt-get remove alsa-modules-2.4.22-1-386
Reading Package Lists... Done
Building Dependency Tree... Done
The following packages will be REMOVED:
  alsa-modules-2.4.22-1-386
0 upgraded, 0 newly installed, 1 to remove and 22 not upgraded.
Need to get 0B of archives.
After unpacking 2879kB disk space will be freed.
Do you want to continue? [Y/n] y
(Reading database ... 269782 files and directories currently installed.)
Removing alsa-modules-2.4.22-1-386 ...
Storing ALSA mixer settings ... failed
Shutting down ALSA (version 0.9.6): aborting. (sound used by PIDs 702
849)
invoke-rc.d: initscript alsa, action stop failed.
dpkg: error processing alsa-modules-2.4.22-1-386 (--remove):
 subprocess post-removal script returned error exit status 1
Errors were encountered while processing:
 alsa-modules-2.4.22-1-386
E: Sub-process /usr/bin/dpkg returned an error code (1)


nissefisken# invoke-rc.d alsa stop   
Storing ALSA mixer settings ... failed
Shutting down ALSA (version 0.9.6): aborting. (sound used by PIDs 702
849)
invoke-rc.d: initscript alsa, action stop failed.



-- System Information:
Debian Release: testing/unstable
Architecture: i386
Kernel: Linux nissefisken 2.4.22-1-386 #9 Sat Oct 4 14:30:39 EST 2003 i686
Locale: LANG=C, LC_CTYPE=C

Versions of packages alsa-modules-2.4.22-1-386 depends on:
pi  alsa-base 0.9.8-3ALSA sound driver common files
ii  kernel-image-2.4.22-1-386 2.4.22-3   Linux kernel image for version 2.4

-- no debconf information

-- 
Niels L Ellegaard  http://dirac.ruc.dk/~gnalle/


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



Re: features in galeon-1.2.5 vs 1.3.11+, was: Status of Galeon in testing?

2004-01-22 Thread Niels L. Ellegaard
Arnt Karlsen [EMAIL PROTECTED] writes:

 ..last time I saw Galeon mentioned here, the word was 1.2.5 was the
 best Galeon ever made, as later versions lost functionality etc,
 what's it like now?


I am using stable at work and unstable at home, and I often don't
really notice which version I am using. However I have made a few
observations:

The password remembering GUI has become nicer. It has become easier to
choose between several accounts on the same page, and to delete
unwanted passwords.

It has become possible to drag selected text into a smart
bookmarks. This is useful for finding google cache (Drag the current
url into the google bookmark, and press cache).

If you double click on a link to create a new tab, then the new tab is
born with a memory of the the history of it's ancestor.

They have come up with a nice algorithm for placing newly created
tabs: Suppose you create a tree that describes the ancestry relations
between the tabs. Then you perform a depth first search in this
tree. This search will result in an ordering of the nodes. This
ordering corresponds to the ordering of the tabs in Galeon. (** Insert
better description here **)

Downloading has become nicer, but perhaps this is a result of a
gnome/gtk improvement.

Mouse getures are very amusing, but I haven't yet decided if I think
that they are useful :)

I really miss to be able to middle click on the previous page
button. In 1.2.5 this creates a new tab containing the previous
page. In 1.3.11a nothing happens. 

I also miss to be able to clone a tab by middle clicking on the tab.

I have some font problems. If I color text with the mouse, then the
colored letters become too big. I should probably report the bug
instead of complaining here :)

Some of the preferences are still missing, but I don't really miss
them.

I conclusion I would say that 1.3.11a is a better browser than
1.25. Galeon has become a power browser again :)

   Niels


-- 
Niels L Ellegaard  http://dirac.ruc.dk/~gnalle/


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



Re: Logitech Quickcam Pro 4000

2004-01-14 Thread Niels L. Ellegaard
[EMAIL PROTECTED] writes:

 Hello everyone,
  I'm having difficulty getting this webcam to work.  I compiled the phillips 
 webcam module as part of the kernel, it appears to load properly but still does 
 not work. /dev/video0 did not exist so i created it with 'mknod /dev/video0 c 81 
 0'. Here's what the kernel shows on load: 
 pwc Philips PCA645/646 + PCVC675/680/690 + PCVC730/740/750 webcam module version 
 8.12 loaded.
 pwc Also supports the Askey VC010, various Logitech QuickCams, Samsung MPC-C10 
 and MPC-C30,
 pwc the Creative WebCam 5, SOTEC Afina Eye and Visionite VCS-UC300 and 
 VCS-UM100.
 drivers/usb/core/usb.c: registered new driver Philips webcam
 Philips webcam 2-1:1.1: usb_probe_interface
 Philips webcam 2-1:1.1: usb_probe_interface - got id
 pwc Logitech QuickCam 4000 Pro USB webcam detected.
 pwc Registered as /dev/video0.

IANAMOKC (I am not a master of kernel compiling), but I believe that
you also need one of the following modules: usb-ohci, usb-uhci or
ehci-hcd. You can find out which of the module you need, by writing
the following (as root)

lspci -vv | grep USB

Alternatively you can look at the specifications of the USB-port of
your computer (It will mention one of the words UHCI, OHCI or EHCI).

By the way, there has been several reports of people having problems
using pwc with OHCI ports. Search google for further information.

http://www.google.com/search?q=pwc+ohci+timeout

  Good luck

Niels


-- 
Niels L Ellegaard  http://dirac.ruc.dk/~gnalle/


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



Re: Broken Galeon in Sarge

2003-11-27 Thread Niels L. Ellegaard
Thanasis Kinias [EMAIL PROTECTED] writes:


 I don't know if this has to do with the Debian security situation, but
 the three Sarge boxes I apt-get updated yesterday all now have broken
 Galeons.  Galeon refuses to execute, claiming that it can't find a gconf
 schema. 

I have the same problem: The /var/log/syslog is more elaborate

Nov 26 22:02:53 nissefisken gconfd (gnalle-5695): starting (version
2.4.0.1), pid 5695 user 'gnalle'
Nov 26 22:02:53 nissefisken gconfd (gnalle-5695): Failed to get lock
for daemon, exiting: Failed to lock '/tmp/gconfd-gnalle/lock/ior':
probably another process has the lock, or your operating system has
NFS file locking misconfigured (Resource temporarily unavailable)
Nov 26 22:02:53 nissefisken gconfd (gnalle-5697): starting (version
2.4.0.1), pid 5697 user 'gnalle'
Nov 26 22:02:53 nissefisken gconfd (gnalle-5697): Failed to get lock
for daemon, exiting: Failed to lock '/tmp/gconfd-gnalle/lock/ior':
probably another process has the lock, or your operating system has
NFS file locking misconfigured (Resource temporarily unavailable)

The problems started when the 2.4 packages made it into Sarge. I just
send a bug report.

While I am at it I promise my eternal admiration and love to anyone
who make Galeon work in Sarge again. It is such a nice program :)

Niels

-- 
Niels L Ellegaard  http://dirac.ruc.dk/~gnalle/

Heat is the self-restoration of matter in its formlessness, its
liquidity the triumph of its abstract homogeneity over specific
definiteness, its abstract, purely self-existing continuity, as
negation of negation, is here set as activity. - Hegel


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



Re: Broken Galeon in Sarge

2003-11-27 Thread Niels L. Ellegaard
Paul Morgan [EMAIL PROTECTED] writes:


 It's not a bug.  Galeon no longer exists in Sarge.  Yes, I know, I
 liked it too :(
[snip]
 If you need to convert your Galeon bookmarks file for use with Mozilla
 or Mozilla Firebird, please see the post entitled How to convert
 Galeon bookmarks to Mozilla without Galeon dated 11/23/03

Thanks for the hints (I must be a little slow).

Would it be correct to add a warning that the package Galeon conflicts
with one of the packages in Gnome 2.4?

Niels


-- 
Niels L Ellegaard  http://dirac.ruc.dk/~gnalle/

Heat is the self-restoration of matter in its formlessness, its
liquidity the triumph of its abstract homogeneity over specific
definiteness, its abstract, purely self-existing continuity, as
negation of negation, is here set as activity. - Hegel


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



Re: XFree86 + Signal 11 = Bad Juju

2003-09-08 Thread Niels L. Ellegaard
Bradley Alexander [EMAIL PROTECTED] writes:

 I've been seeing problems for the past several weeks and I am finally
 beginning to see a pattern. It started about the time I upgraded to a
 GeForce4MX after my GeForce2 died. At first I thought it was being caused
 by Gnome apps, because it was happening with greater frequency with Galeon
 and Evolution (about the only Gnome apps I use).
[snip]
 Fatal server error:
 Caught signal 11.  Server aborting
[snip]
 Is a sig11 still usually hardware? Any other suggestions on fixes?

I had a somewhat similar problem. Well actually it was worse, because
I could not start my x-server at all. Bug report: 

http://www.mail-archive.com/[EMAIL PROTECTED]/msg07946.html

Personally I solved my problem by downgrading my x-server from 4.2 to
4.0. I don't know if this will work for you, but at least it might
tell you whether you have a software problem or a hardware problem :)

Good luck

-- 
Niels L Ellegaard  http://dirac.ruc.dk/~gnalle/


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



Re: Ncurses?

2003-09-06 Thread Niels L. Ellegaard
Søren Boll Overgaard [EMAIL PROTECTED] writes:
 fre, 2003-09-05 kl. 19:51 skrev Anders Ellenshøj Andersen:
   make xconfig
  Kræver dette ikke at man er logget ind på X som root? Det er man jo typisk 
  ikke..
 Nej. På Debian-systemer kan medlemmer af gruppen src også bygge kerner
 under /usr/src/.

Jeg kan gøre sådan her:

nissefisken% whoami
gnalle
nissefisken% cd /usr/src/linux 
nissefisken% su
Password: 
nissefisken# make xconfig

WDette skyldes vistnok at jeg har tilføjet en linie til min
/home/gnalle/.ssh/config.

nissefisken% cat .ssh/config 
Host *
ForwardX11 yes

Er min computer meget usikker nu?

-- 
Niels L Ellegaard  http://dirac.ruc.dk/~gnalle/




Re: pwc webcam freeze: usb_control/bulk_msg: timeout

2003-09-06 Thread Niels L. Ellegaard
: power on to power good
time: 0ms
Sep  6 17:41:59 nissefisken kernel: hub.c: hub controller current
requirement: 0mA
Sep  6 17:41:59 nissefisken kernel: hub.c: port removable status:
R
Sep  6 17:41:59 nissefisken kernel: hub.c: local power source is good
Sep  6 17:41:59 nissefisken kernel: hub.c: no over-current condition
exists
Sep  6 17:41:59 nissefisken kernel: hub.c: enabling power on all ports
Sep  6 17:41:59 nissefisken kernel: usb.c: hub driver claimed
interface c72b7860
Sep  6 17:41:59 nissefisken kernel: usb.c: kusbd: /sbin/hotplug add 1
Sep  6 17:41:59 nissefisken kernel: usb.c: kusbd policy returned
0xfffe


-- 
Niels L Ellegaard  http://dirac.ruc.dk/~gnalle/


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



Re: Ncurses?

2003-09-05 Thread Niels L. Ellegaard
Jacob Sparre Andersen [EMAIL PROTECTED] writes:

 Jeg skulle til at justere min kerneopsætning her til
 formiddag (med en nyudpakket 2.4.22-kernekildetekst), men
 `make menuconfig` brokker sig over at jeg ikke har Ncurses
 installeret.  Da jeg pakkerne libncurses5, ncurses-base,
 ncurses-bin  og ncurses-term installeret på systemet
 undrer det mig lidt.

Hmm... er det ikke noget med

apt-get libncurses5-dev

Ellers er der jo 

make xconfig

-- 
Niels L Ellegaard  http://dirac.ruc.dk/~gnalle/



Re: insmod usb-uhci -No such device

2003-09-03 Thread Niels L. Ellegaard
csj [EMAIL PROTECTED] writes:
 At 02 Sep 2003 22:19:32 +0200,
 Niels L. Ellegaard wrote:
  I have some trouble loading the module usb-uhci into my kernel
  (It is a 2.4.21 and I am using Sarge). I would be very grateful
  for a hint of what I am doing wrong. Where should I look to
  gain further knowledge?
 [...]
 Are you sure you need usb-uhci?  There are two other USB Host
 Controller Drivers.  How'bout modprobe ehci-hcd (USB 2.0
 version) or modprobe usb-ohci?

I have a logitech 4000 camera and I can use it with camstream and
usb-ohci. However after a while it freezes with a v4l
timeout. (Details will follow in a later post)

I decided to try to follow the the installation instructions of the
drivers precisely, before asking too many questions, and the website
of my camera drivers (pwc and pwcx) tells me to use usb-uhci.

Are usb-ohci and  usb-uhci equally good for an usb webcam?

Niels 

-- 
Niels L Ellegaard  http://dirac.ruc.dk/~gnalle/


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



pwc webcam freeze: usb_control/bulk_msg: timeout

2003-09-03 Thread Niels L. Ellegaard

I have been trying to install a logitech 4000 webcam, but when I use
camstream the picture freezes after a short while and the following
line appears in /var/log/syslog
  
Sep  3 20:30:22 nissefisken kernel: usb_control/bulk_msg: timeout

I would be very grateful for any advice on how to avoid this problem.

My computer is a x86 with a k7s5a board and Sarge and my own 2.4.21 
kernel (See below). 

Browsing around on Google it looks like my usb ports are getting
overburdened, so tried the closed source pwcx compressor module. This
modules helped a little, I was able to save 10 snapshots before the
timeout appeared, but in the end I still had a freeze.

The following data is from a test with no pwcx module

nissefisken# lsmod
Module  Size  Used byTainted: PF 
pwc44748   1  (autoclean)
usb-ohci   20040   0  (unused)
nvidia   1628576  11  (autoclean)
sis900 14412   0  (unused)
i810_audio 25756   2 
ac97_codec 11892   0  [i810_audio]
soundcore   4260   2  [i810_audio]
usbcore73036   0  [pwc usb-ohci]
i2c-proc7344   0  (unused)
i2c-core   13892   0  [i2c-proc]
parport_pc 13732   1  (autoclean)
lp  6592   1 
parport16096   1  [parport_pc lp]
8139too15912   1 
rtc 7464   0  (autoclean)


From dmesg:

pwc Philips PCA645/646 + PCVC675/680/690 + PCVC730/740/750 webcam
module version 8.10 loaded.
pwc Also supports the Askey VC010, various Logitech Quickcams, Samsung 
MPC-C10 and MPC-C30,
pwc the Creative WebCam 5, SOTEC Afina Eye and Visionite VCS-UC300 and 
VCS-UM100.
usb.c: registered new driver Philips webcam
pwc Logitech QuickCam 4000 Pro USB webcam detected.
pwc Registered as /dev/video0.
usb.c: Philips webcam driver claimed interface cf171920
usb_control/bulk_msg: timeout


From /var/log/syslog

Sep  3 20:30:16 nissefisken kernel: pwc Philips PCA645/646 +
PCVC675/680/690 + PCVC730/740/750 webcam module version 8.10 loaded.
Sep  3 20:30:16 nissefisken kernel: pwc Also supports the Askey VC010, 
various Logitech Quickcams, Samsung MPC-C10 and MPC-C30,
Sep  3 20:30:16 nissefisken kernel: pwc the Creative WebCam 5, SOTEC
Afina Eye and Visionite VCS-UC300 and VCS-UM100.
Sep  3 20:30:16 nissefisken kernel: usb.c: registered new driver
Philips webcam
Sep  3 20:30:16 nissefisken kernel: pwc Logitech QuickCam 4000 Pro USB 
webcam detected.
Sep  3 20:30:16 nissefisken kernel: pwc Registered as /dev/video0.
Sep  3 20:30:16 nissefisken kernel: usb.c: Philips webcam driver
claimed interface cf171920
Sep  3 20:30:16 nissefisken insmod: Note: /etc/modules.conf is more
recent than /lib/modules/2.4.21/modules.dep
Sep  3 20:30:22 nissefisken kernel: usb_control/bulk_msg: timeout


Output from camstream:

CCamWindow::CCamWindow()
CWebCamViewer::CWebCamViewer(0x80ab770, 0x0)
CVideoDevice::Init()
Using mmap(), VMBuf.size = 921600
Trying to find video options for Logitech QuickCam Pro
4000:/dev/video0
searching Logitech QuickCam Pro 4000
CSnapshotSettingsDlg::CSnapshotSettingsDlg(...)
QFont::setRawMode(): Invalid XLFD: system
CVideoSettingsDlg::SizeChanged(176x144)
CVideoSettingsDlg::FramerateChanged(10)
Philips webcam detected, enabling extensions
CCamPanel::SetSize(176x144)
CCamPanel::SetImageSize(176x144)
CCamPanel::SetVisibleSize(176x144)
CCamPanel::SetSize(176x144)
CCamPanel::SetImageSize(176x144)
CCamPanel::SetVisibleSize(176x144)
RecalcTotalViewSize: resize viewport(176x144)
EnableRGB: +
CVideoDevice::SetPalette picked palette 15 [yuv420p]
CVideoDevice::CreateImagesRGB()
 allocating space for RGB
CVideoDevice::StartCapture() go!

From /etc/modules.conf

alias char-major-81  videodev
alias char-major-81-0pwc

# The following lines have been commented out
# options pwc size=vga leds=250,250 fps=25 mbufs=3 compression=0
# post-install pwc insmod --force -k 
/lib/modules/2.4.21/kernel/drivers/usb/pwcx-2.4.20.o  /dev/null 21 || : 


Random lines from my /usr/src/linux/.config
 
#
# USB support
#
CONFIG_USB=m
CONFIG_USB_DEBUG=y

#
# Miscellaneous USB options 
#
CONFIG_USB_DEVICEFS=y
# CONFIG_USB_BANDWIDTH is not set

#
# USB Host Controller Drivers
#
CONFIG_USB_UHCI=m
CONFIG_USB_UHCI_ALT=m
CONFIG_USB_OHCI=m

#
# USB Multimedia devices
#
# CONFIG_USB_IBMCAM is not set
# CONFIG_USB_KONICAWC is not set
# CONFIG_USB_OV511 is not set   
CONFIG_USB_PWC=m
CONFIG_USB_SE401=m
# CONFIG_USB_STV680 is not set

-- 
Niels L Ellegaard  http://dirac.ruc.dk/~gnalle/


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



insmod usb-uhci -No such device

2003-09-02 Thread Niels L. Ellegaard

I have some trouble loading the module usb-uhci into my kernel (It is
a 2.4.21 and I am using Sarge). I would be very grateful for a hint
of what I am doing wrong. Where should I look to gain further knowledge?

Thanks in advance

Niels

nissefisken# lsmod
Module  Size  Used byTainted: P  
nvidia   1628576  11  (autoclean)
sis900 14412   0  (unused)
i810_audio 25756   1 
ac97_codec 11892   0  [i810_audio]
soundcore   4260   2  [i810_audio]
usbcore73036   0 
i2c-proc7344   0  (unused)
i2c-core   13892   0  [i2c-proc]
parport_pc 13732   1  (autoclean)
lp  6592   1 
parport16096   1  [parport_pc lp]
8139too15912   1 
rtc 7464   0  (autoclean)
nissefisken# modprobe usb-uhci
/lib/modules/2.4.21/kernel/drivers/usb/host/usb-uhci.o: init_module:
No such device
Hint: insmod errors can be caused by incorrect module parameters, including invalid IO 
or IRQ parameters.
  You may find more information in syslog or the output from dmesg
/lib/modules/2.4.21/kernel/drivers/usb/host/usb-uhci.o: insmod
/lib/modules/2.4.21/kernel/drivers/usb/host/usb-uhci.o failed
/lib/modules/2.4.21/kernel/drivers/usb/host/usb-uhci.o: insmod
usb-uhci failed
nissefisken# dmesg | tail -n 5
usb-uhci.c: High bandwidth mode enabled
usb-uhci.c: v1.275:USB Universal Host Controller Interface driver
usb-uhci.c: $Revision: 1.275 $ time 12:38:20 Aug 16 2003
usb-uhci.c: High bandwidth mode enabled
usb-uhci.c: v1.275:USB Universal Host Controller Interface driver
nissefisken# modprobe usb-uhci 
/lib/modules/2.4.21/kernel/drivers/usb/host/usb-uhci.o: init_module:
No such device
Hint: insmod errors can be caused by incorrect module parameters, including invalid IO 
or IRQ parameters.
  You may find more information in syslog or the output from dmesg
/lib/modules/2.4.21/kernel/drivers/usb/host/usb-uhci.o: insmod
/lib/modules/2.4.21/kernel/drivers/usb/host/usb-uhci.o failed
/lib/modules/2.4.21/kernel/drivers/usb/host/usb-uhci.o: insmod
usb-uhci failed
nissefisken% ls /lib/modules/2.4.21/kernel/drivers/usb/host   
uhci.o  usb-ohci.o  usb-uhci.o

Here are some lines from /usr/src/linux/.config. Dunno if they are useful 

#
# USB support
#
CONFIG_USB=m
CONFIG_USB_DEBUG=y

#
# Miscellaneous USB options
#
CONFIG_USB_DEVICEFS=y
# CONFIG_USB_BANDWIDTH is not set

#
# USB Host Controller Drivers
#
CONFIG_USB_UHCI=m
CONFIG_USB_UHCI_ALT=m
CONFIG_USB_OHCI=m

#
# USB Device Class drivers
#
CONFIG_USB_AUDIO=m
# CONFIG_USB_EMI26 is not set
# CONFIG_USB_MIDI is not set
CONFIG_USB_STORAGE=m
# CONFIG_USB_STORAGE_DEBUG is not set
# CONFIG_USB_STORAGE_FREECOM is not set
# CONFIG_USB_STORAGE_ISD200 is not set
# CONFIG_USB_STORAGE_DPCM is not set
# CONFIG_USB_ACM is not set
# CONFIG_USB_PRINTER is not set

# USB Multimedia devices
#
# CONFIG_USB_IBMCAM is not set
# CONFIG_USB_KONICAWC is not set
# CONFIG_USB_OV511 is not set
CONFIG_USB_PWC=m
CONFIG_USB_SE401=m
# CONFIG_USB_STV680 is not set


-- 
Niels L Ellegaard  http://dirac.ruc.dk/~gnalle/


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



Re: Circular dependencies? dpkg -P kdelibs3

2003-08-15 Thread Niels L. Ellegaard
Sven Clasen - Hacki [EMAIL PROTECTED] writes:
 i had the same problem with exim and mailx, it seems to occur when
 you try to apt-get two packages at the same time (with apt-get
 install package1 package2), but when package2 depends on package1
 you get an error. it seems to be the same when you want so remove
 them in one. try reming one, then the other (apt-get remove
 kdelibs-bin, then apt-get remove kdelibs (or the other way round))

Thanks for your answer. I have a feeling that I posed my qustion
badly. I am able to remove both packages by writing

apt-get remove  package1 package2

However I would like to purge instead of remove, and as far as I have
understood this requires that I can purge the packages one at a
time. 

I guess that I can solve my problem by the following code

apt-get remove  package1 package2
apt-get install package1 
dpkg -P package1 
apt-get install package2 
dpkg -P package2 

-- 
Niels L Ellegaard  http://dirac.ruc.dk/~gnalle/


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



Re: No Gnome-settings-Daemon (Sarge + Woody control-center)

2003-08-14 Thread Niels L. Ellegaard
Sebastian Kapfer [EMAIL PROTECTED] writes:

 On Wed, 13 Aug 2003 13:50:06 +0200, Niels L. Ellegaard wrote:
 
  I upgraded from Woody to Sarge last week, and now I cannot start my
  gnome. Xfree and KDE works. Well actually I had some problems with the
  xserver of sarge, so now I am running xfree from woody. Bug report
  here
  http://lists.debian.org/debian-x/2003/debian-x-200308/msg00177.html
[snip]
  Which information should I provide to describe my problem better?
 
 ~/.xsession-errors
 ~/.gnome-errors

It seems that I miss a file named /home/gnalle/.gnome2/debian-upgrade-stage-1

When I start gnome, I don't get far enough to create a .gnome-errors,
but here is my .xsession-errors.

/etc/gdm/PreSession//Default: Registering your session with wtmp and
utmp
/etc/gdm/PreSession//Default: running: sessreg -a -w /var/log/wtmp -u
/var/run/utmp -x /var/lib/gdm/:0.Xservers -h  -l :0 gnalle
/etc/gdm/Sessions//Gnome: checking /etc/login.defs for option UMASK
/etc/gdm/Sessions//Gnome: /etc/login.defs: UMASK is 022
/etc/gdm/Sessions//Gnome: checking /etc/login.defs for option ULIMIT
/etc/gdm/Sessions//Gnome: checking /etc/login.defs for option MAIL_DIR
/etc/gdm/Sessions//Gnome: /etc/login.defs: MAIL_DIR is /var/mail
/etc/gdm/Sessions//Gnome: using /etc/X11/Xsession.options for options
/etc/gdm/Sessions//Gnome: checking /etc/X11/Xsession.options for
option allow-user-xkbmap
/etc/gdm/Sessions//Gnome: checking /etc/X11/Xsession.options for
option allow-user-modmap
/etc/gdm/Sessions//Gnome: checking /etc/X11/Xsession.options for
option allow-user-resources
SESSION_MANAGER=local/nissefisken:/tmp/.ICE-unix/1374
Couldn't access Debian Stage 1 upgrade file
/home/gnalle/.gnome2/debian-upgrade-stage-1: No such file or directory

Does this make sense to great gurus?

Should I just create the file?

   Happy birthday

Niels

PS: I do have a .gnome2/debian-upgrade-log, but it doesn't contain
anything that looks useful (long - sorry modem users, I owe you money)

gnome-panel-1-to-2: running: gconftool-2 -s 
/apps/panel/profiles/default/objects/0013/launcher_location -t string -- 
file:///home/gnalle/.gnome2/panel2.d/default/launchers/larry-0010f13c6d.desktop
gnome-panel-1-to-2: running: gconftool-2 -s 
/apps/panel/profiles/default/objects/0013/position -t int -- 258
gnome-panel-1-to-2: running: gconftool-2 -s 
/apps/panel/profiles/default/objects/0013/panel_id -t string -- 0001
gnome-panel-1-to-2: running: gconftool-2 -s 
/apps/panel/profiles/default/objects/0013/panel_right_stick -t boolean -- false
gnome-panel-1-to-2: Reading applet/object id 14
gnome-panel-1-to-2: running: gconftool-2 -s 
/apps/panel/profiles/default/objects/0014/panel_right_stick -t boolean -- false
gnome-panel-1-to-2: running: gconftool-2 -s 
/apps/panel/profiles/default/objects/0014/object_type -t string -- launcher-object
gnome-panel-1-to-2: running: gconftool-2 -s 
/apps/panel/profiles/default/objects/0014/launcher_location -t string -- 
file:///home/gnalle/.gnome2/panel2.d/default/launchers/hammer-00472395ca.desktop
gnome-panel-1-to-2: running: gconftool-2 -s 
/apps/panel/profiles/default/objects/0014/position -t int -- 105
gnome-panel-1-to-2: running: gconftool-2 -s 
/apps/panel/profiles/default/objects/0014/panel_id -t string -- 0001
gnome-panel-1-to-2: running: gconftool-2 -s 
/apps/panel/profiles/default/objects/0014/panel_right_stick -t boolean -- false
gnome-panel-1-to-2: Reading applet/object id 15
gnome-panel-1-to-2: running: gconftool-2 -s 
/apps/panel/profiles/default/applets/0007/object_type -t string -- bonobo-applet
gnome-panel-1-to-2: running: gconftool-2 -s 
/apps/panel/profiles/default/applets/0007/bonobo_iid -t string -- 
OAFIID:GNOME_MixerApplet
gnome-panel-1-to-2: running: gconftool-2 -s 
/apps/panel/profiles/default/applets/0007/position -t int -- 1003
gnome-panel-1-to-2: running: gconftool-2 -s 
/apps/panel/profiles/default/applets/0007/panel_id -t string -- 0001
gnome-panel-1-to-2: running: gconftool-2 -s 
/apps/panel/profiles/default/applets/0007/panel_right_stick -t boolean -- false
gnome-panel-1-to-2: Reading applet/object id 16
gnome-panel-1-to-2: running: gconftool-2 -s 
/apps/panel/profiles/default/applets/0008/object_type -t string -- bonobo-applet
gnome-panel-1-to-2: running: gconftool-2 -s 
/apps/panel/profiles/default/applets/0008/bonobo_iid -t string -- 
OAFIID:GNOME_ClockApplet
gnome-panel-1-to-2: running: gconftool-2 -s 
/apps/panel/profiles/default/applets/0008/prefs/show_seconds -t boolean -- true
gnome-panel-1-to-2: running: gconftool-2 -s 
/apps/panel/profiles/default/applets/0008/prefs/show_tooltip -t boolean -- true
gnome-panel-1-to-2: running: gconftool-2 -s 
/apps/panel/profiles/default/applets/0008/prefs/gmt_time -t boolean -- false
gnome-panel-1-to-2: running: gconftool-2 -s 
/apps/panel/profiles/default/applets/0008/prefs/unix_time -t boolean -- false

No Gnome-settings-Daemon (Sarge + Woody control-center)

2003-08-14 Thread Niels L. Ellegaard
I upgraded from Woody to Sarge last week, and now I cannot start my
gnome. Xfree and KDE works. Well actually I had some problems with the
xserver of sarge, so now I am running xfree from woody. Bug report
here
http://lists.debian.org/debian-x/2003/debian-x-200308/msg00177.html

When I chose gnome from gdm I get an error message saying I did not
have any gnome-settings-daemon. I just ended up with a grey screen.

I tried reinstalling the gnome-control-center from Woody. This package
had become uninstalled during the apt-getting. I believe this was due
to a conflict with icewm-gnome. I started gnome again and teh same
thing happened: Error message and grey screen.

Then I tried installing gnome-control-center from unstable. Now I
don't see the error message my screen still goes grey. (I also see a
splash screen)

I realize that this is not a proper bug report, but I am a little
confused about which log files I should look in. I have checked
/var/log/syslog, /var/log/XFRee86 and /var/gdm, but I seem to miss
some information.

Is is correct for me to use the gnome-settings-daemon from Woody?

Which information should I provide to describe my problem better?

Is there a chance that this problem will dissapear by itself as new
gnome2 packages enter testing?


Thanks in advance for any help

Niels


-- 
Niels L Ellegaard  http://dirac.ruc.dk/~gnalle/


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



Er pakken installeret (uden root)

2003-07-30 Thread Niels L. Ellegaard

Hvis jeg kender navnet på en pakke, kan jeg så bruge en apt-kommando
til at se om pakken er installeret. (Antage at jeg ikke har
root-passwordet)

Indtil videre er mit bedste bud at søge på packages.debian.org, og
finde de filer som pakken indeholder. Derefter kan jeg finde dem med
locate. Men jeg har en ide om at der er en lettere løsning som jeg har
overset.

På forhånd tak

Niels

-- 
Niels L Ellegaard  http://dirac.ruc.dk/~gnalle/