LinuxQuestions.org
Review your favorite Linux distribution.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware
User Name
Password
Linux - Hardware This forum is for Hardware issues.
Having trouble installing a piece of hardware? Want to know if that peripheral is compatible with Linux?

Notices


Reply
  Search this Thread
Old 01-16-2009, 10:13 PM   #1
Bedouin
LQ Newbie
 
Registered: Jan 2009
Posts: 4

Rep: Reputation: 0
Mount CD/DVD caused reboot/hanged server.


Problem:
=======
Whenever I mount CD manually or automatically, the system either hanged or reboot by itself...depending on which server I am doing it on
I did a "grep -i" for error/fail/warning and there are no error in the /var/log/messages file for either one of them
...
The only different between the two servers is the memory: one has 8G and one has 4G.

Latest version of CentOS5. Updated with latest patch since yesterday.

============= Hardwares Info ===============

Dell T105 x86_64 Quad Core 1CPU - 8Gb RAM (server hanged) db01
Dell T105 x86_84 Duo Core 1CPU - 4Gb RAM (server rebooted) ap01

[root@ap01 ~]# uname -a
Linux ap01 2.6.18-92.1.22.el5 #1 SMP Tue Dec 16 11:57:43 EST 2008 x86_64 x86_64 x86_64 GNU/Linux


[root@ap01 mnt]# mkdir /mnt/cdrom
[root@ap01 mnt]# ls -la
total 20
drwxr-xr-x 3 root root 4096 Jan 14 08:44 .
drwxr-xr-x 27 root root 4096 Jan 14 08:26 ..
drwxr-xr-x 2 root root 4096 Jan 14 08:44 cdrom

[root@ap01 mnt]# mount -r /dev/cdrom /mnt/cdrom
mount: No medium found
[root@ap01 mnt]# eject
...
... put in the CentOS5 DVD
...
[root@ap01 mnt]# mount -r /dev/cdrom /mnt/cdrom
...
rebooted right away. I used the same CentOS 5 DVD I used for the install.
My Windows and Unbutu server can read this same DVD.

Both of the servers can also read it because they went into install mode as soon as it booted up.

