[Bug 581925] Re: HL-DT-ST DVD-RAM GH22NP20: Does not recognize any CD

2010-08-08 Thread Martin Pitt
** Package changed: linux (Ubuntu) => udev (Ubuntu) ** Summary changed: - HL-DT-ST DVD-RAM GH22NP20: Does not recognize any CD + Does not recognize blank rewritable DVDs ** Summary changed: - Does not recognize blank rewritable DVDs + cdrom_id: Does not recognize blank rewritable DVDs -- cdro

[Bug 581925] Re: HL-DT-ST DVD-RAM GH22NP20: Does not recognize any CD

2010-08-05 Thread jonie
This is likely a problem with Brasero when there is more than one optical drive, and the first to go is actually not the recorder with a blank cd inside. I'll try to recreate the problem on an old computer where the dvd-rom is the first target for cdrecord and will report results. In the meantime l

[Bug 581925] Re: HL-DT-ST DVD-RAM GH22NP20: Does not recognize any CD

2010-08-05 Thread Martin Smat
I think this output provides better information: cdrecord -dev=1,0,0 -minfo Cdrecord-ProDVD-ProBD-Clone 3.00 (i686-pc-linux-gnu) Copyright (C) 1995-2010 J�rg Schilling scsidev: '1,0,0' scsibus: 1 target: 0 lun: 0 Linux sg driver version: 3.5.34 Using libscg version 'schily-0.9'. Device type:

[Bug 581925] Re: HL-DT-ST DVD-RAM GH22NP20: Does not recognize any CD

2010-08-05 Thread Martin Smat
After installing all 3 utilities from https://launchpad.net/~brandonsnider/+archive/cdrtools Brasero still reports "Not enough space on the empty CD". Output of "cdrecord -minfo" cdrecord -minfo Cdrecord-ProDVD-ProBD-Clone 3.00 (i686-pc-linux-gnu) Copyright (C) 1995-2010 J�rg Schilling Linux sg d

[Bug 581925] Re: HL-DT-ST DVD-RAM GH22NP20: Does not recognize any CD

2010-08-05 Thread jonie
I forgot to add that you have to enable Brandon Snider ppa to install the Schilly utils: https://launchpad.net/~brandonsnider/+archive/ppa -- HL-DT-ST DVD-RAM GH22NP20: Does not recognize any CD https://bugs.launchpad.net/bugs/581925 You received this bug notification because you are a member of

[Bug 581925] Re: HL-DT-ST DVD-RAM GH22NP20: Does not recognize any CD

2010-08-05 Thread jonie
Well, that's good news for the patch. The function of cdrom_id is to set those ID_CDROM variables and it's working fine, the output is exactly the same as you would get using a newer recorder. The problem is Brasero related I think, or perhaps is related to the cdrkit fork of cdrtools. You can make

[Bug 581925] Re: HL-DT-ST DVD-RAM GH22NP20: Does not recognize any CD

2010-08-05 Thread Martin Smat
jonie: after using your patched udev I got a partial success: 1. Inserting blank CD-R into my drive 2. Popup dialog appears letting me choose what I want to do with the empty CD and blank CD icon appears on the desktop (this is a good progress comparing my original situation) 3. Opening Brasero a

[Bug 581925] Re: HL-DT-ST DVD-RAM GH22NP20: Does not recognize any CD

2010-07-17 Thread jonie
So the drive is MMC... If you don't mind that you might run into accidental breakage (be warned) install udev package from my ppa https://launchpad.net/~jonie/+archive/ppa and paste the output of /lib/udev/cdrom_id --debug /dev/sr1 having a blank cd inside (if it goes well the system should det

[Bug 581925] Re: HL-DT-ST DVD-RAM GH22NP20: Does not recognize any CD

2010-07-17 Thread Martin Smat
Here is sdparm output for my drive: sudo sdparm --page=0x2a /dev/sr1 /dev/sr1: TEAC CD-W54E 1.1B [cd/dvd] CD/DVD (MM) capabilities and mechanical status (MMC) mode page: D_RAM_R 0 [cha: n, def: 0] D_R_R 0 [cha: n, def: 0] D_ROM_R 0 [cha: n, def: 0] ME

[Bug 581925] Re: HL-DT-ST DVD-RAM GH22NP20: Does not recognize any CD

2010-07-14 Thread Martin Smat
jonie: Thanks for your idea. I will post the result of sdparam on Saturday when I'm back in front of that computer. Anyway this drive was working well in Jaunty (I don't know if in Karmic as I skipped this release) so from my point of view it is a regression in Lucid. -- HL-DT-ST DVD-RAM GH22NP

[Bug 581925] Re: HL-DT-ST DVD-RAM GH22NP20: Does not recognize any CD

2010-07-14 Thread jonie
Martin Smat: It's a different problem. It looks like your drive doesn't support MMC-2 GET CONFIGURATION command, hence the error. Pre MMC-2 drive will report its MM capabilities through MODE SENSE 2a page, but cdrom_id supports only MMC-2. Can you install sdparm sudo apt-get install sdparm and

[Bug 581925] Re: HL-DT-ST DVD-RAM GH22NP20: Does not recognize any CD

2010-07-12 Thread jonie
tastyracer: I think bug 578640 better describes what we are`observing so I'm going to make any future comments there -- HL-DT-ST DVD-RAM GH22NP20: Does not recognize any CD https://bugs.launchpad.net/bugs/581925 You received this bug notification because you are a member of Ubuntu Bugs, which is

[Bug 581925] Re: HL-DT-ST DVD-RAM GH22NP20: Does not recognize any CD

2010-07-10 Thread jonie
Since DVD+RWs are always complete hardware-wise (neither command 52h read track info will show any difference) we have to check if ISO9660 PVD and UDF PVD anchor are physically blank (sectors 16 and 256). I patched function cd_media_info so that it checks for zeroed sectors 16 and 256 and if so, se

[Bug 581925] Re: HL-DT-ST DVD-RAM GH22NP20: Does not recognize any CD

2010-07-09 Thread jonie
DVD+RW's are just overwritten, we have to read further into toc to check if the track is empty and if so, set the status to blank, otherwise it will always be complete -- HL-DT-ST DVD-RAM GH22NP20: Does not recognize any CD https://bugs.launchpad.net/bugs/581925 You received this bug notification

[Bug 581925] Re: HL-DT-ST DVD-RAM GH22NP20: Does not recognize any CD

2010-07-09 Thread jonie
scsi commands run by cdrom_id return identical values for blank and complete dvd+rw, except for media profile (this might be just garbage) ** Attachment added: "scsi.txt" http://launchpadlibrarian.net/51624243/scsi.txt -- HL-DT-ST DVD-RAM GH22NP20: Does not recognize any CD https://bugs.launc

[Bug 581925] Re: HL-DT-ST DVD-RAM GH22NP20: Does not recognize any CD

2010-07-09 Thread jonie
The problem lies definitely in cdrom_id – it cannot tell a blank dvd+rw from a complete dvd+rw, it shows the media having TOC and a data session. The function cd_media_info in cdrom_id should provide additional check if cd_media_dvd_plus_rw is set and get cd_media_state in a different way I gue

[Bug 581925] Re: HL-DT-ST DVD-RAM GH22NP20: Does not recognize any CD

2010-07-08 Thread tastyracer
AhaI too now can mount blank CD-RW, must have snuck without me noticing, thanks jonie. Still no luck with blank DVD+RW though - now up to 2.6.32-23. -- HL-DT-ST DVD-RAM GH22NP20: Does not recognize any CD https://bugs.launchpad.net/bugs/581925 You received this bug notification because you a

[Bug 581925] Re: HL-DT-ST DVD-RAM GH22NP20: Does not recognize any CD

2010-07-08 Thread jonie
Unlike tastyracer I can mount empty CD-RW. DVD+RW also produces another error: when dvd-video on +rw disc is inserted Totem crashes telling about insufficient permissions but I can play the content using vlc or in totem by double clicking a vob file. -- HL-DT-ST DVD-RAM GH22NP20: Does not recogni

[Bug 581925] Re: HL-DT-ST DVD-RAM GH22NP20: Does not recognize any CD

2010-07-08 Thread jonie
Same problems with 2.6.35-rc1, -RW is ok, +RW is not recognized. -- HL-DT-ST DVD-RAM GH22NP20: Does not recognize any CD https://bugs.launchpad.net/bugs/581925 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list

[Bug 581925] Re: HL-DT-ST DVD-RAM GH22NP20: Does not recognize any CD

2010-07-08 Thread jonie
And dmesg output: dmesg | tail [ 759.530413] Info fld=0x0 [ 759.530419] sr 6:0:0:0: [sr0] Add. Sense: Logical block address out of range [ 759.530434] sr 6:0:0:0: [sr0] CDB: Read(10): 28 00 00 00 00 00 00 00 01 00 [ 759.530478] end_request: I/O error, dev sr0, sector 0 [ 759.533476] sr 6:0:0:

[Bug 581925] Re: HL-DT-ST DVD-RAM GH22NP20: Does not recognize any CD

2010-07-08 Thread jonie
I see similar problems as tastyracer in Lucid with HL-DT-ST DVD-RAM GSA- H10N. I can't mount blank DVD+RW (but DVD-RW is fine). Of course command line utils like growisofs or dvd+rw-format do work. I can see my cairo-dock flashing dvd drive is mounted/umounted as if it was being notified by dbus.

[Bug 581925] Re: HL-DT-ST DVD-RAM GH22NP20: Does not recognize any CD

2010-07-04 Thread Martin Smat
Using kernel 2.6.32-23 and blank CD are not recognized by my CD writer. sudo /lib/udev/cdrom_id --debug /dev/sr1 [sudo] password for msmat: main: probing: '/dev/sr1' cd_inquiry: INQUIRY: [TEAC][CD-W54E ][1.1B] info_scsi_cmd_err: GET CONFIGURATION failed with SK=5h/ASC=20h/ACQ=00h ID_C

[Bug 581925] Re: HL-DT-ST DVD-RAM GH22NP20: Does not recognize any CD

2010-07-01 Thread R33D3M33R
My feedback again: it worked for like a week or two, but now it is broken even more than before, this time I get this bug: https://bugs.launchpad.net/ubuntu/+source/linux/+bug/501950 -- HL-DT-ST DVD-RAM GH22NP20: Does not recognize any CD https://bugs.launchpad.net/bugs/581925 You received this b

[Bug 581925] Re: HL-DT-ST DVD-RAM GH22NP20: Does not recognize any CD

2010-06-14 Thread Chase Douglas
** Tags removed: kernel-candidate -- HL-DT-ST DVD-RAM GH22NP20: Does not recognize any CD https://bugs.launchpad.net/bugs/581925 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com ht

[Bug 581925] Re: HL-DT-ST DVD-RAM GH22NP20: Does not recognize any CD

2010-06-07 Thread Chase Douglas
Amatriain, We do have a bug in our daily build kernels that will hopefully be fixed within a day or two. In the meantime, please try the kernel at http://kernel.ubuntu.com/~kernel-ppa/mainline/v2.6.35-rc1-lucid/. Thanks ** Tags added: kernel-candidate kernel-reviewed ** Tags removed: kernel-need

[Bug 581925] Re: HL-DT-ST DVD-RAM GH22NP20: Does not recognize any CD

2010-06-06 Thread Amatriain
I've updated to kernel 2.6.32-22-generic and I'm experiencing the same problems: after a reboot I'm able to mount DVDs and CDs and burn DVDs for a few minutes, then they stop working until the next reboot. I've looked at the instructions to test a mainline kernel build: https://wiki.ubuntu.com/Ke

[Bug 581925] Re: HL-DT-ST DVD-RAM GH22NP20: Does not recognize any CD

2010-06-06 Thread tastyracer
Still not working for blank DVD-RW for me, everything else ok. I'm using the standard kernel release 2.6.32-22 but according to possibly related bug #562092 newer PPA kernels could be ok. -- HL-DT-ST DVD-RAM GH22NP20: Does not recognize any CD https://bugs.launchpad.net/bugs/581925 You received t

[Bug 581925] Re: HL-DT-ST DVD-RAM GH22NP20: Does not recognize any CD

2010-06-05 Thread R33D3M33R
After most recent kernel updates in the repositories, my problem seems to be gone. I tried to mount and use a music CD and data DVD -> it worked without problems. The DRDY error is also gone from the dmesg output. I will report back if the trouble appears again. -- HL-DT-ST DVD-RAM GH22NP20: Does

[Bug 581925] Re: HL-DT-ST DVD-RAM GH22NP20: Does not recognize any CD

2010-06-04 Thread Andy Whitcroft
** Tags added: kernel-core ** Tags removed: kernel-uncat -- HL-DT-ST DVD-RAM GH22NP20: Does not recognize any CD https://bugs.launchpad.net/bugs/581925 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list ubuntu-b

[Bug 581925] Re: HL-DT-ST DVD-RAM GH22NP20: Does not recognize any CD

2010-06-03 Thread Jeremy Foshee
Please test the most current round of updates and let me know the results of you testing. Additionally, please test the mainline build https://wiki.ubuntu.com/KernelTeam/MainlineBuilds to see if this behavior is the same in the latest upstream kernel. Thanks! ~JFo ** Tags added: kernel-needs-rev

Re: [Bug 581925] Re: HL-DT-ST DVD-RAM GH22NP20: Does not recognize any CD

2010-06-03 Thread Martin Pitt
Amatriain [2010-06-02 17:47 -]: > Also, to answer Martin, I don't see in dmesg any messages about CDROM at > any moment. Should I attach my dmesg? Sure, can't hurt for the kernel guys. Thanks! -- HL-DT-ST DVD-RAM GH22NP20: Does not recognize any CD https://bugs.launchpad.net/bugs/581925 You

[Bug 581925] Re: HL-DT-ST DVD-RAM GH22NP20: Does not recognize any CD

2010-06-02 Thread Amatriain
Also, to answer Martin, I don't see in dmesg any messages about CDROM at any moment. Should I attach my dmesg? -- HL-DT-ST DVD-RAM GH22NP20: Does not recognize any CD https://bugs.launchpad.net/bugs/581925 You received this bug notification because you are a member of Ubuntu Bugs, which is subscr

[Bug 581925] Re: HL-DT-ST DVD-RAM GH22NP20: Does not recognize any CD

2010-06-02 Thread Amatriain
(continues previous post) However, if I wait a little time (about a couple minutes) after reboot, with the blank DVD inserted and recognized, the DVD "disappears"; it no longer appears in Deskop or in Brasero. To be absolutely clear, this happens without me doing anything: - reboot computer - ins

[Bug 581925] Re: HL-DT-ST DVD-RAM GH22NP20: Does not recognize any CD

2010-06-02 Thread Amatriain
I've made some further testing, without much progress. I've rebooted with an ubuntu 9.10 liveCD. While running 9.10, I was able to mount CDs in my CD drive (I have two optical drives, a CD writer and a DVD writer, none is working under Lucid). I've not been able to test the DVD drive while running

[Bug 581925] Re: HL-DT-ST DVD-RAM GH22NP20: Does not recognize any CD

2010-06-02 Thread R33D3M33R
Sorry, i just redirected the output and didn't see what it wrote. Here is the full log, with medium mounted. ** Attachment added: "cdrom_debug.txt" http://launchpadlibrarian.net/49560141/cdrom_debug.txt -- HL-DT-ST DVD-RAM GH22NP20: Does not recognize any CD https://bugs.launchpad.net/bugs/58

Re: [Bug 581925] Re: HL-DT-ST DVD-RAM GH22NP20: Does not recognize any CD

2010-06-02 Thread Martin Pitt
R33D3M33R [2010-06-02 14:02 -]: > sudo /lib/udev/cdrom_id --debug /dev/sr0 > > worked now (output in attachment). This didn't include the debug parts, though. Also, it still shows that it didn't detect any medium. -- HL-DT-ST DVD-RAM GH22NP20: Does not recognize any CD https://bugs.launchpa

[Bug 581925] Re: HL-DT-ST DVD-RAM GH22NP20: Does not recognize any CD

2010-06-02 Thread R33D3M33R
After three reboots I was finally able to mount a DVD and the command: sudo /lib/udev/cdrom_id --debug /dev/sr0 worked now (output in attachment). But before the reboots the mount and the debug command didn't work at all. ** Attachment added: "cdrom_id.txt" http://launchpadlibrarian.net/49556