Re: [OpenBSD-5.0-amd64] Panic: non dma-reachable buffer

2011-11-25 Thread Bob Beck
Please get a full traceback for us. Without that your report is
fascinating, but we probably
can't find the bug.

On 24 November 2011 15:53, Olivier Burelli oliv...@burelli.fr wrote:

 hello,

 sorry for my bad english.

 after 3 upgrade succesfull i decided a fresh install for OpenBSD-5.0 on
 my PC :

 Intel E8200 dual core 2, 4GB ram.
 RAID : Intel SRCS16 (ami) with 3 Western digital raptor (stripping)



 i boot OpenBSD-5.0-amd64 install Cd.

 installation started
 [...]
 Disk Setup succesfull.
 [...]
 fdisk and Disklabel sucessfull.
 [...]
 Installation media and file set succesfful.
 [...]


 Saving configuration files...done.
 Generating initial host.random file...done.
 Making all device nodes...done.


 PANIC: Non dma-reachable buffer at curraddr 0x12e5e3ba0(raw)
 syncing disk... 173 172 134 68 4 done


 I have installed succesfully later

- OpenBSD-i386 with 4 096 MB
- OpenBSD-amd64 with 3072 MB


 best regards,

 Olivier.

 **

 dmesg : OpenBSD-amd64 with 4096 MB after boot cd and choose boot
 sd2a:/bsd :

 **

 OpenBSD 5.0 (RAMDISK_CD) #53: Wed Aug 17 10:17:43 MDT 2011
dera...@amd64.openbsd.org:/usr/src/sys/arch/amd64/compile/RAMDISK_CD
 real mem = 4293132288 (4094MB)
 avail mem = 4167008256 (3973MB)
 mainbus0 at root
 bios0 at mainbus0: SMBIOS rev. 2.4 @ 0xf06f0 (73 entries)
 bios0: vendor American Megatrends Inc. version 1004 date 02/22/2008
 bios0: ASUSTeK Computer INC. P5K WS
 acpi0 at bios0: rev 2
 acpi0: sleep states S0 S1 S3 S4 S5
 acpi0: tables DSDT FACP APIC MCFG OEMB HPET
 acpimadt0 at acpi0 addr 0xfee0: PC-AT compat
 cpu0 at mainbus0: apid 0 (boot processor)
 cpu0: Intel(R) Core(TM)2 Duo CPU E8200 @ 2.66GHz, 2671.91 MHz
 cpu0:

 FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CFLUSH,DS,ACPI,MMX,FXSR,SSE,SSE2,SS,HTT,TM,SBF,SSE3,MWAIT,DS-CPL,VMX,SMX,EST,TM2,SSSE3,CX16,xTPR,PDCM,SSE4.1,NXE,LONG
 cpu0: 6MB 64b/line 16-way L2 cache cpu0: apic clock running at 333MHz
 cpu at mainbus0: not configured
 ioapic0 at mainbus0: apid 2 pa 0xfec0, version 20, 24 pins
 ioapic1 at mainbus0: apid 3 pa 0xfec1, version ff, 256 pins
 ioapic1: misconfigured as apic 15, can't remap to apid 3
 acpiprt0 at acpi0: bus 0 (PCI0)
 acpiprt1 at acpi0: bus 1 (P0P2)
 acpiprt2 at acpi0: bus 8 (P0P1)
 acpiprt3 at acpi0: bus 7 (P0P4)
 acpiprt4 at acpi0: bus -1 (P0P5)
 acpiprt5 at acpi0: bus 4 (P0P6)
 acpiprt6 at acpi0: bus 6 (PXHA)
 acpiprt7 at acpi0: bus 3 (P0P7)
 acpiprt8 at acpi0: bus -1 (P0P8)
 acpiprt9 at acpi0: bus 2 (P0P9)
 pci0 at mainbus0 bus 0
 pchb0 at pci0 dev 0 function 0 Intel 82G33 Host rev 0x02
 ppb0 at pci0 dev 1 function 0 Intel 82G33 PCIE rev 0x02: msi
 pci1 at ppb0 bus 1
 vga1 at pci1 dev 0 function 0 NVIDIA GeForce 8800 GTS rev 0xa2
 wsdisplay0 at vga1 mux 1: console (80x25, vt100 emulation)
 uhci0 at pci0 dev 26 function 0 Intel 82801I USB rev 0x02: apic 2 int
 16 uhci1 at pci0 dev 26 function 1 Intel 82801I USB rev 0x02: apic 2
 int 21 uhci2 at pci0 dev 26 function 2 Intel 82801I USB rev 0x02:
 apic 2 int 18 ehci0 at pci0 dev 26 function 7 Intel 82801I USB rev
 0x02: apic 2 int 18 usb0 at ehci0: USB revision 2.0
 uhub0 at usb0 Intel EHCI root hub rev 2.00/1.00 addr 1
 Intel 82801I HD Audio rev 0x02 at pci0 dev 27 function 0 not
 configured ppb1 at pci0 dev 28 function 0 Intel 82801I PCIE rev 0x02:
 msi pci2 at ppb1 bus 7
 ppb2 at pci0 dev 28 function 2 Intel 82801I PCIE rev 0x02: msi
 pci3 at ppb2 bus 4
 ppb3 at pci3 dev 0 function 0 NEC PCIE-PCIX rev 0x06
 pci4 at ppb3 bus 6
 ami0 at pci4 dev 1 function 0 Symbios Logic MegaRAID rev 0x01: apic 2
 int 19 ami0: Intel RAID SRCS16, 32b, FW 713S, BIOS vG401, 64MB RAM
 ami0: 1 channels, 0 FC loops, 4 logical drives
 scsibus0 at ami0: 40 targets
 sd0 at scsibus0 targ 0 lun 0: AMI, Host drive #00,  SCSI2 0/direct
 fixed sd0: 3MB, 512 bytes/sector, 81917952 sectors
 sd1 at scsibus0 targ 1 lun 0: AMI, Host drive #01,  SCSI2 0/direct
 fixed sd1: 12MB, 512 bytes/sector, 266237952 sectors
 sd2 at scsibus0 targ 2 lun 0: AMI, Host drive #02,  SCSI2 0/direct
 fixed sd2: 19998MB, 512 bytes/sector, 40955904 sectors
 sd3 at scsibus0 targ 3 lun 0: AMI, Host drive #03,  SCSI2 0/direct
 fixed sd3: 19998MB, 512 bytes/sector, 40955904 sectors
 scsibus1 at ami0: 16 targets
 ppb4 at pci3 dev 0 function 1 NEC PCIE-PCIX rev 0x06
 pci5 at ppb4 bus 5
 ppb5 at pci0 dev 28 function 3 Intel 82801I PCIE rev 0x02: msi
 pci6 at ppb5 bus 3
 mskc0 at pci6 dev 0 function 0 Marvell Yukon 88E8052 rev 0x21,
 Yukon-2 EC rev. A3 (0x2): apic 2 int 19 msk0 at mskc0 port A: address
 00:1d:60:44:0c:fd eephy0 at msk0 phy 0: 88E Gigabit PHY, rev. 2
 ppb6 at pci0 dev 28 function 5 Intel 82801I PCIE rev 0x02: msi
 pci7 at ppb6 bus 2
 pciide0 at pci7 dev 0 function 0 Marvell 88SE6121 SATA rev 0xb1: DMA
 (unsupported), channel 0 configured to native-PCI, channel 1 configured
 to native-PCI 

Re: [OpenBSD-5.0-amd64] Panic: non dma-reachable buffer

2011-11-25 Thread Olivier Burelli
hi,

sorry, i can't do traceback (process install fault ?)

no ddb prompt... :(

machine reboot systematically after kernel panic on install process
just after creating device node and before question add special
firmware ?

i can reinstall 4096 MB ram (on my amd64 install) and wait bug back for
ddb prompt, but i think evenement (i have started after panic with
boot sd2a:/bsd) appeared only on install process...

Miod vallat explain me on fr.comp.os.bsd to work with 3072 MB...

waiting your instructions...

thx a lot, and sorry for my bad english.


best regards,

Olivier Burelli.

Le Fri, 25 Nov 2011 07:02:02 -0700,
Bob Beck b...@ualberta.ca a C)crit :

 Please get a full traceback for us. Without that your report is
 fascinating, but we probably
 can't find the bug.

 On 24 November 2011 15:53, Olivier Burelli oliv...@burelli.fr wrote:

  hello,
 
  sorry for my bad english.
 
  after 3 upgrade succesfull i decided a fresh install for
  OpenBSD-5.0 on my PC :
 
  Intel E8200 dual core 2, 4GB ram.
  RAID : Intel SRCS16 (ami) with 3 Western digital raptor (stripping)
 
 
 
  i boot OpenBSD-5.0-amd64 install Cd.
 
  installation started
  [...]
  Disk Setup succesfull.
  [...]
  fdisk and Disklabel sucessfull.
  [...]
  Installation media and file set succesfful.
  [...]
 
 
  Saving configuration files...done.
  Generating initial host.random file...done.
  Making all device nodes...done.
 
 
  PANIC: Non dma-reachable buffer at curraddr 0x12e5e3ba0(raw)
  syncing disk... 173 172 134 68 4 done
 
 
  I have installed succesfully later
 
 - OpenBSD-i386 with 4 096 MB
 - OpenBSD-amd64 with 3072 MB
 
 
  best regards,
 
  Olivier.
 
 
**
 
  dmesg : OpenBSD-amd64 with 4096 MB after boot cd and choose boot
  sd2a:/bsd :
 
 
**
 
  OpenBSD 5.0 (RAMDISK_CD) #53: Wed Aug 17 10:17:43 MDT 2011
 dera...@amd64.openbsd.org:/usr/src/sys/arch/amd64/compile/RAMDISK_CD
  real mem = 4293132288 (4094MB)
  avail mem = 4167008256 (3973MB)
  mainbus0 at root
  bios0 at mainbus0: SMBIOS rev. 2.4 @ 0xf06f0 (73 entries)
  bios0: vendor American Megatrends Inc. version 1004 date
  02/22/2008 bios0: ASUSTeK Computer INC. P5K WS
  acpi0 at bios0: rev 2
  acpi0: sleep states S0 S1 S3 S4 S5
  acpi0: tables DSDT FACP APIC MCFG OEMB HPET
  acpimadt0 at acpi0 addr 0xfee0: PC-AT compat
  cpu0 at mainbus0: apid 0 (boot processor)
  cpu0: Intel(R) Core(TM)2 Duo CPU E8200 @ 2.66GHz, 2671.91 MHz
  cpu0:
 
 
FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CFLUS
H,DS,ACPI,MMX,FXSR,SSE,SSE2,SS,HTT,TM,SBF,SSE3,MWAIT,DS-CPL,VMX,SMX,EST,TM2,S
SSE3,CX16,xTPR,PDCM,SSE4.1,NXE,LONG
  cpu0: 6MB 64b/line 16-way L2 cache cpu0: apic clock running at
  333MHz cpu at mainbus0: not configured
  ioapic0 at mainbus0: apid 2 pa 0xfec0, version 20, 24 pins
  ioapic1 at mainbus0: apid 3 pa 0xfec1, version ff, 256 pins
  ioapic1: misconfigured as apic 15, can't remap to apid 3
  acpiprt0 at acpi0: bus 0 (PCI0)
  acpiprt1 at acpi0: bus 1 (P0P2)
  acpiprt2 at acpi0: bus 8 (P0P1)
  acpiprt3 at acpi0: bus 7 (P0P4)
  acpiprt4 at acpi0: bus -1 (P0P5)
  acpiprt5 at acpi0: bus 4 (P0P6)
  acpiprt6 at acpi0: bus 6 (PXHA)
  acpiprt7 at acpi0: bus 3 (P0P7)
  acpiprt8 at acpi0: bus -1 (P0P8)
  acpiprt9 at acpi0: bus 2 (P0P9)
  pci0 at mainbus0 bus 0
  pchb0 at pci0 dev 0 function 0 Intel 82G33 Host rev 0x02
  ppb0 at pci0 dev 1 function 0 Intel 82G33 PCIE rev 0x02: msi
  pci1 at ppb0 bus 1
  vga1 at pci1 dev 0 function 0 NVIDIA GeForce 8800 GTS rev 0xa2
  wsdisplay0 at vga1 mux 1: console (80x25, vt100 emulation)
  uhci0 at pci0 dev 26 function 0 Intel 82801I USB rev 0x02: apic 2
  int 16 uhci1 at pci0 dev 26 function 1 Intel 82801I USB rev 0x02:
  apic 2 int 21 uhci2 at pci0 dev 26 function 2 Intel 82801I USB
  rev 0x02: apic 2 int 18 ehci0 at pci0 dev 26 function 7 Intel
  82801I USB rev 0x02: apic 2 int 18 usb0 at ehci0: USB revision 2.0
  uhub0 at usb0 Intel EHCI root hub rev 2.00/1.00 addr 1
  Intel 82801I HD Audio rev 0x02 at pci0 dev 27 function 0 not
  configured ppb1 at pci0 dev 28 function 0 Intel 82801I PCIE rev
  0x02: msi pci2 at ppb1 bus 7
  ppb2 at pci0 dev 28 function 2 Intel 82801I PCIE rev 0x02: msi
  pci3 at ppb2 bus 4
  ppb3 at pci3 dev 0 function 0 NEC PCIE-PCIX rev 0x06
  pci4 at ppb3 bus 6
  ami0 at pci4 dev 1 function 0 Symbios Logic MegaRAID rev 0x01:
  apic 2 int 19 ami0: Intel RAID SRCS16, 32b, FW 713S, BIOS vG401,
  64MB RAM ami0: 1 channels, 0 FC loops, 4 logical drives
  scsibus0 at ami0: 40 targets
  sd0 at scsibus0 targ 0 lun 0: AMI, Host drive #00,  SCSI2 0/direct
  fixed sd0: 3MB, 512 bytes/sector, 81917952 sectors
  sd1 at scsibus0 targ 1 lun 0: AMI, Host drive #01,  SCSI2 0/direct
  fixed sd1: 12MB, 512 bytes/sector, 266237952 sectors
  sd2 at scsibus0 targ 2 lun 0: AMI, Host drive #02,  SCSI2 0/direct
  fixed sd2: 19998MB, 512 

Re: [OpenBSD-5.0-amd64] Panic: non dma-reachable buffer

2011-11-25 Thread Stuart Henderson
ami(4) in 5.0 doesn't work with bigmem. Try -current.

dev/ic/ami.c:

revision 1.221
date: 2011/10/05 06:41:30;  author: dlg;  state: Exp;  lines: +58 -36
ami_drv_inq bus_dmamap_loads the inquiry buffer, so that buffer has to be
under 4g now. this moves the inqbufs off the stack to dma_alloc/dma_free.

reported by and fix tested by henning@
ok henning@




On 2011/11/25 07:02, Bob Beck wrote:
 Please get a full traceback for us. Without that your report is
 fascinating, but we probably
 can't find the bug.
 
 On 24 November 2011 15:53, Olivier Burelli oliv...@burelli.fr wrote:
 
  hello,
 
  sorry for my bad english.
 
  after 3 upgrade succesfull i decided a fresh install for OpenBSD-5.0 on
  my PC :
 
  Intel E8200 dual core 2, 4GB ram.
  RAID : Intel SRCS16 (ami) with 3 Western digital raptor (stripping)
 
 
 
  i boot OpenBSD-5.0-amd64 install Cd.
 
  installation started
  [...]
  Disk Setup succesfull.
  [...]
  fdisk and Disklabel sucessfull.
  [...]
  Installation media and file set succesfful.
  [...]
 
 
  Saving configuration files...done.
  Generating initial host.random file...done.
  Making all device nodes...done.
 
 
  PANIC: Non dma-reachable buffer at curraddr 0x12e5e3ba0(raw)
  syncing disk... 173 172 134 68 4 done
 
 
  I have installed succesfully later
 
 - OpenBSD-i386 with 4 096 MB
 - OpenBSD-amd64 with 3072 MB
 
 
  best regards,
 
  Olivier.
 
  **
 
  dmesg : OpenBSD-amd64 with 4096 MB after boot cd and choose boot
  sd2a:/bsd :
 
  **
 
  OpenBSD 5.0 (RAMDISK_CD) #53: Wed Aug 17 10:17:43 MDT 2011
 dera...@amd64.openbsd.org:/usr/src/sys/arch/amd64/compile/RAMDISK_CD
  real mem = 4293132288 (4094MB)
  avail mem = 4167008256 (3973MB)
  mainbus0 at root
  bios0 at mainbus0: SMBIOS rev. 2.4 @ 0xf06f0 (73 entries)
  bios0: vendor American Megatrends Inc. version 1004 date 02/22/2008
  bios0: ASUSTeK Computer INC. P5K WS
  acpi0 at bios0: rev 2
  acpi0: sleep states S0 S1 S3 S4 S5
  acpi0: tables DSDT FACP APIC MCFG OEMB HPET
  acpimadt0 at acpi0 addr 0xfee0: PC-AT compat
  cpu0 at mainbus0: apid 0 (boot processor)
  cpu0: Intel(R) Core(TM)2 Duo CPU E8200 @ 2.66GHz, 2671.91 MHz
  cpu0:
 
  FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CFLUSH,DS,ACPI,MMX,FXSR,SSE,SSE2,SS,HTT,TM,SBF,SSE3,MWAIT,DS-CPL,VMX,SMX,EST,TM2,SSSE3,CX16,xTPR,PDCM,SSE4.1,NXE,LONG
  cpu0: 6MB 64b/line 16-way L2 cache cpu0: apic clock running at 333MHz
  cpu at mainbus0: not configured
  ioapic0 at mainbus0: apid 2 pa 0xfec0, version 20, 24 pins
  ioapic1 at mainbus0: apid 3 pa 0xfec1, version ff, 256 pins
  ioapic1: misconfigured as apic 15, can't remap to apid 3
  acpiprt0 at acpi0: bus 0 (PCI0)
  acpiprt1 at acpi0: bus 1 (P0P2)
  acpiprt2 at acpi0: bus 8 (P0P1)
  acpiprt3 at acpi0: bus 7 (P0P4)
  acpiprt4 at acpi0: bus -1 (P0P5)
  acpiprt5 at acpi0: bus 4 (P0P6)
  acpiprt6 at acpi0: bus 6 (PXHA)
  acpiprt7 at acpi0: bus 3 (P0P7)
  acpiprt8 at acpi0: bus -1 (P0P8)
  acpiprt9 at acpi0: bus 2 (P0P9)
  pci0 at mainbus0 bus 0
  pchb0 at pci0 dev 0 function 0 Intel 82G33 Host rev 0x02
  ppb0 at pci0 dev 1 function 0 Intel 82G33 PCIE rev 0x02: msi
  pci1 at ppb0 bus 1
  vga1 at pci1 dev 0 function 0 NVIDIA GeForce 8800 GTS rev 0xa2
  wsdisplay0 at vga1 mux 1: console (80x25, vt100 emulation)
  uhci0 at pci0 dev 26 function 0 Intel 82801I USB rev 0x02: apic 2 int
  16 uhci1 at pci0 dev 26 function 1 Intel 82801I USB rev 0x02: apic 2
  int 21 uhci2 at pci0 dev 26 function 2 Intel 82801I USB rev 0x02:
  apic 2 int 18 ehci0 at pci0 dev 26 function 7 Intel 82801I USB rev
  0x02: apic 2 int 18 usb0 at ehci0: USB revision 2.0
  uhub0 at usb0 Intel EHCI root hub rev 2.00/1.00 addr 1
  Intel 82801I HD Audio rev 0x02 at pci0 dev 27 function 0 not
  configured ppb1 at pci0 dev 28 function 0 Intel 82801I PCIE rev 0x02:
  msi pci2 at ppb1 bus 7
  ppb2 at pci0 dev 28 function 2 Intel 82801I PCIE rev 0x02: msi
  pci3 at ppb2 bus 4
  ppb3 at pci3 dev 0 function 0 NEC PCIE-PCIX rev 0x06
  pci4 at ppb3 bus 6
  ami0 at pci4 dev 1 function 0 Symbios Logic MegaRAID rev 0x01: apic 2
  int 19 ami0: Intel RAID SRCS16, 32b, FW 713S, BIOS vG401, 64MB RAM
  ami0: 1 channels, 0 FC loops, 4 logical drives
  scsibus0 at ami0: 40 targets
  sd0 at scsibus0 targ 0 lun 0: AMI, Host drive #00,  SCSI2 0/direct
  fixed sd0: 3MB, 512 bytes/sector, 81917952 sectors
  sd1 at scsibus0 targ 1 lun 0: AMI, Host drive #01,  SCSI2 0/direct
  fixed sd1: 12MB, 512 bytes/sector, 266237952 sectors
  sd2 at scsibus0 targ 2 lun 0: AMI, Host drive #02,  SCSI2 0/direct
  fixed sd2: 19998MB, 512 bytes/sector, 40955904 sectors
  sd3 at scsibus0 targ 3 lun 0: AMI, Host drive #03,  SCSI2 0/direct
  fixed sd3: 19998MB, 512 bytes/sector, 40955904 sectors
  scsibus1 at ami0: 16 targets
  ppb4 at pci3 dev 0 function 1