[Bug 441009] [NEW] dvd device returning wrong size

Sam Mason sam at samason.me.uk
Sat Oct 3 00:52:55 UTC 2009


Public bug reported:

I was trying to play a dvd and getting strange errors.  Played the first
20 minutes or so and then stopped.  Played around for a bit and noticed
that it thought the block device is only 1GB in size with the same
symptoms as:

  http://osdir.com/ml/debian-user-debian/2009-06/msg01139.html

With one DVD in, I see:

$ sdparm -C capacity /dev/dvd
    /dev/dvd: TSSTcorp  CD/DVDW SH-S182D  SB03  [cd/dvd]
blocks: 3795908
block_length: 2048
capacity_mib: 7413.9

$ /sbin/blockdev --getsize64 /dev/dvd
1073741312

Tried a few DVDs in the end, but all seemed to give similar results---
the reported size changed a bit depending on the DVD, but the kernel
always reported it being 1GiB in size.

Not sure if this should be reported against the kernel, but couldn't
think of anything better.

Let me know if any other details would help.  The suggested "ubuntu-bug
-p linux" gave an error?!  So will attach recommended files.


  Sam

ProblemType: Bug
Architecture: amd64
AudioDevicesInUse:
 USER        PID ACCESS COMMAND
 /dev/snd/controlC1:  sam        2463 F.... pulseaudio
CRDA: Error: [Errno 2] No such file or directory
Card0.Amixer.info:
 Card hw:0 'HDMI'/'HDA ATI HDMI at 0xfdefc000 irq 25'
   Mixer name	: 'ATI R6xx HDMI'
   Components	: 'HDA:1002aa01,00aa0100,00100000'
   Controls      : 4
   Simple ctrls  : 1
Card0.Amixer.values:
 Simple mixer control 'IEC958',0
   Capabilities: pswitch pswitch-joined
   Playback channels: Mono
   Mono: Playback [off]
Card1.Amixer.info:
 Card hw:1 'VT82xx'/'HDA VIA VT82xx at 0xbfffc000 irq 17'
   Mixer name	: 'Realtek ALC662 rev1'
   Components	: 'HDA:10ec0662,15650000,00100101'
   Controls      : 33
   Simple ctrls  : 17
Date: Sat Oct  3 01:44:43 2009
DistroRelease: Ubuntu 9.10
HibernationDevice: RESUME=UUID=f7acb705-c111-49f1-abfd-ee8061548fca
IwConfig:
 lo        no wireless extensions.
 
 eth1      no wireless extensions.
MachineType: BIOSTAR Group P4M900-M7 FE
Package: linux-image (not installed)
ProcCmdLine: BOOT_IMAGE=/vmlinuz-2.6.31-10-generic root=/dev/mapper/vg_main-lv_main ro quiet splash
ProcEnviron:
 PATH=(custom, user)
 LANG=en_GB.UTF-8
 SHELL=/bin/bash
ProcVersionSignature: Ubuntu 2.6.31-10.35-generic
RelatedPackageVersions: linux-firmware 1.19
RfKill:
 
SourcePackage: linux-meta
Uname: Linux 2.6.31-10-generic x86_64
dmi.bios.date: 06/25/2008
dmi.bios.vendor: Phoenix Technologies, LTD
dmi.bios.version: 6.00 PG
dmi.board.name: P4M900-M7 FE
dmi.board.vendor: BIOSTAR Group
dmi.board.version: Ver:1.0
dmi.chassis.type: 3
dmi.chassis.vendor: BIOSTAR Group
dmi.chassis.version: P4M900-M7 FE
dmi.modalias: dmi:bvnPhoenixTechnologies,LTD:bvr6.00PG:bd06/25/2008:svnBIOSTARGroup:pnP4M900-M7FE:pvrVer1.0:rvnBIOSTARGroup:rnP4M900-M7FE:rvrVer1.0:cvnBIOSTARGroup:ct3:cvrP4M900-M7FE:
dmi.product.name: P4M900-M7 FE
dmi.product.version: Ver:1.0
dmi.sys.vendor: BIOSTAR Group

** Affects: linux-meta (Ubuntu)
     Importance: Undecided
         Status: New


** Tags: amd64 apport-bug

-- 
dvd device returning wrong size
https://bugs.launchpad.net/bugs/441009
You received this bug notification because you are a member of Kernel
Bugs, which is subscribed to linux-meta in ubuntu.




More information about the kernel-bugs mailing list