pci powerstate related: aac(4) broken on Perc 3/Di on -CURRENT

Simon L. Nielsen simon at FreeBSD.org
Thu Jan 6 15:08:59 PST 2005


On 2005.01.06 13:48:52 -0700, Warner Losh wrote:
> From: "Simon L. Nielsen" <simon at nitro.dk>
> Subject: Re: pci powerstate related: aac(4) broken on Perc 3/Di on -CURRENT
> Date: Thu, 6 Jan 2005 14:13:28 +0100
> 
> > On 2004.12.23 07:48:44 -0700, Scott Long wrote:
> > > 
> > > Simon L. Nielsen wrote:
> > > >Hello
> > > >
> > > >Recent -CURRENT seems to have broken aac(4) on a Dell Perc 4/Di.  The
> > > >system is a Dell PowerEdge 2650 with 4 36GB IBM disks in a RAID0+1
> > > >configuration.
> > > >
> > > >It runs fine on a 5-STABLE kernel, but when booting -CURRENT it prints
> > > >a lot of errors from the RAID controller and then fails to mount the
> > > >root file-system.
> > > >
> > > >I have attached dmesg from 6-CURRENT and 5-STABLE, but the main
> > > >interesting parts from -CURRENT are:
> > > >
> > > >aac0: <Dell PERC 3/Di> mem 0xf0000000-0xf7ffffff irq 30 at device 8.1 on 
> > > >pci4
> > > >aac0: [FAST]
> > > >aacd0: <RAID 0/1> on aac0
> > > >aacd0: 69425MB (142182912 sectors)
> > > >SMP: AP CPU #3 Launched!
> > > >SMP: AP CPU #1 Launched!
> > > >SMP: AP CPU #2 Launched!
> > > >aac0: **Monitor**         NMI ISR: NMI_SECONDARY_ATU_ERROR
> > > >aac0: **Monitor**         NMI ISR: NMI_SECONDARY_ATU_ERROR
> > > >aac0: COMMAND 0xc2409438 TIMEOUT AFTER 41 SECONDS
> > > 
> > > There are very few differences between the driver in 6-CURRENT and
> > > 5-STABLE, and none of the differences look like ones that could
> > > cause problems.  Would you get able to step the source backwards until
> > > you find the point where it starts working again?
> > 
> > After several rounds of backstepping I found that the problem is
> > caused by sys/dev/pci/pci.c v. 1.268 which sets hw.pci.do_powerstate=1
> > by default.  If I add hw.pci.do_powerstate="0" to loader.conf the
> > system boots fine.  I have no idea why this only manifests itself as
> > an aac(4) error.
> > 
> > This system has a Dell remote management card and I rememeber that
> > Lukas Ertl, some time ago, reported some problem with the power state
> > change and a (HP?) remote management card, so perhaps this is a
> > similar issue.
> 
> Interesting.  This is even after my changes to current to make it not
> power down system devices?

Yes, it also happens with a -CURRENT from today.

> Can you send me a complete pciconf -lv for this system?

It should be attached.

-- 
Simon L. Nielsen
-------------- next part --------------
hostb0 at pci0:0:0:	class=0x060000 card=0x00000000 chip=0x00141166 rev=0x33 hdr=0x00
    vendor   = 'ServerWorks (Was: Reliance Computer Corp)'
    device   = 'CNB20-HE Host Bridge'
    class    = bridge
    subclass = HOST-PCI
hostb1 at pci0:0:1:	class=0x060000 card=0x00000000 chip=0x00141166 rev=0x00 hdr=0x00
    vendor   = 'ServerWorks (Was: Reliance Computer Corp)'
    device   = 'CNB20-HE Host Bridge'
    class    = bridge
    subclass = HOST-PCI
hostb2 at pci0:0:2:	class=0x060000 card=0x00000000 chip=0x00141166 rev=0x00 hdr=0x00
    vendor   = 'ServerWorks (Was: Reliance Computer Corp)'
    device   = 'CNB20-HE Host Bridge'
    class    = bridge
    subclass = HOST-PCI
none0 at pci0:4:0:	class=0xff0000 card=0x000c1028 chip=0x000c1028 rev=0x00 hdr=0x00
    vendor   = 'Dell Computer Corporation'
    device   = 'Embedded Systems Management Device 4'
none1 at pci0:4:1:	class=0xff0000 card=0x00081028 chip=0x00081028 rev=0x00 hdr=0x00
    vendor   = 'Dell Computer Corporation'
    device   = 'PowerEdge Expandable RAID Controller 3/Di'
