Re: [CentOS] ipv6 to ipv4 tunnel private replies requested

2011-05-10 Thread David Hrbáč
Dne 11.5.2011 2:15, David Mehler napsal(a):
> Hello,
> I am afraid a comment in my last message was misinterpreted. I
> previously had this configuration, linux and ipv6 tunnel through a
> tunnel broker. It was on a Ubuntu 9.10 box that a friend of mine set
> up. That box has been retired and replaced with CentOS 5.6. I am now
> trying to get the tunnel broker working with the centos box, and
> having many frustrations with it. I do have the ubuntu network files
> from backup, but I to date have not been able to make them work,
> settings wise, with the way centos does networking, I would almost say
> forget the backup files just take the numbers out of them. I
> appreciate any help. Again, private replies please.
> Thanks.
> Dave.

David,
I'm not running SixXS tunnel on CentOS right now. I'm planning to have
some. Right now I have one tunnel on OpenWRT and I'm using this script.
Regards,
DH

ip tunnel add sixbone mode sit remote ipv.addreess.of.sixxsendpoit
ip link set sixbone up
ip addr add ipv6:address:of:tunnel::2/64 dev sixbone
ip route add default via ipv6:address:of:tunnel::1
ip link set mtu 1280 dev sixbone
ip tunnel change sixbone ttl 64

___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] Adaptec 6405 and Centos 5.6

2011-05-10 Thread Maciej Jan Broniarz

Wiadomość napisana przez John R Pierce w dniu 2011-05-11, o godz. 01:51:

> On 05/10/11 3:46 PM, Maciej Jan Broniarz wrote:
>> I am sure it doesn't. I have booted 5.5 and 5.6 in linux dd mode. Then I 
>> have loaded the drivers from: aacraid-driverdisk-CentOS.iso . Still, the 
>> installer sees no hard disk. I have read somewhere, that the adaptec driver 
>> to that controller works only with Centos 5.4, but i need a newer version of 
>> Centos. Maybe using drivers from RHEL 5 / 6 would be a better solution here?
> 
> binary drivers are *very* kernel version specific.
> 
> you could install centos 5.4 with those drivers, then yum update 
> everything *but* the kernel

Ok, I'll give it a try. Thanks.

mjb

___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] Drive recovery?

2011-05-10 Thread Dag Wieers
On Tue, 10 May 2011, Ashley M. Kirchner wrote:

> On 5/10/2011 2:00 PM, Ljubomir Ljubojevic wrote:
>
>> I will byte and actually say it: Use Backups for important data you can
>> not afford to lose. rsync or similar tool can be used via cron to make
>> sure important files are saved.
>
> And this is normally done, except I was in the middle of working on
> something when I needed to reboot for non-related reasons.  So for the
> most part I have a backup, but it's about 24 hours behind where I was.
> That's 24 hours I don't necessarily want to lose.

If you finished your dd_rescue/ddrescue copy, you may want to look into 
the testdisk utility to see if somehow the partition-table was not 
tampered with. testdisk can provide you with different layouts based on 
filesystem patterns. And it also saves the original layout so you can 
restore that as well.

Also beware that a complete image includes the partition table, and 
loop-back mounting by default expects the filesystem image. So you may 
have to provide also an offset= option to tell mount where to look for the 
actual filesystem on the image !

If the files on the disk are a common format and the filesystem for some 
reason is nuked, photorec might help recover data from the disk. But 
beware, it may be very time-consuming to restore whatever photorec thinks 
it can identify. For simple digital camera media this works much better 
than a full disk with eg. operating system.

Before trying an fsck on a backup copy, first try an fsck -n and see if 
the output is only minimal or not. Possibly try with different 
superblocks as well. You don't want to have to make another copy just 
because the filesystem is so broken, it can never be restored using fsck.

Good luck, and provide feedback, we might learn a trick or two :)
-- 
-- dag wieers, d...@wieers.com, http://dag.wieers.com/
-- dagit linux solutions, i...@dagit.net, http://dagit.net/

[Any errors in spelling, tact or fact are transmission errors]
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] EL 6 rollout strategies? (Scientific Linux)

2011-05-10 Thread Craig White
On Wed, 2011-05-11 at 03:12 +0200, Dag Wieers wrote:
> On Tue, 10 May 2011, Ljubomir Ljubojevic wrote:
> 
> > Alain Péan wrote:
> >  > The problem is that when C6.0 will be released, it is likely that RHEL
> >> 6.1 will be already released. So there will be no security updates for
> >> C6.0, and it will be better to stay under SL6, until the release of
> >> C6.1. I already installed three machines under SL6, and it works fine.
> >
> > Once 6.0 packages are figured out (how to compile them), newer versions
> > of those packages in 6.1 will be much easier to compile, so I expect no
> > more then one month to pass from C6.0 to C6.1
> 
> Do you expect the C6.0 -> C6.1 differences to be more complex, or less 
> complex than the C5.5 -> C5.6 differences ?
> 
> And given that C5.6 took 3 months, are there any reasons why C6.1 would 
> take no more than 1 month ?

exactly, and there are additional packages in 6.1 that weren't ready
when 6.0 was released.

Craig


-- 
This message has been scanned for viruses and
dangerous content by MailScanner, and is
believed to be clean.

___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] EL 6 rollout strategies? (Scientific Linux)

2011-05-10 Thread Craig White
On Tue, 2011-05-10 at 12:13 +0200, Ljubomir Ljubojevic wrote:
> Alain Péan wrote:
>   > The problem is that when C6.0 will be released, it is likely that RHEL
> > 6.1 will be already released. So there will be no security updates for 
> > C6.0, and it will be better to stay under SL6, until the release of 
> > C6.1. I already installed three machines under SL6, and it works fine.
> > 
> > Alain
> > 
> 
> Once 6.0 packages are figured out (how to compile them), newer versions 
> of those packages in 6.1 will be much easier to compile, so I expect no 
> more then one month to pass from C6.0 to C6.1

Considering that it took them 3 months to get out the 5.6 update and
that upstream is adding packages that weren't ready when 6.0 was
released, I would think that one month is highly optimistic but two
things are certain. Upstream released exactly 6 months ago and still
nothing and apparently today's target date has slipped, and 2) until
CentOS admits that there is a problem, nothing will actually change.

Craig


-- 
This message has been scanned for viruses and
dangerous content by MailScanner, and is
believed to be clean.

___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] EL 6 rollout strategies? (Scientific Linux)

2011-05-10 Thread Dag Wieers

On Tue, 10 May 2011, Ljubomir Ljubojevic wrote:


Alain Péan wrote:
 > The problem is that when C6.0 will be released, it is likely that RHEL

6.1 will be already released. So there will be no security updates for
C6.0, and it will be better to stay under SL6, until the release of
C6.1. I already installed three machines under SL6, and it works fine.


Once 6.0 packages are figured out (how to compile them), newer versions
of those packages in 6.1 will be much easier to compile, so I expect no
more then one month to pass from C6.0 to C6.1


Do you expect the C6.0 -> C6.1 differences to be more complex, or less 
complex than the C5.5 -> C5.6 differences ?


And given that C5.6 took 3 months, are there any reasons why C6.1 would 
take no more than 1 month ?


--
-- dag wieers, d...@wieers.com, http://dag.wieers.com/
-- dagit linux solutions, i...@dagit.net, http://dagit.net/

[Any errors in spelling, tact or fact are transmission errors]___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] ipv6 to ipv4 tunnel private replies requested

2011-05-10 Thread David Mehler
Hello,
I am afraid a comment in my last message was misinterpreted. I
previously had this configuration, linux and ipv6 tunnel through a
tunnel broker. It was on a Ubuntu 9.10 box that a friend of mine set
up. That box has been retired and replaced with CentOS 5.6. I am now
trying to get the tunnel broker working with the centos box, and
having many frustrations with it. I do have the ubuntu network files
from backup, but I to date have not been able to make them work,
settings wise, with the way centos does networking, I would almost say
forget the backup files just take the numbers out of them. I
appreciate any help. Again, private replies please.
Thanks.
Dave.


On 5/10/11, Lucian  wrote:
> On Tue, May 10, 2011 at 4:17 PM, David Mehler  wrote:
>
>> appreciate hearing from you offlist and please have Ubuntu experience
>
> No wonder you can't manage to get it working, you couldn't even post
> to the right list.
> ___
> CentOS mailing list
> CentOS@centos.org
> http://lists.centos.org/mailman/listinfo/centos
>
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] Adaptec 6405 and Centos 5.6

2011-05-10 Thread John R Pierce
On 05/10/11 3:46 PM, Maciej Jan Broniarz wrote:
> I am sure it doesn't. I have booted 5.5 and 5.6 in linux dd mode. Then I have 
> loaded the drivers from: aacraid-driverdisk-CentOS.iso . Still, the installer 
> sees no hard disk. I have read somewhere, that the adaptec driver to that 
> controller works only with Centos 5.4, but i need a newer version of Centos. 
> Maybe using drivers from RHEL 5 / 6 would be a better solution here?

binary drivers are *very* kernel version specific.

you could install centos 5.4 with those drivers, then yum update 
everything *but* the kernel


___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] ipv6 to ipv4 tunnel private replies requested

2011-05-10 Thread Lucian
On Tue, May 10, 2011 at 4:17 PM, David Mehler  wrote:

> appreciate hearing from you offlist and please have Ubuntu experience

No wonder you can't manage to get it working, you couldn't even post
to the right list.
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] Adaptec 6405 and Centos 5.6

2011-05-10 Thread Maciej Jan Broniarz

Wiadomość napisana przez Les Mikesell w dniu 2011-05-11, o godz. 00:22:

> On 5/10/2011 5:17 PM, Maciej Jan Broniarz wrote:
>> 
>> Wiadomość napisana przez John Doe w dniu 2011-05-10, o godz. 17:28:
>> 
>>> From: Maciej Jan Broniarz
>>> 
 Centos 5.6 seems not to have any drivers  for Adaptec  6405.
>>> 
>>> Maybe try Adaptec drivers?
>>> http://www.adaptec.com/en-us/downloads/rh/rhel_5/productid=sas-6405&dn=adaptec+raid+6405.html
>> 
>> I have tried adaptec drivers on both 5.5 and 5.6 using "linux dd" option. 
>> Still the system doesnt recognize the device.
> 
> That doesn't sound right.  Are you sure it works?

I am sure it doesn't. I have booted 5.5 and 5.6 in linux dd mode. Then I have 
loaded the drivers from: aacraid-driverdisk-CentOS.iso . Still, the installer 
sees no hard disk. I have read somewhere, that the adaptec driver to that 
controller works only with Centos 5.4, but i need a newer version of Centos. 
Maybe using drivers from RHEL 5 / 6 would be a better solution here?

Thanks for Your help,
mjb

> 
> -- 
>   Les Mikesell
>lesmikes...@gmail.com
> ___
> CentOS mailing list
> CentOS@centos.org
> http://lists.centos.org/mailman/listinfo/centos

___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] Adaptec 6405 and Centos 5.6

2011-05-10 Thread Les Mikesell
On 5/10/2011 5:17 PM, Maciej Jan Broniarz wrote:
>
> Wiadomość napisana przez John Doe w dniu 2011-05-10, o godz. 17:28:
>
>> From: Maciej Jan Broniarz
>>
>>> Centos 5.6 seems not to have any drivers  for Adaptec  6405.
>>
>> Maybe try Adaptec drivers?
>> http://www.adaptec.com/en-us/downloads/rh/rhel_5/productid=sas-6405&dn=adaptec+raid+6405.html
>
> I have tried adaptec drivers on both 5.5 and 5.6 using "linux dd" option. 
> Still the system doesnt recognize the device.

That doesn't sound right.  Are you sure it works?

-- 
   Les Mikesell
lesmikes...@gmail.com
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] Adaptec 6405 and Centos 5.6

2011-05-10 Thread Maciej Jan Broniarz

Wiadomość napisana przez John Doe w dniu 2011-05-10, o godz. 17:28:

> From: Maciej Jan Broniarz 
> 
>> Centos 5.6 seems not to have any drivers  for Adaptec  6405.
> 
> Maybe try Adaptec drivers?
> http://www.adaptec.com/en-us/downloads/rh/rhel_5/productid=sas-6405&dn=adaptec+raid+6405.html

I have tried adaptec drivers on both 5.5 and 5.6 using "linux dd" option. Still 
the system doesnt recognize the device.

mjb

___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] Drive recovery?

2011-05-10 Thread Ashley M. Kirchner
On 5/10/2011 2:00 PM, Ljubomir Ljubojevic wrote:
> I will byte and actually say it: Use Backups for important data you can
> not afford to lose. rsync or similar tool can be used via cron to make
> sure important files are saved.
 And this is normally done, except I was in the middle of working on 
something when I needed to reboot for non-related reasons.  So for the 
most part I have a backup, but it's about 24 hours behind where I was.  
That's 24 hours I don't necessarily want to lose.
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] Adaptec 6405 and Centos 5.6

2011-05-10 Thread Maciej Jan Broniarz

Wiadomość napisana przez m.r...@5-cent.us w dniu 2011-05-10, o godz. 17:54:

> Les Mikesell wrote:
>> On 5/10/2011 10:17 AM, Maciej Jan Broniarz wrote:
>>> 
>>> Wiadomo¶æ napisana przez Les Mikesell w dniu 2011-05-10, o godz. 17:07:
>>> 
 On 5/10/2011 9:53 AM, Maciej Jan Broniarz wrote:
> Hi all,
> 
> Centos 5.6 doesn't detect any disks connected to an Adaptec 6405 RAID
> Controller. The hardware isn't brand new to the market, so what might
> be the issue here? It seems, that the driver is missing for that
> particular card.
> 
 I don't know about that particular device, but I've seen RAID
 controllers where you had to run their bios setup utility to add disks
 and create volumes even if you only want a single disk per volume.  The
 OS only sees the volumes as logical drives.  Or have you already done
 that step?
>>> 
>>> I have and array setup in the controlers BIOS. What i need to do is to
>>> install centos on the logical volume. Still, Centos 5.6 seems not to
>>> have any drivers for Adaptec 6405.
> 
> I'm not quite clear on your answer: are you saying that you created
> logical RAID volumes, added the physical drives to it, and initialized
> each volume?


Yes. The problem is that Centos 5.6 has no valid driver for Adaptec 6405

All best,
mjb

___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] Drive recovery?

2011-05-10 Thread Ljubomir Ljubojevic
Ashley M. Kirchner wrote:
> On 5/10/2011 12:30 PM, Brunner, Brian T. wrote:
>> mke2fs -n /dev/hde1 should list you the block addresses where copies of
>> the superblock would be found.
>>
>> Set ASB=any one of the alternate blocks listed.
>> Then, try mount -t ext3 -o sb=$ASB /dev/hda2 /mnt
> 
>  Thanks!  I will try that as soon as dd_rescue is done running ... 
> in about 16 hours or so.  Considering the data on this drive, I'm 
> willing to risk and try to copy everything off before forging ahead with 
> trying to mount the thing and possibly damaging it even more.

I will byte and actually say it: Use Backups for important data you can 
not afford to lose. rsync or similar tool can be used via cron to make 
sure important files are saved.

Ljubomir
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] Drive recovery?

2011-05-10 Thread Ashley M. Kirchner
On 5/10/2011 12:30 PM, Brunner, Brian T. wrote:
> mke2fs -n /dev/hde1 should list you the block addresses where copies of
> the superblock would be found.
>
> Set ASB=any one of the alternate blocks listed.
> Then, try mount -t ext3 -o sb=$ASB /dev/hda2 /mnt

 Thanks!  I will try that as soon as dd_rescue is done running ... 
in about 16 hours or so.  Considering the data on this drive, I'm 
willing to risk and try to copy everything off before forging ahead with 
trying to mount the thing and possibly damaging it even more.
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] Drive recovery?

2011-05-10 Thread Steve Clark

On 05/10/2011 02:28 PM, Steve Clark wrote:

On 05/10/2011 02:24 PM, Ashley M. Kirchner wrote:

  I have a CentOS 5.6 system (recently installed) that, for some
reason, has decided to mangle one of its drives, specifically /dev/hde1
...  No errors anywhere, just rebooted the machine over the weekend and
it's gone.  Up till the reboot, the drive was fine, I was writing to it
without a problem.

  fdisk tells me:

--
# fdisk -l /dev/hde

Disk /dev/hde: 160.0 GB, 160041885696 bytes
240 heads, 63 sectors/track, 20673 cylinders
Units = cylinders of 15120 * 512 = 7741440 bytes

 Device Boot  Start End  Blocks   Id  System
