From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from pigeon.gentoo.org ([69.77.167.62] helo=lists.gentoo.org) by finch.gentoo.org with esmtp (Exim 4.60) (envelope-from ) id 1LWgvw-0004VF-3M for garchives@archives.gentoo.org; Tue, 10 Feb 2009 00:57:04 +0000 Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 94225E02CD; Tue, 10 Feb 2009 00:57:01 +0000 (UTC) Received: from mail.fraggod.net (unknown [91.191.238.58]) by pigeon.gentoo.org (Postfix) with ESMTP id 56BADE02CD for ; Tue, 10 Feb 2009 00:57:01 +0000 (UTC) Received: from coercion (coercion.core [IPv6:2001:470:1f0b:11de::13]) (using TLSv1 with cipher DHE-RSA-AES128-SHA (128/128 bits)) (No client certificate requested) by mail.fraggod.net (Postfix) with ESMTPSA id F3C40101FDC for ; Tue, 10 Feb 2009 05:57:38 +0500 (YEKT) Date: Tue, 10 Feb 2009 05:53:51 +0500 From: Mike Kazantsev To: gentoo-user@lists.gentoo.org Subject: Re: [gentoo-user] Segfaulting cryptsetup in init Message-ID: <20090210055351.0531c5aa@coercion> In-Reply-To: <49907ADC.5020208@gmail.com> References: <498FEBBC.8030008@gmail.com> <499072C5.1030005@gmail.com> <49907ADC.5020208@gmail.com> X-Mailer: Claws Mail 3.7.0 (GTK+ 2.14.7; i686-pc-linux-gnu) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-user@lists.gentoo.org Reply-to: gentoo-user@lists.gentoo.org Mime-Version: 1.0 Content-Type: multipart/signed; boundary="Sig_/frtR_HXWv58vwG/9K_hEkQY"; protocol="application/pgp-signature"; micalg=PGP-SHA1 X-Archives-Salt: 483bec43-822e-4d33-b8fa-1121bcff22ce X-Archives-Hash: b107af3cac2129969f57c864344f7329 --Sig_/frtR_HXWv58vwG/9K_hEkQY Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable On Mon, 09 Feb 2009 19:50:04 +0100 Johan Bl=C3=A5b=C3=A4ck wrote: > I had noticed this problem w/ my laptop where some usbdevices dont show > up until a few seconds later than when the init is running. So I added a > 'sleep 10' to the init, and what I got was >=20 > - - 10 s sleep > - - during these I get a messege: sda: sda1 sda2 (this is the bootable > usb-key) > - - cryptsetup segfaults > - - ls -l /dev/sd* gives 'ls: /dev/sd*: No such file or directory' > - - ls -l DEv/hd* gives '/dev/hda1' >=20 > How is this possible? Shouldn't it show sda, sda1 and sda2 together with > hda and hda1? Why are these missing? Why should it? Do you have full-fledged udev on initrd? I've always created them by hand with mknod or just copied from a working system - you know which ones you'll need, anyway. And I've had segfaults with usb hdd too, as I recall, but if you put cryptsetup in a 'while true' loop it'll prompt for passphrase / mount device as soon as it'll be detected. --=20 Mike Kazantsev // fraggod.net --Sig_/frtR_HXWv58vwG/9K_hEkQY Content-Type: application/pgp-signature; name=signature.asc Content-Disposition: attachment; filename=signature.asc -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.9 (GNU/Linux) iEYEARECAAYFAkmQ0CQACgkQASbOZpzyXnHobwCePlc6+Ij1P+WebnAkQBTB3Bry neMAniwWRqM9CEBZ6o+S2WB7PQODpVEa =b6QK -----END PGP SIGNATURE----- --Sig_/frtR_HXWv58vwG/9K_hEkQY--