Subject: Re: port-hpcsh/32568: current hpcsh kernel is broken
To: None <port-hpcsh-maintainer@netbsd.org, gnats-admin@netbsd.org,>
From: Valeriy E. Ushakov <uwe@ptc.spbu.ru>
List: netbsd-bugs
Date: 01/22/2006 00:00:03
The following reply was made to PR port-hpcsh/32568; it has been noted by GNATS.

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