[gentoo-user] Resuming after hibernate

2009-11-09 Thread Sergey Kobzar
Resuming does not work for my laptop after it hibernates - OS boots
normally and does not use resume image created by s2disk.


Linux 2.6.30-gentoo-r8 i686
Kernel command line: root=/dev/sda6 vga=0x317 video=vesafb:mtrr:3,ywrap 
resume=swap:/dev/sda5

# cat /usr/src/linux/.config | grep CONFIG_PM_STD_PARTITION
CONFIG_PM_STD_PARTITION=/dev/sda5

sys-power/hibernate-script-2.0-r1
sys-power/suspend-0.8-r1


To suspend laptop I uses 'hibernate' command which uses s2disk tool

# cat /etc/suspend.conf
snapshot device = /dev/snapshot
resume device = /dev/sda5


When the system boots up:

* Activating (possible) swap ...
swapon: /dev/sda5: Invalid argument



* Invalidating stale software suspend images ...
/sda5


It looks like that kernel knows nothing about suspend image and does
not use it.

Any ideas?

Thanks.


-- 
Sergey




Re[2]: [gentoo-user] Resuming after hibernate

2009-11-09 Thread Sergey Kobzar
Monday, November 9, 2009, 5:39:46 PM, Walter wrote:

   Why do you need anything in the kernel commandlindline?  Everything is
 done either in the kernel config or in hibernate.conf.  make menuconfig
 on my machine goes like so...

 =
 Power management and ACPI options  ---

   [*] Power Management support
   [ ]   Power Management Debug Support
   [ ] Suspend to RAM and standby
   [*] Hibernation (aka 'suspend to disk')
   (/dev/sda6) Default resume partition
 =

I have same settings in my kernel too:
CONFIG_ARCH_HIBERNATION_POSSIBLE=y
CONFIG_HIBERNATION=y
CONFIG_PM_STD_PARTITION=/dev/sda5

Just added the 'resume=swap:/dev/sda5' to grub.con to be 100% sure
it's not a kernel bug.


   Your system should have /dev/sda5.  I ran emerge hibernate-script
 and then executed rc-update add hibernate-cleanup boot so that when
 the machine comes up from reboot or halt -p, it doesn't try to load
 the swap file as memory state.

I did this too.
Also I emerged sys-power/suspend because without this tool
hibernate-ram does not work for me (display is blank after resuming).


   Here are the uncommented lines in my hibernate.conf.  The last 4 lines
 are specific to my machine, and may not apply to yours.  It works great
 for me.

 TryMethod disk.conf
 Distribution gentoo
 DownInterfaces auto
 PowerdownMethod shutdown
 UseSysfsPowerState disk
 UpInterfaces auto
 OnResume 99 chvt 1
 OnResume 98 setfont lat1-10
 OnResume 97 /etc/init.d/sshd restart
 OnResume 96 alsactl restore

/etc/hibernate/common.conf:
Verbosity 0
LogFile /var/log/hibernate.log
LogVerbosity 1
Distribution gentoo
SaveClock restore-only
UnloadBlacklistedModules yes
LoadModules auto
SwitchToTextMode yes

/etc/hibernate/hibernate.conf:
TryMethod tuxonice.conf
TryMethod disk.conf
TryMethod ram.conf

cat /etc/hibernate/disk.conf
TryMethod ususpend-disk.conf
TryMethod sysfs-disk.conf

/etc/hibernate/ususpend-disk.conf:
USuspendMethod disk
Include common.conf


Btw, am I right pressing 'power' button to resume from suspend to
disk?

-- 
Sergey




Re[2]: [gentoo-user] Resuming after hibernate

2009-11-09 Thread Sergey Kobzar
Btw, s2disk is user-level tool. According to 
http://wiki.archlinux.org/index.php/Suspend_to_Disk
initrd image is required to resume from image created by s2disk tool,
but I don't use initrd.

Maybe this is a reason? Probably I need switch to native swsusp?..


Monday, November 9, 2009, 5:39:46 PM, Walter wrote:

   Why do you need anything in the kernel commandlindline?  Everything is
 done either in the kernel config or in hibernate.conf.  make menuconfig
 on my machine goes like so...

 =
 Power management and ACPI options  ---

   [*] Power Management support
   [ ]   Power Management Debug Support
   [ ] Suspend to RAM and standby
   [*] Hibernation (aka 'suspend to disk')
   (/dev/sda6) Default resume partition
 =

   Your system should have /dev/sda5.  I ran emerge hibernate-script
 and then executed rc-update add hibernate-cleanup boot so that when
 the machine comes up from reboot or halt -p, it doesn't try to load
 the swap file as memory state.

   Here are the uncommented lines in my hibernate.conf.  The last 4 lines
 are specific to my machine, and may not apply to yours.  It works great
 for me.

 TryMethod disk.conf
 Distribution gentoo
 DownInterfaces auto
 PowerdownMethod shutdown
 UseSysfsPowerState disk
 UpInterfaces auto
 OnResume 99 chvt 1
 OnResume 98 setfont lat1-10
 OnResume 97 /etc/init.d/sshd restart
 OnResume 96 alsactl restore





-- 
Sergey




Re: [gentoo-user] Wireless hidden association problem

2008-06-17 Thread Sergey Kobzar
Tuesday, June 17, 2008, 1:37:29 PM, Paul wrote:

 Hi,
  
 I have a dell laptop with intel wireless card (ipw2200) and am
 trying to configure it to use WPA-PSK.
  
 I have setup up the card correctly utilizing the ipw2200 module,
 wpa_supplicant and wireless_tools.
  
 If I use a broadcast ssid everything works, however if I turn off
 the broadcast on the ap and do a debug of the wpa, it recognizes
 that there is a hidden ssid but will not connect to it.
  
 I would rather use hidden ssids than not but how can I get it to connect?

I have similar problem with Cisco AP and Intel 3945, D-Link
DWL-G500 adapters under Gentoo/FreeBSD. Looks like it's wpa_supplicant
permanent problem. Windows works fine.

AFAIK there is no solution except using broadcasts.


 Please can you also tell me a quick way to restart the interface to
 make it go through all the negotiaton, as I have moved from ubuntu
 where /etc/init.d/networking restart did it
  
 Cheers
  
 Paul



 __ Information from ESET Smart Security, version of virus
 signature database 3193 (20080617) __

 The message was checked by ESET Smart Security.

 http://www.eset.com


-- 
Sergey

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



[gentoo-user] Is 2008.0_beta2 stable enough?

2008-05-22 Thread Sergey Kobzar
I have a new laptop and want install Gentoo on it but not sure which
profile to use. Is 2008.0 beta 2 stable enough for desktop or I should
still use 2007?

Sorry for silly question and thanks :)

-- 
Sergey

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



Re[2]: [gentoo-user] Is 2008.0_beta2 stable enough?

2008-05-22 Thread Sergey Kobzar
Thursday, May 22, 2008, 11:27:31 AM, Neil wrote:

 On Thu, 22 May 2008 11:18:43 +0300, Sergey Kobzar wrote:

 I have a new laptop and want install Gentoo on it but not sure which
 profile to use. Is 2008.0 beta 2 stable enough for desktop or I should
 still use 2007?

 I've been running with 2008.0/desktop profiles for a few weeks with no
 problems,

but then you switched back to 2007?


 but a profile isn't much more than a collection of USE flags, so
 installing with 2007.0 and switching later is simple.

I'm agree with you, but it may require recompiling mostly all
installed software. Well, it's not a really big problem anyway.

I'd want to use 2008 beta2 if it's stable enough.


 A more important
 question is whether you want to run a stable or testing arch. From your
 question, I'd say you should run stable; ACCEPT_KEYWORDS=x96 or amd64.

Yes, it's correct (x86 maybe?).


-- 
Sergey

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



Re[2]: [gentoo-user] Is 2008.0_beta2 stable enough?

2008-05-22 Thread Sergey Kobzar
Neil, thanks for help. You gave me answers on all my questions :)


Thursday, May 22, 2008, 12:11:41 PM, Neil wrote:

 On Thu, 22 May 2008 11:38:52 +0300, Sergey Kobzar wrote:

  I've been running with 2008.0/desktop profiles for a few weeks with no
  problems,  
 
 but then you switched back to 2007?

 No, I'm still running 2008.0.
  
  but a profile isn't much more than a collection of USE flags, so
  installing with 2007.0 and switching later is simple.  
 
 I'm agree with you, but it may require recompiling mostly all
 installed software. Well, it's not a really big problem anyway.

 It doesn't. Switching profiles mainly changes a few default USE flags.
 Only a few packages are recompiled by emerge --newuse and none of those
 are required. The most you have customised your USE flags, the less
 will be changed by the profile switch.

 I'd want to use 2008 beta2 if it's stable enough.

 There is no beta profile. The install discs based on 2008.0 are still in
 beta, but the profiles are plain 2008.0. It's really no big deal whether
 you use an 07 or 08 profile. 



-- 
Sergey

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



Re: [gentoo-user] Confused - vmx cpuflag missing

2008-05-22 Thread Sergey Kobzar
Thursday, May 22, 2008, 2:42:23 PM, Paul wrote:

 Hey Guys,

 I'm trying to get a hypervisor running. I've installed Gentoo 64bit on a
 new(ish) HP XW6400. When booted with the minimal install CD, /proc/cpuinfo
 shows:

 livecd ~ # cat /proc/cpuinfo
 processor   : 0
 vendor_id   : GenuineIntel
 cpu family  : 6
 model   : 15
 model name  : Intel(R) Xeon(R) CPU5140  @ 2.33GHz
 stepping: 6
 cpu MHz : 2327.500
 cache size  : 4096 KB
 physical id : 3
 siblings: 2
 core id : 0
 cpu cores   : 2
 fpu : yes
 fpu_exception   : yes
 cpuid level : 10
 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 pbe syscall nx
 lm constant_tsc arch_perfmon pebs bts rep_good pni monitor ds_cpl vmx est
 tm2 ssse3 cx16 xtpr dca lahf_lm
 bogomips: 4657.74
 clflush size: 64
 cache_alignment : 64
 address sizes   : 36 bits physical, 48 bits virtual
 power management:


 When running my Xen kernel (xen-sources 2.6.21), I get the following:

 processor   : 0
 vendor_id   : GenuineIntel
 cpu family  : 6
 model   : 15
 model name  : Intel(R) Xeon(R) CPU5140  @ 2.33GHz
 stepping: 6
 cpu MHz : 2327.560
 cache size  : 4096 KB
 physical id : 0
 siblings: 1
 core id : 0
 cpu cores   : 1
 fpu : yes
 fpu_exception   : yes
 cpuid level : 10
 wp  : yes
 flags   : fpu de tsc msr pae cx8 apic sep mtrr cmov pat clflush
 acpi mmx fxsr sse sse2 ss ht syscall nx lm constant_tsc pni ssse3 cx16
 lahf_lm
 bogomips: 4657.82
 clflush size: 64
 cache_alignment : 64
 address sizes   : 36 bits physical, 48 bits virtual
 power management:

 I'm going slightly nuts here - I figure I've done something obvious wrong,
 but I can't think what. Any ideas/advice? Something I've missed in
 menuconfig?

 Cheers in advance!
 Paul


Use x86info to get CPU extended features.


-- 
Sergey

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



Re[2]: [gentoo-user] portage conflict

2008-04-14 Thread Sergey Kobzar
Etaoin,

Thanks for help. It fixed the problem :)


Monday, April 14, 2008, 1:50:02 PM, you wrote:

 On Monday 14 April 2008, 12:21, Sergey Kobzar wrote:

 # emerge -upvDN world

 These are the packages that would be merged, in order:

 Calculating world dependencies... done!
 [ebuild U ] net-misc/rsync-2.6.9-r6 [2.6.9-r5] USE=-acl -ipv6
 -static -xinetd 793 kB [ebuild U ] sys-apps/coreutils-6.10-r1
 [6.9-r1] USE=nls -acl (-selinux) -static -vanilla% -xattr 3,670 kB
 [blocks B ] sys-apps/mktemp (is blocking
 sys-apps/coreutils-6.10-r1) [blocks B ] =sys-apps/coreutils-6.10
 (is blocking sys-apps/mktemp-1.5)

 Total: 2 packages (2 upgrades, 2 blocks), Size of downloads: 4,462 kB


 and can't update world.

 I thought unmerge sys-apps/coreutils or sys-apps/mktemp and then
 update world, but it may corrupt my system.

 Unmerge mktemp, since it's now provided by coreutils. See also bug 
 #207118.



-- 
Sergey

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



[gentoo-user] portage conflict

2008-04-14 Thread Sergey Kobzar
After portage tree update I have


# emerge -upvDN world

These are the packages that would be merged, in order:

Calculating world dependencies... done!
[ebuild U ] net-misc/rsync-2.6.9-r6 [2.6.9-r5] USE=-acl -ipv6 -static 
-xinetd 793 kB
[ebuild U ] sys-apps/coreutils-6.10-r1 [6.9-r1] USE=nls -acl (-selinux) 
-static -vanilla% -xattr 3,670 kB
[blocks B ] sys-apps/mktemp (is blocking sys-apps/coreutils-6.10-r1)
[blocks B ] =sys-apps/coreutils-6.10 (is blocking sys-apps/mktemp-1.5)

Total: 2 packages (2 upgrades, 2 blocks), Size of downloads: 4,462 kB


and can't update world.

I thought unmerge sys-apps/coreutils or sys-apps/mktemp and then
update world, but it may corrupt my system.

Any ideas?

Thanks.


-- 
Sergey

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



Re[2]: [gentoo-user] intelfb and 945GM

2008-03-28 Thread Sergey Kobzar
 uvesafb works, but it is a bit slow, and requires user-space programs to
 run. Its a great peice of code and such, but something that is
 kernel-space and able to use hardware effectivly would be even nicer.

That's why I tried intelfb before... no luck.


-- 
Sergey

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



Re[2]: [gentoo-user] intelfb and 945GM

2008-03-25 Thread Sergey Kobzar
 This One Time, at Band Camp, Pongracz Istvan
 [EMAIL PROTECTED] said, On Fri, Mar 14, 2008 at 08:50:21PM +0100:
 Sergey,

 Last time, when I sent my .config file, that has intelfb builtin and
 working.
 I think, because I also has this kind of integrated video card.
 Check that out or drop me a PM if you need to resend.

 Cheers,
 István

 Sergey,

 Did intel works for you?? how's the performance ?? What did you
 add/remove from your kernel ??

No, unfortunately it does not :(. I've switched to uvesafb. Looks like
I have no other choice...



 Regards,

 --
 Wael Nasreddine
 http://wael.nasreddine.com
 PGP: 1024D/C8DD18A2 06F6 1622 4BC8 4CEB D724  DE12 5565 3945 C8DD 18A2

 /ö\ You ask what a nice girl will do?  She won't give an inch, but she won't
 /ö\ say no.
 /ö\-- Marcus Valerius Martialis

-- 
Sergey

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



Re[2]: [gentoo-user] intelfb and 945GM

2008-03-25 Thread Sergey Kobzar
Hi Wael,

Tuesday, March 25, 2008, 6:56:32 PM, you wrote:

 This One Time, at Band Camp, Sergey Kobzar [EMAIL PROTECTED]
 said, On Tue, Mar 25, 2008 at 06:43:46PM +0200:
  Did intel works for you?? how's the performance ?? What did you
  add/remove from your kernel ??
 
 No, unfortunately it does not :(. I've switched to uvesafb. Looks like
 I have no other choice...
 Oh :S too bad, I hoped to have a better performance with mplayer's
 fbdev output...

That's one of the reason why I wanted intelfb, but got no luck. I'm
using uvesafb at the moment, but still hope intelfb will be fixed
soon.


 Cheers


-- 
Sergey

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



Re[2]: [gentoo-user] intelfb and 945GM

2008-03-25 Thread Sergey Kobzar
 That's one of the reason why I wanted intelfb, but got no luck. I'm
 using uvesafb at the moment, but still hope intelfb will be fixed
 soon.
 
 I seem to have missed the start of this thread, but if you don't mind,
 could you give me a quick idea on what is broken within intelfb? I've
 been debating on switching to it, but keep seeing info on it being
 broken, and nothing on WHAT is broken.

I see screen with many scrolling white lines (probably this are kernel
messages). It looks like problem with synchronization or unsupported
video mode.

uvesafb works nice.

-- 
Sergey

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



Re[6]: [gentoo-user] OT - Exim question

2008-03-14 Thread Sergey Kobzar
Hi Michael,

See comments below.


 Here's the config.  I think I have my sed command correct to remove the
 commented lines from the listing:

 baby ~ # cat /etc/exim/exim.conf | sed /#/d
 domainlist local_domains = @ : espersunited.com :
^^^ - Did you really spit domainlist on few
lines w/o backslashes at the end of each line or it's your MUA?


 baby.espersunited.com : localhost : localdomain :
 camille.espersunited.com : catherine.espersunited.com : camille :
 catherine

Did you really spit domainlist on few lines w/o backslashes at the
end of each line or it's your MUA?


 domainlist relay_to_domains =
 hostlist   relay_from_hosts = 127.0.0.1 : 192.168.1.2 : 192.168.1.3 :
^^ - Same as domainlist local_domains above

 192.168.1.4 : 192.168.0.2 192.168.1.100
 acl_smtp_rcpt = acl_check_rcpt
 acl_smtp_data = acl_check_data
 acl_smtp_mime = acl_check_mime
 av_scanner = clamd:/tmp/clamd
 spamd_address = 127.0.0.1 783
 qualify_domain = espersunited.com
 never_users = root
 host_lookup = *
^^ - try change it to something like:
host_lookup = !192.168.0.0/24: !192.168.1.0/24


 rfc1413_hosts = *
 rfc1413_query_timeout = 5s
 you can freely set it to 0s


 sender_unqualified_hosts = baby.espersunited.com :
^^ - usually you don't need this in case of
correct MUA settings.


 camille.espersunited.com : catherine.espersunited.com :
 localhost.localdomain
 recipient_unqualified_hosts = baby.espersunited.com :
^ - same as for sender_unqualified_hosts

 camille.espersunited.com : catherine.espersunited.com :
 localhost.localdomain
 ignore_bounce_errors_after = 2d
 timeout_frozen_after = 7d
 begin acl
 acl_check_rcpt:
   accept  hosts = :
   denymessage   = Restricted characters in address
  domains   = +local_domains
   local_parts   = ^[.] : [EMAIL PROTECTED]/|]


   denymessage   = Restricted characters in address
   domains   = !+local_domains
   local_parts   = ^[./|] : [EMAIL PROTECTED] : ^.*/\\.\\./


   accept  local_parts   = postmaster
   domains   = +local_domains


   require verify= sender
^^ - are you sure you really need this in your case?
:)


   accept  hosts = +relay_from_hosts
   control   = submission


   accept  authenticated = *
   control   = submission


   require message = relay not permitted
   domains = +local_domains : +relay_to_domains


   require verify = recipient
^^ - this does not work as expected. Use
something like 'require verify = recipient/callout=60s,defer_ok'.



   accept




 acl_check_data:


   



 warnmessage= X-SpamScore: $spam_score ($spam_bar)
 spam   = nobody:true
 warnmessage= X-SpamReport: $spam_report
 spam   = nobody:true
 warnmessage= X-Spam-Flag: ${if \
  {$spam_score_int}{58}{Almost Certainly}\
  {${if {$spam_score_int}{55}{Probably}\
  {${if {$spam_score_int}{50}{Possibly}{Doubtful}\
  }
 spam   = nobody
 warn message = Subject: [*SPAM*] $h_Subject ${if \
  {$spam_score_int}{58}{Almost Certainly}\
  {${if {$spam_score_int}{55}{Probably}\
  {${if {$spam_score_int}{50}{Possibly}{Doubtful}\
  }
 spam   = nobody

 denymessage= Rejected: spam score $spam_score
 spam   = nobody:true
 condition  = ${if {$spam_score_int}{60}{1}{0}}

Worth to set message size limit here for spam checking.


 accept

 acl_check_mime:
warn decode = default

deny message = Blacklisted file extension detected
condition = ${if match \
{${lc:$mime_filename}} \
{\N(\.exe|\.pif|\.bat|\.scr|\.lnk|\.com|.vbs)$\N} \
{1}{0}}

accept
 acl_check_content:
deny  message = Serious MIME defect detected ($demime_reason)
demime = *
condition = ${if {$demime_errorlevel}{2}{1}{0}}

deny  message = This message contains malware ($malware_name)
malware = *

warn  message = X-Spam-Score: $spam_score ($spam_bar)
spam = nobody:true
warn  message = X-Spam-Report: $spam_report
spam = nobody:true

warn message = Subject: [*SPAM*] $h_Subject
spam = nobody

deny  message = This message scored $spam_score points.
 Congratulations!
spam = nobody:true
condition = ${if {$spam_score_int}{50}{1}{0}}

Why do you check message for spam twice? %)


accept



 begin routers





 dnslookup:
   driver = dnslookup
   domains = ! +local_domains
   transport = remote_smtp
   ignore_target_hosts = 0.0.0.0 : 127.0.0.0/8
   no_more





 system_aliases:
   driver = redirect
   allow_fail
   allow_defer
   data = ${lookup{$local_part}lsearch{/etc/mail/aliases}}
   

Re[2]: [gentoo-user] intelfb and 945GM

2008-03-14 Thread Sergey Kobzar
Hi Wael,

Thanks for help.

According to http://gentoo-wiki.com/HOWTO_fbsplash:

uvesafb - a newer (=2.6.23) generic, _non-accelerated_ driver that
supports additional features such as custom resolutions. Unlike other
drivers, it requires a userspace daemon called v86d to run (provided
in the sys-apps/v86d package)

intelfb - an _accelerated_ driver for Intel chipsets


That's why I selected intelfb. Any chance to get it working or it's
more easy to forget about it?



Friday, March 14, 2008, 2:49:12 AM, you wrote:

 This One Time, at Band Camp, Sergey Kobzar [EMAIL PROTECTED]
 said, On Thu, Mar 13, 2008 at 11:34:10PM +0200:
 Hi


 Linux 2.6.24-gentoo-r3 i686

 I have Asus U5F laptop:

 # lspci
 00:00.0 Host bridge: Intel Corporation Mobile 945GM/PM/GMS, 943/940GML and 
 945GT Express Memory Controller Hub (rev 03)
 00:02.0 VGA compatible controller: Intel Corporation Mobile 945GM/GMS, 
 943/940GML Express Integrated Graphics Controller (rev 03)
 00:02.1 Display controller: Intel Corporation Mobile 945GM/GMS, 943/940GML 
 Express Integrated Graphics Controller (rev 03)
 00:1b.0 Audio device: Intel Corporation 82801G (ICH7 Family) High Definition 
 Audio Controller (rev 02)
 00:1c.0 PCI bridge: Intel Corporation 82801G (ICH7 Family) PCI Express Port 
 1 (rev 02)
 00:1c.1 PCI bridge: Intel Corporation 82801G (ICH7 Family) PCI Express Port 
 2 (rev 02)
 00:1c.2 PCI bridge: Intel Corporation 82801G (ICH7 Family) PCI Express Port 
 3 (rev 02)
 00:1d.0 USB Controller: Intel Corporation 82801G (ICH7 Family) USB UHCI 
 Controller #1 (rev 02)
 00:1d.1 USB Controller: Intel Corporation 82801G (ICH7 Family) USB UHCI 
 Controller #2 (rev 02)
 00:1d.2 USB Controller: Intel Corporation 82801G (ICH7 Family) USB UHCI 
 Controller #3 (rev 02)
 00:1d.3 USB Controller: Intel Corporation 82801G (ICH7 Family) USB UHCI 
 Controller #4 (rev 02)
 00:1d.7 USB Controller: Intel Corporation 82801G (ICH7 Family) USB2 EHCI 
 Controller (rev 02)
 00:1e.0 PCI bridge: Intel Corporation 82801 Mobile PCI Bridge (rev e2)
 00:1f.0 ISA bridge: Intel Corporation 82801GBM (ICH7-M) LPC Interface Bridge 
 (rev 02)
 00:1f.2 IDE interface: Intel Corporation 82801GBM/GHM (ICH7 Family) SATA IDE 
 Controller (rev 02)
 01:00.0 Ethernet controller: Realtek Semiconductor Co., Ltd. RTL8111/8168B 
 PCI Express Gigabit Ethernet controller (rev 01)
 02:00.0 Network controller: Intel Corporation PRO/Wireless 3945ABG Network 
 Connection (rev 02)
 08:03.0 FireWire (IEEE 1394): Ricoh Co Ltd R5C832 IEEE 1394 Controller
 08:03.1 SD Host controller: Ricoh Co Ltd R5C822 SD/SDIO/MMC/MS/MSPro Host 
 Adapter (rev 19)
 08:03.2 System peripheral: Ricoh Co Ltd R5C592 Memory Stick Bus Host Adapter 
 (rev 0a)
 08:03.3 System peripheral: Ricoh Co Ltd xD-Picture Card Controller (rev 05)


 and can't get working intelfb module on it. Kernel config:

 # cat /usr/src/linux/.config | grep FB | grep -v '#'
 CONFIG_FB=y
 CONFIG_FB_DDC=y
 CONFIG_FB_CFB_FILLRECT=y
 CONFIG_FB_CFB_COPYAREA=y
 CONFIG_FB_CFB_IMAGEBLIT=y
 CONFIG_FB_DEFERRED_IO=y
 CONFIG_FB_MODE_HELPERS=y
 CONFIG_FB_INTEL=y
 CONFIG_FB_INTEL_I2C=y

 # dmesg | grep intel
 intelfb: Framebuffer driver for Intel(R) 
 830M/845G/852GM/855GM/865G/915G/915GM/945G/945GM chipsets
 intelfb: Version 0.9.4
 intelfb: 00:02.0: Intel(R) 945GM, aperture size 256MB, stolen memory 7932kB
 intelfb: Non-CRT device is enabled ( LVDS port ).  Disabling mode switching.
 intelfb: Video mode must be programmed at boot time.


 I tried these kernel kernel options:
 kernel /boot/kernel-2.6.24-gentoo-r3-b2 root=/dev/sda5 video=intelfb 
 vga=0x318
 kernel /boot/kernel-2.6.24-gentoo-r3-b2 root=/dev/sda5 video=intelfb:[EMAIL 
 PROTECTED]
 kernel /boot/kernel-2.6.24-gentoo-r3-b2 root=/dev/sda5 vga=792

 and in all cases I see blank screen or screen with many scrolling
 white lines.


 Any chance to get framebuffer working on my laptop?

 Don't use intelfb, just use the standard uvesafb.

 $ zgrep FB /proc/config.gz
 CONFIG_FB=y
 # CONFIG_FB_DDC is not set
 CONFIG_FB_CFB_FILLRECT=y
 CONFIG_FB_CFB_COPYAREA=y
 CONFIG_FB_CFB_IMAGEBLIT=y
 # CONFIG_FB_CFB_REV_PIXELS_IN_BYTE is not set
 # CONFIG_FB_SYS_FILLRECT is not set
 # CONFIG_FB_SYS_COPYAREA is not set
 # CONFIG_FB_SYS_IMAGEBLIT is not set
 # CONFIG_FB_SYS_FOPS is not set
 CONFIG_FB_DEFERRED_IO=y
 # CONFIG_FB_SVGALIB is not set
 # CONFIG_FB_MACMODES is not set
 # CONFIG_FB_BACKLIGHT is not set
 CONFIG_FB_MODE_HELPERS=y
 # CONFIG_FB_TILEBLITTING is not set
 # CONFIG_FB_CIRRUS is not set
 # CONFIG_FB_PM2 is not set
 # CONFIG_FB_CYBER2000 is not set
 # CONFIG_FB_ARC is not set
 # CONFIG_FB_ASILIANT is not set
 # CONFIG_FB_IMSTT is not set
 # CONFIG_FB_VGA16 is not set
 CONFIG_FB_UVESA=y
 # CONFIG_FB_VESA is not set
 # CONFIG_FB_EFI is not set
 # CONFIG_FB_HECUBA is not set
 # CONFIG_FB_HGA is not set
 # CONFIG_FB_S1D13XXX is not set
 # CONFIG_FB_NVIDIA is not set
 # CONFIG_FB_RIVA is not set
 # CONFIG_FB_I810 is not set
 # CONFIG_FB_LE80578 is not set
 # CONFIG_FB_INTEL is not set
 # CONFIG_FB_MATROX

Re[2]: [gentoo-user] intelfb and 945GM

2008-03-14 Thread Sergey Kobzar
Good evening Istvan :)

Could you please show your grub config? I mean kernel boot parameters.


Friday, March 14, 2008, 9:50:21 PM, you wrote:

 Sergey,

 Last time, when I sent my .config file, that has intelfb builtin and
 working.
 I think, because I also has this kind of integrated video card.
 Check that out or drop me a PM if you need to resend.

 Cheers,
 Istvan

 -- 
 BSA. Mert megerdemlitek.
 Open Source. Mert megerdemlem.
 --
 BSA. They value it.
 Open Source. The value. It.
 --
 http://www.osbusiness.hu

-- 
Sergey

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



Re: [gentoo-user] OT - Exim question

2008-03-13 Thread Sergey Kobzar
Hello Michael,

What does /var/log/exim/exim_mail log tell?


Thursday, March 13, 2008, 7:38:55 PM, you wrote:

 I have an exim configuration question.   I run exim-4.69.  It's worked
 well for over a year.  This morning I did a slight network topography
 modification, and now my wife is having trouble sending email from her
 computer.  Her computer used to be 192.168.1.4,, but it's connected to a
 subrouter now that's connected into the main one.  The subrouter's IP is
 192.168.0.1, if that matters.  My wife's computer is now 192.168.0.2.
 She tried to send mail to one of her friends, and exim rejected the
 message.  Here's the hostlist line from /etc/exim/exim.conf:

 baby bind # grep hostlist /etc/exim/exim.conf
 hostlist   relay_from_hosts = 127.0.0.1 : 192.168.1.2 : 192.168.1.3 :
 192.168.1.4 : 192.168.0.2

 Now, she can send a test message to herself by appending our domain to
 the end of her username.  We're used to not having to do that.  How can
 we get that back?  I would send the full exim.conf, but I don't remember
 the syntax to sed to strip out all the comment lines, and my reference
 books are packed away for our eminent  move...

-- 
Sergey

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



Re[2]: [gentoo-user] OT - Exim question

2008-03-13 Thread Sergey Kobzar
Hi Michael,

 Mar 13 14:22:01 baby exim[25957]: 2008-03-13 14:22:01 unqualified
 recipient rejected: amy H=([192.168.0.2]) [192.168.1.100] (failed to
 find host name from IP address)

 I guess 192.168.1.100 is what my main router calls the subrouter.  The
 subrouter is configured to use the address 192.168.0.1.

Probably this address is NATed.


 Do I need to add 192.168.1.100 to the hostlist in exim.conf and
 restart exim?

Yes - this is easy solution for your problem ;)


-- 
Sergey

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



Re[4]: [gentoo-user] OT - Exim question

2008-03-13 Thread Sergey Kobzar
Hi Michael,

Thursday, March 13, 2008, 10:15:33 PM, you wrote:

 It didn't work:

 Mar 13 15:13:31 baby exim[26470]: 2008-03-13 15:13:31 unqualified
 recipient rejected: amy H=([192.168.0.2]) [192.168.1.100] (failed to
 find host name from IP address)
 baby bind # grep 192.168.1.100 /etc/exim/exim.conf
 hostlist   relay_from_hosts = 127.0.0.1 : 192.168.1.2 : 192.168.1.3 :
 192.168.1.4 : 192.168.0.2 192.168.1.100

 Is there any other option?

1. Show your config.
2. Tell Exim to not do resolving for hosts from 192.168.0/24 and
   192.168.1/24 networks (host_lookup option).


-- 
Sergey

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



[gentoo-user] intelfb and 945GM

2008-03-13 Thread Sergey Kobzar
Hi


Linux 2.6.24-gentoo-r3 i686

I have Asus U5F laptop:

# lspci
00:00.0 Host bridge: Intel Corporation Mobile 945GM/PM/GMS, 943/940GML and 
945GT Express Memory Controller Hub (rev 03)
00:02.0 VGA compatible controller: Intel Corporation Mobile 945GM/GMS, 
943/940GML Express Integrated Graphics Controller (rev 03)
00:02.1 Display controller: Intel Corporation Mobile 945GM/GMS, 943/940GML 
Express Integrated Graphics Controller (rev 03)
00:1b.0 Audio device: Intel Corporation 82801G (ICH7 Family) High Definition 
Audio Controller (rev 02)
00:1c.0 PCI bridge: Intel Corporation 82801G (ICH7 Family) PCI Express Port 1 
(rev 02)
00:1c.1 PCI bridge: Intel Corporation 82801G (ICH7 Family) PCI Express Port 2 
(rev 02)
00:1c.2 PCI bridge: Intel Corporation 82801G (ICH7 Family) PCI Express Port 3 
(rev 02)
00:1d.0 USB Controller: Intel Corporation 82801G (ICH7 Family) USB UHCI 
Controller #1 (rev 02)
00:1d.1 USB Controller: Intel Corporation 82801G (ICH7 Family) USB UHCI 
Controller #2 (rev 02)
00:1d.2 USB Controller: Intel Corporation 82801G (ICH7 Family) USB UHCI 
Controller #3 (rev 02)
00:1d.3 USB Controller: Intel Corporation 82801G (ICH7 Family) USB UHCI 
Controller #4 (rev 02)
00:1d.7 USB Controller: Intel Corporation 82801G (ICH7 Family) USB2 EHCI 
Controller (rev 02)
00:1e.0 PCI bridge: Intel Corporation 82801 Mobile PCI Bridge (rev e2)
00:1f.0 ISA bridge: Intel Corporation 82801GBM (ICH7-M) LPC Interface Bridge 
(rev 02)
00:1f.2 IDE interface: Intel Corporation 82801GBM/GHM (ICH7 Family) SATA IDE 
Controller (rev 02)
01:00.0 Ethernet controller: Realtek Semiconductor Co., Ltd. RTL8111/8168B PCI 
Express Gigabit Ethernet controller (rev 01)
02:00.0 Network controller: Intel Corporation PRO/Wireless 3945ABG Network 
Connection (rev 02)
08:03.0 FireWire (IEEE 1394): Ricoh Co Ltd R5C832 IEEE 1394 Controller
08:03.1 SD Host controller: Ricoh Co Ltd R5C822 SD/SDIO/MMC/MS/MSPro Host 
Adapter (rev 19)
08:03.2 System peripheral: Ricoh Co Ltd R5C592 Memory Stick Bus Host Adapter 
(rev 0a)
08:03.3 System peripheral: Ricoh Co Ltd xD-Picture Card Controller (rev 05)


and can't get working intelfb module on it. Kernel config:

# cat /usr/src/linux/.config | grep FB | grep -v '#'
CONFIG_FB=y
CONFIG_FB_DDC=y
CONFIG_FB_CFB_FILLRECT=y
CONFIG_FB_CFB_COPYAREA=y
CONFIG_FB_CFB_IMAGEBLIT=y
CONFIG_FB_DEFERRED_IO=y
CONFIG_FB_MODE_HELPERS=y
CONFIG_FB_INTEL=y
CONFIG_FB_INTEL_I2C=y

# dmesg | grep intel
intelfb: Framebuffer driver for Intel(R) 
830M/845G/852GM/855GM/865G/915G/915GM/945G/945GM chipsets
intelfb: Version 0.9.4
intelfb: 00:02.0: Intel(R) 945GM, aperture size 256MB, stolen memory 7932kB
intelfb: Non-CRT device is enabled ( LVDS port ).  Disabling mode switching.
intelfb: Video mode must be programmed at boot time.


I tried these kernel kernel options:
kernel /boot/kernel-2.6.24-gentoo-r3-b2 root=/dev/sda5 video=intelfb vga=0x318
kernel /boot/kernel-2.6.24-gentoo-r3-b2 root=/dev/sda5 video=intelfb:[EMAIL 
PROTECTED]
kernel /boot/kernel-2.6.24-gentoo-r3-b2 root=/dev/sda5 vga=792

and in all cases I see blank screen or screen with many scrolling
white lines.


Any chance to get framebuffer working on my laptop?


-- 
Sergey

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



Re[2]: [gentoo-user] iwlwifi psk auth

2008-03-11 Thread Sergey Kobzar
What does
'wpa_supplicant -Dwext -iwlan0 -c/etc/wpa_supplicant/wpa_supplicant.conf'
command tell?

Don't forget stop wpa_supplicant before and reload iwl module.


Monday, March 10, 2008, 11:39:55 PM, you wrote:

 2008. 03. 10, hetfo keltezessel 22.28-kor Pongracz Istvan ezt irta:
 
 
 network={
 ssid=HomeLinux
 psk=WADDA
 key-mgmt=WPA-PSK

 In fact this is key_mgmt, I corrected.

 Anyway, with/without key_mgmt it seems it is not working...

 I got this message:
  * Starting wlan0
  *   Starting wpa_supplicant on wlan0 ...
 ioctl[SIOCSIWAUTH]: Operation not supported
 WEXT auth param 4 value 0x0 - ioctl[SIOCSIWAUTH]: Operation not
 supported
 [ ok ]th param 5 value 0x1 - 
  *   Starting wpa_cli on wlan0 ...
 [ ok ]
  * Backgrounding ...


 Maybe a restart needed 

 IStvan



 -- 
 BSA. Mert megerdemlitek.
 Open Source. Mert megerdemlem.
 --
 BSA. They value it.
 Open Source. The value. It.
 --
 http://www.osbusiness.hu




-- 
Sergey

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



[gentoo-user] iwlwifi psk auth

2008-03-10 Thread Sergey Kobzar
I have iwl3945 card:

# dmesg | grep iwl
iwl3945: Intel(R) PRO/Wireless 3945ABG/BG Network Connection driver for Linux, 
1.1.17ks
iwl3945: Copyright(c) 2003-2007 Intel Corporation
iwl3945: Detected Intel PRO/Wireless 3945ABG Network Connection
iwl3945: Tunable channels: 13 802.11bg, 23 802.11a channels
phy0: Selected rate control algorithm 'iwl-3945-rs'

And used http://gentoo-wiki.com/HARDWARE_ipw3945 giud to setup my
wireless network.

My kernel is Linux 2.6.24-gentoo-r3.

Unfortunately I can't emerge iwlwifi (but maybe it's not required?):

# emerge -pv iwlwifi

These are the packages that would be merged, in order:

Calculating dependencies... done!
[ebuild  NS   ] sys-kernel/gentoo-sources-2.6.22-r10  USE=symlink -build 
44,216 kB
[ebuild  N] net-wireless/iwlwifi-1.2.23  USE=ipw3945 -ipw4965 355 kB

Total: 2 packages (1 new, 1 in new slot), Size of downloads: 44,570 kB

- it wants gentoo-sources-2.6.22-r10, but I emerged iwl3945-ucode-2.14.1.5.


Also looks like it's impossible to get WPA-PSK working with iwlwifi
driver - I didn't find any success story in Google.

At the moment I have:

# iwconfig
lono wireless extensions.

eth0  no wireless extensions.

wmaster0  no wireless extensions.

wlan0 IEEE 802.11g  ESSID:
  Mode:Managed  Frequency:2.437 GHz  Access Point: Not-Associated
  Tx-Power=off
  Retry min limit:7   RTS thr:off   Fragment thr=2346 B
  Encryption key:off
  Link Quality:0  Signal level:0  Noise level:0
  Rx invalid nwid:0  Rx invalid crypt:0  Rx invalid frag:0
  Tx excessive retries:0  Invalid misc:0   Missed beacon:0


But can't get wpa_supplicant working.


Thanks for any help.
  

-- 
Sergey

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



Re[2]: [gentoo-user] iwlwifi psk auth

2008-03-10 Thread Sergey Kobzar
Hi Jan,

Monday, March 10, 2008, 10:33:32 PM, you wrote:

 My kernel is Linux 2.6.24-gentoo-r3.
 Unfortunately I can't emerge iwlwifi (but maybe it's not required?):
 Yes, with 2.6.24, iwlwifi is not required anymore.

Looks like iwl3945-ucode firmware required only.


 Then you haven't read mine^^. I actually have it working beautifully with
 WPA-PSK and unencrypted. Here's my wpa_supplicant.conf and my /etc/conf.d/net
 (with passwords removed, of course^^):

Thanks Jan, I got it working.

But during startup I get:

 *   Starting wpa_supplicant on wlan0 ...
ioctl[SIOCSIWAUTH]: Operation not supported
WEXT auth param 4 value 0x0 - ioctl[SIOCSIWAUTH]: Operation not supported   
 [ ok ]th param 5 value 0x1 -
 *   Starting wpa_cli on wlan0 ...[ ok ]
 * Backgrounding ...

Looks like I just have to ignore it?


 Also, I have a handy little script which I will attach. It stops the net.wlan0
 initscript, unloads the iwl module and reloads the module. The initscript
 automatically restarts.

Ah, that's why I could not get network working after
/etc/init.d/net.wlan0 restart...


 HTH,
 Jan


-- 
Sergey

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



Re[2]: [gentoo-user] Is it sefe to unmerge?

2008-02-14 Thread Sergey Kobzar
Hi Willie,

Thursday, February 14, 2008, 6:14:44 AM, you wrote:

 On Thu, Feb 14, 2008 at 12:58:03AM +0100, Penguin Lover Henry Gebhardt 
 squawked:
  So, yes, pwdb is a runtime dependency. I don't actually run pam, so can't
  confirm what would happen if I remove pwdb.
 
 
 Holy shit, what's going on? The ebuild in the portage tree is different than
 the one in /var/db/pkg/. Is it normal to update an ebuild but not its
 revision number? Here is the diff:
 
 ---snipped---

 Damn, I spoke too soon. Just re-synced, and now this pops in the
 Changelog for pam

   10 Feb 2008; Diego PettenC3B2 [EMAIL PROTECTED]
 pam-0.99.8.1-r1.ebuild, pam-0.99.9.0.ebuild:
   Remove dependency over pwdb, pam_pwdb is no more present in
 PAM 0.99, so the dependency was bogus.

Where did you find it?
Native pam Changelog or other location?


 So, yeah, pwdb is not a dependency anymore and people can safely
 remove it.

 W

 -- 
 Somehow I feel like I needed the attention
 ~Poly Chan. After his noodle and beef stir-fry stirred the fire 
  alarm and caused two fire engines and one ambulance to gather
  outside our dorm door. 06-09-2002
 Sortir en Pantoufles: up 433 days,  2:43

-- 
Sergey

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



Re[2]: [gentoo-user] Is it sefe to unmerge?

2008-02-14 Thread Sergey Kobzar
Hi Willie,

Thursday, February 14, 2008, 6:19:41 AM, you wrote:

 On Thu, Feb 14, 2008 at 01:17:35AM +0200, Penguin Lover Alan McKinnon 
 squawked:
 emerge -n pwdb

 Actually, don't do that. Alan gave the right answer, but it seems that
 my portage tree was just a few days out of date. flameeyes just
 removed the dependency for pwdb from pam. (See my other reply for the
 message.

I see.


 So this might actually explain why depclean and equery depends gave
 you different answers: one was reading the new entry for pam in the
 tree, and one was reading the old entry for (the same version... why
 didn't they bump the version?) pam in /var/db. And since the version
 was not bumped, your emerge --update world or whatever did not think
 to rebuild pam (and copy the new ebuild to /var/db) 

IMHO it's fully incorrect. Minor version must be changed at least...


 A weird incident at that. 

 Best wishes, 

 W
 -- 
 One man's vacuum is another man's sewer.
 ~N. Milleron
 Sortir en Pantoufles: up 433 days,  2:45



-- 
Sergey

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



[gentoo-user] Is it sefe to unmerge?

2008-02-13 Thread Sergey Kobzar
Hi

'emerge -pv --depclean' shows that these packages may be unmerged:

 These are the packages that would be unmerged:

 app-crypt/hashalot
selected: 0.3-r2
   protected: none
 omitted: none

 sys-libs/pwdb
selected: 0.62
   protected: none
 omitted: none

 sys-apps/attr
selected: 2.4.32
   protected: none
 omitted: none


Is it safe to remove they from the system? This is mail server and has
mostly no additional packages except exim, mysql, spamassassin and
some other.


Thanks for any help.


-- 
Sergey

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



Re[2]: [gentoo-user] Is it sefe to unmerge?

2008-02-13 Thread Sergey Kobzar
Hi Alan,

Wednesday, February 13, 2008, 6:22:33 PM, you wrote:

 On Wednesday 13 February 2008, Sergey Kobzar wrote:
 Hi

 'emerge -pv --depclean' shows that these packages may be unmerged:
 snip detail
  app-crypt/hashalot
  sys-libs/pwdb
  sys-apps/attr

 Is it safe to remove they from the system? This is mail server and
 has mostly no additional packages except exim, mysql, spamassassin
 and some other.

 This means that you never explicitly merged them, they are not in world
 and are no longer required by anything else. There are normally three 
 reasons:

 - you merged something that needed these packages, then unmerged them 
 later, leaving these dependencies orphaned
 - you merged something else that used them, and in a recent update they
 are now using something else that provides the same functionality
 - they were required by some USE flag you once had, and you have now 
 changed your USE, so the deps are no longer required.

Yes, that the theory I know about :)
But looks like they are not in world list of stage3. I'm 99% sure I
didn't merge hashalot  attr (as dependencies too).


 You'll need to look at each package and figure out if YOU need them, as
 we can't tell you that. I might think that you don't need your wife 
 under any circumstances, and you might strongly disagree :-)

:)


 I once knew what hashalot does. I forgot. It's something to do with 
 cryptography

%description
This program will read a passphrase from standard input and print a binary
(not printable) hash to standard output.  The output is suitable for use as
an encryption key.


 pwdb is used as a password and user account configuration thingy. Looks
 pretty important :-)

I think so.

 attr provides extended attributes to ext2/3 and XFS file systems, used
 by selinux and posix capabilities. If you use these features, you 
 already are aware of it.

So, if I use reiserfs w/o ext attrs (option in kernel), I don't need
it probably. Correct?


 When you figure out which ones to keep, it's best to put them in your 
 world file. Either edit /var/lib/portage/world and stick the name at 
 the end, or run 'emerge -n package-name'

Thanks.


 -- 
 Alan McKinnon
 alan dot mckinnon at gmail dot com

-- 
Sergey

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



Re[2]: [gentoo-user] Is it sefe to unmerge?

2008-02-13 Thread Sergey Kobzar
Thanks, Alan!

Wednesday, February 13, 2008, 7:00:51 PM, you wrote:

 On Wednesday 13 February 2008, Sergey Kobzar wrote:
  attr provides extended attributes to ext2/3 and XFS file systems,
  used by selinux and posix capabilities. If you use these features,
  you already are aware of it.

 So, if I use reiserfs w/o ext attrs (option in kernel), I don't need
 it probably. Correct?

 You certainly don't need it, as attr doesn't support reiser. I'm looking
 at my own reiser-based machine and wondering why on earth I ever merged
 it myself 

 -- 
 Alan McKinnon
 alan dot mckinnon at gmail dot com


-- 
Sergey

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



Re[2]: [gentoo-user] Is it sefe to unmerge?

2008-02-13 Thread Sergey Kobzar
Hi Mick,

Wednesday, February 13, 2008, 9:14:31 PM, you wrote:


 # equery depends attr
 [ Searching for packages depending on attr... ]
 sys-apps/acl-2.2.45 (=sys-apps/attr-2.4)
 sys-apps/coreutils-6.9-r1 (acl? sys-apps/attr)

 YMMV.

Hm... on my server:

# cat /etc/make.conf | grep USE
USE=-X -acl -gpm -ipv6 -tcpd

# equery depends attr
[ Searching for packages depending on attr... ]
sys-apps/coreutils-6.9-r1 (xattr? sys-apps/attr)

# equery depends pwdb
[ Searching for packages depending on pwdb... ]
sys-libs/pam-0.99.9.0 (sys-libs/pwdb)

# equery depends hashalot
[ Searching for packages depending on hashalot... ]
#

Looks like I can remove hashalot safely only.

attr and pwdb must be added to world class.
correct?

-- 
Sergey

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



Re[2]: [gentoo-user] Is it sefe to unmerge?

2008-02-13 Thread Sergey Kobzar
Hi Willie,

Wednesday, February 13, 2008, 10:36:01 PM, you wrote:

 On Wed, Feb 13, 2008 at 10:25:23PM +0200, Sergey Kobzar wrote:
 # cat /etc/make.conf | grep USE
 USE=-X -acl -gpm -ipv6 -tcpd
 
 # equery depends attr
 [ Searching for packages depending on attr... ]
 sys-apps/coreutils-6.9-r1 (xattr? sys-apps/attr)
 
 # equery depends pwdb
 [ Searching for packages depending on pwdb... ]
 sys-libs/pam-0.99.9.0 (sys-libs/pwdb)
 
 # equery depends hashalot
 [ Searching for packages depending on hashalot... ]
 #
 
 Looks like I can remove hashalot safely only.
 
 attr and pwdb must be added to world class.
 correct?

 Not so fast. Check to see if you do have the xattr flag enabled.

In the kernel config probably?

# cat /usr/src/linux/.config | grep -i XATTR
# CONFIG_EXT2_FS_XATTR is not set
# CONFIG_REISERFS_FS_XATTR is not set
# CONFIG_CIFS_XATTR is not set


 The entry for attr is a conditional dependency: you don't need it if
 you don't have the xattr flag. (Equery is, at present, not smart
 enough to decipher dependency from USE.)

# emerge --info | grep -i attr
#


 Also, I'd thought that emerge --depclean has matured enough so that
 you don't get weird stuff like depclean telling you pwdb is save to
 remove, while equery tells you there's a hard dependency. 

Hm... probably you are right...
But it happened after I synced portage tree this morning.



 W
 -- 
 Willie W. Wong  [EMAIL PROTECTED]
 408 Fine Hall,  Department of Mathematics,  Princeton University,  Princeton
 A mathematician's reputation rests on the number of bad proofs he has given.



-- 
Sergey

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



Re[2]: [gentoo-user] Is it sefe to unmerge?

2008-02-13 Thread Sergey Kobzar
Hi Mick,

Thursday, February 14, 2008, 12:22:20 AM, you wrote:

 On Wednesday 13 February 2008, Mick wrote:
 On Wednesday 13 February 2008, you wrote:
  Hi Mick,
 
  Wednesday, February 13, 2008, 9:14:31 PM, you wrote:
   # equery depends attr
   [ Searching for packages depending on attr... ]
   sys-apps/acl-2.2.45 (=sys-apps/attr-2.4)
   sys-apps/coreutils-6.9-r1 (acl? sys-apps/attr)
  
   YMMV.
 
  Hm... on my server:
 
  # cat /etc/make.conf | grep USE
  USE=-X -acl -gpm -ipv6 -tcpd
 
  # equery depends attr
  [ Searching for packages depending on attr... ]
  sys-apps/coreutils-6.9-r1 (xattr? sys-apps/attr)
 
  # equery depends pwdb
  [ Searching for packages depending on pwdb... ]
  sys-libs/pam-0.99.9.0 (sys-libs/pwdb)
 
  # equery depends hashalot
  [ Searching for packages depending on hashalot... ]
  #
 
  Looks like I can remove hashalot safely only.
 
  attr and pwdb must be added to world class.
  correct?

 Try running:  # regenworld

 It should catch any packages that should have been included in the world file,
 but for some reason hadn't.  Don't forget that --declean is not infallible.

Sorry for delay. regenworld didn't find attr, pwdb and hashalot
packages. It just added packages I updated using 'emerge -uDN
package_name' command instead of 'emerge -uDN world' by mistake.


-- 
Sergey

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



Re[2]: [gentoo-user] Is it sefe to unmerge?

2008-02-13 Thread Sergey Kobzar
Hi Willie,

So, I can unmerge hashalot and attr safely.

How can I add pwdb to the system (or maybe world is more correct)
class?


Wednesday, February 13, 2008, 11:22:54 PM, you wrote:

 On Wed, Feb 13, 2008 at 10:03:42PM +0100, Henry Gebhardt wrote:
 Where does equery get that from? emerge -e pam doesn't show pwdb as a
 dependency. In fact, the ebuild checks whether you are using the pam_pwdb
 module, and if you do, warns you about it. I for my part just removed pwdb,
 and I can still log in as if nothing happend. (Also after a reboot.)


 [04:18 PM]wwong pam $ emerge --pretend --emptytree pam | grep pwdb
 [ebuild   R   ] sys-libs/pwdb-0.62  

 Also, 

 [04:20 PM]wwong pam $ grep -C 3 pwdb pam-0.99.9.0.ebuild 
 RDEPEND=nls? ( virtual/libintl )
 cracklib? ( =sys-libs/cracklib-2.8.3 )
 audit? ( sys-process/audit )
 sys-libs/pwdb
 selinux? ( =sys-libs/libselinux-1.28 )

 So, yes, pwdb is a runtime dependency. I don't actually run pam, so can't
 confirm what would happen if I remove pwdb. 

 W
 -- 
 Willie W. Wong  [EMAIL PROTECTED]
 408 Fine Hall,  Department of Mathematics,  Princeton University,  Princeton
 A mathematician's reputation rests on the number of bad proofs he has given.



-- 
Sergey

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



Re[2]: [gentoo-user] Is it sefe to unmerge?

2008-02-13 Thread Sergey Kobzar
Alan, thanks again :)

Last question. How can I update selected packages correctly? Before I
used 'emerge -uDN package_name' command, but it adds package to the
world class, which is IMHO is not fully correct.

To update whole system, I must use 'emerge -uDN world', right?


Thursday, February 14, 2008, 1:17:35 AM, you wrote:

 On Thursday 14 February 2008, Sergey Kobzar wrote:
 Hi Willie,

 So, I can unmerge hashalot and attr safely.

 How can I add pwdb to the system (or maybe world is more correct)
 class?

 emerge -n pwdb

 It won't recompile pwdb in your case as you already have it, so it will
 just add it to world

 -- 
 Alan McKinnon
 alan dot mckinnon at gmail dot com




-- 
Sergey

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



Re[2]: [gentoo-user] Is it sefe to unmerge?

2008-02-13 Thread Sergey Kobzar
Hi Dale,

Thursday, February 14, 2008, 3:10:09 AM, you wrote:

 Alan McKinnon wrote:
 On Wednesday 13 February 2008, Sergey Kobzar wrote:
   
 attr provides extended attributes to ext2/3 and XFS file systems,
 used by selinux and posix capabilities. If you use these features,
 you already are aware of it.
   
 So, if I use reiserfs w/o ext attrs (option in kernel), I don't need
 it probably. Correct?
 

 You certainly don't need it, as attr doesn't support reiser. I'm looking 
 at my own reiser-based machine and wondering why on earth I ever merged 
 it myself 

   

 I have attr on here as well.  This is what equery says:

 [EMAIL PROTECTED] / # equery depends attr
 [ Searching for packages depending on attr... ]
 app-backup/dar-2.2.6 (acl? sys-apps/attr)
 gnome-base/gnome-vfs-2.20.1-r1 (acl? sys-apps/attr)
 sys-apps/acl-2.2.45 (=sys-apps/attr-2.4)
 sys-apps/coreutils-6.9-r1 (xattr? sys-apps/attr)
 [EMAIL PROTECTED] / #

 Seems like a few packages depend on it here.  OP, have you had any of 
 these installed at some point?

In my system only one package which requires attr is
sys-apps/coreutils. But because acl support is disabled, it does not
need attr too.


 Dale

 :-)  :-) 


-- 
Sergey

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



Re[2]: [gentoo-user] VM Ware or not?

2008-01-29 Thread Sergey Kobzar
Hi Neil,

Tuesday, January 29, 2008, 9:45:45 PM, you wrote:

 On Tue, 29 Jan 2008 17:37:22 -0200, Ricardo Saffi Marques wrote:

 We've been using VMware Server and VMware Server Console at our lab.
 Everything works really good. The point is that you can't use a real
 phisical partition of any of your disks. You have to create a virtual
 disk for the guest system.


 That's not the case with VMware Workstation.

VMware Server supports raw disks too. You can mount partition from
physical disk to virtual machine easily.

-- 
Sergey

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



Re[2]: [gentoo-user] VM Ware or not?

2008-01-29 Thread Sergey Kobzar
Hi Neil,

Wednesday, January 30, 2008, 1:23:50 AM, you wrote:

 Exactly, and by the same token, you'll find Gentoo is unsupported
 whatever the kernel version. VMware Workstation is a commercial product,
 so the compatibility list is more do do with compatibility with their
 support team than the software.

You are right. We are using VMware with Gentoo as host and guest OS
more than a year w/o problems.

-- 
Sergey

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



Re[2]: [gentoo-user] VM Ware or not?

2008-01-29 Thread Sergey Kobzar
Hi Alex,

Wednesday, January 30, 2008, 12:07:50 AM, you wrote:

 I do not know qemu yet, but I guess it may be easier to setup. You are
 right about the recent kernels, the vmware modules did not compile for me
 several times until vmware released patches. Quite annoying. But apart
 from that, vmware works quite well.

It works well on 2.6.23  2.6.24.


-- 
Sergey

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



Re[2]: [gentoo-user] VM Ware or not?

2008-01-29 Thread Sergey Kobzar
Hi Jerry,

Tuesday, January 29, 2008, 11:59:42 PM, you wrote:


 That and I believe the server package requires vm support in the cpu while the
 workstation does not.

There are no special kernel requirements for server and workstation.


-- 
Sergey

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



Re[2]: [gentoo-user] VMware Server Tools

2008-01-13 Thread Sergey Kobzar
Hi Elias,

Sunday, January 13, 2008, 7:36:45 PM, you wrote:

 Am Freitag, 11. Januar 2008 09:53:36 schrieb Sergey Kobzar:
 I prefer to use portage tree for additional software. That's why I
 chose Gentoo.

 --
 Sergey

 Use the open-vm-tools. They work quite fine and contain all features provided
 by the previous closed source ones.

 Regards, Elias P.

Thanks for recommendation. I installed open-vm-tools already and they
look good! :)

Hope it's a good replacement for proprietary VMware Tools.


-- 
Sergey

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



Re[2]: [gentoo-user] VMware Server Tools

2008-01-11 Thread Sergey Kobzar
Hi Peter,

Friday, January 11, 2008, 1:47:49 AM, you wrote:

 On Thursday 10 January 2008, Sergey Kobzar wrote:
 I can't find vmware-server-tools in layman. Before I used it to
 install tools:

 # equery list | grep vmware-server-tools
 app-emulation/vmware-server-tools-1.0.3.44356

 Vmware tools are now included in vmware-server.  After starting a 
 VM, choose Install VMware Tools from the VM menu.

And it will add:
- Tools to installed packages list
- correct rc scripts
?

Don't think so...


I prefer to use portage tree for additional software. That's why I
chose Gentoo.

-- 
Sergey

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



[gentoo-user] VMware Server Tools

2008-01-10 Thread Sergey Kobzar
Hi.

I can't find vmware-server-tools in layman. Before I used it to
install tools:

# equery list | grep vmware-server-tools
app-emulation/vmware-server-tools-1.0.3.44356


Now I can't find tools:

# layman -l
* vmware[Subversion] (source: http://overlays.gentoo.org...)

# emerge --search vmware-server-tools
Searching...
[ Results for search key : vmware-server-tools ]
[ Applications found : 0 ]

Are they not supported now? Does anybody try to use open-vm-tools
instead? Usually I need tools to sync time with host only.


Thanks for help.


-- 
Sergey

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



Re[2]: [gentoo-user] Intel Wireless 3945ABG Adapter

2007-12-25 Thread Sergey Kobzar
Thanks Neil. I'll try it. Just want to be sure it works stable.

Tuesday, December 25, 2007, 1:48:50 AM, you wrote:

 On Tue, 25 Dec 2007 01:04:33 +0200, Sergey Kobzar wrote:

 At the moment I use IPW3945. Is it wort to switch to iwlwifi? How does
 it work with 2.6.23 kernel? Is it stable?

 I use iwlwifi with an Intel 4965 and it works well.


-- 
Sergey

-- 
[EMAIL PROTECTED] mailing list



[gentoo-user] Intel Wireless 3945ABG Adapter

2007-12-24 Thread Sergey Kobzar
I have laptop with wireless adapter:

# lspci | grep -i wireless
02:00.0 Network controller: Intel Corporation PRO/Wireless 3945ABG Network 
Connection (rev 02)

It has 2 drivers:

http://ipw3945.sourceforge.net/ (marked as deprecated)
http://intellinuxwireless.org/ (masked in portage tree)

At the moment I use IPW3945. Is it wort to switch to iwlwifi? How does
it work with 2.6.23 kernel? Is it stable?

Thanks for any help.

-- 
Sergey

-- 
[EMAIL PROTECTED] mailing list



[gentoo-user] emerging gnupg

2007-12-21 Thread Sergey Kobzar
I have a problem with gnupg updating:

# emerge -upvDN world

These are the packages that would be merged, in order:

Calculating world dependencies... done!
[ebuild U ] app-crypt/gnupg-2.0.7 [1.4.7-r1] USE=-bzip2 -doc% -ldap -nls 
-openct% -pcsc-lite% (-selinux) -smartcard (-bindist%) (-curl%) (-ecc%) 
(-idea%) (-readline%*) (-static%) (-usb%) (-zlib%*) LINGUAS=(-ru%) 3,526 kB
[ebuild  NS   ] sys-kernel/gentoo-sources-2.6.19-r5  USE=symlink -build 
41,910 kB
[blocks B ] =app-crypt/gnupg-2.0.1 (is blocking app-crypt/gnupg-2.0.7)

Total: 2 packages (1 upgrade, 1 in new slot, 1 block), Size of downloads: 
45,436 kB


When I try update gnupg, I get error:

# emerge -uDN gnupg
Calculating dependencies... done!
 Recording app-crypt/gnupg:1.9 in world favorites file...
Traceback (most recent call last):
  File /usr/bin/emerge, line 6518, in ?
retval = emerge_main()
  File /usr/bin/emerge, line 6512, in emerge_main
myopts, myaction, myfiles, spinner)
  File /usr/bin/emerge, line 5968, in action_build
mydepgraph.saveNomergeFavorites()
  File /usr/bin/emerge, line 3401, in saveNomergeFavorites
self.mydbapi[root].aux_get(pkg_key, self._mydbapi_keys)))
  File /usr/lib/portage/pym/portage.py, line 5553, in aux_get
raise KeyError(mycpv)
KeyError: 'app-crypt/gnupg-1.4.7-r1'


Could you please tell me what is wrong and how can I fix this?


-- 
Sergey

-- 
[EMAIL PROTECTED] mailing list



[gentoo-user] FS for laptop

2007-12-18 Thread Sergey Kobzar
Hi guys,

I just had discussion with my friend which file system to use on
laptop with Gentoo.

- ReiserFS looks unsupported now
- ext3 looks slow some time
- XFS maybe?

Requirements are:
- low memory usage
- fast enough for laptop
- good supported

Any ideas?

-- 
Sergey

-- 
[EMAIL PROTECTED] mailing list