Bizarre graphical glitch with Gnome3 on after last update on testing

2016-11-15 Thread Pavlos Parissis
Hoi,

I pulled down yesterday kernel (4.8.5) and Gnome (3.22.1-> 3.22.2) upgrades, and
since then I get graphical glitches when switch between screens. It is very
difficult to make a screen-shot of them, sorry. The issue appeared after the 
reboot.

I have a laptop with Intel Corporation Sky Lake Integrated Graphics and I have 2
external monitors connected to it. T

Has anyone seen this?

Cheers,
Pavlos



signature.asc
Description: OpenPGP digital signature


Re: keyboard options on gnome crashes

2016-09-25 Thread Pavlos Parissis
On 26/09/2016 02:06 πμ, Pavlos Parissis wrote:
> Hi,
> 
> I am using testing and since last week, and without me changing
> anything, the keyboard settings crashes every time I click it.
> 
> How can I debug this? which daemon is handling this so I can strace it?
> 
> Thanks,
> Pavlos
> 

It is being fixed in 3.22.0-1 [1], which isn't available yet in testing.

Cheers,
Pavlos

[1] https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=838336, w



signature.asc
Description: OpenPGP digital signature


Re: keyboard options on gnome crashes

2016-09-25 Thread Pavlos Parissis
On 26/09/2016 02:06 πμ, Pavlos Parissis wrote:
> Hi,
> 
> I am using testing and since last week, and without me changing
> anything, the keyboard settings crashes every time I click it.
>
> How can I debug this? which daemon is handling this so I can strace it?
> 

Running gnome-control-center from a terminal gives me the following when
I click on keyboard:


gnome-control-center

(gnome-control-center:5773): Gtk-CRITICAL **: Error building template
class 'CcKeyboardPanel' for an instance of type 'CcKeyboardPanel':
.:2:1622 Invalid property: GtkScrolledWindow.propagate_natural_width

(gnome-control-center:5773): Gtk-CRITICAL **: gtk_container_add:
assertion 'GTK_IS_CONTAINER (container)' failed

(gnome-control-center:5773): Gtk-CRITICAL **: gtk_container_add:
assertion 'GTK_IS_CONTAINER (container)' failed

(gnome-control-center:5773): Gtk-CRITICAL **: gtk_container_add:
assertion 'GTK_IS_CONTAINER (container)' failed

(gnome-control-center:5773): Gtk-CRITICAL **: gtk_container_add:
assertion 'GTK_IS_CONTAINER (container)' failed

(gnome-control-center:5773): Gtk-CRITICAL **: gtk_container_add:
assertion 'GTK_IS_CONTAINER (container)' failed

(gnome-control-center:5773): Gtk-CRITICAL **: gtk_container_add:
assertion 'GTK_IS_CONTAINER (container)' failed

(gnome-control-center:5773): Gtk-CRITICAL **: gtk_container_add:
assertion 'GTK_IS_CONTAINER (container)' failed

(gnome-control-center:5773): Gtk-CRITICAL **: gtk_container_add:
assertion 'GTK_IS_CONTAINER (container)' failed

(gnome-control-center:5773): Gtk-CRITICAL **: gtk_container_add:
assertion 'GTK_IS_CONTAINER (container)' failed

(gnome-control-center:5773): Gtk-CRITICAL **: gtk_container_add:
assertion 'GTK_IS_CONTAINER (container)' failed

(gnome-control-center:5773): Gtk-CRITICAL **: gtk_container_add:
assertion 'GTK_IS_CONTAINER (container)' failed

(gnome-control-center:5773): Gtk-CRITICAL **: gtk_container_add:
assertion 'GTK_IS_CONTAINER (container)' failed

(gnome-control-center:5773): Gtk-CRITICAL **: gtk_container_add:
assertion 'GTK_IS_CONTAINER (container)' failed

(gnome-control-center:5773): Gtk-CRITICAL **: gtk_container_add:
assertion 'GTK_IS_CONTAINER (container)' failed

(gnome-control-center:5773): Gtk-CRITICAL **: gtk_container_add:
assertion 'GTK_IS_CONTAINER (container)' failed

(gnome-control-center:5773): Gtk-CRITICAL **: gtk_container_add:
assertion 'GTK_IS_CONTAINER (container)' failed

(gnome-control-center:5773): Gtk-CRITICAL **: gtk_container_add:
assertion 'GTK_IS_CONTAINER (container)' failed

(gnome-control-center:5773): Gtk-CRITICAL **: gtk_container_add:
assertion 'GTK_IS_CONTAINER (container)' failed

(gnome-control-center:5773): Gtk-CRITICAL **: gtk_container_add:
assertion 'GTK_IS_CONTAINER (container)' failed

(gnome-control-center:5773): Gtk-CRITICAL **: gtk_container_add:
assertion 'GTK_IS_CONTAINER (container)' failed

(gnome-control-center:5773): Gtk-CRITICAL **: gtk_container_add:
assertion 'GTK_IS_CONTAINER (container)' failed

(gnome-control-center:5773): Gtk-CRITICAL **: gtk_container_add:
assertion 'GTK_IS_CONTAINER (container)' failed

(gnome-control-center:5773): Gtk-CRITICAL **: gtk_container_add:
assertion 'GTK_IS_CONTAINER (container)' failed

(gnome-control-center:5773): Gtk-CRITICAL **: gtk_container_add:
assertion 'GTK_IS_CONTAINER (container)' failed

(gnome-control-center:5773): Gtk-CRITICAL **: gtk_container_add:
assertion 'GTK_IS_CONTAINER (container)' failed

(gnome-control-center:5773): Gtk-CRITICAL **: gtk_container_add:
assertion 'GTK_IS_CONTAINER (container)' failed

(gnome-control-center:5773): Gtk-CRITICAL **: gtk_container_add:
assertion 'GTK_IS_CONTAINER (container)' failed

(gnome-control-center:5773): Gtk-CRITICAL **: gtk_container_add:
assertion 'GTK_IS_CONTAINER (container)' failed

(gnome-control-center:5773): Gtk-CRITICAL **: gtk_container_add:
assertion 'GTK_IS_CONTAINER (container)' failed

(gnome-control-center:5773): Gtk-CRITICAL **: gtk_container_add:
assertion 'GTK_IS_CONTAINER (container)' failed

(gnome-control-center:5773): Gtk-CRITICAL **: gtk_container_add:
assertion 'GTK_IS_CONTAINER (container)' failed

(gnome-control-center:5773): Gtk-CRITICAL **: gtk_container_add:
assertion 'GTK_IS_CONTAINER (container)' failed

(gnome-control-center:5773): Gtk-CRITICAL **: gtk_container_add:
assertion 'GTK_IS_CONTAINER (container)' failed

(gnome-control-center:5773): Gtk-CRITICAL **: gtk_container_add:
assertion 'GTK_IS_CONTAINER (container)' failed

(gnome-control-center:5773): Gtk-CRITICAL **: gtk_container_add:
assertion 'GTK_IS_CONTAINER (container)' failed

(gnome-control-center:5773): Gtk-CRITICAL **: gtk_container_add:
assertion 'GTK_IS_CONTAINER (container)' failed

(gnome-control-center:5773): Gtk-CRITICAL **: gtk_container_add:
assertion 'GTK_IS_CONTAINER (container)' failed

(gnome-control-center:5773): Gtk-CRITICAL **: gtk_container_add:
assertion 'GTK_IS_CONTAINER (container)' failed

(gnome-control-center:5773): Gtk-CRITICAL **: gtk_con

keyboard options on gnome crashes

2016-09-25 Thread Pavlos Parissis
Hi,

I am using testing and since last week, and without me changing
anything, the keyboard settings crashes every time I click it.

How can I debug this? which daemon is handling this so I can strace it?

Thanks,
Pavlos



signature.asc
Description: OpenPGP digital signature


Re: Overwrite kernel from installation ISO

2015-03-16 Thread Pavlos Parissis
On 16/03/2015 12:18 μμ, Brian wrote:
 On Mon 16 Mar 2015 at 11:51:33 +0100, Pavlos Parissis wrote:
 
 I ran into this https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=779922
 which prevents me to install latest debian using USB-stick method.

 In the bug report it was mentioned that using latest kernel works around
 the problem. But, I can't find a way to copy from another jessie system
 the latest kernel as the ISO on the stick is write-protected.

 Any ideas?
 I guess I could download again ISO, mount it, replace the kernel and
 recreate the ISO. But, I was thinking for a possible faster/easier solution.
 
 The released images do not suffer from #779922. Using one of them is the
 fastest and easiest route to installing the latest Debian.
 
 

