Kernel does not read DVDs, no automount

Bug #37876 reported by Jimmy Angelakos
38
Affects Status Importance Assigned to Milestone
linux-source-2.6.15 (Ubuntu)
Invalid
Medium
Unassigned

Bug Description

CDs are automounted normally and an icon appears on the desktop. This is not the case with DVDs, my drive's light flashes on and off for many seconds, then after it stops the DVD is not mounted.

Revision history for this message
Jimmy Angelakos (vyruss) wrote :
Download full text (4.2 KiB)

When I insert a DVD, dmesg looks like this:

[4317221.619000] attempt to access beyond end of device
[4317221.619000] hdc: rw=0, want=68, limit=4
[4317221.623000] attempt to access beyond end of device
[4317221.623000] hdc: rw=0, want=1252, limit=4
[4317221.624000] attempt to access beyond end of device
[4317221.624000] hdc: rw=0, want=1028, limit=4
[4317221.624000] UDF-fs: No partition found (1)
[4317221.652000] attempt to access beyond end of device
[4317221.652000] hdc: rw=0, want=68, limit=4
[4317221.656000] attempt to access beyond end of device
[4317221.656000] hdc: rw=0, want=1252, limit=4
[4317221.656000] attempt to access beyond end of device
[4317221.656000] hdc: rw=0, want=1028, limit=4
[4317221.656000] UDF-fs: No partition found (1)
[4317221.815000] attempt to access beyond end of device
[4317221.815000] hdc: rw=0, want=68, limit=4
[4317221.815000] isofs_fill_super: bread failed, dev=hdc, iso_blknum=16, block=16
[4317221.843000] attempt to access beyond end of device
[4317221.844000] hdc: rw=0, want=68, limit=4
[4317221.844000] isofs_fill_super: bread failed, dev=hdc, iso_blknum=16, block=16
[4317221.871000] FAT: utf8 is not a recommended IO charset for FAT filesystems, filesystem will be case sensitive!
[4317221.871000] FAT: bogus number of reserved sectors
[4317221.871000] VFS: Can't find a valid FAT filesystem on dev hdc.
[4317221.898000] FAT: bogus number of reserved sectors
[4317221.898000] VFS: Can't find a valid FAT filesystem on dev hdc.
[4317221.935000] NTFS-fs warning (device hdc): parse_options(): Option iocharset is deprecated. Please use option nls=<charsetname> in the future.
[4317221.935000] NTFS-fs error (device hdc): ntfs_fill_super(): Device has unsupported hardsect_size.
[4317221.964000] NTFS-fs error (device hdc): ntfs_fill_super(): Device has unsupported hardsect_size.
[4317222.042000] HFS+-fs: unable to find HFS+ superblock
[4317222.072000] HFS+-fs: unable to find HFS+ superblock
[4317222.147000] VFS: Can't find a HFS filesystem on dev hdc.
[4317222.176000] VFS: Can't find a HFS filesystem on dev hdc.
[4317222.208000] VFS: Can't find ext3 filesystem on dev hdc.
[4317222.238000] VFS: Can't find ext3 filesystem on dev hdc.
[4317222.307000] VFS: Can't find an ext2 filesystem on dev hdc.
[4317222.336000] VFS: Can't find an ext2 filesystem on dev hdc.
[4317222.439000] attempt to access beyond end of device
[4317222.439000] hdc: rw=0, want=20, limit=4
[4317222.439000] ReiserFS: hdc: warning: sh-2006: read_super_block: bread failed (dev hdc, block 4, size 2048)
[4317222.439000] attempt to access beyond end of device
[4317222.439000] hdc: rw=0, want=132, limit=4
[4317222.439000] ReiserFS: hdc: warning: sh-2006: read_super_block: bread failed (dev hdc, block 32, size 2048)
[4317222.439000] ReiserFS: hdc: warning: sh-2021: reiserfs_fill_super: can not find reiserfs on hdc
[4317222.467000] attempt to access beyond end of device
[4317222.468000] hdc: rw=0, want=20, limit=4
[4317222.468000] ReiserFS: hdc: warning: sh-2006: read_super_block: bread failed (dev hdc, block 4, size 2048)
[4317222.468000] attempt to access beyond end of device
[4317222.468000] hdc: rw=0, want=132...

Read more...

Revision history for this message
Jimmy Angelakos (vyruss) wrote :

The DVD I used for this attempt was a data DVD burned with K3B with Rock Ridge and Joliet extensions enabled. Options were: Allow 31 character ISO9660 filenames, ISO Level 2. I believe these are K3B's defaults.

IMPORTANT: This does not happen with commercial video DVDs (UDF):

[4317714.417000] UDF-fs INFO UDF 0.9.8.1 (2004/29/09) Mounting volume 'BlackAdder', timestamp 2036/02/07 04:58 (10b4)

Revision history for this message
Ben Collins (ben-collins) wrote :

It's very likely that your DVD drive does not like burned DVD's. If store bought DVD's work, this is surely the case.

The linux driver for this device doesn't differentiate between the media type in the drive. So if anything is causing a problem like this, it's the actual hardware.

Changed in linux-source-2.6.15:
status: Unconfirmed → Rejected
Revision history for this message
Jimmy Angelakos (vyruss) wrote :

Hold on a minute here, this is a "mainstream" drive and thousands of people have it, and it works flawlessly. It *used to work* perfectly well in Breezy under 2.6.12. It also works in Windows. And it does read burned DVDs, but not the ones that I burn with K3B. The ones that have been burnt in Windows' Nero work (I haven't figured out why). I think all of these point to that it is *definitely not* the hardware. Otherwise it wouldn't work under Breezy either and would read no burnt DVDs at all, and I wouldn't have filed this bug :)

I do think that you have rejected this bug prematurely, and I'm changing it back to unconfirmed. This drive worked under Breezy, this is a regression.

Changed in linux-source-2.6.15:
status: Rejected → Unconfirmed
Revision history for this message
Jimmy Angelakos (vyruss) wrote :

Same result, different error with my TEAC DV-516D DVD reader. I get:

Apr 7 19:23:12 localhost kernel: [4372747.764000] cdrom: This disc doesn't have any tracks I recognize!

This drive also worked perfectly in Breezy.

Revision history for this message
Ben Collins (ben-collins) wrote :

If it only fails with disks from a specific burn software, then that software is definitely at fault for creating a disk that is incompatible with your drive. It's that simple. Nothing in the kernel choses to read disks in certain ways, it either reads it or it doesn't.

It's the drive itself that decides whether the data can be read or not. So this may not be a hardware bug, but it is definitely not something I can overcome in the kernel.

Revision history for this message
Jimmy Angelakos (vyruss) wrote :

But then why did it work fine in Dapper?

Revision history for this message
Jimmy Angelakos (vyruss) wrote : Correction:

Correction: not in Dapper, in Breezy

Revision history for this message
Ben Collins (ben-collins) wrote :

Could have been an issue with DMA being enabled or disabled. If it works in dapper, then I'll just close it.

Changed in linux-source-2.6.15:
status: Unconfirmed → Fix Released
Revision history for this message
Jimmy Angelakos (vyruss) wrote :

Sorry, this was a typo, I meant to say it worked fine in 5.10 Breezy and no longer works in 6.06 Dapper.

Jimmy Angelakos (vyruss)
Changed in linux-source-2.6.15:
status: Fix Released → Needs Info
Revision history for this message
Jimmy Angelakos (vyruss) wrote :

More evidence of this in:
 http://ubuntuforums.org/showthread.php?p=1054136

Could this be a problem with growisofs?

This is very serious and is still not fixed days from release :(

Revision history for this message
towsonu2003 (towsonu2003) wrote :

Is http://ubuntuforums.org/showthread.php?t=182415 enough to mark this a "Confirmed"?

Revision history for this message
Stanislaw Pitucha (viraptor-gmail) wrote :

Probably got the same problem, but couldn't find this issue and filled it as bug #46966.
I've got LG's "HL-DT-ST DVD-RW GWA-4040N" and reading disks created on Breezy worked. After upgrading to Dapper, I can burn dvds with no problem (from .iso), but I can't read them on this system afterwards. Reading them in another computer is possible.
I tried albo writing with cdrecord-prodvd, which worked before too and now I get the same effect - can't read the dvd on this system.

Tried mounting it with 2.6.12-10 on this system and it still faults with message about being unable to find disk size.

Revision history for this message
Rob Foster (skeptic) wrote : re: [Bug 37876] Re: Kernel does not read DVDs, no automount

It does seem similar but the problem has gone away for me in Dapper. K3B prior to Dapper was not closing the DVDs. I
found that I could close them using CDburnerXPpro under XP and then they were readable.
>
> Is http://ubuntuforums.org/showthread.php?t=182415 enough to mark this a
> "Confirmed"?
>
> --
> Kernel does not read DVDs, no automount
> https://launchpad.net/bugs/37876

Revision history for this message
Guy Van Sanden (gvs) wrote :

I'm also seeing the SYS_RAWIO error because it says cdrecord isn't suid root. cdrecord seems to turn on burnfree from k3b by itself, so the disc works, but there's definately a problem.

This is the device identification:
HL-DT-ST DVD-RW GWA-4080N 0C09 (/dev/hdc, ) at /media/cdrom0 [CD-R; CD-RW; CD-ROM; DVD-ROM; DVD-R; DVD-RW;
 DVD+R; DVD+RW] [DVD-ROM; DVD-R Sequential; DVD-RW Restricted Overwrite; DVD-RW Sequential; DVD+RW; DVD+R;
 CD-ROM; CD-R; CD-RW] [SAO; TAO; RAW; SAO/R96P; SAO/R96R; RAW/R16; RAW/R96P; RAW/R96R; Restricted Overwrit
e]

And the error:
Error: Cannot gain SYS_RAWIO capability.Is cdrecord installed SUID root?
: Operation not permitted

Revision history for this message
Jimmy Angelakos (vyruss) wrote :

This still hasn't gone away, and is troubling me greatly. Burning and reading CDs is perfect, however DVDs burned in Dapper (Fresh install) with ANY program (k3b, gnomebaker, nerolinux) cannot be mounted.

Revision history for this message
EJ Finneran (ej-finneran) wrote :

Can confirm for me as well.
with:
 hdc: _NEC DVD_RW ND-3520A, ATAPI CD/DVD-ROM drive

All the latest dapper packages. K7 kernel.

Revision history for this message
Andrew Conkling (andrewski) wrote :

What info does this bug need?

Revision history for this message
Michael Chang (thenewme91) wrote :

I'm going to attempt to summarize the bug's info to date.

Based on above comments in the thread:
This bug is believed a REGRESSION between Ubuntu 6.06 and the previous release 5.10. The problem is that some written DVDs (but not all) can be read under other OSes, and in fact, Breezy (5.10), but not in Ubuntu Dapper (6.06). Some users have reported success with Kubuntu Dapper (6.06) as well.

It is confirmed there is a problem that is preventing certain users from reading certain DVD discs on certain drives. What the problem is, and what is causing it, is unknown or unconfirmed.

AFAIK, Reading DVDs isn't performed in user-space, it is done in the kernel. Therefore, a FIRST STEP to troubleshooting would to see if running under a *user-built kernel* built with kernel-package configured with the required DVD-reading options (notably, device support, either IDE, SCSI, or whatever your drive needs, as well as ISO9660 and UDF file system support) works.

If it does, then the kernel-building system and the kernel-builders' policies need to be revised. Maybe the archives for the mailing list for the kernel team (if any) or the wiki or whatever need to be consulted to see if they knew and if there was reason.

It might also help to see if this regression appeared in the upstream vanilla Linux kernel; although I assume if the config was done right, it should work, since I can burn from my custom 2.6.17 kernel on my Debian box (the other one). This would mainly be of note if upstream vanilla (or someone else) dropped drivers for certain disc drives.

Additional info that may help: A user with access to similar (preferably identical) or dual/triple/quad-boot system with Windows (presumably/preferably XP; other versions' support are reported flaky, and Vista is in beta), Ubuntu Dapper (6.06), Breezy (5.10), Kubuntu Dapper (6.06), or a combination of the four, one of which is Ubuntu Dapper, to burn DVDs under Windows, Breezy, and Dapper, and see which ones are readable under which systems. Debian unstable or another system may also be a useful benchmark if available. (The above reports seem inconsistent, so a unified report on all the same hardware would show whether or not this is a software problem. Also, if it shows Dapper can read all DVDs except for those produced by Dapper (and maybe Debian Unstable), then it means there is a problem in the burning software -- my first hunch would to be to look for bugs/regressions or incompatabilities in growisofs/dvd+rw-tools, maybe in OPC or similar. The changelog for said program may help.)

Further info that may help: A diff between the configs of the different kernel images for Dapper and Breezy. Assuming the report that the bug doesn't affect Kubuntu Dapper is true, a diff of the configs for the kernel image in Kubuntu versus Ubuntu would also help. (If, for example, by chance, the Dapper kernel has UDF file system support as modular (or omitted) where Breezy/Kubuntu didn't/doesn't, loading (via modprobe or similar) the module, if one was built, might help.)

Revision history for this message
Pawel (paweldk) wrote :

I can confirm this bug in Kubuntu Edgy Eft.
After upgrade from Dapper (UDF works well) to Edgy my DVD can't read UDF dvd's. So the bug also affect new kernel. I can burn UDF dvd's and they are readable in other OS'es (Win XP) but nod readable under Edgy. DVD burn in ISO are mounted and read without problems.

Revision history for this message
Mabouya (julien-haydersah) wrote :

This is a well known bug, but each time it is signalized the status is unconfirmed.....see bug 45620. This is not the only one bug sinalization about this problem, there is plenty others.

Revision history for this message
fmr (fmrbastien) wrote :

I have this bug too with feisty (Ubuntu fresh install) with 2 dvd-burners. since dapper i can't burn and read backups...

Revision history for this message
Marsal71 (marsal71) wrote :

I find the same problem: the CDs are recognized perfectly, but the DVD are not read or mounted (burned by me or not).
I use Samsung Writemaster CD/DVDW-SH-W162DTS00.
This work properly in Windows 2000 or 2003 with the apropriated firmware.

Revision history for this message
Michael Chang (thenewme91) wrote :

I suspect since feisty and gutsy use different kernels, *if* this is still a problem with newer versions of *buntu, it should be re-assigned to the newer kernel packages...

Revision history for this message
Adam (adam.russell) wrote :

Kubuntu Feisty Fawn
kernel 2.6.20-16-generic
LG DVDRAM internal, ATAPI, 8X DVD-R, 4X DVD-RW, 8X DVD+R, 4X DVD+RW, 3X DVD-RAM, 32X CD read, 24X CD-R, 16X CD-RW

Using K3b, I am unable to successfully burn a DVD. I get no errors during the burn, but I am unable to mount the burned DVD. I am also unable to mount a movie DVD via Konqueror. I must mount or pmount the DVD manually.

List of similar bug reports:
https://bugs.launchpad.net/ubuntu/+source/linux-source-2.6.15/+bug/37876
https://bugs.launchpad.net/ubuntu/+source/dvdrtools/+bug/46966
https://bugs.launchpad.net/ubuntu/+source/linux-source-2.6.20/+bug/94119
https://bugs.launchpad.net/ubuntu/+source/linux-source-2.6.20/+bug/121246

Revision history for this message
Robert Hrovat (robi-hipnos) wrote :

Happens to me too!!!

It started with Feisty and in now even in Gutsy. I use NeroLinux 3 with verification turned on. DVDs burns without errors but they become unreadable with those error messages mentioned here. If I put media to another computer, it works perfect.

Revision history for this message
Launchpad Janitor (janitor) wrote :

[Expired for linux-source-2.6.15 (Ubuntu) because there has been no activity for 60 days.]

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Duplicates of this bug

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.