On Wed, 8 Dec 2010 09:59:42 +0100, LEVAI Daniel <l...@ecentrum.hu>
wrote:
> On Wed, Dec 08, 2010 at 09:35:34 +0100, Guillaume DualC) wrote:
>> On Wed, 8 Dec 2010 09:23:49 +0100, LEVAI Daniel <l...@ecentrum.hu> wrote:
>> > I'm having this issue with an ext2fs filesystem on an external USB
>> > drive.
>> > I've created the partition/disklabel/filesystem with OpenBSD tools, and
>> > after mounting, and dd'ing /dev/zero onto the fs, it bails out at 2GiB:
>> >
>> > $ dd if=/dev/zero of=/mnt/hotplug/sd3i_FUJITSU/Downloads/testfile bs=4096
>> > dd: /mnt/hotplug/sd3i_FUJITSU/Downloads/testfile: File too large
>> > 524288+0 records in
>> > 524287+0 records out
>> > 2147479552 bytes transferred in 399.042 secs (5381579 bytes/sec)
> [...]
>> So, check if your partition is really in ext2 and the size of this
>> partition.
>> And what is the physical size of your external drive ? :)
> 
> $ mount
> /dev/sd3i on /mnt/hotplug/sd3i_FUJITSU type ext2fs (local, nodev,
> noexec, nosuid)
> 
> 
> $ df -h
> /dev/sd3i     73.3G   26.4G   46.9G    36%    /mnt/hotplug/sd3i_FUJITSU
> 
> 
> $ fdisk sd3
> Disk: sd3       geometry: 9729/255/63 [156301488 Sectors]
> Offset: 0       Signature: 0xAA55
>             Starting         Ending         LBA Info:
>  #: id      C   H   S -      C   H   S [       start:        size ]
> -------------------------------------------------------------------------------
>  0: 00      0   0   0 -      0   0   0 [           0:           0 ] unused
>  1: 00      0   0   0 -      0   0   0 [           0:           0 ] unused
>  2: 00      0   0   0 -      0   0   0 [           0:           0 ] unused
> *3: A6      0   1   1 -   9728 254  63 [          63:   156296322 ] OpenBSD
> 
> 
> $ disklabel sd3
> # /dev/rsd3c:
> type: SCSI
> disk: SCSI disk
> label: FUJITSU MHV2080B
> duid: b122005bf43a432c
> flags:
> bytes/sector: 512
> sectors/track: 63
> tracks/cylinder: 255
> sectors/cylinder: 16065
> cylinders: 9729
> total sectors: 156301488
> boundstart: 63
> boundend: 156296385
> drivedata: 0
> 
> 16 partitions:
> #                size           offset  fstype [fsize bsize  cpg]
>   c:        156301488                0  unused
>   i:        156296321               63  ext2fs
> 
> 
> dmesg sd3 part:
> umass1 at uhub0 port 1 configuration 1 interface 0 "Initio MHV2080BH"
> rev 2.00/3.01 addr 5
> umass1: using SCSI over Bulk-Only
> scsibus5 at umass1: 2 targets, initiator 0
> sd3 at scsibus5 targ 1 lun 0: <Initio, MHV2080BH, 3.01> SCSI0 0/direct fixed
> sd3: 76319MB, 512 bytes/sec, 156301488 sec total
> 
> 
> 
> dmesg:
> OpenBSD 4.8-current (GENERIC.MP) #545: Mon Dec  6 16:24:15 MST 2010
>     dera...@i386.openbsd.org:/usr/src/sys/arch/i386/compile/GENERIC.MP
> cpu0: Genuine Intel(R) CPU T2400 @ 1.83GHz ("GenuineIntel" 686-class)
> 1.83 GHz
> cpu0:
> FPU,V86,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,CFLUSH,DS,ACPI,MMX,FXSR,SSE,SSE2,SS,HTT,TM,SBF,SSE3,MWAIT,VMX,EST,TM2,xTPR,PDCM
> real mem  = 2145808384 (2046MB)
> avail mem = 2100625408 (2003MB)
> mainbus0 at root
> bios0 at mainbus0: AT/286+ BIOS, date 08/27/09, BIOS32 rev. 0 @
> 0xfd6b0, SMBIOS rev. 2.4 @ 0xe0010 (68 entries)
> bios0: vendor LENOVO version "79ETE5WW (2.25 )" date 08/27/2009
> bios0: LENOVO 2007FRG
> acpi0 at bios0: rev 2
> acpi0: sleep states S0 S3 S4 S5
> acpi0: tables DSDT FACP SSDT ECDT TCPA APIC MCFG HPET BOOT SSDT SSDT
> SSDT SSDT
> acpi0: wakeup devices LID_(S3) SLPB(S3) LURT(S3) DURT(S3) EXP0(S4)
> EXP1(S4) EXP2(S4) EXP3(S4) PCI1(S4) USB0(S3) USB1(S3) USB2(S3)
> USB7(S3) HDEF(S4)
> acpitimer0 at acpi0: 3579545 Hz, 24 bits
> acpiec0 at acpi0
> acpimadt0 at acpi0 addr 0xfee00000: PC-AT compat
> cpu0 at mainbus0: apid 0 (boot processor)
> cpu0: apic clock running at 166MHz
> cpu1 at mainbus0: apid 1 (application processor)
> cpu1: Genuine Intel(R) CPU T2400 @ 1.83GHz ("GenuineIntel" 686-class)
> 1.83 GHz
> cpu1:
> FPU,V86,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,CFLUSH,DS,ACPI,MMX,FXSR,SSE,SSE2,SS,HTT,TM,SBF,SSE3,MWAIT,VMX,EST,TM2,xTPR,PDCM
> ioapic0 at mainbus0: apid 1 pa 0xfec00000, version 20, 24 pins
> ioapic0: misconfigured as apic 2, remapped to apid 1
> acpihpet0 at acpi0: 14318179 Hz
> acpiprt0 at acpi0: bus 0 (PCI0)
> acpiprt1 at acpi0: bus 1 (AGP_)
> acpiprt2 at acpi0: bus 2 (EXP0)
> acpiprt3 at acpi0: bus 3 (EXP1)
> acpiprt4 at acpi0: bus 4 (EXP2)
> acpiprt5 at acpi0: bus 12 (EXP3)
> acpiprt6 at acpi0: bus 21 (PCI1)
> acpicpu0 at acpi0: C3, C2, C1, PSS
> acpicpu1 at acpi0: C3, C2, C1, PSS
> acpipwrres0 at acpi0: PUBS
> acpitz0 at acpi0: critical temperature 127 degC
> acpitz1 at acpi0: critical temperature 99 degC
> acpibtn0 at acpi0: LID_
> acpibtn1 at acpi0: SLPB
> acpibat0 at acpi0: BAT0 model "92P1127" serial 23233 type LION oem "SANYO"
> acpibat1 at acpi0: BAT1 not present
> acpiac0 at acpi0: AC unit online
> acpithinkpad0 at acpi0
> acpidock0 at acpi0: GDCK not docked (0)
> bios0: ROM list: 0xc0000/0xfe00 0xd0000/0x1000 0xd1000/0x1000
> 0xdc000/0x4000! 0xe0000/0x10000!
> cpu0: Enhanced SpeedStep 1829 MHz: speeds: 1833, 1333, 1000 MHz
> pci0 at mainbus0 bus 0: configuration mode 1 (bios)
> pchb0 at pci0 dev 0 function 0 "Intel 82945GM Host" rev 0x03
> ppb0 at pci0 dev 1 function 0 "Intel 82945GM PCIE" rev 0x03: apic 1
> int 16 (irq 11)
> pci1 at ppb0 bus 1
> vga1 at pci1 dev 0 function 0 "ATI Radeon Mobility X1400" rev 0x00
> wsdisplay0 at vga1 mux 1: console (80x25, vt100 emulation)
> wsdisplay0: screen 1-5 added (80x25, vt100 emulation)
> radeondrm0 at vga1: apic 1 int 16 (irq 11)
> drm0 at radeondrm0
> azalia0 at pci0 dev 27 function 0 "Intel 82801GB HD Audio" rev 0x02:
> apic 1 int 17 (irq 11)
> azalia0: codecs: Analog Devices AD1981HD, 0x0000/0x0000, using Analog
> Devices AD1981HD
> audio0 at azalia0
> ppb1 at pci0 dev 28 function 0 "Intel 82801GB PCIE" rev 0x02: apic 1
> int 20 (irq 11)
> pci2 at ppb1 bus 2
> em0 at pci2 dev 0 function 0 "Intel PRO/1000MT (82573L)" rev 0x00:
> apic 1 int 16 (irq 11), address 00:16:41:aa:d2:70
> ppb2 at pci0 dev 28 function 1 "Intel 82801GB PCIE" rev 0x02: apic 1
> int 21 (irq 11)
> pci3 at ppb2 bus 3
> wpi0 at pci3 dev 0 function 0 "Intel PRO/Wireless 3945ABG" rev 0x02:
> apic 1 int 17 (irq 11), MoW2, address 00:18:de:65:2d:37
> ppb3 at pci0 dev 28 function 2 "Intel 82801GB PCIE" rev 0x02: apic 1
> int 22 (irq 11)
> pci4 at ppb3 bus 4
> ppb4 at pci0 dev 28 function 3 "Intel 82801GB PCIE" rev 0x02: apic 1
> int 23 (irq 11)
> pci5 at ppb4 bus 12
> uhci0 at pci0 dev 29 function 0 "Intel 82801GB USB" rev 0x02: apic 1
> int 16 (irq 11)
> uhci1 at pci0 dev 29 function 1 "Intel 82801GB USB" rev 0x02: apic 1
> int 17 (irq 11)
> uhci2 at pci0 dev 29 function 2 "Intel 82801GB USB" rev 0x02: apic 1
> int 18 (irq 11)
> uhci3 at pci0 dev 29 function 3 "Intel 82801GB USB" rev 0x02: apic 1
> int 19 (irq 11)
> ehci0 at pci0 dev 29 function 7 "Intel 82801GB USB" rev 0x02: apic 1
> int 19 (irq 11)
> usb0 at ehci0: USB revision 2.0
> uhub0 at usb0 "Intel EHCI root hub" rev 2.00/1.00 addr 1
> ppb5 at pci0 dev 30 function 0 "Intel 82801BAM Hub-to-PCI" rev 0xe2
> pci6 at ppb5 bus 21
> cbb0 at pci6 dev 0 function 0 "TI PCI1510 CardBus" rev 0x00: apic 1
> int 16 (irq 11)
> cardslot0 at cbb0 slot 0 flags 0
> cardbus0 at cardslot0: bus 22 device 0 cacheline 0x8, lattimer 0xb0
> pcmcia0 at cardslot0
> ichpcib0 at pci0 dev 31 function 0 "Intel 82801GBM LPC" rev 0x02: PM disabled
> pciide0 at pci0 dev 31 function 1 "Intel 82801GB IDE" rev 0x02: DMA,
> channel 0 configured to compatibility, channel 1 configured to
> compatibility
> atapiscsi0 at pciide0 channel 0 drive 0
> scsibus0 at atapiscsi0: 2 targets
> cd0 at scsibus0 targ 0 lun 0: <HL-DT-ST, DVDRAM GSA-4083N, 1.08>
> ATAPI 5/cdrom removable
> cd0(pciide0:0:0): using PIO mode 4, Ultra-DMA mode 2
> pciide0: channel 1 ignored (disabled)
> ahci0 at pci0 dev 31 function 2 "Intel 82801GBM AHCI" rev 0x02: apic
> 1 int 16 (irq 11), AHCI 1.1
> scsibus1 at ahci0: 32 targets
> sd0 at scsibus1 targ 0 lun 0: <ATA, ST9320423AS, 0002> SCSI3 0/direct fixed
> sd0: 305245MB, 512 bytes/sec, 625142448 sec total
> ichiic0 at pci0 dev 31 function 3 "Intel 82801GB SMBus" rev 0x02:
> apic 1 int 23 (irq 11)
> iic0 at ichiic0
> usb1 at uhci0: USB revision 1.0
> uhub1 at usb1 "Intel UHCI root hub" rev 1.00/1.00 addr 1
> usb2 at uhci1: USB revision 1.0
> uhub2 at usb2 "Intel UHCI root hub" rev 1.00/1.00 addr 1
> usb3 at uhci2: USB revision 1.0
> uhub3 at usb3 "Intel UHCI root hub" rev 1.00/1.00 addr 1
> usb4 at uhci3: USB revision 1.0
> uhub4 at usb4 "Intel UHCI root hub" rev 1.00/1.00 addr 1
> isa0 at ichpcib0
> isadma0 at isa0
> pckbc0 at isa0 port 0x60/5
> pckbd0 at pckbc0 (kbd slot)
> pckbc0: using irq 1 for kbd slot
> wskbd0 at pckbd0: console keyboard, using wsdisplay0
> pms0 at pckbc0 (aux slot)
> pckbc0: using irq 12 for aux slot
> wsmouse0 at pms0 mux 0
> pcppi0 at isa0 port 0x61
> spkr0 at pcppi0
> aps0 at isa0 port 0x1600/31
> npx0 at isa0 port 0xf0/16: reported by CPUID; using exception 16
> mtrr: Pentium Pro MTRR support
> uhub5 at uhub0 port 5 "Alcor Micro product 0x6254" rev 2.00/1.00 addr 2
> umass0 at uhub5 port 1 configuration 1 interface 0 "SMI Corporation
> USB DISK" rev 2.00/11.00 addr 3
> umass0: using SCSI over Bulk-Only
> scsibus2 at umass0: 2 targets, initiator 0
> sd1 at scsibus2 targ 1 lun 0: <, GOODDRIVEFR, 1100> SCSI0 0/direct removable
> sd1: 1912MB, 512 bytes/sec, 3915776 sec total
> uhidev0 at uhub5 port 2 configuration 1 interface 0 "Cypress
> Semiconductor USB To keyboard Mouse Converter" rev 1.01/0.01 addr 4
> uhidev0: iclass 3/1
> ukbd0 at uhidev0: 8 modifier keys, 6 key codes
> wskbd1 at ukbd0 mux 1
> wskbd1: connecting to wsdisplay0
> uhidev1 at uhub5 port 2 configuration 1 interface 1 "Cypress
> Semiconductor USB To keyboard Mouse Converter" rev 1.01/0.01 addr 4
> uhidev1: iclass 3/1, 2 report ids
> ums0 at uhidev1 reportid 1: 3 buttons, Z dir
> wsmouse1 at ums0 mux 0
> uhid0 at uhidev1 reportid 2: input=1, output=0, feature=0
> ugen0 at uhub4 port 2 "STMicroelectronics Biometric Coprocessor" rev
> 1.00/0.01 addr 2
> vscsi0 at root
> scsibus3 at vscsi0: 256 targets
> softraid0 at root
> root on sd0a swap on sd0b dump on sd0b
> scsibus4 at softraid0: 1 targets
> sd2 at scsibus4 targ 0 lun 0: <OPENBSD, SR CRYPTO, 004> SCSI2 0/direct fixed
> sd2: 269661MB, 512 bytes/sec, 552266002 sec total
> umass1 at uhub0 port 1 configuration 1 interface 0 "Initio MHV2080BH"
> rev 2.00/3.01 addr 5
> umass1: using SCSI over Bulk-Only
> scsibus5 at umass1: 2 targets, initiator 0
> sd3 at scsibus5 targ 1 lun 0: <Initio, MHV2080BH, 3.01> SCSI0 0/direct fixed
> sd3: 76319MB, 512 bytes/sec, 156301488 sec total
> 
> 
> Daniel

Hi,
you could try it :
http://www.openbsd.org/cgi-bin/man.cgi?query=newfs_ext2fs&sektion=8&apropos=0&manpath=OpenBSD+Current&arch=i386

Guillaume.

Reply via email to