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 |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
|
 |
08-24-2006, 01:51 AM
|
#1
|
LQ Newbie
Registered: Aug 2006
Posts: 9
Rep:
|
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
------------------------------------------------------------------------------------------
|
|
|
08-24-2006, 06:43 AM
|
#2
|
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:
|
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??
|
|
|
08-24-2006, 03:10 PM
|
#3
|
LQ Newbie
Registered: Aug 2006
Posts: 9
Original Poster
Rep:
|
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
|
|
|
08-24-2006, 04:33 PM
|
#4
|
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:
|
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
|
|
|
08-24-2006, 08:03 PM
|
#5
|
LQ Newbie
Registered: Aug 2006
Posts: 9
Original Poster
Rep:
|
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
|
|
|
08-25-2006, 08:21 PM
|
#6
|
LQ Newbie
Registered: Aug 2006
Posts: 9
Original Poster
Rep:
|
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.
|
|
|
08-26-2006, 07:09 AM
|
#7
|
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:
|
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
|
|
|
08-26-2006, 06:31 PM
|
#8
|
LQ Newbie
Registered: Aug 2006
Posts: 9
Original Poster
Rep:
|
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
|
|
|
08-27-2006, 05:19 AM
|
#9
|
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:
|
What if any is shown in /var/log/messages after you plug in the USB device???
# tail /var/log/messages
|
|
|
08-27-2006, 02:46 PM
|
#10
|
LQ Newbie
Registered: Aug 2006
Posts: 9
Original Poster
Rep:
|
Nothing is entered in /var/log/messages when I unplug, and replug into a different USB port the DVD-RW
|
|
|
08-27-2006, 07:30 PM
|
#11
|
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:
|
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.
|
|
|
08-27-2006, 07:42 PM
|
#12
|
LQ Newbie
Registered: Aug 2006
Posts: 9
Original Poster
Rep:
|
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
|
|
|
All times are GMT -5. The time now is 10:02 AM.
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|