[root@ap01 log]# eject -n
eject: device is `/dev/scd0'

[root@ap01 log]# dmesg|grep CD
Type: CD-ROM ANSI SCSI revision: 05
Uniform CD-ROM driver Revision: 3.20
sr 2:0:0:0: Attached scsi CD-ROM sr0


[root@ap01 ~]# cat /etc/fstab
/dev/VolGroup00/LogVol01 / ext3 defaults 1 1
LABEL=/boot /boot ext3 defaults 1 2
tmpfs /dev/shm tmpfs defaults 0 0
devpts /dev/pts devpts gid=5,mode=620 0 0
sysfs /sys sysfs defaults 0 0
proc /proc proc defaults 0 0
/dev/VolGroup00/LogVol00 swap swap defaults 0 0

[root@ap01 ~]# df -h
Filesystem Size Used Avail Use% Mounted on
/dev/mapper/VolGroup00-LogVol01
444G 13G 408G 4% /
/dev/sda1 99M 19M 76M 20% /boot
tmpfs 2.0G 0 2.0G 0% /dev/shm

[root@ap01 ~]# ls -la /dev |more
total 8
drwxr-xr-x 13 root root 3560 Jan 14 08:17 .
drwxr-xr-x 27 root root 4096 Jan 14 08:13 ..
drwxr-xr-x 3 root root 60 Jan 14 08:13 bus
lrwxrwxrwx 1 root root 4 Jan 14 08:13 cdrom -> scd0
lrwxrwxrwx 1 root root 4 Jan 14 08:13 cdrom-sr0 -> scd0
crw------- 1 root root 5, 1 Jan 14 08:13 console
lrwxrwxrwx 1 root root 11 Jan 14 08:13 core -> /proc/kcore
drwxr-xr-x 4 root root 80 Jan 14 08:13 cpu
drwxr-xr-x 6 root root 120 Jan 14 08:13 disk
lrwxrwxrwx 1 root root 13 Jan 14 08:13 fd -> /proc/self/fd
crw-rw-rw- 1 root root 1, 7 Jan 14 08:13 full
srwxrwxrwx 1 root root 0 Jan 14 08:17 gpmctl
...
brw------- 1 root root 253, 0 Jan 14 08:13 root
crw-r--r-- 1 root root 10, 135 Jan 14 08:13 rtc
brw-rw---- 1 root disk 11, 0 Jan 14 08:13 scd0
brw-r----- 1 root disk 8, 0 Jan 14 08:13 sda
brw-r----- 1 root disk 8, 1 Jan 14 08:13 sda1
brw-r----- 1 root disk 8, 2 Jan 14 08:13 sda2
brw-r----- 1 root disk 8, 16 Jan 14 08:13 sdb
brw-r----- 1 root disk 8, 17 Jan 14 08:13 sdb1
crw------- 1 root root 21, 0 Jan 14 08:13 sg0
crw------- 1 root root 21, 1 Jan 14 08:13 sg1
crw------- 1 root root 21, 2 Jan 14 08:13 sg2
drwxrwxrwt 2 root root 40 Jan 14 08:13 shm
crw------- 1 root root 10, 231 Jan 14 08:13 snapshot
lrwxrwxrwx 1 root root 15 Jan 14 08:13 stderr -> /proc/self/fd/2
lrwxrwxrwx 1 root root 15 Jan 14 08:13 stdin -> /proc/self/fd/0
lrwxrwxrwx 1 root root 15 Jan 14 08:13 stdout -> /proc/self/fd/1
crw------- 1 root root 4, 0 Jan 14 08:13 systty

Any help would be appreciated.
 
Old 01-16-2009, 10:17 PM   #2
Bedouin
LQ Newbie
 
Registered: Jan 2009
Posts: 4

Original Poster
Rep: Reputation: 0
I moved the old messages files before I did the mount, and these are the first lines in the files after the reboot/hanged:

Jan 16 14:34:23 ap01 syslogd 1.4.1: restart.
Jan 16 14:34:23 ap01 kernel: klogd 1.4.1, log source = /proc/kmsg started.
Jan 16 14:34:23 ap01 kernel: Linux version 2.6.18-92.1.22.el5 (mockbuild@builder10.centos.org) (gcc version 4.1.2 20071124 (Red Hat 4.1.2-42)) #1 SMP Tue Dec 16 11:57:43 EST 2008
 
Old 01-18-2009, 10:11 AM   #3
Reasa
Member
 
Registered: Aug 2008
Distribution: Slackware
Posts: 53

Rep: Reputation: 16
My first guess is weak PSU.
 
Old 01-18-2009, 06:36 PM   #4
Bedouin
LQ Newbie
 
Registered: Jan 2009
Posts: 4

Original Poster
Rep: Reputation: 0
Sorry, I am new to this, and I am not sure of all the acronyms. PSU as in Power Supply Unit?

I am not familiar with PSU problems/symptoms, but I was able to install the whole OS by using the CD/DVD.
If it was a PSU problem would it have shown up earlier?

Also, I forgot to mention this before, but when I had a old RHEL5 installed on them, I was able to mount/umount CD/DVD without any problem. I had to remove them because the I don't have support to download the latest version of RH.

So this kind of suggest something with the latest version of CentOS5 and the hardware?
 
Old 01-20-2009, 02:44 PM   #5
Tinkster
Moderator
 
Registered: Apr 2002
Location: earth
Distribution: slackware by choice, others too :} ... android.
Posts: 23,067
Blog Entries: 11

Rep: Reputation: 928Reputation: 928Reputation: 928Reputation: 928Reputation: 928Reputation: 928Reputation: 928Reputation: 928
Moved: This thread has been moved at the OPs request
 
Old 01-24-2009, 05:10 PM   #6
Bedouin
LQ Newbie
 
Registered: Jan 2009
Posts: 4

Original Poster
Rep: Reputation: 0
Solution

Looks like CentOS bug.

http://lkml.org/lkml/2008/1/10/163
https://bugzilla.redhat.com/show_bug.cgi?id=351451

The work around that worked for me is setting mem=4096M for the boot option in the /boot/grub/grub.conf as in

kernel /vmlinuz-2.6.18-92.1.22.el5 ro root=/dev/VolGroup00/LogVol01 mem=4096M rhgb quiet
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
mount after server reboot ust Linux - Software 2 04-11-2008 01:48 AM
Server not hanged but unable to SSH omega7577 Linux - Newbie 3 09-14-2007 01:21 AM
my print server hanged. karmakid Red Hat 0 05-09-2006 04:33 AM
Spurious Reboot - How Can I Find Out What Caused It john.morris Linux - General 2 12-12-2005 12:01 PM
mount point caused boot up failed hylewis Linux - Newbie 5 01-12-2002 11:13 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware

All times are GMT -5. The time now is 04:39 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration