Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 30 Oct 2008 07:46:37 +0200
From:      Ian FREISLICH <ianf@clue.co.za>
To:        Scott Long <scottl@samsco.org>
Cc:        current@freebsd.org
Subject:   Re: LSI megaraid SATA 150-6 
Message-ID:  <E1KvQMf-0006zu-RG@clue.co.za>
In-Reply-To: <4908C496.4090609@samsco.org> 
References:  <4908C496.4090609@samsco.org> <490864A3.4020801@samsco.org> <E1Kv8Bs-0004Wq-Fh@clue.co.za> <E1KvGQx-0005lG-54@clue.co.za> 

next in thread | previous in thread | raw e-mail | index | archive | help
Scott Long wrote:
> Ian FREISLICH wrote:
> > Scott Long wrote:
> >> Ian Freislich wrote:
> >>> But I'm unable to boot into multi-user off the disk.  The kernel
> >>> boots and then I get reports of UFS corruption (truncated inodes
> >>> and missing blocks etc) and it can't find /libexec/ld-elf.so.1.
> >>>
> >>> I'm tempted to just say that the card is junk and to give up.
> >>> Am I correct in my analysis?
> >>>
> >> Try setting the following from the loader at boot:
> >>
> >> hw.amr.force_sg32=1
> > 
> > Ok, that fixed it.  What exactly does this do?
> > 
> 
> Limits the driver to only use 32-bit addresses, and bounces
> (copies) anything above that down to the lower 32bits of the
> address space.  Can you send me the output of 'pciconf -lv'?

Scott, I thought I was clear in the original email, but I see now
that I wasn't.  I haven't tried this card on current owing to the
difficulty of having to potentially downgrade and I was wanting
to find out if migrating this system to current would help.  I'm
mostly satisfied with this solution as long as it doesn't point to
a driver bug.  Of course, in that case I'm happy to take the pain
in the interests of helping getting the driver fixed.

none0@pci0:0:0:0:       class=0x050000 card=0x82b31043 chip=0x054710de rev=0xa2 
hdr=0x00
    vendor     = 'Nvidia Corp'
    class      = memory
    subclass   = RAM
    cap 08[44] = HT slave
    cap 08[dc] = HT MSI address window enabled at 0xfee00000
isab0@pci0:0:1:0:       class=0x060100 card=0x82b31043 chip=0x054810de rev=0xa2 
hdr=0x00
    vendor     = 'Nvidia Corp'
    class      = bridge
    subclass   = PCI-ISA
ichsmb0@pci0:0:1:1:     class=0x0c0500 card=0x82b31043 chip=0x054210de rev=0xa2 
hdr=0x00
    vendor     = 'Nvidia Corp'
    class      = serial bus
    subclass   = SMBus
    cap 01[44] = powerspec 2  supports D0 D3  current D0
ohci0@pci0:0:2:0:       class=0x0c0310 card=0x82b31043 chip=0x055e10de rev=0xa2 
hdr=0x00
    vendor     = 'Nvidia Corp'
    class      = serial bus
    subclass   = USB
    cap 01[44] = powerspec 2  supports D0 D1 D2 D3  current D0
ehci0@pci0:0:2:1:       class=0x0c0320 card=0x82b31043 chip=0x055f10de rev=0xa2 
hdr=0x00
    vendor     = 'Nvidia Corp'
    class      = serial bus
    subclass   = USB
    cap 0a[44] = EHCI Debug Port at offset 0x98 in map 0x14
    cap 01[80] = powerspec 2  supports D0 D1 D2 D3  current D0
ohci1@pci0:0:4:0:       class=0x0c0310 card=0x82b31043 chip=0x055e10de rev=0xa2 
hdr=0x00
    vendor     = 'Nvidia Corp'
    class      = serial bus
    subclass   = USB
    cap 01[44] = powerspec 2  supports D0 D1 D2 D3  current D0
ehci1@pci0:0:4:1:       class=0x0c0320 card=0x82b31043 chip=0x055f10de rev=0xa2 
hdr=0x00
    vendor     = 'Nvidia Corp'
    class      = serial bus
    subclass   = USB
    cap 0a[44] = EHCI Debug Port at offset 0x98 in map 0x14
    cap 01[80] = powerspec 2  supports D0 D1 D2 D3  current D0
atapci0@pci0:0:6:0:     class=0x01018a card=0x82b31043 chip=0x056010de rev=0xa1 
hdr=0x00
    vendor     = 'Nvidia Corp'
    class      = mass storage
    subclass   = ATA
    cap 01[44] = powerspec 2  supports D0 D3  current D0
