ps2 linux on usb memory

Discuss the development of software, tools, libraries and anything else that helps make ps2dev happen.

Moderators: cheriff, Herben

blyn
Posts: 1
Joined: Thu Dec 11, 2008 6:50 pm

Post by blyn »

hey guys

i have one chipped ps2 and one exploited ps2. models are SCPH-500004 and SCPH-500003, but i get the same error, when i'am trying to install linux.

when i boot kloader1.9.elf it shows error message: failed to load module "ps2smap.irx"

Image

then i select the kernel (vmlinux.devfs) and initdr (initrd.usb2.gz) from usb drive and then i choose Boot Current Config.

after loading, i get black console screen, which says:

Image

i'am using 2gb usb flash drive. is that enough? i think the trouble is in "ps2smap.irx"... can you help me?
yoshi314
Posts: 36
Joined: Sat Jul 26, 2008 11:19 pm

Post by yoshi314 »

i think i explictly disabled this module (and probably some more other modules) and i got to black screen with command prompt.

thing is, i don't know whether the boot process ended prematurely or not. but i got to the console.

i didn't have too much to tinker with the loader yet.
Mega Man
Posts: 260
Joined: Sat Jun 18, 2005 3:14 am
Contact:

Post by Mega Man »

blyn wrote:hey guys

i have one chipped ps2 and one exploited ps2. models are SCPH-500004 and SCPH-500003, but i get the same error, when i'am trying to install linux.

when i boot kloader1.9.elf it shows error message: failed to load module "ps2smap.irx"

Image

then i select the kernel (vmlinux.devfs) and initdr (initrd.usb2.gz) from usb drive and then i choose Boot Current Config.

after loading, i get black console screen, which says:

Image

i'am using 2gb usb flash drive. is that enough? i think the trouble is in "ps2smap.irx"... can you help me?
You seem to get the error message at startup of kernelloader. Does this also happen when you select starting of Linux (second error message)?
Do you have the Network/HDD adapter installed at the expansion bay?
initrd.usb2.gz tries to start the installed Linux on the USB memory stick, but there is nothing installed. You need to extract the Linux distribution (blackrhino_baseimage-1.0.tar.gz) to an ext2 partition on the memory stick and select this partition by kernel parameter "newroot=" (see http://sourceforge.net/project/shownote ... _id=223793).

When you remove the USB memory stick before Linux tries to mount it, you will get a bash console. This can be used to install the files.
falconcool
Posts: 4
Joined: Sun Dec 14, 2008 8:40 pm

kernel parameter setting problem for vga screen(support sog)

Post by falconcool »

hello,i'm newbe here and ps2linux :P
before finding Mega Man's kernal loader yesterday,i used official $ony's linux RTE(DVDRversion).it worked okay,but it's very unconvenient to swap disks.
I made a vga cable myself,just ugly solded,and it works.(for GT4 and other games support vga mode)
I follow the guide compeletely in
http://mitglied.lycos.de/ps2dev/tutoria ... linux.html
everything goes smoothly,but there is a ditch
for the kernel parameter "crtmode=ntsc root=/dev/hda2 ro"
If i want to use vga mode,how should i write the parameters?"crtmode=vga"? i tried this but it didn't work.

And,i know there is a way to install $ony's linux RTE without modchip,if anyone interested in this,i will post my method
cosmito
Posts: 307
Joined: Sun Mar 04, 2007 4:26 am
Location: Portugal
Contact:

Re: kernel parameter setting problem for vga screen(support

Post by cosmito »

Hello falconcool,

Could you post the link for the VGA cable you made, please?
falconcool wrote:And,i know there is a way to install $ony's linux RTE without modchip,if anyone interested in this,i will post my method
I guess there will be always someone interested :) As long you have the time to write it, go for it.
falconcool
Posts: 4
Joined: Sun Dec 14, 2008 8:40 pm

VGA cable

Post by falconcool »

Sure Cosmito:)
But it's a japenese page,don't worry about what it said,just watch the 2 pictures on the right side bottom of the page.
there are 2 ways,for those who have Sog screen,plz see
http://tokyo.cool.ne.jp/xiaolang/pclub/about.html
For those who don't have Sog screen,plz refter this
http://home.age.ne.jp/x/nrg/magazin/sog_adaptar.png
need this chip
National Semiconducter LM1881 8Pin
and resistor 680KΩ x1
capacitors 0.1μF x2
Good luck:)
cosmito
Posts: 307
Joined: Sun Mar 04, 2007 4:26 am
Location: Portugal
Contact:

Post by cosmito »

Thanks. Both seems easy to build. SOG = Sync on Green, right?
falconcool
Posts: 4
Joined: Sun Dec 14, 2008 8:40 pm

the method to install $ony's RTE linux

Post by falconcool »

you alll know $ce had 2 disks for the official RTE release years ago.even you use swap disc method to boot disk1 ,but it will ask you to 'change disk2 ' while you chosee' install' in the menu. I believe for those who tried to install $ony's RTE(with somekind of disk called DVDR idk where it came from,plz don't ask me this:P) stopped here,and try to use the Black rhino.You can see this as kind of protection.
the installation program stops whatever you do at this step,(swap disk manually or push eject button).as long as you don't have official disk2,it won't work.
But ,actually ,this program only check 'official' disk once at this step(how i know it?tell you,just try and error :P).
so,I extracted all files from the 2 DVDRs ,and put them into a folder, then rebuild a new DVDR,what programs i used called cdvdgen and cdvd_iml2iso (use google,you will know what they areused for)
then burn a new DVD with Disk1's Volume name but all contents of 2 disks
use this new disk to boot(swaploader).then you will find something amazing happed,the program no longer ask you to put in Disk2 after you press the 'install',once you pass this step,everything works .the program may ask you to put in disk 2 later,but you can swap disk2 manually from now on(before swapping.be sure to wait Disk stop spining,tips:use your ear:P) ,the program won't check the protection anymore.
Then follow the procedure of the screen,Done!:)
once you finished this.you can use Megaman's kernel loader to boot,without swapping disk(Thanks!MEGAMAN!)the only difference is that
"SPU" have problem.I believe Megaman will fix this in the future:)

ps:yes sog means Sync on green Cosmito:)
deba5er
Posts: 166
Joined: Mon Feb 04, 2008 2:01 pm

Re: kernel parameter setting problem for vga screen(support

Post by deba5er »

falconcool wrote: everything goes smoothly,but there is a ditch
for the kernel parameter "crtmode=ntsc root=/dev/hda2 ro"
If i want to use vga mode,how should i write the parameters?"crtmode=vga"? i tried this but it didn't work.
Try crtmode=vesa

PS2-Linux supports 640x480 (vesa0), 800x600 (vesa1), 1024x768 (vesa2), and 1280x1024 (vesa3) - I have used none of these modes, and the 1280x1024 mode doesn't seem right given the PS2 hardware, but these are available in the setcrtmode command in PS2-Linux.

For those who have PS2-Linux running already, type "setcrtmode --help"
falconcool
Posts: 4
Joined: Sun Dec 14, 2008 8:40 pm

well,not work:(

Post by falconcool »

Hello,Debaser
Thx for telling me this,but i've tried vesa,vesa1,vesa2.
it does changes something,because my TV displayed nothing once i set the parameter as vesa,i've checked my screen,cable,ps2,they have no problem,because i just tired GT4 480p mode few mins ago.(with vga cable)
I use the setting to connect my VGA cable with linux boot succesfully,but the screen is totally black,then i type in root to login,then halt.
Is it the problem of progressive scan(or interperlation) on screen side?
Thank you!
deba5er
Posts: 166
Joined: Mon Feb 04, 2008 2:01 pm

maybe dtv modes

Post by deba5er »

Ok, maybe you need to use crtmode=DTV

dtv0 = 480p
dtv1 = 1080i
dtv2 = 720p

I just don't have this equipment to test with, so apologies for not being able to help more.
Mega Man
Posts: 260
Joined: Sat Jun 18, 2005 3:14 am
Contact:

Post by Mega Man »

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.
prasys
Posts: 6
Joined: Sat Jan 03, 2009 1:46 am
Contact:

Post by prasys »

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.co ... ebian.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/ ... Config-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
Mega Man
Posts: 260
Joined: Sat Jun 18, 2005 3:14 am
Contact:

Post by Mega Man »

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? ... &start=150).
prasys
Posts: 6
Joined: Sat Jan 03, 2009 1:46 am
Contact:

Post by prasys »

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? ... &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: Select all

# 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.
Mega Man
Posts: 260
Joined: Sat Jun 18, 2005 3:14 am
Contact:

Post by Mega Man »

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
prasys
Posts: 6
Joined: Sat Jan 03, 2009 1:46 am
Contact:

Post by prasys »

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
shadowsun
Posts: 5
Joined: Sun Jan 11, 2009 4:23 pm

Post by shadowsun »

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?
davideciarm
Posts: 13
Joined: Mon Jan 26, 2009 9:23 pm

Post by davideciarm »

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/sourcefor ... rd.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: Select all



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!!!
whig
Posts: 34
Joined: Sun Jan 04, 2009 5:52 am

Post by whig »

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.
davideciarm
Posts: 13
Joined: Mon Jan 26, 2009 9:23 pm

Post by davideciarm »

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!
whig
Posts: 34
Joined: Sun Jan 04, 2009 5:52 am

Post by whig »

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: Select all

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
davideciarm
Posts: 13
Joined: Mon Jan 26, 2009 9:23 pm

Post by davideciarm »

can you host your kloader.elf, initrd and kernel files? thanks very much!
davideciarm
Posts: 13
Joined: Mon Jan 26, 2009 9:23 pm

Post by davideciarm »

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?
Mega Man
Posts: 260
Joined: Sat Jun 18, 2005 3:14 am
Contact:

Post by Mega Man »

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")
davideciarm
Posts: 13
Joined: Mon Jan 26, 2009 9:23 pm

Post by davideciarm »

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: Select all

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!
davideciarm
Posts: 13
Joined: Mon Jan 26, 2009 9:23 pm

Post by davideciarm »

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!
Mega Man
Posts: 260
Joined: Sat Jun 18, 2005 3:14 am
Contact:

Post by Mega Man »

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.
davideciarm
Posts: 13
Joined: Mon Jan 26, 2009 9:23 pm

Post by davideciarm »

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!
Mega Man
Posts: 260
Joined: Sat Jun 18, 2005 3:14 am
Contact:

Post by Mega Man »

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).
Post Reply