Re: : : HP nw9440 does not boot ACPI snapshot

2008-04-04 Thread Raimo Niskanen
On Fri, Apr 04, 2008 at 10:50:37AM +, Nicolas Legrand wrote:
> Raimo Niskanen <[EMAIL PROTECTED]> writes:
> 
> > On Thu, Apr 03, 2008 at 04:38:08PM +, Nicolas Legrand wrote:
> >> Reyk Floeter <[EMAIL PROTECTED]> writes:
> >> 
> >> >
> >> > i have the same problems on a HP Compaq dc7600 Convertible Minitower.
> >> > acpi doesn't work.  the acpi developers like marco@ are aware of the
> >> > problem and it is being worked on.
> >> 
> >> Excellent news! I have the same problem on a dc7700, though I don't
> >> disable the whole acpi, but acpiprt* on /bsd or acpiprt* and acpimadt0
> >> on /bsd.mp.
> >
> > That does not cut it for me (hp2510p ultra-portable laptop).
> >
> > I get a kernel panic in aml_evalnode in acpi_inidev in aml_find_node
> > in acpi_attach. Any hint on what I should disable that is smaller
> > than the whole acpi, or how to find out a smaller disable set?
> >
> > I have tried to disable all acpi... except acpi0 but that did
> > not help. Is it acpi0 itself that is the problem or can
> > there be some acpi... device(s) that it is sufficient do disable?
> > It takes time to try all combinations, it would be nice to
> > know if it is useless.
> 
> As Reyk Floeter said it's just a workaround I've found for the HP
> dc7700. I've found it by reading the kernel message as written in
> description section of
> 
> http://cvs.openbsd.org/cgi-bin/query-pr-wrapper?full=yes&numbers=5738
> 

Thank you that was informative! I see that your trace goes from
  config_attach ->
acpi_attach ->
  acpi_foundprt ->
config_attach ->
  acpiprt_attach -> ... parsing ... _aml_die -> panic
while mine goes
  config_attach ->
acpi_attach -> acpi_inidev -> ... parsing ... _aml_die -> panic

So it indeed seems like the problem is in acpi(4) itself,
not in any attached device. I would be wasting my time
trying to disable all combinations of acpi... devices.

> the bsd.mp the kernel was hanging with acpiprt* disabled. So I had a
> look at apropos acpi and look at the (4) section of the answers before
> trying to disable acpiadmt0.
> 
> I'm sorry, this is the best I can do, I'm not (yet I hope) skilled
> enough to give solutions and _I don't fully understand the
> consequences of what I do_. I just know I can now stop my machine
> without being physicaly with it, and that's usefull.
> 

Alas, I was hoping for something like that.

:
:

-- 

/ Raimo Niskanen, Erlang/OTP, Ericsson AB



Re: : HP nw9440 does not boot ACPI snapshot

2008-04-04 Thread Nicolas Legrand
Raimo Niskanen <[EMAIL PROTECTED]> writes:

> On Thu, Apr 03, 2008 at 04:38:08PM +, Nicolas Legrand wrote:
>> Reyk Floeter <[EMAIL PROTECTED]> writes:
>> 
>> >
>> > i have the same problems on a HP Compaq dc7600 Convertible Minitower.
>> > acpi doesn't work.  the acpi developers like marco@ are aware of the
>> > problem and it is being worked on.
>> 
>> Excellent news! I have the same problem on a dc7700, though I don't
>> disable the whole acpi, but acpiprt* on /bsd or acpiprt* and acpimadt0
>> on /bsd.mp.
>
> That does not cut it for me (hp2510p ultra-portable laptop).
>
> I get a kernel panic in aml_evalnode in acpi_inidev in aml_find_node
> in acpi_attach. Any hint on what I should disable that is smaller
> than the whole acpi, or how to find out a smaller disable set?
>
> I have tried to disable all acpi... except acpi0 but that did
> not help. Is it acpi0 itself that is the problem or can
> there be some acpi... device(s) that it is sufficient do disable?
> It takes time to try all combinations, it would be nice to
> know if it is useless.

As Reyk Floeter said it's just a workaround I've found for the HP
dc7700. I've found it by reading the kernel message as written in
description section of

http://cvs.openbsd.org/cgi-bin/query-pr-wrapper?full=yes&numbers=5738

the bsd.mp the kernel was hanging with acpiprt* disabled. So I had a
look at apropos acpi and look at the (4) section of the answers before
trying to disable acpiadmt0.

I'm sorry, this is the best I can do, I'm not (yet I hope) skilled
enough to give solutions and _I don't fully understand the
consequences of what I do_. I just know I can now stop my machine
without being physicaly with it, and that's usefull.

I'm pretty happy about acpi being developped on OpenBSD. I just hope
those workarounds or bug reports can be usefull to the devs or
others. Anyway I give recent dmesg of my station here with acpi
disabled and with the workaround.

OpenBSD 4.3-current (GENERIC) #732: Tue Apr  1 00:54:18 MDT 2008
[EMAIL PROTECTED]:/usr/src/sys/arch/i386/compile/GENERIC
cpu0: Intel(R) Core(TM)2 CPU 6300 @ 1.86GHz ("GenuineIntel" 686-class) 1.87 GHz
cpu0: 
FPU,V86,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,EST,TM2,CX16,xTPR
real mem  = 1047822336 (999MB)
avail mem = 1005072384 (958MB)
User Kernel Config
UKC> disable acpi0
422 acpi0 disabled
UKC> auit\^H \^H\^H \^H\^H \^H\^H \^Hquit
Continuing...
mainbus0 at root
bios0 at mainbus0: AT/286+ BIOS, date 08/30/06, BIOS32 rev. 0 @ 0xea130, SMBIOS 
rev. 2.4 @ 0xeb9f0 (69 entries)
bios0: vendor Hewlett-Packard version "786E1 v01.05" date 08/30/2006
bios0: Hewlett-Packard HP Compaq dc7700p Convertible Minitower
acpi at bios0 function 0x0 not configured
pcibios0 at bios0: rev 3.0 @ 0xea130/0x5d50
pcibios0: PCI IRQ Routing Table rev 1.0 @ 0xfe4c0/288 (16 entries)
pcibios0: no compatible PCI ICU found: ICU vendor 0x8086 product 0x2814
pcibios0: Warning, unable to fix up PCI interrupt routing
pcibios0: PCI bus #32 is the last bus
bios0: ROM list: 0xc/0xb000! 0xcb000/0x1000 0xcc000/0x1000 0xe7600/0x8a00!
cpu0 at mainbus0
pci0 at mainbus0 bus 0: configuration mode 1 (no bios)
pchb0 at pci0 dev 0 function 0 "Intel 82Q965 Host" rev 0x02
vga1 at pci0 dev 2 function 0 "Intel 82Q965 Video" rev 0x02
wsdisplay0 at vga1 mux 1: console (80x25, vt100 emulation)
wsdisplay0: screen 1-5 added (80x25, vt100 emulation)
agp0 at vga1: aperture at 0xe000, size 0x1000
"Intel 82Q965 HECI" rev 0x02 at pci0 dev 3 function 0 not configured
pciide0 at pci0 dev 3 function 2 "Intel 82Q965 PT IDER" rev 0x02: DMA 
(unsupported), channel 0 wired to native-PCI, channel 1 wired to native-PCI
pciide0: using irq 10 for native-PCI interrupt
pciide0: channel 0 ignored (not responding; disabled or no drives?)
pciide0: channel 1 ignored (not responding; disabled or no drives?)
"Intel 82Q965 KT" rev 0x02 at pci0 dev 3 function 3 not configured
em0 at pci0 dev 25 function 0 "Intel ICH8 IGP AMT" rev 0x02: irq 5, address 
00:0f:fe:6f:4f:46
uhci0 at pci0 dev 26 function 0 "Intel 82801H USB" rev 0x02: irq 10
uhci1 at pci0 dev 26 function 1 "Intel 82801H USB" rev 0x02: irq 11
ehci0 at pci0 dev 26 function 7 "Intel 82801H USB" rev 0x02: irq 5
usb0 at ehci0: USB revision 2.0
uhub0 at usb0 "Intel EHCI root hub" rev 2.00/1.00 addr 1
azalia0 at pci0 dev 27 function 0 "Intel 82801H HD Audio" rev 0x02: irq 11
azalia0: codec[s]: Realtek/0x0262
audio0 at azalia0
ppb0 at pci0 dev 28 function 0 "Intel 82801H PCIE" rev 0x02
pci1 at ppb0 bus 32
uhci2 at pci0 dev 29 function 0 "Intel 82801H USB" rev 0x02: irq 10
uhci3 at pci0 dev 29 function 1 "Intel 82801H USB" rev 0x02: irq 11
ehci1 at pci0 dev 29 function 7 "Intel 82801H USB" rev 0x02: irq 10
usb1 at ehci1: USB revision 2.0
uhub1 at usb1 "Intel EHCI root hub" rev 2.00/1.00 addr 1
ppb1 at pci0 dev 30 function 0 "Intel 82801BA Hub-to-PCI" rev 0xf2
pci2 at ppb1 bus 7
pcib0 at pci0 dev 31 function 0 "Intel 82801HO LPC"

Re: : HP nw9440 does not boot ACPI snapshot

2008-04-04 Thread Raimo Niskanen
On Thu, Apr 03, 2008 at 04:38:08PM +, Nicolas Legrand wrote:
> Reyk Floeter <[EMAIL PROTECTED]> writes:
> 
> >
> > i have the same problems on a HP Compaq dc7600 Convertible Minitower.
> > acpi doesn't work.  the acpi developers like marco@ are aware of the
> > problem and it is being worked on.
> 
> Excellent news! I have the same problem on a dc7700, though I don't
> disable the whole acpi, but acpiprt* on /bsd or acpiprt* and acpimadt0
> on /bsd.mp.

That does not cut it for me (hp2510p ultra-portable laptop).

I get a kernel panic in aml_evalnode in acpi_inidev in aml_find_node
in acpi_attach. Any hint on what I should disable that is smaller
than the whole acpi, or how to find out a smaller disable set?

I have tried to disable all acpi... except acpi0 but that did
not help. Is it acpi0 itself that is the problem or can
there be some acpi... device(s) that it is sufficient do disable?
It takes time to try all combinations, it would be nice to
know if it is useless.

-- 

/ Raimo Niskanen, Erlang/OTP, Ericsson AB



Re: HP nw9440 does not boot ACPI snapshot

2008-04-03 Thread Reyk Floeter
On Thu, Apr 03, 2008 at 04:38:08PM +, Nicolas Legrand wrote:
> Reyk Floeter <[EMAIL PROTECTED]> writes:
> 
> >
> > i have the same problems on a HP Compaq dc7600 Convertible Minitower.
> > acpi doesn't work.  the acpi developers like marco@ are aware of the
> > problem and it is being worked on.
> 
> Excellent news! I have the same problem on a dc7700, though I don't
> disable the whole acpi, but acpiprt* on /bsd or acpiprt* and acpimadt0
> on /bsd.mp.
> 

it is just a workaround, not a solution.  at least it lets the device
in the PCI express slot appear (compare the two dmesgs below).  so
thanks for the hint, it is better than disabling acpi at all...

cpu0: 2MB 64b/line 8-way L2 cache
pci0 at mainbus0 bus 0: configuration mode 1
+ppb0 at pci0 dev 1 function 0 "Intel 82945G PCIE" rev 0x02: irq 11
+pci1 at ppb0 bus 1
+thtc0 at pci1 dev 0 function 0 "Tehuti Networks TN3014" rev 0x00: irq 11
+tht0 at thtc0 port 0: address 00:1b:56:18:00:99
+tht1 at thtc0 port 1: address 00:1b:56:18:80:99

reyk

OpenBSD 4.3-current (GENERIC) #1381: Sun Mar 30 18:15:05 MDT 2008
[EMAIL PROTECTED]:/usr/src/sys/arch/amd64/compile/GENERIC
real mem = 527884288 (503MB)
avail mem = 500695040 (477MB)
mainbus0 at root
bios0 at mainbus0: SMBIOS rev. 2.4 @ 0xeeb40 (69 entries)
bios0: vendor Hewlett-Packard version "786D1 v01.03" date 05/18/2005
bios0: Hewlett-Packard HP Compaq dc7600 Convertible Minitower
acpi at bios0 not configured
cpu0 at mainbus0: (uniprocessor)
cpu0: Intel(R) Pentium(R) 4 CPU 3.00GHz, 2990.77 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,EST,CNXT-ID,CX16,xTPR,NXE,LONG
cpu0: 2MB 64b/line 8-way L2 cache
pci0 at mainbus0 bus 0: configuration mode 1
pchb0 at pci0 dev 0 function 0 "Intel 82945G Host" rev 0x02
vga1 at pci0 dev 2 function 0 "Intel 82945G Video" rev 0x02
wsdisplay0 at vga1 mux 1: console (80x25, vt100 emulation)
wsdisplay0: screen 1-5 added (80x25, vt100 emulation)
agp0 at vga1: aperture at 0xd000, size 0x1000
azalia0 at pci0 dev 27 function 0 "Intel 82801GB HD Audio" rev 0x01: irq 11
azalia0: codec[s]: Realtek ALC260
audio0 at azalia0
ppb0 at pci0 dev 28 function 0 "Intel 82801GB PCIE" rev 0x01
pci1 at ppb0 bus 32
ppb1 at pci0 dev 28 function 1 "Intel 82801GB PCIE" rev 0x01: irq 10
pci2 at ppb1 bus 63
bge0 at pci2 dev 0 function 0 "Broadcom BCM5752" rev 0x01, BCM5752 A1 (0x6001): 
irq 10, address 00:15:60:9d:72:d9
brgphy0 at bge0 phy 1: BCM5752 10/100/1000baseT PHY, rev. 0
uhci0 at pci0 dev 29 function 0 "Intel 82801GB USB" rev 0x01: irq 5
uhci1 at pci0 dev 29 function 1 "Intel 82801GB USB" rev 0x01: irq 10
uhci2 at pci0 dev 29 function 2 "Intel 82801GB USB" rev 0x01: irq 11
uhci3 at pci0 dev 29 function 3 "Intel 82801GB USB" rev 0x01: irq 11
ehci0 at pci0 dev 29 function 7 "Intel 82801GB USB" rev 0x01: irq 5
usb0 at ehci0: USB revision 2.0
uhub0 at usb0 "Intel EHCI root hub" rev 2.00/1.00 addr 1
ppb2 at pci0 dev 30 function 0 "Intel 82801BA Hub-to-PCI" rev 0xe1
pci3 at ppb2 bus 5
pcib0 at pci0 dev 31 function 0 "Intel 82801GB LPC" rev 0x01
pciide0 at pci0 dev 31 function 1 "Intel 82801GB IDE" rev 0x01: DMA, channel 0 
configured to compatibility, channel 1 configured to compatibility
pciide0: channel 0 disabled (no drives)
pciide0: channel 1 disabled (no drives)
pciide1 at pci0 dev 31 function 2 "Intel 82801GB SATA" rev 0x01: DMA, channel 0 
configured to native-PCI, channel 1 configured to native-PCI
pciide1: using irq 5 for native-PCI interrupt
wd0 at pciide1 channel 0 drive 0: 
wd0: 16-sector PIO, LBA48, 76319MB, 156301488 sectors
wd0(pciide1:0:0): using PIO mode 4, Ultra-DMA mode 5
usb1 at uhci0: USB revision 1.0
uhub1 at usb1 "Intel UHCI root hub" rev 1.00/1.00 addr 1
usb2 at uhci1: USB revision 1.0
uhub2 at usb2 "Intel UHCI root hub" rev 1.00/1.00 addr 1
usb3 at uhci2: USB revision 1.0
uhub3 at usb3 "Intel UHCI root hub" rev 1.00/1.00 addr 1
usb4 at uhci3: USB revision 1.0
uhub4 at usb4 "Intel UHCI root hub" rev 1.00/1.00 addr 1
isa0 at pcib0
isadma0 at isa0
com0 at isa0 port 0x3f8/8 irq 4: ns16550a, 16 byte fifo
pckbc0 at isa0 port 0x60/5
pckbd0 at pckbc0 (kbd slot)
pckbc0: using irq 1 for kbd slot
wskbd0 at pckbd0: console keyboard, using wsdisplay0
pcppi0 at isa0 port 0x61
midi0 at pcppi0: 
spkr0 at pcppi0
lpt0 at isa0 port 0x378/4 irq 7
fdc0 at isa0 port 0x3f0/6 irq 6 drq 2
uhub5 at uhub0 port 1 "Standard Microsystems Hub" rev 2.00/0.01 addr 2
uhidev0 at uhub5 port 1 configuration 1 interface 0 "Logitech USB-PS/2 Optical 
Mouse" rev 2.00/27.20 addr 3
uhidev0: iclass 3/1
ums0 at uhidev0: 8 buttons and Z dir.
wsmouse0 at ums0 mux 0
uhidev1 at uhub5 port 2 configuration 1 interface 0 "CHICONY HP Basic USB 
Keyboard" rev 1.10/3.00 addr 4
uhidev1: iclass 3/1
ukbd0 at uhidev1: 8 modifier keys, 6 key codes
wskbd1 at ukbd0 mux 1
wskbd1: connecting to wsdisplay0
softraid0 at root
root on wd0a swap on wd0b dump on wd0b
WARNING: / was not properly unmounted
syncing disks... 
OpenBSD 4.3-cu

Re: HP nw9440 does not boot ACPI snapshot

2008-04-03 Thread Nicolas Legrand
Reyk Floeter <[EMAIL PROTECTED]> writes:

>
> i have the same problems on a HP Compaq dc7600 Convertible Minitower.
> acpi doesn't work.  the acpi developers like marco@ are aware of the
> problem and it is being worked on.

Excellent news! I have the same problem on a dc7700, though I don't
disable the whole acpi, but acpiprt* on /bsd or acpiprt* and acpimadt0
on /bsd.mp.



Re: : HP nw9440 does not boot ACPI snapshot

2008-04-03 Thread Raimo Niskanen
On Thu, Apr 03, 2008 at 02:50:26PM +0200, Reyk Floeter wrote:
> On Thu, Apr 03, 2008 at 01:35:31PM +0300, Denis Doroshenko wrote:
> > i have the same issue, which i reported in
> > http://marc.info/?l=openbsd-misc&m=119608530213184&w=2
> > then i had angry mail from Theo (WRT lack of information), though
> > he listed a few of developers who i needed to contact. i did some
> > more progres (like backtracing the core from -g compiled acpidump)
> > and sent to those developers; there's no news since then.
> > 
> > the problem is there in the -current. i upgraded the bios of the
> > notebook (just in case there is something wrong with it), but the
> > problem remains. the worst thing is those notebooks have no
> > other means to access various hardware stuff (e.g. sensors),
> > only via ACPI.
> > 
> > unfortunately i have no spare time whatsoever to read ACPI
> > specs, because the assert that fails in acpidump points (as
> > far as i understand) that ACPI script's structure causes
> > problems to OpenBSD ACPI parser (non-standard things?).
> > 
> 
> i have the same problems on a HP Compaq dc7600 Convertible Minitower.
> acpi doesn't work.  the acpi developers like marco@ are aware of the
> problem and it is being worked on.
> 

Great!

When they need testing there are many users @misc willing to help.
Also whatever debugging they trust us to do.

> ---snip---
>  0x8005c460 cnt:00 stk:61 integer: 0
> 8b46 Called: \_SB_.PCI0._CRS
> local0: 0x8005c420 cnt:00 stk:60 integer: b6
> local0: 0x8005c460 cnt:00 stk:61 integer: 0
> panic: aml_die aml_setbufint:988
> ---snap---
> 
> in addition to the `boot -c` temporary workaround, you can also
> permanently disable acpi in a kernel by running the following command
> from the shell:
> 
> # config -ef /bsd 
> OpenBSD 4.3-current (GENERIC) #1381: Sun Mar 30 18:15:05 MDT 2008
> [EMAIL PROTECTED]:/usr/src/sys/arch/amd64/compile/GENERIC
> Enter 'help' for information
> ukc> disable acpi
> 285 acpi0 disabled
> ukc> quit
> Saving modified kernel.
> 
:
:

-- 

/ Raimo Niskanen, Erlang/OTP, Ericsson AB



Re: HP nw9440 does not boot ACPI snapshot

2008-04-03 Thread Reyk Floeter
On Thu, Apr 03, 2008 at 01:35:31PM +0300, Denis Doroshenko wrote:
> i have the same issue, which i reported in
> http://marc.info/?l=openbsd-misc&m=119608530213184&w=2
> then i had angry mail from Theo (WRT lack of information), though
> he listed a few of developers who i needed to contact. i did some
> more progres (like backtracing the core from -g compiled acpidump)
> and sent to those developers; there's no news since then.
> 
> the problem is there in the -current. i upgraded the bios of the
> notebook (just in case there is something wrong with it), but the
> problem remains. the worst thing is those notebooks have no
> other means to access various hardware stuff (e.g. sensors),
> only via ACPI.
> 
> unfortunately i have no spare time whatsoever to read ACPI
> specs, because the assert that fails in acpidump points (as
> far as i understand) that ACPI script's structure causes
> problems to OpenBSD ACPI parser (non-standard things?).
> 

i have the same problems on a HP Compaq dc7600 Convertible Minitower.
acpi doesn't work.  the acpi developers like marco@ are aware of the
problem and it is being worked on.

---snip---
 0x8005c460 cnt:00 stk:61 integer: 0
8b46 Called: \_SB_.PCI0._CRS
local0: 0x8005c420 cnt:00 stk:60 integer: b6
local0: 0x8005c460 cnt:00 stk:61 integer: 0
panic: aml_die aml_setbufint:988
---snap---

in addition to the `boot -c` temporary workaround, you can also
permanently disable acpi in a kernel by running the following command
from the shell:

# config -ef /bsd 
OpenBSD 4.3-current (GENERIC) #1381: Sun Mar 30 18:15:05 MDT 2008
[EMAIL PROTECTED]:/usr/src/sys/arch/amd64/compile/GENERIC
Enter 'help' for information
ukc> disable acpi
285 acpi0 disabled
ukc> quit
Saving modified kernel.

> On Thu, Apr 3, 2008 at 12:32 PM, Raimo Niskanen
> <[EMAIL PROTECTED]> wrote:
> > I also have ACPI problems on a HP notebook. Mine is a hp2510p,
> >  and it kernel panics during boot.  I have reported this to
> >  [EMAIL PROTECTED] a few times.
> >
> >  For me it has worked to boot and crash,
> >  UKC> trace
> >  UKC> ps
> >  UKC> boot reboot
> >  boot with -c,
> >  UKC> disable acpi
> >  UKC> exit
> >  and let it boot without ACPI. And magically, when booted,
> >  the dmesg contains both boots; put it on e.g an USB key.
> >
> >  acpidump core dumps for mee too. I have sent in the
> >  broken results as well as the core file. I do not
> >  if someone is trying to solve the problem, though.
> >
> >  I have not tried the MP kernel.
> >
> >
> >
> >  On Thu, Apr 03, 2008 at 10:59:01AM +0200, Daniele Pilenga wrote:
> >  > Hi guys,
> >  > I have this notebook on which I'd like to install (and use!) OpenBSD,
> >  > but I have a little problem.
> >  >
> >  > If I leave ACPI anabled, as per default on this Apr 1st snapshot, the
> >  > /bsd kernel reboots after cpu probing
> >  > (more or less, I don't have any serial so I cannot see very clearly,
> >  > it's too fast) and the /bsd.mp kernel hangs at some
> >  > acpi probing.
> >  >
> >  > Enabling verbose mode is not very helpful since it scrolls down too
> >  > fast and in both cases rebooting the machine does not
> >  > leave the dmesg in memory.
> >  >
> >  > I already tried disabling some random driver, but since I cannot see
> >  > where the problem is I don't even know what to
> >  > look for.
> >  >
> >  > It would not be that bad living without acpi, but the MP kernel cannot
> >  > see both cpu cores, so I hope there is something
> >  > I could try.
> >  >
> >  > It seems there is a problem with the audio, but I'll leave that for 
> > later. :-)
> >  >
> >  > Dmesg follows, please let me know if there is something else you need
> >  > or if you have any suggestion.
> >  > BTW, acpidump core dumps, but may be related to the non-acpi kernel.
> >  >
> >  > Thank you,
> >  > D.
> >  >
> >  > OpenBSD 4.3-current (GENERIC) #732: Tue Apr  1 00:54:18 MDT 2008
> >  >
> >  > [EMAIL PROTECTED]:/usr/src/sys/arch/i386/compile/GENERIC
> >  >
> >  > cpu0: Genuine Intel(R) CPU T2600 @ 2.16GHz ("GenuineIntel" 686-class) 
> > 2.17 GHz
> >  >
> >  > cpu0: 
> > FPU,V86,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,CFLUSH,DS,ACPI,MMX,FXSR,SSE,SSE2,SS,HTT,TM,SBF,SSE3,MWAIT,VMX,EST,TM2,xTPR
> >  >
> >  > real mem  = 2146856960 (2047MB)
> >  >
> >  > avail mem = 2067857408 (1972MB)
> >  >
> >  > User Kernel Config
> >  >
> >  > UKC> disable acpi
> >  >
> >  > 422 acpi0 disabled
> >  >
> >  > UKC> quit
> >  >
> >  > Continuing...
> >  >
> >  > mainbus0 at root
> >  >
> >  > bios0 at mainbus0: AT/286+ BIOS, date 03/05/08, BIOS32 rev. 0 @
> >  > 0xf, SMBIOS rev. 2.4 @ 0xf3b77 (23 entries)
> >  >
> >  > bios0: vendor Hewlett-Packard version "68YAF Ver. F.1C" date 03/05/2008
> >  >
> >  > bios0: Hewlett-Packard HP Compaq nw9440 (EY314EA#ABZ)
> >  >
> >  > acpi at bios0 function 0x0 not configured
> >  >
> >  > pcibios0 at bios0: rev 2.1 @ 0xf/0x2000
> >  >
> >  > pcibios0: PCI IRQ Routing Table rev 1.0 @ 0x

Re: HP nw9440 does not boot ACPI snapshot

2008-04-03 Thread Denis Doroshenko
i have the same issue, which i reported in
http://marc.info/?l=openbsd-misc&m=119608530213184&w=2
then i had angry mail from Theo (WRT lack of information), though
he listed a few of developers who i needed to contact. i did some
more progres (like backtracing the core from -g compiled acpidump)
and sent to those developers; there's no news since then.

the problem is there in the -current. i upgraded the bios of the
notebook (just in case there is something wrong with it), but the
problem remains. the worst thing is those notebooks have no
other means to access various hardware stuff (e.g. sensors),
only via ACPI.

unfortunately i have no spare time whatsoever to read ACPI
specs, because the assert that fails in acpidump points (as
far as i understand) that ACPI script's structure causes
problems to OpenBSD ACPI parser (non-standard things?).

On Thu, Apr 3, 2008 at 12:32 PM, Raimo Niskanen
<[EMAIL PROTECTED]> wrote:
> I also have ACPI problems on a HP notebook. Mine is a hp2510p,
>  and it kernel panics during boot.  I have reported this to
>  [EMAIL PROTECTED] a few times.
>
>  For me it has worked to boot and crash,
>  UKC> trace
>  UKC> ps
>  UKC> boot reboot
>  boot with -c,
>  UKC> disable acpi
>  UKC> exit
>  and let it boot without ACPI. And magically, when booted,
>  the dmesg contains both boots; put it on e.g an USB key.
>
>  acpidump core dumps for mee too. I have sent in the
>  broken results as well as the core file. I do not
>  if someone is trying to solve the problem, though.
>
>  I have not tried the MP kernel.
>
>
>
>  On Thu, Apr 03, 2008 at 10:59:01AM +0200, Daniele Pilenga wrote:
>  > Hi guys,
>  > I have this notebook on which I'd like to install (and use!) OpenBSD,
>  > but I have a little problem.
>  >
>  > If I leave ACPI anabled, as per default on this Apr 1st snapshot, the
>  > /bsd kernel reboots after cpu probing
>  > (more or less, I don't have any serial so I cannot see very clearly,
>  > it's too fast) and the /bsd.mp kernel hangs at some
>  > acpi probing.
>  >
>  > Enabling verbose mode is not very helpful since it scrolls down too
>  > fast and in both cases rebooting the machine does not
>  > leave the dmesg in memory.
>  >
>  > I already tried disabling some random driver, but since I cannot see
>  > where the problem is I don't even know what to
>  > look for.
>  >
>  > It would not be that bad living without acpi, but the MP kernel cannot
>  > see both cpu cores, so I hope there is something
>  > I could try.
>  >
>  > It seems there is a problem with the audio, but I'll leave that for later. 
> :-)
>  >
>  > Dmesg follows, please let me know if there is something else you need
>  > or if you have any suggestion.
>  > BTW, acpidump core dumps, but may be related to the non-acpi kernel.
>  >
>  > Thank you,
>  > D.
>  >
>  > OpenBSD 4.3-current (GENERIC) #732: Tue Apr  1 00:54:18 MDT 2008
>  >
>  > [EMAIL PROTECTED]:/usr/src/sys/arch/i386/compile/GENERIC
>  >
>  > cpu0: Genuine Intel(R) CPU T2600 @ 2.16GHz ("GenuineIntel" 686-class) 2.17 
> GHz
>  >
>  > cpu0: 
> FPU,V86,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,CFLUSH,DS,ACPI,MMX,FXSR,SSE,SSE2,SS,HTT,TM,SBF,SSE3,MWAIT,VMX,EST,TM2,xTPR
>  >
>  > real mem  = 2146856960 (2047MB)
>  >
>  > avail mem = 2067857408 (1972MB)
>  >
>  > User Kernel Config
>  >
>  > UKC> disable acpi
>  >
>  > 422 acpi0 disabled
>  >
>  > UKC> quit
>  >
>  > Continuing...
>  >
>  > mainbus0 at root
>  >
>  > bios0 at mainbus0: AT/286+ BIOS, date 03/05/08, BIOS32 rev. 0 @
>  > 0xf, SMBIOS rev. 2.4 @ 0xf3b77 (23 entries)
>  >
>  > bios0: vendor Hewlett-Packard version "68YAF Ver. F.1C" date 03/05/2008
>  >
>  > bios0: Hewlett-Packard HP Compaq nw9440 (EY314EA#ABZ)
>  >
>  > acpi at bios0 function 0x0 not configured
>  >
>  > pcibios0 at bios0: rev 2.1 @ 0xf/0x2000
>  >
>  > pcibios0: PCI IRQ Routing Table rev 1.0 @ 0xf07c0/208 (11 entries)
>  >
>  > pcibios0: bad IRQ table checksum
>  >
>  > pcibios0: PCI IRQ Routing Table rev 1.0 @ 0xf9990/208 (11 entries)
>  >
>  > pcibios0: PCI Exclusive IRQs: 5 10 11
>  >
>  > pcibios0: PCI Interrupt Router at 000:31:0 ("Intel 82801FBM LPC" rev 0x00)
>  >
>  > pcibios0: PCI bus #32 is the last bus
>  >
>  > bios0: ROM list: 0xc/0xdc00 0xd/0x1000 0xd1000/0x1800
>  >
>  > cpu0 at mainbus0
>  >
>  > cpu0: unknown Enhanced SpeedStep CPU, msr 0x06130d2c06000d2c
>  >
>  > cpu0: using only highest and lowest power states
>  >
>  > cpu0: Enhanced SpeedStep 2167 MHz (1404 mV): speeds: 2167, 1000 MHz
>  >
>  > pci0 at mainbus0 bus 0: configuration mode 1 (no bios)
>  >
>  > pchb0 at pci0 dev 0 function 0 "Intel 82945GM Host" rev 0x03
>  >
>  > ppb0 at pci0 dev 1 function 0 "Intel 82945GM PCIE" rev 0x03
>  >
>  > pci1 at ppb0 bus 1
>  >
>  > vga1 at pci1 dev 0 function 0 vendor "NVIDIA", unknown product 0x029b rev 
> 0xa1
>  >
>  > wsdisplay0 at vga1 mux 1: console (80x25, vt100 emulation)
>  >
>  > wsdisplay0: screen 1-5 added (80x25, vt100 emulation)
>  >
>  > agp0 at vga1: no inte

Re: HP nw9440 does not boot ACPI snapshot

2008-04-03 Thread Raimo Niskanen
I also have ACPI problems on a HP notebook. Mine is a hp2510p,
and it kernel panics during boot.  I have reported this to
[EMAIL PROTECTED] a few times.

For me it has worked to boot and crash,
UKC> trace
UKC> ps
UKC> boot reboot
boot with -c,
UKC> disable acpi
UKC> exit
and let it boot without ACPI. And magically, when booted,
the dmesg contains both boots; put it on e.g an USB key.

acpidump core dumps for mee too. I have sent in the
broken results as well as the core file. I do not
if someone is trying to solve the problem, though.

I have not tried the MP kernel.



On Thu, Apr 03, 2008 at 10:59:01AM +0200, Daniele Pilenga wrote:
> Hi guys,
> I have this notebook on which I'd like to install (and use!) OpenBSD,
> but I have a little problem.
> 
> If I leave ACPI anabled, as per default on this Apr 1st snapshot, the
> /bsd kernel reboots after cpu probing
> (more or less, I don't have any serial so I cannot see very clearly,
> it's too fast) and the /bsd.mp kernel hangs at some
> acpi probing.
> 
> Enabling verbose mode is not very helpful since it scrolls down too
> fast and in both cases rebooting the machine does not
> leave the dmesg in memory.
> 
> I already tried disabling some random driver, but since I cannot see
> where the problem is I don't even know what to
> look for.
> 
> It would not be that bad living without acpi, but the MP kernel cannot
> see both cpu cores, so I hope there is something
> I could try.
> 
> It seems there is a problem with the audio, but I'll leave that for later. :-)
> 
> Dmesg follows, please let me know if there is something else you need
> or if you have any suggestion.
> BTW, acpidump core dumps, but may be related to the non-acpi kernel.
> 
> Thank you,
> D.
> 
> OpenBSD 4.3-current (GENERIC) #732: Tue Apr  1 00:54:18 MDT 2008
> 
> [EMAIL PROTECTED]:/usr/src/sys/arch/i386/compile/GENERIC
> 
> cpu0: Genuine Intel(R) CPU T2600 @ 2.16GHz ("GenuineIntel" 686-class) 2.17 GHz
> 
> cpu0: 
> FPU,V86,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,CFLUSH,DS,ACPI,MMX,FXSR,SSE,SSE2,SS,HTT,TM,SBF,SSE3,MWAIT,VMX,EST,TM2,xTPR
> 
> real mem  = 2146856960 (2047MB)
> 
> avail mem = 2067857408 (1972MB)
> 
> User Kernel Config
> 
> UKC> disable acpi
> 
> 422 acpi0 disabled
> 
> UKC> quit
> 
> Continuing...
> 
> mainbus0 at root
> 
> bios0 at mainbus0: AT/286+ BIOS, date 03/05/08, BIOS32 rev. 0 @
> 0xf, SMBIOS rev. 2.4 @ 0xf3b77 (23 entries)
> 
> bios0: vendor Hewlett-Packard version "68YAF Ver. F.1C" date 03/05/2008
> 
> bios0: Hewlett-Packard HP Compaq nw9440 (EY314EA#ABZ)
> 
> acpi at bios0 function 0x0 not configured
> 
> pcibios0 at bios0: rev 2.1 @ 0xf/0x2000
> 
> pcibios0: PCI IRQ Routing Table rev 1.0 @ 0xf07c0/208 (11 entries)
> 
> pcibios0: bad IRQ table checksum
> 
> pcibios0: PCI IRQ Routing Table rev 1.0 @ 0xf9990/208 (11 entries)
> 
> pcibios0: PCI Exclusive IRQs: 5 10 11
> 
> pcibios0: PCI Interrupt Router at 000:31:0 ("Intel 82801FBM LPC" rev 0x00)
> 
> pcibios0: PCI bus #32 is the last bus
> 
> bios0: ROM list: 0xc/0xdc00 0xd/0x1000 0xd1000/0x1800
> 
> cpu0 at mainbus0
> 
> cpu0: unknown Enhanced SpeedStep CPU, msr 0x06130d2c06000d2c
> 
> cpu0: using only highest and lowest power states
> 
> cpu0: Enhanced SpeedStep 2167 MHz (1404 mV): speeds: 2167, 1000 MHz
> 
> pci0 at mainbus0 bus 0: configuration mode 1 (no bios)
> 
> pchb0 at pci0 dev 0 function 0 "Intel 82945GM Host" rev 0x03
> 
> ppb0 at pci0 dev 1 function 0 "Intel 82945GM PCIE" rev 0x03
> 
> pci1 at ppb0 bus 1
> 
> vga1 at pci1 dev 0 function 0 vendor "NVIDIA", unknown product 0x029b rev 0xa1
> 
> wsdisplay0 at vga1 mux 1: console (80x25, vt100 emulation)
> 
> wsdisplay0: screen 1-5 added (80x25, vt100 emulation)
> 
> agp0 at vga1: no integrated graphics
> 
> azalia0 at pci0 dev 27 function 0 "Intel 82801GB HD Audio" rev 0x01: irq 10
> 
> azalia0: codec[s]: Analog Devices/0x1981, Conexant/0x2bfa, using
> Analog Devices/0x1981
> 
> audio0 at azalia0
> 
> ppb1 at pci0 dev 28 function 0 "Intel 82801GB PCIE" rev 0x01: irq 10
> 
> pci2 at ppb1 bus 8
> 
> bge0 at pci2 dev 0 function 0 "Broadcom BCM5753M" rev 0x21, BCM5750 C1
> (0x4201): irq 10, address 00:16:d4:0c:fc:f0
> 
> brgphy0 at bge0 phy 1: BCM5750 10/100/1000baseT PHY, rev. 0
> 
> ppb2 at pci0 dev 28 function 1 "Intel 82801GB PCIE" rev 0x01: irq 10
> 
> pci3 at ppb2 bus 16
> 
> wpi0 at pci3 dev 0 function 0 "Intel PRO/Wireless 3945ABG" rev 0x02:
> irq 10, MoW2, address 00:13:02:51:af:9d
> 
> ppb3 at pci0 dev 28 function 3 "Intel 82801GB PCIE" rev 0x01: irq 5
> 
> pci4 at ppb3 bus 32
> 
> uhci0 at pci0 dev 29 function 0 "Intel 82801GB USB" rev 0x01: irq 10
> 
> uhci1 at pci0 dev 29 function 1 "Intel 82801GB USB" rev 0x01: irq 11
> 
> uhci2 at pci0 dev 29 function 2 "Intel 82801GB USB" rev 0x01: irq 11
> 
> uhci3 at pci0 dev 29 function 3 "Intel 82801GB USB" rev 0x01: irq 5
> 
> ehci0 at pci0 dev 29 function 7 "Intel 82801GB USB" rev 0x01: irq 10
> 
> usb0 at ehci0: USB revision 2.0
> 
> uhub0 at usb0 "Intel EHCI root hub" rev