pcm0@pci0:0:7:0:        class=0x040300 card=0x82901043 chip=0x055c10de rev=0xa1 
hdr=0x00
    vendor     = 'Nvidia Corp'
    class      = multimedia
    cap 01[44] = powerspec 2  supports D0 D3  current D0
    cap 05[50] = MSI supports 1 message, 64 bit, vector masks 
    cap 08[6c] = HT MSI fixed address window disabled at 0xfee00000
pcib1@pci0:0:8:0:       class=0x060401 card=0x82b31043 chip=0x056110de rev=0xa2 
hdr=0x01
    vendor     = 'Nvidia Corp'
    class      = bridge
    subclass   = PCI-PCI
    cap 0d[b8] = PCI Bridge card=0x82b31043
    cap 08[8c] = HT MSI address window disabled at 0xfee00000
atapci1@pci0:0:9:0:     class=0x010601 card=0x82b31043 chip=0x055410de rev=0xa2 
hdr=0x00
    vendor     = 'Nvidia Corp'
    class      = mass storage
    cap 01[44] = powerspec 2  supports D0 D3  current D0
    cap 12[8c] = unknown
nfe0@pci0:0:10:0:       class=0x020000 card=0x82b31043 chip=0x054c10de rev=0xa2 
hdr=0x00
    vendor     = 'Nvidia Corp'
    class      = network
    subclass   = ethernet
    cap 01[44] = powerspec 2  supports D0 D1 D2 D3  current D0
    cap 05[50] = MSI supports 8 messages, 64 bit, vector masks enabled with 8 me
ssages
    cap 08[6c] = HT MSI fixed address window enabled at 0xfee00000
pcib2@pci0:0:11:0:      class=0x060400 card=0x82b31043 chip=0x056210de rev=0xa2 
hdr=0x01
    vendor     = 'Nvidia Corp'
    class      = bridge
    subclass   = PCI-PCI
    cap 0d[40] = PCI Bridge card=0x82b31043
    cap 01[48] = powerspec 2  supports D0 D3  current D0
    cap 05[50] = MSI supports 2 messages, 64 bit 
    cap 08[60] = HT MSI address window disabled at 0xfee00000
    cap 10[80] = PCI-Express 1 root port
pcib3@pci0:0:12:0:      class=0x060400 card=0x82b31043 chip=0x056310de rev=0xa2 
hdr=0x01
    vendor     = 'Nvidia Corp'
    class      = bridge
    subclass   = PCI-PCI
    cap 0d[40] = PCI Bridge card=0x82b31043
    cap 01[48] = powerspec 2  supports D0 D3  current D0
    cap 05[50] = MSI supports 2 messages, 64 bit 
    cap 08[60] = HT MSI address window disabled at 0xfee00000
    cap 10[80] = PCI-Express 1 root port
pcib4@pci0:0:13:0:      class=0x060400 card=0x82b31043 chip=0x056310de rev=0xa2 
hdr=0x01
    vendor     = 'Nvidia Corp'
    class      = bridge
    subclass   = PCI-PCI
    cap 0d[40] = PCI Bridge card=0x82b31043
    cap 01[48] = powerspec 2  supports D0 D3  current D0
    cap 05[50] = MSI supports 2 messages, 64 bit 
    cap 08[60] = HT MSI address window disabled at 0xfee00000
    cap 10[80] = PCI-Express 1 root port
pcib5@pci0:0:14:0:      class=0x060400 card=0x82b31043 chip=0x056310de rev=0xa2 
hdr=0x01
    vendor     = 'Nvidia Corp'
    class      = bridge
    subclass   = PCI-PCI
    cap 0d[40] = PCI Bridge card=0x82b31043
    cap 01[48] = powerspec 2  supports D0 D3  current D0
    cap 05[50] = MSI supports 2 messages, 64 bit 
    cap 08[60] = HT MSI address window disabled at 0xfee00000
    cap 10[80] = PCI-Express 1 root port
pcib6@pci0:0:15:0:      class=0x060400 card=0x82b31043 chip=0x056310de rev=0xa2 
hdr=0x01
    vendor     = 'Nvidia Corp'
    class      = bridge
    subclass   = PCI-PCI
    cap 0d[40] = PCI Bridge card=0x82b31043
    cap 01[48] = powerspec 2  supports D0 D3  current D0
    cap 05[50] = MSI supports 2 messages, 64 bit 
    cap 08[60] = HT MSI address window disabled at 0xfee00000
    cap 10[80] = PCI-Express 1 root port
pcib7@pci0:0:16:0:      class=0x060400 card=0x82b31043 chip=0x056310de rev=0xa2 
hdr=0x01
    vendor     = 'Nvidia Corp'
    class      = bridge
    subclass   = PCI-PCI
    cap 0d[40] = PCI Bridge card=0x82b31043
    cap 01[48] = powerspec 2  supports D0 D3  current D0
    cap 05[50] = MSI supports 2 messages, 64 bit 
    cap 08[60] = HT MSI address window disabled at 0xfee00000
    cap 10[80] = PCI-Express 1 root port
pcib8@pci0:0:17:0:      class=0x060400 card=0x82b31043 chip=0x056310de rev=0xa2 
hdr=0x01
    vendor     = 'Nvidia Corp'
    class      = bridge
    subclass   = PCI-PCI
    cap 0d[40] = PCI Bridge card=0x82b31043
    cap 01[48] = powerspec 2  supports D0 D3  current D0
    cap 05[50] = MSI supports 2 messages, 64 bit 
    cap 08[60] = HT MSI address window disabled at 0xfee00000
    cap 10[80] = PCI-Express 1 root port
hostb0@pci0:0:24:0:     class=0x060000 card=0x00000000 chip=0x11001022 rev=0x00 
hdr=0x00
    vendor     = 'Advanced Micro Devices (AMD)'
    device     = '(K8) Athlon 64/Opteron HyperTransport Technology Configuration
'
    class      = bridge
    subclass   = HOST-PCI
    cap 08[80] = HT host
hostb1@pci0:0:24:1:     class=0x060000 card=0x00000000 chip=0x11011022 rev=0x00 
hdr=0x00
    vendor     = 'Advanced Micro Devices (AMD)'
    device     = '(K8) Athlon 64/Opteron Address Map'
    class      = bridge
    subclass   = HOST-PCI
hostb2@pci0:0:24:2:     class=0x060000 card=0x00000000 chip=0x11021022 rev=0x00 
hdr=0x00
    vendor     = 'Advanced Micro Devices (AMD)'
    device     = '(K8) Athlon 64/Opteron DRAM Controller'
    class      = bridge
    subclass   = HOST-PCI
hostb3@pci0:0:24:3:     class=0x060000 card=0x00000000 chip=0x11031022 rev=0x00 
hdr=0x00
    vendor     = 'Advanced Micro Devices (AMD)'
    device     = '(K8) Athlon 64/Opteron Miscellaneous Control'
    class      = bridge
    subclass   = HOST-PCI
    cap 0f[f0] = unknown
wcfxs0@pci0:1:6:0:      class=0x028000 card=0x0001b119 chip=0x0001e159 rev=0x00 
hdr=0x00
    vendor     = 'Tiger Jet Network Inc'
    device     = 'Multiple devices use this ID: General Purpose I/O Controller'
    class      = network
    cap 01[40] = powerspec 2  supports D0 D2 D3  current D0
amr0@pci0:1:7:0:        class=0x010400 card=0x05231000 chip=0x19601000 rev=0x01 
hdr=0x00
    vendor     = 'LSI Logic (Was: Symbios Logic, NCR)'
    device     = 'MegaRAID'
    class      = mass storage
    subclass   = RAID
    cap 01[80] = powerspec 2  supports D0 D3  current D0
vgapci0@pci0:2:0:0:     class=0x030000 card=0x00831043 chip=0x5b601002 rev=0x00 
hdr=0x00
    vendor     = 'ATI Technologies Inc'
    device     = 'Radeon X300 ATI Technologies Inc RV370 5B60 [Radeon X300 (PCIE
)]'
    class      = display
    subclass   = VGA
    cap 01[50] = powerspec 2  supports D0 D1 D2 D3  current D0
    cap 10[58] = PCI-Express 1 endpoint
    cap 05[80] = MSI supports 1 message, 64 bit 
vgapci1@pci0:2:0:1:     class=0x038000 card=0x00821043 chip=0x5b701002 rev=0x00 
hdr=0x00
    vendor     = 'ATI Technologies Inc'
    device     = 'Radeon X300 Series - Secondary'
    class      = display
    cap 01[50] = powerspec 2  supports D0 D1 D2 D3  current D0
    cap 10[58] = PCI-Express 1 endpoint

Ian

--
Ian Freislich



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?E1KvQMf-0006zu-RG>