Thanks for the tip, that was indeed the fastest and cleanest way to
resolve my issue.

Cheers,
Pavlos




signature.asc
Description: OpenPGP digital signature


Overwrite kernel from installation ISO

2015-03-16 Thread Pavlos Parissis
Hoi,

I ran into this https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=779922
which prevents me to install latest debian using USB-stick method.

In the bug report it was mentioned that using latest kernel works around
the problem. But, I can't find a way to copy from another jessie system
the latest kernel as the ISO on the stick is write-protected.

Any ideas?
I guess I could download again ISO, mount it, replace the kernel and
recreate the ISO. But, I was thinking for a possible faster/easier solution.

Cheers,
Pavlos



signature.asc
Description: OpenPGP digital signature


LVM vs 3TB disk

2011-11-07 Thread Pavlos Parissis
Hello all,

Does anyone know why LVM doesn't see the whole space of a 3TB disk? It only 
sees 
2.7TB, as you can see below.

This is on Debian 6.

root@axilleas:/# parted /dev/sdc print
Model: ATA WDC WD30EZRX-00M (scsi)
Disk /dev/sdc: 3001GB
Sector size (logical/physical): 512B/4096B
Partition Table: gpt

Number  Start   End SizeFile system  Name Flags
 1  1049kB  3001GB  3001GB   primary


root@axilleas:/# pvdisplay 
  --- Physical volume ---
  PV Name   /dev/md7
  VG Name   laerths
  PV Size   2.65 TiB / not usable 2.79 MiB
  Allocatable   yes 
  PE Size   4.00 MiB
  Total PE  694272
  Free PE   10384
  Allocated PE  683888
  PV UUID   Wg9a8g-AbxF-IoVW-BFhI-slqD-NyTw-BXgEBj
  


root@axilleas:/# pvcreate /dev/sdc1
  Physical volume /dev/sdc1 successfully created
root@axilleas:/# pvdisplay 
  --- Physical volume ---
  PV Name   /dev/md7
  VG Name   laerths
  PV Size   2.65 TiB / not usable 2.79 MiB
  Allocatable   yes 
  PE Size   4.00 MiB
  Total PE  694272
  Free PE   10384
  Allocated PE  683888
  PV UUID   Wg9a8g-AbxF-IoVW-BFhI-slqD-NyTw-BXgEBj
   
  /dev/sdc1 is a new physical volume of 2.73 TiB
  --- NEW Physical volume ---
  PV Name   /dev/sdc1
  VG Name   
  PV Size   2.73 TiB  
  Allocatable   NO
  PE Size   0   
  Total PE  0
  Free PE   0
  Allocated PE  0
  PV UUID   xfroj9-SQ7z-2qCo-k4FD-WWcJ-qAcj-Wcqzrb
  

Thanks,
Pavlos


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/20072115.32917.pavlos.paris...@gmail.com



Re: LVM vs 3TB disk

2011-11-07 Thread Pavlos Parissis
On Monday 07 November 2011 21:24:08 green wrote:
 Pavlos Parissis wrote at 2011-11-07 14:15 -0600:
  Does anyone know why LVM doesn't see the whole space of a 3TB disk? It
  only sees 2.7TB, as you can see below.
 
 Is this because the manufacturers use powers of 1000 instead of 1024?
 
 3*1000^4 / 1024^4 = ~2.73

oops I forgot that. Thanks a lot.
Pavlos


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/20072128.09560.pavlos.paris...@gmail.com



Re: bizarre look of libreoffice under KDE/compiz

2011-10-25 Thread Pavlos Parissis
On 25 October 2011 17:19, Camaleón noela...@gmail.com wrote:
[...snip...]

 Let's recap...

 - KDE
 - Compiz
 - Cairo-dock
 - Discrete VGA card (Radeon HD 4290) + radeon driver
 - Backported kernel

 I think you are putting too much spicy on the soup :-)

 Is it really? I don't think I am asking too much. There are plenty of
 users using all of these and I can't believe that on a modern hardware
 is too much to have all of these.

On my initial mail I made a mistake saying that I was running compiz.
I am running compositing from KDE. Somehow I thought that I was
running Compiz because I enabled the desktop effects from the KDE
control settings. Don't ask me how I made that mistake:-)

 Modern hardware knows nothing about such software mixture.

 I mean, if we are referring to the hardware layer, your computer can be
 able to run all those applications just fine but speaking purely about
 software, I fear to run just _one_ of the said components so imagine
 running all of them at a time... it has to be a complete headache for
 your system (KDE environment is now managed by kwin -which provides
 compositing- and you are also running Compiz -which provides
 compositing-, then you have added Cairo-dock -to enhance the desktop look
  feel- and all that is managed by a VGA card that is not very powerful -
 mid-range- with a backported kernel.

 I would considered myself lucky if my system can be started with all that.


Currently I run the same setup, KDE with compositing and cairo-dock
with opengl, but I have removed KDE integration of the libreoffice
(removed libreoffice-kde package). So far not problems.

 I would try to disable compiz and see what happens. It could be cairo-
 dock or compiz (or a mix of a lot of other things, the soup has many
 ingredients...) the ones making the screen goes corrupted. If disabling
 compiz fixes the problem (the same as happens with GNOME) I would
 contact compiz at their forums or mailing lists.

If I run compiz --replace I get a yellow screen and i have to reboot.
I also see sometimes that the rendering is not working well. For
instance when I issue alt-f1 to get the KDE menu the background of the
menu is not white but has parts of the desktop image. Some screen
corruptions is going and I believe is has to do with the driver.

 I was about to do that, but I said I want to find the solution of the
 problem rather to work around it.

 Disabling components will help you to find what is causing LO (it was
 just LO?) to render badly and you will be able to direct your report to
 the proper project/package to they can fix it or tell you what to tweak
 to make the error dissapear :-)

I will continue the experiments and most likely I will contact
kde+compiz teams. I also need to go through all the bug reports of the
relevant apps to see if it is something already reported.

thanks camaleon,
pavlos


--
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Archive: 
http://lists.debian.org/CABOTfnM86hizdzx8v5+cw8Mk7Vq=cp4_mmZrK0frPMi=vuu...@mail.gmail.com



Re: bizarre look of libreoffice under KDE/compiz

2011-10-23 Thread Pavlos Parissis
On 23 October 2011 12:16, Camaleón noela...@gmail.com wrote:

 On Sun, 23 Oct 2011 00:03:32 +0200, Pavlos Parissis wrote:

  Hello all,

 Hi, please, avoid using html formatted messages, they render very badly
 in some e-mail readers :-)
Sorry I forgot to disable html on gmail.

  I am having a strange issue with Libreoffice under KDE with compiz
  enabled. Αs an old Chinese proverb says,
  here is picture http://dl.dropbox.com/u/1773878/libreoffice-issue.png
  which presents the issue very well.

 Is the screen corruption only happening for LibreOffice or are there
 other applications affected?

  To recover this situation I need either to logout/login from KDE or
  reboot if logging out/logging doesn't help.
  I have that issue only under KDE and not under GNOME without Compiz. The
  issue started to appear after I
  started using cairo-dock, but it does happen when I don't use
  cairo-dock. It can happen either while I use libreoffice or straight
  after I start libreoffice(any apps)
 
  I haven't  observed similar issue with other applications (yet). Any
  ideas?

 (...)

 Let's recap...

 - KDE
 - Compiz
 - Cairo-dock
 - Discrete VGA card (Radeon HD 4290) + radeon driver
 - Backported kernel

 I think you are putting too much spicy on the soup :-)

Is it really? I don't think I am asking too much. There are plenty of
users using all of these and I can't believe that on a modern hardware
is too much to have all of these.

 I would try to disable compiz and see what happens. It could be cairo-
 dock or compiz (or a mix of a lot of other things, the soup has many
 ingredients...) the ones making the screen goes corrupted. If disabling
 compiz fixes the problem (the same as happens with GNOME) I would contact
 compiz at their forums or mailing lists.

I was about to do that, but I said I want to find the solution of the
problem rather to work around it.

Thanks for the tips
Pavlos


--
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Archive: 
http://lists.debian.org/CABOTfnNKVV1jOuSdy3wYr=hqgwnwh-ryyj7btx5cbeswbhf...@mail.gmail.com



bizarre look of libreoffice under KDE/compiz

2011-10-22 Thread Pavlos Parissis
Hello all,
I am having a strange issue with Libreoffice under KDE with compiz enabled.
Αs an old Chinese proverb says,
here is picture http://dl.dropbox.com/u/1773878/libreoffice-issue.png which
presents the issue very well.

