Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
No loop devices?
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Kernel & Hardware
View previous topic :: View next topic  
Author Message
Pengwin
n00b
n00b


Joined: 27 Jul 2004
Posts: 20

PostPosted: Wed Jul 28, 2004 5:44 pm    Post subject: No loop devices? Reply with quote

Hi all. Pretty new gentoo user here.

I'm trying to mount a CD iso and ran into an error stating there weren't any /dev/loop devices. I recompiled my kernel to include them (not as a module), copied the kernel into /boot as before and rebooted. Unfortunately there still aren't any /dev/loop devices. I've verified that I am using the most recently compiled kernel and that the config file shows CONFIG_BLK_DEV_LOOP = Y.

Is there anything else I need to do to get loop devices configured?

Thanks for the help.
Back to top
View user's profile Send private message
c0balt
Guru
Guru


Joined: 04 Jul 2004
Posts: 441
Location: Germany

PostPosted: Wed Jul 28, 2004 6:26 pm    Post subject: Reply with quote

hi,
which kernel version are you running?
if 2.6 (which i suppose)
du you have "/dev file system support" and "Automatically mount at boot" in the kernel?

Code:

#
# Pseudo filesystems
#
CONFIG_PROC_FS=y
CONFIG_PROC_KCORE=y
CONFIG_SYSFS=y
CONFIG_DEVFS_FS=y
CONFIG_DEVFS_MOUNT=y
# CONFIG_DEVFS_DEBUG is not set
# CONFIG_DEVPTS_FS_XATTR is not set
CONFIG_TMPFS=y
# CONFIG_HUGETLBFS is not set
# CONFIG_HUGETLB_PAGE is not set
CONFIG_RAMFS=y


also make sure u have devfsd installed:
Quote:
[mybox portage]# emerge -pv devfsd

These are the packages that I would merge, in order:

Calculating dependencies ...done!
[ebuild R ] sys-fs/devfsd-1.3.25-r8 -(uclibc) 0 kB



(if it says R that means its allready installed, if it says N you have to install it)

everything on your own risk though ;)
Back to top
View user's profile Send private message
Pengwin
n00b
n00b


Joined: 27 Jul 2004
Posts: 20

PostPosted: Wed Jul 28, 2004 8:33 pm    Post subject: Reply with quote

Thank you for the reply. I'm still using 2.4 (from the 2004.1 image). Does that change the requirements? I assume so.
Back to top
View user's profile Send private message
c0balt
Guru
Guru


Joined: 04 Jul 2004
Posts: 441
Location: Germany

PostPosted: Thu Jul 29, 2004 2:47 pm    Post subject: Reply with quote

Quote:

I'm still using 2.4 (from the 2004.1 image). Does that change the requirements? I assume so.


yes i think so, but i dont know exactly because im not using 2.4 any more.
i believe though that you _wont_ need the "/dev" option.

you need "Loopback device support" in "Block Devices" of course.

now lets see
Quote:

The loop devices are block special device files with major number 7 and typically called /dev/loop0, /dev/loop1 etc.

(from the kernel help menu

so have you tried (as root)
Code:

mknod -m 660 /dev/loop0 b 7 0

(and so on for loop1, loop2, as many as you want ;) )

you may have to change permissions/ownership of the created nods

plz tell me if that works, would like to know too =)
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Kernel & Hardware All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum