[CentOS] Problems with Open-iSCSI and Infortrend A16E-G2130-4

2008-04-29 Thread Santi Saez


Dear Srs,

I'm getting this error when trying to connect to a Infortrend A16E- 
G2130-4 storage vía iSCSI.



Apr 29 10:24:40 vz-10 kernel: scsi1 : iSCSI Initiator over TCP/IP
Apr 29 10:24:41 vz-10 kernel:   Vendor: IFT   Model: A16E- 
G2130-4  Rev: 361F
Apr 29 10:24:41 vz-10 kernel:   Type:   Direct- 
Access  ANSI SCSI revision: 04
Apr 29 10:24:41 vz-10 kernel: SCSI device sdb: 629145600 512-byte  
hdwr sectors (322123 MB)

Apr 29 10:24:41 vz-10 kernel: sdb: Write Protect is off
Apr 29 10:24:41 vz-10 kernel: SCSI device sdb: drive cache: write back
Apr 29 10:24:41 vz-10 kernel: SCSI device sdb: 629145600 512-byte  
hdwr sectors (322123 MB)

Apr 29 10:24:41 vz-10 kernel: sdb: Write Protect is off
Apr 29 10:24:41 vz-10 kernel: SCSI device sdb: drive cache: write back
Apr 29 10:24:41 vz-10 iscsid: connection1:0 is operational now
Apr 29 10:24:44 vz-10 udevd-event[23432]: wait_for_sysfs: waiting  
for '/sys/devices/platform/host1/session1/target1:0:0/1:0:0:0/ 
ioerr_cnt' failed
Apr 29 10:25:06 vz-10 iscsid: Nop-out timedout after 15 seconds on  
connection 1:0 state (3). Dropping session.
Apr 29 10:25:10 vz-10 iscsid: connection1:0 is operational after  
recovery (2 attempts)
Apr 29 10:25:36 vz-10 iscsid: Nop-out timedout after 15 seconds on  
connection 1:0 state (3). Dropping session.
Apr 29 10:25:39 vz-10 iscsid: connection1:0 is operational after  
recovery (2 attempts)
Apr 29 10:26:05 vz-10 iscsid: Nop-out timedout after 15 seconds on  
connection 1:0 state (3). Dropping session.
Apr 29 10:26:09 vz-10 iscsid: connection1:0 is operational after  
recovery (2 attempts)
Apr 29 10:26:34 vz-10 iscsid: Nop-out timedout after 15 seconds on  
connection 1:0 state (3). Dropping session.
Apr 29 10:26:38 vz-10 iscsid: connection1:0 is operational after  
recovery (2 attempts)
Apr 29 10:27:03 vz-10 iscsid: Nop-out timedout after 15 seconds on  
connection 1:0 state (3). Dropping session.
Apr 29 10:27:07 vz-10 iscsid: connection1:0 is operational after  
recovery (2 attempts)
Apr 29 10:27:32 vz-10 kernel:  sdb:<6>sd 1:0:0:0: SCSI error:  
return code = 0x0002
Apr 29 10:27:32 vz-10 kernel: end_request: I/O error, dev sdb,  
sector 0
Apr 29 10:27:32 vz-10 kernel: Buffer I/O error on device sdb,  
logical block 0
Apr 29 10:27:32 vz-10 iscsid: Nop-out timedout after 15 seconds on  
connection 1:0 state (3). Dropping session.
Apr 29 10:27:36 vz-10 iscsid: connection1:0 is operational after  
recovery (2 attempts)
Apr 29 10:28:02 vz-10 iscsid: Nop-out timedout after 15 seconds on  
connection 1:0 state (3). Dropping session.
Apr 29 10:28:05 vz-10 iscsid: connection1:0 is operational after  
recovery (2 attempts)


The problem appears to be related to udevd-event? The system is  
running CentOS 5.1, with kernel 2.6.18-53.1.14.el5PAE, and "iscsi- 
initiator-utils-6.2.0.865-0.8.el5".


It's a strange problem.. I have no errors with CentOS 4.6, what can  
be the problem? Thanks!!


Regards,

--
Santi Saez

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


Re: [CentOS] Slightly OT: Extra icons on desktop

2008-04-29 Thread William L. Maltby
On Mon, 2008-04-28 at 16:03 -0700, MHR wrote:
> On Mon, Apr 28, 2008 at 3:49 PM, Ross S. W. Walker
> <[EMAIL PROTECTED]> wrote:
> >
> > Boot and root should be ok, but misc is probably causing problems with file
> >  managers querying fstab and hal.
> >
> >  -Ross
> >
> 
> Must be something like that - if I su and umount it, both icons go
> away.  Then I 'mount -a' and only one comes back.  But if I log out
> and log back in, they both come back.  Must a new "feature" of gnome
> 2.20.0

If *I* know about it, it *can't* be a *new* feature!  ;-)

> 
> mhr
> 

-- 
Bill

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


Re: [CentOS] sendmail and cups gets installed although not chosen in kickstart file

2008-04-29 Thread Ralph Angenendt
Kai Schaetzl wrote:
> How can I find out what forced them (and probably many other unwanted 
> packages) on the installation?
> I thought maybe "rpm -q --whatrequires sendmail" would tell me, but it 
> doesn't. Nothing requires it. Same for cups. So, why did it get installed?

cups gets pulled in by the redhat-lsb package which has /usr/bin/lpr as
a requirement.

sendmail is in the core group. If you kickstart, you can say

-sendmail
postfix

in your package section to exclude sendmail from getting installed. You
don't want to exclude the redhat-lsb package, as that pulls in loads of
needed software during the installation.

Cheers,

Ralph


pgpuvVx3cXWb9.pgp
Description: PGP signature
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


[CentOS] How to handle updates after rebuilding PHP?

2008-04-29 Thread Niki Kovacs

Hi,

One of our applications has some very specific requirements regarding 
PHP, so I had to rebuild it to add some functionality that's not 
included in the default configuration.


First thing I removed every PHP-related package that was installed on 
the system:


# yum remove `rpm -qa | grep php`

Then I downloaded the PHP SRPM from 
http://mirror.centos.org/centos/5.1/os/SRPMS/ and installed it.


Next I installed all the build dependencies using yum-builddep.

I edited php.spec according to my needs and then built PHP:

# rpmbuild -bb --clean php.spec

Finally, I installed the resulting packages using 'rpm -ivh', in that order:

- php-common
- php-cli
- php
- php-ldap

Problem: when I run 'yum check-update', Yum wants to update these php 
packages immediately, with some packages coming from [base] (not from 
[updates]). I'm puzzled, because PHP is not in [updates], only in [base].


Now I know I could simply add a line to /etc/yum.conf, something like:

exclude=php-*

But I *do* want to be notified somehow in case there's an update to PHP, 
so I can download the new SRPM from the updates/ directory and then 
rebuild it again.


Any suggestions about this?

Niki

PS: on my desktop I use Arch Linux, where I have some individually 
rebuilt packages. When I do this, I simply increase the build number, so 
my packages don't get squashed, but I get an update notification when a 
new version is available. Maybe this is the way to go, but I don't know 
how I would do this with RPM.

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


RE: [CentOS] How to handle updates after rebuilding PHP?

2008-04-29 Thread John
 
-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf
Of Niki Kovacs
Sent: Tuesday, April 29, 2008 5:02 AM
To: centos@centos.org
Subject: [CentOS] How to handle updates after rebuilding PHP?

Hi,

One of our applications has some very specific requirements regarding PHP,
so I had to rebuild it to add some functionality that's not included in the
default configuration.

First thing I removed every PHP-related package that was installed on the
system:

# yum remove `rpm -qa | grep php`

Then I downloaded the PHP SRPM from
http://mirror.centos.org/centos/5.1/os/SRPMS/ and installed it.

Next I installed all the build dependencies using yum-builddep.

I edited php.spec according to my needs and then built PHP:

# rpmbuild -bb --clean php.spec

Finally, I installed the resulting packages using 'rpm -ivh', in that order:

- php-common
- php-cli
- php
- php-ldap

Problem: when I run 'yum check-update', Yum wants to update these php
packages immediately, with some packages coming from [base] (not from
[updates]). I'm puzzled, because PHP is not in [updates], only in [base].

Now I know I could simply add a line to /etc/yum.conf, something like:

exclude=php-*

But I *do* want to be notified somehow in case there's an update to PHP, so
I can download the new SRPM from the updates/ directory and then rebuild it
again.

Any suggestions about this?

Niki

PS: on my desktop I use Arch Linux, where I have some individually rebuilt
packages. When I do this, I simply increase the build number, so my packages
don't get squashed, but I get an update notification when a new version is
available. Maybe this is the way to go, but I don't know how I would do this
with RPM.
---
---
I think Yum is doing what is called replacing the package because it thinks
it is not a centos built rpm. This does infact happen if when RHEL OS is
pointed to use and update from the centos repo. Even the base packages get
replaced with the centos one even though they are the same build binary and
by version number.

Maybe an option for updated source rpms is point yum to the sources repo
instead of binary. Optionally you could specify wget with the file list
option to fetch the named src.rpm new version then attach that to a cron
job. Maybe someone else has an easier way of doing this?

John Stanley

___
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] How to handle updates after rebuilding PHP?

2008-04-29 Thread Johnny Hughes

Niki Kovacs wrote:

Hi,

One of our applications has some very specific requirements regarding 
PHP, so I had to rebuild it to add some functionality that's not 
included in the default configuration.


First thing I removed every PHP-related package that was installed on 
the system:


# yum remove `rpm -qa | grep php`

Then I downloaded the PHP SRPM from 
http://mirror.centos.org/centos/5.1/os/SRPMS/ and installed it.


Next I installed all the build dependencies using yum-builddep.

I edited php.spec according to my needs and then built PHP:

# rpmbuild -bb --clean php.spec

Finally, I installed the resulting packages using 'rpm -ivh', in that 
order:


- php-common
- php-cli
- php
- php-ldap

Problem: when I run 'yum check-update', Yum wants to update these php 
packages immediately, with some packages coming from [base] (not from 
[updates]). I'm puzzled, because PHP is not in [updates], only in [base].


Now I know I could simply add a line to /etc/yum.conf, something like:

exclude=php-*

But I *do* want to be notified somehow in case there's an update to PHP, 
so I can download the new SRPM from the updates/ directory and then 
rebuild it again.


Any suggestions about this?

Niki

PS: on my desktop I use Arch Linux, where I have some individually 
rebuilt packages. When I do this, I simply increase the build number, so 
my packages don't get squashed, but I get an update notification when a 
new version is available. Maybe this is the way to go, but I don't know 
how I would do this with RPM.


Well ... to increase the build number is easy ... you just edit the spec 
and increase the "Release" to whatever you want it to be. (Change the 15 
to 16 in this case) ... unless they release a 16 you are OK They could 
release 5.1.6-16 though (or even 5.1.6-15.el5.1), so this is not the 
BEST solution.


If the release number is the same as the original, then it should not 
try to replace the RPMS in question.  What that probably means is that 
the "%dist" was not defined in your build, so we have:


php-5.1.6-15.el5.i386.rpm

and you probably have:

php-5.1.6-15.i386.rpm

Notice the .el5 in our (and RedHat's) build.  The one with a .el5 is 
"greater than" the one without .el5, so RPM wants to replace the lower 
version (yours, without the .el5) with the higher version (ours, with .el5).


What you need to do (if there is a %{?dist} in the "Release" string) is 
to create a .rpmmacros file in the "home" directory of the user that you 
use to build RPMS with, and in that file, use a "dist" tag that starts 
with something that is "greater than" .el5  ... it could be .kv, .kovac, 
or .el5.kv ... etc.


The line would look like:

%dist .el5.kv

If you are building as root, you also want to probably change that as 
bad things can happen as root if an RPM is not properly written (bad 
things as in it can install things to the system when it builds).  Here 
is an example of how to build as a non root user:


http://www.owlriver.com/tips/non-root/


Thanks,
Johnny Hughes



signature.asc
Description: OpenPGP digital signature
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] sendmail and cups gets installed although not chosen in kickstart file

2008-04-29 Thread Kai Schaetzl
Ralph Angenendt wrote on Tue, 29 Apr 2008 11:24:21 +0200:

> cups gets pulled in by the redhat-lsb package which has /usr/bin/lpr as
> a requirement.

It came in even after removing redhat-lsb. It stopped after using --
nobase.

> sendmail is in the core group. If you kickstart, you can say
> 
> -sendmail
> postfix
> 
> in your package section to exclude sendmail from getting installed.

I know that I can remove single packages, but I'm sure there were more 
unwanted packages getting pulled in. That's why I wanted to know more 
about the cause.

You
> don't want to exclude the redhat-lsb package, as that pulls in loads of
> needed software during the installation.

Thanks for the info. I checked the requires and I have most of them on the 
machine, anyway, probably from installing core. What's missing without 
redhat-lsb are a very few libraries like libICE. I'll see if adding 
redhat-lsb gives me cups again.


Kai

-- 
Kai Schätzl, Berlin, Germany
Get your web at Conactive Internet Services: http://www.conactive.com



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


Re: [CentOS] sendmail and cups gets installed although not chosen in kickstart file

2008-04-29 Thread Kai Schaetzl
Jeff Larsen wrote on Mon, 28 Apr 2008 16:12:48 -0500:

> %packages --nobase

That's the one I needed here. Thanks. Once I add that both packages are 
gone. This switch is mentioned on the CentOS wiki, but unfortunately not 
in the official Red Hat documentation.

Kai

-- 
Kai Schätzl, Berlin, Germany
Get your web at Conactive Internet Services: http://www.conactive.com



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


Re: [CentOS] How to handle updates after rebuilding PHP?

2008-04-29 Thread Niki Kovacs

Johnny Hughes a écrit :

Notice the .el5 in our (and RedHat's) build.  The one with a .el5 is 
"greater than" the one without .el5, so RPM wants to replace the lower 
version (yours, without the .el5) with the higher version (ours, with 
.el5).


What you need to do (if there is a %{?dist} in the "Release" string) is 
to create a .rpmmacros file in the "home" directory of the user that you 
use to build RPMS with, and in that file, use a "dist" tag that starts 
with something that is "greater than" .el5  ... it could be .kv, .kovac, 
or .el5.kv ... etc.


The line would look like:

%dist .el5.kv


Thank you very much for your detailed explanation. I tried out what you 
suggested, and it works as expected!




If you are building as root, you also want to probably change that as 
bad things can happen as root if an RPM is not properly written (bad 
things as in it can install things to the system when it builds).  Here 
is an example of how to build as a non root user:


http://www.owlriver.com/tips/non-root/


Usually - on my Arch system - I build things as normal user. But if it's 
only for rebuilding CentOS SRPMS from [base], I don't bother to setup a 
build environment for a normal user.


But I know what you mean: I've been using Slackware for a few years, 
where my habit was to write and use SlackBuild scripts as root... I 
remember very well how it felt doing an rm -rf $TMP/ with an unset TMP 
variable :oD


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


[CentOS] Documentation for DNS and BIND

2008-04-29 Thread Niki Kovacs

Hi,

One of the things I have yet to learn is setting up a DNS server with BIND.

Can you recommend me some *comprehensive* documentation? I like the sort 
of documentation that explains things step by step, not too laconically. 
 I don't mind reading hundreds of pages, as long as it's well 
explained. Consider me a total newbie in that field.


Any suggestions?

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


[CentOS] xinetd question

2008-04-29 Thread Jerry Geis

I am using centos 5.1 x86_64
I am wanting to restart xinetd

when I do "service  xinetd restart"
it says xinetd unrecognized service

when I do "/etc/init.d/xinetd restart"
I get no such file or directory.

How does one restart xinetd?

THanks,

Jerry

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


[CentOS] Re: xinetd question

2008-04-29 Thread Jerry Geis

Jerry Geis wrote:

I am using centos 5.1 x86_64
I am wanting to restart xinetd

when I do "service  xinetd restart"
it says xinetd unrecognized service

when I do "/etc/init.d/xinetd restart"
I get no such file or directory.

How does one restart xinetd?

THanks,

Jerry


Sorry - I got it. I first have to "yum install tftp-server", this loads 
xinetd as a dependency.


Jerry

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


Re: [CentOS] xinetd question

2008-04-29 Thread Michel van Deventer
Hi Jerry,

On Tue, 2008-04-29 at 08:32 -0400, Jerry Geis wrote:
> I am using centos 5.1 x86_64
> I am wanting to restart xinetd
> 
> when I do "service  xinetd restart"
> it says xinetd unrecognized service
> 
> when I do "/etc/init.d/xinetd restart"
> I get no such file or directory.
> 
> How does one restart xinetd?
On a CentOS 5.1 system, xinetd is not installed by default and thus not
startable. You should first install xinetd using 'yum -y install
xinetd'. Then you can restart xinetd. Where do you need it for ?

Regards,

Michel van Deventer


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


Re: [CentOS] Re: xinetd question

2008-04-29 Thread Scott Thistle
I normally would not install additional services just to get a dependancy
(unless you actually wanted tftp-server). You can install xinetd alone
using:

# yum install xinetd


On Tue, Apr 29, 2008 at 1:39 PM, Jerry Geis <[EMAIL PROTECTED]> wrote:

> Jerry Geis wrote:
>
> > I am using centos 5.1 x86_64
> > I am wanting to restart xinetd
> >
> > when I do "service  xinetd restart"
> > it says xinetd unrecognized service
> >
> > when I do "/etc/init.d/xinetd restart"
> > I get no such file or directory.
> >
> > How does one restart xinetd?
> >
> > THanks,
> >
> > Jerry
> >
> >
> >  Sorry - I got it. I first have to "yum install tftp-server", this loads
> xinetd as a dependency.
>
> Jerry
>
> ___
> 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] DVD reader: Hardware problem or OS glitch?

2008-04-29 Thread Lanny Marcus
On 28 April 2008, Mike Peterson wrote:

> Date: Mon, 28 Apr 2008 17:27:44 -0500
 >From: "Mike Peterson" <[EMAIL PROTECTED]>
> Subject: RE: [CentOS] DVD reader: Hardware problem or OS glitch?
> Message-ID: <[EMAIL PROTECTED]>

 >I have yet to get a DVD to read in CentOS 5.
 >I can install from DVD and then reboot and then the DVD drive is no longer
 >accessible.
 >It works with several live CD and DVD images with no problems however.
 >This is on an HP system.
 >I think it is an OS problem.

I also suspect it is an OS problem, but, it seems to be very HW
dependent. After I read your post, I got the FC6 Install DVD and put
it into the DVD reader in my box. Zero problems. The same in my wife's
box. But, in my daughter's box, I have the same situation that you
described above. I suspect it is something about the DVD reader in
that box. However, when it was my box (and newer), it worked OK and I
believe it had CentOS 5 on it, before I let my daughter have it.

> I will test in some other systems and let you know my results.

Thank you! Very glad to know that I am not the only person with this
problem! Lanny
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] Documentation for DNS and BIND

2008-04-29 Thread Ralph Angenendt
Niki Kovacs wrote:
> Can you recommend me some *comprehensive* documentation? I like the sort of 
> documentation that explains things step by step, not too laconically.  I 
> don't mind reading hundreds of pages, as long as it's well explained. 
> Consider me a total newbie in that field.

There can only be one:

Cricket Liu and Paul Albitz: DNS and BIND, 5th Edition



The Cookbook by Cricket Liu is a nice addition, but the one above is
sort of the DNS and BIND bible.

Cheers,

Ralph


pgpYKZWWWF1P1.pgp
Description: PGP signature
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] Kickstart syntax for CentOS upgrade

2008-04-29 Thread Alfred von Campe

On Apr 28, 2008, at 18:37, Tom Lanyon wrote:
This worked fine for me on a 4.6 kickstart I did recently. I can't  
remember whether I tried it on 5.x or not, sorry.


bootloader --location=mbr --driveorder=sda
part /boot --onpart=sda1 --fstype=ext3
part swap --onpart=sda2 --fstype=swap
volgroup vg --useexisting
logvol / --useexisting --name=root --vgname=vg --fstype=ext3

Because the volgroup already exists you don't need to define a PV  
for it.


That last sentence was the key.  I removed the line "part pv.2 -- 
noformat --onpart sda2" and did not make any other changes and now  
the "upgrade" is working fine.  For future reference, here is what  
the relevant section of my kickstart file looked like:


  bootloader --location=mbr --append="rhgb quiet"
  part /boot --fstype ext3 --onpart sda1
  volgroup VolGroup00 --useexisting
  logvol swap --useexisting --fstype swap --name=LogVol00 -- 
vgname=VolGroup00
  logvol /--useexisting --fstype ext3 --name=LogVol01 -- 
vgname=VolGroup00


Thanks for the help,
Alfred

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


RE: [CentOS] DVD reader: Hardware problem or OS glitch?

2008-04-29 Thread Lanny Marcus
On 27 April 2008, "John"  wrote:
> Message: 19
> Date: Sun, 27 Apr 2008 23:22:19 -0400
> From: "John" 
> Subject: RE: [CentOS] DVD reader: Hardware problem or OS glitch?
> Message-ID: <[EMAIL PROTECTED]>

> Hmm - do you have one of those disks with the micro-brushes that you
> use to clean the lens of a DVD drive?  It could be nothing worse than
> that.

I will look for one of those. Might be worth a try.

>  I don't know what she used it for under XP, but if it was for reading
> commercial disks they are undoubtably easier to read than home-burned
> ones, and its possible that the linux driver is not as good either.
> OTOH, it could be something quite different :-)

Mike Peterson has the same problem on an HP box. Mine is a Dell
Dimension 4300. I believe the DVD reader was not installed in the
factory and that I installed it, later, but, I'm not positive about
that. I also believe that the Dell Dimension 4300 had CentOS 5 on it,
before I wiped the HD last Thanksgiving, but, I'm not positive about
that. Certainly this was working on that box, when it was mine. My
daughter rarely puts removable media into that box and the drive has
little use, but, that does not mean that it might not be dirty or
faulty. However, the drive seems to work properly, at all times, under
Windows XP.

That these boxes can boot from the same DVD media, and then not be able
to mount the media properly, after the installation is complete, is
frustrating.

> Did you do a mount /dev/hdc /mnt/media?

I tried that but I got this error message: mount point /mnt/media does
not exist

When I look at the /etc/fstab files in the box with the problem and in
my box, they look identical or nearly identical. Where is the
configuration file for removable media now?

I suspect that somewhere in the auto mount process, it has a problem
with the HW for the DVD reader for my daughter's box and for the DVD
reader in Mike's HP box. 

When a DVD is inserted into the DVD reader, the DVD shows up on the
GNOME Desktop, but as if the media is empty.

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


Re: [CentOS] howto use kvm-amd on centos 5.1

2008-04-29 Thread Akemi Yagi
On Fri, Apr 18, 2008 at 12:33 PM, Daniel de Kok <[EMAIL PROTECTED]> wrote:
> On Fri, Apr 18, 2008 at 3:46 PM, Jerry Geis <[EMAIL PROTECTED]> wrote:
>
> >  I want to put this on my desktop that is running 2.6.18-53.1.14.el5. Is
>  > there a way or do I just wave to use 2.6.24 or 25.
>
>  yum install kmod-kvm
>
>  should do the trick, because KVM is in extras. I am currently working
>  on KVM-66 packages as well, that will be pushed to testing if they
>  work ok.
>
>  Take care,
>  Daniel

Just wanted to update on this.  KVM-66 is available in the testing
repository.  There is now a wiki article (draft) for those who are
wishing to install KVM on CentOS-5 (thanks to Scott Roberts for
writing this up).

http://wiki.centos.org/HowTos/KVM

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


RE: [CentOS] DVD reader: Hardware problem or OS glitch?

2008-04-29 Thread William L. Maltby
On Tue, 2008-04-29 at 10:22 -0500, Lanny Marcus wrote:
> On 27 April 2008, "John"  wrote:
> 

