Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 28 Nov 2002 12:54:18 +0100 (MET)
From:      <niklasjs@ifi.uio.no>
To:        undisclosed-recipients: ;
Subject:   i386/45818: Cannot repartition drives: operation not permitted
Message-ID:  <200211281154.22136.thrir.ifi.uio.no@ifi.uio.no>

next in thread | raw e-mail | index | archive | help

>Number:         45818
>Category:       i386
>Synopsis:       Cannot repartition drives: operation not permitted
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    freebsd-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Thu Nov 28 04:00:03 PST 2002
>Closed-Date:
>Last-Modified:
>Originator:     Niklas Saers
>Release:        FreeBSD 5.0-CURRENT i386
>Organization:
>Environment:
System: FreeBSD my.home.saers.com 5.0-CURRENT FreeBSD 5.0-CURRENT #4: Thu Nov 28
 12:28:15 GMT 2002 niklas@my.home.saers.com:/usr/src/sys/i386/compile/my i386

Athlon 1333/512
FreeBSD-CURRENT as of 12:20 GMT+1
Copyright (c) 1992-2002 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 5.0-CURRENT #4: Thu Nov 28 12:28:15 GMT 2002
    niklas@my.home.saers.com:/usr/src/sys/i386/compile/my
Preloaded elf kernel "/boot/kernel/kernel" at 0xc06c1000.
Preloaded elf module "/boot/kernel/linux.ko" at 0xc06c10b4.
Preloaded elf module "/boot/kernel/nvidia.ko" at 0xc06c1160.
Preloaded elf module "/boot/kernel/acpi.ko" at 0xc06c120c.
Timecounter "i8254"  frequency 1193182 Hz
Timecounter "TSC"  frequency 1334966829 Hz
CPU: AMD Athlon(tm) processor (1334.97-MHz 686-class CPU)
  Origin = "AuthenticAMD"  Id = 0x644  Stepping = 4
  Features=0x183f9ff<FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,SEP,MTRR,PGE,MCA,CMOV,PA
T,PSE36,MMX,FXSR>
  AMD Features=0xffffffffc0440000<RSVD,AMIE,DSP,3DNow!>
real memory  = 536805376 (511 MB)
avail memory = 514244608 (490 MB)
Initializing GEOMetry subsystem
Pentium Pro MTRR support enabled
npx0: <math processor> on motherboard
npx0: INT 16 interface
acpi0: <761686 AWRDACPI> on motherboard
    ACPI-0625: *** Info: GPE Block0 defined as GPE0 to GPE15
Using $PIR table, 10 entries at 0xc00fde00
acpi0: power button is handled as a fixed feature programming model.
Timecounter "ACPI-fast"  frequency 3579545 Hz
acpi_timer0: <24-bit timer at 3.579545MHz> port 0x4008-0x400b on acpi0
acpi_cpu0: <CPU> on acpi0
acpi_button0: <Power Button> on acpi0
acpi_button1: <Sleep Button> on acpi0
pcib0: <ACPI Host-PCI bridge> port 0x6000-0x607f,0x5000-0x500f,0x4080-0x40ff,0x4
000-0x407f,0xcf8-0xcff on acpi0
pci0: <ACPI PCI bus> on pcib0
agp0: <AMD 761 host to AGP bridge> port 0x9000-0x9003 mem 0xdf107000-0xdf107fff,
0xd8000000-0xdbffffff at device 0.0 on pci0
pcib1: <PCIBIOS PCI-PCI bridge> at device 1.0 on pci0
pci1: <PCI bus> on pcib1
nvidia0: <GeForce2 MX/MX 400> mem 0xd0000000-0xd7ffffff,0xdc000000-0xdcffffff ir
q 12 at device 5.0 on pci1
isab0: <PCI-ISA bridge> at device 7.0 on pci0
isa0: <ISA bus> on isab0
atapci0: <VIA 82C686 ATA100 controller> port 0x9400-0x940f at device 7.1 on pci0
ata0: at 0x1f0 irq 14 on atapci0
ata1: at 0x170 irq 15 on atapci0
uhci0: <VIA 83C572 USB controller> port 0x9800-0x981f irq 10 at device 7.2 on pc
i0
usb0: <VIA 83C572 USB controller> on uhci0
usb0: USB revision 1.0
uhub0: VIA UHCI root hub, class 9/0, rev 1.00/1.00, addr 1
uhub0: 2 ports with 2 removable, self powered
uhub1: Atmel Standard USB Hub, class 9/0, rev 1.10/3.00, addr 2
uhub1: 4 ports with 4 removable, self powered
ugen0: vendor 0x07fd FastLane, rev 1.00/1.00, addr 3
ulpt0: Lexmark Inkjet color printer, rev 1.00/1.00, addr 4, iclass 7/1
ulpt0: using bi-directional mode
ums0: Logitech USB-PS/2 Mouse M-BA47, rev 1.00/1.20, addr 5, iclass 3/1
ums0: 4 buttons and Z dir.
uhci1: <VIA 83C572 USB controller> port 0x9c00-0x9c1f irq 10 at device 7.3 on pc
i0
usb1: <VIA 83C572 USB controller> on uhci1
usb1: USB revision 1.0
uhub2: VIA UHCI root hub, class 9/0, rev 1.00/1.00, addr 1
uhub2: 2 ports with 2 removable, self powered
pci0: <serial bus, SMBus> at device 7.4 (no driver attached)
fxp0: <Intel Pro 10/100B/100+ Ethernet> port 0xa000-0xa01f mem 0xdf000000-0xdf0f
ffff,0xdf104000-0xdf104fff irq 10 at device 8.0 on pci0
fxp0: Ethernet address 00:90:27:09:3e:64
inphy0: <i82555 10/100 media interface> on miibus0
inphy0:  10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto
pcm0: <Creative EMU10K1> port 0xa400-0xa41f irq 11 at device 9.0 on pci0
bktr0: <BrookTree 848A> mem 0xdf105000-0xdf105fff irq 10 at device 11.0 on pci0
bktr0: Detected a MSP3410C-E27 at 0x80
bktr0: Pinnacle/Miro TV, Temic PAL tuner, msp3400c stereo.
pci0: <multimedia, audio> at device 15.0 (no driver attached)
XXXfw: vendid=1102, dev=4001
fwohci0: <1394 Open Host Controller Interface> mem 0xdf100000-0xdf103fff,0xdf106
000-0xdf1067ff irq 10 at device 15.2 on pci0
fwohci0: PCI bus latency was changing to 250.
cache size 8.
fwohci0: OHCI version 1.10 (ROM=0)
fwohci0: No. of Isochronous channel is 4.
fwohci0: resetting OHCI...done (0)
fwohci0: BUS_OPT 0xa002 -> 0xf800a002
fwohci0: Link 1394a available S400, 2 ports, maxrec 2048 bytes.
fwohci0: Enable 1394a Enhancements
fwohci0: EUI64 00:02:3c:00:30:04:84:47
fwochi_set_intr: 1
firewire0: <IEEE1394(Firewire) bus> on fwohci0
firewire0: firewire bus attach
sbp_identify
sbp_probe
sbp0: <SBP2/SCSI over firewire> on firewire0
sbp_attach
pcm1: <Creative CT5880-C> port 0xb400-0xb43f irq 12 at device 17.0 on pci0
atapci1: <HighPoint HPT370 ATA100 controller> port 0xc800-0xc8ff,0xc400-0xc403,0
xc000-0xc007,0xbc00-0xbc03,0xb800-0xb807 irq 11 at device 19.0 on pci0
ata2: at 0xb800 on atapci1
ata3: at 0xc000 on atapci1
fdc0: <Enhanced floppy controller (i82077, NE72065 or clone)> port 0x3f7,0x3f0-0
x3f5 irq 6 drq 2 on acpi0
fdc0: FIFO enabled, 8 bytes threshold
fd0: <1440-KB 3.5" drive> on fdc0 drive 0
sio0 port 0x3f8-0x3ff irq 4 on acpi0
sio0: type 16550A
sio1 port 0x2f8-0x2ff irq 3 on acpi0
sio1: type 16550A
ppc0 port 0x378-0x37f irq 7 on acpi0
ppc0: Generic chipset (EPP/NIBBLE) in COMPATIBLE mode
plip0: <PLIP network interface> on ppbus0
lpt0: <Printer> on ppbus0
lpt0: Interrupt-driven port
ppi0: <Parallel I/O> on ppbus0
atkbdc0: <Keyboard controller (i8042)> port 0x64,0x60 irq 1 on acpi0
atkbd0: <AT Keyboard> flags 0x1 irq 1 on atkbdc0
kbd0 at atkbd0
orm0: <Option ROMs> at iomem 0xd4000-0xd47ff,0xc0000-0xcc7ff on isa0
pmtimer0 on isa0
sc0: <System console> at flags 0x100 on isa0
sc0: VGA <16 virtual consoles, flags=0x300>
vga0: <Generic ISA VGA> at port 0x3c0-0x3df iomem 0xa0000-0xbffff on isa0
Timecounters tick every 10.000 msec
firewire0: BUS reset
firewire0: node_id = 0xc800ffc0, CYCLEMASTER mode
firewire0: 1 nodes, maxhop <= 0, cable IRM = 0 (me)
fw_set_bus_manager: 63->0 (loop=0)
send phy_config root_node=-1 gap_count=1
start AT DMA status=0
acpi_cpu: CPU throttling enabled, 2 steps from 100% to 50.0%
Opened disk ad4 -> 16
Opened disk ad4 -> 16
Opened disk ad4 -> 16
Opened disk ad4 -> 16
Opened disk ad4 -> 16
Opened disk ad4 -> 16
Opened disk ad4 -> 16
Opened disk ad4 -> 16
Opened disk ad4 -> 16
ar0: 152638MB <ATA RAID0 array> [19458/255/63] status: READY subdisks:
 0 READY ad4: 76319MB <MAXTOR 4K080H4> [155060/16/63] at ata2-master UDMA100
 1 READY ad6: 76319MB <MAXTOR 4K080H4> [155060/16/63] at ata3-master UDMA100
Opened disk ad6 -> 16
acd0: CD-RW <HL-DT-ST GCE-8400B> at ata1-master PIO4
acd1: DVD-ROM <IDE/ATAPI DVD-ROM 12X> at ata1-slave PIO4
MBREXT Slice 5 on ar0s3:
0000   00 01 c1 ff 0b fe ff ff 3f 00 00 00 65 b2 99 0f  |........?...e...|
[0] f:00 typ:11 s(CHS):255/1/193 e(CHS):255/254/255 s:63 l:261730917
0000   00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00  |................|
[1] f:00 typ:0 s(CHS):0/0/0 e(CHS):0/0/0 s:0 l:0
bus_explore done
Mounting root from ufs:/dev/ar0s1a
ipfw2 initialized, divert disabled, rule-based forwarding enabled, default to de
ny, logging disabled

        
>Description:
su-2.05a# fdisk -u ar0
fdisk: can't open device /dev/ar0
fdisk: cannot open disk /dev/ar0: Operation not permitted
su-2.05a# fdisk -u /dev/ar0
fdisk: can't open device /dev/ar0
fdisk: cannot open disk /dev/ar0: Operation not permitted


I came across this problem while doing /stand/sysinstall to edit
the partitions (I've got a 4GB partition I'd like to use for testing
gbde)

>How-To-Repeat:
It happens without exception on my computer, so I'm willing to help try
out patches and solutions. I cannot confirm that this is a problem on
all setups. But at least you have my configuration through the dmesg above

>Fix:
None, except for don't edit the partition

>Release-Note:
>Audit-Trail:
>Unformatted:

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-bugs" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200211281154.22136.thrir.ifi.uio.no>