Re: Problem with Encryption

Jonathan Masters (mastersj@periscope-systems.freeserve.co.uk)
Sat, 14 Aug 1999 02:09:34 +0100


I wrote the command down wrong, but typed it in correctly, actually the
problem was with a couple of options not being set in the kernel config for
the loopback device (cos I didn't realise they were there) - it works fine
now though.

Paul wrote:

> On Mon, 2 Aug 1999, Jonathan C. Masters wrote:
>
> @>
> @>Hi,
> @> I've applied the International kernel patches for 2.2.10 but after
> @>rebuilding losetup, I can't seem to mount a device correctly. Here's the
> @>output:
> @>
> @>[root@periscope util-linux-2.9s]# losetup -e rc6 /dev/hdb4 /dev/loop0
> @>Password :
> @>ioctl: LOOP_SET_FD: Input/output error
> @>[root@periscope util-linux-2.9s]#
> @>
> @>
> @>I haven't previously set a password. Should I have set a password using
> @>something else first? Any Ideas?
> @>
> @>Thanks.
> @>
>
> You have the arguments to losetup backwards-- should be :
>
> losetup -e rc6 /dev/loop0 /dev/hdb4
>
> Also, if you have compiled kernel to use modules, you might have
> trouble with them not autoloading; will need
>
> loop.o
> loop_gen.o
> rc62.o
>
> Good luck;
> Paul

--
Jonathan C. Masters                     (jonathan@oxlug.org)
                                        PGP: www.brookes.ac.uk/~95227860/KEY

"Upon this rock I will build my church, and the gates of hell shall not prevail against it".

-- Matthew 16, 17-18

- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.rutgers.edu Please read the FAQ at http://www.tux.org/lkml/