It is currently Mon Jun 26, 2017 12:20 pm



Welcome
Welcome to antiX-forum.

You are currently viewing our boards as a guest, which gives you limited access to view most discussions and access our other features. By joining our free community, you will have access to post topics, communicate privately with other members (PM), respond to polls, upload content, and access many other special features. Registration is fast, simple, and absolutely free, so please, join our community today!


Forum locked This topic is locked, you cannot edit posts or make further replies.  [ 29 posts ]  Go to page Previous  1, 2
Author Message
 Post subject: Re: antiX-15-rc1.1: Serious errors caused by "eject" command
PostPosted: Mon Jun 29, 2015 1:25 am 
Offline
Site Admin
User avatar

Joined: Tue Sep 11, 2007 4:55 pm
Posts: 5837
Location: Greece
Also, booting on real hardware a live cd without toram, on reboot, the media is ejected as it should.
On installed system, eject works fine.

_________________
Philosophers have interpreted the world in many ways; the point is to change it.


Top
 Profile  
 
 Post subject: Re: antiX-15-rc1.1: Serious errors caused by "eject" command
PostPosted: Mon Jun 29, 2015 1:31 am 
Offline
User avatar

Joined: Tue Sep 01, 2009 12:48 am
Posts: 1125
I verified that antiX-15-beta1 fails if you boot to X and tell toram-eject to eject.

One trick I've found is that the programs under /live/bin/ still work. So I set "PATH=/live/bin" after the system got borked and I could still run dmesg and tail. I've attached a screen shot of the some of the error messages in dmesg. The rest are similar.


Attachments:
eject-errors2.png
eject-errors2.png [ 56.66 KiB | Viewed 2480 times ]

_________________
Science is the belief in the ignorance of experts.
-- Richard Feynman
Top
 Profile  
 
 Post subject: Re: antiX-15-rc1.1: Serious errors caused by "eject" command
PostPosted: Mon Jun 29, 2015 1:32 am 
Offline
Site Admin
User avatar

Joined: Tue Sep 11, 2007 4:55 pm
Posts: 5837
Location: Greece
More info:

Boot liveusb with toram option.
Insert a video dvd at desktop
Open a terminal and type mplayer /dev/sr0 - dvd plays.
Stop dvd and in teminal type eject, dvd ejects and no issues rebooting or opening other apps.

_________________
Philosophers have interpreted the world in many ways; the point is to change it.


Top
 Profile  
 
 Post subject: Re: antiX-15-rc1.1: Serious errors caused by "eject" command
PostPosted: Mon Jun 29, 2015 1:37 am 
Offline
User avatar

Joined: Tue Sep 01, 2009 12:48 am
Posts: 1125
I Googled the first error message "vfs busy inodes on changed media or resized disk" and the first hit says:
Quote:
It means your cdrom drive has been ejected without unmounting.

We've been using lazy umount (-l) in the initrd to umount /live/boot-dev if it no longer needs to be mounted. I've always disliked doing this.

I can try disabling the umount in the live initrd and see if I can umount and eject successfully from the command line after we have booted.

_________________
Science is the belief in the ignorance of experts.
-- Richard Feynman


Top
 Profile  
 
 Post subject: Re: antiX-15-rc1.1: Serious errors caused by "eject" command
PostPosted: Mon Jun 29, 2015 2:01 am 
Offline
Site Admin
User avatar

Joined: Tue Sep 11, 2007 4:55 pm
Posts: 5837
Location: Greece
BTW - MX-14.4 doesn't work either with toram and eject once at desktop

_________________
Philosophers have interpreted the world in many ways; the point is to change it.


Top
 Profile  
 
 Post subject: Re: antiX-15-rc1.1: Serious errors caused by "eject" command
PostPosted: Mon Jun 29, 2015 2:07 am 
Offline
Site Admin
User avatar

Joined: Tue Sep 11, 2007 4:55 pm
Posts: 5837
Location: Greece
antiX-13.2 does work correctly. (64bit no CONFIG_APM in the kernel)

_________________
Philosophers have interpreted the world in many ways; the point is to change it.


Top
 Profile  
 
 Post subject: Re: antiX-15-rc1.1: Serious errors caused by "eject" command
PostPosted: Mon Jun 29, 2015 5:35 pm 
Offline

Joined: Sun Aug 21, 2011 10:59 am
Posts: 994
Apologies for cluttering the thread. Topic moved to RC1.1.


Last edited by SamK on Mon Jun 29, 2015 8:12 pm, edited 2 times in total.

Top
 Profile  
 
 Post subject: Re: antiX-15-rc1.1: Serious errors caused by "eject" command
PostPosted: Mon Jun 29, 2015 6:03 pm 
Offline
User avatar

Joined: Sun Dec 16, 2007 4:49 pm
Posts: 2148
samk, you got the wrong thread. can you move your post to the rc1.1 feedback thread?

_________________
http://www.youtube.com/runwiththedolphin
eeepc 904ha antix 15 32 bit (streaming media player)
sony laptop amd 900mhz duran 512mb ram, antix 13 32-bit
lenovo s21e - 2gb ram, celeron - antiX-16 64 bit


Top
 Profile  
 
 Post subject: Re: antiX-15-rc1.1: Serious errors caused by "eject" [Solved
PostPosted: Mon Jun 29, 2015 9:06 pm 
Offline
User avatar

Joined: Tue Sep 01, 2009 12:48 am
Posts: 1125
I've solved the problem. I plan to make a new initd.gz for rc1.1 available later today.

_________________
Science is the belief in the ignorance of experts.
-- Richard Feynman


Top
 Profile  
 
 Post subject: Re: antiX-15-rc1.1: Serious errors caused by "eject" [Solved
PostPosted: Mon Jun 29, 2015 9:11 pm 
Offline
User avatar

Joined: Sun Dec 16, 2007 4:49 pm
Posts: 2148
BitJam wrote:
I've solved the problem. I plan to make a new initd.gz for rc1.1 available later today.


what was it?, if you don't mind me asking.

_________________
http://www.youtube.com/runwiththedolphin
eeepc 904ha antix 15 32 bit (streaming media player)
sony laptop amd 900mhz duran 512mb ram, antix 13 32-bit
lenovo s21e - 2gb ram, celeron - antiX-16 64 bit


Top
 Profile  
 
 Post subject: Re: antiX-15-rc1.1: Serious errors caused by "eject" [Solved
PostPosted: Mon Jun 29, 2015 9:18 pm 
Offline
User avatar

Joined: Tue Sep 01, 2009 12:48 am
Posts: 1125
I will explain later. I've got a bunch of stuff to do and my English-language module hasn't really kicked in yet today.

_________________
Science is the belief in the ignorance of experts.
-- Richard Feynman


Top
 Profile  
 
 Post subject: Re: antiX-15-rc1.1: Serious errors caused by "eject" [Solved
PostPosted: Mon Jun 29, 2015 9:21 pm 
Offline
User avatar

Joined: Sun Dec 16, 2007 4:49 pm
Posts: 2148
BitJam wrote:
I will explain later. I've got a bunch of stuff to do and my English-language module hasn't really kicked in yet today.


cool beans.

_________________
http://www.youtube.com/runwiththedolphin
eeepc 904ha antix 15 32 bit (streaming media player)
sony laptop amd 900mhz duran 512mb ram, antix 13 32-bit
lenovo s21e - 2gb ram, celeron - antiX-16 64 bit


Top
 Profile  
 
 Post subject: Re: antiX-15-rc1.1: Serious errors caused by "eject" [Solved
PostPosted: Mon Jun 29, 2015 9:32 pm 
Offline
User avatar

Joined: Tue Sep 01, 2009 12:48 am
Posts: 1125
There was a toram bug fix about a year ago that caused this new bug. The problem is that I needed to mount /live/boot-dev/antiX/linuxfs *before* running the "toram" code. This is what kept making it impossible to fully umount the boot device. There is no way to order everything to get rid of all the bugs.

I fixed it this time by unmounting /live/boot-dev/antiX/linuxfs after a successful toram copy and then mounting /live/to-ram/linuxfs. This fixed the problem and should prevent me from re-creating old bugs had I moved the to-ram code to a place earlier in the boot process.

I also removed the dastardly "umount -l" (lazy umount) which had been masking this problem. I replaced it with a loop that tries to do a normal umount for 2.5 seconds before giving up. I needed to do a similar thing in the build-iso script a few years ago.

The problem should be fixed. If it is not fixed (perhaps in some use cases) then an error will be reported and the boot device will not be unmounted so the toram-eject script will not run.

BTW: the new initrd will run toram-eject in CLI mode if we've done a successful toram and the boot device is a LiveCD/DVD and we are in runlevel 3. I don't know if this will disable running toram-eject in GUI mode (but if not then this will be easy to fix). I start X from runlevel 3 with the command (as root):
Code:
telinit 5

_________________
Science is the belief in the ignorance of experts.
-- Richard Feynman


Top
 Profile  
 
 Post subject: Re: antiX-15-rc1.1: Serious errors caused by "eject" [Solved
PostPosted: Mon Jun 29, 2015 9:45 pm 
Offline
User avatar

Joined: Tue Sep 01, 2009 12:48 am
Posts: 1125
I uploaded an updated rc1.1 initrd.gz on dropbox.

BTW, there is a minor bug in the toram-eject script which causes it to print the title twice in CLI mode. This bug is fixed elsewhere so you will still see it if you use "toram" combined with runlevel 3.

_________________
Science is the belief in the ignorance of experts.
-- Richard Feynman


Top
 Profile  
 
Display posts from previous:  Sort by  
Forum locked This topic is locked, you cannot edit posts or make further replies.  [ 29 posts ]  Go to page Previous  1, 2


Who is online

Users browsing this forum: No registered users and 1 guest


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 post attachments in this forum

Search for:
Jump to:  
suspicion-preferred