[Bug 561585] Re: Blank cd/dvd not recognized [LUCID]

2010-07-16 Thread Bernard Decock
I have (another? or the same?) problem regarding a blank cd ( 
https://bugs.launchpad.net/ubuntu/+source/udev/+bug/602862 ) . in my case the 
blank cd is mounted properly but nautilus reports no free space on the cd. 
(Empty-cd-icon pops up - properties :
free space = 0 ??? used space = 0

lshal reports however that volume.disc.capacity = 735051776 (0x2bd0)
(uint64)

dmesg:

Jul 16 17:43:12 Ubuntu-Bernard kernel: [ 81.971591] sr 1:0:1:0: [sr1] Result: 
hostbyte=DID_OK driverbyte=DRIVER_SENSE
Jul 16 17:43:12 Ubuntu-Bernard kernel: [ 81.971601] sr 1:0:1:0: [sr1] Sense Key 
: Illegal Request [current]
Jul 16 17:43:12 Ubuntu-Bernard kernel: [ 81.971608] sr 1:0:1:0: [sr1] Add. 
Sense: Logical block address out of range
Jul 16 17:43:12 Ubuntu-Bernard kernel: [ 81.971619] sr 1:0:1:0: [sr1] CDB: 
Read(10): 28 00 00 00 00 00 00 00 01 00
Jul 16 17:43:12 Ubuntu-Bernard kernel: [ 81.974110] sr 1:0:1:0: [sr1] Result: 
hostbyte=DID_OK driverbyte=DRIVER_SENSE

I have udev version 151-12.

This problem did occur after installing the regular ubuntu-upgrades = can't 
burn cd's anylonger (brasero reports that there is
no space on the cd).

-- 
Blank cd/dvd not recognized [LUCID] 
https://bugs.launchpad.net/bugs/561585
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
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 561585] Re: Blank cd/dvd not recognized [LUCID]

2010-06-10 Thread Stephen Irons
I am experiencing this problem with udev 151-12. I have not tested with
previous versions.

My bug is different from the one reported by Aatriain above.

lp:592030

-- 
Blank cd/dvd not recognized [LUCID] 
https://bugs.launchpad.net/bugs/561585
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
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 561585] Re: Blank cd/dvd not recognized [LUCID]

2010-05-17 Thread Amatriain
I'm still experiencing this problem.

I created a bug with ubuntu-bug, here:

https://bugs.launchpad.net/ubuntu/+bug/581925

-- 
Blank cd/dvd not recognized [LUCID] 
https://bugs.launchpad.net/bugs/561585
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
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 561585] Re: Blank cd/dvd not recognized [LUCID]

2010-05-08 Thread Martin Pitt
The root cause for this particular bug was fixed in lucid. If you still
have this problem, can you please report a new one with ubuntu-bug
storage? Please let me know the new bug number here, so that I can
followup immediately. Thanks!

** Changed in: udev (Ubuntu)
   Status: In Progress = Fix Released

** Changed in: udev (Ubuntu Lucid)
   Status: In Progress = Fix Released

-- 
Blank cd/dvd not recognized [LUCID] 
https://bugs.launchpad.net/bugs/561585
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
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 561585] Re: Blank cd/dvd not recognized [LUCID]

2010-05-07 Thread Jethro10
I.m kinda lost here.
Is this considered fixed and released?
It's just that for me, it's still broken.

thanks
Jeff

** Changed in: udev (Ubuntu)
   Status: Fix Released = In Progress

** Changed in: udev (Ubuntu Lucid)
   Status: Fix Released = In Progress

-- 
Blank cd/dvd not recognized [LUCID] 
https://bugs.launchpad.net/bugs/561585
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
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 561585] Re: Blank cd/dvd not recognized [LUCID]

2010-05-01 Thread OberonKing
in my case can't mount any blank cd/dvd... and the written take a minute or so 
to mount.
My device are a LG - SATA2 (HL-DT-ST DVD-RAM GH22NS30)

the log keep saying end_request: I/O error, dev sr0, sector x (x
variable)

The udev package are the 151-12 that comes with lucid

If try to downgrade it to 151-5, like you'll said, I can't (says me that
I have an newest version) and if I try to uninstall it.. well, guest
what that's uninstall the system entirely.

I try to reinstall udev and nothing happens.

that thing of not use hal any more make me anger a lot... there's some
things that works fine on earlier versions that not work for my any
more. (tablet, IPOD shuffle, dvd writer... and who knows something else)

Please... how change something if you are not certainly if all work with
it?

-- 
Blank cd/dvd not recognized [LUCID] 
https://bugs.launchpad.net/bugs/561585
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
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 561585] Re: Blank cd/dvd not recognized [LUCID]

2010-05-01 Thread Vik
@OberonKing -- use Mandriva, you're LG Burner will work perfectly.

-- 
Blank cd/dvd not recognized [LUCID] 
https://bugs.launchpad.net/bugs/561585
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
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 561585] Re: Blank cd/dvd not recognized [LUCID]

2010-05-01 Thread OberonKing
it's sad read this... but i'm thinking about this (Mandriva or another)
but I use Ubuntu since Warty and it's a shame to leave it because of
this.

-- 
Blank cd/dvd not recognized [LUCID] 
https://bugs.launchpad.net/bugs/561585
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
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 561585] Re: Blank cd/dvd not recognized [LUCID]

2010-05-01 Thread Lucio M Nicolosi
On the other hand:

Everything is working fine for me right now.

LG-DVD RW GH22NP20 ATA  blank CD  ATA Zip drive 100 Mb, all behave as
expected.

Release 10.04 Lucid AMD64 (stable), Kernel 6.6.32.22-generic, udev
151.12.

Tks Martin Pitt  Ubuntu Team.

-- 
Blank cd/dvd not recognized [LUCID] 
https://bugs.launchpad.net/bugs/561585
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
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 561585] Re: Blank cd/dvd not recognized [LUCID]

2010-05-01 Thread Vik
So you're suggesting he buy the ns30 dvd drive. Its cheaper to just dual
boot or switch to mandriva, but thanks for your efforts in development.
Mandriva will work

-- 
Blank cd/dvd not recognized [LUCID] 
https://bugs.launchpad.net/bugs/561585
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
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 561585] Re: Blank cd/dvd not recognized [LUCID]

2010-05-01 Thread Lucio M Nicolosi
@Vik

I'm not suggesting anything, I just stated that Lucid stable/udev 151.12
worked for my hardware, after reporting (high above) to the developers
(which I'm not) that this bug affected me. I think that after my
complaints, the developers deserve to know.

-- 
Blank cd/dvd not recognized [LUCID] 
https://bugs.launchpad.net/bugs/561585
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
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 561585] Re: Blank cd/dvd not recognized [LUCID]