none2 at pci0:4:2:	class=0xff0000 card=0x000d1028 chip=0x000d1028 rev=0x00 hdr=0x00
    vendor   = 'Dell Computer Corporation'
none3 at pci0:14:0:	class=0x030000 card=0x01211028 chip=0x47521002 rev=0x27 hdr=0x00
    vendor   = 'ATI Technologies Inc.'
    device   = 'Rage XL PCI'
    class    = display
    subclass = VGA
hostb3 at pci0:15:0:	class=0x060000 card=0x02011166 chip=0x02011166 rev=0x93 hdr=0x00
    vendor   = 'ServerWorks (Was: Reliance Computer Corp)'
    device   = 'CSB5 PCI to ISA Bridge'
    class    = bridge
    subclass = HOST-PCI
atapci0 at pci0:15:1:	class=0x010182 card=0x02121166 chip=0x02121166 rev=0x93 hdr=0x00
    vendor   = 'ServerWorks (Was: Reliance Computer Corp)'
    device   = 'CSB5 PCI EIDE Controller'
    class    = mass storage
    subclass = ATA
ohci0 at pci0:15:2:	class=0x0c0310 card=0x02201166 chip=0x02201166 rev=0x05 hdr=0x00
    vendor   = 'ServerWorks (Was: Reliance Computer Corp)'
    device   = 'OSB4 OpenHCI Compliant USB Controller'
    class    = serial bus
    subclass = USB
isab0 at pci0:15:3:	class=0x060100 card=0x02301166 chip=0x02251166 rev=0x00 hdr=0x00
    vendor   = 'ServerWorks (Was: Reliance Computer Corp)'
    device   = 'CSB5 PCI Bridge'
    class    = bridge
    subclass = PCI-ISA
hostb4 at pci0:16:0:	class=0x060000 card=0x00000000 chip=0x01011166 rev=0x05 hdr=0x00
    vendor   = 'ServerWorks (Was: Reliance Computer Corp)'
    device   = 'CIOB-X2'
    class    = bridge
    subclass = HOST-PCI
hostb5 at pci0:16:2:	class=0x060000 card=0x00000000 chip=0x01011166 rev=0x05 hdr=0x00
    vendor   = 'ServerWorks (Was: Reliance Computer Corp)'
    device   = 'CIOB-X2'
    class    = bridge
    subclass = HOST-PCI
hostb6 at pci0:17:0:	class=0x060000 card=0x00000000 chip=0x01011166 rev=0x05 hdr=0x00
    vendor   = 'ServerWorks (Was: Reliance Computer Corp)'
    device   = 'CIOB-X2'
    class    = bridge
    subclass = HOST-PCI
hostb7 at pci0:17:2:	class=0x060000 card=0x00000000 chip=0x01011166 rev=0x05 hdr=0x00
    vendor   = 'ServerWorks (Was: Reliance Computer Corp)'
    device   = 'CIOB-X2'
    class    = bridge
    subclass = HOST-PCI
pcib5 at pci4:8:0:	class=0x060400 card=0x00000068 chip=0x03098086 rev=0x01 hdr=0x01
    vendor   = 'Intel Corporation'
    device   = '80303 I/O Processor PCI-to-PCI Bridge Unit'
    class    = bridge
    subclass = PCI-PCI
aac0 at pci4:8:1:	class=0x010400 card=0x01211028 chip=0x000a1028 rev=0x01 hdr=0x00
    vendor   = 'Dell Computer Corporation'
    device   = 'PowerEdge 3/Di Expandable RAID Controller'
    class    = mass storage
    subclass = RAID
none4 at pci5:6:0:	class=0x010000 card=0x00c51028 chip=0x00c59005 rev=0x01 hdr=0x00
    vendor   = 'Adaptec Inc'
    device   = 'RAID Subsystem HBA'
    class    = mass storage
    subclass = SCSI
none5 at pci5:6:1:	class=0x010000 card=0x00c51028 chip=0x00c59005 rev=0x01 hdr=0x00
    vendor   = 'Adaptec Inc'
    device   = 'RAID Subsystem HBA'
    class    = mass storage
    subclass = SCSI
em0 at pci2:6:0:	class=0x020000 card=0x10028086 chip=0x10268086 rev=0x04 hdr=0x00
    vendor   = 'Intel Corporation'
    device   = '82545GM Gigabit Ethernet Controller'
    class    = network
    subclass = ethernet
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 187 bytes
Desc: not available
Url : http://lists.freebsd.org/pipermail/freebsd-current/attachments/20050107/0603571e/attachment.bin


More information about the freebsd-current mailing list