Re: Mounting ufs2 in Dragonfly

2009-06-08 Thread Matthew Dillon
:Hi,
:
:I have a disk that was formatted with ufs in FreeBSD 7.x and I'm trying to
:mount it in Dragonfly but I'm getting the message 'Incorrect super block'.
:I'm rolling with dragonfly 2.2.1. Any ideas?
:
:Thanks,
:John

It won't work, our UFS is only UFS1.  I stopped porting the UFS work,
apart from softupdates bug fixes, a long time ago.

You might be able to access it by running FreeBSD in a qemu VM, kinda
a around-about way but it's all I can think of.

-Matt


Re: AHCI driver port update - working with hot-plug

2009-06-08 Thread Eugene Barsukowski
A letter from Matthew Dillon dil...@apollo.backplane.com, Sat, 6 Jun 2009 
11:35:50 -0700 (PDT):

 I am particularly interested in systems which have a separate,
 traditional non-AHCI ATA device as well as one or more AHCI devices,
 I'd like to know that AHCI picks up the AHCI devices and NATA picks
 up the non-AHCI devices properly.



I have an old motherboard with 2 non-AHCI SATA controllers. Despite preloaded
ahci.ko booting the latest snapshot gives the following:

DragonFly 2.3.1-DEVELOPMENT #0: Sun Jun  7 01:29:14 CEST 2009
r...@chlamydia.fs.ei.tum.de:/usr/obj/usr/src/sys/GENERIC
TSC clock: 2393852464 Hz, i8254 clock: 1193108 Hz
CPU: Intel(R) Pentium(R) 4 CPU 2.40GHz (2394.01-MHz 686-class CPU)
  Origin = GenuineIntel  Id = 0xf29  Stepping = 9
  
Features=0xbfebfbffFPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CLFLUSH,DTS,ACPI,MMX,FXSR,SSE,SSE2,SS,HTT,TM,PBE
  Features2=0x4400CNXT-ID,xTPR
  Hyperthreading: 2 logical CPUs
real memory  = 2146631680 (2096320K bytes)
avail memory = 2070138880 (2021620K bytes)
Preloaded elf kernel /boot/kernel at 0xc07fa000.
Preloaded elf module /boot/modules/ahci.ko at 0xc07fa24c.

Preloaded elf module /boot/modules/acpi.ko at 0xc07fa2f8.
Pentium Pro MTRR support enabled
md0: Malloc disk
pcibios: BIOS version 2.10
Using $PIR table, 12 entries at 0xc00f3310
ACPI: RSDP @ 0x0xf5a90/0x0014 (v  0 ACPIAM)
ACPI: RSDT @ 0x0x7ff3/0x0030 (v  1 INTEL  PRODUCT1 0x20030904 MSFT 
0x0097

atapci0: Promise PDC20319 SATA150 controller port 
0xb000-0xb07f,0xb400-0xb40f,0xbc00-0xbc3f mem 
0xfeaa-0xfeab,0xfeafe000-0xfeafefff irq 9 at device 7.0 on pci3
ata2: ATA channel 0 on atapci0
ata3: ATA channel 1 on atapci0
ata4: ATA channel 2 on atapci0
ata5: ATA channel 3 on atapci0

atapci1: Intel ICH5 UDMA100 controller port 
0xffa0-0xffaf,0x376,0x170-0x177,0x3f6,0x1f0-0x1f7 at device 31.1 on pci0
ata0: ATA channel 0 on atapci1
acd0: DVDR Optiarc DVD RW AD-7173A/1-01 at ata0-master UDMA66
ata1: ATA channel 1 on atapci1
atapci2: Intel ICH5 SATA150 controller port 
0xdc00-0xdc0f,0xe000-0xe003,0xe400-0xe407,0xe800-0xe803,0xec00-0xec07 irq 10 at 
device 31.2 on pci0
ata6: ATA channel 0 on atapci2
ad12: 152627MB Seagate ST3160815AS 4.AAB at ata6-master SATA150
ata7: ATA channel 1 on atapci2

Full dmesg is attached.
Unfortunately this board has no AHCI SATA. Hope this will be useful.

Best regards,
Eugene.

Copyright (c) 2003-2009 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 2.3.1-DEVELOPMENT #0: Sun Jun  7 01:29:14 CEST 2009
r...@chlamydia.fs.ei.tum.de:/usr/obj/usr/src/sys/GENERIC
TSC clock: 2393852464 Hz, i8254 clock: 1193108 Hz
CPU: Intel(R) Pentium(R) 4 CPU 2.40GHz (2394.01-MHz 686-class CPU)
  Origin = GenuineIntel  Id = 0xf29  Stepping = 9
  
Features=0xbfebfbffFPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CLFLUSH,DTS,ACPI,MMX,FXSR,SSE,SSE2,SS,HTT,TM,PBE
  Features2=0x4400CNXT-ID,xTPR
  Hyperthreading: 2 logical CPUs
real memory  = 2146631680 (2096320K bytes)
avail memory = 2070138880 (2021620K bytes)
Preloaded elf kernel /boot/kernel at 0xc07fa000.
Preloaded elf module /boot/modules/ahci.ko at 0xc07fa24c.
Preloaded elf module /boot/modules/acpi.ko at 0xc07fa2f8.
Pentium Pro MTRR support enabled
md0: Malloc disk
pcibios: BIOS version 2.10
Using $PIR table, 12 entries at 0xc00f3310
ACPI: RSDP @ 0x0xf5a90/0x0014 (v  0 ACPIAM)
ACPI: RSDT @ 0x0x7ff3/0x0030 (v  1 INTEL  PRODUCT1 0x20030904 MSFT 
0x0097)
ACPI: FACP @ 0x0x7ff30200/0x0081 (v  2 INTEL  PRODUCT1 0x20030904 MSFT 
0x0097)
ACPI: DSDT @ 0x0x7ff30370/0x424E (v  1 INTEL  PRODUCT1 0x0001 MSFT 
0x010D)
ACPI: FACS @ 0x0x7ff4/0x0040
ACPI: APIC @ 0x0x7ff30300/0x0068 (v  1 INTEL  PRODUCT1 0x20030904 MSFT 
0x0097)
ACPI: WDDT @ 0x0x7ff345c0/0x0040 (v  1 INTEL  OEMWDDT  0x0001 MSFT 
0x010D)
npx0: math processor on motherboard
npx0: INT 16 interface
Using XMM optimized bcopy/copyin/copyout
acpi0: INTEL PRODUCT1 on motherboard
acpi0: Power Button (fixed)
Warning: ACPI is disabling APM's device.  You can't run both
acpi_timer0: 24-bit timer at 3.579545MHz port 0x408-0x40b on acpi0
cpu0: ACPI CPU on acpi0
cpu_cst0: ACPI CPU C-State on cpu0
cpu_pst0: Can't get _PCT package - AE_NOT_FOUND
acpi_button0: Sleep Button on acpi0
atkbdc0: Keyboard controller (i8042) port 0x64,0x60 irq 1 on acpi0
atkbd0: AT Keyboard flags 0x1 irq 1 on atkbdc0
kbd0 at atkbd0
psm0: PS/2 Mouse irq 12 on atkbdc0
psm0: model Generic PS/2 mouse, device ID 0
sio0: configured irq 4 not in bitmap of probed irqs 0
sio0 port 0x3f8-0x3ff irq 4 on acpi0
sio0: type 16550A
sio1: configured irq 3 not in bitmap of probed irqs 0
sio1 port 0x2f8-0x2ff irq 3 on acpi0
sio1: type 16550A
legacypci0 on motherboard
pcib0: Host to PCI bridge on legacypci0

Re: AHCI driver port update - working with hot-plug

2009-06-08 Thread Matthew Dillon

:I have an old motherboard with 2 non-AHCI SATA controllers. Despite preloaded
:ahci.ko booting the latest snapshot gives the following:

Sure, that's to be expected.  Since they aren't AHCI-capable the
AHCI driver did not pick them up, and the ATA driver did.  That's
a good test too, we don't want the AHCI driver trying to pick up
non-AHCI ATA devices :-)

-Matt