Re: amd64/162708: FreeBSD 9.0-RC2 amd64 fails to boot on Dell Optiplex GX620

2011-12-30 Thread David J. Weller-Fahy
The following reply was made to PR amd64/162708; it has been noted by GNATS.

From: David J. Weller-Fahy dave-freebsd-gn...@weller-fahy.com
To: John Baldwin j...@freebsd.org
Cc: Peter Jeremy peterjer...@acm.org, freebsd-gnats-sub...@freebsd.org
Subject: Re: amd64/162708: FreeBSD 9.0-RC2 amd64 fails to boot on Dell
 Optiplex GX620
Date: Fri, 30 Dec 2011 08:50:33 -0500

 --s2ZSL+KKDSLx8OML
 Content-Type: text/plain; charset=us-ascii
 Content-Disposition: inline
 Content-Transfer-Encoding: quoted-printable
 
 * John Baldwin j...@freebsd.org [2011-12-29 11:30 -0500]:
  On Sunday, December 11, 2011 10:13:21 am David J. Weller-Fahy wrote:
   * John Baldwin j...@freebsd.org [2011-12-08 10:53 -0500]:
+res =3D bus_generic_alloc_resource(dev, child, type, rid, 
start, en=
 d,
+count, flags);
  =20
   That worked!
 =20
  I've committed this.  It is too late to make it for 9.0 but I will
  merge it to stable/9 once that opens up for commits again.
 
 Thanks John!  I appreciate the help, and the wif appreciates being able
 to access her backups again. ;)
 
 Regards,
   Dave
 
 --s2ZSL+KKDSLx8OML
 Content-Type: application/pgp-signature
 
 -BEGIN PGP SIGNATURE-
 Version: GnuPG v1.4.11 (GNU/Linux)
 
 iEYEARECAAYFAk79wakACgkQzahokXOb2UwargCfbodOQP22ii4ygLJKv74EOkz1
 Sa8An3UgEq3xib1dsK/earEvDdKSaLHl
 =FYd1
 -END PGP SIGNATURE-
 
 --s2ZSL+KKDSLx8OML--
___
freebsd-amd64@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-amd64
To unsubscribe, send any mail to freebsd-amd64-unsubscr...@freebsd.org


Re: amd64/162708: FreeBSD 9.0-RC2 amd64 fails to boot on Dell Optiplex GX620

2011-12-29 Thread John Baldwin
The following reply was made to PR amd64/162708; it has been noted by GNATS.

From: John Baldwin j...@freebsd.org
To: David J. Weller-Fahy dave-freebsd-gn...@weller-fahy.com
Cc: Peter Jeremy peterjer...@acm.org,
 freebsd-gnats-sub...@freebsd.org
Subject: Re: amd64/162708: FreeBSD 9.0-RC2 amd64 fails to boot on Dell Optiplex 
GX620
Date: Thu, 29 Dec 2011 11:23:00 -0500

 On Sunday, December 11, 2011 10:13:21 am David J. Weller-Fahy wrote:
  * John Baldwin j...@freebsd.org [2011-12-08 10:53 -0500]:
   Hmm, can you try this patch without the tunable:
   
   patch to sys/dev/acpica/acpi_pcib_acpi.c
   ...
   +  res = bus_generic_alloc_resource(dev, child, type, rid, start, end,
   +  count, flags);
   ...
  
  That worked!  Specifically, I csup'd the source, patched the file, did a
  full buildworld/installworld cycle, then removed the tunable and was
  able to boot with no problems.
  
  Thanks!  Do you need any information from this box as it stands?
 
 I've committed this.  It is too late to make it for 9.0 but I will merge it
 to stable/9 once that opens up for commits again.
 
 -- 
 John Baldwin
___
freebsd-amd64@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-amd64
To unsubscribe, send any mail to freebsd-amd64-unsubscr...@freebsd.org


Re: amd64/162708: FreeBSD 9.0-RC2 amd64 fails to boot on Dell Optiplex GX620

2011-12-11 Thread David J. Weller-Fahy
The following reply was made to PR amd64/162708; it has been noted by GNATS.

From: David J. Weller-Fahy dave-freebsd-gn...@weller-fahy.com
To: John Baldwin j...@freebsd.org
Cc: Peter Jeremy peterjer...@acm.org, freebsd-gnats-sub...@freebsd.org
Subject: Re: amd64/162708: FreeBSD 9.0-RC2 amd64 fails to boot on Dell
 Optiplex GX620
Date: Sun, 11 Dec 2011 10:13:21 -0500

 --VS++wcV0S1rZb1Fb
 Content-Type: text/plain; charset=us-ascii
 Content-Disposition: inline
 Content-Transfer-Encoding: quoted-printable
 
 * John Baldwin j...@freebsd.org [2011-12-08 10:53 -0500]:
  Hmm, can you try this patch without the tunable:
 =20
  patch to sys/dev/acpica/acpi_pcib_acpi.c
  ...
  +res =3D bus_generic_alloc_resource(dev, child, type, rid, start, end,
  +count, flags);
  ...
 
 That worked!  Specifically, I csup'd the source, patched the file, did a
 full buildworld/installworld cycle, then removed the tunable and was
 able to boot with no problems.
 
 Thanks!  Do you need any information from this box as it stands?
 --=20
 David J. Weller-Fahy| 'These are the questions that kept me out
 largely at innocent dot com |  of the really *good* schools.'
 dave at weller-fahy dot com |  - One of The Group
 
 --VS++wcV0S1rZb1Fb
 Content-Type: application/pgp-signature
 
 -BEGIN PGP SIGNATURE-
 Version: GnuPG v1.4.11 (GNU/Linux)
 
 iEYEARECAAYFAk7kyJEACgkQzahokXOb2UxKzACfUJCGFebhx14qibtOpUD8cLlC
 3ioAoKEJUvy+bXwqdKIThH3R/TM/g02C
 =2N2U
 -END PGP SIGNATURE-
 
 --VS++wcV0S1rZb1Fb--
___
freebsd-amd64@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-amd64
To unsubscribe, send any mail to freebsd-amd64-unsubscr...@freebsd.org


Re: amd64/162708: FreeBSD 9.0-RC2 amd64 fails to boot on Dell Optiplex GX620

2011-12-11 Thread David J. Weller-Fahy
The following reply was made to PR amd64/162708; it has been noted by GNATS.

From: David J. Weller-Fahy dave-freebsd-gn...@weller-fahy.com
To: John Baldwin j...@freebsd.org
Cc: Peter Jeremy peterjer...@acm.org, freebsd-gnats-sub...@freebsd.org
Subject: Re: amd64/162708: FreeBSD 9.0-RC2 amd64 fails to boot on Dell
 Optiplex GX620
Date: Sun, 11 Dec 2011 15:32:08 -0500

 --LyciRD1jyfeSSjG0
 Content-Type: text/plain; charset=us-ascii
 Content-Disposition: inline
 Content-Transfer-Encoding: quoted-printable
 
 * David J. Weller-Fahy dave-freebsd-gn...@weller-fahy.com [2011-12-11 10:=
 13 -0500]:
  That worked!  Specifically, I csup'd the source, patched the file, did a
  full buildworld/installworld cycle, then removed the tunable and was
  able to boot with no problems.
 =20
  Thanks!  Do you need any information from this box as it stands?
 
 Of course, it would help if I included the uname so you know *what* I
 built/installed. ;)
 
 #v+
 FreeBSD nastie 9.0-RC3 FreeBSD 9.0-RC3 #0: Sun Dec 11 13:54:33 UTC 2011 roo=
 t@nastie:/usr/obj/usr/src/sys/GENERIC  amd64
 #v-
 
 --LyciRD1jyfeSSjG0
 Content-Type: application/pgp-signature
 
 -BEGIN PGP SIGNATURE-
 Version: GnuPG v1.4.11 (GNU/Linux)
 
 iEYEARECAAYFAk7lE0gACgkQzahokXOb2UxkGQCffYGWeBUIPxyn/DVK1NBDAos7
 lMoAoKB63IRhGFrnkI43FfAq+GGPMY2a
 =jVWW
 -END PGP SIGNATURE-
 
 --LyciRD1jyfeSSjG0--
___
freebsd-amd64@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-amd64
To unsubscribe, send any mail to freebsd-amd64-unsubscr...@freebsd.org


Re: amd64/162708: FreeBSD 9.0-RC2 amd64 fails to boot on Dell Optiplex GX620

2011-12-08 Thread John Baldwin
The following reply was made to PR amd64/162708; it has been noted by GNATS.

From: John Baldwin j...@freebsd.org
To: David J. Weller-Fahy dave-freebsd-gn...@weller-fahy.com
Cc: Peter Jeremy peterjer...@acm.org, freebsd-gnats-sub...@freebsd.org
Subject: Re: amd64/162708: FreeBSD 9.0-RC2 amd64 fails to boot on Dell Optiplex
 GX620
Date: Thu, 08 Dec 2011 10:48:37 -0500

 On 12/3/11 10:11 PM, David J. Weller-Fahy wrote:
  * John Baldwinj...@freebsd.org  [2011-11-29 15:30 -0500]:
  Try adding 'debug.acpi.disabled=hostres' at the loader prompt.
 
  Ah-hah - that worked!  The delay was me testing that booting from CD,
  then upgrading my 8.2 w/ ZFS v28 system to 9.0-RC2 via freebsd-update,
  including debug.acpi.disabled=hostres in my `/boot/loader.conf`, and
  completing the update (including performing a complete reinstall of all
  ports using portmaster).
 
  Thanks for the help, and is there anything I need to try to see what
  needs to be fixed?  Do you need information from this machine?
 
  I'm keeping the second hard-drive clear right now just in case I need to
  do some test installs.
 
 Well, it's more that your BIOS is providing inaccurate or incomplete
 information about what address ranges your Host-PCI bridges
 understand.  That's not easily fixable (the tunable just ignores what
 the BIOS says).  At some point what I may do is make the check more
 lenient so that always we trust requests for specific ranges.  Hmm, can
 you try this patch without the tunable:
 
 Index: /home/jhb/work/freebsd/svn/head/sys/dev/acpica/acpi_pcib_acpi.c
 ===
 --- /home/jhb/work/freebsd/svn/head/sys/dev/acpica/acpi_pcib_acpi.c 
 (revision 228311)
 +++ /home/jhb/work/freebsd/svn/head/sys/dev/acpica/acpi_pcib_acpi.c 
 (working copy)
 @@ -511,8 +511,16 @@
   sc = device_get_softc(dev);
   res = pcib_host_res_alloc(sc-ap_host_res, child, type, rid, 
 start, end,
count, flags);
 +/*
 + * XXX: If this is a request for a specific range, assume it is
 + * correct and pass it up to the parent.  What we probably want to
 + * do long-term is explicitly trust any firmware-configured
 + * resources during the initial bus scan on boot and then disable
 + * this after that.
 + */
   if (res == NULL  start + count - 1 == end)
 -  res = acpi_alloc_sysres(child, type, rid, start, end, count, flags);
 +  res = bus_generic_alloc_resource(dev, child, type, rid, start, end,
 +  count, flags);
   return (res);
   #else
   return (bus_generic_alloc_resource(dev, child, type, rid, start, end,
 
 
 -- 
 John Baldwin
___
freebsd-amd64@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-amd64
To unsubscribe, send any mail to freebsd-amd64-unsubscr...@freebsd.org


Re: amd64/162708: FreeBSD 9.0-RC2 amd64 fails to boot on Dell Optiplex GX620

2011-11-29 Thread John Baldwin
The following reply was made to PR amd64/162708; it has been noted by GNATS.

From: John Baldwin j...@freebsd.org
To: David J. Weller-Fahy dave-freebsd-gn...@weller-fahy.com
Cc: Peter Jeremy peterjer...@acm.org,
 freebsd-gnats-sub...@freebsd.org
Subject: Re: amd64/162708: FreeBSD 9.0-RC2 amd64 fails to boot on Dell Optiplex 
GX620
Date: Tue, 29 Nov 2011 15:26:17 -0500

 On Friday, November 25, 2011 12:16:30 am David J. Weller-Fahy wrote:
  * David J. Weller-Fahy dave-freebsd-gn...@weller-fahy.com [2011-11-24 
 14:41 -0500]:
   When doing the upgrade, I noticed /boot/device.hints had an addition
   for attimer.0.  I'll next try to get 9.0-RC2 to boot without ACPI
   (I'll try removing that hint).
  
  Removed the hints regarding attimer.0, same results.
 
 Try adding 'debug.acpi.disabled=hostres' at the loader prompt.
 
 -- 
 John Baldwin
___
freebsd-amd64@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-amd64
To unsubscribe, send any mail to freebsd-amd64-unsubscr...@freebsd.org


Re: amd64/162708: FreeBSD 9.0-RC2 amd64 fails to boot on Dell Optiplex GX620

2011-11-22 Thread John Baldwin
The following reply was made to PR amd64/162708; it has been noted by GNATS.

From: John Baldwin j...@freebsd.org
To: freebsd-amd64@freebsd.org
Cc: David J. Weller-Fahy dave-freebsd-gn...@weller-fahy.com,
 freebsd-gnats-sub...@freebsd.org
Subject: Re: amd64/162708: FreeBSD 9.0-RC2 amd64 fails to boot on Dell Optiplex 
GX620
Date: Tue, 22 Nov 2011 08:17:04 -0500

 On Sunday, November 20, 2011 6:57:40 pm David J. Weller-Fahy wrote:
  When enabled the machine freezes with the following messages being the last 
 before the freeze (this is after pressing enter at the CD's boot prompt).
  
  #v+
  ..
  hpet0: High Precision Event Timer iomem 0xfed0-0xfed003ff on acpi0
  Timecounter HPET frequency 14318180 Hz quality 950
  Event timer HPET frequency 14318180 Hz quality 450
  Event timer HPET1 frequency 14318180 Hz quality 440
  Event timer HPET2 frequency 14318180 Hz quality 440
  acpi_button0: Power Button on acpi0
  pcib0: ACPI Host-PCI bridge port 0xcf8-0xcff on acpi0
  pci0: ACPI PCI bus on pcib0
  #v-
  
  In verbose mode it freezes with the last messages as follows.
  
  #v+
  ..
  pcib0: matched entry for 0.29.INTA
  pcib0: slot 29 INTA hardwired to IRQ 21
  pcib0: allocated type 3 (0xdf70-0xdf7003ff) for rid 10 of pci0:0:29:7
  unknown: Lazy allocation of 0x400 bytes rid 0x10 type 3 at 0xdf70
  #v-
 
 Can you get a verbose dmesg from a boot of 8.2?
 
 -- 
 John Baldwin
___
freebsd-amd64@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-amd64
To unsubscribe, send any mail to freebsd-amd64-unsubscr...@freebsd.org


Re: amd64/162708: FreeBSD 9.0-RC2 amd64 fails to boot on Dell Optiplex GX620

2011-11-22 Thread Peter Jeremy
The following reply was made to PR amd64/162708; it has been noted by GNATS.

From: Peter Jeremy peterjer...@acm.org
To: David J. Weller-Fahy dave-freebsd-gn...@weller-fahy.com,
John Baldwin j...@freebsd.org
Cc: freebsd-gnats-sub...@freebsd.org
Subject: Re: amd64/162708: FreeBSD 9.0-RC2 amd64 fails to boot on Dell
 Optiplex GX620
Date: Wed, 23 Nov 2011 14:41:50 +1100

 --/NkBOFFp2J2Af1nK
 Content-Type: multipart/mixed; boundary=qMm9M+Fa2AknHoGS
 Content-Disposition: inline
 
 
 --qMm9M+Fa2AknHoGS
 Content-Type: text/plain; charset=us-ascii
 Content-Disposition: inline
 Content-Transfer-Encoding: quoted-printable
 
 On 2011-Nov-20 23:57:40 +, David J. Weller-Fahy dave-freebsd-gnats@w=
 eller-fahy.com wrote:
 When trying to boot from the FreeBSD ISO at ftp://ftp.freebsd.org/pub/Free=
 BSD/releases/amd64/amd64/ISO-IMAGES/9.0/FreeBSD-9.0-RC2-amd64-dvd1.iso I am=
  unable to boot with ACPI enabled or disabled.
 
 I've tried a source upgrade of a GX620 te RELENG_9_0 without problems
 so this would appear to be associated with the DVD boot.  If I get the
 opportunity, I'll download a DVD and try booting it.
 
 #v+
 ..
 pcib0: matched entry for 0.29.INTA
 pcib0: slot 29 INTA hardwired to IRQ 21
 pcib0: allocated type 3 (0xdf70-0xdf7003ff) for rid 10 of pci0:0:29:7
 unknown: Lazy allocation of 0x400 bytes rid 0x10 type 3 at 0xdf70
 #v-
 
 This is different to what I see at this point and a bit more context
 would be useful.
 
 Note that pci0:0:29:7 is:
 ehci0@pci0:0:29:7:  class=3D0x0c0320 card=3D0x01ad1028 chip=3D0x27cc808=
 6 rev=3D0x01 hdr=3D0x00
 vendor =3D 'Intel Corporation'
 device =3D 'N10/ICH 7 Family USB2 EHCI Controller'
 class  =3D serial bus
 subclass   =3D USB
 
 In my boot, it should be followed by pci0:0:30:0:
 pcib4@pci0:0:30:0:  class=3D0x060401 card=3D0x chip=3D0x244e808=
 6 rev=3D0xe1 hdr=3D0x01
 vendor =3D 'Intel Corporation'
 device =3D '82801 PCI Bridge'
 class  =3D bridge
 subclass   =3D PCI-PCI
 
 A verbose dmesg is attached.
 
 --=20
 Peter Jeremy
 
 --qMm9M+Fa2AknHoGS
 Content-Type: text/plain; charset=us-ascii
 Content-Disposition: attachment; filename=dmesg.boot
 Content-Transfer-Encoding: quoted-printable
 
 Table 'FACP' at 0xfd34f
 Table 'SSDT' at 0xfffd8815
 Table 'APIC' at 0xfd443
 APIC: Found table at 0xfd443
 APIC: Using the MADT enumerator.
 MADT: Found CPU APIC ID 0 ACPI ID 1: enabled
 SMP: Added CPU 0 (AP)
 MADT: Found CPU APIC ID 1 ACPI ID 2: enabled
 SMP: Added CPU 1 (AP)
 MADT: Found CPU APIC ID 6 ACPI ID 3: disabled
 MADT: Found CPU APIC ID 7 ACPI ID 4: disabled
 Copyright (c) 1992-2011 The FreeBSD Project.
 Copyright (c) 1979, 1980, 1983, 1986, 1988, 1989, 1991, 1992, 1993, 1994
The Regents of the University of California. All rights reserved.
 FreeBSD is a registered trademark of The FreeBSD Foundation.
 FreeBSD 9.0-RC2 #0: Wed Nov 23 08:56:39 EST 2011
 r...@c2b0004103.au.alcatel-lucent.com:/var/obj/mnt/usr/src/sys/GENERIC =
 amd64
 Table 'FACP' at 0xfd34f
 Table 'SSDT' at 0xfffd8815
 Table 'APIC' at 0xfd443
 Table 'BOOT' at 0xfd4b5
 Table 'ASF!' at 0xfd4dd
 Table 'MCFG' at 0xfd544
 Table 'HPET' at 0xfd582
 Table 'SSDT' at 0x7fe86c40
 Table 'SSDT' at 0x7fe87049
 Table 'SSDT' at 0x7fe87452
 ACPI: No SRAT table found
 Preloaded elf kernel /boot/kernel/kernel at 0x813d8000.
 Preloaded elf obj module /boot/kernel/vkbd.ko at 0x813d81f8.
 Calibrating TSC clock ... TSC clock: 319215 Hz
 CPU: Intel(R) Pentium(R) 4 CPU 3.20GHz (3192.15-MHz K8-class CPU)
   Origin =3D GenuineIntel  Id =3D 0xf43  Family =3D f  Model =3D 4  Stepp=
 ing =3D 3
   Features=3D0xbfebfbffFPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PG=
 E,MCA,CMOV,PAT,PSE36,CLFLUSH,DTS,ACPI,MMX,FXSR,SSE,SSE2,SS,HTT,TM,PBE
   Features2=3D0x649dSSE3,DTES64,MON,DS_CPL,EST,CNXT-ID,CX16,xTPR
   AMD Features=3D0x20100800SYSCALL,NX,LM
   TSC: P-state invariant
 real memory  =3D 2147483648 (2048 MB)
 Physical memory chunk(s):
 0x1000 - 0x0009bfff, 634880 bytes (155 pages)
 0x0010 - 0x001f, 1048576 bytes (256 pages)
 0x01407000 - 0x7c220fff, 2061606912 bytes (503322 pages)
 avail memory =3D 2043473920 (1948 MB)
 Event timer LAPIC quality 400
 ACPI APIC Table: DELL   GX620  
 FreeBSD/SMP: Multiprocessor System Detected: 2 CPUs
 FreeBSD/SMP: 1 package(s) x 1 core(s) x 2 HTT threads
  cpu0 (BSP): APIC ID:  0
  cpu1 (AP/HT): APIC ID:  1
 APIC: CPU 0 has ACPI ID 1
 APIC: CPU 1 has ACPI ID 2
 x86bios:  IVT 0x00-0x0004ff at 0xfe00
 x86bios: SSEG 0x001000-0x001fff at 0xff800020d000
 x86bios: EBDA 0x09f000-0x09 at 0xfe09f000
 x86bios:  ROM 0x0a-0x0fefff at 0xfe0a
 ULE: setup cpu 0
 ULE: setup cpu 1
 ACPI: RSDP 0xfeb00 00024 (v02 DELL  )
 ACPI: XSDT 0xfd257 00074 (v01 DELLGX620   0007 ASL  0061)
 ACPI: FACP 0xfd34f 000F4 (v03 DELLGX620   0007 ASL  0061)
 ACPI: DSDT 0xfffd4952 03DA4