FreeBSD 5.2-RC2 & big 160 gb HDD

Vyacheslav Silakov seal at
Mon Jan 19 06:18:41 PST 2004

Wednesday, January 14, 2004, 4:12:27 PM, you wrote:

VS> Tuesday, December 30, 2003, 6:38:19 PM, you wrote:
TM>> On Tue, 2003/12/30 at 17:16:03 +0300, Vyacheslav Silakov wrote:
>>> Hello
>>> During FreeBSD 5.2-RC2 setup process on the Sun Netra X1
>>> with 160 gb HDD drive I've got (with default HDD partition settings):
>>> Max Doing newfs -U -O2 /mnt/dev/ad0fad0:
>>> ad0: WARNING - READ_DMA recovered from missing interrupt
>>> and system completly frozes after that.

TM>> Try forcing the disk to UDMA33 (using atacontrol(8)). I have seen
TM>> similar problems on a Blade 100; my theory is that the I/O connector
TM>> board is electrically unfit to do UDMA66 (looking at the innards of
TM>> the box, that does not seem too unlikely).

TM>>         - Thomas

VS> I've used Seagate x86 Ultra ATA Mode Switching Utility
VS> to downgrade disk performance
VS> to UDMA33 (is it correct?). But the same problem is still persist on
VS> 5.2-RELEASE: system hangs during newfsing with message
VS> "WARNING - READ_DMA recovered from missing interrupt".

VS> Copyright (c) 1992-2004 The FreeBSD Project.
VS> Copyright (c) 1979, 1980, 1983, 1986, 1988, 1989, 1991, 1992, 1993, 1994
VS>         The Regents of the University of California. All rights reserved.
VS> FreeBSD 5.2-RELEASE #0: Sun Jan 11 06:09:12 GMT 2004
VS>     root at
VS> Preloaded elf kernel "/boot/kernel/kernel" at 0xc0852000.
VS> Preloaded mfs_root "/boot/mfsroot" at 0xc0852190.
VS> Timecounter "tick" frequency 400000000 Hz quality 0
VS> real memory  = 268435456 (256 MB)
VS> avail memory = 242909184 (231 MB)
VS> cpu0: Sun Microsystems UltraSparc-IIe Processor (400.00 MHz CPU)
VS> nexus0: <OpenFirmware Nexus device>
VS> pcib0: <U2P UPA-PCI bridge> on nexus0
VS> pcib0: Sabre, impl 0, version 0, ign 0x7c0, bus A
VS> pcib0: [FAST]
VS> pcib0: [FAST]
VS> DVMA map: 0x60000000 to 0x63ffffff
VS> pci0: <OFW PCI bus> on pcib0
VS> isab0: <PCI-ISA bridge> at device 7.0 on pci0
VS> isa0: <ISA bus> on isab0
VS> pci0: <old, non-VGA display device> at device 3.0 (no driver attached)
VS> pci0: <old, non-VGA display device> at device 3.0 (no driver attached)
VS> dc0: <Davicom DM9102A 10/100BaseTX> port 0x10000-0x100ff at device 12.0 on pci0
VS> dc0: Ethernet address: 00:00:00:00:00:00
VS> miibus0: <MII bus> on dc0
VS> ukphy0: <Generic IEEE 802.3u media interface> on miibus0
VS> ukphy0:  10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto
VS> dc1: <Davicom DM9102A 10/100BaseTX> port 0x10100-0x101ff mem 0x2000-0x20ff at de
VS> vice 5.0 on pci0
VS> dc1: Ethernet address: 00:00:00:00:00:00
VS> miibus1: <MII bus> on dc1
VS> ukphy1: <Generic IEEE 802.3u media interface> on miibus1
VS> ukphy1:  10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto
VS> pci0: <serial bus, USB> at device 10.0 (no driver attached)
VS> atapci0: <AcerLabs Aladdin UDMA66 controller> port 0x10220-0x1022f,0x10208-0x102
VS> 0b,0x10210-0x10217,0x10218-0x1021b,0x10200-0x10207 at device 13.0 on pci0
VS> atapci0: [MPSAFE]
VS> ata2: at 0x10200 on atapci0
VS> ata2: [MPSAFE]
VS> ata3: at 0x10210 on atapci0
VS> ata3: [MPSAFE]
VS> Timecounters tick every 10.000 msec
VS> md0: Preloaded image </boot/mfsroot> 4194304 bytes at 0xc044e9a8
VS> GEOM: create disk ad0 dp=0xfffff800607b60a0
VS> ad0: 152627MB <ST3160021A> [310101/16/63] at ata2-master UDMA33
VS> acd0: CDRW <LG CD-ROM CRD-8522B> at ata3-master PIO4
VS> Mounting root from ufs:/dev/md0
VS> warning: no time-of-day clock registered, system time will not be set accurately
VS> /stand/sysinstall running as init on serial console

I've got working configuration:

                          FreeBSD Disklabel Editor

Disk: ad0       Partition name: ad0     Free: 45770256 blocks (22348MB)

Part      Mount          Size Newfs   Part      Mount          Size Newfs
----      -----          ---- -----   ----      -----          ---- -----
ad0a      /             256MB UFS2   Y
ad0b      swap          484MB SWAP
ad0d      /var          256MB UFS2+S Y
ad0e      /tmp          256MB UFS2+S Y
ad0f      /usr          126GB UFS2+S Y

If size of /usr partition is over than 126GB you'll see
"ad0: WARNING - READ_DMA recovered from missing interrupt" message
when doing newfs and system hangs.

Is it Sun Netra X1 or FreeBSD-sparc64 128Gb disk size limit?
Is it possible to fix this problem?

More information about the freebsd-sparc64 mailing list