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 4 of 42 FirstFirst ... 2 3 4 5 6 14 ... LastLast
Results 31 to 40 of 418
  1. #31  
    Mega Man's Avatar
    Mega Man is offline Member
    Join Date
    Jan 2010
    Location
    Germany
    Posts
    532
    Downloads
    0
    Uploads
    1
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Likes Given
    5
    Likes Received
    35
    I uploaded the current version. It is little bit more stable and it has support for the internal hard disc.
    Linux 2.6 Test Files Version 5

    edit: After some tests I think the data cache is not flushed correctly. I get illegal instructions for code where this is never possible. When I read data from the data cache, it is correct. If I disable data cache, the system is slower and it seems to run stable.
    Last edited by Mega Man; 06-23-2011 at 11:37 AM.
    Reply With Quote  

  2. #32  
    SkyNet's Avatar
    SkyNet is offline Member
    Join Date
    Apr 2010
    Posts
    612
    Downloads
    5
    Uploads
    0
    Mentioned
    4 Post(s)
    Tagged
    0 Thread(s)
    Likes Given
    204
    Likes Received
    182
    Nice work with version 5 MegaMan. Actually I had to configure Network manually ---DHCP does not autoconfigure.
    To me what you built in ver 5 is really smart like "Artificial Inteligence" to my opinion.
    At first it says on GUI that system will run in low memory mode and that it needs swap to be activated.
    Everything works immedeatelly including just connected keyboard. My ver 14 slim works with it. Installer looks like the one used in linux kit.
    It downloads from internet files in order to install Debian.
    Actually it showed list of drives where is possible to install Debian and the list had in it my USB Flash Drive---so I have question : Is it possible to connect USB-HDD and install there Debian?
    MegaMan I really like what you doing---it is awesome. I am happy that you working on development of kernel 2.6 for ps2. I think that this is the way we should go.
    Interesting question: Which desktop environment is possible to use with kernel 2.6 for ps2 when kernel 2.6 will be ready as final version?
    Also how do you see usage of Linux 2.6 with ps2 slim----As LiveDVD or through LAN? What is your opinion here? Thanks...

    Best Regards from PS3 Linux User
    Reply With Quote  

  3. #33  
    danielb's Avatar
    danielb is offline Member
    Join Date
    Apr 2011
    Location
    Portugal
    Posts
    169
    Downloads
    0
    Uploads
    0
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Likes Given
    2
    Likes Received
    3
    with linux 2.6 a usb hdd can be used with slim im using like that but the kernel is still very unstable to use...
    Reply With Quote  

  4. #34  
    KarasQ is offline Member
    Join Date
    Feb 2009
    Location
    Poland
    Posts
    35
    Downloads
    0
    Uploads
    0
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Likes Given
    0
    Likes Received
    4
    Quote Originally Posted by danielb View Post
    i think i created a directory and it fixed itself
    mkdir /lib/modules/2.6.35.4/
    im not sure try and tell if worked for you
    Yes it works.

    I use PS2 SCPH 77004, I extracted debian 5.0 baseimage to pendrive ext2 partition and it works fine but I should change to ext3 to avoid fsck every time I run it It also run pretty stable. I got once segmentation fault when entered a command, but I haven't tested network yet. It seems it doesn't log out randomly anymore (at least didn't occur for me this time).
    Reply With Quote  

  5. #35  
    Mega Man's Avatar
    Mega Man is offline Member
    Join Date
    Jan 2010
    Location
    Germany
    Posts
    532
    Downloads
    0
    Uploads
    1
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Likes Given
    5
    Likes Received
    35
    I didn't tested the installer with the latest version. It is the offical installer from Debian, so many people were involved in developing and testing on other systems. So it is smarter than the existing PS2 installers. It should be possible to install Debian to USB, but you need to use initrd.usb2.gz and kernel parameter "newroot=/dev/sda1" to start it. initrd.usb2.gz is sometimes not working. I think it is caused by using 64-Bit or 128-Bit registers which is currently not fully supported.
    It is possible to install all existing Linux programs, but not everything will work. Currently there will no desktop environment run, because there is no frame buffer or X-Windows driver. If a frame buffer driver is working, X-Windows will also work, but it will need much memory.
    Linux 2.6 seems to use to much memory to run it from Live-DVD with graphical interface. The best way to run it, is from internal hard disc. On slim a NFS root with swap on USB memory stick will be the best option.
    I've also tested WLAN. My USB stick was able to scan WLAN networks. I didn't tried a connection yet, because the encrypted configuration is always complicated, but I am sure it will work.
    There is one easy way to configure the cache. The following kernel parameter will disable cache and use a small acceleration buffer.
    Code:
    cca=7
    This makes Linux 2.6 really stable and slow. Value 3 enables cache and value 2 disables cache and acceleration.
    Reply With Quote  

  6. #36  
    deba5er's Avatar
    deba5er is offline Moderator
    Join Date
    Jan 2006
    Posts
    593
    Downloads
    0
    Uploads
    0
    Mentioned
    2 Post(s)
    Tagged
    1 Thread(s)
    Likes Given
    6
    Likes Received
    8
    Mega Man,

    I'm interested. I'm backing up my current ps2linux next release now so I can blow the hdd away in an attempt to use the installer. Using kernel v5 without the cca=7 last night I would repeatedly kick out of the base installation at about 30% due to an illegal instruction. Later last night I went ahead and built my March 2010 distro with new openssh/openssl, dillo 2.2-ssl, and WindowMaker so I have to back up this work before trying again tonight because I want to release one more crappy 2.4 release some time before your 2.6 debian puts the final nail in the coffin of 2.4 ;-) I'll post my results tonight unless it gets REALLY slow.

    EDIT - Really slow. I left it running the base install overnight and it is only at 6% validating libc6. I'll leave it running for today, but it is likely hung up during the install previous to the point that I reached before failing (without the cca=7 kernel parameter I reached 30% on the base install before getting "illegal instruction").

    EDIT2 - Power outage during the day (very common where I live). Installation apparently did not complete successfully, but I don't have any logs to analyze unless I start over. I need a good UPS before conducting a test of this duration.
    Last edited by deba5er; 06-24-2011 at 07:02 PM.
    PS2 v9 NTSC, PS2 v12 NTSC, PS2 v15 VESA
    Reply With Quote  

  7. #37  
    deba5er's Avatar
    deba5er is offline Moderator
    Join Date
    Jan 2006
    Posts
    593
    Downloads
    0
    Uploads
    0
    Mentioned
    2 Post(s)
    Tagged
    1 Thread(s)
    Likes Given
    6
    Likes Received
    8
    @Mega Man,
    For cca, here are the possibilities (some not applicable to r5900):
    + * Cache Coherency Attributes:
    + * UC: Uncached. cca=2
    + * UA: Uncached accelerated. cca=7
    + * C: Cacheable, coherency unspecified. cca=3
    + * CNC: Cacheable non-coherent. cca=3
    + * CC: Cacheable coherent. cca=5
    + * CCE: Cacheable coherent, exclusive read. cca=4
    + * CCEW: Cacheable coherent, exclusive write. cca=5
    + * CCUOW: Cacheable coherent, update on write. cca=6

    Re: [PATCH 2/2] target: remove dead DF_* flags (Linux SCSI) notes "The DF_TRANSPORT_BUF_ALLOC flag was originally used by a now extinct
    v2.2/v2.4 backend driver (iscsi_target_ata.c) for the old drivers/ide/ code that required a single contigious buffer to be setup on the non
    cache coherent MIPS r5900 (the Playstation2 for non linux-mips.org folks) -> r3000 IOP DMA to the single channel PATA expansion adapter."

    So if we are non cache coherent according to the above note, therefore only 2, 3, or 7 are proper choices, right? My assumption is that cca=3 is default and that causes the problems? I will test more but this is way out of my league ;-)

    EDIT- At the same spot in the base installation (30%), the command that fails is the "chroot /target /sbin/ldconfig" - it alternates between output of "segmentation fault", "bus error", and "illegal instruction". This is where it is trying to run the recently unpacked (from the network) /sbin/ldconfig from the hard drive. The TV is in use right now, but later I'll check to see binary compatibility of the executables on /target. cca=3 was fast though!
    Last edited by deba5er; 06-28-2011 at 09:47 PM.
    PS2 v9 NTSC, PS2 v12 NTSC, PS2 v15 VESA
    Reply With Quote  

  8. #38  
    Mega Man's Avatar
    Mega Man is offline Member
    Join Date
    Jan 2010
    Location
    Germany
    Posts
    532
    Downloads
    0
    Uploads
    1
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Likes Given
    5
    Likes Received
    35
    I added a data cache flush which seems to work.
    Kernelloader - Browse /Linux 2.6/Linux 2.6 Test Files Version 6 at SourceForge.net

    Please tell me if there are still problems with random errors.
    Reply With Quote  

  9. #39  
    deba5er's Avatar
    deba5er is offline Moderator
    Join Date
    Jan 2006
    Posts
    593
    Downloads
    0
    Uploads
    0
    Mentioned
    2 Post(s)
    Tagged
    1 Thread(s)
    Likes Given
    6
    Likes Received
    8
    @Mega Man

    Thanks, will check it out asap!

    EDIT: It did not complete the installation, but it appeared to be memory starved (swapping for many hours in same part of installation). However, the base installed. Will work more with it tonight. NO segfaults, illegal instructions, halts, etc. so I am fairly certain that running for 16 hours straight for a Debian install would have shown the errors if you had not fixed it. Excellent!
    Last edited by deba5er; 07-25-2011 at 07:56 AM.
    PS2 v9 NTSC, PS2 v12 NTSC, PS2 v15 VESA
    Reply With Quote  

  10. #40  
    Mega Man's Avatar
    Mega Man is offline Member
    Join Date
    Jan 2010
    Location
    Germany
    Posts
    532
    Downloads
    0
    Uploads
    1
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Likes Given
    5
    Likes Received
    35
    Did you used a fat or a slim PS2?
    Did you install it on the internal HDD or on a USB storage device?
    Reply With Quote  

Page 4 of 42 FirstFirst ... 2 3 4 5 6 14 ... 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
  •