Re: [gentoo-user] dev-python/setuptools conflict when running python-updater

2008-07-19 Thread Sebastian Günther
* Walter Dnes ([EMAIL PROTECTED]) [19.07.08 03:20]:
   I did some updates today.  emerge --sync and updated world on my
 production machine.  Things went OK, including running python-updater.
 Then I scp'd the contents of /usr/portage/distfiles over to my hot
 backup machine, ran emerge --sync (pointing at my production machine)
 and updated.  Just like on the main machine, /var/log/portage/elog had
 an advisory to run python-updater.  This time, it didn't work...
 
 ===
 d531 elog # /usr/sbin/python-updater
  * Starting Python Updater from 2.4 to 2.5 :
  *   Adding to list: =sys-libs/cracklib-2.8.10
  *   Adding to list: =net-mail/getmail-4.7.6
  *   Adding to list: =app-office/gnumeric-1.8.2
  *   Adding to list: =dev-java/java-config-1.3.7
  *   Adding to list: =dev-java/java-config-2.1.6
  *   Adding to list: =dev-python/python-fchksum-1.7.1
  *   Adding to list: =dev-python/docutils-0.4-r3
  *   Adding to list: =dev-python/setuptools-0.6_rc7-r1
  *   Adding to list: =dev-python/pycrypto-2.0.1-r6
 
 These are the packages that would be merged, in order:
 
 Calculating dependencies \
 !!! Multiple versions within a single package slot have been 
 !!! pulled into the dependency graph:
 
 dev-python/setuptools:0
 
   ('ebuild', '/', 'dev-python/setuptools-0.6_rc7-r1', 'merge') (no
 parents)
 
   ('ebuild', '/', 'dev-python/setuptools-0.6_rc8-r1', 'merge') pulled in
 by
 ('ebuild', '/', 'dev-python/docutils-0.4-r3', 'merge')
 ===
 
   Masking out =dev-python/setuptools-0.6_rc7-r1 didn't work, so I'm
 considering removing it.  Having been burned before when unmerging
 core-utils (OUCH!!!) I thought I'd ask here before doing anything
 stupid.  How do I get around this python-updater problem?
 

Just make an 
# emerge -1 setuptools
and python-updater will run smoothly

If you are using gnome, also
# emerge -1 gnome-doc-utils

I hit the same bugs yesterday.

The second one is because python-updater seems to miss it and you would 
get a snadbox violation.

HTH
Sebastian

-- 
  Religion ist das Opium des Volkes.   Karl Marx

 [EMAIL PROTECTED]@N GÜNTHER mailto:[EMAIL PROTECTED]


pgpiETSLXzYXh.pgp
Description: PGP signature


Re: [gentoo-user] Mounting usb problem

2008-07-19 Thread Andrew Tchernoivanov
SCSI device sda: 3973120 512-byte hdwr sectors (2034 MB)
sda: Write Protect is off
sda: Mode Sense: 23 00 00 00
sda: assuming drive cache: write through
SCSI device sda: 3973120 512-byte hdwr sectors (2034 MB)
sda: Write Protect is off
sda: Mode Sense: 23 00 00 00
sda: assuming drive cache: write through
 sda: sda1

According to this if  you want to mount tour USB drive, you should use
/dev/sda1 instead of /dev/usb

On Sat, Jul 19, 2008 at 9:02 AM, Norman Hakim [EMAIL PROTECTED]
wrote:


  Do you have a file called /dev/usb ?
 
  On my system they have longer names.
 
  What does
ls /dev/usb*
  show?
 
  allan
  --
 It shows:

 /dev/usbdev1.1_ep00  /dev/usbdev1.2_ep81  /dev/usbdev3.1_ep81
 /dev/usbdev1.1_ep81  /dev/usbdev2.1_ep00  /dev/usbdev4.1_ep00
 /dev/usbdev1.2_ep00  /dev/usbdev2.1_ep81  /dev/usbdev4.1_ep81
 /dev/usbdev1.2_ep02  /dev/usbdev3.1_ep00


 Regards,
 Norman



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




Re: [gentoo-user] Non-case sensitive alphabetical sorting

2008-07-19 Thread Neil Bothwick
On Sat, 19 Jul 2008 07:49:39 +0800, Mark David Dumlao wrote:

 When ordering items by name, a separate and distinct sequence is scene
 for A-Z before the sequence for a-z. This is the expected behavior.
 What might i need to look up to intermix [Aa]-[Zz]?

That depends on what you are using to do the sort. The sort command uses
the -f option for case-insensitive sorting. Bash has an option to handle
this when presenting files that match a pattern, like *, see the man page.

A more detailed question will elicit a more detailed answer.


-- 
Neil Bothwick

Talk is cheap because supply exceeds demand.


signature.asc
Description: PGP signature


Re: [gentoo-user] Non-case sensitive alphabetical sorting

2008-07-19 Thread Sebastian Günther
* Mark David Dumlao ([EMAIL PROTECTED]) [19.07.08 01:51]:
 When ordering items by name, a separate and distinct sequence is scene for
 A-Z before the sequence for a-z. This is the expected behavior. What might i
 need to look up to intermix [Aa]-[Zz]?

Maybe should state in what application you are trying to sort...

Sebastian

-- 
  Religion ist das Opium des Volkes.   Karl Marx

 [EMAIL PROTECTED]@N GÜNTHER mailto:[EMAIL PROTECTED]


pgpb3kWxpaAN5.pgp
Description: PGP signature


Re: [gentoo-user] Mounting usb problem

2008-07-19 Thread Sebastian Günther
* Norman Hakim ([EMAIL PROTECTED]) [19.07.08 06:24]:

  From: Norman Hakim [EMAIL PROTECTED]
  Subject: [gentoo-user] Mounting usb problem
  To: gentoo-user@lists.gentoo.org
  Date: Friday, July 18, 2008, 10:56 PM
  Hi all,
  
  I have problem regarding mounting my usb thumbdrive. I have
  tried to add this line to /etc/fstab:
  
  echo /dev/usb /mnt/usb auto noauto,rw,user
  /etc/fstab
  
  After i mount it:
  mount /dev/usb
  

No wonder, this device node is unknown to the system.

  It shows there is no mount point for /dev/usb
  
  I wonder is it this is the correct line that i should put
  into /etc/fstab?
  
  Or should i post the output of dmesg here?
  
  
  Regards,
  Norman

 This is the output:
 
 usb 1-1: new high speed USB device using ehci_hcd and address 2
 usb 1-1: configuration #1 chosen from 1 choice
 scsi0 : SCSI emulation for USB Mass Storage devices
 usb-storage: device found at 2
 usb-storage: waiting for device to settle before scanning
 scsi 0:0:0:0: Direct-Access Kingston DataTraveler 2.0 1.00 PQ: 0 ANSI: 2
 SCSI device sda: 3973120 512-byte hdwr sectors (2034 MB)
 sda: Write Protect is off
 sda: Mode Sense: 23 00 00 00
 sda: assuming drive cache: write through
 SCSI device sda: 3973120 512-byte hdwr sectors (2034 MB)
 sda: Write Protect is off
 sda: Mode Sense: 23 00 00 00
 sda: assuming drive cache: write through
  sda: sda1

Here it states that it has the /dev/sda1 node

 sd 0:0:0:0: Attached scsi removable disk sda
 usb-storage: device scan complete
 sd 0:0:0:0: Attached scsi generic sg0 type 0
 
 

So the correct line for fstab is left as an exercise.

And some warning in advance:
The device node may change if you use multiple thumbdrives.

For giving the thumbdrive a permanent node, refer to some HowTo on 
writing udev rules.

HTH
Sebastian

-- 
  Religion ist das Opium des Volkes.   Karl Marx

 [EMAIL PROTECTED]@N GÜNTHER mailto:[EMAIL PROTECTED]


pgpAPIuOrfOn7.pgp
Description: PGP signature


[gentoo-user] What *-sources for laptop

2008-07-19 Thread Amar Cosic
Hello all

I am about to install Gentoo on laptop for first time.I use gentoo-sources
on desktop but I would like to know is there maybe something better for
laptop? Also, I would appreciate if someone could give me some of yours
make.conf's you use on laptop. Thanks



-- 
Amar Ćosić
[EMAIL PROTECTED]
[EMAIL PROTECTED]
+38761240095
http://www.amar.ba


Re: [gentoo-user] Mounting usb problem

2008-07-19 Thread Alan McKinnon
On Saturday 19 July 2008, Andrew Tchernoivanov wrote:
 SCSI device sda: 3973120 512-byte hdwr sectors (2034 MB)
 sda: Write Protect is off
 sda: Mode Sense: 23 00 00 00
 sda: assuming drive cache: write through
 SCSI device sda: 3973120 512-byte hdwr sectors (2034 MB)
 sda: Write Protect is off
 sda: Mode Sense: 23 00 00 00
 sda: assuming drive cache: write through
  sda: sda1

 According to this if  you want to mount tour USB drive, you should
 use /dev/sda1 instead of /dev/usb

That is likely to break if he puts two usb devices in the system and 
inserts them in the wrong order to what he usually does

Rather mount by fs LABEL on the device or it's GUID. First column 
in /etc/fstab:

LABEL=MY_FS_LABEL
GUID=VERY_LONG_GUID_GOES_HERE

Personally, I feel fstab is the wrong place for pluggable filesystems. 
Rather use automounting daemons like ivman, or the desktop environment, 
for this purpose and leave only fixed disks in fstab that are not 
likely to change

-- 
Alan McKinnon
alan dot mckinnon at gmail dot com

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



Re: [gentoo-user] What *-sources for laptop

2008-07-19 Thread Alan McKinnon
On Saturday 19 July 2008, Amar Cosic wrote:
 Hello all

 I am about to install Gentoo on laptop for first time.I use
 gentoo-sources on desktop but I would like to know is there maybe
 something better for laptop? Also, I would appreciate if someone
 could give me some of yours make.conf's you use on laptop. Thanks

gentoo-sources is fine for laptops. What do you have in your laptop that 
makes you think some other patches will perform better?

Someone else's make.conf is not going to help you much, it's way to 
customized for each machine. You could start by copying the one you 
already have on your desktop and working from there. It's what I do, 
the only things I change are the arch and the cpu-specific USE flags 
(things like mmx, sse)

-- 
Alan McKinnon
alan dot mckinnon at gmail dot com

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



[gentoo-user] revdep-rebuild now very very fast

2008-07-19 Thread Alan McKinnon
Hi all,

revdep-rebuild now runs amazingly fast on my machine - 18 seconds as 
opposed to the 5 minutes or so it used to take !

I see gentoolkit was updated recently. Is this expected behaviour?


-- 
Alan McKinnon
alan dot mckinnon at gmail dot com

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



Re: [gentoo-user] revdep-rebuild now very very fast

2008-07-19 Thread Johann Schmitz

-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Alan McKinnon wrote:
| I see gentoolkit was updated recently. Is this expected behaviour?

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

iEYEARECAAYFAkiBm2MACgkQZsUt7MqpQk3cNACfYhRDVobWtPI8rS9suR5g5Gyh
4e4AoNWgnB4jXyON/D5ZIrnCYvEgcZGo
=kVgF
-END PGP SIGNATURE-
--
gentoo-user@lists.gentoo.org mailing list



Re: [gentoo-user] What *-sources for laptop

2008-07-19 Thread Andrea Momesso
On Sat, Jul 19, 2008 at 9:29 AM, Alan McKinnon [EMAIL PROTECTED]
wrote:

 On Saturday 19 July 2008, Amar Cosic wrote:
  Hello all
 
  I am about to install Gentoo on laptop for first time.I use
  gentoo-sources on desktop but I would like to know is there maybe
  something better for laptop? Also, I would appreciate if someone
  could give me some of yours make.conf's you use on laptop. Thanks

 gentoo-sources is fine for laptops. What do you have in your laptop that
 makes you think some other patches will perform better?

 Someone else's make.conf is not going to help you much, it's way to
 customized for each machine. You could start by copying the one you
 already have on your desktop and working from there. It's what I do,
 the only things I change are the arch and the cpu-specific USE flags
 (things like mmx, sse)

 --
 Alan McKinnon
 alan dot mckinnon at gmail dot com

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


If you need advanced hibernate and suspend functions tuxonice-sources are
fine too.

-- 
Momesso Andrea


Re: [gentoo-user] Mounting usb problem

2008-07-19 Thread Sebastian Günther
* Alan McKinnon ([EMAIL PROTECTED]) [19.07.08 09:19]:

 Rather mount by fs LABEL on the device or it's GUID. First column 
 in /etc/fstab:
 
 LABEL=MY_FS_LABEL
 GUID=VERY_LONG_GUID_GOES_HERE
 
 Personally, I feel fstab is the wrong place for pluggable filesystems. 
 Rather use automounting daemons like ivman, or the desktop environment, 
 for this purpose and leave only fixed disks in fstab that are not 
 likely to change
 
but ivman does it in kind of a dumb manner:
plugin first usb drive - mount point /mount/sda*
plugin second usb drive - mount point /mount/sdb*
unplug both
plugin second usb drive - mount point /mount/sda* !

This can get confusing, if do not always use GUIs.

If you give udev a rule to symlink the thumbdrive to something like 
/dev/first and add a line /dev/first /media/first, ivman will always use 
that mount point.

If you have your boot partition on a thumbdrive you will appriciate this 
behavior.

Sebastian

-- 
  Religion ist das Opium des Volkes.   Karl Marx

 [EMAIL PROTECTED]@N GÜNTHER mailto:[EMAIL PROTECTED]


pgpv92B5Ar7Uh.pgp
Description: PGP signature


Re: [gentoo-user] Installation: help me set up my keyboard, please.

2008-07-19 Thread Alan Mackenzie
Hi, Sebastian!

On Fri, Jul 18, 2008 at 11:39:32PM +0200, Sebastian Günther wrote:
 * Alan Mackenzie ([EMAIL PROTECTED]) [18.07.08 23:00]:

[  ]

  Except I've hit a brick wall.  I want to set up my console keyboard,
  so I go to edit /etc/conf.d/keymaps, as described in the x86
  Handbook.

 Maybe you have just what the Germans call Ein Brett vorm Kopf

Hah!  That reminds me of a Monty Python sketch involving monks.  :-)

  #
  # Use KEYMAP to specify the default console keymap.  There is a complete 
  tree
  # of keymaps in /usr/share/keymaps to choose from.

  KEYMAP=uk
  #

  This is aggravatingly vague.  I cannot find anything to tell me _HOW_ to
  Use KEYMAP to specify   Somehow, my current setting of uk seems
  to find and load an appropriate keymap, perhaps
  /usr/share/keymaps/i386/qwerty/uk.map.gz.

 KEYMAP is just a env var which holds the arguments for loadkeys. And for 
 sure it finds this keymap. And this is by far not vague. See below.

  So the question is how do I get the system to load up my own special
  keymap, currently called boottime.keymap.gz on my Debian system?
  Where must I write this file so that it gets loaded?  Where do I find
  the documentation telling where to write this file?

  I've delved into /etc/init.d/keymaps (a runscript shell), but it
  appears merely to use ${KEYMAP}.  I cannot see how this script manages to
  find a filename out of uk.  Presumably the interpreter /sbin/runscript
  runs the find command, somehow.  But I can't find any documentation for
  runscript.

 Keymaps are loaded with loadkeys. man loadkeys gives the glory details.
 (there is also a hint how to set this as kernel keymap ;-))

Ah, loadkeys, my old friend!  I confess I'd not looked at man loadkeys
for around 5 years.  It's changed.

 It searches in /usr/share/keymaps for the string.

Ah!  I've not seen this in *nix before, giving a filename fragment and
having the system DWIM.  I'm not sure I like it.

 As you may have noticed all keymaps differ before the .map.gz. So it
 should go smoothly, if you put your keymap in any folder, an appropiate
 for sanity, and rename it to something unique, a la
 my-own-nifty.map.gz. 

 Test it with 
 # loadkeys my-own-nifty 

Yes, it works.  I should have just tried it.  

  How do I set my keyboard layout?

 loadkeys

Thanks!  It now works.

 Sebastian

-- 
Alan Mackenzie (Nuremberg, Germany).
-- 
gentoo-user@lists.gentoo.org mailing list



Re: [gentoo-user] revdep-rebuild now very very fast

2008-07-19 Thread Volker Armin Hemmann
On Samstag, 19. Juli 2008, Alan McKinnon wrote:
 Hi all,

 revdep-rebuild now runs amazingly fast on my machine - 18 seconds as
 opposed to the 5 minutes or so it used to take !

 I see gentoolkit was updated recently. Is this expected behaviour?


or you are a victim of that new preserved-libs stuff in portage 
-- 
gentoo-user@lists.gentoo.org mailing list



Re: [gentoo-user] Re: xf86-video-ati-6.8.0-r1 problems

2008-07-19 Thread Mick
On Friday 18 July 2008, Nikos Chantziaras wrote:
 Mick wrote:
  [...]
  For some reason on the 2.6.24-gentoo-r8 kernel the xf86-video-ati fails
  to install any modules, hence this message.  I haven't configured this
  box for ages so I may be misunderstanding something here.  Do I have to
  switch to the kernel drivers?

 You need to compile a kernel with DRM + ATI Radeon support.  If you're
 not running this kernel in more than one machine, you can compile it in
 the kernel; no reason to make it a module.  If you intent to also try
 the proprietary driver, then you need to make it a module (because this
 driver provides its own DRM module.)

Right, found it - for some reason I had not emerged x11-base/x11-drm, which 
places the radeon.ko under /lib/modules/kernel_name/x11-drm/

module-rebuild would pick this up of course, but I suspect I hadn't run it 
after I compiled a kernel last time.

Better make a note of this for the future!

Thank you all for your help.  :)
-- 
Regards,
Mick


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


Re: [gentoo-user] What *-sources for laptop

2008-07-19 Thread Neil Bothwick
On Sat, 19 Jul 2008 09:17:39 +0200, Amar Cosic wrote:

 I am about to install Gentoo on laptop for first time.I use
 gentoo-sources on desktop but I would like to know is there maybe
 something better for laptop?

tuxonice-sources, which is gentoo-sources plus the tuxonice
suspend/hibernate patches.


-- 
Neil Bothwick

Politicians are like nappies
Both should be changed regularly, and for the same reason


signature.asc
Description: PGP signature


Re: [gentoo-user] Mounting usb problem

2008-07-19 Thread Philip Webb
080718 Norman Hakim wrote:
 I have problem regarding mounting my usb thumbdrive.
 I have tried to add this line to /etc/fstab: 
   echo /dev/usb /mnt/usb auto noauto,rw,user /etc/fstab

I have '/dev/sdb1 /mnt/usb auto noauto,user,umask=000 0 0'.
This is ok as long as I use only 1 USB stick at the same time:
Udev creates  /dev/sdb1  when the stick is inserted
 would create  /dev/sdb2 etc  if there were   1 ,
so that would require additional lines in 'fstab'.

 After i mount it with 'mount /dev/usb'
 it shows there is no mount point for /dev/usb

I 'mount /dev/usb1 /mnt/usb' from the root command-line:
there is already a dir  /mnt/usb , which I created earlier,
 'umask=000' in 'fstab' ensures I can access the stick as user.
Once I have mounted the stick like this,
I can read/write to it from my user's command-line or use Krusader with it.

-- 
,,
SUPPORT ___//___,   Philip Webb
ELECTRIC   /] [] [] [] [] []|   Cities Centre, University of Toronto
TRANSIT`-O--O---'   purslowatchassdotutorontodotca

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



[gentoo-user] Re: What is the gimmick to run tightvnc from windows to gentoo

2008-07-19 Thread Harry Putnam
Mick [EMAIL PROTECTED] writes:

 I tried connecting to a MSWindows RealVNC server with krdc and I remember 
 that 
 I couldn't login.  It could be latency across the pond, or network traffic 
 causing the login to time out.  Eventually I ran out of patience/time and 
 decided to remove the login passwd and instead lock down access to the 
 RealVNC, MSWindows box and its network, from my IP address only.

Sounds like this is in the opposite direction from what I'm talking
about.

I'm not experiencing any problems connecting with linux client to
windows server (tightvnc both ends).

I'm not sure what `krdc' that you mention, is, but would suggest you
try tightvnc on both ends.  It worked for me with no problems.

However trying to connect with windows (tightVnc) client to Linux
(tightVNc) server fails for me without any log info or debug info
whatever.  Makes it hard to see how to debug the problem.

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



[gentoo-user] Re: What is the gimmick to run tightvnc from windows to gentoo

2008-07-19 Thread Harry Putnam
David Blamire-Brown [EMAIL PROTECTED] writes:

 I did this a while back and I got it working by tunnelling via SSH
 (using putty on windows).  But I can't remember the exact details
 off the top of my head. It may be worth googling that set-up. I seem
 to remember thinking it felt like a kludge and I can't quite
 remember why I ended up doing it, but I do remember that it worked.

Well at least that sounds promising.  I did see mention of that in
some of my google searches but I wondered, If I had to use ssh, why
wouldn't I just pull the X session on linux across with ssh alone.
And forget about VNC.

I think I've heard that can be doneI think I may have even done it
sometime way back, but VNC is so easy the other direction it seems it
should be just as easy connecting windows vnc client to gentoo vnc
server.

For some reason the vnc server appears not to have any debug or
verbose switches. But not sure even if it did, since it appears the
connection is simply rejected, if that would help.

I'd like to see some log info as to why the connection is rejected.

I have sysklogd setup to report everything (*.* in syslog.conf) to a
/var/log/debug file so tailing that while I attempt the connection I'm
not seeing any evidence a connection is being rejected or even seen.

Seems there should be some way to see what is happening maybe from the
windows side but again no log info is being generated.

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



Re: [gentoo-user] dev-python/setuptools conflict when running python-updater

2008-07-19 Thread Allan Gottlieb
At Sat, 19 Jul 2008 09:00:04 +0200 Sebastian Günther [EMAIL PROTECTED] wrote:

 * Walter Dnes ([EMAIL PROTECTED]) [19.07.08 03:20]:
   I did some updates today.  emerge --sync and updated world on my
 production machine.  Things went OK, including running python-updater.
 Then I scp'd the contents of /usr/portage/distfiles over to my hot
 backup machine, ran emerge --sync (pointing at my production machine)
 and updated.  Just like on the main machine, /var/log/portage/elog had
 an advisory to run python-updater.  This time, it didn't work...
 
 Just make an 
 # emerge -1 setuptools
 and python-updater will run smoothly

 If you are using gnome, also
 # emerge -1 gnome-doc-utils

 I hit the same bugs yesterday.

 The second one is because python-updater seems to miss it and you would 
 get a snadbox violation.

How nice to receive a *pro*active fix.  I read your mail while my
python-updater was running.  It then failed just as walter's and yours
did.
I applied your fix and ...
... voila, all is well.

Thanks,
allan
--
gentoo-user@lists.gentoo.org mailing list



[gentoo-user] Re: Firefox is currently in offline mode and can't browse the Web

2008-07-19 Thread Miernik
Alan McKinnon [EMAIL PROTECTED] wrote:
 This looks like a bug fixed in 3.0.1 - released just today

Installed it, and the problem is solved - thanks!

-- 
Miernik
http://miernik.name/

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



[gentoo-user] KVM mouse and keyboard recognition

2008-07-19 Thread Harry Putnam
KVM: Keyboard Video Mouse switch

Summary:
Runing a KVM switch between 4 machines, my gentoo desktop is not
recognizing the usb based keyboard and mouse connections thru the 
the KVM switch.

Details:

I've run a:

  Model: GCS-138
  8-Port Iomega MiniView Ultra KVM Switch (ps/2 based)

for at least 3 yrs and had no problems with gentoo recognizing mouse
and keyboard, along with several PCs running windows.  It was a ps/2
model of KVM.

That KVM switch gave up the ghost and I've replaced it with a newer
  model: Model: GCS-1774 4-Port Iomega miniview `Symphony' (usb2
  based)

The specialized cables merge 2 usb, 1 mic, 1 speaker wires with the vga
cable.

On my windows PCs I can plug the KVMs keyboard and mouse usb plugs
anywhere I have USB ports on the machine, but only the vga plugs into
the Iomega (disregarding the audio cables for now)

Then of course the monitors vga cable and a usb mouse and keyboard
must be plugged into the Iomega as well.

With that in place all windows PCs work thru the kvm switch but trying
the same connections on my gentoo desktop I get the vga signal but no
mouse or keyboard.

That was with the KVMs usb cables plugged into two built in usb ports
on the machine.  I even tried converting the ps/2 keyboard and mouse
ports on the machine to usb with adapters and plugging the KVM usb
cables into that but still no soap.

I don't know if I've ever really seen what keyboard or mouse
recognition looks like in dmesg but looking there I see nothing I
recognize as related to mouse or keyboard.

Maybe I have to do something special regarding USB recognition?

Anyone have an idea how I might debug this.  Or that can tell me what
I should be looking for in dmesg output?

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



Re: [gentoo-user] Trouble tweaking KDE package six

2008-07-19 Thread Patric Schmitz
On Thu, 17 Jul 2008 20:45:32 -0700
Kevin O'Gorman [EMAIL PROTECTED] wrote:
 
 It involves a new target in Makefile.am, but if I run a new 'automake'
 I get a Makefile.in which is _very_ different from the old one, and
 won't even compile the old target.  Most obviously, a bunch of *.moc
 targets are not generated.  The Makefile has some references to
 'automoc', but that does not seem to be an executable or package in
 Gentoo (but if I'm reading it right, it is a package in Ubuntu).

http://doc.trolltech.com/4.4/moc.html
seems to be Meta object compiler, a Qt thing. The ebuild
x11-libs/qt seems to provide /usr/bin/moc, haven't found automoc (as
an executable at least).

 I have a book on autotools, but have only used  them, not configured
 them.  I have a book on Qt (apropos of moc and automoc), but have
 never written Qt code.  My tweak is for a non-GUI alternative, so I
 was hoping that the GUI stuff would just keep working and not bother
 me.  KDE itself seems to be largely lacking in programming docs (or I
 just missed it), although there a a few short tutorials.

See above, http://doc.trolltech.com has tons of (professionally written
and maintained) documentation on Qt and everything around it.

 I'm not looking for answers (my questions may not yet be well-enough
 formulated for that), but pointers to resources.  Of course, if anyone
 has answers, or can guide me, that would be welcome too.

wikipedia Qt/moc:
http://en.wikipedia.org/wiki/Qt_%28toolkit%29#Meta_object_compiler

the famous autobook on autotools:
http://sources.redhat.com/autobook/

as well as the links above is all I have found just now. Hope this
helps.

Good Luck,
Patric.
-- 
gentoo-user@lists.gentoo.org mailing list



Re: [gentoo-user] Re: What is the gimmick to run tightvnc from windows to gentoo

2008-07-19 Thread Mick
On Saturday 19 July 2008, Harry Putnam wrote:

 However trying to connect with windows (tightVnc) client to Linux
 (tightVNc) server fails for me without any log info or debug info
 whatever.  Makes it hard to see how to debug the problem.

Have you checked the Linux firewall settings?

Have you set the allow/deny or whatever access settings Linux TightVNC has in 
place correctly for your client's IP address?
-- 
Regards,
Mick


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


[gentoo-user] Re: What *-sources for laptop

2008-07-19 Thread James
Neil Bothwick neil at digimed.co.uk writes:


 tuxonice-sources, which is gentoo-sources plus the tuxonice
 suspend/hibernate patches.


I read the default site: http://www.tuxonice.net. 

Interestingly, I found this dysfunctional url using 'eix tuxonice':

http://dev.gentoo.org/~dsd/genpatches http://www.tuxonice.net


Any other locations where one can read up on this tuxonice,
gentoo style offering? 


James





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



Re: [gentoo-user] Re: What *-sources for laptop

2008-07-19 Thread Neil Bothwick
On Sat, 19 Jul 2008 16:06:12 + (UTC), James wrote:

 Interestingly, I found this dysfunctional url using 'eix tuxonice':
 
 http://dev.gentoo.org/~dsd/genpatches http://www.tuxonice.net

Those are two quite functional URLs


-- 
Neil Bothwick

Never underestimate the bandwidth of a station wagon full of tapes!


signature.asc
Description: PGP signature


[gentoo-user] Re: What *-sources for laptop

2008-07-19 Thread James
Neil Bothwick neil at digimed.co.uk writes:


  http://dev.gentoo.org/~dsd/genpatches http://www.tuxonice.net

 Those are two quite functional URLs






Must have been some transient error. 
Now I find it. 
Thanks


James

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



Re: [gentoo-user] KVM mouse and keyboard recognition

2008-07-19 Thread Neil Walker

Harry Putnam wrote:

Maybe I have to do something special regarding USB recognition?
  


I have a similar device - a StarTech StarView SV831HD 8-port KVM. It 
supports both PS/2 and USB, depending on the cables used but both types 
terminate in just a VGA-type connector at the KVM end. I'm using the USB 
option and didn't have to do anything, it just worked. I do have USB HID 
support compiled into the kernel, though. Do you?


Be lucky,

Neil


--
This message has been scanned for viruses and
dangerous content by MailScanner, and is
believed to be clean.


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



Re: [gentoo-user] dev-python/setuptools conflict when running python-updater

2008-07-19 Thread Walter Dnes
On Sat, Jul 19, 2008 at 09:00:04AM +0200, Sebastian G?nther wrote

 Just make an 
 # emerge -1 setuptools
 and python-updater will run smoothly

  Thank you very much.  That fixed things up

-- 
Walter Dnes [EMAIL PROTECTED]
-- 
gentoo-user@lists.gentoo.org mailing list



[gentoo-user] Re: KVM mouse and keyboard recognition

2008-07-19 Thread Nikos Chantziaras

Harry Putnam wrote:

KVM: Keyboard Video Mouse switch

Summary:
Runing a KVM switch between 4 machines, my gentoo desktop is not
recognizing the usb based keyboard and mouse connections thru the 
the KVM switch.


Make sure you have USB Hid support compiled into the kernel (along with 
any other relevant options you see like USB Keyboard/Mouse support.


Also, see if the BIOS setup of your mainboard has a USB Keyboard 
support option and if enabling it/disabling it makes a difference.


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



[gentoo-user] Warning: locale not supported by Xlib, locale set to C

2008-07-19 Thread Miernik
I installed Gentoo recently, and have the following problem: In xterm I
cannot see non-ASCII chars, when I 'cat' a file with UTF-8 characters,
garbage comes out. In other applications (gnumeric, firefox), UTF-8
functions correctly. How to fix it?

When I start another XTerm from one XTerm, I see this message in the old
XTerm:

Warning: locale not supported by Xlib, locale set to C

Some diags:

[EMAIL PROTECTED] ~ $ locale
LANG=en_DK.UTF-8
LC_CTYPE=en_DK.UTF-8
LC_NUMERIC=en_DK.UTF-8
LC_TIME=en_DK.UTF-8
LC_COLLATE=en_DK.UTF-8
LC_MONETARY=en_DK.UTF-8
LC_MESSAGES=en_DK.UTF-8
LC_PAPER=en_DK.UTF-8
LC_NAME=en_DK.UTF-8
LC_ADDRESS=en_DK.UTF-8
LC_TELEPHONE=en_DK.UTF-8
LC_MEASUREMENT=en_DK.UTF-8
LC_IDENTIFICATION=en_DK.UTF-8
LC_ALL=
[EMAIL PROTECTED] ~ $ locale -a
C
en_DK.utf8
POSIX
[EMAIL PROTECTED] ~ $ cat /etc/env.d/02locale
LANG=en_DK.UTF-8
[EMAIL PROTECTED] ~ $ cat /etc/locale.gen | grep -v ^#
en_DK.UTF-8 UTF-8
[EMAIL PROTECTED] ~ $


I re-emerged xterm, x11-libs/libX11, glibc, but didn't help.

Any ideas?

-- 
Miernik
http://miernik.name/

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



Re: [gentoo-user] Re: What *-sources for laptop

2008-07-19 Thread dexter

James pisze:

Neil Bothwick neil at digimed.co.uk writes:


  

http://dev.gentoo.org/~dsd/genpatches http://www.tuxonice.net
  


  

Those are two quite functional URLs








Must have been some transient error. 
Now I find it. 
Thanks



James

  
Although these sources have some potential, I still am unable to boot 
into linux when running on battery, on AC everything works fine.

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



[gentoo-user] mount: special device /dev/hdc does not exist. What does this mean?

2008-07-19 Thread Alan Mackenzie
Hi, Gentoo?

I've a newly installed system, now working with my own special
optimiesed keyboard layout.  :-)

However, I can't access my DVD drives.  I know at least one of them
works, because I installed Gentoo from it.

When I do

   mount -tiso9660 /dev/hdc /cdrom

, it comes back with special device /dev/hdc does not exist.  And yes,
there was a CD in the drive, and /cdrom exists.

What does special device mean here?  Does it mean the physcial
hardware, the controller chip, the directory entry /dev/hdc, the driver
in the kernel, or what?  What is special about my DVD writer?

Well, to answer some of my questions, I was missing a /dev/hdc, so I
made one with

# mknod /dev/hdc b 22 0

.  This didn't help one iota.  I had a look at dmesg, but there was no
mention of hdc in it.  (It did mention hdg, hdh, where my main hard
drives are (don't ask!)).

My kernel is an up to date linux-2.6.25-gentoo-r6.  I _think_ it's got
all the needed options set in the configuration.  Can anybody suggest
how to get my system to recognise my DVD drives?

Thanks in advance!

-- 
Alan Mackenzie (Nuremberg, Germany).
-- 
gentoo-user@lists.gentoo.org mailing list



[gentoo-user] Re: mount: special device /dev/hdc does not exist. What does this mean?

2008-07-19 Thread Nikos Chantziaras

Alan Mackenzie wrote:

Hi, Gentoo?

I've a newly installed system, now working with my own special
optimiesed keyboard layout.  :-)

However, I can't access my DVD drives.  I know at least one of them
works, because I installed Gentoo from it.

When I do

   mount -tiso9660 /dev/hdc /cdrom

, it comes back with special device /dev/hdc does not exist.  And yes,
there was a CD in the drive, and /cdrom exists.

What does special device mean here?  Does it mean the physcial
hardware, the controller chip, the directory entry /dev/hdc, the driver
in the kernel, or what?  What is special about my DVD writer?


/dev/hdc (and other files in /dev) are not called files, they're 
called special devices).




Well, to answer some of my questions, I was missing a /dev/hdc, so I
made one with

# mknod /dev/hdc b 22 0

.  This didn't help one iota.  I had a look at dmesg, but there was no
mention of hdc in it.  (It did mention hdg, hdh, where my main hard
drives are (don't ask!)).


Use /dev/sdc instead of /dev/hdc.  The default in new kernels is to only 
use /dev/sd*.


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



[gentoo-user] Re: mount: special device /dev/hdc does not exist. What does this mean?

2008-07-19 Thread Miernik
Alan Mackenzie [EMAIL PROTECTED] wrote:
 # mknod /dev/hdc b 22 0
 
 This didn't help one iota.  I had a look at dmesg, but there was no
 mention of hdc in it.  (It did mention hdg, hdh, where my main hard
 drives are (don't ask!)).

Maybe there was some /dev/sda /dev/sdb or something similar?
Why do you assume your drive is under /dev/hdx and not /dev/sdx ?

-- 
Miernik
http://miernik.name/

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



Re: [gentoo-user] mount: special device /dev/hdc does not exist. What does this mean?

2008-07-19 Thread Daniel Pielmeier

Alan Mackenzie schrieb:

Hi, Gentoo?

I've a newly installed system, now working with my own special
optimiesed keyboard layout.  :-)

However, I can't access my DVD drives.  I know at least one of them
works, because I installed Gentoo from it.

When I do

   mount -tiso9660 /dev/hdc /cdrom

, it comes back with special device /dev/hdc does not exist.  And yes,
there was a CD in the drive, and /cdrom exists.


Do you mean

mount -t iso9660 /dev/hdc /cdrom


What does special device mean here?  Does it mean the physcial
hardware, the controller chip, the directory entry /dev/hdc, the driver
in the kernel, or what?  What is special about my DVD writer?


It means the directory entry /dev/hdc.


Well, to answer some of my questions, I was missing a /dev/hdc, so I
made one with

# mknod /dev/hdc b 22 0

.  This didn't help one iota.  I had a look at dmesg, but there was no
mention of hdc in it.  (It did mention hdg, hdh, where my main hard
drives are (don't ask!)).


Can't resist what is on hd{a-f}


My kernel is an up to date linux-2.6.25-gentoo-r6.  I _think_ it's got
all the needed options set in the configuration.  Can anybody suggest
how to get my system to recognise my DVD drives?

Thanks in advance!



What kind of DVD writer do you have maybe it is sata or scsi, and it 
wiil appear under /dev/srX or /dev/sgX. Or if you use the new libata 
library in the kernel even IDE devices are under /dev/srX or /dev/sgX.

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



[gentoo-user] Re: Curious ping problem with no FW

2008-07-19 Thread Miernik
Harry Putnam [EMAIL PROTECTED] wrote:
 What I'm asking for here is advice about where to start debugging
 this.

How about running tcpdump on your outgoing ethernet interface while
running ping?

-- 
Miernik
http://miernik.name/

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



[gentoo-user] Screen-saver annoyance after recent update

2008-07-19 Thread Walter Dnes
  I did an update yesterday that pulled in, amongst other things,
x11-drivers/xf86-video-ati-6.8.0-r1

  I'm running 32-bit linux on an Intel Prescott.  The video card is

02:00.0 VGA compatible controller: ATI Technologies Inc RV280 [Radeon 9200 PRO]
(rev 01) (prog-if 00 [VGA controller])
Subsystem: ATI Technologies Inc RV280 [Radeon 9200 PRO]
Flags: bus master, 66MHz, medium devsel, latency 64, IRQ 21
Memory at d000 (32-bit, prefetchable) [size=256M]
I/O ports at cc00 [size=256]
Memory at fdef (32-bit, non-prefetchable) [size=64K]
[virtual] Expansion ROM at fde0 [disabled] [size=128K]
Capabilities: [50] Power Management version 2

  I prefer to run usenet and email on a real textmode console, at 80
columns x 48 rows (YES; fourty-eight).  For web-browsing or spreadsheets,
I have to flip over to X.

  - if I walk away from the machine for several minutes *WHEN IT'S IN
TEXT CONSOLE MODE* and the screensaver kicks in, I can get the
screen back by hitting the shift key, or whatever.

  - if I walk away from the machine for several minutes *WHEN IT'S IN
X11 GUI MODE* and the screensaver kicks in, I *CANNOT* get the
screen back by hitting the shift key, or whatever.  Even hitting
{CTRL-ALT-F1} (back to the text console) doesn't allow me to get the
screen back by hitting a key.  I have to monkey around with the
buttons on my LCD monitor, essentially switching from the DVI input
to the VGA input, and back.  This is a pain.  Is there any way to
turn off this behaviour?

  Another thing I noticed is that X11 spits out a whole bunch of garbage
on the tty that invoked it.  I do not have TV or any other special video
stuff.  A 24 1920x1600 LCD is enough for me.  Here is a sample of the
output on the tty that invokes X11...
  

best_post_div: 2
restore memmap
restore common
restore crtc1
restore pll1
finished PLL1
restore FP
enable montype: 3
enable montype: 3
disable montype: 3
finished PLL2
finished PLL1
Entering Restore TV
Restore TV PLL
Restore TVHV
Restore TV Restarts
Restore Timing Tables
Restore TV standard
Leaving Restore TV
disable montype: 3
init memmap
init common
init crtc1
init pll1
freq: 15400
best_freq: 15400
best_feedback_div: 308
best_ref_div: 27
best_post_div: 2
restore memmap
restore common
restore crtc1
restore pll1
finished PLL1
restore FP
enable montype: 3
enable montype: 3
disable montype: 3
finished PLL2
finished PLL1
Entering Restore TV
Restore TV PLL
Restore TVHV
Restore TV Restarts
Restore Timing Tables
Restore TV standard
Leaving Restore TV


-- 
Walter Dnes [EMAIL PROTECTED]
-- 
gentoo-user@lists.gentoo.org mailing list



Re: [gentoo-user] Re: What *-sources for laptop

2008-07-19 Thread Sebastian Günther
* dexter ([EMAIL PROTECTED]) [19.07.08 20:44]:

 Although these sources have some potential, I still am unable to boot into 
 linux when running on battery, on AC everything works fine.

Strange problem... but I would think it to be more a hardware problem. 
Did you ever tried to use a gentoo-source-kernel and experienced teh 
same problem?

I have abolutely no problem with the tuxonice-sources. booting, 
suspending, resuming: everything on ac or battery, no problem.

Sebastian

-- 
  Religion ist das Opium des Volkes.   Karl Marx

 [EMAIL PROTECTED]@N GÜNTHER mailto:[EMAIL PROTECTED]


pgprBDLehrBeT.pgp
Description: PGP signature


Re: [gentoo-user] Screen-saver annoyance after recent update

2008-07-19 Thread Volker Armin Hemmann
How about: not using screensavers at all?

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



Re: [gentoo-user] Warning: locale not supported by Xlib, locale set to C

2008-07-19 Thread Dirk Heinrichs
Am Samstag, 19. Juli 2008 schrieb Miernik:

 Warning: locale not supported by Xlib, locale set to C

 Some diags:

 [EMAIL PROTECTED] ~ $ locale
 LANG=en_DK.UTF-8
 [EMAIL PROTECTED] ~ $ locale -a
 en_DK.utf8

And you don't see the difference?

Bye...

Dirk


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


Re: [gentoo-user] Screen-saver annoyance after recent update

2008-07-19 Thread Walter Dnes
On Sat, Jul 19, 2008 at 10:08:03PM +0200, Volker Armin Hemmann wrote
 How about: not using screensavers at all?

  Now for a stupid-sounding question... what is the screensaver called?
A ps -ef doesn't show any process with screen in the name.  Man x
and man xorg don't help.  I'm running blackbox, so I don't have a
gazillion settings widgets (nothing helpful in man blackbox).  How can I
find what program is blanking the screen?  Once I do that, I can either
set parameters or disable it.

-- 
Walter Dnes [EMAIL PROTECTED]



Re: [gentoo-user] Re: mount: special device /dev/hdc does not exist. What does this mean?

2008-07-19 Thread Alan Mackenzie
Hi, Nikos,

On Sat, Jul 19, 2008 at 10:06:15PM +0300, Nikos Chantziaras wrote:
 Alan Mackenzie wrote:

 However, I can't access my DVD drives.  I know at least one of them
 works, because I installed Gentoo from it.

 When I do

mount -tiso9660 /dev/hdc /cdrom

 , it comes back with special device /dev/hdc does not exist.  And yes,
 there was a CD in the drive, and /cdrom exists.

 What does special device mean here?  Does it mean the physcial
 hardware, the controller chip, the directory entry /dev/hdc, the driver
 in the kernel, or what?  What is special about my DVD writer?

 /dev/hdc (and other files in /dev) are not called files, they're 
 called special devices).

Ah!  I really wish they weren't.  Didn't they used to be called device
files?

 Well, to answer some of my questions, I was missing a /dev/hdc, so I
 made one with

 # mknod /dev/hdc b 22 0

 .  This didn't help one iota.  I had a look at dmesg, but there was no
 mention of hdc in it.  (It did mention hdg, hdh, where my main hard
 drives are (don't ask!)).

 Use /dev/sdc instead of /dev/hdc.

I booted up in to the kernel, did # ls /dev/sd*, and the only things
displayed were /dev/sda and /dev/sda1.  That is the place where my USB
stick gets mounted.

 The default in new kernels is to only use /dev/sd*.

I'm totally confused.  Doesn't sd* mean SCSI disk drive?  When I was
installing Gentoo from the CD, I had to mount my main hard drive as
/dev/sdb5.  When I built my own kernel, it needed /dev/hdh5.

This seems crazy.  Is it documented anywhere in Gentoo?

-- 
Alan Mackenzie (Nuremberg, Germany).



Re: [gentoo-user] Re: mount: special device /dev/hdc does not exist. What does this mean?

2008-07-19 Thread Alan Mackenzie
Hi, Miernik,

On Sat, Jul 19, 2008 at 09:13:09PM +0200, Miernik wrote:
 Alan Mackenzie [EMAIL PROTECTED] wrote:
  # mknod /dev/hdc b 22 0

  This didn't help one iota.  I had a look at dmesg, but there was no
  mention of hdc in it.  (It did mention hdg, hdh, where my main hard
  drives are (don't ask!)).

 Maybe there was some /dev/sda /dev/sdb or something similar?

There's /dev/sda and /dev/sda1, and no other /dev/sd*.  That's where my
UBS stick gets mounted.

 Why do you assume your drive is under /dev/hdx and not /dev/sdx ?

Er, because it's an IDE drive, and on my old Debian system it appears at
/dev/hdc.  My HDD is at /dev/hdh on both old Debian and new Gentoo.

When I do an lspci -v, on my Gentoo system, this shows up for hd[cd]:

00:07.1 IDE interface: VIA Technologies, Inc. 
VT82C586A/B/VT82C686/A/B/VT823x/A/C PIPC Bus Master IDE (rev 06) (prog-if 8a 
[Master SecP PriP])
Subsystem: VIA Technologies, Inc. 
VT82C586/B/VT82C686/A/B/VT8233/A/C/VT8235 PIPC Bus Master IDE
Flags: bus master, medium devsel, latency 32
[virtual] Memory at 01f0 (32-bit, non-prefetchable) [size=8]
[virtual] Memory at 03f0 (type 3, non-prefetchable) [size=1]
[virtual] Memory at 0170 (32-bit, non-prefetchable) [size=8]
[virtual] Memory at 0370 (type 3, non-prefetchable) [size=1]
I/O ports at a400 [size=16]
Capabilities: [c0] Power Management version 2

This suggests that the IDE controller has been initialised properly, but
the kernel has ignored it.

 -- 
 Miernik
 http://miernik.name/

-- 
Alan Mackenzie (Nuremberg, Germany)



[gentoo-user] Re: mount: special device /dev/hdc does not exist. What does this mean?

2008-07-19 Thread Nikos Chantziaras

Alan Mackenzie wrote:

The default in new kernels is to only use /dev/sd*.


I'm totally confused.  Doesn't sd* mean SCSI disk drive?  When I was
installing Gentoo from the CD, I had to mount my main hard drive as
/dev/sdb5.  When I built my own kernel, it needed /dev/hdh5.

This seems crazy.  Is it documented anywhere in Gentoo?


Not sure.  But if you have /dev/hd* instead of /dev/sd*, it means you 
configured your kernel with the legacy IDE drivers instead of the new 
(P)ATA drivers.  The new drivers use /dev/sd* (for IDE/PATA/SATA and 
SCSI alike; there's no difference anymore.)


The CD/DVD-ROM can show up as /dev/sd* even with the old legacy drivers 
if you have enable SCSI Emulation for it.


In any event, try to build a new kernel using the new drivers.  The old 
legacy driver you're using will probably get declared deprecated at 
some point (if it didn't happen already).


To enable the new drivers, first disable the legacy drivers.  (Device 
Drivers section):


  ATA/ATAPI/MFM/RLL support  ---

Now enable the new drivers:

   * Serial ATA (prod) and Parallel ATA (experimental) drivers  ---

Enter that section and pick your chipset.  Don't enable the:

   Generic ATA support

unless you can't find a native driver for your chipset (I doubt you have 
some extremely rare/exotic mainboard ;)





Re: [gentoo-user] Re: mount: special device /dev/hdc does not exist. What does this mean?

2008-07-19 Thread Graham Murray
Alan Mackenzie [EMAIL PROTECTED] writes:

 There's /dev/sda and /dev/sda1, and no other /dev/sd*.  That's where my
 UBS stick gets mounted.

What about any /dev/sr*?



Re: [gentoo-user] Screen-saver annoyance after recent update

2008-07-19 Thread Jan Seeger
I guess that X is blanking the screen (I have a similar problem with
blanking). So the correct location to look would be /etc/X11/xorg.conf

Regards,
Jan Seeger
--
Four bits at a time
www.thenybble.de



Re: [gentoo-user] mount: special device /dev/hdc does not exist. What does this mean?

2008-07-19 Thread Alan Mackenzie
Hi, Daniel

On Sat, Jul 19, 2008 at 09:11:09PM +0200, Daniel Pielmeier wrote:
 Alan Mackenzie schrieb:
 Hi, Gentoo?

 I've a newly installed system, now working with my own special
 optimiesed keyboard layout.  :-)

 However, I can't access my DVD drives.  I know at least one of them
 works, because I installed Gentoo from it.

 When I do

mount -tiso9660 /dev/hdc /cdrom

 , it comes back with special device /dev/hdc does not exist.  And yes,
 there was a CD in the drive, and /cdrom exists.

 Do you mean

 mount -t iso9660 /dev/hdc /cdrom

Maybe.  Is that different?

 What does special device mean here?  Does it mean the physcial
 hardware, the controller chip, the directory entry /dev/hdc, the driver
 in the kernel, or what?  What is special about my DVD writer?

 It means the directory entry /dev/hdc.

OK.

 Well, to answer some of my questions, I was missing a /dev/hdc, so I
 made one with

 # mknod /dev/hdc b 22 0

 .  This didn't help one iota.  I had a look at dmesg, but there was no
 mention of hdc in it.  (It did mention hdg, hdh, where my main hard
 drives are (don't ask!)).

 Can't resist what is on hd{a-f}

Nothing on hd[abef], a DVD writer on hdc and a DVD reader on hdd.  My PC
was built in 2001, and the 2 onboard IDE ports are ordinary IDE,
whereas the two IDE ports stuck on the side do UDMA66.

 My kernel is an up to date linux-2.6.25-gentoo-r6.  I _think_ it's got
 all the needed options set in the configuration.  Can anybody suggest
 how to get my system to recognise my DVD drives?

 Thanks in advance!


 What kind of DVD writer do you have maybe it is sata or scsi, and it 
 wiil appear under /dev/srX or /dev/sgX. Or if you use the new libata 
 library in the kernel even IDE devices are under /dev/srX or /dev/sgX.

No, the box is no longer young, and contains no SATA or SCSI bits at all.
I'm just going away to see if I've got any /dev/s[gr]X on the box. 

No, I've got no /dev/s[gr]X at all.

Could it be that the kernel has looked at hd[ab], found nothing there,
and therefore decided it's not worth the bother even looking at
hd[cd]?

-- 
Alan Mackenzie (Nuremberg, Germany).



Re: [gentoo-user] mount: special device /dev/hdc does not exist. What does this mean?

2008-07-19 Thread Daniel Pielmeier

Alan Mackenzie schrieb:

When I do



  mount -tiso9660 /dev/hdc /cdrom



, it comes back with special device /dev/hdc does not exist.  And yes,
there was a CD in the drive, and /cdrom exists.



Do you mean



mount -t iso9660 /dev/hdc /cdrom


Maybe.  Is that different?



Yeah, there is a space between -t and iso9660 :-)



What kind of DVD writer do you have maybe it is sata or scsi, and it 
wiil appear under /dev/srX or /dev/sgX. Or if you use the new libata 
library in the kernel even IDE devices are under /dev/srX or /dev/sgX.


No, the box is no longer young, and contains no SATA or SCSI bits at all.
I'm just going away to see if I've got any /dev/s[gr]X on the box. 

No, I've got no /dev/s[gr]X at all.

Could it be that the kernel has looked at hd[ab], found nothing there,
and therefore decided it's not worth the bother even looking at
hd[cd]?



Hmm, maybe the output of `dmesg`, `lspci -v` and `ls -al /dev` could be 
helpful. Probably also your kernel configuration.




Re: [gentoo-user] Screen-saver annoyance after recent update

2008-07-19 Thread Volker Armin Hemmann
On Samstag, 19. Juli 2008, Walter Dnes wrote:
 On Sat, Jul 19, 2008 at 10:08:03PM +0200, Volker Armin Hemmann wrote

  How about: not using screensavers at all?

   Now for a stupid-sounding question... what is the screensaver called?
 A ps -ef doesn't show any process with screen in the name.  Man x
 and man xorg don't help.  I'm running blackbox, so I don't have a
 gazillion settings widgets (nothing helpful in man blackbox).  How can I
 find what program is blanking the screen?  Once I do that, I can either
 set parameters or disable it.

so you are not using a screensaver but dpms screen blanking?

xset --help

will answer your question.




[gentoo-user] Ethernet Bridging

2008-07-19 Thread Jason Carson
I am following this guide to setup my wireless access point.

http://gentoo-wiki.com/Wireless/Access_point#Bridging_the_wired_.26_wireless_segments

I have my network up and running with WPA.

When I configured my kernel to use bridging (compiled into the kernel, not
as a module) and rebooted I got a kernel panic, It was a whole screen full
of stuff.

Here is some of it I manually typed out...

Oops: 0002 [#1]
Modules linked in: wlan_scan_ap ath_rate_sample ath_pci wlan ath_hal(P)
Pid: 4033, comm:runscript.sh Tainted: P (2.6.24.7 #3)
EIP: 0060: stuff
EIP is at ieee80211_add country+0x8f/0xd0 [wlan]
Stack: Bunch of numbers
Call Trace: bunch of stuff
Code: numbers and letters.
kernel panic - not syncing: Fatal exception in interrupt.

Anyone know what to do?




Re: [gentoo-user] Screen-saver annoyance after recent update

2008-07-19 Thread Mick
On Saturday 19 July 2008, Volker Armin Hemmann wrote:
 On Samstag, 19. Juli 2008, Walter Dnes wrote:
  On Sat, Jul 19, 2008 at 10:08:03PM +0200, Volker Armin Hemmann wrote
 
   How about: not using screensavers at all?
 
Now for a stupid-sounding question... what is the screensaver called?
  A ps -ef doesn't show any process with screen in the name.  Man x
  and man xorg don't help.  I'm running blackbox, so I don't have a
  gazillion settings widgets (nothing helpful in man blackbox).  How can I
  find what program is blanking the screen?  Once I do that, I can either
  set parameters or disable it.

 so you are not using a screensaver but dpms screen blanking?

 xset --help

 will answer your question.

In your xorg.conf check the setting for: 

Option SuspendTime 10

under ServerLayout.  If you set it to 0 I think that it will not suspend 
anymore.  Also you could set it with xset (look at the dpms settings) as said 
above.

Pressing the Alt button should however get you out of it.

If you are running xscreensaver then the PID could be found by greping for 
xscreensaver.

HTH.
-- 
Regards,
Mick


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


Re: [gentoo-user] Ethernet Bridging

2008-07-19 Thread Jason Carson
 I am following this guide to setup my wireless access point.

 http://gentoo-wiki.com/Wireless/Access_point#Bridging_the_wired_.26_wireless_segments

 I have my network up and running with WPA.

 When I configured my kernel to use bridging (compiled into the kernel, not
 as a module) and rebooted I got a kernel panic, It was a whole screen full
 of stuff.

 Here is some of it I manually typed out...

 Oops: 0002 [#1]
 Modules linked in: wlan_scan_ap ath_rate_sample ath_pci wlan ath_hal(P)
 Pid: 4033, comm:runscript.sh Tainted: P (2.6.24.7 #3)
 EIP: 0060: stuff
 EIP is at ieee80211_add country+0x8f/0xd0 [wlan]
 Stack: Bunch of numbers
 Call Trace: bunch of stuff
 Code: numbers and letters.
 kernel panic - not syncing: Fatal exception in interrupt.

 Anyone know what to do?

This kernel panic happened while loading ath0 on startup.





Re: [gentoo-user] Screen-saver annoyance after recent update

2008-07-19 Thread Volker Armin Hemmann
On Sonntag, 20. Juli 2008, Mick wrote:
 On Saturday 19 July 2008, Volker Armin Hemmann wrote:
  On Samstag, 19. Juli 2008, Walter Dnes wrote:
   On Sat, Jul 19, 2008 at 10:08:03PM +0200, Volker Armin Hemmann wrote
  
How about: not using screensavers at all?
  
 Now for a stupid-sounding question... what is the screensaver called?
   A ps -ef doesn't show any process with screen in the name.  Man x
   and man xorg don't help.  I'm running blackbox, so I don't have a
   gazillion settings widgets (nothing helpful in man blackbox).  How can
   I find what program is blanking the screen?  Once I do that, I can
   either set parameters or disable it.
 
  so you are not using a screensaver but dpms screen blanking?
 
  xset --help
 
  will answer your question.

 In your xorg.conf check the setting for:

 Option SuspendTime 10

you don't need to edit xorg.conf

you can set all that stuff via xset (or kcontrol).




[gentoo-user] Re: KVM mouse and keyboard recognition

2008-07-19 Thread Harry Putnam
Neil Walker [EMAIL PROTECTED] writes:

 Harry Putnam wrote:
 Maybe I have to do something special regarding USB recognition?
   

 I have a similar device - a StarTech StarView SV831HD 8-port KVM. It
 supports both PS/2 and USB, depending on the cables used but both
 types terminate in just a VGA-type connector at the KVM end. I'm using
 the USB option and didn't have to do anything, it just worked. I do
 have USB HID support compiled into the kernel, though. Do you?

No.  I did not.  I guess I haven't had need of it until now.
However compiling that in desn't seem to have helped (see below)

Nikos Chantziaras [EMAIL PROTECTED] writes:

 Harry Putnam wrote:
 KVM: Keyboard Video Mouse switch

 Summary:
 Runing a KVM switch between 4 machines, my gentoo desktop is not
 recognizing the usb based keyboard and mouse connections thru
 the the KVM switch.

 Make sure you have USB Hid support compiled into the kernel (along
 with any other relevant options you see like USB Keyboard/Mouse
 support.

That was not compiled in no, but I have now done so but seemingly it
has not helped.

Current .config shows:

grep HID /usr/src/linux-2.6.25-r6/.config

CONFIG_HID_SUPPORT=y
CONFIG_HID=y
CONFIG_HID_DEBUG=y
CONFIG_HIDRAW=y
CONFIG_USB_HID=y
# CONFIG_USB_HIDINPUT_POWERBOOK is not set
CONFIG_USB_HIDDEV=y
# CONFIG_USB_PHIDGET is not set

After make modules_install and moving the new kernel to /boot; upon
reboot I see no difference.   Once I get the console prompt I have no
mouse or keyboard

 Also, see if the BIOS setup of your mainboard has a USB Keyboard
 support option and if enabling it/disabling it makes a difference.

Hooking the usb keyboard direct to the machines USB ports allows it to
work so that must be set.

Since that is the case it would appear then that the problem is in the
KVM switch.

I just realized I'd left the usb to ps/2 adapters in place from when I
tried that to see if it would help.  

I hooking the KVM usb cables to actual USB ports again now and
rebooting.  Maybe it will be ok... I'll know soon.




[gentoo-user] GtkMozEmbed error

2008-07-19 Thread Grant
I'm really struggling with the error I get when trying to compile miro
via the bugs.gentoo.org ebuild.  It used to work but something
happened a while ago that prevents it from compiling now.  I've tried
quite a few things to fix it.  Does this tell anybody anything?

/usr/include/xulrunner-1.9/unstable/gtkmozembed.h:63:1: warning: this
is the location of the previous definition
/var/tmp/portage/media-tv/miro-1.2.3/work/Miro-1.2.3/platform/gtk-x11/platform/frontends/html/MozillaBrowser.c:
In function 'void log_warning(char*)':
/var/tmp/portage/media-tv/miro-1.2.3/work/Miro-1.2.3/platform/gtk-x11/platform/frontends/html/MozillaBrowser.c:246:
error: invalid conversion from 'long int' to 'PyGILState_STATE'
/var/tmp/portage/media-tv/miro-1.2.3/work/Miro-1.2.3/platform/gtk-x11/platform/frontends/html/MozillaBrowser.c:
In function 'gint
__pyx_f_8platform_9frontends_4html_14MozillaBrowser_new_window_cb(GtkMozEmbed*,
GtkMozEmbed**, guint, PyObject*)':
/var/tmp/portage/media-tv/miro-1.2.3/work/Miro-1.2.3/platform/gtk-x11/platform/frontends/html/MozillaBrowser.c:1435:
error: cannot convert 'GtkWidget*' to 'GtkMozEmbed*' in assignment
/var/tmp/portage/media-tv/miro-1.2.3/work/Miro-1.2.3/platform/gtk-x11/platform/frontends/html/MozillaBrowser.c:1438:
error: cannot convert 'GtkWidget*' to 'GtkContainer*' for argument '1'
to 'void gtk_container_add(GtkContainer*, GtkWidget*)'
error: command 'x86_64-pc-linux-gnu-g++' failed with exit status 1

- Grant



[gentoo-user] Re: KVM mouse and keyboard recognition

2008-07-19 Thread Harry Putnam
Harry Putnam [EMAIL PROTECTED] writes:

 I just realized I'd left the usb to ps/2 adapters in place from when I
 tried that to see if it would help.  

 I hooking the KVM usb cables to actual USB ports again now and
 rebooting.  Maybe it will be ok... I'll know soon.

Ahh didn't need the reboot even.  So the HID stuff was the problem.
Thanks to both of you for your fine help.




Re: [gentoo-user] Re: KVM mouse and keyboard recognition

2008-07-19 Thread Matt Harrison

-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Harry Putnam wrote:
| Neil Walker [EMAIL PROTECTED] writes:
|
| Harry Putnam wrote:
| Maybe I have to do something special regarding USB recognition?
|
| I have a similar device - a StarTech StarView SV831HD 8-port KVM. It
| supports both PS/2 and USB, depending on the cables used but both
| types terminate in just a VGA-type connector at the KVM end. I'm using
| the USB option and didn't have to do anything, it just worked. I do
| have USB HID support compiled into the kernel, though. Do you?
|
| No.  I did not.  I guess I haven't had need of it until now.
| However compiling that in desn't seem to have helped (see below)
|
| Nikos Chantziaras [EMAIL PROTECTED] writes:
|
| Harry Putnam wrote:
| KVM: Keyboard Video Mouse switch
|
| Summary:
| Runing a KVM switch between 4 machines, my gentoo desktop is not
| recognizing the usb based keyboard and mouse connections thru
| the the KVM switch.
| Make sure you have USB Hid support compiled into the kernel (along
| with any other relevant options you see like USB Keyboard/Mouse
| support.
|
| That was not compiled in no, but I have now done so but seemingly it
| has not helped.
|
| Current .config shows:
|
| grep HID /usr/src/linux-2.6.25-r6/.config
|
| CONFIG_HID_SUPPORT=y
| CONFIG_HID=y
| CONFIG_HID_DEBUG=y
| CONFIG_HIDRAW=y
| CONFIG_USB_HID=y
| # CONFIG_USB_HIDINPUT_POWERBOOK is not set
| CONFIG_USB_HIDDEV=y
| # CONFIG_USB_PHIDGET is not set
|
| After make modules_install and moving the new kernel to /boot; upon
| reboot I see no difference.   Once I get the console prompt I have no
| mouse or keyboard

If you have only done make modules_install and not make and/or make
modules you will see no effect i think. It looks like you've configured
USB support to be compiled in directly so compiling modules won't do you
any good.

HTH
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.9 (MingW32)

iEYEARECAAYFAkiCo/UACgkQxNZfa+YAUWF1XwCcDL23ETSt5bmlo7Fj+OMd8Z/K
sg4AoMAzlNm6yBa5J5cNOXTOsfuFdBuL
=SXrX
-END PGP SIGNATURE-

No virus found in this outgoing message.
Checked by AVG - http://www.avg.com 
Version: 8.0.138 / Virus Database: 270.5.2/1561 - Release Date: 18/07/2008 18:35






[gentoo-user] Strange grub problem

2008-07-19 Thread Ivan Alden
Hi,

My laptop ran out of battery and shut off while I was using it and it
seems to have done some damage to the bootloader. When I reboot I can't
see the grub splashscreen any more but if I press enter I does boot into
my kernel. As the computer is booting the output looks all messed up
(but you can make that its initializing devices) until it reaches around
the networking devices which then corrects and works properly.

I've tried reconfiguring grub with
root (hd0,0)
setup (hd0)

Does anybody have any suggestions of how to fix this?

Thanks.




Re: [gentoo-user] Evolution Doesn't Filter Incoming Mail

2008-07-19 Thread Iain Buchanan
On Wed, 2008-07-16 at 16:27 +0100, Richard wrote:
 Dear all,
 
 I use Evolution as my mail client. I receive Gentoo mailing list email
 at my GMail address, and access this email in Evolution over IMAP.
 
 I want Gentoo mailing list messages to go into a Gentoo mailing list
 folder in Evolution, and so I've setup an incoming mail filter to take
 all mail with a sender or recipient address matching '@lists.gentoo.org'
 and move it to my Gentoo mailing list folder.
 
 Despite ticking the 'Apply filters to new messages in INBOX on this
 server' check-box in the Evolution Account Editor, I have to highlight
 new email and click 'Apply Filters' in Evolution's 'Message' menu so
 that Evolution will actually move them to the desired folder.
 
 Can anyone help with this?

Yes and no!  I can explain why, but I don't know the workaround. - there
are various bits of info set on each email in IMAP folders (eg,
unread, replied to, important, etc) and there's one (forget the
name) lets say accessed.  MUA's use this accessed bit to decide
whether or not to do processing, such as filtering, on each email.
Evolution would filter a message and then set accessed.  It does this
so that next time, it doesn't filter it again (I presume).  It is
typical for IMAP servers that do their own filtering to set this
accessed bit on each message also, even if it stays in the inbox.  (I
don't know if there's a gmail setting for this type of thing).

The same happens on my cyrus IMAP server, because I have sieve rules
going through my mails on the server-side.  Therefore evolution sees the
messages as already accessed, and doesn't touch it (unless you
specifically say filter).

I've put this together from bits and pieces of experience, so it's
probably not technically correct, but I hope you get the general idea :)

cya,
-- 
Iain Buchanan iaindb at netspace dot net dot au

It is easier to fight for principles than to live up to them.
-- Alfred Adler