/dev/hde1   *   1   20673   156287848+  83  Linux
--

  There are no hardware errors in the boot log (dmesg).  The only
error is that it can't find the ext3 fs that was on that drive.
Unfortunately, it's not a drive I can simply reformat and call it a
day.  There's data on it I need.

  When I try to mount it, I get: hfs: unable to find HFS+
superblock.  Obviously that's not right as the drive was formatted as an
ext3.  So if I force it, I get this:

--
mount -t ext3 /dev/hde1 /mnt/hde1
mount: wrong fs type, bad option, bad superblock on /dev/hde1,
 missing codepage or other error
 In some cases useful info is found in syslog - try
 dmesg | tail  or so
--

  So, is this just an indication that the partition table is hosed?
Is there anything, any tool, any way of reading the data off of this
drive and put it elsewhere?

Have you tried using an alternate superblock?



http://www.cyberciti.biz/tips/surviving-a-linux-filesystem-failures.html


--
Stephen Clark
*NetWolves*
Sr. Software Engineer III
Phone: 813-579-3200
Fax: 813-882-0209
Email: steve.cl...@netwolves.com
http://www.netwolves.com
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] Drive recovery?

2011-05-10 Thread Brunner, Brian T.
>  I have a CentOS 5.6 system (recently installed) that, for some 
> reason, has decided to mangle one of its drives, specifically 
> /dev/hde1 
> ...  No errors anywhere, just rebooted the machine over the 
> weekend and 
> it's gone.  Up till the reboot, the drive was fine, I was 
> writing to it 
> without a problem.

mke2fs -n /dev/hde1 should list you the block addresses where copies of
the superblock would be found.

Set ASB=any one of the alternate blocks listed.
Then, try mount -t ext3 -o sb=$ASB /dev/hda2 /mnt

Additional reading:
http://www.cyberciti.biz/tips/surviving-a-linux-filesystem-failures.html

Insert spiffy .sig here:
Life is complex: it has both real and imaginary parts.

//me
 

***
This email and any files transmitted with it are confidential and
intended solely for the use of the individual or entity to whom
they are addressed. If you have received this email in error please
notify the system manager. This footnote also confirms that this
email message has been swept for the presence of computer viruses.
www.Hubbell.com - Hubbell Incorporated**

___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] Drive recovery?

2011-05-10 Thread Steven Crothers
Or ddrecovery to another disk?

On Tue, May 10, 2011 at 2:28 PM, Steve Clark  wrote:
> On 05/10/2011 02:24 PM, Ashley M. Kirchner wrote:
>
>  I have a CentOS 5.6 system (recently installed) that, for some
> reason, has decided to mangle one of its drives, specifically /dev/hde1
> ...  No errors anywhere, just rebooted the machine over the weekend and
> it's gone.  Up till the reboot, the drive was fine, I was writing to it
> without a problem.
>
>  fdisk tells me:
>
> --
> # fdisk -l /dev/hde
>
> Disk /dev/hde: 160.0 GB, 160041885696 bytes
> 240 heads, 63 sectors/track, 20673 cylinders
> Units = cylinders of 15120 * 512 = 7741440 bytes
>
> Device Boot  Start End  Blocks   Id  System
> /dev/hde1   *   1   20673   156287848+  83  Linux
> --
>
>  There are no hardware errors in the boot log (dmesg).  The only
> error is that it can't find the ext3 fs that was on that drive.
> Unfortunately, it's not a drive I can simply reformat and call it a
> day.  There's data on it I need.
>
>  When I try to mount it, I get: hfs: unable to find HFS+
> superblock.  Obviously that's not right as the drive was formatted as an
> ext3.  So if I force it, I get this:
>
> --
> mount -t ext3 /dev/hde1 /mnt/hde1
> mount: wrong fs type, bad option, bad superblock on /dev/hde1,
> missing codepage or other error
> In some cases useful info is found in syslog - try
> dmesg | tail  or so
> --
>
>  So, is this just an indication that the partition table is hosed?
> Is there anything, any tool, any way of reading the data off of this
> drive and put it elsewhere?
>
> Have you tried using an alternate superblock?
>
> --
> Stephen Clark
> NetWolves
> Sr. Software Engineer III
> Phone: 813-579-3200
> Fax: 813-882-0209
> Email: steve.cl...@netwolves.com
> http://www.netwolves.com
>
> ___
> CentOS mailing list
> CentOS@centos.org
> http://lists.centos.org/mailman/listinfo/centos
>
>



-- 
Steven Crothers
steven.croth...@gmail.com
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] Drive recovery?

2011-05-10 Thread Steve Clark

On 05/10/2011 02:24 PM, Ashley M. Kirchner wrote:

  I have a CentOS 5.6 system (recently installed) that, for some
reason, has decided to mangle one of its drives, specifically /dev/hde1
...  No errors anywhere, just rebooted the machine over the weekend and
it's gone.  Up till the reboot, the drive was fine, I was writing to it
without a problem.

  fdisk tells me:

--
# fdisk -l /dev/hde

Disk /dev/hde: 160.0 GB, 160041885696 bytes
240 heads, 63 sectors/track, 20673 cylinders
Units = cylinders of 15120 * 512 = 7741440 bytes

 Device Boot  Start End  Blocks   Id  System
/dev/hde1   *   1   20673   156287848+  83  Linux
--

  There are no hardware errors in the boot log (dmesg).  The only
error is that it can't find the ext3 fs that was on that drive.
Unfortunately, it's not a drive I can simply reformat and call it a
day.  There's data on it I need.

  When I try to mount it, I get: hfs: unable to find HFS+
superblock.  Obviously that's not right as the drive was formatted as an
ext3.  So if I force it, I get this:

--
mount -t ext3 /dev/hde1 /mnt/hde1
mount: wrong fs type, bad option, bad superblock on /dev/hde1,
 missing codepage or other error
 In some cases useful info is found in syslog - try
 dmesg | tail  or so
--

  So, is this just an indication that the partition table is hosed?
Is there anything, any tool, any way of reading the data off of this
drive and put it elsewhere?

Have you tried using an alternate superblock?

--
Stephen Clark
*NetWolves*
Sr. Software Engineer III
Phone: 813-579-3200
Fax: 813-882-0209
Email: steve.cl...@netwolves.com
http://www.netwolves.com
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


[CentOS] Drive recovery?

2011-05-10 Thread Ashley M. Kirchner

 I have a CentOS 5.6 system (recently installed) that, for some 
reason, has decided to mangle one of its drives, specifically /dev/hde1 
...  No errors anywhere, just rebooted the machine over the weekend and 
it's gone.  Up till the reboot, the drive was fine, I was writing to it 
without a problem.

 fdisk tells me:

--
# fdisk -l /dev/hde

Disk /dev/hde: 160.0 GB, 160041885696 bytes
240 heads, 63 sectors/track, 20673 cylinders
Units = cylinders of 15120 * 512 = 7741440 bytes

Device Boot  Start End  Blocks   Id  System
/dev/hde1   *   1   20673   156287848+  83  Linux
--

 There are no hardware errors in the boot log (dmesg).  The only 
error is that it can't find the ext3 fs that was on that drive.  
Unfortunately, it's not a drive I can simply reformat and call it a 
day.  There's data on it I need.

 When I try to mount it, I get: hfs: unable to find HFS+ 
superblock.  Obviously that's not right as the drive was formatted as an 
ext3.  So if I force it, I get this:

--
mount -t ext3 /dev/hde1 /mnt/hde1
mount: wrong fs type, bad option, bad superblock on /dev/hde1,
missing codepage or other error
In some cases useful info is found in syslog - try
dmesg | tail  or so
--

 So, is this just an indication that the partition table is hosed?  
Is there anything, any tool, any way of reading the data off of this 
drive and put it elsewhere?
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] ipv6 to ipv4 tunnel private replies requested

2011-05-10 Thread Steve Clark

Yes,

We are using one to HE and one to SIXXS. We don't rely on any of the standard
redhat config stuff - we do it all thru our own configs.

Been working great.


On 05/10/2011 11:17 AM, David Mehler wrote:

Hello,
Is anyone using an ipv6 to ipv4 tunnel? I've got one through Hurricane
Electric  and am having an extremely
difficult time getting it to work. If anyone has this going i'd
appreciate hearing from you offlist and please have Ubuntu experience
if possible.

Thanks.
Dave.
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos




--
Stephen Clark
*NetWolves*
Sr. Software Engineer III
Phone: 813-579-3200
Fax: 813-882-0209
Email: steve.cl...@netwolves.com
http://www.netwolves.com
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] Changing default paper size to A4 on CentOS 5 (Kyocera FS1920 printer)

2011-05-10 Thread Mathieu Baudier
> # en_GB should print in A4 by default
> export LC_PAPER="en_GB.UTF_8"

That did the trick!
(evince + Firefox)

Merci beaucoup,

Mathieu
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] Adaptec 6405 and Centos 5.6

2011-05-10 Thread m . roth
Les Mikesell wrote:
> On 5/10/2011 10:17 AM, Maciej Jan Broniarz wrote:
>>
>> Wiadomo¶æ napisana przez Les Mikesell w dniu 2011-05-10, o godz. 17:07:
>>
>>> On 5/10/2011 9:53 AM, Maciej Jan Broniarz wrote:
 Hi all,

 Centos 5.6 doesn't detect any disks connected to an Adaptec 6405 RAID
 Controller. The hardware isn't brand new to the market, so what might
 be the issue here? It seems, that the driver is missing for that
 particular card.

>>> I don't know about that particular device, but I've seen RAID
>>> controllers where you had to run their bios setup utility to add disks
>>> and create volumes even if you only want a single disk per volume.  The
>>> OS only sees the volumes as logical drives.  Or have you already done
>>> that step?
>>
>> I have and array setup in the controlers BIOS. What i need to do is to
>> install centos on the logical volume. Still, Centos 5.6 seems not to
>> have any drivers for Adaptec 6405.

I'm not quite clear on your answer: are you saying that you created
logical RAID volumes, added the physical drives to it, and initialized
each volume?

  mark


___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] Adaptec 6405 and Centos 5.6

2011-05-10 Thread Les Mikesell
On 5/10/2011 10:17 AM, Maciej Jan Broniarz wrote:
>
> Wiadomość napisana przez Les Mikesell w dniu 2011-05-10, o godz. 17:07:
>
>> On 5/10/2011 9:53 AM, Maciej Jan Broniarz wrote:
>>> Hi all,
>>>
>>> Centos 5.6 doesn't detect any disks connected to an Adaptec 6405 RAID 
>>> Controller. The hardware isn't brand new to the market, so what might be 
>>> the issue here? It seems, that the driver is missing for that particular 
>>> card.
>>>
>>
>> I don't know about that particular device, but I've seen RAID
>> controllers where you had to run their bios setup utility to add disks
>> and create volumes even if you only want a single disk per volume.  The
>> OS only sees the volumes as logical drives.  Or have you already done
>> that step?
>
> I have and array setup in the controlers BIOS. What i need to do is to 
> install centos on the logical volume. Still, Centos 5.6 seems not to have any 
> drivers for Adaptec 6405.

Maybe it needs a newer aacraid driver than what is included.  Have you 
tried the 1.1.7 driver disk that you can download from the adaptec site?

-- 
  Les Mikesell
lesmikes...@gmail.com


___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] Changing default paper size to A4 on CentOS 5 (Kyocera FS1920 printer)

2011-05-10 Thread m . roth
Nicolas Thierry-Mieg wrote:
> Mathieu Baudier wrote:
>> Hello,
>>
>> I have a Kyocera FS1920 network printer, and I run an up-to-date CentOS
5.6 x86_64 workstation.
>>
>> When I try to print with evince or Firefox the default paper size is
always set to US Letter whereas the printer use A4.

What are the printer's own settings? Have you checked using CUPS' interface?

 mark



___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] Adaptec 6405 and Centos 5.6

2011-05-10 Thread John Doe
From: Maciej Jan Broniarz 

> Centos 5.6 seems not to have any drivers  for Adaptec  6405.

Maybe try Adaptec drivers?
http://www.adaptec.com/en-us/downloads/rh/rhel_5/productid=sas-6405&dn=adaptec+raid+6405.html


JD
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] Adaptec 6405 and Centos 5.6

2011-05-10 Thread Maciej Jan Broniarz

Wiadomość napisana przez Les Mikesell w dniu 2011-05-10, o godz. 17:07:

> On 5/10/2011 9:53 AM, Maciej Jan Broniarz wrote:
>> Hi all,
>> 
>> Centos 5.6 doesn't detect any disks connected to an Adaptec 6405 RAID 
>> Controller. The hardware isn't brand new to the market, so what might be the 
>> issue here? It seems, that the driver is missing for that particular card.
>> 
> 
> I don't know about that particular device, but I've seen RAID 
> controllers where you had to run their bios setup utility to add disks 
> and create volumes even if you only want a single disk per volume.  The 
> OS only sees the volumes as logical drives.  Or have you already done 
> that step?

I have and array setup in the controlers BIOS. What i need to do is to install 
centos on the logical volume. Still, Centos 5.6 seems not to have any drivers 
for Adaptec 6405.

mjb

___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


[CentOS] ipv6 to ipv4 tunnel private replies requested

2011-05-10 Thread David Mehler
Hello,
Is anyone using an ipv6 to ipv4 tunnel? I've got one through Hurricane
Electric  and am having an extremely
difficult time getting it to work. If anyone has this going i'd
appreciate hearing from you offlist and please have Ubuntu experience
if possible.

Thanks.
Dave.
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] Changing default paper size to A4 on CentOS 5 (Kyocera FS1920 printer)

2011-05-10 Thread Nicolas Thierry-Mieg
Mathieu Baudier wrote:
> Hello,
>
> I have a Kyocera FS1920 network printer, and I run an up-to-date
> CentOS 5.6 x86_64 workstation.
>
> When I try to print with evince or Firefox the default paper size is
> always set to US Letter whereas the printer use A4.
>
> I have searched and other people seem to have the problem, but the
> only recommendations that I have found boil down to setting the
> default paper size to A4 in the CUPS printer settings.
> I had done that already and double-checked via the Printer config UI
> or the CUPS web interface (http://localhost:631), but to no avail.

I remember fighting with this kind of issue.
let's see
OK, I have this in my .bash_profile :

# no default locale, this is BAD and breaks eg normal sort!
#export LC_ALL=C
# commented that to try to use UTF8 (be more modern), and it
# broke printing with evince because the stupid program looks
# at LC_PAPER for that (and prints in letter with the default
# en_US.UTF-8 locale)
# en_GB should print in A4 by default
export LC_PAPER="en_GB.UTF_8"

HTH!
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] Adaptec 6405 and Centos 5.6

2011-05-10 Thread Les Mikesell
On 5/10/2011 9:53 AM, Maciej Jan Broniarz wrote:
> Hi all,
>
> Centos 5.6 doesn't detect any disks connected to an Adaptec 6405 RAID 
> Controller. The hardware isn't brand new to the market, so what might be the 
> issue here? It seems, that the driver is missing for that particular card.
>

I don't know about that particular device, but I've seen RAID 
controllers where you had to run their bios setup utility to add disks 
and create volumes even if you only want a single disk per volume.  The 
OS only sees the volumes as logical drives.  Or have you already done 
that step?

-- 
   Les Mikesell
lesmikes...@gmail.com
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


[CentOS] Adaptec 6405 and Centos 5.6

2011-05-10 Thread Maciej Jan Broniarz
Hi all,

Centos 5.6 doesn't detect any disks connected to an Adaptec 6405 RAID 
Controller. The hardware isn't brand new to the market, so what might be the 
issue here? It seems, that the driver is missing for that particular card.

All best,
mjb

___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


[CentOS] Changing default paper size to A4 on CentOS 5 (Kyocera FS1920 printer)

2011-05-10 Thread Mathieu Baudier
Hello,

I have a Kyocera FS1920 network printer, and I run an up-to-date
CentOS 5.6 x86_64 workstation.

When I try to print with evince or Firefox the default paper size is
always set to US Letter whereas the printer use A4.

I have searched and other people seem to have the problem, but the
only recommendations that I have found boil down to setting the
default paper size to A4 in the CUPS printer settings.
I had done that already and double-checked via the Printer config UI
or the CUPS web interface (http://localhost:631), but to no avail.

What is a bit weird is that I do not remember having such problems
with my previous printer (an Epson Stylus RX500).

I would be grateful for any hint / idea.

Cheers,

Mathieu
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] RHEL 6/CentOS

