Find the answer to your Linux question:
Page 2 of 3 FirstFirst 1 2 3 LastLast
Results 11 to 20 of 24
Here's what I've got: Code: > ls -l /dev/dvd /dev/cdrom lrwxrwxrwx 1 root root 3 2005-03-06 07:24 /dev/cdrom -> hdb lrwxrwxrwx 1 root root 3 2005-03-06 07:24 /dev/dvd -> hdb ...
Enjoy an ad free experience by logging in. Not a member yet? Register.
  1. #11
    Linux Newbie pajamabama's Avatar
    Join Date
    Jul 2005
    Location
    In another time's forgotten space
    Posts
    150

    Here's what I've got:

    Code:
    > ls -l /dev/dvd /dev/cdrom
    lrwxrwxrwx  1 root root 3 2005-03-06 07:24 /dev/cdrom -> hdb
    lrwxrwxrwx  1 root root 3 2005-03-06 07:24 /dev/dvd -> hdb
    
    > ls -Ll /dev/dvd /dev/cdrom
    brw-r-----  1 sean users 3, 64 2004-12-03 10:50 /dev/cdrom
    brw-r-----  1 sean users 3, 64 2004-12-03 10:50 /dev/dvd
    
    > egrep 'cdrom|dvd' /etc/security/console.perms
    grep: /etc/security/console.perms: No such file or directory
    (I didn't find this file anywhere on my system)
    Code:
    > ls /var/run/console
    /bin/ls: /var/run/console: No such file or directory
    
    > ls /proc/ide
    drivers  hda  hdb  ide0  piix
    
    > grep ide /proc/modules
    ide_cd 38176 6 - Live 0xe1181000
    cdrom 36508 2 sr_mod,ide_cd, Live 0xe1177000
    
    > dd if=/dev/dvd of=/dev/null bs=512 count=1
    'dd' never exited and not even Ctl-C or 'kill' would get rid of it. I'm not sure what it was supposed to do but there is a '/dev/null' labeled by Konqueror as a 'Character Device' and containing 0 bytes.

    As for the last one:
    Code:
    Iago:~ # pam_console_apply
    -bash: pam_console_apply: command not found
    And as for trying 'MPlayer', I always get this weird error (I'm trying to install a newer version but that's turing into a nightmare too. Is there no end to the maddness!?)

    Code:
    sean@Iago:~> mplayer /dev/dvd
    MPlayer 1.0pre7-3.3.4 (C) 2000-2005 MPlayer Team
    CPU: Intel Pentium 4/Xeon/Celeron Foster (Family: 8, Stepping: 4)
    Detected cache-line size is 64 bytes
    CPUflags:  MMX: 1 MMX2: 1 3DNow: 0 3DNow2: 0 SSE: 1 SSE2: 1
    Compiled for x86 CPU with extensions: MMX MMX2 SSE SSE2
    
    
    Linux RTC init error in ioctl (rtc_irqp_set 1024): Inappropriate ioctl for device
    Try adding "echo 1024 > /proc/sys/dev/rtc/max-user-freq" to your system startupscripts.
    Setting up LIRC support...
    mplayer: could not connect to socket
    mplayer: Permission denied
    Failed to open LIRC support.
    You will not be able to use your remote control.
    Playing /dev/dvd.
    If anyone would like to help out on this one too I'm open to ideas.

    Thanks.

    Sean
    HP Pavilion dv6000t
    Intel Centrino Duo 2.0GHz
    nVidia GeForce Go 7400
    Fedora 10

    ----------------------
    The real question is what time is it and why the hell am I still screwing around with my computer?

  2. #12
    Linux Guru
    Join Date
    Oct 2001
    Location
    Täby, Sweden
    Posts
    7,578
    Huh?! Doesn't SuSE 9.2 use pam_console?!

    Excepting that, which shouldn't matter in the end, your results you got didn't look out of the ordinary at all, up until the point at which you ran `dd', that is. If it doesn't die even when you kill it, then it seems as though it would be in uninterruptable sleep (disk sleep), which usually (but not always) means that there's some hardware error.

    `dd' was supposed to test reading for the dvd. When called like that, it reads 512 bytes from the beginning of the disk and writes them to /dev/null, which discards the data.

    It is weird, however, that `dd' disk sleeps, while DVD player programs such as ogle and xine say that they cannot read the disk. This could indicate that your drive isn't capable of unlocking the CSS encryption on the disk. I don't think that should affect the first 512 bytes on the disk, though.

    Anyway, try this: Run `dd' like that again, and after it has run for a minute or so, check the output of this command:
    Code:
    dmesg | tail -n 25
    That will output the last 25 lines of the kernel log. If there is a hardware or driver error, it will be logged in there.


    As for mplayer, you're supposed to call it as `mplayer dvd://', not `mplayer /dev/dvd'. If you need to specify the device explicitly (it uses /dev/dvd by default, though), run it as `mplayer dvd:// -dvd-device /dev/otherdev'.

  3. #13
    Linux Guru fingal's Avatar
    Join Date
    Jul 2003
    Location
    Birmingham - UK
    Posts
    1,539
    One thing to be aware of is, when you're checking to see if your dvd player is working or not, try it on more than one disk. I've noticed that some dvds won't play properly even when everything is set up well.

    I think that these disks have unusual menu structures, because the awkward ones *will* play with mplayer 100% of the time (but obviously without menu support).

    This might not be your problem, but it's just something to keep in mind.
    I am always doing that which I can not do, in order that I may learn how to do it. - Pablo Picasso

  4. #14
    Linux Engineer LondoJowo's Avatar
    Join Date
    May 2005
    Location
    Richmond, TX
    Posts
    804
    Installed my new CD-RW/DVDRom drive in my Thinkpad T40, SuSE automatically recognized and configured it. I can play DVD's as well as burn CD's inK3b with no problem.

  5. #15
    Linux Newbie pajamabama's Avatar
    Join Date
    Jul 2005
    Location
    In another time's forgotten space
    Posts
    150
    LondoJowo: Glad to hear your dvd is working. Enjoy.

    fingal: Thanks for the idea but I have tried many dvds.

    Dolda2000: Thanks to you too for helping me troubleshoot this. It seems that dd is now working fine. It could be that the /dev/dvd was somehow locked up by some other process I'd started in my attempt to play a movie thus causing dd to block. But now here's what I get from it:

    Code:
    sean@Iago:~> dd if=/dev/dvd of=/dev/null bs=512 count=1
    dd: opening `/dev/dvd': No medium found
    And yes, there is a dvd in the drive.

    Here's what the kernel log has to say:
    Code:
    sean@Iago:~> dmesg | tail -n 25
    ATAPI device hdb:
      Error: Not ready -- (Sense key=0x02)
      Incompatible medium installed -- (asc=0x30, ascq=0x00)
      The failed "Read Cd/Dvd Capacity" packet command was:
      "25 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 "
    ATAPI device hdb:
      Error: Not ready -- (Sense key=0x02)
      Incompatible medium installed -- (asc=0x30, ascq=0x00)
      The failed "Read Cd/Dvd Capacity" packet command was:
      "25 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 "
    ATAPI device hdb:
      Error: Not ready -- (Sense key=0x02)
      Incompatible medium installed -- (asc=0x30, ascq=0x00)
      The failed "Read Cd/Dvd Capacity" packet command was:
      "25 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 "
    ATAPI device hdb:
      Error: Not ready -- (Sense key=0x02)
      Incompatible medium installed -- (asc=0x30, ascq=0x00)
      The failed "Read Cd/Dvd Capacity" packet command was:
      "25 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 "
    ATAPI device hdb:
      Error: Not ready -- (Sense key=0x02)
      Incompatible medium installed -- (asc=0x30, ascq=0x00)
      The failed "Read Cd/Dvd Capacity" packet command was:
      "25 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 "
    If I could actually interpret that it seems like it could be relevent. hdb is my cd-rw/dvd combo drive.

    Again thanks for your help.
    HP Pavilion dv6000t
    Intel Centrino Duo 2.0GHz
    nVidia GeForce Go 7400
    Fedora 10

    ----------------------
    The real question is what time is it and why the hell am I still screwing around with my computer?

  6. #16
    Linux Newbie pajamabama's Avatar
    Join Date
    Jul 2005
    Location
    In another time's forgotten space
    Posts
    150
    Also, I can't get MPlayer to run period. No music, video, dvd, nada. I consistently get the error I posted above. And I've tried installing the latest version and was immediately subjected to Death by a Thousand Dependencies. I'm still working on it.
    HP Pavilion dv6000t
    Intel Centrino Duo 2.0GHz
    nVidia GeForce Go 7400
    Fedora 10

    ----------------------
    The real question is what time is it and why the hell am I still screwing around with my computer?

  7. #17
    Linux Guru
    Join Date
    Oct 2001
    Location
    Täby, Sweden
    Posts
    7,578
    Hmm... I don't know what to say -- that's your DVD-ROM hardware itself reporting that it cannot read the disk (because it is an "incompatible medium"). Have you ever gotten those disks to work in it?

    It could still be some CSS authorization stuff, but I really, really don't think so, because even then it shouldn't be blocking the first sector.

  8. #18
    Linux Engineer LondoJowo's Avatar
    Join Date
    May 2005
    Location
    Richmond, TX
    Posts
    804
    Have you got DMA enabled on the drive? You can do this in the Hardware section of YaST. I don't know if this will affect the drives ability to read the disk but once you get them going it will make a major difference.

  9. #19
    Linux Newbie pajamabama's Avatar
    Join Date
    Jul 2005
    Location
    In another time's forgotten space
    Posts
    150
    This is my /etc/fstab:

    Code:
    sean@Iago:~> cat /etc/fstab
    /dev/hda3            /                    reiserfs   acl,user_xattr        1 1
    /dev/hda2            swap                 swap       pri=42                0 0
    devpts               /dev/pts             devpts     mode=0620,gid=5       0 0
    proc                 /proc                proc       defaults              0 0
    usbfs                /proc/bus/usb        usbfs      noauto                0 0
    sysfs                /sys                 sysfs      noauto                0 0
    /dev/cdrecorder      /media/cdrecorder    subfs      fs=cdfss,ro,procuid,nosuid,nodev,exec,iocharset=utf8 0 0
    /dev/fd0             /media/floppy        subfs      fs=floppyfss,procuid,nodev,nosuid,sync 0 0
    I don't see any references to /dev/dvd. I don't know if this is required becuase /dev/cdrecorder is actually the same physical drive.

    Also, no love trying a non-encrypted (home-made) DVD nor a data DVD (Myst IV - Revelation). 'ls /media/recorder' (/media/cdrecorder being the only actual mount point for /dev/hdb) tried for a long time but finally returned 'no medium found'

    I'm starting grad school soon so maybe I'll meet some Linux geeks out there who can help in person. I appreciate all y'alls help so far.
    HP Pavilion dv6000t
    Intel Centrino Duo 2.0GHz
    nVidia GeForce Go 7400
    Fedora 10

    ----------------------
    The real question is what time is it and why the hell am I still screwing around with my computer?

  10. #20
    Linux Newbie pajamabama's Avatar
    Join Date
    Jul 2005
    Location
    In another time's forgotten space
    Posts
    150
    Thanks for all your help. I think I just figured out that this is probably just a dern hardware problem like Dolda2000 suggested . My mom, whose hand-me-down this is, just told me that she began having trouble with the drive under XP too. And, I plugged in an external DVD-RW that mounted easily and was able to play DVDs no problem.

    Well thanks again for the input. And I certainly did learn a bunch about my system. I guess DVD's just might be out of the question on this one.

    Sean
    HP Pavilion dv6000t
    Intel Centrino Duo 2.0GHz
    nVidia GeForce Go 7400
    Fedora 10

    ----------------------
    The real question is what time is it and why the hell am I still screwing around with my computer?

Page 2 of 3 FirstFirst 1 2 3 LastLast

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •