Re: [gentoo-user] Formating a USB stick

2009-10-09 Thread Mick
On Friday 09 October 2009, Stroller wrote:
 On 8 Oct 2009, at 22:10, Paul Hartman wrote:
  ...
  With SD cards, often times there are no partitions. So if you create
  proper partitions sometimes it won't read in other devices/computers.
  (in linux terms that means you would format /dev/sda not /dev/sda1)

 Uh, unless SD cards are seriously goofy - a possibility I concede -
 then they're just a bunch of blocks. Partitions are just something you
 - either you the user, or the manufacturer if they come pre-formatted
 - put on there.

 I'm pretty sure that my experience with at least one external hard-
 drive (USB mass-storage device) was that formatting /dev/sda worked
 just fine under Linux (and, I think OS X) but was not recognised by
 Windows XP. IIRC mkfs.vfat gave a warning. When formatted by Windows
 XP and remounted in Linux the drive was of the /dev/sda1 type of
 partition layout.

 This seems to be the opposite of how you describe, unless I am
 misreading.

Some USB sticks are formatted as floppy disks (?) and show up as /dev/sda 
(instead of /dev/sda1).  I have had no problems mounting these in Linux or 
MSWindows, but wouldn't know how to format them in Linux.  Their partitions 
look all over the shop.  dmesg shows:
==
usb-storage: device scan complete
sd 1:0:0:0: [sda] 1997312 512-byte hardware sectors: (1.02 GB/975 MiB)
sd 1:0:0:0: [sda] Write Protect is off
sd 1:0:0:0: [sda] Mode Sense: 03 00 00 00
sd 1:0:0:0: [sda] Assuming drive cache: write through
sd 1:0:0:0: [sda] Assuming drive cache: write through
 sda:
sd 1:0:0:0: [sda] Attached SCSI removable disk
==

and fdisk:
==
# fdisk -l /dev/sda

Disk /dev/sda: 1022 MB, 1022623744 bytes
32 heads, 61 sectors/track, 1023 cylinders
Units = cylinders of 1952 * 512 = 999424 bytes
Disk identifier: 0x69737369

This doesn't look like a partition table
Probably you selected the wrong device.

   Device Boot  Start End  Blocks   Id  System
/dev/sda1   ?  957875 104429484344761   69  Unknown
Partition 1 has different physical/logical beginnings (non-Linux?):
 phys=(68, 13, 10) logical=(957874, 21, 37)
Partition 1 has different physical/logical endings:
 phys=(288, 115, 43) logical=(1044293, 15, 36)
Partition 1 does not end on cylinder boundary.
/dev/sda2   ?  871681 1829612   934940732+  73  Unknown
Partition 2 has different physical/logical beginnings (non-Linux?):
 phys=(371, 114, 37) logical=(871680, 1, 61)
Partition 2 has different physical/logical endings:
 phys=(366, 32, 33) logical=(1829611, 4, 30)
Partition 2 does not end on cylinder boundary.
/dev/sda3   ?   2   2   0   74  Unknown
Partition 3 has different physical/logical beginnings (non-Linux?):
 phys=(371, 114, 37) logical=(1, 10, 12)
Partition 3 has different physical/logical endings:
 phys=(372, 97, 50) logical=(1, 10, 11)
Partition 3 does not end on cylinder boundary.
/dev/sda4   1 1759792  17175567360  Empty
Partition 4 has different physical/logical beginnings (non-Linux?):
 phys=(0, 0, 0) logical=(0, 0, 1)
Partition 4 has different physical/logical endings:
 phys=(0, 0, 0) logical=(1759791, 23, 37)
Partition 4 does not end on cylinder boundary.

Partition table entries are not in disk order
==

While parted again has no problem seeing it and identifying the partition 
tablet as loop instead of MSDOS:
==
# parted /dev/sda
Warning: GNU Parted has detected libreiserfs interface version mismatch.  
Found 1-1, required 0. ReiserFS support will be disabled.
GNU Parted 1.8.8
Using /dev/sda
Welcome to GNU Parted! Type 'help' to view a list of commands.
(parted) p
Model: Crucial Gizmo! overdrive (scsi)
Disk /dev/sda: 1023MB
Sector size (logical/physical): 512B/512B
Partition Table: loop

Number  Start  End SizeFile system  Flags
 1  0.00B  1023MB  1023MB  fat16
==
-- 
Regards,
Mick


signature.asc
Description: This is a digitally signed message part.


Re: [gentoo-user] Formating a USB stick

2009-10-09 Thread Neil Bothwick
On Fri, 9 Oct 2009 07:56:49 +0100, Mick wrote:

 Some USB sticks are formatted as floppy disks (?) and show up
 as /dev/sda (instead of /dev/sda1).  I have had no problems mounting
 these in Linux or MSWindows, but wouldn't know how to format them in
 Linux.

mkfs.vfat -I /dev/sdX

 Their partitions look all over the shop. 

 # fdisk -l /dev/sda
 
 Disk /dev/sda: 1022 MB, 1022623744 bytes
 32 heads, 61 sectors/track, 1023 cylinders
 Units = cylinders of 1952 * 512 = 999424 bytes
 Disk identifier: 0x69737369
 
 This doesn't look like a partition table

That's because there are no partitions and no partition table, the
filesystem filled the unpartitioned disk. The Sony E-Reader uses this
method for its internal flash storage and KDE has no problems
automounting it.


-- 
Neil Bothwick

OS/2: Obsolete Soon, Too


signature.asc
Description: PGP signature


Re: [gentoo-user] Re: FIXED 3D

2009-10-09 Thread Neil Bothwick
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

On Thu, 08 Oct 2009 22:22:05 -0400, Jonathan Callen wrote:

 that's mainly because I switched my escape for GNU screen from ^A to `

That's a good idea, as I use ` a lot less than Ctrl-A I may do the same.
Then I'll have to override years opf muscle memory...


- -- 
Neil Bothwick

SCORE! Monkeys: one. Humans: zero.
-BEGIN PGP SIGNATURE-
Version: GnuPG v2.0.13 (GNU/Linux)

iEYEARECAAYFAkrO8KcACgkQum4al0N1GQOLQgCgomOE3LYWvnI4cMIYL2kNJe1Z
9FgAoJpYk6iVj0AYRVEXD0WV99qzvywB
=9yCA
-END PGP SIGNATURE-


Re: [gentoo-user] Re: Fed up with Xorg + hal mess [SOLVED]

2009-10-09 Thread Neil Bothwick
On Fri, 9 Oct 2009 11:05:16 +0900, daid kahl wrote:

 That's okay.  I washed my passport once.

Did your photo look any better afterwards? ;-)


-- 
Neil Bothwick

If you consult enough experts, you can confirm any opinion.


signature.asc
Description: PGP signature


Re: [gentoo-user] Formating a USB stick

2009-10-09 Thread KH

Stroller schrieb:


On 8 Oct 2009, at 12:22, KH wrote:

...
as a matter of fact, you *can't*. I once formated a USB stick as swap 
(is it 82 or 83?) and used it in Linux as swap. (very little ram on 
the old vaio I used.)

There was a second partition as raiser(?) and also 82 or 83.
Anyway later I wanted to use it again and windows was unable to format 
it. I think it didn't even show up.


Did you look in Disk Management?

Formatted disks show in My Computer, but disks with an alien 
filesystem show only in Disk Management on XP, which is a far less 
obvious place  to find.


Stroller.



Hi,

Maybe I didn't. I don't do Windows anymore so when I have to use it 
somewhere I am often even more lost than with gentoo :-)


kh



Re: [gentoo-user] Formating a USB stick

2009-10-09 Thread Mick
2009/10/9 Neil Bothwick n...@digimed.co.uk:
 On Fri, 9 Oct 2009 07:56:49 +0100, Mick wrote:

 Some USB sticks are formatted as floppy disks (?) and show up
 as /dev/sda (instead of /dev/sda1).  I have had no problems mounting
 these in Linux or MSWindows, but wouldn't know how to format them in
 Linux.

 mkfs.vfat -I /dev/sdX

Aha!  The 'superfloppy' format!  I didn't know this.

Thanks.  :-)
-- 
Regards,
Mick



Re: [gentoo-user] /usr/lib/ccache/bin does not exist, big deal?

2009-10-09 Thread laurent

daid kahl a écrit :

I'm emergin system and world after a little while, maybe 4 months, I got
directory does not exist /usr/lib/ccache/bin

I search a bit, and it seems that ccache accelerate compiling.
So it's seems to emerge anyway in a good way.
What should I do to kinda make it better ? Just create that folder??




The short answer is to edit make.conf and create a new directory.  For
example, here is a copy from my make.conf of the relevant location
(sorry for the line numbers):

FEATURES=collision-protect sandbox ccache userpriv usersandbox buildpkg
# features for the cowboy in you
#FEATURES=-collision-protect -protect-owned sandbox ccache
CCACHE_DIR=/var/tmp/ccache/
CCACHE_SIZE=2G

You need to add the FEATURE ccache (don't worry about the rest of
mine, but you should have some FEATURES I hope!), define the
CCACHE_DIR  CCACHE_SIZE variables, and make sure the CCACHE_DIR is
created.

For more information, you can check the gentoo wiki:
http://en.gentoo-wiki.com/wiki/Ccache

Personally, right above the FEATURES declaration in make.conf, I have
a stack of comments so I can remember what features are available and
remember how to use them:

# Notes of all possible FEATURES and the respective effects
#  'assume-digests'
#when commiting work to cvs with repoman(1), assume that all
#existing SRC_URI digests are correct.  This feature also
#affects digest generation via ebuild(1) and emerge(1) (emerge
#generates digests only when the 'digest' feature is enabled).
#  'autoaddcvs'  causes portage to automatically try to add files to cvs
#that will have to be added later. Done at generation times
#and only has an effect when 'cvs' is also set.
#  'buildpkg'causes binary packages to be created of all packages that
#are being merged.
#  'ccache'  enables ccache support via CC.
#  'confcache'   enable confcache support; speeds up autotool based configure
#calls
#  'collision-protect'
#prevents packages from overwriting files that are owned by
#another package or by no package at all.
#  'cvs' causes portage to enable all cvs features (commits, adds),
#and to apply all USE flags in SRC_URI for digests -- for
#developers only.
#  'digest'  autogenerate digests for packages when running the emerge(1)
#command.  If the 'assume-digests' feature is also enabled then
#existing SRC_URI digests will be reused whenever they are
#available.
#  'distcc'  enables distcc support via CC.
#  'distlocks'   enables distfiles locking using fcntl or hardlinks. This
#is enabled by default. Tools exist to help clean the locks
#after crashes: /usr/lib/portage/bin/clean_locks.
#  'fixpackages' allows portage to fix binary packages that are stored in
#PKGDIR. This can consume a lot of time. 'fixpackages' is
#also a script that can be run at any given time to force
#the same actions.
#  'gpg' enables basic verification of Manifest files using gpg.
#This features is UNDER DEVELOPMENT and reacts to features
#of strict and severe. Heavy use of gpg sigs is coming.
#  'keeptemp'prevents the clean phase from deleting the temp files ($T)
#from a merge.
#  'keepwork'prevents the clean phase from deleting the WORKDIR.
#  'test'causes ebuilds to perform testing phases if they are capable
#of it. Some packages support this automaticaly via makefiles.
#  'metadata-transfer'
#automatically perform a metadata transfer when `emerge --sync`
#is run.
#  'noauto'  causes ebuild to perform only the action requested and
#not any other required actions like clean or unpack -- for
#debugging purposes only.
#  'noclean' prevents portage from removing the source and temporary files
#after a merge -- for debugging purposes only.
#  'nostrip' prevents the stripping of binaries.
#  'notitles'disables xterm titlebar updates (which contain status info).
#  'parallel-fetch'
#do fetching in parallel to compilation
#  'sandbox' enables sandboxing when running emerge and ebuild.
#  'strict'  causes portage to react strongly to conditions that are
#potentially dangerous, like missing/incorrect Manifest files.
#  'userfetch'   when portage is run as root, drop privileges to
#portage:portage during the fetching of package sources.
#  'userpriv'allows portage to drop root privileges while it is compiling,
#as a security measure.  As a side effect this can remove
#sandbox access violations for users.
#  'usersandbox' enables sandboxing while portage is running 

[gentoo-user] my xorg-server 1.6 seems a bit unstable - what am I doing wrong?

2009-10-09 Thread Denis
I am running the xorg-server-1.6, to which I just upgraded, and kernel
 2.6.27-gentoo-r8, and I am having an issue with the server crashing
whenever I try to drag the scroll bar within Mathematica - which never
happened to me before with previous xorg-servers, and I use
Mathematica extensively.  So I just wanted to ask some questions to
see if any of the warnings and errors I am seeing in the log may
actually cause X to be unstable...

1.  In the log (see below), Xorg shows an error trying to load dri...
Since I have nvidia and glx and don't have dri, I don't have the dri
drivers, so how can I stop Xorg from trying to load dri/dri2?

2.  I get a warning:

(--) PCI:*(0:1:0:0) 10de:01d1:: nVidia Corporation G72
[GeForce 7300 LE] rev 161, Mem @ 0x9100/16777216,
0x8000/268435456, 0x9000/16777216
(WW) Open ACPI failed (/var/run/acpid.socket) (No such file or directory)
(II) No APM support in BIOS or kernel

Will this make X unstable in any way?

3.  Are the freetype and type1 modules now incorporated into X or phased out?


Here is my xorg.conf:
=
Section ServerLayout
Identifier X.org Configured
Screen  0  Screen0 0 0
InputDeviceMouse0 CorePointer
InputDeviceKeyboard0 CoreKeyboard
EndSection

Section Files
ModulePath   /usr/lib/xorg/modules
FontPath /usr/share/fonts/misc/:unscaled
FontPath /usr/share/fonts/Type1/
FontPath /usr/share/fonts/ttf-bitstream-vera/
FontPath /usr/share/fonts/75dpi/:unscaled
FontPath /usr/share/fonts/100dpi/:unscaled
FontPath /usr/share/fonts/default/ghostscript/
FontPath /usr/share/fonts/corefonts/
FontPath /usr/share/fonts/cyrillic/
FontPath /usr/share/fonts/dejavu/
FontPath /usr/share/fonts/freefonts/
FontPath /usr/share/fonts/intlfonts/  
FontPath /usr/share/fonts/terminus/
FontPath /usr/share/fonts/unifont/
FontPath /usr/share/fonts/Mathematica/AFM/
FontPath /usr/share/fonts/Mathematica/BDF/
FontPath /usr/share/fonts/Mathematica/Type1/


EndSection

Section Module
Load  record
Load  extmod
Load  dbe
Load  glx
#Load  type1
#Load  freetype
EndSection

Section InputDevice
Identifier  Keyboard0
Driver  kbd
EndSection

Section InputDevice
Identifier  Mouse0
Driver  mouse
Option  Protocol auto
Option  Device /dev/input/mice
Option  ZAxisMapping 4 5 6 7
EndSection

Section Monitor
Identifier   Monitor0
VendorName   Sony
ModelNameG520
DisplaySize  405 305
EndSection

Section Device
Identifier  Card0
Driver  nvidia
VendorName  nVidia Corporation
BoardName   GeForce 7300 LE
BusID   PCI:1:0:0
Option UseEdidDpi FALSE
#   Option DPI 100 x 100
EndSection

Section Screen
Identifier Screen0
Device Card0
MonitorMonitor0
DefaultDepth 24
SubSection Display
Viewport   0 0
Depth 16
EndSubSection
SubSection Display
Viewport   0 0
Depth 24
Modes 1600x1200
EndSubSection
EndSection


And here is the Xorg.0.log file:

X.Org X Server 1.6.3.901 (1.6.4 RC 1)
Release Date: 2009-8-25
X Protocol Version 11, Revision 0
Build Operating System: Linux 2.6.27-gentoo-r8 i686
Current Operating System: Linux langevin 2.6.27-gentoo-r8 #1 SMP
PREEMPT Sat Feb 28 18:50:18 EST 2009 i686
Build Date: 08 October 2009  11:20:23AM

Before reporting problems, check http://wiki.x.org
to make sure that you have the latest version.
Markers: (--) probed, (**) from config file, (==) default setting,
(++) from command line, (!!) notice, (II) informational,
(WW) warning, (EE) error, (NI) not implemented, (??) unknown.
(==) Log file: /var/log/Xorg.0.log, Time: Fri Oct  9 10:33:25 2009
(==) Using config file: /etc/X11/xorg.conf
(==) ServerLayout X.org Configured
(**) |--Screen Screen0 (0)
(**) |   |--Monitor Monitor0
(**) |   |--Device Card0
(**) |--Input Device Mouse0
(**) |--Input Device Keyboard0
(==) Not automatically adding devices
(==) Not automatically enabling devices
(**) FontPath set to:
/usr/share/fonts/misc/:unscaled,
/usr/share/fonts/Type1/,
/usr/share/fonts/ttf-bitstream-vera/,
/usr/share/fonts/75dpi/:unscaled,
/usr/share/fonts/100dpi/:unscaled,
/usr/share/fonts/default/ghostscript/,
/usr/share/fonts/corefonts/,
/usr/share/fonts/cyrillic/,
/usr/share/fonts/dejavu/,
/usr/share/fonts/freefonts/,
/usr/share/fonts/intlfonts/,
/usr/share/fonts/terminus/,
  

Re: [gentoo-user] my xorg-server 1.6 seems a bit unstable - what am I doing wrong?

2009-10-09 Thread Volker Armin Hemmann
On Freitag 09 Oktober 2009, Denis wrote:
 I am running the xorg-server-1.6, to which I just upgraded, and kernel
  2.6.27-gentoo-r8, and I am having an issue with the server crashing
 whenever I try to drag the scroll bar within Mathematica - which never
 happened to me before with previous xorg-servers, and I use
 Mathematica extensively.  So I just wanted to ask some questions to
 see if any of the warnings and errors I am seeing in the log may
 actually cause X to be unstable...
 
 1.  In the log (see below), Xorg shows an error trying to load dri...
 Since I have nvidia and glx and don't have dri, I don't have the dri
 drivers, so how can I stop Xorg from trying to load dri/dri2?
 
 2.  I get a warning:
 
 (--) PCI:*(0:1:0:0) 10de:01d1:: nVidia Corporation G72
 [GeForce 7300 LE] rev 161, Mem @ 0x9100/16777216,
 0x8000/268435456, 0x9000/16777216
 (WW) Open ACPI failed (/var/run/acpid.socket) (No such file or directory)
 (II) No APM support in BIOS or kernel
 
 Will this make X unstable in any way?

no. That messages have no influence at all.

 
 3.  Are the freetype and type1 modules now incorporated into X or phased
  out?
 


 
 Here is my xorg.conf:

now let us remove all the stuff you don't need.

 =
 Section ServerLayout
   Identifier X.org Configured
   Screen  0  Screen0 0 0
   InputDeviceMouse0 CorePointer
   InputDeviceKeyboard0 CoreKeyboard
 EndSection
 
 Section Files

 EndSection
 
 Section Module
 EndSection
 
 Section InputDevice
   Identifier  Keyboard0
   Driver  kbd
 EndSection
 
 Section InputDevice
   Identifier  Mouse0
   Driver  mouse
   Option  Protocol auto
   Option  Device /dev/input/mice
   Option  ZAxisMapping 4 5 6 7
 EndSection
 
 Section Monitor
   Identifier   Monitor0
   VendorName   Sony
   ModelNameG520
 EndSection
 
 Section Device
   Identifier  Card0
   Driver  nvidia
   VendorName  nVidia Corporation
   BoardName   GeForce 7300 LE
   BusID   PCI:1:0:0
   Option UseEdidDpi FALSE
why?

 # Option DPI 100 x 100
 EndSection
 
 Section Screen
   Identifier Screen0
   Device Card0
   MonitorMonitor0
   DefaultDepth 24
   SubSection Display
   Viewport   0 0
   Depth 16
   EndSubSection
   SubSection Display
   Viewport   0 0
   Depth 24
   Modes 1600x1200
   EndSubSection
 EndSection
 
 
 And here is the Xorg.0.log file:
 
 X.Org X Server 1.6.3.901 (1.6.4 RC 1)
 Release Date: 2009-8-25
 X Protocol Version 11, Revision 0
 Build Operating System: Linux 2.6.27-gentoo-r8 i686
 Current Operating System: Linux langevin 2.6.27-gentoo-r8 #1 SMP
 PREEMPT Sat Feb 28 18:50:18 EST 2009 i686
 Build Date: 08 October 2009  11:20:23AM
 
   Before reporting problems, check http://wiki.x.org
   to make sure that you have the latest version.
 Markers: (--) probed, (**) from config file, (==) default setting,
   (++) from command line, (!!) notice, (II) informational,
   (WW) warning, (EE) error, (NI) not implemented, (??) unknown.
 (==) Log file: /var/log/Xorg.0.log, Time: Fri Oct  9 10:33:25 2009
 (==) Using config file: /etc/X11/xorg.conf
 (==) ServerLayout X.org Configured
 (**) |--Screen Screen0 (0)
 (**) |   |--Monitor Monitor0
 (**) |   |--Device Card0
 (**) |--Input Device Mouse0
 (**) |--Input Device Keyboard0
 (==) Not automatically adding devices
 (==) Not automatically enabling devices
 (**) FontPath set to:
   /usr/share/fonts/misc/:unscaled,
   /usr/share/fonts/Type1/,
   /usr/share/fonts/ttf-bitstream-vera/,
   /usr/share/fonts/75dpi/:unscaled,
   /usr/share/fonts/100dpi/:unscaled,
   /usr/share/fonts/default/ghostscript/,
   /usr/share/fonts/corefonts/,
   /usr/share/fonts/cyrillic/,
   /usr/share/fonts/dejavu/,
   /usr/share/fonts/freefonts/,
   /usr/share/fonts/intlfonts/,
   /usr/share/fonts/terminus/,
   /usr/share/fonts/unifont/,
   /usr/share/fonts/Mathematica/AFM/,
   /usr/share/fonts/Mathematica/BDF/,
   /usr/share/fonts/Mathematica/Type1/,
   /usr/share/fonts/misc/,
   /usr/share/fonts/TTF/,
   /usr/share/fonts/OTF,
   /usr/share/fonts/Type1/,
   /usr/share/fonts/100dpi/,
   /usr/share/fonts/75dpi/
 (**) ModulePath set to /usr/lib/xorg/modules
 (II) Loader magic: 0x1ea0
 (II) Module ABI versions:
   X.Org ANSI C Emulation: 0.4
   X.Org Video Driver: 5.0
   X.Org XInput driver : 4.0
   X.Org Server Extension : 2.0
 (II) Loader running on linux
 (++) using VT number 9
 
 (--) PCI:*(0:1:0:0) 10de:01d1:: nVidia Corporation G72
 [GeForce 7300 LE] rev 161, Mem @ 0x9100/16777216,
 0x8000/268435456, 0x9000/16777216
 (WW) Open ACPI failed (/var/run/acpid.socket) (No such file 

Re: [gentoo-user] my xorg-server 1.6 seems a bit unstable - what am I doing wrong?

2009-10-09 Thread Denis
 Section Device
       Identifier  Card0
       Driver      nvidia
       VendorName  nVidia Corporation
       BoardName   GeForce 7300 LE
       BusID       PCI:1:0:0
       Option UseEdidDpi FALSE
 why? =

 #     Option DPI 100 x 100
 EndSection

Sorry  - what was that why? referring to?  I think I put those
options in when I was working on anti-aliasing the fonts to make them
look smooth.  That still works.



 1.6.3.901
 is - lets just say you should either use 1.6.3 or 1.6.4
 and what about your driver version?
 and why 2.6.27? that kernel is acient!



Well, I used 1.6.3.901-r2 because that's what the portage pulled in
when I did emerge -NDavu world.  Portage tree seems to have options to
use 1.6.4, but it was not pulled in by emerge, so maybe it is masked
or keyworded?

The kernel...  Well, I am guilty of not keeping up on kernel updates
because restarting the machine for each upgrade isn't always an option
with my work.  Do you think this version of the kernel may contribute
to X instability?



[gentoo-user] vsftpd conf ...still..:)

2009-10-09 Thread laurent

Hi,

I setup vsftpd a long time ago, I still can't get the local user to 
work. First. then I would configure it differently but I would like to 
even connect once..


here's my conf:


local_root=/home/www
anon_upload_enable=NO
anon_mkdir_write_enable=NO
anon_other_write_enable=NO
chroot_local_user=YES
chroot_list_enable=NO
xferlog_enable=YES
xferlog_file=/home/var/log/vsftpd/vsftpd.log
idle_session_timeout=600
data_connection_timeout=120
ascii_upload_enable=NO
ascii_download_enable=NO
dirmessage_enable=YES
listen=YES
listen_port=21
ls_recurse_enable=NO
pasv_min_port=3
pasv_max_port=30999


ftp client find the server, can connect with the guest user but can't 
delete and upload files.

And local user just refuse password, loging fail.

Any Idea where I should look?

The xferlog does not output any log file in the directory specified...I 
don't have logs for vsftpd...oO


Laurent



Re: [gentoo-user] my xorg-server 1.6 seems a bit unstable - what am I doing wrong?

2009-10-09 Thread Volker Armin Hemmann
On Freitag 09 Oktober 2009, Denis wrote:
  Section Device
Identifier  Card0
Driver  nvidia
VendorName  nVidia Corporation
BoardName   GeForce 7300 LE
BusID   PCI:1:0:0
Option UseEdidDpi FALSE
 
  why? =
 
  # Option DPI 100 x 100
  EndSection
 
 Sorry  - what was that why? referring to?  I think I put those
 options in when I was working on anti-aliasing the fonts to make them
 look smooth.  That still works.
 
  1.6.3.901
  is - lets just say you should either use 1.6.3 or 1.6.4
  and what about your driver version?
  and why 2.6.27? that kernel is acient!
 
 Well, I used 1.6.3.901-r2 because that's what the portage pulled in
 when I did emerge -NDavu world.  Portage tree seems to have options to
 use 1.6.4, but it was not pulled in by emerge, so maybe it is masked
 or keyworded?
 
 The kernel...  Well, I am guilty of not keeping up on kernel updates
 because restarting the machine for each upgrade isn't always an option
 with my work.  Do you think this version of the kernel may contribute
 to X instability?
 

i am saying that you should try the latest kernel with the latest driver for 
your card



[gentoo-user] vsftpd conf ...still..:)

2009-10-09 Thread laurent

ho I forgot lines of my conf file, here's the entire lines :

anonymous_enable=NO
local_enable=YES
write_enable=YES
local_root=/home/www
#anon_upload_enable=NO
#anon_mkdir_write_enable=NO
#anon_other_write_enable=NO
chroot_local_user=YES
chroot_list_enable=NO
xferlog_enable=YES
xferlog_file=/home/var/log/vsftpd/vsftpd.log
idle_session_timeout=600
data_connection_timeout=120
ascii_upload_enable=NO
ascii_download_enable=NO
#nopriv_user=vsftpduser
dirmessage_enable=YES
#guest_enable=YES
#guest_username=vsftpduser
listen=YES
listen_port=21
ls_recurse_enable=NO
pasv_min_port=3
pasv_max_port=30999

Laurent




Re: [gentoo-user] my xorg-server 1.6 seems a bit unstable - what am I doing wrong?

2009-10-09 Thread Denis
I see.

Well, I am running nvidia-drivers-180.60, and versions 185 and 190 are
masked by ~x86.  Same for the xorg-server-1.6.4.  So the only thing I
could do really is to update the kernel...

But xorg-server-1.5 was perfectly stable for me, so I don't see how
kernel upgrade would be helpful here, given that nvidia-drivers aren't
in the kernel.



[gentoo-user] Anyone at Hosting Europe here?

2009-10-09 Thread Florian Philipp
Hi list!

Does anyone on this list have a virtual server from Hosting Europe
running Gentoo?

I'm currently trying to get a VPS 4.0 working. With VPS 3.0 it was no
problem to run Gentoo using this guide: [1]. Now I'm trying to port it
to 4.0 (4 times the guaranteed RAM at the same price) but the system
just doesn't boot or gets its network up.

If I don't find the problem myself this weekend, I have to go back to
the default Ubuntu and port my complete setup to that.

I'm thankful for any hints.

Florian Philipp

[1] http://log.onthebrink.de/2008/04/gentoo-on-1-vserver.html



signature.asc
Description: OpenPGP digital signature


Re: [gentoo-user] Re: FIXED 3D

2009-10-09 Thread Alex Schuster
Alan McKinnon writes:

 On Thursday 08 October 2009 20:33:01 Neil Bothwick wrote:
  On Thu, 08 Oct 2009 18:54:26 +0300, Nikos Chantziaras wrote:
   And it's usually quicker to type with backticks instead of $():
 
  But nowhere near as clear.

 And it's quicker to type $( - muscle memory - than to do the whole
 hunt- peek-peck thing to find the ` key - I can't touch type it, have
 to *look* for it

Uh...

 :-)

... okay :) I for myself was happy when I learnt that $() exists, and 
prefer it over the backticks notation. Although it's more to type. But it 
looks better, and I want my scripts to look good.


  Note you can also nest commands when using $(), which you can't do
  with backticks.

 That's neat. But,

 please provide an example where an actual sane human would actually use
 it. Coz I can't think of one...

Hey, I'm doing this all the time in my scripts. First example I found is 
this, but there are many more:

total=$( mydf -2 $dir )
format=$( printf %%%dd $( echo $total | wc -c ) )
log 0   Total:%s MB\n $( printf $format $total )
log 0   Used: %s MB\n $( printf $format $( mydf -3 $dir ) )
log 0   Free: %s MB\n $( printf $format $( mydf -4 $dir ) )

That was before I knew about ${#total}, so in fact no nesting would be 
required in line 2.

I think I also had tree levels of nesting somewhere, but that was too much 
fpr Nedit's syntax highlighting, so I de-nested this a little.

Wonko the Sane



Re: [gentoo-user] Anyone at Hosting Europe here?

2009-10-09 Thread Florian Philipp
Florian Philipp schrieb:
 Hi list!
 
 Does anyone on this list have a virtual server from Hosting Europe
 running Gentoo?
 
 I'm currently trying to get a VPS 4.0 working. With VPS 3.0 it was no
 problem to run Gentoo using this guide: [1]. Now I'm trying to port it
 to 4.0 (4 times the guaranteed RAM at the same price) but the system
 just doesn't boot or gets its network up.
 
 If I don't find the problem myself this weekend, I have to go back to
 the default Ubuntu and port my complete setup to that.
 
 I'm thankful for any hints.
 
 Florian Philipp
 
 [1] http://log.onthebrink.de/2008/04/gentoo-on-1-vserver.html
 

Since Hosting Europe uses a VServer based solution [2], any experience
with Gentoo guests on that might be useful.

I've also noticed that the new system is AMD64 while the old one was
32bit. Does booting a 32bit userspace in a 64bit VServer environment
pose any problem? Executing the 32bit binaries of my setup in the repair
system works flawlessly.

[2] http://linux-vserver.org



Re: [gentoo-user] vsftpd conf ...still..:)

2009-10-09 Thread laurent

ok I've solve the read write problem for vsftpduser, needed a chown user:ftp

I will trys to figure out for the local user.

How can I list local users?

L

laurent a écrit :

ho I forgot lines of my conf file, here's the entire lines :

anonymous_enable=NO
local_enable=YES
write_enable=YES
local_root=/home/www
#anon_upload_enable=NO
#anon_mkdir_write_enable=NO
#anon_other_write_enable=NO
chroot_local_user=YES
chroot_list_enable=NO
xferlog_enable=YES
xferlog_file=/home/var/log/vsftpd/vsftpd.log
idle_session_timeout=600
data_connection_timeout=120
ascii_upload_enable=NO
ascii_download_enable=NO
#nopriv_user=vsftpduser
dirmessage_enable=YES
#guest_enable=YES
#guest_username=vsftpduser
listen=YES
listen_port=21
ls_recurse_enable=NO
pasv_min_port=3
pasv_max_port=30999

Laurent









Re: [gentoo-user] opening port 8000

2009-10-09 Thread Maxim Wexler
sorry guys, must squint harder

On 10/6/09, Andre Parker andrepar...@gmail.com wrote:
 On Tue, Oct 6, 2009 at 11:11 PM, Maxim Wexler maxim.wex...@gmail.com
 wrote:
     b.) If directly connected iptables -A INPUT -p tcp --dport 8000 -j
 ACCEPT

 sorry for the delay answering,  only just got back to mobile mode.

  soupeee # iptables -A INPUT -p tcp -dport 8000 -j ACCEPT
 Bad argument `8000'

 mw



 --dport (two hyphens)

 --
 Best regards,
 Parker Andre.






Re: [gentoo-user] vsftpd conf ...still..:)

2009-10-09 Thread laurent

:) ok it all works now :)
I will try to specifie a floder for each users.

L

laurent a écrit :

ho I forgot lines of my conf file, here's the entire lines :

anonymous_enable=NO
local_enable=YES
write_enable=YES
local_root=/home/www
#anon_upload_enable=NO
#anon_mkdir_write_enable=NO
#anon_other_write_enable=NO
chroot_local_user=YES
chroot_list_enable=NO
xferlog_enable=YES
xferlog_file=/home/var/log/vsftpd/vsftpd.log
idle_session_timeout=600
data_connection_timeout=120
ascii_upload_enable=NO
ascii_download_enable=NO
#nopriv_user=vsftpduser
dirmessage_enable=YES
#guest_enable=YES
#guest_username=vsftpduser
listen=YES
listen_port=21
ls_recurse_enable=NO
pasv_min_port=3
pasv_max_port=30999

Laurent









[gentoo-user] ftp user, local user, apache group

2009-10-09 Thread laurent

Hi,

Now I've setup vsftpd with local user.
For exemple I log with the user laurent, I create a folder via ftp.

This folder is own by laurent, so it's not exessible via apache.
How could I make that, like put laurent in a apache group?

I don't really know how to play with groups and user, any good tutorial 
on that?


Thanks
Laurent



Re: [gentoo-user] Anyone at Hosting Europe here?

2009-10-09 Thread Florian Philipp
Florian Philipp schrieb:
 Florian Philipp schrieb:
 Hi list!

 Does anyone on this list have a virtual server from Hosting Europe
 running Gentoo?

 I'm currently trying to get a VPS 4.0 working. With VPS 3.0 it was no
 problem to run Gentoo using this guide: [1]. Now I'm trying to port it
 to 4.0 (4 times the guaranteed RAM at the same price) but the system
 just doesn't boot or gets its network up.

 If I don't find the problem myself this weekend, I have to go back to
 the default Ubuntu and port my complete setup to that.

 I'm thankful for any hints.

 Florian Philipp

 [1] http://log.onthebrink.de/2008/04/gentoo-on-1-vserver.html

 
 Since Hosting Europe uses a VServer based solution [2], any experience
 with Gentoo guests on that might be useful.
 
 I've also noticed that the new system is AMD64 while the old one was
 32bit. Does booting a 32bit userspace in a 64bit VServer environment
 pose any problem? Executing the 32bit binaries of my setup in the repair
 system works flawlessly.
 
 [2] http://linux-vserver.org
 

Argh, nevermind. As it seems, you have to copy the directory
/etc/network with all its content from the old vserver installation. It
seems like they have added some skripting in the background.

As an advice for anyone with a similar problem: The 'details' link when
starting the repair mode and leaving it (in the management web app)
actually provides some interesting information.



signature.asc
Description: OpenPGP digital signature


[gentoo-user] problem with gimp, firefox and inkscape

2009-10-09 Thread Platoali
Hi,

I've a strange problem with some of my applications. the problem is when I 
want open a file in inkscape  or gimp, or  when I want to select a file  in 
firefox to attach the select file appears and then the whole application 
crashes with this error:

Emergency save completed. Inkscape will close now.
If you can reproduce this crash, please file a bug at www.inkscape.org
with a detailed description of the steps leading to the crash, so we can fix 
it.
Segmentation fault


or gimp: 

(script-fu:24851): LibGimpBase-WARNING **: script-fu: gimp_wire_read(): error
Segmentation fault

I've also done two sync and also  deep-new_use update and  tried revdev-
rebuild which they did nothing. I  also ran a memtest to check if faulty 
memory is the reason. But all the test passed without any problem.

I don't have any problem with kde applications and also OpenOffice or Vlc. It 
seems that it is a gtk problem. I can open files when I pass them as a command 
line argument. 

 I've opened a bug few days ago. But it seem that I'm the only one that have 
this problem. No one made any comment or voted for my bug. this is getting a 
little bit annoying. Specially in Firefox. 

https://bugs.gentoo.org/show_bug.cgi?id=287709

Would anyone give me a clue what the problem is?

Best Regards
Platoali



Re: [gentoo-user] ERROR: kde-base/kdepimlibs-4.3.2 failed:

2009-10-09 Thread Zhu Sha Zang
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Alan McKinnon escreveu:
 On Thursday 08 October 2009 15:56:57 James Ausmus wrote:
 On Thu, Oct 8, 2009 at 5:00 AM, Dale rdalek1...@gmail.com wrote:
 Volker Armin Hemmann wrote:
 On Donnerstag 08 Oktober 2009, Dale wrote:
 James Ausmus wrote:
 Still further back. :) The warning message about the label parameter
 is harmless...


 -James
 OK.  Attached is the WHOLE file.  At least it is not really really
 huge or anything.  I tried to rebuild a few things but it still fails.
  The log is the latest failure so it may be a little different.

 Thanks.

 Dale

 :-)  :-)
 retry with boost-1.3.7
 Thanks.  It compiled fine with that version of boost.  Is this a bug?
 Maybe the newer version of KDE needs to depend on the newer boost?
 Might be a gcc-4.4.1 issue with the newer boost (1.3.9) - gcc 4.4.1 is a
 little stricter in syntax, so some things that include files have gotten
 away with in the past no longer work... Certainly worth searching
  for/filing a bug against...

 I just kicked off my kde-4.3.2 update, and I have boost-1.3.9
installed and
 eselected, and I'm also running gcc 4.4.1, so we'll see if I run into the
 same issue - if so, I'll post a me too to your bug. ;)

 Here comes a spanner for your works:

 I successfully built kdepimlibs today with only boost 1.39.0 installed and
 gcc-4.4.1 on ~amd64

U right.

With boost-1.39.0, gcc-4.4.1 and kde-4.3.2 everithing works fine in
compilation.

But warning, some kde apps don't working very well.

Like amarok, and in KDE configuration when i try change language kde
has broked.

Good Luck to masked testers.



Thanks.
-BEGIN PGP SIGNATURE-
Version: GnuPG v2.0.11 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iEYEARECAAYFAkrPeIcACgkQ35zeJy7JhCghxQCfc+1CoqlY29JzziLtGNAyNOO3
tPUAn1fA4QefYwDdHPuEZokrJNtZD6YD
=PXQx
-END PGP SIGNATURE-




[gentoo-user] commands to show where a package is installed?

2009-10-09 Thread Zhengquan Zhang
Hi, Gentoo users,
I am new to gentoo and am wondering if there is a command to show
where a package is installed? which file is installed in which
directory?

Thanks a lot,

-- 
Zhengquan



Re: [gentoo-user] commands to show where a package is installed?

2009-10-09 Thread Justin
Zhengquan Zhang wrote:
 Hi, Gentoo users,
 I am new to gentoo and am wondering if there is a command to show
 where a package is installed? which file is installed in which
 directory?
 
 Thanks a lot,
 
emerge app-portage/portage-utils and go with qlist package



signature.asc
Description: OpenPGP digital signature


Re: [gentoo-user] commands to show where a package is installed?

2009-10-09 Thread Dale
Zhengquan Zhang wrote:
 Hi, Gentoo users,
 I am new to gentoo and am wondering if there is a command to show
 where a package is installed? which file is installed in which
 directory?

 Thanks a lot,

   

I'm not sure this is what you are talking about but this may help:

equery files package name

emerge gentoolkit for that command.

Dale

:-)  :-) 



Re: [gentoo-user] ERROR: kde-base/kdepimlibs-4.3.2 failed:

2009-10-09 Thread Volker Armin Hemmann
On Freitag 09 Oktober 2009, Zhu Sha Zang wrote:
 Alan McKinnon escreveu:
  On Thursday 08 October 2009 15:56:57 James Ausmus wrote:
  On Thu, Oct 8, 2009 at 5:00 AM, Dale rdalek1...@gmail.com wrote:
  Volker Armin Hemmann wrote:
  On Donnerstag 08 Oktober 2009, Dale wrote:
  James Ausmus wrote:
  Still further back. :) The warning message about the label parameter
  is harmless...
 
 
  -James
 
  OK.  Attached is the WHOLE file.  At least it is not really really
  huge or anything.  I tried to rebuild a few things but it still
  fails. The log is the latest failure so it may be a little different.
 
  Thanks.
 
  Dale
 
  :-)  :-)
 
  retry with boost-1.3.7
 
  Thanks.  It compiled fine with that version of boost.  Is this a bug?
  Maybe the newer version of KDE needs to depend on the newer boost?
 
  Might be a gcc-4.4.1 issue with the newer boost (1.3.9) - gcc 4.4.1 is a
  little stricter in syntax, so some things that include files have gotten
  away with in the past no longer work... Certainly worth searching
   for/filing a bug against...
 
  I just kicked off my kde-4.3.2 update, and I have boost-1.3.9
 
 installed and
 
  eselected, and I'm also running gcc 4.4.1, so we'll see if I run into
  the same issue - if so, I'll post a me too to your bug. ;)
 
  Here comes a spanner for your works:
 
  I successfully built kdepimlibs today with only boost 1.39.0 installed
  and gcc-4.4.1 on ~amd64
 
 U right.
 
 With boost-1.39.0, gcc-4.4.1 and kde-4.3.2 everithing works fine in
 compilation.
 
 But warning, some kde apps don't working very well.
 
 Like amarok, and in KDE configuration when i try change language kde
 has broked.

$WORKSFORME




Re: [gentoo-user] commands to show where a package is installed?

2009-10-09 Thread Zhengquan Zhang
2009/10/9 Justin jus...@j-schmitz.net:
 Zhengquan Zhang wrote:
 Hi, Gentoo users,
 I am new to gentoo and am wondering if there is a command to show
 where a package is installed? which file is installed in which
 directory?

 Thanks a lot,

 emerge app-portage/portage-utils and go with qlist package

Exactly, Thanks a bunch,

Zhengquan





-- 
Zhengquan



Re: [gentoo-user] my xorg-server 1.6 seems a bit unstable - what am I doing wrong?

2009-10-09 Thread Volker Armin Hemmann
On Freitag 09 Oktober 2009, Denis wrote:
 I see.
 
 Well, I am running nvidia-drivers-180.60, and versions 185 and 190 are
 masked by ~x86.  Same for the xorg-server-1.6.4.  So the only thing I
 could do really is to update the kernel...
 
 But xorg-server-1.5 was perfectly stable for me, so I don't see how
 kernel upgrade would be helpful here, given that nvidia-drivers aren't
 in the kernel.
 

nvidia drivers load into the kernel. Driver-kernel interaction can cause a lot 
of problems.



Re: [gentoo-user] commands to show where a package is installed? [SOLVED]

2009-10-09 Thread Zhengquan Zhang
2009/10/9 Dale rdalek1...@gmail.com:
 Zhengquan Zhang wrote:
 Hi, Gentoo users,
 I am new to gentoo and am wondering if there is a command to show
 where a package is installed? which file is installed in which
 directory?

 Thanks a lot,



 I'm not sure this is what you are talking about but this may help:

 equery files package name

 emerge gentoolkit for that command.

Thanks a lot for the command,

Zhengquan

 Dale

 :-)  :-)





-- 
Zhengquan



[gentoo-user] Interpreting /proc/cpuinfo

2009-10-09 Thread Florian Philipp
Hi list!

Does this output from /proc/cpuinfo make any sense:

processor   : 0
vendor_id   : GenuineIntel
cpu family  : 6
model   : 26
model name  : Intel(R) Xeon(R) CPU   E5520  @ 2.27GHz
stepping: 5
cpu MHz : 141.318
cache size  : 8192 KB
physical id : 1
siblings: 8
core id : 0
cpu cores   : 4
apicid  : 16
fpu : yes
fpu_exception   : yes
cpuid level : 11
wp  : yes
flags   : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge
mca cmov pat pse36 clflush dts acpi mmx fxsr sse sse2 ss ht tm syscall
nx rdtscp lm constant_tsc ida nonstop_tsc pni monitor ds_cpl vmx est tm2
cx16 xtpr popcnt lahf_lm
bogomips: 4525.39
clflush size: 64
cache_alignment : 64
address sizes   : 40 bits physical, 48 bits virtual
power management: [8]

[...]

Shouldn't the E5520 be Nehalem based and therefore have a flag for ssse3
and sse4?

Could the missing flags be related to a too old kernel (2.6.18)?

Thanks in advance!

Florian Philipp



signature.asc
Description: OpenPGP digital signature


Re: [gentoo-user] problem with gimp, firefox and inkscape

2009-10-09 Thread Paul Hartman
On Fri, Oct 9, 2009 at 12:41 PM, Platoali plato...@gmail.com wrote:
 Hi,

 I've a strange problem with some of my applications. the problem is when I
 want open a file in inkscape  or gimp, or  when I want to select a file  in
 firefox to attach the select file appears and then the whole application
 crashes with this error:

Well like you said it seems to be a gtk+ problem. Try changing to a
different GTK theme, perhaps.



Re: [gentoo-user] ftp user, local user, apache group

2009-10-09 Thread laurent


should I go for vsftpd virtual users?

would need to have all file, folder created under any ftp account 
viewable with apache.

So those files should be own by apache:apache

should it be this way?

Thanks
Laurent

laurent a écrit :

Hi,

Now I've setup vsftpd with local user.
For exemple I log with the user laurent, I create a folder via ftp.

This folder is own by laurent, so it's not exessible via apache.
How could I make that, like put laurent in a apache group?

I don't really know how to play with groups and user, any good 
tutorial on that?


Thanks
Laurent








Re: [gentoo-user] Re: Fed up with Xorg + hal mess [SOLVED]

2009-10-09 Thread pk
Dale wrote:

 I hate to say it this way, but hal just plain sucks.  I may play with it
 some later but I'm getting sick of hal big time.  It's starting to
 really leave a bad taste in my mouth.

Then you might like this:
http://www.x.org/wiki/Events/XDC2009/Notes#head-754e4968dd043dcf2166dff61afd7d0d06c5

I know I do... :-)

Best regards

Peter K



Re: [gentoo-user] New laptop is slow.

2009-10-09 Thread Grant
 I just finished installing Gentoo on a Dell Vostro 1320 laptop.  It
 has a 2.2Ghz Core Duo CPU, 3GB RAM, and a 7200RPM hard drive.
 Navigating within firefox is pretty slow.  It's the response time of
 the application, not the network.  It's much slower than my previous
 laptop which has much weaker specs.

 Now that it's working how do you like the screen, size, etc? That's one of
 the laptops I've been considering.

 kashani

Overall, it's great so far.  I need to get the speakers to mute when I
plug in headphones, but I think I know how to fix that and I'm going
to start a thread about it.

Check out the price here:

http://www.newegg.com/Product/Product.aspx?Item=N82E16834200026

The fan is audible when it kicks on, but it usually only comes on
during an emerge.  However, those things tend to get louder with age.

- Grant



Re: [gentoo-user] New laptop is slow.

2009-10-09 Thread Grant
 I just finished installing Gentoo on a Dell Vostro 1320 laptop.  It
 has a 2.2Ghz Core Duo CPU, 3GB RAM, and a 7200RPM hard drive.
 Navigating within firefox is pretty slow.  It's the response time of
 the application, not the network.  It's much slower than my previous
 laptop which has much weaker specs.

 I noticed the HD light comes on when the system is pausing in firefox
 sometimes.  I don't have any swap at all, I'm using the CFQ, and /tmp
 is mounted on tmpfs.  Can anyone suggest where to look?

 - Grant


 Slightly related, but you might want to check and make sure your HD isn't
 grinding itself to a quick death as is always the case when I'm setting up a
 laptop:

 http://en.opensuse.org/Disk_Power_Management

I plan on upgrading to a 32GB SLC SSD as soon as the price drops under
$200 for a good one.

- Grant



Re: [gentoo-user] Re: New laptop is slow.

2009-10-09 Thread Grant
   I just finished installing Gentoo on a Dell Vostro


  Now that it's working how do you like the screen, size, etc? That's one
  of the laptops I've been considering.


 You just have to admire and honest (Dell) company


 I had a Dell laptop a few years back.  It was the reason for maybe 2 years I
 didn't have a PC at all (which is very strange for my life).  I think almost
 every single component on it broke in a matter of 18-24 months.  It was
 purchased through a university, and I think the IT department must have
 thought I was using it as a frisbee on a regular basis .  A friend around
 the same time had a different model and it was also a pile.

 Not that N=2 statistics mean anything, of course.  Not sure anymore, but
 Dell was built on two basic policies: 1) Make profit by cutting out the
 middle man (you had to order things directly from Dell) 2) Buy the cheapest
 (crappiest) parts in bulk and assemble.

 I'm using Apple now, and aside from an entourage of complaints on the
 assume user is an idiot (fixed by running Linux) and proprietary hardware
 (everything can be hacked), the beast is rock solid.  Of course, one of my
 friends has the exact same model laptop and he had to ship it back like
 three times, so...who knows?

 Then again, the price of Vostros will blow Macbooks out of the water.  I
 guess you could just buy two Dells and cannibalize one when the
 keyboard/powersupply/harddrive/optical drive/usb port/ethernet port/screen
 hinge breaks (a short list of my old Dell problems).

 Regards,
 daid

I've had the same experience with Acer laptops.  I've also had trouble
with screen hinges on Dell laptops.

- Grant



[gentoo-user] alsa-driver: Unknown symbol in module error

2009-10-09 Thread Grant
My Dell Vostro 1320 doesn't mute the external speakers when headphones
are plugged in.  These guys seem to have fixed the problem by
upgrading to the latest version of alsa-driver, alsa-lib, and
alsa-utils:

http://forums.linuxmint.com/viewtopic.php?f=49t=27987p=168950

I'm on the latest hardened-sources in the tree which is 2.6.29.  I'm
thinking I need a newer version of the snd-hda-intel driver and I
don't want to switch kernels.  I tried to switch to the latest
alsa-driver, alsa-lib, alsa-utils, and alsa-headers, but I ended up
with a bunch of Unknown symbol in module errors.  The error is
described here:

http://www.gentoo.org/doc/en/alsa-guide.xml

but the 2 solutions (rm -rf /lib/modules/$(uname -r)/alsa-driver and
some device_mode stuff) don't work for me.  Does anyone know how I can
fix this?

- Grant



Re: [gentoo-user] Re: Fed up with Xorg + hal mess [SOLVED]

2009-10-09 Thread Dale
pk wrote:
 Dale wrote:

   
 I hate to say it this way, but hal just plain sucks.  I may play with it
 some later but I'm getting sick of hal big time.  It's starting to
 really leave a bad taste in my mouth.
 

 Then you might like this:
 http://www.x.org/wiki/Events/XDC2009/Notes#head-754e4968dd043dcf2166dff61afd7d0d06c5

 I know I do... :-)

 Best regards

 Peter K


   

Well, I hope whatever replaces hal  is easier to configure.  Then again,
I can't really imagine it being any harder tho.  I haven't played with
it any since my last post.  I just don't feel like getting ticked off
right now.  Trying to play with hal tends to do that pretty quick. 

Right now, I'm in the new KDE 4.  Trying to let it grow on me a little. 
It is getting better tho.  ;-)  I can tell they are working on it and
adding new stuff and fixing old stuff too.  I'm still trying to figure
out how to get a root Konsole tho.  All I see is a user one.  Oh well. 

Dale

:-)  :-) 



Re: [gentoo-user] Re: Fed up with Xorg + hal mess [SOLVED]

2009-10-09 Thread Paul Hartman
On Fri, Oct 9, 2009 at 3:42 PM, Dale rdalek1...@gmail.com wrote:
 pk wrote:
 Dale wrote:


 I hate to say it this way, but hal just plain sucks.  I may play with it
 some later but I'm getting sick of hal big time.  It's starting to
 really leave a bad taste in my mouth.


 Then you might like this:
 http://www.x.org/wiki/Events/XDC2009/Notes#head-754e4968dd043dcf2166dff61afd7d0d06c5

 I know I do... :-)

 Best regards

 Peter K




 Well, I hope whatever replaces hal  is easier to configure.  Then again,
 I can't really imagine it being any harder tho.  I haven't played with
 it any since my last post.  I just don't feel like getting ticked off
 right now.  Trying to play with hal tends to do that pretty quick.

 Right now, I'm in the new KDE 4.  Trying to let it grow on me a little.
 It is getting better tho.  ;-)  I can tell they are working on it and
 adding new stuff and fixing old stuff too.  I'm still trying to figure
 out how to get a root Konsole tho.  All I see is a user one.  Oh well.

Alt-F2
type kdesu konsole into the box
press enter

:)

I believe the root konsole shortcut was removed from KDE4 because
running entire sessions as root is discouraged in general... you can
always add it to the menu if you miss it.



Re: [gentoo-user] Re: Fed up with Xorg + hal mess [SOLVED]

2009-10-09 Thread Alex Schuster
Dale writes:

 Well, I upgraded to xorg-server-1.6 and guess what, it was a bust,
 AGAIN.  I moved xorg.conf, re-emerged the xf86-input-* stuff and it did
 do a little better.  I bumped the mouse and the pointer moved, then it
 locked up and my fans started spinning up so I assume the CPU was going
 nuts.  I had to use the Aly SysReq keys to get back to a console.  So,
 I added -hal to my package.use file and re-emerged xorg-server and now
 it works fine.

 I hate to say it this way, but hal just plain sucks.  I may play with
 it some later but I'm getting sick of hal big time.  It's starting to
 really leave a bad taste in my mouth.

I feel with you :)  I recently tried xorg-server-1.6, too, with no 
success.

At the moment I am away for two days from my machine, and so I am doing 
the BIG update now. xorg-server is upgraded to 1.6.3.901-r2, I followed 
the upgrade guide and also did the libxcb stuff. I removed then kdeprefix 
use flag, unmerged all of kde-4.2, updated world, depcleaned. Now emerge 
@kde-4.3 is running.
And then... we will see. Come on, Gentoo, surprise me, and give me a 
running KDE 4.3 desktop with X and OpenGL and mouse and keyboard. That 
would be great.

Wonko



Re: [gentoo-user] Re: Fed up with Xorg + hal mess [SOLVED]

2009-10-09 Thread Dale
Paul Hartman wrote:
 On Fri, Oct 9, 2009 at 3:42 PM, Dale rdalek1...@gmail.com wrote:
   
 pk wrote:
 
 Dale wrote:


   
 I hate to say it this way, but hal just plain sucks.  I may play with it
 some later but I'm getting sick of hal big time.  It's starting to
 really leave a bad taste in my mouth.

 
 Then you might like this:
 http://www.x.org/wiki/Events/XDC2009/Notes#head-754e4968dd043dcf2166dff61afd7d0d06c5

 I know I do... :-)

 Best regards

 Peter K



   
 Well, I hope whatever replaces hal  is easier to configure.  Then again,
 I can't really imagine it being any harder tho.  I haven't played with
 it any since my last post.  I just don't feel like getting ticked off
 right now.  Trying to play with hal tends to do that pretty quick.

 Right now, I'm in the new KDE 4.  Trying to let it grow on me a little.
 It is getting better tho.  ;-)  I can tell they are working on it and
 adding new stuff and fixing old stuff too.  I'm still trying to figure
 out how to get a root Konsole tho.  All I see is a user one.  Oh well.
 

 Alt-F2
 type kdesu konsole into the box
 press enter

 :)

 I believe the root konsole shortcut was removed from KDE4 because
 running entire sessions as root is discouraged in general... you can
 always add it to the menu if you miss it.


   

I'll give that a try.  I tend to restore a saved session anyway.  u,
I couldn't find the option to edit the menu like in KDE 3.  It used to
be in Applications then Settings.  The updating tool is there but not
the editing one. 

Dale

:-)  :-) 



Re: [gentoo-user] my xorg-server 1.6 seems a bit unstable - what am I doing wrong?

2009-10-09 Thread Denis
 nvidia drivers load into the kernel. Driver-kernel interaction can cause a lot
 of problems.

Alright, I am now running 2.6.30-gentoo-r6 kernel, but I still have
the same issue.

I think it's a scroll-bar that triggers it.  If I drag a scrollbar
down with my mouse and then run it back up, there is a delayed
response (especially in Acrobat Reader), and when I do that in
Mathematica 5.2, that simply crashes X.

Now I am kind of regretting that I upgraded to xorg-server-1.6...  I
was very happy with 1.5 and before.  Sigh.  May this be a library
issue?  Gtk?  I received some kind of an error from Gtk, if I recall,
while using acroread, but acroread did not crash...



Re: [gentoo-user] Re: Fed up with Xorg + hal mess [SOLVED]

2009-10-09 Thread Paul Hartman
On Fri, Oct 9, 2009 at 4:03 PM, Dale rdalek1...@gmail.com wrote:
 Paul Hartman wrote:
 On Fri, Oct 9, 2009 at 3:42 PM, Dale rdalek1...@gmail.com wrote:

 pk wrote:

 Dale wrote:



 I hate to say it this way, but hal just plain sucks.  I may play with it
 some later but I'm getting sick of hal big time.  It's starting to
 really leave a bad taste in my mouth.


 Then you might like this:
 http://www.x.org/wiki/Events/XDC2009/Notes#head-754e4968dd043dcf2166dff61afd7d0d06c5

 I know I do... :-)

 Best regards

 Peter K




 Well, I hope whatever replaces hal  is easier to configure.  Then again,
 I can't really imagine it being any harder tho.  I haven't played with
 it any since my last post.  I just don't feel like getting ticked off
 right now.  Trying to play with hal tends to do that pretty quick.

 Right now, I'm in the new KDE 4.  Trying to let it grow on me a little.
 It is getting better tho.  ;-)  I can tell they are working on it and
 adding new stuff and fixing old stuff too.  I'm still trying to figure
 out how to get a root Konsole tho.  All I see is a user one.  Oh well.


 Alt-F2
 type kdesu konsole into the box
 press enter

 :)

 I believe the root konsole shortcut was removed from KDE4 because
 running entire sessions as root is discouraged in general... you can
 always add it to the menu if you miss it.




 I'll give that a try.  I tend to restore a saved session anyway.  u,
 I couldn't find the option to edit the menu like in KDE 3.  It used to
 be in Applications then Settings.  The updating tool is there but not
 the editing one.

 Dale

It should be available by running kmenuedit (if you have KDE3 and KDE4
installed at the same time, be sure you're running the correct
version). In my KDE4-only system it is in /usr/bin/kmenuedit



Re: [gentoo-user] ftp user, local user, apache group

2009-10-09 Thread Frank Steinmetzger
Am Freitag, 9. Oktober 2009 schrieb laurent:
 Hi,

 Now I've setup vsftpd with local user.
 For exemple I log with the user laurent, I create a folder via ftp.

 This folder is own by laurent, so it's not exessible via apache.
 How could I make that, like put laurent in a apache group?

My setup is a combination of apache and pure-ftpd. My user is member of the 
apache group, and I have set my home dir to

$ ls -ld /home/frank
drwxr-x--- 115 frank  apache  16384 2009-10-09 22:30 frank

That way apache can enter my directory to get into ~/public_html, but other 
users (such as guests, it's my laptop) cannot.

If I log into pure-ftpd with a local user account, it puts me into the 
respective user's home. Anonymous logins are made for user ftp, which is 
set up in /home/ftp:

$ ls -ld /home/ftp
dr-xrwx---   4 ftpusers4096 2009-09-19 19:45 ftp

$ ls -ld /home/ftp/incoming
drwxrwxr-x   2 ftpusers4096 2009-09-16 23:58 /home/ftp/incoming/

This setup allows me as the admin user to have control over the files in the 
anonymous ftp root, and anonymous users may only upload stuff in the incoming 
directory.

 I don't really know how to play with groups and user, any good tutorial
 on that?

Just search for it, keywords such as file permissions chown may help:
http://www.overclock.net/linux-unix/513350-linux-file-permissions-executables-howto.html
http://penguinpetes.com/b2evo/index.php?title=chmod_squad_howto_use_linux_file_permiss

The latter is more informative on how to use groups in detail.
-- 
Gruß | Greetings | Qapla'
*** Quits: TITANIC (Excess Flood)


signature.asc
Description: This is a digitally signed message part.


Re: [gentoo-user] Re: Fed up with Xorg + hal mess [SOLVED]

2009-10-09 Thread Frank Steinmetzger
Am Freitag, 9. Oktober 2009 schrieb Dale:

 I'll give that a try.  I tend to restore a saved session anyway.  u,
 I couldn't find the option to edit the menu like in KDE 3.  It used to
 be in Applications then Settings.  The updating tool is there but not
 the editing one.

Right-click on the k-menu icon, then select Edit menu.

-- 
Gruß | Greetings | Qapla'
No user was harmed by sending this Outlook-free message.


signature.asc
Description: This is a digitally signed message part.


[gentoo-user] Re: glxgears with no ... gears?!

2009-10-09 Thread Mick
Am I the only one with dodgy glxgears?  Any ideas at all?

On Tuesday 06 October 2009, Mick wrote:
 I've updated xorg following all relevant instructions by gentoo devs on an
 old laptop and when I run glxgears I get no graphic and pedestrian speeds:

 $ glxgears
 629 frames in 5.0 seconds = 125.622 FPS
 629 frames in 5.0 seconds = 125.718 FPS
 627 frames in 5.0 seconds = 125.377 FPS

 If I maximise the window, still no gears just a black terminal window and I
 get:

 93 frames in 5.0 seconds = 18.474 FPS

 It's never been that bad before.  I've noticed that emerge -uDv world
 pulled in xorg-drivers and it also emerged xf86-video-ati.  I attach the
 list of the packages that were emerged today and my Xorg.0.log, just in
 case you see something amiss in there.

 Please ask if you need more info.

 PS.  I have no xorg.conf, but can post the *.fdi files if needed.



-- 
Regards,
Mick


signature.asc
Description: This is a digitally signed message part.


Re: [gentoo-user] my xorg-server 1.6 seems a bit unstable - what am I doing wrong?

2009-10-09 Thread Volker Armin Hemmann
On Freitag 09 Oktober 2009, Denis wrote:
  nvidia drivers load into the kernel. Driver-kernel interaction can cause
  a lot of problems.
 
 Alright, I am now running 2.6.30-gentoo-r6 kernel, but I still have
 the same issue.
 
 I think it's a scroll-bar that triggers it.  If I drag a scrollbar
 down with my mouse and then run it back up, there is a delayed
 response (especially in Acrobat Reader), and when I do that in
 Mathematica 5.2, that simply crashes X.
 
 Now I am kind of regretting that I upgraded to xorg-server-1.6...  I
 was very happy with 1.5 and before.  Sigh.  May this be a library
 issue?  Gtk?  I received some kind of an error from Gtk, if I recall,
 while using acroread, but acroread did not crash...
 

you could rebuilt gtk, I never had crashes or problems with acrobat and I 
don't have mathematica :)



[gentoo-user] Re: commands to show where a package is installed?

2009-10-09 Thread Harry Putnam
Zhengquan Zhang zhang.zhengq...@gmail.com writes:

 2009/10/9 Justin jus...@j-schmitz.net:
 Zhengquan Zhang wrote:
 Hi, Gentoo users,
 I am new to gentoo and am wondering if there is a command to show
 where a package is installed? which file is installed in which
 directory?

 Thanks a lot,

 emerge app-portage/portage-utils and go with qlist package

 Exactly, Thanks a bunch,

There is also `equery'

emerge app-portage/gentoolkit


equery files pkgname (without version number)

It can do a few things that q can't and vice-versa if I recall
correctly. 




[gentoo-user] Re: commands to show where a package is installed?

2009-10-09 Thread Harry Putnam
Dale rdalek1...@gmail.com writes:

 Zhengquan Zhang wrote:
 Hi, Gentoo users,
 I am new to gentoo and am wondering if there is a command to show
 where a package is installed? which file is installed in which
 directory?

 Thanks a lot,

   

 I'm not sure this is what you are talking about but this may help:

 equery files package name

 emerge gentoolkit for that command.

Gack... sorry Dale ... somehow I didn't see that you had already
mentioned equery.




Re: [gentoo-user] Re: Fed up with Xorg + hal mess [SOLVED]

2009-10-09 Thread Dale
Frank Steinmetzger wrote:
 Am Freitag, 9. Oktober 2009 schrieb Dale:

   
 I'll give that a try.  I tend to restore a saved session anyway.  u,
 I couldn't find the option to edit the menu like in KDE 3.  It used to
 be in Applications then Settings.  The updating tool is there but not
 the editing one.
 

 Right-click on the k-menu icon, then select Edit menu.

   

Now that is to easy.  Isn't there a harder way to do that?  LOL

Thanks. 

Dale

:-)  :-) 



Re: [gentoo-user] Interpreting /proc/cpuinfo

2009-10-09 Thread Keith Dart
=== On Fri, 10/09, Florian Philipp wrote: ===
 Could the missing flags be related to a too old kernel (2.6.18)?

===

Yes, and also how you compile it (what processor type you choose).
Also, some CPU features are altered by the BIOS settings. 

-- Keith Dart

-- 
-- 
Keith Dart
ke...@dartworks.biz
===



Re: [gentoo-user] Interpreting /proc/cpuinfo

2009-10-09 Thread Volker Armin Hemmann
On Samstag 10 Oktober 2009, Keith Dart wrote:
 === On Fri, 10/09, Florian Philipp wrote: ===
 
  Could the missing flags be related to a too old kernel (2.6.18)?
 
 ===
 
 Yes, and also how you compile it (what processor type you choose).

not really

 Also, some CPU features are altered by the BIOS settings.

seldomly.

First of all 2.6.18 is not only old, it is a security risk. Seriously, why do 
you (OP) even bother to sent an email to the list without first upgrading to a 
more recent one and checking if the problem persists?



Re: [gentoo-user] Interpreting /proc/cpuinfo

2009-10-09 Thread kashani

Volker Armin Hemmann wrote:

On Samstag 10 Oktober 2009, Keith Dart wrote:

=== On Fri, 10/09, Florian Philipp wrote: ===


Could the missing flags be related to a too old kernel (2.6.18)?

===

Yes, and also how you compile it (what processor type you choose).


not really


Also, some CPU features are altered by the BIOS settings.


seldomly.

First of all 2.6.18 is not only old, it is a security risk. Seriously, why do 
you (OP) even bother to sent an email to the list without first upgrading to a 
more recent one and checking if the problem persists?




Cause if you've been following Florian's post you'd see that he's 
running a VPS which is probably a heavily patched 2.6.18. At least my 
VPS is like that. Come on, don't you read everyone's post?


Yeah BIOS can effect it, the kernel not so much. Not sure about an 
openvz style VPS.


kashani



[gentoo-user] [OT] mms protocol ???

2009-10-09 Thread meino . cramer

Hi,

 I want to download a file with an url like this:

 mms://path/file

 Directly cliking the link/url in firefox does not work.

 Is there any tool, with which I cann access that file?

 Thank you very much for any help in advance!
 Have a nice weekend!
 best regards,
 mcc

-- 
Please don't send me any Word- or Powerpoint-Attachments
unless it's absolutely neccessary. - Send simply Text.
See http://www.gnu.org/philosophy/no-word-attachments.html
In a world without fences and walls nobody needs gates and windows.




Re: [gentoo-user] Interpreting /proc/cpuinfo

2009-10-09 Thread Keith Dart
=== On Sat, 10/10, Volker Armin Hemmann wrote: ===
 First of all 2.6.18 is not only old, it is a security risk.
 Seriously, why do you (OP) even bother to sent an email to the list
 without first upgrading to a more recent one and checking if the
 problem persists?

===

It's possible he's running Xen kernel or something in which case he's
stuck with that version. 


-- Keith Dart

-- 
-- 
Keith Dart
ke...@dartworks.biz
===



[gentoo-user] How to update dependency cache for emerge?

2009-10-09 Thread Mike Kazantsev
Hello, list.

Last emerge-sync brought following change:
net-zope/zopeinterface became net-zope/zope-interface, and, as far as I
can tell, all the ebuild files were updated to use a new package name.

Only problem is that portage doesn't seem to know about this and I
can't seem force it to update it's cache.

I have portage-2.2 with FEATURES=metadata-transfer, the latter
probably being the cause of the problem, but seem to be necessarry for
some overlays I'm using.

Error:
  emerge: there are no ebuilds to satisfy net-zope/zopeinterface.

What I've tried so far:
  emerge --regen
  egencache --update
  emerge -C pkg  emerge -1 pkg

What works:
  ebuild /path/to/pkg.ebuild merge

Any ideas how to fix emerge in this case?
Thanks.

-- 
Mike Kazantsev // fraggod.net


signature.asc
Description: PGP signature