Re: [gentoo-user] Work!

2008-12-09 Thread Karl Huysmans
2008/12/9 Alan McKinnon <[EMAIL PROTECTED]>

>
> It's not against any rules per se, so I suppose if you did post and it was
> for
> a genuine position and it was you who were hiring (i.e. not an agent of
> some
> kind), then no-one would really complain.
>

Genuine of course!

>
> We don't get such posts here much, probably because it's an international
> list. I find in my country we get much better results when people use the
> mailing list for the LUGs in their own city or country.
>

Thanks for the suggestion, I'll try.

>
> Good luck with your hiring!
>

Thanks

>
> --
> alan dot mckinnon at gmail dot com
>
>


Re: [gentoo-user] cannot burn cd: permissions error

2008-12-09 Thread Dale
Andrey Vul wrote:
> On Tue, Dec 9, 2008 at 17:39, Joerg Schilling
> <[EMAIL PROTECTED]> wrote:
>   
>> "Andrey Vul" <[EMAIL PROTECTED]> wrote:
>>
>> 
>>> On Tue, Dec 9, 2008 at 14:18, Joerg Schilling
>>> <[EMAIL PROTECTED]> wrote:
>>>
>>>   
 So you installed it suid to an unprivileged user.

 
>>> Should I do 'chown root:cdrom' for /dev/hd* or 'chown root:disk' for 
>>> /dev/sg*?
>>> Which is preferred?
>>>   
>> If you like to make your system inherently insecure, do this!
>>
>> 
>>> And what is group bin supposed to be for? Apparently /usr/bin/cdrecord
>>> is suid bin:bin.
>>>   
>> This is wrong as mentioned before.
>>
>> I told you to do what's in the cdrecord documentation: Install cdrecord suid
>> root.
>>
>> Just follow my advise...
>>
>> Jörg
>>
>> 
> Unfortunately, the gentoo people say that "cdrkit does it without
> root, why can't cdrtools?"
> http://bugs.gentoo.org/show_bug.cgi?id=116026
>
>   

I have this installed:

[I--] [ ~] app-cdr/cdrtools-2.01.01_alpha52 (0)

I use k3b but cdrtools seems to work very well here, since k3b uses
cdrtools to burn.  I went down the cdrkit before and it was a unpleasant
experience.  Jörg and a few others helped shine the light on cdrtools
and I have been burning DVD's and CDs ever since.

I would uninstall cdrkit and just give cdrtools a shot.  You can always
switch back if you want.

Dale

:-)  :-) 



Re: [gentoo-user] cannot burn cd: permissions error

2008-12-09 Thread Andrey Vul
On Tue, Dec 9, 2008 at 19:46, Allan Gottlieb <[EMAIL PROTECTED]> wrote:
> At Tue, 09 Dec 2008 18:44:21 -0500 Andrey Vul <[EMAIL PROTECTED]> wrote:
>
>> On Tue, Dec 9, 2008 at 17:39, Joerg Schilling
>> <[EMAIL PROTECTED]> wrote:
>>> "Andrey Vul" <[EMAIL PROTECTED]> wrote:
>>>
 On Tue, Dec 9, 2008 at 14:18, Joerg Schilling
 <[EMAIL PROTECTED]> wrote:

 >
 > So you installed it suid to an unprivileged user.
 >
 Should I do 'chown root:cdrom' for /dev/hd* or 'chown root:disk' for 
 /dev/sg*?
 Which is preferred?
>>>
>>> If you like to make your system inherently insecure, do this!
>>>
 And what is group bin supposed to be for? Apparently /usr/bin/cdrecord
 is suid bin:bin.
>>>
>>> This is wrong as mentioned before.
>>>
>>> I told you to do what's in the cdrecord documentation: Install cdrecord suid
>>> root.
>>>
>>> Just follow my advise...
>>>
>>> Jörg
>>>
>> Unfortunately, the gentoo people say that "cdrkit does it without
>> root, why can't cdrtools?"
>> http://bugs.gentoo.org/show_bug.cgi?id=116026
>
> Joerg believes that cdrkit is not as good as cdrtools (I have used only
> cdrtools and it works well for me).
>
> Debates like this go on for far too long on the list.  I think you
> should accept that:
>
> 1.  cdrecord needs to be suid root
> 2.  joerg is the expert on cdrtools including cdrecord
> 3.  If you do not wish to install cdrecord suid root, you can try cdrkit,
>but then you cannot expect joerg to help.
>
> Again, I should say that I have not used cdrkit so am not commenting on
> its quality.
cdrecord (wodim) had support for dev=/dev/hdX. That was its only advantage.
genisoimage filed in comparison to mkisofs.
In short, cdrtools is better.

What are the chances that suid root would be allowed in an ebuild
patch *without* reigniting the cdr{kit,tools} flamewar?



-- 
Andrey Vul

A: Because it messes up the order in which people normally read text.
Q: Why is top-posting such a bad thing?
A: Top-posting.
Q: What is the most annoying thing in e-mail?


Re: [gentoo-user] cannot burn cd: permissions error

2008-12-09 Thread Allan Gottlieb
At Tue, 09 Dec 2008 18:44:21 -0500 Andrey Vul <[EMAIL PROTECTED]> wrote:

> On Tue, Dec 9, 2008 at 17:39, Joerg Schilling
> <[EMAIL PROTECTED]> wrote:
>> "Andrey Vul" <[EMAIL PROTECTED]> wrote:
>>
>>> On Tue, Dec 9, 2008 at 14:18, Joerg Schilling
>>> <[EMAIL PROTECTED]> wrote:
>>>
>>> >
>>> > So you installed it suid to an unprivileged user.
>>> >
>>> Should I do 'chown root:cdrom' for /dev/hd* or 'chown root:disk' for 
>>> /dev/sg*?
>>> Which is preferred?
>>
>> If you like to make your system inherently insecure, do this!
>>
>>> And what is group bin supposed to be for? Apparently /usr/bin/cdrecord
>>> is suid bin:bin.
>>
>> This is wrong as mentioned before.
>>
>> I told you to do what's in the cdrecord documentation: Install cdrecord suid
>> root.
>>
>> Just follow my advise...
>>
>> Jörg
>>
> Unfortunately, the gentoo people say that "cdrkit does it without
> root, why can't cdrtools?"
> http://bugs.gentoo.org/show_bug.cgi?id=116026

Joerg believes that cdrkit is not as good as cdrtools (I have used only
cdrtools and it works well for me).

Debates like this go on for far too long on the list.  I think you
should accept that:

1.  cdrecord needs to be suid root
2.  joerg is the expert on cdrtools including cdrecord
3.  If you do not wish to install cdrecord suid root, you can try cdrkit,
but then you cannot expect joerg to help.

Again, I should say that I have not used cdrkit so am not commenting on
its quality.

allan



Re: [gentoo-user] cannot burn cd: permissions error

2008-12-09 Thread Andrey Vul
On Tue, Dec 9, 2008 at 17:39, Joerg Schilling
<[EMAIL PROTECTED]> wrote:
> "Andrey Vul" <[EMAIL PROTECTED]> wrote:
>
>> On Tue, Dec 9, 2008 at 14:18, Joerg Schilling
>> <[EMAIL PROTECTED]> wrote:
>>
>> >
>> > So you installed it suid to an unprivileged user.
>> >
>> Should I do 'chown root:cdrom' for /dev/hd* or 'chown root:disk' for 
>> /dev/sg*?
>> Which is preferred?
>
> If you like to make your system inherently insecure, do this!
>
>> And what is group bin supposed to be for? Apparently /usr/bin/cdrecord
>> is suid bin:bin.
>
> This is wrong as mentioned before.
>
> I told you to do what's in the cdrecord documentation: Install cdrecord suid
> root.
>
> Just follow my advise...
>
> Jörg
>
Unfortunately, the gentoo people say that "cdrkit does it without
root, why can't cdrtools?"
http://bugs.gentoo.org/show_bug.cgi?id=116026

-- 
Andrey Vul

A: Because it messes up the order in which people normally read text.
Q: Why is top-posting such a bad thing?
A: Top-posting.
Q: What is the most annoying thing in e-mail?


Re: [gentoo-user] Re: Desperately need advice on fixing a corrupt XFS partition

2008-12-09 Thread Paul Hartman
On Tue, Dec 9, 2008 at 4:15 PM, Alex Schuster <[EMAIL PROTECTED]> wrote:
> Paul Hartman writes:
>
>> I accidentally sent this from the wrong email address the first time,
>> not sure if it went through to the list so I'm sending it again (I
>> apologize if it is a duplicate).
>
> I don't think so.
>
>> If anyone has any ideas at all about how to go about fixing/mounting
>> this, I will be forever in your debt. Thanks.
>
> Before doing anything further with it, you should create an image of your
> dying drive and analyze that instead. And create a 2nd image, in case you
> mess up the first one while repairing it, and the drive really died in
> the meantime.
>  dd if=/dev/sdf of=/mnt/sdf.img
>  unplug drive
>  cp /mnt/sdf.img /mnt/sdf.img2
>OR
>  gzip -c /mnt/sdf.img > /mnt/sdf.img.gz
>
> You can then try photorec from app-admin/testdisk, but reiserfs is not
> really supported. But this looks promising:
> http://antrix.net/journal/techtalk/reiserfs_data_recovery_howto.comments

Hi,

Thanks, to both who suggested making a dd image of the disk before
doing anything else. That is definitely a smart path and I will do
that, as soon as I buy another hard drive large enough. (It is a 320gb
drive and i only have spare 120gb drive and around same free space on
my windows vista box, and only a few gigs free on my linux box).
TigerDirect has a 1tb drive for $79.99 USD after rebate, so that seems
like a good deal. I will use it for recovery (hopefully) and then
format and give it as an xmas gift. :)

it is XFS not Reiser, and XFS is not even mentioned by the PhotoRec
site but it's worth a shot. If it doesn't include filenames it may be
almost worse than losing it (then I'll have to categorize and name
them all ... ugh :P)

The good news is that I defragmented the files on it just days ago, so
at least they should be contiguous. however the vast majority of the
space is video which will reduce the likelihood of it being contiguous
if it's a 1gig+ file size.

As to why I had XFS on an external drive... there is no reason. It was
an empty drive and I was using it to experiment with different FS and
it happened to be formatted as XFS when I decided to use it for
"temporary" storage. Until recently it was full of MAME roms and TV
shows and things like that which would be easily replaced :P of course
it waited until it had personal files before breaking... it's a law of
hard drives.

On Google I saw about this Windows program called UFS Explorer that
claims to be able to recover from XFS; from the description on the
site it sounds too good to be true (recover anything from anywhere,
basically)... I have not found any info about it other than the site
http://www.ufsexplorer.com/

Years ago when I had a similar problem in a JFS drive I found some
shareware JFS recover that scanned the whole disk and recovered
absolutely everything that was not on a bad sector... it was the best
$15 ever spent. In fact I purchased it twice just because I was so
happy. :)

Paul



Re: [gentoo-user] usb to ethernet

2008-12-09 Thread Chris Thomas
I have one similar to yours. IIRC, mine is a Realtek 8139 chipset
which works fine with the driver in the kernel.

-Chris

On Tue, Dec 9, 2008 at 2:38 PM, James <[EMAIL PROTECTED]> wrote:
> Hello,
>
>
> Check it out, using a realtek chip.
>
> http://www.mpja.com/prodinfo.asp?number=17669+CP
>
> My question is has anyone every got one of these working on gentoo,
> or a similar product from another vendor?
>
>
> James
>
>
>



Re: [gentoo-user] usb to ethernet

2008-12-09 Thread Chema Alonso
James escribió:
> Hello,
> 
> 
> Check it out, using a realtek chip.
> 
> http://www.mpja.com/prodinfo.asp?number=17669+CP
> 
> My question is has anyone every got one of these working on gentoo,
> or a similar product from another vendor?
> 
> 
> James
> 
> 
> 

I've used linksys USB 100m adapter with no problems under gentoo and BSD

http://tinyurl.com/e46qd

It uses the same chip as the one above, it should work.

Cheers!





Re: [gentoo-user] cannot burn cd: permissions error

2008-12-09 Thread Joerg Schilling
"Andrey Vul" <[EMAIL PROTECTED]> wrote:

> On Tue, Dec 9, 2008 at 14:18, Joerg Schilling
> <[EMAIL PROTECTED]> wrote:
>
> >
> > So you installed it suid to an unprivileged user.
> >
> Should I do 'chown root:cdrom' for /dev/hd* or 'chown root:disk' for /dev/sg*?
> Which is preferred?

If you like to make your system inherently insecure, do this!

> And what is group bin supposed to be for? Apparently /usr/bin/cdrecord
> is suid bin:bin.

This is wrong as mentioned before.

I told you to do what's in the cdrecord documentation: Install cdrecord suid 
root.

Just follow my advise...

Jörg

-- 
 EMail:[EMAIL PROTECTED] (home) Jörg Schilling D-13353 Berlin
   [EMAIL PROTECTED](uni)  
   [EMAIL PROTECTED] (work) Blog: http://schily.blogspot.com/
 URL:  http://cdrecord.berlios.de/private/ ftp://ftp.berlios.de/pub/schily



Re: [gentoo-user] Re: Desperately need advice on fixing a corrupt XFS partition

2008-12-09 Thread Alex Schuster
Paul Hartman writes:

> I accidentally sent this from the wrong email address the first time,
> not sure if it went through to the list so I'm sending it again (I
> apologize if it is a duplicate).

I don't think so.

> If anyone has any ideas at all about how to go about fixing/mounting
> this, I will be forever in your debt. Thanks.

Before doing anything further with it, you should create an image of your 
dying drive and analyze that instead. And create a 2nd image, in case you 
mess up the first one while repairing it, and the drive really died in 
the meantime.
  dd if=/dev/sdf of=/mnt/sdf.img
  unplug drive
  cp /mnt/sdf.img /mnt/sdf.img2
OR
  gzip -c /mnt/sdf.img > /mnt/sdf.img.gz

You can then try photorec from app-admin/testdisk, but reiserfs is not 
really supported. But this looks promising:
http://antrix.net/journal/techtalk/reiserfs_data_recovery_howto.comments

Good luck,

Wonko



Re: [gentoo-user] Understanding slotting of KTorrent

2008-12-09 Thread AllenJB

Nikos Chantziaras wrote:

I don't "get" the slotting scheme of KTorrent:

[I] net-p2p/ktorrent
 Available versions:
(0) 2.2.7 2.2.8
(4.1)   ~3.1.5
(3) ~3.1.5-r1 [M]~3.2_beta1

OK, 0 seems to be actually 3.5.  4.1 is KDE 4.1.  But so is 3 too...


I filed an issue on this - see http://bugs.gentoo.org/250279 for the 
response


AllenJB



Re: [gentoo-user] cannot burn cd: permissions error

2008-12-09 Thread Andrey Vul
On Tue, Dec 9, 2008 at 14:18, Joerg Schilling
<[EMAIL PROTECTED]> wrote:

>
> So you installed it suid to an unprivileged user.
>
Should I do 'chown root:cdrom' for /dev/hd* or 'chown root:disk' for /dev/sg*?
Which is preferred?

And what is group bin supposed to be for? Apparently /usr/bin/cdrecord
is suid bin:bin.

I am facepalming myself right now.

-- 
Andrey Vul

A: Because it messes up the order in which people normally read text.
Q: Why is top-posting such a bad thing?
A: Top-posting.
Q: What is the most annoying thing in e-mail?



Re: [gentoo-user] Re: Desperately need advice on fixing a corrupt XFS partition

2008-12-09 Thread Stroller


On 9 Dec 2008, at 17:49, Paul Hartman wrote:

...
xfs_repair exists, but the man page says it can only be used against
clealy unmounted drives... which seems kind of funny. I ran it anyway,
in read-only mode, and it was unable to find the primary superblock
and started scanning the disk for the secondary. I aborted it because
I don't know how much torture this drive can take.

When I run "less -f /dev/sdf1" i can see amongst the bits all of the
names of my directories and files etc... so I am pretty sure the data
is there and readable, but I can't figure out how to get XFS to go
ahead and mount it so I can copy all of that stuff off and swear off
USB hard drive adapters forever. :)


I would probably `dd` the whole drive to a new disk.

You want to copy everything off one way or the other, so the minimum  
amount of torture you need to inflict upon the drive is reading every  
bit from it once. Ok, you probably only want to read *some* bits of  
the disk, so you only really need to read x% of that, but with an  
uncertain recovery strategy you may find that you need to read some  
bits of the fisk more than once.


If the drive can survive being completely read once, then `dd` allows  
you to do what the heck you like with the image whilst you make  
different attempts. I would personally try to find two drives - one at  
least as large as the failing one and one a bit larger. Format the  
larger disk ext3 and `dd if=/dev/failing-disk of=/mnt/largest-disk/ 
image.img` then `dd if=/mnt/largest-disk/image.img of=/dev/at-least-as- 
large-disk`.


You can then work on the disk that is "at least as large", and even if  
xfs_repair (or whatever) fails & b0rks the filesystem up even worse,  
you can always recreate the last known "good" state.


Stroller.




Re: [gentoo-user] usb to ethernet

2008-12-09 Thread Stroller


On 9 Dec 2008, at 19:38, James wrote:

...
Check it out, using a realtek chip.

http://www.mpja.com/prodinfo.asp?number=17669+CP

My question is has anyone every got one of these working on gentoo,
or a similar product from another vendor?


I've had a similar one (AX-something chipset) recognised out of the  
box by an Ubuntu installation. So I would imagine such devices to work  
fine under Gentoo.


I have to say I was quite impressed at the time - about 2 years ago,  
my aversion to Ubuntu hasn't yet worn off again - that it was so  
seamless.


Stroller.
 

[gentoo-user] Re: [OT] top posting

2008-12-09 Thread Nikos Chantziaras

Indeed :)

(Sorry, couldn't resist :P)

Dale wrote:

Justin wrote:

Nicolas Sebrecht schrieb:
  

On Tue, Dec 09, 2008 at 12:45:16PM +, Stroller wrote:

  

   I find a flow of quoting that is 
interrupted FAR less legible than the 3 short message sections, all 
concise, clear and top-posted, that you replied to.

  

Top-posting just sucks. Whole quoting too.

  


+1

  


+1

Dale

:-)







Re: [gentoo-user] [OT] top posting

2008-12-09 Thread Dale
Justin wrote:
> Nicolas Sebrecht schrieb:
>   
>> On Tue, Dec 09, 2008 at 12:45:16PM +, Stroller wrote:
>>
>>   
>> 
>>>I find a flow of quoting that is 
>>> interrupted FAR less legible than the 3 short message sections, all 
>>> concise, clear and top-posted, that you replied to.
>>> 
>>>   
>> Top-posting just sucks. Whole quoting too.
>>
>>   
>> 
> +1
>
>   

+1

Dale

:-)



[gentoo-user] Understanding slotting of KTorrent

2008-12-09 Thread Nikos Chantziaras

I don't "get" the slotting scheme of KTorrent:

[I] net-p2p/ktorrent
 Available versions:
(0) 2.2.7 2.2.8
(4.1)   ~3.1.5
(3) ~3.1.5-r1 [M]~3.2_beta1

OK, 0 seems to be actually 3.5.  4.1 is KDE 4.1.  But so is 3 too...




Re: [gentoo-user] [OT] top posting

2008-12-09 Thread Justin
Nicolas Sebrecht schrieb:
> On Tue, Dec 09, 2008 at 12:45:16PM +, Stroller wrote:
>
>   
>>I find a flow of quoting that is 
>> interrupted FAR less legible than the 3 short message sections, all 
>> concise, clear and top-posted, that you replied to.
>> 
>
> Top-posting just sucks. Whole quoting too.
>
>   
+1



signature.asc
Description: OpenPGP digital signature


[gentoo-user] [OT] top posting

2008-12-09 Thread Nicolas Sebrecht

On Tue, Dec 09, 2008 at 12:45:16PM +, Stroller wrote:

>I find a flow of quoting that is 
> interrupted FAR less legible than the 3 short message sections, all 
> concise, clear and top-posted, that you replied to.

Top-posting just sucks. Whole quoting too.

-- 
Nicolas Sebrecht




Re: [gentoo-user] usb to ethernet

2008-12-09 Thread Neil Walker

James wrote:

http://www.mpja.com/prodinfo.asp?number=17669+CP

My question is has anyone every got one of these working on gentoo,
or a similar product from another vendor?
  


Errm ... quite honestly, why would you want to?

Be lucky,

Neil





[gentoo-user] usb to ethernet

2008-12-09 Thread James
Hello,


