LinuxQuestions.org
Visit Jeremy's Blog.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 11-10-2003, 12:08 PM   #1
ansjoviske
LQ Newbie
 
Registered: Nov 2003
Posts: 5

Rep: Reputation: 0
can't play dvd


hi,

I use linux on my laptop, and i have some werid problem, when i try to play a dvd it won't work.

i use ogle, because xine and mplayer never worked, but now ogle says
can't stat /dev/dvd
faild to open/read the dvd
DVDSetRoot: Root not set

now i looked, and /dev/dvd does not exist; it's /dev/cdrom it has to use

how do i make ogle look in /dev/cdrom/? or do i have to make some kind of link from /dev/dvd to /dev/cdrom?
 
Old 11-10-2003, 12:09 PM   #2
trickykid
LQ Guru
 
Registered: Jan 2001
Posts: 24,149

Rep: Reputation: 234Reputation: 234Reputation: 234
Create a symlink from /dev/hdX as its your actual device to /dev/dvd

You can link from /dev/cdrom but I'd prefer to link from the actual device itself, just in case something happens to the other link, etc.
 
Old 11-10-2003, 12:24 PM   #3
ansjoviske
LQ Newbie
 
Registered: Nov 2003
Posts: 5

Original Poster
Rep: Reputation: 0
ok, now the really stupid question:

how do i create a symlink from /dev/dvd to /dev/hdc?
 
Old 11-10-2003, 12:28 PM   #4
trickykid
LQ Guru
 
Registered: Jan 2001
Posts: 24,149

Rep: Reputation: 234Reputation: 234Reputation: 234
Quote:
Originally posted by ansjoviske
ok, now the really stupid question:

how do i create a symlink from /dev/dvd to /dev/hdc?
cd /dev

ln -s /dev/hdc dvd
 
Old 11-10-2003, 12:33 PM   #5
ansjoviske
LQ Newbie
 
Registered: Nov 2003
Posts: 5

Original Poster
Rep: Reputation: 0
thx dude, it works
 
Old 11-10-2003, 12:45 PM   #6
trickykid
LQ Guru
 
Registered: Jan 2001
Posts: 24,149

Rep: Reputation: 234Reputation: 234Reputation: 234
Quote:
Originally posted by ansjoviske
thx dude, it works
No problem, anytime.
 
Old 03-05-2004, 06:35 AM   #7
z3r0
LQ Newbie
 
Registered: Mar 2004
Posts: 1

Rep: Reputation: 0
Question dvd "disappeared" in fedora

the dvd drive (dev/hdc = dev/scd0 = dev/dvd = dev/cdrom) suddenly "disappeared".

