From owner-freebsd-bugs Wed Sep 12 12:20:11 2001 Delivered-To: freebsd-bugs@hub.freebsd.org Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by hub.freebsd.org (Postfix) with ESMTP id 69A1E37B401 for ; Wed, 12 Sep 2001 12:20:04 -0700 (PDT) Received: (from gnats@localhost) by freefall.freebsd.org (8.11.4/8.11.4) id f8CJK4280794; Wed, 12 Sep 2001 12:20:04 -0700 (PDT) (envelope-from gnats) Date: Wed, 12 Sep 2001 12:20:04 -0700 (PDT) Message-Id: <200109121920.f8CJK4280794@freefall.freebsd.org> To: freebsd-bugs@FreeBSD.org Cc: From: Christopher Shumway Subject: Re: misc/30526: inserting a Sony Ninja-ATA pcmcia style cdrom drive freezes machine Reply-To: Christopher Shumway Sender: owner-freebsd-bugs@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org The following reply was made to PR misc/30526; it has been noted by GNATS. From: Christopher Shumway To: Dane Foster Cc: Subject: Re: misc/30526: inserting a Sony Ninja-ATA pcmcia style cdrom drive freezes machine Date: Wed, 12 Sep 2001 12:17:08 -0700 (PDT) On Wed, 12 Sep 2001, Dane Foster wrote: > > >Number: 30526 > >Category: misc > >Synopsis: inserting a Sony Ninja-ATA pcmcia style cdrom drive freezes machine > >Confidential: no > >Severity: non-critical > >Priority: low > >Responsible: freebsd-bugs > >State: open > >Quarter: > >Keywords: > >Date-Required: > >Class: sw-bug > >Submitter-Id: current-users > >Arrival-Date: Wed Sep 12 10:20:00 PDT 2001 > >Closed-Date: > >Last-Modified: > >Originator: Dane Foster > >Release: 4.4-RC > >Organization: > none > >Environment: > FreeBSD crackwhore.slush.ca 4.4-RC FreeBSD 4.4-RC #0: Tue Sep 11 16:25:34 MDT 2001 root@crackwhore.slush.ca:/.amd_mnt/mort/usr/src/sys/compile/booger i386 > > >Description: > inserting the pcmcia cdrom (Sony Vaio Ninja-ATA) at any time cause the machine to freeze, no panic message. pccardd see the insert, and upon loading the driver, freezes. > debug mode prints out this message before the machine freezes: > > ata4 at port 0x180-0x187,0x386 iomem 0xd5000-0xd5fff irq 9 slot 0 on pccard 0 > > > >How-To-Repeat: > insert the pccard for the cdrom. > >Fix: > none > >Release-Note: > >Audit-Trail: > >Unformatted: If its anything like my Sony Viao Z505SX, then you need to switch the PCIC to ISA routing otherwize the machine will 'hang' as you described on the insertion of any PCMCIA cards. To switch the PCIC into ISA IRQ routing, put the following into your /boot/loader.conf: hw.pcic.intr_path=1 hw.pcic.irq=0 When you do this, you need to tell pccardd(1) to assign an IRQ to the PCMCIA device that is free on your laptop. ISA IRQ's cannot be shared with other devices. For example, on my laptop, IRQ 5 is free, so I have a line in /etc/pccard.conf that gives the IRQ as such: irq 5 --- Christopher Shumway cshumway@titan-project.org cshumway@freebsd.org To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-bugs" in the body of the message