Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Bus Error: 10 when trying to boot ramdisk img #30

Closed
GoogleCodeExporter opened this issue Apr 20, 2016 · 12 comments
Closed

Bus Error: 10 when trying to boot ramdisk img #30

GoogleCodeExporter opened this issue Apr 20, 2016 · 12 comments

Comments

@GoogleCodeExporter
Copy link

What steps will reproduce the problem?
1. trying to boot ramdisk img script
2.
3.

What is the expected output? What do you see instead?
successful loading of myramdisk img so i can ssh, instead i get "Bus error: 10" 
and a crash report from redsn0w.

What version of the product are you using? On what operating system?


Please provide any additional information below.


Original issue reported on code.google.com by jpap...@gmail.com on 24 Nov 2011 at 5:57

@GoogleCodeExporter
Copy link
Author

Issue 31 has been merged into this issue.

Original comment by jean.sig...@gmail.com on 24 Nov 2011 at 9:55

@GoogleCodeExporter
Copy link
Author

Did you try with the latest version of redsn0w 
(https://sites.google.com/a/iphone-dev.com/files/home/redsn0w_mac_0.9.9b8.zip) ?
Otherwise maybe try on Windows instead of OS X.

Original comment by jean.sig...@gmail.com on 24 Nov 2011 at 9:55

@GoogleCodeExporter
Copy link
Author

Yeah, tried a bunch of times with both b5 and b8...same error.  Getting lots of 
warnings when I try to do the img3f step as well...

img3fs.c:100: warning: pointer targets in passing argument 2 of ‘strncmp’ 
differ in signedness
img3fs.c:104: warning: pointer targets in passing argument 2 of ‘strncmp’ 
differ in signedness
img3fs.c:108: warning: pointer targets in passing argument 2 of ‘strncmp’ 
differ in signedness
img3fs.c: In function ‘img3_init’:
img3fs.c:266: warning: ‘EVP_aes_128_cbc’ is deprecated (declared at 
/usr/include/openssl/evp.h:766)
img3fs.c:269: warning: ‘EVP_aes_192_cbc’ is deprecated (declared at 
/usr/include/openssl/evp.h:776)
img3fs.c:272: warning: ‘EVP_aes_256_cbc’ is deprecated (declared at 
/usr/include/openssl/evp.h:786)
img3fs.c:281: warning: ‘EVP_CIPHER_CTX_init’ is deprecated (declared at 
/usr/include/openssl/evp.h:636)
img3fs.c:282: warning: ‘EVP_DecryptInit_ex’ is deprecated (declared at 
/usr/include/openssl/evp.h:590)
img3fs.c:283: warning: ‘EVP_DecryptUpdate’ is deprecated (declared at 
/usr/include/openssl/evp.h:592)
img3fs.c:284: warning: pointer targets in passing argument 3 of 
‘EVP_DecryptUpdate’ differ in signedness
img3fs.c: In function ‘img3_destroy’:
img3fs.c:307: warning: ‘EVP_CIPHER_CTX_init’ is deprecated (declared at 
/usr/include/openssl/evp.h:636)
img3fs.c:308: warning: ‘EVP_EncryptInit_ex’ is deprecated (declared at 
/usr/include/openssl/evp.h:581)
img3fs.c:309: warning: ‘EVP_EncryptUpdate’ is deprecated (declared at 
/usr/include/openssl/evp.h:583)
img3fs.c:310: warning: pointer targets in passing argument 3 of 
‘EVP_EncryptUpdate’ differ in signedness

could this effect myramdisk img?


Original comment by jpap...@gmail.com on 24 Nov 2011 at 1:42

@GoogleCodeExporter
Copy link
Author

The warnings for img3fs are "normal". What about redsn0w on windows ?

Original comment by jean.sig...@gmail.com on 25 Nov 2011 at 11:34

  • Changed state: Accepted

@GoogleCodeExporter
Copy link
Author

[deleted comment]

1 similar comment
@GoogleCodeExporter
Copy link
Author

[deleted comment]

@GoogleCodeExporter
Copy link
Author

I was able to get the ramdisk into the phone using windows, but I can't enter 
the python commands in the command prompt.  I must not have python installed on 
my windows partition.  Trying to ssh through cyberduck on windows but still no 
luck.  I have to change the port directions through python first in order to 
use my ssh client, right?

Original comment by jpap...@gmail.com on 26 Nov 2011 at 9:10

@GoogleCodeExporter
Copy link
Author

On windows, you need to install python and the modules listed on the README 
page (pycrypto, M2crypto, construct, progressbar). Once you've booted the 
ramdisk with redsn0w, run the usbmuxd-python-client/relay.bat script to forward 
the ports, then ssh to localhost:2222 (using PuTTy for example).

Original comment by jean.sig...@gmail.com on 27 Nov 2011 at 5:30

@GoogleCodeExporter
Copy link
Author

I'm connected through SSH now, but I can't seem to get to the files on my 
phone.  I have to bruteforce, but I'm getting errors:

File "C:\Desktop\iphone-dataprotection\python_scripts\demo_bruteforce.py", line 
3 in <module>
from keystore.keybag import Keybag
File "C:\Desktop\iphone-dataprotection\python_scripts\keystore\keybag.py", line 
5 in <module>
from crypto.aeswrap import AESUnwrap
ImportError: No module named crypto.aeswrap

I had trouble running the scripts for pycrypto, m2crypto, construct, and 
progress bar so I ended up manually downloading them from their websites and 
installing on my system.  Does that make a difference?

Original comment by jpap...@gmail.com on 28 Nov 2011 at 2:05

@GoogleCodeExporter
Copy link
Author

I had to setup easy_install for python.  I was able to install the dependencies 
for progress bar, pycrypto, and construct no problem, but I'm getting an error 
for m2crypto:

setup script exited with error: command 'swig.exe' failed. no such file or 
directory.  

I have manually downloaded swig, but still no luck.

Original comment by jpap...@gmail.com on 30 Nov 2011 at 5:08

@GoogleCodeExporter
Copy link
Author

Try installing this binary package for m2crypto :
http://chandlerproject.org/pub/Projects/MeTooCrypto/M2Crypto-0.21.1.win32-py2.6.
exe

Original comment by jean.sig...@gmail.com on 11 Dec 2011 at 10:26

@GoogleCodeExporter
Copy link
Author

closing old issues

Original comment by jean.sig...@gmail.com on 11 Feb 2014 at 10:38

  • Changed state: Done

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant