Results 1 to 7 of 7

Thread: syncing/unmounting filesystems takes way too long

  1. #1

    syncing/unmounting filesystems takes way too long

    Hello people

    I have been using the knoppix CD now for a few weeks and I've come across this really annoying problem that seriuosly pisses me off. Everytime I enable DMA on my 160GB NTFS drive the OS takes forever to shut down.

    It stops at "syncing/unmounting filesystems hdb1" which is the drive I mentioned above. Sometimes it continues after 10 to 15 minutes and shuts down but most of the time it just stays there till I reset my PC manually. This corrupts my persistent image on the USB stick on the next bootup. I'm afraid it might also damage my NTFS drive and or partition.

    A good solution to this would be really neat. I've tried SimplyMepis and that does not have this problem. I prefer to use knoppix and would really like help on this issue.

    Kind regards

    Chew

  2. #2
    Senior Member registered user
    Join Date
    Oct 2003
    Location
    N42.41 W73 and change
    Posts
    401
    A couple of things to check,

    From a shell type: hdparm /dev/hdx , replacing the x with the letter of the drive in question. Do the same with mepis and see if they are different. If you are up to it there is a man page for hdparm, type: man hdparm or google for hdparm.

    The other thing to check might be the file /etc/fstab that contains file system information. Again compare both knoppix and mepis.

    There are probably other things worth looking at but these come to the top of my head.

    HTH.

  3. #3
    Hello rusty

    THis is what I get when I try hdparm

    Mepis

    /dev/hdb1:
    multcount = 16 (on)
    IO_support = 1 (32-bit)
    unmaskirq = 1 (on)
    using_dma = 1 (on)
    keepsettings = 0 (off)
    readonly = 0 (off)
    readahead = 256 (on)
    geometry = 24321/255/63, sectors = 390716802, start = 63


    Knoppix
    /dev/hdb1:
    multcount = 16 (on)
    IO_support = 1 (32-bit)
    unmaskirq = 1 (on)
    using_dma = 1 (on)
    keepsettings = 0 (off)
    readonly = 0 (off)
    readahead = 256 (on)
    geometry = 24321/255/63, sectors = 390716802, start = 63

  4. #4
    AS you can see both are the same and I need to know what else I can do to improve knoppix shutdown times.

    Cheers

    Chew

  5. #5
    Senior Member registered user
    Join Date
    Oct 2003
    Location
    N42.41 W73 and change
    Posts
    401
    Hmm,
    I see my two cents worth was worth every penny.

    Since nobody else has reported a similar problem, I wonder if it could be a bad CD. A couple of other things: Do you see any messages in the console that suggest whats going on when shutting down? Are the drive(s) lights on while your waiting? What happens if you, from a root shell, type: umount /dev/hdx , then halt or reboot.

    Just a few ideas to help diagnose the problem, maybe others will chime in with suggestions as well.

    Regards.

  6. #6
    Mepis FSTAB
    # Static entries below, do not use 'users' option in this area
    none /proc proc defaults 0 0
    none /proc/bus/usb usbfs devmode=0666 0 0
    none /sys sysfs defaults 0 0
    none /dev/pts devpts mode=0622 0 0


    # Dynamic entries below, identified by 'users' option
    /dev/hda1 /mnt/hda1 ntfs noauto,users,exec,ro,umask=0222 0 0
    /dev/hda5 /mnt/hda5 ntfs noauto,users,exec,ro,umask=0222 0 0
    /dev/hdb1 /mnt/hdb1 ntfs noauto,users,exec,ro,umask=0222 0 0

    /dev/cloop0 /mnt/cloop0 auto noauto,users,exec 0 0
    /dev/sda1 /mnt/sda1 vfat,ext3,ext2,reiserfs noauto,users,exec 0 0

    Knoppix FSTAB
    /proc /proc proc defaults 0 0
    /sys /sys sysfs noauto 0 0
    /dev/pts /dev/pts devpts mode=0622 0 0
    /dev/fd0 /mnt/auto/floppy auto user,noauto,exec,umask=000 0 0
    /dev/cdrom /mnt/auto/cdrom auto user,noauto,exec,ro 0 0
    # Added by KNOPPIX
    /dev/hda1 /mnt/hda1 ntfs noauto,users,exec,ro,umask=000,uid=knoppix,gid=kno ppix 0 0
    # Added by KNOPPIX
    /dev/hda5 /mnt/hda5 ntfs noauto,users,exec,ro,umask=000,uid=knoppix,gid=kno ppix 0 0
    # Added by KNOPPIX
    /dev/hdb1 /mnt/hdb1 ntfs noauto,users,exec,ro,umask=000,uid=knoppix,gid=kno ppix 0 0
    # Added by KNOPPIX
    /dev/sda1 /mnt/sda1 vfat noauto,users,exec,umask=000,uid=knoppix,gid=knoppi x 0 0

    Rust as per your instructions I have copied my fstabs here too. I can't make much of them but I hope someone else can and then inform me,

    Cheers

    Chew

  7. #7
    Howdy Rusty

    If I disable DMA for the HDD drive before I shutdown everything is ok. It shuts down quick and easy. If I don't disable DMA the OS takes long to reboot or shutdown. No error message. It just waits at "syncing/unmounting filesystems hdb1".

    Cheers

    Chew

Similar Threads

  1. mount additional filesystems per default
    By bosaudf in forum Customising & Remastering
    Replies: 0
    Last Post: 03-20-2009, 08:28 PM
  2. KNOPPIX with 2 compressed filesystems?
    By your_breakfast in forum Customising & Remastering
    Replies: 3
    Last Post: 01-04-2005, 06:18 AM
  3. Takes a long time to image a drive with dd
    By brentokc in forum General Support
    Replies: 7
    Last Post: 06-09-2004, 06:44 PM
  4. live filesystems
    By walterw in forum Customising & Remastering
    Replies: 11
    Last Post: 05-07-2003, 01:37 PM
  5. The size of the compressed filesystems
    By drewbradford in forum Customising & Remastering
    Replies: 2
    Last Post: 03-30-2003, 09:34 PM

Posting Permissions

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


ARUBA J9772A 2530-48G PoE+ 48 PORT ETHERNET SWITCH W/ RACK EARS J9772-60301 picture

ARUBA J9772A 2530-48G PoE+ 48 PORT ETHERNET SWITCH W/ RACK EARS J9772-60301

$140.23



Netgear Prosafe 48-Port GbE & 4-Port SFP Managed Network Switch GS752TS picture

Netgear Prosafe 48-Port GbE & 4-Port SFP Managed Network Switch GS752TS

$59.99



Fortinet FortiSwitch FS-124D-POE 24 Port Gigabit Ethernet Switch UNREGISTERED picture

Fortinet FortiSwitch FS-124D-POE 24 Port Gigabit Ethernet Switch UNREGISTERED

$99.97



Loocam Gigabit PoE Switch 8 Port 96W 2 Uplink Port Unmanaged Ethernet Switch picture

Loocam Gigabit PoE Switch 8 Port 96W 2 Uplink Port Unmanaged Ethernet Switch

$49.99



NETGEAR GS108 ProSafe 8-Port GbE Unmanaged Switch w/ Power Adapter picture

NETGEAR GS108 ProSafe 8-Port GbE Unmanaged Switch w/ Power Adapter

$14.99



TP-Link 24-Port Gigabit Ethernet Unmanaged Switch Desktop/Rackmount TL-SG1024D picture

TP-Link 24-Port Gigabit Ethernet Unmanaged Switch Desktop/Rackmount TL-SG1024D

$55.99



NETGEAR  ProSafe GS724T Rack Mountable Managed Gigabit Switch picture

NETGEAR ProSafe GS724T Rack Mountable Managed Gigabit Switch

$20.00



Cisco WS-C2960S-48TS-L 48 Port Gigabit Ethernet LAN Switch - Same Day Shipping picture

Cisco WS-C2960S-48TS-L 48 Port Gigabit Ethernet LAN Switch - Same Day Shipping

$29.95



CISCO MERAKI MS120-24P-HW 24-PORT GIGABIT CLOUD MANAGED PoE SWITCH - UNCLAIMED picture

CISCO MERAKI MS120-24P-HW 24-PORT GIGABIT CLOUD MANAGED PoE SWITCH - UNCLAIMED

$103.74



HPE ARUBA 2530-24G J9773A PoE+ 24-PORT GIGABIT ETHERNET SWITCH J9773-60201 picture

HPE ARUBA 2530-24G J9773A PoE+ 24-PORT GIGABIT ETHERNET SWITCH J9773-60201

$93.24