Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 20 Jun 2012 20:23:46 +0200
From:      Ruben de Groot <mail25@bzerk.org>
To:        "Andrey V. Elsukov" <ae@freebsd.org>
Cc:        Ruben de Groot <mail25@bzerk.org>, stable@freebsd.org
Subject:   Re: kern.geom.part.check_integrity=0 not working. not able to boot 9-STABLE
Message-ID:  <CAF41A37-F84B-4A26-B37B-FF8F441486D3@bzerk.org>
In-Reply-To: <4FE1FBB2.60005@FreeBSD.org>
References:  <730E36C6-E2A7-4C62-B988-25D66CDFE292@bzerk.org> <4FE1FBB2.60005@FreeBSD.org>

next in thread | previous in thread | raw e-mail | index | archive | help

On 20 jun 2012, at 18:34, Andrey V. Elsukov wrote:

> On 20.06.2012 19:14, Ruben de Groot wrote:
>> Timecounters tick every 1.000 msec
>> ada0 at ata2 bus 0 scbus0 target 0 lun 0
>> ada0: <MAXTOR STM3160215A 3.AAD> ATA-7 device
>> ada0: 66.700MB/s transfers (UDMA4, PIO 8192bytes)
>> ada0: 152627MB (312581808 512 byte sectors: 16H 63S/T 16383C)
>> ada0: Previously was known as ad0
>> ada1 at ata3 bus 0 scbus1 target 0 lun 0
>> ada1: <MAXTOR STM3160215A 3.AAD> ATA-7 device
>> ada1: 66.700MB/s transfers (UDMA4, PIO 8192bytes)
>> ada1: 152627MB (312581808 512 byte sectors: 16H 63S/T 16383C)
>> ada1: Previously was known as ad1
>> GEOM: ada0: adding VTOC8 information.
>> GEOM_PART: integrity check failed (ada0, VTOC8)
>>=20
>> this is where it hangs, just like without setting =
kern.geom.part.check_integrity.
>>=20
>> Is this a regression?
>=20
> Can you enable verbose boot mode and show what you will get?

It looks like it gets stuck in some loop and I can only break to lom and =
reset.

Type '?' for a list of commands, 'help' for more detailed help.
OK unload
OK set kern.geom.part.check_integrity=3D"0"
OK boot kernel.9 -v
/boot/kernel.9/kernel data=3D0x5af3d8+0xc2fd8 =
syms=3D[0x8+0x77fe8+0x8+0x7119d]
/boot/kernel.9/geom_mirror.ko text=3D0x37a10 data=3D0x5a0+0x18 =
syms=3D[0x8+0x1650+0x8+0x1159]
jumping to kernel entry at 0xc0070000.
Copyright (c) 1992-2012 The FreeBSD Project.
Copyright (c) 1979, 1980, 1983, 1986, 1988, 1989, 1991, 1992, 1993, 1994
        The Regents of the University of California. All rights =
reserved.
FreeBSD is a registered trademark of The FreeBSD Foundation.
FreeBSD 9.0-STABLE #5: Thu Jun 14 19:24:33 UTC 2012
    =
root@morninglightmountain.hacktor.net:/usr/obj/usr/src/sys/MORNINGLIGHTMOU=
NTAIN sparc64
Preloaded elf kernel "/boot/kernel.9/kernel" at 0xc089a000.
Preloaded elf module "/boot/kernel.9/geom_mirror.ko" at 0xc089a1a0.
real memory  =3D 536870912 (512 MB)
avail memory =3D 503963648 (480 MB)
machine: SUNW,UltraAX-i2
cpu0: Sun Microsystems UltraSparc-IIe Processor (400.00 MHz CPU)
  mask=3D0x14 maxtl=3D5 maxwin=3D7
INTR: Adding CPU 0 as a target
ULE: setup cpu 0
nfslock: pseudo-device
mem: <memory>
null: <null device, zero device>
openfirm: <Open Firmware control device>
random: <entropy source, Software, Yarrow>
ctl: CAM Target Layer loaded
nexus0: <Open Firmware Nexus device>
pcib0: <U2P UPA-PCI bridge> mem =
0x1fe00000000-0x1fe0000ffff,0x1fe01000000-0x1fe010000ff irq =
2032,2030,2031,2021 on nexus0
pcib0: Sabre, impl 0, version 0, IGN 0x1f, bus A, 66MHz
pcib0: DVMA map: 0x60000000 to 0x63ffffff 8192 entries
pcib0: PROM IOTSB size: 1 (2048 entries)
pcib0: bus range 0 to 0; PCI bus 0
initalizing intr_countp
pcib0: [GIANT-LOCKED]
pci0: <OFW PCI bus> on pcib0
pci0: domain=3D0, physical bus=3D0
found-> vendor=3D0x108e, dev=3D0xa001, revid=3D0x00
        domain=3D0, bus=3D0, slot=3D0, func=3D0
        class=3D06-00-00, hdrtype=3D0x00, mfdev=3D0
        cmdreg=3D0x0146, statreg=3D0x02a0, cachelnsz=3D0 (dwords)
        lattimer=3D0x40 (1920 ns), mingnt=3D0x00 (0 ns), maxlat=3D0x00 =
(0 ns)
found-> vendor=3D0x10b9, dev=3D0x1533, revid=3D0x00
        domain=3D0, bus=3D0, slot=3D7, func=3D0
        class=3D06-01-00, hdrtype=3D0x00, mfdev=3D0
        cmdreg=3D0x000f, statreg=3D0x0210, cachelnsz=3D0 (dwords)
        lattimer=3D0x00 (0 ns), mingnt=3D0x00 (0 ns), maxlat=3D0x00 (0 =
ns)
        powerspec 1  supports D0 D3  current D0
found-> vendor=3D0x10b9, dev=3D0x7101, revid=3D0x00
        domain=3D0, bus=3D0, slot=3D3, func=3D0
        class=3D00-00-00, hdrtype=3D0x00, mfdev=3D0
        cmdreg=3D0x0000, statreg=3D0x0200, cachelnsz=3D0 (dwords)
        lattimer=3D0x00 (0 ns), mingnt=3D0x00 (0 ns), maxlat=3D0x00 (0 =
ns)
found-> vendor=3D0x1282, dev=3D0x9102, revid=3D0x31
        domain=3D0, bus=3D0, slot=3D12, func=3D0
        class=3D02-00-00, hdrtype=3D0x00, mfdev=3D0
        cmdreg=3D0x0147, statreg=3D0x0210, cachelnsz=3D0 (dwords)
        lattimer=3D0x50 (2400 ns), mingnt=3D0x14 (5000 ns), maxlat=3D0x28 =
(10000 ns)
        intpin=3Da, irq=3D255
        powerspec 2  supports D0 D3  current D0
        map[10]: type I/O Port, range 32, base 0x10000, size  8, enabled
        map[14]: type Memory, range 32, base 0, size  8, enabled
found-> vendor=3D0x1282, dev=3D0x9102, revid=3D0x31
        domain=3D0, bus=3D0, slot=3D5, func=3D0
        class=3D02-00-00, hdrtype=3D0x00, mfdev=3D0
        cmdreg=3D0x0147, statreg=3D0x0210, cachelnsz=3D0 (dwords)
        lattimer=3D0x50 (2400 ns), mingnt=3D0x14 (5000 ns), maxlat=3D0x28 =
(10000 ns)
        intpin=3Da, irq=3D255
        powerspec 2  supports D0 D3  current D0
        map[10]: type I/O Port, range 32, base 0x10100, size  8, enabled
        map[14]: type Memory, range 32, base 0x2000, size  8, enabled
found-> vendor=3D0x10b9, dev=3D0x5237, revid=3D0x03
        domain=3D0, bus=3D0, slot=3D10, func=3D0
        class=3D0c-03-10, hdrtype=3D0x00, mfdev=3D0
        cmdreg=3D0x0000, statreg=3D0x0290, cachelnsz=3D0 (dwords)
        lattimer=3D0x40 (1920 ns), mingnt=3D0x00 (0 ns), maxlat=3D0x50 =
(20000 ns)
        intpin=3Da, irq=3D255
        powerspec 2  supports D0 D3  current D0
        map[10]: type Memory, range 32, base 0x1000000, size 12, memory =
disabled
found-> vendor=3D0x10b9, dev=3D0x5229, revid=3D0xc3
        domain=3D0, bus=3D0, slot=3D13, func=3D0
        class=3D01-01-ff, hdrtype=3D0x00, mfdev=3D0
        cmdreg=3D0x0000, statreg=3D0x0290, cachelnsz=3D0 (dwords)
        lattimer=3D0x08 (240 ns), mingnt=3D0x02 (500 ns), maxlat=3D0x04 =
(1000 ns)
        intpin=3Da, irq=3D255
        powerspec 2  supports D0 D3  current D0
        map[10]: type I/O Port, range 32, base 0x10200, size  3, port =
disabled
        map[14]: type I/O Port, range 32, base 0x10218, size  2, enabled
        map[18]: type I/O Port, range 32, base 0x10210, size  3, enabled
        map[1c]: type I/O Port, range 32, base 0x10208, size  2, enabled
        map[20]: type I/O Port, range 32, base 0x10220, size  4, enabled
pci0: <bridge, PCI-ISA> at device 7.0 (no driver attached)
pci0: <old, non-VGA display device> at device 3.0 (no driver attached)
dc0: <Davicom DM9102A 10/100BaseTX> port 0x10000-0x100ff mem 0-0xff at =
device 12.0 on pci0
miibus0: <MII bus> on dc0
amphy0: <DM9102 10/100 media interface> PHY 1 on miibus0
amphy0: OUI 0x000676, model 0x0004, rev. 0
amphy0:  none, 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto
dc0: bpf attached
dc0: Ethernet address: 00:03:ba:05:fa:5c
dc1: <Davicom DM9102A 10/100BaseTX> port 0x10100-0x101ff mem =
0x2000-0x20ff at device 5.0 on pci0
miibus1: <MII bus> on dc1
amphy1: <DM9102 10/100 media interface> PHY 1 on miibus1
amphy1: OUI 0x000676, model 0x0004, rev. 0
amphy1:  none, 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto
dc1: bpf attached
dc1: Ethernet address: 00:03:ba:05:fa:5c
pci0: <serial bus, USB> at device 10.0 (no driver attached)
atapci0: <AcerLabs M5229 UDMA66 controller> port =
0x10200-0x10207,0x10218-0x1021b,0x10210-0x10217,0x10208-0x1020b,0x10220-0x=
1022f at device 13.0 on pci0
atapci0: using PIO transfers above 137GB as workaround for 48bit DMA =
access bug, expect reduced performance
ata2: <ATA channel> at channel 0 on atapci0
ata3: <ATA channel> at channel 1 on atapci0
syscons0: no video adapter found.
nexus0: <syscons> type unknown (no driver attached)
procfs registered
Timecounter "tick" frequency 400000000 Hz quality 1000
Event timer "tick" frequency 400000000 Hz quality 1000
Timecounters tick every 1.000 msec
vlan: initialized, using hash tables with chaining
lo0: bpf attached
ata2: reset tp1 mask=3D03 ostat0=3D50 ostat1=3D00
ata2: stat0=3D0x50 err=3D0x01 lsb=3D0x00 msb=3D0x00
ata2: stat1=3D0x00 err=3D0x01 lsb=3D0x00 msb=3D0x00
ata2: reset tp2 stat0=3D50 stat1=3D00 devices=3D0x1
(aprobe0:ata2:0:0:0): SIGNATURE: 0000
ata3: reset tp1 mask=3D03 ostat0=3D50 ostat1=3D00
ata3: stat0=3D0x50 err=3D0x01 lsb=3D0x00 msb=3D0x00
ata3: stat1=3D0x00 err=3D0x01 lsb=3D0x00 msb=3D0x00
ata3: reset tp2 stat0=3D50 stat1=3D00 devices=3D0x1
(aprobe1:ata3:0:0:0): SIGNATURE: 0000
(probe0:ctl2cam0:0:1:0): Error 6, Unretryable error
pass0 at ata2 bus 0 scbus0 target 0 lun 0
pass0: <MAXTOR STM3160215A 3.AAD> ATA-7 device
pass0: Serial Number 9RX82F4A
pass0: 66.700MB/s transfers (UDMA4, PIO 8192bytes)
pass1 at ata3 bus 0 scbus1 target 0 lun 0
pass1: <MAXTOR STM3160215A 3.AAD> ATA-7 device
pass1: Serial Number 9RA6K7MJ
pass1: 66.700MB/s transfers (UDMA4, PIO 8192bytes)
ada0 at ata2 bus 0 scbus0 target 0 lun 0
ada0: <MAXTOR STM3160215A 3.AAD> ATA-7GEOM: new disk ada0
 device
