Skip to contentSkip to conversation

/dev/loop0 problems in 2.5.x?

parisc-linux Carlos O'Donell 2 participants 2 messages Feb 18, 2003 – Feb 19, 2003

lore
Share & tools
lore
#0 lore raw

parisc,

Works in 2.4.x, thinking of moving part of the cluster to 2.5, but I like to play with swap over NFS.

root@node01:/etc# /sbin/losetup /dev/loop0 /swapfile
ioctl: LOOP_SET_FD: Inappropriate ioctl for device
root@node01:/etc# uname -a
Linux node01 2.5.59-pa2 #2 Thu Jan 23 00:49:22 EST 2003 parisc unknown
unknown GNU/Linux

Do I need newer tools for playing with 2.5.x on HPPA? Loopback is compiled into the kernel, no modules, and I can produce the .config if you would like to look :)

Help is much appreciated. I've trolled a few places but no mention of this particular problem.

c.

#1 lore raw
Quoted 12 lines · Carlos O'Donell

parisc,

Works in 2.4.x, thinking of moving part of the cluster to 2.5, but I like to play with swap over NFS.

root@node01:/etc# /sbin/losetup /dev/loop0 /swapfile
ioctl: LOOP_SET_FD: Inappropriate ioctl for device
root@node01:/etc# uname -a
Linux node01 2.5.59-pa2 #2 Thu Jan 23 00:49:22 EST 2003 parisc unknown
unknown GNU/Linux
Quoted 3 lines

Do I need newer tools for playing with 2.5.x on HPPA? Loopback is compiled into the kernel, no modules, and I can produce the .config if you would like to look :)

I recently started to play around with 2.5.60 kernels. Up to now, I was not successful in building a working kernel. Especially if the loop device was compiled in, the kernel panicked in the following device driver (first the network device, after removing the network device it panicked when initializing SCSI). Without the loop device, the kernel came up to init, and panicked then.

I was using gcc (GCC) 3.3-hammer 20030123 from CVS, and this is probably the reason why my kernels fail. Maybe, you should try several different compilers to build the kernel.

If someone has a working for .config for 2.5.60, I would like to try this configuration with a slightly newer compiler (gcc (GCC) 3.3-hammer 20030205)

Berthold