Re: [gentoo-user] Corrupt USB pen drive

2007-05-18 Thread Mick
On Thursday 17 May 2007 23:27, Etaoin Shrdlu wrote:
 On Thursday 17 May 2007 18:04, Mick wrote:
   Thanks Dan, as I said above I tried to extract the MBR out of it by
   running:
  
   dd if=/dev/sda of=/tmp/r1 bs=512
  
   But couldn't access it whatsoever.
 
  Oops! I could access it, but of course I had to try it as root!
  Right, I've got it on my hard drive now, but still cannot mount it:
  ==
  # mount -t vfat /dev/loop2 /tmp/r1
  mount: wrong fs type, bad option, bad superblock on /dev/loop2,
 missing codepage or other error
 In some cases useful info is found in syslog - try
 dmesg | tail  or so
  ==

 IIRC, that is not the right syntax for mounting a loopback filesystem.
 If /tmp/r1 is the file containing the filesystem, try

 mount -o loop /tmp/r1 /mnt/somewhere

 and make sure you have support for loopback devices in your kernel.

Thanks for all the suggestions.  I tried the correct mount loopback command 
on /dev/loop2 and I'm getting this error that mentions /dev/loop0 (how does 
this work?):
==
# mount -t vfat -o loop /dev/loop2 /tmp/r1
mount: wrong fs type, bad option, bad superblock on /dev/loop0,
   missing codepage or other error
   In some cases useful info is found in syslog - try
   dmesg | tail  or so
==

Anyway, regarding a previous comment by Dan I tried accessing /dev/sda1 but it 
complained that the device does not exist, unlike /dev/sda which appears to 
be there.  I have a couple of USB sticks that also have no partition table 
(they are like floppies) and I access these as /dev/sda.  When I look at 
their few first bytes they look like this:
==
00 eb 3c 90 4d 53 44 4f 53 35 2e 30 00 02 20 01 00
10 02 00 02 00 00 f8 f4 00 3f 00 ff 00 00 00 00 00
20 00 7a 1e 00 00 00 29 96 9d 62 60 4e 4f 20 4e 41
30 4d 45 20 20 20 20 46 41 54 31 36 20 20 20 33 c9
==

On the other hand the corrupt disk looks like this:
==
00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
*
0001f0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 55 aa
000200 ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff
*
02 01 df 02 df 03 df 04 df 05 df 06 df 07 df 08 df
020010 09 df 0a df 0b df 0c df 0d df 0e df 0f df 10 df
020020 11 df 12 df 13 df 14 df 15 df 16 df 17 df 18 df
020030 19 df 1a df 1b df 1c df 1d df 1e df 1f df 20 df
020040 21 df 22 df 23 df 24 df 25 df 26 df 27 df 28 df
020050 29 df 2a df 2b df 2c df ff ff 2e df 2f df 30 df
==
which makes me think that it has different partitions on it, but the partition 
table is corrupted.  Otherwise, I guess I would be able to access it 
through /dev/sda1.  So, the question now is how do I recreate/reconstruct it?  
I'll surely need some help with it because all this hex means nothing to me.

-- 
Regards,
Mick


pgp1W34frA4GB.pgp
Description: PGP signature


Re: [gentoo-user] Gentoo gets as bad SuSE: Circular dependencies [WAS: Thank you Gentoo devs]

2007-05-18 Thread Arturo 'Buanzo' Busleiman
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA512

[EMAIL PROTECTED] wrote:
 ATI has nice graphics maybe (I still prefer nVidia), but they
 are not friendly to the Open Source World.

AMD announced last week that they will be releasing ATI drivers as OSS:

http://linux.slashdot.org/article.pl?sid=07/05/13/1659245

previous to the former announcement:
http://linux.slashdot.org/linux/07/05/10/1424224.shtml

- --
Arturo Buanzo Busleiman - Consultor Independiente en Seguridad Informatica
OpenPGP for HTTP: New Web-Auth Scheme: http://freshmeat.net/articles/view/2599
Consulting and Secure Mail Hosting: http://www.buanzo.com.ar/pro/
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.7 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFGTXmLAlpOsGhXcE0RCglFAJ91jOKEFPl0DUFxE29CIri9HaOJxgCdGG5q
WXc+SuxJV4W/NRL1XOV62VM=
=1lG4
-END PGP SIGNATURE-
-- 
[EMAIL PROTECTED] mailing list



Re: [gentoo-user] Corrupt USB pen drive

2007-05-18 Thread Etaoin Shrdlu
On Friday 18 May 2007 10:29, Mick wrote:

 On Thursday 17 May 2007 23:27, Etaoin Shrdlu wrote:
  IIRC, that is not the right syntax for mounting a loopback
  filesystem. If /tmp/r1 is the file containing the filesystem, try
 
  mount -o loop /tmp/r1 /mnt/somewhere
 
  and make sure you have support for loopback devices in your kernel.

 Thanks for all the suggestions.  I tried the correct mount loopback
 command on /dev/loop2 and I'm getting this error that mentions
 /dev/loop0 (how does this work?):
 ==
 # mount -t vfat -o loop /dev/loop2 /tmp/r1
 mount: wrong fs type, bad option, bad superblock on /dev/loop0,
missing codepage or other error
In some cases useful info is found in syslog - try
dmesg | tail  or so
 ==

You still seem to be missing the correct syntax. (note: this might not 
solve your problem, and even issuing the right command might be of no 
help, but since you asked for it, here it is).

With every mount command, you have to specify at least two things: *what* 
to mount, and *where* to mount it, in this order. *Where* is usually a 
path to some (preferably empty) directory. *what* can be various things, 
depending on what you're trying to mount. For regular disk partitions, 
it's usually a device file (eg, /dev/sda1). For NFS, it's a string of 
the form remote_host:/remote/path. For loopback filesystems (ie, 
filesystems contained in a single file), it's the name of the container 
file, like your /tmp/r1. When mounting loopback filesystems, the -o 
loop option must be given. The -o loop option accepts some optional 
parameters. One of these is the specification of the loopback device 
that should be used.
To explicitly specify a loopback device, use -o loop=/dev/loopX. If no 
loopback device is specificed, then mount will automatically pick an 
unused loopback device (probably /dev/loop0). Your command 

# mount -t vfat -o loop /dev/loop2 /tmp/r1

uses an incorrect syntax for the specification of the loopback device 
(which is optional anyway), and does not tell where to mount the 
filesystem. So, what you probably want is

# mount -t vfat -o loop=/dev/loop2 /tmp/r1 /mnt/somewhere

or just simply

# mount -t vfat -o loop /tmp/r1 /mnt/somewhere
-- 
[EMAIL PROTECTED] mailing list



[gentoo-user] amd64 xorg ctrl+alt+fn doesn't work (anymore)

2007-05-18 Thread Helmut Jarausch
Hi,

I have GenToo running on x86 and amd64 platforms with (nearly) identical
packages (mostly bleeding edge) among these xorg-x11-7.2 .
On the amd-64 platform (only),under icewm as well as under fvwm2 I
cannot longer switch to a vertual terminal by the key combination
ctrlaltFn.
I haven't enabled the DontVTSwitch serverflag and I haven't
redefined these key combinations under either fvwm2 and icewm.

What could be the reason?

Many thanks for a hint,


Helmut Jarausch

Lehrstuhl fuer Numerische Mathematik
RWTH - Aachen University
D 52056 Aachen, Germany

-- 
[EMAIL PROTECTED] mailing list



Re: [gentoo-user] Gentoo gets as bad SuSE: Circular dependencies [WAS: Thank you Gentoo devs]

2007-05-18 Thread Neil Bothwick
On Thu, 17 May 2007 18:03:21 +0200, Enrico Weigelt wrote:

  If A depends on B and B depends on A, you build A without support 
  for B, then you can safely install B and A again with the features 
  you wanted. 
 
 Great idea. Lots of redundant compiles and manual work just because
 unclean dependencies.

Lots? This new install has over 1000 packages on it, there was exactly
one circular depends, brought about by my changing USE flags too much. It
took around a minute to fix. If you are really that limited for CPU
cycles that this is a problem, I suggest you should not be using a source
based distro.

 Let's see if we get the driver API moved out to its own package,
 so we it'll be some bit clearer (could also make licensing issues
 some bit easier), but that's another story.

Yes, and one for the XOrg list, since Gentoo's policy is to stay as lose
to upstream as is feasible.

 It *P*DEPENDs on them. That's an (strange) kind of special dependency
 which is pulled in *after* install, instead of *before*. But still 
 it is an dependency.
 
 So, Xserver dependens on driver(s), drivers depend on Xserver. 
 Circular dependency.

no ot doesn't, it PDEPENDS on them, thereby removing any circular
dependency.

 q.e.d.

Quite Erroneous Debate?

  Jakub is no longer a bug-wrangler, or a dev, he retired last month.
 
 Ah, good things still happen ? ;P

Jakub was very good at his job, but he does have an attitude problem.

Are you trying to emulate him, you are already halfway there?


-- 
Neil Bothwick

If at first you do succeed, try to hide your astonishment.


