Tony Mountifield wrote:

> Hugo Coolens wrote:
> >
> > > Tony Mountifield wrote:
> > >
> > > > > yes, but apparently it does not always. How can I detect which
> process
> > > > uses the
> > > > > usbdevfs after performing adsl.sh stop? So I can kill it manually
> before
> > > > halting
> > > > > the system?
> > > >
> > > > # fuser -m /proc/bus/usb
> > > >
> >
> > I have tried it out:
> > before the adsl.sh stop command, fuser -m /proc/bus/usb shows 4 processes
> running
> >
> > after the adsl.sh stop command, there is one proces left
> > after killall modem_run, no more processes left
> >
> > unfortunately, when I performed then the halt command, the system "hung"
> again
> > and an unclean umount of my linux partition was the result . Do you have
> any
> > further suggestions to solve this annoying problem?
>
> Yes, I needed to edit /etc/rc.d/init.d/halt to include unmounting of
> /proc/bus/usb:
>
> Just before the line containing "mount -n -o remount,ro /" I added the line:
>
> runcmd "Unmounting usbdevfs file system" umount /proc/bus/usb
>
> Try it and see if it helps.
>

I edited the halt script as you suggested, but it does not solve the problem,
this is what happens:
when I have a clean unmount (around 5 times out of ten) , I see the message:
unmounting usbdefs file system umount /proc/bus/usb: not mounted [failed]

when I have an unclean unmount the last message on the screen is: Unmounting
files systems and it does not get at the point where your extra line should
display, the system just hangs. The sequence alt-sysreq-s alt-sysreq-u
alt-sysreq-b does not help neither

I am quite sure that the problem is related to the presence of the speedtouch
modem, I just tried to halt and reboot my system WITHOUT  the speedtouch modem
connected 10 times in a row and all unmounts were succesfully.

Maybe I should try it with your halt-script? Can you send it to me? Do you use
another distribution than mine (manrake 8.0)?

regards,
Hugo


Liste de diffusion modem ALCATEL SpeedTouch USB
Pour se d�sinscrire : mailto:[EMAIL PROTECTED]?subject=unsubscribe

        

Reply via email to