(DMESG output below with many error messages :-(

I get the same error message from xine/ogle etc. as above, but all symlinks are in place and it used to work just fine. Have been using DVDRip, played CDs and watched DVDs from drive just recently.

Using Fedora Core 1 with KDE 3.2. At first I thought that perhaps KDE had messed up something, so I tried with WindowMaker, with GNOME and logged in to desktop as root etc. Nothing.

BUT: "hwbroser" shows the drive is there as /dev/scd0 - as usual. Only I cannot mount it, and really it should automount when booting:

[root@amilo root]# mount
/dev/hda5 on / type ext3 (rw)
none on /proc type proc (rw)
none on /dev/pts type devpts (rw,gid=5,mode=620)
usbdevfs on /proc/bus/usb type usbdevfs (rw)
/dev/hda2 on /boot type ext3 (rw)
/dev/hda6 on /home type ext3 (rw)
none on /dev/shm type tmpfs (rw)
/dev/hda3 on /usr type ext3 (rw)
/dev/hda8 on /media type vfat (rw,uid=502,mode=700)
/dev/sda4 on /usbstick type vfat (rw,uid=502,mode=700)
none on /proc/sys/fs/binfmt_misc type binfmt_misc (rw)


[root@amilo root]# mount /dev/cdrom
mount: wrong fs type, bad option, bad superblock on /dev/cdrom,
or too many mounted file systems
(could this be the IDE device where you in fact use
ide-scsi so that sr0 or sda or so is needed?)

So, just to make sure I tried to add an entry in FSTAB for scd0:

[root@amilo root]# mount /dev/scd0
mount: block device /dev/scd0 is write-protected, mounting read-only
mount: wrong fs type, bad option, bad superblock on /dev/scd0,
or too many mounted file systems

This severely confuses me; the RedHat/Fedora SCSI emulation and drive numbering have always confused me, but it used to work.

---selected DMESG (2.4.22-1.2174.nptl) returns that seem relevant for drive --in chronological order:

hdc: DVD+RW RW8160, ATAPI CD/DVD-ROM drive
+
scsi1 : SCSI host adapter emulation for IDE ATAPI devices
Vendor: Model: DVD+RW RW8160 Rev: 1.03
Type: CD-ROM ANSI SCSI revision: 02
+
.............
udf: registering filesystem
UDF-fs DEBUG lowlevel.c:65:udf_get_last_session: CDROMMULTISESSION not supported: rc=-22
UDF-fs DEBUG super.c:1421:udf_read_super: Multi-session=0
UDF-fs DEBUG super.c:410:udf_vrs: Starting at sector 16 (2048 byte sectors)
ide-scsi: hdc: unsupported command in request queue (0)
end_request: I/O error, dev 16:00 (hdc), sector 64
UDF-fs DEBUG super.c:1157:udf_check_valid: Failed to read byte 32768. Assuming open disc. Skipping validity check
ide-scsi: hdc: unsupported command in request queue (0)
end_request: I/O error, dev 16:00 (hdc), sector 1248
ide-scsi: hdc: unsupported command in request queue (0)
end_request: I/O error, dev 16:00 (hdc), sector 1024
UDF-fs DEBUG misc.c:274:udf_read_tagged: block=256, location=256: read failed
UDF-fs DEBUG super.c:1211:udf_load_partition: No Anchor block found
UDF-fs: No partition found (1)
ide-scsi: hdc: unsupported command in request queue (0)
end_request: I/O error, dev 16:00 (hdc), sector 64
isofs_read_super: bread failed, dev=16:00, iso_blknum=16, block=32
Attached scsi CD-ROM sr0 at scsi1, channel 0, id 0, lun 0
sr0: scsi3-mmc drive: 24x/24x writer cd/rw xa/form2 cdda tray
Uniform CD-ROM driver Revision: 3.12
I/O error: dev 0b:00, sector 64
isofs_read_super: bread failed, dev=0b:00, iso_blknum=16, block=16
UDF-fs DEBUG lowlevel.c:65:udf_get_last_session: CDROMMULTISESSION not supported: rc=-22
UDF-fs DEBUG super.c:1421:udf_read_super: Multi-session=0
UDF-fs DEBUG super.c:410:udf_vrs: Starting at sector 16 (2048 byte sectors)
ide-scsi: hdc: unsupported command in request queue (0)
end_request: I/O error, dev 16:00 (hdc), sector 64
UDF-fs DEBUG super.c:1157:udf_check_valid: Failed to read byte 32768. Assuming open disc. Skipping validity check
ide-scsi: hdc: unsupported command in request queue (0)
end_request: I/O error, dev 16:00 (hdc), sector 1248
ide-scsi: hdc: unsupported command in request queue (0)
end_request: I/O error, dev 16:00 (hdc), sector 1024
UDF-fs DEBUG misc.c:274:udf_read_tagged: block=256, location=256: read failed
UDF-fs DEBUG super.c:1211:udf_load_partition: No Anchor block found
UDF-fs: No partition found (1)
ide-scsi: hdc: unsupported command in request queue (0)
end_request: I/O error, dev 16:00 (hdc), sector 64
isofs_read_super: bread failed, dev=16:00, iso_blknum=16, block=32
UDF-fs DEBUG lowlevel.c:65:udf_get_last_session: CDROMMULTISESSION not supported: rc=-22
UDF-fs DEBUG super.c:1421:udf_read_super: Multi-session=0
UDF-fs DEBUG super.c:410:udf_vrs: Starting at sector 16 (2048 byte sectors)
ide-scsi: hdc: unsupported command in request queue (0)
end_request: I/O error, dev 16:00 (hdc), sector 64
UDF-fs DEBUG super.c:1157:udf_check_valid: Failed to read byte 32768. Assuming open disc. Skipping validity check
ide-scsi: hdc: unsupported command in request queue (0)
end_request: I/O error, dev 16:00 (hdc), sector 1248
ide-scsi: hdc: unsupported command in request queue (0)
end_request: I/O error, dev 16:00 (hdc), sector 1024
UDF-fs DEBUG misc.c:274:udf_read_tagged: block=256, location=256: read failed
UDF-fs DEBUG super.c:1211:udf_load_partition: No Anchor block found
UDF-fs: No partition found (1)
ide-scsi: hdc: unsupported command in request queue (0)
end_request: I/O error, dev 16:00 (hdc), sector 64
isofs_read_super: bread failed, dev=16:00, iso_blknum=16, block=32

------------

Any ideas what this means??????????????

Here is FSTAB entry (created by Fedora - used to work just fine):

/dev/cdrom /mnt/cdrom udf,iso9660 noauto,owner,kudzu,ro 0 0

and finally some LS returns from /dev directory:

[root@amilo dev]# ls -l cdrom
lrwxrwxrwx 1 root root 8 Mar 4 11:50 cdrom -> /dev/hdc
[root@amilo dev]# ls -l scd0
brw-rw---- 1 root disk 11, 0 Sep 15 14:40 scd0
[root@amilo dev]# ls -l dvd
lrwxrwxrwx 1 root root 5 Jan 5 18:30 dvd -> cdrom


HELP.......pls....... :-(


{0}
 
  


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
which DVD player can play DVD from hard drive *and* support DVD Menu ? tho_x_tran Linux - Software 16 11-16-2006 02:00 PM
Kaffeine, won't play a DVD but will play individual VOB files? GameGuru Linux - Newbie 12 07-08-2005 12:33 AM
Every DVD Player Fails to Play DVD Movie in SuSE 9.2 Pro....Please Help ! ! ! bedi-beparwah SUSE / openSUSE 2 03-14-2005 06:08 PM
dvd-rom drive won't play movies and dvd burner won't record calble Linux - Hardware 1 08-09-2004 07:35 AM
combo rom won't read/play dvd, no ans from dvd-howto sirpelidor Linux - Hardware 0 12-22-2003 11:20 AM


All times are GMT -5. The time now is 12:22 PM.

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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration