LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Hardware (http://www.linuxquestions.org/questions/linux-hardware-18/)
-   -   Server Freezing after disconnected cdrom (http://www.linuxquestions.org/questions/linux-hardware-18/server-freezing-after-disconnected-cdrom-912588/)

tamax 11-09-2011 12:54 AM

Server Freezing after disconnected cdrom
 
Hi,

i found problem on my HP blade 460CG7 server, installed RHEL 5.4 which freezing when i disconnected the external cdrom, Sony DRU-510A. To restart that hang server, i have to force by press the power button.
Problem also found when server is booting, there are kernel panic messages indicates the system need the cdrom device. Now, the server is up, but its only want to start with the cdrom attached there.

here is few information

[root@tamax-03 ~]# uname -a
Linux tamax-03 2.6.18-164.el5 #1 SMP Tue Aug 18 15:51:48 EDT 2009 x86_64 x86_64 x86_64 GNU/Linux

#dmesg
....
usbcore: registered new driver usb-storage
USB Mass Storage support registered.
Vendor: SONY Model: DVD RW DRU-510A Rev: 1.0c
Type: CD-ROM ANSI SCSI revision: 00
usb-storage: device scan complete
....
scsi 0:0:0:0: Attached scsi generic sg0 type 5
sr0: scsi3-mmc drive: 32x/32x writer cd/rw xa/form2 cdda tray
Uniform CD-ROM driver Revision: 3.20
sr 0:0:0:0: Attached scsi CD-ROM sr0
...

Messages log lines before server was hung :
....
Nov 7 19:00:13 tamax-03 xinetd[5431]: EXIT: vnetd status=0 pid=28613 duration=0(sec)
Nov 7 19:00:16 tamax-03 xinetd[5431]: EXIT: vnetd status=0 pid=28612 duration=3(sec)
Nov 7 19:00:16 tamax-03 kernel: usb 1-5: USB disconnect, address 2
Nov 7 19:00:16 tamax-03 kernel: usb 4-2: USB disconnect, address 2
Write failed: Broken pipe

I have checked the fstab, modprobe, udev & sysctl configuration, nothing has changed there. I have tried to remove-single-device on /proc/scsi/scsi for cdrom device also, but server still hang when cdrom was disconnected.


Anyone have found similar with this problem?
I appreciate for any help & advise, thanks.

Tamax

John VV 11-09-2011 01:18 AM

are you unmounting the cd drive first ?
Code:

su -
umount /dev/???


tamax 11-09-2011 01:51 AM

Quote:

Originally Posted by John VV (Post 4519492)
are you unmounting the cd drive first ?
Code:

su -
umount /dev/???


The cdrom device /dev/sr0 was not mounted, so it's ok to remove directly, isn't it?

From dmesg, Why there are two cdrom detections, the first as an usb device and the second one is scsi?


All times are GMT -5. The time now is 02:21 AM.