2010-04-19 Thread mniasfreemag
Hi,
I have the latest udev package which is udev151-11. It seems the above bug has 
reappeared or not fixed, when I downgraded to 151-5, my DRVROM and Dvd Burner 
seem to mount and unmount fine.

-- 
Blank cd/dvd not recognized [LUCID] 
https://bugs.launchpad.net/bugs/561585
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
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 561585] Re: Blank cd/dvd not recognized [LUCID]

2010-04-19 Thread mniasfreemag
hi ,
I think the new version 151 -12 seems to have fixed the problem.
Thanks

-- 
Blank cd/dvd not recognized [LUCID] 
https://bugs.launchpad.net/bugs/561585
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
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 561585] Re: Blank cd/dvd not recognized [LUCID]

2010-04-19 Thread Lucio M Nicolosi
Please clarify if this is the way it should work in Lucid.

After waiting for a patched udev release I'm currently running udev
151-12 on Lucid amd64 beta2 up to date.

from my fstab, (same as Karmic):  /dev/sr0   /media/cdrom0   udf,iso9660
user,noauto,exec,utf8 0   0

Two devices connected to the IDE port:

dvd r/w: /dev/sr1
legacy zipdrive: /media/ntfs-1 (not listed in fstab)

When media is inserted at zipdrive no auto mounting occurs although
media can be seen at Places/Computer and root mounted from there.

from syslog:

Apr 19 09:20:31 lm-xfx kernel: [61326.651464] sd 0:0:1:0: [sda] Spinning up 
disk.
Apr 19 09:20:34 lm-xfx kernel: [61332.648035] sd 0:0:1:0: [sda] Spinning up 
disk..ready
Apr 19 09:20:34 lm-xfx kernel: [61335.674224] sd 0:0:1:0: [sda] READ 
CAPACITY(16) failed
Apr 19 09:20:34 lm-xfx kernel: [61335.674231] sd 0:0:1:0: [sda] Result: 
hostbyte=DID_ERROR driverbyte=DRIVER_OK
Apr 19 09:20:34 lm-xfx kernel: [61335.674239] sd 0:0:1:0: [sda] Sense not 
available.
Apr 19 09:20:34 lm-xfx kernel: [61335.675155] sd 0:0:1:0: [sda] 196576 512-byte 
logical blocks: (100 MB/95.9 MiB)
Apr 19 09:20:34 lm-xfx kernel: [61335.685737] sd 0:0:1:0: [sda] READ 
CAPACITY(16) failed
Apr 19 09:20:34 lm-xfx kernel: [61335.685746] sd 0:0:1:0: [sda] Result: 
hostbyte=DID_ERROR driverbyte=DRIVER_OK
Apr 19 09:20:34 lm-xfx kernel: [61335.685753] sd 0:0:1:0: [sda] Sense not 
available.
Apr 19 09:20:34 lm-xfx kernel: [61335.697501]  sda: unknown partition table


When a written CD is inserted, its icon becomes available at Places. 
Different from Karmic, the icon has to be clicked to mount it. 

When a blank CD is inserted, the same happens, the icon becomes
available but as empty CD, it cannot be mounted, although (it seems) it
can be accessed by a CD burning application.

If I try to mount  a blank CD the following error is displayed:

Unable to mount cdrom0

mount: block device /dev/sr0 is write-protected, mounting read-only
mount: wrong fs type, bad option, bad superblock on /dev/sr0,
missing codepage or helper program, or other error
(could this be the IDE device where you in fact use
ide-scsi so that sr0 or sda or so is needed?)
In some cases useful info is found in syslog - try
dmesg | tail  or so

From syslog (partial):

Apr 19 08:55:24 lm-xfx kernel: [59826.067516] cdrom: This disc doesn't have any 
tracks I recognize!
Apr 19 08:55:24 lm-xfx kernel: [59826.075988] sr 0:0:0:0: [sr0] Result: 
hostbyte=DID_OK driverbyte=DRIVER_SENSE
Apr 19 08:55:24 lm-xfx kernel: [59826.076000] sr 0:0:0:0: [sr0] Sense Key : 
Illegal Request [current] 
Apr 19 08:55:24 lm-xfx kernel: [59826.076010] sr 0:0:0:0: [sr0] Add. Sense: 
Illegal mode for this track
Apr 19 08:55:24 lm-xfx kernel: [59826.076025] sr 0:0:0:0: [sr0] CDB: Read(10): 
28 00 00 00 00 00 00 00 01 00
Apr 19 08:55:24 lm-xfx kernel: [59826.076041] end_request: I/O error, dev sr0, 
sector 0
Apr 19 08:55:24 lm-xfx kernel: [59826.076049] __ratelimit: 40 callbacks 
suppressed
Apr 19 08:55:24 lm-xfx kernel: [59826.076054] Buffer I/O error on device sr0, 
logical block 0
Apr 19 08:55:24 lm-xfx kernel: [59826.078225] sr 0:0:0:0: [sr0] Result: 
hostbyte=DID_OK driverbyte=DRIVER_SENSE
Apr 19 08:55:24 lm-xfx kernel: [59826.078232] sr 0:0:0:0: [sr0] Sense Key : 
Illegal Request [current] 
Apr 19 08:55:24 lm-xfx kernel: [59826.078238] sr 0:0:0:0: [sr0] Add. Sense: 
Illegal mode for this track
Apr 19 08:55:24 lm-xfx kernel: [59826.078248] sr 0:0:0:0: [sr0] CDB: Read(10): 
28 00 00 00 00 00 00 00 01 00
Apr 19 08:55:24 lm-xfx kernel: [59826.078261] end_request: I/O error, dev sr0, 
sector 0


-- 
Blank cd/dvd not recognized [LUCID] 
https://bugs.launchpad.net/bugs/561585
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
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 561585] Re: Blank cd/dvd not recognized [LUCID]

2010-04-19 Thread Lucio M Nicolosi
In the previous posting instead of:

Two devices connected to the IDE port:
dvd r/w: /dev/sr1
   
please understand:

Two devices connected to the IDE port:
dvd r/w: /dev/sr0

-- 
Blank cd/dvd not recognized [LUCID] 
https://bugs.launchpad.net/bugs/561585
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
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 561585] Re: Blank cd/dvd not recognized [LUCID]

2010-04-19 Thread Lucio M Nicolosi
Re: karmic

Checked the same hw configuration in Karmic:

zipdrive (no fstab entry) and cd, both auto mounts w/ proper user rights
as soon as media is inserted.

-- 
Blank cd/dvd not recognized [LUCID] 
https://bugs.launchpad.net/bugs/561585
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
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 561585] Re: Blank cd/dvd not recognized [LUCID]

2010-04-19 Thread Martin Pitt
@Lucio: you cannot mount empty CDs, since they have no file systems.
But of course you can burn data on it, if you see the empty CD icon on
the desktop, things seem to work.

-- 
Blank cd/dvd not recognized [LUCID] 
https://bugs.launchpad.net/bugs/561585
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
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 561585] Re: Blank cd/dvd not recognized [LUCID]

2010-04-19 Thread Lucio M Nicolosi
Martin,

All updates but nothing at all on the Lucid desktop, no CD, no Zip,
that's the problem.

Of course it can be worked out, but I'm beginning to miss Karmic :-).

-- 
Blank cd/dvd not recognized [LUCID] 
https://bugs.launchpad.net/bugs/561585
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
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 561585] Re: Blank cd/dvd not recognized [LUCID]

2010-04-18 Thread Vik
sorry, stupid question, how do you downgrade to udev 151-5 , i have
151-11. Thank you for your time, I'm a newbie.

** Changed in: udev (Ubuntu Lucid)
   Status: Fix Released = Incomplete

-- 
Blank cd/dvd not recognized [LUCID] 
https://bugs.launchpad.net/bugs/561585
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
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 561585] Re: Blank cd/dvd not recognized [LUCID]

2010-04-18 Thread Vik
sorry, i  changed the status by mistake, didn't mean too, i'm surprised
it could be changed so easily, that's strange to me, i have udev 151.11
but still won't mount blank dvd. does fix committed mean it will work in
the next beta, sorry for being such an idiot


** Changed in: udev (Ubuntu Lucid)
   Status: Incomplete = Fix Committed

-- 
Blank cd/dvd not recognized [LUCID] 
https://bugs.launchpad.net/bugs/561585
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
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 561585] Re: Blank cd/dvd not recognized [LUCID]

2010-04-18 Thread Martin Pitt
** Changed in: udev (Ubuntu Lucid)
   Status: Fix Committed = Fix Released

-- 
Blank cd/dvd not recognized [LUCID] 
https://bugs.launchpad.net/bugs/561585
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
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 561585] Re: Blank cd/dvd not recognized [LUCID]

2010-04-14 Thread earthforce_1
I tried to report a similar bug, (Installing X-Plane 9, but after
ejecting the first DVD, the 2nd does not appear on the desktop and is
not recognized, even if I attempt to mount via a sudo command on the
command line.

When I tried to file a bug with ubuntu-bug, I get:

The problem cannot be reported: This is not a genuine Ubuntu package.

-- 
Blank cd/dvd not recognized [LUCID] 
https://bugs.launchpad.net/bugs/561585
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
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 561585] Re: Blank cd/dvd not recognized [LUCID]

2010-04-14 Thread FrenchNux
Sorry my english is poor!

[Steps to Reproduce]
1 - erase dvd+rw with brasero
2 - eject it 
3 - close disc tray

Symptom
blank DVD+RW appear for 10sec in erase window in brasero after 10sec DVD 
disappeared.
If i click on erase button when blank DVD+RW is appeared so DVD is mounted on 
desktop.

-- 
Blank cd/dvd not recognized [LUCID] 
https://bugs.launchpad.net/bugs/561585
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
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 561585] Re: Blank cd/dvd not recognized [LUCID]

2010-04-13 Thread Martin Pitt
I'll do some notekeeping/braindumping here to keep track of the bug,
please feel free to ignore the techno babble in this comment. :-)

So in all the straces and cdrom_id outputs that we have so far, the CD-
ROM could be opened and wasn't busy (which was the cause for bug 554433
-- so it's definitively a different problem here). But cdrom_id only saw
ID_CDROM_MEDIA_CD_R=1, but no ID_CDROM_MEDIA_STATE at all (which should
be blank).

Output from Silverwave

The old cdrom_id output indeed shows the correct properties, and it has

  2186  ioctl(3, CDROM_DRIVE_STATUS, 0x7fff) = 4

4 means CDS_DISC_OK, i. e. the drive did detect a medium. in the new
cdrom_id output however, we get

  1938  ioctl(3, CDROM_DRIVE_STATUS, 0x7fff) = 1

1 means CDS_NO_DISC, i. e. the drive did not detect a medium. A race
condition seems unlikely, since the command was done well after the
medium was inserted.

An interesting discrepancy is also in the capabilities:
old: 2186  ioctl(3, CDROM_GET_CAPABILITY or SNDRV_SEQ_IOCTL_UNSUBSCRIBE_PORT, 
0) = 2227183
new: 1938  ioctl(3, CDROM_GET_CAPABILITY or SNDRV_SEQ_IOCTL_UNSUBSCRIBE_PORT, 
0) = 3800047

The difference is 0x18 == CDC_MRW_W || CDC_MRW

This looks fishy, the drive capabilities shouldn't differ between two
runs, or be dependent on the media state.

Output from jocko:
-
Both traces look identical, and by and large like Silverwave's new trace. I. 
e. the output with old (-5) was wrong as well, but this doesn't correspond to 
the output in comment 4.

-- 
Blank cd/dvd not recognized [LUCID] 
https://bugs.launchpad.net/bugs/561585
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
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 561585] Re: Blank cd/dvd not recognized [LUCID]

2010-04-13 Thread Martin Pitt
Thanks so far!  Now, some questions based on my evaluation of the recent
data:

To assert that it's actually udev/linux which is wrong, in all those
cases you guys actually had a blank CD media in the drive, right?
(Because the straces say the opposite sometimes)

jocko, if you are sure that
http://launchpadlibrarian.net/43952779/cdrom_id_151-5.trace is really
from -5 (and not from -8), this would prove that the question whether it
works or not does not really depend on the particular udev version, but
rather that installing a package triggers the change.

Can you try if the cdrom_id output changes if you do

  sudo apt-get install --reinstall udev

? The critical piece what to watch out for is if the cdrom_id /dev/sr0
output contains ID_CDROM_MEDIA_STATE=blank; if it does, things should
work.

Also, since you both confirmed that downgrading to -5 works, does it
keep working after a few reboots and unloading/reloading the media?
Conversely, does -8 consistently fail even after a few reboots and media
reloads? The straces seem to indicate that it sometimes works and
sometimes not, with the same udev version, so we need to identify a
pattern here.

Finally, I just uploaded a new udev version (-9) which fixes a bug in
cdrom_id. That bug was pretty much the opposite problem, so I don't
expect that it changes the behaviour for this bug here. But since this
is odd enough, testing -9 can't hurt.

Thanks!

-- 
Blank cd/dvd not recognized [LUCID] 
https://bugs.launchpad.net/bugs/561585
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
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 561585] Re: Blank cd/dvd not recognized [LUCID]

2010-04-13 Thread Martin Pitt
Oh, I just took another look at the code, and indeed I did identify one
case where the bug fix in udev 151-9 would also lead to not printing
ID_CDROM_MEDIA_STATE=blank. So testing -9 is definitively worth a try!

** Also affects: udev (Ubuntu Lucid)
   Importance: High
 Assignee: Martin Pitt (pitti)
   Status: New

** Changed in: udev (Ubuntu Lucid)
   Status: New = Incomplete

-- 
Blank cd/dvd not recognized [LUCID] 
https://bugs.launchpad.net/bugs/561585
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
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 561585] Re: Blank cd/dvd not recognized [LUCID]

2010-04-13 Thread SilverWave
Quick update in reply to #16 -  Martin I noticed the same thing and rerun the 
trace, you need
http://launchpadlibrarian.net/43959749/cdrom_id_new.trace_b

2153  ioctl(3, CDROM_DRIVE_STATUS, 0x7fff) = 4

-- 
Blank cd/dvd not recognized [LUCID] 
https://bugs.launchpad.net/bugs/561585
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
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 561585] Re: Blank cd/dvd not recognized [LUCID]

2010-04-13 Thread SilverWave
** Changed in: udev (Ubuntu Lucid)
   Status: Incomplete = New

-- 
Blank cd/dvd not recognized [LUCID] 
https://bugs.launchpad.net/bugs/561585
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
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 561585] Re: Blank cd/dvd not recognized [LUCID]

2010-04-13 Thread SilverWave
Installed 151-9
https://launchpad.net/ubuntu/+archive/primary/+files/udev_151-9_amd64.deb

I'm assuming a reboot is not required.

** Attachment added: cdrom_id_151-9.trace
   http://launchpadlibrarian.net/44017552/cdrom_id_151-9.trace

** Attachment removed: cdrom_id_151-9.trace
   http://launchpadlibrarian.net/44017552/cdrom_id_151-9.trace

-- 
Blank cd/dvd not recognized [LUCID] 
https://bugs.launchpad.net/bugs/561585
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
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 561585] Re: Blank cd/dvd not recognized [LUCID]

2010-04-13 Thread SilverWave

** Attachment added: cdrom_id_151-9.trace
   http://launchpadlibrarian.net/44017788/cdrom_id_151-9.trace

-- 
Blank cd/dvd not recognized [LUCID] 
https://bugs.launchpad.net/bugs/561585
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
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 561585] Re: Blank cd/dvd not recognized [LUCID]

2010-04-13 Thread SilverWave
Just to give you a baseline here is a trace when a non-blank CD is
loaded.

** Attachment added: cdrom_id_151-9-LiveCD.trace
   http://launchpadlibrarian.net/44018251/cdrom_id_151-9-LiveCD.trace

-- 
Blank cd/dvd not recognized [LUCID] 
https://bugs.launchpad.net/bugs/561585
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
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 561585] Re: Blank cd/dvd not recognized [LUCID]

2010-04-13 Thread Martin Pitt
@SilverWave: trace_b - ah, thanks; I'm glad that things are not _that_
broken then :-)

I just found a rather general problem in cdrom_id, which produces
garbage in a lot of cases. I applied a fix in my PPA. Can you please
upgrade to this version with

sudo add-apt-repository ppa:pitti/ppa
sudo apt-get update
sudo apt-get install udev

This should install udev version 151-9pitti2. Can you please try with
that one? If it's still broken, please provide an strace again, as well
as the output of

  sudo /lib/udev/cdrom_id -d /dev/sr0

(the -d will print some additional debugging information). Thank you!

-- 
Blank cd/dvd not recognized [LUCID] 
https://bugs.launchpad.net/bugs/561585
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
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


Re: [Bug 561585] Re: Blank cd/dvd not recognized [LUCID]

2010-04-13 Thread Brandon Snider
9pitti2 fixes the issue for me Martin:

$ sudo strace -vvfo /tmp/cdrom_id_new.trace -s 1024 /lib/udev/cdrom_id
/dev/sr0
ID_CDROM=1
ID_CDROM_CD_R=1
ID_CDROM_CD_RW=1
ID_CDROM_DVD=1
ID_CDROM_DVD_R=1
ID_CDROM_DVD_RW=1
ID_CDROM_DVD_PLUS_R=1
ID_CDROM_DVD_PLUS_RW=1
ID_CDROM_DVD_PLUS_R_DL=1
ID_CDROM_MRW=1
ID_CDROM_MRW_W=1
ID_CDROM_MEDIA=1
ID_CDROM_MEDIA_CD_R=1
ID_CDROM_MEDIA_STATE=blank
ID_CDROM_MEDIA_SESSION_NEXT=1
ID_CDROM_MEDIA_SESSION_COUNT=1
ID_CDROM_MEDIA_TRACK_COUNT=1

Blank CD icon now appears on the desktop too.

On Tue, Apr 13, 2010 at 8:45 AM, Martin Pitt martin.p...@ubuntu.com
wrote:

 @SilverWave: trace_b - ah, thanks; I'm glad that things are not _that_
 broken then :-)

 I just found a rather general problem in cdrom_id, which produces
 garbage in a lot of cases. I applied a fix in my PPA. Can you please
 upgrade to this version with

sudo add-apt-repository ppa:pitti/ppa
sudo apt-get update
sudo apt-get install udev

 This should install udev version 151-9pitti2. Can you please try with
 that one? If it's still broken, please provide an strace again, as well
 as the output of

  sudo /lib/udev/cdrom_id -d /dev/sr0

 (the -d will print some additional debugging information). Thank you!

 --
 Blank cd/dvd not recognized [LUCID]
 https://bugs.launchpad.net/bugs/561585
 You received this bug notification because you are a direct subscriber
 of the bug.



-- 
-- Brandon J. Snider

-- 
Blank cd/dvd not recognized [LUCID] 
https://bugs.launchpad.net/bugs/561585
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
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 561585] Re: Blank cd/dvd not recognized [LUCID]

2010-04-13 Thread Chris Martin
Martin..  I have been experiencing the same problem.  And having
stumbled upon this post, I have applied you lattest patch and I fixes my
issue.  I will post the trace etc as soon as My CD burn has finished.

-- 
Blank cd/dvd not recognized [LUCID] 
https://bugs.launchpad.net/bugs/561585
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
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 561585] Re: Blank cd/dvd not recognized [LUCID]

2010-04-13 Thread Matt Zimmerman
** Changed in: udev (Ubuntu Lucid)
   Status: New = In Progress

-- 
Blank cd/dvd not recognized [LUCID] 
https://bugs.launchpad.net/bugs/561585
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
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 561585] Re: Blank cd/dvd not recognized [LUCID]

2010-04-13 Thread Launchpad Bug Tracker
** Branch linked: lp:~ubuntu-core-dev/udev/ubuntu

-- 
Blank cd/dvd not recognized [LUCID] 
https://bugs.launchpad.net/bugs/561585
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
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 561585] Re: Blank cd/dvd not recognized [LUCID]

2010-04-13 Thread Martin Pitt
Splendid, thanks for testing!

Fix committed upstream:
http://git.kernel.org/?p=linux/hotplug/udev.git;a=commitdiff;h=2b861dc92757b9a3214c2b8e9d8b1c3f3c162391

** Changed in: udev (Ubuntu Lucid)
   Status: In Progress = Fix Committed

-- 
Blank cd/dvd not recognized [LUCID] 
https://bugs.launchpad.net/bugs/561585
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
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 561585] Re: Blank cd/dvd not recognized [LUCID]

2010-04-13 Thread Launchpad Bug Tracker
This bug was fixed in the package udev - 151-10

---
udev (151-10) lucid; urgency=low

  * cdrom_id: Turns out that some ioctls do not actually touch the result
buffer in some cases, so we need to zero the result buffers to avoid
interpreting random da CD properties. (LP: #559723, LP: #561585) Patch
also committed to upstream (2b861)
 -- Martin Pitt martin.p...@ubuntu.com   Tue, 13 Apr 2010 15:34:40 +0200

** Changed in: udev (Ubuntu Lucid)
   Status: Fix Committed = Fix Released

-- 
Blank cd/dvd not recognized [LUCID] 
https://bugs.launchpad.net/bugs/561585
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
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 561585] Re: Blank cd/dvd not recognized [LUCID]

2010-04-13 Thread SilverWave
sudo /lib/udev/cdrom_id -d /dev/sr0
main: probing: '/dev/sr0'
cd_inquiry: INQUIRY: [PIONEER ][DVD-RW  DVR-112D][1.21]
cd_profiles: GET CONFIGURATION: number of profiles 316
cd_profiles: profile 0x2b
cd_profiles: profile 0x1b
cd_profiles: profile 0x1a
cd_profiles: profile 0x16
cd_profiles: profile 0x15
cd_profiles: profile 0x14
cd_profiles: profile 0x13
cd_profiles: profile 0x11
cd_profiles: profile 0x10
cd_profiles: current profile 0x09
cd_media_toc: READ TOC: len: 2
cd_media_info: disk type ff
ID_CDROM=1
ID_CDROM_CD_R=1
ID_CDROM_CD_RW=1
ID_CDROM_DVD=1
ID_CDROM_DVD_R=1
ID_CDROM_DVD_RW=1
ID_CDROM_DVD_PLUS_R=1
ID_CDROM_DVD_PLUS_RW=1
ID_CDROM_DVD_PLUS_R_DL=1
ID_CDROM_MEDIA=1
ID_CDROM_MEDIA_CD_R=1
ID_CDROM_MEDIA_STATE=blank
ID_CDROM_MEDIA_SESSION_NEXT=1
ID_CDROM_MEDIA_SESSION_COUNT=1
ID_CDROM_MEDIA_TRACK_COUNT=1

All fixed - Thanks Martin :-)

** Attachment added: cdrom_id_151-9-fixed.trace
   http://launchpadlibrarian.net/44040201/cdrom_id_151-9-fixed.trace

-- 
Blank cd/dvd not recognized [LUCID] 
https://bugs.launchpad.net/bugs/561585
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
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 561585] Re: Blank cd/dvd not recognized [LUCID]

2010-04-13 Thread jocko
jocko, if you are sure that
http://launchpadlibrarian.net/43952779/cdrom_id_151-5.trace  is really
from -5 (and not from -8), this would prove that the question whether it
works or not does not really depend on the particular udev version, but
rather that installing a package triggers the change.

Can you try if the cdrom_id output changes if you do

  sudo apt-get install --reinstall udev

? The critical piece what to watch out for is if the cdrom_id /dev/sr0
output contains ID_CDROM_MEDIA_STATE=blank; if it does, things should
work.

I think those strace outputs I provided were without any disk in the drive 
(sorry about that), so they may not have provided the right information...
But I've upgraded from -8 to -10 and it seems to work fine now. IF (and only 
if) the problem reappears I will get back here with the proper strace output, 
but I'm pretty sure it's fixed.

Thanks Martin!

-- 
Blank cd/dvd not recognized [LUCID] 
https://bugs.launchpad.net/bugs/561585
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
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 561585] Re: Blank cd/dvd not recognized [LUCID]

2010-04-13 Thread FrenchNux
Blank cd/dvd recognized but

[Problem]
The 'Eject' command doesn't show up reliably after a CD has automounted in the 
cdrom.

[Steps to Reproduce]
1. Insert a blank CD
2. Wait until CD has automounted 
3. In the desktop window, right-click and eject command doesn't show

-- 
Blank cd/dvd not recognized [LUCID] 
https://bugs.launchpad.net/bugs/561585
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
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


Re: [Bug 561585] Re: Blank cd/dvd not recognized [LUCID]

2010-04-13 Thread Martin Pitt
FrenchNux [2010-04-13 20:55 -]:
 Blank cd/dvd recognized but
 
 [Problem]
 The 'Eject' command doesn't show up reliably after a CD has automounted in 
 the cdrom.

This is bug 425104.

-- 
Blank cd/dvd not recognized [LUCID] 
https://bugs.launchpad.net/bugs/561585
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
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 561585] Re: Blank cd/dvd not recognized [LUCID]

2010-04-12 Thread SilverWave

** Attachment added: AlsaDevices.txt
   http://launchpadlibrarian.net/43929891/AlsaDevices.txt

** Attachment added: AplayDevices.txt
   http://launchpadlibrarian.net/43929892/AplayDevices.txt

** Attachment added: ArecordDevices.txt
   http://launchpadlibrarian.net/43929893/ArecordDevices.txt

** Attachment added: BootDmesg.txt
   http://launchpadlibrarian.net/43929894/BootDmesg.txt

** Attachment added: Card0.Amixer.values.txt
   http://launchpadlibrarian.net/43929895/Card0.Amixer.values.txt

** Attachment added: Card0.Codecs.codec.0.txt
   http://launchpadlibrarian.net/43929896/Card0.Codecs.codec.0.txt

** Attachment added: CurrentDmesg.txt
   http://launchpadlibrarian.net/43929897/CurrentDmesg.txt

** Attachment added: Dependencies.txt
   http://launchpadlibrarian.net/43929898/Dependencies.txt

** Attachment added: Lspci.txt
   http://launchpadlibrarian.net/43929899/Lspci.txt

** Attachment added: Lsusb.txt
   http://launchpadlibrarian.net/43929900/Lsusb.txt

** Attachment added: PciMultimedia.txt
   http://launchpadlibrarian.net/43929901/PciMultimedia.txt

** Attachment added: ProcCpuinfo.txt
   http://launchpadlibrarian.net/43929902/ProcCpuinfo.txt

** Attachment added: ProcInterrupts.txt
   http://launchpadlibrarian.net/43929903/ProcInterrupts.txt

** Attachment added: ProcModules.txt
   http://launchpadlibrarian.net/43929904/ProcModules.txt

** Attachment added: UdevDb.txt
   http://launchpadlibrarian.net/43929905/UdevDb.txt

** Attachment added: UdevLog.txt
   http://launchpadlibrarian.net/43929906/UdevLog.txt

** Attachment added: WifiSyslog.txt
   http://launchpadlibrarian.net/43929907/WifiSyslog.txt

-- 
Blank cd/dvd not recognized [LUCID] 
https://bugs.launchpad.net/bugs/561585
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
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 561585] Re: Blank cd/dvd not recognized [LUCID]

2010-04-12 Thread SilverWave
** Changed in: udev (Ubuntu)
 Assignee: (unassigned) = Martin Pitt (pitti)

-- 
Blank cd/dvd not recognized [LUCID] 
https://bugs.launchpad.net/bugs/561585
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
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 561585] Re: Blank cd/dvd not recognized [LUCID]

2010-04-12 Thread jocko
Same problem here. I reported it as #561602 before I found this report, so I 
marked mine as a duplicate of this one.
https://bugs.launchpad.net/ubuntu/+source/udev/+bug/561602

-- 
Blank cd/dvd not recognized [LUCID] 
https://bugs.launchpad.net/bugs/561585
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
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 561585] Re: Blank cd/dvd not recognized [LUCID]

2010-04-12 Thread Martin Pitt
1) Hm, did you actually insert a CD when the bug filing process asked to
insert the affected device? The monitors did not pick up anything.

2) Can you please copypaste the output of

   sudo /lib/udev/cdrom_id /dev/sr0

once when there is no CD in the drive, and once after inserting an empty
one?

3) Do you remember when this misbehaviour started? Did it still work in
alpha-1, i. e. did this break only recently, or has it been like that
through out lucid? If it broke only recently, it might be a similar
cause like bug 559723 (just the inverse effect).

If it broke only recently, can you try downgrading udev by installing
https://launchpad.net/ubuntu/+source/udev/151-5/+build/1514097/+files/udev_151-5_amd64.deb
?

Thanks!

** Changed in: udev (Ubuntu)
   Status: New = Incomplete

** Changed in: udev (Ubuntu)
 Assignee: Martin Pitt (pitti) = (unassigned)

-- 
Blank cd/dvd not recognized [LUCID] 
https://bugs.launchpad.net/bugs/561585
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
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 561585] Re: Blank cd/dvd not recognized [LUCID]

2010-04-12 Thread jocko
Here's my output, hope it will help you fix this bug.
With no disk in the drive:
jo...@jocko-desktop:~$ sudo /lib/udev/cdrom_id /dev/sr0
ID_CDROM=1
ID_CDROM_CD_R=1
ID_CDROM_CD_RW=1
ID_CDROM_DVD=1
ID_CDROM_DVD_R=1
ID_CDROM_DVD_RW=1
ID_CDROM_DVD_RAM=1
ID_CDROM_DVD_PLUS_R=1
ID_CDROM_DVD_PLUS_RW=1
ID_CDROM_DVD_PLUS_R_DL=1
ID_CDROM_MRW=1
ID_CDROM_MRW_W=1

With a blank cd-r disk in the drive:
jo...@jocko-desktop:~$ sudo /lib/udev/cdrom_id /dev/sr0
ID_CDROM=1
ID_CDROM_CD_R=1
ID_CDROM_CD_RW=1
ID_CDROM_DVD=1
ID_CDROM_DVD_R=1
ID_CDROM_DVD_RW=1
ID_CDROM_DVD_RAM=1
ID_CDROM_DVD_PLUS_R=1
ID_CDROM_DVD_PLUS_RW=1
ID_CDROM_DVD_PLUS_R_DL=1
ID_CDROM_MRW=1
ID_CDROM_MRW_W=1
ID_CDROM_MEDIA=1
ID_CDROM_MEDIA_CD_R=1

And YES, downgrading udev to 151-5 fixes the problem for me, and the output of 
the above command with a blank disk changes to:
jo...@jocko-desktop:~/Hämtningar$ sudo /lib/udev/cdrom_id /dev/sr0
ID_CDROM=1
ID_CDROM_CD_R=1
ID_CDROM_CD_RW=1
ID_CDROM_DVD=1
ID_CDROM_DVD_R=1
ID_CDROM_DVD_RW=1
ID_CDROM_DVD_RAM=1
ID_CDROM_DVD_PLUS_R=1
ID_CDROM_DVD_PLUS_RW=1
ID_CDROM_DVD_PLUS_R_DL=1
ID_CDROM_MRW=1
ID_CDROM_MRW_W=1
ID_CDROM_MEDIA=1
ID_CDROM_MEDIA_CD_R=1
ID_CDROM_MEDIA_STATE=blank
ID_CDROM_MEDIA_SESSION_NEXT=1
ID_CDROM_MEDIA_SESSION_COUNT=1
ID_CDROM_MEDIA_TRACK_COUNT=1

-- 
Blank cd/dvd not recognized [LUCID] 
https://bugs.launchpad.net/bugs/561585
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
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 561585] Re: Blank cd/dvd not recognized [LUCID]

2010-04-12 Thread SilverWave
1) Hm, did you actually insert a CD when the bug filing process asked
to insert the affected device? The monitors did not pick up anything.

Yes.

2) Can you please copypaste the output of sudo /lib/udev/cdrom_id
/dev/sr0

As requested:

:~$ sudo /lib/udev/cdrom_id /dev/sr0
ID_CDROM=1
ID_CDROM_CD_R=1
ID_CDROM_CD_RW=1
ID_CDROM_DVD=1
ID_CDROM_DVD_R=1
ID_CDROM_DVD_RW=1
ID_CDROM_DVD_PLUS_R=1
ID_CDROM_DVD_PLUS_RW=1
ID_CDROM_DVD_PLUS_R_DL=1
t...@helium:~$ sudo /lib/udev/cdrom_id /dev/sr0
ID_CDROM=1
ID_CDROM_CD_R=1
ID_CDROM_CD_RW=1
ID_CDROM_DVD=1
ID_CDROM_DVD_R=1
ID_CDROM_DVD_RW=1
ID_CDROM_DVD_PLUS_R=1
ID_CDROM_DVD_PLUS_RW=1
ID_CDROM_DVD_PLUS_R_DL=1
ID_CDROM_MEDIA=1
ID_CDROM_MEDIA_CD_R=1
:~$ 

dmesg:

[ 4109.816420] sr 0:0:0:0: [sr0] Unhandled sense code
[ 4109.816423] sr 0:0:0:0: [sr0] Result: hostbyte=DID_OK driverbyte=DRIVER_SENSE
[ 4109.816427] sr 0:0:0:0: [sr0] Sense Key : Blank Check [current] 
[ 4109.816432] sr 0:0:0:0: [sr0] Add. Sense: No additional sense information
[ 4109.816437] sr 0:0:0:0: [sr0] CDB: Read(10): 28 00 00 00 00 00 00 00 01 00
[ 4109.816447] end_request: I/O error, dev sr0, sector 0
[ 7913.807857] cdrom: This disc doesn't have any tracks I recognize!
[ 7914.050342] sr 0:0:0:0: [sr0] Unhandled sense code
[ 7914.050345] sr 0:0:0:0: [sr0] Result: hostbyte=DID_OK driverbyte=DRIVER_SENSE
[ 7914.050350] sr 0:0:0:0: [sr0] Sense Key : Blank Check [current] 
[ 7914.050356] sr 0:0:0:0: [sr0] Add. Sense: No additional sense information
[ 7914.050360] sr 0:0:0:0: [sr0] CDB: Read(10): 28 00 00 00 00 00 00 00 01 00
[ 7914.050371] end_request: I/O error, dev sr0, sector 0
[ 7914.050375] __ratelimit: 42 callbacks suppressed
[ 7914.050378] Buffer I/O error on device sr0, logical block 0
[ 7914.123007] sr 0:0:0:0: [sr0] Unhandled sense code
[ 7914.123010] sr 0:0:0:0: [sr0] Result: hostbyte=DID_OK driverbyte=DRIVER_SENSE
[ 7914.123014] sr 0:0:0:0: [sr0] Sense Key : Blank Check [current] 
[ 7914.123019] sr 0:0:0:0: [sr0] Add. Sense: No additional sense information
[ 7914.123024] sr 0:0:0:0: [sr0] CDB: Read(10): 28 00 00 00 00 00 00 00 01 00
[ 7914.123034] end_request: I/O error, dev sr0, sector 0
---
3) Do you remember when this misbehaviour started?

I started testing Lucid from Beta 1 so I have burnt the Beta 2 disk from Lucid 
Beta 1 OK.
However there were other issues at that time (Bug 554433) and I had to manually 
mount the disk and use K3b.

Thanks.

** Changed in: udev (Ubuntu)
   Status: Incomplete = New

** Changed in: udev (Ubuntu)
 Assignee: (unassigned) = Martin Pitt (pitti)

-- 
Blank cd/dvd not recognized [LUCID] 
https://bugs.launchpad.net/bugs/561585
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
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 561585] Re: Blank cd/dvd not recognized [LUCID]

2010-04-12 Thread Martin Pitt
Iiiintersting!

SilverWave, since the cdrom_id output looks so similar to jocko's, I
assume that downgrading udev to -5 will fix the behaviour for you as
well?

Since this problem does not reproduce on my hardware, I have to annoy
you some more, I'm afraid. Can you please do

sudo strace -vvfo /tmp/cdrom_id_new.trace -s 1024 /lib/udev/cdrom_id
/dev/sr0

with the current lucid udev version (151-8), then downgrade to 151-5,
and do

   sudo strace -vvfo /tmp/cdrom_id_old.trace -s 1024 /lib/udev/cdrom_id
/dev/sr0

and then attach /tmp/cdrom_id_old.trace and /tmp/cdrom_id_new.trace ?

Alternatively, ssh access to an affected box would be the debugging
luxury for me, of course. :-) (https://launchpad.net/~pitti/+sshkeys ,
mar...@tick)

Thanks!


** Changed in: udev (Ubuntu)
   Status: New = Incomplete

** Changed in: udev (Ubuntu)
   Importance: Undecided = High

-- 
Blank cd/dvd not recognized [LUCID] 
https://bugs.launchpad.net/bugs/561585
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
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 561585] Re: Blank cd/dvd not recognized [LUCID]

2010-04-12 Thread Lucio M Nicolosi
Same stuff here w/ similar hw and sw.

-- 
Blank cd/dvd not recognized [LUCID] 
https://bugs.launchpad.net/bugs/561585
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
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 561585] Re: Blank cd/dvd not recognized [LUCID]

2010-04-12 Thread SilverWave
 Can you try downgrading udev by installing
https://launchpad.net/ubuntu/+source/udev/151-5/+build/1514097/+files/udev_151-5_amd64.deb
?

That worked :-)

I'll provide the other stuff asap

-- 
Blank cd/dvd not recognized [LUCID] 
https://bugs.launchpad.net/bugs/561585
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
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 561585] Re: Blank cd/dvd not recognized [LUCID]

2010-04-12 Thread SilverWave
then downgrade to 151-5, and do

   sudo strace -vvfo /tmp/cdrom_id_old.trace -s 1024 /lib/udev/cdrom_id
/dev/sr0

Have to wait to upgrade doing a fsck atm.

** Attachment added: cdrom_id_old.trace
   http://launchpadlibrarian.net/43946838/cdrom_id_old.trace

-- 
Blank cd/dvd not recognized [LUCID] 
https://bugs.launchpad.net/bugs/561585
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
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 561585] Re: Blank cd/dvd not recognized [LUCID]

2010-04-12 Thread jocko
In case it helps, here's my strace output. I named the files according
to which udev version I had installed to avoid confusion.

** Attachment added: cdrom_id_151-8.trace
   http://launchpadlibrarian.net/43952765/cdrom_id_151-8.trace

-- 
Blank cd/dvd not recognized [LUCID] 
https://bugs.launchpad.net/bugs/561585
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
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 561585] Re: Blank cd/dvd not recognized [LUCID]

2010-04-12 Thread jocko

** Attachment added: cdrom_id_151-5.trace
   http://launchpadlibrarian.net/43952779/cdrom_id_151-5.trace

-- 
Blank cd/dvd not recognized [LUCID] 
https://bugs.launchpad.net/bugs/561585
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
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 561585] Re: Blank cd/dvd not recognized [LUCID]

2010-04-12 Thread SilverWave
sudo strace -vvfo /tmp/cdrom_id_new.trace -s 1024 /lib/udev/cdrom_id
/dev/sr0

with the current lucid udev version (151-8),


** Attachment added: cdrom_id_new.trace
   http://launchpadlibrarian.net/43955118/cdrom_id_new.trace

** Changed in: udev (Ubuntu)
   Status: Incomplete = New

-- 
Blank cd/dvd not recognized [LUCID] 
https://bugs.launchpad.net/bugs/561585
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
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 561585] Re: Blank cd/dvd not recognized [LUCID]

2010-04-12 Thread NoOp
Same issue on my 64bit - 32bit working. My dmesg might help? strace
attached.

 apt-cache policy udev
udev:
  Installed: 151-8
  Candidate: 151-8
  Version table:
 *** 151-8 0
500 http://archive.ubuntu.com/ubuntu/ lucid/main Packages
100 /var/lib/dpkg/status
$ sudo /lib/udev/cdrom_id /dev/sr0
ID_CDROM=1
ID_CDROM_CD_R=1
ID_CDROM_CD_RW=1
ID_CDROM_DVD=1
ID_CDROM_DVD_R=1
ID_CDROM_DVD_RW=1
ID_CDROM_DVD_RAM=1
ID_CDROM_DVD_PLUS_R=1
ID_CDROM_DVD_PLUS_RW=1
ID_CDROM_DVD_PLUS_R_DL=1
ID_CDROM_MRW=1
ID_CDROM_MRW_W=1
ID_CDROM_MEDIA=1
ID_CDROM_MEDIA_CD_R=1
$ dmesg | tail
[   87.989286] Info fld=0x0
[   87.989289] sr 1:0:0:0: [sr0] Add. Sense: Logical block address out of range
[   87.989295] sr 1:0:0:0: [sr0] CDB: Read(10): 28 00 00 00 00 00 00 00 01 00
[   87.989308] end_request: I/O error, dev sr0, sector 0
[   87.991559] sr 1:0:0:0: [sr0] Result: hostbyte=DID_OK driverbyte=DRIVER_SENSE
[   87.991565] sr 1:0:0:0: [sr0] Sense Key : Illegal Request [current] 
[   87.991572] Info fld=0x0
[   87.991574] sr 1:0:0:0: [sr0] Add. Sense: Logical block address out of range
[   87.991581] sr 1:0:0:0: [sr0] CDB: Read(10): 28 00 00 00 00 00 00 00 01 00
[   87.991594] end_request: I/O error, dev sr0, sector 0

** Attachment added: cdrom_idnew.trace
   http://launchpadlibrarian.net/43957557/cdrom_idnew.trace

-- 
Blank cd/dvd not recognized [LUCID] 
https://bugs.launchpad.net/bugs/561585
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
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 561585] Re: Blank cd/dvd not recognized [LUCID]

2010-04-12 Thread SilverWave
sudo strace -vvfo /tmp/cdrom_id_new.trace -s 1024 /lib/udev/cdrom_id
/dev/sr0

with the current lucid udev version (151-8),

rerun with a blank disk in CD.


** Attachment added: cdrom_id_new.trace_b
   http://launchpadlibrarian.net/43959749/cdrom_id_new.trace_b

-- 
Blank cd/dvd not recognized [LUCID] 
https://bugs.launchpad.net/bugs/561585
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
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 561585] Re: Blank cd/dvd not recognized [LUCID]

2010-04-12 Thread Brandon Snider
This is also happening on my system (amd64). The drive is a PIONEER DVD-
RW  DVR-217D, 1.07, max UDMA/66.

No CD:


$ sudo strace -vvfo /tmp/cdrom_id_new.trace -s 1024 /lib/udev/cdrom_id /dev/sr0
ID_CDROM=1
ID_CDROM_CD_R=1
ID_CDROM_CD_RW=1
ID_CDROM_DVD=1
ID_CDROM_DVD_R=1
ID_CDROM_DVD_RW=1
ID_CDROM_DVD_PLUS_R=1
ID_CDROM_DVD_PLUS_RW=1
ID_CDROM_DVD_PLUS_R_DL=1
ID_CDROM_MRW=1
ID_CDROM_MRW_W=1

CD-R:

$ sudo strace -vvfo /tmp/cdrom_id_new.trace -s 1024 /lib/udev/cdrom_id /dev/sr0
[sudo] password for brandon: 
ID_CDROM=1
ID_CDROM_CD_R=1
ID_CDROM_CD_RW=1
ID_CDROM_DVD=1
ID_CDROM_DVD_R=1
ID_CDROM_DVD_RW=1
ID_CDROM_DVD_PLUS_R=1
ID_CDROM_DVD_PLUS_RW=1
ID_CDROM_DVD_PLUS_R_DL=1
ID_CDROM_MRW=1
ID_CDROM_MRW_W=1
ID_CDROM_MEDIA=1
ID_CDROM_MEDIA_CD_R=1

dmesg when I put a blank CD-R in the tray:

[250497.400574] sr 2:0:0:0: [sr0] Sense Key : Blank Check [current] 
[250497.400579] sr 2:0:0:0: [sr0] Add. Sense: No additional sense information
[250497.400584] sr 2:0:0:0: [sr0] CDB: Read(10): 28 00 00 00 00 00 00 00 01 00
[250497.400594] end_request: I/O error, dev sr0, sector 0
[250497.400599] Buffer I/O error on device sr0, logical block 0
[250497.662885] sr 2:0:0:0: [sr0] Unhandled sense code
[250497.662889] sr 2:0:0:0: [sr0] Result: hostbyte=DID_OK 
driverbyte=DRIVER_SENSE

That block of text is repeated roughly 52 times.

-- 
Blank cd/dvd not recognized [LUCID] 
https://bugs.launchpad.net/bugs/561585
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
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs