Hi Carlos,

in order to have the Debian installer recognize the keyboard you have to repeat the keyboard detection a couple of times - this has always worked on my system. Or can't you hit any key anymore after the keyboard recognition has failed? That issue with the missing key up events is an issue with the PPC archtitecture; this happens on all machines that use the ADB bus (with Linux) so it seems to be a problem of the ADB driver. That key presses aren't recognized is probably because of the SCSI driver; it disables any interrupts very often - maybe I can improve it a bit.

Unfortunately your machine is very slow and most probably will stay slow; the system bus speed is quite low (about 22 MHz or so) and I assume the CPU doesn't have an L2 cache (if it had L2 cache the kernel doesn't activate it yet). The lacking L2 cache should be the main thing that limits the speed of your system. I just read that the IDE to SCSI carrier board you are using is supposed to be somewhat slow...

As an XWindow system you shouldn't bother using gnome - you don't have enough memory. Consider installing wmaker instead - that's what I'm using and it is small and usable.

One thing that greatly improves the overall system speed on all NuBus PBs is to set the number of colours to 256. 16 bit is possible but very slow.

I don't know how to test speed - there are benchmark tools I think but I haven't used one yet.

Did you yet try to boot with serial console and screen console enabled at the same time "passing "console=tty0" as well as "console=ttyS0,115200" as kernel parameters? In the interrupts statistics you have 9 bad interrupts - I'd like to know what caused them.

Tobias



Am 26.05.2006 um 03:07 schrieb Carlos Castro:

miboot still doesn't work get's to arch:exit prints one blank line and nothing more happens

Started from scratch.
Booted with mklinux booter using your latest "mach kernel" and rootdev= /dev/ram and mach options = keyboard_sends_linux_keycodes=1 first 2 boots keyboard was not recognized when I entered the debian installer could not continue third boot pressed apple + power keys a couple of times, debuging messages appered and was able to continue with installer. sometimes if I press enter the key repeats itself and the menu selection advances by itself
skipped network config
now formating 1.3Gb IBM Hard drive on ADTX carrier board 100Mb HFS (sda6) 1.2Gb ext3 (sda7) 98.6Mb swap (sda8) these values where given by the guided partitioning using the use free space option and all files in one partition option. Formating ext3 takes a very long time (close to 10 minutes). swap formating is instantaneous
first install takes a long time, more than 1 hour
did cat /proc/interrupts this is what prints:
        CPU0
2:              0       M2      Edge    SCC,    SCC
10:     33731   M2      Edge    VIA-PMU SR
12:     10604   M2      Edge    VIA-PMU
19:          509        M2      Edge    ncr5380
BAD:    9

changed rootdev to /dev/sda7
finished install and base-config without selecting any packages.
the keyboard is usable but sometimes locks in one key until I press another key and sometimes it does'nt recognize key presses.

could'nt get the scsi debug messages again during package install.

trying to install package gnome-desktop with aptitude. Will this get me a working Xwindow?
System seems slow. Is there anyway to test performance?

Thanks

Carlos

Maybe this post is very confusing...


On May 25, 2006, at 9:00 PM, Tobias Netzel wrote:

That's fine.
Hard drive interrupts shouldn't be a problem on your machine; the SCSI driver doesn't rely on interrupts. You can check the number of interrupts for the devices with the command "cat /proc/interrupts".
"nbpmac5380" is the name of the SCSI driver.

Is the keyboard completely unusable after starting base-config?
Please describe exactly what happens.
Do you have to reboot to solve the problem? (Try pressing the apple and power on keys simultaneously - that will display some debugging messages from the interrupt handling)

Tobias


Am 25.05.2006 um 20:31 schrieb Carlos Castro:

It works. :-)

Your latest kernel did the trick but... (there had to be a but)

all tests with mklinux booter will try with miboot

1 - if I put ttyS0=115200 debug in the mach options it still hangs and shuts down after freeing init memory 2 - when running base-config the keybord get's stuck (i think it misses key-up event and thinks the key is still down) this problably has to do with hard drive interrupts 3 - it prints every once in a while (when installing packages) something (if I am able to duplicate I will send you the log)



On May 17, 2006, at 5:32 AM, Tobias Netzel wrote:

Hi Carlos,

I replaced the "Mach Kernel" image with one that has the modified SCSI timings.
It might also print some additional SCSI debugging output.

Tobias

Am 16.05.2006 um 22:04 schrieb Carlos Castro:

Tobias,

tried the most recen miboot.image and it still does the same

It takes a looooong time to get to "first boot screen" (the black screen without the penguin logo) and after it prints arch:exit it prints one blank line and nothing more. There is no output to ttyS0

..strange...

Carlos

On May 16, 2006, at 3:25 PM, Tobias Netzel wrote:

I'm currently trying to get into the SCSI driver.
Unfortunately that driver is a generic one for hundreds of different boards and architectures and so it isn't optimized for the mac. That has as consequence that it doesn't use any interrupts and therefor has to poll everything from the SCSI bus. While polling interrupts are switched off and so one cannot move the mouse or press any keys while a SCSI command is processed. And it is VERY slow and merely unusable for hard disks.
I again tried my SCSI scanner and it's working without problems.

There are options to change some timings; I will upload a kernel with changed timing values within the next 30 minutes.
I will name it "Mach Kernel.SCSI".

In order to build a Mach Kernel image you have to get a complete nubus pmac kernel source tree (and you will also need my latest patches...) and after configuring the kernel you have to build it using "make zImage". After that the "Mach Kernel" image will be in "arch/ppc/appleboot/" as well as the miboot.image.

Did you try the latest miboot.image yet?

Tobias


Am 12.05.2006 um 11:01 schrieb Carlos Castro:

That's bad news... Surely there is another developer that will help with the scsi (hopefully) :-)

One question.

How do I "package" a kernel to work with MkLinux Booter.

Thanks

Carlos


-------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel? cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
Nubus-pmac-users mailing list
Nubus-pmac-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nubus-pmac-users




-------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel? cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
Nubus-pmac-users mailing list
Nubus-pmac-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nubus-pmac-users



-------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel? cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
Nubus-pmac-users mailing list
Nubus-pmac-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nubus-pmac-users




-------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel? cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
Nubus-pmac-users mailing list
Nubus-pmac-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nubus-pmac-users



-------------------------------------------------------
All the advantages of Linux Managed Hosting--Without the Cost and Risk! Fully trained technicians. The highest number of Red Hat certifications in
the hosting industry. Fanatical Support. Click to learn more
http://sel.as-us.falkag.net/sel? cmd=lnk&kid=107521&bid=248729&dat=121642
_______________________________________________
Nubus-pmac-users mailing list
Nubus-pmac-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nubus-pmac-users




-------------------------------------------------------
All the advantages of Linux Managed Hosting--Without the Cost and Risk! Fully trained technicians. The highest number of Red Hat certifications in
the hosting industry. Fanatical Support. Click to learn more
http://sel.as-us.falkag.net/sel? cmd=lnk&kid=107521&bid=248729&dat=121642
_______________________________________________
Nubus-pmac-users mailing list
Nubus-pmac-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nubus-pmac-users



-------------------------------------------------------
All the advantages of Linux Managed Hosting--Without the Cost and Risk!
Fully trained technicians. The highest number of Red Hat certifications in
the hosting industry. Fanatical Support. Click to learn more
http://sel.as-us.falkag.net/sel? cmd=lnk&kid=107521&bid=248729&dat=121642
_______________________________________________
Nubus-pmac-users mailing list
Nubus-pmac-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nubus-pmac-users




-------------------------------------------------------
All the advantages of Linux Managed Hosting--Without the Cost and Risk!
Fully trained technicians. The highest number of Red Hat certifications in
the hosting industry. Fanatical Support. Click to learn more
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=107521&bid=248729&dat=121642
_______________________________________________
Nubus-pmac-users mailing list
Nubus-pmac-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nubus-pmac-users

Reply via email to