Re: 2.6.21-rc4-mm1

From: J.A. MagallÃn
Date: Tue Mar 20 2007 - 20:14:59 EST


On Tue, 20 Mar 2007 17:36:57 +0100, "J.A. MagallÃn" <jamagallon@xxxxxxx> wrote:

> On Mon, 19 Mar 2007 20:56:23 -0800, Andrew Morton <akpm@xxxxxxxxxxxxxxxxxxxx> wrote:
>
> >
> > Temporarily at
> >
> > http://userweb.kernel.org/~akpm/2.6.21-rc4-mm1/
> >
> > Will appear later at
> >
> > ftp://ftp.kernel.org/pub/linux/kernel/people/akpm/patches/2.6/2.6.21-rc4/2.6.21-rc4-mm1/
> >
>
> (oops, I forgot LKML)
>
> I have no udev events for my dvd-rw...
> When I insert a disc in the dvd reader:
>
> werewolf:~# udevmonitor
> udevmonitor prints the received event from the kernel [UEVENT]
> and the event which udev sends out after rule processing [UDEV]
>
> UEVENT[1174385162.607021] mount /block/sr1 (block)
> UDEV [1174385162.610056] mount /block/sr1 (block)
>
> If I insert it in the dvd-rw drive, nothing happens.
>

I realized that my scsi devices were like this:

werewolf:~# lsscsi
[0:0:0:0] cd/dvd HL-DT-ST DVDRAM GSA-H10N JL10 /dev/.tmp-11-0
[0:0:1:0] disk IOMEGA ZIP 250 51.G /dev/sda
[1:0:0:0] disk ATA ST3120022A 3.06 /dev/sdb
[1:0:1:0] cd/dvd TOSHIBA DVD-ROM SD-M1712 1004 /dev/.tmp-11-1
[2:0:0:0] disk ATA ST3200822AS 3.01 /dev/sdc
[7:0:0:0] disk LG USBDrive 1100 /dev/sdd

After a service udev force-reload:

werewolf:~# lsscsi
[0:0:0:0] cd/dvd HL-DT-ST DVDRAM GSA-H10N JL10 /dev/sr0
[0:0:1:0] disk IOMEGA ZIP 250 51.G /dev/sda
[1:0:0:0] disk ATA ST3120022A 3.06 /dev/sdb
[1:0:1:0] cd/dvd TOSHIBA DVD-ROM SD-M1712 1004 /dev/sr1
[2:0:0:0] disk ATA ST3200822AS 3.01 /dev/sdc
[7:0:0:0] disk LG USBDrive 1100 /dev/sdd

If I insert a disc in /dev/sr1 and eject it:

werewolf:~# lsscsi
[0:0:0:0] cd/dvd HL-DT-ST DVDRAM GSA-H10N JL10 /dev/sr0
[0:0:1:0] disk IOMEGA ZIP 250 51.G /dev/sda
[1:0:0:0] disk ATA ST3120022A 3.06 /dev/sdb
[1:0:1:0] cd/dvd TOSHIBA DVD-ROM SD-M1712 1004 /dev/.tmp-11-1
[2:0:0:0] disk ATA ST3200822AS 3.01 /dev/sdc
[7:0:0:0] disk LG USBDrive 1100 /dev/sdd

If I reload the disc in the TOSHIBA, it is automounted but the strange
device is still there.

Trying with /dev/sr0 still gives no events. What is happening here ?
It is the kernel or is udev setup ?

TIA

--
J.A. Magallon <jamagallon()ono!com> \ Software is like sex:
\ It's better when it's free
Mandriva Linux release 2007.1 (Cooker) for i586
Linux 2.6.20-jam05 (gcc 4.1.2 20070302 (prerelease) (4.1.2-1mdv2007.1)) #2 SMP PREEMPT
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/