ACPI / SATA / FFS - truncated directories, etc.
Chris Turner
c.turner at 199technologies.org
Sat Oct 27 09:18:54 PDT 2007
Matthew Dillon wrote:
>
> Can you tell the BIOS to put the SATA unit in native mode instead
> of compatibility mode, and then boot without ACPI? If we can get it
> to recognize the native SATA hardware without ACPI we can narrow down
> the cause of the problem.
>
> -Matt
Well.. booted (UP) ACPI off, SATA on on the other identical machine and
got this fairly soon after startup.
dmesg for both acpi settings and abbreviated backtrace are as follows -
working on getting dumpdevs + camera setup on this machine for future
crashes / problems :)
backtrace had:
panic
ufs_dirbad
ufs_lookup
ufs_vnoprate
vop_old_lookup
vop_compat_nresolv
vop_defaultop
cache_resolve
nlookup
kern_mkdir
syscall2
... (interrupt 80 handler routine - can't read my writing )
syscall
Interestingly, this happened shortly after initializing a vinum volume
on another slice .. The corrupted filesystem was a regular FFS on ad4s1d
(/usr) however.. basically 'pkg_info' lost it's ELF magic & was being
parsed as a script, so I tried to untar my pkgsrc boostrap on top when
the crash happened.
So, I'll either:
a) try to reproduce w/o vinum
(recalling the 'fun' had with vinum recently I'm now trying
to fix any vinum issues I find myself as a courtesy
to everyone else :)
b) try to reproduce w/HEAD
or some combination of both, probably starting with 'a'. Incidentally,
the other machine ran for a bit more than a day and did a full bulk on
the same hardware / partitioning / etc. with vinum enabled, acpi off,
and PATA legacy mode.
Copyright (c) 2003, 2004, 2005, 2006, 2007 The DragonFly Project.
Copyright (c) 1992-2003 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.
DragonFly 1.10.1-RELEASE #3: Thu Aug 23 03:36:37 UTC 2007
root at turismo.onenine.net:/var/local/apps/dsrc/RELEASE_1_10/obj-default/var/local/apps/dsrc/RELEASE_1_10/src/sys/ONENINEv110a
TSC clock: 1995264416 Hz, i8254 clock: 1193340 Hz
CPU: Dual-Core AMD Opteron(tm) Processor 2212 (1995.01-MHz 686-class CPU)
Origin = "AuthenticAMD" Id = 0x40f12 Stepping = 2
Features=0x178bfbff<FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CLFLUSH,MMX,FXSR,SSE,SSE2,HTT>
Features2=0x2001<SSE3,CX16>
Hyperthreading: 2 logical CPUs
AMD Features=0xe8500000<<b20>,AMIE,<b27>,<b29>,DSP,3DNow!>
real memory = 3221159936 (3145664K bytes)
avail memory = 3123036160 (3049840K bytes)
Preloaded elf kernel "/kernel" at 0xc07de000.
Preloaded elf module "/modules/acpi.ko" at 0xc07de294.
Pentium Pro MTRR support enabled
md0: Malloc disk
pcibios: BIOS version 2.10
Using $PIR table, 11 entries at 0xc00f4a30
ACPI: RSDP @ 0x0xf7710/0x0024 (v 2 ACPIAM)
ACPI: XSDT @ 0x0xbfff0100/0x0044 (v 1 A M I OEMXSDT 0x10000618 MSFT 0x00000097)
ACPI: FACP @ 0x0xbfff0290/0x00F4 (v 3 A M I OEMFACP 0x10000618 MSFT 0x00000097)
ACPI: DSDT @ 0x0xbfff0410/0x3005 (v 1 0AAAA 0AAAA000 0x00000000 INTL 0x02002026)
ACPI: FACS @ 0x0xbfffe000/0x0040
ACPI: APIC @ 0x0xbfff0390/0x0080 (v 1 A M I OEMAPIC 0x10000618 MSFT 0x00000097)
ACPI: OEMB @ 0x0xbfffe040/0x0056 (v 1 A M I AMI_OEM 0x10000618 MSFT 0x00000097)
ACPI: SRAT @ 0x0xbfff3420/0x00C8 (v 1 AMD HAMMER 0x00000001 AMD 0x00000001)
npx0: <math processor> on motherboard
npx0: INT 16 interface
Using XMM optimized bcopy/copyin/copyout
acpi0: <A M I OEMXSDT> on motherboard
acpi0: Power Button (fixed)
acpi0: Sleep Button (fixed)
Warning: ACPI is disabling APM's device. You can't run both
acpi_timer0: <32-bit timer at 3.579545MHz> port 0x508-0x50b on acpi0
cpu0: <ACPI CPU> on acpi0
acpi_button0: <Power Button> on acpi0
legacypci0 on motherboard
pcib0: <Host to PCI bridge> on legacypci0
pci0: <PCI bus> on pcib0
pcib1: <PCI to PCI bridge (vendor=1166 device=0036)> at device 1.0 on pci0
pci1: <PCI bus> on pcib1
pcib2: <PCI to PCI bridge (vendor=1166 device=0104)> at device 13.0 on pci1
pci2: <PCI bus> on pcib2
atapci0: <ServerWorks HT1000 SATA150 controller> port 0xb800-0xb81f,0xb880-0xb883,0xbc00-0xbc07,0xc000-0xc003,0xc080-0xc087 mem 0xff3fe000-0xff3fffff irq 11 at device 14.0 on pci1
ata2: <ATA channel 0> on atapci0
ad4: 476940MB <Seagate ST3500630AS 3.AAK> at ata2-master SATA150
ata3: <ATA channel 1> on atapci0
ad6: 476940MB <Seagate ST3500630AS 3.AAK> at ata3-master SATA150
ata4: <ATA channel 2> on atapci0
ata5: <ATA channel 3> on atapci0
atapci1: <ServerWorks HT1000 UDMA100 controller> port 0xffa0-0xffaf,0x376,0x170-0x177,0x3f6,0x1f0-0x1f7 at device 2.1 on pci0
ata0: <ATA channel 0> on atapci1
acd0: CDRW <SONY CD-RW/DVD-ROM CRX850E/5YK3> at ata0-master UDMA33
ata1: <ATA channel 1> on atapci1
isab0: <PCI to ISA bridge (vendor=1166 device=0234)> at device 2.2 on pci0
isa0: <ISA bus> on isab0
ohci0: <OHCI (generic) USB controller> port 0xe000-0xe0ff mem 0xff6b4000-0xff6b4fff irq 10 at device 3.0 on pci0
usb0: OHCI version 1.0, legacy support
usb0: SMM does not respond, resetting
usb0: <OHCI (generic) USB controller> on ohci0
usb0: USB revision 1.0
uhub0: 2 ports with 2 removable, self powered
ohci1: <OHCI (generic) USB controller> port 0xe400-0xe4ff mem 0xff6b5000-0xff6b5fff irq 10 at device 3.1 on pci0
usb1: OHCI version 1.0, legacy support
usb1: SMM does not respond, resetting
usb1: <OHCI (generic) USB controller> on ohci1
usb1: USB revision 1.0
uhub1: 2 ports with 2 removable, self powered
pci0: <USB controller> at 3.2 irq 10
em0: <Intel(R) PRO/1000 Network Connection, Version - 6.2.9> port 0xdc00-0xdc3f mem 0xff660000-0xff67ffff,0xff680000-0xff69ffff irq 9 at device 4.0 on pci0
em0: MAC address: 00:e0:81:47:12:be
em1: <Intel(R) PRO/1000 Network Connection, Version - 6.2.9> port 0xd880-0xd8bf mem 0xff600000-0xff61ffff,0xff620000-0xff63ffff irq 5 at device 5.0 on pci0
em1: MAC address: 00:e0:81:47:12:bf
pci0: <VGA-compatible display device> at 6.0
orm0: <Option ROMs> at iomem 0xc0000-0xc7fff,0xc8000-0xc9fff on isa0
pmtimer0 on isa0
fdc0: ready for input in output
fdc0: cmd 3 failed at out byte 1 of 3
atkbdc0: <Keyboard controller (i8042)> at port 0x60,0x64 on isa0
atkbd0: <AT Keyboard> flags 0x1 irq 1 on atkbdc0
kbd0 at atkbd0
psm0: <PS/2 Mouse> irq 12 on atkbdc0
psm0: model IntelliMouse Explorer, device ID 4
vga0: <Generic ISA VGA> at port 0x3c0-0x3df iomem 0xa0000-0xbffff on isa0
sc0: <System console> at flags 0x100 on isa0
sc0: VGA <16 virtual consoles, flags=0x300>
sio0: configured irq 4 not in bitmap of probed irqs 0
sio0 at port 0x3f8-0x3ff irq 4 flags 0x10 on isa0
sio0: type 16550A
sio1: configured irq 3 not in bitmap of probed irqs 0
sio1 at port 0x2f8-0x2ff irq 3 on isa0
sio1: type 16550A
ppc0: parallel port not found.
Mounting root from cd9660:cd0c
cd0 at ata4 bus 0 target 0 lun 0
cd0: <SONY CD-RW CRX850E 5YK3> Removable CD-ROM SCSI-0 device
cd0: 33.000MB/s transfers
cd0: cd present [178841 x 2048 byte records]
unmount(/dev): Cannot unmount: 0 namecache references still present
unmount(/dev): Cannot unmount: 6 process references still present
unmount(/tmp): Cannot unmount: 2 namecache references still present
unmount(/tmp): Cannot unmount: 3 process references still present
unmount(/var): Cannot unmount: 0 namecache references still present
unmount(/var): Cannot unmount: 5 process references still present
unmount(/dev): Cannot unmount: 0 namecache references still present
unmount(/dev): Cannot unmount: 2 process references still present
unmount(/tmp): Cannot unmount: 1 namecache references still present
unmount(/tmp): Cannot unmount: 2 process references still present
unmount(/dev): Cannot unmount: 0 namecache references still present
unmount(/dev): Cannot unmount: 2 process references still present
unmount(/tmp): Cannot unmount: 1 namecache references still present
unmount(/tmp): Cannot unmount: 2 process references still present
unmount(/dev): Cannot unmount: 0 namecache references still present
unmount(/dev): Cannot unmount: 2 process references still present
unmount(/tmp): Cannot unmount: 1 namecache references still present
unmount(/tmp): Cannot unmount: 2 process references still present
unmount(/dev): Cannot unmount: 0 namecache references still present
unmount(/dev): Cannot unmount: 2 process references still present
unmount(/tmp): Cannot unmount: 1 namecache references still present
unmount(/tmp): Cannot unmount: 2 process references still present
unmount(/dev): Cannot unmount: 0 namecache references still present
unmount(/dev): Cannot unmount: 2 process references still present
unmount(/tmp): Cannot unmount: 1 namecache references still present
unmount(/tmp): Cannot unmount: 2 process references still present
Waiting (max 60 seconds) for system thread vnlru to stop...stopped
Waiting (max 60 seconds) for system thread bufdaemon to stop...stopped
Waiting (max 60 seconds) for system thread syncer to stop...stopped
syncing disks...
done
Uptime: 4m59s
Powering system off using ACPI
Copyright (c) 2003, 2004, 2005, 2006, 2007 The DragonFly Project.
Copyright (c) 1992-2003 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.
DragonFly 1.10.1-RELEASE #3: Thu Aug 23 03:36:37 UTC 2007
root at turismo.onenine.net:/var/local/apps/dsrc/RELEASE_1_10/obj-default/var/local/apps/dsrc/RELEASE_1_10/src/sys/ONENINEv110a
TSC clock: 1995264975 Hz, i8254 clock: 1193340 Hz
CPU: Dual-Core AMD Opteron(tm) Processor 2212 (1995.01-MHz 686-class CPU)
Origin = "AuthenticAMD" Id = 0x40f12 Stepping = 2
Features=0x178bfbff<FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CLFLUSH,MMX,FXSR,SSE,SSE2,HTT>
Features2=0x2001<SSE3,CX16>
Hyperthreading: 2 logical CPUs
AMD Features=0xe8500000<<b20>,AMIE,<b27>,<b29>,DSP,3DNow!>
real memory = 3221159936 (3145664K bytes)
avail memory = 3123417088 (3050212K bytes)
Preloaded elf kernel "/kernel" at 0xc0782000.
Pentium Pro MTRR support enabled
md0: Malloc disk
pcibios: BIOS version 2.10
Using $PIR table, 11 entries at 0xc00f4a30
sched_ithd: stray interrupt 7 on cpu 0
npx0: <math processor> on motherboard
npx0: INT 16 interface
Using XMM optimized bcopy/copyin/copyout
legacypci0 on motherboard
pcib0: <Host to PCI bridge> on legacypci0
pci0: <PCI bus> on pcib0
pcib1: <PCI to PCI bridge (vendor=1166 device=0036)> at device 1.0 on pci0
pci1: <PCI bus> on pcib1
pcib2: <PCI to PCI bridge (vendor=1166 device=0104)> at device 13.0 on pci1
pci2: <PCI bus> on pcib2
atapci0: <ServerWorks HT1000 SATA150 controller> port 0xb800-0xb81f,0xb880-0xb883,0xbc00-0xbc07,0xc000-0xc003,0xc080-0xc087 mem 0xff3fe000-0xff3fffff irq 11 at device 14.0 on pci1
ata2: <ATA channel 0> on atapci0
ad4: 476940MB <Seagate ST3500630AS 3.AAK> at ata2-master SATA150
ata3: <ATA channel 1> on atapci0
ad6: 476940MB <Seagate ST3500630AS 3.AAK> at ata3-master SATA150
ata4: <ATA channel 2> on atapci0
ata5: <ATA channel 3> on atapci0
atapci1: <ServerWorks HT1000 UDMA100 controller> port 0xffa0-0xffaf,0x376,0x170-0x177,0x3f6,0x1f0-0x1f7 at device 2.1 on pci0
ata0: <ATA channel 0> on atapci1
acd0: CDRW <SONY CD-RW/DVD-ROM CRX850E/5YK3> at ata0-master UDMA33
ata1: <ATA channel 1> on atapci1
isab0: <PCI to ISA bridge (vendor=1166 device=0234)> at device 2.2 on pci0
isa0: <ISA bus> on isab0
ohci0: <OHCI (generic) USB controller> port 0xe000-0xe0ff mem 0xff6b4000-0xff6b4fff irq 10 at device 3.0 on pci0
usb0: OHCI version 1.0, legacy support
usb0: SMM does not respond, resetting
usb0: <OHCI (generic) USB controller> on ohci0
usb0: USB revision 1.0
uhub0: 2 ports with 2 removable, self powered
ohci1: <OHCI (generic) USB controller> port 0xe400-0xe4ff mem 0xff6b5000-0xff6b5fff irq 10 at device 3.1 on pci0
usb1: OHCI version 1.0, legacy support
usb1: SMM does not respond, resetting
usb1: <OHCI (generic) USB controller> on ohci1
usb1: USB revision 1.0
uhub1: 2 ports with 2 removable, self powered
pci0: <USB controller> at 3.2 irq 10
em0: <Intel(R) PRO/1000 Network Connection, Version - 6.2.9> port 0xdc00-0xdc3f mem 0xff660000-0xff67ffff,0xff680000-0xff69ffff irq 9 at device 4.0 on pci0
em0: MAC address: 00:e0:81:47:12:be
em1: <Intel(R) PRO/1000 Network Connection, Version - 6.2.9> port 0xd880-0xd8bf mem 0xff600000-0xff61ffff,0xff620000-0xff63ffff irq 5 at device 5.0 on pci0
em1: MAC address: 00:e0:81:47:12:bf
pci0: <VGA-compatible display device> at 6.0
orm0: <Option ROMs> at iomem 0xc0000-0xc7fff,0xc8000-0xc9fff on isa0
fdc0: ready for input in output
fdc0: cmd 3 failed at out byte 1 of 3
atkbdc0: <Keyboard controller (i8042)> at port 0x60,0x64 on isa0
atkbd0: <AT Keyboard> flags 0x1 irq 1 on atkbdc0
kbd0 at atkbd0
psm0: <PS/2 Mouse> irq 12 on atkbdc0
psm0: model IntelliMouse Explorer, device ID 4
vga0: <Generic ISA VGA> at port 0x3c0-0x3df iomem 0xa0000-0xbffff on isa0
sc0: <System console> at flags 0x100 on isa0
sc0: VGA <16 virtual consoles, flags=0x300>
sio0: configured irq 4 not in bitmap of probed irqs 0
sio0 at port 0x3f8-0x3ff irq 4 flags 0x10 on isa0
sio0: type 16550A
sio1: configured irq 3 not in bitmap of probed irqs 0
sio1 at port 0x2f8-0x2ff irq 3 on isa0
sio1: type 16550A
ppc0: parallel port not found.
Mounting root from cd9660:cd0c
cd0 at ata4 bus 0 target 0 lun 0
cd0: <SONY CD-RW CRX850E 5YK3> Removable CD-ROM SCSI-0 device
cd0: 33.000MB/s transfers
cd0: cd present [178841 x 2048 byte records]
Copyright (c) 2003, 2004, 2005, 2006, 2007 The DragonFly Project.
Copyright (c) 1992-2003 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.
DragonFly 1.10.1-RELEASE #3: Thu Aug 23 03:36:37 UTC 2007
root at turismo.onenine.net:/var/local/apps/dsrc/RELEASE_1_10/obj-default/var/local/apps/dsrc/RELEASE_1_10/src/sys/ONENINEv110a
TSC clock: 1995269396 Hz, i8254 clock: 1193343 Hz
CPU: Dual-Core AMD Opteron(tm) Processor 2212 (1995.01-MHz 686-class CPU)
Origin = "AuthenticAMD" Id = 0x40f12 Stepping = 2
Features=0x178bfbff<FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CLFLUSH,MMX,FXSR,SSE,SSE2,HTT>
Features2=0x2001<SSE3,CX16>
Hyperthreading: 2 logical CPUs
AMD Features=0xe8500000<<b20>,AMIE,<b27>,<b29>,DSP,3DNow!>
real memory = 3221159936 (3145664K bytes)
avail memory = 3123417088 (3050212K bytes)
Preloaded elf kernel "/kernel" at 0xc0782000.
Pentium Pro MTRR support enabled
md0: Malloc disk
pcibios: BIOS version 2.10
Using $PIR table, 11 entries at 0xc00f4a30
npx0: <math processor> on motherboard
npx0: INT 16 interface
Using XMM optimized bcopy/copyin/copyout
legacypci0 on motherboard
pcib0: <Host to PCI bridge> on legacypci0
pci0: <PCI bus> on pcib0
pcib1: <PCI to PCI bridge (vendor=1166 device=0036)> at device 1.0 on pci0
pci1: <PCI bus> on pcib1
pcib2: <PCI to PCI bridge (vendor=1166 device=0104)> at device 13.0 on pci1
pci2: <PCI bus> on pcib2
atapci0: <ServerWorks HT1000 SATA150 controller> port 0xb800-0xb81f,0xb880-0xb883,0xbc00-0xbc07,0xc000-0xc003,0xc080-0xc087 mem 0xff3fe000-0xff3fffff irq 11 at device 14.0 on pci1
ata2: <ATA channel 0> on atapci0
ad4: 476940MB <Seagate ST3500630AS 3.AAK> at ata2-master SATA150
ata3: <ATA channel 1> on atapci0
ad6: 476940MB <Seagate ST3500630AS 3.AAK> at ata3-master SATA150
ata4: <ATA channel 2> on atapci0
ata5: <ATA channel 3> on atapci0
atapci1: <ServerWorks HT1000 UDMA100 controller> port 0xffa0-0xffaf,0x376,0x170-0x177,0x3f6,0x1f0-0x1f7 at device 2.1 on pci0
ata0: <ATA channel 0> on atapci1
acd0: CDRW <SONY CD-RW/DVD-ROM CRX850E/5YK3> at ata0-master UDMA33
ata1: <ATA channel 1> on atapci1
isab0: <PCI to ISA bridge (vendor=1166 device=0234)> at device 2.2 on pci0
isa0: <ISA bus> on isab0
ohci0: <OHCI (generic) USB controller> port 0xe000-0xe0ff mem 0xff6b4000-0xff6b4fff irq 10 at device 3.0 on pci0
usb0: OHCI version 1.0, legacy support
usb0: SMM does not respond, resetting
usb0: <OHCI (generic) USB controller> on ohci0
usb0: USB revision 1.0
uhub0: 2 ports with 2 removable, self powered
ohci1: <OHCI (generic) USB controller> port 0xe400-0xe4ff mem 0xff6b5000-0xff6b5fff irq 10 at device 3.1 on pci0
usb1: OHCI version 1.0, legacy support
usb1: SMM does not respond, resetting
usb1: <OHCI (generic) USB controller> on ohci1
usb1: USB revision 1.0
uhub1: 2 ports with 2 removable, self powered
pci0: <USB controller> at 3.2 irq 10
em0: <Intel(R) PRO/1000 Network Connection, Version - 6.2.9> port 0xdc00-0xdc3f mem 0xff660000-0xff67ffff,0xff680000-0xff69ffff irq 9 at device 4.0 on pci0
em0: MAC address: 00:e0:81:47:12:be
em1: <Intel(R) PRO/1000 Network Connection, Version - 6.2.9> port 0xd880-0xd8bf mem 0xff600000-0xff61ffff,0xff620000-0xff63ffff irq 5 at device 5.0 on pci0
em1: MAC address: 00:e0:81:47:12:bf
pci0: <VGA-compatible display device> at 6.0
orm0: <Option ROMs> at iomem 0xc0000-0xc7fff,0xc8000-0xc9fff on isa0
fdc0: ready for input in output
fdc0: cmd 3 failed at out byte 1 of 3
atkbdc0: <Keyboard controller (i8042)> at port 0x60,0x64 on isa0
atkbd0: <AT Keyboard> flags 0x1 irq 1 on atkbdc0
kbd0 at atkbd0
psm0: <PS/2 Mouse> irq 12 on atkbdc0
psm0: model IntelliMouse Explorer, device ID 4
vga0: <Generic ISA VGA> at port 0x3c0-0x3df iomem 0xa0000-0xbffff on isa0
sc0: <System console> at flags 0x100 on isa0
sc0: VGA <16 virtual consoles, flags=0x300>
sio0: configured irq 4 not in bitmap of probed irqs 0
sio0 at port 0x3f8-0x3ff irq 4 flags 0x10 on isa0
sio0: type 16550A
sio1: configured irq 3 not in bitmap of probed irqs 0
sio1 at port 0x2f8-0x2ff irq 3 on isa0
sio1: type 16550A
ppc0: parallel port not found.
Mounting root from cd9660:cd0c
cd0 at ata4 bus 0 target 0 lun 0
cd0: <SONY CD-RW CRX850E 5YK3> Removable CD-ROM SCSI-0 device
cd0: 33.000MB/s transfers
cd0: cd present [178841 x 2048 byte records]
More information about the Kernel
mailing list