[gentoo-user]

2008-08-30 Thread Tomas Papan
Hello all,

I have a router (asus wl500gp with openwrt kamikaze 7.09) with samba server 
version 2.0.10-4. I have used smbfs to mount this router on my gentoo-box 
(everything works fine), but since kernel version 2.6.27 smbfs will be 
removed I have to switch now to the cifs modul. The problem is that I am able 
to write but I cannot read (I'm always getting permission denied, when I'm 
trying to read, writing is working fine). I'm thinking that cifs cannot work 
with such a old samba version. If you have some experience with cifs and 
samba please verify my assumption.

Here is some configuration files

smb.cfg:
[global]
 syslog = 0
 syslog only = yes
 workgroup = lan
 server string = Samba Server
 security = share
 encrypt passwords = yes
 guest account = nobody
 local master = yes
 name resolve order = lmhosts hosts bcast

[home]
 comment = /home
 path = /home
 browseable = yes
 public = yes
 guest ok = yes
 writeable = yes
my /etc/fstab:
//samba-srv/home /mnt/samba-srv cifs guest,rw,uid=1000,gid=100,user,defaults 0 
0

Thanks  Best Regards
Tomas

--
tomas dot papan at gmail dot com



Re: [gentoo-user] CIFS ans SAMBA 2

2008-08-30 Thread Tomas Papan
On Saturday 30 August 2008 13:02:10 Tomas Papan wrote:
 Hello all,

 I have a router (asus wl500gp with openwrt kamikaze 7.09) with samba server
 version 2.0.10-4. I have used smbfs to mount this router on my gentoo-box
 (everything works fine), but since kernel version 2.6.27 smbfs will be
 removed I have to switch now to the cifs modul. The problem is that I am
 able to write but I cannot read (I'm always getting permission denied, when
 I'm trying to read, writing is working fine). I'm thinking that cifs cannot
 work with such a old samba version. If you have some experience with cifs
 and samba please verify my assumption.

 Here is some configuration files

 smb.cfg:
 [global]
  syslog = 0
  syslog only = yes
  workgroup = lan
  server string = Samba Server
  security = share
  encrypt passwords = yes
  guest account = nobody
  local master = yes
  name resolve order = lmhosts hosts bcast

 [home]
  comment = /home
  path = /home
  browseable = yes
  public = yes
  guest ok = yes
  writeable = yes
 my /etc/fstab:
 //samba-srv/home /mnt/samba-srv cifs
 guest,rw,uid=1000,gid=100,user,defaults 0 0

 Thanks  Best Regards
 Tomas

 --
 tomas dot papan at gmail dot com

sorry I forgot to put a subject ;-)



Re: [gentoo-user] Choppy video playback

2008-01-25 Thread Tomas Papan
hello,

can you send us your /etc/make.conf ?

br
tomas

Mike Mazur wrote:
 Hi,

 I'm having choppy video playback in mplayer, vlc and also in Firefox
 on YouTube and the like. I notice a video freeze every 1-2 seconds or
 so, then the video snaps back to where it should be. The audio sounds
 fine. Mplayer often spits out a warning message[1].

 I also noticed that typing into forms (like an email in Gmail) in
 Firefox, after Firefox has been running a few hours also suffers from
 this freeze every 1-2 seconds.

 A typical workload is Gnome, Firefox, Claws-Mail, Pidgin, Tomboy,
 xmms2 and a bunch of terminals with SSH sessions and irssi.

 I have an Intel Core 2 Duo 2GHz with 2 GB of RAM, so this shouldn't be
 happening. I'm running kernel 2.6.23-gentoo-r3. I don't remember when
 exactly this started, I don't really watch video too often.

 Could it be the scheduler with which my kernel is compiled? Currently
 it's set to Preemptible Kernel (Low-Latency Desktop).

 Any ideas? What to start tweaking with?

 Thanks for any help,
 Mike


 [1] Mplayer warning message:

 Your system is too SLOW to play this!  


 Possible reasons, problems, workarounds:
 - Most common: broken/buggy _audio_ driver
   - Try -ao sdl or use the OSS emulation of ALSA.
   - Experiment with different values for -autosync, 30 is a good start.
 - Slow video output
   - Try a different -vo driver (-vo help for a list) or try -framedrop!
 - Slow CPU
   - Don't try to play a big DVD/DivX on a slow CPU! Try some of the lavdopts,
 e.g. -vfm ffmpeg -lavdopts lowres=1:fast:skiploopfilter=all.
 - Broken file
   - Try various combinations of -nobps -ni -forceidx -mc 0.
 - Slow media (NFS/SMB mounts, DVD, VCD etc)
   - Try -cache 8192.
 - Are you using -cache to play a non-interleaved AVI file?
   - Try -nocache.
 Read DOCS/HTML/en/video.html for tuning/speedup tips.
 If none of this helps you, read DOCS/HTML/en/bugreports.html.
   

-- 
gentoo-user@lists.gentoo.org mailing list



Re: [gentoo-user] CFLAGS

2008-01-17 Thread Tomas Papan
hello,

in case that you want use 64bit system chose amd64 and -march=nocona

BR
tomas

Peter Humphrey wrote:
 On Wednesday 16 January 2008 19:54:42 Kenneth Prugh wrote:
   
 On Wed, 16 Jan 2008 20:48:21 +0100

 Cahn Roger [EMAIL PROTECTED] wrote:
 
 Hi,

 I'll have soon a new PC with  Processor
 Intel Core2 Duo E6850
 Which cflags do I need for it?
 Thank you very much.
 Roger
   
 CFLAGS=-O2 -march=nocona -pipe

 should do it if your running stable AMD64. If you happened to use
 gcc-4.2 or later on AMD64 you could do something like this:

 CFLAGS=-O2 -march=native -mtune=native -pipe
 

 Just a tiny hijack :-)

 My new laptop will have a T7100 CPU. I'd like to know what CFLAGS to use, 
 but even before that should I use an AMD64 or IA64 installation medium?