Forum: PS2 Linux - Show your penguin pride. Discuss PS2 Linux (Official kit and Blackrhino) here!


The above video goes away if you are a member and logged in, so log in now!




 
Would you like to get all the new info from
PSX-Scene in your email each day?




Want to learn more about the team keeping you up to date with the latest scene news?

Read about them now!

Check out our Developer bios, too!

 


User Tag List

Like Tree1Likes

Thread: Porting of Linux 2.6 to PS2
  

Page 39 of 42 FirstFirst ... 29 37 38 39 40 41 ... LastLast
Results 381 to 390 of 418
  1. #381  
    Mega Man's Avatar
    Mega Man is offline Member
    Join Date
    Jan 2010
    Location
    Germany
    Posts
    531
    Downloads
    0
    Uploads
    1
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Likes Given
    5
    Likes Received
    35
    I dont' have an unstable system. So you need to run the strace and send me the log of:
    strace -fF -vvv -o logfile.txt /bin/bash
    Reply With Quote  

  2. #382  
    Join Date
    Sep 2010
    Posts
    221
    Downloads
    0
    Uploads
    0
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Likes Given
    3
    Likes Received
    2
    logfile.txt - DONE!!!

    First time strace not wanted to work. But if glibc's strace work then what? - problem in uClibc.
    After this patch applied, i could launch strace. Please look at it - there are case with uClibc, largefile and syscalls!

    BTW, please make ps2gs and vu0 devices available again. I not understand why you switched them off - ps2gs uses only in Xgsx and libps2dev with vu0, so no one program touch them. This action only provides harder testing of Xgsx.
    Last edited by archicharmer; 02-19-2013 at 04:25 AM.
    Reply With Quote  

  3. #383  
    Mega Man's Avatar
    Mega Man is offline Member
    Join Date
    Jan 2010
    Location
    Germany
    Posts
    531
    Downloads
    0
    Uploads
    1
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Likes Given
    5
    Likes Received
    35
    I thought that I told you that large file support is needed in uClibc.

    Can you please use the parameters "-i -vvv" with strace. I need to know which code is executing SYS_5994, SYS_5995, SYS_5996, SYS_5997, SYS_5998 and SYS_5999. The syscalls seem to be out of range.I need the disassembly of the code which executes the syscalls (objdump -S).

    vu0 is disabled, because it freezes the system when opened. ps2gs should be still available.
    Reply With Quote  

  4. #384  
    Join Date
    Sep 2010
    Posts
    221
    Downloads
    0
    Uploads
    0
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Likes Given
    3
    Likes Received
    2
    logfile2.txt
    bashdump.tar.zip
    Yes, you was. Also you told a warning, that cross-compilation may not detect whenever system is large.
    UCLIBC_HAS_LFS=y
    # UCLIBC_HAS_FOPEN_LARGEFILE_MODE is not set
    Do not be fast in making conclusions. Maybe it is just a pare of syscalls of wrong emulation.

    vu0 is disabled... for what? How test the unavailable device?! And again, no one linux-program touches vu0.
    Last edited by archicharmer; 02-22-2013 at 09:17 PM.
    Reply With Quote  

  5. #385  
    Mega Man's Avatar
    Mega Man is offline Member
    Join Date
    Jan 2010
    Location
    Germany
    Posts
    531
    Downloads
    0
    Uploads
    1
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Likes Given
    5
    Likes Received
    35
    vu0 is unstable. I thought Xgsx or some test program opens vu0.

    It crashs, because rl_redisplay_function is NULL. The error is somewhere before. Please run it with gdb and use the following commands:

    gdb /bin/bash
    (gdb) run
    You will see the exception.
    (gdb) info registers
    (gdb) bt
    (gdb) info program
    (gdb) info shared
    (gdb) disass 0x2ac10150 0x2ac10170
    (gdb) disass 0x2ac10070 0x2ac10090

    Please post the output.
    Last edited by Mega Man; 02-23-2013 at 03:35 PM.
    Reply With Quote  

  6. #386  
    Join Date
    Sep 2010
    Posts
    221
    Downloads
    0
    Uploads
    0
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Likes Given
    3
    Likes Received
    2
    Quote Originally Posted by Mega Man
    I thought Xgsx or some test program opens vu0
    Agreed, now i get this point of view - if Xgsx will crash because VUs - we will see related error. Ok, let ps2gs switched on while vu0 is off. When Xgsx will work (if it will), then there is no reason to disable vu0 anymore.
    operation.tar.gz
    And i assumed this will not enough, so i uploaded tsystem_loop
    Reply With Quote  

  7. #387  
    AKuHAK is offline Member
    Join Date
    Jan 2012
    Posts
    135
    Downloads
    3
    Uploads
    0
    Mentioned
    6 Post(s)
    Tagged
    1 Thread(s)
    Likes Given
    44
    Likes Received
    64
    Quote Originally Posted by archicharmer View Post
    Agreed, now i get this point of view - if Xgsx will crash because VUs - we will see related error. Ok, let ps2gs switched on while vu0 is off. When Xgsx will work (if it will), then there is no reason to disable vu0 anymore.
    operation.tar.gz
    And i assumed this will not enough, so i uploaded tsystem_loop
    any progress with adding apascan into kernel?
    Reply With Quote  

  8. #388  
    Mega Man's Avatar
    Mega Man is offline Member
    Join Date
    Jan 2010
    Location
    Germany
    Posts
    531
    Downloads
    0
    Uploads
    1
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Likes Given
    5
    Likes Received
    35
    Apascan uses libdevmapper. The kernel supports devmapper. I think this was enabled in the last kernel for Fedora.
    It was not possible to directly cross-compile apascan, because libdevmapper wasn't available. Now buildroot is working. It should be able to cross-compile it, but I didn't tried it.
    Reply With Quote  

  9. #389  
    Join Date
    Sep 2010
    Posts
    221
    Downloads
    0
    Uploads
    0
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Likes Given
    3
    Likes Received
    2
    I has remembered about buildroot existence and built it.

    First thing is i can't chroot in it. I assume the output/target directory is the compiled target-system. So, i copied it into loop-file and tried to chroot. Unsuccessfully - it says about /bin/bash is absent nevertheless i created a symlink to busybox.

    Second thing is all binaries are the symlinks to busybox! My opinion - busybox base is unacceptable!

    Third thing is uClibc's config. Cross-compiler is mips64el, not mips64r5900el; of course it uses mips_isa=3 instead of r5900's default (which is mips3 thought); no use of march r5900.
    About patches used while building. For uClibc they are in toolchain/uClibc. I assume if uClibc-0.9.33 then patches for 0.9.33. Here below - the difference between uClibc of simple-toolchain and buildroot's one (except r5900 additions):

    Spoiler



    I did a rebuild of simple-toolchain,uClibc with buildroot's config both with mips64el and mips64r5900el targets. The bash is broken in each build.

    As i can't test buildroot's target-system, i can't find the difference of bash work. However, there is no way to do it - bash of buildroot is a part of busybox.
    So i still hope that you'll handle the bash debug from tsystem_loop and will have a success. Maybe you are waiting when GNU will accept the r5900 binutils patch to continue?..
    Last edited by archicharmer; 04-04-2013 at 04:21 AM.
    Reply With Quote  

  10. #390  
    Mega Man's Avatar
    Mega Man is offline Member
    Join Date
    Jan 2010
    Location
    Germany
    Posts
    531
    Downloads
    0
    Uploads
    1
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Likes Given
    5
    Likes Received
    35
    Busybox is small and uses less resources.

    Did you used the following files and started build.sh?
    SourceForge.net Repository - [kernelloader] Index of /linux/buildroot

    The output should be usable as initrd. You should not use nfs, samba or swapon when testing.

    I am still waiting for the replacement motherboard of my computer.
    Reply With Quote  

Page 39 of 42 FirstFirst ... 29 37 38 39 40 41 ... LastLast
Posting Permissions
  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •