Some problems using Linux from SMB –
05-23-2010,08:00 PM
Hi All,
Yesterday I've downloaded the ps2linux_loop and related files from ps2 nuclearfall.
Everything goes well, network, sound, usb (with irx from sce), xmms, dilo, almost all the things runs fine, I'm very happy running linux in the play.
I'm using kloader 2.1 with initrd.usb2.smb.gz and vmlinux_fat_and_slim_v4.gz. on my sch-79001 ntsc. "PS2Version: US 0220 05/09/2006 DMS4 Hardware Version: 1.0 SE Lite ToxicBIOS Flash Version: FF.7F ToxicBIOS Config Version: 1.2"
Today I was trying something new, and start to play with dselect and it hangs everything when update package list, it hangs in:
"Merging available information" - UPDATE - I've read in nuclearfall that this is a known problem in the package.
Another thing, I've downloaded pidgin_build_2.6.2 from your 4shared, just to test something new, and when I was extracting files with tar the process stop with a "Segmentation Fault" error and the system become unstable.
Just to check, I've put the original ps2linux_loop and the swap files again and the problems are the same.
Do it again from the begining (this time only copying and extracting pidgin), the error this time is (after half an hour of extraction):
It is possible that the slim PSTwo sometimes looses network packages. This is already a know problem. This may cause the problem you have seen. It can also be caused by too less memory. If you add a swap device it may be more stable and faster. You can use a USB memory stick as swap device. USB is not stable on slim PSTwo, but it seems to be stable enough when using one swap device only.
When my internal network is on heavy load, the problems seems to be more often, so, it's about packet lost.
Today I move swap to usb (not verbatin copy here):
swapoff /smb/loop1
mount /dev/sda1 /mnt/usb
swapon /mnt/usb/swapfile
but after some minutes, when I made some heavy things, like install dillo2.1.1 I see the pendrive light to start flashing and it keeps in this situation for hours, and get no more response from the system.
The pendrive works fine with another programs, like uLE (read/write), kernelloader and so on....
Another test, out of x-window,
cp /mnt/smb/..../swapfile /mnt/usb/ps2linux/swapfile
Pendrive start to flashing, packets are sent from my pc, but after 3 hours of light blinking, I reset the ps2 and check the pendrive, it copy only 10mb of file.
So, I have less luky with usb than smb.
Is any flag or parameter or something that can I do to force TCP instead of UDP????
Seems like you have the USB and network heavy load problem. When I have finished the second version of the live DVD and when I have some time, I will check if I could solve the problems or write another workaround for the slim PSTwo.
I thought about a swap device and not a swap file. I assume that the swap device is more stable, but I can't promise this.
I was thinking about:
mkswap /dev/sda1
swapon /dev/sda1
Caution: This will delete anything in partition 1 of the USB stick.
Can someone help me with making it work? I have scph 700008. Samba work good with opl and sms but i can't use linux with it also i tried so many times. I did all what i should. Have two files of ps2linux_loop and swapfile in shared ps2linux folder. And hosts, init_smb,intface,resolv,win3 in mc0/kloader. But it say that ps2linux_loop not found.
Ip of my ps2 is 192.168.0.10 Ip of my windowsxp Pc is 192.168.0.1 Name of my pc is Dimsok-PC So can someone tell me where i made mistake?
Hosts I don't know what should i change in the first string. so i remain it's by default
init_smb I have no password and login in samba so should i just remain it by default?
#!/bin/sh
# CUSTOMIZE THIS SECTION
ip_address=192.168.0.1
netmask=255.255.255.0
gateway=192.168.0.10
sharename="//Dimsok-PC/ps2linux"
username="user"
password="pwd"
#
sleep 5
#echo " Enter X to drop to shell prompt, any other entry to continue:"
#read -p " > " leave
#if [ "$leave" = "X" ]; then
# exec bash
#fi
You need to exchange ip address and gateway (custom area and eth0 config). You need to enable Internet sharing on your windows pc for this configuration.