LinuxQuestions.org
Visit Jeremy's Blog.
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 08-24-2006, 01:51 AM   #1
klausner
LQ Newbie
 
Registered: Aug 2006
Posts: 9

Rep: Reputation: 0
Unhappy RH9 cannot recognize either IDE CDROM or USB DVD/RW


Hoping someone can help me mount both my internal CDROM and USB DVD/RW drives? I also try 'mount -t iso9660 /dev/scd0 /mnt/dvd' without success. I am on kernel 2.4.20-31.9.

My dmesg, 'cdrecord -scanbus', and fstab, follow:

------------------------------------------------------------------------------------------
dNotFound }, LBAsect=320159173, high=19, low=1392069, sector=320159110
hde: read_intr: status=0x51 { DriveReady SeekComplete Error }
hde: read_intr: error=0x10 { SectorIdNotFound }, LBAsect=320159173, high=19, low=1392069, sector=320159110
ide2: reset phy, status=0x00000113, siimage_reset
ide2: reset: success
end_request: I/O error, dev 21:01 (hde), sector 320159110
UDP: bad checksum. From 209.74.143.1:43272 to 192.168.1.192:53 ulen 49
ip_tables: (C) 2000-2002 Netfilter core team
parport0: PC-style at 0x378 (0x778) [PCSPP,TRISTATE]
parport0: irq 7 detected
lp0: using parport0 (polling).
lp0: console ready
tty_io.c: process 4918 (faxgetty) used obsolete /dev/cua - update software to use /dev/ttyS0
tty_io.c: process 4918 (faxgetty) used obsolete /dev/cua - update software to use /dev/ttyS0
(scsi1:A:14): 20.000MB/s transfers (10.000MHz, offset 8, 16bit)
st0: Block limits 1 - 16777215 bytes.
hde: read_intr: status=0x51 { DriveReady SeekComplete Error }
hde: read_intr: error=0x10 { SectorIdNotFound }, LBAsect=320159167, high=19, low=1392063, sector=320159104
hde: read_intr: status=0x51 { DriveReady SeekComplete Error }
hde: read_intr: error=0x10 { SectorIdNotFound }, LBAsect=320159173, high=19, low=1392069, sector=320159110
hde: read_intr: status=0x51 { DriveReady SeekComplete Error }
hde: read_intr: error=0x10 { SectorIdNotFound }, LBAsect=320159173, high=19, low=1392069, sector=320159110
hde: read_intr: status=0x51 { DriveReady SeekComplete Error }
hde: read_intr: error=0x10 { SectorIdNotFound }, LBAsect=320159173, high=19, low=1392069, sector=320159110
hde: read_intr: status=0x51 { DriveReady SeekComplete Error }
hde: read_intr: error=0x10 { SectorIdNotFound }, LBAsect=320159173, high=19, low=1392069, sector=320159110
ide2: reset phy, status=0x00000113, siimage_reset
ide2: reset: success
hde: read_intr: status=0x51 { DriveReady SeekComplete Error }
hde: read_intr: error=0x10 { SectorIdNotFound }, LBAsect=320159173, high=19, low=1392069, sector=320159110
end_request: I/O error, dev 21:01 (hde), sector 320159110
------------------------------------------------------------------------------------------

------------------------------------------------------------------------------------------
Cdrecord 2.0 (i686-pc-linux-gnu) Copyright (C) 1995-2002 J?rg Schilling
Using libscg version 'schily-0.7'
scsibus0:
0,0,0 0) '3ware ' 'Logical Disk 0 ' '1.0' Disk
0,1,0 1) *
0,2,0 2) *
0,3,0 3) *
0,4,0 4) *
0,5,0 5) *
0,6,0 6) *
0,7,0 7) *
scsibus1:
1,0,0 100) ' ' ' ' 'S7Z0' Disk
1,1,0 101) *
1,2,0 102) *
1,3,0 103) *
1,4,0 104) *
1,5,0 105) *
1,6,0 106) *
1,7,0 107) *
1,14,0 114) 'HP ' 'Ultrium 1-SCSI ' 'N15G' Removable Tape
------------------------------------------------------------------------------------------

------------------------------------------------------------------------------------------
LABEL=/ / ext3 defaults 1 1
LABEL=/boot /boot ext3 defaults 1 2
none /dev/pts devpts gid=5,mode=620 0 0
none /proc proc defaults 0 0
none /dev/shm tmpfs defaults 0 0
/dev/hdc2 swap swap defaults 0 0
/dev/st0 /mnt/tapedrive auto noauto,owner,user 0 0
/dev/scd0 /mnt/dvd iso9660 defaults 0 0
/dev/hdb /mnt/cdrom iso9660 defaults 0 0
/dev/hdd /mnt/ls120.0 auto noauto,owner,kudzu 0 0
/dev/fd0 /mnt/floppy auto noauto,owner,kudzu 0 0

# Logical Volume Manager
/dev/vg03/lv00 /data/acting auto defaults 1 2
/dev/vg03/lv01 /data/appl auto defaults 1 2
/dev/vg03/lv02 /data/data auto defaults 1 2
/dev/vg03/lv03 /data/inst auto defaults 1 2
/dev/vg03/lv04 /data/matty auto defaults 1 2
/dev/vg03/lv05 /data/pix auto defaults 1 2
/dev/vg03/lv06 /data/t auto defaults 1 2
/dev/vg03/lv07 /data/temp auto defaults 1 2
/dev/vg03/lv08 /data/lgl auto defaults 1 2

/dev/vg01/lv00 /homeBAK auto defaults 1 2
/dev/vg05/lv00 /home auto defaults 1 2

# Local configuration
# //dkserve/x /mnt/server smbfs defaults,noauto,user,username=dkserve 0 0
------------------------------------------------------------------------------------------
 
Old 08-24-2006, 06:43 AM   #2
Lenard
Senior Member
 
Registered: Dec 2005
Location: Indiana
Distribution: RHEL/CentOS/SL 5 i386 and x86_64 pata for IDE in use
Posts: 4,790

Rep: Reputation: 58
Hmmmmm........

/dev/scd0 /mnt/dvd iso9660 defaults 0 0
/dev/hdb /mnt/cdrom iso9660 defaults 0 0

May be better to use something like;
Code:
/dev/scd0 /mnt/dvd    auto  exec,noauto,users,ro 0 0
/dev/hdb /mnt/cdrom   auto  exec,noauto,users,ro 0 0
Not all of the DVD or CD media are iso9660 formatted, some are UDF.

Is /dev/hde set in grub/lilo with the ide-scsi option, or is this the USB device??

What is the /dev/hdb device in your /etc/fstab file??
 
Old 08-24-2006, 03:10 PM   #3
klausner
LQ Newbie
 
Registered: Aug 2006
Posts: 9

Original Poster
Rep: Reputation: 0
RH9 cannot recognize either IDE CDROM or USB DVD/RW

-----------------------------------------------------------------------------------------
Quote:
Originally Posted by Lenard
Hmmmmm........

/dev/scd0 /mnt/dvd iso9660 defaults 0 0
/dev/hdb /mnt/cdrom iso9660 defaults 0 0

May be better to use something like;
Code:
/dev/scd0 /mnt/dvd    auto  exec,noauto,users,ro 0 0
/dev/hdb /mnt/cdrom   auto  exec,noauto,users,ro 0 0
Not all of the DVD or CD media are iso9660 formatted, some are UDF.

Is /dev/hde set in grub/lilo with the ide-scsi option, or is this the USB device??

What is the /dev/hdb device in your /etc/fstab file??
-----------------------------------------------------------------------------------------

Thanks, Lenard. The devices mounted with your suggested fstab entries, but I can't see any of the files on the media in the drives, e.g., 'ls -la /mnt/dvd'! The media were burned using iso9660 (one in Joliet mode) and have about 25MB of data on them.

I think /dev/hdb is the internal ATAPI CD-ROM, while /dev/scd0 is the external USB DVD-RW. In that case, I should mount the DVD-RW with something other than "r0' in the fstab?

I don't know what /dev/hde is. how do I see tjhe grub/lilo settings/options? I tried 'lilo -q' and there is no /etc/lilo.conf

David
 
Old 08-24-2006, 04:33 PM   #4
Lenard
Senior Member
 
Registered: Dec 2005
Location: Indiana
Distribution: RHEL/CentOS/SL 5 i386 and x86_64 pata for IDE in use
Posts: 4,790

Rep: Reputation: 58
First it is 'ro' (read only) in the entries and no cdrecord and growisofs (part of the dvd+rw-tools) are what is needed to write information to the media.

To read grub try something like (as root of course); cat /etc/grub.conf

If you do not know what device is hde then why did you post part of dmesg which has lines like;

hde: read_intr: status=0x51 { DriveReady SeekComplete Error }
hde: read_intr: error=0x10 { SectorIdNotFound }, LBAsect=320159173, high=19, low=1392069, sector=320159110


Please check your /var/log/messages file (again as root);

cat /var/log/messages | grep hde
 
Old 08-24-2006, 08:03 PM   #5
klausner
LQ Newbie
 
Registered: Aug 2006
Posts: 9

Original Poster
Rep: Reputation: 0
Quote:
Originally Posted by Lenard
First it is 'ro' (read only) in the entries and no cdrecord and growisofs (part of the dvd+rw-tools) are what is needed to write information to the media.

To read grub try something like (as root of course); cat /etc/grub.conf

If you do not know what device is hde then why did you post part of dmesg which has lines like;

hde: read_intr: status=0x51 { DriveReady SeekComplete Error }
hde: read_intr: error=0x10 { SectorIdNotFound }, LBAsect=320159173, high=19, low=1392069, sector=320159110


Please check your /var/log/messages file (again as root);

cat /var/log/messages | grep hde

Lenard,

Can you say why I can not now see the information on the CDROM and the DVD-RW with 'ls -la /mnt/cdrom', etc?

My /dev/dhe/ is a hard drive (red herring) that has just failed. The 'cat /etc/grub.conf' follows:

# grub.conf generated by anaconda
#
# Note that you do not have to rerun grub after making changes to this file
# NOTICE: You have a /boot partition. This means that
# all kernel and initrd paths are relative to /boot/, eg.
# root (hd0,0)
# kernel /vmlinuz-version ro root=/dev/hda3
# initrd /initrd-version.img
#boot=/dev/hda
default=0
timeout=10
splashimage=(hd0,0)/grub/splash.xpm.gz
password --md5 xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
title Red Hat Linux (2.4.20-31.9)
root (hd0,0)
kernel /vmlinuz-2.4.20-31.9 ro root=LABEL=/
initrd /initrd-2.4.20-31.9.img
title Red Hat Linux (2.4.20-30.9)
root (hd0,0)
kernel /vmlinuz-2.4.20-30.9 ro root=LABEL=/
initrd /initrd-2.4.20-30.9.img
title Red Hat Linux (2.4.20-28.9)
root (hd0,0)
kernel /vmlinuz-2.4.20-28.9 ro root=LABEL=/
initrd /initrd-2.4.20-28.9.img
title Red Hat Linux (2.4.20-24.9)
root (hd0,0)
kernel /vmlinuz-2.4.20-24.9 ro root=LABEL=/
initrd /initrd-2.4.20-24.9.img

David
 
Old 08-25-2006, 08:21 PM   #6
klausner
LQ Newbie
 
Registered: Aug 2006
Posts: 9

