Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Swapon /dev/sdx = Segementation Fault:
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Gentoo on Sparc
View previous topic :: View next topic  
Author Message
mkincheloe
n00b
n00b


Joined: 16 Sep 2003
Posts: 5
Location: Austin, TX

PostPosted: Sat Oct 11, 2003 8:43 am    Post subject: Swapon /dev/sdx = Segementation Fault: Reply with quote

What's up. I'm trying to get Gentoo installed on an old Sparcstation 5. When activating swap I get a segmentation fault.

Code:
swapon /dev/sda2
segmentation fault


Anyone know what this means exactly?

Thanks in advance.

---

SPARCstation 5 with 192MB RAM, Gentoo LiveCD 'gentoo-sparc-1.4_rc4.iso', (2) 2GB SCSI disks.
Back to top
View user's profile Send private message
boroshan
l33t
l33t


Joined: 16 Apr 2003
Posts: 730
Location: upside down

PostPosted: Sat Oct 11, 2003 9:20 am    Post subject: Reply with quote

segmentation fault means the program tried to store data in a read only memory address.

Writing to a null pointer in a C program is the easiest way to do it, but using the wrong versions of dynamic libraries or incompatible device drivers can do it as well

Hope that helps a little
_________________
Don't let THEM immanentize the Eschaton!
Back to top
View user's profile Send private message
torradan
Retired Dev
Retired Dev


Joined: 29 Dec 2002
Posts: 52
Location: Niagara Falls, NY

PostPosted: Sat Oct 11, 2003 11:08 am    Post subject: Reply with quote

You can ignore the error...it gives the segfault message on sparc32, but it works. Its been a known issue for quite some time.
_________________
-Todd <todd@gentoo.org>
-Gentoo/SPARC Developer
Back to top
View user's profile Send private message
Weeve
Retired Dev
Retired Dev


Joined: 30 Oct 2002
Posts: 641

PostPosted: Sat Oct 11, 2003 12:58 pm    Post subject: Reply with quote

Yeah, while swapon gives a segfault, it is actually activating swap. I seem to recall this is a kernel related issue.
Back to top
View user's profile Send private message
wesolows
Retired Dev
Retired Dev


Joined: 05 Apr 2003
Posts: 3
Location: San Jose CA

PostPosted: Sun Oct 12, 2003 7:05 pm    Post subject: Reply with quote

This was fixed around 2.4.21 or 22. The most recent sparc-sources should not have this problem.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Gentoo on Sparc 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