The above video goes away if you are a member and logged in, so log in now!
...that 'â' letter from your log file seems quite suspicious. Looks like SMS.smb file was not read correctly from the memory card ('â' letter is prepended the server name somehow). I'll try to review the related code some day (there's no much progress in SMS development (except, maybe, firewire driver) as I'm pretty busy at work these days). Thank you for the detailed report. You can also try to change the name of your Ubuntu server (make it shorter or longer) to check if there's any difference...
SMS and samba problem
SMS and samba problem –
>...that 'â' letter from your log file seems quite suspicious.
>Looks like SMS.smb file was not read correctly from the
>memory card ('â' letter is prepended the server name
>somehow). I'll try to review the related code some day
>(there's no much progress in SMS development (except,
>maybe, firewire driver) as I'm pretty busy at work these
>days). Thank you for the detailed report. You can also try
>to change the name of your Ubuntu server (make it
>shorter or longer) to check if there's any difference...
Thank you for your answer. Yes that letter looked suspicios to me too. In the debugging process I tried changing the SMS.smb second line to another name like "localhost" and I still got the weird char:
[2008/04/25 12:41:48, 0] smbd/service.c:make_connection(1111)
playstation2 (192.168.0.200) couldn't find service âlocalhost/ipc$
The character is still there. I will try to rename my server with a longer name to see what happens. I really tried to debug my best before writing in the forum and I am a unix system admin... I even did strace on the samba server process and I saw that the client authenticates fine. After that it dies.
if i remember correctly the SMS.smb file had a bit of a rewrite where you need to have a little more info:
- name of samba server
- name of ps2
- name for server to display in sms
not sure if absolutely needed or if this was already implemented by 2.7 anymore, but hopefully this will help
I changed the hostname to "cogitoergosum" to make it longer and tried modifiying the SMS.smb to make it look like this:
***some password here*****
But still same result:
[2008/04/27 01:07:55, 0] smbd/service.c:make_connection(1111)
playstation2 (192.168.0.200) couldn't find service âcogitoergosum/ipc$
I will reboot my server in Windows XP and will make a share to see if it is a samba setting.
...then you must be familiar with 'wireshark' software (network protocol analyzer). With its help you can trace network traffic to see every byte that comes from PS2. Connection to IPC$ service is required to obtain list of shares from the server. By the way, there's a source code for SMS 2.1 (smb stuff isn't changed much since then) available at ps2dev site...
Some more testing –
I booted my server in Windows XP, and shared "ps2" directory. I can see them from my laptop so I am sure there are no firewalls or any other stuff in between.
Same problem. With the SMS 2.7 on the 64 MB Datel MC SMB works fine. On the 8 MB Sony card neither SMS 2.7 nor 2.8 work. I see the network icon but I do not see the message:
Ps2: Shared directory for Ps2
Hope this helps.
I usually use "sniffit" program to analyse network traffic. The problem is my poor understanding of the Short Message Block protocol (nor its cousin the TCP encapsulated version).
Now I am pretty certain that the extra character prior the hostname is causing the problem.
By the way, the leading char hex is "E2" or decimal 226
...pretty strange as I've got only official memory cards and everything works just fine. Definitely it's a problem reading the SMS.smb file. I'm not sure if I'll be able to fix it (as first I have to reproduce it somehow). You can also try to convert your SMS.smb file into DOS format ('unix2dos'/'dos2unix' linux command) to see if this will make any difference...
I wrote a little perl script as unix2dos is deprecated to convert line endings to DOS format.
Then I processed SMS.smb through it.
No luck, my problem persists.
I will try burning a CD with SMS and see if the problem persists.
I created a CD with the layout below. It works flawlessly. At this point I think there is a bug in SMS's MC reading code. BOOT.ELF is ulaunchelf program. I converted back line endings of SMS.smb to unix format.
I volunteer to take a look at the code (as long as it is in C).
pastito@pancha:~/ps2/yo/sms28/CDROM$ ls -laR .
drwxr-xr-x 4 pastito pastito 4096 2008-04-27 12:47 .
drwxr-xr-x 4 pastito pastito 4096 2008-04-27 12:41 ..
-rw-r--r-- 1 pastito pastito 366861 2007-02-15 22:33 BOOT.ELF
-rw-r--r-- 1 pastito pastito 52428800 2008-04-27 12:45 dummy.txt
drwxr-xr-x 2 pastito pastito 4096 2008-04-27 12:47 SMS
drwxr-xr-x 2 pastito pastito 4096 2007-12-30 23:14 SYS-CONF
-r-xr-xr-x 1 pastito pastito 58 2007-12-31 18:22 SYSTEM.CNF
drwxr-xr-x 2 pastito pastito 4096 2008-04-27 12:47 .
drwxr-xr-x 4 pastito pastito 4096 2008-04-27 12:47 ..
-rwxr--r-- 1 pastito pastito 771501 2008-03-05 01:23 SMS27.elf
-rwxr--r-- 1 pastito pastito 777421 2008-04-27 12:41 SMS28.elf
-rw-r--r-- 1 pastito pastito 57 2008-04-27 12:41 SMS.smb
drwxr-xr-x 2 pastito pastito 4096 2007-12-30 23:14 .
drwxr-xr-x 4 pastito pastito 4096 2008-04-27 12:47 ..
-rw-r--r-- 1 pastito pastito 40 2007-12-30 22:50 IPCONFIG.DAT
-rw-r--r-- 1 pastito pastito 20947 2006-09-16 19:11 LAUNCHELF.CNF