Original Poster
Rep: Reputation: 0
Actually got the CDROM to work, it was /dev/hda and not /dev/hdb. But, I still can't get the USB DVD-RW to be mounted. I checked the /var/log/messages and the dmesg and I don't see it.
 
Old 08-26-2006, 07:09 AM   #7
Lenard
Senior Member
 
Registered: Dec 2005
Location: Indiana
Distribution: RHEL/CentOS/SL 5 i386 and x86_64 pata for IDE in use
Posts: 4,790

Rep: Reputation: 58
Well, I'm glad you got the CD drive to work.

The USB drive may need the usb modules to be loaded for you system, forget the names used for the 2.4 kernels but look for modules with echi, ochi and uchi in the name.

To find which usb hardware you have; lspci -v
To see if the modules are loaded; cat /proc/modules
To see if you have the usb modules look in;

/lib/modules/<kernel-version-number>/kernel/drivers

Examples ( the output may look different sine this is a 2.6 kernel system);

$ lspci -v | grep USB
00:03.0 USB Controller: Silicon Integrated Systems [SiS] USB 1.0 Controller (rev 0f) (prog-if 10 [OHCI])
00:03.1 USB Controller: Silicon Integrated Systems [SiS] USB 1.0 Controller (rev 0f) (prog-if 10 [OHCI])
00:03.2 USB Controller: Silicon Integrated Systems [SiS] USB 2.0 Controller (prog-if 20 [EHCI])

$ cat /proc/modules | grep hcd
ohci_hcd 19716 0 - Live 0xffffffff88057000
ehci_hcd 30472 0 - Live 0xffffffff8804e000

$ ls -al /lib/modules/2.6.17.11/kernel/drivers/usb/*
/lib/modules/2.6.17.11/kernel/drivers/usb/class:
total 32
drwxr-xr-x 2 root root 4096 Aug 23 20:26 .
drwxr-xr-x 5 root root 4096 Aug 23 20:26 ..
-rw-r--r-- 1 root root 22498 Aug 23 20:26 usblp.ko

/lib/modules/2.6.17.11/kernel/drivers/usb/host:
total 76
drwxr-xr-x 2 root root 4096 Aug 23 20:26 .
drwxr-xr-x 5 root root 4096 Aug 23 20:26 ..
-rw-r--r-- 1 root root 39005 Aug 23 20:26 ehci-hcd.ko
-rw-r--r-- 1 root root 26288 Aug 23 20:26 ohci-hcd.ko

/lib/modules/2.6.17.11/kernel/drivers/usb/storage:
total 132
drwxr-xr-x 2 root root 4096 Aug 23 20:26 .
drwxr-xr-x 5 root root 4096 Aug 23 20:26 ..
-rw-r--r-- 1 root root 122301 Aug 23 20:26 usb-storage.ko
 
Old 08-26-2006, 06:31 PM   #8
klausner
LQ Newbie
 
Registered: Aug 2006
Posts: 9

Original Poster
Rep: Reputation: 0
Hi Lenard,

Thank you for your help. I tried cloning the boot drive and booting a duplicate hardware setup I have and on THAT system the DVD-rw is recognized as /dev/scd0! Wow, how weird.

In any event, here is the data ...

My 'lspci -v | grep USB' shows:
00:1d.0 USB Controller: Intel Corp. 82801EB USB (Hub #1) (rev 02) (prog-if 00 [UHCI])
00:1d.1 USB Controller: Intel Corp. 82801EB USB (Hub #2) (rev 02) (prog-if 00 [UHCI])
00:1d.2 USB Controller: Intel Corp. 82801EB USB (Hub #3) (rev 02) (prog-if 00 [UHCI])
00:1d.3 USB Controller: Intel Corp. 82801EB USB EHCI Controller #2 (rev 02) (prog-if 00 [UHCI])
00:1d.7 USB Controller: Intel Corp. 82801EB USB EHCI Controller (rev 02) (prog-if 20 [EHCI])

My 'cat /proc/modules | grep hci' shows:
ehci-hcd 20072 0 (unused)
usb-uhci 26412 0 (unused)
usbcore 79040 1 [hid ehci-hcd usb-uhci]

My 'cat /proc/modules | grep hcd' shows:
ehci-hcd 20072 0 (unused)
usbcore 79040 1 [hid ehci-hcd usb-uhci]

My 'cat ..../drivers/usb' shows:
/lib/modules/2.4.20-31.9/kernel/drivers} ls -al usb/
total 1000
4 drwxr-xr-x 5 root root 4096 Jan 7 2005 ./
4 drwxr-xr-x 26 root root 4096 Jan 7 2005 ../
12 -rw-r--r-- 1 root root 10520 Apr 13 2004 acm.o
8 -rw-r--r-- 1 root root 4752 Apr 13 2004 aiptek.o
60 -rw-r--r-- 1 root root 54092 Apr 13 2004 audio.o
36 -rw-r--r-- 1 root root 35379 Apr 13 2004 auerswald.o
20 -rw-r--r-- 1 root root 16980 Apr 13 2004 brlvger.o
16 -rw-r--r-- 1 root root 12688 Apr 13 2004 catc.o
20 -rw-r--r-- 1 root root 18664 Apr 13 2004 CDCEther.o
40 -rw-r--r-- 1 root root 39432 Apr 13 2004 dabusb.o
8 -rw-r--r-- 1 root root 7624 Apr 13 2004 dsbr100.o
28 -rw-r--r-- 1 root root 26526 Apr 13 2004 hid.o
4 drwxr-xr-x 2 root root 4096 Jan 7 2005 host/
12 -rw-r--r-- 1 root root 11636 Apr 13 2004 hpusbscsi.o
60 -rw-r--r-- 1 root root 55808 Apr 13 2004 ibmcam.o
24 -rw-r--r-- 1 root root 22900 Apr 13 2004 kaweth.o
8 -rw-r--r-- 1 root root 4456 Apr 13 2004 kbtab.o
16 -rw-r--r-- 1 root root 13548 Apr 13 2004 konicawc.o
16 -rw-r--r-- 1 root root 14308 Apr 13 2004 mdc800.o
12 -rw-r--r-- 1 root root 9940 Apr 13 2004 microtek.o
112 -rw-r--r-- 1 root root 107328 Apr 13 2004 ov511.o
24 -rw-r--r-- 1 root root 23464 Apr 13 2004 pegasus.o
8 -rw-r--r-- 1 root root 5684 Apr 13 2004 powermate.o
12 -rw-r--r-- 1 root root 11772 Apr 13 2004 printer.o
64 -rw-r--r-- 1 root root 58469 Apr 13 2004 pwc.o
8 -rw-r--r-- 1 root root 7788 Apr 13 2004 rio500.o
16 -rw-r--r-- 1 root root 14240 Apr 13 2004 rtl8150.o
16 -rw-r--r-- 1 root root 15120 Apr 13 2004 scanner.o
24 -rw-r--r-- 1 root root 22236 Apr 13 2004 se401.o
4 drwxr-xr-x 2 root root 4096 Jan 7 2005 serial/
4 drwxr-xr-x 2 root root 4096 Jan 7 2005 storage/
36 -rw-r--r-- 1 root root 33188 Apr 13 2004 stv680.o
8 -rw-r--r-- 1 root root 8036 Apr 13 2004 tiglusb.o
20 -rw-r--r-- 1 root root 16960 Apr 13 2004 ultracam.o
100 -rw-r--r-- 1 root root 95879 Apr 13 2004 usbcore.o
8 -rw-r--r-- 1 root root 5708 Apr 13 2004 usblcd.o
28 -rw-r--r-- 1 root root 26136 Apr 13 2004 usb-midi.o
24 -rw-r--r-- 1 root root 21456 Apr 13 2004 usbnet.o
32 -rw-r--r-- 1 root root 32436 Apr 13 2004 usbvideo.o
12 -rw-r--r-- 1 root root 9676 Apr 13 2004 uss720.o
20 -rw-r--r-- 1 root root 16868 Apr 13 2004 vicam.o
12 -rw-r--r-- 1 root root 10084 Apr 13 2004 wacom.o
 
Old 08-27-2006, 05:19 AM   #9
Lenard
Senior Member
 
Registered: Dec 2005
Location: Indiana
Distribution: RHEL/CentOS/SL 5 i386 and x86_64 pata for IDE in use
Posts: 4,790

Rep: Reputation: 58
What if any is shown in /var/log/messages after you plug in the USB device???

# tail /var/log/messages
 
Old 08-27-2006, 02:46 PM   #10
klausner
LQ Newbie
 
Registered: Aug 2006
Posts: 9

Original Poster
Rep: Reputation: 0
Nothing is entered in /var/log/messages when I unplug, and replug into a different USB port the DVD-RW
 
Old 08-27-2006, 07:30 PM   #11
Lenard
Senior Member
 
Registered: Dec 2005
Location: Indiana
Distribution: RHEL/CentOS/SL 5 i386 and x86_64 pata for IDE in use
Posts: 4,790

Rep: Reputation: 58
Was afraid of this, RHL9 is not very good at newer USB devices..........
With the device plugged in have a quick look at;

cat /proc/scsi/scsi

Hopefully the device will show up. If yes then you should now which scsi device it is.

An example;

$ cat /proc/scsi/scsi
Attached devices:
Host: scsi0 Channel: 00 Id: 00 Lun: 00
Vendor: TOSHIBA Model: CD/DVDW SD-R6472 Rev: TU51
Type: CD-ROM ANSI SCSI revision: 02

I would like to suggest that it is time upgrade the OS to a modern supported version. Staying with the Red Hat family I will suggest CentOS which a freely available version of Linux that is binary compatible with RHEL4.
 
Old 08-27-2006, 07:42 PM   #12
klausner
LQ Newbie
 
Registered: Aug 2006
Posts: 9

Original Poster
Rep: Reputation: 0
It's not there, only the 3Ware controller and the scsi Tape drive are there.

I've been trying to upgrade to FC5, but the "assertion at line 485" problem plagues me currently. I've tried the recommendations regarding the sfdisk command (and grub-install) and they fail me so I am trying to upgrade using FC1, 2, 3, 4, to see which one works. Getting the DVD-RW USB drive to work would have been a bonus at this time, before the FC5 upgrade, but I guess not extremely necessary at this point. I'll give up on the DVD-RW for now.

Thank you for all your help.

David
 
Old 08-27-2006, 09:27 PM   #13
Lenard
Senior Member
 
Registered: Dec 2005
Location: Indiana
Distribution: RHEL/CentOS/SL 5 i386 and x86_64 pata for IDE in use
Posts: 4,790

Rep: Reputation: 58
Word of warning; https://bugzilla.redhat.com/bugzilla....cgi?id=186202

And just for FYI FC1-4 are in legacy mode or are no longer supported;

http://www.fedoralegacy.org/
 
  


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
DVD Burner ide or usb? PipeDreams Linux - Hardware 5 03-31-2006 11:00 PM
FC4 wants CDROM-won't recognize DVD Rory in Toronto Fedora 4 06-17-2005 08:30 AM
laptop use a cdrom with ide-usb cable norstar Linux - Hardware 1 10-12-2004 12:19 AM
RH9 &9.0 Benq CDRW 4012a IDE + IDE CDROM - Install - how to cgtueno Linux - Hardware 6 05-30-2004 02:43 PM
Slackware 9.1 Install - Doesn't recognize USB CDROM Ren Linux - Laptop and Netbook 4 01-04-2004 05:15 PM

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

All times are GMT -5. The time now is 10:02 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