On Sun, Jun 29, 2008 at 03:13:56PM +0200, Antoine Reilles wrote: > I also tried to install -current with installation cd including gpt, > keeping the gpt wedge options enabled. > It lets me declare NetBSD ffs and NetBSD swap partitions, but when > trying to newfs the ffs partition, i do get a "device busy" error. Here are the dmesg from the install kernel, as well as the output of gpt show /dev/wd0 The command newfs /dev/dk1 fails, with device busy. Is there something special i should do before using newfs ? Cheers, antoine
Copyright (c) 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008 The NetBSD Foundation, Inc. All rights reserved. Copyright (c) 1982, 1986, 1989, 1991, 1993 The Regents of the University of California. All rights reserved. NetBSD 4.99.67 (INSTALL) #0: Fri Jun 27 00:24:52 CEST 2008 tonio%satori.local@localhost:/Volumes/Data/NetBSD/obj/amd64/sys/arch/amd64/compile/INSTALL total memory = 2012 MB avail memory = 1928 MB timecounter: Timecounters tick every 10.000 msec timecounter: Timecounter "i8254" frequency 1193182 Hz quality 100 SMBIOS rev. 2.4 @ 0xe0000 (41 entries) Apple Inc. MacBook4,1 (1.0) mainbus0 (root) cpu0 at mainbus0 apid 0: Intel 686-class, 2394MHz, id 0x10676 cpu0: Enhanced SpeedStep (1244 mV) 1200 MHz cpu0: Enhanced SpeedStep frequencies available (MHz): 1200 1100 1000 900 800 700 600 cpu1 at mainbus0 apid 1: Intel 686-class, 2394MHz, id 0x10676 ioapic0 at mainbus0 apid 1: pa 0xfec00000, version 20, 24 pins acpi0 at mainbus0: Intel ACPICA 20080321 acpi0: X/RSDT: OemId <APPLE , Apple00,000000c1>, AslId < ,01000013> acpiecdt0 at acpi0: ACPI Embedded Controller via ECDT acpi0: SCI interrupting at int 9 acpi0: fixed-feature power button present timecounter: Timecounter "ACPI-Fast" frequency 3579545 Hz quality 1000 ACPI-Fast 24-bit timer acpiacad0 at acpi0 (ADP1, ACPI0003): ACPI AC Adapter acpilid0 at acpi0 (LID0, PNP0C0D): ACPI Lid Switch PNLF (APP0002) at acpi0 not configured acpibut0 at acpi0 (PWRB, PNP0C0C): ACPI Power Button acpibut1 at acpi0 (SLPB, PNP0C0E): ACPI Sleep Button SMC (APP0001) at acpi0 not configured SMS0 (APP0003) at acpi0 not configured acpiec0 at acpi0 (EC, PNP0C09): ACPI Embedded Controller (disabled) SBS0 (ACPI0002) at acpi0 not configured FWHD (INT0800) at acpi0 not configured attimer1 at acpi0 (TIMR, PNP0100): AT Timer attimer1: io 0x40-0x43,0x50-0x53 acpibat0 at acpi0 (BAT0, PNP0C0A-0): ACPI Battery (Control Method) acpibat0: battery info: SMPN016, LION016, ASMB016 pci0 at mainbus0 bus 0: configuration mode 1 pci0: i/o space, memory space enabled, rd/line, rd/mult, wr/inv ok pchb0 at pci0 dev 0 function 0 pchb0: vendor 0x8086 product 0x2a00 (rev. 0x03) agp0 at pchb0: detected 15868k stolen memory agp0: aperture at 0x80000000, size 0x20000000 vga0 at pci0 dev 2 function 0: vendor 0x8086 product 0x2a02 (rev. 0x03) wsdisplay0 at vga0 kbdmux 1: console (80x25, vt100 emulation) wsmux1: connecting to wsdisplay0 drm at vga0 not configured vendor 0x8086 product 0x2a03 (miscellaneous display, revision 0x03) at pci0 dev 2 function 1 not configured uhci0 at pci0 dev 26 function 0: vendor 0x8086 product 0x2834 (rev. 0x03) uhci0: interrupting at ioapic0 pin 20 usb0 at uhci0: USB revision 1.0 uhci1 at pci0 dev 26 function 1: vendor 0x8086 product 0x2835 (rev. 0x03) uhci1: interrupting at ioapic0 pin 16 usb1 at uhci1: USB revision 1.0 ehci0 at pci0 dev 26 function 7: vendor 0x8086 product 0x283a (rev. 0x03) ehci0: interrupting at ioapic0 pin 21 ehci0: EHCI version 1.0 ehci0: companion controllers, 2 ports each: uhci0 uhci1 usb2 at ehci0: USB revision 2.0 azalia0 at pci0 dev 27 function 0: Generic High Definition Audio Controller azalia0: interrupting at ioapic0 pin 20 azalia0: host: 0x8086/0x284b (rev. 3), HDA rev. 1.0 ppb0 at pci0 dev 28 function 0: vendor 0x8086 product 0x283f (rev. 0x03) pci1 at ppb0 bus 1 pci1: no spaces enabled! ppb1 at pci0 dev 28 function 4: vendor 0x8086 product 0x2847 (rev. 0x03) pci2 at ppb1 bus 2 pci2: i/o space, memory space enabled, rd/line, wr/inv ok vendor 0x14e4 product 0x4328 (miscellaneous network, revision 0x03) at pci2 dev 0 function 0 not configured ppb2 at pci0 dev 28 function 5: vendor 0x8086 product 0x2849 (rev. 0x03) pci3 at ppb2 bus 3 pci3: i/o space, memory space enabled, rd/line, wr/inv ok mskc0 at pci3 dev 0 function 0mskc0: interrupt moderation is 0 us , Yukon-2 EC Ultra rev. B0 (0x3): ioapic0 pin 17 msk0 at mskc0 port A: Ethernet address 00:1f:f3:d1:18:09 ukphy0 at msk0 phy 0: Generic IEEE 802.3u media interface ukphy0: OUI 0x000ac2, model 0x000b, rev. 1 ukphy0: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, 1000baseT, 1000baseT-FDX, auto uhci2 at pci0 dev 29 function 0: vendor 0x8086 product 0x2830 (rev. 0x03) uhci2: interrupting at ioapic0 pin 16 usb3 at uhci2: USB revision 1.0 uhci3 at pci0 dev 29 function 1: vendor 0x8086 product 0x2831 (rev. 0x03) uhci3: interrupting at ioapic0 pin 18 usb4 at uhci3: USB revision 1.0 uhci4 at pci0 dev 29 function 2: vendor 0x8086 product 0x2832 (rev. 0x03) uhci4: interrupting at ioapic0 pin 21 usb5 at uhci4: USB revision 1.0 ehci1 at pci0 dev 29 function 7: vendor 0x8086 product 0x2836 (rev. 0x03) ehci1: interrupting at ioapic0 pin 20 ehci1: EHCI version 1.0 ehci1: companion controllers, 2 ports each: uhci2 uhci3 uhci4 usb6 at ehci1: USB revision 2.0 ppb3 at pci0 dev 30 function 0: vendor 0x8086 product 0x2448 (rev. 0xf3) pci4 at ppb3 bus 4 pci4: i/o space, memory space enabled fwohci0 at pci4 dev 3 function 0: vendor 0x11c1 product 0x5811 (rev. 0x61) fwohci0: interrupting at ioapic0 pin 19 fwohci0: OHCI version 1.0 (ROM=0) fwohci0: No. of Isochronous channels is 8. fwohci0: EUI64 00:1f:f3:ff:fe:85:30:66 fwohci0: Phy 1394a available S400, 3 ports. fwohci0: Link S400, max_rec 2048 bytes. ieee1394if0 at fwohci0: IEEE1394 bus fwip0 at ieee1394if0: IP over IEEE1394 fwohci0: Initiate bus reset pcib0 at pci0 dev 31 function 0 pcib0: vendor 0x8086 product 0x2815 (rev. 0x03) piixide0 at pci0 dev 31 function 1 piixide0: Intel 82801HBM IDE Controller (ICH8M) (rev. 0x03) piixide0: bus-master DMA support present piixide0: primary channel configured to native-PCI mode piixide0: using ioapic0 pin 21 for native-PCI interrupt atabus0 at piixide0 channel 0 piixide0: secondary channel configured to native-PCI mode atabus1 at piixide0 channel 1 piixide1 at pci0 dev 31 function 2 piixide1: Intel 82801HEM Serial ATA Controller (ICH8M) (rev. 0x03) piixide1: bus-master DMA support present piixide1: primary channel configured to native-PCI mode piixide1: using ioapic0 pin 18 for native-PCI interrupt atabus2 at piixide1 channel 0 piixide1: secondary channel configured to native-PCI mode atabus3 at piixide1 channel 1 ichsmb0 at pci0 dev 31 function 3: vendor 0x8086 product 0x283e (rev. 0x03) ichsmb0: interrupting at ioapic0 pin 20 iic0 at ichsmb0: I2C bus isa0 at pcib0 pcppi0 at isa0 port 0x61 midi0 at pcppi0: PC speaker (CPU-intensive output) sysbeep0 at pcppi0 attimer1: attached to pcppi0 fwohci0: BUS reset fwohci0: node_id=0xc000ffc0, gen=2, CYCLEMASTER mode ieee1394if0: 1 nodes, maxhop <= 0, cable IRM = 0 (me) ieee1394if0: bus manager 0 (me) timecounter: Timecounter "clockinterrupt" frequency 100 Hz quality 0 acpiacad0: AC adapter offline. azalia0: codec[0]: Realtek ALC885 (rev. 1.3), HDA rev. 1.0 audio0 at azalia0: full duplex, independent atapibus0 at atabus0: 2 targets uhub0 at usb1: vendor 0x8086 UHCI root hub, class 9/0, rev 1.00/1.00, addr 1 uhub0: 2 ports with 2 removable, self powered uhub1 at usb0: vendor 0x8086 UHCI root hub, class 9/0, rev 1.00/1.00, addr 1 uhub1: 2 ports with 2 removable, self powered uhub2 at usb3: vendor 0x8086 UHCI root hub, class 9/0, rev 1.00/1.00, addr 1 uhub2: 2 ports with 2 removable, self powered cd0 at atapibus0 drive 0: <MATSHITADVD-R UJ-867, HE03DBF8, HB01> cdrom removable uhub3 at usb2: vendor 0x8086 EHCI root hub, class 9/0, rev 2.00/1.00, addr 1 uhub3: 4 ports with 4 removable, self powered uhub4 at usb4: vendor 0x8086 UHCI root hub, class 9/0, rev 1.00/1.00, addr 1 uhub4: 2 ports with 2 removable, self powered uhub5 at usb6: vendor 0x8086 EHCI root hub, class 9/0, rev 2.00/1.00, addr 1 uhub5: 6 ports with 6 removable, self powered uhub6 at usb5: vendor 0x8086 UHCI root hub, class 9/0, rev 1.00/1.00, addr 1 uhub6: 2 ports with 2 removable, self powered cd0: 32-bit data port cd0: drive supports PIO mode 4, DMA mode 2, Ultra-DMA mode 4 (Ultra/66) cd0(piixide0:0:0): using PIO mode 4, Ultra-DMA mode 4 (Ultra/66) (using DMA) ugen0 at uhub5 port 4 ugen0: Micron Built-in iSight, rev 2.00/1.84, addr 2 uhidev0 at uhub1 port 1 configuration 1 interface 0 uhidev0: vendor 0x05ac product 0x1000, rev 2.00/19.65, addr 2, iclass 3/1 uhidev0: no input interrupt endpoint wd0 at atabus2 drive 0: <FUJITSU MHY2160BH> wd0: drive supports 16-sector PIO transfers, LBA48 addressing wd0: 149 GB, 310101 cyl, 16 head, 63 sec, 512 bytes/sect x 312581808 sectors uhidev1 at uhub6 port 1 configuration 1 interface 0 uhidev1: Apple Computer, Inc. IR Receiver, rev 2.00/0.16, addr 2, iclass 3/0 uhidev1: 38 report ids uhid0 at uhidev1 reportid 36: input=4, output=0, feature=0 uhid1 at uhidev1 reportid 37: input=4, output=0, feature=0 uhid2 at uhidev1 reportid 38: input=4, output=0, feature=0 wd0: GPT GUID: 89f52e13-dc90-4620-8d72-e3f3e02c3b6e dk0 at wd0: EFI System Partition dk0: 409600 blocks at 40, type: msdos wd0: skipping entry 1 (02ee02ec-2d92-4e0d-a394-b8464f655758), type 48465300-0000-11aa-aa11-00306543ecac dk1 at wd0: / dk1: 8650752 blocks at 94519336, type: ffs dk2 at wd0: Apple_UFS_Untitled_2 dk2: 1918896 blocks at 103170088, type: swap wd0: wedge named 'Apple_UFS_Untitled_2' already exists, trying 'e5cf5c39-4990-4bb4-9475-e80ebe7e66c6' dk3 at wd0: e5cf5c39-4990-4bb4-9475-e80ebe7e66c6 dk3: 29538384 blocks at 105351128, type: ffs wd0: skipping entry 5 (e6d6cad7-cfa3-4911-9e0e-58ce162d8ae2), type 48465300-0000-11aa-aa11-00306543ecac wd0: skipping entry 6 (bcf13d9a-5e95-4ed4-96f8-5fba0a46d6e8), type 48465300-0000-11aa-aa11-00306543ecac wd0: 32-bit data port wd0: drive supports PIO mode 4, DMA mode 2, Ultra-DMA mode 5 (Ultra/100) wd0(piixide1:0:0): using PIO mode 4, Ultra-DMA mode 5 (Ultra/100) (using DMA) Kernelized RAIDframe activated md0: internal 5000 KB image area pad0: outputs: 44100Hz, 16-bit, stereo audio1 at pad0: half duplex boot device: <unknown> root on md0a dumps on md0b root file system type: ffs warning: no /dev/console uhidev2 at uhub6 port 2 configuration 1 interface 0 uhidev2: Apple Computer Apple Internal Keyboard / Trackpad, rev 2.00/0.07, addr 3, iclass 3/1 ukbd0 at uhidev2 wskbd0 at ukbd0: console keyboard, using wsdisplay0 uhidev3 at uhub6 port 2 configuration 1 interface 1 uhidev3: Apple Computer Apple Internal Keyboard / Trackpad, rev 2.00/0.07, addr 3, iclass 3/1 uhidev3: 5 report ids ums0 at uhidev3 reportid 2: 3 buttons wsmouse0 at ums0 mux 0 uhid3 at uhidev3 reportid 5: input=63, output=0, feature=16 uhidev4 at uhub6 port 2 configuration 1 interface 2 uhidev4: Apple Computer Apple Internal Keyboard / Trackpad, rev 2.00/0.07, addr 3, iclass 3/0 uhid4 at uhidev4: input=1, output=0, feature=0 ffs_snapshot_mount: non-snapshot inode 16384 ffs_snapshot_mount: non-snapshot inode 64
start size index contents 0 1 PMBR 1 1 Pri GPT header 2 32 Pri GPT table 34 6 40 409600 1 GPT part - EFI System 409640 94109696 2 GPT part - Apple HFS 94519336 8650752 3 GPT part - NetBSD UFS/UFS2 103170088 1918896 4 GPT part - NetBSD swap 105088984 262144 105351128 29538384 5 GPT part - 55465300-0000-11aa-aa11-00306543ecac 134889512 262144 135151656 62915128 6 GPT part - Apple HFS 198066784 262144 198328928 113990696 7 GPT part - Apple HFS 312319624 262151 312581775 32 Sec GPT table 312581807 1 Sec GPT header
Attachment:
pgpZjIEJ6xcgQ.pgp
Description: PGP signature