forums.ps2dev.org Forum Index forums.ps2dev.org
Homebrew PS2, PSP & PS3 Development Discussions
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

ps2 linux on usb memory
Goto page Previous  1, 2, 3, 4, 5 ... 14, 15, 16  Next
 
Post new topic   Reply to topic    forums.ps2dev.org Forum Index -> PS2 Development
View previous topic :: View next topic  
Author Message
Mega Man



Joined: 18 Jun 2005
Posts: 274

PostPosted: Tue Dec 16, 2008 10:04 am    Post subject: Reply with quote

There is also a parameter for setting the mode before starting Linux (Menu entry "Set Graphic Mode"). You need to enter one of the value between 0 and 14:

0: NTSC-NI (640x240(224))
1: NTSC-I (640x480(448))
2: PAL-NI (640x288(256))
3: PAL-I (640x576(512))
4: VESA-1A (640x480 59.940Hz)
5: VESA-1C (640x480 75.000Hz)
6: VESA-2B (800x600 60.317Hz)
7: VESA-2D (800x600 75.000Hz)
8: VESA-3B (1024x768 60.004Hz)
9: VESA-3D (1024x768 75.029Hz)
10: VESA-4A (1280x1024 60.020Hz)
11: VESA-4B (1280x1024 75.025Hz)
12: DTV-480P (720x480)
13: DTV-1080I (1920x1080)
14: DTV-720P (1280x720)

There is one problem: The function setdve() (and SB_SETDVE of SBIOS) is not implemented. There was already a report that higher graphic mode is not working with BSD.
Back to top
View user's profile Send private message Visit poster's website
prasys



Joined: 03 Jan 2009
Posts: 6

PostPosted: Sat Jan 03, 2009 2:03 am    Post subject: Reply with quote

Thanks again MegaMan

I've finally managed to install Linux on to my 3000R . I did this through USB as I didn't have any network adapter. The installation part was a bit tricky as I had to disable onboard LAN/IDE so that the installation doesn't mess up. Secondly had to use a 4 port USB 1.1 hub (it works fine and the kernel detects that its a 4 port usb hub - this allowed me to connect my pen drive, keyboard and mouse) + the other port for my hdd

Oh , just want to add this for those who are going to install on slim ps2 or like me on usb ,

sda1 should be ext2 and not swap and sda2 should be swap. Otherwise it doesn't want to boot properly and it gives a kernel panic instead

Now , I am not a quest to try X11. I downloaded the complete BlackRhino package

Those who are looking for a complete one which comes with Gnome , X11 , all the bells and whistles , please do check out

http://lamadrigueradeconejo.blogspot.com/2007/09/linux-en-tu-ps2-blackrhino-debian.html

Downlaod the - BlackRhinoFull locaated there

Okay when I want to start X11 , the whole thing throws me an error , saying this

it can't find mouse 0 in /dev/usbmouse

Then it throws me an IO error 131

I am using this config -> http://playstation2-linux.com/download/blackrhino/XGSConfig-1.1

Edit : Got Mouse to detect , X now detect mouse but then I can't use the mouse at all. I wonder if mouse support is compiled in the kernel or not . I could get to the GUI , but can't do anything as it doesn't want to respond to mouse

On the other hand when I ran cat /dev/mouse , it seems to throw some random stuff , like the clicks isn't registered. So I am thinking if its supported or not

I'll upload a screenshot later for you guys :P
Back to top
View user's profile Send private message Visit poster's website MSN Messenger
Mega Man



Joined: 18 Jun 2005
Posts: 274

PostPosted: Sat Jan 03, 2009 9:50 am    Post subject: Reply with quote

prasys wrote:

I wonder if mouse support is compiled in the kernel or not .

I am not sure in which kernels, it is enabled. But I think when USB is activated, then I also activated HID (see config in http://forums.ps2dev.org/viewtopic.php?t=8860&postdays=0&postorder=asc&start=150).
Back to top
View user's profile Send private message Visit poster's website
prasys



Joined: 03 Jan 2009
Posts: 6

PostPosted: Sat Jan 03, 2009 7:08 pm    Post subject: Reply with quote

Mega Man wrote:
prasys wrote:

I wonder if mouse support is compiled in the kernel or not .

I am not sure in which kernels, it is enabled. But I think when USB is activated, then I also activated HID (see config in http://forums.ps2dev.org/viewtopic.php?t=8860&postdays=0&postorder=asc&start=150).


Well HID does work , otherwise it wouldn't print anything when I've connected a USB Mouse

To be exact these are the messages that I am getting :-


keyboard.c: can't emulate rawmode for keycode 252
Code:

# Author: Paul Pietromonaco
# **********************************************************************
# Refer to the XF86Config(4/5) man page for details about the format of
# this file.
# **********************************************************************

# **********************************************************************
# Files section.  This allows default font and rgb paths to be set
# **********************************************************************

Section "Files"

# The location of the RGB database.  Note, this is the name of the
# file minus the extension (like ".txt" or ".db").  There is normally
# no need to change the default.

    RgbPath     "/usr/X11R6/lib/X11/rgb"

# Multiple FontPath entries are allowed (they are concatenated together)
# By default, Red Hat 6.0 and later now use a font server independent of
# the X server to render fonts.

    FontPath    "/usr/lib/X11/fonts/misc/:unscaled"
    FontPath    "/usr/lib/X11/fonts/cyrillic/:unscaled"
    FontPath    "/usr/lib/X11/fonts/100dpi/:unscaled"
    FontPath    "/usr/lib/X11/fonts/75dpi/:unscaled"
    FontPath    "/usr/lib/X11/fonts/Speedo/"
    FontPath    "/usr/lib/X11/fonts/Type1/"
    FontPath    "/usr/lib/X11/fonts/misc/"
    FontPath    "/usr/lib/X11/fonts/cyrillic/"
    FontPath    "/usr/lib/X11/fonts/100dpi/"
    FontPath    "/usr/lib/X11/fonts/75dpi/"

EndSection

# **********************************************************************
# Keyboard section
# **********************************************************************

Section "Keyboard"
    Protocol    "Standard"

    # when using XQUEUE, comment out the above line, and uncomment the
    # following line
    # Protocol   "Xqueue"

    AutoRepeat  500 5

    # Let the server do the NumLock processing.  This should only be
    # required when using pre-R6 clients
    # ServerNumLock

    # Specify which keyboard LEDs can be user-controlled (eg, with xset(1))
    # Xleds      1 2 3

    # To set the LeftAlt to Meta, RightAlt key to ModeShift,
    # RightCtl key to Compose, and ScrollLock key to ModeLock:

    LeftAlt         Meta
    RightAlt        Meta
    ScrollLock      Compose
    RightCtl        Control

# To disable the XKEYBOARD extension, uncomment XkbDisable.
     XkbDisable

# To customise the XKB settings to suit your keyboard, modify the
# lines below (which are the defaults).  For example, for a non-U.S.
# keyboard, you will probably want to use:
#    XkbModel    "pc102"
# If you have a US Microsoft Natural keyboard, you can use:
#    XkbModel    "microsoft"
#
# Then to change the language, change the Layout setting.
# For example, a german layout can be obtained with:
#    XkbLayout   "de"
# or:
#    XkbLayout   "de"
#    XkbVariant  "nodeadkeys"
#
# If you'd like to switch the positions of your capslock and
# control keys, use:
#    XkbOptions  "ctrl:nocaps"
    XkbRules    "xfree86"
    XkbModel    "pc101"
    XkbLayout   "us"
EndSection

# **********************************************************************
# Pointer section
 #  the imps/2 and Zaxis line, and comment out of Emulate3 was done by
#  paulp 2/6/2003

Section "Pointer"
#    Protocol    "PS/2"
    Protocol    "IMPS/2"
    Device      "/dev/mouse"
    ZAxisMapping 4 5

# When using XQUEUE, comment out the above two lines, and uncomment
# the following line.
#    Protocol   "Xqueue"

# Baudrate and SampleRate are only for some Logitech mice
#    BaudRate   9600
#    SampleRate 150

# Emulate3Buttons is an option for 2-button Microsoft mice
# Emulate3Timeout is the timeout in milliseconds (default is 50ms)
#    Emulate3Buttons
#    Emulate3Timeout    50

# ChordMiddle is an option for some 3-button Logitech mice
#    ChordMiddle

EndSection

# **********************************************************************
# Screen section
# **********************************************************************

# The GS server
Section "Screen"
    Driver      "gsx"
    Device      "Graphics Synthesizer"
    DefaultColorDepth   24
#    DefaultColorDepth  16
#    DefaultColorDepth  16
#    FrameRate          60
    FrameRate           75

#    VideoMode          "VESA"
#    VideoMode          "NTSC" "interlace"
#    VideoMode          "PAL"  "nointerlace"
#    VideoMode          "DTV"
#    interlace-mix      35

    Subsection "Display"
        Depth           16
#       Modes           "480p" "720p" "1080i"
        Modes           "1280x1024" "1024x768" "800x600" "640x480"
#       Modes           "1024x768" "800x600" "1280x1024""640x480"
    EndSubsection
    Subsection "Display"
        Depth           24
#       Modes           "480p" "720p"
        Modes           "1024x768" "800x600" "640x480"
#       Modes           "800x600" "640x480"
    EndSubsection
EndSection


May I know where is the location of keyboard , I tried /dev/ttys1 and it doesnt show anything

If these two things do work , we could get GUI to work and hence we can use it to surf the web , listen to live m3u streams , check e-mail and stuff. It would be a PC.
Back to top
View user's profile Send private message Visit poster's website MSN Messenger
Mega Man



Joined: 18 Jun 2005
Posts: 274

PostPosted: Mon Jan 05, 2009 9:23 am    Post subject: Reply with quote

I don't know if this has changed between Linux 2.4 and 2.6, but in Linux 2.6 the device is "/dev/input/mice".

http://www.linux-usb.org/USB-guide/x194.html
Back to top
View user's profile Send private message Visit poster's website
prasys



Joined: 03 Jan 2009
Posts: 6

PostPosted: Fri Jan 09, 2009 1:15 am    Post subject: Reply with quote

Mega Man wrote:
I don't know if this has changed between Linux 2.4 and 2.6, but in Linux 2.6 the device is "/dev/input/mice".

http://www.linux-usb.org/USB-guide/x194.html


I'll give that a go. Any reason why X isn't registering any keystrokes. It just only responds to ctrl + alt + backspace

Anyway kudos for your great job :P
Back to top
View user's profile Send private message Visit poster's website MSN Messenger
shadowsun



Joined: 11 Jan 2009
Posts: 5

PostPosted: Mon Jan 12, 2009 11:50 am    Post subject: Reply with quote

hi i am new here and i need help with my ps2-linux. i have everything i need to get it up and running but when i load the kernel.devfs and initrd i get a kernel panic. it says "trying to kill initrd" or sometiing like that. am i doing something wrong?
Back to top
View user's profile Send private message
davideciarm



Joined: 26 Jan 2009
Posts: 13

PostPosted: Wed Jan 28, 2009 2:23 am    Post subject: Reply with quote

hi! i'm tryng from yesterday to start linux...nothing success!
I have an PStwo 75004. I would use Linux from USB Pen drive (2GB Kingstone).
i hade make 3 partition with my ubuntu:
1: 200Mb in FAT32 for files...
2: 1500MB in ext2 where i have extracted blackrhino_baseimage-1.0.tar.gz
3: 100MB swap partition

If i start for first time Kloader1.9.elf (MC:\kloader\config.txt not exist), it still display with writed "loading"... to execute this ELF correctly i do make an txt file in MC:\kloader\config.txt (empty or not)...and now the application start! (this is an bug?)
Now:
i select kernel the file: http://rapidshare.com/files/112377834/vmlinux.gz (special test version for slim PSTwo)
select init file: http://ovh.dl.sourceforge.net/sourceforge/kernelloader/initrd.usb2.gz (init required on PSTwo Slim)

kernel parametre: crtmode=ntsc newroot=/dev/sda2 ramdisk_size=16384

in module configuration i enable "Slim PSTwo"

now...save config...start...but after 10 seconds:

Code:



usb.c: USB device not accepting new address=3 (error=-145)
usb.c: USB new device connect on bus 1/2, assigned device number 4
usb_control/bulk_msg: timeout
usb-ohci.c: unlink URB timeout
usb.c: USB device not accepting new address=4 (error=-145)

and so on, ad 21...


Video of the errors posted on youtube

why? where i do a error? Please help me!!! Thanks very much!!!
Back to top
View user's profile Send private message
whig



Joined: 04 Jan 2009
Posts: 35

PostPosted: Wed Jan 28, 2009 6:55 am    Post subject: Reply with quote

I had to tweak the module enable/disables in KL a bit to get usb/drive/keyboard to work. The readme file with it helped. Yet things were spotty so I compiled the kernel myself with KL patches... got further but still not 100% in two respects. Follow the readme or if you like I could post my KL settings.
Back to top
View user's profile Send private message
davideciarm



Joined: 26 Jan 2009
Posts: 13

PostPosted: Wed Jan 28, 2009 7:29 am    Post subject: Reply with quote

if you can...post it!
i had tryed all!!! but ...nothing! :-( i would linux!!! :-)
my email "davideciarmi @ hotmail.com" if you would add to msn, or if you would send me a files....thanks very much!
Back to top
View user's profile Send private message
whig



Joined: 04 Jan 2009
Posts: 35

PostPosted: Thu Jan 29, 2009 8:58 am    Post subject: Reply with quote

You'll need to modify things like kernel and initrd after you load these settings. Have patience... it took me a fair few tries to get somewhere. And it was tricky trying with a slim in a pal region.
Code:
KernelParameter=crtmode=pal ramdisk_size=16384 root=/dev/ram0 quiet
ps2linkMyIP=192.168.0.10
ps2linkNetmask=255.255.255.0
ps2linkGatewayIP=192.168.0.1
ps2graphicMode=PAL
KernelFileName=mass0:/vmlinux
InitrdFileName=mass0:/initrd.gz
New Modules=0
Enable TGE (ow RTE mc)=1
Enable PS2LINK (debug)=0
Enable debug modules=0
Slim PSTwo=1
Use free modules=0
host:eedebug.irx=0
mc0:kloader/init.irx=0
rom0:ADDDRV=0
host:eromdrvloader.irx=0
mc0:kloader/sio2man.irx=0
rom0:XSIO2MAN=0
host:freesio2.irx=0
rom0:SIO2MAN=1
rom1:SIO2MAN=0
mc0:kloader/mcman.irx=0
rom0:XMCMAN=0
rom0:MCMAN=1
mc0:kloader/mcserv.irx=0
rom0:XMCSERV=0
rom0:MCSERV=1
mc0:kloader/padman.irx=0
rom0:XPADMAN=0
host:freepad.irx=0
rom0:PADMAN=1
rom1:PADMAN=0
mc0:kloader/libsd.irx=0
rom0:LIBSD=0
rom1:LIBSD=0
host:freesd.irx=0
mc0:kloader/sdrdrv.irx=0
rom1:SDRDRV=0
host:audsrv.irx=0
host:ioptrap.irx=0
host:iomanX.irx=0
host:poweroff.irx=0
host:ps2dev9.irx=0
host:ps2ip.irx=0
host:ps2smap.irx=0
host:ps2link.irx=0
host:sharedmem.irx=0
mc0:kloader/iopintr.irx=0
host:TGE/intrelay-direct.irx=0
host:TGE/intrelay-direct-rpc.irx=1
host:TGE/intrelay-dev9.irx=0
host:TGE/intrelay-dev9-rpc.irx=0
mc0:kloader/dmarelay.irx=0
host:TGE/dmarelay.irx=0
mc0:kloader/cdvdman.irx=0
rom0:XCDVDMAN=0
rom0:CDVDMAN=1
rom1:CDVDMAN=0
mc0:kloader/cdvdfsv.irx=0
rom0:XCDVDFSV=0
rom0:CDVDFSV=1
rom1:CDVDFSV=0
rom1:RMMAN=0
rom1:RMMAN2=0
mc0:kloader/module1.irx=0
mc0:kloader/module2.irx=0
mc0:kloader/module3.irx=0
mc0:kloader/module4.irx=0
mc0:kloader/module5.irx=0
Use SBIOS from TGE (ow RTE)=1
TGE SBIOS for New Modules=0
Enable hard disc and network=1
Enable IOP debug output=0
0 SB_GETVER=1
1 SB_HALT=1
2 SB_SETDVE=1
3 SB_PUTCHAR=1
4 SB_GETCHAR=1
5 SB_SETGSCRT=1
6 SB_SETRGBYC=1
7 unknown=1
8 unknown=1
9 unknown=1
10 unknown=1
11 unknown=1
12 unknown=1
13 unknown=1
14 unknown=1
15 unknown=1
16 SB_SIFINIT=1
17 SB_SIFEXIT=1
18 SB_SIFSETDMA=1
19 SB_SIFDMASTAT=1
20 SB_SIFSETDCHAIN=1
21 unknown=1
22 unknown=1
23 unknown=1
24 unknown=1
25 unknown=1
26 unknown=1
27 unknown=1
28 unknown=1
29 unknown=1
30 unknown=1
31 unknown=1
32 SB_SIFINITCMD=1
33 SB_SIFEXITCMD=1
34 SB_SIFSENDCMD=1
35 SB_SIFCMDINTRHDLR=1
36 SB_SIFADDCMDHANDLER=1
37 SB_SIFREMOVECMDHANDLER=1
38 SB_SIFSETCMDBUFFER=1
39 unknown=1
40 unknown=1
41 unknown=1
42 unknown=1
43 unknown=1
44 unknown=1
45 unknown=1
46 unknown=1
47 unknown=1
48 SB_SIFINITRPC=1
49 SB_SIFEXITRPC=1
50 SB_SIFGETOTHERDATA=1
51 SB_SIFBINDRPC=1
52 SB_SIFCALLRPC=1
53 SB_SIFCHECKSTATRPC=1
54 SB_SIFSETRPCQUEUE=1
55 SB_SIFREGISTERRPC=1
56 SB_SIFREMOVERPC=1
57 SB_SIFREMOVERPCQUEUE=1
58 SB_SIFGETNEXTREQUEST=1
59 SB_SIFEXECREQUEST=1
60 unknown=1
61 unknown=1
62 unknown=1
63 unknown=1
64 SBR_IOPH_INIT=1
65 SBR_IOPH_ALLOC=1
66 SBR_IOPH_FREE=1
67 unknown=1
68 unknown=1
69 unknown=1
70 unknown=1
71 unknown=1
72 unknown=1
73 unknown=1
74 unknown=1
75 unknown=1
76 unknown=1
77 unknown=1
78 unknown=1
79 unknown=1
80 SBR_PAD_INIT=1
81 SBR_PAD_END=1
82 SBR_PAD_PORTOPEN=1
83 SBR_PAD_PORTCLOSE=1
84 SBR_PAD_SETMAINMODE=1
85 SBR_PAD_SETACTDIRECT=1
86 SBR_PAD_SETACTALIGN=1
87 SBR_PAD_INFOPRESSMODE=1
88 SBR_PAD_ENTERPRESSMODE=1
89 SBR_PAD_EXITPRESSMODE=1
90 SB_PAD_READ=1
91 SB_PAD_GETSTATE=1
92 SB_PAD_GETREQSTATE=1
93 SB_PAD_INFOACT=1
94 SB_PAD_INFOCOMB=1
95 SB_PAD_INFOMODE=1
96 unknown=1
97 unknown=1
98 unknown=1
99 unknown=1
100 unknown=1
101 unknown=1
102 unknown=1
103 unknown=1
104 unknown=1
105 unknown=1
106 unknown=1
107 unknown=1
108 unknown=1
109 unknown=1
110 unknown=1
111 unknown=1
112 SBR_SOUND_INIT=1
113 SBR_SOUND_END=1
114 SB_SOUND_GREG=1
115 SB_SOUND_SREG=1
116 SBR_SOUND_GCOREATTR=1
117 SBR_SOUND_SCOREATTR=1
118 SBR_SOUND_TRANS=1
119 SBR_SOUND_TRANSSTAT=1
120 SBR_SOUND_TRANSCALLBACK=1
121 unknown=1
122 unknown=1
123 SBR_SOUND_REMOTE=1
124 unknown=1
125 unknown=1
126 unknown=1
127 unknown=1
128 unknown=1
129 unknown=1
130 unknown=1
131 unknown=1
132 unknown=1
133 unknown=1
134 unknown=1
135 unknown=1
136 unknown=1
137 unknown=1
138 unknown=1
139 unknown=1
140 unknown=1
141 unknown=1
142 unknown=1
143 unknown=1
144 SBR_MC_INIT=1
145 SBR_MC_OPEN=1
146 SBR_MC_MKDIR=1
147 SBR_MC_CLOSE=1
148 SBR_MC_SEEK=1
149 SBR_MC_READ=1
150 SBR_MC_WRITE=1
151 SBR_MC_GETINFO=1
152 SBR_MC_GETDIR=1
153 SBR_MC_FORMAT=1
154 SBR_MC_DELETE=1
155 SBR_MC_FLUSH=1
156 SBR_MC_SETFILEINFO=1
157 SBR_MC_RENAME=1
158 SBR_MC_UNFORMAT=1
159 SBR_MC_GETENTSPACE=1
160 SBR_MC_CALL=1
161 unknown=1
162 unknown=1
163 unknown=1
164 unknown=1
165 unknown=1
166 unknown=1
167 unknown=1
168 unknown=1
169 unknown=1
170 unknown=1
171 unknown=1
172 unknown=1
173 unknown=1
174 unknown=1
175 unknown=1
176 SBR_CDVD_INIT=1
177 SBR_CDVD_RESET=1
178 SBR_CDVD_READY=1
179 SBR_CDVD_READ=1
180 SBR_CDVD_STOP=1
181 SBR_CDVD_GETTOC=1
182 SBR_CDVD_READRTC=1
183 SBR_CDVD_WRITERTC=1
184 SBR_CDVD_MMODE=1
185 SBR_CDVD_GETERROR=1
186 SBR_CDVD_GETTYPE=1
187 SBR_CDVD_TRAYREQ=1
188 SB_CDVD_POWERHOOK=1
189 SBR_CDVD_DASTREAM=1
190 SBR_CDVD_READSUBQ=1
191 SBR_CDVD_OPENCONFIG=1
192 SBR_CDVD_CLOSECONFIG=1
193 SBR_CDVD_READCONFIG=1
194 SBR_CDVD_WRITECONFIG=1
195 SBR_CDVD_RCBYCTL=1
196 unknown=1
197 unknown=1
198 unknown=1
199 unknown=1
200 unknown=1
201 unknown=1
202 unknown=1
203 unknown=1
204 unknown=1
205 unknown=1
206 unknown=1
207 unknown=1
208 SBR_REMOCON_INIT=1
209 SBR_REMOCON_END=1
210 SBR_REMOCON_PORTOPEN=1
211 SBR_REMOCON_PORTCLOSE=1
212 SB_REMOCON_READ=1
213 SBR_REMOCON2_INIT=1
214 SBR_REMOCON2_END=1
215 SBR_REMOCON2_PORTOPEN=1
216 SBR_REMOCON2_PORTCLOSE=1
217 SB_REMOCON2_READ=1
218 SBR_REMOCON2_IRFEATURE=1
Auto Boot=0
Back to top
View user's profile Send private message
davideciarm



Joined: 26 Jan 2009
Posts: 13

PostPosted: Thu Jan 29, 2009 9:05 am    Post subject: Reply with quote

can you host your kloader.elf, initrd and kernel files? thanks very much!
Back to top
View user's profile Send private message
davideciarm



Joined: 26 Jan 2009
Posts: 13

PostPosted: Thu Jan 29, 2009 9:23 pm    Post subject: Reply with quote

Hi! Today i had buyed an USB to PS2 adapter: connect an Logitech PS2 keyboard and....: WORK! the keyboard usb that i had tested not work! :-S
now i start with kernel that i had compiled, and with initrd for boot from USB.
then:
start...keyboard work in promt (bash i think)
but:

freezing initrd memory: 4102K
....
...
Boot continues in 5 sec:
detect all USB device...

try to mount /dev/sda1 but device not exist. OK! i try:

ls /dev: display all device.
now i try fdisk -l /dev/sda
but not work! missing files:
can't open dependencies file /lib/modules/2.4.17_mvl21/modules.dep
i opened the initrd.img and /lib/modules/2.4.17_mvl21 not exist...
what i can do? i can't insert this folder into initrd, because i have only 146KB free, and 2.4.17_mvl21 is 2200KB.
what i can do?
Back to top
View user's profile Send private message
Mega Man



Joined: 18 Jun 2005
Posts: 274

PostPosted: Fri Jan 30, 2009 6:17 am    Post subject: Reply with quote

davideciarm wrote:
Hi! Today i had buyed an USB to PS2 adapter: connect
now i try fdisk -l /dev/sda
but not work! missing files:
can't open dependencies file /lib/modules/2.4.17_mvl21/modules.dep
i opened the initrd.img and /lib/modules/2.4.17_mvl21 not exist...
what i can do? i can't insert this folder into initrd, because i have only 146KB free, and 2.4.17_mvl21 is 2200KB.
what i can do?


There are 2 ways:
1. Modules
- Copy /lib/modules/2.4.17_mvl21/modules.dep into the initrd.
- Use it. It will print which module is missing.
- Then copy missing module into initrd and use it.
- Repeat this until you have copied all required modules.
- Note: The iso8859 is not really required. Even if it prints that this is needed, it still works.

2. Recompile
make menuconfig
Activate "File systems" ---> "Second extended fs support" (choose "*" and not "M")
Activate "SCSI support" ---> "SCSI support" (choose "*" and not "M")
Activate "SCSI support" --> "SCSI disk support" (choose "*" and not "M")
Activate "USB Support" --> "USB Support" (choose "*" and not "M")
Activate "USB Support" --> "USB Mass Storage" (choose "*" and not "M")
Back to top
View user's profile Send private message Visit poster's website
davideciarm



Joined: 26 Jan 2009
Posts: 13

PostPosted: Fri Jan 30, 2009 10:11 am    Post subject: Reply with quote

HI! good news! i had modify varius files...and now woork good!!!! Start at every boot! at end post my files...

but...i receive some error message:
Code:
note: /etc/modules.conf is more recent of modules.dep
modprobe: can't locate module ps2mc
modprobe: can't locate module joystick
modprobe: can't locate module ps2pad
modprobe: can't locate module devpts
modprobe: can't locate module eth0

why modprobe not locate module?
these module are insered in file /etc/modules, and not are located because ps2mc is in 2.2 folder and not in 2.4.

Initrd work great...start all and exec /sbin/init (of blackrhino)...and after 5 seconds, show thes error message...but after continue...and work great: ask login user and pass!!!!

can i resolve the problem of module?

NOW: i have linux textual. can i integrate an graphic interface? thanks!
Back to top
View user's profile Send private message
davideciarm



Joined: 26 Jan 2009
Posts: 13

PostPosted: Sat Jan 31, 2009 12:19 am    Post subject: Reply with quote

until yesterday to start, i run command "modprobe usb-storage" to load usb module in the file /sbin/init of the initrd file. today i had integrated USB Storage in kernel and it works! Good!
i have disabled modules ps2mc joystick ps2pad devpts in file /etc/modules, to not load (until i not understand why show thes error!why???).
blackrhino_baseimage-1.0 starts....but i have modify the file in /etc/fstab to replace hda1 to sda2, and hda2 to sda3.
ok. linux start!!!! user:root and login as root!
but...to logout? if i send command poweroff, or shutdown, the device /dev/sda2 isn't Umount, and at next start of the linux i have error, to check /dev/sda2 with fsck (e2fsck), typing fsck -f -y /dev/sda2 to correct all errors... how i can resolve this problem? thanks!
Back to top
View user's profile Send private message
Mega Man



Joined: 18 Jun 2005
Posts: 274

PostPosted: Sat Jan 31, 2009 5:14 am    Post subject: Reply with quote

As far as I remember the scripts in /etc/rc0.d are responsible for this behaviour. I think K25hwclock.sh was not able to store the time.
S40umountfs was not reached. I think that the second killall in S20sendsigs was also not working.

You can insert "echo" and a text behind the command into the scripts in /etc/rc0.d to see were it stops. Just check which "echo" is printed last.
Back to top
View user's profile Send private message Visit poster's website
davideciarm



Joined: 26 Jan 2009
Posts: 13

PostPosted: Sat Jan 31, 2009 5:18 am    Post subject: Reply with quote

ok, thanks for help.
how i can do to work Network? why not work? kernel drivers aren't compatible or your kloader can't manage it?
(and if i buy an USB->ETH can i connect to network?)
thanks!
Back to top
View user's profile Send private message
Mega Man



Joined: 18 Jun 2005
Posts: 274

PostPosted: Sat Jan 31, 2009 5:25 am    Post subject: Reply with quote

As far as I understand the problem, the PHY chip is not supported by the Linux driver.
I assume that a USB network adapter will work, but you need to check if there is a driver available in Linux (-> make menuconfig).
Back to top
View user's profile Send private message Visit poster's website
davideciarm



Joined: 26 Jan 2009
Posts: 13

PostPosted: Sat Jan 31, 2009 5:48 am    Post subject: Reply with quote

thanks for help.
you know what is the chip in the PSTwo?
but...this post:
http://playstation2-linux.com/forum/message.php?msg_id=50493
show that ethernet work on PSTwo! :-S

and datasheet:
http://pdf1.alldatasheet.com/datasheet-pdf/view/24129/STMICROELECTRONICS/STE100.html
Back to top
View user's profile Send private message
belek666



Joined: 14 Apr 2008
Posts: 21

PostPosted: Tue Feb 10, 2009 4:47 am    Post subject: Re: MPlayer for PS2, wmaker, dillo-mod, pidgin, xmame106, xm Reply with quote

deba5er wrote:
@belek666 - Try this - http://www.4shared.com/dir/8728191/2a84ce3b/sharing.html

"ldd mplayer" shows 35 shared libs so you might want to make sure they are all there. You can either "make install" or just run from the main directory "./mplayer"

It is the latest version, and it is configured for X-Windows libraries.

OK I put all of my compiles up except the openssh5. A shame 4shared won't handle a larger than 100MB file, as I have lots of config and tweaking of various files for things like memory optimization, fixing backspace in dillo and pidgin apps, configuring wmaker prefs, dillo prefs, sudo stuff, scripts to start the least necessary to run x-windows. It would be neat to load a full partition backup tgz with all settings for a useable NTSC system. This gets around the massive shared library dependency issues you will undoubtedly encounter trying to install these things one at a time. I suppose for now, as questions come up, put on psx-scene forums and I'll see what I can provide.


I have a problem with mplayer. I installed it and tryed run but i get error:
BUG IN DYNAMIC LINKER ld.so: dl-version.c: 217: _dl_check_map_versions:
Assertion `needed != ((void *)0)' failed!
Maybe someone know what I should do to run mplayer on PS2 linux.
Back to top
View user's profile Send private message
deba5er



Joined: 04 Feb 2008
Posts: 173

PostPosted: Tue Feb 10, 2009 10:12 am    Post subject: mplayer Reply with quote

so you installed the two large "distro" packages from the 4shared download site and you got this error on installing the extra mplayer?
Back to top
View user's profile Send private message
belek666



Joined: 14 Apr 2008
Posts: 21

PostPosted: Tue Feb 10, 2009 6:16 pm    Post subject: Reply with quote

No, I didn't install your "distro" . I tryed install mplayer on my but now I think that better is install your "distro". Thanks for your reply.
Back to top
View user's profile Send private message
rgrimes



Joined: 04 Mar 2009
Posts: 5

PostPosted: Wed Mar 04, 2009 1:31 am    Post subject: Blackrhino RUNNING on USB flash on both a PS2 and PSTwo/Slim Reply with quote

whig wrote:
You'll need to modify things like kernel and initrd after you load these settings. Have patience... it took me a fair few tries to get somewhere. And it was tricky trying with a slim in a pal region.
Code:
KernelParameter=crtmode=pal ramdisk_size=16384 root=/dev/ram0 quiet
ps2linkMyIP=192.168.0.10
ps2linkNetmask=255.255.255.0
---
218 SBR_REMOCON2_IRFEATURE=1
Auto Boot=0

After much playing with a slim in a ntsc region I have found the following config.txt to actually work for loading my kernels and finally have Blackrhino running on a USB flash memory stick on both a PS2/Fat and a S2/Slim (SCPH-77001) using MegaMans kernelload 1.9.

NOTE: You are going to need to change at least the KernelParameter and KernelFileName to what you are using. Also if you do manage to get booted from USB flash your file system well be trashed when you go to shutdown as the usb kernel threads are killed before the system has a chance to cleanly unmount the file systems.

I have patches for fixing some things, but I want to try to sync up with Mega Man as I think some of my patches might conflict with some of his patches in trying to get this working on the Slim. I would rather just submit my work to him and let him add it to his already fine tutorial and software. I am doing this with a STOCK kernelloader 1.9 from the sourceforge site, and custom kernel I built.

NOTE2: Before someone asks, NO the ethernet is not working on the slim in linux.. YET!

NOTE3: This config.txt file is for the PSTwo aka Slim only, just use the defaults from kernelloader 1.9 if you have a Fat PS/2.

Code:

KernelParameter=crtmode=ntsc root=/dev/sda2 rw rootdelay=10 single
ps2linkMyIP=192.168.1.14
ps2linkNetmask=255.255.255.0
ps2linkGatewayIP=192.168.1.1
ps2graphicMode=
KernelFileName=mass0:/VMLINUX
InitrdFileName=
New Modules=0
Enable TGE (ow RTE mc)=0
Enable PS2LINK (debug)=0
Enable debug modules=0
Slim PSTwo=0
Use free modules=0
host:eedebug.irx=0
mc0:kloader/init.irx=0
rom0:ADDDRV=0
host:eromdrvloader.irx=0
mc0:kloader/sio2man.irx=0
rom0:XSIO2MAN=0
host:freesio2.irx=0
rom0:SIO2MAN=1
rom1:SIO2MAN=0
mc0:kloader/mcman.irx=0
rom0:XMCMAN=0
rom0:MCMAN=1
mc0:kloader/mcserv.irx=0
rom0:XMCSERV=0
rom0:MCSERV=1
mc0:kloader/padman.irx=0
rom0:XPADMAN=0
host:freepad.irx=0
rom0:PADMAN=1
rom1:PADMAN=0
mc0:kloader/libsd.irx=0
rom0:LIBSD=0
rom1:LIBSD=0
host:freesd.irx=0
mc0:kloader/sdrdrv.irx=0
rom1:SDRDRV=0
host:audsrv.irx=0
host:ioptrap.irx=0
host:iomanX.irx=0
host:poweroff.irx=0
host:ps2dev9.irx=0
host:ps2ip.irx=0
host:ps2smap.irx=0
host:ps2link.irx=0
host:sharedmem.irx=0
mc0:kloader/iopintr.irx=0
host:TGE/intrelay-direct.irx=0
host:TGE/intrelay-direct-rpc.irx=1
host:TGE/intrelay-dev9.irx=0
host:TGE/intrelay-dev9-rpc.irx=0
mc0:kloader/dmarelay.irx=0
host:TGE/dmarelay.irx=0
mc0:kloader/cdvdman.irx=0
rom0:XCDVDMAN=0
rom0:CDVDMAN=0
rom1:CDVDMAN=0
mc0:kloader/cdvdfsv.irx=0
rom0:XCDVDFSV=0
rom0:CDVDFSV=0
rom1:CDVDFSV=0
rom1:RMMAN=0
rom1:RMMAN2=0
mc0:kloader/module1.irx=0
mc0:kloader/module2.irx=0
mc0:kloader/module3.irx=0
mc0:kloader/module4.irx=0
mc0:kloader/module5.irx=0
Use SBIOS from TGE (ow RTE)=1
TGE SBIOS for New Modules=0
Enable hard disc and network=1
Enable IOP debug output=0
0 SB_GETVER=1
1 SB_HALT=1
2 SB_SETDVE=1
3 SB_PUTCHAR=1
4 SB_GETCHAR=1
5 SB_SETGSCRT=1
6 SB_SETRGBYC=1
7 unknown=1
8 unknown=1
9 unknown=1
10 unknown=1
11 unknown=1
12 unknown=1
13 unknown=1
14 unknown=1
15 unknown=1
16 SB_SIFINIT=1
17 SB_SIFEXIT=1
18 SB_SIFSETDMA=1
19 SB_SIFDMASTAT=1
20 SB_SIFSETDCHAIN=1
21 unknown=1
22 unknown=1
23 unknown=1
24 unknown=1
25 unknown=1
26 unknown=1
27 unknown=1
28 unknown=1
29 unknown=1
30 unknown=1
31 unknown=1
32 SB_SIFINITCMD=1
33 SB_SIFEXITCMD=1
34 SB_SIFSENDCMD=1
35 SB_SIFCMDINTRHDLR=1
36 SB_SIFADDCMDHANDLER=1
37 SB_SIFREMOVECMDHANDLER=1
38 SB_SIFSETCMDBUFFER=1
39 unknown=1
40 unknown=1
41 unknown=1
42 unknown=1
43 unknown=1
44 unknown=1
45 unknown=1
46 unknown=1
47 unknown=1
48 SB_SIFINITRPC=1
49 SB_SIFEXITRPC=1
50 SB_SIFGETOTHERDATA=1
51 SB_SIFBINDRPC=1
52 SB_SIFCALLRPC=1
53 SB_SIFCHECKSTATRPC=1
54 SB_SIFSETRPCQUEUE=1
55 SB_SIFREGISTERRPC=1
56 SB_SIFREMOVERPC=1
57 SB_SIFREMOVERPCQUEUE=1
58 SB_SIFGETNEXTREQUEST=1
59 SB_SIFEXECREQUEST=1
60 unknown=1
61 unknown=1
62 unknown=1
63 unknown=1
64 SBR_IOPH_INIT=1
65 SBR_IOPH_ALLOC=1
66 SBR_IOPH_FREE=1
67 unknown=1
68 unknown=1
69 unknown=1
70 unknown=1
71 unknown=1
72 unknown=1
73 unknown=1
74 unknown=1
75 unknown=1
76 unknown=1
77 unknown=1
78 unknown=1
79 unknown=1
80 SBR_PAD_INIT=1
81 SBR_PAD_END=1
82 SBR_PAD_PORTOPEN=1
83 SBR_PAD_PORTCLOSE=1
84 SBR_PAD_SETMAINMODE=1
85 SBR_PAD_SETACTDIRECT=1
86 SBR_PAD_SETACTALIGN=1
87 SBR_PAD_INFOPRESSMODE=1
88 SBR_PAD_ENTERPRESSMODE=1
89 SBR_PAD_EXITPRESSMODE=1
90 SB_PAD_READ=1
91 SB_PAD_GETSTATE=1
92 SB_PAD_GETREQSTATE=1
93 SB_PAD_INFOACT=1
94 SB_PAD_INFOCOMB=1
95 SB_PAD_INFOMODE=1
96 unknown=1
97 unknown=1
98 unknown=1
99 unknown=1
100 unknown=1
101 unknown=1
102 unknown=1
103 unknown=1
104 unknown=1
105 unknown=1
106 unknown=1
107 unknown=1
108 unknown=1
109 unknown=1
110 unknown=1
111 unknown=1
112 SBR_SOUND_INIT=1
113 SBR_SOUND_END=1
114 SB_SOUND_GREG=1
115 SB_SOUND_SREG=1
116 SBR_SOUND_GCOREATTR=1
117 SBR_SOUND_SCOREATTR=1
118 SBR_SOUND_TRANS=1
119 SBR_SOUND_TRANSSTAT=1
120 SBR_SOUND_TRANSCALLBACK=1
121 unknown=1
122 unknown=1
123 SBR_SOUND_REMOTE=1
124 unknown=1
125 unknown=1
126 unknown=1
127 unknown=1
128 unknown=1
129 unknown=1
130 unknown=1
131 unknown=1
132 unknown=1
133 unknown=1
134 unknown=1
135 unknown=1
136 unknown=1
137 unknown=1
138 unknown=1
139 unknown=1
140 unknown=1
141 unknown=1
142 unknown=1
143 unknown=1
144 SBR_MC_INIT=1
145 SBR_MC_OPEN=1
146 SBR_MC_MKDIR=1
147 SBR_MC_CLOSE=1
148 SBR_MC_SEEK=1
149 SBR_MC_READ=1
150 SBR_MC_WRITE=1
151 SBR_MC_GETINFO=1
152 SBR_MC_GETDIR=1
153 SBR_MC_FORMAT=1
154 SBR_MC_DELETE=1
155 SBR_MC_FLUSH=1
156 SBR_MC_SETFILEINFO=1
157 SBR_MC_RENAME=1
158 SBR_MC_UNFORMAT=1
159 SBR_MC_GETENTSPACE=1
160 SBR_MC_CALL=1
161 unknown=1
162 unknown=1
163 unknown=1
164 unknown=1
165 unknown=1
166 unknown=1
167 unknown=1
168 unknown=1
169 unknown=1
170 unknown=1
171 unknown=1
172 unknown=1
173 unknown=1
174 unknown=1
175 unknown=1
176 SBR_CDVD_INIT=0
177 SBR_CDVD_RESET=0
178 SBR_CDVD_READY=0
179 SBR_CDVD_READ=0
180 SBR_CDVD_STOP=0
181 SBR_CDVD_GETTOC=0
182 SBR_CDVD_READRTC=0
183 SBR_CDVD_WRITERTC=0
184 SBR_CDVD_MMODE=0
185 SBR_CDVD_GETERROR=0
186 SBR_CDVD_GETTYPE=0
187 SBR_CDVD_TRAYREQ=0
188 SB_CDVD_POWERHOOK=0
189 SBR_CDVD_DASTREAM=0
190 SBR_CDVD_READSUBQ=0
191 SBR_CDVD_OPENCONFIG=0
192 SBR_CDVD_CLOSECONFIG=0
193 SBR_CDVD_READCONFIG=0
194 SBR_CDVD_WRITECONFIG=0
195 SBR_CDVD_RCBYCTL=0
196 unknown=1
197 unknown=1
198 unknown=1
199 unknown=1
200 unknown=1
201 unknown=1
202 unknown=1
203 unknown=1
204 unknown=1
205 unknown=1
206 unknown=1
207 unknown=1
208 SBR_REMOCON_INIT=1
209 SBR_REMOCON_END=1
210 SBR_REMOCON_PORTOPEN=1
211 SBR_REMOCON_PORTCLOSE=1
212 SB_REMOCON_READ=1
213 SBR_REMOCON2_INIT=1
214 SBR_REMOCON2_END=1
215 SBR_REMOCON2_PORTOPEN=1
216 SBR_REMOCON2_PORTCLOSE=1
217 SB_REMOCON2_READ=1
218 SBR_REMOCON2_IRFEATURE=1
Auto Boot=0
Back to top
View user's profile Send private message
swnny



Joined: 05 Apr 2009
Posts: 3

PostPosted: Sun Apr 05, 2009 12:43 am    Post subject: Reply with quote

Hi all!
I have PlayStation 2 Slim SCPH-70004 with modchip and fmcb and im trying to install the BlackRhino distro using this tutorial and kloader 1.7 (1.8 and 1.9 just freezes at boot):
http://kernelloader.sourceforge.net/tutorial/howtoinstalllinux.html

I read all threads here and managed to extract the blackrhino from one partition(fat32) of the usb memory to the other (ext2), which i created using the pstwo. Then umount everything, shutdowns and reboot kloader1.7.elf and now I dont know what to do... How to boot/start the blackrhino, that I extrated on the usb memory?

Thanks a lot, and sorry for my bad english.
Back to top
View user's profile Send private message
vunited



Joined: 09 Apr 2009
Posts: 3

PostPosted: Thu Apr 09, 2009 1:25 am    Post subject: Reply with quote

I'm also having problems installing on my Memory Stick. I have read the tutorial on sourceforge. I'm using a Sandisk Memory Card if that makes any difference. [/url]
Back to top
View user's profile Send private message
whig



Joined: 04 Jan 2009
Posts: 35

PostPosted: Mon Apr 13, 2009 9:56 am    Post subject: Reply with quote

On my files site I've put up version 1d of an initrd to help slim users boot their usb system. Use a kernel command line like this in kernel loader:

crtmode=pal ramdisk_size=16384 quiet root=/dev/ram0 init=/sbin/init-pivot real=/dev/sda3 delay=6

(usual precautions re kernel and module versions here)

http://files.rillion.net/volt/
Back to top
View user's profile Send private message
rafael2k



Joined: 14 Jan 2007
Posts: 18

PostPosted: Sat Apr 18, 2009 1:45 am    Post subject: External USB network card? Reply with quote

Hi there people,
As the NIC is not working in the PS2 Slim, is it possible to attach an external USB NIC adapter?
Did anyone tried this?
How about a USB Hub, will it work?
Back to top
View user's profile Send private message
whig



Joined: 04 Jan 2009
Posts: 35

PostPosted: Sun Apr 19, 2009 6:05 am    Post subject: Reply with quote

I tried, no luck. That's with a usb to 100 Mbps ethernet adapter, and a usb to usb direct network link "cable". The 2.4.17 mvl kernel seems to have support for these types of devices, but mine are probably too new. Would a back-port work? I don't know. A hub works.
Back to top
View user's profile Send private message
xbox-ua



Joined: 05 May 2009
Posts: 9

PostPosted: Tue May 05, 2009 3:07 pm    Post subject: kloader 2.0 Reply with quote

Hi Mega-man out when kloader 2.0 and what will change?
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    forums.ps2dev.org Forum Index -> PS2 Development All times are GMT + 10 Hours
Goto page Previous  1, 2, 3, 4, 5 ... 14, 15, 16  Next
Page 4 of 16

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group