NetBSD-Users archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: Problem with gpt partitioning in NetBSD-5.0.2 amd64



> What does dmesg say? Did it autodiscover wedges?

No wedges discovered:

server1# dmesg 
Copyright (c) 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004, 2005,
    2006, 2007, 2008, 2009
    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 5.0.2_PATCH (GENERIC) #0: Sat Mar 27 17:55:16 UTC 2010
        root@server1:/usr/obj/sys/arch/amd64/compile/GENERIC
total memory = 4093 MB
avail memory = 3952 MB
timecounter: Timecounters tick every 10.000 msec
timecounter: Timecounter "i8254" frequency 1193182 Hz quality 100
SMBIOS rev. 2.4 @ 0xf0100 (58 entries)
Gigabyte Technology Co., Ltd. GA-790FXTA-UD5 ( )
mainbus0 (root)
cpu0 at mainbus0 apid 0: AMD 686-class, 3214MHz, id 0x100f42
cpu0: SVM disabled by the BIOS
P-state 0: 3200MHz (2400MHz)
P-state 1: 2500MHz (1700MHz)
P-state 2: 2100MHz (1300MHz)
P-state 3: 800MHz (400MHz)
cpu1 at mainbus0 apid 1: AMD 686-class, 3214MHz, id 0x100f42
cpu2 at mainbus0 apid 2: AMD 686-class, 3214MHz, id 0x100f42
cpu3 at mainbus0 apid 3: AMD 686-class, 3214MHz, id 0x100f42
ioapic0 at mainbus0 apid 2: pa 0xfec00000, version 21, 24 pins
acpi0 at mainbus0: Intel ACPICA 20080321
acpi0: X/RSDT: OemId <GBT   ,GBTUACPI,42302e31>, AslId <GBTU,01010101>
acpi0: SCI interrupting at int 9
acpi0: fixed-feature power button present
timecounter: Timecounter "ACPI-Fast" frequency 3579545 Hz quality 1000
ACPI-Fast 32-bit timer
acpibut0 at acpi0 (PWRB, PNP0C0C): ACPI Power Button
attimer1 at acpi0 (TMR, PNP0100): AT Timer
attimer1: io 0x40-0x43
hpet0 at acpi0 (HPET, PNP0103)
hpet0: mem 0xfed00000-0xfed003ff irq 0,8
timecounter: Timecounter "hpet0" frequency 14318180 Hz quality 2000
pcppi1 at acpi0 (SPKR, PNP0800)
pcppi1: io 0x61
midi0 at pcppi1: PC speaker (CPU-intensive output)
sysbeep0 at pcppi1
UAR1 (PNP0501) at acpi0 not configured
LPT1 (PNP0400) at acpi0 not configured
attimer1: attached to pcppi1
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 0x1002 product 0x5956 (rev. 0x00)
ppb0 at pci0 dev 4 function 0: vendor 0x1002 product 0x597a (rev. 0x00)
ppb0: unsupported PCI Express version
pci1 at ppb0 bus 1
pci1: i/o space, memory space enabled, rd/line, wr/inv ok
vendor 0x1033 product 0x0194 (USB serial bus, interface 0x30, revision
0x03) at pci1 dev 0 function 0 not configured
ppb1 at pci0 dev 5 function 0: vendor 0x1002 product 0x597b (rev. 0x00)
ppb1: unsupported PCI Express version
pci2 at ppb1 bus 2
pci2: i/o space, memory space enabled, rd/line, wr/inv ok
ahcisata0 at pci2 dev 0 function 0: vendor 0x1b4b product 0x9128
ahcisata0: interrupting at ioapic0 pin 17
ahcisata0: AHCI revision 1.2, 8 ports, 32 command slots, features 0xc0308000
atabus0 at ahcisata0 channel 0
atabus1 at ahcisata0 channel 1
atabus2 at ahcisata0 channel 2
atabus3 at ahcisata0 channel 3
atabus4 at ahcisata0 channel 4
atabus5 at ahcisata0 channel 5
atabus6 at ahcisata0 channel 6
atabus7 at ahcisata0 channel 7
ppb2 at pci0 dev 6 function 0: vendor 0x1002 product 0x597c (rev. 0x00)
ppb2: unsupported PCI Express version
pci3 at ppb2 bus 3
pci3: i/o space, memory space enabled, rd/line, wr/inv ok
wm0 at pci3 dev 0 function 0: Intel i82572EI 1000baseT Ethernet, rev. 6
wm0: interrupting at ioapic0 pin 18
wm0: PCI-Express bus
wm0: 65536 word (16 address bits) SPI EEPROM
wm0: Ethernet address 00:15:17:0b:8c:36
igphy0 at wm0 phy 1: Intel IGP01E1000 Gigabit PHY, rev. 0
igphy0: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, 1000baseT,
1000baseT-FDX, auto
ppb3 at pci0 dev 7 function 0: vendor 0x1002 product 0x597d (rev. 0x00)
ppb3: unsupported PCI Express version
pci4 at ppb3 bus 4
pci4: i/o space, memory space enabled, rd/line, wr/inv ok
re0 at pci4 dev 0 function 0: RealTek 8168B/8111B PCIe Gigabit Ethernet
(rev. 0x03)
re0: interrupting at ioapic0 pin 19
re0: Unknown revision (0x28000000)
re0: Ethernet address 00:00:00:00:00:00
re0: using 256 tx descriptors
rgephy0 at re0 phy 7: RTL8169S/8110S/8211 1000BASE-T media interface, rev. 2
rgephy0: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, 1000baseT,
1000baseT-FDX, auto
ppb4 at pci0 dev 9 function 0: vendor 0x1002 product 0x597e (rev. 0x00)
ppb4: unsupported PCI Express version
pci5 at ppb4 bus 5
pci5: i/o space, memory space enabled, rd/line, wr/inv ok
re1 at pci5 dev 0 function 0: RealTek 8168B/8111B PCIe Gigabit Ethernet
(rev. 0x03)
re1: interrupting at ioapic0 pin 17
re1: Unknown revision (0x28000000)
re1: Ethernet address 00:00:00:00:00:00
re1: using 256 tx descriptors
rgephy1 at re1 phy 7: RTL8169S/8110S/8211 1000BASE-T media interface, rev. 2
rgephy1: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, 1000baseT,
1000baseT-FDX, auto
ppb5 at pci0 dev 10 function 0: vendor 0x1002 product 0x597f (rev. 0x00)
ppb5: unsupported PCI Express version
pci6 at ppb5 bus 6
pci6: i/o space, memory space enabled, rd/line, wr/inv ok
jmide0 at pci6 dev 0 function 0: vendor 0x197b product 0x2363
jmide0: 1 PATA port, 2 SATA ports
jmide0: interrupting at ioapic0 pin 18
ahcisata1 at jmide0
ahcisata1: AHCI revision 1.0, 2 ports, 32 command slots, features 0xc722e000
atabus8 at ahcisata1 channel 0
atabus9 at ahcisata1 channel 1
jmide0: PCI IDE interface used
jmide0: bus-master DMA support present
jmide0: primary channel wired to native-PCI mode
jmide0: primary channel is unused
jmide0: secondary channel wired to native-PCI mode
jmide0: secondary channel is PATA
atabus10 at jmide0 channel 1
ppb6 at pci0 dev 12 function 0: vendor 0x1002 product 0x5981 (rev. 0x00)
ppb6: unsupported PCI Express version
pci7 at ppb6 bus 7
pci7: i/o space, memory space enabled, rd/line, wr/inv ok
ppb7 at pci7 dev 0 function 0: vendor 0x8086 product 0x0370 (rev. 0x00)
ppb7: disabling notification events
pci8 at ppb7 bus 8
pci8: i/o space, memory space enabled, rd/line, wr/inv ok
arcmsr0 at pci8 dev 14 function 0
arcmsr0: interrupting at ioapic0 pin 18
arcmsr0: Areca ARC-1220 Host Adapter RAID controller
arcmsr0: 8 ports, 256MB SDRAM, firmware <V1.48 2009-12-31>
scsibus0 at arcmsr0: 16 targets, 8 luns per target
ppb8 at pci7 dev 0 function 2: vendor 0x8086 product 0x0372 (rev. 0x00)
ppb8: disabling notification events
pci9 at ppb8 bus 9
pci9: i/o space, memory space enabled, rd/line, wr/inv ok
ahcisata2 at pci0 dev 17 function 0: vendor 0x1002 product 0x4391
ahcisata2: interrupting at ioapic0 pin 22
ahcisata2: AHCI revision 1.1, 6 ports, 32 command slots, features 0xf722e080
atabus11 at ahcisata2 channel 0
atabus12 at ahcisata2 channel 1
atabus13 at ahcisata2 channel 2
atabus14 at ahcisata2 channel 3
atabus15 at ahcisata2 channel 4
atabus16 at ahcisata2 channel 5
ohci0 at pci0 dev 18 function 0: vendor 0x1002 product 0x4397 (rev. 0x00)
ohci0: interrupting at ioapic0 pin 16
ohci0: OHCI version 1.0, legacy support
usb0 at ohci0: USB revision 1.0
ohci1 at pci0 dev 18 function 1: vendor 0x1002 product 0x4398 (rev. 0x00)
ohci1: interrupting at ioapic0 pin 16
ohci1: OHCI version 1.0, legacy support
usb1 at ohci1: USB revision 1.0
ehci0 at pci0 dev 18 function 2: vendor 0x1002 product 0x4396 (rev. 0x00)
ehci0: interrupting at ioapic0 pin 17
ehci0: dropped intr workaround enabled
ehci0: EHCI version 1.0
ehci0: companion controllers, 3 ports each: ohci0 ohci1
usb2 at ehci0: USB revision 2.0
ohci2 at pci0 dev 19 function 0: vendor 0x1002 product 0x4397 (rev. 0x00)
ohci2: interrupting at ioapic0 pin 18
ohci2: OHCI version 1.0, legacy support
usb3 at ohci2: USB revision 1.0
ohci3 at pci0 dev 19 function 1: vendor 0x1002 product 0x4398 (rev. 0x00)
ohci3: interrupting at ioapic0 pin 18
ohci3: OHCI version 1.0, legacy support
usb4 at ohci3: USB revision 1.0
ehci1 at pci0 dev 19 function 2: vendor 0x1002 product 0x4396 (rev. 0x00)
ehci1: interrupting at ioapic0 pin 19
ehci1: dropped intr workaround enabled
ehci1: EHCI version 1.0
ehci1: companion controllers, 3 ports each: ohci2 ohci3
usb5 at ehci1: USB revision 2.0
piixpm0 at pci0 dev 20 function 0
piixpm0: vendor 0x1002 product 0x4385 (rev. 0x3c)
piixpm0: interrupting at SMIpiixpm0: polling
iic0 at piixpm0: I2C bus
ixpide0 at pci0 dev 20 function 1
ixpide0: ATI Technologies IXP IDE Controller (rev. 0x00)
ixpide0: bus-master DMA support present
ixpide0: primary channel configured to compatibility mode
ixpide0: primary channel interrupting at ioapic0 pin 14
atabus17 at ixpide0 channel 0
ixpide0: secondary channel configured to compatibility mode
ixpide0: secondary channel interrupting at ioapic0 pin 15
atabus18 at ixpide0 channel 1
azalia0 at pci0 dev 20 function 2: Generic High Definition Audio Controller
azalia0: interrupting at ioapic0 pin 16
azalia0: host: 0x1002/0x4383 (rev. 0), HDA rev. 1.0
pcib0 at pci0 dev 20 function 3
pcib0: vendor 0x1002 product 0x439d (rev. 0x00)
ppb9 at pci0 dev 20 function 4: vendor 0x1002 product 0x4384 (rev. 0x00)
pci10 at ppb9 bus 10
pci10: i/o space, memory space enabled
vga0 at pci10 dev 6 function 0: vendor 0x1002 product 0x5159 (rev. 0x00)
wsdisplay0 at vga0 kbdmux 1: console (80x25, vt100 emulation)
wsmux1: connecting to wsdisplay0
drm at vga0 not configured
ohci4 at pci0 dev 20 function 5: vendor 0x1002 product 0x4399 (rev. 0x00)
ohci4: interrupting at ioapic0 pin 18
ohci4: OHCI version 1.0, legacy support
usb6 at ohci4: USB revision 1.0
pchb1 at pci0 dev 24 function 0
pchb1: vendor 0x1022 product 0x1200 (rev. 0x00)
pchb2 at pci0 dev 24 function 1
pchb2: vendor 0x1022 product 0x1201 (rev. 0x00)
pchb3 at pci0 dev 24 function 2
pchb3: vendor 0x1022 product 0x1202 (rev. 0x00)
amdtemp0 at pci0 dev 24 function 3
amdtemp0: AMD CPU Temperature Sensors (Family10h / Family11h)
pchb4 at pci0 dev 24 function 4
pchb4: vendor 0x1022 product 0x1204 (rev. 0x00)
isa0 at pcib0
lpt0 at isa0 port 0x378-0x37b irq 7
com0 at isa0 port 0x3f8-0x3ff irq 4: ns16550a, working fifo
pckbc0 at isa0 port 0x60-0x64
pckbd0 at pckbc0 (kbd slot)
pckbc0: using irq 1 for kbd slot
wskbd0 at pckbd0: console keyboard, using wsdisplay0
timecounter: Timecounter "clockinterrupt" frequency 100 Hz quality 0
timecounter: Timecounter "TSC" frequency 3214355760 Hz quality 3000
azalia0: codec[0]: 0x10ec/0x0889 (rev. 0.4), HDA rev. 1.0
audio0 at azalia0: full duplex, independent
uhub0 at usb0: vendor 0x1002 OHCI root hub, class 9/0, rev 1.00/1.00, addr 1
uhub0: 3 ports with 3 removable, self powered
uhub1 at usb1: vendor 0x1002 OHCI root hub, class 9/0, rev 1.00/1.00, addr 1
uhub1: 3 ports with 3 removable, self powered
uhub2 at usb2: vendor 0x1002 EHCI root hub, class 9/0, rev 2.00/1.00, addr 1
uhub2: 6 ports with 6 removable, self powered
uhub3 at usb3: vendor 0x1002 OHCI root hub, class 9/0, rev 1.00/1.00, addr 1
uhub3: 3 ports with 3 removable, self powered
uhub4 at usb4: vendor 0x1002 OHCI root hub, class 9/0, rev 1.00/1.00, addr 1
uhub4: 3 ports with 3 removable, self powered
uhub5 at usb5: vendor 0x1002 EHCI root hub, class 9/0, rev 2.00/1.00, addr 1
uhub5: 6 ports with 6 removable, self powered
sd0 at scsibus0 target 0 lun 0: <Areca, Volume Set #0, R001> disk fixed
sd0: 4190 GB, 72660 cyl, 252 head, 480 sec, 512 bytes/sect x 8789061120
sectors
uhub6 at usb6: vendor 0x1002 OHCI root hub, class 9/0, rev 1.00/1.00, addr 1
uhub6: 2 ports with 2 removable, self powered
ahcisata0 port 7: device present, speed: <unknown 9>
ahcisata2 port 0: device present, speed: 3.0Gb/s
atapibus0 at atabus7: 1 targets
uk0 at atapibus0 drive 0: <MARVELL VIRTUALL, HKDP221516WL, 1.09>
processor removable
uk0: drive supports PIO mode 4, Ultra-DMA mode 4 (Ultra/66)
uk0(ahcisata0:7:0): using PIO mode 4, Ultra-DMA mode 4 (Ultra/66) (using
DMA)
wd0 at atabus11 drive 0: <INTEL SSDSA2M040G2GC>
wd0: drive supports 16-sector PIO transfers, LBA48 addressing
wd0: 38166 MB, 77545 cyl, 16 head, 63 sec, 512 bytes/sect x 78165360 sectors
wd0: drive supports PIO mode 4, DMA mode 2, Ultra-DMA mode 6 (Ultra/133)
wd0(ahcisata2:0:0): using PIO mode 4, DMA mode 2, Ultra-DMA mode 6
(Ultra/133) (using DMA)
atapibus1 at atabus17: 2 targets
cd0 at atapibus1 drive 0: <_NEC DVD_RW ND-3550A, , 1.07> cdrom removable
cd0: 32-bit data port
cd0: drive supports PIO mode 4, DMA mode 2, Ultra-DMA mode 2 (Ultra/33)
cd0(ixpide0:0:0): using PIO mode 4, Ultra-DMA mode 2 (Ultra/33) (using DMA)
Kernelized RAIDframe activated
pad0: outputs: 44100Hz, 16-bit, stereo
audio1 at pad0: half duplex
boot device: wd0
root on wd0a dumps on wd0b
root file system type: ffs
uhidev0 at uhub0 port 3 configuration 1 interface 0
uhidev0: Logitech HID compliant keyboard, rev 1.10/1.80, addr 2, iclass 3/1
ukbd0 at uhidev0
wskbd1 at ukbd0 mux 1
wskbd1: connecting to wsdisplay0
uhidev1 at uhub0 port 3 configuration 1 interface 1
uhidev1: Logitech HID compliant keyboard, rev 1.10/1.80, addr 2, iclass 3/0
uhidev1: 2 report ids
uhid0 at uhidev1 reportid 1: input=2, output=0, feature=0
uhid1 at uhidev1 reportid 2: input=1, output=0, feature=0
wsdisplay0: screen 1 added (80x25, vt100 emulation)
wsdisplay0: screen 2 added (80x25, vt100 emulation)
wsdisplay0: screen 3 added (80x25, vt100 emulation)
wsdisplay0: screen 4 added (80x25, vt100 emulation)
arcmsr0: state changed on 'RAID 5 volume0 (sd0)' to 'building'
arcmsr0: state changed on 'disk0 volume0 (sd0)' to 'offline'
arcmsr0: state changed on 'disk1 volume0 (sd0)' to 'offline'
arcmsr0: state changed on 'disk2 volume0 (sd0)' to 'offline'
arcmsr0: state changed on 'disk3 volume0 (sd0)' to 'offline'



On 04/01/2010 09:52 PM, Michael van Elst wrote:
> On Thu, Apr 01, 2010 at 08:14:35PM +0200, Peter Kerwien wrote:
>   
>> Thanks for all info. Any idea why I cannot execute the gpt destroy
>> command either:
>>
>> server1# gpt destroy sd0
>>
>> gpt: unable to open device 'rsd0d': Invalid argument
>>     
> Maybe there is an MBR on the disk.
>
> gpt -v destroy sd0
>
> will tell you.
>
> Greetings,
>   

server1# gpt -v destroy sd0
gpt: rsd0d: mediasize=4499999293440; sectorsize=512; blocks=8789061120
gpt: unable to open device 'rsd0d': Invalid argument



Home | Main Index | Thread Index | Old Index