Re: [gentoo-user] Re: how would I use device names in fstab?

2007-12-31 Thread Dirk Heinrichs
Am Montag, 31. Dezember 2007 schrieb Thufir:
 On Sat, 29 Dec 2007 09:16:26 +0100, Dirk Heinrichs wrote:
  Are the device files (links) present in /dev (ll /dev/cdr*)?

 arrakis ~ #
 arrakis ~ # ll /dev/cdr*
 lrwxrwxrwx 1 root root 3 Dec 30 23:11 /dev/cdrom - hdc
 lrwxrwxrwx 1 root root 3 Dec 30 23:11 /dev/cdrom1 - hdd
 lrwxrwxrwx 1 root root 3 Dec 30 23:11 /dev/cdrw1 - hdd

Looks good.

  Maybe no CDRom driver in your kernel or module not loaded? Or no iso9660
  filesystem module?

 I'm not sure.

  Could you post your kernel config, please.

 I ran zcat /proc/config.gz and put the results at  http://rafb.net/p/
 DirL3Z54.html for the kernel.

Other than that you have enabled way too much stuff, I don't see any problem 
with CDRom support. Everyting that is needed is compiled into the kernel 
directly.

So we need a more detailed description of your problem, now. What exactly is 
not working and what is the exact error message (if any) you get?

Bye...

Dirk


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


[gentoo-user] Re: No help on annoying `sandbox' error

2007-12-31 Thread pva
On Dec 29, 2:40 am, [EMAIL PROTECTED] wrote:
 I'm having a continuing annoying problem from sandbox trying to write
 out of its crib.

What package you are talking about? If you did not modified anything
unusual on your system, fill in bug report on that package... Do not
forgive emerge --info.

--
Peter.
-- 
[EMAIL PROTECTED] mailing list



Re: [gentoo-user] Example Kernel conf for versatile iptables setup

2007-12-31 Thread Peter Humphrey
On Thursday 27 December 2007 23:15:31 [EMAIL PROTECTED] wrote:

 Where can I see a condensed overview of what needs to be set in the
 kernel for maximum flexibility using iptables and snort?

In case you're still looking for an answer, you may find it in shorewall - I 
use it for all my iptables setups.

emerge -pv net-firewall/shorewall

-- 
Rgds
Peter
-- 
[EMAIL PROTECTED] mailing list



Re: [gentoo-user] rejecting I/O to dead device

2007-12-31 Thread Michal 'vorner' Vaner
Hello

On Sun, Dec 30, 2007 at 10:47:42PM +0100, Fred Kastl wrote:
 i get this message 2 -3 times within a second. This floods my logfile.

 Dec 30 16:54:46 server kernel: scsi 2:0:0:0: rejecting I/O to dead device
 Dec 30 16:54:47 server kernel: scsi 2:0:0:0: rejecting I/O to dead device
 Dec 30 16:54:47 server kernel: scsi 2:0:0:0: rejecting I/O to dead device
 Dec 30 16:54:48 server kernel: scsi 2:0:0:0: rejecting I/O to dead device
 Dec 30 16:54:48 server kernel: scsi 2:0:0:0: rejecting I/O to dead device
 Dec 30 16:54:49 server kernel: scsi 2:0:0:0: rejecting I/O to dead device
 Dec 30 16:54:49 server kernel: scsi 2:0:0:0: rejecting I/O to dead device
 Dec 30 16:54:50 server kernel: scsi 2:0:0:0: rejecting I/O to dead device
 Dec 30 16:54:50 server kernel: scsi 2:0:0:0: rejecting I/O to dead device
 Dec 30 16:54:51 server kernel: scsi 2:0:0:0: rejecting I/O to dead device
 Dec 30 16:54:51 server kernel: scsi 2:0:0:0: rejecting I/O to dead device
 Dec 30 16:54:52 server kernel: scsi 2:0:0:0: rejecting I/O to dead device
 Dec 30 16:54:52 server kernel: scsi 2:0:0:0: rejecting I/O to dead device


 but there is no scsi device 2.

I get these if I unplug an USB disk while still mounted. Could that be
your case? (Until it is unmounted, programs can try to access it and
then the driver will just reject the read/write there)

 ## cat /proc/scsi/scsi

It lists only the ones alive, not dead.

-- 
_(){ __;};_

Michal 'vorner' Vaner


pgp6HkOBJp5kj.pgp
Description: PGP signature


Re: [gentoo-user] removing X

2007-12-31 Thread Bo Ørsted Andresen
On Monday 24 December 2007 18:31:16 [EMAIL PROTECTED] wrote:
 I'm attempting to remove X from a former desktop machine now going to
 see action as a semi-DMZ.

 What is the best way to go about removing X and all its files.

 Removing the basic x11-base/xorg-x11 is easy enough but there appears
 to be dozens of other X related pkgs installed.
   x11-proto/* has apparently dozens of relatives installed.

 emerge does not appear to accept globbing or maybe I'm just doing it
 wrong.

Yeah, emerge does not accept globbing. bash does though so you could just cd 
to /var/db/pkg and take advantage of that.

For paludis users there are arguments to help with this kind of thing. :)

   Uninstall options
   Options which are relevant for --uninstall.

   --with-unused-dependencies (--no-with-unused-dependencies)
  Also uninstall any dependencies of the target that are no longer
  used

   --with-dependencies (--no-with-dependencies)
  Also uninstall packages that depend upon the target

Also paludis' equivalent for --depclean (--uninstall-unused) doesn't require 
you to upgrade everything. ;)

-- 
Bo Andresen


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


Re: [gentoo-user] No help on annoying `sandbox' error

2007-12-31 Thread Bo Ørsted Andresen
On Friday 28 December 2007 22:58:27 [EMAIL PROTECTED] wrote:
 I'm having a continuing annoying problem from sandbox trying to write
 out of its crib.

 I've posted here twice before but caught no ones attention.
 Possibly this is something screamingly obvious and people just ignored
 the posts.

 `sandbox' doesn't like my root .bash_history.
   ACCESS DENIED  open_rd:   /root/.bash_history
   ACCESS DENIED  open_rd:   /root/.bash_history

 I see nothing really like this on bugzilla although their are other
 access violations there.  I guess it needs to be turned in as a bug but
 fisrst tell me if its really a bug or something to do with my
 ill-informed setup.

emerge --info ?

-- 
Bo Andresen


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


Re: [gentoo-user] rejecting I/O to dead device

2007-12-31 Thread bjlockie
 Hello

 On Sun, Dec 30, 2007 at 10:47:42PM +0100, Fred Kastl wrote:
 i get this message 2 -3 times within a second. This floods my logfile.

 Dec 30 16:54:46 server kernel: scsi 2:0:0:0: rejecting I/O to dead
 device
 Dec 30 16:54:47 server kernel: scsi 2:0:0:0: rejecting I/O to dead
 device
 Dec 30 16:54:47 server kernel: scsi 2:0:0:0: rejecting I/O to dead
 device
 Dec 30 16:54:48 server kernel: scsi 2:0:0:0: rejecting I/O to dead
 device
 Dec 30 16:54:48 server kernel: scsi 2:0:0:0: rejecting I/O to dead
 device
 Dec 30 16:54:49 server kernel: scsi 2:0:0:0: rejecting I/O to dead
 device
 Dec 30 16:54:49 server kernel: scsi 2:0:0:0: rejecting I/O to dead
 device
 Dec 30 16:54:50 server kernel: scsi 2:0:0:0: rejecting I/O to dead
 device
 Dec 30 16:54:50 server kernel: scsi 2:0:0:0: rejecting I/O to dead
 device
 Dec 30 16:54:51 server kernel: scsi 2:0:0:0: rejecting I/O to dead
 device
 Dec 30 16:54:51 server kernel: scsi 2:0:0:0: rejecting I/O to dead
 device
 Dec 30 16:54:52 server kernel: scsi 2:0:0:0: rejecting I/O to dead
 device
 Dec 30 16:54:52 server kernel: scsi 2:0:0:0: rejecting I/O to dead
 device


 but there is no scsi device 2.

 I get these if I unplug an USB disk while still mounted. Could that be
 your case? (Until it is unmounted, programs can try to access it and
 then the driver will just reject the read/write there)

 ## cat /proc/scsi/scsi

 It lists only the ones alive, not dead.

 --
 _(){ __;};_

 Michal 'vorner' Vaner

I  got this to  an internal USB card reader.
It used to shut off and only a system restart would fix it.
I never got it to work right so I took it out.


-- 
[EMAIL PROTECTED] mailing list



[gentoo-user] `GLIBCXX_3.4.4' not found

2007-12-31 Thread Grant
I'm running a hardened multilib profile and medium gr_security in the
kernel.  I get the following:

$ wengophone
./qtwengophone:
/usr/lib/gcc/x86_64-pc-linux-gnu/3.4.6/32/libstdc++.so.6: version
`GLIBCXX_3.4.5' not found (required by ./qtwengophone)
./qtwengophone:
/usr/lib/gcc/x86_64-pc-linux-gnu/3.4.6/32/libstdc++.so.6: version
`CXXABI_1.3.1' not found (required by ./qtwengophone)
$ skype
/opt/skype/skype:
/usr/lib/gcc/x86_64-pc-linux-gnu/3.4.6/32/libstdc++.so.6: version
`CXXABI_1.3.1' not found (required by /opt/skype/skype)
/opt/skype/skype:
/usr/lib/gcc/x86_64-pc-linux-gnu/3.4.6/32/libstdc++.so.6: version
`GLIBCXX_3.4.4' not found (required by /opt/skype/skype)

Do I need to emerge glibc-3.4.5 and glibc-3.4.4?  If so, shouldn't
they have been pulled in as dependencies?

- Grant
-- 
[EMAIL PROTECTED] mailing list



[gentoo-user] Re: Any reason to keep older gcc?

2007-12-31 Thread Grant Edwards
On 2007-12-31, Rumen Yotov [EMAIL PROTECTED] wrote:
 On (30/12/07 16:18) Grant Edwards wrote:
 On 2007-12-28, Qian Qiao [EMAIL PROTECTED] wrote:
 
   Would there be any reason to keep the older gcc 3.46?  I'm
   not familiar enough with Gentoo under-the-hood to decide.
 
  Try equery depends =gcc-3*, without the quotes obviously.
 
  If none of the packages you installed depends on gcc-3*, you should be
  able to get rid of it safely.
 
 That's not been my experience.  For example, Qemu won't compile
 with gcc-4, yet doesn't have gcc-3 as a dependancy.

 qemu is just a meta-ebuild, in ~x86 qemu-softmmu-0.9.0-r1:
 pkg_setup() {
  if [ $(gcc-major-version) == 4 ]; then
  eerror qemu requires gcc-3 in order to build and work
  correctly
  eerror please compile it switching to gcc-3.
  eerror We are aware that qemu can guess a gcc-3 but
  this feature
  eerror could be harmful.
  die gcc 4 cannot build q
 fi

My mistake.  I was thinking of OpenEmbedded.  It uses a build
system very similar to portage, and that's where I recently ran
into problems with Qemu being built using gcc 3.

-- 
Grant Edwards   grante Yow! How's it going in
  at   those MODULAR LOVE UNITS??
   visi.com

-- 
[EMAIL PROTECTED] mailing list



[gentoo-user] Nvidia users: please sign petition for open/free drivers

2007-12-31 Thread Enrico Weigelt

Hi folks,


I'd just want to let you know there's an petition to NV on 
opening their driver code (or at least specs) to the free world:

* http://www.petitiononline.com/nvfoss/

Please sign the petition and spread around this link.

cu 
-- 
-
 Enrico Weigelt==   metux IT service - http://www.metux.de/
-
 Please visit the OpenSource QM Taskforce:
http://wiki.metux.de/public/OpenSource_QM_Taskforce
 Patches / Fixes for a lot dozens of packages in dozens of versions:
http://patches.metux.de/
-
-- 
[EMAIL PROTECTED] mailing list



[gentoo-user] NVidia users: The Nouveau project needs your help

2007-12-31 Thread Enrico Weigelt

Hello folks,


the Nouveau project works on free/opensource drivers for the 
NVidia graphics chips. 

As NVidia continously refuses support to opensource community 
and keeps necessary specs secret, we are forced reverse engineer
their binary-only drivers. This is an very complex and time-
consuming job. 

The Nouveau project has developed an special sandbox for the 
binary drivers, which us allows sniff it's communication with
the chip. Several test programs send specific commands to the
driver and record what's send to the chip. This way, spare CPU
time can be used for collecting important data - even for 
non-hackers.

We like to ask all NV users to help us by regularily running
this testing system.

More information can be found on the project page:

* http://nouveau.freedesktop.org/wiki/FrontPage

Please also consider signing the petition:

* http://www.petitiononline.com/nvfoss/


cu
-- 
-
 Enrico Weigelt==   metux IT service - http://www.metux.de/
-
 Please visit the OpenSource QM Taskforce:
http://wiki.metux.de/public/OpenSource_QM_Taskforce
 Patches / Fixes for a lot dozens of packages in dozens of versions:
http://patches.metux.de/
-
-- 
[EMAIL PROTECTED] mailing list



[gentoo-user] Compiz-Fusion

2007-12-31 Thread Ted Ozolins
Anyone using compiz-fusion on this list? I'm putting together a system
I'll be using to demo linux. compiz-fusion appears to be the eye-candy
 that would make a demo shine. I see that its in portage (masked) any
gotchas I should be aware of before proceeding?






Ted Ozolins (VE7TVO)
Cranbrook, B.C.
-- 
[EMAIL PROTECTED] mailing list



Re: [gentoo-user] Compiz-Fusion

2007-12-31 Thread Canek Peláez Valdés
On Dec 31, 2007 11:23 AM, Ted Ozolins [EMAIL PROTECTED] wrote:
 Anyone using compiz-fusion on this list? I'm putting together a system
 I'll be using to demo linux. compiz-fusion appears to be the eye-candy
  that would make a demo shine. I see that its in portage (masked) any
 gotchas I should be aware of before proceeding?

I've been using it for months with NVidia and Intel drivers; not a
problem. Well, with NVidia
you need to unload the v4l module for X.org, otherwise it crash X; but
that's the only issue.

Also, I recommend to grab the fusion-icon package from the xeffects overlay.
-- 
Canek Peláez Valdés
Facultad de Ciencias, UNAM


Re: [gentoo-user] Compiz-Fusion

2007-12-31 Thread Ted Ozolins
Canek Peláez Valdés wrote:
 On Dec 31, 2007 11:23 AM, Ted Ozolins [EMAIL PROTECTED] wrote:
 Anyone using compiz-fusion on this list? I'm putting together a system
 I'll be using to demo linux. compiz-fusion appears to be the eye-candy
  that would make a demo shine. I see that its in portage (masked) any
 gotchas I should be aware of before proceeding?
 
 I've been using it for months with NVidia and Intel drivers; not a
 problem. Well, with NVidia
 you need to unload the v4l module for X.org, otherwise it crash X; but
 that's the only issue.
 
 Also, I recommend to grab the fusion-icon package from the xeffects overlay.
Thank you. I'll def give it a try.

-- 
Ted Ozolins (VE7TVO)
Cranbrook, B.C.
-- 
[EMAIL PROTECTED] mailing list



[gentoo-user] Gentoo GRUB help

2007-12-31 Thread BRM
I have an AMD64 system which I just installed the AMD64 Gentoo Image
onto, following AMD64 HowTo. However, I am having trouble getting grub
to find my kernel. I'm only using grub because of the warning about
LILO (which I much prefer due to the device naming convention it uses)
- I was using LILO under Slackware but that was 32-bit only, and not
I'm using the 64/32 bit mix - so I'm going with what's recommended for
now.

The system is set to boot off of /dev/hdb2 (ext2) and use /dev/hdb1 as
the root. I believe the boot device is hd1,1 in grub terminology. 

The system has 3 hard drives: hda, hdb, and sda; as well as a dvd drive
(hdc).

/dev/hdb2 has the following structure:
 - list of all my Slackware kernels
 - gentoo/bzImage
 - gentoo/bzImage_2-6-23-gentoo-r3
 - grub/

Below is my grub.conf (minus comment lines):

timeout 30
default 0
fallback 1
title Gentoo Linux
root (hd1,1)
kernel /gentoo/bzImage root=/dev/hdb1

title Slackware Linux
root (hd1,1)
kernel /vmlinuz root=/dev/sda1

title Install GRUB into the hard disk
root (hd1,1)
setup (hd1)

title Change the colors
color light-green/brown blink-red/blue

I installed it via:

# grub
grub: root (hd1,1)
grub: setup (hd1)
grub: exit

All seems well. It boots and presents the menu, but then can't find the
kernel when I select Gentoo Linux or try to manually run the lines. I
tried using find at the grub command prompt during the boot process,
but it couldn't find it either. I haven't tried the Slackware kernel
yet, as I am mostly concerned about the Gentoo kernel.

Note: I am using LVM2 under this Gentoo install - but not for /boot or
/.

What am I missing?

TIA,

Ben
-- 
[EMAIL PROTECTED] mailing list



Re: [gentoo-user] Gentoo GRUB help

2007-12-31 Thread Iain Buchanan
Happy new year!

On Mon, 2007-12-31 at 11:16 -0800, BRM wrote:
[snip]
 The system is set to boot off of /dev/hdb2 (ext2) and use /dev/hdb1 as
 the root. I believe the boot device is hd1,1 in grub terminology. 

yep!

 The system has 3 hard drives: hda, hdb, and sda; as well as a dvd drive
 (hdc).
 
 /dev/hdb2 has the following structure:
  - list of all my Slackware kernels
  - gentoo/bzImage
  - gentoo/bzImage_2-6-23-gentoo-r3
  - grub/
 
 Below is my grub.conf (minus comment lines):

looks fine to me!

[snip]
 All seems well. It boots and presents the menu, but then can't find the
 kernel when I select Gentoo Linux or try to manually run the lines. I
 tried using find at the grub command prompt during the boot process,
 but it couldn't find it either. I haven't tried the Slackware kernel
 yet, as I am mostly concerned about the Gentoo kernel.

have you tried grubs completion?  if you type kernel (hd1,1)/ and then
tab it should try and complete the line for you.  (from the grub
command prompt, once you've booted into the grub shell)  It could be
possible that your bios / grub have swapped the drive assignment around
during boot.  Try all your (hdx,y) combinations with grub completion
until you find one that has /gentoo on it.

 Note: I am using LVM2 under this Gentoo install - but not for /boot or
 /.

it shouldn't interfere with /boot or /

 What am I missing?

don't know, hope my hints can help.
-- 
Iain Buchanan iaindb at netspace dot net dot au

Schapiro's Explanation:
The grass is always greener on the other side -- but that's
because they use more manure.

-- 
[EMAIL PROTECTED] mailing list



Re: [gentoo-user] `GLIBCXX_3.4.4' not found

2007-12-31 Thread Peter Alfredsen
On Monday 31 December 2007, Grant wrote:
 I'm running a hardened multilib profile and medium gr_security in the
 kernel.  I get the following:

That warning is because those packages are binary blobs and depend on 
the libstdc++ from gcc-4*. You'll have to wait till hardened gets GCC 4 
or till the stdc++ lib from gcc 4 is made into an ebuild (If it even 
can compile with gcc-3*...)

-- 
/PA
-- 
[EMAIL PROTECTED] mailing list



Re: [gentoo-user] Compiz-Fusion

2007-12-31 Thread Ric de France
On 01/01/2008, Canek Peláez Valdés [EMAIL PROTECTED] wrote:
 On Dec 31, 2007 11:23 AM, Ted Ozolins [EMAIL PROTECTED] wrote:
  Anyone using compiz-fusion on this list? I'm putting together a system
  I'll be using to demo linux. compiz-fusion appears to be the eye-candy
   that would make a demo shine. I see that its in portage (masked) any
  gotchas I should be aware of before proceeding?

 I've been using it for months with NVidia and Intel drivers; not a
 problem. Well, with NVidia
 you need to unload the v4l module for X.org, otherwise it crash X; but
 that's the only issue.

 Also, I recommend to grab the fusion-icon package from the xeffects overlay.

Just out of curiosity... can anyone say why are the packages still masked?

...Ric
-- 
Ric de France
Ph: +61412945554 (international) or 0412945554 (Australia)
 == Do you, uh... Gentoo? Gent-hooo!! ==
== http://www.gentoo.org/main/en/about.xml ==


Re: [gentoo-user] Compiz-Fusion

2007-12-31 Thread Qian Qiao
On Dec 31, 2007 5:23 PM, Ted Ozolins [EMAIL PROTECTED] wrote:
 Anyone using compiz-fusion on this list? I'm putting together a system
 I'll be using to demo linux. compiz-fusion appears to be the eye-candy
  that would make a demo shine. I see that its in portage (masked) any
 gotchas I should be aware of before proceeding?

Compiz-fusion still have problems with due screens tho. Menu pots up
very slowly. It's been discussed quite a lot on the internet, you can
google for it.
-- 
[EMAIL PROTECTED] mailing list



Re: [gentoo-user] Re: Any reason to keep older gcc?

2007-12-31 Thread Richard Marzan

On Mon, 2007-12-31 at 15:25 +, Grant Edwards wrote:
 On 2007-12-31, Rumen Yotov [EMAIL PROTECTED] wrote:
  On (30/12/07 16:18) Grant Edwards wrote:
  On 2007-12-28, Qian Qiao [EMAIL PROTECTED] wrote:
  
Would there be any reason to keep the older gcc 3.46?  I'm
not familiar enough with Gentoo under-the-hood to decide.
  
   Try equery depends =gcc-3*, without the quotes obviously.
  
   If none of the packages you installed depends on gcc-3*, you should be
   able to get rid of it safely.
  
  That's not been my experience.  For example, Qemu won't compile
  with gcc-4, yet doesn't have gcc-3 as a dependancy.
 
  qemu is just a meta-ebuild, in ~x86 qemu-softmmu-0.9.0-r1:
  pkg_setup() {
   if [ $(gcc-major-version) == 4 ]; then
   eerror qemu requires gcc-3 in order to build and work
   correctly
   eerror please compile it switching to gcc-3.
   eerror We are aware that qemu can guess a gcc-3 but
   this feature
   eerror could be harmful.
   die gcc 4 cannot build q
  fi
 
 My mistake.  I was thinking of OpenEmbedded.  It uses a build
 system very similar to portage, and that's where I recently ran
 into problems with Qemu being built using gcc 3.
 
 -- 
 Grant Edwards   grante Yow! How's it going in
   at   those MODULAR LOVE UNITS??
visi.com
 


Just mask it. Everything will be fine.

-- 
[EMAIL PROTECTED] mailing list