i386/78929: atapicam prevents boot, system hangs
Dmitry Pryanishnikov
dmitry at atlantis.dp.ua
Tue Apr 5 01:30:10 PDT 2005
The following reply was made to PR i386/78929; it has been noted by GNATS.
From: Dmitry Pryanishnikov <dmitry at atlantis.dp.ua>
To: freebsd-gnats-submit at FreeBSD.org, harrycoin at 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
More information about the freebsd-i386
mailing list