To recover this situation I need either to logout/login from KDE or reboot
if logging out/logging doesn't help.
I have that issue only under KDE and not under GNOME without Compiz. The
issue started to appear after I
started using cairo-dock, but it does happen when I don't use cairo-dock.
It can happen either while I use libreoffice or straight after I start
libreoffice(any apps)

I haven't  observed similar issue with other applications (yet).
Any ideas?

On the  .xsession-errors I see a lot of these lines when the issues appears.
X Error: RenderBadPicture (invalid Picture parameter) 158
  Extension:148 (RENDER)
  Minor opcode: 6 (RenderSetPictureClipRectangles)
  Resource id:  0x540020f
X Error: RenderBadPicture (invalid Picture parameter) 158
  Extension:148 (RENDER)
  Minor opcode: 6 (RenderSetPictureClipRectangles)
  Resource id:  0x540020f
X Error: RenderBadPicture (invalid Picture parameter) 158
  Extension:148 (RENDER)
  Minor opcode: 8 (RenderComposite)
  Resource id:  0x26
X Error: RenderBadPicture (invalid Picture parameter) 158
  Extension:148 (RENDER)
  Minor opcode: 5 (RenderChangePicture)
  Resource id:  0x5400210
X Error: RenderBadPicture (invalid Picture parameter) 158
  Extension:148 (RENDER)
  Minor opcode: 7 (RenderFreePicture)
  Resource id:  0x540020e
X Error: BadMatch (invalid parameter attributes) 8
  Extension:148 (RENDER)
  Minor opcode: 4 (RenderCreatePicture)
  Resource id:  0x26
X Error: RenderBadPicture (invalid Picture parameter) 158
  Extension:148 (RENDER)
  Minor opcode: 5 (RenderChangePicture)
  Resource id:  0x0
X Error: RenderBadPicture (invalid Picture parameter) 158
  Extension:148 (RENDER)
  Minor opcode: 5 (RenderChangePicture)
  Resource id:  0x0
X Error: RenderBadPicture (invalid Picture parameter) 158
  Extension:148 (RENDER)
  Minor opcode: 6 (RenderSetPictureClipRectangles)
  Resource id:  0x5400229

and some system info
cat /etc/debian_version
6.0.3
All software installed from debian repositories.

pparissis@axilleas:~$ glxinfo
name of display: :0.0
display: :0  screen: 0
direct rendering: Yes
server glx vendor string: SGI
server glx version string: 1.2
server glx extensions:
GLX_ARB_multisample, GLX_EXT_import_context,
GLX_EXT_texture_from_pixmap,
GLX_EXT_visual_info, GLX_EXT_visual_rating, GLX_MESA_copy_sub_buffer,
GLX_OML_swap_method, GLX_SGI_make_current_read, GLX_SGI_swap_control,
GLX_SGIS_multisample, GLX_SGIX_fbconfig, GLX_SGIX_pbuffer,
GLX_SGIX_visual_select_group
client glx vendor string: Mesa Project and SGI
client glx version string: 1.4
client glx extensions:
GLX_ARB_get_proc_address, GLX_ARB_multisample, GLX_EXT_import_context,
GLX_EXT_visual_info, GLX_EXT_visual_rating, GLX_MESA_allocate_memory,
GLX_MESA_copy_sub_buffer, GLX_MESA_swap_control,
GLX_MESA_swap_frame_usage, GLX_OML_swap_method, GLX_OML_sync_control,
GLX_SGI_make_current_read, GLX_SGI_swap_control, GLX_SGI_video_sync,
GLX_SGIS_multisample, GLX_SGIX_fbconfig, GLX_SGIX_pbuffer,
GLX_SGIX_visual_select_group, GLX_EXT_texture_from_pixmap
GLX version: 1.2
GLX extensions:
GLX_ARB_get_proc_address, GLX_ARB_multisample, GLX_EXT_import_context,
GLX_EXT_visual_info, GLX_EXT_visual_rating, GLX_MESA_copy_sub_buffer,
GLX_MESA_swap_frame_usage, GLX_OML_swap_method,
GLX_SGI_make_current_read,
GLX_SGI_video_sync, GLX_SGIS_multisample, GLX_SGIX_fbconfig,
GLX_SGIX_pbuffer, GLX_SGIX_visual_select_group,
GLX_EXT_texture_from_pixmap
OpenGL vendor string: Advanced Micro Devices, Inc.
OpenGL renderer string: Mesa DRI R600 (RS880 9714) 20090101  TCL DRI2
OpenGL version string: 1.5 Mesa 7.7.1
OpenGL extensions:
GL_EXT_compiled_vertex_array, GL_EXT_texture_env_add,
GL_ARB_depth_texture, GL_ARB_depth_clamp, GL_ARB_draw_buffers,
GL_ARB_fragment_program, GL_ARB_imaging, GL_ARB_multisample,
GL_ARB_multitexture, GL_ARB_occlusion_query, GL_ARB_point_parameters,
GL_ARB_provoking_vertex, GL_ARB_shadow, GL_ARB_shadow_ambient,
GL_ARB_texture_border_clamp, GL_ARB_texture_compression,
GL_ARB_texture_cube_map, GL_ARB_texture_env_add,
GL_ARB_texture_env_combine, GL_ARB_texture_env_crossbar,
GL_ARB_texture_env_dot3, GL_MESAX_texture_float,
GL_ARB_texture_mirrored_repeat, GL_ARB_texture_rectangle,
GL_ARB_transpose_matrix, GL_ARB_vertex_array_bgra,
GL_ARB_vertex_buffer_object, GL_ARB_vertex_program, GL_ARB_window_pos,
GL_EXT_abgr, GL_EXT_bgra, GL_EXT_blend_color,
GL_EXT_blend_equation_separate, GL_EXT_blend_func_separate,
GL_EXT_blend_logic_op, GL_EXT_blend_minmax, GL_EXT_blend_subtract,
GL_EXT_convolution, GL_EXT_copy_texture, GL_EXT_draw_range_elements,
GL_EXT_framebuffer_object, GL_EXT_fog_coord,

Re: How to compile and install the kernel

2009-10-01 Thread Pavlos Parissis
2009/10/1 surreal firewal...@gmail.com:
 This might seem lame but still, I would like to know about compiling a
 custom kernel using debian lenny.

 the usual /usr/src/linux-2.6.N/make menuconfig;make ;make
 modules_install;make bzImage;make install dosent seem to work.

 It only copies vmlinux* and bzImage file into /boot, but initrd and img
 files are missing..

 why? The above method used to work perfectly in RH derived distros, in
 debian it seems diff...


Take a look at this article,
http://www.howtoforge.com/roll_a_kernel_debian_ubuntu_way

Cheers,
Pavlos


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org



Re: How to compile and install the kernel

2009-10-01 Thread Pavlos Parissis
2009/10/1 surreal firewal...@gmail.com:
 Thanks, I read that, compiled the kernel and its working.

 But now I have a problem.

 The kernel deb file gets installed, but it has got the same name ie Debian
 Kernel 2.6.26 in /boot/grub/menu.lst..

 I want to have the customized kernel name as default, any way to do this?

The following information from the article will help you

To build the kernel you'll invoke make-kpkg, a script which
automates and replaces the sequence make dep; make clean; make
bzImage; make modules. Take a few minutes and read over the manual
page for make-kpkg. The make-kpkg command line can be complex and at
first intimidating. Its basic syntax is

bash:/usr/src$ make-kpkg options target

Your target will be kernel_image. Let's examine two of the more
important and common options, --append-to-version and --revision.
--append-to-version

The first option lets you specify an addition to the kernel version,
which then becomes part of the kernel's name. You may use alphanumeric
characters, + and . (period or full stop); do not use underscore
_.

Here's the kernel I'm running now:

bash:/usr/src$ /usr/src/$ uname -a
Linux da5id 2.6.8.1-2-k7 #1 Sat Sep 18 11:23:11 BST 2004 i686 GNU/Linux

You should avoid using --append-to-version values such as -686,
-K7, and -sparc. They are commonly used for Debian pre-compiled
kernels.

Kernel modules live in subdirectories of /lib/modules; each kernel has
its own subdirectory. Every time you install a kernel image with a new
name, the package installer creates a new subdirectory of /lib/modules
to hold its modules.

This means that by using a new value for --append-to-version each time
you build a kernel image, you can ensure that the new kernel will have
a new name, and that its modules won't conflict with those of other
kernels.

/!\ If you install a kernel with the same name (the same version and
--append-to-version) as an already-installed kernel, installing the
new kernel package will overwrite the old kernel and its modules. You
will be warned and offered the chance to abort. Take it. Use another
value for --append-to-version and rebuild.
--revision

Another make-kpkg option is --revision, which affects the name of
the Debian package itself but not the kernel name. As with
--append-to-version, you may use only alphanumeric characters, + and
.. Do not use underscores _. If you do not supply a value for
--revision, make-kpkg will use 10.00.Custom.

Using different values of --revision will not prevent conflicts
between kernels with the same name. They are just for you to see the
difference, for example recompiling the same kernel with a very small
change.
Kernel package names

Debian kernel-image file names have the form

kernel-image-(kernel-version)(--append-to-version)_(--revision)_(architecture).deb

The package name is everything before the first underscore.

bash:/usr/src$ ls
kernel-image-2.6.8.1.181004_10.00.Custom_i386.deb

Now you can see why underscores are not allowed in make-kpkg options ?
they separate the elements of package names.

I recommend using a different --append-to-version value for each
kernel you compile, and letting make-kpkg assign the default revision.
Date-based values work for me, but you are free to invent your own
scheme.

{i} Please read /usr/share/doc/kernel-package/README.gz if
--append-to-version or --revision is unclear, or if you plan on using
options different from the ones I suggest. (One way to do this is
zless README.gz.) Ignore the discussions of flavours and epochs
until you are more familiar with make-kpkg and with Debian packages
generally; they are not likely to be useful to you now.
fakeroot


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org



Re: Lenny upgrade: Failed to load modules ati and typ1 when starting X. No drivers available

2009-02-17 Thread Pavlos Parissis
2009/2/17 S D sund...@yahoo.com


 --- On Tue, 2/17/09, Boyd Stephen Smith Jr. b...@iguanasuicide.net wrote:

  For the ati module, you need the package:
   p   xserver-xorg-video-ati  - X.Org X server --
  ATI display driver

 Installed the xserver-xorg-video-ati package and it did resolve the issue
 somewhat. I was able to start X and KDE, KDE is running and and appears to
 be functional (v 3.5.10) but the picture looks very strange indeed.

 The picture now, for some reason, doesn't use the whole available screen
 space but leave unused areas about 3-5 cm from the left, right, top and
 bottom monitor edges. It looks something like this:

  +1--+
  |   |
  |   |
  |+---2-+|
  || ||
  || ||
  || ||
  |+-+|
  |   |
  |   |
  +---+

 Where 1 is the monitor and 2 is the picture.

 I usually run my monitor in 1600x1200 mode and KDE shows it as the current
 resolution.

 Any ideas? Thanks


I had a similar problem after the upgrade to Lenny.
My problem was that at GDM login the screen was a bit to left but inside
GNOME was fine. GNOME was forcing vertical refresh rate at 75 but X was
using 60, thus I had tha difference.

Try the following
1) inside GNOME/KDE open a terminal and run  xvidtune and tune the settings
as you wish. Then click on show button, this will print on the terminal the
setting to be used in xorg.conf.
2) Use the above info to add a Modeline in the Monitor section on your
xorg.conf
Furthermore, make sure the same Modeline name is in the Screen Section
Here is a snap of my xorg.conf, take a look at 1280x1...@75

Section Monitor
Identifier  SDM-HS75P
HorizSync   28-80
VertRefresh 48-75
Option  DPMS
Modeline 1280x1...@75   135.00   1280 1296 1440 1688   1024 1025
1028   1066 +hsync +vsync
EndSection

Section Screen
Identifier  Default Screen
Device  Nvidia FX5500
Monitor SDM-HS75P
DefaultDepth24
SubSection Display
Depth   1
Modes   1280x1024 1024x768 800x600 640x480
EndSubSection
SubSection Display
Depth   4
Modes   1280x1024 1024x768 800x600 640x480
EndSubSection
SubSection Display
Depth   8
Modes   1280x1024 1024x768 800x600 640x480
EndSubSection
SubSection Display
Depth   15
Modes   1280x1024 1024x768 800x600 640x480
EndSubSection
SubSection Display
Depth   16
Modes   1280x1024 1024x768 800x600 640x480
EndSubSection
SubSection Display
Depth   24
Modes   1280x1...@75 1024x768 800x600
640x480
EndSubSection
EndSection

3) restart X

Hope it helps,
Pavlos


Re: Lenny upgrade: Failed to load modules ati and typ1 when starting X. No drivers available

2009-02-17 Thread Pavlos Parissis
On Tue, 17 Feb 2009 12:08:26 -0800 (PST)
S D sund...@yahoo.com wrote:

 
 
 
 --- On Tue, 2/17/09, pavlos.paris wrote:
 
  Try the following
  1) inside GNOME/KDE open a terminal and run  
  xvidtune and tune the settings
  as you wish. Then click on show button, this will 
  print on the terminal the setting to be used in 
  xorg.conf. 
 
 Weird, when I try to run (as root) xvidtune from a terminal window I get:
 
 # xvidtune
 Error: Can't open display:
 
 And it's true, I don't have a Modeline entry in the Monitor section of
 the /etc/X11/xorg.conf
 
 Any ideas? Thanks

You don't need root access in order to run that command.


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org



Re: Lenny upgrade: Failed to load modules ati and typ1 when starting X. No drivers available

2009-02-17 Thread Pavlos Parissis
On Tue, 17 Feb 2009 13:06:48 -0800 (PST)
S D sund...@yahoo.com wrote:

 --- On Tue, 2/17/09, Pavlos Parissis p_pav...@freemail.gr wrote:
 
  You don't need root access in order to run that
  command.
 
 True, but if I run it as a regular user, it gets even funnier:
 
 $ which xvidtune
 /usr/bin/xvidtune
 $ `which xvidtune`
 Please install the program before using
 $ /usr/bin/xvidtune
 Please install the program before using
 
 It appears some people also had this issue but no solution was provided:
 
 xvidtune always appeared accessible and judging from the below 'c' code the
 message is internally generated.
 http://www.x.org/pub/unsupported/pro...une/xvidtune.c if 
 (!AppRes.ad_installed)
 {fprintf(stderr, Please install the program before using\n); return 3;} 
 Maybe an
 understanding of how the boolean ad_installed is set would clarify matters.
 
 Thanks
 
 
[pparis...@spartacos][~]$
id -a
uid=1000(pparissis) gid=1000(pparissis) 
groups=4(adm),20(dialout),24(cdrom),25(floppy),29(audio),34(backup),40(src),44(video),46(plugdev),1000(pparissis)
[pparis...@spartacos][~]$
which xvidtune
/usr/bin/xvidtune
[pparis...@spartacos][~]$
dpkg -S /usr/bin/xvidtune
x11-xserver-utils: /usr/bin/xvidtune
[pparis...@spartacos][~]$
aptitude show x11-xserver-utils|grep Version
Version: 7.3+5
[pparis...@spartacos][~]$
xvidtune 
Vendor: (null), Model: (null)
Num hsync: 1, Num vsync: 1
hsync range 0:  28.00 -  80.00
vsync range 0:  48.00 -  75.00
1280x1024   135.00   1280 1296 1440 1688   1024 1025 1028 1066 +hsync +vsync

[pparis...@spartacos][~]$
cat /etc/debian_version 
5.0


BTW, have you seen this ?
http://www.debian.org/releases/stable/i386/release-notes/ch-information.en.html#vga-output-bug


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org



Re: upgrade to lenny report

2009-02-16 Thread Pavlos Parissis
On Mon, 16 Feb 2009 07:39:11 -0600
Kent West we...@acu.edu wrote:

 Sven Joachim wrote:
  On 2009-02-15 23:59 +0100, Pavlos Parissis wrote:
 

  This morning I upgraded my etch desktop to lenny.
  All went ok but with 3 small issues.
 
  1) Exim was refusing to start up due to no zero size on the paniclog file.
  The file was reporting a configuration error on specific line, but not on 
  the
  config file that I use. Removing the lines from the paniclog made the 
  exim4 to
  be started again
  
 
  How old was that paniclog file?  It may or may not be related to the
  upgrade.
 

 
 I get the same thing:

Kent,

Since you have more info than me, could you please file a bug report.

I will file a bug report for the X issue with the missing module package.

Regards,
Pavlos


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org



upgrade to lenny report

2009-02-15 Thread Pavlos Parissis
Hi all,

This morning I upgraded my etch desktop to lenny.
All went ok but with 3 small issues.

1) Exim was refusing to start up due to no zero size on the paniclog file.
The file was reporting a configuration error on specific line, but not on the 
config
file that I use. Removing the lines from the paniclog made the exim4 to be 
started
again

2) X couldn't be start up due to a missing nv driver.  xserver-xorg-video-nv 
was not
installed during the upgrade. I need to check the upgrade log to find out why, 
I use script for
capturing the upgrade.
Installing that package and restarting gdm solved the problem.

