NetBSD Problem Report #32568

From www@netbsd.org  Thu Jan 19 02:13:35 2006
Return-Path: <www@netbsd.org>
Received: by narn.netbsd.org (Postfix, from userid 31301)
	id 4F07563B84F; Thu, 19 Jan 2006 02:13:35 +0000 (UTC)
Message-Id: <20060119021335.4F07563B84F@narn.netbsd.org>
Date: Thu, 19 Jan 2006 02:13:35 +0000 (UTC)
From: wrzymski@gmail.com
Reply-To: wrzymski@gmail.com
To: gnats-bugs@netbsd.org
Subject: current hpcsh kernel is broken 
X-Send-Pr-Version: www-1.0

>Number:         32568
>Category:       port-hpcsh
>Synopsis:       current hpcsh kernel is broken
>Confidential:   no
>Severity:       critical
>Priority:       medium
>Responsible:    port-hpcsh-maintainer
>State:          closed
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Thu Jan 19 02:15:00 +0000 2006
>Closed-Date:    Sun Jan 22 00:21:29 +0000 2006
>Last-Modified:  Sun Jan 22 00:21:29 +0000 2006
>Originator:     Wojciech Rzymski
>Release:        HEAD 3.9.15
>Organization:
>Environment:
>Description:
Kernel from ftp://ftp.netbsd.org/pub/NetBSD-daily/HEAD/200601180000Z/hpcsh/
doesn't boot.  Using hpcboot and kernel at wd0a booting progress bar
stops at 90% and then loader crashes.  With kloader kernel is reloaded
and panics before entering init (GENERIC without ddb resets  to WinCE). 

>How-To-Repeat:

>Fix:

>Release-Note:

>Audit-Trail:

From: "Valeriy E. Ushakov" <uwe@ptc.spbu.ru>
To: gnats-bugs@netbsd.org
Cc: 
Subject: Re: port-hpcsh/32568: current hpcsh kernel is broken
Date: Sun, 22 Jan 2006 02:57:12 +0300

 My first guess is that it's probably caused by not catching up with
 wdc changes (ata_channel->ch_ndrive).  The panic I get is:

 hd64461pcmcia0 at hd64461if0
 pcmcia1 at hd64461pcmcia0
 wdc0 at pcmcia1 function 0: <Transcend    256M   , , , >
 wdc0: memory mapped mode
 panic: tlb_handler: invalid user-space access from kernel mode va=0x00000000, ssr=0x400001f1, spc=0x8c135994  lwp=0x8c1943a0 onfault=0x0
 Stopped in pid 0.1 (swapper) at netbsd:cpu_Debugger+0x6:        mov     r14, r15

 db> bt
 cpu_Debugger() at netbsd:panic+0x98
 panic() at netbsd:tlb_exception+0x3ec
 tlb_exception() at 0x8c0004ba
 <EXPEVT 040; SSR=400001f1> at netbsd:wdc_pcmcia_attach+0x1e2
 wdc_pcmcia_attach() at netbsd:config_attach_loc+0x2e8
 config_attach_loc() at netbsd:config_found_sm_loc+0x3e
 config_found_sm_loc() at netbsd:pcmcia_rescan+0x86
 pcmcia_rescan() at netbsd:pcmcia_card_attach+0x9c
 pcmcia_card_attach() at netbsd:hd64461pcmcia_attach_channel+0x126
 hd64461pcmcia_attach_channel() at netbsd:hd64461pcmcia_attach+0x34
 hd64461pcmcia_attach() at netbsd:config_attach_loc+0x2e8
 config_attach_loc() at netbsd:config_found_sm_loc+0x3e
 config_found_sm_loc() at netbsd:config_found+0x18
 config_found() at netbsd:hd64461_attach+0x2e
 hd64461_attach() at netbsd:config_attach_loc+0x2e8
 config_attach_loc() at netbsd:config_attach+0x14
 config_attach() at netbsd:shb_search+0x24
 shb_search() at netbsd:mapply+0x1c
 mapply() at netbsd:config_search_loc+0xb6
 config_search_loc() at netbsd:config_search_ia+0x10
 config_search_ia() at netbsd:shb_attach+0x1c
 shb_attach() at netbsd:config_attach_loc+0x2e8
 config_attach_loc() at netbsd:config_attach+0x14
 config_attach() at netbsd:mainbus_search+0x62
 mainbus_search() at netbsd:mapply+0x1c
 mapply() at netbsd:config_search_loc+0xb6
 config_search_loc() at netbsd:config_search_ia+0x10
 config_search_ia() at netbsd:mainbus_attach+0x32
 mainbus_attach() at netbsd:config_attach_loc+0x2e8
 config_attach_loc() at netbsd:config_attach+0x14
 config_attach() at netbsd:config_rootfound+0x28
 config_rootfound() at netbsd:cpu_configure+0x38
 cpu_configure() at netbsd:configure+0x48
 configure() at netbsd:main+0xa6
 main() at netbsd:machine_startup+0x2a6
 machine_startup() at 0


 -uwe

From: "Valeriy E. Ushakov" <uwe@ptc.spbu.ru>
To: gnats-bugs@netbsd.org
Cc: Christos Zoulas <christos@netbsd.org>
Subject: Re: port-hpcsh/32568: current hpcsh kernel is broken
Date: Sun, 22 Jan 2006 03:18:42 +0300

 On Sun, Jan 22, 2006 at 02:57:12 +0300, Valeriy E. Ushakov wrote:

 > My first guess is that it's probably caused by not catching up with
 > wdc changes (ata_channel->ch_ndrive).  The panic I get is:

 Works now.  Christos beat me to it:


 Module Name:    src
 Committed By:   christos
 Date:           Sun Jan 22 00:08:38 UTC 2006

 Modified Files:
         src/sys/dev/pcmcia: wdc_pcmcia.c

 Log Message:
 Default to 2 drives for products not listed.


 To generate a diff of this commit:
 cvs rdiff -r1.103 -r1.104 src/sys/dev/pcmcia/wdc_pcmcia.c


 -uwe

State-Changed-From-To: open->closed
State-Changed-By: uwe@netbsd.org
State-Changed-When: Sun, 22 Jan 2006 00:21:29 +0000
State-Changed-Why:
Fixed.


>Unformatted:

NetBSD Home
NetBSD PR Database Search

(Contact us) $NetBSD: query-full-pr,v 1.39 2013/11/01 18:47:49 spz Exp $
$NetBSD: gnats_config.sh,v 1.8 2006/05/07 09:23:38 tsutsui Exp $
Copyright © 1994-2007 The NetBSD Foundation, Inc. ALL RIGHTS RESERVED.