Re: [gentoo-user] emerge-webrsync

2007-08-15 Thread Daniel da Veiga
On 8/15/07, kitti jaisong [EMAIL PROTECTED] wrote:
 Hi all,
 How to check emerge-webrsync is working download ?


Add -v to the command.
emerge-webrsync -v

-- 
Daniel da Veiga
Computer Operator - RS - Brazil
-BEGIN GEEK CODE BLOCK-
Version: 3.1
GCM/IT/P/O d-? s:- a? C++$ UBLA++ P+ L++ E--- W+++$ N o+ K- w O M- V-
PS PE Y PGP- t+ 5 X+++ R+* tv b+ DI+++ D+ G+ e h+ r+ y++
--END GEEK CODE BLOCK--
-- 
[EMAIL PROTECTED] mailing list



Re: [gentoo-user] new gnome fails except for root

2007-08-15 Thread Dan Cowsill
On 8/14/07, Allan Gottlieb [EMAIL PROTECTED] wrote:
 At Tue, 14 Aug 2007 10:49:56 -0400 Dan Cowsill [EMAIL PROTECTED] wrote:

  An interesting development:  I removed my user from the system and
  deleted his home folder.  After that, I made the user again and tried
  logging in.  I got a whole bunch of configuration errors...  But I
  don't understand how this could be.  I created ANOTHER user with a
  different name and logged in...  perfectly.  Everything seems to work
  with this user, and nothing seems to work with my user.
 
  Are user-based settings stored in some other place?

 I created a new user testgot with the same uid as gottlieb
 and it works.  There must be something in my config (and yours) that
 is bad for the old user.

 I can balance my checkbook with the new user so the panic is gone, but
 something needs to be fixed somewhere.

 allan
 --
 [EMAIL PROTECTED] mailing list



Well, that's interesting because my test user has a different uid than
my original...

-- 
Dan Cowsill
http://www.danthehat.net
-- 
[EMAIL PROTECTED] mailing list



[gentoo-user] apache can't start after updating expat to 2.0.1

2007-08-15 Thread Shaochun Wang

After updating to expat-2.0.1, apache2 couldn't be started. 
It says that /usr/sbin/apache2 can't find shared library libexpat.so.0.
I did some searching on the internet and found that I need do the
following:
revdep-rebuild -X --library=libexpat.so.0

Unfortunately, doing this doesn't get apache2 running again and the same
problem still exits.

Observing the output of the above command, I notice
/usr/lib64/libaprutil-0.so.0.9.12 is broken. This file belongs to
apr-util. By executing 'eix apr-util', I find that there are two
versions of apr-util installed in my computer.

After re-emergeing the apr-util-0.9.12-r1, apache2 started normally.

So I think that the problem is accually caused by the -X option of
revdep-rebuild command, which emerges the best (currrently is the latest
stable) packages available. In this apr-util case, it will emerge
apr-util-1.2.8.

So for slotted packages, don't use -X option for revdep-rebuild
command. Hoping in the future, revdep-rebuild could handles such
situation correctly.

I wish my experience be useful to you. 

-- 
Shaochun Wang [EMAIL PROTECTED]

Jabber: [EMAIL PROTECTED]
-- 
[EMAIL PROTECTED] mailing list



Re: [gentoo-user] Re: checking for XML::Parser... configure: error: XML::Parser perl module is required for intltool

2007-08-15 Thread Mick
On Monday 13 August 2007, Joseph wrote:
  On a second machine I tried:
  revdep-rebuild -X --library=libexpat.so.0
 
  it recompiles a lot of packages including subversion and apache, however
  both programs won't run because libexpat.so.0 is required somewhere. If
  I run revdep-rebuild again, only arputil will be re-emerged, however
  that doesn't help, so for the time being I'll create the symlink as I
  did on my other machine and see if that helps enough to get my server
  running again.
 
  Regards,
 
  Henk.

 I had the same problem, running:
 emerge -av XML-Parser

 helped; now I'm moving forward.

I wish I could . . .

Updated all the kde-3.5.7 packages, revdep-rebuild the libraries it asked me 
to and now when I run revdep-rebuild, it wants to downgrade all this lot:
===
All prepared. Starting rebuild...
emerge --oneshot -p -v =media-sound/vorbis-tools-1.1.1-r3 
=app-crypt/gnupg-1.4.7-r1 =kde-base/juk-3.5.5 
=media-libs/xine-lib-1.1.4-r2 =kde-base/kaudiocreator-3.5.5 
=media-video/xine-ui-0.99.5 

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

Calculating dependencies... done!
[ebuild UD] kde-base/kdelibs-3.5.5-r10 [3.5.7-r2] USE=acl alsa cups fam 
kerberos spell ssl%* 
tiff -arts -avahi -debug -doc -jpeg2k -kdeenablefinal -kdehidd
envisibility -legacyssl -lua -openexr -utempter -xinerama -zeroconf% 
(-branding%) LINGUAS=-he% 0 kB 
[ebuild   R   ] media-sound/vorbis-tools-1.1.1-r3  USE=flac nls speex 0 kB 
[ebuild   R   ] app-crypt/gnupg-1.4.7-r1  USE=bzip2 curl idea ldap nls 
readline usb zlib -bindist -ecc (-selinux) -smartcard -static 
LINGUAS=-ru 0 kB 
[ebuild   R   ] media-libs/xine-lib-1.1.4-r2  USE=X a52 aac aalib alsa dts 
dvd flac imagemagick mad mng modplug nls opengl oss sdl speex theora 
truetype vcd vidix vorbis win32codecs xv xvmc 
(-altivec) -arts -debug -directfb -dxr3 -esd -fbc
on -gnome -gtk -ipv6 -libcaca -mmap -musepack -pulseaudio -samba -v4l -wavpack 
-
xcb -xinerama 0 kB 
[ebuild   R   ] media-video/xine-ui-0.99.5  USE=X aalib curl ncurses nls 
readline -debug -libcaca -lirc -vdr -xinerama 0 kB 
[ebuild UD] kde-base/libkcddb-3.5.5 [3.5.7] 
USE=-arts -debug -kdeenablefinal -xinerama 0 kB 
[ebuild   R   ] kde-base/juk-3.5.5  USE=flac gstreamer mp3 
vorbis -akode -arts -debug -kdeenablefinal -xinerama 0 kB 
[ebuild UD] kde-base/kdemultimedia-kioslaves-3.5.5 [3.5.7] USE=encode 
flac mp3 vorbis -arts -debug -kdeenablefinal -xinerama 0 kB 
[ebuild   R   ] kde-base/kaudiocreator-3.5.5  USE=encode flac mp3 
vorbis -arts -debug -kdeenablefinal -xinerama 0 kB 

Total: 9 packages (3 downgrades, 6 reinstalls), Size of downloads: 0 kB
===

Have I missed something?  Did anyone else got this problem?
-- 
Regards,
Mick


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


Re: [gentoo-user] new gnome fails except for root

2007-08-15 Thread Markus Schönhaber
Allan Gottlieb schrieb:

 At Wed, 15 Aug 2007 01:27:57 +0200 Markus Schönhaber [EMAIL PROTECTED] 
 wrote:

 Try moving ~/.gconfd out of the way. It helped in my case.
 
 Thanks.  I tried it, but alas no effect.  Same status (.gconfd had
 only the saved-state file).

Yep, same for me. The difference is, for me, getting rid of it helped.

If you're still interested in finding out what causes your problems, I'd
start by moving ~/.gconf out of the way. You'll lose most of your
settings but if that helps you could move the items from the backup to
the automatically created new ~/.gconf one by one and eventually spot
the bad one.
And there's also ~/.gnome2 that could be screwed up.

Regards
  mks
-- 
[EMAIL PROTECTED] mailing list



Re: [gentoo-user] Re: checking for XML::Parser... configure: error: XML::Parser perl module is required for intltool

2007-08-15 Thread Naga
On Wednesday 15 August 2007 11:29:28 Mick wrote:
 On Monday 13 August 2007, Joseph wrote:
   On a second machine I tried:
   revdep-rebuild -X --library=libexpat.so.0
  
   it recompiles a lot of packages including subversion and apache,
   however both programs won't run because libexpat.so.0 is required
   somewhere. If I run revdep-rebuild again, only arputil will be
   re-emerged, however that doesn't help, so for the time being I'll
   create the symlink as I did on my other machine and see if that helps
   enough to get my server running again.
  
   Regards,
  
   Henk.
 
  I had the same problem, running:
  emerge -av XML-Parser
 
  helped; now I'm moving forward.

 I wish I could . . .

 Updated all the kde-3.5.7 packages, revdep-rebuild the libraries it asked
 me to and now when I run revdep-rebuild, it wants to downgrade all this
 lot: ===
 All prepared. Starting rebuild...
 emerge --oneshot -p -v =media-sound/vorbis-tools-1.1.1-r3
 =app-crypt/gnupg-1.4.7-r1 =kde-base/juk-3.5.5
^
 =media-libs/xine-lib-1.1.4-r2 =kde-base/kaudiocreator-3.5.5
^^
 =media-video/xine-ui-0.99.5

See the problem?

You need to upgrade some more packages (hopfully).

-- 
Naga
-- 
[EMAIL PROTECTED] mailing list



Re: [gentoo-user] mounting windows partition with ntfs3g

2007-08-15 Thread Elyahou ITTAH
After windows reboot, all perfect :D
Thx
Elyahou ITTAH