signature.asc
Description: PGP signature


RE: [gentoo-user] Gentoo gets as bad SuSE: Circular dependencies [WAS: Thank you Gentoo devs]

2007-05-18 Thread burlingk


 -Original Message-
 From: Arturo 'Buanzo' Busleiman [mailto:[EMAIL PROTECTED] 
 Sent: Friday, May 18, 2007 7:02 PM
 To: gentoo-user@lists.gentoo.org
 Subject: Re: [gentoo-user] Gentoo gets as bad SuSE: Circular 
 dependencies [WAS: Thank you Gentoo devs]
 
 
 -BEGIN PGP SIGNED MESSAGE-
 Hash: SHA512
 
 [EMAIL PROTECTED] wrote:
  ATI has nice graphics maybe (I still prefer nVidia), but 
 they are not 
  friendly to the Open Source World.
 
 AMD announced last week that they will be releasing ATI 
 drivers as OSS:
 http://linux.slashdot.org/article.pl?sid=07/05/13/1659245
previous to the former announcement:
http://linux.slashdot.org/linux/07/05/10/1424224.shtml

Cool.
Even though ATI wasn't very Open Source friendly, AMD always has been.
:P
It is good when our allies buy out hostile entities. ^_^

I still prefer nVidia. :P  Someone just needs to nudge them in the right
direction.
Maybe this will do the trick. ^_^  At the very least, we will hopefully
have drivers
for our ATI cards soon. ^_^

--
[EMAIL PROTECTED] mailing list



[gentoo-user] airodump aireplay

2007-05-18 Thread Arnau Bria
Hi,

could some one tell what do I have to install if I need
airodumop/aireplay?

It's supposed to be in net-wireless/aircrack-ng, but I don't have both
files...

Cheers!

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



Re: [gentoo-user] airodump aireplay

2007-05-18 Thread Bryan Østergaard
On Fri, May 18, 2007 at 12:37:22PM +0200, Arnau Bria wrote:
 Hi,
 
 could some one tell what do I have to install if I need
 airodumop/aireplay?
 
 It's supposed to be in net-wireless/aircrack-ng, but I don't have both
 files...
Enable the wifi USE flag and reinstall aircrack-ng.

Regards,
Bryan Østergaard
-- 
[EMAIL PROTECTED] mailing list



[gentoo-user] Peace, please [WAS: Gentoo gets as bad SuSE: Circular dependencies [WAS: xorg-7.2 and ati-drivers-8.32.5 - Thank you Gentoo devs]]

2007-05-18 Thread Remy Blank
Hi people,

I sure didn't expect a simple thank you to people spending lots of their
time ensuring that I can save mine, degenerate into a flamewar.

Now, we all know about this, don't we?

  http://video.google.com/videoplay?docid=-4216011961522818645

For those who don't, I'll summarize here:

 - Everybody: please stop feeding the troll.
 - Enrico: please go away.

Thank you for your consideration.
-- Remy


PS: And one more thing: please don't reply to this message. Enough
bandwidth has been wasted already.



signature.asc
Description: OpenPGP digital signature


Re: [gentoo-user] airodump aireplay

2007-05-18 Thread Arnau Bria
On Fri, 18 May 2007 13:12:59 +0200
Bryan Østergaard wrote:

 On Fri, May 18, 2007 at 12:37:22PM +0200, Arnau Bria wrote:
  Hi,
  
  could some one tell what do I have to install if I need
  airodumop/aireplay?
  
  It's supposed to be in net-wireless/aircrack-ng, but I don't have
  both files...
 Enable the wifi USE flag and reinstall aircrack-ng.
Thanks!
 
 Regards,
 Bryan Østergaard


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



Re: [gentoo-user] Panic at boot time after update kernel to 2.6.20-r8.

2007-05-18 Thread Neil Walker

Dale wrote:

No. The update code is built into the hardware now, if just needs a FAT
partition it can read the new firmware file from.
  


Now that is kewl!!  I need to make sure the next mobo I buy has that 
feature.  ;-) 


Or you can just emerge syslinux and boot a floppy image on your hd from 
grub - as I just did with my new Abit. ;)



Be lucky,

Neil

--
[EMAIL PROTECTED] mailing list



Re: [gentoo-user] Corrupt USB pen drive

2007-05-18 Thread Mick
On Friday 18 May 2007 10:24, Etaoin Shrdlu wrote:

 You still seem to be missing the correct syntax. (note: this might not
 solve your problem, and even issuing the right command might be of no
 help, but since you asked for it, here it is).
[snip . . . ]

Thanks!  Things don't always go as they should when I rush through commands - 
especially those I am not familiar with.  It's crystal clear now.

 # mount -t vfat -o loop /dev/loop2 /tmp/r1

 uses an incorrect syntax for the specification of the loopback device
 (which is optional anyway), and does not tell where to mount the
 filesystem. So, what you probably want is

 # mount -t vfat -o loop=/dev/loop2 /tmp/r1 /mnt/somewhere

 or just simply

 # mount -t vfat -o loop /tmp/r1 /mnt/somewhere

I am getting the same errors as before:
==
# mount -t vfat -o loop /tmp/r1 /mnt/sda1
mount: wrong fs type, bad option, bad superblock on /dev/loop1,
   missing codepage or other error
   In some cases useful info is found in syslog - try
   dmesg | tail  or so
==

No matter if I use vfat, msdos, or ntfs.  It seems to me that I need to 
reconstruct the hex of the partition table - but don't know how to do this 
and testdisk does not see the device to recover previous partition tables.

What now?
-- 
Regards,
Mick


pgpqK120aljVP.pgp
Description: PGP signature


Re: [gentoo-user] amd64 xorg ctrl+alt+fn doesn't work (anymore)

2007-05-18 Thread Nistor Andrei
On Friday 18 May 2007, Helmut Jarausch wrote:
 Hi,

Hello,

 I have GenToo running on x86 and amd64 platforms with (nearly) identical
 packages (mostly bleeding edge) among these xorg-x11-7.2 .
 On the amd-64 platform (only),under icewm as well as under fvwm2 I
 cannot longer switch to a vertual terminal by the key combination
 ctrlaltFn.

I'm running Gentoo on ~x86 too, and have the same problem... Same version of 
Xorg. The only difference is I'm running KDE.

 I haven't enabled the DontVTSwitch serverflag and I haven't
 redefined these key combinations under either fvwm2 and icewm.

Neither have I.

 What could be the reason?

I haven't got a clue, I have posted to this list a few weeks ago regarding the 
same problem, but I haven't found any sollution...

 Many thanks for a hint,


 Helmut Jarausch

 Lehrstuhl fuer Numerische Mathematik
 RWTH - Aachen University
 D 52056 Aachen, Germany


-- 
[EMAIL PROTECTED] mailing list



Re: [gentoo-user] Corrupt USB pen drive

2007-05-18 Thread Hans-Werner Hilse
Hi,

On Fri, 18 May 2007 12:50:07 +0100 Mick [EMAIL PROTECTED]
wrote:

 I am getting the same errors as before:
 ==
 # mount -t vfat -o loop /tmp/r1 /mnt/sda1
 mount: wrong fs type, bad option, bad superblock on /dev/loop1,
missing codepage or other error
In some cases useful info is found in syslog - try
dmesg | tail  or so
 ==
 
 No matter if I use vfat, msdos, or ntfs.  It seems to me that I need
 to reconstruct the hex of the partition table - but don't know how to
 do this and testdisk does not see the device to recover previous
 partition tables.

I'm pretty sure someone borked the first sectors of that stick. It
might have contained a partition table at some point in the past, and
the partition table might be gone now (HD mode). But there is also the
possibility that there wasn't a partition table but just a single
filesystem on the stick (superfloppy mode).

My suggestion is to take a hex editor and search for the start of a
partition. Most partition types are easily recognizable by some magic
bytes. It would, however, help a lot if you could tell what kind of
filesystem there was. If you found the start of the filesystem, just
use dd again and skip the bytes until the real start of the FS. You can
then mount the resulting file (w/o partitioning and such).

Did you try the recovery tools for the FS in question?

-hwh
-- 
[EMAIL PROTECTED] mailing list



[gentoo-user] Can't compile webalizer...

2007-05-18 Thread Huib van Wees

Hi all,

I try to emerge webalizer, but this keeps failing...
I searched on the list, but didn't find the error..

This is the error where the compile breaks:

dns_resolv.o: In function `open_cache':
dns_resolv.c:(.text+0x100): undefined reference to `__db185_open_4002'
dns_resolv.o: In function `dns_resolver':
dns_resolv.c:(.text+0x64d): undefined reference to `__db185_open_4002'
collect2: ld returned 1 exit status
make: *** [webalizer] Error 1

!!! ERROR: app-admin/webalizer-2.01.10-r12 failed.
Call stack:
 ebuild.sh, line 1614:   Called dyn_compile
 ebuild.sh, line 971:   Called qa_call 'src_compile'
 environment, line 3192:   Called src_compile
 webalizer-2.01.10-r12.ebuild, line 97:   Called die

!!! make failed
!!! If you need support, post the topmost build error, and the call stack if
relevant.
!!! A complete build log is located at
'/var/tmp/portage/app-admin/webalizer-2.01.10-r12/temp/build.log'.

Anyone any ideas?

--
Met vriendelijke groet / With kind regards,

H. van Wees
---
If UNIX isn't the solution, you've got the wrong problem.


Re: [gentoo-user] Corrupt USB pen drive

2007-05-18 Thread Mick
On Friday 18 May 2007 13:25, Hans-Werner Hilse wrote:
 Hi,

 On Fri, 18 May 2007 12:50:07 +0100 Mick [EMAIL PROTECTED]
 wrote:

  No matter if I use vfat, msdos, or ntfs.  It seems to me that I need
  to reconstruct the hex of the partition table - but don't know how to
  do this and testdisk does not see the device to recover previous
  partition tables.

 I'm pretty sure someone borked the first sectors of that stick. It
 might have contained a partition table at some point in the past, and
 the partition table might be gone now (HD mode). But there is also the
 possibility that there wasn't a partition table but just a single
 filesystem on the stick (superfloppy mode).

 My suggestion is to take a hex editor and search for the start of a
 partition. Most partition types are easily recognizable by some magic
 bytes. It would, however, help a lot if you could tell what kind of
 filesystem there was. If you found the start of the filesystem, just
 use dd again and skip the bytes until the real start of the FS. You can
 then mount the resulting file (w/o partitioning and such).

 Did you try the recovery tools for the FS in question?

I tried fsck.msdos but didn't fix it.

Like most USB sticks I would assume that it is either FAT32 or FAT16.  Given 
that this is what I see when I dump the first few bytes, can you please tell 
me where the fs data starts and how to dd that without inc the initial 
partition table data?
==
00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
*
0001f0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 55 aa
000200 ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff
*
02 01 df 02 df 03 df 04 df 05 df 06 df 07 df 08 df
020010 09 df 0a df 0b df 0c df 0d df 0e df 0f df 10 df
020020 11 df 12 df 13 df 14 df 15 df 16 df 17 df 18 df
020030 19 df 1a df 1b df 1c df 1d df 1e df 1f df 20 df
020040 21 df 22 df 23 df 24 df 25 df 26 df 27 df 28 df
020050 29 df 2a df 2b df 2c df ff ff 2e df 2f df 30 df
020060 31 df 32 df 33 df 34 df 35 df 36 df 37 df 38 df
020070 39 df 3a df 3b df 3c df 3d df 3e df 3f df 40 df
020080 41 df 42 df 43 df 44 df 45 df 46 df 47 df 48 df
020090 49 df 4a df 4b df 4c df 4d df 4e df 4f df 50 df
0200a0 51 df 52 df 53 df 54 df 55 df 56 df 57 df 58 df
0200b0 59 df 5a df 5b df 5c df 5d df 5e df 5f df 60 df
0200c0 61 df 62 df 63 df 64 df 65 df 66 df 67 df 68 df
0200d0 69 df 6a df 6b df 6c df 6d df 6e df 6f df 70 df
[snip]

0202a0 51 e0 52 e0 53 e0 54 e0 55 e0 56 e0 57 e0 58 e0
0202b0 59 e0 5a e0 5b e0 5c e0 5d e0 5e e0 5f e0 60 e0
0202c0 61 e0 62 e0 63 e0 64 e0 65 e0 66 e0 4f 93 00 00
0202d0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
*
020360 00 00 00 00 00 00 00 00 00 00 00 00 b7 e0 b8 e0
020370 b9 e0 ba e0 bb e0 bc e0 bd e0 be e0 bf e0 c0 e0
020380 c1 e0 c2 e0 c3 e0 c4 e0 c5 e0 c6 e0 c7 e0 c8 e0
020390 c9 e0 ca e0 cb e0 cc e0 cd e0 ce e0 cf e0 d0 e0
0203a0 d1 e0 d2 e0 d3 e0 d4 e0 d5 e0 d6 e0 d7 e0 d8 e0
[snip]

021ab0 59 ec 5a ec 5b ec 5c ec 5d ec 5e ec 5f ec 60 ec
021ac0 61 ec ff ff 63 ec 64 ec 65 ec 66 ec 67 ec 68 ec
021ad0 69 ec 6a ec 6b ec 6c ec 6d ec 6e ec 6f ec 70 ec
021ae0 71 ec ff ff 00 00 00 00 00 00 00 00 00 00 00 00
021af0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
*
022720 00 00 00 00 00 00 00 00 00 00 96 f2 97 f2 98 f2
022730 99 f2 9a f2 9b f2 9c f2 9d f2 9e f2 9f f2 a0 f2
022740 a1 f2 a2 f2 a3 f2 a4 f2 a5 f2 a6 f2 a7 f2 a8 f2
022750 a9 f2 aa f2 ab f2 ac f2 ad f2 ae f2 af f2 b0 f2
==

I assume that the asterisks indicate a new file starting there?

Thanks for all your help.  :)
-- 
Regards,
Mick


pgpdJiyKVVsug.pgp
Description: PGP signature


Re: [gentoo-user] Corrupt USB pen drive

2007-05-18 Thread Dan Farrell
On Fri, 18 May 2007 14:11:14 +0100
Mick [EMAIL PROTECTED] wrote:

 On Friday 18 May 2007 13:25, Hans-Werner Hilse wrote:
  Hi,
 
  On Fri, 18 May 2007 12:50:07 +0100 Mick [EMAIL PROTECTED]
  wrote:
 
   No matter if I use vfat, msdos, or ntfs.  It seems to me that I
   need to reconstruct the hex of the partition table - but don't
   know how to do this and testdisk does not see the device to
   recover previous partition tables.
I agree that you probalby need to get the partition table, or at least
information about the partition in question.  Althought it is possibe
that the disk is all one filesystem, I have never seen windows do it
that way for a usb stick.  I assume it's all one big partition,
formatted vfat, just like all the others I've seen.  
  I'm pretty sure someone borked the first sectors of that stick. It
  might have contained a partition table at some point in the past,
  and the partition table might be gone now (HD mode). 
I agree, this eems to be the case.  
  But there is
  also the possibility that there wasn't a partition table but just a
  single filesystem on the stick (superfloppy mode).
 
  My suggestion is to take a hex editor and search for the start of a
  partition. Most partition types are easily recognizable by some
  magic bytes. It would, however, help a lot if you could tell what
  kind of filesystem there was. If you found the start of the
  filesystem, just use dd again and skip the bytes until the real
  start of the FS. You can then mount the resulting file (w/o
  partitioning and such).
I agree.  I've been reading about vfat filesystems a little and I think
this article http://en.wikipedia.org/wiki/VFAT seems to have all the
information we need.  However,
 ==
 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
If there are zeroes all through here...
 0001f0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 55 aa
 000200 ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff
and FF's all through here, I'm not sure there's enough left over to
recover filesystem information.  
-- 
[EMAIL PROTECTED] mailing list



Re: [gentoo-user] Corrupt USB pen drive

2007-05-18 Thread Etaoin Shrdlu
On Friday 18 May 2007 15:11, Mick wrote:

 On Friday 18 May 2007 13:25, Hans-Werner Hilse wrote:
  Did you try the recovery tools for the FS in question?

 I tried fsck.msdos but didn't fix it.

 Like most USB sticks I would assume that it is either FAT32 or FAT16. 
 Given that this is what I see when I dump the first few bytes, can you
 please tell me where the fs data starts and how to dd that without inc
 the initial partition table data?
 ==
 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
 *
 0001f0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 55 aa
 000200 ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff
 *
 02 01 df 02 df 03 df 04 df 05 df 06 df 07 df 08 df

[cut]
 I assume that the asterisks indicate a new file starting there?

Are you using hexdump to read the data? Does the above output come from 
hexdumping the actual device or the image file?

The asterisks look strange. If you look carefully, you see that each 
asterisk does not merely replace a single line of output, but several 
lines. Look at the addresses of the lines before and after: for example, 
000200 - asterisk - 02 in your output above. So, that asterisk 
represents 0x02 - 0x000210 =  0x1fdf0 bytes, ie 130544 bytes. If the 
dump comes from the actual device (like I suppose), it could be that 
these bytes are skipped because they are somehow unreadable, so it's 
really difficult to compare this output with one from a working device, 
in either HD or superfloppy mode. In particular, there is an asterisk 
immediately after the first 16 bytes (line 00), and the dump 
continues at byte 0x0001f0 (496 decimal), and this means that the very 
first sector (where the interesting stuff is) is almost entirely damaged 
or otherwise unreadable.
Also, trying to dd the device to a file as you did would almost certainly 
insert unpredictable garbage in the file to represent the unreadable 
parts of the device.

