NetBSD Problem Report #7907

Received: (qmail 10042 invoked from network); 4 Jul 1999 03:47:45 -0000
Message-Id: <199907040349.UAA26696@guava.itojun.org>
Date: Sat, 3 Jul 1999 20:49:02 -0700 (PDT)
From: Jun-ichiro itojun Hagino <itojun@guava.itojun.org>
Reply-To: itojun@guava.itojun.org
To: gnats-bugs@gnats.netbsd.org
Subject: pcic without slot
X-Send-Pr-Version: 3.95

>Number:         7907
>Category:       kern
>Synopsis:       panic() on pcic without slot is not good for some notebook PCs
>Confidential:   no
>Severity:       serious
>Priority:       low
>Responsible:    kern-bug-people
>State:          closed
>Class:          change-request
>Submitter-Id:   net
>Arrival-Date:   Sat Jul 03 20:50:02 +0000 1999
>Closed-Date:    Tue Jul 27 04:20:21 +0000 1999
>Last-Modified:  Tue Jul 27 04:20:38 +0000 1999
>Originator:     Jun-ichiro itojun Hagino
>Release:        NetBSD 1.4 boot floppy on i386
>Organization:
	itojun.org
>Environment:
System: NetBSD guava.itojun.org 1.4 NetBSD 1.4 (GUAVA.v6) #3: Sat Jul 3 05:06:07 PDT 1999 itojun@guava.itojun.org:/usr/home/itojun/hyd/sys/arch/i386/compile/GUAVA.v6 i386


>Description:
	Some of notebook PCs have detachable docking station with PCMCIA slots.
	On DEC HiNote Ultra II, it has
		2 pcic (let's call them A and B)
		and 2 pcmcia slots for pcic A
		0 pcmcia slots for pcic B
	in the main chassis.
	pcic B serves pcmcia slots in the docking station.

	HiNote comes with a floppy docking station WITHOUT extra pcmcia slots.
	(DEC sells floppy docking station WITH extra pcmcia slots, separately)
	therefore, default configuration for HiNote Ultra II is:
		pcic A --- 2 slots
		pcic B --- 0 slots
	and it will go into panic() from sys/dev/ic/i82365.c:pcic_attach.

	They can't even run the boot floppy.
>How-To-Repeat:
	Use boot floppy with DEC HiNote Ultra II + floppy docking station
	without extra pcmcia slots.
>Fix:
	sys/dev/ic/i82365.c:pcic_attach should not panic().
	Instead,
	(1) it should abort the attach just like wdc found no wd device.
	(2) attach pcic itself, wait till the slot to appear (i.e. hot attach
		of docking station) and attach slots as necessary.
		I dunno how we can do this.
>Release-Note:
>Audit-Trail:
State-Changed-From-To: open->closed 
State-Changed-By: itojun 
State-Changed-When: Mon Jul 26 21:20:21 PDT 1999 
State-Changed-Why:  
duplicate of 7908. 
>Unformatted:

NetBSD Home
NetBSD PR Database Search

(Contact us) $NetBSD: query-full-pr,v 1.51 2026/08/10 02:28:17 riastradh Exp $
$NetBSD: gnats_config.sh,v 1.10 2026/05/13 22:00:09 riastradh Exp $
Copyright © 1994-2026 The NetBSD Foundation, Inc. ALL RIGHTS RESERVED.