2011-05-10 Thread Kevin K
If I had to guess, it would be that the OS is considered an "enterprise" OS, 
and that the CPU is too low end, now, to be considered that.  It is kind of low 
end now for even personal use.

Not that people only use the OS for high end server hardware :)

At work, we still have to support 500MHz Pentium IIIs with 128MB of RAM.  
Hopefully that requirement will be dropped before we migrate to 6.  We had to 
make kernel modifications to even get the PCMCIA support to work on it.
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] RHEL 6/CentOS

2011-05-10 Thread Steve Clark

On 04/26/2011 08:24 AM, Steve Clark wrote:

Hello,

Anybody know the reason RedHat decided not to support the
VIA Eden Processor?

cat /proc/cpuinfo
processor   : 0
vendor_id   : CentaurHauls
cpu family  : 6
model   : 13
model name  : VIA Eden Processor  500MHz

I am testing, (using ayplus kernel) and get the following during bootup:
Linux version 2.6.32-71.24.1.el6.centos.ayplus.1.i686 (build@6beta32) (gcc versi
on 4.4.4 20100630 (Red Hat 4.4.4-10) (GCC) ) #1 SMP Fri Apr 8 17:23:21 PDT 2011
KERNEL supported cpus:
  Intel GenuineIntel
  AMD AuthenticAMD
  NSC Geode by NSC
  Cyrix CyrixInstead
  Centaur CentaurHauls
  Transmeta GenuineTMx86
  Transmeta TransmetaCPU
  UMC UMC UMC UMC
UNSUPPORTED HARDWARE DEVICE: Centaur Processor
[ cut here ]
WARNING: at kernel/unsupported.c:13 mark_hardware_unsupported+0x37/0x40() (Not t
ainted)
Your hardware is unsupported.  Please do not report bugs, panics, oopses, etc.,
on this hardware.
Modules linked in:
Pid: 0, comm: swapper Not tainted 2.6.32-71.24.1.el6.centos.ayplus.1.i686 #1
Call Trace:
 [] ? warn_slowpath_common+0x81/0xc0
 [] ? mark_hardware_unsupported+0x37/0x40
 [] ? mark_hardware_unsupported+0x37/0x40
 [] ? warn_slowpath_fmt_taint+0x33/0x40
 [] ? mark_hardware_unsupported+0x37/0x40
 [] ? early_init_centaur+0xd/0x2d
 [] ? early_cpu_init+0x11a/0x13e
 [] ? setup_arch+0x38/0xb90
 [] ? vprintk+0x1ae/0x490
 [] ? printk+0x17/0x1d
 [] ? cgroup_init_subsys+0xcf/0xdb
 [] ? start_kernel+0xca/0x3a4
---[ end trace a7919e7f17c0a725 ]---
Disabling lock debugging due to kernel taint



I traced it down to this code, which is not in the standard kernel.org 
kernel-2.6.32.36:
from kernel-2.6.32.36
static void __cpuinit early_init_centaur(struct cpuinfo_x86 *c)
{
switch (c->x86) {


from 2.6.32-71.24.1.el6.ayplus
arch/x86/kernel/cpu/centaur.c

static void __cpuinit early_init_centaur(struct cpuinfo_x86 *c)
{
mark_hardware_unsupported("Centaur Processor"); <<
switch (c->x86) {





Thanks,




FYI.
Replying to my own E-Mail after running
2.6.32-71.24.1.el6 from SL. I can report that I have
been having lockups (hangs) on three different via centaur processor boxes.
The hangs require power cycling the boxes.


--
Stephen Clark
*NetWolves*
Sr. Software Engineer III
Phone: 813-579-3200
Fax: 813-882-0209
Email: steve.cl...@netwolves.com
http://www.netwolves.com
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] EL 6 rollout strategies? (Scientific Linux)

2011-05-10 Thread Ljubomir Ljubojevic
Alain Péan wrote:
  > The problem is that when C6.0 will be released, it is likely that RHEL
> 6.1 will be already released. So there will be no security updates for 
> C6.0, and it will be better to stay under SL6, until the release of 
> C6.1. I already installed three machines under SL6, and it works fine.
> 
> Alain
> 

Once 6.0 packages are figured out (how to compile them), newer versions 
of those packages in 6.1 will be much easier to compile, so I expect no 
more then one month to pass from C6.0 to C6.1

Ljubomir
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] since CentOS 5.6 upgrade, squid crashes

2011-05-10 Thread Laurent CREPET
On Tue, 10 May 2011 01:51:18 -0700
Brandon Ooi  wrote:

> On Tue, May 10, 2011 at 1:09 AM, Christopher Chan <
> christopher.c...@bradbury.edu.hk> wrote:
> 
> > On Monday, May 09, 2011 10:28 PM, Ljubomir Ljubojevic wrote:
> > > Laurent CREPET wrote:
> > >> On Mon, 9 May 2011 05:20:48 -0700 (PDT)
> > >> John Doe  wrote:
> > >>
> > >>> From: Laurent CREPET
> > >>>
> >  Today, squid crashed  again.
> > >>> Maybe ask on the squid mailing list, they might have more
> > >>> insight...
> > >>>
> > >>> JD
> > >>
> > >> No need, I have plugged my brain today. Check my latest e-mail
> > >> (squid
> > does not like temporary filesystem full in /var/log/squid) ;-)
> > >>
> > >> No link with 5.6 upgrade at all.
> > >
> > > Maybe /var/cache/yum was not cleaned of downloaded rpms after
> > > upgrade to 5.6? so /var partition run out of space or helped with
> > > out of space issue just enough to put it over the top.
> > >
> >
> > Or maybe it was stuffed with squid reports...
> >
> >
> a whole week of troubleshooting and you didn't
> check /var/log/messages? comon man.
> 

I know. Shame on me. But don't blame me more than I do ! ;-)

Laurent.
-- 
Laurent CREPET 
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] since CentOS 5.6 upgrade, squid crashes

