LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Home Forums Tutorials Articles Register
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 09-22-2007, 07:18 AM   #1
DiBosco
Member
 
Registered: Nov 2001
Location: Manchester, UK
Distribution: Mageia
Posts: 807

Rep: Reputation: 40
Installs from DVD, but then Linux does not see the DVD!


I have just got a new laptop with no OS and have installed Mandriva Spring. The install goes just fine from the DVD, but then when you run Mandriva it just doesn't see the DVD. It's not in /dev/, control centre doesn't see it either. I've installed Mandriva on laptops plenty of times before and had no issues like this.

Does anyone have any suggestions on what might be wrong and how to fix it?

One thing to mention: if I boot from my Mandriva USB key it recognises the DVD and automounts, so I think it must be an installation problem, not a hardware issue.

Last edited by DiBosco; 09-22-2007 at 07:20 AM.
 
Old 09-22-2007, 11:30 AM   #2
PTrenholme
Senior Member
 
Registered: Dec 2004
Location: Olympia, WA, USA
Distribution: Fedora, (K)Ubuntu
Posts: 4,187

Rep: Reputation: 354Reputation: 354Reputation: 354Reputation: 354
Or a driver problem. Look at the /sbin/lspci output to see if the DVD is detected, and at the dmesg output for any error messages. (A dmesg | grep -i "error" is often a good place to start.)

P.S. - This is, in my opinion, more likely to be a Mandriva problem that a hardware problem. You might consider asking the moderator to move this thread to that sub-forum.

P.P.S. - You've neglected to specify the make and model of the DVD device, so specific comments in this sub-forum are not very likely.
 
Old 09-22-2007, 11:42 AM   #3
DiBosco
Member
 
Registered: Nov 2001
Location: Manchester, UK
Distribution: Mageia
Posts: 807

Original Poster
Rep: Reputation: 40
Thanks for the reply.

lspci doesn't seem to list any DVD player at all.

The grep of the dmesg just gives

(standard input)

It looks like the DVD is a TSSTcorp SN-S082H, but I could only see this by freezing the boot by pressing the pause button! I can't see any reference to this once I am booted.

Fair comment about the catagory, I wasn't sure which one to put it in really. I could try installing Kubuntu just to see whether that sees it...
 
Old 09-22-2007, 11:58 AM   #4
bigrigdriver
LQ Addict
 
Registered: Jul 2002
Location: East Centra Illinois, USA
Distribution: Debian stable
Posts: 5,908

Rep: Reputation: 356Reputation: 356Reputation: 356Reputation: 356
There is another possibility. I'll use my expernences with SuSE to illustrate.

In my current installation (SuSE 9.3) my cd/dvd combo drive is /dev/hdc. It the previous installation (SuSE 8.3), SuSE created a symlink /dev/cdrom linked to /dev/hdc for cd functions, and /dev/dvd linked to /dev/hdd for dvd functions. Go figure.

So, since the drive obviously works to install Mandriva, you may have a similar situation at work. Try going into the BIOS to see what the drive is called. Then in Mandriva, set up that device.
 
Old 09-22-2007, 12:19 PM   #5
jiml8
Senior Member
 
Registered: Sep 2003
Posts: 3,171

Rep: Reputation: 116Reputation: 116
try taking a look at /var/log/dmesg to see if the dvd is being seen at startup.

Most likely scenario, I think, is that you are not specifying a driver for the kernel when it starts. This also would account for why it works when started from USB or from a bootable DVD (different menu.lst).

Command line in /boot/grub/menu.lst should specify, for instance, hda=ide-cd (of course, hdx is set to match your configuration, with hda as primary IDE0, hdb as secondary IDE0, hdc as primary IDE1, hdd as secondary IDE1).

For reference, my menu.lst entry for Mandriva 2007.1 is this:

title linux mandriva 2007
kernel (hd0,1)/boot/vmlinuz root=/dev/sdc2 devfs=mount hda=ide-c
d hdb=ide-cd acpi=off resume=/dev/sdd1
initrd (hd0,1)/boot/initrd.img

This system uses SCSI hard drives; hda and hdb are both DVD drives.

Last edited by jiml8; 09-22-2007 at 12:21 PM.
 
Old 09-22-2007, 12:26 PM   #6
DiBosco
Member
 
Registered: Nov 2001
Location: Manchester, UK
Distribution: Mageia
Posts: 807

Original Poster
Rep: Reputation: 40
BigRig, I don't think that's the issue as there's nothing in /dev that looks like it's a DVD or CD. There's no /dev/hd* or /dev/cd* or /dev/dv*.

Last edited by DiBosco; 09-22-2007 at 12:27 PM.
 
Old 09-22-2007, 12:41 PM   #7
DiBosco
Member
 
Registered: Nov 2001
Location: Manchester, UK
Distribution: Mageia
Posts: 807

Original Poster
Rep: Reputation: 40
Jim, here's the closest entry I can find in the dmesg file:

ide: Assuming 33MHz system bus speed for PIO modes; override with idebus=xx
ICH8M: IDE controller at PCI slot 0000:00:1f.1
ACPI: PCI Interrupt 0000:00:1f.1[A] -> GSI 19 (level, low) -> IRQ 19
ICH8M: chipset revision 3
ICH8M: not 100% native mode: will probe irqs later
ide0: BM-DMA at 0x18a0-0x18a7, BIOS settings: hda: pio, hdb: DMA
ide1: BM-DMA at 0x18a8-0x18af, BIOS settings: hdc: pio, hdd: pio
Probing IDE interface ide0...
Probing IDE interface ide1...

Actually, that's odd, and a little like BigRig's maybe as it seems like it's seeing hda and hdc for one device!

If I look at my other (HP) laptop when it gets to this point it recognises both the HDD and the DVD (it's a SATA HDD on this machine).

As for the menu.lst I can't see anything like, but then again I can't on my HP laptop either!

What mine look like are something like this:

title 2.6.17-13
kernel (hd0,0)/vmlinuz BOOT_IMAGE=2.6.17-13 root=/dev/sda5 splash=silent resume=/dev/sda6 vga=791
initrd (hd0,0)/initrd.img

Last edited by DiBosco; 09-22-2007 at 12:43 PM.
 
Old 09-22-2007, 01:21 PM   #8
DiBosco
Member
 
Registered: Nov 2001
Location: Manchester, UK
Distribution: Mageia
Posts: 807

Original Poster
Rep: Reputation: 40
FWIW, when I boot from my USB stick, the dmesg does report it sees the drive as hdb. After the probing IDE interface IDE1 it reports it has found:

hdb: TSSTcorp CDDVD SN-S082H, ATAPI CD/DVD-ROM drive.

This makes me think the BIOS setting is correct.

The stick is a version of Mandriva 2007.1 as well. It's all very odd.
 
Old 09-22-2007, 02:24 PM   #9
bigrigdriver
LQ Addict
 
Registered: Jul 2002
Location: East Centra Illinois, USA
Distribution: Debian stable
Posts: 5,908

Rep: Reputation: 356Reputation: 356Reputation: 356Reputation: 356
Do you have a utility called hwinfo installed. I find it a bit more informative that harddrake. If you have it installed, try 'hwinfo --cdrom'. It should list the drive, the driver(s) needed, and whether or not the driver is active.
 
Old 09-23-2007, 09:47 AM   #10
DiBosco
Member
 
Registered: Nov 2001
Location: Manchester, UK
Distribution: Mageia
Posts: 807

Original Poster
Rep: Reputation: 40
I tried installing hwinfo, if I do hwinfo -cdrom it just says:

oops: don't know what to do with "cdrom"

If I pipe hwinfo to a text file, the only info I can find is this:

>> block.3: cdrom
----- /proc/sys/dev/cdrom/info -----
drive name:
drive speed:
drive # of slots:
Can close tray:
Can open tray:
Can lock tray:
Can change speed:
Can select disk:
Can read multisession:
Can read MCN:
Reports media changed:
Can play audio:
Can write CD-R:
Can write CD-RW:
Can read DVD:
Can write DVD-R:
Can write DVD-RAM:
Can read MRW:
Can write MRW:
Can write RAM:
----- /proc/sys/dev/cdrom/info end -----

Not sure whether that means it can see it, it seems to insinuate it can.
 
Old 09-23-2007, 11:39 AM   #11
PTrenholme
Senior Member
 
Registered: Dec 2004
Location: Olympia, WA, USA
Distribution: Fedora, (K)Ubuntu
Posts: 4,187

Rep: Reputation: 354Reputation: 354Reputation: 354Reputation: 354
My Mandriva installation runs a KDE desktop. If that's what you're using too, see if you have the KInfoCenter application in the System menu, and, if you do, see what it tells you about the cd/dvd device.

The fact that hwinfo cdrom return nothing suggests, to me, that your DVD has no installed driver.
 
Old 09-23-2007, 11:56 AM   #12
DiBosco
Member
 
Registered: Nov 2001
Location: Manchester, UK
Distribution: Mageia
Posts: 807

Original Poster
Rep: Reputation: 40
kinfocenter doesn't have anything in the cdrom bit (the HP laptop gives a load of information just like I found in my hwinfo text file above).

One thing I've just noticed in dmesg is this:

ide0: I/O resource 0x3F6-0x3F6 not free.
ide0: ports already in use, skipping probe
ide1: I/O resource 0x376-0x376 not free.
ide1: ports already in use, skipping probe

Could that be relevant?
 
Old 09-24-2007, 07:44 AM   #13
PTrenholme
Senior Member
 
Registered: Dec 2004
Location: Olympia, WA, USA
Distribution: Fedora, (K)Ubuntu
Posts: 4,187

Rep: Reputation: 354Reputation: 354Reputation: 354Reputation: 354
I just noticed that you said that hwinfo -cdrom gave you an error message. Was the "-" in front of the "cdrom" what you actually used? I'm not sure, but I think that "cdrom" is supposed to be an argument, not an option, so the "-" would be an unusual syntax.
 
Old 09-24-2007, 08:02 AM   #14
DiBosco
Member
 
Registered: Nov 2001
Location: Manchester, UK
Distribution: Mageia
Posts: 807

Original Poster
Rep: Reputation: 40
Ah yes, I did enter that incorrectly! Nevertheless, if I do --cdrom it comes up with no results.

Last night I had some correspondence with Mandriva and have entered a bug report at their request. It looks like it *might* be something to do with "borked" IDE old and PATA recent driver mix. This modern Intel chipset is causing problems I am guessing, although why on earth booting from the USB stick would help seems to suggest otherwise. Maybe it's because there's no Sata drivers used when booting from USB and they are are clashing (he totally guessed).
 
Old 10-01-2007, 11:54 AM   #15
pchri03
LQ Newbie
 
Registered: Oct 2007
Posts: 2

Rep: Reputation: 0
I've had similar problems with my Zepto laptop (ICH8M chipset, TSSTcorp CDDVDW SN-S082H), and I've actually managed to solve the problem somewhat on my box. To put it short, when not booting directly from the CD/DVD, the IDE controller is probably reset by ACPI which causes the IDE bus to be disabled - and the drivers does not enable the IDE bus themselves.
So my solution is to enable the IDE bus manually prior to loading the module.

Since I figure that the problem is not that uncommon, I've set up a home page for my fix, but apparently I cannot post URL's since this is my first post.
 
  


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
Linux aternative to Clone DVD, or DVD Shrink plosiv Linux - Software 53 04-07-2012 12:39 AM
Slackware 11 + Linux 2.6.17.13-smp + Benq DVD-ROM = Can't read dvd johndlagart Linux - Hardware 2 06-22-2007 01:37 AM
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
LXer: Sabayon live DVD installs a version of Gentoo LXer Syndicated Linux News 0 09-29-2006 10:33 AM
LXer: Howto: Linux write (burn) data to DVD or DVD/RW at shell prompt LXer Syndicated Linux News 0 07-11-2006 03:21 PM

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

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