Announcement

Collapse
No announcement yet.

shut down IDE ?

Collapse
This topic is closed.
X
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

    shut down IDE ?

    NOT a bigie but anoying some times.
    first let me say this this Jackalope runs well.........I may breed her......LOL

    ahumm ok when shuting down I get this

    Code:
    halt: Unable to iterate IDE Devices: No such file or directory
    and stops thare without turning off the box...........my drives AR IDE and as we know Kubuntu read's ALL drives as SCSI wether there IDE or not.

    SO is thare a work around for this?

    VINNY

    ok hear's my drive layout.

    vinny@Kubuntu:~$ sudo parted
    [sudo] password for vinny:
    GNU Parted 1.8.8
    Using /dev/sda
    Welcome to GNU Parted! Type 'help' to view a list of commands.
    (parted) print all
    Model: ATA Maxtor 6Y060L0 (scsi)
    Disk /dev/sda: 61.5GB
    Sector size (logical/physical): 512B/512B
    Partition Table: msdos

    Number Start End Size Type File system Flags
    1 32.3kB 8701MB 8701MB primary ntfs boot
    2 8701MB 29.7GB 21.0GB primary fat32 lba
    3 29.7GB 61.5GB 31.8GB extended lba
    5 29.7GB 61.5GB 31.8GB logical fat32


    Model: ATA WDC WD400BB-00DE (scsi)
    Disk /dev/sdb: 40.0GB
    Sector size (logical/physical): 512B/512B
    Partition Table: msdos

    Number Start End Size Type File system Flags
    1 32.3kB 40.0GB 40.0GB extended boot, lba
    8 8258kB 13.0GB 13.0GB logical xfs
    5 13.0GB 13.6GB 666MB logical linux-swap
    6 13.6GB 22.2GB 8516MB logical ext3
    7 22.2GB 40.0GB 17.9GB logical ext2


    (parted)


    as you can see all drives are detecktid as scsi NOT IDE and thay AR IDE.
    i7 4core HT 8MB L3 2.9GHz
    16GB RAM
    Nvidia GTX 860M 4GB RAM 1152 cuda cores

    #2
    Re: shut down IDE ?

    If you look in /etc/init.d/halt and /etc/init.d/reboot you will find that the commands generated there use options that are either not available in the halt or reboot commands, or are not required under linux because the kernel does this already. The disk (-h) is one of the later. This is an Ubuntu modification to the Debian base in the use of upstart and they seem to have not noticed that computers are failing to shutdown cleanly because of it. You can edit those scripts to fix this and I have described how to do that in this forum.

    Comment


      #3
      Re: shut down IDE ?

      Originally posted by mando_hacker
      You can edit those scripts to fix this and I have described how to do that in this forum.
      Cool................a........... .................could ya point me to where you discribed it.......... ............becose dowing a serch for ..............shut down IDE..............got me back hear..........LOL.

      please.


      VINNY
      i7 4core HT 8MB L3 2.9GHz
      16GB RAM
      Nvidia GTX 860M 4GB RAM 1152 cuda cores

      Comment


        #4
        Re: shut down IDE ?

        http://kubuntuforums.net/forums/inde...7597#msg177597

        Comment


          #5
          Re: shut down IDE ?

          thank you sir.........

          my prob is just on shutdown and it's on x86 ...........but im gowing to try the removing -d option from halt and see what happens...........I'll post back.

          strangely enuff I was reading the man page for halt and looking at /etc/init.d/halt when you posted back....and had just notesed the -d wasent in the man page

          well let's see what removing it dose!!!!

          VINNY
          i7 4core HT 8MB L3 2.9GHz
          16GB RAM
          Nvidia GTX 860M 4GB RAM 1152 cuda cores

          Comment


            #6
            Re: shut down IDE ?

            this is strang?

            ok so I sudo dolphin and go to /etc/init.d and open halt with kate.
            I remove the -d from the halt comand and save the file.
            then closed every thing and whent to shutdown and it hangs with a black screen so I ctrl>alt>back to restart the xserver and get back to the desktop.......strang?..........so I go back and put the -d back.
            AND the same thing happens ?

            the halting on a black screen onley started AFTER editing the file and changing it back dident fix it?

            eney idease ??
            i7 4core HT 8MB L3 2.9GHz
            16GB RAM
            Nvidia GTX 860M 4GB RAM 1152 cuda cores

            Comment


              #7
              Re: shut down IDE ?

              While testing this you should probably use either
              Code:
              sudo halt
              or
              Code:
              sudo telinit 0
              to halt and
              Code:
              sudo reboot
              or
              Code:
              sudo telinit 6
              to reboot. That will make sure the scripts actually get run. There also seems to be a problem with consolekit that stops the X server from restarting and there is some code that checks for VT logins and ssh logins while shutting down and will pop up a window. All those things seem to affect this.

              Comment


                #8
                Re: shut down IDE ?

                Originally posted by mando_hacker
                While testing this you should probably use either
                Code:
                sudo halt
                or
                Code:
                sudo telinit 0
                to halt and
                Code:
                sudo reboot
                or
                Code:
                sudo telinit 6
                to reboot. That will make sure the scripts actually get run. There also seems to be a problem with consolekit that stops the X server from restarting and there is some code that checks for VT logins and ssh logins while shutting down and will pop up a window. All those things seem to affect this.
                OK

                BUT I think you mite have misunderstood me.

                the ONLEY problem I had was when shuting down it would shutdown and then not turn off the power but it DID shutdown the system.

                NOW after editing the /ect/init.d/halt shell script 1 time JUST removing the -d from the line

                Code:
                halt -d -f $netdown $poweroff $hddown
                the system will start to shutdown but hang rite after shuting down the display and go no further.

                even after putting the -d back in the line it's still hanging when it WAS shuting down but not turning off the power.

                and that's the onley thing I did!!!

                VINNY


                UPDATE : after caling sudo halt 1 time the system once agin shuts down OK to the point of not turnig off the power.
                i7 4core HT 8MB L3 2.9GHz
                16GB RAM
                Nvidia GTX 860M 4GB RAM 1152 cuda cores

                Comment


                  #9
                  Re: shut down IDE ?

                  Try ( in the Konsole)

                  Code:
                  sudo shutdown now -h

                  Comment


                    #10
                    Re: shut down IDE ?

                    Originally posted by dibl
                    Try ( in the Konsole)

                    Code:
                    sudo shutdown now -h
                    dose the same as.

                    Code:
                    sudo halt
                    the system shuts down but I still half to push the power button to turn it off.

                    VINNY
                    i7 4core HT 8MB L3 2.9GHz
                    16GB RAM
                    Nvidia GTX 860M 4GB RAM 1152 cuda cores

                    Comment


                      #11
                      Re: shut down IDE ?

                      Code:
                      sudo shutdown -hP now
                      should have the desired effect. This seems to be the default on my laptop but not on a desktop. I am not sure how that is controlled.

                      Comment


                        #12
                        Re: shut down IDE ?

                        i get that message on shutdown on my computers too. my laptop has and ide drive (well two cdrom is ide also).
                        but my desktop has only sata devices. so why i get it on that i don't know. but for me it does not seam to be causing any issues...
                        Mark Your Solved Issues [SOLVED]
                        (top of thread: thread tools)

                        Comment


                          #13
                          Re: shut down IDE ?

                          Originally posted by mando_hacker
                          Code:
                          sudo shutdown -hP now
                          should have the desired effect. This seems to be the default on my laptop but not on a desktop. I am not sure how that is controlled.

                          No Sir the same as before ?

                          the sys shut's down cleanley but I half to push the power button off.

                          VINNY
                          i7 4core HT 8MB L3 2.9GHz
                          16GB RAM
                          Nvidia GTX 860M 4GB RAM 1152 cuda cores

                          Comment


                            #14
                            Re: shut down IDE ?

                            When the system has shutdown as far as it goes and you are sitting there at a black screen. what happens if you do Ctl-Alt-Del? Does it show any message? If it shows a message before rebooting it has not actually shutdown entirely.

                            Comment


                              #15
                              Re: shut down IDE ?

                              Originally posted by mando_hacker
                              When the system has shutdown as far as it goes and you are sitting there at a black screen. what happens if you do Ctl-Alt-Del? Does it show any message? If it shows a message before rebooting it has not actually shutdown entirely.

                              no no it shut's down clean the prob your discribing is what hapend when I edited the /ect/init.d/halt shell script 1 time JUST removing the -d from the line and puting it back dident fix it untill after I called sudo halt 1 time then it went away?

                              the last thing I see is is the system taking out the 2 net cards and then....
                              system halted: .........when I do the sudo shutdown -hP now

                              and

                              halt: Unable to iterate IDE Devices: No such file or directory

                              when suting down thrugh the logout window!

                              and hears a new one I can seam to be abel to mkdir LOOK........

                              Code:
                              vinny@Kubuntu:~$ sudo mkdir /proc/ide
                              [sudo] password for vinny:
                              mkdir: cannot create directory `/proc/ide': No such file or directory
                              vinny@Kubuntu:~$
                              WHAT the F is that?
                              or is thar a diferent way to make a dir. in kubuntu?

                              look what I get when I sudo dolphin

                              Code:
                              inny@Kubuntu:~$ sudo dolphin
                              Error: "/var/tmp/kdecache-vinny" is owned by uid 1000 instead of uid 0.
                              Error: "/tmp/kde-vinny" is owned by uid 1000 instead of uid 0.
                              "/usr/bin/dolphin(4381)" Error in thread 3050858240 : "org.freedesktop.DBus.Error.ServiceUnknown - The name org.kde.nepomuk.services.nepomukstorage was not provided by any .service files"
                              "/usr/bin/dolphin(4381)" Error in thread 3050858240 : "QLocalSocket::connectToServer: Invalid name"
                              dolphin(4381) <unnamed>::GlobalModelContainer::init: Failed to connect to Nepomuk server via local socket "/home/vinny/.kde/share/apps/nepomuk/socket"
                              dolphin(4381): Attempt to use QAction "close_tab" with KXMLGUIFactory!
                              dolphin(4381): Attempt to use QAction "show_info_panel" with KXMLGUIFactory!
                              dolphin(4381): Attempt to use QAction "show_folders_panel" with KXMLGUIFactory!
                              dolphin(4381): Attempt to use QAction "show_terminal_panel" with KXMLGUIFactory!
                              dolphin(4381): Attempt to use QAction "show_places_panel" with KXMLGUIFactory!
                              vinny@Kubuntu:~$ Error: "/tmp/ksocket-vinny" is owned by uid 1000 instead of uid 0.
                              and I dont get eney root options when it open's ?

                              even still the sudo mkdir should have worked!

                              VINNY

                              i7 4core HT 8MB L3 2.9GHz
                              16GB RAM
                              Nvidia GTX 860M 4GB RAM 1152 cuda cores

                              Comment

                              Working...
                              X