From nobody@FreeBSD.org  Mon Apr  8 16:41:06 2002
Return-Path: <nobody@FreeBSD.org>
Received: from freefall.freebsd.org (freefall.FreeBSD.org [216.136.204.21])
	by hub.freebsd.org (Postfix) with ESMTP id 5939E37B41D
	for <freebsd-gnats-submit@FreeBSD.org>; Mon,  8 Apr 2002 16:40:56 -0700 (PDT)
Received: (from nobody@localhost)
	by freefall.freebsd.org (8.11.6/8.11.6) id g38Neux00700;
	Mon, 8 Apr 2002 16:40:56 -0700 (PDT)
	(envelope-from nobody)
Message-Id: <200204082340.g38Neux00700@freefall.freebsd.org>
Date: Mon, 8 Apr 2002 16:40:56 -0700 (PDT)
From: John Von Essen <john@essenz.com>
To: freebsd-gnats-submit@FreeBSD.org
Subject: IDE CD-ROM and Tape Drive Not working under 4.5-STABLE
X-Send-Pr-Version: www-1.0

>Number:         36912
>Category:       kern
>Synopsis:       IDE CD-ROM and Tape Drive Not working under 4.5-STABLE
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    freebsd-bugs
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Mon Apr 08 16:50:01 PDT 2002
>Closed-Date:    Wed Apr 10 09:55:20 PDT 2002
>Last-Modified:  Wed Apr 10 09:55:20 PDT 2002
>Originator:     John Von Essen
>Release:        4.5-STABLE
>Organization:
Essenz
>Environment:
FreeBSD x.x.net 4.4-STABLE FreeBSD 4.5-STABLE #0: Sun Apr 07 22:27:41 PST 2002     root@x.x.net:/usr/src/sys/compile/TEST  i386
>Description:
Machine had the following hardware installed: Seagate Travan-5 IDE Tape Drive on secondary IDE as slave, and CD-ROM on secondary IDE as master. CD-ROM was on the last plug of the IDE cable, Tape Drive was on the middle plug. Motherboard was TYAN 2505T. Installed 4.4-RELEASE and everything worked fine. The CD-ROM was /dev/acd0c and the tape drive was /dev/rast0. Did a few test backups to the tape, no problems. 

Then I cvsup to 4.5-STABLE (4/7/02) and make world. Before building 4.5-STABLE kernel, I reboot, and everything works fine. Then I build kernel from 4.5-STABLE src and reboot, and then things stop working. The CD-ROM no longer works as /dev/acd0c. So sysinstall cant find the CD-ROM. I can however manually mount /cdrom using /dev/acd0a. The tape doesnt work at all. It either allows you to begin a backup and then craps out, or says rast0 device is not configured. By crap out, I mean the tar cvf /dev/rast0 process just stops, and cannot be killed.

Now, if I reboot and use kernel.GENERIC everything works fine, its when I use 4.5-STABLE kernel that everything gets flaky. I eventually just built a 4.4-RELEASE kernel, and kept all the 4.5-STABLE binaries and libs from make world, and this has no problems. So I am geussing there might be some bug in kernel src, maybe for ata devices or something. I have also tried removing the tape drive, and just using the CD-ROM, but that had no difference.
>How-To-Repeat:
Ideally, build 4.5-STABLE kernel on a TYAN 2505T board with at least an IDE CD-ROM. Maybe this is effecting all boards though. If I have a chance, I'll cvsup one of my other systems and see if same problems arise.
>Fix:
      
>Release-Note:
>Audit-Trail:

From: Brooks Davis <brooks@one-eyed-alien.net>
To: John Von Essen <john@essenz.com>
Cc: freebsd-gnats-submit@FreeBSD.ORG
Subject: Re: kern/36912: IDE CD-ROM and Tape Drive Not working under 4.5-STABLE
Date: Mon, 8 Apr 2002 17:01:46 -0700

 On Mon, Apr 08, 2002 at 04:40:56PM -0700, John Von Essen wrote:
 > 
 > Then I cvsup to 4.5-STABLE (4/7/02) and make world. Before building
 > 4.5-STABLE kernel, I reboot, and everything works fine. Then I build
 > kernel from 4.5-STABLE src and reboot, and then things stop working. The
 > CD-ROM no longer works as /dev/acd0c. So sysinstall cant find the
 > CD-ROM. I can however manually mount /cdrom using /dev/acd0a. The tape
 > doesnt work at all. It either allows you to begin a backup and then
 > craps out, or says rast0 device is not configured. By crap out, I mean
 > the tar cvf /dev/rast0 process just stops, and cannot be killed.
 
 Did you run the newly installed /dev/MAKEDEV, you're symptoms match a
 failure to do so.
 
 -- Brooks
State-Changed-From-To: open->closed 
State-Changed-By: brooks 
State-Changed-When: Wed Apr 10 09:54:45 PDT 2002 
State-Changed-Why:  
Problem resolved: submitted didn't install and run updated MAKEDEV. 

http://www.freebsd.org/cgi/query-pr.cgi?pr=36912 
>Unformatted:
