Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Problem while installing on NSLU2
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Gentoo on Alternative Architectures
View previous topic :: View next topic  
Author Message
ekki_123
n00b
n00b


Joined: 04 Jun 2006
Posts: 54
Location: Herxheim, Deutschland

PostPosted: Wed Oct 11, 2006 4:45 pm    Post subject: Problem while installing on NSLU2 Reply with quote

Hi.
I went through the excellent Wiki howto for the NSLU2, so far all ok.

The installation of OpenSlug 3.1 went fine, I initialized a USB harddisk s in the Howto etc. etc.

Now I come to the point where I should reboot...
The Howto says to unmount the USB drive, but on umount /dev/sda1 I get a 'device busy' error and the disk remains mounted.
# mount says:
Code:

root@grappa:/# mount
rootfs on / type rootfs (rw)
/dev/root on / type jffs2 (rw)
proc on /proc type proc (rw)
sysfs on /sys type sysfs (rw)
/dev/root on /dev/.static/dev type jffs2 (rw)
tmpfs on /dev type tmpfs (rw)
tmpfs on /var type tmpfs (rw)
tmpfs on /media/ram type tmpfs (rw)
usbfs on /proc/bus/usb type usbfs (rw)
devpts on /dev/pts type devpts (rw)
/dev/sda1 on /mnt/gentoo type ext2 (rw,nogrpid)
tmpfs on /mnt/gentoo/dev type tmpfs (rw)
root@grappa:/#


I tried to umount /mnt/gentoo/dev, but that also results in a 'device busy'. Maybe it's interesting that I get that twice:
Code:

root@grappa:/# umount /mnt/gentoo/dev
umount: /mnt/gentoo/dev: device is busy
umount: /mnt/gentoo/dev: device is busy
root@grappa:/#


What gives? WIth the meagre shell of OpenSlug I can't 'lsof' or see anything which still accesses the drive. How can I find out, or how can I cleanly unmount the drive now?

Thanks for any hints.

Ekki/Germany
Back to top
View user's profile Send private message
nixnut
Administrator
Administrator


Joined: 09 Apr 2004
Posts: 10973
Location: the dutch mountains

PostPosted: Wed Oct 11, 2006 4:52 pm    Post subject: Reply with quote

Just reboot, the system will unmount the volumes.
_________________
Please add [solved] to the initial post's subject line if you feel your problem is resolved. Help answer the unanswered

talk is cheap. supply exceeds demand
Back to top
View user's profile Send private message
ekki_123
n00b
n00b


Joined: 04 Jun 2006
Posts: 54
Location: Herxheim, Deutschland

PostPosted: Wed Oct 11, 2006 8:22 pm    Post subject: Reply with quote

nixnut wrote:
Just reboot, the system will unmount the volumes.


Thanks for the reply, but that is no viable solution.

1.) I am using Linux also because I like to understand what is going on. Your proposal is what I call a "Windows" solution. Sorry.

2.) Not properly unmounting a drive with ext2 will most likely lead to a hang of the system because it want's to start a fsck on boot. With no terminal, no sshd running, I have no way to see what's going on, the system just does not boot. I have to unplug the disk, boot onto OpenSlug on flash, plug in the disk again, do fsck manually and try again...

So, if anybody could give me a hint what might be the reason for not being able to properly unmount the disk, I would be very grateful.

Rgds,
Ekki/Germany
Back to top
View user's profile Send private message
derm1ke
n00b
n00b


Joined: 15 Jul 2006
Posts: 16

PostPosted: Thu Oct 12, 2006 5:48 pm    Post subject: what else is mounted? Reply with quote

Hi there,

just a guess, but it could be possible, that there are some filesystems mounted beneath /dev/sda11.

try the following:

Code:
mount

This shows everything mounted, like /dev/sda11 mounted on /mnt/gentoo.
Maybe there is still proc mounted on /mnt/gentoo/proc
OR
/dev/pts mounted on /mnt/gentoo/dev/pts
/dev mounted on /mnt/gentoo/dev
umount them.

otherwise, if you've done a chroot into your gentoo-env, it could be possible that you have emerged cron and or syslog and their processes are still accessing stuff in /var/log/.
remount all your necessary stuff and do a chroot.
Try stopping your cron and syslog ( if your using vixie-cron and syslog-ng ) with
Code:
/etc/init.d/vixie-cron stop;/etc/init.d/syslog-ng stop
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Gentoo on Alternative Architectures 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