2007/8/15, Stroller [EMAIL PROTECTED]:


 On 14 Aug 2007, at 22:50, Elyahou ITTAH wrote:

  When i wan't to mount my windows partition ( AHCI NTFS ) with
  ntfs3g i got this error:
 
  # ntfs-3g /dev/sda1 /mnt/windows/
  $LogFile indicates unclean shutdown (0, 0)
  Failed to mount '/dev/sda1': Operation not supported
  Mount is denied because NTFS is marked to be in use. Choose one
  action:
  
 
  This is not an external device and i wan't to force it...
 
  Wha'ts i have to do ?

 Reboot to Windows and shut it down using the option in the Start menu.

 Stroller.


 --
 [EMAIL PROTECTED] mailing list




Re: [gentoo-user] Re: checking for XML::Parser... configure: error: XML::Parser perl module is required for intltool

2007-08-15 Thread Mick
On Wednesday 15 August 2007, Naga wrote:
 On Wednesday 15 August 2007 11:29:28 Mick wrote:

  =app-crypt/gnupg-1.4.7-r1 =kde-base/juk-3.5.5

 ^

  =media-libs/xine-lib-1.1.4-r2 =kde-base/kaudiocreator-3.5.5

 ^^

  =media-video/xine-ui-0.99.5

 See the problem?

 You need to upgrade some more packages (hopfully).

Thanks Naga, I should have said that a --update world did not pick these up.  
Having selectively emerged the update packages revdep rebuild is not showing 
anymore packages.
-- 
Regards,
Mick


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


Re: [gentoo-user] Re: checking for XML::Parser... configure: error: XML::Parser perl module is required for intltool

2007-08-15 Thread Neil Bothwick
On Wed, 15 Aug 2007 11:48:17 +0100, Mick wrote:

 Thanks Naga, I should have said that a --update world did not pick
 these up. 

Did you use --deep?


-- 
Neil Bothwick

It's only a hobby ... only a hobby ... only a


signature.asc
Description: PGP signature


Re: [gentoo-user] CXXABI error after gcc upgrade

2007-08-15 Thread Andreas Niederl
Iain Buchanan wrote:
 On Mon, 2007-08-13 at 08:02 +0200, Andreas Niederl wrote:
 Hi,

 Iain Buchanan wrote:
 
 so I ran `revdep-rebuild --library=libstdc++.so.6` but that got stuck on
 eix:

 src/eix: /usr/lib/gcc/i686-pc-linux-gnu/3.4.6/libstdc++.so.6: version
 `CXXABI_1.3.1' not found (required by src/eix)

[...]
 My own little workaround:
 echo 'LDPATH=/lib:/usr/lib:/usr/local/lib'  /etc/env.d/04basic-ldpath
 env-update
 
 I tried that, but eix still fails with the same error...  Or do I have
 to rebuild the system again?!

No, eix still takes the wrong libstdc++.so.6 and rebuilding won't likely
change that.
Whats the output of the libstdc++ section, if you call eix with LD_DEBUG
like `LD_DEBUG=libs eix`?

You could directly query the exported CXXABI versions of different
libstdc++ libraries in the same order as they are tried by the dynamic
linker by pasting the following loop into your shell:

while read dir ; do
  if [ -r $dir/libstdc++.so.6 ] ; then
echo $dir:
readelf -a $dir/libstdc++.so.6 | grep Rev | grep CXXABI
  fi
done  /etc/ld.so.conf


Regards,
Andi
-- 
[EMAIL PROTECTED] mailing list



[gentoo-user] message i don't understand in dmesg

2007-08-15 Thread Elyahou ITTAH
ata1.00: exception Emask 0x2 SAct 0x1c SErr 0x0 action 0x2 frozen
ata1.00: (spurious completions during NCQ issue=0x0 SAct=0x1c
FIS=004040a1:0002)
ata1.00: cmd 61/08:10:99:7c:b3/00:00:06:00:00/40 tag 2 cdb 0x0 data 4096 out
 res 40/00:24:29:f2:b3/00:00:06:00:00/40 Emask 0x2 (HSM violation)
ata1.00: cmd 61/08:18:01:be:b3/00:00:06:00:00/40 tag 3 cdb 0x0 data 4096 out
 res 40/00:24:29:f2:b3/00:00:06:00:00/40 Emask 0x2 (HSM violation)
ata1.00: cmd 61/08:20:29:f2:b3/00:00:06:00:00/40 tag 4 cdb 0x0 data 4096 out
 res 40/00:24:29:f2:b3/00:00:06:00:00/40 Emask 0x2 (HSM violation)
ata1: soft resetting port
ata1: SATA link up 1.5 Gbps (SStatus 113 SControl 300)
ata1.00: configured for UDMA/133
ata1: EH complete
sd 0:0:0:0: [sda] 312581808 512-byte hardware sectors (160042 MB)
sd 0:0:0:0: [sda] Write Protect is off
sd 0:0:0:0: [sda] Mode Sense: 00 3a 00 00
sd 0:0:0:0: [sda] Write cache: enabled, read cache: enabled, doesn't support
DPO or FUA

it is repeated often.
what that mean ?


Re: [gentoo-user] Re: checking for XML::Parser... configure: error: XML::Parser perl module is required for intltool

2007-08-15 Thread Mick
On Wednesday 15 August 2007, Neil Bothwick wrote:
 On Wed, 15 Aug 2007 11:48:17 +0100, Mick wrote:
  Thanks Naga, I should have said that a --update world did not pick
  these up.

 Did you use --deep?

# emerge -upDv world

-- 
Regards,
Mick


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


Re: [gentoo-user] Merlin XU870

2007-08-15 Thread Michael Gisbers
Am Mittwoch 15 August 2007 schrieb Florian Philipp:
 Hi!

 I've bought a Merlin X870 UMTS ExpressCard. They even offer Linux support
 and a howto but it doesn't work:

 http://www.novatelwireless.com/support/merlin-xu870-linux.html

 1.
 # Open an xterm window (window A) and log in as root:

 su root
 tail –f /var/log/messages

 2.
 # Insert the XU870 ExpressCard modem into your notebook computer.

 Look for the port association and note the lower order port numbers when
 device is inserted. The information will be used later in this procedure.
 The following shows sample output:

 Aug 3 15:27:33 linux kernel: usb 5-1: configuration #1 chosen from 1 choice
 Aug 3 15:27:33 linux kernel: airprime 5-1:1.0: airprime converter detected
 Aug 3 15:27:33 linux kernel: usb 5-1: airprime converter now attached to
 ttyUSB0
 Aug 3 15:27:33 linux kernel: airprime 5-1:1.1: airprime converter detected
 Aug 3 15:27:33 linux kernel: usb 5-1: airprime converter now attached to
 ttyUSB1

 3.
 # Open another xterm window (window B) and log in as root:

 su root
 cat /dev/ttyUSB0

 There should be additional output displayed in xterm window A that was
 opened in step 1.

 Step number two doesn't work, there is no output at all. What's going on?
 What's this airprime converter? I didn't find it in the kernel or via
 eix -Ss.

 dmesg gives me:
 [ 7104.176596] pccard: CardBus card inserted into slot 0

It seems to depend on kernel version.

With 2.6.2[1|2] I'm using option.ko without any problems:

Aug 15 13:48:25 mars option 3-1:1.0: GSM modem (1-port) converter detected
Aug 15 13:48:25 mars usb 3-1: GSM modem (1-port) converter now attached to 
ttyUS
B0
Aug 15 13:48:25 mars Device driver ttyUSB0 lacks bus and class support for 
being
 resumed.
Aug 15 13:48:25 mars option 3-1:1.1: GSM modem (1-port) converter detected
Aug 15 13:48:25 mars usb 3-1: GSM modem (1-port) converter now attached to 
ttyUS
B1
Aug 15 13:48:25 mars Device driver ttyUSB1 lacks bus and class support for 
being resumed.

I use umtsmon (http://umtsmon.sourceforge.net) which supports XU870 when 
starting with '--serial /dev/ttyUSB0'.

-- 
 Michael Gisbers
 http://www.lugor.de


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


Re: [gentoo-user] Merlin XU870

2007-08-15 Thread Florian Philipp
Am Mittwoch 15 August 2007 13:53:39 schrieb Michael Gisbers:
 Am Mittwoch 15 August 2007 schrieb Florian Philipp:
  Hi!
 
  I've bought a Merlin X870 UMTS ExpressCard. They even offer Linux support
  and a howto but it doesn't work:
 
  http://www.novatelwireless.com/support/merlin-xu870-linux.html
 
  1.
  # Open an xterm window (window A) and log in as root:
 
  su root
  tail –f /var/log/messages
 
  2.
  # Insert the XU870 ExpressCard modem into your notebook computer.
 
  Look for the port association and note the lower order port numbers when
  device is inserted. The information will be used later in this procedure.
  The following shows sample output:
 
  Aug 3 15:27:33 linux kernel: usb 5-1: configuration #1 chosen from 1
  choice Aug 3 15:27:33 linux kernel: airprime 5-1:1.0: airprime converter
  detected Aug 3 15:27:33 linux kernel: usb 5-1: airprime converter now
  attached to ttyUSB0
  Aug 3 15:27:33 linux kernel: airprime 5-1:1.1: airprime converter
  detected Aug 3 15:27:33 linux kernel: usb 5-1: airprime converter now
  attached to ttyUSB1
 
  3.
  # Open another xterm window (window B) and log in as root:
 
  su root
  cat /dev/ttyUSB0
 
  There should be additional output displayed in xterm window A that was
  opened in step 1.
 
  Step number two doesn't work, there is no output at all. What's going on?
  What's this airprime converter? I didn't find it in the kernel or via
  eix -Ss.
 
  dmesg gives me:
  [ 7104.176596] pccard: CardBus card inserted into slot 0

 It seems to depend on kernel version.

 With 2.6.2[1|2] I'm using option.ko without any problems:

 Aug 15 13:48:25 mars option 3-1:1.0: GSM modem (1-port) converter detected
 Aug 15 13:48:25 mars usb 3-1: GSM modem (1-port) converter now attached to
 ttyUS
 B0
 Aug 15 13:48:25 mars Device driver ttyUSB0 lacks bus and class support for
 being
  resumed.
 Aug 15 13:48:25 mars option 3-1:1.1: GSM modem (1-port) converter detected
 Aug 15 13:48:25 mars usb 3-1: GSM modem (1-port) converter now attached to
 ttyUS
 B1
 Aug 15 13:48:25 mars Device driver ttyUSB1 lacks bus and class support for
 being resumed.

 I use umtsmon (http://umtsmon.sourceforge.net) which supports XU870 when
 starting with '--serial /dev/ttyUSB0'.

I can't find option.ko. Where is it?

Do you mean that I don't need these HSDPA-scripts they offer when I use 
umtsmon?


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


Re: [gentoo-user] mounting windows partition with ntfs3g

2007-08-15 Thread Vladimir Rusinov
On 8/15/07, Elyahou ITTAH [EMAIL PROTECTED] wrote:

 When i wan't to mount my windows partition ( AHCI NTFS ) with ntfs3g i got
 this error:

 # ntfs-3g /dev/sda1 /mnt/windows/
 $LogFile indicates unclean shutdown (0, 0)
 Failed to mount '/dev/sda1': Operation not supported
 Mount is denied because NTFS is marked to be in use. Choose one action:


use -o force

*May be it is dangerous* (but for me It's ok - no crashes (yet) in ~2
months)

-- 
Vladimir Rusinov
GreenMice Solutions: IT-решения на базе Linux
http://greenmice.info/


Re: [gentoo-user] Merlin XU870

2007-08-15 Thread Florian Philipp
Am Mittwoch 15 August 2007 14:26:46 schrieben Sie:
 Am Mittwoch 15 August 2007 13:53:39 schrieb Michael Gisbers:
  Am Mittwoch 15 August 2007 schrieb Florian Philipp:
   Hi!
  
   I've bought a Merlin X870 UMTS ExpressCard. They even offer Linux
   support and a howto but it doesn't work:
  
   http://www.novatelwireless.com/support/merlin-xu870-linux.html
  
   1.
   # Open an xterm window (window A) and log in as root:
  
   su root
   tail –f /var/log/messages
  
   2.
   # Insert the XU870 ExpressCard modem into your notebook computer.
  
   Look for the port association and note the lower order port numbers
   when device is inserted. The information will be used later in this
   procedure. The following shows sample output:
  
   Aug 3 15:27:33 linux kernel: usb 5-1: configuration #1 chosen from 1
   choice Aug 3 15:27:33 linux kernel: airprime 5-1:1.0: airprime
   converter detected Aug 3 15:27:33 linux kernel: usb 5-1: airprime
   converter now attached to ttyUSB0
   Aug 3 15:27:33 linux kernel: airprime 5-1:1.1: airprime converter
   detected Aug 3 15:27:33 linux kernel: usb 5-1: airprime converter now
   attached to ttyUSB1
  
   3.
   # Open another xterm window (window B) and log in as root:
  
   su root
   cat /dev/ttyUSB0
  
   There should be additional output displayed in xterm window A that was
   opened in step 1.
  
   Step number two doesn't work, there is no output at all. What's going
   on? What's this airprime converter? I didn't find it in the kernel or
   via eix -Ss.
  
   dmesg gives me:
   [ 7104.176596] pccard: CardBus card inserted into slot 0
 
  It seems to depend on kernel version.
 
  With 2.6.2[1|2] I'm using option.ko without any problems:
 
  Aug 15 13:48:25 mars option 3-1:1.0: GSM modem (1-port) converter
  detected Aug 15 13:48:25 mars usb 3-1: GSM modem (1-port) converter now
  attached to ttyUS
  B0
  Aug 15 13:48:25 mars Device driver ttyUSB0 lacks bus and class support
  for being
   resumed.
  Aug 15 13:48:25 mars option 3-1:1.1: GSM modem (1-port) converter
  detected Aug 15 13:48:25 mars usb 3-1: GSM modem (1-port) converter now
  attached to ttyUS
  B1
  Aug 15 13:48:25 mars Device driver ttyUSB1 lacks bus and class support
  for being resumed.
 
  I use umtsmon (http://umtsmon.sourceforge.net) which supports XU870 when
  starting with '--serial /dev/ttyUSB0'.

 I can't find option.ko. Where is it?

 Do you mean that I don't need these HSDPA-scripts they offer when I use
 umtsmon?
Okay, I've found option.ko and airprime.ko. tail -f /var/log/messages still 
doesn't output anything. Might that be a configuration issue (syslog-ng? 
kernel?)?



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


[gentoo-user] Re: Internet bridge

2007-08-15 Thread James
Mateus Interciso p.zarnick at gmail.com writes:


 But for the SIP stuff, I have just one client, built the firewall using 
 fwbuilder (sometimes is more easier), and for instance here's the SIP 
 part on the nat table:
 0 0 DNAT   udp  --  anyany anywhere 
 200.*.*.* udp dpt:5060 to:10.0.0.112 


Is your VoIP service vonage? 
If so, there are nuances with their
VoIP devices.


James


-- 
[EMAIL PROTECTED] mailing list



Re: [gentoo-user] CXXABI error after gcc upgrade

2007-08-15 Thread Iain Buchanan
On Wed, 2007-08-15 at 13:23 +0200, Andreas Niederl wrote:
 Iain Buchanan wrote:
  On Mon, 2007-08-13 at 08:02 +0200, Andreas Niederl wrote:

 [...]
  My own little workaround:
  echo 'LDPATH=/lib:/usr/lib:/usr/local/lib'  /etc/env.d/04basic-ldpath
  env-update
  
  I tried that, but eix still fails with the same error...  Or do I have
  to rebuild the system again?!
 
 No, eix still takes the wrong libstdc++.so.6 and rebuilding won't likely
 change that.
 Whats the output of the libstdc++ section, if you call eix with LD_DEBUG
 like `LD_DEBUG=libs eix`?

the current eix (0.9.9) shows this (and a whole lotta other stuff):

$ LD_DEBUG=libs eix
 18778: find library=libstdc++.so.6 [0]; searching
 18778:  search path=/usr/lib/fglrx (LD_LIBRARY_PATH)
 18778:   trying file=/usr/lib/fglrx/libstdc++.so.6
 18778:  search cache=/etc/ld.so.cache
 18778:   trying 
file=/usr/lib/gcc/i686-pc-linux-gnu/3.4.6/libstdc++.so.6
[snip]
 18778: calling init: 
/usr/lib/gcc/i686-pc-linux-gnu/3.4.6/libstdc++.so.6

 You could directly query the exported CXXABI versions of different
 libstdc++ libraries in the same order as they are tried by the dynamic
 linker by pasting the following loop into your shell:
 
 while read dir ; do
   if [ -r $dir/libstdc++.so.6 ] ; then
 echo $dir:
 readelf -a $dir/libstdc++.so.6 | grep Rev | grep CXXABI
   fi
 done  /etc/ld.so.conf

/usr/lib/gcc/i686-pc-linux-gnu/3.4.6:
  0x00a4: Rev: 1  Flags: none  Index: 6  Cnt: 1  Name: CXXABI_1.3
/usr/lib/gcc/i686-pc-linux-gnu/4.1.2:
  0x0158: Rev: 1  Flags: none  Index: 11  Cnt: 1  Name: CXXABI_1.3
  0x0174: Rev: 1  Flags: none  Index: 12  Cnt: 2  Name: CXXABI_1.3.1
/usr/lib/gcc/i686-pc-linux-gnu/4.2.0:
  0x017c: Rev: 1  Flags: none  Index: 12  Cnt: 1  Name: CXXABI_1.3
  0x0198: Rev: 1  Flags: none  Index: 13  Cnt: 2  Name: CXXABI_1.3.1


But what does it all _mean_ Basil? (gratuitous bad movie quote...)

I'm keen on finding out more, but by myself I am again stumped!  Thanks
for the help so far,
-- 
Iain Buchanan iaindb at netspace dot net dot au

The great question... which I have not been able to answer... is, `What does 
woman want?'
-- Sigmund Freud

-- 
[EMAIL PROTECTED] mailing list



Re: [gentoo-user] CXXABI error after gcc upgrade

2007-08-15 Thread Andreas Niederl
Iain Buchanan wrote:
 On Wed, 2007-08-15 at 13:23 +0200, Andreas Niederl wrote:
 Iain Buchanan wrote:
 On Mon, 2007-08-13 at 08:02 +0200, Andreas Niederl wrote:
 
 [...]
 My own little workaround:
 echo 'LDPATH=/lib:/usr/lib:/usr/local/lib'  /etc/env.d/04basic-ldpath
 env-update
 I tried that, but eix still fails with the same error...  Or do I have
 to rebuild the system again?!
 No, eix still takes the wrong libstdc++.so.6 and rebuilding won't likely
 change that.
 Whats the output of the libstdc++ section, if you call eix with LD_DEBUG
 like `LD_DEBUG=libs eix`?
 
 the current eix (0.9.9) shows this (and a whole lotta other stuff):
 
 $ LD_DEBUG=libs eix
  18778: find library=libstdc++.so.6 [0]; searching
  18778:  search path=/usr/lib/fglrx (LD_LIBRARY_PATH)
  18778:   trying file=/usr/lib/fglrx/libstdc++.so.6
  18778:  search cache=/etc/ld.so.cache
  18778:   trying 
 file=/usr/lib/gcc/i686-pc-linux-gnu/3.4.6/libstdc++.so.6
 [snip]
  18778: calling init: 
 /usr/lib/gcc/i686-pc-linux-gnu/3.4.6/libstdc++.so.6
 
 You could directly query the exported CXXABI versions of different
 libstdc++ libraries in the same order as they are tried by the dynamic
 linker by pasting the following loop into your shell:

 while read dir ; do
   if [ -r $dir/libstdc++.so.6 ] ; then
 echo $dir:
 readelf -a $dir/libstdc++.so.6 | grep Rev | grep CXXABI
   fi
 done  /etc/ld.so.conf
 
 /usr/lib/gcc/i686-pc-linux-gnu/3.4.6:
   0x00a4: Rev: 1  Flags: none  Index: 6  Cnt: 1  Name: CXXABI_1.3
 /usr/lib/gcc/i686-pc-linux-gnu/4.1.2:
   0x0158: Rev: 1  Flags: none  Index: 11  Cnt: 1  Name: CXXABI_1.3
   0x0174: Rev: 1  Flags: none  Index: 12  Cnt: 2  Name: CXXABI_1.3.1
 /usr/lib/gcc/i686-pc-linux-gnu/4.2.0:
   0x017c: Rev: 1  Flags: none  Index: 12  Cnt: 1  Name: CXXABI_1.3
   0x0198: Rev: 1  Flags: none  Index: 13  Cnt: 2  Name: CXXABI_1.3.1
 
 
 But what does it all _mean_ Basil? (gratuitous bad movie quote...)
[...]

Just that the first libstdc++.so.6 found by ld.so doesn't have
CXXABI_1.3.1 which is apparently needed by eix.
If you look into your /etc/ld.so.conf you'll see some directories listed
which ld.so will probe from the top downwards when it searches for
dynamically linked libraries. In your case the gcc library directories
are in the wrong order.

My guess is that you should reverse them.

The search order is specified by the LDPATH variables in the
/etc/env.d/* files. env-update reads these files sorted alphabetically
concatenates the found LDPATHs and writes it into /etc/ld.so.conf.

The LDPATH for gcc should be in /etc/env.d/05gcc, I imagine something
like
LDPATH=/usr/lib/gcc/i686-pc-linux-gnu/3.4.6/:/usr/lib/gcc/i686-pc-linux-gnu/4.1.2/:/usr/lib/gcc/i686-pc-linux-gnu/4.2.0/
standing in your version of this file. For reversing the search order
simply reverse this variable so that it reads:
LDPATH=/usr/lib/gcc/i686-pc-linux-gnu/4.2.0/:/usr/lib/gcc/i686-pc-linux-gnu/4.1.2/:/usr/lib/gcc/i686-pc-linux-gnu/3.4.6/
and do a env-update.

The reason for the search path being in the wrong order is probably some
bug in gcc-config or eselect-compiler, whichever you are using. At least
I can't think of another reason.


Regards,
Andi
-- 
[EMAIL PROTECTED] mailing list



Re: [gentoo-user] CXXABI error after gcc upgrade

2007-08-15 Thread Volker Armin Hemmann
On Mittwoch, 15. August 2007, Iain Buchanan wrote:
 On Mon, 2007-08-13 at 08:02 +0200, Andreas Niederl wrote:
  Hi,
 
  Iain Buchanan wrote:
   so I ran `revdep-rebuild --library=libstdc++.so.6` but that got stuck
   on eix:
  
   src/eix: /usr/lib/gcc/i686-pc-linux-gnu/3.4.6/libstdc++.so.6: version
   `CXXABI_1.3.1' not found (required by src/eix)
 
  Unmerging the old gcc should take care of this.
 
  However, if might want to keep a 3.x gcc (e.g. app-emulation/qemu needs
  it to build), have a look at your /etc/ld.so.conf.

 I do indeed want to keep it for now - I have some home-grown programs
 and I'm not sure how they'll run yet with 4.1.2... but we'll see.

  Lately, I noticed on a Gentoo x86 machine with both gcc versions 3.4.x
  and 4.1.x installed that this file was a bit messed up, i.e. the old gcc
  libs got preferred over /lib /usr/lib etc. (though that shouldn't happen
  on an amd64 multilib system).
 
  My own little workaround:
  echo 'LDPATH=/lib:/usr/lib:/usr/local/lib'  /etc/env.d/04basic-ldpath
  env-update

 I tried that, but eix still fails with the same error...  Or do I have
 to rebuild the system again?!

no!

why not just rm -r /usr/lib/gcc/x86-pc-linux-gnu/3.4.6
?
-- 
[EMAIL PROTECTED] mailing list



[gentoo-user] pendrive mounting problem

2007-08-15 Thread Matthew R. Lee
A friend of mine recently put a pdf on my pendrive using windows vista.  When 
I plugged it into my laptop it wouldn't mount.  I got the following output 
from dmesg:

sd 4:0:0:0: [sdb] 1984000 512-byte hardware sectors (1016 MB)
sd 4:0:0:0: [sdb] Write Protect is off
sd 4:0:0:0: [sdb] Mode Sense: 03 00 00 00
sd 4:0:0:0: [sdb] Assuming drive cache: write through
sd 4:0:0:0: [sdb] 1984000 512-byte hardware sectors (1016 MB)
sd 4:0:0:0: [sdb] Write Protect is off
sd 4:0:0:0: [sdb] Mode Sense: 03 00 00 00
sd 4:0:0:0: [sdb] Assuming drive cache: write through
 sdb: sdb1
Unable to identify CD-ROM format.
Unable to load NLS charset cp437
FAT: codepage cp437 not found
NTFS-fs error (device sdb1): read_ntfs_boot_sector(): Primary boot sector is 
invalid.
NTFS-fs error (device sdb1): read_ntfs_boot_sector(): Mount option 
errors=recover not used. Aborting without trying to recover.
NTFS-fs error (device sdb1): ntfs_fill_super(): Not an NTFS volume.
VFS: Can't find ext3 filesystem on dev sdb1.
VFS: Can't find an ext2 filesystem on dev sdb1.

Now when I put an SD card into the external card reader I get exacly the same 
problem even though the SD card has been nowhere near vista
Any clues as to what is going on?

Matt
-- 
%%%
Dr. Matthew R. Lee
CASEB  ECIM
Departamento de Ecologia,
P. Universidad Catolica de Chile,
Alameda 340, Santiago.
CP 6513677
CHILE

[EMAIL PROTECTED]
[EMAIL PROTECTED]

URL: meiochile.matthewlee.org
%%%
-- 
[EMAIL PROTECTED] mailing list



Re: [gentoo-user] pendrive mounting problem

2007-08-15 Thread Hans-Werner Hilse
Hi,

On Wed, 15 Aug 2007 11:34:31 -0400 Matthew R. Lee
[EMAIL PROTECTED] wrote:

 A friend of mine recently put a pdf on my pendrive using windows
 vista.  When I plugged it into my laptop it wouldn't mount.  I got
 the following output from dmesg:
 [...]

How is it mounted? fstab entry? CLI? please provide the options you're
using. BTW, it's not all that common that those media types are NTFS.
In most cases, VFAT is in use (is that compiled into your kernel? NLS
support is currently missing from your kernel -- or not loaded
automatically if compiled as a module).

-hwh
-- 
[EMAIL PROTECTED] mailing list



Re: [gentoo-user] pendrive mounting problem

2007-08-15 Thread Matthew R. Lee
On Wednesday 15 August 2007 11:45, Hans-Werner Hilse wrote:
 Hi,

 On Wed, 15 Aug 2007 11:34:31 -0400 Matthew R. Lee

 [EMAIL PROTECTED] wrote:
  A friend of mine recently put a pdf on my pendrive using windows
  vista.  When I plugged it into my laptop it wouldn't mount.  I got
  the following output from dmesg:
  [...]

 How is it mounted? fstab entry? CLI? please provide the options you're
 using. BTW, it's not all that common that those media types are NTFS.
 In most cases, VFAT is in use (is that compiled into your kernel? NLS
 support is currently missing from your kernel -- or not loaded
 automatically if compiled as a module).

 -hwh
I'm using udev-104-r13
Said pendrive worked fine prior to being inserted into the vista laptop
I recently compiled a new kernel 2.6.22-gentoo-r2 with all the same support 
for file systems as the previous kernel, with the exception that I compiled 
in support for ntfs.

-- 
%%%
Dr. Matthew R. Lee
CASEB  ECIM
Departamento de Ecologia,
P. Universidad Catolica de Chile,
Alameda 340, Santiago.
CP 6513677
CHILE

[EMAIL PROTECTED]
[EMAIL PROTECTED]

URL: meiochile.matthewlee.org
%%%
-- 
[EMAIL PROTECTED] mailing list



Re: [gentoo-user] pendrive mounting problem

2007-08-15 Thread Matthew R. Lee
On Wednesday 15 August 2007 11:55, Matthew R. Lee wrote:
 On Wednesday 15 August 2007 11:45, Hans-Werner Hilse wrote:
  Hi,
 
  On Wed, 15 Aug 2007 11:34:31 -0400 Matthew R. Lee
 
  [EMAIL PROTECTED] wrote:
   A friend of mine recently put a pdf on my pendrive using windows
   vista.  When I plugged it into my laptop it wouldn't mount.  I got
   the following output from dmesg:
   [...]
 
  How is it mounted? fstab entry? CLI? please provide the options you're
  using. BTW, it's not all that common that those media types are NTFS.
  In most cases, VFAT is in use (is that compiled into your kernel? NLS
  support is currently missing from your kernel -- or not loaded
  automatically if compiled as a module).
 
  -hwh

 I'm using udev-104-r13
 Said pendrive worked fine prior to being inserted into the vista laptop
 I recently compiled a new kernel 2.6.22-gentoo-r2 with all the same support
 for file systems as the previous kernel, with the exception that I compiled
 in support for ntfs.
I've just checked the kernel config and all the NLS support is compiled in

-- 
%%%
Dr. Matthew R. Lee
CASEB  ECIM
Departamento de Ecologia,
P. Universidad Catolica de Chile,
Alameda 340, Santiago.
CP 6513677
CHILE

[EMAIL PROTECTED]
[EMAIL PROTECTED]

URL: meiochile.matthewlee.org
%%%
-- 
[EMAIL PROTECTED] mailing list



Re: [gentoo-user] message i don't understand in dmesg

2007-08-15 Thread Ryan Sims
On 8/15/07, Elyahou ITTAH [EMAIL PROTECTED] wrote:
 ata1.00: exception Emask 0x2 SAct 0x1c SErr 0x0 action 0x2 frozen
 ata1.00: (spurious completions during NCQ issue=0x0 SAct=0x1c
 FIS=004040a1:0002)
 ata1.00: cmd 61/08:10:99:7c:b3/00:00:06:00:00/40 tag 2 cdb
 0x0 data 4096 out
  res 40/00:24:29:f2:b3/00:00:06:00:00/40 Emask 0x2
 (HSM violation)
 ata1.00: cmd 61/08:18:01:be:b3/00:00:06:00:00/40 tag 3 cdb
 0x0 data 4096 out
  res 40/00:24:29:f2:b3/00:00:06:00:00/40 Emask 0x2
 (HSM violation)
 ata1.00: cmd 61/08:20:29:f2:b3/00:00:06:00:00/40 tag 4 cdb
 0x0 data 4096 out
  res 40/00:24:29:f2:b3/00:00:06:00:00/40 Emask 0x2
 (HSM violation)
 ata1: soft resetting port
 ata1: SATA link up 1.5 Gbps (SStatus 113 SControl 300)
 ata1.00: configured for UDMA/133
 ata1: EH complete
 sd 0:0:0:0: [sda] 312581808 512-byte hardware sectors (160042 MB)
 sd 0:0:0:0: [sda] Write Protect is off
 sd 0:0:0:0: [sda] Mode Sense: 00 3a 00 00
 sd 0:0:0:0: [sda] Write cache: enabled, read cache: enabled, doesn't support
 DPO or FUA

 it is repeated often.
 what that mean ?


Google turned up this thread on LKML:
http://lkml.org/lkml/2007/6/6/195

You might google around on your drive's model, see if it's NCQ blacklisted.


-- 
Ryan W Sims
-- 
[EMAIL PROTECTED] mailing list



[gentoo-user] phpMyAdmin

2007-08-15 Thread Thufir
I thought I'd seen a phpmyadmin configuration gui at gentoo.org, but 
can't seem to locate it again.  http://localhost/phpmyadmin gives a 
list of files.



thanks,

Thufir

-- 
[EMAIL PROTECTED] mailing list



Re: [gentoo-user] pendrive mounting problem

2007-08-15 Thread Hans-Werner Hilse
Hi,

On Wed, 15 Aug 2007 12:06:50 -0400
Matthew R. Lee [EMAIL PROTECTED] wrote:

  I'm using udev-104-r13

Hm, but udev doesn't do the mount, does it? I would really be
interested whether there is a fstab entry (and what it is) and what
mount command you use, if any. Some software actually must be
responsible for the mount, right?

The output you have cited was from the kernel log and it looks as if

  Said pendrive worked fine prior to being inserted into the vista laptop
  I recently compiled a new kernel 2.6.22-gentoo-r2 with all the same support
  for file systems as the previous kernel, with the exception that I compiled
  in support for ntfs.

So I guess the stick, or at least the card, is not NTFS but FAT (since
it worked before), right?

What would be interesting is the output of file -s /dev/sdb1. It
should print some details about the partition (you need to run it as
root).

 I've just checked the kernel config and all the NLS support is compiled in

Do you have automatic module loading enabled? Otherwise you might need
to probe the NLS module for cp437 manually before mounting (I really
think it is just a warning in the kernel log, but I'm not sure --
especially, if you have autofs in the action, which it also looks like,
since the probing of all the file systems). Try modprobe nls_cp437.

-hwh
-- 
[EMAIL PROTECTED] mailing list



Re: [gentoo-user] phpMyAdmin

2007-08-15 Thread Hans-Werner Hilse
Hi,

On Wed, 15 Aug 2007 17:15:17 + (UTC)
Thufir [EMAIL PROTECTED] wrote:

 I thought I'd seen a phpmyadmin configuration gui at gentoo.org, but 
 can't seem to locate it again.  http://localhost/phpmyadmin gives a 
 list of files.

If those files you see actually are the phpMyAdmin files: Web server
not properly configured to search for an index.php? Or no PHP at all?

-hwh
-- 
[EMAIL PROTECTED] mailing list



Re: [gentoo-user] pendrive mounting problem

2007-08-15 Thread Matthew R. Lee
On Wednesday 15 August 2007 13:53, Hans-Werner Hilse wrote:
 Hi,

 On Wed, 15 Aug 2007 12:06:50 -0400

 Matthew R. Lee [EMAIL PROTECTED] wrote:
   I'm using udev-104-r13

 Hm, but udev doesn't do the mount, does it? I would really be
 interested whether there is a fstab entry (and what it is) and what
 mount command you use, if any. Some software actually must be
 responsible for the mount, right?

fstab doesn't mention /dev/sdb1
normally I just plug the pendrive in, the icon pops up in media:/ in 
konqueror, I click on it and do what I need to do

 The output you have cited was from the kernel log and it looks as if

   Said pendrive worked fine prior to being inserted into the vista laptop
   I recently compiled a new kernel 2.6.22-gentoo-r2 with all the same
   support for file systems as the previous kernel, with the exception
   that I compiled in support for ntfs.

 So I guess the stick, or at least the card, is not NTFS but FAT (since
 it worked before), right?
Correct it is, was, FAT

 What would be interesting is the output of file -s /dev/sdb1. It
 should print some details about the partition (you need to run it as
 root).

/dev/sdb1: x86 boot sector, code offset 0x3c, OEM-ID MSDOS5.0, 
sectors/cluster 16, root entries 512, Media descriptor 0xf8, sectors/FAT 248, 
heads 255, hidden sectors 32, sectors 1015776 (volumes  32 MB) , serial 
number 0xb465569d, unlabeled, FAT (16 bit)

  I've just checked the kernel config and all the NLS support is compiled
  in

 Do you have automatic module loading enabled? Otherwise you might need
 to probe the NLS module for cp437 manually before mounting (I really
 think it is just a warning in the kernel log, but I'm not sure --
 especially, if you have autofs in the action, which it also looks like,
 since the probing of all the file systems). Try modprobe nls_cp437.

I do have automatic module loading enabled
All the file system stuff including NLS is compiled into the kernel, not as 
modules.

modprobe mls_cp437 returns
FATAL: Module nls cp437 not found
 -hwh

-- 
%%%
Dr. Matthew R. Lee
CASEB  ECIM
Departamento de Ecologia,
P. Universidad Catolica de Chile,
Alameda 340, Santiago.
CP 6513677
CHILE

[EMAIL PROTECTED]
[EMAIL PROTECTED]

URL: meiochile.matthewlee.org
%%%
-- 
[EMAIL PROTECTED] mailing list



Re: [gentoo-user] Merlin XU870

2007-08-15 Thread Michael Gisbers
Am Mittwoch 15 August 2007 schrieb Florian Philipp:
 Do you mean that I don't need these HSDPA-scripts they offer when I use
 umtsmon?

Yes, umtsmon can be used instead of those HSDPA-scripts.

-- 
 Michael Gisbers
 http://www.lugor.de


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


Re: [gentoo-user] Merlin XU870

2007-08-15 Thread Michael Gisbers
Am Mittwoch 15 August 2007 schrieb Florian Philipp:
 Okay, I've found option.ko and airprime.ko. tail -f /var/log/messages still
 doesn't output anything. Might that be a configuration issue (syslog-ng?
 kernel?)?

Which kernel do you use?

-- 
 Michael Gisbers
 http://www.lugor.de


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


Re: [gentoo-user] pendrive mounting problem

2007-08-15 Thread Hans-Werner Hilse
Hi,

On Wed, 15 Aug 2007 14:30:08 -0400
Matthew R. Lee [EMAIL PROTECTED] wrote:

 fstab doesn't mention /dev/sdb1
 normally I just plug the pendrive in, the icon pops up in media:/ in 
 konqueror, I click on it and do what I need to do

Hm, OK, then other daemons come into action. Unfortunately, I'm not
using KDE, so I've got no idea where that may make a difference.

  So I guess the stick, or at least the card, is not NTFS but FAT (since
  it worked before), right?
 Correct it is, was, FAT

Yep:

 /dev/sdb1: x86 boot sector, code offset 0x3c, OEM-ID MSDOS5.0, 
 sectors/cluster 16, root entries 512, Media descriptor 0xf8, sectors/FAT 248, 
 heads 255, hidden sectors 32, sectors 1015776 (volumes  32 MB) , serial 
 number 0xb465569d, unlabeled, FAT (16 bit)

   I've just checked the kernel config and all the NLS support is compiled
   in

Ah, then that might be why there's no nls_cp437 module.

Since I got no idea how to debug the KDE part, all I can suggest is
issuing the following as root: mount -t vfat /dev/sdb1 /mnt and see
if it gets mounted beneath /mnt. That way, you can exclude media and
kernel issues. If errors show up, post them and the new lines in the
kernel log.

-hwh
-- 
[EMAIL PROTECTED] mailing list



Re: [gentoo-user] Strange behavior when booting with softlevel=single

2007-08-15 Thread Eric Martin
have you tried appending 1 to your boot parameters in grub?

On 8/12/07, John covici [EMAIL PROTECTED] wrote:

 Hi.  When I boot using softlevel=single -- what seems to be happening
 is that it runs the default level and then  stops all of those
 processes since there is actually nothing in the /etc/runlevels/single
 directory.  Is there anyway to have it not run the default level first
 -- as this causes some strange problem when a script in the default
 level starts another process which I then have to kill manually.

 Thanks.

 --
 Your life is like a penny.  You're going to lose it.  The question is:
 How do
 you spend it?

  John Covici
  [EMAIL PROTECTED]
 --
 [EMAIL PROTECTED] mailing list




Re: [gentoo-user] vim encoding

2007-08-15 Thread Willie Wong
On Tue, Aug 14, 2007 at 08:38:38AM +0200, Penguin Lover Michal 'vorner' Vaner 
squawked:
 Hello
 
 On Mon, Aug 13, 2007 at 10:42:17PM +0100, Mick wrote:
  Hmm, I just checked a utf-8 file after I edited it and it says:
  
  :set encoding
   encoding=latin1
 
 I would guess your UTF-8 file has no accents, or other characters. In
 other words, it can be considered pure ASCII, which means Vim can safely
 assume it is latin1 encoded text - there is no difference no matter
 which reasonable encoding it chooses. (The encoding is not saved in the
 file, it is guessed from what is saved there)

Uh, that's not exactly correct.

encoding is the value assumed from LANG that the buffer uses: it is
the encoding of the terminal you are using, and how you enter text and
how the buffer should be displayed on the screen. 

fileencoding (:help fenc) is what determines how the files should be
saved to disk. It is automatically guessed by vim based on the file
in question and the variable fileencodings. 

Only when vim cannot guess what encoding the file originally was (in
which case fenc is the empty string), or when you start editing a new
file without specifying fenc, will vim actually convert and save the
file using the encoding specified in the enc variable. Given that the
default vim install on gentoo has utf8 among the fileencodings
options, vim should correctly detect a utf8 file as such, and even
though you are editing it in a latin1 environment, convert it back to
utf8 on save. 

W
-- 
Statistics are like a Bikini: 
  showing interesting details but hiding the important stuff.
Sortir en Pantoufles: up 250 days, 19:22
-- 
[EMAIL PROTECTED] mailing list



Re: [gentoo-user] pendrive mounting problem

2007-08-15 Thread Matthew R. Lee
On Wednesday 15 August 2007 16:32, Hans-Werner Hilse wrote:

 Since I got no idea how to debug the KDE part, all I can suggest is
 issuing the following as root: mount -t vfat /dev/sdb1 /mnt and see
 if it gets mounted beneath /mnt. That way, you can exclude media and
 kernel issues. If errors show up, post them and the new lines in the
 kernel log.

 -hwh
trying to mount it from the command line didn't work, here's the output from 
dmesg

usb 1-4.4: new high speed USB device using ehci_hcd and address 10
usb 1-4.4: configuration #1 chosen from 1 choice
hub 1-4.4:1.0: USB hub found
hub 1-4.4:1.0: 1 port detected
usb 1-4.4.1: new high speed USB device using ehci_hcd and address 11
usb 1-4.4.1: configuration #1 chosen from 1 choice
scsi6 : SCSI emulation for USB Mass Storage devices
usb-storage: device found at 11
usb-storage: waiting for device to settle before scanning
scsi 6:0:0:0: Direct-Access Corsair  Flash Voyager1.00 PQ: 0 ANSI: 0 
CCS
sd 6:0:0:0: [sdb] 1015808 512-byte hardware sectors (520 MB)
sd 6:0:0:0: [sdb] Write Protect is off
sd 6:0:0:0: [sdb] Mode Sense: 00 26 00 00
sd 6:0:0:0: [sdb] Assuming drive cache: write through
sd 6:0:0:0: [sdb] 1015808 512-byte hardware sectors (520 MB)
sd 6:0:0:0: [sdb] Write Protect is off
sd 6:0:0:0: [sdb] Mode Sense: 00 26 00 00
sd 6:0:0:0: [sdb] Assuming drive cache: write through
 sdb: sdb1
sd 6:0:0:0: [sdb] Attached SCSI removable disk
sd 6:0:0:0: Attached scsi generic sg1 type 0
usb-storage: device scan complete
Unable to identify CD-ROM format.
Unable to load NLS charset cp437
FAT: codepage cp437 not found
NTFS-fs warning (device sdb1): is_boot_sector_ntfs(): Invalid boot sector 
checksum.
NTFS-fs error (device sdb1): read_ntfs_boot_sector(): Primary boot sector is 
invalid.
NTFS-fs error (device sdb1): read_ntfs_boot_sector(): Mount option 
errors=recover not used. Aborting without trying to recover.
NTFS-fs error (device sdb1): ntfs_fill_super(): Not an NTFS volume.
VFS: Can't find ext3 filesystem on dev sdb1.
VFS: Can't find an ext2 filesystem on dev sdb1.

-- 
%%%
Dr. Matthew R. Lee
CASEB  ECIM
Departamento de Ecologia,
P. Universidad Catolica de Chile,
Alameda 340, Santiago.
CP 6513677
CHILE

[EMAIL PROTECTED]
[EMAIL PROTECTED]

URL: meiochile.matthewlee.org
%%%
-- 
[EMAIL PROTECTED] mailing list



Re: [gentoo-user] pendrive mounting problem

2007-08-15 Thread Mick
On Wednesday 15 August 2007, Matthew R. Lee wrote:

 trying to mount it from the command line didn't work, here's the output
 from dmesg
 NTFS-fs warning (device sdb1): is_boot_sector_ntfs(): Invalid boot sector
 checksum.
 NTFS-fs error (device sdb1): read_ntfs_boot_sector(): Primary boot sector
 is invalid.
 NTFS-fs error (device sdb1): read_ntfs_boot_sector(): Mount option
 errors=recover not used. Aborting without trying to recover.
 NTFS-fs error (device sdb1): ntfs_fill_super(): Not an NTFS volume.
 VFS: Can't find ext3 filesystem on dev sdb1.
 VFS: Can't find an ext2 filesystem on dev sdb1.

Can you still mount it with WinXP/Vista?  What do they report as a fs (under 
admin tools/Computer Management/Disk manager)?

You may want to try pmount /dev/sda and, or /dev/sda1.

Also give ntfs-3g a try (especially if you need to write to this device).

Finally, I have had two boxen with hald problems after recent updates (it 
would not start).  Check that dbus and hald are actually running.

HTH.
-- 
Regards,
Mick


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


Re: [gentoo-user] message i don't understand in dmesg

2007-08-15 Thread Elyahou ITTAH
I think that my HD doe's not support ncq...

What i have to do ?

2007/8/15, Ryan Sims [EMAIL PROTECTED]:

 On 8/15/07, Elyahou ITTAH [EMAIL PROTECTED] wrote:
  ata1.00: exception Emask 0x2 SAct 0x1c SErr 0x0 action 0x2 frozen
  ata1.00: (spurious completions during NCQ issue=0x0 SAct=0x1c
  FIS=004040a1:0002)
  ata1.00: cmd 61/08:10:99:7c:b3/00:00:06:00:00/40 tag 2 cdb
  0x0 data 4096 out
   res 40/00:24:29:f2:b3/00:00:06:00:00/40 Emask 0x2
  (HSM violation)
  ata1.00: cmd 61/08:18:01:be:b3/00:00:06:00:00/40 tag 3 cdb
  0x0 data 4096 out
   res 40/00:24:29:f2:b3/00:00:06:00:00/40 Emask 0x2
  (HSM violation)
  ata1.00: cmd 61/08:20:29:f2:b3/00:00:06:00:00/40 tag 4 cdb
  0x0 data 4096 out
   res 40/00:24:29:f2:b3/00:00:06:00:00/40 Emask 0x2
  (HSM violation)
  ata1: soft resetting port
  ata1: SATA link up 1.5 Gbps (SStatus 113 SControl 300)
  ata1.00: configured for UDMA/133
  ata1: EH complete
  sd 0:0:0:0: [sda] 312581808 512-byte hardware sectors (160042 MB)
  sd 0:0:0:0: [sda] Write Protect is off
  sd 0:0:0:0: [sda] Mode Sense: 00 3a 00 00
  sd 0:0:0:0: [sda] Write cache: enabled, read cache: enabled, doesn't
 support
  DPO or FUA
 
  it is repeated often.
  what that mean ?
 

 Google turned up this thread on LKML:
 http://lkml.org/lkml/2007/6/6/195

 You might google around on your drive's model, see if it's NCQ
 blacklisted.


 --
 Ryan W Sims
 --
 [EMAIL PROTECTED] mailing list




Re: [gentoo-user] message i don't understand in dmesg

2007-08-15 Thread Elyahou ITTAH
It's a Western Digital Scorpio 160Go

2007/8/16, Elyahou ITTAH [EMAIL PROTECTED]:

 I think that my HD doe's not support ncq...

 What i have to do ?

 2007/8/15, Ryan Sims [EMAIL PROTECTED]:
 
  On 8/15/07, Elyahou ITTAH [EMAIL PROTECTED] wrote:
   ata1.00: exception Emask 0x2 SAct 0x1c SErr 0x0 action 0x2 frozen
   ata1.00: (spurious completions during NCQ issue=0x0 SAct=0x1c
   FIS=004040a1:0002)
   ata1.00: cmd 61/08:10:99:7c:b3/00:00:06:00:00/40 tag 2 cdb
   0x0 data 4096 out
res 40/00:24:29:f2:b3/00:00:06:00:00/40 Emask 0x2
   (HSM violation)
   ata1.00: cmd 61/08:18:01:be:b3/00:00:06:00:00/40 tag 3 cdb
   0x0 data 4096 out
res 40/00:24:29:f2:b3/00:00:06:00:00/40 Emask 0x2
   (HSM violation)
   ata1.00: cmd 61/08:20:29:f2:b3/00:00:06:00:00/40 tag 4 cdb
   0x0 data 4096 out
res 40/00:24:29:f2:b3/00:00:06:00:00/40 Emask 0x2
   (HSM violation)
   ata1: soft resetting port
   ata1: SATA link up 1.5 Gbps (SStatus 113 SControl 300)
   ata1.00: configured for UDMA/133
   ata1: EH complete
   sd 0:0:0:0: [sda] 312581808 512-byte hardware sectors (160042 MB)
   sd 0:0:0:0: [sda] Write Protect is off
   sd 0:0:0:0: [sda] Mode Sense: 00 3a 00 00
   sd 0:0:0:0: [sda] Write cache: enabled, read cache: enabled, doesn't
  support
   DPO or FUA
  
   it is repeated often.
   what that mean ?
  
 
  Google turned up this thread on LKML:
  http://lkml.org/lkml/2007/6/6/195
 
  You might google around on your drive's model, see if it's NCQ
  blacklisted.
 
 
  --
  Ryan W Sims
  --
  [EMAIL PROTECTED] mailing list
 
 



Re: [gentoo-user] pendrive mounting problem

2007-08-15 Thread Matthew R. Lee
On Wednesday 15 August 2007 18:38, Xav' wrote:

 You can see here that codepage cp437, which is needed by FAT to mount your
 key, is not found.
 So you have to compile it in your kernel as module or builtin, as you wish,
 by activating the option under
 File Systems -- Native Language Support -- M Codepage 437 (United
 States, Canada)
 After recompile your kernel,reboot and enjoy mounting your key ;)

As I stated in earlier posts, the NIS support is compiled into my current 
kernel, atleast that's what the .config states

-- 
%%%
Dr. Matthew R. Lee
CASEB  ECIM
Departamento de Ecologia,
P. Universidad Catolica de Chile,
Alameda 340, Santiago.
CP 6513677
CHILE

[EMAIL PROTECTED]
[EMAIL PROTECTED]

URL: meiochile.matthewlee.org
%%%
-- 
[EMAIL PROTECTED] mailing list



Re: [gentoo-user] pendrive mounting problem

2007-08-15 Thread Matthew R. Lee
On Wednesday 15 August 2007 18:09, Mick wrote:

 Can you still mount it with WinXP/Vista?  What do they report as a fs
 (under admin tools/Computer Management/Disk manager)?
Don't know.  I don't have a windows machine and it's a public holiday here, 
there's no one else in the lab
 You may want to try pmount /dev/sda and, or /dev/sda1.
Didn't work. Same problem
 Also give ntfs-3g a try (especially if you need to write to this device).

 Finally, I have had two boxen with hald problems after recent updates (it
 would not start).  Check that dbus and hald are actually running.
dbus and hald are both running
 HTH.
Matt
-- 
%%%
Dr. Matthew R. Lee
CASEB  ECIM
Departamento de Ecologia,
P. Universidad Catolica de Chile,
Alameda 340, Santiago.
CP 6513677
CHILE

[EMAIL PROTECTED]
[EMAIL PROTECTED]

URL: meiochile.matthewlee.org
%%%
-- 
[EMAIL PROTECTED] mailing list



Re: [gentoo-user] pendrive mounting problem

2007-08-15 Thread Xav'
Matthew R. Lee a écrit :
 On Wednesday 15 August 2007 16:32, Hans-Werner Hilse wrote:
 
 Since I got no idea how to debug the KDE part, all I can suggest is
 issuing the following as root: mount -t vfat /dev/sdb1 /mnt and see
 if it gets mounted beneath /mnt. That way, you can exclude media and
 kernel issues. If errors show up, post them and the new lines in the
 kernel log.

 -hwh
 trying to mount it from the command line didn't work, here's the output from 
 dmesg
 
 usb 1-4.4: new high speed USB device using ehci_hcd and address 10
 usb 1-4.4: configuration #1 chosen from 1 choice
 hub 1-4.4:1.0: USB hub found
 hub 1-4.4:1.0: 1 port detected
 usb 1-4.4.1: new high speed USB device using ehci_hcd and address 11
 usb 1-4.4.1: configuration #1 chosen from 1 choice
 scsi6 : SCSI emulation for USB Mass Storage devices
 usb-storage: device found at 11
 usb-storage: waiting for device to settle before scanning
 scsi 6:0:0:0: Direct-Access Corsair  Flash Voyager1.00 PQ: 0 ANSI: 0 
 CCS
 sd 6:0:0:0: [sdb] 1015808 512-byte hardware sectors (520 MB)
 sd 6:0:0:0: [sdb] Write Protect is off
 sd 6:0:0:0: [sdb] Mode Sense: 00 26 00 00
 sd 6:0:0:0: [sdb] Assuming drive cache: write through
 sd 6:0:0:0: [sdb] 1015808 512-byte hardware sectors (520 MB)
 sd 6:0:0:0: [sdb] Write Protect is off
 sd 6:0:0:0: [sdb] Mode Sense: 00 26 00 00
 sd 6:0:0:0: [sdb] Assuming drive cache: write through
  sdb: sdb1
 sd 6:0:0:0: [sdb] Attached SCSI removable disk
 sd 6:0:0:0: Attached scsi generic sg1 type 0
 usb-storage: device scan complete
 Unable to identify CD-ROM format.
 Unable to load NLS charset cp437
 FAT: codepage cp437 not found

You can see here that codepage cp437, which is needed by FAT to mount your key,
is not found.
So you have to compile it in your kernel as module or builtin, as you wish, by
activating the option under
File Systems -- Native Language Support -- M Codepage 437 (United States,
Canada)
After recompile your kernel,reboot and enjoy mounting your key ;)

 NTFS-fs warning (device sdb1): is_boot_sector_ntfs(): Invalid boot sector 
 checksum.
 NTFS-fs error (device sdb1): read_ntfs_boot_sector(): Primary boot sector is 
 invalid.
 NTFS-fs error (device sdb1): read_ntfs_boot_sector(): Mount option 
 errors=recover not used. Aborting without trying to recover.
 NTFS-fs error (device sdb1): ntfs_fill_super(): Not an NTFS volume.
 VFS: Can't find ext3 filesystem on dev sdb1.
 VFS: Can't find an ext2 filesystem on dev sdb1.
 

HTH,
Xavier Parizet

--
http://www.linuxant.fr



signature.asc
Description: OpenPGP digital signature


Re: [gentoo-user] message i don't understand in dmesg

2007-08-15 Thread Ryan Sims
On 8/15/07, Elyahou ITTAH [EMAIL PROTECTED] wrote:
 I think that my HD doe's not support ncq...

 What i have to do ?

Use google.

http://linux-ata.org/faq.html#ncq
http://linux-ata.org/driver-status.html

Also, please don't top-post.


-- 
Ryan W Sims
-- 
[EMAIL PROTECTED] mailing list



[gentoo-user] Samsung 971p

2007-08-15 Thread Danis Petkakis
hi there...i'm thinking of buying the tft monitor mentioned in the subject
of this topic and i would like to know how it comprehends with gentoo...i'm
a little confused because the monitor doesn't have any switches to control
it rather Samsung gives a software called magictune to do all of the
controlling...so my question is will i be able to work with this monitor in
my gentoo and if so how will i be able to control the brightness/contrast
and the other feautures?? thanks for any response...


Re: [gentoo-user] Samsung 971p

2007-08-15 Thread Colleen Beamer
Danis Petkakis wrote:
 hi there...i'm thinking of buying the tft monitor mentioned in the
 subject of this topic and i would like to know how it comprehends
 with gentoo...i'm a little confused because the monitor doesn't have
 any switches to control it rather Samsung gives a software called
 magictune to do all of the controlling...so my question is will i be
 able to work with this monitor in my gentoo and if so how will i be
 able to control the brightness/contrast and the other feautures??
 thanks for any response...

I don't know if this will help, but I have a Samsung 193P.  It,
likewise, has no controls, but I didn't have any problems with
Gentoo.  Along with Samsung's directions for installing the monitor,
were instructions on use with Linux, so I was pretty impressed.

As I said, this may not be of any use to you because it's a different
monitor model, but thought I would share anyway.

Regards,

Colleen


-- 

Registered Linux User #411143 with the Linux Counter, http://counter.li.org

-- 
[EMAIL PROTECTED] mailing list



[gentoo-user] Can't cross-compile anything with a crossdev-gen'd toolchain

2007-08-15 Thread James Ausmus
 am using the xmerge script as defined in
http://www.gentoo.org/proj/en/base/embedded/cross-development.xml, all
I get are either:

/usr/libexec/gcc/arm-unknown-linux-gnueabi/ld: crt1.o: No such file:
No such file or directory

Or (during configure):

Configuring NCURSES 5.6 ABI 5 (Wed Aug 15 16:42:54 PDT 2007)
checking build system type... x86_64-pc-linux-gnu
checking host system type... arm-unknown-linux-gnueabi
checking target system type... arm-unknown-linux-gnueabi
Configuring for linux-gnueabi
checking for prefix... /usr
checking for arm-unknown-linux-gnueabi-gcc... arm-unknown-linux-gnueabi-gcc
checking for C compiler default output... configure: error: C compiler
cannot create executables

Which, after looking at the config.log, is directly related to the
above issue with crt1.o

I have checked in /usr/arm-unknown-linux-gnueabi/usr/lib, and the
crt1.o file does exist there. I have also successfully xmerge'd glibc
into my separate arm_root directory, and /mnt/arm_root/usr/lib/crt1.o
exists there as well.


Any thoughts?

-James
-- 
[EMAIL PROTECTED] mailing list



Re: [gentoo-user] mplayerplug-in not working

2007-08-15 Thread Eric Martin
in firefox, goto

about:plugins

this will tell you what plugins are in use by firefox.  if the mplayer
plugin isn't listed you're not using it.

On 8/13/07, Arnau Bria [EMAIL PROTECTED] wrote:

 On Mon, 13 Aug 2007 12:17:50 -0400
 Phil Sexton wrote:

  Arnau Bria wrote:
   Hi,
  
   I'd like to view some videos hosted in a gallery.
   So, when I go to the web I see I need x-msvideo, so I install
   mplayerplugin-in, and I make a link:
  
   [EMAIL PROTECTED] ~/.mozilla/plugins $ pwd
   /home/arnau/.mozilla/plugins
   [EMAIL PROTECTED] ~/.mozilla/plugins $ ln
   -s /usr/lib/nsbrowser/plugins/mplayerplug-in.so ./
  
   But after restarting firefox, I cannot see videos...
  
   any clue?
 
  Have you installed the essential codecs?
 
  http://www.mplayerhq.hu/design7/dload.html
 Well, I had some (win32codecs use flag) in  /usr/lib/win32, and now I
 have all...

 no better results :-(

 TA
 --
 Arnau Bria
 http://blog.emergetux.net
 Bombing for peace is like fucking for virginity
 --
 [EMAIL PROTECTED] mailing list




Re: [gentoo-user] pendrive mounting problem

2007-08-15 Thread Boyd Stephen Smith Jr.
On Wednesday 15 August 2007, Matthew R. Lee [EMAIL PROTECTED] wrote 
about 'Re: [gentoo-user] pendrive mounting problem':
 On Wednesday 15 August 2007 18:38, Xav' wrote:
  You can see here that codepage cp437, which is needed by FAT to mount
  your key, is not found.
  So you have to compile it in your kernel as module or builtin, as you
  wish, by activating the option under
  File Systems -- Native Language Support -- M Codepage 437 (United
  States, Canada)
  After recompile your kernel,reboot and enjoy mounting your key ;)

 As I stated in earlier posts, the NIS support is compiled into my
 current kernel, atleast that's what the .config states

Okay, but there a over a dozen modules for specific character sets that all 
depend on the main nls support option.  You don't seem to have the cp437 
driver.

-- 
Boyd Stephen Smith Jr. ,= ,-_-. =. 
[EMAIL PROTECTED]  ((_/)o o(\_))
ICQ: 514984 YM/AIM: DaTwinkDaddy   `-'(. .)`-' 
http://iguanasuicide.org/  \_/ 


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


[gentoo-user] fstab question

2007-08-15 Thread Colleen Beamer
Hi,

I have a situation that, before, kind of bugged me but I was able to
deal with it.  However, now I've added another wrinkle to the situation.

I have a usb external hard drive attached to my computer.  It's an
Iomega and has a power switch.  In fstab it is /dev/sdc1 and /dev/sdc2
because I've configured it to have two ext3 partitions.  If the drive is
not powered on when I boot and then, I turn it on, I have to reboot to
get fstab to recognize it.  That has always sort of irked me, but I
dealt with it because the drive holds only my music files.

The wrinkle is that my son bought me a usbstick.  I can mount it just
fine.  However, if my usb external hard drive is not powered on on boot,
the stick is recognized at sdc1.  If the usb drive is powered on then,
the stick is recognized as sdd1.  So, this means that if I want to use
one or the other or both, I keep having to change fstab.  Is there a way
I can set the device to always be the same - i.e.  I always want the usb
external drive to be sdc1 and sdc2 and the usb stick to be sdd1.

I know!  I only want the world.  If there isn't a way that this can be
done, then I'll live with the situation.  It's not earth shattering!

Thanks in advance.

Regards,

Colleen

-- 

Registered Linux User #411143 with the Linux Counter, http://counter.li.org 

-- 
[EMAIL PROTECTED] mailing list



Re: [gentoo-user] fstab question

2007-08-15 Thread Rumen Yotov
On (15/08/07 22:49) Colleen Beamer wrote:
 Hi,
 
 I have a situation that, before, kind of bugged me but I was able to
 deal with it.  However, now I've added another wrinkle to the situation.
 
 I have a usb external hard drive attached to my computer.  It's an
 Iomega and has a power switch.  In fstab it is /dev/sdc1 and /dev/sdc2
 because I've configured it to have two ext3 partitions.  If the drive is
 not powered on when I boot and then, I turn it on, I have to reboot to
 get fstab to recognize it.  That has always sort of irked me, but I
 dealt with it because the drive holds only my music files.
 
 The wrinkle is that my son bought me a usbstick.  I can mount it just
 fine.  However, if my usb external hard drive is not powered on on boot,
 the stick is recognized at sdc1.  If the usb drive is powered on then,
 the stick is recognized as sdd1.  So, this means that if I want to use
 one or the other or both, I keep having to change fstab.  Is there a way
 I can set the device to always be the same - i.e.  I always want the usb
 external drive to be sdc1 and sdc2 and the usb stick to be sdd1.
 
 I know!  I only want the world.  If there isn't a way that this can be
 done, then I'll live with the situation.  It's not earth shattering!
 
 Thanks in advance.
 
 Regards,
 
 Colleen
 
 -- 
 
 Registered Linux User #411143 with the Linux Counter, http://counter.li.org 
 
 -- 
 [EMAIL PROTECTED] mailing list
 
Hi,

Put ,noauto after defaults in the line (in fstab) where are mount your
external drive.
Thus fstab will not try to automount it on boot.
But will reserve it (sda1 etc.) to be available later, so usbstick will
not take it.
Check man mount.
HTH. Rumen
-- 
[EMAIL PROTECTED] mailing list



Re: [gentoo-user] fstab question

2007-08-15 Thread Tim

Colleen Beamer wrote:

Hi,

I have a situation that, before, kind of bugged me but I was able to
deal with it.  However, now I've added another wrinkle to the situation.

I have a usb external hard drive attached to my computer.  It's an
Iomega and has a power switch.  In fstab it is /dev/sdc1 and /dev/sdc2
because I've configured it to have two ext3 partitions.  If the drive is
not powered on when I boot and then, I turn it on, I have to reboot to
get fstab to recognize it.  That has always sort of irked me, but I
dealt with it because the drive holds only my music files.

The wrinkle is that my son bought me a usbstick.  I can mount it just
fine.  However, if my usb external hard drive is not powered on on boot,
the stick is recognized at sdc1.  If the usb drive is powered on then,
the stick is recognized as sdd1.  So, this means that if I want to use
one or the other or both, I keep having to change fstab.  Is there a way
I can set the device to always be the same - i.e.  I always want the usb
external drive to be sdc1 and sdc2 and the usb stick to be sdd1.

I know!  I only want the world.  If there isn't a way that this can be
done, then I'll live with the situation.  It's not earth shattering!

Thanks in advance.

Regards,

Colleen



This is actually semi-easy. What you need is udev rules for each of the 
devices, so what you need first is some info. Do an 'emerge usbutils' 
then run 'lsusb -v'. This will output a bunch of info about the 
currently connected USB devices. Then, look for the Vendor and Model 
strings, and put them into a udev rule in /etc/udev/rules.d/. For 
example, my udev rules include an entry like this for my iPod:


BUS==scsi, SYSFS{vendor}==Apple*, SYSFS{model}==iPod*, \ 
KERNEL==sd?2, NAME=%k, SYMLINK+=ipod


This tells udev that it should look for a device on a SCSI bus (which 
covers USB as well) with a vendor string starting with Apple and a model 
string starting with iPod, that would normally have a device name of 
/dev/sd{something}2. It then tells udev to create a symlink to this 
device at /dev/ipod (the SYMLINK+= part).


After that, just change your /etc/fstab to reflect the device symlinks 
that you created, and voila! You still have to mount them manually, 
though, unless something new's come along I'm not aware of.


This is a really simplified explanation of udev, so for a more advanced 
guide, Gentoo provides some excellent documentation at:


http://gentoo-wiki.com/UDEV

Good luck! And remember: either hotplug your devices or run 'udevstart' 
to test your rules!

--
[EMAIL PROTECTED] mailing list



Re: [gentoo-user] fstab question

2007-08-15 Thread Ow Mun Heng
 Colleen Beamer wrote:
  The wrinkle is that my son bought me a usbstick.  I can mount it just
  fine.  However, if my usb external hard drive is not powered on on boot,
  the stick is recognized at sdc1.  If the usb drive is powered on then,
  the stick is recognized as sdd1.  So, this means that if I want to use
  one or the other or both, I keep having to change fstab.  Is there a way
  I can set the device to always be the same - i.e.  I always want the usb
  external drive to be sdc1 and sdc2 and the usb stick to be sdd1.


ACtually, as per suggestion from others, why don't you try out the
combination of HAL and gnome-volume-manager (if you use gnome) and udev?

Nowadays, everything will just be plug and play. No need to fiddle with
fstab.. just plug it in, HAL will see there a new device,
hotplug/coldplug will call out the necessary daemons and mount it
automatically for you.

Heck, gnome-2.18 seems like you can even specify specific mount points
for it..


-- 
[EMAIL PROTECTED] mailing list