> Mike Peterson has the same problem on an HP box. Mine is a Dell
> Dimension 4300. I believe the DVD reader was not installed in the
> factory and that I installed it, later, but, I'm not positive about
> that. I also believe that the Dell Dimension 4300 had CentOS 5 on it,
> before I wiped the HD last Thanksgiving, but, I'm not positive about
> that. Certainly this was working on that box, when it was mine. My
> daughter rarely puts removable media into that box and the drive has
> little use, but, that does not mean that it might not be dirty or
> faulty. However, the drive seems to work properly, at all times, under
> Windows XP.
> 
> That these boxes can boot from the same DVD media, and then not be able
> to mount the media properly, after the installation is complete, is
> frustrating.
> 
> > Did you do a mount /dev/hdc /mnt/media?
> 
> I tried that but I got this error message: mount point /mnt/media does
> not exist
> 
> When I look at the /etc/fstab files in the box with the problem and in
> my box, they look identical or nearly identical. Where is the
> configuration file for removable media now?
> 
> I suspect that somewhere in the auto mount process, it has a problem
> with the HW for the DVD reader for my daughter's box and for the DVD
> reader in Mike's HP box. 
> 
> When a DVD is inserted into the DVD reader, the DVD shows up on the
> GNOME Desktop, but as if the media is empty.

I don't know if y'all tried this, or if it will help, but in my
grub.conf (menu.lst) I have this on the kernel line.

 hdc=ide-cd

Maybe it will help you?

> 

HTH
-- 
Bill

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


RE: [CentOS] DVD reader: Hardware problem or OS glitch?

2008-04-29 Thread Lanny Marcus
On 28 April 2008, Mike Peterson" Message: 21
 >Date: Mon, 28 Apr 2008 17:27:44 -0500

>Subject: RE: [CentOS] DVD reader: Hardware problem or OS glitch?
 >To: "'CentOS mailing list'" 
 >Message-ID: <[EMAIL PROTECTED]>

 >I have yet to get a DVD to read in CentOS 5.
 >I can install from DVD and then reboot and then the DVD drive is no longer
 >accessible.
> It works with several live CD and DVD images with no problems however.
 >This is on an HP system.
 >I think it is an OS problem.

> I will test in some other systems and let you know my results.

Mike: I found a *very* recent thread in the web forum of centos.org


Alan Bartlett wrote to:
mkdir /mnt/cdrom  and thenmount -r -t iso9660 /dev/cdrom /mnt/cdrom

Here's the FC6 Install DVD I want to install an RPM from:

[EMAIL PROTECTED] ~]# dir /mnt/cdrom
eula.txt  RELEASE-NOTES-en_US.html   RPM-GPG-KEY-fedora-rawhide
Fedorarepodata   RPM-GPG-KEY-fedora-test
fedora.cssRPM-GPG-KEYRPM-GPG-KEY-rawhide
GPL   RPM-GPG-KEY-beta   stylesheet-images
imagesRPM-GPG-KEY-fedora TRANS.TBL
isolinux  RPM-GPG-KEY-fedora-extras
README-Accessibility  RPM-GPG-KEY-fedora-legacy
[EMAIL PROTECTED] ~]#

The contents of the DVD still do not show up if I open the Icon for it
on the GNOME Desktop or if I click on "Computer" and then open that
drive.  Doing that, the media still appears to be empty.

Like you, I am now 99.9% sure that this is not a HW problem.  I am
very puzzled, why this works, without any problems, on 2 of the 3
boxes I did clean installs on, last Thanksgiving weekend and not on
this box.  Lanny
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] DVD reader: Hardware problem or OS glitch?

2008-04-29 Thread Alan Bartlett
2008/4/29 Lanny Marcus <[EMAIL PROTECTED]>:

> > Did you do a mount /dev/hdc /mnt/media?
>
> I tried that but I got this error message: mount point /mnt/media does
> not exist
>

Having heard my name being mentioned, I'll just say "make the mount point,
then". I.e. mkdir /mnt/media
Have you checked that /dev/hdc is the optical drive? grep ^hdc
/var/log/dmesg
Then looked at the symbolic links? ls -l /dev/ | grep hdc
If the HAL daemon is present and active on the system, inserting a disk into
the drive *should* mount it on an autocreated mount point appropriate for
the type of medium inserted into the drive or the label - if any - that the
disk has been given.

I don't know if this will be any use -
http://wiki.centos.org/TipsAndTricks/HAL

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


Re: [CentOS] DVD reader: Hardware problem or OS glitch?

2008-04-29 Thread MHR
On Tue, Apr 29, 2008 at 9:18 AM, Lanny Marcus <[EMAIL PROTECTED]> wrote:
>
>  Mike: I found a *very* recent thread in the web forum of centos.org>  
> 
>
>  Alan Bartlett wrote to:
>  mkdir /mnt/cdrom  and thenmount -r -t iso9660 /dev/cdrom /mnt/cdrom
>
>  Here's the FC6 Install DVD I want to install an RPM from:
>
>  [EMAIL PROTECTED] ~]# dir /mnt/cdrom
>  eula.txt  RELEASE-NOTES-en_US.html   RPM-GPG-KEY-fedora-rawhide
>  Fedorarepodata   RPM-GPG-KEY-fedora-test
>  fedora.cssRPM-GPG-KEYRPM-GPG-KEY-rawhide
>  GPL   RPM-GPG-KEY-beta   stylesheet-images
>  imagesRPM-GPG-KEY-fedora TRANS.TBL
>  isolinux  RPM-GPG-KEY-fedora-extras
>  README-Accessibility  RPM-GPG-KEY-fedora-legacy
>  [EMAIL PROTECTED] ~]#
>
>  The contents of the DVD still do not show up if I open the Icon for it
>  on the GNOME Desktop or if I click on "Computer" and then open that
>  drive.  Doing that, the media still appears to be empty.
>
>  Like you, I am now 99.9% sure that this is not a HW problem.  I am
>  very puzzled, why this works, without any problems, on 2 of the 3
>  boxes I did clean installs on, last Thanksgiving weekend and not on
>  this box.  Lanny
>

I am unclear on which parts of the above post are yours and which are
from the thread.

However:

Can you access the contents of the DVD from a command line at all?  If
so, have you tried doing the rpm install from the command line?

What make and model of DVD drive is it?  What kind of controller is it
connected to?  Have you checked all the cables to make sure that they
are properly connected and the drive has its jumpers in the right
place?

I have heard that mixing FC and CentOS rpms is not a good idea,
although IIRC FC6 and CentOS 5 are reasonably close.

Just wondering

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


[CentOS] alias for network on centos 4

2008-04-29 Thread Jerry Geis

I was playing with network alias on centos 4  - i386.

When I activated the alias ifconfig showed the correct eth1:0 information
However I was not able to ping the address Tried service network 
stop and start

still not able to ping the address.

After rebooting everything seems to be normal and the alias was available...

Only thing in my alias file was:
IPADDR=x.y.x.y
DEVICE=eth1:0

Is that normal? I would not have thought a reboot would be required for 
that?


Any experiences with alias?

After the reboot, I tried the service network stop and start and 
everything came

up just fine after that. Did not have to reboot...

Thanks,

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


Re: [CentOS] DVD reader: Hardware problem or OS glitch?

2008-04-29 Thread Lanny Marcus
On 29 April 2008, William L. Maltby CentOS4Bill at triad.rr.com  wrote:
> CentOS] DVD reader: Hardware problem or OS glitch?
> William L. Maltby CentOS4Bill at triad.rr.com 
> Tue Apr 29 16:07:57 UTC 2008 

> > I suspect that somewhere in the auto mount process, it has a problem
> > with the HW for the DVD reader for my daughter's box and for the DVD
> > reader in Mike's HP box. 
> > 
> > When a DVD is inserted into the DVD reader, the DVD shows up on the
> > GNOME Desktop, but as if the media is empty.
> 
> I don't know if y'all tried this, or if it will help, but in my
> grub.conf (menu.lst) I have this on the kernel line.
> 
>  hdc=ide-cd
> 
> Maybe it will help you?
Bill: I looked at the /etc/grub.conf file on my box and it does not have that 
included and it works fine here:

kernel /vmlinuz-2.6.18-8.el5 ro root=/dev/VolGroup00/LogVol00 rhgb quiet

I also looked at that file on the box with the problem and it doesn't have that 
included either. I may edit the file and see if including that cures the 
problem.
Currently updating several packages on the box with the problem, including 
autofs and hal. 
If that does not help, I just began to think about updating the Kernel, hoping 
there might be better support for that DVD reader in a newer Kernel. But, I'm 
not sure
if the support for the HW is the problem.
I get the Digest version of this ML every morning, but I read your reply on the 
ML Archives.
Thank you! Lanny

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


Re: [CentOS] Documentation for DNS and BIND

2008-04-29 Thread Niki Kovacs

Ralph Angenendt a écrit :

Niki Kovacs wrote:
Can you recommend me some *comprehensive* documentation? I like the sort of 
documentation that explains things step by step, not too laconically.  I 
don't mind reading hundreds of pages, as long as it's well explained. 
Consider me a total newbie in that field.


There can only be one:

Cricket Liu and Paul Albitz: DNS and BIND, 5th Edition



The Cookbook by Cricket Liu is a nice addition, but the one above is
sort of the DNS and BIND bible.


OK, thanks!

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


RE: [CentOS] DVD reader: Hardware problem or OS glitch?

2008-04-29 Thread Lanny Marcus
On 29 April 2008, Alan Bartlett ajb.stxsl at googlemail.com wrote:
Tue Apr 29 16:39:45 UTC 2008


>Having heard my name being mentioned, I'll just say "make the mount point,
>then". I.e. mkdir /mnt/media
>Have you checked that /dev/hdc is the optical drive? grep ^hdc
>/var/log/dmesg

[EMAIL PROTECTED] ~]# grep ^hdc /var/log/dmesg
hdc: DV-516D, ATAPI CD/DVD-ROM drive
hdc: ATAPI 50X DVD-ROM drive, 256kB Cache, UDMA(100)
[EMAIL PROTECTED] ~]#

>Then looked at the symbolic links? ls -l /dev/ | grep hdc

[EMAIL PROTECTED] ~]# ls -l /dev/ | grep hdc
lrwxrwxrwx 1 root  root   3 Apr 29 12:30 cdrom-hdc -> hdc
lrwxrwxrwx 1 root  root   3 Apr 29 12:30 dvd -> hdc
lrwxrwxrwx 1 root  root   3 Apr 29 12:30 dvd-hdc -> hdc
brw--- 1 lanny disk22,0 Apr 29 12:30 hdc
[EMAIL PROTECTED] ~]#

>If the HAL daemon is present and active on the system, inserting a disk into
>the drive *should* mount it on an autocreated mount point appropriate for
>the type of medium inserted into the drive or the label - if any - that the
>disk has been given.

I just updated the hal rpm on the box with the problem and I did a
restart of the box after that.

hald (pid 2069) is running...

>I don't know if this will be any use -
>http://wiki.centos.org/TipsAndTricks/HAL

Alan: I will check that out! Thanks much! Lanny
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


RE: [CentOS] DVD reader: Hardware problem or OS glitch?

2008-04-29 Thread Lanny Marcus
On 29 April 2008, MHR mhullrich at gmail.com wrote:
>Tue Apr 29 16:57:24 UTC 2008
>I am unclear on which parts of the above post are yours and which are
>from the thread.

Sorry! I am making a mess of my posts.

>Can you access the contents of the DVD from a command line at all?  If
>so, have you tried doing the rpm install from the command line?

Yes. I installed the kdeedu RPM  awhile ago. Using the command line, I
can mount and access the DVD, without any problem.

>What make and model of DVD drive is it?

I think it is a TEAC drive. Doesn't say on the front panel.

>What kind of controller is it
>connected to?  Have you checked all the cables to make sure that they
>are properly connected and the drive has its jumpers in the right
>place?

It's connected to the EIDE controller on the motherboard.  I haven't
checked the cables or jumpers, because it is otherwise working OK, in
Windoze and from the command line.

>I have heard that mixing FC and CentOS rpms is not a good idea,
>although IIRC FC6 and CentOS 5 are reasonably close.

For sure that is true. Upstream does not include the kdeedu RPM in
their distribution, so CentOS doesn't have it and that package is
something we use here. I think CentOS5 is based on FC6.  That's the
only RPM I'm using off the FC6 Install DVD and it works fine on CentOS
5.

Thank you Mark! Lanny
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] DVD reader: Hardware problem or OS glitch?

2008-04-29 Thread Alan Bartlett
2008/4/29 Lanny Marcus <[EMAIL PROTECTED]>:

> [EMAIL PROTECTED] ~]# grep ^hdc /var/log/dmesg
> hdc: DV-516D, ATAPI CD/DVD-ROM drive
> hdc: ATAPI 50X DVD-ROM drive, 256kB Cache, UDMA(100)
> [EMAIL PROTECTED] ~]#


Good(-ish). The optical device is there but it's an old combo CD/DVD-ROM
drive.


> >Then looked at the symbolic links? ls -l /dev/ | grep hdc
>
> [EMAIL PROTECTED] ~]# ls -l /dev/ | grep hdc
> lrwxrwxrwx 1 root  root   3 Apr 29 12:30 cdrom-hdc -> hdc
> lrwxrwxrwx 1 root  root   3 Apr 29 12:30 dvd -> hdc
> lrwxrwxrwx 1 root  root   3 Apr 29 12:30 dvd-hdc -> hdc
> brw--- 1 lanny disk22,0 Apr 29 12:30 hdc
> [EMAIL PROTECTED] ~]#


Good. That's o.k. also.


>
> I just updated the hal rpm on the box with the problem and I did a
> restart of the box after that.
>
> hald (pid 2069) is running...


Good, again.


> >I don't know if this will be any use -
> >http://wiki.centos.org/TipsAndTricks/HAL
>
> Alan: I will check that out! Thanks much! Lanny
>
>
Did I see that you are still running a very out of date kernel? Of the
2.6.18-8.m.n series? Any particular reason?

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


Re: [CentOS] DVD reader: Hardware problem or OS glitch?

2008-04-29 Thread MHR
On Tue, Apr 29, 2008 at 11:16 AM, Lanny Marcus <[EMAIL PROTECTED]> wrote:
> On 29 April 2008, MHR mhullrich at gmail.com wrote:
>
>  >Can you access the contents of the DVD from a command line at all?  If
>  >so, have you tried doing the rpm install from the command line?
>
>  Yes. I installed the kdeedu RPM  awhile ago. Using the command line, I
>  can mount and access the DVD, without any problem.
>

Then it seems that your immediate problem, installing another rpm from
that DVD, is solved - use the command line.

I am a firm believer in command line usage, so I'm really not at all
clear on what the importance of being able to access the DVD via
Nautilus is.  Yes, it's an annoyance if you can't get at files that
way, but this is Linux - there are many ways to skin the cat, and you
have one that is arguably the best one available.

That said, if you can access the disk from the command line, then this
is almost certainly not an OS problem but more likely a GNOME problem.
 Have you tried asking on the GNOME list?

HTH.

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


Re: [CentOS] Slightly OT: Extra icons on desktop

2008-04-29 Thread MHR
On Tue, Apr 29, 2008 at 2:11 AM, William L. Maltby
<[EMAIL PROTECTED]> wrote:
>
> On Mon, 2008-04-28 at 16:03 -0700, MHR wrote:
>  >
>  > Must be something like that - if I su and umount it, both icons go
>  > away.  Then I 'mount -a' and only one comes back.  But if I log out
>  > and log back in, they both come back.  Must a new "feature" of gnome
>  > 2.20.0
>
>  If *I* know about it, it *can't* be a *new* feature!  ;-)
>

Heh, heh - I meant "feature" as in the infamous Bill Gates interview
with the German technology magazine, wherein he claimed that Windows
has no bugs, only features that people do not understand.  (You can't
make this stuff up)

The most interesting part to me is that the disk in question is a
fixed drive in the case.  On my CentOS boxes and laptops, these NEVER
show up on the desktop (why would they?), only the removable media.

Thanks, including for the chuckle.

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


Re: [CentOS] Slightly OT: Extra icons on desktop

2008-04-29 Thread William L. Maltby
On Tue, 2008-04-29 at 11:34 -0700, MHR wrote:
> On Tue, Apr 29, 2008 at 2:11 AM, William L. Maltby
> <[EMAIL PROTECTED]> wrote:
> >
> > On Mon, 2008-04-28 at 16:03 -0700, MHR wrote:
> >  >
> >  > Must be something like that - if I su and umount it, both icons go
> >  > away.  Then I 'mount -a' and only one comes back.  But if I log out
> >  > and log back in, they both come back.  Must a new "feature" of gnome
> >  > 2.20.0
> >
> >  If *I* know about it, it *can't* be a *new* feature!  ;-)
> >
> 
> Heh, heh - I meant "feature" as in the infamous Bill Gates interview
> with the German technology magazine, wherein he claimed that Windows
> has no bugs, only features that people do not understand.  (You can't
> make this stuff up)
> 
> The most interesting part to me is that the disk in question is a
> fixed drive in the case.  On my CentOS boxes and laptops, these NEVER
> show up on the desktop (why would they?), only the removable media.

If it is truly a fixed drive, then I would suggest a look at the logs
(dmesg and/or messages) to get it "identity" and then look at udev
configuration scripts. IIUC, udev is assigned the task of identifying
and classifying stuff correctly. Everything else at "higher" levels of
abstraction would depend on those results.

I did a locate on udev and some promising things popped up.

/etc/udev
/etc/sysconfig/modules/udev-stw.modules
/etc/udev/devices
/etc/udev/makedev.d
/etc/udev/rules.d
/etc/udev/udev.conf

Plus there's a bunch of docs about it up in /usr/share/doc/udev-095,
including overview and writing-udev-rules. "man -k udev" offers some
potential help too.

I hope there's an answer hidden in there somewhere.

> 
> Thanks, including for the chuckle.

Chuckles are free, grins @ $0.01.

> 
> mhr
> 

HTH
-- 
Bill

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


RE: [CentOS] Slightly OT: Extra icons on desktop

2008-04-29 Thread Ross S. W. Walker
William L. Maltby wrote:
> On Tue, 2008-04-29 at 11:34 -0700, MHR wrote:
> > On Tue, Apr 29, 2008 at 2:11 AM, William L. Maltby
> > <[EMAIL PROTECTED]> wrote:
> > >
> > > On Mon, 2008-04-28 at 16:03 -0700, MHR wrote:
> > >  >
> > >  > Must be something like that - if I su and umount it, both icons go
> > >  > away.  Then I 'mount -a' and only one comes back.  But if I log out
> > >  > and log back in, they both come back.  Must a new "feature" of gnome
> > >  > 2.20.0
> > >
> > >  If *I* know about it, it *can't* be a *new* feature!  ;-)
> > >
> > 
> > Heh, heh - I meant "feature" as in the infamous Bill Gates interview
> > with the German technology magazine, wherein he claimed that Windows
> > has no bugs, only features that people do not understand. (You can't
> > make this stuff up)
> > 
> > The most interesting part to me is that the disk in question is a
> > fixed drive in the case.  On my CentOS boxes and laptops, these NEVER
> > show up on the desktop (why would they?), only the removable media.
> 
> If it is truly a fixed drive, then I would suggest a look at the logs
> (dmesg and/or messages) to get it "identity" and then look at udev
> configuration scripts. IIUC, udev is assigned the task of identifying
> and classifying stuff correctly. Everything else at "higher" levels of
> abstraction would depend on those results.
> 
> I did a locate on udev and some promising things popped up.
> 
> /etc/udev
> /etc/sysconfig/modules/udev-stw.modules
> /etc/udev/devices
> /etc/udev/makedev.d
> /etc/udev/rules.d
> /etc/udev/udev.conf
> 
> Plus there's a bunch of docs about it up in /usr/share/doc/udev-095,
> including overview and writing-udev-rules. "man -k udev" offers some
> potential help too.
> 
> I hope there's an answer hidden in there somewhere.
> 
> > 
> > Thanks, including for the chuckle.
> 
> Chuckles are free, grins @ $0.01.

I believe the problem is simple really.

fstab has the device listed as LABEL=misc, and HAL reports it as /dev/sdX,
the Gnome file manager sees these as 2 separate devices and presents them
as such.

Find a way to have Gnome stop scanning the fstab file and have it rely
completely on HAL, or have HAL ignore all devices listed in fstab.

-Ross

__
This e-mail, and any attachments thereto, is intended only for use by
the addressee(s) named herein and may contain legally privileged
and/or confidential information. If you are not the intended recipient
of this e-mail, you are hereby notified that any dissemination,
distribution or copying of this e-mail, and any attachments thereto,
is strictly prohibited. If you have received this e-mail in error,
please immediately notify the sender and permanently delete the
original and any copy or printout thereof.

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


Re: [CentOS] Slightly OT: Extra icons on desktop

2008-04-29 Thread MHR
On Tue, Apr 29, 2008 at 12:25 PM, Ross S. W. Walker
<[EMAIL PROTECTED]> wrote:
>
>  I believe the problem is simple really.
>
>  fstab has the device listed as LABEL=misc, and HAL reports it as /dev/sdX,
>  the Gnome file manager sees these as 2 separate devices and presents them
>  as such.
>

Actually, I used tune2fs earlier to delete the volume label and the
entry in fstab now lists the device directly.

>  Find a way to have Gnome stop scanning the fstab file and have it rely
>  completely on HAL, or have HAL ignore all devices listed in fstab.
>

I'll look into this one.

Thanks.

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


Re: [CentOS] DVD reader: Hardware problem or OS glitch?

2008-04-29 Thread William L. Maltby
On Tue, 2008-04-29 at 19:24 +0100, Alan Bartlett wrote:
> 2008/4/29 Lanny Marcus <[EMAIL PROTECTED]>:
> [EMAIL PROTECTED] ~]# grep ^hdc /var/log/dmesg hdc: DV-516D,
> ATAPI
>  CD/DVD-ROM drive hdc: ATAPI 50X DVD-ROM drive, 256kB Cache,
> UDMA(100)
> [EMAIL PROTECTED] ~]#
> 
> Good(-ish). The optical device is there but it's an old combo
> CD/DVD-ROM drive.
> 
> 
> 
> >Then looked at the symbolic links? ls -l /dev/ | grep hdc
> 
> 
> [EMAIL PROTECTED] ~]# ls -l /dev/ | grep hdc
> lrwxrwxrwx 1 root  root   3 Apr 29 12:30 cdrom-hdc ->
> hdc
> lrwxrwxrwx 1 root  root   3 Apr 29 12:30 dvd -> hdc
> lrwxrwxrwx 1 root  root   3 Apr 29 12:30 dvd-hdc ->
> hdc
> brw--- 1 lanny disk22,0 Apr 29 12:30 hdc
> [EMAIL PROTECTED] ~]#

When I do that, I get nothing. But, this is promising (BTW, my prev
ide-cd thingy was left over from another CentOS box. It's not effective
on this one.).

]# ls -l /dev|grep -i "dvd\|cd"
lrwxrwxrwx 1 root  root   3 Apr 26 17:52 cdrom -> hda
lrwxrwxrwx 1 root  root   3 Apr 26 17:52 cdrom-hda -> hda
lrwxrwxrwx 1 root  root   3 Apr 26 17:52 cdrw -> hda
lrwxrwxrwx 1 root  root   3 Apr 26 17:52 cdrw-hda -> hda
lrwxrwxrwx 1 root  root   3 Apr 26 17:52 cdwriter -> hda
lrwxrwxrwx 1 root  root   3 Apr 26 17:52 cdwriter-hda -> hda
lrwxrwxrwx 1 root  root   3 Apr 26 17:52 dvd -> hda
lrwxrwxrwx 1 root  root   3 Apr 26 17:52 dvd-hda -> hda
lrwxrwxrwx 1 root  root   3 Apr 26 17:52 dvdrw -> hda
lrwxrwxrwx 1 root  root   3 Apr 26 17:52 dvdrw-hda -> hda
lrwxrwxrwx 1 root  root   3 Apr 26 17:52 dvdwriter -> hda
lrwxrwxrwx 1 root  root   3 Apr 26 17:52 dvdwriter-hda ->
hda

And

# ls -Ll /dev|grep -i "dvd\|cd"
brw--- 1 wild-bill disk 3,0 Apr 26 17:52 cdrom
brw--- 1 wild-bill disk 3,0 Apr 26 17:52 cdrom-hda
brw--- 1 wild-bill disk 3,0 Apr 26 17:52 cdrw
brw--- 1 wild-bill disk 3,0 Apr 26 17:52 cdrw-hda
brw--- 1 wild-bill disk 3,0 Apr 26 17:52 cdwriter
brw--- 1 wild-bill disk 3,0 Apr 26 17:52 cdwriter-hda
brw--- 1 wild-bill disk 3,0 Apr 26 17:52 dvd
brw--- 1 wild-bill disk 3,0 Apr 26 17:52 dvd-hda
brw--- 1 wild-bill disk 3,0 Apr 26 17:52 dvdrw
brw--- 1 wild-bill disk 3,0 Apr 26 17:52 dvdrw-hda
brw--- 1 wild-bill disk 3,0 Apr 26 17:52 dvdwriter
brw--- 1 wild-bill disk 3,0 Apr 26 17:52 dvdwriter-hda

I popped a CentOS DVD in, got one image on the desktop and one mount
listed from the mount command and one nautilus box popped up..

I removed that and inserted a Mark Knopfler DVD and totem automatically
popped up to do it's usual bitch about plugins.

Mount showed one on /media/SHANGRILA and desktop had one ICON for it.

> 

My best guess (admittedly, in blissful ignorance) is there is some
configuration problem on that unit.

HTH
-- 
Bill

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


RE: [CentOS] Slightly OT: Extra icons on desktop

2008-04-29 Thread William L. Maltby
On Tue, 2008-04-29 at 15:25 -0400, Ross S. W. Walker wrote:
> William L. Maltby wrote:
> > On Tue, 2008-04-29 at 11:34 -0700, MHR wrote:
> > > On Tue, Apr 29, 2008 at 2:11 AM, William L. Maltby
> > > <[EMAIL PROTECTED]> wrote:
> > > >
> > > > On Mon, 2008-04-28 at 16:03 -0700, MHR wrote:
> > > >  >
> > > >  > Must be something like that - if I su and umount it, both icons go
> > > >  > away.  Then I 'mount -a' and only one comes back.  But if I log out
> > > >  > and log back in, they both come back.  Must a new "feature" of gnome
> > > >  > 2.20.0
> > > >
> > > >  If *I* know about it, it *can't* be a *new* feature!  ;-)
> > > >
> > > 
> > > Heh, heh - I meant "feature" as in the infamous Bill Gates interview
> > > with the German technology magazine, wherein he claimed that Windows
> > > has no bugs, only features that people do not understand. (You can't
> > > make this stuff up)
> > > 
> > > The most interesting part to me is that the disk in question is a
> > > fixed drive in the case.  On my CentOS boxes and laptops, these NEVER
> > > show up on the desktop (why would they?), only the removable media.
> > 
> > If it is truly a fixed drive, then I would suggest a look at the logs
> > (dmesg and/or messages) to get it "identity" and then look at udev
> > configuration scripts. IIUC, udev is assigned the task of identifying
> > and classifying stuff correctly. Everything else at "higher" levels of
> > abstraction would depend on those results.
> > 
> > I did a locate on udev and some promising things popped up.
> > 
> > /etc/udev
> > /etc/sysconfig/modules/udev-stw.modules
> > /etc/udev/devices
> > /etc/udev/makedev.d
> > /etc/udev/rules.d
> > /etc/udev/udev.conf
> > 
> > Plus there's a bunch of docs about it up in /usr/share/doc/udev-095,
> > including overview and writing-udev-rules. "man -k udev" offers some
> > potential help too.
> > 
> > I hope there's an answer hidden in there somewhere.
> > 
> > > 
> > > Thanks, including for the chuckle.
> > 
> > Chuckles are free, grins @ $0.01.
> 
> I believe the problem is simple really.
> 
> fstab has the device listed as LABEL=misc, and HAL reports it as /dev/sdX,
> the Gnome file manager sees these as 2 separate devices and presents them
> as such.

If the "misc" is getting automounted, that would be a problem. But
wasn't the "noauto" option tried (I can't remember)?


> 
> Find a way to have Gnome stop scanning the fstab file and have it rely
> completely on HAL, or have HAL ignore all devices listed in fstab.
> 
> -Ross
> 

-- 
Bill

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


Re: [CentOS] Slightly OT: Extra icons on desktop

2008-04-29 Thread MHR
On Tue, Apr 29, 2008 at 12:43 PM, William L. Maltby
<[EMAIL PROTECTED]> wrote:
>
>  If the "misc" is getting automounted, that would be a problem. But
>  wasn't the "noauto" option tried (I can't remember)?
>

No, I want it automounted.  I just don't want it to show up twice on my desktop.

I suppose I could just delete the file from my Desktop folder, but I'm
not sure if that does anything detrimental or what

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


Re: [CentOS] Slightly OT: Extra icons on desktop

2008-04-29 Thread William L. Maltby
On Tue, 2008-04-29 at 12:50 -0700, MHR wrote:
> On Tue, Apr 29, 2008 at 12:43 PM, William L. Maltby
> <[EMAIL PROTECTED]> wrote:
> >
> >  If the "misc" is getting automounted, that would be a problem. But
> >  wasn't the "noauto" option tried (I can't remember)?
> >
> 
> No, I want it automounted.  I just don't want it to show up twice on my 
> desktop.

You mean regardless of if desktop is started up? In that case, it sounds
like System->Preferences->Removable Drives and Media settings need
changing to *not* mount when hot-plugged.

> 
> I suppose I could just delete the file from my Desktop folder, but I'm
> not sure if that does anything detrimental or what
> 
> mhr
> 

-- 
Bill

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


[CentOS] Linuxtag 2008 - call for meeting

2008-04-29 Thread Ralph Angenendt
Linuxtag 2008 in Berlin is coming closer by the minute (May 28th to May
31st 2008) - and we are going to be there. And so can you - either as
a visitor or with us at the booth we have there! See
 for more information about the event.

To coordinate this event, there is going to be a "Meeting" in the IRC
channel #centos-social on the freenode IRC network
( for more information).
The meeting will take place on Sunday, March 4th 2008 at 22:00 CEST
(that's 20:00 UTC). Just connect to irc.freenode.net with an IRC client
and /join #centos-social then. 

So if you want to be part of Linuxtag 2008: Be there on sunday! Or at
least drop us a mail. As this mail goes to [EMAIL PROTECTED] *and*
centos@centos.org, please make sure that you only answer to both
lists when you are subscribed to both lists.

Best thing would be if you could subscribe to [EMAIL PROTECTED]
and discuss matters there. See
 for subscribing
via the web.

Cheers, Danke, Thank you in advance, Grüße,

Ralph


pgp0cT09eWuGS.pgp
Description: PGP signature
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] Slightly OT: Extra icons on desktop

2008-04-29 Thread MHR
On Tue, Apr 29, 2008 at 12:59 PM, William L. Maltby
<[EMAIL PROTECTED]> wrote:
>  You mean regardless of if desktop is started up? In that case, it sounds
>  like System->Preferences->Removable Drives and Media settings need
>  changing to *not* mount when hot-plugged.
>

At the risk of repeating myself: this is a fixed hard drive; it is NOT
a removable drive nor a removable media drive.  That is why this issue
is so puzzling to me

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


Re: [CentOS] Slightly OT: Extra icons on desktop

2008-04-29 Thread William L. Maltby
On Tue, 2008-04-29 at 13:15 -0700, MHR wrote:
> On Tue, Apr 29, 2008 at 12:59 PM, William L. Maltby
> <[EMAIL PROTECTED]> wrote:
> >  You mean regardless of if desktop is started up? In that case, it sounds
> >  like System->Preferences->Removable Drives and Media settings need
> >  changing to *not* mount when hot-plugged.
> >
> 
> At the risk of repeating myself: this is a fixed hard drive; it is NOT
> a removable drive nor a removable media drive.  That is why this issue
> is so puzzling to me

Repeating is not an issue. Long threads promote forgetfulness. But I
didn't forget. I'm just hazarding a guess that whatever the root cause
is, changing those settings might get rid of the extra icon. That, in
turn, gives a hint that might be useful. If it doesn't fix it, it also
provides some help by eliminating some things... I hope.

I'm still hoping that the scan of the dmesg or messages log, in
conjunction with a look a udev stuff might reveal the cause.

The settings suggestion was just a stab at getting rid of the icon,
which was your stated goal.

> 
> mhr
> 

-- 
Bill

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


Re: [CentOS] Slightly OT: Extra icons on desktop

2008-04-29 Thread William L. Maltby
On Tue, 2008-04-29 at 13:15 -0700, MHR wrote:
> On Tue, Apr 29, 2008 at 12:59 PM, William L. Maltby
> <[EMAIL PROTECTED]> wrote:
> >  You mean regardless of if desktop is started up? In that case, it sounds
> >  like System->Preferences->Removable Drives and Media settings need
> >  changing to *not* mount when hot-plugged.
> >
> 
> At the risk of repeating myself: this is a fixed hard drive; it is NOT
> a removable drive nor a removable media drive.  That is why this issue
> is so puzzling to me

BTW. Determination of device type/class is contained within the HAL/udev
data bases (script, configs, hardware lists, ...). If your device is not
there, or is there erroneously identified, ISTM that it could cause the
system to believe it was removable media.

> 
> mhr
> 

-- 
Bill

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


RE: [CentOS] Slightly OT: Extra icons on desktop

2008-04-29 Thread Ross S. W. Walker
William L. Maltby wrote:
> On Tue, 2008-04-29 at 13:15 -0700, MHR wrote:
> > On Tue, Apr 29, 2008 at 12:59 PM, William L. Maltby
> > <[EMAIL PROTECTED]> wrote:
> > >  You mean regardless of if desktop is started up? In that case, it sounds
> > >  like System->Preferences->Removable Drives and Media settings need
> > >  changing to *not* mount when hot-plugged.
> > >
> > 
> > At the risk of repeating myself: this is a fixed hard drive; it is NOT
> > a removable drive nor a removable media drive.  That is why this issue
> > is so puzzling to me
> 
> Repeating is not an issue. Long threads promote forgetfulness. But I
> didn't forget. I'm just hazarding a guess that whatever the root cause
> is, changing those settings might get rid of the extra icon. That, in
> turn, gives a hint that might be useful. If it doesn't fix it, it also
> provides some help by eliminating some things... I hope.
> 
> I'm still hoping that the scan of the dmesg or messages log, in
> conjunction with a look a udev stuff might reveal the cause.
> 
> The settings suggestion was just a stab at getting rid of the icon,
> which was your stated goal.

I wonder if anyone can duplicate the problem by creating a partition
and having it mounted in fstab by volume label and see if it appears
twice.

If you list it in fstab by /dev/sdXX and HAL announces it as /dev/sdXX
then it will only appear once, but if it is listed in fstab as
LABEL= and HAL announces it as /dev/sdXX then it would be
listed as twice.

I believe /boot, /, LABEL=boot and LABEL=root, are typically ignored
either in Gnome or HAL or both, so those won't dup.

-Ross

__
This e-mail, and any attachments thereto, is intended only for use by
the addressee(s) named herein and may contain legally privileged
and/or confidential information. If you are not the intended recipient
of this e-mail, you are hereby notified that any dissemination,
distribution or copying of this e-mail, and any attachments thereto,
is strictly prohibited. If you have received this e-mail in error,
please immediately notify the sender and permanently delete the
original and any copy or printout thereof.

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


Re: [CentOS] Linuxtag 2008 - call for meeting

2008-04-29 Thread Ralph Angenendt
Ralph Angenendt wrote:
> The meeting will take place on Sunday, March 4th 2008 at 22:00 CEST
> (that's 20:00 UTC). 

Sorry, I've just been told that the CPTM (CentOS Public Time Machine)
still has to go through QA before we can release it to you. So we have
to reschedule that meeting to *MAY* 4th, 2008, not *MARCH* 4th. 

Let's try again with the time machine for Linuxtag 1875, though.

Sorry,

Ralph


pgptEYRKRAZQX.pgp
Description: PGP signature
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


RE: [CentOS] Slightly OT: Extra icons on desktop

2008-04-29 Thread William L. Maltby
On Tue, 2008-04-29 at 16:46 -0400, Ross S. W. Walker wrote: 
> William L. Maltby wrote:
> 

> I wonder if anyone can duplicate the problem by creating a partition
> and having it mounted in fstab by volume label and see if it appears
> twice.

Not quite the same, but I've a USB drive that I plugged in after
removing "noauto" from the fstab entry.

$ grep 4 /etc/fstab
LABEL=BkUp_4_5  /media/sdc1  ext2defaults,noatime 0 0

Got a nice little message telling me (in Gnome desktop) that I wasn't
priveleged to mount it. That's as I would expect since I was already
logged in at my desktop. Mount showed it mounted.

$ mount
/dev/sdc1 on /media/sdc1 type ext2 (rw,noatime)

Now I'll reboot and see what happens.

Rebooted. Prior to entering "telinit 5", did a "mount" and it was
mounted. After logging onto graphical desktop, one icon on the desktop.
As expected.

I'm led back to the conclusion that there is some oddity about the
device definitions on Mark's problematic unit.

> 
> If you list it in fstab by /dev/sdXX and HAL announces it as /dev/sdXX
> then it will only appear once, but if it is listed in fstab as
> LABEL= and HAL announces it as /dev/sdXX then it would be
> listed as twice.

Not as far as I can tell. From dmesg:

device-mapper: multipath: version 1.0.5 loaded
  Vendor: Toshiba   Model: USB2.0 Drive R00  Rev: 1.43
  Type:   Direct-Access  ANSI SCSI revision: 00
SCSI device sdc: 195371568 512-byte hdwr sectors (100030 MB)

and

SELinux: initialized (dev sdc1, type ext2), uses xattr

>From messages:

Apr 29 16:58:01 centos501 kernel: sd 2:0:0:0: Attached scsi disk sdc
Apr 29 16:58:01 centos501 kernel: sd 2:0:0:0: Attached scsi generic sg2 type 0

Nothing of interest in /var/log/gdm/:0.log.

> 
> I believe /boot, /, LABEL=boot and LABEL=root, are typically ignored
> either in Gnome or HAL or both, so those won't dup.

That would be another good test.

> 
> -Ross
> 

-- 
Bill


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


Re: [CentOS] DVD reader: Hardware problem or OS glitch?

2008-04-29 Thread Alan Bartlett
2008/4/29 William L. Maltby <[EMAIL PROTECTED]>:

> On Tue, 2008-04-29 at 19:24 +0100, Alan Bartlett wrote:
> > 2008/4/29 Lanny Marcus <[EMAIL PROTECTED]>:
> > [EMAIL PROTECTED] ~]# grep ^hdc /var/log/dmesg hdc: DV-516D,
> > ATAPI
> >  CD/DVD-ROM drive hdc: ATAPI 50X DVD-ROM drive, 256kB Cache,
> > UDMA(100)
> > [EMAIL PROTECTED] ~]#
> >
> > Good(-ish). The optical device is there but it's an old combo
> > CD/DVD-ROM drive.
> >
> >
> >
> > >Then looked at the symbolic links? ls -l /dev/ | grep hdc
> >
> >
> > [EMAIL PROTECTED] ~]# ls -l /dev/ | grep hdc
> > lrwxrwxrwx 1 root  root   3 Apr 29 12:30 cdrom-hdc ->
> > hdc
> > lrwxrwxrwx 1 root  root   3 Apr 29 12:30 dvd -> hdc
> > lrwxrwxrwx 1 root  root   3 Apr 29 12:30 dvd-hdc ->
> > hdc
> > brw--- 1 lanny disk22,0 Apr 29 12:30 hdc
> > [EMAIL PROTECTED] ~]#
>
> When I do that, I get nothing. But, this is promising (BTW, my prev
> ide-cd thingy was left over from another CentOS box. It's not effective
> on this one.).
>
> ]# ls -l /dev|grep -i "dvd\|cd"
> lrwxrwxrwx 1 root  root   3 Apr 26 17:52 cdrom -> hda
> lrwxrwxrwx 1 root  root   3 Apr 26 17:52 cdrom-hda -> hda
> lrwxrwxrwx 1 root  root   3 Apr 26 17:52 cdrw -> hda
> lrwxrwxrwx 1 root  root   3 Apr 26 17:52 cdrw-hda -> hda
> lrwxrwxrwx 1 root  root   3 Apr 26 17:52 cdwriter -> hda
> lrwxrwxrwx 1 root  root   3 Apr 26 17:52 cdwriter-hda -> hda
> lrwxrwxrwx 1 root  root   3 Apr 26 17:52 dvd -> hda
> lrwxrwxrwx 1 root  root   3 Apr 26 17:52 dvd-hda -> hda
> lrwxrwxrwx 1 root  root   3 Apr 26 17:52 dvdrw -> hda
> lrwxrwxrwx 1 root  root   3 Apr 26 17:52 dvdrw-hda -> hda
> lrwxrwxrwx 1 root  root   3 Apr 26 17:52 dvdwriter -> hda
> lrwxrwxrwx 1 root  root   3 Apr 26 17:52 dvdwriter-hda ->
> hda
>
> And
>
> # ls -Ll /dev|grep -i "dvd\|cd"
> brw--- 1 wild-bill disk 3,0 Apr 26 17:52 cdrom
> brw--- 1 wild-bill disk 3,0 Apr 26 17:52 cdrom-hda
> brw--- 1 wild-bill disk 3,0 Apr 26 17:52 cdrw
> brw--- 1 wild-bill disk 3,0 Apr 26 17:52 cdrw-hda
> brw--- 1 wild-bill disk 3,0 Apr 26 17:52 cdwriter
> brw--- 1 wild-bill disk 3,0 Apr 26 17:52 cdwriter-hda
> brw--- 1 wild-bill disk 3,0 Apr 26 17:52 dvd
> brw--- 1 wild-bill disk 3,0 Apr 26 17:52 dvd-hda
> brw--- 1 wild-bill disk 3,0 Apr 26 17:52 dvdrw
> brw--- 1 wild-bill disk 3,0 Apr 26 17:52 dvdrw-hda
> brw--- 1 wild-bill disk 3,0 Apr 26 17:52 dvdwriter
> brw--- 1 wild-bill disk 3,0 Apr 26 17:52 dvdwriter-hda
>
> I popped a CentOS DVD in, got one image on the desktop and one mount
> listed from the mount command and one nautilus box popped up..
>
> I removed that and inserted a Mark Knopfler DVD and totem automatically
> popped up to do it's usual bitch about plugins.
>
> Mount showed one on /media/SHANGRILA and desktop had one ICON for it.


So what does grep ^hda /var/log/dmesg tell you about your optical drive
Bill?

Being a Unix user of 25 years, I'm always a little suspicious of these
new-fangled things like desktops. ;-)
However, if you're using Gnome then please have a look at System -->
Preferences --> Removable Drives and Media
I know that there is a difference in the automount of a data CD/DVD when the
user is root (basically it doesn't, you would have to right-click on the
icon and select mount manually) and when the user is a normal user
(automount err automounts).

Lanny or Bill - Sorry I'm loosing track. One of you has three boxes; in
boxes #1 & #2 the drives behaves as you want, in box #3 the drive
misbehaves. Have you tried the test of swapping the drives in - say - boxes
#2 & #3 and seeing if the problem moves with the optical drive or stays with
box, #3?

The hd{a|b|c|d}=ide-cd kludge certainly isn't required with the CentOS 5
2.6.18-series kernels. I last came across it with a 2.4.8-* IIRC.

Just a few more of my thoughts, for now.

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


RE: [CentOS] Slightly OT: Extra icons on desktop

2008-04-29 Thread Ross S. W. Walker
William L. Maltby wrote:
> On Tue, 2008-04-29 at 16:46 -0400, Ross S. W. Walker wrote: 
> > William L. Maltby wrote:
> > 
> 
> > I wonder if anyone can duplicate the problem by creating a partition
> > and having it mounted in fstab by volume label and see if it appears
> > twice.
> 
> Not quite the same, but I've a USB drive that I plugged in after
> removing "noauto" from the fstab entry.
> 
> $ grep 4 /etc/fstab
> LABEL=BkUp_4_5  /media/sdc1  ext2defaults,noatime 0 0

Hmmm, and if the mount point were outside of /media?

> Got a nice little message telling me (in Gnome desktop) that I wasn't
> priveleged to mount it. That's as I would expect since I was already
> logged in at my desktop. Mount showed it mounted.
> 
> $ mount
> /dev/sdc1 on /media/sdc1 type ext2 (rw,noatime)

Is that fixed or removable media?

> Now I'll reboot and see what happens.
> 
> Rebooted. Prior to entering "telinit 5", did a "mount" and it was
> mounted. After logging onto graphical desktop, one icon on 
> the desktop.
> As expected.
> 
> I'm led back to the conclusion that there is some oddity about the
> device definitions on Mark's problematic unit.

There could be, could you give it a try with another mount point
outside of /media and with a fixed disk if it isn't already?

-Ross

__
This e-mail, and any attachments thereto, is intended only for use by
the addressee(s) named herein and may contain legally privileged
and/or confidential information. If you are not the intended recipient
of this e-mail, you are hereby notified that any dissemination,
distribution or copying of this e-mail, and any attachments thereto,
is strictly prohibited. If you have received this e-mail in error,
please immediately notify the sender and permanently delete the
original and any copy or printout thereof.

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


Re: [CentOS] DVD reader: Hardware problem or OS glitch?

2008-04-29 Thread William L. Maltby
On Tue, 2008-04-29 at 22:18 +0100, Alan Bartlett wrote:
> 2008/4/29 William L. Maltby <[EMAIL PROTECTED]>:
> On Tue, 2008-04-29 at 19:24 +0100, Alan Bartlett wrote:
> > 2008/4/29 Lanny Marcus <[EMAIL PROTECTED]>:
> > [EMAIL PROTECTED] ~]# grep ^hdc /var/log/dmesg hdc:
> DV-516D,
> > ATAPI
> >  CD/DVD-ROM drive hdc: ATAPI 50X DVD-ROM drive,
> 256kB Cache,
> > UDMA(100)
> > [EMAIL PROTECTED] ~]#
> >
> > Good(-ish). The optical device is there but it's an old
> combo
> > CD/DVD-ROM drive.
> >
> >
> >
> > >Then looked at the symbolic links? ls -l /dev/ |
> grep hdc
> >
> >
> > [EMAIL PROTECTED] ~]# ls -l /dev/ | grep hdc
> > lrwxrwxrwx 1 root  root   3 Apr 29 12:30
> cdrom-hdc ->
> > hdc
> > lrwxrwxrwx 1 root  root   3 Apr 29 12:30 dvd
> -> hdc
> > lrwxrwxrwx 1 root  root   3 Apr 29 12:30
> dvd-hdc ->
> > hdc
> > brw--- 1 lanny disk22,0 Apr 29 12:30 hdc
> > [EMAIL PROTECTED] ~]#
> 
> 
> When I do that, I get nothing. But, this is promising (BTW, my
> prev
> ide-cd thingy was left over from another CentOS box. It's not
> effective
> on this one.).
> 
> ]# ls -l /dev|grep -i "dvd\|cd"
> lrwxrwxrwx 1 root  root   3 Apr 26 17:52 cdrom ->
> hda
> lrwxrwxrwx 1 root  root   3 Apr 26 17:52 cdrom-hda
> -> hda
> lrwxrwxrwx 1 root  root   3 Apr 26 17:52 cdrw ->
> hda
> lrwxrwxrwx 1 root  root   3 Apr 26 17:52 cdrw-hda
> -> hda
> lrwxrwxrwx 1 root  root   3 Apr 26 17:52 cdwriter
> -> hda
> lrwxrwxrwx 1 root  root   3 Apr 26 17:52
> cdwriter-hda -> hda
> lrwxrwxrwx 1 root  root   3 Apr 26 17:52 dvd ->
> hda
> lrwxrwxrwx 1 root  root   3 Apr 26 17:52 dvd-hda
> -> hda
> lrwxrwxrwx 1 root  root   3 Apr 26 17:52 dvdrw ->
> hda
> lrwxrwxrwx 1 root  root   3 Apr 26 17:52 dvdrw-hda
> -> hda
> lrwxrwxrwx 1 root  root   3 Apr 26 17:52 dvdwriter
> -> hda
> lrwxrwxrwx 1 root  root   3 Apr 26 17:52
> dvdwriter-hda ->
> hda
> 
> And
> 
> # ls -Ll /dev|grep -i "dvd\|cd"
> brw--- 1 wild-bill disk 3,0 Apr 26 17:52 cdrom
> brw--- 1 wild-bill disk 3,0 Apr 26 17:52 cdrom-hda
> brw--- 1 wild-bill disk 3,0 Apr 26 17:52 cdrw
> brw--- 1 wild-bill disk 3,0 Apr 26 17:52 cdrw-hda
> brw--- 1 wild-bill disk 3,0 Apr 26 17:52 cdwriter
> brw--- 1 wild-bill disk 3,0 Apr 26 17:52
> cdwriter-hda
> brw--- 1 wild-bill disk 3,0 Apr 26 17:52 dvd
> brw--- 1 wild-bill disk 3,0 Apr 26 17:52 dvd-hda
> brw--- 1 wild-bill disk 3,0 Apr 26 17:52 dvdrw
> brw--- 1 wild-bill disk 3,0 Apr 26 17:52 dvdrw-hda
> brw--- 1 wild-bill disk 3,0 Apr 26 17:52 dvdwriter
> brw--- 1 wild-bill disk 3,0 Apr 26 17:52
> dvdwriter-hda
> 
> I popped a CentOS DVD in, got one image on the desktop and one
> mount
> listed from the mount command and one nautilus box popped up..
> 
> I removed that and inserted a Mark Knopfler DVD and totem
> automatically
> popped up to do it's usual bitch about plugins.
> 
> Mount showed one on /media/SHANGRILA and desktop had one ICON
> for it.
> 
> So what does grep ^hda /var/log/dmesg tell you about your optical
> drive Bill? 

]# grep hda /var/log/dmesg
ide0: BM-DMA at 0xe600-0xe607, BIOS settings: hda:DMA, hdb:pio
hda: LITE-ON DVDRW SHM-165P6S, ATAPI CD/DVD-ROM drive
hda: ATAPI 48X DVD-ROM DVD-R-RAM CD-R/RW drive, 2048kB Cache, UDMA(66)

> 
>  
> Being a Unix user of 25 years, I'm always a little suspicious of these
> new-fangled things like desktops. ;-)

Ditto. I started in '78. Only in the last few years have I decided that
I could see *some* justification for a GUI. Combined with a CLI, used
appropriately, one can be more efficient.

> However, if you're using Gnome then please have a look at System -->
> Preferences --> Removable Drives and Media

I just did that for another thread, as it happens.

The first three are checked (mount when hot-plugged, mount when
inserted, browse when inserted).


> I know that there is a difference in the automount of a data CD/DVD
> when the user i

RE: [CentOS] Slightly OT: Extra icons on desktop

2008-04-29 Thread William L. Maltby
On Tue, 2008-04-29 at 17:32 -0400, Ross S. W. Walker wrote:
> William L. Maltby wrote:
> > On Tue, 2008-04-29 at 16:46 -0400, Ross S. W. Walker wrote: 
> > > William L. Maltby wrote:
> > > 
> > 
> > > I wonder if anyone can duplicate the problem by creating a partition
> > > and having it mounted in fstab by volume label and see if it appears
> > > twice.
> > 
> > Not quite the same, but I've a USB drive that I plugged in after
> > removing "noauto" from the fstab entry.
> > 
> > $ grep 4 /etc/fstab
> > LABEL=BkUp_4_5  /media/sdc1  ext2defaults,noatime 0 0
> 
> Hmmm, and if the mount point were outside of /media?

My suspicion is it won't matter. But Give me a couple and I'll try this
and the other suggestions below.

> > Got a nice little message telling me (in Gnome desktop) that I wasn't
> > priveleged to mount it. That's as I would expect since I was already
> > logged in at my desktop. Mount showed it mounted.
> > 
> > $ mount
> > /dev/sdc1 on /media/sdc1 type ext2 (rw,noatime)
> 
> Is that fixed or removable media?

It is an external. Got 2 at a deal from Tosh because I own one of their
nice 17" Satellites.

> 
> > Now I'll reboot and see what happens.
> > 
> > Rebooted. Prior to entering "telinit 5", did a "mount" and it was
> > mounted. After logging onto graphical desktop, one icon on 
> > the desktop.
> > As expected.
> > 
> > I'm led back to the conclusion that there is some oddity about the
> > device definitions on Mark's problematic unit.
> 
> There could be, could you give it a try with another mount point
> outside of /media and with a fixed disk if it isn't already?

Will do. Give me a couple and I'll post again.

> 
> -Ross
> 

-- 
Bill

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


RE: [CentOS] DVD reader: Hardware problem or OS glitch?

2008-04-29 Thread John
Well I seen a few post back today but can't tell from heads ot tails what's
what of it.

I seen where there was "Dell" in the command prompt machine name??

By any chance is any type of Dell Virtual Media Drive Software installed on
the machine if it's a dell machine? It's a longshot guess if it is a dell it
may be causing you problems.

Also please post you fstab and mtab files. It may be helpful in pointing out
the problem. Also have you run yum update on the machine? 

John
___
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] Slightly OT: Extra icons on desktop

2008-04-29 Thread William L. Maltby
On Tue, 2008-04-29 at 17:32 -0400, Ross S. W. Walker wrote:
> William L. Maltby wrote:
> > On Tue, 2008-04-29 at 16:46 -0400, Ross S. W. Walker wrote: 
> > > William L. Maltby wrote:
> > > 
> > 
> > > I wonder if anyone can duplicate the problem by creating a partition
> > > and having it mounted in fstab by volume label and see if it appears
> > > twice.
> > 
> > Not quite the same, but I've a USB drive that I plugged in after
> > removing "noauto" from the fstab entry.
> > 
> > $ grep 4 /etc/fstab
> > LABEL=BkUp_4_5  /media/sdc1  ext2defaults,noatime 0 0
> 
> Hmmm, and if the mount point were outside of /media?

Drat! Changed that one to "noauto". I'll have to "ribit" and try that
one again.

> 
> > Got a nice little message telling me (in Gnome desktop) that I wasn't
> > priveleged to mount it. That's as I would expect since I was already
> > logged in at my desktop. Mount showed it mounted.
> > 
> > $ mount
> > /dev/sdc1 on /media/sdc1 type ext2 (rw,noatime)
> 
> Is that fixed or removable media?
> 
> > Now I'll reboot and see what happens.
> > 
> > Rebooted. Prior to entering "telinit 5", did a "mount" and it was
> > mounted. After logging onto graphical desktop, one icon on 
> > the desktop.
> > As expected.
> > 
> > I'm led back to the conclusion that there is some oddity about the
> > device definitions on Mark's problematic unit.
> 
> There could be, could you give it a try with another mount point
> outside of /media and with a fixed disk if it isn't already?

]$ grep OLDh /etc/fstab
# /dev/sda7/mnt/OLDhardtolove   ext2noauto  0 0
LABEL=OLDhardtolove /mnt/OLDhardtolove   ext2   defaults,ro 0 0

$ mount
/dev/mapper/VolGroup00-LogVol00 on / type ext3 (rw)
proc on /proc type proc (rw)
sysfs on /sys type sysfs (rw)
devpts on /dev/pts type devpts (rw,gid=5,mode=620)
/dev/sdb1 on /boot type ext3 (rw)
tmpfs on /dev/shm type tmpfs (rw)
/dev/sda7 on /mnt/OLDhardtolove type ext2 (ro)

No icon on the desktop.

BTW. On the previous test, I could not umount the device from the
desktop. That would be because it was mounted prior to GUI instantiation
and so the GUI user was not the "owner" I guess.

> 
> -Ross
> 

-- 
Bill

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


RE: [CentOS] Slightly OT: Extra icons on desktop

2008-04-29 Thread William L. Maltby
On Tue, 2008-04-29 at 17:32 -0400, Ross S. W. Walker wrote:
> William L. Maltby wrote:
> > On Tue, 2008-04-29 at 16:46 -0400, Ross S. W. Walker wrote: 
> > > William L. Maltby wrote:
> > > 
> > 
> > > I wonder if anyone can duplicate the problem by creating a partition
> > > and having it mounted in fstab by volume label and see if it appears
> > > twice.
> > 
> > Not quite the same, but I've a USB drive that I plugged in after
> > removing "noauto" from the fstab entry.
> > 
> > $ grep 4 /etc/fstab
> > LABEL=BkUp_4_5  /media/sdc1  ext2defaults,noatime 0 0
> 
> Hmmm, and if the mount point were outside of /media?

$ grep -i bk /etc/fstab
LABEL=BkUp_4_5  /mnt/sdc1  ext2defaults,noatime 0 0

$ mount
/dev/mapper/VolGroup00-LogVol00 on / type ext3 (rw)
proc on /proc type proc (rw)
sysfs on /sys type sysfs (rw)
devpts on /dev/pts type devpts (rw,gid=5,mode=620)
/dev/sdb1 on /boot type ext3 (rw)
tmpfs on /dev/shm type tmpfs (rw)
/dev/sda7 on /mnt/OLDhardtolove type ext2 (ro)
/dev/sdc1 on /mnt/sdc1 type ext2 (rw,noatime)

Only 1 icon on desktop. Again, I can't umount it, as expected.

As root, I can umount it, as expected. Icon then disappears.

> 

> -Ross
> 

-- 
Bill

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


Re: [CentOS] DVD reader: Hardware problem or OS glitch?

2008-04-29 Thread Lanny Marcus
On 29 April 2008, Alan Bartlett ajb.stxsl at googlemail.com wrote

> 
> __
> 2008/4/29 Lanny Marcus :
> 
> > [root at dell1602 ~]# grep ^hdc /var/log/dmesg
> > hdc: DV-516D, ATAPI CD/DVD-ROM drive
> > hdc: ATAPI 50X DVD-ROM drive, 256kB Cache, UDMA(100)
> > [root at dell1602 ~]#
> 
> 
> Good(-ish). The optical device is there but it's an old combo CD/DVD-ROM
> drive.
> 
> 
> > >Then looked at the symbolic links? ls -l /dev/ | grep hdc
> >
> > [root at dell1602 ~]# ls -l /dev/ | grep hdc
> > lrwxrwxrwx 1 root  root   3 Apr 29 12:30 cdrom-hdc -> hdc
> > lrwxrwxrwx 1 root  root   3 Apr 29 12:30 dvd -> hdc
> > lrwxrwxrwx 1 root  root   3 Apr 29 12:30 dvd-hdc -> hdc
> > brw--- 1 lanny disk22,0 Apr 29 12:30 hdc
> > [root at dell1602 ~]#
> 
> 
> Good. That's o.k. also.
> 
> 
> >
> > I just updated the hal rpm on the box with the problem and I did a
> > restart of the box after that.
> >
> > hald (pid 2069) is running...
> 
> 
> Good, again.
> 
> 
> > >I don't know if this will be any use -
> > >http://wiki.centos.org/TipsAndTricks/HAL
> >
> > Alan: I will check that out! Thanks much! Lanny
> >
> >
> Did I see that you are still running a very out of date kernel? Of the
> 2.6.18-8.m.n series? Any particular reason?

We didn't have ADSL before and I  have been selectively updating  rpms. That 
box is now running 
kernel 2.6.18-53.1.14.el5   :-)

The problem still exists, after the kernel update, and as someone else 
suggested, I will probably post on the GNOME list
for any ideas someone there might have. Neither of the GNOME modules mentioned 
in the TipsAndTricks/HAL 
article that you mentioned above are available for update: (a) 
gnome-volume-manager and (b) gnome-mount

When I updated the kernel, I also updated hwdata and kudzu.

If we knew what is causing this to happen, there could be a fix, but it remains 
a mystery.

Thanks much! Lanny

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


