Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

install/50076: Error on boot NetBSD-7.0_RC1-i386 on Toshiba Tecra 550CDT

2 views
Skip to first unread message

maksim...@yandex.ru

unread,
Jul 22, 2015, 9:04:06 AM7/22/15
to
>Number: 50076
>Category: install
>Synopsis: Error on boot NetBSD-7.0_RC1-i386 on Toshiba Tecra 550CDT
>Confidential: no
>Severity: critical
>Priority: medium
>Responsible: install-manager
>State: open
>Class: sw-bug
>Submitter-Id: net
>Arrival-Date: Wed Jul 22 11:45:00 +0000 2015
>Originator: Maxim
>Release: NetBSD-7.0_RC1
>Organization:
>Environment:
Old Toshiba Tecra 550CDT (Pentium MMX 266MHz, 96M RAM).


>Description:
I'm download iso-image from this address:

http://ftp.netbsd.org/pub/NetBSD/NetBSD-7.0_RC1/iso/NetBSD-7.0_RC1-i386.iso

then write on CD-RW and boot from it on old Toshiba Tecra 550CDT (Pentium MMX 266MHz, 96M RAM).

There is fragment of kernel messages:

(start of fragment)

uvm_fault(0xc0ff0d00, 0, 1) -> 0xe
fatal page fault in supervisor mode
trap type 6 code 0 eip c0904718 cs 8 eflags 10286 cr2 1c ilevel 8 esp 1
curlwp 0xc0fa69e0 pid 0 lid 1 lowest kstack 0xc119e2c0
kernel: supervisor trap page fault, code=0
Stopped in pid 0.1 (system) at netbsd:cfparent_match+0x14: movl 1c (%esi)
,%eax
db{0}>

(end of fragment, end of boot)

On NetBSD v. 6.x.x on this Toshiba Tecra 550CDT boot process work well.

>How-To-Repeat:

>Fix:


--
Posted automagically by a mail2news gateway at muc.de e.V.
Please direct questions, flames, donations, etc. to news-...@muc.de

mar...@netbsd.org

unread,
Jul 22, 2015, 9:06:21 AM7/22/15
to
Synopsis: Error on boot NetBSD-7.0_RC1-i386 on Toshiba Tecra 550CDT

Responsible-Changed-From-To: install-manager->port-i386-maintainer
Responsible-Changed-By: mar...@NetBSD.org
Responsible-Changed-When: Wed, 22 Jul 2015 13:06:12 +0000
Responsible-Changed-Why:
probably a i386 (or kernel/device driver) bug

Joerg Sonnenberger

unread,
Jul 22, 2015, 9:20:10 AM7/22/15
to
The following reply was made to PR port-i386/50076; it has been noted by GNATS.

From: Joerg Sonnenberger <jo...@britannica.bec.de>
To: gnats...@NetBSD.org
Cc:
Subject: Re: install/50076: Error on boot NetBSD-7.0_RC1-i386 on Toshiba
Tecra 550CDT
Date: Wed, 22 Jul 2015 15:15:08 +0200

On Wed, Jul 22, 2015 at 11:45:00AM +0000, maksim...@yandex.ru wrote:
> There is fragment of kernel messages:

backtrace? (e.g. just enter bt at the DDB prompt)

Joerg

Максим Балас

unread,
Jul 23, 2015, 2:07:35 AM7/23/15
to


22.07.2015, 16:20, "Joerg Sonnenberger" <jo...@britannica.bec.de>:
> The following reply was made to PR port-i386/50076; it has been noted by GNATS.
>
> From: Joerg Sonnenberger <jo...@britannica.bec.de>
> To: gnats...@NetBSD.org
> Cc:
> Subject: Re: install/50076: Error on boot NetBSD-7.0_RC1-i386 on Toshiba
>  Tecra 550CDT
> Date: Wed, 22 Jul 2015 15:15:08 +0200
>
>  On Wed, Jul 22, 2015 at 11:45:00AM +0000, maksim...@yandex.ru wrote:
>  > There is fragment of kernel messages:
>
>  backtrace? (e.g. just enter bt at the DDB prompt)
>
>  Joerg


Hi Joerg,

I took a picture of the text messages:

http://savepic.ru/7605349.jpg
http://savepic.su/5877386.jpg
http://savepic.ru/7606373.jpg
http://savepic.su/5869194.jpg

Thanks.

WBR, Max.
Email: maksim...@yandex.ru

Максим Балас

unread,
Jul 23, 2015, 2:07:41 AM7/23/15
to
The following reply was made to PR port-i386/50076; it has been noted by GNATS.

From: =?koi8-r?B?7cHL08nNIOLBzMHT?= <maksim...@yandex.ru>
To: "gnats...@NetBSD.org" <gnats...@netbsd.org>,
"port-i386-...@netbsd.org" <port-i386-...@netbsd.org>,
"gnats...@netbsd.org" <gnats...@netbsd.org>,
"netbs...@netbsd.org" <netbs...@netbsd.org>
Cc:
Subject: Re: install/50076: Error on boot NetBSD-7.0_RC1-i386 on Toshiba Tecra 550CDT
Date: Thu, 23 Jul 2015 00:14:04 +0300

22.07.2015, 16:20, "Joerg Sonnenberger" <jo...@britannica.bec.de>:
> The following reply was made to PR port-i386/50076; it has been noted by GNATS.
>
> From: Joerg Sonnenberger <jo...@britannica.bec.de>
> To: gnats...@NetBSD.org
> Cc:
> Subject: Re: install/50076: Error on boot NetBSD-7.0_RC1-i386 on Toshiba
> šTecra 550CDT
> Date: Wed, 22 Jul 2015 15:15:08 +0200
>
> šOn Wed, Jul 22, 2015 at 11:45:00AM +0000, maksim...@yandex.ru wrote:
> š> There is fragment of kernel messages:
>
> šbacktrace? (e.g. just enter bt at the DDB prompt)
>
> šJoerg

Martin Husemann

unread,
Jul 23, 2015, 2:20:13 AM7/23/15
to
The following reply was made to PR port-i386/50076; it has been noted by GNATS.

From: Martin Husemann <mar...@duskware.de>
To: gnats...@NetBSD.org
Cc:
Subject: Re: install/50076: Error on boot NetBSD-7.0_RC1-i386 on Toshiba Tecra 550CDT
Date: Thu, 23 Jul 2015 08:19:57 +0200

For easy access in gnats: it is a kernel fault at cfparent_match, called
from config_found() at the end of oboe_attach().

The bug is pretty obvious in the source:

sc->sc_child = config_found((void *)sc, &ia, ir_print);

Can you build your own kernel for testing? If so, try the patch
below - if not, let me know.

Martin

Index: oboe.c
===================================================================
RCS file: /cvsroot/src/sys/dev/pci/oboe.c,v
retrieving revision 1.42
diff -u -r1.42 oboe.c
--- oboe.c 29 Mar 2014 19:28:25 -0000 1.42
+++ oboe.c 23 Jul 2015 06:18:38 -0000
@@ -238,7 +238,7 @@

oboe_alloc_taskfile(sc);

- sc->sc_child = config_found((void *)sc, &ia, ir_print);
+ sc->sc_child = config_found(self, &ia, ir_print);
}

static int

Maksim Balas

unread,
Jul 23, 2015, 4:32:45 AM7/23/15
to

23.07.2015, 09:20, "Martin Husemann" <mar...@duskware.de>:
Hi Martin,

the last time I compiled the kernel for more than 15 years ago, and that in Linux, so I'm not sure I can do now is correct and accurate, as it is done in NetBSD.

But I can test the iso image ready.

Thanks.

WBR, Max
Email: maksim...@yandex.ru

Maksim Balas

unread,
Jul 23, 2015, 4:37:10 AM7/23/15
to
The following reply was made to PR port-i386/50076; it has been noted by GNATS.

Cc:
Subject: Re: install/50076: Error on boot NetBSD-7.0_RC1-i386 on Toshiba Tecra 550CDT
Date: Thu, 23 Jul 2015 11:31:15 +0300

23.07.2015, 09:20, "Martin Husemann" <mar...@duskware.de>:
> The following reply was made to PR port-i386/50076; it has been noted by GNATS.
>
> From: Martin Husemann <mar...@duskware.de>
> To: gnats...@NetBSD.org
> Cc:
> Subject: Re: install/50076: Error on boot NetBSD-7.0_RC1-i386 on Toshiba Tecra 550CDT
> Date: Thu, 23 Jul 2015 08:19:57 +0200
>
> šFor easy access in gnats: it is a kernel fault at cfparent_match, called
> šfrom config_found() at the end of oboe_attach().
>
> šThe bug is pretty obvious in the source:
>
> šššššššššsc->sc_child = config_found((void *)sc, &ia, ir_print);
>
> šCan you build your own kernel for testing? If so, try the patch
> šbelow - if not, let me know.
>
> šMartin
>
> šIndex: oboe.c
> š===================================================================
> šRCS file: /cvsroot/src/sys/dev/pci/oboe.c,v
> šretrieving revision 1.42
> šdiff -u -r1.42 oboe.c
> š--- oboe.c 29 Mar 2014 19:28:25 -0000 1.42
> š+++ oboe.c 23 Jul 2015 06:18:38 -0000
> š@@ -238,7 +238,7 @@
>
> ššššššššššoboe_alloc_taskfile(sc);
>
> š- sc->sc_child = config_found((void *)sc, &ia, ir_print);
> š+ sc->sc_child = config_found(self, &ia, ir_print);
> šš}
>
> ššstatic int

mar...@netbsd.org

unread,
Jul 24, 2015, 2:20:09 AM7/24/15
to
Synopsis: Error on boot NetBSD-7.0_RC1-i386 on Toshiba Tecra 550CDT

Responsible-Changed-From-To: port-i386-maintainer->martin
Responsible-Changed-By: mar...@NetBSD.org
Responsible-Changed-When: Fri, 24 Jul 2015 06:19:58 +0000
Responsible-Changed-Why:
I fixed it


State-Changed-From-To: open->pending-pullups
State-Changed-By: mar...@NetBSD.org
State-Changed-When: Fri, 24 Jul 2015 06:19:58 +0000
State-Changed-Why:
Waiting on [pullup-7 #887]

Martin Husemann

unread,
Jul 24, 2015, 2:20:18 AM7/24/15
to
The following reply was made to PR port-i386/50076; it has been noted by GNATS.

From: "Martin Husemann" <mar...@netbsd.org>
To: gnats...@gnats.NetBSD.org
Cc:
Subject: PR/50076 CVS commit: src/sys/dev/pci
Date: Fri, 24 Jul 2015 06:17:11 +0000

Module Name: src
Committed By: martin
Date: Fri Jul 24 06:17:10 UTC 2015

Modified Files:
src/sys/dev/pci: oboe.c

Log Message:
Pass the device, not the struct softc to config_found().
Avoids a crash at attach time, PR port-i386/50076.


To generate a diff of this commit:
cvs rdiff -u -r1.42 -r1.43 src/sys/dev/pci/oboe.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
0 new messages