Posted: Mon Dec 31, 2007 8:08 Post subject: cannot format my 250GB HDD drive
Hi I'm new here, wish someone help
I got a ASUS WL-500GP and flashed it with v24RC5, then connect it with a 250GB HDD via an extenal USB harddisk case. The harddisk is recognized and I can partition it successully.
However, I can't never format it successfully as follow:
============================================
SCSI device sda: 488397168 512-byte hdwr sectors (250059 MB)
/dev/scsi/host0/bus0/target0/lun0: p1
root@DD-WRT:~# mkfs.ext3 /dev/scsi/host0/bus0/target0/lun0/part1
mke2fs 1.38 (30-Jun-2005)
Filesystem label=
OS type: Linux
Block size=4096 (log=2)
Fragment size=4096 (log=2)
28114944 inodes, 56227492 blocks
2811374 blocks (5.00%) reserved for the super user
First data block=0
1716 block groups
32768 blocks per group, 32768 fragments per group
16384 inodes per group
Superblock backups stored on blocks:
32768, 98304, 163840, 229376, 294912, 819200, 884736, 1605632, 2654208,
4096000, 7962624, 11239424, 20480000, 23887872
Warning: cannot zero block 56227472 at end of filesystem
Writing inode tables: 16/1716
Could not write 8 blocks in inode table starting at 524290.
===========================================
I tried 2 new 250GB HD, same result, even the number "cannot zero block xxxxxxxx at end of filesystem", "Could not write 8 blocks in inode table starting at xxxxxx." are same.
ehci_hcd 01:03.2: PCI device 1106:3104
ehci_hcd 01:03.2: irq 2, pci mem c01aa000
usb.c: new USB bus registered, assigned bus number 1
EHCI: Enabling VIA 6212 workarounds
ehci_hcd 01:03.2: USB 2.0 enabled, EHCI 1.00, driver 2003-Dec-29/2.4
hub.c: USB hub found
hub.c: 4 ports detected
SCSI subsystem driver Revision: 1.00
Initializing USB Mass Storage driver...
usb.c: registered new driver usb-storage
USB Mass Storage support registered.
Journalled Block Device driver loaded
hub.c: new USB device 01:03.2-1, assigned address 2
scsi0 : SCSI emulation for USB Mass Storage devices
Vendor: Generic Model: USB Disk Rev: 9.02
Type: Direct-Access ANSI SCSI revision: 02
Attached scsi disk sda at scsi0, channel 0, id 0, lun 0
SCSI device sda: 488397168 512-byte hdwr sectors (250059 MB)
Partition check:
/dev/scsi/host0/bus0/target0/lun0: p1
WARNING: USB Mass Storage data integrity not assured
USB Mass Storage device found at 2
The same problem I have with the x86 version. A bug report is open, but not assigned up to now. I've worked around with the openwrt package for ext2 progs (e2fsprogs ?).
Hope someone will fix this soon together with the slow IDE performance.
BUGID: 2846 (mkfs fails), 2847 (slow IDE performance)
Posted: Sun Feb 10, 2008 15:24 Post subject: e2fsprogs does not work either here
Hi wlanguy. I have exactly the same problem with my Asus WL-500gP. I installed the e2fsprogs package to use mke2fs but that does not work either. Could you describe your workaround?
Code:
root@DD-WRT:~# fdisk -l /dev/discs/disc0/disc
Disk /dev/discs/disc0/disc: 250.0 GB, 250059350016 bytes
255 heads, 63 sectors/track, 30401 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Device Boot Start End Blocks Id System
/dev/discs/disc0/part1 1 33 262144 b W95 FAT32
Partition 1 does not end on cylinder boundary.
/dev/discs/disc0/part2 33 30401 243932864+ 83 Linux
root@DD-WRT:~#
Code:
root@DD-WRT:~# mke2fs /dev/scsi/host0/bus0/target0/lun0/part2
mke2fs 1.38 (30-Jun-2005)
Filesystem label=
OS type: Linux
Block size=4096 (log=2)
Fragment size=4096 (log=2)
30507008 inodes, 60983216 blocks
3049160 blocks (5.00%) reserved for the super user
First data block=0
1862 block groups
32768 blocks per group, 32768 fragments per group
16384 inodes per group
Superblock backups stored on blocks:
32768, 98304, 163840, 229376, 294912, 819200, 884736, 1605632, 2654208,
4096000, 7962624, 11239424, 20480000, 23887872
Warning: cannot zero block 60983200 at end of filesystem
Writing inode tables: 16/1862
Could not write 8 blocks in inode table starting at 524290.
root@DD-WRT:~#
I just wanted to point out that the /jffs/sbin/mke2fs is the one from e2fsprogs. I could solve my problem in the end with the /sbin/mke2fs though as I mixed up my partitions. I wanted to format the small partition and that worked well with /sbin/mke2fs. The big partition is now FAT32 and for sharing with Samba.