Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 5 Apr 2005 08:30:09 GMT
From:      Dmitry Pryanishnikov <dmitry@atlantis.dp.ua>
To:        freebsd-i386@FreeBSD.org
Subject:   Re: i386/78929: atapicam prevents boot, system hangs
Message-ID:  <200504050830.j358U9X0061569@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help
The following reply was made to PR i386/78929; it has been noted by GNATS.

From: Dmitry Pryanishnikov <dmitry@atlantis.dp.ua>
To: freebsd-gnats-submit@FreeBSD.org, harrycoin@quietfountain.com
Cc:  
Subject: Re: i386/78929: atapicam prevents boot, system hangs
Date: Tue, 05 Apr 2005 11:24:52 +0300

 Hello!
 
   I'm having similar troubles with ATAPICAM under 5.4-PRERELEASE 
 CVSupped at the end of April (after small cosmetical changes came into 
 RELENG_5). My CD-RW drive is AOpen CRW5232, it uses UDMA33 by default. 
 The most interesting thing is that drive passes ATAPICAM initialization 
 normally:
 
 1) when it is connected to motherboard's ICH4 ATA controller; or
 2) when I set hw.ata.atapi_dma=0 from the loader.
 
 It hanges only when it is connected to Promise Ultra 100 TX2 controller 
 and uses UDMA mode during the boot. So I can set hw.ata.atapi_dma=0
 in order to boot system and later set UDMA33 back using atacontrol - my
 drive then works correctly even on the Promise.
 
  Below are references in case some advanced in kernel programming
 person wants to fix this annoying bug:
 
     kernel configuration:
 
 ftp://external.atlantis.dp.ua/FreeBSD/PR/78929/lynx
 
      boot messages with hw.ata.atapi_dma set to 0:
 
 ftp://external.atlantis.dp.ua/FreeBSD/PR/78929/dmesg.boot
  
     some screenshots for the verbose boot with hw.ata.atapi_dma=1 and 
     CD-RW attached to Promise controller:
 
 ftp://external.atlantis.dp.ua/FreeBSD/PR/78929/1.jpg
 ftp://external.atlantis.dp.ua/FreeBSD/PR/78929/2.jpg
 ftp://external.atlantis.dp.ua/FreeBSD/PR/78929/3.jpg
 ftp://external.atlantis.dp.ua/FreeBSD/PR/78929/4.jpg
 
  System doesn't proceed after 4.jpg. I just don't understand why it 
 passes initialization at ICH4 - timing problems?
 
 Sincerely, Dmitry
 -- 
 Atlantis ISP, System Administrator
 nic-hdl: LYNX-RIPE
 
 



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200504050830.j358U9X0061569>