LinuxQuestions.org
Help answer threads with 0 replies.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices


Reply
  Search this Thread
Old 03-14-2010, 11:06 AM   #1
forum1793
Member
 
Registered: May 2008
Posts: 312

Rep: Reputation: 34
/dev/dvd


I haven't upgraded current64 in a while but did so within the past couple of days. I noticed xine and mplayer no longer show DVDs. The /dev/dvd link is gone.

Also, when telling either program to run from /dev/hdc, which worked in the past, now doesn't work and I get many errors. Dropping back to 12.2 and the DVDs view fine.

The upgrade before this one changed /dev/hdc to /dev/sr0 or something like that. But now it's back to hdc.

Suggestions?
 
Old 03-15-2010, 07:59 AM   #2
gegechris99
Senior Member
 
Registered: Oct 2005
Location: France
Distribution: Slackware 15.0 64bit
Posts: 1,160
Blog Entries: 5

Rep: Reputation: 392Reputation: 392Reputation: 392Reputation: 392
Hello,

It would be useful if you could point us to your starting point (when was the last time you upgraded to -current).

Anyhow, as you mentioned the switch from /dev/hdc to /dev/sr0, you might be interested in the following thread:

Post 13.0 switch from hd* --> sd* in -current with 2.6.32+

that provides guidance to manage this update in -current:

Quote:
Mon Jan 4 21:43:02 UTC 2010
New kernels... and this deserves a mention/warning: the last bits of the
"old" IDE/ATA system have been removed now. Everything should be using
the libata based drivers now, so if you have any drives that are currently
running as /dev/hda, /dev/hdb, etc., when you reboot with these kernels all
drives will be renamed as /dev/sda, /dev/sdb, etc. If you had any /dev/sd*
already, they might get renamed. Adjustments may be required in
/etc/lilo.conf, /etc/fstab, the initrd, and elsewhere. Good luck!
....
 
Old 03-16-2010, 08:50 PM   #3
forum1793
Member
 
Registered: May 2008
Posts: 312

Original Poster
Rep: Reputation: 34
I don't remember the exact dates. I upgraded probably 2-3 weeks back and all was well. Then there were a huge number of upgrades maybe around 3/8-10. That was when the dvd changed to sr0. Then the next day another huge number of upgrades and its back at hdc.

I do vaguely remember that thread about the libata. I didn't follow it as I was using grub and had already previously started using newer kernel. It didn't really impact me as I was only using sata hds and they didn't change. I never had any issue with the dvd drive. It stayed at hdc.

It would be interesting if it worked the whole time only because I didn't delete the udev rules file. I'll give that a shot.

Or maybe my custom kernel keeps it hdc and I saw sr0 when using the generic kernel which I normally don't use. I'll have to try a few things.
 
Old 03-16-2010, 09:54 PM   #4
forum1793
Member
 
Registered: May 2008
Posts: 312

Original Poster
Rep: Reputation: 34
I can confirm, in generic or Huge, dvd is sr0. But in my custom kernel 2.6.34-rc1 as well as 2.6.33-rc8, dvd is hdc.

Running Huge correctly creates /dev/dvd link to the dvd drive.
But generic does not.

When running generic the first line in the normal boot is a message about a memory collision or something like that. It does not show up using Huge. I'll try to write it down next time I see it.

Looking at my syslog, I see the following two lines are the first seen up on booting. They start on March 4 and happen every reboot.

udevd[1106]: bind failed: address already in use
udevd[1106]: error binding control socket, seems udevd is already running.

But I also see these when booting Huge when most things seem to work.

Looking at kernel configs
Huge:
Code:
CONFIG_HAVE_IDE=y
# CONFIG_IDE is not set

#
# SCSI device support
My custom
Code:
CONFIG_HAVE_IDE=y
CONFIG_IDE=y

#
# Please see Documentation/ide/ide.txt for help/info on IDE drives
#
CONFIG_IDE_XFER_MODE=y
CONFIG_IDE_ATAPI=y
# CONFIG_BLK_DEV_IDE_SATA is not set
CONFIG_IDE_GD=y
CONFIG_IDE_GD_ATA=y
# CONFIG_IDE_GD_ATAPI is not set
CONFIG_BLK_DEV_IDECD=m
CONFIG_BLK_DEV_IDECD_VERBOSE_ERRORS=y
# CONFIG_BLK_DEV_IDETAPE is not set
# CONFIG_BLK_DEV_IDEACPI is not set
# CONFIG_IDE_TASK_IOCTL is not set
CONFIG_IDE_PROC_FS=y

#
# IDE chipset support/bugfixes
#
# CONFIG_IDE_GENERIC is not set
# CONFIG_BLK_DEV_PLATFORM is not set
# CONFIG_BLK_DEV_CMD640 is not set
# CONFIG_BLK_DEV_IDEPNP is not set
CONFIG_BLK_DEV_IDEDMA_SFF=y

#
# PCI IDE chipsets support
#
CONFIG_BLK_DEV_IDEPCI=y
CONFIG_IDEPCI_PCIBUS_ORDER=y
# CONFIG_BLK_DEV_GENERIC is not set
# CONFIG_BLK_DEV_OPTI621 is not set
# CONFIG_BLK_DEV_RZ1000 is not set
CONFIG_BLK_DEV_IDEDMA_PCI=y
# CONFIG_BLK_DEV_AEC62XX is not set
# CONFIG_BLK_DEV_ALI15X3 is not set
# CONFIG_BLK_DEV_AMD74XX is not set
CONFIG_BLK_DEV_ATIIXP=y
# CONFIG_BLK_DEV_... not set
...
CONFIG_BLK_DEV_IDEDMA=y

#
# SCSI device support
I can try doing custom kernel with ide settings from Huge. That should make my dvd link to sr0. Still have to play with why /dev/dvd on generic does not link correctly and see if that situation exists for custom kernel.
 
Old 03-16-2010, 10:42 PM   #5
forum1793
Member
 
Registered: May 2008
Posts: 312

Original Poster
Rep: Reputation: 34
Solved

OK, doing custom kernel and removing ide since now deprecated seems to have resolved problems. I still get the udevd messages but it seems to work. Not sure why generic not working but would seem like the initrd.gz I made must not be quite right. Thanks for pointer.
 
  


Reply



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 Player Problem in fedora /dev/dvd not found sxa Linux - Hardware 9 08-23-2006 08:17 PM
ln: creating symbolic link `/dev/dvd' to `/dev/hdc': Permission denied qazwsx27 Fedora 3 06-14-2005 02:09 PM
Sony DVD DDU1612. /dev/dvd no such file lamedavis Linux - Hardware 2 03-30-2004 06:06 PM
growisofs -Z /dev/dvd=/dev/zero failed penguin123 Linux - Hardware 1 02-19-2004 03:06 AM
DMA on /dev/hda but not on /dev/dvd jslade Linux - Hardware 4 04-07-2003 11:26 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware

All times are GMT -5. The time now is 10:44 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
Open Source Consulting | Domain Registration