Chances are it was in HD mode (ie, with a partition table), because the 
signature at the end of the first 512 bytes (the 55 aa at the end of 
the 0001f0 line) indicates a boot sector (the MBR).
Within this boot sector, the partition table is 64 bytes long and usually 
lives from byte 446 to byte 509 of the sector (512 bytes long, numbered 
from 0 to 511; bytes 510 and 511 are the signature). Since a partition 
table is composed of four records, each 16 bytes long, this means you 
have only the last 14 bytes of the fourth partition table record. But, 
it's very very likely that there was only a single partition, and thus 
the fourth record is unused and set to all zeros. What you would need is 
the value of the bytes from 446 to 461 (the first partition table 
record, which has info about the first partition), but, as I said above, 
all this data seems to be lost in the asterisk, like tears in the rain 
(cit.).

Bottom line: I would not bet on data recovery from that stick.
It's also true that there might be some program I'm unaware of which 
could try or be able to recover things, but unfortunately I have no 
advice for you about this.
-- 
[EMAIL PROTECTED] mailing list



Re: [gentoo-user] Corrupt USB pen drive

2007-05-18 Thread Hans-Werner Hilse
Hi,

On Fri, 18 May 2007 14:11:14 +0100 Mick [EMAIL PROTECTED]
wrote:

  Did you try the recovery tools for the FS in question?
 
 I tried fsck.msdos but didn't fix it.

Doesn't make me wonder, as I'll explain below, there's no file system
starting at offset 0 in that image of your stick...

 Like most USB sticks I would assume that it is either FAT32 or
 FAT16.

I would have guessed that too. However: FAT file systems even carry
FAT as verbatim chars at the start of the partition... So it's quite
easy to spot the start of a FAT partition...

 Given that this is what I see when I dump the first few
 bytes, can you please tell me where the fs data starts and how to dd
 that without inc the initial partition table data?
 ==
 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
 *
 0001f0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 55 aa

I'll answer another question first: The asterisk indicates consecutive
lines w/ the same data. So here, we have a full block (512 bytes,
0x000-0x1ff) containing almost only zeros. It stops with a valid master
boot record magic number (0x55aa). This MBR doesn't contain anything,
so there's no partition table, either. It also might be a part of a FAT
file system's boot sector (the end-of-sector marker bytes).

 000200 ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff
 *
 02 [...]

OK, so from 0x00200-0x1 it contains only consecutive 0xff bytes,
i.e. (0x2 / 0x200) = 0x100 = 256 (dec) blocks (à 0x200=512 bytes).
That's nearly 128 kBytes of 0xff. I wonder how it got there. I think
all this indicates that there might have been some tool which overwrote
the first 128k of this stick with some default data or similar. At
least, the first 128k are modified and can't work this way, since
there's neither a valid MBR, nor a valid partition table nor a valid
file system at offset 0.

What's following next? I think it might be the tail of a FAT16 (the FAT
itself). This means there is no boot sector anymore. The boot sector is
not redundant for FAT file systems, so it would have to be recreated.
The FAT itself, however, is usually present a second time (see
http://en.wikipedia.org/wiki/File_Allocation_Table for details). It
clearly looks like FAT, since this we have a end-of-file indication:

 02 01 df 02 df 03 df 04 df 05 df 06 df 07 df 08 df
 020010 09 df 0a df 0b df 0c df 0d df 0e df 0f df 10 df
 020020 11 df 12 df 13 df 14 df 15 df 16 df 17 df 18 df
 020030 19 df 1a df 1b df 1c df 1d df 1e df 1f df 20 df
 020040 21 df 22 df 23 df 24 df 25 df 26 df 27 df 28 df
 020050 29 df 2a df 2b df 2c df ff ff 2e df 2f df 30 df
 -
 020060 31 df 32 df 33 df 34 df 35 df 36 df 37 df 38 df
 [...]

All the rest of data you've quoted doesn't mean a lot, I think it's all
from the FAT. I would suggest you find out whether there's a full copy
of the FAT intact after the data you quoted. Just search for some of
the byte sequences you quoted here and if you're lucky, there's an
intact FAT later on. After the FATs, there will most probably be the
directory table. You should be able to look up the file names there
verbatim.

OK, but how to continue? You probably need a new boot sector and a
clean FAT. You can manually create one, but it's a tedious process.
Look at the FAT documentation and try to figure out cluster size
(probably Stick size / 65536) and so on. OTOH, you can try to create a
new FAT16 fs on media with the same size as the stick (e.g. 
dd if=/dev/zero) and then try to implant the backup copy of your
FAT (two times, once as new primary FAT, once as a secondary FAT) and
directory table and of course the data into that new FAT16.

Unfortunately, by default it seems that the backup copy of the FAT
itself for a 255744 sector Stick defaults to start at 0x1f600. So a
considerable amount even of the backup FAT would be destroyed if the
original layout resembles this geometry.

So at that point, there's not a lot you can do, aside from tools like
the mentioned Photorec and its commercial brothers, which can do a neat
job when you're back to heuristically determining start/stop of files
(which mustn't be too fragmented, of course) in a data stream.

-hwh
--
[EMAIL PROTECTED] mailing list



Re: [gentoo-user] Corrupt USB pen drive

2007-05-18 Thread Etaoin Shrdlu
On Friday 18 May 2007 16:48, Hans-Werner Hilse wrote:

 I'll answer another question first: The asterisk indicates consecutive
 lines w/ the same data. So here, we have a full block (512 bytes,
 0x000-0x1ff) containing almost only zeros. It stops with a valid
 master boot record magic number (0x55aa). This MBR doesn't contain
 anything, so there's no partition table, either. It also might be a
 part of a FAT file system's boot sector (the end-of-sector marker
 bytes).
[cut]

I did not know about the meaning of the asterisk...so your explanation 
does make more sense than mine. Thanks for clearing up things.
-- 
[EMAIL PROTECTED] mailing list



[gentoo-user] Boa is now hard masked?

2007-05-18 Thread Mick
Hi All,

eix and portage are telling me:

[D] www-servers/boa
 Available versions:  [M]0.94.13 [M]0.94.13-r1 [M]~0.94.14_alpha20 
[M]~0.94.14_alpha20-r1 [M]~0.94.14_rc21
 Installed versions:  0.94.13-r1(16:46:05 03/19/07)(-tetex)
 Homepage:http://www.boa.org/
 Description: Boa - A very small and very fast http daemon


However, http://packages.gentoo.org/search/?sstring=boa is still shown as 
stable.  The Changelog is not showing anything to explain why it has been 
masked.  Am I missing something?

If Boa is indeed a gonner, what would you recommend I use to share my 
distfiles with other boxen on my LAN?
-- 
Regards,
Mick


pgpwW6rBPHhB1.pgp
Description: PGP signature


Re: [gentoo-user] Boa is now hard masked?

2007-05-18 Thread Neil Bothwick
On Fri, 18 May 2007 16:40:30 +0100, Mick wrote:

 However, http://packages.gentoo.org/search/?sstring=boa is still shown
 as stable.  The Changelog is not showing anything to explain why it has
 been masked.  Am I missing something?

Look in ${PORTDIR}/profiles/package.mask

# Raúl Porcel armin76 at gentoo dot org (18 May 2007)
# For treecleaners, bug 102174
# Pending removal 17 Jul 2007
www-servers/boa

It's only jsut happened so probably hasn't filtered through to p.g.o yet.

 If Boa is indeed a gonner, what would you recommend I use to share my 
 distfiles with other boxen on my LAN?

NFS?


-- 
Neil Bothwick

If the post office has machines that can sort snail mail at 1000's of
times per minute, then why do they give it to a little old man on a bike
to deliver?


signature.asc
Description: PGP signature


Re: [gentoo-user] Boa is now hard masked?

2007-05-18 Thread Bo Ørsted Andresen
On Friday 18 May 2007 18:10:41 Mick wrote:
 !!! All ebuilds that could satisfy boa have been masked.
 !!! One of the following masked packages is required to complete your
 request: - www-servers/boa-0.94.14_alpha20 (masked by: package.mask, ~x86
 keyword) # Raúl Porcel [EMAIL PROTECTED] (18 May 2007)
 # For treecleaners, bug 102174
 # Pending removal 17 Jul 2007

So there is your answer. I looked in anoncvs but it hasn't reached that either 
yet... ;)

-- 
Bo Andresen


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


Re: [gentoo-user] Boa is now hard masked?

2007-05-18 Thread Dan Farrell
On Fri, 18 May 2007 16:40:30 +0100
Mick [EMAIL PROTECTED] wrote:

 Hi All,
 
 eix and portage are telling me:
 
 [D] www-servers/boa
  Available versions:  [M]0.94.13 [M]0.94.13-r1
 [M]~0.94.14_alpha20 [M]~0.94.14_alpha20-r1 [M]~0.94.14_rc21
  Installed versions:  0.94.13-r1(16:46:05 03/19/07)(-tetex)
  Homepage:http://www.boa.org/
  Description: Boa - A very small and very fast http daemon
 
 
 However, http://packages.gentoo.org/search/?sstring=boa is still
 shown as stable.  The Changelog is not showing anything to explain
 why it has been masked.  Am I missing something?
 
 If Boa is indeed a gonner, what would you recommend I use to share my 
 distfiles with other boxen on my LAN?
nfs.  

I have been using nfs for portage and distfiles with much success
so far.  I find that nfs access for portage is only a little slower
than having it on a local, unoptimized partition.  I save lots of time
with this method, since my new hosts on the network have instant
portage trees without having to wait for that long portage extraction.
I mount /usr/portage read-only and then distfiles read-write over the
top so that I can save new downloads if I need to.  

-- 
[EMAIL PROTECTED] mailing list



Re: [gentoo-user] Boa is now hard masked?

2007-05-18 Thread Mick
On Friday 18 May 2007 16:58, Bo Ørsted Andresen wrote:
 On Friday 18 May 2007 17:40:30 Mick wrote:
  Hi All,
 
  eix and portage are telling me:
  
  [D] www-servers/boa
   Available versions:  [M]0.94.13 [M]0.94.13-r1 [M]~0.94.14_alpha20
  [M]~0.94.14_alpha20-r1 [M]~0.94.14_rc21
   Installed versions:  0.94.13-r1(16:46:05 03/19/07)(-tetex)
   Homepage:http://www.boa.org/
   Description: Boa - A very small and very fast http daemon
  
 
  However, http://packages.gentoo.org/search/?sstring=boa is still shown as
  stable.  The Changelog is not showing anything to explain why it has been
  masked.  Am I missing something?
 
  If Boa is indeed a gonner, what would you recommend I use to share my
  distfiles with other boxen on my LAN?

 boa is not masked. What is the output of `emerge -pv boa` ? Perhaps just
 sync or run update-eix ?

Hmm, strange.  I've just emerge-sync'd.  Perhaps a naff mirror? (I think it 
was Stealer.net)
=
# emerge -pv boa

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

Calculating dependencies |
!!! All ebuilds that could satisfy boa have been masked.
!!! One of the following masked packages is required to complete your request:
- www-servers/boa-0.94.14_alpha20 (masked by: package.mask, ~x86 keyword)
# Raúl Porcel [EMAIL PROTECTED] (18 May 2007)
# For treecleaners, bug 102174
# Pending removal 17 Jul 2007

- www-servers/boa-0.94.14_rc21 (masked by: package.mask, ~x86 keyword)
- www-servers/boa-0.94.13 (masked by: package.mask)
- www-servers/boa-0.94.14_alpha20-r1 (masked by: package.mask, ~x86 keyword)
- www-servers/boa-0.94.13-r1 (masked by: package.mask)

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


pgpKRGyDqzped.pgp
Description: PGP signature


Re: [gentoo-user] Boa is now hard masked?

2007-05-18 Thread Bo Ørsted Andresen
On Friday 18 May 2007 17:40:30 Mick wrote:
 Hi All,

 eix and portage are telling me:
 
 [D] www-servers/boa
  Available versions:  [M]0.94.13 [M]0.94.13-r1 [M]~0.94.14_alpha20
 [M]~0.94.14_alpha20-r1 [M]~0.94.14_rc21
  Installed versions:  0.94.13-r1(16:46:05 03/19/07)(-tetex)
  Homepage:http://www.boa.org/
  Description: Boa - A very small and very fast http daemon
 

 However, http://packages.gentoo.org/search/?sstring=boa is still shown as
 stable.  The Changelog is not showing anything to explain why it has been
 masked.  Am I missing something?

 If Boa is indeed a gonner, what would you recommend I use to share my
 distfiles with other boxen on my LAN?

boa is not masked. What is the output of `emerge -pv boa` ? Perhaps just sync 
or run update-eix ?

-- 
Bo Andresen


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


Re: [gentoo-user] IMAP server recommendations.

2007-05-18 Thread rzilka
 Hey gang...
 
 I was just looking for some opinions.  I am replacing my current mail server. 
  
 Right now I am using courier-imap and I am happy with it.   The only thing 
 that concerns me is that I have heard grumblings that courier has some 
 security issues.   I was just curious which IMAP server other people would 
 recommend or perhaps if I am best off just sticking with what I know.  My 
 current setup is very simple.  My only real requirements are SSL and maildir 
 support.   I connect using either Kmail or Thunderbird.
 
 Thanks,
 Josh

Another dovecot suggestion here. Used by a few hundred users (all
kinds of clients on all kinds of OS's) for about a year; flawless
operation. (And it recently even reached the 1.0 version! Yay!:) )

-Roman
-- 
[EMAIL PROTECTED] mailing list



Re: [gentoo-user] Gentoo and KISS ?

2007-05-18 Thread Mauro Faccenda
On Friday 18 May 2007 15:04, arnuld wrote:
 OK, i found Gentoo a great incident of my life :-), 10 installations
 and on 11th time i knew what went wrong in last 10 times and from
 there it never went wrong ;-). i   want to use Gentoo but i have one
 doubt.  i am much more inclined towards using simple things, like
 simplicity in designing an OS. i see, CRUX and Arch are based on
 simplicity, the KISS principle and nothing else.

 i want to know whether Gentoo has simplicity or KISS and clean
 structure in its design as an OS ?  this is the only thing that is
 stopping me from using Gentoo. Gentoo philosophy says *nothing* about
 simplicity, it talks only about customisation. any idea of if KISS is
 present in Gentoo design ?


 NOTE: i have observed one thing. i have used Gentoo for 2 days only
 and now i am trying to use Arch and CRUX but i see, for me,  it is
 very difficult to use and work with them them since i am getting used
 to a lower level of things. happened with anybody ?

AFAIK, Gentoo filosophy is about choices.

If you want it simple, you can keep it simple. If you don't, you can do it 
too.

And you discovered what was going wrong in your first 10 installations, right? 
Can you tell if it was well documentated? If it was your mistake in jumping 
some topics of the handbook?

I am a experienced Linux user, and I can tell: if not 100%, something very 
close of it of the problems I had in Gentoo installation was due to my 
mistakes.

But I don't blame Gentoo. ;)

[]'s
.m
-- 
[EMAIL PROTECTED] mailing list



Re: [gentoo-user] Gentoo gets as bad SuSE: Circular dependencies [WAS: Thank you Gentoo devs]

2007-05-18 Thread Enrico Weigelt
* Arturo 'Buanzo' Busleiman [EMAIL PROTECTED] wrote:
 -BEGIN PGP SIGNED MESSAGE-
 Hash: SHA512
 
 [EMAIL PROTECTED] wrote:
  ATI has nice graphics maybe (I still prefer nVidia), but they
  are not friendly to the Open Source World.
 
 AMD announced last week that they will be releasing ATI drivers as OSS:
 
 http://linux.slashdot.org/article.pl?sid=07/05/13/1659245
 
 previous to the former announcement:
 http://linux.slashdot.org/linux/07/05/10/1424224.shtml

well, let's the what actually happens ...


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] Gentoo and KISS ?

2007-05-18 Thread arnuld

OK, i found Gentoo a great incident of my life :-), 10 installations
and on 11th time i knew what went wrong in last 10 times and from
there it never went wrong ;-). i   want to use Gentoo but i have one
doubt.  i am much more inclined towards using simple things, like
simplicity in designing an OS. i see, CRUX and Arch are based on
simplicity, the KISS principle and nothing else.

i want to know whether Gentoo has simplicity or KISS and clean
structure in its design as an OS ?  this is the only thing that is
stopping me from using Gentoo. Gentoo philosophy says *nothing* about
simplicity, it talks only about customisation. any idea of if KISS is
present in Gentoo design ?


NOTE: i have observed one thing. i have used Gentoo for 2 days only
and now i am trying to use Arch and CRUX but i see, for me,  it is
very difficult to use and work with them them since i am getting used
to a lower level of things. happened with anybody ?
--
[EMAIL PROTECTED] mailing list



Re: [gentoo-user] Gentoo and KISS ?

2007-05-18 Thread arnuld

On 5/18/07, Mauro Faccenda [EMAIL PROTECTED] wrote:



AFAIK, Gentoo filosophy is about choices.

If you want it simple, you can keep it simple. If you don't, you can do it
too.


oh.


And you discovered what was going wrong in your first 10 installations, right?
Can you tell if it was well documentated? If it was your mistake in jumping
some topics of the handbook?


no, it is NOT in the handbook. there were many mistakes. i only remember the 3:

1.) i had a Serial-ATA drive and AMD64 on ASUS with VIA chipsets.
kernel-compilation part of Handbook asks to choose PPP options and MCE
features etc etc but it did not tell to select VIA82xx and VIA SATA
and VIA PATA options for serial driver.  any Serial-ATAhard-disk will
not boot properly without them. (of course, others will have some
other motherboards, Intel e.g., but we can leave that to the user for
finding the specific SATA and PATA drivers inthe kernel.)

2.) i entered /dev/hda instead of /dev/sda in /etc/fstab. my
mistake, of course.

3.) i entered /dev/sda1 / ext3 when i had reiserfs fro my /. this
too was my mistake



I am a experienced Linux user, and I can tell: if not 100%, something very
close of it of the problems I had in Gentoo installation was due to my
mistakes.


yep, 99% it was *my* mistake.


But I don't blame Gentoo. ;)


hey.. i did not blame Gentoo in my earlier post.


--
http://arnuld.blogspot.com/
--
[EMAIL PROTECTED] mailing list



[gentoo-user] emerge freealut fails.

2007-05-18 Thread David Harel

Greetings,


emerge freealut failes with error: alutInit.c:150: error: wrong type 
argument to unary exclamation mark. Any idea?




--
Regards.

David Harel,

==

Home office +972 77 7657645
Fax:+972 77 7657645
Cellular:   +972 54 4534502
Snail Mail: Amuka
   D.N Merom Hagalil
   13802
   Israel
Email:  [EMAIL PROTECTED]


--
[EMAIL PROTECTED] mailing list



Re: [gentoo-user] Gentoo and KISS ?

2007-05-18 Thread Arturo 'Buanzo' Busleiman
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA512

arnuld wrote:
 1.) i had a Serial-ATA drive and AMD64 on ASUS with VIA chipsets.
 kernel-compilation part of Handbook asks to choose PPP options and MCE
[...]
 other motherboards, Intel e.g., but we can leave that to the user for
 finding the specific SATA and PATA drivers inthe kernel.)

Well, if you are brave enough to configure your own kernel... don't complain!

genkernel works fine, most of the times.

- --
Arturo Buanzo Busleiman - Consultor Independiente en Seguridad Informatica
OpenPGP for HTTP: New Web-Auth Scheme: http://freshmeat.net/articles/view/2599
Consulting and Secure Mail Hosting: http://www.buanzo.com.ar/pro/
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.7 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFGTfhCAlpOsGhXcE0RCvsjAJwP9LUK8515wgC3yjy/oiaktikghACggKnR
kZ55PHeRCgW6T/y3PuHIPNE=
=5xBB
-END PGP SIGNATURE-
-- 
[EMAIL PROTECTED] mailing list



Re: [gentoo-user] Gentoo and KISS ?

2007-05-18 Thread arnuld

On 5/18/07, Mauro Faccenda [EMAIL PROTECTED] wrote:




well, none of those errors is Gentoo specific. It's kernel compilations
problems, and you'll have those in any distribution. Even the binary ones, if
you want to install a custom kernel.

for the users that can't compile the kernel by himself, Gentoo provides the
genkernel, that works quite well (I never needed to use it, but I know some
guys that love it). i'm not sure, but the default kernel instalation method
in the handbook is using genkernel. so, it could be simplier (if with it you
mean easier) if you want it to. and seems that you don't (choosing the manual
method ;) ).


i am talking of *both* methods. i don't remember anything *exactly*
but with genkernel i had exactly same weired problems when i didn't
choose VIA PATA in my kernel while compiling manually. i tried 2 times
and after that i quit generkernel and decided always to do a
transparent manual kernel-compilation.


 yep, 99% it was *my* mistake.

  But I don't blame Gentoo. ;)

 hey.. i did not blame Gentoo in my earlier post.

ok, fine.

oh! about your NOTE on your earlier post:

it happened to mee too. i tryied, but i couldn't go back to a higher level
distro. i felt really unconfortable.

anyway, good luck.


[]'s
.m




--
http://arnuld.blogspot.com/
--
[EMAIL PROTECTED] mailing list



[gentoo-user] firewall on a cd

2007-05-18 Thread Jamers
Hello,

I've built several gentoo based firewall and have been pretty
happy with them. Since I use older hardware, the eventual 
hard drive failures are a problem.

I am looking for input as to the best method to use to get
a gentoo based (iptables) firewall onto a bootable CD,
so I do not have to rely on hard drives any more.
a USB stick based gentoo firewall (micro) distro
would also be of interest.


Any suggestions?



James




-- 
[EMAIL PROTECTED] mailing list



Re: [gentoo-user] Gentoo and KISS ?

2007-05-18 Thread Philip Webb
070518 arnuld wrote:
 On 5/18/07, Mauro Faccenda [EMAIL PROTECTED] wrote:
 AFAIK, Gentoo filosophy is about choices.
 If you want it simple, you can keep it simple.
 If you don't, you can do it too.
 yep, 99% it was *my* mistake.
 hey.. i did not blame Gentoo in my earlier post.

Yes, Gentoo is for people who want to manage their own box,
make their own choices  learn from their own mistakes.

I installed Gentoo on my machine 031007  haven't re-installed since:
I check once a week for packages to update (avoid 'emerge world')
 decide how close to the cut/bleeding edges I want to be.
I plan to build a new machine later this year  install Gentoo there too.

Once you get used to it, you'll probably like Gentoo: most people do.
Those who leave usually are very busy in their lives
 simply don't have the time to keep it upto-date.

-- 
,,
SUPPORT ___//___,  Philip Webb : [EMAIL PROTECTED]
ELECTRIC   /] [] [] [] [] []|  Centre for Urban  Community Studies
TRANSIT`-O--O---'  University of Toronto
-- 
[EMAIL PROTECTED] mailing list



[gentoo-user] firefox pluggins

2007-05-18 Thread alain . didierjean

I have a whole mess of firefox, firefox-bin, pluggins that work or don't and the
like.
Is it feasible, on an amd64 to have a single firefox (preferably 64bits) that
can play flash videos, execute java applets and is easy to configure ?
What packages do I need ? Any tricks to make it work ?
Thanks to people who know,

-
 ~adj~
-- 
[EMAIL PROTECTED] mailing list



Re: [gentoo-user] Solved: pppconfig can't find internal modem.

2007-05-18 Thread Mick
On Friday 18 May 2007 04:08, Walter Dnes wrote:
 On Sun, May 13, 2007 at 04:18:54PM -0400, [EMAIL PROTECTED] wrote

My ADSL connection had a short outage yesterday.  I discovered, to my
  consternation, that my machine's internal modem wasn't being picked up.
  This is a 1999 Dell PIII that refuses to die.  The PCI modem has worked
  in the past under Redhat and Gentoo.  I am aware that I have to allocate
  more than 4 serial ports in make menuconfig.  lspci -v shows...
 
  00:10.0 Serial controller: 3Com Corp, Modem Division 56K FaxModem Model
  5610 (rev 01) (prog-if 02 [16550]) Subsystem: 3Com Corp, Modem Division
  Unknown device baba Flags: medium devsel, IRQ 9
  I/O ports at 1430 [size=8]
  Capabilities: [dc] Power Management version 2

   A rather heavy-handed solution was to emerge setserial and execute

 setserial /dev/ttyS4 port 0x1430 irq 9

   This initializes the port, and pppconfig now finds /dev/ttyS4 when
 doing an auto-probe.  And dialup works.  This is nice to know, because
 I'll be moving later this summer, and may be dialup-only for a few weeks
 depending on circumstances.

   I've copied the above setserial command to /etc/conf.d/local.start to
 ensure it's automatically executed at bootup.

I have to run setserial manually to get my IrDA recognised.  Not sure if this 
is a change in later kernels and/or udev.  I would have thought that it would 
be picked up by the kernel/udev without much drama, but it seems that 
setserial is needed hereafter?
-- 
Regards,
Mick


pgpjyhT33aqx3.pgp
Description: PGP signature


Re: [gentoo-user] Gentoo and KISS ?

2007-05-18 Thread Dale
arnuld wrote:

 i am talking of *both* methods. i don't remember anything *exactly*
 but with genkernel i had exactly same weired problems when i didn't
 choose VIA PATA in my kernel while compiling manually. i tried 2 times
 and after that i quit generkernel and decided always to do a
 transparent manual kernel-compilation.




I tried genkernel a while back and I decided to do my own too.  After
the first time, you just do a make oldconfig and walk through the new
stuff.  It's not to bad.  Most of the time you can say no to the new
stuff anyway, unless you have something that doesn't work.

Dale

:-)  :-)  :-)

-- 
www.myspace.com/-remove-me-dalek1967

Copy n paste then remove the -remove-me- part.

-- 
[EMAIL PROTECTED] mailing list



Re: [gentoo-user] Boa is now hard masked?

2007-05-18 Thread Mick
On Friday 18 May 2007 17:15, Bo Ørsted Andresen wrote:
 On Friday 18 May 2007 18:10:41 Mick wrote:
  !!! All ebuilds that could satisfy boa have been masked.
  !!! One of the following masked packages is required to complete your
  request: - www-servers/boa-0.94.14_alpha20 (masked by: package.mask, ~x86
  keyword) # Raúl Porcel [EMAIL PROTECTED] (18 May 2007)
  # For treecleaners, bug 102174
  # Pending removal 17 Jul 2007

 So there is your answer. I looked in anoncvs but it hasn't reached that
 either yet... ;)

Fair do's.  Took some time to look at the bug and it seems that thttpd is 
suggested as a valid replacement which unlike continues to be maintained.

@Neil: I haven't looked much into NFS because it seems more involved (running 
portmap also has security aspects to consider) than just running a little 
server every now and then - but may be I'm wrong.
-- 
Regards,
Mick


pgpWHj1abmvRa.pgp
Description: PGP signature


Re: [gentoo-user] firewall on a cd

2007-05-18 Thread Karl Haines
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Jamers wrote:
 Hello,
 
 I've built several gentoo based firewall and have been pretty
 happy with them. Since I use older hardware, the eventual 
 hard drive failures are a problem.
 
 I am looking for input as to the best method to use to get
 a gentoo based (iptables) firewall onto a bootable CD,
 so I do not have to rely on hard drives any more.
 a USB stick based gentoo firewall (micro) distro
 would also be of interest.
 
 
 Any suggestions?
 
 
 
 James
 

This could be done without too much trouble by creating a custom gentoo
livecd. I'm interested in this as well, for the same reasons. I have
quite a bit of old boxes lying around that would serve as good
firewalls, but I'm running out of HDDs. You can reply to me privately if
you like, and we could work on this together, make a little project out
of it. Let me know if you'd like to do this.

Thanks,
Karl Haines
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.7 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFGTghRJEKtOLl2EkMRAkg3AJ9cZ10PYyl0FuKOGW47yEZyw3YFJwCfVZpd
fAHoQFCzLSFQ+YTm8DUWeTg=
=yPdT
-END PGP SIGNATURE-
-- 
[EMAIL PROTECTED] mailing list



Re: [gentoo-user] Gentoo and KISS ?

2007-05-18 Thread Dan Farrell
On Fri, 18 May 2007 18:04:16 +
arnuld [EMAIL PROTECTED] wrote:

 i want to know whether Gentoo has simplicity or KISS and clean
 structure in its design as an OS ?  this is the only thing that is
 stopping me from using Gentoo. Gentoo philosophy says *nothing* about
 simplicity, it talks only about customisation. any idea of if KISS is
 present in Gentoo design ?

In my humble opinion, gentoo is the only distribution worth considering
when it comes to keeping the system simple.  Any other distro, and
you're going to have to pick through lists of packages disabling all
that you know you don't need; with gentoo, you can install what you
know you _do_ need, and go from there.  The initial footprint is a
little bigger at first because of the developent tools you need to
build your own software, but if you want to keep it small you'll have
much more success  with gentoo than with anything else.  

The one other caveat is that portage is bulky, slow, and
space-consuming.  But there are many ways to combat this, and it's
really not an issue if you have lots of gentoo hosts.  
-- 
[EMAIL PROTECTED] mailing list



Re: [gentoo-user] emerge freealut fails.

2007-05-18 Thread Dan Farrell
On Fri, 18 May 2007 21:50:46 +0300
David Harel [EMAIL PROTECTED] wrote:

 Greetings,
 
 
 emerge freealut failes with error: alutInit.c:150: error: wrong type 
 argument to unary exclamation mark. Any idea?
 
 
 
I was able to build the freealut sources that gentoo wanted to download
manually, have you tried to sync?
-- 
[EMAIL PROTECTED] mailing list



Re: [gentoo-user] emerge freealut fails.

2007-05-18 Thread Benno Schulenberg
David Harel wrote:
 emerge freealut failes with error: alutInit.c:150: error: wrong
 type argument to unary exclamation mark.

Too short.  Email.  Not enough.  Info.

Benno


-- 
[EMAIL PROTECTED] mailing list



Re: [gentoo-user] firewall on a cd

2007-05-18 Thread Neil Walker

Jamers wrote:

Any suggestions?
  


Have a look at Redwall.


Be lucky,

Neil

--
[EMAIL PROTECTED] mailing list



Re: [gentoo-user] Gentoo gets as bad SuSE: Circular dependencies [WAS: Thank you Gentoo devs]

2007-05-18 Thread Neil Walker

[EMAIL PROTECTED] wrote:

So yes, that is a circular dependency, even without Gentoo involved.
Not everything is simple, and not everything is cut and dry.  Sometimes
the problem is not directly the package manager's fault.  Give them time
to work out all the glitches.  7.2 is fairly new.  The chip used by most
AMD64 machines, and a handful of Intel machines is not supported by the
Vendor with 7.2.  All the support at this time has to come from the
Community, until updated drivers are released.


Well, I really don't know what all this talk of glitches and circular 
dependencies is all about. I just installed Gentoo with xorg, kde, etc. 
on a brand new machine I built yesterday. It's an Abit motherboard with 
an vVidia chipset (nForce 4 Ultra) and an nVidia GeForce 7300GT video 
card. It all install without a single issue. In fact, I am typing this 
on that very machine. :)



Be lucky,

Neil

--
[EMAIL PROTECTED] mailing list



Re: [gentoo-user] openssl 0.9.8 installs /usr/lib/openssl.so.0.9.7 only

2007-05-18 Thread David Harel
I gave mailto:[EMAIL PROTECTED] the file. Because I am new in bugzulla 
and I was afraid to attach such a file to the bug data. I didn't see him 
do anything with the file nor did he come back to me about it. Do you 
think I should attach the file to the bug report?


Bo Ørsted Andresen wrote:


On Friday 18 May 2007 20:58:31 David Harel wrote:
  

On my machine it is reproducible. I opened a bug:
http://bugs.gentoo.org/show_bug.cgi?id=178631


Segfaulting wasn't exactly what I meant by reproducible.. ;) I was asking
about the /usr/local prefix which seems quite weird...

The bug report doesn't include any usable information. You need to
explain on the bug what you've done and you need to attach the complete
build log that I'm quite sure portage provides the location for.
  

Attached the log. Hope it's what you need. I am ashame to say I haven't
looked into it so I don't know if there is anything obvious I failed to
do. If that is the case, I apologize.



I don't need it. The bug report needs it. Together with an explanation of what 
you have done with your system. Without more information on it your bug 
report is useless.


Your system appears to be quite borked though. Apparently /dev is not 
populated properly, linux-headers appears to be missing and I have no idea 
what else might be broken. I'm inclined to just suggest `emerge -e system` or 
a complete reinstall unless someone else has a better suggestion.


In the future if you ever attach a log file like that on this mailing list 
again please compress it first (note: do not compress attachments on bugzilla 
though). Also please don't top post.


  


--
Regards.

David Harel,

==

Home office +972 77 7657645
Fax:+972 77 7657645
Cellular:   +972 54 4534502
Snail Mail: Amuka
   D.N Merom Hagalil
   13802
   Israel
Email:  [EMAIL PROTECTED]


--
[EMAIL PROTECTED] mailing list



Re: [gentoo-user] emerge freealut fails.

2007-05-18 Thread David Harel
Sorry for being stupid here but I don't know what else to add to this 
problem. The bad file is alutInit.c


the bad line is:

 if (!alcCloseDevice (device))


I couldn't find where the function is but obviously it returns the wrong 
data type.


I was advised to emerge sync. Did that recently (about 2-3 weeks) but 
I'll do it again to be on the safe side.




Dan Farrell wrote:


On Fri, 18 May 2007 21:50:46 +0300
David Harel [EMAIL PROTECTED] wrote:

  

Greetings,


emerge freealut failes with error: alutInit.c:150: error: wrong type 
argument to unary exclamation mark. Any idea?






I was able to build the freealut sources that gentoo wanted to download
manually, have you tried to sync?
  


--
Regards.

David Harel,

==

Home office +972 77 7657645
Fax:+972 77 7657645
Cellular:   +972 54 4534502
Snail Mail: Amuka
   D.N Merom Hagalil
   13802
   Israel
Email:  [EMAIL PROTECTED]


--
[EMAIL PROTECTED] mailing list



Re: [gentoo-user] emerge freealut fails.

2007-05-18 Thread Dan Farrell
On Sat, 19 May 2007 02:36:06 +0300
David Harel [EMAIL PROTECTED] wrote:

 Sorry for being stupid here but I don't know what else to add to this 
 problem. The bad file is alutInit.c
 
 the bad line is:
 
   if (!alcCloseDevice (device))
 
 
 I couldn't find where the function is but obviously it returns the
 wrong data type.
 
 I was advised to emerge sync. Did that recently (about 2-3 weeks) but 
 I'll do it again to be on the safe side.
 
 
 
 Dan Farrell wrote:
 
  On Fri, 18 May 2007 21:50:46 +0300
  David Harel [EMAIL PROTECTED] wrote:
 

  Greetings,
 
 
  emerge freealut failes with error: alutInit.c:150: error: wrong
  type argument to unary exclamation mark. Any idea?
 
 
 
  
  I was able to build the freealut sources that gentoo wanted to
  download manually, have you tried to sync?

 
What I don't understand is how it can work for me and not for you.  The
changelog doesn't report anything since january.  I tried
freealut-1.0.1.tar.gz from distfiles.gentoo.org.  

-- 
[EMAIL PROTECTED] mailing list



Re: [gentoo-user] emerge freealut fails.

2007-05-18 Thread Hemmann, Volker Armin
On Samstag, 19. Mai 2007, David Harel wrote:
 Sorry for being stupid here but I don't know what else to add to this
 problem. The bad file is alutInit.c

 the bad line is:

   if (!alcCloseDevice (device))


 I couldn't find where the function is but obviously it returns the wrong
 data type.

 I was advised to emerge sync. Did that recently (about 2-3 weeks) but
 I'll do it again to be on the safe side.


'recently' is in the last 24h.

Every sync  'older' than 7 days is from the stone ago...
 
-- 
[EMAIL PROTECTED] mailing list



Re: [gentoo-user] emerge freealut fails.

2007-05-18 Thread Hemmann, Volker Armin
On Samstag, 19. Mai 2007, Dan Farrell wrote:
 On Sat, 19 May 2007 02:36:06 +0300

 David Harel [EMAIL PROTECTED] wrote:
  Sorry for being stupid here but I don't know what else to add to this
  problem. The bad file is alutInit.c
 
  the bad line is:
 
if (!alcCloseDevice (device))
 
 
  I couldn't find where the function is but obviously it returns the
  wrong data type.
 
  I was advised to emerge sync. Did that recently (about 2-3 weeks) but
  I'll do it again to be on the safe side.
 
  Dan Farrell wrote:
   On Fri, 18 May 2007 21:50:46 +0300
  
   David Harel [EMAIL PROTECTED] wrote:
   Greetings,
  
  
   emerge freealut failes with error: alutInit.c:150: error: wrong
   type argument to unary exclamation mark. Any idea?
  
   I was able to build the freealut sources that gentoo wanted to
   download manually, have you tried to sync?

 What I don't understand is how it can work for me and not for you.  The
 changelog doesn't report anything since january.  I tried
 freealut-1.0.1.tar.gz from distfiles.gentoo.org.

maybe because he tries to install freealut 1.1.0?

He did not give a version - but strangely - 1.1.0 built fine for me too.
-- 
[EMAIL PROTECTED] mailing list



RE: [gentoo-user] Gentoo and KISS ?

2007-05-18 Thread burlingk


 -Original Message-
 From: Philip Webb [mailto:[EMAIL PROTECTED] 
 Sent: Saturday, May 19, 2007 4:26 AM
 To: gentoo-user@lists.gentoo.org
 Subject: Re: [gentoo-user] Gentoo and KISS ?
snip
 Once you get used to it, you'll probably like Gentoo: most 
 people do. Those who leave usually are very busy in their 
 lives  simply don't have the time to keep it upto-date.
 
If a person does not wish to stay up to date, if they simply
wish to have a stable system, is getting busy really a reason
to change operating systems?
--
[EMAIL PROTECTED] mailing list



Re: [gentoo-user] Force app to use specific outgoing ip address?

2007-05-18 Thread Walter Dnes
On Mon, May 14, 2007 at 06:45:18PM +0800, Crayon Shin Chan wrote
 I have a gateway machine with a single NIC but several virtual IP 
 addresses. I have several instances of apache running, each bound to 
 listen on their own virtual IP address. All the instances of apache are 
 running in proxy mode. What is happening now is that all the apache 
 instances use the 'main' IP address for all outgoing connections.
 
 What I would like is for each instance of apache to use their own virtual 
 IP address for outgoing connections. Is it possible to rig iptables to 
 achieve this? And how would I do this?

  Can you...
  - create a bunch of dummy users (nobody0, nobody1, nobody2, etc)
  - and launch each apache instance as a different user

  If so, you can take advantage of netfilter/iptables ability to match
on user.  Run just like now, but forward packets to a different address
based on owner.  Here's the help info from make menuconfig...

| CONFIG_IP_NF_MATCH_OWNER:   |
| |
| Packet owner matching allows you to match locally-generated packets |
| based on who created them: the user, group, process or session. |
| |
| To compile it as a module, choose M here.  If unsure, say N.|
| |
| Symbol: IP_NF_MATCH_OWNER [=y]  |
| Prompt: Owner match support |
|   Defined at net/ipv4/netfilter/Kconfig:296 |
|   Depends on: NET  INET  NETFILTER  IP_NF_IPTABLES|
|   Location: |
| - Networking   |
|   - Networking support (NET [=y])  |
| - Networking options   |
|   - Network packet filtering framework (Netfilter) (NETFILTER  |
| - IP: Netfilter Configuration  |
|   - IP tables support (required for filtering/masq/NAT) (I |

-- 
Walter Dnes [EMAIL PROTECTED] In linux /sbin/init is Job #1
Q. Mr. Ghandi, what do you think of Microsoft security?
A. I think it would be a good idea.
-- 
[EMAIL PROTECTED] mailing list



Re: [gentoo-user] Gentoo and KISS ?

2007-05-18 Thread Kent Fredric

/etc/genkernel.conf

MENUCONFIG=no
MRPROPER=no
CLEAN=no
BOOTSPLASH=no
SAVE_CONFIG=yes
DEBUGLEVEL=5
BOOTLOADER=grub
USECOLOR=yes


cd /usr/src/linux
zcat /proc/config.gz  .config
make oldconfig
genkernel --kernname=WhateverFitsMyMood all


the above gives you you the power to configure your kernel to suit
your needs, -and- makes genkernel useful as a time-saving 'ok, just
build it ' tool :)

Of course it did help when that bug in genkernel mid2005 was fixed ;),
a trunicated grub.conf is no fun.

On 5/19/07, Roy Wright [EMAIL PROTECTED] wrote:

Arturo 'Buanzo' Busleiman wrote:
 arnuld wrote:
  1.) i had a Serial-ATA drive and AMD64 on ASUS with VIA chipsets.
  kernel-compilation part of Handbook asks to choose PPP options and MCE
 [...]
  other motherboards, Intel e.g., but we can leave that to the user for
  finding the specific SATA and PATA drivers inthe kernel.)

 Well, if you are brave enough to configure your own kernel... don't
 complain!

 genkernel works fine, most of the times.


genkernel is for wimps...  Way to go arnuld!

Seriously, genkernel is fine for liveCD and the first month for a NOOB.
But to really learn/exploit/enjoy/appreciate Gentoo, you gotta have it
your way...  If not, then you might as well be running ubuntu...  :-)

Have fun,
Roy

Gentoo x86, ~x86, PS3
--
[EMAIL PROTECTED] mailing list





--
Kent
ruby -e '[1, 2, 4, 7, 0, 9, 5, 8, 3, 10, 11, 6, 12, 13].each{|x|
print enNOSPicAMreil [EMAIL PROTECTED][(2*x)..(2*x+1)]}'
--
[EMAIL PROTECTED] mailing list



Re: [gentoo-user] Gentoo and KISS ?

2007-05-18 Thread Kent Fredric

sorry,  top posted :S... damn gmail  forgetting.
--
Kent
ruby -e '[1, 2, 4, 7, 0, 9, 5, 8, 3, 10, 11, 6, 12, 13].each{|x|
print enNOSPicAMreil [EMAIL PROTECTED][(2*x)..(2*x+1)]}'
--
[EMAIL PROTECTED] mailing list



Re: [gentoo-user] Gentoo gets as bad SuSE: Circular dependencies [WAS: Thank you Gentoo devs]

2007-05-18 Thread Kent Fredric

Quite Erroneous Debate?

  Jakub is no longer a bug-wrangler, or a dev, he retired last month.

 Ah, good things still happen ? ;P

Jakub was very good at his job, but he does have an attitude problem.

Are you trying to emulate him, you are already halfway there?



Give the guy a break :P. When your having to deal with lots of noobs
being retarded telling you you're wrong on a daily basis when you know
otherwise, I guess most people get frustrated at it :P.

So lets not be bashing him, especially when hes not around to fend for
himself eh?

Imo, the cyclic dep problem could be solved as thus,

A depends B
   B depends  C||A

Where C is a minimalist subset of A required for building B, which is
only depended on if A is not present.
A is also a replacement for C.

So the flow would go like such.

Emerge A:
 * depends on b
* A is missing, so depend on C
*emerges C*
*emerges B*
*removes C*  -- otherwise  A  C containing the same files = headache
*emerges A*

Yes, indeed I agree that we could just do this by hand by changing a
USE flag, but we should at least be open to the idea of looking for a
way to automatically resolve the problem. Computers exist to make our
life easier, not the other way around :)

--
Kent
ruby -e '[1, 2, 4, 7, 0, 9, 5, 8, 3, 10, 11, 6, 12, 13].each{|x|
print enNOSPicAMreil [EMAIL PROTECTED][(2*x)..(2*x+1)]}'
--
[EMAIL PROTECTED] mailing list



Re: [gentoo-user] Gentoo and KISS ?

2007-05-18 Thread Hemmann, Volker Armin
On Samstag, 19. Mai 2007, Kent Fredric wrote:
 /etc/genkernel.conf

 MENUCONFIG=no
 MRPROPER=no
 CLEAN=no
 BOOTSPLASH=no
 SAVE_CONFIG=yes
 DEBUGLEVEL=5
 BOOTLOADER=grub
 USECOLOR=yes


 cd /usr/src/linux
 zcat /proc/config.gz  .config
 make oldconfig
 genkernel --kernname=WhateverFitsMyMood all


 the above gives you you the power to configure your kernel to suit
 your needs, -and- makes genkernel useful as a time-saving 'ok, just
 build it ' tool :)


and that is faster than 
zcat /proc/config.gz  .config
make oldconfig
make all modules_install install
?

or easier?

-- 
[EMAIL PROTECTED] mailing list