-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On 09/12/13 09:36, walt wrote:
> On 12/08/2013 10:39 AM, Neil Bothwick wrote:
>> On Sun, 8 Dec 2013 11:12:23 -0600, Canek Peláez Valdés wrote:
>>
>>>> It has the same problem.  I looked more carefully at the systemd logs
>>>> and found that lvm was running before the xhci kernel module was
>>>> loaded, hence the usb3 drive was not visible yet.
>>>>
>>>> I "fixed" the problem by adding "After=basic" to the lvm.service
>>>> file, and now it works as expected. (Expected by me, anyway :)  
>>>
>>> Well, at least is working, however is kinda an ugly fix. Could you
>>> create the file /etc/modules-load.d/usb3.conf, with the line xhci in
>>> it, reboot, and see if your little hack is not needed then? Also, if
>>> you are using an initramfs, could you rebuild it before trying?
>>
>> Alternatively, build xhci into the kernel, since you need it at every
>> boot.
> 
> Both of the suggestions above reversed the order of the journalctl
> messages so that the usb3 drive appears before lvm.service is run,
> but pvscan still finds no volumes and the volume group is not active
> after bootup :(
> 
> I changed After=basic.target to After=sysinit.target, which still
> gets it working well enough for my primitive needs.  IMHO that fix
> allows me to decrement ${HACKED} by one :)
> 
> 
> 
> 
> 
> 
Just a thought, but isn't there a unit file for autoloading modules
(therefore making it usable as a After= target)?

- -- 
Sam Jorna
sam.t.jo...@gmail.com
GnuPG Key ID: 12D3EE0C
Fingerprint:
6D14 8366 16F5 638E 3A29
1FED 5D5C 62D9 12D3 EE0C

Secure your E-mail:
http://www.gnupg.org
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.15 (GNU/Linux)
Comment: Using GnuPG with Thunderbird - http://www.enigmail.net/

iQGcBAEBAgAGBQJSpQM3AAoJEF1cYtkS0+4MrI8MAKGdzdY5GLDwk1+1JF+DGMiC
RzHrrEVS/+bf8q/z8VSjFPvsIaML9x2yu/Iw2ucvFoFpk4D3n3DGBZrpRhEJiH5a
rj/caeoSH6Hs3qId+AAPfCLMl2cnAT1SdbmKnL1B+kHDdi3fPVgbIlJPjOIVUJ4J
JOh6/56iSSGo3xlwvRwii3su3xHFYYqs9YpTrJzFxaLL/sNIreiUDzA6wkB/BNEX
WvSXAXE7LLt7xo2CvMSU5uGhiCp0rR2iEUbGvZ08fkLLqZn4EGU97fzB7OQ5J6km
70yty45f4Sx55zwYTd7ekpTC0prl8dn8xlwARchmVaByBvIrbu1u+zeEYhvKf7G+
cYWKQ3y1VRCVBDWkLRrn6S2tUwDTCLGyzpLWMcl26oc9rguJ0ZUT7BL0zN0p5cfd
gJ6VZ9MsiXGgv1U3bduBGV7AQUREHQpItdM7z9kjKcEjqaILJX9FLluDDwhTHfcr
bIcRDPj+m8kdZvtznY7MWjoSp1RhOJlhaDbSpVXz+g==
=PWbf
-----END PGP SIGNATURE-----

Reply via email to