Author Topic: Running Fsck, Why Do I Need To Use D+b?  (Read 2168 times)

Jon_J

  • Hero Member
  • *****
  • Posts: 1853
    • View Profile
    • http://
Running Fsck, Why Do I Need To Use D+b?
« on: February 01, 2007, 05:57:55 pm »
I've been having probs with my FAT partition wanting to revert to read only.
So I unmounted the partition, and exited pdaxii13 and tried:
fsck.vfat -a -f -t -v -V /dev/hdc3

It gives me this error:
Seek to -607977984:Invalid argument

So I used the D+B boot method and now fsck.vfat is running fine.

Why do I have to use the octopus method? instead of running this command inside X or just outside X (exit pdaxrom)
« Last Edit: February 01, 2007, 06:17:01 pm by Jon_J »
C3100 Multiboot-->Angstrom 2007.12-r18 | Cacko 1.23 | ArchLinuxARM
C3200 pdaxii13v2-5.5-alpha4 Akita on NAND

Ambicom WL1100C-CF Wifi - Ambicom CF modem - Ambicom CF GPS - Belkin-F5D5050 USB LAN
Socket CF Bluetooth rev K - Iogear 4 port USB micro hub - pocket CF card reader
Targus mini USB optical mouse - 2 Targus SD card readers

Meanie

  • Hero Member
  • *****
  • Posts: 2803
    • View Profile
    • http://www.users.on.net/~hluc/myZaurus/
Running Fsck, Why Do I Need To Use D+b?
« Reply #1 on: February 01, 2007, 06:22:02 pm »
Quote
I've been having probs with my FAT partition wanting to revert to read only.
So I unmounted the partition, and exited pdaxii13 and tried:
fsck.vfat -a -f -t -v -V /dev/hdc3

It gives me this error:
Seek to -607977984:Invalid argument

So I used the D+B boot method and now fsck.vfat is running fine.

Why do I have to use the octopus method? instead of running this command inside X or just outside X (exit pdaxrom)
[div align=\"right\"][a href=\"index.php?act=findpost&pid=153241\"][{POST_SNAPBACK}][/a][/div]

you prolly still have stuff running that are accessing the partition. you also need to unmount it first. you aren't supposed to fsck a partition while it is still mounted.
besides, fsck.vfat is old
for pdaXii13 proper, ie Spitz on a C3000, there is the maintenance mode which is a boot stage before any of the partitions on the microdrive are mounted so you can fsck  all the partitions ...
SL-C3000 - pdaXii13 build5.4.9 (based on pdaXrom beta3) / SL-C3100 - Sharp ROM 1.02 JP (heavily customised)
Netgear MA701 CF, SanDisk ConnectPlus CF, Socket Bluetooth CF, 4GB Kingston CF,  4GB pqi SD, 4GB ChoiceOnly SD, 2GB SanDisk SD USB Plus, 1GB SanDisk USB Plus, 1GB Transcend SD, 2GB SanDisk MicroSD with SD adaptor, Piel Frama Leather Case, GoldX 5-in-1 USB cable, USB hub, USB mouse, USB keyboard, USB ethernet, USB HDD, many other USB accessories...
(Zaurus SL-C3000 owner since March 14. 2005, Zaurus SL-C3100 owner since September 21. 2005)
http://members.iinet.net.au/~wyso/myZaurus - zBook3K

Jon_J

  • Hero Member
  • *****
  • Posts: 1853
    • View Profile
    • http://
Running Fsck, Why Do I Need To Use D+b?
« Reply #2 on: February 01, 2007, 06:25:58 pm »
I did unmount it first. It only has data on it and nothing was running from it as far as I know.
Running it from D+B found some lost clusters and chains, and fixed it.
It was just some new data that I have since deleted.
I still don't understand why fsck won't run without using the D+B method.

meanie, do you have a package that will enable fsck to run on pdaxii13-akita, like the one you mentioned for the 3000?

Thank you
« Last Edit: February 01, 2007, 06:28:02 pm by Jon_J »
C3100 Multiboot-->Angstrom 2007.12-r18 | Cacko 1.23 | ArchLinuxARM
C3200 pdaxii13v2-5.5-alpha4 Akita on NAND

Ambicom WL1100C-CF Wifi - Ambicom CF modem - Ambicom CF GPS - Belkin-F5D5050 USB LAN
Socket CF Bluetooth rev K - Iogear 4 port USB micro hub - pocket CF card reader
Targus mini USB optical mouse - 2 Targus SD card readers

Meanie

  • Hero Member
  • *****
  • Posts: 2803
    • View Profile
    • http://www.users.on.net/~hluc/myZaurus/
Running Fsck, Why Do I Need To Use D+b?
« Reply #3 on: February 01, 2007, 06:29:34 pm »
Quote
I did unmount it first. It only has data on it and nothing was running from it as far as I know.
Running it from D+B found some lost clusters and chains, and fixed it.
It was just some new data that I have since deleted.
I still don't understand why fsck won't run without using the D+B method.

meanie, do you have a package that will enable fsck to run on pdaxii13-akita, like the one you mentioned for the 3000?

Thank you
[div align=\"right\"][a href=\"index.php?act=findpost&pid=153249\"][{POST_SNAPBACK}][/a][/div]

no, this is only available for C3000
SL-C3000 - pdaXii13 build5.4.9 (based on pdaXrom beta3) / SL-C3100 - Sharp ROM 1.02 JP (heavily customised)
Netgear MA701 CF, SanDisk ConnectPlus CF, Socket Bluetooth CF, 4GB Kingston CF,  4GB pqi SD, 4GB ChoiceOnly SD, 2GB SanDisk SD USB Plus, 1GB SanDisk USB Plus, 1GB Transcend SD, 2GB SanDisk MicroSD with SD adaptor, Piel Frama Leather Case, GoldX 5-in-1 USB cable, USB hub, USB mouse, USB keyboard, USB ethernet, USB HDD, many other USB accessories...
(Zaurus SL-C3000 owner since March 14. 2005, Zaurus SL-C3100 owner since September 21. 2005)
http://members.iinet.net.au/~wyso/myZaurus - zBook3K

Jon_J

  • Hero Member
  • *****
  • Posts: 1853
    • View Profile
    • http://
Running Fsck, Why Do I Need To Use D+b?
« Reply #4 on: February 01, 2007, 06:39:13 pm »
Is there a newer version available for pdaxrom?
I looked in my /bin and /sbin directories and cannot find fsck anywhere.

I bet I can hook it up to USB and use chkdsk in windows to check my FAT partition. I'll try this next time I need to use fsck.vfat
« Last Edit: February 01, 2007, 06:39:45 pm by Jon_J »
C3100 Multiboot-->Angstrom 2007.12-r18 | Cacko 1.23 | ArchLinuxARM
C3200 pdaxii13v2-5.5-alpha4 Akita on NAND

Ambicom WL1100C-CF Wifi - Ambicom CF modem - Ambicom CF GPS - Belkin-F5D5050 USB LAN
Socket CF Bluetooth rev K - Iogear 4 port USB micro hub - pocket CF card reader
Targus mini USB optical mouse - 2 Targus SD card readers