Check it out, using a realtek chip.

http://www.mpja.com/prodinfo.asp?number=17669+CP

My question is has anyone every got one of these working on gentoo,
or a similar product from another vendor?


James




Re: [gentoo-user] Automounting of USB drives

2008-12-09 Thread sean

AJ Spagnoletti wrote:

Anyone ever reply to this?  If you're using Gnome, then HAL + Gnome will
take care of it.  I am using HAL + ivman in my servers.   It works well for
fixing mount points.




Thanks, I got several replies but all pointed to just using hal +
gnome, as most desktop environments take care of automounting these
days.




I run Windowmaker here, using Thunar, with it's requirements, as a file 
manager with the plugin Thunar-volman and it detects USB drives without 
problems.





Re: [gentoo-user] cannot burn cd: permissions error

2008-12-09 Thread Joerg Schilling
"Andrey Vul" <[EMAIL PROTECTED]> wrote:

> On Tue, Dec 9, 2008 at 03:47, Joerg Schilling
> <[EMAIL PROTECTED]> wrote:
> > "Andrey Vul" <[EMAIL PROTECTED]> wrote:
> >
> >> I get the following error:
> >> [EMAIL PROTECTED] ~ $ cdrecord dev=ATA:1,0,0 vmware/Windows\ XP\
> >> Professional/shared/vLite.iso
> [snip]
> >> cdrecord: No such file or directory. Cannot open '/dev/hd*'. Cannot
> >> open or use SCSI driver.
> This error is bothering me. It happens even when ran as root, yet I
> have /dev/hdc.

So you installed it suid to an unprivileged user.

Jörg

-- 
 EMail:[EMAIL PROTECTED] (home) Jörg Schilling D-13353 Berlin
   [EMAIL PROTECTED](uni)  
   [EMAIL PROTECTED] (work) Blog: http://schily.blogspot.com/
 URL:  http://cdrecord.berlios.de/private/ ftp://ftp.berlios.de/pub/schily



Re: [gentoo-user] Automounting of USB drives

2008-12-09 Thread AJ Spagnoletti
>
> Anyone ever reply to this?  If you're using Gnome, then HAL + Gnome will
> take care of it.  I am using HAL + ivman in my servers.   It works well for
> fixing mount points.
>
>

Thanks, I got several replies but all pointed to just using hal +
gnome, as most desktop environments take care of automounting these
days.



Re: [gentoo-user] locale issue to clean up

2008-12-09 Thread Mark Knecht
On Mon, Dec 8, 2008 at 11:10 AM, Mike Edenfield <[EMAIL PROTECTED]> wrote:
> Mick wrote:
>
>> Now I am getting confused - at least one box of mine does not have
>> /etc/env.d/02locale at all.  Am I supposed to create it manually?
>
> The file isn't automatically created by anything, since strictly speaking
> you can get away without using it.  However, if you are going to add the
> locale information to your environment, that file name in the env.d
> directory is considered the correct way to do it.
>
> Without it, your locale is probably falling back to C or POSIX, the
> defaults, which for the most part behave just like en_US anyway.  It
> certainly wouldn't hurt for you to explicitly set your locale and language
> options.
>

It turned out that the 64-bit machine I was working on yesterday - my
oldest Gentoo machine at home - didn't have much info in
/etc/locale.gen. However two other 32-bit machines I'm updating today
had some information that would have helped me a bit if I had had it.
I attach it here for reference.

What I get out of this is that everything having to do with glibc
locales is located under /usr/share/i18n. The stuff located under
/usr/share/locale is something else. Also, emerge glibc will update
locales but once this is all set up correctly locale-gen will do the
same thing.

Cheers,
Mark

Sector9 ~ # cat /etc/locale.gen
# /etc/locale.gen: list all of the locales you want to have on your system
#
# The format of each line:
#  
#
# Where  is a locale located in /usr/share/i18n/locales/ and
# where  is a charmap located in /usr/share/i18n/charmaps/.
#
# All blank lines and lines starting with # are ignored.
#
# For the default list of supported combinations, see the file:
# /usr/share/i18n/SUPPORTED
#
# Whenever glibc is emerged, the locales listed here will be automatically
# rebuilt for you.  After updating this file, you can simply run `locale-gen`
# yourself instead of re-emerging glibc.

en_US ISO-8859-1
en_US.UTF-8 UTF-8
Sector9 ~ #



Re: [gentoo-user] cannot burn cd: permissions error

2008-12-09 Thread KH
Andrey Vul schrieb:
> On Tue, Dec 9, 2008 at 03:47, Joerg Schilling
> <[EMAIL PROTECTED]> wrote:
>   
>> "Andrey Vul" <[EMAIL PROTECTED]> wrote:
>>
>> 
>>> I get the following error:
>>> [EMAIL PROTECTED] ~ $ cdrecord dev=ATA:1,0,0 vmware/Windows\ XP\
>>> Professional/shared/vLite.iso
>>>   
> [snip]
>   
>>> cdrecord: No such file or directory. Cannot open '/dev/hd*'. Cannot
>>> open or use SCSI driver.
>>>   
> This error is bothering me. It happens even when ran as root, yet I
> have /dev/hdc.
>
>   
>> You did not install cdrecord correctly (suid root is needed).
>> 
> I need to suid root a program that fails when ran as root?!?!?
> Something is very wrong.
>
>   
>> You called cdrecord with an outdated dev= argument.
>> 
>
> I had permission denied on /dev/sg0 too, so dev= is sort of irrelevant.
>
> Also, I had the same error during cdrecord -scanbus, even though I am
> in the cdrom and disk groups.
>
> Also, the same error happened when it was run *as root*. And not sudo, but su.
>
>   
When I run cdrecord I do it as root with the following command:
cdrecord -dev=4,0,0 -gracetime=3 -v -dao -speed=4 /path/to/my/file.iso

In fact I did not find a translation for "suid root" root to german, so
I don't know what that means.

kh



Re: [gentoo-user] Re: Desperately need advice on fixing a corrupt XFS partition

2008-12-09 Thread Neil Bothwick
On Tue, 9 Dec 2008 11:49:03 -0600, Paul Hartman wrote:

> When I run "less -f /dev/sdf1" i can see amongst the bits all of the
> names of my directories and files etc... so I am pretty sure the data
> is there and readable, but I can't figure out how to get XFS to go
> ahead and mount it so I can copy all of that stuff off and swear off
> USB hard drive adapters forever. :)

You could try photorec from app-admin/testdisk


-- 
Neil Bothwick

Just when my ship comes in, it's the Kobyashi Maru.


signature.asc
Description: PGP signature


[gentoo-user] Re: Desperately need advice on fixing a corrupt XFS partition

2008-12-09 Thread Paul Hartman
I accidentally sent this from the wrong email address the first time,
not sure if it went through to the list so I'm sending it again (I
apologize if it is a duplicate).

Hi,

I've got an external USB hard drive adapter that apparently have been
going bad, or maybe the drive is going bad, I don't know... It has
died a few times in the last week. During that time I've been burning
DVDs and trying to copy all of the  data off of it, but it choked with
about 130gb remaining and now, after hooking up a new adapter, XFS
won't mount it. :( It's full of pictures and home movies and stuff.
Sadly, this drive was part of my backup strategy. The files were all
consolidated on this disk, where I was sorting and organizing them
into nice DVD-sized chunks. I guess I wasn't fast enough.

When I try to mount, I get the "wrong fs type" message, and dmesg shows this:
XFS: bad version
XFS: SB validate failed

When I try to run xfs_check against it, it segfaults! (!!!)

# xfs_check /dev/sdf1
xfs_check: size check failed
xfs_check: read failed: Invalid argument
xfs_check: data size check failed
cache_node_purge: refcount was 1, not zero (node=0x1fd6c20)
xfs_check: cannot read root inode (22)
cache_node_purge: refcount was 1, not zero (node=0x1fd6d70)
xfs_check: cannot read realtime bitmap inode (22)
/usr/bin/xfs_check: line 28: 30698 Segmentation fault
xfs_db$DBOPTS -i -p xfs_check -c "check$OPTS" $1

xfs_repair exists, but the man page says it can only be used against
clealy unmounted drives... which seems kind of funny. I ran it anyway,
in read-only mode, and it was unable to find the primary superblock
and started scanning the disk for the secondary. I aborted it because
I don't know how much torture this drive can take.

When I run "less -f /dev/sdf1" i can see amongst the bits all of the
names of my directories and files etc... so I am pretty sure the data
is there and readable, but I can't figure out how to get XFS to go
ahead and mount it so I can copy all of that stuff off and swear off
USB hard drive adapters forever. :)

Remember a few days ago when someone on this list posted his XFS
horror story and I said I'd never had a problem with it? Yeah, I put a
curse on myself for sure when I said that. :P

If anyone has any ideas at all about how to go about fixing/mounting
this, I will be forever in your debt. Thanks.

Paul



Re: [gentoo-user] cannot burn cd: permissions error

2008-12-09 Thread Andrey Vul
On Tue, Dec 9, 2008 at 03:47, Joerg Schilling
<[EMAIL PROTECTED]> wrote:
> "Andrey Vul" <[EMAIL PROTECTED]> wrote:
>
>> I get the following error:
>> [EMAIL PROTECTED] ~ $ cdrecord dev=ATA:1,0,0 vmware/Windows\ XP\
>> Professional/shared/vLite.iso
[snip]
>> cdrecord: No such file or directory. Cannot open '/dev/hd*'. Cannot
>> open or use SCSI driver.
This error is bothering me. It happens even when ran as root, yet I
have /dev/hdc.

>
> You did not install cdrecord correctly (suid root is needed).
I need to suid root a program that fails when ran as root?!?!?
Something is very wrong.

> You called cdrecord with an outdated dev= argument.

I had permission denied on /dev/sg0 too, so dev= is sort of irrelevant.

Also, I had the same error during cdrecord -scanbus, even though I am
in the cdrom and disk groups.

Also, the same error happened when it was run *as root*. And not sudo, but su.

-- 
Andrey Vul

A: Because it messes up the order in which people normally read text.
Q: Why is top-posting such a bad thing?
A: Top-posting.
Q: What is the most annoying thing in e-mail?



Re: [gentoo-user] [bit OT] 32 vs. 64 bits

2008-12-09 Thread Michael Holmes
2008/12/8 Albert Hopkins <[EMAIL PROTECTED]>:
> win32codecs will not work unless it's used by a 32-bit exe (You can run
> 32-bit apps on x64).
By exe I assume you actually mean native binary. And yes, this is
correct, but I'm pretty sure there is a win64codecs ebuild too, if I
rembember correctly.




Re: [gentoo-user] Work!

2008-12-09 Thread Alan McKinnon
On Tuesday 09 December 2008 10:48:40 Karl Huysmans wrote:
> Hi All,
>
> Don't know if it's appropriate to post this on this list, sorry if it's
> not. Anyway, this is serious: we are currently looking for a junior IT with
> some Gentoo experience and with a special interest in media encoding and
> graphics for a job in a video post house in Brussels, Belgium. Most of our
> systems run Gentoo, and it's hard to find anyone through the usual
> channels, besides, we're looking for an enthousiast who wants to learn, and
> not for someone with a stack of certificates and diploma's. Anyone? Any
> other suggestions where else I could or should ask?

It's not against any rules per se, so I suppose if you did post and it was for 
a genuine position and it was you who were hiring (i.e. not an agent of some 
kind), then no-one would really complain.

We don't get such posts here much, probably because it's an international 
list. I find in my country we get much better results when people use the 
mailing list for the LUGs in their own city or country.

Good luck with your hiring!

-- 
alan dot mckinnon at gmail dot com



Re: [gentoo-user] [bit OT] 32 vs. 64 bits (Thanks)

2008-12-09 Thread Eric Martin
firefox 64bit is unstable for me, and I also think I have a problem
w/thunderbird / enigmail. Other than that I'm happily running 2 64bit
machines

On 12/9/08, pat <[EMAIL PROTECTED]> wrote:
> On Mon, 8 Dec 2008 14:59:00 +0100, pat wrote
>> Hello,
>>
>> I've bought a new laptop with Core 2 Duo processor which is 64 bit.
>> My question is if applications (see below) compiled and running over
>> 64 bits are stable enough or if I should compile for 32 bits.
>>
>> The applications are:
>> - Seamoneky/Firefox
>> - Java
>> - Flash
>> - Audacious
>> - mplayer
>> - VirtualBox/VMware
>> - Qemu
>> - Kerberos/OpenLDAP/OpenSSH (for these I think they are stable)
>> - X.org/fluxbox
>> - system suspending
>>
>> I have 4GB RAM and I know better is to compile for 64 bits, but for
>> me is more important stability.
>>
>> Thanks a lot
>>
>>  Pat
>
>
> Thanks for all advices. I'm going to try amd64 and I'll see :-D
>
> Thanks
>
>  Pat
>
>
>



Re: [gentoo-user] if I unmerge XYZ...

2008-12-09 Thread Alex Schuster
Andrew Gaydenko writes:

> Is there a way to predict which dependecies will be unsatisfied at case
> of unmerging some package without real unmerging?

emerge --depclean -pv XYZ

Wonko



Re: [gentoo-user] VIM Undo Command - don't do top posting

2008-12-09 Thread Stroller


On 8 Dec 2008, at 13:21, KH wrote:

A: Because it messes up the order in which people normally read text.
Q: Why is top-posting such a bad thing?
A: Top-posting.
Q: What is the most annoying thing in e-mail?


Could I possibly ask you to refrain from making replies to the list  
with this as the only contribution?


I refer also to your posts of 3 December 2008 09:09:59 GMT & 24  
October 2008 08:48:20 BST.


I see now that on this occasion you've been sensible enough to add to  
the subject line, but my initial assumption is that this is a "bug" of  
some sort and that some idiot has replied with only their signature.  
It is clearly very irritating to have to scroll through a whole long  
message of unabridged quoted text, to find nothing relevant to the  
subject.


I personally think that you'll never win the war against top-posting.  
But then my personal grudge is against those who quote in the opposite  
fashion to those who preceded them in the thread - I find a flow of  
quoting that is interrupted FAR less legible than the 3 short message  
sections, all concise, clear and top-posted, that you replied to.


Stroller.



[gentoo-user] Re: [OT] filesystems

2008-12-09 Thread Alex Schuster
Jorge Peixoto de Morais Neto wrote:

> Speaking of md5sum/shasum, do you know some tool that adds data
> redundancy? I heard dvddistaster does this, but I guess it is limited
> to DVDs.

No, it is not.

> It would be great fo find a general data redundancy tool.

emerge dvdisaster and see if it suits you.

Wonko



Re: [gentoo-user] if I unmerge XYZ...

2008-12-09 Thread Arttu V.
On 12/9/08, Andrew Gaydenko <[EMAIL PROTECTED]> wrote:
> Hi!
>
> Is there a way to predict which dependecies will be unsatisfied at case of
> unmerging some package without real unmerging?

Not being quite sure what "without real unmerging" here means, I'd
recommend checking out the man page of equery, especially the
"depends" option.

Maybe "equery --indirect depends foo" is what you're looking for?

-- 
Arttu V.



Re: [gentoo-user] [bit OT] 32 vs. 64 bits (Thanks)

2008-12-09 Thread TimeBreach

pat a écrit :

On Mon, 8 Dec 2008 14:59:00 +0100, pat wrote
  

Hello,

I've bought a new laptop with Core 2 Duo processor which is 64 bit. 
My question is if applications (see below) compiled and running over 
64 bits are stable enough or if I should compile for 32 bits.


The applications are:
- Seamoneky/Firefox
- Java
- Flash
- Audacious
- mplayer
- VirtualBox/VMware
- Qemu
- Kerberos/OpenLDAP/OpenSSH (for these I think they are stable)
- X.org/fluxbox
- system suspending

I have 4GB RAM and I know better is to compile for 64 bits, but for 
me is more important stability.


Thanks a lot

 Pat




Thanks for all advices. I'm going to try amd64 and I'll see :-D

Thanks

 Pat




  

I'm using Gentoo AMD64 since at least 2 years.
I have no issue just few details:
- usually you don't have latest stable versions on x86 you might use the 
precedent one or unmask the package.
- you might install firefox 32 for flashplayer (i tried with the wrapper 
not buildable yet).


For the rest everything is ok ^^


Re: [gentoo-user] [bit OT] 32 vs. 64 bits (Thanks)

2008-12-09 Thread pat
On Mon, 8 Dec 2008 14:59:00 +0100, pat wrote
> Hello,
> 
> I've bought a new laptop with Core 2 Duo processor which is 64 bit. 
> My question is if applications (see below) compiled and running over 
> 64 bits are stable enough or if I should compile for 32 bits.
> 
> The applications are:
> - Seamoneky/Firefox
> - Java
> - Flash
> - Audacious
> - mplayer
> - VirtualBox/VMware
> - Qemu
> - Kerberos/OpenLDAP/OpenSSH (for these I think they are stable)
> - X.org/fluxbox
> - system suspending
> 
> I have 4GB RAM and I know better is to compile for 64 bits, but for 
> me is more important stability.
> 
> Thanks a lot
> 
>  Pat


Thanks for all advices. I'm going to try amd64 and I'll see :-D

Thanks

 Pat




[gentoo-user] if I unmerge XYZ...

2008-12-09 Thread Andrew Gaydenko
Hi!

Is there a way to predict which dependecies will be unsatisfied at case of 
unmerging some package without real unmerging?



[gentoo-user] Work!

2008-12-09 Thread Karl Huysmans
Hi All,

Don't know if it's appropriate to post this on this list, sorry if it's not.
Anyway, this is serious: we are currently looking for a junior IT with some
Gentoo experience and with a special interest in media encoding and graphics
for a job in a video post house in Brussels, Belgium. Most of our systems
run Gentoo, and it's hard to find anyone through the usual channels,
besides, we're looking for an enthousiast who wants to learn, and not for
someone with a stack of certificates and diploma's. Anyone? Any other
suggestions where else I could or should ask?

grtz

Karl


Re: [gentoo-user] cannot burn cd: permissions error

2008-12-09 Thread Joerg Schilling
"Andrey Vul" <[EMAIL PROTECTED]> wrote:

> I get the following error:
> [EMAIL PROTECTED] ~ $ cdrecord dev=ATA:1,0,0 vmware/Windows\ XP\
> Professional/shared/vLite.iso
> cdrecord: No write mode specified.
> cdrecord: Asuming -sao mode.
> cdrecord: If your drive does not accept -sao, try -tao.
> cdrecord: Future versions of cdrecord may have different drive
> dependent defaults.
> Cdrecord-ProDVD-ProBD-Clone 2.01.01a53 (i686-pc-linux-gnu) Copyright
> (C) 1995-2008 JÃ?rg Schilling
> cdrecord: Operation not permitted. Warning: Cannot raise
> RLIMIT_MEMLOCK limits.cdrecord: Cannot allocate memory. WARNING:
> Cannot do mlockall(2).
> cdrecord: WARNING: This causes a high risk for buffer underruns.
> cdrecord: Operation not permitted. WARNING: Cannot set RR-scheduler
> cdrecord: Permission denied. WARNING: Cannot set priority using setpriority().
> cdrecord: WARNING: This causes a high risk for buffer underruns.
> scsidev: 'ATA:1,0,0'
> devname: 'ATA'
> scsibus: 1 target: 0 lun: 0
> Warning: Using badly designed ATAPI via /dev/hd* interface.
> Linux sg driver version: 3.5.27
> cdrecord: No such file or directory. Cannot open '/dev/hd*'. Cannot
> open or use SCSI driver.
> cdrecord: For possible targets try 'cdrecord -scanbus'. Make sure you are 
> root.
> cdrecord: For possible transport specifiers try 'cdrecord dev=help'.
>

You did not install cdrecord correctly (suid root is needed).
You called cdrecord with an outdated dev= argument.

Jörg

-- 
 EMail:[EMAIL PROTECTED] (home) Jörg Schilling D-13353 Berlin
   [EMAIL PROTECTED](uni)  
   [EMAIL PROTECTED] (work) Blog: http://schily.blogspot.com/
 URL:  http://cdrecord.berlios.de/private/ ftp://ftp.berlios.de/pub/schily



Re: [gentoo-user] cannot burn cd: permissions error

2008-12-09 Thread Shawn Haggett

Andrey Vul wrote:

I get the following error:
[EMAIL PROTECTED] ~ $ cdrecord dev=ATA:1,0,0 vmware/Windows\ XP\
Professional/shared/vLite.iso
...
cdrecord: For possible targets try 'cdrecord -scanbus'. Make sure you are root.


I'm not familiar with cdrecord, but have you tried this?