Subject: Re: port-i386/37001 (acpi enabled kernel locks up bringing up fxp0
To: None <joerg@NetBSD.org, gnats-admin@netbsd.org, netbsd-bugs@netbsd.org,>
From: Mathias De Belder <mathias@woei.be>
List: netbsd-bugs
Date: 11/08/2007 19:50:03
The following reply was made to PR port-i386/37001; it has been noted by GNATS.

From: Mathias De Belder <mathias@woei.be>
To: gnats-bugs@NetBSD.org
Cc: 
Subject: Re: port-i386/37001 (acpi enabled kernel locks up bringing up fxp0
	NIC)
Date: Thu, 8 Nov 2007 17:46:59 +0100

 On Thu, Nov 08, 2007 at 02:50:03AM +0000, Joerg Sonnenberger wrote:
 >  >  On Wed, Nov 07, 2007 at 07:00:08PM +0000, Mathias De Belder wrote:
 >  >  Unfortunately, even with acpi_pci_link.c at rev. 1.9 (with the rest of
 >  >  the sources on a recent netbsd-4 checkout) the machine still locks up
 >  >  when trying to bring up fxp0.
 >  
 >  Can you give me the result of
 >  	pcictl pci1 dump -d 8
 >  please?
 
 
 And here they are, the first one of an ACPI-enabled kernel (with rev.
 1.9 of acpi_pci_link.c):
 
 
 PCI configuration registers:
   Common header:
     0x00: 0x103d8086 0x02900117 0x02000081 0x00002008
 
     Vendor Name: Intel (0x8086)
     Device Name: PRO/100 VE (MOB) Network Controller (0x103d)
     Command register: 0x0117
       I/O space accesses: on
       Memory space accesses: on
       Bus mastering: on
       Special cycles: off
       MWI transactions: on
       Palette snooping: off
       Parity error checking: off
       Address/data stepping: off
       System error (SERR): on
       Fast back-to-back transactions: off
       Interrupt disable: off
     Status register: 0x0290
       Capability List support: on
       66 MHz capable: off
       User Definable Features (UDF) support: off
       Fast back-to-back capable: on
       Data parity error detected: off
       DEVSEL timing: medium (0x1)
       Slave signaled Target Abort: off
       Master received Target Abort: off
       Master received Master Abort: off
       Asserted System Error (SERR): off
       Parity error detected: off
     Class Name: network (0x02)
     Subclass Name: ethernet (0x00)
     Interface: 0x00
     Revision ID: 0x81
     BIST: 0x00
     Header Type: 0x00 (0x00)
     Latency Timer: 0x20
     Cache Line Size: 0x08
 
   Type 0 ("normal" device) header:
     0x10: 0xfcffe000 0x0000ecc1 0x00000000 0x00000000
     0x20: 0x00000000 0x00000000 0x00000000 0x20021028
     0x30: 0x00000000 0x000000dc 0x00000000 0x38080109
 
     Base address register at 0x10
       type: 32-bit nonprefetchable memory
       base: 0xfcffe000, not sized
     Base address register at 0x14
       type: i/o
       base: 0x0000ecc0, not sized
     Base address register at 0x18
       not implemented(?)
     Base address register at 0x1c
       not implemented(?)
     Base address register at 0x20
       not implemented(?)
     Base address register at 0x24
       not implemented(?)
     Cardbus CIS Pointer: 0x00000000
     Subsystem vendor ID: 0x1028
     Subsystem ID: 0x2002
     Expansion ROM Base Address: 0x00000000
     Capability list pointer: 0xdc
     Reserved @ 0x38: 0x00000000
     Maximum Latency: 0x38
     Minimum Grant: 0x08
     Interrupt pin: 0x01 (pin A)
     Interrupt line: 0x09
 
   Capability register at 0xdc
     type: 0x01 (Power Management, rev. 1.0)
 
   Device-dependent header:
     0x40: 0x00000000 0x00000000 0x00000000 0x00000000
     0x50: 0x00000000 0x00000000 0x00000000 0x00000000
     0x60: 0x00000000 0x00000000 0x00000000 0x00000000
     0x70: 0x00000000 0x00000000 0x00000000 0x00000000
     0x80: 0x00000000 0x00000000 0x00000000 0x00000000
     0x90: 0x00000000 0x00000000 0x00000000 0x00000000
     0xa0: 0x00000000 0x00000000 0x00000000 0x00000000
     0xb0: 0x00000000 0x00000000 0x00000000 0x00000000
     0xc0: 0x00000000 0x00000000 0x00000000 0x00000000
     0xd0: 0x00000000 0x00000000 0x00000000 0xfe220001
     0xe0: 0x3a004000 0x00000000 0x00000000 0x00000000
     0xf0: 0x00000000 0x00000000 0x00000000 0x00000000
 
 
 
 And the second one on an RC1-kernel without ACPI:
 
 
 PCI configuration registers:
   Common header:
     0x00: 0x103d8086 0x02900117 0x02000081 0x00002008
 
     Vendor Name: Intel (0x8086)
     Device Name: PRO/100 VE (MOB) Network Controller (0x103d)
     Command register: 0x0117
       I/O space accesses: on
       Memory space accesses: on
       Bus mastering: on
       Special cycles: off
       MWI transactions: on
       Palette snooping: off
       Parity error checking: off
       Address/data stepping: off
       System error (SERR): on
       Fast back-to-back transactions: off
       Interrupt disable: off
     Status register: 0x0290
       Capability List support: on
       66 MHz capable: off
       User Definable Features (UDF) support: off
       Fast back-to-back capable: on
       Data parity error detected: off
       DEVSEL timing: medium (0x1)
       Slave signaled Target Abort: off
       Master received Target Abort: off
       Master received Master Abort: off
       Asserted System Error (SERR): off
       Parity error detected: off
     Class Name: network (0x02)
     Subclass Name: ethernet (0x00)
     Interface: 0x00
     Revision ID: 0x81
     BIST: 0x00
     Header Type: 0x00 (0x00)
     Latency Timer: 0x20
     Cache Line Size: 0x08
 
   Type 0 ("normal" device) header:
     0x10: 0xfcffe000 0x0000ecc1 0x00000000 0x00000000
     0x20: 0x00000000 0x00000000 0x00000000 0x20021028
     0x30: 0x00000000 0x000000dc 0x00000000 0x3808010b
 
     Base address register at 0x10
       type: 32-bit nonprefetchable memory
       base: 0xfcffe000, not sized
     Base address register at 0x14
       type: i/o
       base: 0x0000ecc0, not sized
     Base address register at 0x18
       not implemented(?)
     Base address register at 0x1c
       not implemented(?)
     Base address register at 0x20
       not implemented(?)
     Base address register at 0x24
       not implemented(?)
     Cardbus CIS Pointer: 0x00000000
     Subsystem vendor ID: 0x1028
     Subsystem ID: 0x2002
     Expansion ROM Base Address: 0x00000000
     Capability list pointer: 0xdc
     Reserved @ 0x38: 0x00000000
     Maximum Latency: 0x38
     Minimum Grant: 0x08
     Interrupt pin: 0x01 (pin A)
     Interrupt line: 0x0b
 
   Capability register at 0xdc
     type: 0x01 (Power Management, rev. 1.0)
 
   Device-dependent header:
     0x40: 0x00000000 0x00000000 0x00000000 0x00000000
     0x50: 0x00000000 0x00000000 0x00000000 0x00000000
     0x60: 0x00000000 0x00000000 0x00000000 0x00000000
     0x70: 0x00000000 0x00000000 0x00000000 0x00000000
     0x80: 0x00000000 0x00000000 0x00000000 0x00000000
     0x90: 0x00000000 0x00000000 0x00000000 0x00000000
     0xa0: 0x00000000 0x00000000 0x00000000 0x00000000
     0xb0: 0x00000000 0x00000000 0x00000000 0x00000000
     0xc0: 0x00000000 0x00000000 0x00000000 0x00000000
     0xd0: 0x00000000 0x00000000 0x00000000 0xfe220001
     0xe0: 0x3a004000 0x00000000 0x00000000 0x00000000
     0xf0: 0x00000000 0x00000000 0x00000000 0x00000000
 
 
 Mathias