Re: [gentoo-user] Re: Emerge Eclipse fails

2008-07-22 Thread Neil Bothwick
On Tue, 22 Jul 2008 12:04:57 +0530, Suma Sharma wrote:

> Is all of this because of my outdated portage?

Yes, update portage first. The version you have is no longer in the tree.

If these are ~arch ebuilds that are failing, you may need to switch to a
~arch portage.


-- 
Neil Bothwick

Yeah, but you're taking the universe out of context!


signature.asc
Description: PGP signature


Re: [gentoo-user] media-video/totem-2.20.3 Access violation

2008-07-22 Thread Markus Schönhaber
Ivan Alden wrote:

> Thanks Markus for your help. I still get the error though =(

Then I'm out of ideas. Re-emerging gnome-doc-utils solved the sandbox
violation wrt /usr/share/xml2po/docbook.pyc for me - it happened when
emerging epiphany, not totem, though.
Moreover: re-emerging gnome-doc-utils is what is suggested as a
workaround in the bug reports I've looked at (search for
/usr/share/xml2po/docbook.pyc in the comments field on BGO, for example).

Regards
  mks



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

2008-07-22 Thread Harry Putnam
Josh Cepek <[EMAIL PROTECTED]> writes:

> Harry Putnam wrote:
>> 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.
>
> Session persistence. [1] With VNC I can create a full desktop session
> (I use Fluxbox because it's lightweight) and connect to it as needed
> from any system with network access. This is great for my IM app. I
> lock my firewall rules down to allow VNC only from localhost and ssh
> tunnel all my connections (even on the LAN) because VNC's auth scheme
> is dreadfully insecure.

[...]

Thanks for the tips... it turned out to be nothting worse than needing
to add the display number to the connect attempt like: host:display

I had only been putting the host name since that is how I connect
between windows machines or from linux to windows

I had expected to be able to connect to the running X desktop but
apparently that isn't going to happen.  In other words I cannot view
the running desktop from a remote machine but am forced to view a new
or different desktop where none of the things I have running on :0 are
available. 




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

2008-07-22 Thread Harry Putnam
Mick <[EMAIL PROTECTED]> writes:

> On Monday 14 July 2008, Harry Putnam wrote:
>> I've had a problem with being able to ping out to the internet from my
>> gentoo box, while at the same time I'm able to ping outbound from
>> several windows boxes on same home lan.
>>
>> I don't run a firewall at all from linux but do have a Netgear
>> switch/router/Firewall upstream between me and the internet cable
>> modem.
> [snip..]
>
>> My router/fw can be set to deny specific machines outbound traffic but
>> that is not done in this case.  So the solution must reside somewhere
>> in my gentoo install.
>
> It may be worth checking your router's firewall rules once more.  Is the 
> gentoo box connected to the router in the same fashion as the MSWindows 
> boxen, or is it in some funny DMZ set up?

The section involving blocking has nothing whatever set.

> What do the firewall logs show?

Since there is nothing outgoing set to log, it says nothing.

>> What things should I be checking.
>
> If as you say you have no firewall on the Gentoo box then you ought to have a 
> quick look at your kernel.  Use sysclt:
>
> /sbin/sysctl -a

Here I see:
  sysctl -a|grep 'net.*icmp'

  net.ipv4.icmp_echo_ignore_all = 0
  net.ipv4.icmp_echo_ignore_broadcasts = 1
  net.ipv4.icmp_ignore_bogus_error_responses = 1
  net.ipv4.icmp_errors_use_inbound_ifaddr = 0
  net.ipv4.icmp_ratelimit = 250
  net.ipv4.icmp_ratemask = 6168

But not sure what any of it means.  The first line looks kind of
ominous though.

>> A ping attempt like this:
>>
>>   ping ftp.ucsb.edu
>>   PING ftp.ucsb.edu (128.111.24.43) 56(84) bytes of data.
>>
>> Just never moves any further, but you can see it has resolved the
>> alpha address to numeric forum so must have contacted and received
>> info from the nameserver.
>
> Or from your router if it acts as a caching DNS resolver?

I don't think so, at least there is no mention in the documentation of
such a feature.





[gentoo-user] Java configuration is hosed

2008-07-22 Thread Kevin O'Gorman
I cannot emerge the latest xulrunner, but the root cause appears to be
my Java configuration.  I haven't touched it in ages, so I have no
idea how this happened.

The evidence:
treat ~ # eselect java-vm list
Available Java Virtual Machines:
  [1]   sun-jdk-1.4
  [2]   sun-jdk-1.6  system-vm
treat ~ #

So far so good, but
treat ~ # java-config --list-available-vms
Traceback (most recent call last):
  File "/usr/bin/java-config-2", line 8, in 
from java_config_2 import __version__
ImportError: No module named java_config_2
treat ~ #

Which seems to mean there should be a file /usr/bin/java-config-2, but
there is not.
Where should it come from?


-- 
Kevin O'Gorman, PhD



Re: [gentoo-user] Java configuration is hosed

2008-07-22 Thread Dale

Kevin O'Gorman wrote:

I cannot emerge the latest xulrunner, but the root cause appears to be
my Java configuration.  I haven't touched it in ages, so I have no
idea how this happened.

The evidence:
treat ~ # eselect java-vm list
Available Java Virtual Machines:
  [1]   sun-jdk-1.4
  [2]   sun-jdk-1.6  system-vm
treat ~ #

So far so good, but
treat ~ # java-config --list-available-vms
Traceback (most recent call last):
  File "/usr/bin/java-config-2", line 8, in 
from java_config_2 import __version__
ImportError: No module named java_config_2
treat ~ #

Which seems to mean there should be a file /usr/bin/java-config-2, but
there is not.
Where should it come from?


  


This help?

[EMAIL PROTECTED] / # equery belongs /usr/bin/java-config-2
[ Searching for file(s) /usr/bin/java-config-2 in *... ]
dev-java/java-config-2.1.6 (/usr/bin/java-config-2)
[EMAIL PROTECTED] / #

Dale

:-)  :-)



