On Sat, Aug 24, 2013 at 08:54:02PM -0400, Walter Webb wrote:
> My latest computer has two dvd's; only one is a writer. I also have
> a usb dvd writer that I occasionally use. Pre systemd udev generated
> /etc/udev/rules.d/70-persistent-cd.rules for the devices on the first
> boot. The first time I plugged in the usb device, entries were added
> for that. I never understood why it worked, but it did.
>
> For lfs-7.1, I eventually rebuilt it with pre systemd udev. I built
> lfs-7.2 and some of blfs, but decided to make lfs-7.3 work.
>
> After a lot of tries, I found that the old 70-persistent-cd.rules
> worked after I replaced the ENV{ID_PATH} entries with ENV{ID_SERIAL}
> entries. With lfs-7.4, I will attemt to generate the file properly.
>
That sounds odd - as if the usb writer appears ahead of, or
between, the non-usb drives. Do you plug it in before booting ? If
so, probably best not to do that (or make that change to ID_SERIAL
to allow you to do it). The appearance of drives connected via usb
is random and may change across kernel versions, or across different
kernel configs.
>
> I had problems with my two ethernets. Since they use different
> drivers, I eventually found that building one driver in the kernel
> and the other as a module kept them in consistent order.
>
>
> I discovered the file /etc/sysconfig/udev_retry and added sound to
> it. This file must have appeared with sysstemd.
>
>
> The latest problem I found a solution for was ejecting and closing
> the dvd's. I didn't know it was a systemd problem until I found a
> solution on the net for similar problems.
>
> The file /lib/udev/rules.d/60-cdrom_id.rules has a line:
>
> IMPORT{program}="cdrom_id --lock-media $devnode"
>
> Removing "--lock-media" from this line fixed it.
>
Thanks, I've got the same problem (on a built-in writer) with
7.4-rc1 except using eudev which now also has that same change.
With an earlier version of eudev (back in April) eject mostly
worked (failed once or twice over perhaps 30 uses). I've added
the need for a sed to fix this this on local builds to my ToDo
list. Seems to be a systemd problem, but I'm not surprised by that.
Does anyone else see eject failing to eject a CD/DVD with 7.3 or
later ? Eject is now part of util-linux so you don't need to
install anything extra to test this, just put a CD or DVD in
/dev/sr0.
ĸen
--
das eine Mal als Tragödie, dieses Mal als Farce
--
http://linuxfromscratch.org/mailman/listinfo/lfs-support
FAQ: http://www.linuxfromscratch.org/lfs/faq.html
Unsubscribe: See the above information page