NetBSD Problem Report #11049

Received: (qmail 22297 invoked from network); 20 Sep 2000 17:44:05 -0000
Message-Id: <200009201744.KAA11073@nbwww.isc.org>
Date: Wed, 20 Sep 2000 10:44:02 -0700 (PDT)
From: riede@security.kpnqwest.com
Reply-To: riede@security.kpnqwest.com
To: gnats-bugs@gnats.netbsd.org
Subject: NetBSD can't access IBM microdrive on NEC Mobilepro 770
X-Send-Pr-Version: www-1.0

>Number:         11049
>Category:       port-hpcmips
>Synopsis:       NetBSD can't access IBM microdrive on NEC Mobilepro 770
>Confidential:   no
>Severity:       serious
>Priority:       high
>Responsible:    port-hpcmips-maintainer
>State:          closed
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Wed Sep 20 17:45:00 +0000 2000
>Closed-Date:    Fri Dec 05 06:18:28 +0000 2003
>Last-Modified:  Fri Dec 05 06:18:28 +0000 2003
>Originator:     Dr. Christian Riede
>Release:        1.5_ALPHA2/snapshot 20000914
>Organization:
KPNQwest Germany GmbH
>Environment:
Nec Mobilepro 770, IBM Microdrive in CF Slot, NE2000-Ethernet in PCMCIA slot

NetBSD 1.5_ALPHA2 (GENERIC) #13: Thu Sep 14 16:07:32 JST 2000
    shin@touji.localnet:/u/obj/release/sys/arch/hpcmips/compile/GENERIC
NEC MobilePro 770 (NEC VR4121 rev0.0 131.072MHz)
total memory = 32768 KB
avail memory = 27760 KB                                                         

>Description:
while booting, the kernel finds 2 disks instead of one. 
It can't access any of them. Here the boot output:

mem_cluster_cnt = 2
mem_clusters[0] = {0x0,0x25d000}
mem_clusters[1] = {0x25d000,0x1da3000}
loading 0x25d000,0x1da3000
Copyright (c) 1996, 1997, 1998, 1999, 2000
    The NetBSD Foundation, Inc.  All rights reserved.
Copyright (c) 1982, 1986, 1989, 1991, 1993
    The Regents of the University of California.  All rights reserved.

NetBSD 1.5_ALPHA2 (GENERIC) #13: Thu Sep 14 16:07:32 JST 2000
    shin@touji.localnet:/u/obj/release/sys/arch/hpcmips/compile/GENERIC
NEC MobilePro 770 (NEC VR4121 rev0.0 131.072MHz)
total memory = 32768 KB
avail memory = 27760 KB
using 435 buffers containing 1740 KB of memory
/u/src/release/src/sys/arch/hpcmips/vr/vr.c(294): vr_bus_reset() not implemented.
mainbus0 (root)
cpu0 at mainbus0: NEC VR4100 CPU (0xc60) Rev. 6.0 with software emulated floating point Rev. 0.0
cpu0: L1 cache: 16KB/16B instruction, 8KB/16B data, direct mapped
cpu0: No L2 cache
cpu0: install VR specific idle routine
vrip0 at mainbus0
vrcmu0 at vrip0 addr 0xb000060-0xb00007f
vrgiu0 at vrip0 addr 0xb000100-0xb00011f intr 8
pwctl0 at vrgiu0 port=14 id=0 on=1
vrbcu0 at vrip0 addr 0xb000000-0xb00001f
vrbcu: cpu 131.072MHz, bus 32.768MHz, ram 65.536MHz
com0 at vrip0 addr 0xc000000-0xc000007 intr 9: ns16550a, working fifo
com0: console
vrrtc0 at vrip0 addr 0xb0000c0-0xb0000df intr 2
vrkiu0 at vrip0 addr 0xb000180-0xb00019f intr 7
wskbd0 at vrkiu0 mux 1
vrpmu0 at vrip0 addr 0xb0000a0-0xb0000bf intr 1
vrpmu: GPIO[3] activation
vrdsu0 at vrip0 addr 0xb0000e0-0xb0000e7
vrpiu0 at vrip0 addr 0xb000120-0xb0002bf intr 5
wsmouse0 at vrpiu0 mux 0
vrisab0 at vrgiu0:ISA port 0x14000000-0x18000000 mem 0x10000000-0x20000000
isa0 at vrisab0
pcic0 at isa0 port 0x3e0-0x3e1 iomem 0x70000-0x73fff irq 589827
pcic0: controller 0 (Intel 82365SL Revision 1) has sockets A and B
pcic0: controller 1 (Intel 82365SL Revision 1) has socket A only
pcmcia0 at pcic0 controller 0 socket 0
pcmcia1 at pcic0 controller 0 socket 1
pcmcia at pcic0 controller 1 socket 0 not configured
bivideo0 at mainbus0: pseudo video controller
hpcfb0 at bivideo0: hpcrasops 640x240 pixels, 65536 colors, 80x24 chars: tvram redraw
wsdisplay0 at hpcfb0
wsdisplay0: screen 0 added (std, vt100 emulation)
btnmgr0 at mainbus0
wskbd1 at btnmgr0 mux 1
hpcapm0 at mainbus0: pseudo power management module
apmdev0 at hpcapm0: Power Management spec V1.2
/u/src/release/src/sys/arch/hpcmips/vr/vr.c(294): vr_bus_reset() not implemented.
pcic0: using irq 589827 for socket events
wdc1 at pcmcia0 function 0 port 0x14000400-0x1400040f                           
wd0 at wdc1 channel 0 drive 0: <IBM-DMDM-10340>
wd0: drive supports 16-sector pio transfers, lba addressing
wd0: 342 MB, 695 cyl, 16 head, 63 sec, 512 bytes/sect x 700560 sectors
wd1 at wdc1 channel 0 drive 1: <ST506>
wd1: drive supports 1-sector pio transfers, chs addressing
wd1: 69632 KB, 1024 cyl, 8 head, 17 sec, 512 bytes/sect x 139264 sectors
ne0 at pcmcia1 function 0 port 0x300-0x30f port 0x310-0x31f
ne0: I-O DATA PCLA/TE Ethernet
ne0: Ethernet address 00:00:e8:6a:8e:06
boot device: wd0
root on wd0a dumps on wd0b
pcmcia0: card irq 3
wdc1:0:0: recal drive fault
wd0d: device fault reading fsbn 0 (wd0 bn 0; cn 0 tn 0 sn 0), retrying
wdc1:0:0: not ready, st=0xff, err=0x00
wd0d: device timeout reading fsbn 0 (wd0 bn 0; cn 0 tn 0 sn 0), retrying
wdc1:0:0: not ready, st=0x00, err=0x00
wd0d: device timeout reading fsbn 0 (wd0 bn 0; cn 0 tn 0 sn 0), retrying
wdc1:0:0: not ready, st=0x00, err=0x00
wd0d: device timeout reading fsbn 0 (wd0 bn 0; cn 0 tn 0 sn 0), retrying
wdc1:0:0: not ready, st=0xff, err=0x00
wd0d: device timeout reading fsbn 0 (wd0 bn 0; cn 0 tn 0 sn 0), retrying
wdc1:0:0: not ready, st=0x00, err=0x00
wd0d: device timeout reading fsbn 0 (wd0 bn 0; cn 0 tn 0 sn 0)
wdc1:0:0: lost interrupt
        type: ata tc_bcount: 512 tc_skip: 0
wdc1:0:0: recal timed out
wd0d: device timeout reading fsbn 0 (wd0 bn 0; cn 0 tn 0 sn 0), retrying        



>How-To-Repeat:

Boot System with PBSDBOOT.EXE and 
generic kernel with microdrive installed
>Fix:

unknown. Might have to do with wrong interrupt setup 
(Watch "pcmcia0: card irq 3" line)

>Release-Note:
>Audit-Trail:

From: Klaus Klein <kleink@security.kpnqwest.com>
To: gnats-bugs@netbsd.org
Cc:  
Subject: Re: port-hpcmips/11049 (was: A possibility to use old microdrive on
 MP770 or MP800 (fwd))
Date: Mon, 6 Nov 2000 15:09:13 +0100 (MET)

 Date: Mon, 6 Nov 2000 06:03:01 -0500
 From: Josef Kormann <josefkormann@compuserve.com>
 To: "port-hpcmips@netbsd.org" <port-hpcmips@netbsd.org>
 Subject: A possibility to use old microdrive on MP770 or MP800

 Hello out there,

 many thanks to Jun Ebihara. With his rmfiles... suggestions i was able to
 setup
 a versatile travel-installation on a CF-Card.

 Thinking about having more space to use a fullsize installation i've
 created a filesystem
 on an IBM Microdrive DMDM-10340. (extra partition wd0e for /usr)
 People who subscribed to this mailinglist know already that the vr-kernel
 has problems
 with probing the old Microdrive during the startup process in a MobilePro
 770
 and mounting / on it. (NetBSD Problem Report #11049)

 But it looks like there is one possibility to use the microdrive in these
 machines:

 1. Insert a CF-Card with a netbsd filesystem into CF-Slot. (i've also
 created extra partition for /usr)
 /etc/fstab should look like this:
 /dev/wd0a / ffs rw 1 1
 /dev/wd0b none swap sw 0 0
 /dev/wd2e /usr ffs rw 1 2
 /dev/wd0f msdos rw 0 0
 /kern /kern kernfs rw

 2. insert the microdrive into a CF to PCMCIA adaptor but don't push it into
 the pcmcia slot (yet)
 3. Load the kernel with pbsdboot and pay attention on the messages.
 4. When the kernel found the CF-Card and tries to mount / on wd0a insert
 the PCMCIA-Adaptor with
 the microdrive into the pcmcia-slot.

 On my MP770 it worked and i think it is a good idea to use microdrive only
 when extra space is needed.
 I also hope that this helps on finding a workaround for the vr-kernel to
 mount the Microdrive as / when
 booting up.
 After making friend with my developing environment i'm also trying to take
 a closer look onto vr-Sources.

 Bye
 Josef Kormann (still newbie)
 at work:
 kormann@crealog.de
 at home:
 josefkormann@compuserve.com
 experimental:
 joe@swanisle.de

State-Changed-From-To: open->feedback 
State-Changed-By: jdolecek 
State-Changed-When: Wed Nov 26 21:09:46 UTC 2003 
State-Changed-Why:  
There were some changes to ATA support, which might have fixed this issue. 
Can you confirm if your problem still happens in NetBSD 1.6ZF or later? 
State-Changed-From-To: feedback->closed 
State-Changed-By: fair 
State-Changed-When: Fri Dec 5 06:00:28 UTC 2003 
State-Changed-Why:  
KPN/Quest is no more (bankrupt in the crash), and this 
PR is over three years old. The submitter's address 
bounces with no such host. 
>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.