kern.geom.part.check_integrity=0 not working. not able to boot 9-STABLE

Ruben de Groot mail25 at bzerk.org
Wed Jun 20 18:24:07 UTC 2012


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)
>> 
>> this is where it hangs, just like without setting kern.geom.part.check_integrity.
>> 
>> Is this a regression?
> 
> 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="0"
OK boot kernel.9 -v
/boot/kernel.9/kernel data=0x5af3d8+0xc2fd8 syms=[0x8+0x77fe8+0x8+0x7119d]
/boot/kernel.9/geom_mirror.ko text=0x37a10 data=0x5a0+0x18 syms=[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 at morninglightmountain.hacktor.net:/usr/obj/usr/src/sys/MORNINGLIGHTMOUNTAIN sparc64
Preloaded elf kernel "/boot/kernel.9/kernel" at 0xc089a000.
Preloaded elf module "/boot/kernel.9/geom_mirror.ko" at 0xc089a1a0.
real memory  = 536870912 (512 MB)
avail memory = 503963648 (480 MB)
machine: SUNW,UltraAX-i2
cpu0: Sun Microsystems UltraSparc-IIe Processor (400.00 MHz CPU)
  mask=0x14 maxtl=5 maxwin=7
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=0, physical bus=0
found-> vendor=0x108e, dev=0xa001, revid=0x00
        domain=0, bus=0, slot=0, func=0
        class=06-00-00, hdrtype=0x00, mfdev=0
        cmdreg=0x0146, statreg=0x02a0, cachelnsz=0 (dwords)
        lattimer=0x40 (1920 ns), mingnt=0x00 (0 ns), maxlat=0x00 (0 ns)
found-> vendor=0x10b9, dev=0x1533, revid=0x00
        domain=0, bus=0, slot=7, func=0
        class=06-01-00, hdrtype=0x00, mfdev=0
        cmdreg=0x000f, statreg=0x0210, cachelnsz=0 (dwords)
        lattimer=0x00 (0 ns), mingnt=0x00 (0 ns), maxlat=0x00 (0 ns)
        powerspec 1  supports D0 D3  current D0
found-> vendor=0x10b9, dev=0x7101, revid=0x00
        domain=0, bus=0, slot=3, func=0
        class=00-00-00, hdrtype=0x00, mfdev=0
        cmdreg=0x0000, statreg=0x0200, cachelnsz=0 (dwords)
        lattimer=0x00 (0 ns), mingnt=0x00 (0 ns), maxlat=0x00 (0 ns)
found-> vendor=0x1282, dev=0x9102, revid=0x31
        domain=0, bus=0, slot=12, func=0
        class=02-00-00, hdrtype=0x00, mfdev=0
        cmdreg=0x0147, statreg=0x0210, cachelnsz=0 (dwords)
        lattimer=0x50 (2400 ns), mingnt=0x14 (5000 ns), maxlat=0x28 (10000 ns)
        intpin=a, irq=255
        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=0x1282, dev=0x9102, revid=0x31
        domain=0, bus=0, slot=5, func=0
        class=02-00-00, hdrtype=0x00, mfdev=0
        cmdreg=0x0147, statreg=0x0210, cachelnsz=0 (dwords)
        lattimer=0x50 (2400 ns), mingnt=0x14 (5000 ns), maxlat=0x28 (10000 ns)
        intpin=a, irq=255
        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=0x10b9, dev=0x5237, revid=0x03
        domain=0, bus=0, slot=10, func=0
        class=0c-03-10, hdrtype=0x00, mfdev=0
        cmdreg=0x0000, statreg=0x0290, cachelnsz=0 (dwords)
        lattimer=0x40 (1920 ns), mingnt=0x00 (0 ns), maxlat=0x50 (20000 ns)
        intpin=a, irq=255
        powerspec 2  supports D0 D3  current D0
        map[10]: type Memory, range 32, base 0x1000000, size 12, memory disabled
found-> vendor=0x10b9, dev=0x5229, revid=0xc3
        domain=0, bus=0, slot=13, func=0
        class=01-01-ff, hdrtype=0x00, mfdev=0
        cmdreg=0x0000, statreg=0x0290, cachelnsz=0 (dwords)
        lattimer=0x08 (240 ns), mingnt=0x02 (500 ns), maxlat=0x04 (1000 ns)
        intpin=a, irq=255
        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-0x1022f 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=03 ostat0=50 ostat1=00
ata2: stat0=0x50 err=0x01 lsb=0x00 msb=0x00
ata2: stat1=0x00 err=0x01 lsb=0x00 msb=0x00
ata2: reset tp2 stat0=50 stat1=00 devices=0x1
(aprobe0:ata2:0:0:0): SIGNATURE: 0000
ata3: reset tp1 mask=03 ostat0=50 ostat1=00
ata3: stat0=0x50 err=0x01 lsb=0x00 msb=0x00
ata3: stat1=0x00 err=0x01 lsb=0x00 msb=0x00
ata3: reset tp2 stat0=50 stat1=00 devices=0x1
(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=03 ostat0=58 ostat1=00
ata2: stat0=0x80 err=0x80 lsb=0x80 msb=0x80
ata2: stat0=0x50 err=0x01 lsb=0x00 msb=0x00
ata2: stat1=0x00 err=0x01 lsb=0x00 msb=0x00
ata2: reset tp2 stat0=50 stat1=00 devices=0x1
(ada0:ata2:0:0:0): Command timed out
(ada0:ata2:0:0:0): Retrying command
ata2: reset tp1 mask=03 ostat0=58 ostat1=00
ata2: stat0=0x80 err=0x80 lsb=0x80 msb=0x80
ata2: stat0=0x50 err=0x01 lsb=0x00 msb=0x00
ata2: stat1=0x00 err=0x01 lsb=0x00 msb=0x00
ata2: reset tp2 stat0=50 stat1=00 devices=0x1
(ada0:ata2:0:0:0): Command timed out
(ada0:ata2:0:0:0): Retrying command
ata2: reset tp1 mask=03 ostat0=58 ostat1=00
ata2: stat0=0x80 err=0x80 lsb=0x80 msb=0x80
ata2: stat0=0x50 err=0x01 lsb=0x00 msb=0x00
ata2: stat1=0x00 err=0x01 lsb=0x00 msb=0x00
ata2: reset tp2 stat0=50 stat1=00 devices=0x1
(ada0:ata2:0:0:0): Command timed out
(ada0:ata2:0:0:0): Retrying command
ata2: reset tp1 mask=03 ostat0=58 ostat1=00
ata2: stat0=0x80 err=0x80 lsb=0x80 msb=0x80
ata2: stat0=0x50 err=0x01 lsb=0x00 msb=0x00
ata2: stat1=0x00 err=0x01 lsb=0x00 msb=0x00
ata2: reset tp2 stat0=50 stat1=00 devices=0x1
(ada0:ata2:0:0:0): Command timed out
(ada0:ata2:0:0:0): Retrying command

lom>

> -- 
> WBR, Andrey V. Elsukov
> 



More information about the freebsd-stable mailing list