3) The gdm login screen is a bit more left that it should be.
I don't have that issue inside Gnome. I haven't managed to solve that one.

I use fb driver during boot in order to have 1280x1024 resolution at console.
When I configured fb.modes file (1 year ago), I hacked a bit the 1280x1024-60 
mode
because the screen was a bit to left. Inside Gnome I have 1280x1024 at 75.

Since the problem at GDM login screen matched the problem at the console, I 
thought
that I could change the boot line at grub to use video=nvidiafb:1280x1...@75. 
But,
after the boot fbset -s says 1280x1024-60 and GDM login screen is still a bit to
left.

I could change the setting on my monitor (Sony SDM-HS75P), but that would break 
the
console screen and the screen inside Gnome, which they are fine.

Nevertheless, I am happy that I have the same setup 5 years now :-)

Cheers,
Pavlos


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org



Re: Speeding up Debian Boot

2009-01-11 Thread Pavlos Parissis
On Sun, 11 Jan 2009 17:49:23 +
Dean Chester dean.g.ches...@googlemail.com wrote:

 Hi
 Is there anyway i can speed up debians boot time. Its embarrassing that
 Vista boots up quicker than debian.
 Dean
 

http://www.debian-administration.org/articles/620


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org



Re: upgrading old-stable

2009-01-07 Thread Pavlos Parissis
On Tue, 6 Jan 2009 19:33:15 +0100
roberto robert...@gmail.com wrote:

 hello,
 i'd like to ask you the time until it will be possible to upgrade from
 debian sarge to the actual debian stable (etch)

I did that upgrade few months ago on my desktop system.
It worked without major problems. But,  aptitude got automatically removed when
I had to install x11-common and xlibmesa-glu. I don't real remember why I had 
do it but aptitude got removed and I didn't see it because the list of removed 
packages was too long...

I copied the aptitude and one lib packages from my firewall systems(etch) and 
used dpkg to get them installed.
After that the upgrade went smoothly, as expected by a debian system.

Cheers,
Pavlos



-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org



Re: Re: nss_ldap issue

2008-09-22 Thread Pavlos Parissis

 
 --jI8keyz6grp/JLjh
 Content-Type: text/plain; charset=us-ascii
 Content-Disposition: inline
 Content-Transfer-Encoding: quoted-printable
 
 On Mon, Sep 22, 2008 at 10:54:52AM +0530, Harpreet wrote:
 =20
  Hi
 =20
  I am facing a problem of nss_ldap
  i.e. when a user tries to connect to courier services, they get the
  following error.
 =20
  user.info: Sep 18 11:24:35 nscd: nss_ldap: reconnecting to LDAP
  server...
  user.err: Sep 18 11:24:35 nscd: nss_ldap: could not connect to any LDAP
  server as uid=3Dexample,dc=3Dcom - Can't contact LDAP server
 
 do you have a user called uid=3Dexample,dc=3Dcom, try binding to the server
 with ldapsearch with the same details you have for nss_ldap
 
 =20
  After reading some mailing lists I changed the bind policy soft.
  But the issue is still not resolved for me.
  I am still facin gthe same problem.
  But on restarting the NSCD and SLAPD it starts working, but that too for
  some time.

try to run tcpdump(tcpdump -s 0 -n -i any -w foo.pcap port 389) on the node in 
order to see if the failure is a result of
a misconfiguration on bind user or connectivity problem or something else.
Use wireshark to analyze the saved file of the tcpdump command

Cheers,
Pavlos



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



Re:

2008-07-30 Thread Pavlos Parissis

Hoi,

 Hi,
 
 I have problems sending emails to this list. I tryed it several times but 
 they dont reach the destination.

Well I got this! So it works! BTW you should put a subject on your mails.


Cheers,
Pavlos



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



Re: security.debian.org issues?

2008-07-29 Thread Pavlos Parissis
On Mon, 28 Jul 2008 16:00:15 -0700
Bill Wohler [EMAIL PROTECTED] wrote:

 I started having trouble downloading packages from security.debian.org
 over the weekend. aptitude fails with:
 
 Err http://security.debian.org etch/updates/main iceweasel 2.0.0.16-0etch1
   Connection failed [IP: 130.89.175.54 80]
 Err http://security.debian.org etch/updates/main libxul0d
 1.8.0.15~pre080614d-0etch1 Connection failed [IP: 212.211.132.250 80]
 
 Has anyone else been seeing this problem? Is there a known problem at
 security.debian.org? If so, what is the estimated time of repair?

No, I haven't seen any problems.

Cheers,
Pavlos


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



funny character on man page of aptitude

2008-07-25 Thread Pavlos Parissis

Hi,

The man page of aptitude has some funny charters around the options which make 
the manual a bit unreadable. Here is a snapshot
 package\fB+\fR
   Install package.

 package\fB+M\fR
   Install package and immediately mark it as automatically 
installed (note that if nothing
   depends on package, this will cause it to be immediately 
removed).

 package\fB-\fR
   Remove package.

 package\fB_\fR
   Purge package: remove it and all its associated configuration 
and data files.


$ cat /etc/debian_version
4.0
$ dpkg-query --show aptitude
aptitude0.4.4-4

Any ideas why is this happening?

Cheers,
Pavlos



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



Re: funny character on man page of aptitude

2008-07-25 Thread Pavlos Parissis

 On Fri, Jul 25, 2008 at 16:38:31 +0300, Pavlos Parissis 
...snip...
 http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=438725  has quite a lot
 about this.
 

thanks Bob.

Pavlos



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



Re: How to fix resolv.conf?

2008-07-24 Thread Pavlos Parissis

 When connecting to internet with a certain provider, I have problems with
 browsing.  Then I want to fill the file /etc/resolv.conf with the proper dns
 servers but the file changes automatically during the connection being filled
 with values different from the ones I want.
 
 Googling around I experimented many possible solutions but none worked
 (e.g. edit the file /etc/network/interfaces or /etc/dhcp3/dhclient.conf).
 Even putting off the write permissions over resolv.conf did not work: it must
 be created every time.
 
 Does anyone have any experience about a real solution?


man resolvconf, should help you out

Cheers,
Pavlos



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



Re: Uninstalling djb daemontools, djbdns

2008-07-23 Thread Pavlos Parissis
On Tue, 22 Jul 2008 17:35:11 + (UTC)
Hendrik Boom [EMAIL PROTECTED] wrote:

[snip]
 
 Is there an easy way to scan a system to find all files that aren't part
 of any package?  Except of course for files like the ones under /home or
 /usr/local or such?

How about using find to get the list of all files and compare with a list of
files which are owner by all packages(use dpgk to get the list). That should
give you any file which is not installed by debian packages. I know very ugly 
way.


You can also try get the debian package of djb daemontools, djbdns downloaded
and use dpkg-deb -c package in order to get an idea of the files that are 
installed.

Hope it helps,
Pavlos


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



logcheck bug in pattern matching for su

2008-07-21 Thread Pavlos Parissis
Hi,

Before I file a bug report I would like to verify with you guys that I have 
found a bug.

As the subject suggests there is an issue with the pattern matching for su in 
this file

# cat /etc/logcheck/violations.d/su
^\w{3} [ :0-9]{11} [._[:alnum:]-]+ su\[[0-9]+\]: \(pam_[[:alnum:]]+\) .*$
^\w{3} [ :0-9]{11} [._[:alnum:]-]+ su\[[0-9]+\]: .*$
^\w{3} [ :0-9]{11} [._[:alnum:]-]+ su\[[0-9]+\]: \+ pts/[0-9]+ 
[[:alnum:]]+-root$
^\w{3} [ :0-9]{11} [._[:alnum:]-]+ su\[[0-9]+\]: \+ \?\?\? root-[[:alnum:]]+$

the issue resides in 3rd and 4th line, the - character should be : for matching 
user:root and root:user strings.

Here are the proofs

Running the 3rd line which gives no matches
# egrep '^\w{3} [ :0-9]{11} [._[:alnum:]-]+ su\[[0-9]+\]: \+ pts/[0-9]+ 
[[:alnum:]]+-root$' /var/log/auth.log

Running again the 3rd line but changing the - character to :
# egrep '^\w{3} [ :0-9]{11} [._[:alnum:]-]+ su\[[0-9]+\]: \+ pts/[0-9]+ 
[[:alnum:]]+:root$' /var/log/auth.log
Jul 21 09:27:36 hraklhs su[4313]: + pts/0 pparissis:root
Jul 21 10:32:48 hraklhs su[5244]: + pts/1 pparissis:root

