NetBSD-Bugs archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: port-i386/39671: panic while booting with an acpi kernel on a 790GX board



The following reply was made to PR port-i386/39671; it has been noted by GNATS.

From: Bernd Ernesti <pr200816%veego.de@localhost>
To: gnats-bugs%NetBSD.org@localhost
Cc: 
Subject: Re: port-i386/39671: panic while booting with an acpi kernel on a 
790GX board
Date: Sun, 12 Oct 2008 21:01:29 +0200

 Some notes:
 
 - One possible workaround is to use only the isa attachment for pckbc, while 
disabling
   the acpi attachment of the pckbc:
 isa0 at pcib0
 pckbc0 at isa0 port 0x60-0x64
 pckbd0 at pckbc0 (kbd slot)
 ioapic0: int1 69<vector=69,delmode=0,dest=0> 0<target=0>
 pckbc0: using irq 1 for kbd slot
 wskbd0 at pckbd0: console keyboard, using wsdisplay0
 
 so the following three PNP devices are NOT attached to acpi:
 
 PSKE (PNP0303) [IBM Enhanced (101/102-key, PS/2 mouse support)] at acpi0 not 
configured
 PSMS (PNP0F03) [Microsoft PS/2-style Mouse] at acpi0 not configured
 PS2K (PNP0303) [IBM Enhanced (101/102-key, PS/2 mouse support)] at acpi0 not 
configured
 
 - From a acpidump (using a FreeBSD version and acpi-iasl since the acpidump 
from the
   NetBSD base system core dumps).
   I remove the PS2M device out of the quote. Full dsl file is available on 
request.
 
 Device (SBRG)
 {           
 ..
 
   Name (ECIN, Zero)
   Mutex (ECMU, 0x00) 
   Mutex (MLMU, 0x00)
   If (ECEN)
   {
 ..
 
     Name (KBWF, One)
     Name (MSWF, One)
     Name (IRWF, One)
     Device (PSKE)
     {
         Name (_HID, EisaId ("PNP0303"))
         Name (_CID, EisaId ("PNP030B"))
         Method (_STA, 0, NotSerialized)
         {
             Store (Zero, Local1)
             Store (STA (0x07), Local1)
             Return (Local1)
         }
 
         Name (_CRS, ResourceTemplate ()
         {
             IO (Decode16,
                 0x0060,             // Range Minimum
                 0x0060,             // Range Maximum
                 0x00,               // Alignment
                 0x01,               // Length
                 )
             IO (Decode16,
                 0x0064,             // Range Minimum
                 0x0064,             // Range Maximum
                 0x00,               // Alignment
                 0x01,               // Length
                 )
             IRQNoFlags ()
                 {1}
         })
         Method (_PRW, 0, NotSerialized)
         {
             Return (GPRW (0x03, 0x04))
         }
 
         Method (_PSW, 1, NotSerialized)
         {
             If (Arg0)
             {
                 Store (One, KBWF)
             }
             Else
             {
                 Store (Zero, KBWF)
             }
         }
     }
 
 ..
 
     Method (PPTS, 1, NotSerialized)
     {
         If (^PSKE._STA ())
         {
             If (KBWF)
             {
                 KWEN ()
             }
             Else
             {
                 KWDS ()
             }
         }
     }
 
     Method (WWAK, 1, NotSerialized)
     {
         If (^PSKE._STA ())
         {       
             KWDS () 
         }
     }   
 ..
 
   }
 ..
 
 }
 
 Device (RMSC)
 {
 ..
 
   Device (PS2K)
   {
       Name (_HID, EisaId ("PNP0303"))
       Name (_CID, EisaId ("PNP030B"))
       Method (_STA, 0, NotSerialized)
       {           
           ShiftLeft (One, 0x0A, Local0)
           If (And (IOST, Local0))
           {   
               Return (0x0F)
           }   
           Return (Zero)
       }
 
       Name (_CRS, ResourceTemplate ()
       {   
           IO (Decode16,
               0x0060,             // Range Minimum
               0x0060,             // Range Maximum
               0x00,               // Alignment
               0x01,               // Length
               )
           IO (Decode16,
               0x0064,             // Range Minimum
               0x0064,             // Range Maximum
               0x00,               // Alignment
               0x01,               // Length
               )
           IRQNoFlags ()
               {1}
       })
   }
 
   Method (PS2K._PRW, 0, NotSerialized)
   {
       Return (GPRW (0x03, 0x03))
   }
 
 ..
 
   Method (PS2K._PSW, 1, NotSerialized)
   {           
       If (Arg0)
       {       
           Store (One, KBFG)
       }       
       Else
       {
           Store (Zero, KBFG)
       }
   }
 
 ..
 }
 


Home | Main Index | Thread Index | Old Index