From: "Johan Blåbäck" <johan.bluecreek@gmail.com>
To: gentoo-user@lists.gentoo.org
Subject: Re: [gentoo-user] Segfaulting cryptsetup in init
Date: Tue, 10 Feb 2009 09:21:12 +0100 [thread overview]
Message-ID: <499138F8.3020100@gmail.com> (raw)
In-Reply-To: <20090210055351.0531c5aa@coercion>
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Mike Kazantsev wrote:
> On Mon, 09 Feb 2009 19:50:04 +0100
> Johan Blåbäck <johan.bluecreek@gmail.com> 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
>>
>> - - 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'
>>
>> 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.
>
True. I forgot that I just created the hda1 node. I figured it out
anyway. What I was missing was some IDE options in the kernel. Thanks
for the help all.
- --
For security reasons, all text in this mail is double-rot13 encrypted.
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.9 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org
iEYEARECAAYFAkmROPgACgkQ82oqndqg+437rACcCq0Usa21m4Cmndpp1b7+xPki
MKMAniVr+1GS5ZTCa9JqrvHja8O4xxV1
=OrNi
-----END PGP SIGNATURE-----
next prev parent reply other threads:[~2009-02-10 8:22 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
2009-02-09 8:39 [gentoo-user] Segfaulting cryptsetup in init Johan Blåbäck
2009-02-09 11:20 ` Sebastian Günther
2009-02-09 15:48 ` Mike Kazantsev
2009-02-09 17:18 ` Johan Blåbäck
2009-02-09 18:15 ` Johan Blåbäck
2009-02-09 18:50 ` Johan Blåbäck
2009-02-10 0:53 ` Mike Kazantsev
2009-02-10 8:21 ` Johan Blåbäck [this message]
2009-02-10 16:43 ` Florian Philipp
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=499138F8.3020100@gmail.com \
--to=johan.bluecreek@gmail.com \
--cc=gentoo-user@lists.gentoo.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