Running the 4th line which gives no matches
# egrep '^\w{3} [ :0-9]{11} [._[:alnum:]-]+ su\[[0-9]+\]: \+ \?\?\? 
root-[[:alnum:]]+$' /var/log/auth.log

Running again the 4th line but changing the - character to :
# egrep '^\w{3} [ :0-9]{11} [._[:alnum:]-]+ su\[[0-9]+\]: \+ \?\?\? 
root:[[:alnum:]]+$' /var/log/auth.log
Jul 20 07:40:01 hraklhs su[11619]: + ??? root:nobody
Jul 21 07:35:01 hraklhs su[23294]: + ??? root:nobody
Jul 21 07:35:01 hraklhs su[23298]: + ??? root:nobody
Jul 21 07:35:01 hraklhs su[23303]: + ??? root:nobody

There are 2 possible solutions for this issue
1) fix the 2 lines on /etc/logcheck/violations.d/su
2) comment the following line on /etc/logcheck/violations.ignore.d/logcheck-su
^\w{3} [ :0-9]{11} [._[:alnum:]-]+ su\[[0-9]+\]: (\+|-) 
(pts/[0-9]{1,2}|tty[0-9]) [_[:alnum:]-]+:[_[:alnum:]-]+$

The first solution fixes the bug and the second is a hack. If I follow the 2nd 
solution I get the messages because they weren't matched against the ignored 
rules
and not because they were matched by a logcheck rule.



Cheers,
Pavlos


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



Re: logcheck bug in pattern matching for su

2008-07-21 Thread Pavlos Parissis
On Mon, 21 Jul 2008 13:40:41 +0200
martin f krafft [EMAIL PROTECTED] wrote:

 also sprach Pavlos Parissis [EMAIL PROTECTED] [2008.07.21.1147 +0200]:
  the issue resides in 3rd and 4th line, the - character should be
  : for matching user:root and root:user strings.
 
 So maybe su changed the format *again*. You should file a wishlist
 bug asking for [-:] to be used instead of plain -, ideally providing
 a patch against the git HEAD, along with sample log output.
 Instructions and additional information are here:
 
   http://wiki.logcheck.org/index.cgi/RuleSubmission
   http://logcheck.org/git.html

Thanks Martin for the confirmation on the bug.

I'll file the bug report against logcheck-database packages and not to logcheck
because /etc/logcheck/violations.d/su is provided by logcheck-database.
# dpkg -S /etc/logcheck/violations.d/su
logcheck-database: /etc/logcheck/violations.d/su

Unfortunately, I can't use git at the moment thus I will include the comments
which I wrote in this thread.

Cheers,
Pavlos


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



Re: logcheck bug in pattern matching for su

2008-07-21 Thread Pavlos Parissis
On Mon, 21 Jul 2008 14:02:33 +0200
Pavlos Parissis [EMAIL PROTECTED] wrote:

[...snip...]
 Thanks Martin for the confirmation on the bug.
 
 I'll file the bug report against logcheck-database packages and not to
 logcheck because /etc/logcheck/violations.d/su is provided by
 logcheck-database.
 # dpkg -S /etc/logcheck/violations.d/su
 logcheck-database: /etc/logcheck/violations.d/su

Debian Bug report #491694 was submitted


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



Re: DMA is turned off on my HDD

2008-07-17 Thread Pavlos Parissis

 In the beginning of July I reinstall my Debian system (lenny). At once I
 discover that loading cache in Aptitude (ncurses-UI mode) is very slow
 and in general my system is very slow.
 
 In several days I discovered that DMA is turned off on my HDD (fsck
 sayed it while Debian booting). Please, help me turn on DMA mode.
 

[snip]
 I had scanned my hdd with native WD scanner and hadn't detected any
 error. Memory scan (memtest86+) also hadn't detected any error.
 Moreover, Windows XP on another partition of this hdd working normally
 and HDD Health program on it (for S.M.A.R.T viewing) don't predict
 T.E.C. in the near future. Also after previous installation of Debian
 lenny my hdd was working fast.

Use hdparm command to see if the DMS is enabled, if not enable it with the -d 
flag. If that action makes your system faster configure /etc/hdparm.conf to 
enable the DMA on boot.

Hope it helps,
Pavlos
 



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



Re: Re: DMA is turned off on my HDD

2008-07-17 Thread Pavlos Parissis

 Pavlos Parissis wrote:
  In the beginning of July I reinstall my Debian system (lenny). At once I
  discover that loading cache in Aptitude (ncurses-UI mode) is very slow
  and in general my system is very slow.
 
  In several days I discovered that DMA is turned off on my HDD (fsck
  sayed it while Debian booting). Please, help me turn on DMA mode.
 
 
  [snip]
  I had scanned my hdd with native WD scanner and hadn't detected any
  error. Memory scan (memtest86+) also hadn't detected any error.
  Moreover, Windows XP on another partition of this hdd working normally
  and HDD Health program on it (for S.M.A.R.T viewing) don't predict
  T.E.C. in the near future. Also after previous installation of Debian
  lenny my hdd was working fast.
 
  Use hdparm command to see if the DMS is enabled, if not enable it with the 
  -d flag. If that action makes your system faster configure 
  /etc/hdparm.conf to
  enable the DMA on boot.
 
  Hope it helps,
  Pavlos
 
 
 
 
 
 I have tried using hdparm (under root) command but it don't help.
 
 command hdparm -d /dev/hda outputs:
 /dev/hda:
   using_dma =  0 (off)
 
 command hdparm -d 1 /dev/hda outputs:
 /dev/hda:
   setting using_dma to 1 (on)
   HDIO_SET_DMA failed: Operation not permitted
   using_dma =  0 (off)
 
 

As Ron has written you may face a problem with the driver which is being used
by the kernel for managing this disk.
Try the following to see which driver is being used.

readlink /sys/block/hda/device/driver


Cheers,
Pavlos




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



Re: DMA is turned off on my HDD

2008-07-17 Thread Pavlos Parissis
On Thu, 17 Jul 2008 18:14:05 +0300
Anton Liaukevich [EMAIL PROTECTED] wrote:

[snip]
 
  
  As Ron has written you may face a problem with the driver which is being
  used by the kernel for managing this disk.
  Try the following to see which driver is being used.
  
  readlink /sys/block/hda/device/driver
  
  
  Cheers,
  Pavlos
  
  
  
  
 
 readlink /sys/block/hda/device/driver outputs:
 ../../../bus/ide/drivers/ide-disk

Since Boc Cox has the same HDD , he can tell us a bit more about what driver is 
needed.

Cheers,
Pavlos


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



Re: xdm source .bash_profile[SOLVED]

2006-06-24 Thread Pavlos Parissis
All,
I followed the Derek's suggestion and now my $PATH is set inside X.

Cheers,
Pavlos


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



xdm source .bash_profile

2006-06-23 Thread Pavlos Parissis
Hello all,

I have been trying to make my X to source the .bash_profile in order to set my 
$PATH variable.

Looking around Debian reference document and googling about it, the trick was to
add in my ~/.bashrc the $PATH and export it.

Since ~/.bashrc is invoked by no login shell I don't really mind to use this 
trick.
But, I do mind that fact that I have duplicate information, $PATH is set in two 
files.

Thus, I was trying to fine a way to overcome this and use only the 
~/.bash_profile by creating a executable file with name ~/.xession and put in 
that file only . ~/.bash_profile.
This didn't work and I tried to put #!/bin/bash --login at the beginning of the 
file but it didn't work either.

Any idea where should I look to get this done?

Cheers,
Pavlos


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



Re: xdm source .bash_profile

2006-06-23 Thread Pavlos Parissis
On Fri, 23 Jun 2006 18:46:16 -0400
Derek Martin [EMAIL PROTECTED] wrote:

 On Sat, Jun 24, 2006 at 12:00:03AM +0200, Pavlos Parissis wrote:
  Hello all,
  
  I have been trying to make my X to source the .bash_profile in order
  to set my $PATH variable.
 
 .xsession is the best place to deal with this, but you need to start
 your X session in this file, or else it will just end.  For example,
 my .xsession file looks like this:
 
 #!/bin/bash
 
 # start my X session
 
 if [ -f ~/.bashrc ]; then
   . ~/.bashrc
 fi
 xrdb -merge .Xdefaults
 ssh-agent gnome-session
 
 This starts gnome, and runs it from ssh-agent.  That's a neat trick
 which makes your ssh agent accessible to all xterms started from
 within your X session.  If you use KDE, replace that with startkde.

Side effect of that approach is that you have to use only one Desktop 
Environment.
I was trying to avoid to set my Desktop Environment from ~/.xsession because
I like the option to change the D.E. from the xdm/gdm/kdm when I login.
Thus, I didn't follow this approach which is documented in Debian reference.
It seams that I have to take this path anyways.

 The key is, once this script ends, so does your X session.  If you
 just source your .bashrc file, your X session will end before it has a
 chance to start.  ;-)

That's explain why it was not working for me the trick to just source the 
~/.bash_profile from ~/.xsession
without starting a window manager/D.E..

  Since ~/.bashrc is invoked by no login shell I don't really mind to
  use this trick.  But, I do mind that fact that I have duplicate
  information, $PATH is set in two files.
 
 The usual way to handle this is to put environment initialization
 commands only in .bashrc, and source .bashrc from .profile (or
 .bash_profile).  Note that you don't want to put commands which
 generate output in .bashrc -- if you do this, it can cause problems
 for your ssh sessions (particularly using scp, etc.) which will
 receive the output of the .bashrc script, and corrupt the data stream.
 To counteract that problem, only put commands which generate output in
 .profile (or .bash_profile).

It sounds a good a idea and practice to move my environment variables to 
~/.bashrc.

Thank you very much,
Pavlos


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



Capture crash logging

2006-02-27 Thread Pavlos Parissis
Hello all,

For the past few weeks I have been facing crashes at my desktop.
For all the crashes I was not able to find any log that can give a hit where I
should search for the cause of these crashes.

The system was running  for a long time with out any crashes and most of the
crashes occurred during the night, when I do not use the desktop at all.

I have not changed any hardware and I also compile and use the latest vanilla
kernel.

I mainly use the desktop with few applications running like
sylpheed,windowmaker,firefox,gaim and of course several uxterm open.

Do you know how I can configure the system in order do produce logging during
the crash?

Thank you in advance,
Pavlos



System info:
Debian sarge(latest update)
Kernel 2.6.15.4





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



Re: ssh to remote machine with user login problem

2006-01-06 Thread Pavlos Parissis
 Hi Guys,

   I have created a ssh key and i have copied that key over the remote
 machine.When i login as root ssh to remote machoine will work without
 problem.When i try to login as user every time it is asking for the
 password.
   
 some one help me how to make it work with the user login where i need to
 check or i nees to copy key file to user home directory.

You need to copy the 'authorized_keys' file from the ssh directory of the root
(/root/.ssh/) to the user ssh directory(~/.ssh) and then make sure that the
file is owned by that user and the permissions are 600.

From security point of view you shouldn't use the same public key to access the
system as root and as user. But that takes down to your preference.

Pavlos



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



Re: ssh to remote machine with user login problem

2006-01-06 Thread Pavlos Parissis
Hello,

 Hi,

   Thanks for your mail.I have tried to copy .ssh folder from root to the
 users account and the permissions are 600 and the file is owned by the user
 and still i am getting the enter the password.

OK, you need to run the ssh command with -v argument and send us the output
while you are trying to access the system as root and as user.
Furthermore,send us the sshd_config of the server and /etc/ssh/ssh_config
, the ~.ssh/config from the system which are you using the ssh.
And of course the lines from /var/log/auth for a root login and for a user
login
to see any difference.

It must be something in the confs or you are doing something wrong
,it can not be a bug.

pavlos


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



Re: ssh to remote machine with user login problem

2006-01-06 Thread Pavlos Parissis
 hi,

   I am sending all the details as follows

   ssh -v output

   debug1: Reading configuration data /etc/ssh/ssh_config
 debug1: Connecting to x.x.x.x [x.x.x.x ] port 22.
 debug1: Connection established.
 debug1: identity file /home/user/.ssh/identity type -1
 debug1: identity file /home/user/.ssh/id_rsa type 1
 debug1: identity file /home/user/.ssh/id_dsa type -1
 debug1: Remote protocol version 2.0, remote software version OpenSSH_3.8.1p1
 Debian-8.sarge.4
 debug1: match: OpenSSH_3.8.1p1 Debian-8.sarge.4 pat OpenSSH*
 debug1: Enabling compatibility mode for protocol 2.0
 debug1: Local version string SSH-2.0-OpenSSH_3.8.1p1 Debian-8.sarge.4
 debug1: SSH2_MSG_KEXINIT sent
 debug1: SSH2_MSG_KEXINIT received
 debug1: kex: server-client aes128-cbc hmac-md5 none
 debug1: kex: client-server aes128-cbc hmac-md5 none
 debug1: SSH2_MSG_KEX_DH_GEX_REQUEST(102410248192) sent
 debug1: expecting SSH2_MSG_KEX_DH_GEX_GROUP
 debug1: SSH2_MSG_KEX_DH_GEX_INIT sent
 debug1: expecting SSH2_MSG_KEX_DH_GEX_REPLY
 debug1: Host 'x.x.x.x' is known and matches the RSA host key.
 debug1: Found key in /home/user/.ssh/known_hosts:1
 debug1: ssh_rsa_verify: signature correct
 debug1: SSH2_MSG_NEWKEYS sent
 debug1: expecting SSH2_MSG_NEWKEYS
 debug1: SSH2_MSG_NEWKEYS received
 debug1: SSH2_MSG_SERVICE_REQUEST sent
 debug1: SSH2_MSG_SERVICE_ACCEPT received
 debug1: Authentications that can continue: publickey,keyboard-interactive
 debug1: Next authentication method: publickey
 debug1: Trying private key: /home/user/.ssh/identity
 debug1: Offering public key: /home/user/.ssh/id_rsa
 debug1: Authentications that can continue: publickey,keyboard-interactive
 debug1: Trying private key: /home/user/.ssh/id_dsa
 debug1: Next authentication method: keyboard-interactive

It looks like your client is offering the RSA public key and your server
is rejecting it.

 Password:

sshd_config file from where i am trying to access remote machine

I asked the sshd_config of the remote server,may be i was not clear.
Just make sure that the remote server has 
PubkeyAuthentication yes
in sshd_config
  
   # Package generated configuration file
 # See the sshd(8) manpage for details
   # What ports, IPs and protocols we listen for
 Port 22
 # Use these options to restrict which interfaces/protocols sshd will bind to
 #ListenAddress ::
 #ListenAddress 0.0.0.0
 Protocol 2
 # HostKeys for protocol version 2
 HostKey /etc/ssh/ssh_host_rsa_key
 HostKey /etc/ssh/ssh_host_dsa_key
 #Privilege Separation is turned on for security
 UsePrivilegeSeparation yes
   # Lifetime and size of ephemeral version 1 server key
 KeyRegenerationInterval 3600
 ServerKeyBits 768
   # Logging
 SyslogFacility AUTH
 LogLevel INFO
   # Authentication:
 LoginGraceTime 600
 PermitRootLogin yes
 #PermitRootLogin forced-commands-only
 StrictModes yes
   RSAAuthentication yes
 PubkeyAuthentication yes
 AuthorizedKeysFile  %h/.ssh/authorized_keys
   # Don't read the user's ~/.rhosts and ~/.shosts files
 IgnoreRhosts yes
 # For this to work you will also need host keys in /etc/ssh_known_hosts
 RhostsRSAAuthentication no
 # similar for protocol version 2
 HostbasedAuthentication no
 # Uncomment if you don't trust ~/.ssh/known_hosts for
 RhostsRSAAuthentication
 #IgnoreUserKnownHosts yes
   # To enable empty passwords, change to yes (NOT RECOMMENDED)
 PermitEmptyPasswords no
   # Change to no to disable s/key passwords
 #ChallengeResponseAuthentication yes
   # Change to yes to enable tunnelled clear text passwords
 PasswordAuthentication no
   
 # To change Kerberos options
 #KerberosAuthentication no
 #KerberosOrLocalPasswd yes
 #AFSTokenPassing no
 #KerberosTicketCleanup no
   # Kerberos TGT Passing does only work with the AFS kaserver
 #KerberosTgtPassing yes
 X11Forwarding no
 X11DisplayOffset 10
 PrintMotd no
 PrintLastLog yes
 KeepAlive yes
 #UseLogin no
   #MaxStartups 10:30:60
 #Banner /etc/issue.net
   Subsystem   sftp/usr/lib/sftp-server
   UsePAM yes
   ssh_config
   #   $OpenBSD: ssh_config,v 1.19 2003/08/13 08:46:31 markus Exp $
   # This is the ssh client system-wide configuration file.  See
 # ssh_config(5) for more information.  This file provides defaults for
 # users, and the values can be changed in per-user configuration files
 # or on the command line.
   # Configuration data is parsed as follows:
 #  1. command line options
 #  2. user-specific file
 #  3. system-wide file
 # Any configuration value is only changed the first time it is set.
 # Thus, host-specific definitions should be at the beginning of the
 # configuration file, and defaults at the end.
   # Site-wide defaults for various options
   # Host *
 #   ForwardAgent no
 #   ForwardX11 no
 #   ForwardX11Trusted yes
 #   RhostsRSAAuthentication no
 #   RSAAuthentication yes
 #   PasswordAuthentication yes
 #   HostbasedAuthentication no
 #   BatchMode no
 #   CheckHostIP yes
 #   AddressFamily any
 #   ConnectTimeout 0
 #   StrictHostKeyChecking ask
 #   IdentityFile 

