From ATuretta@commit.it  Mon Sep 15 05:02:40 2003
Return-Path: <ATuretta@commit.it>
Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125])
	by hub.freebsd.org (Postfix) with ESMTP id 4509D16A4C0
	for <FreeBSD-gnats-submit@freebsd.org>; Mon, 15 Sep 2003 05:02:40 -0700 (PDT)
Received: from mailbox.rainbownet.com (mailbox.rainbownet.com [213.174.191.133])
	by mx1.FreeBSD.org (Postfix) with ESMTP id 6E24843FDD
	for <FreeBSD-gnats-submit@freebsd.org>; Mon, 15 Sep 2003 05:02:38 -0700 (PDT)
	(envelope-from ATuretta@commit.it)
Received: from WorldClient ([127.0.0.1])
	(authenticated user aturetta@rainbownet.com)
	by rainbownet.com (rainbownet.com [127.0.0.1])
	(MDaemon.PRO.v6.8.4.R)
	with ESMTP id 38-md50000000201.tmp
	for <FreeBSD-gnats-submit@freebsd.org>; Mon, 15 Sep 2003 14:00:03 +0200
Received: from [62.110.141.131] via WorldClient with HTTP;
	Mon, 15 Sep 2003 14:00:02 +0200
Message-Id: <WorldClient-F200309151400.AA00020166@rainbownet.com>
Date: Mon, 15 Sep 2003 14:00:02 +0200
From: "Angelo Turetta" <ATuretta@commit.it>
To: FreeBSD-gnats-submit@freebsd.org
Subject: Fwd: MODE_SENSE_BIG timeout hanging boot if CD-ROM is jumpered as
	master

>Number:         56889
>Category:       kern
>Synopsis:       MODE_SENSE_BIG timeout hanging boot if CD-ROM is jumpered
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    sos
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Mon Sep 15 05:10:13 PDT 2003
>Closed-Date:    Fri Aug 27 17:40:11 GMT 2004
>Last-Modified:  Fri Aug 27 17:40:11 GMT 2004
>Originator:     Angelo Turetta
>Release:        FreeBSD 4.9-PRERELEASE i386
>Organization:
>Environment:
System: FreeBSD fw.ceditsrl.it 4.9-PRERELEASE FreeBSD 4.9-PRERELEASE #1:
Wed Sep 10 19:03:39 CEST 2003
toor@fw.ceditsrl.it:/usr/obj/usr/src/sys/CEDIT2 i386

	Intel 82801 chipset
	Pentium IV 2400
	Intel ICH4 builti-in ATA100 controller
	Maxtor 6E040L0 as master device on primary ATA bus
	Samsung CD-ROM SC-152A on secondary ATA bus

>Description:
	When the CD-ROM is set as master on its own bus (the factory 
setting
	on the PC I was installing) the kernel boot process stops after
	detecting ad0 and acd0. From then on, a seemingly endless 
sequence of

    acd0: MODE_SENSE_BIG command timeout - resetting
    ata1: resetting devices .. done

	lines are displayed on the screen.

>How-To-Repeat:

>Fix:
	Re-jumpering the CD-ROM to act as slave (instead of master)
	solves the problem. This hint was found in a message from a 
mailing
	list, and not on PR kern/36610 (which was recently closed, but the
	promlem is not solved)

>Release-Note:
>Audit-Trail:

From: Angelo Turetta <aturetta@commit.it>
To: freebsd-gnats-submit@FreeBSD.org, ATuretta@commit.it
Cc:  
Subject: Re: kern/56889: MODE_SENSE_BIG timeout hanging boot if CD-ROM is
 master
Date: Tue, 16 Sep 2003 13:18:29 +0200

 As a partial correction, the number of retries after timeout on boot is 
 limited to 20, after which the boot continues but the CD-ROM is later 
 unavailable for mount(8)
 

From: "Jacob Metro" <j.metro@juno.com>
To: <freebsd-gnats-submit@FreeBSD.org>, <ATuretta@commit.it>
Cc:  
Subject: Re: kern/56889: MODE_SENSE_BIG timeout hanging boot if CD-ROM is jumpered
Date: Fri, 26 Sep 2003 20:16:33 -0500

 This is a multi-part message in MIME format.
 
 ------=_NextPart_000_0008_01C3846B.141F7980
 Content-Type: text/plain;
 	charset="iso-8859-1"
 Content-Transfer-Encoding: quoted-printable
 
 As a newcomer to FREEBSD....
 Using AOPEN CD-956E (standard generic CDROM) and ACER 656A (also a =
 standard generic CDROM) I am also getting a timeout error (the exact =
 same one mentioned by ATURETTA) during the beginning of the install =
 process.
 If I give the system it's 20 odd times to timeout, I'll eventually get =
 to the copy phase (Windows terms) and get a mount error on that device =
 (obviously because it can't see the cdrom anymore).  I'm going to try =
 with another brand of CDROM drive.  Everything else seems fine.  One =
 boths drives I've tried using CS, Master, and Slave.  Same issue.  I''m =
 using the excellent book Absolute BSD and it seems to be doing a great =
 job helping me navigate.
 Thanks in advance for any help.
 Jacob Metro
 P.S. I've googled for about two hours now but only found a few =
 suggestions (such as change from Master to Slave and make sure your IDE =
 is supported) which might help me.  I'm using a standard Intel IDE =
 (ICH4).
 
 ------=_NextPart_000_0008_01C3846B.141F7980
 Content-Type: text/html;
 	charset="iso-8859-1"
 Content-Transfer-Encoding: quoted-printable
 
 <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
 <HTML><HEAD>
 <META http-equiv=3DContent-Type content=3D"text/html; =
 charset=3Diso-8859-1">
 <META content=3D"MSHTML 6.00.2800.1226" name=3DGENERATOR>
 <STYLE></STYLE>
 </HEAD>
 <BODY bgColor=3D#ffffff>
 <DIV><FONT face=3DArial size=3D2>As a newcomer to =
 FREEBSD....</FONT></DIV>
 <DIV><FONT face=3DArial size=3D2>Using AOPEN CD-956E (standard generic =
 CDROM) and=20
 ACER 656A (also a standard generic CDROM) I am also getting a timeout =
 error (the=20
 exact same one mentioned by ATURETTA) during the beginning of the =
 install=20
 process.</FONT></DIV>
 <DIV><FONT face=3DArial size=3D2>If I give the system it's 20 odd times =
 to timeout,=20
 I'll eventually get to the copy phase (Windows terms) and get a mount =
 error on=20
 that device (obviously because it can't see the cdrom anymore).&nbsp; =
 I'm going=20
 to try with another brand of CDROM drive.&nbsp; Everything else seems=20
 fine.&nbsp; One boths drives I've tried using CS, Master, and =
 Slave.&nbsp; Same=20
 issue.&nbsp; I''m using the excellent book Absolute BSD and it seems to =
 be doing=20
 a great job helping me navigate.</FONT></DIV>
 <DIV><FONT face=3DArial size=3D2>Thanks in advance for any =
 help.</FONT></DIV>
 <DIV><FONT face=3DArial size=3D2>Jacob Metro</FONT></DIV>
 <DIV><FONT face=3DArial size=3D2>P.S. I've googled for about two hours =
 now but only=20
 found a few suggestions (such as change from Master to Slave and make =
 sure your=20
 IDE is supported) which might help me.&nbsp; I'm using a standard Intel =
 IDE=20
 (ICH4).</FONT></DIV>
 <DIV><FONT face=3DArial size=3D2></FONT>&nbsp;</DIV></BODY></HTML>
 
 ------=_NextPart_000_0008_01C3846B.141F7980--
 
Responsible-Changed-From-To: freebsd-bugs->sos 
Responsible-Changed-By: arved 
Responsible-Changed-When: Fri Aug 27 16:54:05 GMT 2004 
Responsible-Changed-Why:  
over to ATA Maintainer 

http://www.freebsd.org/cgi/query-pr.cgi?pr=56889 
State-Changed-From-To: open->closed 
State-Changed-By: sos 
State-Changed-When: Fri Aug 27 17:37:36 GMT 2004 
State-Changed-Why:  
THere has been trouble with those "fake slave" devices several 
times, I belive its fixed now and 5.3 shouldn't have those problems 
(neither does current). 
PS: Please keep mails as text only, html will cause at least my  
mailer to skip it as spam/junk :) 


http://www.freebsd.org/cgi/query-pr.cgi?pr=56889 
>Unformatted:
 as
 master