Re: [CentOS] DVD reader: Hardware problem or OS glitch?

2008-04-29 Thread Lanny Marcus
On 29 April 2008, Alan Bartlett ajb.stxsl at googlemail.com  wrote:

2008/4/29 William L. Maltby :

> On Tue, 2008-04-29 at 19:24 +0100, Alan Bartlett wrote:
> > 2008/4/29 Lanny Marcus :
> > [root at dell1602 ~]# grep ^hdc /var/log/dmesg hdc: DV-516D,
> > ATAPI
> >  CD/DVD-ROM drive hdc: ATAPI 50X DVD-ROM drive, 256kB Cache,
> > UDMA(100)
> > [root at dell1602 ~]#
> >
> > Good(-ish). The optical device is there but it's an old combo
> > CD/DVD-ROM drive.
> >
> >
> >
> > >Then looked at the symbolic links? ls -l /dev/ | grep hdc
> >
> >
> > [root at dell1602 ~]# ls -l /dev/ | grep hdc
> > lrwxrwxrwx 1 root  root   3 Apr 29 12:30 cdrom-hdc ->
> > hdc
> > lrwxrwxrwx 1 root  root   3 Apr 29 12:30 dvd -> hdc
> > lrwxrwxrwx 1 root  root   3 Apr 29 12:30 dvd-hdc ->
> > hdc
> > brw--- 1 lanny disk22,0 Apr 29 12:30 hdc
> > [root at dell1602 ~]#
>
> When I do that, I get nothing. But, this is promising (BTW, my prev
> ide-cd thingy was left over from another CentOS box. It's not effective
> on this one.).
>
> ]# ls -l /dev|grep -i "dvd\|cd"
> lrwxrwxrwx 1 root  root   3 Apr 26 17:52 cdrom -> hda
> lrwxrwxrwx 1 root  root   3 Apr 26 17:52 cdrom-hda -> hda
> lrwxrwxrwx 1 root  root   3 Apr 26 17:52 cdrw -> hda
> lrwxrwxrwx 1 root  root   3 Apr 26 17:52 cdrw-hda -> hda
> lrwxrwxrwx 1 root  root   3 Apr 26 17:52 cdwriter -> hda
> lrwxrwxrwx 1 root  root   3 Apr 26 17:52 cdwriter-hda -> hda
> lrwxrwxrwx 1 root  root   3 Apr 26 17:52 dvd -> hda
> lrwxrwxrwx 1 root  root   3 Apr 26 17:52 dvd-hda -> hda
> lrwxrwxrwx 1 root  root   3 Apr 26 17:52 dvdrw -> hda
> lrwxrwxrwx 1 root  root   3 Apr 26 17:52 dvdrw-hda -> hda
> lrwxrwxrwx 1 root  root   3 Apr 26 17:52 dvdwriter -> hda
> lrwxrwxrwx 1 root  root   3 Apr 26 17:52 dvdwriter-hda ->
> hda
>
> And
>
> # ls -Ll /dev|grep -i "dvd\|cd"
> brw--- 1 wild-bill disk 3,0 Apr 26 17:52 cdrom
> brw--- 1 wild-bill disk 3,0 Apr 26 17:52 cdrom-hda
> brw--- 1 wild-bill disk 3,0 Apr 26 17:52 cdrw
> brw--- 1 wild-bill disk 3,0 Apr 26 17:52 cdrw-hda
> brw--- 1 wild-bill disk 3,0 Apr 26 17:52 cdwriter
> brw--- 1 wild-bill disk 3,0 Apr 26 17:52 cdwriter-hda
> brw--- 1 wild-bill disk 3,0 Apr 26 17:52 dvd
> brw--- 1 wild-bill disk 3,0 Apr 26 17:52 dvd-hda
> brw--- 1 wild-bill disk 3,0 Apr 26 17:52 dvdrw
> brw--- 1 wild-bill disk 3,0 Apr 26 17:52 dvdrw-hda
> brw--- 1 wild-bill disk 3,0 Apr 26 17:52 dvdwriter
> brw--- 1 wild-bill disk 3,0 Apr 26 17:52 dvdwriter-hda
>
> I popped a CentOS DVD in, got one image on the desktop and one mount
> listed from the mount command and one nautilus box popped up..
>
> I removed that and inserted a Mark Knopfler DVD and totem automatically
> popped up to do it's usual bitch about plugins.
>
> Mount showed one on /media/SHANGRILA and desktop had one ICON for it.


>So what does grep ^hda /var/log/dmesg tell you about your optical drive
>Bill?

>Being a Unix user of 25 years, I'm always a little suspicious of these
>new-fangled things like desktops. ;-)
>However, if you're using Gnome then please have a look at System -->
>Preferences --> Removable Drives and Media


I will do that, ASAP. We have a neighbor using that box, at this time.


>I know that there is a difference in the automount of a data CD/DVD when the
>user is root (basically it doesn't, you would have to right-click on the
>icon and select mount manually) and when the user is a normal user
>(automount err automounts).

>Lanny or Bill - Sorry I'm loosing track. One of you has three boxes;

Lanny is the one with three boxes used as Desktops. We also have a headless 
router
and a backup router.  :-)

> in
>boxes #1 & #2 the drives behaves as you want, in box #3 the drive
>misbehaves. Have you tried the test of swapping the drives in - say - boxes
>#2 & #3 and seeing if the problem moves with the optical drive or stays with
>box, #3?

That would  be a PITA, however, I will *probably* do it, someday when I'm in 
the house 
alone and can concentrate on the task. Good idea!

>The hd{a|b|c|d}=ide-cd kludge certainly isn't required with the CentOS 5
>2.6.18-series kernels. I last came across it with a 2.4.8-* IIRC.

 Bill posted (above) that he had that left over from a prior installation.

>Just a few more of my thoughts, for now.

Greatly appreciated! 

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


Re: [CentOS] DVD reader: Hardware problem or OS glitch?

2008-04-29 Thread Lanny Marcus
On 29 April 2008, MHR mhullrich at gmail.com  wrote:
> 
> __
> On Tue, Apr 29, 2008 at 11:16 AM, Lanny Marcus  wrote:
> > On 29 April 2008, MHR mhullrich at gmail.com wrote:
> >
> >  >Can you access the contents of the DVD from a command line at all?  If
> >  >so, have you tried doing the rpm install from the command line?
> >
> >  Yes. I installed the kdeedu RPM  awhile ago. Using the command line, I
> >  can mount and access the DVD, without any problem.
> >
> 
> Then it seems that your immediate problem, installing another rpm from
> that DVD, is solved - use the command line.

Mark:  Yes. That rpm has been installed.  :-)   However, I would like to 
eliminate this
problem. The main user of that box is 7 1/2 years old and I can't give her
root access or expect her to know how to use the CLI. She has been using Linux
boxes for several years, but with a GUI.

> I am a firm believer in command line usage, so I'm really not at all
> clear on what the importance of being able to access the DVD via
> Nautilus is.  Yes, it's an annoyance if you can't get at files that
> way, but this is Linux - there are many ways to skin the cat, and you
> have one that is arguably the best one available.
> 
> That said, if you can access the disk from the command line, then this
> is almost certainly not an OS problem but more likely a GNOME problem.
>  Have you tried asking on the GNOME list?

No, and I believe that is a GOOD idea and I will post on the GNOME list and
hope someone there has run into this and has a cure for this. Someone else here
on the CentOS list replied to this thread, that he also has this problem, on an 
HP box.

Also, I'm going to try Alan's idea and swap the DVD readers between the 
problematic box
and my box and see if the problem moves with the DVD reader that is now in my 
daughters
box, or, whether it is with that box itself.

Thanks for the idea of posting on the GNOME list. I will do that!  Lanny

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


Re: [CentOS] load level?

2008-04-29 Thread James Gray

Jason Pyeron wrote:

-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On
Behalf Of Milton Calnek
Sent: Friday, April 25, 2008 3:56 PM
To: CentOS mailing list
Subject: Re: [CentOS] load level?



Jason Pyeron wrote:

-Original Message-

Starting sendmail back up puts me in the high 1's to low 2's



Nope it is behind a firewall, no port 25 access.

mailq is 55k (logwatch)


(55 kilobytes? or 55,000 messages??  Just curious; the former is nothing 
of particular interest...the latter is a concern.)


Sounds like sendmail is hanging up on DNS lookups or other network I/O. 
 This wont slow your system down necessarily, it will just inflate your 
load averages.  The system load is just a measure of how many processes 
are in the run queue averaged over the preceding 1/5/15 minutes.


So if sendmail (and other processes) are waiting for slow DNS responses, 
the process will sit in the run queue until it either times out, or gets 
a response.  Additionally, if sendmail is trying to connect to 
unresponsive SMTP hosts, it will sit with a process in the run queue 
until the remote SMTP server either responds or times out.  The fact the 
load dropped and then spiked again with the shutdown/restart of sendmail 
seems to lend credibility to my hypothesis.


Check your DNS settings and also check to see if you are logging FQDN's 
in Apache as this will add significantly to your load average if your 
DNS is a little flaky.  If you're worried about security, you only need 
to allow UDP/53 for DNS lookups in 99.99% of cases - it would be very 
unlikely that a DNS RR exceeds the maximum size of a UDP packet.  To be 
completely covered also open TCP/53 *to* your DNS server(s) and allow 
connections that are related/established.


Lastly, make sure you reject (as opposed to "drop") any egress traffic 
you don't want going out.  This way the local processes wont sit around 
waiting as they will get an ICMP connection refused/RST/FIN or whatever 
and terminate the connection immediately, clean up and get out of the 
run queue.  If you silently drop egress packets at your edge, the local 
process will have no idea what happened to it's SYN packet etc, and will 
just sit around in the run queue (inflating your load averages) waiting 
for a reply that will never come, until it times out.


HTH,

James


smime.p7s
Description: S/MIME Cryptographic Signature
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


[CentOS] case insensitive file system

2008-04-29 Thread Ruslan Sivak
We have an application that was build on a windows platform that expects 
a case insensitive file system. 
Is there a way to set one up in CentOS? 
NTFS should work, I think, but I feel uneasy using that under Linux.


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


Re: [CentOS] DVD reader: Hardware problem or OS glitch?

2008-04-29 Thread Lanny Marcus
On 29 April 2008, Alan Bartlett ajb.stxsl at googlemail.com  wrote:
> 
> 2008/4/29 William L. Maltby :
> 
> > On Tue, 2008-04-29 at 19:24 +0100, Alan Bartlett wrote:


> > in >boxes #1 & #2 the drives behaves as you want, in box #3 the
> drive >misbehaves. Have you tried the test of swapping the drives in -
> say - boxes >#2 & #3 and seeing if the problem moves with the optical
> drive or stays with >box, #3?

OK. I am going to try to swap the DVD readers, between my box and my
daughters box, tomorrow morning, and see if the problem goes with the
DVD reader that is now in my daughters box, when I install it in my box,
or, if it persists in her box, with the DVD reader I now have in my box.

Also, our Desktop boxes all have GNOME and KDE installed on them.
The problem is *not* limited to GNOME. KDE also sees the DVD media as
blank, when the FC6 Install DVD is in the drive.



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


Re: [CentOS] case insensitive file system

2008-04-29 Thread Kevin Krieser

FAT32 may work too if you don't need large files.

I just tried NTFS-3G on a thumbdrive, and I was able to create a file  
that differed only by case from another.  Then something got corrupted.


On Apr 29, 2008, at 6:50 PM, Ruslan Sivak wrote:

We have an application that was build on a windows platform that  
expects a case insensitive file system. Is there a way to set one up  
in CentOS? NTFS should work, I think, but I feel uneasy using that  
under Linux.


Russ
___
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] case insensitive file system

2008-04-29 Thread John R Pierce

Ruslan Sivak wrote:
We have an application that was build on a windows platform that 
expects a case insensitive file system. Is there a way to set one up 
in CentOS? NTFS should work, I think, but I feel uneasy using that 
under Linux.



NTFS is not whats case insensitive, its WINDOWS thats case insensitive.

you'll need to fix that application to either use all monocase names or 
to be self-consistent enough to run properly on a case sensitive system.



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