Gentoo Archives: gentoo-mips

From: Matthias Bethke <matthias@×××××××.de>
To: gentoo-mips@l.g.o
Subject: Re: [gentoo-mips] Qube2 can't load CoLo
Date: Mon, 04 Jun 2007 22:25:19
Message-Id: 20070604222453.GC8207@huxley.cablesurf.de
In Reply to: Re: [gentoo-mips] Qube2 can't load CoLo by Andrew Gaffney
1 Hi Andrew,
2 on Thursday, 2007-05-17 at 06:47:39, you wrote:
3 > That sounds suspiciously like you forgot to enable tmpfs support in your
4 > kernel.
5
6 Indeed, that's what it was 8-] It's working just fine now, thanks!
7 I'm still fighting with the recent 2.6.20 as it doesn't seem to
8 recognize my disk, but 2.6.17 is fine as well so far. Just dm-crypt is
9 *very* strange:
10 | cryptsetup -s256 luksFormat /dev/hda5
11 |
12 | WARNING!
13 | ========
14 | This will overwrite data on /dev/hda5 irrevocably.
15 |
16 | Are you sure? (Type uppercase yes): YES
17 | Enter LUKS passphrase:
18 | Verify passphrase:
19 | Command successful.
20 | ann ~ # cryptsetup luksDump /dev/hda5
21 | automatic header conversion from 0.99 to 0.991 triggeredLUKS header information for /dev/hda5
22 |
23 | Version: 1
24 | Cipher name: aes
25 | Cipher mode: cbc-essiv:sha256
26 | Hash spec: sha1
27 | Payload offset: 2056
28 | MK bits: 256
29 | MK digest: 0a 1d c0 9b 6a 49 38 d1 f2 44 d4 e6 7e 53 2e 06 54 5d b7 9e
30 | MK salt: 7b 88 7b 2a 7a 46 5c 97 72 93 3a 13 be db 61 f9
31 | 9c ca fb 60 fb d3 86 d2 67 aa e9 c5 9a 3b e8 62
32 | MK iterations: 0
33 | UUID: d3001762-dede-4634-aaf5-9005c34702b0
34 |
35 | Key Slot 0: ENABLED
36 | Iterations: 11658
37 | Salt: c9 0c 45 1f b5 83 46 ee 4f 09 10 f9 b6 40 8e ea
38 | 76 62 e3 f3 ed dc 4f 93 f4 ac 89 91 b0 83 26 55
39 | Key material offset: 8
40 | AF stripes: 4000
41 | Key Slot 1: DISABLED
42 | Key Slot 2: DISABLED
43 | Key Slot 3: DISABLED
44 | Key Slot 4: DISABLED
45 | Key Slot 5: DISABLED
46 | Key Slot 6: DISABLED
47 | Key Slot 7: DISABLED
48 | ann ~ # cryptsetup luksDump /dev/hda5
49 | /dev/hda5 is not a LUKS partition
50 | Command failed.
51
52 /dev/hda5 is not mounted or anything, and the second luksDump command
53 came just a second after the first one. WTF?!
54
55 And BTW, HD performance leaves much to be desired---is this normal for
56 a 250 MHz MIPS? My 68040/40 Amiga did not much worse over its 7 MHz bus:
57 | ann ~ # dd if=/dev/zero bs=1M of=/dev/hda5
58 | dd: writing `/dev/hda5': No space left on device
59 | 1871+0 records in
60 | 1870+0 records out
61 | 1961132544 bytes (2.0 GB) copied, 208.289 s, 9.4 MB/s
62 | ann ~ # hdparm /dev/hda
63 |
64 | /dev/hda:
65 | multcount = 32 (on)
66 | IO_support = 1 (32-bit)
67 | unmaskirq = 1 (on)
68 | using_dma = 1 (on)
69 | keepsettings = 0 (off)
70 | readonly = 0 (off)
71 | readahead = 256 (on)
72 | geometry = 19846/16/63, sectors = 20005650, start = 0
73
74 I was planning to put a partly crypted drive from my HPPA box in there,
75 and I hoped at about twice the clock it would perform better...
76
77 cheers!
78 Matthias
79 --
80 I prefer encrypted and signed messages. KeyID: FAC37665
81 Fingerprint: 8C16 3F0A A6FC DF0D 19B0 8DEF 48D9 1700 FAC3 7665