NetBSD Problem Report #46808

From www@NetBSD.org  Fri Aug 17 19:35:00 2012
Return-Path: <www@NetBSD.org>
Received: from mail.netbsd.org (mail.netbsd.org [149.20.53.66])
	by www.NetBSD.org (Postfix) with ESMTP id 4226963C3D5
	for <gnats-bugs@gnats.NetBSD.org>; Fri, 17 Aug 2012 19:35:00 +0000 (UTC)
Message-Id: <20120817193459.6215463B882@www.NetBSD.org>
Date: Fri, 17 Aug 2012 19:34:59 +0000 (UTC)
From: jc.lynx_AT_laposteDOTnet@NetBSD.org
Reply-To: jc.lynx@laposte.net
To: gnats-bugs@NetBSD.org
Subject: 6.0_BETA2 install crashes on VIA VT6202 detection
X-Send-Pr-Version: www-1.0

>Number:         46808
>Category:       port-i386
>Synopsis:       6.0_BETA2 install crashes on VIA VT6202 detection
>Confidential:   no
>Severity:       critical
>Priority:       medium
>Responsible:    port-i386-maintainer
>State:          feedback
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Fri Aug 17 19:40:00 +0000 2012
>Closed-Date:    
>Last-Modified:  Mon Jun 07 02:45:01 +0000 2021
>Originator:     Jean-Charles
>Release:        6.0_BETA2
>Organization:
>Environment:
>Description:
When booting from the 6.0_BETA2 i386 install CD (NetBSD-6.0_BETA2-i386.iso) on a Compaq Presario 2500 (EA2528), I encounter a crash on EHCI USB initialisation.

End of dmesg :

uhci0 at pci0 dev 11 function 0: vendor 0x1106 product 0x3038 (rev. 0x50)
uhci0: interrupting at irq 10
usb0 at uhci0: USB revision 1.0
uhci1 at pci0 dev 11 function 1: vendor 0x1106 product 0x3038 (rev. 0x50)
uhci1: interrupting at irq 10
usb1 at uhci1: USB revision 1.0
ehci0 at pci0 dev 11 function 2: vendor 0x1106 product 0x3104 (rev. 0x51)
ehci0: interrupting at irq 11
ehci0: dropped intr workaround enabled
panic: kernel diagnostic assertion "maxncomp <= EHCI_COMPANION_MAX" failed: file "/usr/src/sys/dev/pci/ehci_pci.c", line 230
fatal breakpoint trap in supervisor mode
trap type 1 code 0 eip c026eb64 cs 8 eflags 282 cr2 0 ilevel 8

Same problem with 6.0_BETA. The USB 2.0 controller is a VIA VT6202.

I then tried the 5.1.2 install CD. If I understand, EHCI didn't work either, but that didn't crash the boot process. The USB messages were these :

uhci0 at pci0 dev 11 function 0: vendor 0x1106 product 0x3038 (rev. 0x50)
uhci0: interrupting at irq 10
usb0 at uhci0: USB revision 1.0
uhci1 at pci0 dev 11 function 1: vendor 0x1106 product 0x3038 (rev. 0x50)
uhci1: interrupting at irq 10
usb1 at uhci1: USB revision 1.0
ehci0 at pci0 dev 11 function 2: vendor 0x1106 product 0x3104 (rev. 0x51)
ehci0: can't map memory space

>How-To-Repeat:

>Fix:

>Release-Note:

>Audit-Trail:
From: christos@zoulas.com (Christos Zoulas)
To: gnats-bugs@NetBSD.org, port-i386-maintainer@netbsd.org, 
	gnats-admin@netbsd.org, netbsd-bugs@netbsd.org
Cc: 
Subject: Re: port-i386/46808: 6.0_BETA2 install crashes on VIA VT6202 detection
Date: Fri, 17 Aug 2012 15:50:43 -0400

 On Aug 17,  7:40pm, jc.lynx_AT_laposteDOTnet@NetBSD.org (jc.lynx_AT_laposteDOTnet@NetBSD.org) wrote:
 -- Subject: port-i386/46808: 6.0_BETA2 install crashes on VIA VT6202 detectio

 Can you add a printf to find what maxncomp is?

 christos

From: "jc.lynx" <jc.lynx@laposte.net>
To: Christos Zoulas <christos@zoulas.com>, gnats-bugs@NetBSD.org, 
	port-i386-maintainer@netbsd.org, gnats-admin@netbsd.org, 
	netbsd-bugs@netbsd.org
Cc: 
Subject: Re: port-i386/46808: 6.0_BETA2 install crashes on VIA VT6202
 detection
Date: Sat, 25 Aug 2012 23:21:48 +0200

 ------=_Part_1067438_1348085712.1345929708278
 Content-Type: text/plain; charset=UTF-8
 Content-Transfer-Encoding: quoted-printable

 OK. I've installed NetBSD on another machine and done the following alterat=
 ions to ehci_pci.c

 Replaced :

 const u_int maxncomp =3D EHCI_HCS_N_CC(EREAD4(&sc->sc, EHCI_HCSPARAMS));

 with :

 const u_int vovo =3D EREAD4(&sc->sc, EHCI_HCSPARAMS);
 const u_int maxncomp =3D EHCI_HCS_N_CC(vovo);
 printf("maxncomp =3D %u\n", maxncomp);
 printf("EREAD4(&sc->sc, EHCI_HCSPARAMS) =3D %x, vovo);

 I hope I got the types right.
 Anyway, I burned and booted boot.iso and got this :

 maxncomp =3D 15
 EREAD4(&sc->sc, EHCI_HCSPARAMS) =3D ffffffff

 So, yeah, EHCI_HCS_N_CC(ffffffff), i.e. (ffffffff >> 12) & 0xf is 15, indee=
 d greater than EHCI_COMPANION_MAX which is 8 ; but I guess that this ffffff=
  is not the data we were looking for anyway.
 I could not find code related to "special" VT6202 handling in other BSD's c=
 ode, except an unrelated issue with EHCI polling frequency.
 I suppose we now have to dig into how sc was initialised, or whether EREAD4=
 (&sc->sc, EHCI_HCS_PARAMS) is the way to get what we were looking for on th=
 is particular device.

 Une messagerie gratuite, garantie =C3=A0 vie et des services en plus, =C3=
 =A7a vous tente ?
 Je cr=C3=A9e ma bo=C3=AEte mail www.laposte.net

 ------=_Part_1067438_1348085712.1345929708278
 Content-Type: text/html; charset=UTF-8
 Content-Transfer-Encoding: quoted-printable

 OK. I've installed NetBSD on another machine and done the following alterat=
 ions to ehci_pci.c<br /><br />Replaced : <br /><br />const u_int maxncomp =
 =3D EHCI_HCS_N_CC(EREAD4(&amp;sc-&gt;sc, EHCI_HCSPARAMS));<br /><br />with =
 :<br /><br />const u_int vovo =3D EREAD4(&amp;sc-&gt;sc, EHCI_HCSPARAMS);<b=
 r />const u_int maxncomp =3D EHCI_HCS_N_CC(vovo);<br />printf(&quot;maxncom=
 p =3D %u\n&quot;, maxncomp);<br />printf(&quot;EREAD4(&amp;sc-&gt;sc, EHCI_=
 HCSPARAMS) =3D %x, vovo);<br /><br />I hope I got the types right.<br />Any=
 way, I burned and booted boot.iso and got this :<br /><br />maxncomp =3D 15=
 <br />EREAD4(&amp;sc-&gt;sc, EHCI_HCSPARAMS) =3D ffffffff<br /><br />So, ye=
 ah, EHCI_HCS_N_CC(ffffffff), i.e. (ffffffff &gt;&gt; 12) &amp; 0xf is 15, i=
 ndeed greater than EHCI_COMPANION_MAX which is 8 ; but I guess that this ff=
 ffff is not the data we were looking for anyway.<br />I could not find code=
  related to &quot;special&quot; VT6202 handling in other BSD's code, except=
  an unrelated issue with EHCI polling frequency.<br />I suppose we now have=
  to dig into how sc was initialised, or whether EREAD4(&amp;sc-&gt;sc, EHCI=
 _HCS_PARAMS) is the way to get what we were looking for on this particular =
 device.
 ------=_Part_1067438_1348085712.1345929708278--

From: christos@zoulas.com (Christos Zoulas)
To: "jc.lynx" <jc.lynx@laposte.net>, gnats-bugs@NetBSD.org, 
	port-i386-maintainer@netbsd.org, gnats-admin@netbsd.org, 
	netbsd-bugs@netbsd.org
Cc: 
Subject: Re: port-i386/46808: 6.0_BETA2 install crashes on VIA VT6202 detection
Date: Sun, 26 Aug 2012 03:19:24 -0400

 On Aug 25, 11:21pm, jc.lynx@laposte.net ("jc.lynx") wrote:
 -- Subject: Re: port-i386/46808: 6.0_BETA2 install crashes on VIA VT6202 dete

 | OK. I've installed NetBSD on another machine and done the following alterat=
 | ions to ehci_pci.c
 | 
 | Replaced :
 | 
 | const u_int maxncomp =3D EHCI_HCS_N_CC(EREAD4(&sc->sc, EHCI_HCSPARAMS));
 | 
 | with :
 | 
 | const u_int vovo =3D EREAD4(&sc->sc, EHCI_HCSPARAMS);
 | const u_int maxncomp =3D EHCI_HCS_N_CC(vovo);
 | printf("maxncomp =3D %u\n", maxncomp);
 | printf("EREAD4(&sc->sc, EHCI_HCSPARAMS) =3D %x, vovo);
 | 
 | I hope I got the types right.
 | Anyway, I burned and booted boot.iso and got this :
 | 
 | maxncomp =3D 15
 | EREAD4(&sc->sc, EHCI_HCSPARAMS) =3D ffffffff
 | 
 | So, yeah, EHCI_HCS_N_CC(ffffffff), i.e. (ffffffff >> 12) & 0xf is 15, indee=
 | d greater than EHCI_COMPANION_MAX which is 8 ; but I guess that this ffffff=
 |  is not the data we were looking for anyway.
 | I could not find code related to "special" VT6202 handling in other BSD's c=
 | ode, except an unrelated issue with EHCI polling frequency.
 | I suppose we now have to dig into how sc was initialised, or whether EREAD4=
 | (&sc->sc, EHCI_HCS_PARAMS) is the way to get what we were looking for on th=
 | is particular device.

 Thsat it a good way to debug it, but you can just try to clamp it to
 EHCI_COMPANION_MAX after you print a warning and see if it gets you
 further. My guess is that something else is wrong and the device is
 not mapped or initialized properly. Perhaps there is something in
 the bios you can change?

 christos

From: "jc.lynx" <jc.lynx@laposte.net>
To: Christos Zoulas <christos@zoulas.com>, gnats-bugs@NetBSD.org, 
	port-i386-maintainer@netbsd.org, gnats-admin@netbsd.org, 
	netbsd-bugs@netbsd.org
Cc: 
Subject: Re: port-i386/46808: 6.0_BETA2 install crashes on VIA VT6202
 detection
Date: Wed, 29 Aug 2012 21:01:45 +0200

  > Thsat it a good way to debug it, but you can just try to clamp it to
 > EHCI_COMPANION_MAX after you print a warning and see if it gets you
 > further. My guess is that something else is wrong and the device is
 > not mapped or initialized properly. Perhaps there is something in
 > the bios you can change?
 >=20
 > christos
 >=20

 There is just a "legacy USB support" item in the BIOS and it did not change=
  anything.
 I will try to initialize maxncomp at 4 since it's the maximum number of USB=
 2 ports supported by the VT6202. Let's=20
 see how much further it gets...

 Une messagerie gratuite, garantie =C3=A0 vie et des services en plus, =C3=
 =A7a vous tente ?
 Je cr=C3=A9e ma bo=C3=AEte mail www.laposte.net

From: "jc.lynx" <jc.lynx@laposte.net>
To: Christos Zoulas <christos@zoulas.com>, gnats-bugs@NetBSD.org, 
	port-i386-maintainer@netbsd.org, gnats-admin@netbsd.org, 
	netbsd-bugs@netbsd.org
Cc: 
Subject: Re: port-i386/46808: 6.0_BETA2 install crashes on VIA VT6202
 detection
Date: Wed, 05 Sep 2012 14:55:19 +0200

 ------=_Part_14267_568834531.1346849718984
 Content-Type: text/plain; charset=UTF-8
 Content-Transfer-Encoding: quoted-printable

 OK, I set maxncomp to 1 since it seems to be this value on my other NetBSD =
 machine : 1 companion which has 4 ports. Anyway, better initializing not en=
 ough peripherals than trying to initialize non-existing ones, I think.
 It didn't get very far, here is the end of dmesg :

 maxncomp =3D 15
 EREAD4(&sc->sc, EHCI_HCSPARAMS) =3D ffffffff
 forcing maxncomp to 1
 panic : kernel diagnostic assertion "(reg & 0x3) =3D=3D 0" failed: file "/u=
 sr/sys/arch/x86/pci/pci_machdep.c", line 476
 fatal breakpoint (...)

 The function it crashes in is pci_conf_read(pci_chipset_tag_t pc, pcitag_t =
 tag, int reg)

 I haven't inspected this further yet.

 > Message du 26/08/12 09:19
 > De : "Christos Zoulas"
 > A : "jc.lynx" , gnats-bugs@NetBSD.org, port-i386-maintainer@netbsd.org, g=
 nats-admin@netbsd.org, netbsd-bugs@netbsd.org
 > Copie =C3=A0 :
 > Objet : Re: port-i386/46808: 6.0_BETA2 install crashes on VIA VT6202 dete=
 ction
 >
 > On Aug 25, 11:21pm, jc.lynx@laposte.net ("jc.lynx") wrote:
 > -- Subject: Re: port-i386/46808: 6.0_BETA2 install crashes on VIA VT6202 =
 dete
 >
 > | OK. I've installed NetBSD on another machine and done the following alt=
 erat=3D
 > | ions to ehci_pci.c
 > |
 > | Replaced :
 > |
 > | const u_int maxncomp =3D3D EHCI_HCS_N_CC(EREAD4(&sc->sc, EHCI_HCSPARAMS=
 ));
 > |
 > | with :
 > |
 > | const u_int vovo =3D3D EREAD4(&sc->sc, EHCI_HCSPARAMS);
 > | const u_int maxncomp =3D3D EHCI_HCS_N_CC(vovo);
 > | printf("maxncomp =3D3D %u\n", maxncomp);
 > | printf("EREAD4(&sc->sc, EHCI_HCSPARAMS) =3D3D %x, vovo);
 > |
 > | I hope I got the types right.
 > | Anyway, I burned and booted boot.iso and got this :
 > |
 > | maxncomp =3D3D 15
 > | EREAD4(&sc->sc, EHCI_HCSPARAMS) =3D3D ffffffff
 > |
 > | So, yeah, EHCI_HCS_N_CC(ffffffff), i.e. (ffffffff >> 12) & 0xf is 15, i=
 ndee=3D
 > | d greater than EHCI_COMPANION_MAX which is 8 ; but I guess that this ff=
 ffff=3D
 > | is not the data we were looking for anyway.
 > | I could not find code related to "special" VT6202 handling in other BSD=
 's c=3D
 > | ode, except an unrelated issue with EHCI polling frequency.
 > | I suppose we now have to dig into how sc was initialised, or whether ER=
 EAD4=3D
 > | (&sc->sc, EHCI_HCS_PARAMS) is the way to get what we were looking for o=
 n th=3D
 > | is particular device.
 >
 > Thsat it a good way to debug it, but you can just try to clamp it to
 > EHCI_COMPANION_MAX after you print a warning and see if it gets you
 > further. My guess is that something else is wrong and the device is
 > not mapped or initialized properly. Perhaps there is something in
 > the bios you can change?
 >
 > christos
 >=20

 Une messagerie gratuite, garantie =C3=A0 vie et des services en plus, =C3=
 =A7a vous tente ?
 Je cr=C3=A9e ma bo=C3=AEte mail www.laposte.net

 ------=_Part_14267_568834531.1346849718984
 Content-Type: text/html; charset=UTF-8
 Content-Transfer-Encoding: quoted-printable

 <p style=3D"margin:0;padding:0;" align=3D"left">OK, I set maxncomp to 1 sin=
 ce it seems to be this value on my other NetBSD machine : 1 companion which=
  has 4 ports. Anyway, better initializing not enough peripherals than tryin=
 g to initialize non-existing ones, I think.<br />It didn't get very far, he=
 re is the end of dmesg :<br /><br />maxncomp =3D 15<br />EREAD4(&amp;sc-&gt=
 ;sc, EHCI_HCSPARAMS) =3D ffffffff<br />forcing maxncomp to 1<br />panic : k=
 ernel diagnostic assertion &quot;(reg &amp; 0x3) =3D=3D 0&quot; failed: fil=
 e &quot;/usr/sys/arch/x86/pci/pci_machdep.c&quot;, line 476<br /></p> fatal=
  breakpoint (...)<br /><br />The function it crashes in is pci_conf_read(pc=
 i_chipset_tag_t pc, pcitag_t tag, int reg)<br /><br />I haven't inspected t=
 his further yet.<br /><br /><blockquote style=3D"padding-left: 5px; margin-=
 left: 5px; border-left: 2px solid #ff0000">&gt; Message du 26/08/12 09:19<b=
 r />&gt; De : &quot;Christos Zoulas&quot; <br />&gt; A : &quot;jc.lynx&quot=
 ; , gnats-bugs@NetBSD.org, port-i386-maintainer@netbsd.org, gnats-admin@net=
 bsd.org, netbsd-bugs@netbsd.org<br />&gt; Copie &agrave; : <br />&gt; Objet=
  : Re: port-i386/46808: 6.0_BETA2 install crashes on VIA VT6202 detection<b=
 r />&gt;<br />&gt; On Aug 25, 11:21pm, jc.lynx@laposte.net (&quot;jc.lynx&q=
 uot;) wrote:<br />&gt; -- Subject: Re: port-i386/46808: 6.0_BETA2 install c=
 rashes on VIA VT6202 dete<br />&gt; <br />&gt; | OK. I've installed NetBSD =
 on another machine and done the following alterat=3D<br />&gt; | ions to eh=
 ci_pci.c<br />&gt; | <br />&gt; | Replaced :<br />&gt; | <br />&gt; | const=
  u_int maxncomp =3D3D EHCI_HCS_N_CC(EREAD4(&amp;sc-&gt;sc, EHCI_HCSPARAMS))=
 ;<br />&gt; | <br />&gt; | with :<br />&gt; | <br />&gt; | const u_int vovo=
  =3D3D EREAD4(&amp;sc-&gt;sc, EHCI_HCSPARAMS);<br />&gt; | const u_int maxn=
 comp =3D3D EHCI_HCS_N_CC(vovo);<br />&gt; | printf(&quot;maxncomp =3D3D %u\=
 n&quot;, maxncomp);<br />&gt; | printf(&quot;EREAD4(&amp;sc-&gt;sc, EHCI_HC=
 SPARAMS) =3D3D %x, vovo);<br />&gt; | <br />&gt; | I hope I got the types r=
 ight.<br />&gt; | Anyway, I burned and booted boot.iso and got this :<br />=
 &gt; | <br />&gt; | maxncomp =3D3D 15<br />&gt; | EREAD4(&amp;sc-&gt;sc, EH=
 CI_HCSPARAMS) =3D3D ffffffff<br />&gt; | <br />&gt; | So, yeah, EHCI_HCS_N_=
 CC(ffffffff), i.e. (ffffffff &gt;&gt; 12) &amp; 0xf is 15, indee=3D<br />&g=
 t; | d greater than EHCI_COMPANION_MAX which is 8 ; but I guess that this f=
 fffff=3D<br />&gt; |  is not the data we were looking for anyway.<br />&gt;=
  | I could not find code related to &quot;special&quot; VT6202 handling in =
 other BSD's c=3D<br />&gt; | ode, except an unrelated issue with EHCI polli=
 ng frequency.<br />&gt; | I suppose we now have to dig into how sc was init=
 ialised, or whether EREAD4=3D<br />&gt; | (&amp;sc-&gt;sc, EHCI_HCS_PARAMS)=
  is the way to get what we were looking for on th=3D<br />&gt; | is particu=
 lar device.<br />&gt; <br />&gt; Thsat it a good way to debug it, but you c=
 an just try to clamp it to<br />&gt; EHCI_COMPANION_MAX after you print a w=
 arning and see if it gets you<br />&gt; further. My guess is that something=
  else is wrong and the device is<br />&gt; not mapped or initialized proper=
 ly. Perhaps there is something in<br />&gt; the bios you can change?<br />&=
 gt; <br />&gt; christos<br />&gt; </blockquote><BR><BR><a target=3D_blank h=
 ref=3Dhttp://www.laposte.net/Archiver/index.jsp><img style=3D"margin: 0pt;"=
  src=3D"http://webmail-qualif-testobs.laposte.net/webmail/fr_FR/panels/imag=
 es/Pied_de_Mail_DGP.gif" alt=3D""><a>
 ------=_Part_14267_568834531.1346849718984--

From: christos@zoulas.com (Christos Zoulas)
To: "jc.lynx" <jc.lynx@laposte.net>, gnats-bugs@NetBSD.org, 
	port-i386-maintainer@netbsd.org, gnats-admin@netbsd.org, 
	netbsd-bugs@netbsd.org
Cc: 
Subject: Re: port-i386/46808: 6.0_BETA2 install crashes on VIA VT6202 detection
Date: Wed, 5 Sep 2012 09:54:57 -0400

 On Sep 5,  2:55pm, jc.lynx@laposte.net ("jc.lynx") wrote:
 -- Subject: Re: port-i386/46808: 6.0_BETA2 install crashes on VIA VT6202 dete

 | OK, I set maxncomp to 1 since it seems to be this value on my other NetBSD =
 | machine : 1 companion which has 4 ports. Anyway, better initializing not en=
 | ough peripherals than trying to initialize non-existing ones, I think.
 | It didn't get very far, here is the end of dmesg :

 Ok, seems that the device is probably not powered on or initialized properly
 by the BIOS. Are there any bios settings you can change?

 christos

From: "jc.lynx" <jc.lynx@laposte.net>
To: Christos Zoulas <christos@zoulas.com>, gnats-bugs@NetBSD.org, 
	port-i386-maintainer@netbsd.org, gnats-admin@netbsd.org, 
	netbsd-bugs@netbsd.org
Cc: 
Subject: Re: port-i386/46808: 6.0_BETA2 install crashes on VIA VT6202
 detection
Date: Thu, 06 Sep 2012 22:44:12 +0200

 ------=_Part_115453_725154853.1346964252348
 Content-Type: text/plain; charset=UTF-8
 Content-Transfer-Encoding: quoted-printable

  > Ok, seems that the device is probably not powered on or initialized prop=
 erly
 > by the BIOS. Are there any bios settings you can change?
 >
 > christos
 >

 The only related BIOS setting I could find - apart from the boot order - is=
  "legacy USB support". Turning it off didn't change anything.


 Une messagerie gratuite, garantie =C3=A0 vie et des services en plus, =C3=
 =A7a vous tente ?
 Je cr=C3=A9e ma bo=C3=AEte mail www.laposte.net

 ------=_Part_115453_725154853.1346964252348
 Content-Type: text/html; charset=UTF-8
 Content-Transfer-Encoding: 7bit

  <blockquote style="padding-left: 5px; margin-left: 5px; border-left: 2px solid #ff0000">&gt; Ok, seems that the device is probably not powered on or initialized properly<br />&gt; by the BIOS. Are there any bios settings you can change?<br />&gt; <br />&gt; christos<br />&gt;<br /><br />The only related BIOS setting I could find - apart from the boot order - is &quot;legacy USB support&quot;. Turning it off didn't change anything.<br /></blockquote><BR><BR><a target=_blank href=http://www.laposte.net/Archiver/index.jsp><img style="margin: 0pt;" src="http://webmail.laposte.net/webmail/fr_FR/panels/images/Pied_de_Mail_DGP.gif" alt=""><a>
 ------=_Part_115453_725154853.1346964252348--

From: christos@zoulas.com (Christos Zoulas)
To: "jc.lynx" <jc.lynx@laposte.net>, gnats-bugs@NetBSD.org, 
	port-i386-maintainer@netbsd.org, gnats-admin@netbsd.org, 
	netbsd-bugs@netbsd.org
Cc: 
Subject: Re: port-i386/46808: 6.0_BETA2 install crashes on VIA VT6202 detection
Date: Thu, 6 Sep 2012 16:52:37 -0400

 On Sep 6, 10:44pm, jc.lynx@laposte.net ("jc.lynx") wrote:
 -- Subject: Re: port-i386/46808: 6.0_BETA2 install crashes on VIA VT6202 dete


 I would try some of the pci kernel options next:

 These are interesting for both:
 GENERIC:#options        PCIVERBOSE      # verbose PCI device autoconfig messages
 GENERIC:#options        PCI_CONFIG_DUMP # verbosely dump PCI config space

 I would probably built the first kernel with:
 GENERIC:#options        PCIBIOS                 # PCI BIOS support
 GENERIC:#options        PCIBIOSVERBOSE          # PCI BIOS verbose info

 I would not use that:
 GENERIC:#options        PCIBIOS_IRQS_HINT=0x0a00 # PCI interrupts hint. IRQ 9 or 11

 But use that with the first kernel:
 GENERIC:#options        PCIBIOS_INTR_GUESS      # see pcibios(4)

 These are not relevant:
 GENERIC:#options        PCIBIOS_LIBRETTO_FIXUP  # this code makes the Toshiba Libretto
 GENERIC:#options        PCIBIOS_SHARP_MM20_FIXUP # this code makes the Sharp MM 20

 This is interesting for both:
 GENERIC:#options        PCIINTR_DEBUG           # super-verbose PCI interrupt fixup

 And another kernel with those:
 GENERIC:#options        PCI_ADDR_FIXUP          # fixup PCI I/O addresses
 GENERIC:#options        PCI_BUS_FIXUP           # fixup PCI bus numbering
 GENERIC:#options        PCI_INTR_FIXUP          # fixup PCI interrupt routing

 christos

From: "jc.lynx" <jc.lynx@laposte.net>
To: Christos Zoulas <christos@zoulas.com>, gnats-bugs@NetBSD.org, 
	port-i386-maintainer@netbsd.org, gnats-admin@netbsd.org, 
	netbsd-bugs@netbsd.org
Cc: 
Subject: Re: port-i386/46808: 6.0_BETA2 install crashes on VIA VT6202
 detection
Date: Tue, 02 Oct 2012 21:21:27 +0200

 Returning from holidays...
 On the build machine, I added a config file for the first settings you sugg=
 ested and called it EHCITEST1.
 Build.sh (-u) release, kernel=3DEHCITEST1, releasekernel=3DEHCITEST1, iso-i=
 mage. Not sure I needed all these but=20
 anyway, I got a proper iso image to burn.
 What's my problem now is booting the EHCITEST1 kernel ! Dropping to boot pr=
 ompt, I didn't find how to boot a=20
 kernel other than netbsd - which I guess is a copy of netbsd-GENERIC ? I di=
 dn't find much documentation about=20
 this. I tried to navigate to the i386/binary/kernel directory but with no s=
 uccess :
 ls, ls . or ls / printed "not a directory"
 default device is cd0a but "dev" didn't print it as an available device (th=
 ere were only the HD partitions and FD=20
 drive)

 Can you give me some advice ?

 Regards,
 Jean-Charles

 Une messagerie gratuite, garantie =C3=A0 vie et des services en plus, =C3=
 =A7a vous tente ?
 Je cr=C3=A9e ma bo=C3=AEte mail www.laposte.net

From: christos@zoulas.com (Christos Zoulas)
To: "jc.lynx" <jc.lynx@laposte.net>, gnats-bugs@NetBSD.org, 
	port-i386-maintainer@netbsd.org, gnats-admin@netbsd.org, 
	netbsd-bugs@netbsd.org
Cc: 
Subject: Re: port-i386/46808: 6.0_BETA2 install crashes on VIA VT6202 detection
Date: Tue, 2 Oct 2012 15:40:16 -0400

 On Oct 2,  9:21pm, jc.lynx@laposte.net ("jc.lynx") wrote:
 -- Subject: Re: port-i386/46808: 6.0_BETA2 install crashes on VIA VT6202 dete

 | Returning from holidays...
 | On the build machine, I added a config file for the first settings you sugg=
 | ested and called it EHCITEST1.
 | Build.sh (-u) release, kernel=3DEHCITEST1, releasekernel=3DEHCITEST1, iso-i=
 | mage. Not sure I needed all these but=20
 | anyway, I got a proper iso image to burn.
 | What's my problem now is booting the EHCITEST1 kernel ! Dropping to boot pr=
 | ompt, I didn't find how to boot a=20
 | kernel other than netbsd - which I guess is a copy of netbsd-GENERIC ? I di=
 | dn't find much documentation about=20
 | this. I tried to navigate to the i386/binary/kernel directory but with no s=
 | uccess :
 | ls, ls . or ls / printed "not a directory"
 | default device is cd0a but "dev" didn't print it as an available device (th=
 | ere were only the HD partitions and FD=20
 | drive)
 | 
 | Can you give me some advice ?

 In the boot prompt:

 boot cd0a:EHCITEST1

 should work, or try cd0d...

 christos

From: "jc.lynx" <jc.lynx@laposte.net>
To: Christos Zoulas <christos@zoulas.com>, gnats-bugs@NetBSD.org, 
	port-i386-maintainer@netbsd.org, gnats-admin@netbsd.org, 
	netbsd-bugs@netbsd.org
Cc: 
Subject: Re: port-i386/46808: 6.0_BETA2 install crashes on VIA VT6202
 detection
Date: Tue, 02 Oct 2012 23:51:12 +0200

 > In the boot prompt:
 >=20
 > boot cd0a:EHCITEST1
 >=20
 > should work, or try cd0d...
 >=20
 > christos

 Doesn't work, file not found...
 since "boot netbsd" does work I guess we are at the root of the CD (where "=
 netbsd" is the only kernel), but I can't ls=20
 anything...

 Une messagerie gratuite, garantie =C3=A0 vie et des services en plus, =C3=
 =A7a vous tente ?
 Je cr=C3=A9e ma bo=C3=AEte mail www.laposte.net

From: christos@zoulas.com (Christos Zoulas)
To: "jc.lynx" <jc.lynx@laposte.net>, gnats-bugs@NetBSD.org, 
	port-i386-maintainer@netbsd.org, gnats-admin@netbsd.org, 
	netbsd-bugs@netbsd.org
Cc: 
Subject: Re: port-i386/46808: 6.0_BETA2 install crashes on VIA VT6202 detection
Date: Tue, 2 Oct 2012 18:43:00 -0400

 On Oct 2, 11:51pm, jc.lynx@laposte.net ("jc.lynx") wrote:
 -- Subject: Re: port-i386/46808: 6.0_BETA2 install crashes on VIA VT6202 dete

 | > In the boot prompt:
 | >=20
 | > boot cd0a:EHCITEST1
 | >=20
 | > should work, or try cd0d...
 | >=20
 | > christos
 | 
 | Doesn't work, file not found...
 | since "boot netbsd" does work I guess we are at the root of the CD (where "=
 | netbsd" is the only kernel), but I can't ls=20
 | anything...
 | 
 | Une messagerie gratuite, garantie =C3=A0 vie et des services en plus, =C3=
 | =A7a vous tente ?
 | Je cr=C3=A9e ma bo=C3=AEte mail www.laposte.net

 can you disable ehci boot and look at the root of the cd?

 christos

State-Changed-From-To: open->feedback
State-Changed-By: cjep@NetBSD.org
State-Changed-When: Sat, 08 May 2021 17:20:50 +0000
State-Changed-Why:
Awaiting feedback


State-Changed-From-To: feedback->open
State-Changed-By: dholland@NetBSD.org
State-Changed-When: Sat, 08 May 2021 19:01:17 +0000
State-Changed-Why:
feedback requests to that address will never work


State-Changed-From-To: open->feedback
State-Changed-By: dholland@NetBSD.org
State-Changed-When: Sat, 08 May 2021 19:03:14 +0000
State-Changed-Why:
try again with the address used in followups: in 2012 this was left hanging
with a question; to make progress we need more information.
(or we can just give up)


From: jc.lynx@laposte.net
To: gnats-bugs@NetBSD.org
Cc: 
Subject: Re: port-i386/46808
Date: Sat, 5 Jun 2021 12:53:12 +0200 (CEST)

 ------=_Part_2544107_1256271630.1622890392594
 Content-Type: text/plain; charset=UTF-8
 Content-Transfer-Encoding: quoted-printable

 =E2=80=8CHi,
 Sorry for the late reply - although I still have this machine, its power br=
 ick is long dead...I'll see if I can get a new one and check if 9.2 boots, =
 just so we know. I probably won't try any further than that, this laptop is=
  just too outdated for my use now (448 MiB DDR, 90W power draw, cooled by n=
 o less than three very loud fans...)

 ------=_Part_2544107_1256271630.1622890392594
 Content-Type: text/html; charset=UTF-8
 Content-Transfer-Encoding: quoted-printable

 <div style=3D"font-family:Arial, Helvetica, sans-serif; font-size:12px; col=
 or:#00000">=E2=80=8CHi,<br>
 Sorry for the late reply - although I still have this machine, its power br=
 ick is long dead...I'll see if I can get a new one and check if 9.2 boots, =
 just so we know. I probably won't try any further than that, this laptop is=
  just too outdated for my use now (448 MiB DDR, 90W power draw, cooled by n=
 o less than three very loud fans...)</div>

 ------=_Part_2544107_1256271630.1622890392594--

From: David Holland <dholland-bugs@netbsd.org>
To: gnats-bugs@netbsd.org
Cc: 
Subject: Re: port-i386/46808
Date: Mon, 7 Jun 2021 02:43:44 +0000

 On Sun, Jun 06, 2021 at 02:55:01AM +0000, jc.lynx@laposte.net wrote:
  > Sorry for the late reply - although I still have this machine, its
  > power brick is long dead...I'll see if I can get a new one and
  > check if 9.2 boots, just so we know. I probably won't try any
  > further than that, this laptop is just too outdated for my use now
  > (448 MiB DDR, 90W power draw, cooled by no less than three very
  > loud fans...)

 No worries -- if you get to it, let us know, if you get tired of gnats
 bugging you let us know, etc.

 note that someone on this end should have set it to ask you for a
 reply back in 2012, but that apparently got missed.

 if it goes another eight and a half years we'll probably just close it :-)

 -- 
 David A. Holland
 dholland@netbsd.org

>Unformatted:

NetBSD Home
NetBSD PR Database Search

(Contact us) $NetBSD: query-full-pr,v 1.46 2020/01/03 16:35:01 leot Exp $
$NetBSD: gnats_config.sh,v 1.9 2014/08/02 14:16:04 spz Exp $
Copyright © 1994-2020 The NetBSD Foundation, Inc. ALL RIGHTS RESERVED.