Subject: Re: NetBSD on PowerBook 150
To: None <port-mac68k@netbsd.org>
From: Takeshi Shibagaki <sibagaki@lsi.melco.co.jp>
List: port-mac68k
Date: 09/20/2000 16:50:00
Hi, This is Takeshi Shibagaki

Bertrand.Jeannet> Waiting 2 seconds for SCSI devices to settle [...]
Bertrand.Jeannet> sd0 [...]
Bertrand.Jeannet> sd0 [...]
Bertrand.Jeannet> the machine hangs up (both display and disk shut down). I also tried to

I recognized this phenomina. My PB150 also shut down.

Bertrand.Jeannet> boot with SBC kernels, or without external SCSI disk, the same problem
Bertrand.Jeannet> happens

It is a cause that adb driver(pm_direct.c) has some bugs in PB150, but
not SCSI relation.

When I patched the following diffs to original codes, my PB150 don't
shut down. But akbd0 and ams0 are not attached. I don't know that
PB150's spec is same to DUO series.

--- pm_direct.c Wed Apr  5 20:27:42 2000
+++ pm_direct.c.new     Wed Sep 20 16:26:16 2000
@@ -259,7 +259,6 @@
        switch (mac68k_machine.machineid) {
                case MACH_MACPB140:
                case MACH_MACPB145:
-               case MACH_MACPB150:
                case MACH_MACPB160:
                case MACH_MACPB165:
                case MACH_MACPB165C:
@@ -268,6 +267,7 @@
                case MACH_MACPB180C:
                        pmHardware = PM_HW_PB1XX;
                        break;
+               case MACH_MACPB150:
                case MACH_MACPB210:
                case MACH_MACPB230:
                case MACH_MACPB250:

I catch up this issue, but I stop where interrupts don't come up at,

   982                  case PM_HW_PB5XX:
   983                          via1_register_irq(4, pm_intr_pm2, (void *)0);
   984                          PM_VIA_CLR_INTR();
   985                          break;

Give me a comment to this problem.

Regards.

Takeshi Shibagaki
ie9t-sbgk@asahi-net.or.jp