2011-05-10 Thread Christopher Chan
On Tuesday, May 10, 2011 04:51 PM, Brandon Ooi wrote:
> On Tue, May 10, 2011 at 1:09 AM, Christopher Chan
>  > wrote:
>
> On Monday, May 09, 2011 10:28 PM, Ljubomir Ljubojevic wrote:
>  > Laurent CREPET wrote:
>  >> On Mon, 9 May 2011 05:20:48 -0700 (PDT)
>  >> John Doemailto:jd...@yahoo.com>>  wrote:
>  >>
>  >>> From: Laurent CREPETmailto:l...@megrapet.fr>>
>  >>>
>   Today, squid crashed  again.
>  >>> Maybe ask on the squid mailing list, they might have more
> insight...
>  >>>
>  >>> JD
>  >>
>  >> No need, I have plugged my brain today. Check my latest e-mail
> (squid does not like temporary filesystem full in /var/log/squid) ;-)
>  >>
>  >> No link with 5.6 upgrade at all.
>  >
>  > Maybe /var/cache/yum was not cleaned of downloaded rpms after
> upgrade to
>  > 5.6? so /var partition run out of space or helped with out of space
>  > issue just enough to put it over the top.
>  >
>
> Or maybe it was stuffed with squid reports...
>
>
> a whole week of troubleshooting and you didn't check /var/log/messages?
>   comon man.
>
> When I visit servers to make changes, I almost always check
> /var/log/messages and dmesg for latent errors or other issues that I can
> proactively solve. This should be sysadmin 101 :P
>

Nevermind having basic monitoring in place to check current status of 
various resources or allocating disk space for the sole use of squid 
or...hey Brandon, what else should be sysadmin 101?
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] since CentOS 5.6 upgrade, squid crashes

2011-05-10 Thread Brandon Ooi
On Tue, May 10, 2011 at 1:09 AM, Christopher Chan <
christopher.c...@bradbury.edu.hk> wrote:

> On Monday, May 09, 2011 10:28 PM, Ljubomir Ljubojevic wrote:
> > Laurent CREPET wrote:
> >> On Mon, 9 May 2011 05:20:48 -0700 (PDT)
> >> John Doe  wrote:
> >>
> >>> From: Laurent CREPET
> >>>
>  Today, squid crashed  again.
> >>> Maybe ask on the squid mailing list, they might have more insight...
> >>>
> >>> JD
> >>
> >> No need, I have plugged my brain today. Check my latest e-mail (squid
> does not like temporary filesystem full in /var/log/squid) ;-)
> >>
> >> No link with 5.6 upgrade at all.
> >
> > Maybe /var/cache/yum was not cleaned of downloaded rpms after upgrade to
> > 5.6? so /var partition run out of space or helped with out of space
> > issue just enough to put it over the top.
> >
>
> Or maybe it was stuffed with squid reports...
>
>
a whole week of troubleshooting and you didn't check /var/log/messages?
 comon man.

When I visit servers to make changes, I almost always check
/var/log/messages and dmesg for latent errors or other issues that I can
proactively solve. This should be sysadmin 101 :P

Brandon
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] EL 6 rollout strategies? (Scientific Linux)

2011-05-10 Thread Alain Péan

Le 09/05/2011 18:36, Benjamin Smith a écrit :


On Saturday, May 07, 2011 11:52:21 AM Ljubomir Ljubojevic wrote:

> in-place upgrade of C5 to C6 will be most likely impossible. To many

> changes of how thing work.


Thankfully, the only in-place upgrades I'll really consider is to 
cross-grade SL6 to C6. I've started testing with SL6 and will happily 
report to everyone how the cross-grade goes as soon as C6 is out!



-Ben




Hi,

The problem is that when C6.0 will be released, it is likely that RHEL 
6.1 will be already released. So there will be no security updates for 
C6.0, and it will be better to stay under SL6, until the release of 
C6.1. I already installed three machines under SL6, and it works fine.


Alain

--
==
Alain Péan - LPP/CNRS
Administrateur Système/Réseau
Laboratoire de Physique des Plasmas - UMR 7648
Observatoire de Saint-Maur
4, av de Neptune, Bat. A
94100 Saint-Maur des Fossés
Tel : 01-45-11-42-39 - Fax : 01-48-89-44-33
==

___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] since CentOS 5.6 upgrade, squid crashes

2011-05-10 Thread Christopher Chan
On Monday, May 09, 2011 10:28 PM, Ljubomir Ljubojevic wrote:
> Laurent CREPET wrote:
>> On Mon, 9 May 2011 05:20:48 -0700 (PDT)
>> John Doe  wrote:
>>
>>> From: Laurent CREPET
>>>
 Today, squid crashed  again.
>>> Maybe ask on the squid mailing list, they might have more insight...
>>>
>>> JD
>>
>> No need, I have plugged my brain today. Check my latest e-mail (squid does 
>> not like temporary filesystem full in /var/log/squid) ;-)
>>
>> No link with 5.6 upgrade at all.
>
> Maybe /var/cache/yum was not cleaned of downloaded rpms after upgrade to
> 5.6? so /var partition run out of space or helped with out of space
> issue just enough to put it over the top.
>

Or maybe it was stuffed with squid reports...
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos