From: karaluh <karaluh@tlen.pl>
To: linux-hotplug@vger.kernel.org
Subject: Re: CD not recognised by udev
Date: Wed, 07 Feb 2007 21:17:50 +0000 [thread overview]
Message-ID: <200702072217.50296.karaluh@tlen.pl> (raw)
In-Reply-To: <200702041752.26081.karaluh@tlen.pl>
Dnia środa 07 luty 2007, Kay Sievers napisał:
> > > > > As already pointed out, udev doesn't care about optical drives,
> > > > > because they need to be polled to get notifications about a media
> > > > > change. Anyway, HAL depends on detecting a filesystem prior to a
> > > > > possible mount. This is provided by libvolume_id. What does:
> > > > > /lib/udev/vol_id --export /dev/XXX
> > > > > print?
> > > > It doesn't print anything. It's the same for automountable cd.
> > > Huh, it doesn't even print an error?
> > I was suprised too. For one moment I thought something's wrong with the
> > vol_id, but when I execute the above command with no cd in drive I get
> > /dev/hdb: error open volume
> > which is ok I suppose. And no matter what cd is in (the problematic or a
> > regular one) I get no info from vol_id. I don't know if that's normal. I
> > even tried -t -l -u switches, but without result.
> Ok, it's not recognized as anything. What does:
> dd if=/dev/sr0 bs=1 skip2768 count@96 | hexdump -C
> print?
I suppose you ment:
dd if=/dev/hda bs=1 skip2768 count@96 | hexdump -C
In that case it prints:
00000000 01 43 44 30 30 31 01 00 20 20 20 20 20 20 20 20 |.CD001.. |
00000010 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | |
00000020 20 20 20 20 20 20 20 20 44 57 32 43 44 31 5f 45 | DW2CD1_E|
00000030 4e 47 20 20 20 20 20 20 20 20 20 20 20 20 20 20 |NG |
00000040 20 20 20 20 20 20 20 20 00 00 00 00 00 00 00 00 | ........|
00000050 85 bf 04 00 00 04 bf 85 00 00 00 00 00 00 00 00 |................|
00000060 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |................|
00000070 00 00 00 00 00 00 00 00 01 00 00 01 01 00 00 01 |................|
00000080 00 08 08 00 56 01 00 00 00 00 01 56 12 00 00 00 |....V......V....|
00000090 13 00 00 00 00 00 00 14 00 00 00 15 22 00 16 00 |............"...|
000000a0 00 00 00 00 00 16 00 10 00 00 00 00 10 00 60 0b |..............`.|
000000b0 08 12 0d 20 24 02 00 00 01 00 00 01 01 00 20 20 |... $......... |
000000c0 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | |
*
00000320 20 20 20 20 20 20 20 20 20 20 20 20 20 31 39 39 | 199|
00000330 36 31 31 30 38 31 38 31 33 33 32 30 30 24 30 30 |6110818133200$00|
00000340 30 30 30 30 30 30 30 30 30 30 30 30 30 30 00 30 |00000000000000.0|
00000350 30 30 30 30 30 30 30 30 30 30 30 30 30 30 30 00 |000000000000000.|
00000360 30 30 30 30 30 30 30 30 30 30 30 30 30 30 30 30 |0000000000000000|
00000370 00 01 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |................|
00000380 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |................|
*
00000400 43 44 2d 58 41 30 30 31 00 00 00 00 00 00 00 00 |CD-XA001........|
00000410 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |................|
*
00000800 ff 43 44 30 30 31 01 00 00 00 00 00 00 00 00 00 |.CD001..........|
00000810 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |................|
*
4096+0 przeczytanych recordów
4096+0 zapisanych recordów
skopiowane 4096 bajtów (4,1 kB), 0,017088 sekund, 240 kB/s
00001000
--
Best regards,
karaluh
-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier.
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid\x120709&bid&3057&dat\x121642
_______________________________________________
Linux-hotplug-devel mailing list http://linux-hotplug.sourceforge.net
Linux-hotplug-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/linux-hotplug-devel
next prev parent reply other threads:[~2007-02-07 21:17 UTC|newest]
Thread overview: 12+ messages / expand[flat|nested] mbox.gz Atom feed top
2007-02-04 16:52 CD not recognised by udev karaluh
2007-02-04 17:20 ` Alexander E. Patrakov
2007-02-04 21:17 ` karaluh
2007-02-04 21:42 ` Bryan Kadzban
2007-02-05 15:00 ` Kay Sievers
2007-02-05 20:50 ` karaluh
2007-02-05 22:01 ` Kay Sievers
2007-02-06 19:54 ` karaluh
2007-02-07 21:17 ` karaluh [this message]
2007-02-07 21:52 ` Kay Sievers
2007-02-08 19:42 ` karaluh
2007-02-08 21:13 ` Kay Sievers
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=200702072217.50296.karaluh@tlen.pl \
--to=karaluh@tlen.pl \
--cc=linux-hotplug@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).