ada0: Serial Number 9RX82F4A
ada0: 66.700MB/s transfers (UDMA4, PIO 8192bytes)
ada0: 152627MB (312581808 512 byte sectors: 16H 63S/T 16383C)
ada0: Previously was known as ad0
ada1 at ata3 bus 0 scbus1 target 0 lun 0
ada1: <MAXTOR STM3160215A 3.AAD> ATA-7 device
ada1: Serial Number 9RA6K7MJ
ada1: 66.700MB/s transfers (UDMA4, PIO 8192bytes)
ada1: 152627MB (312581808 512 byte sectors: 16H 63S/T 16383C)
ada1: Previously was known as ad1
GEOM: ada0: geometry does not match VTOC8 label (label: 16h,63s GEOM: =
255h,255s).
GEOM: ada0: adding VTOC8 information.
GEOM_PART: partition 7 has end offset beyond last LBA: 146805119 > =
48338639
GEOM_PART: partition 8 has start offset beyond last LBA: 146805120 > =
48338639
GEOM_PART: partition 8 has end offset beyond last LBA: 312579791 > =
48338639
GEOM_PART: integrity check failed (ada0, VTOC8)
ata2: reset tp1 mask=3D03 ostat0=3D58 ostat1=3D00
ata2: stat0=3D0x80 err=3D0x80 lsb=3D0x80 msb=3D0x80
ata2: stat0=3D0x50 err=3D0x01 lsb=3D0x00 msb=3D0x00
ata2: stat1=3D0x00 err=3D0x01 lsb=3D0x00 msb=3D0x00
ata2: reset tp2 stat0=3D50 stat1=3D00 devices=3D0x1
(ada0:ata2:0:0:0): Command timed out
(ada0:ata2:0:0:0): Retrying command
ata2: reset tp1 mask=3D03 ostat0=3D58 ostat1=3D00
ata2: stat0=3D0x80 err=3D0x80 lsb=3D0x80 msb=3D0x80
ata2: stat0=3D0x50 err=3D0x01 lsb=3D0x00 msb=3D0x00
ata2: stat1=3D0x00 err=3D0x01 lsb=3D0x00 msb=3D0x00
ata2: reset tp2 stat0=3D50 stat1=3D00 devices=3D0x1
(ada0:ata2:0:0:0): Command timed out
(ada0:ata2:0:0:0): Retrying command
ata2: reset tp1 mask=3D03 ostat0=3D58 ostat1=3D00
ata2: stat0=3D0x80 err=3D0x80 lsb=3D0x80 msb=3D0x80
ata2: stat0=3D0x50 err=3D0x01 lsb=3D0x00 msb=3D0x00
ata2: stat1=3D0x00 err=3D0x01 lsb=3D0x00 msb=3D0x00
ata2: reset tp2 stat0=3D50 stat1=3D00 devices=3D0x1
(ada0:ata2:0:0:0): Command timed out
(ada0:ata2:0:0:0): Retrying command
ata2: reset tp1 mask=3D03 ostat0=3D58 ostat1=3D00
ata2: stat0=3D0x80 err=3D0x80 lsb=3D0x80 msb=3D0x80
ata2: stat0=3D0x50 err=3D0x01 lsb=3D0x00 msb=3D0x00
ata2: stat1=3D0x00 err=3D0x01 lsb=3D0x00 msb=3D0x00
ata2: reset tp2 stat0=3D50 stat1=3D00 devices=3D0x1
(ada0:ata2:0:0:0): Command timed out
(ada0:ata2:0:0:0): Retrying command

lom>

> --=20
> WBR, Andrey V. Elsukov
>=20




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CAF41A37-F84B-4A26-B37B-FF8F441486D3>