[gentoo-user] Xorg Draglock Button

2008-07-22 Thread sean

I am trying to get "DragLockButtons" to work in Xorg for my trackball.

I have been able to get it to function but it will only activate when 
the pointer is over the scroll bar.After this is done I can move the 
trackball in any direction.


Is this how it is supposed to work or can I get it to function by 
pressing the "DragLockButtons" anywhere in the frame?




Thanks
Sean



[gentoo-user] tetex USE flag with texlive install

2008-07-22 Thread Nikos Chantziaras
Should I use the "tetex" USE flag even if I have texlive instead of 
tetex installed?  There's no corresponding "texlive" USE flag.





Re: [gentoo-user] Java configuration is hosed

2008-07-22 Thread Dave Jones

Hi Kevin

Kevin O'Gorman wrote on 22/07/08 18:51:

I cannot emerge the latest xulrunner, but the root cause appears to be
my Java configuration.  I haven't touched it in ages, so I have no
idea how this happened.

The evidence:
treat ~ # eselect java-vm list
Available Java Virtual Machines:
  [1]   sun-jdk-1.4
  [2]   sun-jdk-1.6  system-vm
treat ~ #

So far so good, but
treat ~ # java-config --list-available-vms
Traceback (most recent call last):
  File "/usr/bin/java-config-2", line 8, in 
from java_config_2 import __version__
ImportError: No module named java_config_2
treat ~ #

Which seems to mean there should be a file /usr/bin/java-config-2, but
there is not.
Where should it come from?


I had the same problem yesterday, ran python-updater to fix it.

That did an awful lot of re-compiling (including OpenOffice), but it 
worked for me.


Cheers, Dave



Re: [gentoo-user] Java configuration is hosed

2008-07-22 Thread Kevin O'Gorman
On Tue, Jul 22, 2008 at 10:34 AM, Dave Jones <[EMAIL PROTECTED]> wrote:
> Hi Kevin
>
> Kevin O'Gorman wrote on 22/07/08 18:51:
>>
>> I cannot emerge the latest xulrunner, but the root cause appears to be
>> my Java configuration.  I haven't touched it in ages, so I have no
>> idea how this happened.
>>
>> The evidence:
>> treat ~ # eselect java-vm list
>> Available Java Virtual Machines:
>>  [1]   sun-jdk-1.4
>>  [2]   sun-jdk-1.6  system-vm
>> treat ~ #
>>
>> So far so good, but
>> treat ~ # java-config --list-available-vms
>> Traceback (most recent call last):
>>  File "/usr/bin/java-config-2", line 8, in 
>>from java_config_2 import __version__
>> ImportError: No module named java_config_2
>> treat ~ #
>>
>> Which seems to mean there should be a file /usr/bin/java-config-2, but
>> there is not.
>> Where should it come from?
>
> I had the same problem yesterday, ran python-updater to fix it.
>
> That did an awful lot of re-compiling (including OpenOffice), but it worked
> for me.

Yeah, thanks.  I tried running elogviewer to look for things like this
and that was broken too, but at least elogviewer was kind enough to
diagnose its own problem and suggest python-updater to fix it.  So
I've been running that for a few hours.

You mail at least gives me some hope that the fix is in...

-- 
Kevin O'Gorman, PhD



[gentoo-user] Changes in the way USB devices are mounted

2008-07-22 Thread Mick
Hi All,

I suspect that something changed recently on the way that USB devices are 
mounted.  I noticed that mounting a USB flash drive has stopped working as 
follows:
==
$ dmesg
[snip...]

usb 2-1: new full speed USB device using uhci_hcd and address 2
usb 2-1: configuration #1 chosen from 1 choice
scsi0 : SCSI emulation for USB Mass Storage devices
usb 2-1: New USB device found, idVendor=1516, idProduct=8628
usb 2-1: New USB device strings: Mfr=1, Product=2, SerialNumber=3
usb 2-1: Product: Gizmo! overdrive1492632974
usb 2-1: Manufacturer: Crucial
usb 2-1: SerialNumber: 1492632974
usb-storage: device found at 2
usb-storage: waiting for device to settle before scanning
scsi 0:0:0:0: Direct-Access Crucial  Gizmo! overdrive 1.00 PQ: 0 ANSI: 2
sd 0:0:0:0: [sda] 1997312 512-byte hardware sectors (1023 MB)
sd 0:0:0:0: [sda] Write Protect is off
sd 0:0:0:0: [sda] Mode Sense: 03 00 00 00
sd 0:0:0:0: [sda] Assuming drive cache: write through
sd 0:0:0:0: [sda] 1997312 512-byte hardware sectors (1023 MB)
sd 0:0:0:0: [sda] Write Protect is off
sd 0:0:0:0: [sda] Mode Sense: 03 00 00 00
sd 0:0:0:0: [sda] Assuming drive cache: write through
 sda: unknown partition table
sd 0:0:0:0: [sda] Attached SCSI removable disk
sd 0:0:0:0: Attached scsi generic sg0 type 0
usb-storage: device scan complete

$ pmount /dev/sda
Error: device /dev/sda is not removable
==

However, clicking on the device in Konqueror under media:/ mounts it happily 
under /media/disk.  Previously it would mount it under /media/sda and the 
pmount command would not error out as shown above.
==
$ mount
[snip...]
/dev/sda on /media/disk type vfat 
(rw,nosuid,nodev,noatime,flush,uid=1000,utf8,shortname=lower)
==

I also noticed that "shortname=lower" is set as the default, which is annoying 
because the file/folder names are forced to display in lower case.

I am using dbus and hald with a Fluxbox WM so the default KDE behaviour with 
the automounting pop up dialog does not work here (unless I have launched the 
full KDE DE).

Any ideas what has caused these changes?  Are they reversible/configurable?
-- 
Regards,
Mick


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


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

2008-07-22 Thread Eric Martin
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Harry Putnam wrote:
> Josh Cepek <[EMAIL PROTECTED]> writes:
> 
>> Harry Putnam wrote:
>>> 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.
>> Session persistence. [1] With VNC I can create a full desktop session
>> (I use Fluxbox because it's lightweight) and connect to it as needed
>> from any system with network access. This is great for my IM app. I
>> lock my firewall rules down to allow VNC only from localhost and ssh
>> tunnel all my connections (even on the LAN) because VNC's auth scheme
>> is dreadfully insecure.
> 
> [...]
>
> 
> I had expected to be able to connect to the running X desktop but
> apparently that isn't going to happen.  In other words I cannot view
> the running desktop from a remote machine but am forced to view a new
> or different desktop where none of the things I have running on :0 are
> available. 

I'm pretty sure x11vnc will do that.  I do know there's a vnc server
that will let you grab your current xsession and I think that's the one.
 Somebody please correct me if I'm wrong.
HTH
- --
Eric Martin
Key fingerprint = D1C4 086E DBB5 C18E 6FDA  B215 6A25 7174 A941 3B9F
-BEGIN PGP SIGNATURE-
Version: GnuPG v2.0.9 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iEYEARECAAYFAkiF6gkACgkQdheOldgSlQj16ACgmRTVt7cN94VyUje1DHOfEYCm
L68AoMHMGLjy2LaWp2O7I8CjVykqu69e
=WtZp
-END PGP SIGNATURE-



[gentoo-user] Re: Changes in the way USB devices are mounted

2008-07-22 Thread Nikos Chantziaras

Mick wrote:

[...]
I am using dbus and hald with a Fluxbox WM so the default KDE behaviour with 
the automounting pop up dialog does not work here (unless I have launched the 
full KDE DE).


Any ideas what has caused these changes?  Are they reversible/configurable?


The DE is responsible for the mount options.  Are you sure Fluxbox 
doesn't provide a config tool to set up the mount parameters of hot-plug 
USB devices?





Re: [gentoo-user] Re: Changes in the way USB devices are mounted

2008-07-22 Thread Mick
On Tuesday 22 July 2008, Nikos Chantziaras wrote:
> Mick wrote:
> > [...]
> > I am using dbus and hald with a Fluxbox WM so the default KDE behaviour
> > with the automounting pop up dialog does not work here (unless I have
> > launched the full KDE DE).
> >
> > Any ideas what has caused these changes?  Are they
> > reversible/configurable?
>
> The DE is responsible for the mount options.  Are you sure Fluxbox
> doesn't provide a config tool to set up the mount parameters of hot-plug
> USB devices?

Not from what I know (which ain't much . . .)

I have always had something like pmount /dev/sda in my FB menu script.

-- 
Regards,
Mick


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


Re: [gentoo-user] Java configuration is hosed

2008-07-22 Thread Dave Jones

Hi Kevin,

Kevin O'Gorman wrote on 22/07/08 20:03:

On Tue, Jul 22, 2008 at 10:34 AM, Dave Jones <[EMAIL PROTECTED]> wrote:

Kevin O'Gorman wrote on 22/07/08 18:51:

I cannot emerge the latest xulrunner, but the root cause appears to be
my Java configuration.  I haven't touched it in ages, so I have no
idea how this happened.

So far so good, but
treat ~ # java-config --list-available-vms
Traceback (most recent call last):
 File "/usr/bin/java-config-2", line 8, in 
   from java_config_2 import __version__
ImportError: No module named java_config_2
treat ~ #

Which seems to mean there should be a file /usr/bin/java-config-2, but
there is not.
Where should it come from?

I had the same problem yesterday, ran python-updater to fix it.

That did an awful lot of re-compiling (including OpenOffice), but it worked
for me.


Yeah, thanks.  I tried running elogviewer to look for things like this
and that was broken too, but at least elogviewer was kind enough to
diagnose its own problem and suggest python-updater to fix it.  So
I've been running that for a few hours.

You mail at least gives me some hope that the fix is in...


java_config_2 was installed with python 2.5, which itself was installed 
yesterday with an emerge -auDv world


I found java_config_2 in /usr/lib/python2.5/site-packages/java_config_2/

Having noticed the new python version, I ran python-updater. Since then, 
it's fine.


Cheers, Dave



Re: [gentoo-user] Java configuration is hosed

2008-07-22 Thread Rev. Ferris
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

I used one hour ago the java update guide wiki.
It's worked!
Luigi

Alle martedì 22 luglio 2008, Dave Jones ha scritto:
> Hi Kevin,
>
> Kevin O'Gorman wrote on 22/07/08 20:03:
> > On Tue, Jul 22, 2008 at 10:34 AM, Dave Jones <[EMAIL PROTECTED]> 
wrote:
> >> Kevin O'Gorman wrote on 22/07/08 18:51:
> >>> I cannot emerge the latest xulrunner, but the root cause appears
> >>> to be my Java configuration.  I haven't touched it in ages, so I
> >>> have no idea how this happened.
> >>>
> >>> So far so good, but
> >>> treat ~ # java-config --list-available-vms
> >>> Traceback (most recent call last):
> >>>  File "/usr/bin/java-config-2", line 8, in 
> >>>from java_config_2 import __version__
> >>> ImportError: No module named java_config_2
> >>> treat ~ #
> >>>
> >>> Which seems to mean there should be a file
> >>> /usr/bin/java-config-2, but there is not.
> >>> Where should it come from?
> >>
> >> I had the same problem yesterday, ran python-updater to fix it.
> >>
> >> That did an awful lot of re-compiling (including OpenOffice), but
> >> it worked for me.
> >
> > Yeah, thanks.  I tried running elogviewer to look for things like
> > this and that was broken too, but at least elogviewer was kind
> > enough to diagnose its own problem and suggest python-updater to
> > fix it.  So I've been running that for a few hours.
> >
> > You mail at least gives me some hope that the fix is in...
>
> java_config_2 was installed with python 2.5, which itself was
> installed yesterday with an emerge -auDv world
>
> I found java_config_2 in
> /usr/lib/python2.5/site-packages/java_config_2/
>
> Having noticed the new python version, I ran python-updater. Since
> then, it's fine.
>
> Cheers, Dave
-BEGIN PGP SIGNATURE-
Version: GnuPG v2.0.9 (GNU/Linux)

iEYEARECAAYFAkiGRakACgkQYoDKzgS2pLMOPACfdLV+dbWhwKeLIXJwMErV3Czn
9XEAoId8iYDZlCo0a3p4qv9JK7wita8y
=omPG
-END PGP SIGNATURE-



Re: [gentoo-user] Unmerge python?

2008-07-22 Thread Grant
 I'm getting the following from portage on a critical remote system:

 >>> app-admin/python-updater-0.2)

 Am I suppose to un-emerge python?

 - Grant


>>>
>>> Perhaps you should update your python. Version 2.3 will be removed from
>>> portage and is currently hardmasked. That triggers the depency bump.
>>>
>>
>> 'emerge -pv python' wants to install python-2.5.2-r5 in a new slot.
>> Should I unmerge python, emerge the new python, and run
>> python-updater?  Will portage work once python has been unmerged?  I'm
>> being cautious because this is a highly critical system for me.
>>
>> - Grant
>>
>
> NO, do not unemerge python befor installing the new one!!!
>
> It looks like your python is quite old. do you have version 2.4 installed?
> Then just do emerge -C =dev-lang/python-2.3.6-r2 and run python-updater
> afterwards. Otherwise try to emerge python 2.5 in the new slot, run the
> python-updater and remove version 2.3 afterwards.
> Nevertheless after updating  python-updater you should run " python-updater
> -ee -v -p" to see what should be still updated.

I've emerged python-2.5 in the new slot, but I can't upgrade from
python-updater-0.2 to python-updater-0.5 until I un-emerge python-2.3.
 Should I run python-updater-0.2 now, or un-emerge python-2.3, update
to python-updater-0.5, and run that?  If it depends on if I have
python-2.4 installed or not, how can I check on that?

- Grant



Re: [gentoo-user] Changes in the way USB devices are mounted

2008-07-22 Thread Sebastian Günther
* Mick ([EMAIL PROTECTED]) [22.07.08 20:08]:
> Hi All,
> 
> I suspect that something changed recently on the way that USB devices are 
> mounted.  I noticed that mounting a USB flash drive has stopped working as 
> follows:
No, I think pmount behavior changed:

it now honors entries in the fstab.



> $ pmount /dev/sda
> Error: device /dev/sda is not removable
> ==
> 
Normally you should mount by mountpoint not device node.

> However, clicking on the device in Konqueror under media:/ mounts it happily 
> under /media/disk.  Previously it would mount it under /media/sda and the 
> pmount command would not error out as shown above.
> ==

I think, there is an apropiate entry in the fstab, so pmount has not to 
create an new mountpoint.

> $ mount
> [snip...]
> /dev/sda on /media/disk type vfat 
> (rw,nosuid,nodev,noatime,flush,uid=1000,utf8,shortname=lower)
> ==
> 
> I also noticed that "shortname=lower" is set as the default, which is 
> annoying 
> because the file/folder names are forced to display in lower case.
> 
OK what's in /etc/fstab?

> I am using dbus and hald with a Fluxbox WM so the default KDE behaviour with 
> the automounting pop up dialog does not work here (unless I have launched the 
> full KDE DE).
> 
Then you should think about ivman if you want automounter support. And 
Fluxbox rocks :-)

HTH
Sebastian

-- 
 " Religion ist das Opium des Volkes. "  Karl Marx

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


pgpAgNqjSLNSr.pgp
Description: PGP signature


[gentoo-user] Re: Unmerge python?

2008-07-22 Thread Nikos Chantziaras

Grant wrote:

I've emerged python-2.5 in the new slot, but I can't upgrade from
python-updater-0.2 to python-updater-0.5 until I un-emerge python-2.3.


That shouldn't happen; there's no rationale in this, unless I'm missing 
something.



Should I run python-updater-0.2 now, or un-emerge python-2.3, update
to python-updater-0.5, and run that?  If it depends on if I have
python-2.4 installed or not, how can I check on that?


You shouldn't unmerge old python unless the new one is made fully 
functional.  Post the exact error emerge gives when you try to update 
python-updater.





Re: [gentoo-user] Unmerge python?

2008-07-22 Thread Neil Bothwick
On Tue, 22 Jul 2008 13:40:33 -0700, Grant wrote:

> Should I run python-updater-0.2 now, or un-emerge python-2.3, update
> to python-updater-0.5, and run that?

The safest course is run python-updater-0.2, unmerge python-2.3, update
python-updater then run the new version.

You shouldn't break too much by unmerging the old version before you run
python-updater. A few things may not work, but portage will be fine. As
with any important system package, quickpkg it before unmerging.


-- 
Neil Bothwick

Shell to DOS... Shell to DOS... DOS, do you copy? Shell to DOS...


signature.asc
Description: PGP signature


Re: [gentoo-user] Unmerge python?

2008-07-22 Thread Albert Hopkins
On Tue, 2008-07-22 at 23:08 +0100, Neil Bothwick wrote:
> The safest course is run python-updater-0.2, unmerge python-2.3,
> update
> python-updater then run the new version.
> 
> You shouldn't break too much by unmerging the old version before you
> run
> python-updater. A few things may not work, but portage will be fine.
> As
> with any important system package, quickpkg it before unmerging.
> 
Except I don't think python-updator will know what the old version of
python was so you might have to pass -o 2.3 or whatever.

What *I* would do, and the reason why I think you're having so the
trouble, is that you skipped 2.4.  I would go from 2.3 to 2.4, run
python-updater, then go from 2.4 to 2.5 and run python-updater again.

-a





Re: [gentoo-user] Changes in the way USB devices are mounted

2008-07-22 Thread Mick
On Tuesday 22 July 2008, Sebastian Günther wrote:
> * Mick ([EMAIL PROTECTED]) [22.07.08 20:08]:
> > Hi All,
> >
> > I suspect that something changed recently on the way that USB devices are
> > mounted.  I noticed that mounting a USB flash drive has stopped working
> > as follows:
>
> No, I think pmount behavior changed:
>
> it now honors entries in the fstab.

I do not have entries in my fstab of USB devices - dbus daemon and hald are 
looking for removable devices by scanning the MoBo's buses (as I understand 
it).

> > $ pmount /dev/sda
> > Error: device /dev/sda is not removable
> > ==
>
> Normally you should mount by mountpoint not device node.

Well, pmount would normally create a corresponding 
mountpoint /media/, if called upon as:

$ pmount /dev/

> > However, clicking on the device in Konqueror under media:/ mounts it
> > happily under /media/disk.  Previously it would mount it under /media/sda
> > and the pmount command would not error out as shown above.
> > ==
>
> I think, there is an apropiate entry in the fstab, so pmount has not to
> create an new mountpoint.

No, there's no /dev/sda entry in my fstab:
==
$ mount /dev/sda
mount: can't find /dev/sda in /etc/fstab or /etc/mtab
==

> > $ mount
> > [snip...]
> > /dev/sda on /media/disk type vfat
> > (rw,nosuid,nodev,noatime,flush,uid=1000,utf8,shortname=lower)
> > ==
> >
> > I also noticed that "shortname=lower" is set as the default, which is
> > annoying because the file/folder names are forced to display in lower
> > case.
>
> OK what's in /etc/fstab?

Nothing.

> > I am using dbus and hald with a Fluxbox WM so the default KDE behaviour
> > with the automounting pop up dialog does not work here (unless I have
> > launched the full KDE DE).
>
> Then you should think about ivman if you want automounter support. And
> Fluxbox rocks :-)

Yes, Fluxbox flies even on a PIII, ;-)

I am not bothered about automounting and probably would get on my nerves.  I 
prefer how pmount used to work until recently.
-- 
Regards,
Mick


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


Re: [gentoo-user] Re: Unmerge python?

2008-07-22 Thread Grant
>> I've emerged python-2.5 in the new slot, but I can't upgrade from
>> python-updater-0.2 to python-updater-0.5 until I un-emerge python-2.3.
>
> That shouldn't happen; there's no rationale in this, unless I'm missing
> something.
>
>> Should I run python-updater-0.2 now, or un-emerge python-2.3, update
>> to python-updater-0.5, and run that?  If it depends on if I have
>> python-2.4 installed or not, how can I check on that?
>
> You shouldn't unmerge old python unless the new one is made fully
> functional.  Post the exact error emerge gives when you try to update
> python-updater.

# emerge -pv python-updater

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

Calculating dependencies... done!
[ebuild U ] app-admin/python-updater-0.5 [0.2] 6 kB
[blocks B ] 

[gentoo-user] Re: Changes in the way USB devices are mounted

2008-07-22 Thread Nikos Chantziaras

Mick wrote:
I am not bothered about automounting and probably would get on my nerves.  I 
prefer how pmount used to work until recently.


Ask around the Fluxbox mailing lists/forums how to tweak auto-mounting; 
maybe it just lacks a GUI for those options and you'll have to tweak 
some *.rc file.  For example, in KDE I've set it up so the USB drive 
does *not* get auto-mounted at all if I don't open it in a filemanager 
or right-click its icon on the desktop and selecting "Mount".  It's the 
same as pmount, except with a mouse.





Re: [gentoo-user] Changes in the way USB devices are mounted

2008-07-22 Thread Neil Bothwick
On Tue, 22 Jul 2008 23:22:49 +0100, Mick wrote:

> I am not bothered about automounting and probably would get on my
> nerves.  I prefer how pmount used to work until recently.

pmount thinks your drive is not removable, so refuses to allow mounting
for security reasons. The fix is to add it to /etc/pmount.allow.


-- 
Neil Bothwick

Q: Why do PCs - even modern ones - have reset buttons on the front?
A: Because they come with Microsoft operating systems.


signature.asc
Description: PGP signature


[gentoo-user] Can't complete emerge world.

2008-07-22 Thread Mike Diehl
Hi all,

I'm trying to get an emerge world to complet, but I'm getting this error 
message:



!!! Multiple versions within a single package slot have been pulled
!!! into the dependency graph, resulting in a slot conflict:

sys-libs/ss:0

  ('installed', '/', 'sys-libs/ss-1.40.6', 'nomerge') pulled in by
('installed', '/', 'sys-fs/e2fsprogs-1.40.6', 'nomerge')
@world

  ('ebuild', '/', 'sys-libs/ss-1.40.11', 'merge') pulled in by
@world

sys-libs/com_err:0

  ('installed', '/', 'sys-libs/com_err-1.40.6', 'nomerge') pulled in by
('installed', '/', 'sys-fs/e2fsprogs-1.40.6', 'nomerge')

  ('ebuild', '/', 'sys-libs/com_err-1.40.11', 'merge') pulled in by
('ebuild', '/', 'sys-libs/ss-1.40.11', 'merge')


It may be possible to solve this problem by using package.mask to
prevent one of those packages from being selected. However, it is also
possible that conflicting dependencies exist such that they are
impossible to satisfy simultaneously. If such a conflict exists in the
dependencies of two different packages, then those packages can not be
installed simultaneously.

For more information, see MASKED PACKAGES section in the emerge man page
or refer to the Gentoo Handbook.


Can I simply emerge -C com_err and ss?

What do I need to do to get past this?

TIA,
-- 
Mike Diehl



Re: [gentoo-user] Can't complete emerge world.

2008-07-22 Thread Qian Qiao
On Tue, Jul 22, 2008 at 9:11 PM, Mike Diehl <[EMAIL PROTECTED]> wrote:
[snip]

Are you doing a emerge world or a emerge --update world? And no, you
can't emerge -C those 2 packages, it'll kill your system.

HTH.

-- Joe

-- 
Mitch Hedberg  - "My fake plants died because I did not pretend to water them."



Re: [gentoo-user] Can't complete emerge world.

2008-07-22 Thread Mike Diehl
On Tuesday 22 July 2008 08:46:10 pm Qian Qiao wrote:
> On Tue, Jul 22, 2008 at 9:11 PM, Mike Diehl <[EMAIL PROTECTED]> wrote:
> [snip]
>
> Are you doing a emerge world or a emerge --update world? And no, you
> can't emerge -C those 2 packages, it'll kill your system.
>
> HTH.
>
> -- Joe

I'm doing an:
emerge -u world

Ya, I kinda thought un-emerging those packages would kill my system.  Good 
thing I asked!

Any ideas on how to fix this?

-- 
Mike Diehl



[gentoo-user] Re: Can't complete emerge world.

2008-07-22 Thread Francesco Talamona
On Tuesday 22 July 2008, Mike Diehl wrote:
> What do I need to do to get past this?
>
> TIA,
> --
> Mike Diehl

Try this command, what gives you?

emerge -av =sys-libs/ss-1.40.9 =sys-fs/e2fsprogs-1.40.9 
=sys-libs/com_err-1.40.9

Ciao
Francesco

-- 
Linux Version 2.6.26-gentoo, Compiled #1 PREEMPT Sat Jul 19 09:00:16 
CEST 2008
One 1GHz AMD Athlon 64 Processor, 2GB RAM, 2004.05 Bogomips Total
aemaeth



Re: [gentoo-user] Re: 20008 install problem: "Could not find the root block device in ."

2008-07-22 Thread Richard Marzan
On Mon, 2008-07-21 at 21:57 +0200, Jarry wrote:
> Nikos Chantziaras wrote:
> >> It looks to me like loader can not find my *cdrom*!
> >> But that is strange, because kernel just booted from CD,
> >> so it *must* see it!
> > 
> > Unfortunately, it's the BIOS that does this.  The kernel cannot boot by 
> > itself by some magical means.  The BIOS must boot it.
> > 
> > Your hard drives are SATA as well (on the same controller) and only the 
> > CD drive can't be found?  That's strange.  I suggest opening a bug about 
> > it.
> 
> I have 2 sata hard-drives, and 1 sata dvd-writer, all attached to the
> same controller (part of nvidia nforce4 southbridge). Despite of that,
> only hard-drive partitions are correctly detected...
> 
> I tested gentoo-2008.0 on different computer, but again with sata-disk
> and sata-dvd, and this time P35-chipset (Intel). No problem! It seems
> to me the problem is in sata_nv module (nVidia chipset): it is loaded,
> but detects only disks, no cd/dvd drives. Maybe compilled without
> cd-filesystem support?
> 
> FYI, I downloaded old good install-amd64-minimal-2007.0.iso, burned,
> booted, and gues what? All works! I'm going to open bug about it...
> 
> Jarry
> 

Please Include CONFIG_SATA_AHCI=y into your configuration of the kernel
as well as CONFIG_SATA_NV=y 

I believe the kernel docs indicate that the NVidia chipsets should be
supported by SATA_AHCI. Also, check your grub config. This is a snippet
of mine and I'm using SATA HD's on my laptop with an Nvidia chipset:

root (hd0,0) # the device where your /boot resides
kernel /linux-2.6.23-r8 root=/dev/sda2 # the device where / resides