Re: ssh to remote machine with user login problem

2006-01-06 Thread Pavlos Parissis

...snip...

   When i try the following commnd

   diff authorized_keys id_rsa.pub

   Result

   1c1
  ssh-rsa

B3NzaC1yc2EBIwAAAIEA229WYAsRv9lhplUxynEvTsq8HYd/e7vE78LEye4a1/IgVuW3u6vW0cUDXM/RRJjh1j/sLDJwaTbs/ildzXc8YNvOl3YoAVosHcEH1MTfMqDYdta3tpwqfwLZ+Ruq4XV3WSRTV56i8k7mCJ4zkjhpn715tgr5U84ZMQzbRT5ZXtk=
 [EMAIL PROTECTED]
 ---
  ssh-rsa

B3NzaC1yc2EBIwAAAIEAzIB5fb6SJJJI2sDKOzyVtzCpyt9I/40z5Sv2x8dL2hJIJjknSXrYXseIhPOzmOXMPL9BsTu/5uCnQm+EPq1cBd1aFDcrla+yxSTcmhNQGa5S271//Tx+XBwVzBFccOcDqa+W5PzNqY6t+FpobhbOrf2AOPqGpUy5nxgRnHqHMhE=
 [EMAIL PROTECTED]


   When i try to run the commnads i am trying as follows

   #ssh [EMAIL PROTECTED]

   #ssh [EMAIL PROTECTED]
   
 
 Pavlos Parissis [EMAIL PROTECTED] wrote:
hi,
  
  I am sending all the details as follows
  
  authorized_keys id_rsa id_rsa.pub known_hosts
 
 are these files exist on the remote system?

you didn't answer me on this.

 If the id_rsa.pub is the public key then
 diff authorized_keys id_rsa.pub
 should return nothing.
 
 But you said that in the remote system you have copied all the files under
 /root/.ssh to /home/user/.ssh.
 which means the remote server has the right public key information for the
 user.
 do a ls -ld on /home/user/.ssh /home/user and see if it is world-writable.

what about the above?

 If it is then you have two options
 a) make to be no-world-writable
 b) make sure the on sshd_config of the remote system you have StrictModes
 no,
 you shouldn't do that
 
 OK we checked that on remote system every thing is in place, let's go on the
 host you use ssh.
 are sure that you are using the right private key?
 when you access the remote system as a root do you specify the
 identity/private
 key using ssh -i id_rsa?
 how do you use the ssh cmd in both cases?


PS:Please next time reply to the list only.


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



Re: software RAID

2005-12-08 Thread Pavlos Parissis
Hi,
Since we are talking about RAID I would like to ask ,how can I remove a raid 1 
device.

I had one md5 device which was a RAID-1 with 2 slices from 2 disks.
I removed the one slice from md5 as it it described in the manual
but I don't how I can remove the md5 device.

Do I need to remove the /dev/md5 by my self?
and then remove the Linux raid autodetect from the slice of the 2 disk?

thanks,
Pavlos


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



Re: where info on packages stored when apt-get update?

2005-07-09 Thread Pavlos Parissis
Hello,
I think here
/var/cache/apt
[EMAIL PROTECTED]/var/cache/apt]$
ls
archives  pkgcache.bin  srcpkgcache.bin

but you should read the apt-howto for more info
Pavlos

On Sat, 9 Jul 2005 16:31:17 +0600
askar k [EMAIL PROTECTED] wrote:

 Hello!
 
 As I understand when we do apt-get update, the system stores
 information on available packages. Where it's stored?
 
 askar
 
 


-- 
~~
I love having the feeling of being in control
while i have the sensation of speed

The surfer of life
~~
GnuPG Key: FB1E6AE7
Fingerprint  A9AE EA0C EE1F FBD0 5B6F  3F77 2782 EFE2 FB1E 6AE7
Get my key here: http://users.hol.gr/~p_pavlos/pubpgpkey.txt


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



Re: X problem as root

2005-06-27 Thread Pavlos Parissis
Hello,
You have to export the variable XAUTHORITY before invoke su
export XAUTHORITY=~/.Xauthority
su

do not use the '-' in su command  because this invoke the shell which read the
.profile files and over write you XAUTHORITY variable.
You will find a sample .bash_profile under /usr/share/docs/bash
I hope it helped
Pavlos

Αρχικό μήνυμα από  Marco Calviani [EMAIL PROTECTED]:

 Hi everybody,
   i've got a problem whenever i become root and try to open a window in 
 my user X session:
 
 for example:
 
 [EMAIL PROTECTED]:~$ su
 [EMAIL PROTECTED]:~$ eog
 Xlib: connection to :0.0 refused by server
 Xlib: No protocol specified
 
 
 Does anybody can diagnose the problem?
 
 Thanks,
 MC
 
 
 -- 
 To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
 with a subject of unsubscribe. Trouble? Contact
 [EMAIL PROTECTED]
 
 




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



Re: default gateway

2003-03-12 Thread Pavlos Parissis
Hello all,
I would like to thank all the people who spent their time to reply me.
I should sent the e-mail before read the manuals and search google.

Regards,
Pavlos

-- 
~~
I love having the feeling of being in control
while i have the sensation of speed

The surfer of life
~~
GnuPG Key: FB1E6AE7
Fingerprint  A9AE EA0C EE1F FBD0 5B6F  3F77 2782 EFE2 FB1E 6AE7
Get my key here: http://users.hol.gr/~p_pavlos/pubpgpkey.txt


pgp0.pgp
Description: PGP signature


Re: default gateway

2003-03-12 Thread Pavlos Parissis
Hello all,
I would like to thank all the people who spent their time to reply me.
I should sent the e-mail before read the manuals and search google.

Regards,
Pavlos

-- 
~~
I love having the feeling of being in control
while i have the sensation of speed

The surfer of life
~~
GnuPG Key: FB1E6AE7
Fingerprint  A9AE EA0C EE1F FBD0 5B6F  3F77 2782 EFE2 FB1E 6AE7
Get my key here: http://users.hol.gr/~p_pavlos/pubpgpkey.txt


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



default gateway

2003-03-11 Thread Pavlos Parissis
Hello all,
I am looking for the file that I have to modify in order to have static route
enabled.
I add the gateway manually with route add -net default gw 192.168.100.1 
and I would like to find the config file.
I am using woody 3.0.r1,any ideas?

Pavlos


-- 
~~
I love having the feeling of being in control
while i have the sensation of speed

The surfer of life
~~
GnuPG Key: FB1E6AE7
Fingerprint  A9AE EA0C EE1F FBD0 5B6F  3F77 2782 EFE2 FB1E 6AE7
Get my key here: http://users.hol.gr/~p_pavlos/pubpgpkey.txt


pgp0.pgp
Description: PGP signature


Re: LAPTOPS

2003-03-10 Thread Pavlos Parissis
On Mon, 10 Mar 2003 16:32:36 -0400 james leclair [EMAIL PROTECTED]
wrote:
  
  
  Hello,  you guys have been very helpful in the past so heres another one 
  for yus!
  I'm about to take the plunge and pick up a laptop. My first laptop in a 
  number of years.
  So, what, if any, suggestions comments or what have you might the experts 
  suggest I consider
  when making my decision on a brand of craptop?
  Thanks in advance,
  James,
Just visit this site http://www.linux-laptop.net/
  
  An extraterrestrial being, newly arrived on Earth-scrutinizing what we 
  mainly present to our children in television, radio, movies, newspapers, 
  magazines, the comics, and many books-might easily conclude that we are 
  intent on teaching them murder, rape, cruelty, superstition, credulity and 
  consumerism.
  
  
  -- 
  To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
  with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
  


-- 
~~
I love having the feeling of being in control
while i have the sensation of speed

The surfer of life
~~
GnuPG Key: FB1E6AE7
Fingerprint  A9AE EA0C EE1F FBD0 5B6F  3F77 2782 EFE2 FB1E 6AE7
Get my key here: http://users.hol.gr/~p_pavlos/pubpgpkey.txt


pgp0.pgp
Description: PGP signature