Results 1 to 5 of 5

Thread: Swap partition causing USB instability?

  1. #1

    Question Swap partition causing USB instability?

    From time to time (once a week) data was unreadable from USB disk with I/O errors. Rebooting didn't help but if
    I turned the WL500gx off (power cycled) then it was working again and filesystem was OK as if nothing has been written on it after the trouble started.

    I was thinking my USB disk is at the end of its lifetime but I gave it another chance so I reformatted it without a swap partition and started using a second USB stick for swap.

    After a few days the same problem appeared. I turned off swap (deleted "swapon ..." from post-boot) and since then it works like a charm.

    Anyone seen this? Could using a swap partition cause USB instability?

    I created my swap partition as explained on macsat site (marked partition as Linux Swap) but when I do 'df' this partition is mounted (/dev/discs/disc1/part1)

    $ df
    Filesystem 1k-blocks Used Available Use% Mounted on
    /dev/root 3008 3008 0 100% /
    /dev/discs/disc0/part1 121859 50043 65524 43% /opt
    /dev/discs/disc1/part1 31712 28789 2923 91% /tmp/harddisk
    Allthough I did this in post-boot:

    #!/bin/sh
    # wait for /opt to mount
    umount /tmp/harddisk
    umount /tmp/harddisk/part1
    #
    mount /dev/discs/disc0/part1 /opt
    ...
    Why did this partition remount and could it be the cause of trouble?

    Thanks in advance guys!

  2. #2
    I'm still having this issue appear one in a while. I believe it is the USB driver that causes instability. My USB stick is 1.1 only and that may be it. Any idea how to troubleshoot this?

    Thank, B

  3. #3
    Join Date
    Nov 2004
    Location
    Sweden
    Posts
    259
    What you say makes me feel there something wrong in your configuration since the df command only displays information about active non-swap partitions.

    Why don't you run

    Code:
    fdisk -l
    to see how your partitions look like?

  4. #4
    Join Date
    Jun 2005
    Location
    Slovenia
    Posts
    736
    Instability is causing FLASH wear. http://en.wikipedia.org/wiki/Wear_levelling

  5. #5
    Join Date
    Nov 2004
    Location
    Sweden
    Posts
    259
    I do not think that is my case since my pen driver works perfectly under any other conditions and I do not have had problems with it in any other environment neither. I can boot my PC from it and I can still write&delete files on it. I'm pretty sure something has happened with my pen drive that only my wl500g can "detect".

Similar Threads

  1. linuxrc bug? - WL-500g not booting from usb drive with hub
    By daniel632 in forum WL-500g Custom Development
    Replies: 5
    Last Post: 14-03-2012, 15:28
  2. automount swap partition????
    By qczek in forum WL-500g Custom Development
    Replies: 3
    Last Post: 30-06-2006, 20:44
  3. WL500g 2 USB Drucker und ein LPT
    By Trebron in forum German Discussion - Deutsch (DE)
    Replies: 1
    Last Post: 27-01-2006, 23:48
  4. Wl500g > 2 USB and 1 LPT Printer
    By Trebron in forum WL-500g Q&A
    Replies: 0
    Last Post: 27-01-2006, 22:17
  5. Please help... USB HDD doesn't work
    By jirina42 in forum WL-500g Q&A
    Replies: 6
    Last Post: 05-01-2006, 19:04

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •