Author Topic: Weird Problem With 3100, Repartitioned Md And Usb  (Read 5042 times)

silencer51

  • Full Member
  • ***
  • Posts: 172
    • View Profile
    • http://tchalikias.blogspot.com
Weird Problem With 3100, Repartitioned Md And Usb
« on: January 25, 2006, 12:35:28 pm »
I have repartitioned my microdrive as follows:

/dev/hda1 -> 512mb swap
/dev/hda2 -> 2048mb ext2
/dev/hda3 -> 1440mb fat32

With pdaxrom 1.1.0beta both hda2 and hda3 get automounted on startup to /mnt/ide2 and ide3 respectively.

However, after I connected my Z to my Windows Box and set USB mode to mass storage device and copied over some files to the fat32 partition, /dev/hda3 has stopped automounting.

I am sure this has caused it to stop automounting, I rebooted immediately after. I tried setting USB mode to network,to see if this caused the problem, but no.

I can still mount it manually and it works ok.

Perhaps when you connect it via USB to an XP box, XP does something stupid to the partition?

Any ideas on how to fix this? And how to enable swap upon startup automatically?

Thanks in advance
Zaurus SL-5500 with:
128MB CF Card                                    
128MB SD Card
Symbol WiFi CF Card (working, sorta... overheats and shuts down!)
OZ 3.5.4 & GPE

Zaurus SL-C3100 with:
pdaXrom 1.1.0beta3 & XFCE4, /dev/hda1 256MB swap, /dev/hda2 512MB ext3, /dev/hda3 3328MB FAT32 for stuff
D-Link DCF-660 WiFi CF Card
1GB SD Card
128MB SD Card
128MB CF Card (for flashing)
USB Host Cable

& a Sony VAIO PCG-C1XD Picturebook with accessories...

[img]http://img58.imageshack.us/img58/7319/usbar21mw.gif\" border=\"0\" class=\"linked-sig-image\" /]

silencer51

  • Full Member
  • ***
  • Posts: 172
    • View Profile
    • http://tchalikias.blogspot.com
Weird Problem With 3100, Repartitioned Md And Usb
« Reply #1 on: January 25, 2006, 12:49:51 pm »
OK, this is really weird...

After a while (about 3-4 minutes) /dev/hda3 gets mounted automagically! WTF!?

I noticed that after the system has booted and I log on, there is disk activity (green led flashes on and off). And when it ends, I mount -l and see /dev/hda3 has been mounted automatically. Weird, huh? Anyone seen any similar behaviour?
Zaurus SL-5500 with:
128MB CF Card                                    
128MB SD Card
Symbol WiFi CF Card (working, sorta... overheats and shuts down!)
OZ 3.5.4 & GPE

Zaurus SL-C3100 with:
pdaXrom 1.1.0beta3 & XFCE4, /dev/hda1 256MB swap, /dev/hda2 512MB ext3, /dev/hda3 3328MB FAT32 for stuff
D-Link DCF-660 WiFi CF Card
1GB SD Card
128MB SD Card
128MB CF Card (for flashing)
USB Host Cable

& a Sony VAIO PCG-C1XD Picturebook with accessories...

[img]http://img58.imageshack.us/img58/7319/usbar21mw.gif\" border=\"0\" class=\"linked-sig-image\" /]

silencer51

  • Full Member
  • ***
  • Posts: 172
    • View Profile
    • http://tchalikias.blogspot.com
Weird Problem With 3100, Repartitioned Md And Usb
« Reply #2 on: January 25, 2006, 01:13:16 pm »
Actually it takes closer to 6-8 minutes and is really annoying... I tried messing with ide.opts in /etc/pcmcia but with no results...
Zaurus SL-5500 with:
128MB CF Card                                    
128MB SD Card
Symbol WiFi CF Card (working, sorta... overheats and shuts down!)
OZ 3.5.4 & GPE

Zaurus SL-C3100 with:
pdaXrom 1.1.0beta3 & XFCE4, /dev/hda1 256MB swap, /dev/hda2 512MB ext3, /dev/hda3 3328MB FAT32 for stuff
D-Link DCF-660 WiFi CF Card
1GB SD Card
128MB SD Card
128MB CF Card (for flashing)
USB Host Cable

& a Sony VAIO PCG-C1XD Picturebook with accessories...

[img]http://img58.imageshack.us/img58/7319/usbar21mw.gif\" border=\"0\" class=\"linked-sig-image\" /]

silencer51

  • Full Member
  • ***
  • Posts: 172
    • View Profile
    • http://tchalikias.blogspot.com
Weird Problem With 3100, Repartitioned Md And Usb
« Reply #3 on: January 25, 2006, 01:23:45 pm »
Also trying to reboot withing these 6-8 minutes takes a loooong time, it seems it has to wait out whatever the internal cf is doing. When rebooting it stays on "Stop CF Services" for minutes.

What could be wrong? I'll try to fdisk my MD again and delete and recreate the fat32 partition...
Zaurus SL-5500 with:
128MB CF Card                                    
128MB SD Card
Symbol WiFi CF Card (working, sorta... overheats and shuts down!)
OZ 3.5.4 & GPE

Zaurus SL-C3100 with:
pdaXrom 1.1.0beta3 & XFCE4, /dev/hda1 256MB swap, /dev/hda2 512MB ext3, /dev/hda3 3328MB FAT32 for stuff
D-Link DCF-660 WiFi CF Card
1GB SD Card
128MB SD Card
128MB CF Card (for flashing)
USB Host Cable

& a Sony VAIO PCG-C1XD Picturebook with accessories...

[img]http://img58.imageshack.us/img58/7319/usbar21mw.gif\" border=\"0\" class=\"linked-sig-image\" /]

km2783

  • Jr. Member
  • **
  • Posts: 71
    • View Profile
    • http://
Weird Problem With 3100, Repartitioned Md And Usb
« Reply #4 on: January 25, 2006, 01:46:30 pm »
I had a similar problem, both my CF and MD were not mounting.  I had to pull the battery out to get it sorted out.  I could mount the CF in X w/ the CF/SD Monitor, or do them both manually via terminal commands, but until I pulled the battery it wouldn't do it automatically, even after rebooting.  I have not been able to duplicate my problem, however

**edit** My MD is exactly as it came from Sharp, and the CF was formatted in a digital camera years ago.
« Last Edit: January 25, 2006, 01:47:30 pm by km2783 »
SL-C3100 - pdaXii3 5.4.9

silencer51

  • Full Member
  • ***
  • Posts: 172
    • View Profile
    • http://tchalikias.blogspot.com
Weird Problem With 3100, Repartitioned Md And Usb
« Reply #5 on: January 25, 2006, 01:57:47 pm »
I don't think our problems are similar... Something is very very wrong here.

I fdisked the fat32 partition again and formatted it... No improvement.

Another observation:

At boot, the intense disk activity begins when loading the bluetooth modules. After that, when I log in, I notice that I cannot start windowmaker for as long as the MD is doing it's thing! I get an error about a library missing. After these 6 minutes, the microdrive stops r/w and then I can start everything fine and hda3 shows as mounted. WTF!?
Zaurus SL-5500 with:
128MB CF Card                                    
128MB SD Card
Symbol WiFi CF Card (working, sorta... overheats and shuts down!)
OZ 3.5.4 & GPE

Zaurus SL-C3100 with:
pdaXrom 1.1.0beta3 & XFCE4, /dev/hda1 256MB swap, /dev/hda2 512MB ext3, /dev/hda3 3328MB FAT32 for stuff
D-Link DCF-660 WiFi CF Card
1GB SD Card
128MB SD Card
128MB CF Card (for flashing)
USB Host Cable

& a Sony VAIO PCG-C1XD Picturebook with accessories...

[img]http://img58.imageshack.us/img58/7319/usbar21mw.gif\" border=\"0\" class=\"linked-sig-image\" /]

Deviant25

  • Newbie
  • *
  • Posts: 40
    • View Profile
Weird Problem With 3100, Repartitioned Md And Usb
« Reply #6 on: January 25, 2006, 05:47:19 pm »
Hey, i belive your problem is that you have allot of apps installed on hda2, when the things boots it will try to run ipkg-link to all the stuff after it mounts hda2... then once that is done it will mount hda3... hence why the disc activity shoots for like 10 mins.. then magically once it stops activity it will work/mount/reboot correctly

so if this is the answer to your problem.. then well ur in the same position as me  .. i just wait till its all loaded then i make sure not to reboot unless i have to

silencer51

  • Full Member
  • ***
  • Posts: 172
    • View Profile
    • http://tchalikias.blogspot.com
Weird Problem With 3100, Repartitioned Md And Usb
« Reply #7 on: January 25, 2006, 05:56:39 pm »
This would explain my problem (I have almost 500mb of packages installed), but why would ipkg-link run on startup? I though it only ran after I installed a package and added the proper symlinks. Right?  
Zaurus SL-5500 with:
128MB CF Card                                    
128MB SD Card
Symbol WiFi CF Card (working, sorta... overheats and shuts down!)
OZ 3.5.4 & GPE

Zaurus SL-C3100 with:
pdaXrom 1.1.0beta3 & XFCE4, /dev/hda1 256MB swap, /dev/hda2 512MB ext3, /dev/hda3 3328MB FAT32 for stuff
D-Link DCF-660 WiFi CF Card
1GB SD Card
128MB SD Card
128MB CF Card (for flashing)
USB Host Cable

& a Sony VAIO PCG-C1XD Picturebook with accessories...

[img]http://img58.imageshack.us/img58/7319/usbar21mw.gif\" border=\"0\" class=\"linked-sig-image\" /]

Meanie

  • Hero Member
  • *****
  • Posts: 2803
    • View Profile
    • http://www.users.on.net/~hluc/myZaurus/
Weird Problem With 3100, Repartitioned Md And Usb
« Reply #8 on: January 25, 2006, 07:03:03 pm »
Quote
This would explain my problem (I have almost 500mb of packages installed), but why would ipkg-link run on startup? I though it only ran after I installed a package and added the proper symlinks. Right? 
[div align=\"right\"][a href=\"index.php?act=findpost&pid=112408\"][{POST_SNAPBACK}][/a][/div]

maybe it is because ipkg-link was originally intended for installation to an external cf/sd card which could be ejected and swapped with another card. this means that it had to unlink every linked file when the disk was ejected and relink every file when it was inserted again. this makes sense for an external card, but for hdd2 which is internal, this wouldn't make sense but might be what is happening.
« Last Edit: January 25, 2006, 07:04:26 pm by Meanie »
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

adf

  • Hero Member
  • *****
  • Posts: 2807
    • View Profile
    • http://
Weird Problem With 3100, Repartitioned Md And Usb
« Reply #9 on: January 25, 2006, 08:13:02 pm »
of course it is kinda convenient or relink on reboot if you make a lot of changes.
**3100 Zubuntu Jaunty,(working on Cacko dualboot), 16G A-Data internal CF, 4G SD, Ambicom WL-1100C Cf, linksys usb ethernet,  BelkinF8T020 BT card, Belkin F8U1500-E Ir kbd, mini targus usb mouse, rechargeble AC/DC powered USB hub, psp cables and battery extenders.

**6000l  Tetsuized Sharprom, installed on internal flash only 1G sd, 2G cf

silencer51

  • Full Member
  • ***
  • Posts: 172
    • View Profile
    • http://tchalikias.blogspot.com
Weird Problem With 3100, Repartitioned Md And Usb
« Reply #10 on: January 26, 2006, 04:47:29 am »
Is there any way to alter the boot and shutdown sequence to stop ipkg-link from running (when mounting and unmounting CF cards including the microdrive)? Since I intend to install all packages to /dev/hda2, there is no need for it...
Zaurus SL-5500 with:
128MB CF Card                                    
128MB SD Card
Symbol WiFi CF Card (working, sorta... overheats and shuts down!)
OZ 3.5.4 & GPE

Zaurus SL-C3100 with:
pdaXrom 1.1.0beta3 & XFCE4, /dev/hda1 256MB swap, /dev/hda2 512MB ext3, /dev/hda3 3328MB FAT32 for stuff
D-Link DCF-660 WiFi CF Card
1GB SD Card
128MB SD Card
128MB CF Card (for flashing)
USB Host Cable

& a Sony VAIO PCG-C1XD Picturebook with accessories...

[img]http://img58.imageshack.us/img58/7319/usbar21mw.gif\" border=\"0\" class=\"linked-sig-image\" /]