halt:unable to iterate IDE devices:no such files or directory

Bug #193125 reported by jglen490
44
This bug affects 2 people
Affects Status Importance Assigned to Milestone
linux (Ubuntu)
Invalid
Undecided
Unassigned

Bug Description

lsb_release -a

No LSB modules are available.
Distributor ID: Ubuntu
Description: Ubuntu 7.10
Release: 7.10
Codename: gutsy

I've looked all over the place for this one, but can't find a solution. One answer said to add acpi=off, which I did - no change.

I recently installed Kubuntu 7.10 on my IBM T20 laptop. With all the other distros I've thrown at this platform, none have ever failed to properly shutdown and power off. Except for now.

In Kubuntu I've gone to System Settings -> Advanced -> System Administration -> Login Manager -> Shutdown tab (in Administrator mode). I've tried the /sbin/ shutdown, /sbin/stop, /sbin/poweroff, and /sbin/halt entries for the Shutdown dropdown box. In all cases when I select "Turn Off" from the logoff menu selection, the GUI shuts down fine, and all the runs are properly terminated, killed, etc. The message "Will now halt" is displayed, but instead of powering off another error type message is displayed that states "halt: unable to iterate IDE devices: no such file or directory". this is followed by the message "System halted". The system goes quiet, but the power light is still on and the screen still has a display of the last messages. At this point I can press the power button and the power does go off.

Tags: cft-2.6.27
Revision history for this message
Parthan SR (parth-technofreak) wrote :

Thank you for taking your time to file this bug and helping us to make Ubuntu/Kubuntu better. Unfortunately we need additional information from you, in order to fix this bug.

Please include the following additional information, (pay attention to lspci's additional options), as required by the Ubuntu Kernel Team:
1. Please include the output of the command "uname -a" in your next response. It should be one, long line of text which includes the exact kernel version you're running, as well as the CPU architecture.
2. Please run the command "dmesg > dmesg.log" after a fresh boot and attach the resulting file "dmesg.log" to this bug report.
3. Please run the command "sudo lspci -vvnn > lspci-vvnn.log" and attach the resulting file "lspci-vvnn.log" to this bug report.

For your reference, the full description of procedures for kernel-related bug reports is available at [WWW] http://wiki.ubuntu.com/KernelTeamBugPolicies. Thanks in advance!

Revision history for this message
jglen490 (jglen490) wrote : Re: [Bug 193125] Re: halt:unable to iterate IDE devices:no such files or directory

Thank you. I apologize for not following procedure.

Here's the uname output:

john@john-laptop:/var/log$ cd ~
john@john-laptop:~$ uname -a
Linux john-laptop 2.6.22-14-generic #1 SMP Tue Feb 12 07:42:25 UTC 2008
i686 GNU/Linux

The dmesg and lspci outputs are attached.

John

Parthan wrote:
> Thank you for taking your time to file this bug and helping us to make
> Ubuntu/Kubuntu better. Unfortunately we need additional information from
> you, in order to fix this bug.
>
> Please include the following additional information, (pay attention to lspci's additional options), as required by the Ubuntu Kernel Team:
> 1. Please include the output of the command "uname -a" in your next response. It should be one, long line of text which includes the exact kernel version you're running, as well as the CPU architecture.
> 2. Please run the command "dmesg > dmesg.log" after a fresh boot and attach the resulting file "dmesg.log" to this bug report.
> 3. Please run the command "sudo lspci -vvnn > lspci-vvnn.log" and attach the resulting file "lspci-vvnn.log" to this bug report.
>
> For your reference, the full description of procedures for kernel-
> related bug reports is available at [WWW]
> http://wiki.ubuntu.com/KernelTeamBugPolicies. Thanks in advance!
>
> ** Changed in: ubuntu
> Status: New => Incomplete
>

Revision history for this message
jglen490 (jglen490) wrote :

Please note. Based on a suggestion at the Ubuntu forums, I added the
following to /etc/modules:

apm power_off=1

Based on that change, when I select to Turn Off the system, it now
powers down completely. HOWEVER, I noticed that the "halt: unable to
iterate ... " notice still shows up which means that the system is still
not responding totally as it should.

Thanks to confused57 and his thread
http://ubuntuforums.org/showthread.php?t=699506

John

jglen490 wrote:
> Thank you. I apologize for not following procedure.
>
> Here's the uname output:
>
> john@john-laptop:/var/log$ cd ~
> john@john-laptop:~$ uname -a
> Linux john-laptop 2.6.22-14-generic #1 SMP Tue Feb 12 07:42:25 UTC 2008
> i686 GNU/Linux
>
> The dmesg and lspci outputs are attached.
>
> John
>
>
> Parthan wrote:
>> Thank you for taking your time to file this bug and helping us to make
>> Ubuntu/Kubuntu better. Unfortunately we need additional information from
>> you, in order to fix this bug.
>>
>> Please include the following additional information, (pay attention to lspci's additional options), as required by the Ubuntu Kernel Team:
>> 1. Please include the output of the command "uname -a" in your next response. It should be one, long line of text which includes the exact kernel version you're running, as well as the CPU architecture.
>> 2. Please run the command "dmesg > dmesg.log" after a fresh boot and attach the resulting file "dmesg.log" to this bug report.
>> 3. Please run the command "sudo lspci -vvnn > lspci-vvnn.log" and attach the resulting file "lspci-vvnn.log" to this bug report.
>>
>> For your reference, the full description of procedures for kernel-
>> related bug reports is available at [WWW]
>> http://wiki.ubuntu.com/KernelTeamBugPolicies. Thanks in advance!
>>
>> ** Changed in: ubuntu
>> Status: New => Incomplete
>>
>

Revision history for this message
jglen490 (jglen490) wrote :

I have reached a partial solution to this bug, for better or worse.

Please refer to the attached document.

Thank you.

Revision history for this message
Joe Philipps (2-launchpad-joe-philipps-us) wrote :

I'm not quite sure how attachments work on Launchpad; I couldn't find your attachment for your solution. nonetheless....

I had the same problem, even with 8.04LTS. I can give you my best educated guess.

I get this message just after "Will now halt". Looking for that string all over the fs, I found it in /etc/init.d/halt. Right after that, it's attempting to execute halt (as in /sbin/halt). Doing a simple strings(1) on /sbin/halt (actually, it's a symlink to reboot, e.g., /sbin/reboot), it shows /proc/ide in the middle of it. The trouble is, ever since a certain rev. of the kernel, IDE devices are abstracted into SCSI devices; ergo it's no wonder halt cannot iterate over the entries in /proc/ide/., as it will no longer exist. The documentation I've read seems to indicate -h is not really necessary as the kernel will automatically shut down IDE (and network) devices anyway, so it's not necessary (superfluous, redundant) for a program like halt(8) to do this. If anything, halt(8) would have to look at something like /proc/scsi or /proc/bus.

My fix/workaround was to edit the halt script so that it NEVER hands "-h" to halt(8). Bingo, no more message. The more troubling one for me is "trying to free already freed IRQ 5". I think what's going on there is similarly halt(8) and the kernel trying to stop all network interfaces. I think it's a bug whereby the 3c509 driver/module tries to shut itself down twice, and doesn't realize it's already shut itself down. (I'm not 100% sure, but I think the card is assigned IRQ 5. too lazy at the moment to confirm :-) .)

Revision history for this message
jglen490 (jglen490) wrote : Re: [Bug 193125] Re:halt:unable to iterate IDE devices:no such files or directory
  • modules Edit (546 bytes, text/plain; charset="utf-8"; name="modules")
  • halt Edit (1.6 KiB, application/x-shellscript; name="halt")
  • reboot Edit (783 bytes, application/x-shellscript; name="reboot")

Thanks for your reply. Your solution is about the same as mine. Attached are
my /etc/modules, ../init.d/halt, and ../init.d/reboot solutions. Selecting
the "TurnOff" option from the Logoff menu works correctly, I'm not so good
with "Reboot", but that's O.k. as I don't go that route very often.

Thanks again.

John Glendening
"I feel more like I do now than I did when I got here"
Registered Linux User #270832

On Friday 11 July 2008 18:46:10 Joe Philipps wrote:
> I'm not quite sure how attachments work on Launchpad; I couldn't find
> your attachment for your solution. nonetheless....
>
> I had the same problem, even with 8.04LTS. I can give you my best
> educated guess.
>
> I get this message just after "Will now halt". Looking for that string
> all over the fs, I found it in /etc/init.d/halt. Right after that, it's
> attempting to execute halt (as in /sbin/halt). Doing a simple
> strings(1) on /sbin/halt (actually, it's a symlink to reboot, e.g.,
> /sbin/reboot), it shows /proc/ide in the middle of it. The trouble is,
> ever since a certain rev. of the kernel, IDE devices are abstracted into
> SCSI devices; ergo it's no wonder halt cannot iterate over the entries
> in /proc/ide/., as it will no longer exist. The documentation I've read
> seems to indicate -h is not really necessary as the kernel will
> automatically shut down IDE (and network) devices anyway, so it's not
> necessary (superfluous, redundant) for a program like halt(8) to do
> this. If anything, halt(8) would have to look at something like
> /proc/scsi or /proc/bus.
>
> My fix/workaround was to edit the halt script so that it NEVER hands
> "-h" to halt(8). Bingo, no more message. The more troubling one for me
> is "trying to free already freed IRQ 5". I think what's going on there
> is similarly halt(8) and the kernel trying to stop all network
> interfaces. I think it's a bug whereby the 3c509 driver/module tries to
> shut itself down twice, and doesn't realize it's already shut itself
> down. (I'm not 100% sure, but I think the card is assigned IRQ 5. too
> lazy at the moment to confirm :-) .)

Revision history for this message
kokerkov (kokerkov) wrote :

Great!!It works!
Thank you very much,dude!

Revision history for this message
Parthan SR (parth-technofreak) wrote :

You still haven't provided the dmesg and lspci -vvnn outputs attached to the bug report for us to look into this bug. This bug also needs to be confirmed for Intrepid if possible.

Revision history for this message
jglen490 (jglen490) wrote :
  • lspci.txt Edit (7.2 KiB, text/plain; charset="utf-8"; name="lspci.txt")
  • dmesg.txt Edit (20.9 KiB, text/plain; charset="utf-8"; name="dmesg.txt")

Sorry. My bad. Attached are an lspci -vvnn and a dmesg. These were created
right after a cold boot.

John Glendening
"I feel more like I do now than I did when I got here"
Registered Linux User #270832

On Monday 11 August 2008 11:51:06 Parthan wrote:
> You still haven't provided the dmesg and lspci -vvnn outputs attached to
> the bug report for us to look into this bug. This bug also needs to be
> confirmed for Intrepid if possible.
>
> ** Changed in: linux (Ubuntu)
> Sourcepackagename: None => linux

Revision history for this message
Doll (wuzhanghui) wrote :

I have the same problem,have you found the root cause,have any solution?
I try to add ACPI on or off, but it seems have not any effect?

Revision history for this message
Leann Ogasawara (leannogasawara) wrote :

The Ubuntu Kernel Team is planning to move to the 2.6.27 kernel for the upcoming Intrepid Ibex 8.10 release. As a result, the kernel team would appreciate it if you could please test this newer 2.6.27 Ubuntu kernel. There are one of two ways you should be able to test:

1) If you are comfortable installing packages on your own, the linux-image-2.6.27-* package is currently available for you to install and test.

--or--

2) The upcoming Alpha5 for Intrepid Ibex 8.10 will contain this newer 2.6.27 Ubuntu kernel. Alpha5 is set to be released Thursday Sept 4. Please watch http://www.ubuntu.com/testing for Alpha5 to be announced. You should then be able to test via a LiveCD.

Please let us know immediately if this newer 2.6.27 kernel resolves the bug reported here or if the issue remains. More importantly, please open a new bug report for each new bug/regression introduced by the 2.6.27 kernel and tag the bug report with 'linux-2.6.27'. Also, please specifically note if the issue does or does not appear in the 2.6.26 kernel. Thanks again, we really appreicate your help and feedback.

Revision history for this message
jglen490 (jglen490) wrote :

On Friday 29 August 2008 00:35:28 Leann Ogasawara wrote:
> The Ubuntu Kernel Team is planning to move to the 2.6.27 kernel for the
> upcoming Intrepid Ibex 8.10 release. As a result, the kernel team would
> appreciate it if you could please test this newer 2.6.27 Ubuntu kernel.
> There are one of two ways you should be able to test:
>
> 1) If you are comfortable installing packages on your own, the linux-
> image-2.6.27-* package is currently available for you to install and
> test.
>
> --or--
>
> 2) The upcoming Alpha5 for Intrepid Ibex 8.10 will contain this newer
> 2.6.27 Ubuntu kernel. Alpha5 is set to be released Thursday Sept 4.
> Please watch http://www.ubuntu.com/testing for Alpha5 to be announced.
> You should then be able to test via a LiveCD.
>
> Please let us know immediately if this newer 2.6.27 kernel resolves the
> bug reported here or if the issue remains. More importantly, please
> open a new bug report for each new bug/regression introduced by the
> 2.6.27 kernel and tag the bug report with 'linux-2.6.27'. Also, please
> specifically note if the issue does or does not appear in the 2.6.26
> kernel. Thanks again, we really appreicate your help and feedback.
>
> ** Tags added: cft-2.6.27

I will definitely look at Alpha 5 and report how the halt script acts.

Actually, I would not expect a regression in the functionality of the 2.6.26
or 2.6.27 kernel compared to the 2.6.24 kernel in Hardy. This error was
purely a function of the arguments given to the halt and to the reboot
scripts in S90halt and S90reboot. When I removed the "-i" in both scripts,
the "unable to iterate IDE devices:no such files or directory" disappeared.
And due to the age of my laptop's BIOS when I added "apm power_off=1" to the
end of my /etc/modules file, the machine shutdown completely from S90halt.

I'll let you know how Alpha 5 runs. Thank you for all your hard work!!

John Glendening
"I feel more like I do now than I did when I got here."

Revision history for this message
jglen490 (jglen490) wrote :

On Friday 29 August 2008 00:35:28 Leann Ogasawara wrote:
> The Ubuntu Kernel Team is planning to move to the 2.6.27 kernel for the
> upcoming Intrepid Ibex 8.10 release. As a result, the kernel team would
> appreciate it if you could please test this newer 2.6.27 Ubuntu kernel.
> There are one of two ways you should be able to test:
>
> 1) If you are comfortable installing packages on your own, the linux-
> image-2.6.27-* package is currently available for you to install and
> test.
>
> --or--
>
> 2) The upcoming Alpha5 for Intrepid Ibex 8.10 will contain this newer
> 2.6.27 Ubuntu kernel. Alpha5 is set to be released Thursday Sept 4.
> Please watch http://www.ubuntu.com/testing for Alpha5 to be announced.
> You should then be able to test via a LiveCD.
>
> Please let us know immediately if this newer 2.6.27 kernel resolves the
> bug reported here or if the issue remains. More importantly, please
> open a new bug report for each new bug/regression introduced by the
> 2.6.27 kernel and tag the bug report with 'linux-2.6.27'. Also, please
> specifically note if the issue does or does not appear in the 2.6.26
> kernel. Thanks again, we really appreicate your help and feedback.
>
> ** Tags added: cft-2.6.27

I downloaded Alpha 5 (Kubuntu).

I got a good burn out of K3B ( the MD5 sum matched the advertised string)

I shut my system down and cold-booted.
I rebooted a total of 7 times, and at no time did I get a working system. I
was able to select various combinations of f4 (safe graphics mode) and f6
options, including editing the boot string to eliminate the "quiet"
and "splash" boot options. At best, the last displayed message was "checking
battery state", then the screen would blank. The CD would churn for a while
and then stop. After waiting for about 5 minutes, I simply powered off the
laptop.

I would have very much like to have tested how well shutdown behaved, but I
could not. I suspect that my hardware shares some of the blame. My laptop
is an older IBM Thinkpad T20 (PIII 700mhz/384MB/12GB) with a BIOS dated
12/1999. I have ordered another RAM module, but that will only bring my
machine up to 512MB, which is the maximum for this machine. Among the boot
options I did try: noapic acpi=off, acpi=force, and removing quiet and
splash. Nothing made much difference except for "noapic acpi=off" which
stopped the boot process much earlier.

Sorry I could not test this bug, perhaps in the next Alpha or RC.

Thank you.

John Glendening
"I feel more like I do now than I did when I got here."

Revision history for this message
jglen490 (jglen490) wrote :

Have continued to try testing in Alpha 6 using the Kubuntu as well as the Ubuntu images. Same result for both. As an update, the installation appears to fail around the point where kdm, or gdm, starts. I have written a bug (#275045) on the LiveCD failure.

I will continue to watch both this bug and 275045 as the next iterations come out.

Thank you for your good work

John

Revision history for this message
Shanmuhanathan T (shanmuha) wrote :

I can confirm that on the intrepid with the latest updates, this problem still exists - the system does power off but I see the message before powering off. Please let me know the details you would need.

Revision history for this message
jglen490 (jglen490) wrote :

On Tuesday 14 October 2008 05:08:15 Shanmuhanathan T wrote:
> I can confirm that on the intrepid with the latest updates, this problem
> still exists - the system does power off but I see the message before
> powering off. Please let me know the details you would need.

That is an improvement - perhaps. As noted in the Bug and subsequent updates,
the problem includes the warnings (which indicate that the shutdown script is
trying to do things with the IDE bus that the kernel has already done) as
well as the the ACPI problem that prevents shutdown. The ACPI problem
appears to be related to the BIOS age on my machine. There is a way around
that problem, but it involves making an entry to /etc/modules.

Thank you for your interest, and for your good work.
--
John Glendening
"I feel more like I do now than I did when I got here."

Changed in linux:
status: Incomplete → New
Revision history for this message
Doll (wuzhanghui) wrote : Re: [Bug 193125] Re: halt:unable to iterate IDE devices:no such files or directory

Dear Sir,

I update the ubuntu from 8.04 to 8.10 with the newest Kernel,
But the bug also exist ,

I donot how to debug,
Could you advise what I can do or send some message ?

I will install the released Version of 8.10 by CD,
If the bug exist ,I will report immediately.

Thanks to your hard works.

2008/10/26 Leann Ogasawara <email address hidden>

> ** Changed in: linux (Ubuntu)
> Status: Incomplete => New
>
> --
> halt:unable to iterate IDE devices:no such files or directory
> https://bugs.launchpad.net/bugs/193125
> You received this bug notification because you are a direct subscriber
> of the bug.
>
> Status in "linux" source package in Ubuntu: New
>
> Bug description:
> lsb_release -a
>
> No LSB modules are available.
> Distributor ID: Ubuntu
> Description: Ubuntu 7.10
> Release: 7.10
> Codename: gutsy
>
>
> I've looked all over the place for this one, but can't find a solution. One
> answer said to add acpi=off, which I did - no change.
>
> I recently installed Kubuntu 7.10 on my IBM T20 laptop. With all the other
> distros I've thrown at this platform, none have ever failed to properly
> shutdown and power off. Except for now.
>
> In Kubuntu I've gone to System Settings -> Advanced -> System
> Administration -> Login Manager -> Shutdown tab (in Administrator mode).
> I've tried the /sbin/ shutdown, /sbin/stop, /sbin/poweroff, and /sbin/halt
> entries for the Shutdown dropdown box. In all cases when I select "Turn Off"
> from the logoff menu selection, the GUI shuts down fine, and all the runs
> are properly terminated, killed, etc. The message "Will now halt" is
> displayed, but instead of powering off another error type message is
> displayed that states "halt: unable to iterate IDE devices: no such file or
> directory". this is followed by the message "System halted". The system goes
> quiet, but the power light is still on and the screen still has a display of
> the last messages. At this point I can press the power button and the power
> does go off.
>

Revision history for this message
Doll (wuzhanghui) wrote :

I installed the 8.10 version last light, but the bug still exist.

在08-10-30,吴章辉 <email address hidden> 写道:

> Dear Sir,
>
> I update the ubuntu from 8.04 to 8.10 with the newest Kernel,
> But the bug also exist ,
>
> I donot how to debug,
> Could you advise what I can do or send some message ?
>
> I will install the released Version of 8.10 by CD,
> If the bug exist ,I will report immediately.
>
>
> Thanks to your hard works.
>
>
>
>
>
>
>
>
>
> 2008/10/26 Leann Ogasawara <email address hidden>
>
>> ** Changed in: linux (Ubuntu)
>> Status: Incomplete => New
>>
>> --
>> halt:unable to iterate IDE devices:no such files or directory
>> https://bugs.launchpad.net/bugs/193125
>> You received this bug notification because you are a direct subscriber
>> of the bug.
>>
>>
>> Status in "linux" source package in Ubuntu: New
>>
>> Bug description:
>> lsb_release -a
>>
>> No LSB modules are available.
>> Distributor ID: Ubuntu
>> Description: Ubuntu 7.10
>> Release: 7.10
>> Codename: gutsy
>>
>>
>> I've looked all over the place for this one, but can't find a solution.
>> One answer said to add acpi=off, which I did - no change.
>>
>> I recently installed Kubuntu 7.10 on my IBM T20 laptop. With all the other
>> distros I've thrown at this platform, none have ever failed to properly
>> shutdown and power off. Except for now.
>>
>> In Kubuntu I've gone to System Settings -> Advanced -> System
>> Administration -> Login Manager -> Shutdown tab (in Administrator mode).
>> I've tried the /sbin/ shutdown, /sbin/stop, /sbin/poweroff, and /sbin/halt
>> entries for the Shutdown dropdown box. In all cases when I select "Turn Off"
>> from the logoff menu selection, the GUI shuts down fine, and all the runs
>> are properly terminated, killed, etc. The message "Will now halt" is
>> displayed, but instead of powering off another error type message is
>> displayed that states "halt: unable to iterate IDE devices: no such file or
>> directory". this is followed by the message "System halted". The system goes
>> quiet, but the power light is still on and the screen still has a display of
>> the last messages. At this point I can press the power button and the power
>> does go off.
>>
>>
>
>

Revision history for this message
Buckminster (frank-spielkamp) wrote :

I installed kubuntu 8.10 and then the error came up. In the versions from 6.10 to 8.04 it never came up.

Maybe it helps to have my dmesg and lspci.

As my machine is a laptop it is very unconvenient to unload the battery after every shutdown.

Thanks for your work

Frank

Revision history for this message
Buckminster (frank-spielkamp) wrote :
Revision history for this message
jglen490 (jglen490) wrote : Re: [Bug 193125] Re:halt:unable to iterate IDE devices:no such files or directory
Download full text (4.9 KiB)

Thank you for confirming that the bug still exists.

To fix this problem on my laptop, I had to fix two scripts.

The first script I fixed is /etc/rc0.d/S90halt, where I commented out an "if"
sequence and then replaced the "halt" command, as noted below:

# Don't shut down drives if we're using RAID.
        # Eliminate this sequence, assumes RAID and kernel already does this
for IDE drives
        # hddown="-h"
        # if grep -qs '^md.*active' /proc/mdstat
        # then
        # hddown=""
        # fi

        # If INIT_HALT=HALT don't poweroff.
        poweroff="-p"
        if [ "$INIT_HALT" = "HALT" ]
        then
                poweroff=""
        fi

        log_action_msg "Will now halt"
        sleep 1
        # halt -d -f -i $poweroff $hddown
        # Not sure what the -d does, but seems to do no harm
        halt -d -f $poweroff

The second script I fixed is /etc/rc6.d where I changed the do_stop function,
as noted below:

do_stop () {
        # Message should end with a newline since kFreeBSD may
        # print more stuff (see #323749)
        log_action_msg "Will now restart"
        # Remove -i since kernel takes care of IDE drives
        # reboot -d -f -i
        reboot -d -f
}

These two take care of the IDE devices message.

On my laptop, the BIOS is dated 1999, which causes the boot to NOT load ACPI.
This means that many of the power functions do not work. To fix that part of
the problem, I added the a line with "apm power_off=1" to the end of
the /etc/modules file. This is shown below with the comments that I added to
remind me what I did!! My full /etc/modules file is as follows:

# /etc/modules: kernel modules to load at boot time.
#
# This file contains the names of kernel modules that should be loaded
# at boot time, one per line. Lines beginning with "#" are ignored.

fuse
lp
# This note is carried over from Kubuntu 7.10
# JHG 2-19-08 Tested /etc/init.d/halt and made changes that are
# related to "halt: ... " message on shutdown; incomplete power off.
# This is O.K. Have corrected S90halt and S90reboot to eliminate
the "halt: ... "
# notice. Took out the references to "hddown=", not needed, no RAID.
# Took out reboot -i and halt -i since kernel takes care of IDE drives.
apm power_off=1

These changes eliminate the "IDE devices" message and allow my laptop to
completely power down during shutdown. I hope this helps you somehow.

I thank you for confirming that the error is still in 8.10, so I will save
these changes and add them back into to my 8.10 -- when I load Intrepid Ibex
in the next couple of weeks.

John

On Thursday 30 October 2008 22:23:23 Doll wrote:
> I installed the 8.10 version last light, but the bug still exist.
>
> 在08-10-30,吴章辉 <email address hidden> 写道:
>
> > Dear Sir,
> >
> > I update the ubuntu from 8.04 to 8.10 with the newest Kernel,
> > But the bug also exist ,
> >
> > I donot how to debug,
> > Could you advise what I can do or send some message ?
> >
> > I will install the released Version of 8.10 by CD,
> > If the bug exist ,I will report immediately.
> >
> >
> > Thanks to your hard works.
> >
> >
> >
> >
> >
> >
> >
> >
> >
> > 2008/10/26 Leann Ogasawara <...

Read more...

Revision history for this message
Buckminster (frank-spielkamp) wrote :

K.O.

The bug still exists and the changes in the scripts, you added didn't help anything. The computer now takes 2 minutes longer to crash.

Is it a bug in the kernel? Or where else is it? Will it help to change kernel version, or will it help change from kubuntu to another distri?

My wife is not very amused about it and gave me time to next weekend to get rid of this error! Any chance?

Thanks in advance

Frank

Revision history for this message
jumpertrekker (janko-carina) wrote :

One question: jglen490 talks about changing some /etc/rc6.d script... which actually is just a directory... What's exactly the name of the second (where I should change do_stop) script??
Thanks

Revision history for this message
jglen490 (jglen490) wrote :

On Thursday 06 November 2008 10:27:12 jumpertrekker wrote:
> One question: jglen490 talks about changing some /etc/rc6.d script...
> which actually is just a directory... What's exactly the name of the second
> (where I should change do_stop) script?? Thanks

Sorry, that was my bad. That should be /etc/rc6.d/S90reboot.

Of course, it goes without saying that both scripts are links to /etc/init.d,
but the results are the same. Fix both scripts, fix the message problem.
And for those with an old BIOS that stops ACPI, make the entry
in /etc/modules and the machine powers down as it should. At least that's
what I have found consistently in both 7.10 and 8.04 -- and now it appears
perhaps 8.10 also.

Again, my apologies for not being clear.
--
John Glendening
"I feel more like I do now than I did when I got here."

Revision history for this message
jglen490 (jglen490) wrote :

On Wednesday 05 November 2008 14:01:12 Buckminster wrote:
> K.O.
>
> The bug still exists and the changes in the scripts, you added didn't
> help anything. The computer now takes 2 minutes longer to crash.
>
> Is it a bug in the kernel? Or where else is it? Will it help to change
> kernel version, or will it help change from kubuntu to another distri?
>
> My wife is not very amused about it and gave me time to next weekend to
> get rid of this error! Any chance?
>
> Thanks in advance
>
> Frank

Which *buntu did you try it on?

Those changes worked on both 7.10 and 8.04 -- and both releases behaved the
same way before making the changes.

John
--
John Glendening
"I feel more like I do now than I did when I got here."

Revision history for this message
Buckminster (frank-spielkamp) wrote :

As I said above:
I installed kubuntu 8.10 and then the error came up. In the versions from 6.10 to 8.04 it never came up.

I never had an error like that. Perhaps the reason is another as on your machine.

Frank

Revision history for this message
jglen490 (jglen490) wrote :

On Friday 07 November 2008 14:27:27 Buckminster wrote:
> As I said above:
> I installed kubuntu 8.10 and then the error came up. In the versions from
> 6.10 to 8.04 it never came up.
>
> I never had an error like that. Perhaps the reason is another as on your
> machine.
>
> Frank

I don't know what to say. If my solution doesn't work for your system, then
all you can do is reverse out whatever you did in your scripts and try
another solution.

I'm not the developer, so the solution I came up with for sure only applies to
my machine. Sorry that this doesn't help you.
--
John Glendening
"I feel more like I do now than I did when I got here."

Revision history for this message
jglen490 (jglen490) wrote :

This seems to be unique to a very limited set of hardware -- perhaps only my particular IBM T20 platform. As the solution is causing confusion to others I am invalidating this bug and closing it. Thank you.

Changed in linux:
status: New → Invalid
Revision history for this message
Doll (wuzhanghui) wrote : Re: [Bug 193125] Re: halt:unable to iterate IDE devices:no such files or directory

 I found the Message on the Linux Kernel 2.6.27.5 ChangeLog

   The current snd-hda-intel driver seems blocking the power-off on some
    devices like eeepc. Although this is likely a BIOS problem, we can add
    a workaround by disabling IRQ lines before power-off operation.
    This patch adds the reboot notifier to achieve it.

It is good new ,though I can't confirm that my notebook cause by the bug

Let me waitting for .

2008/11/8 Buckminster <email address hidden>

> As I said above:
> I installed kubuntu 8.10 and then the error came up. In the versions from
> 6.10 to 8.04 it never came up.
>
> I never had an error like that. Perhaps the reason is another as on your
> machine.
>
> Frank
>
> --
> halt:unable to iterate IDE devices:no such files or directory
> https://bugs.launchpad.net/bugs/193125
> You received this bug notification because you are a direct subscriber
> of the bug.
>
> Status in "linux" source package in Ubuntu: New
>
> Bug description:
> lsb_release -a
>
> No LSB modules are available.
> Distributor ID: Ubuntu
> Description: Ubuntu 7.10
> Release: 7.10
> Codename: gutsy
>
>
> I've looked all over the place for this one, but can't find a solution. One
> answer said to add acpi=off, which I did - no change.
>
> I recently installed Kubuntu 7.10 on my IBM T20 laptop. With all the other
> distros I've thrown at this platform, none have ever failed to properly
> shutdown and power off. Except for now.
>
> In Kubuntu I've gone to System Settings -> Advanced -> System
> Administration -> Login Manager -> Shutdown tab (in Administrator mode).
> I've tried the /sbin/ shutdown, /sbin/stop, /sbin/poweroff, and /sbin/halt
> entries for the Shutdown dropdown box. In all cases when I select "Turn Off"
> from the logoff menu selection, the GUI shuts down fine, and all the runs
> are properly terminated, killed, etc. The message "Will now halt" is
> displayed, but instead of powering off another error type message is
> displayed that states "halt: unable to iterate IDE devices: no such file or
> directory". this is followed by the message "System halted". The system goes
> quiet, but the power light is still on and the screen still has a display of
> the last messages. At this point I can press the power button and the power
> does go off.
>

Revision history for this message
jglen490 (jglen490) wrote : Re: [Bug 193125] Re:halt:unable to iterate IDE devices:no such files or directory

run "lsmod" in a terminal. That will list your driver modules. Look for
snd-hda-intel. If that is running, then you may have that problem.

John

On Friday 07 November 2008 23:53:55 Doll wrote:
> I found the Message on the Linux Kernel 2.6.27.5 ChangeLog
>
> The current snd-hda-intel driver seems blocking the power-off on some
> devices like eeepc. Although this is likely a BIOS problem, we can add
> a workaround by disabling IRQ lines before power-off operation.
> This patch adds the reboot notifier to achieve it.
>
> It is good new ,though I can't confirm that my notebook cause by the
> bug
>
> Let me waitting for .
>
>
>
> 2008/11/8 Buckminster <email address hidden>
>
> > As I said above:
> > I installed kubuntu 8.10 and then the error came up. In the versions from
> > 6.10 to 8.04 it never came up.
> >
> > I never had an error like that. Perhaps the reason is another as on your
> > machine.
> >
> > Frank
> >
> > --
> > halt:unable to iterate IDE devices:no such files or directory
> > https://bugs.launchpad.net/bugs/193125
> > You received this bug notification because you are a direct subscriber
> > of the bug.
> >
> > Status in "linux" source package in Ubuntu: New
> >
> > Bug description:
> > lsb_release -a
> >
> > No LSB modules are available.
> > Distributor ID: Ubuntu
> > Description: Ubuntu 7.10
> > Release: 7.10
> > Codename: gutsy
> >

 >
> > I've looked all over the place for this one, but can't find a solution.
> > One answer said to add acpi=off, which I did - no change.
> >
> > I recently installed Kubuntu 7.10 on my IBM T20 laptop. With all the
> > other distros I've thrown at this platform, none have ever failed to
> > properly shutdown and power off. Except for now.
> >
> > In Kubuntu I've gone to System Settings -> Advanced -> System
> > Administration -> Login Manager -> Shutdown tab (in Administrator mode).
> > I've tried the /sbin/ shutdown, /sbin/stop, /sbin/poweroff, and
> > /sbin/halt entries for the Shutdown dropdown box. In all cases when I
> > select "Turn Off" from the logoff menu selection, the GUI shuts down
> > fine, and all the runs are properly terminated, killed, etc. The message
> > "Will now halt" is displayed, but instead of powering off another error
> > type message is displayed that states "halt: unable to iterate IDE
> > devices: no such file or directory". this is followed by the message
> > "System halted". The system goes quiet, but the power light is still on
> > and the screen still has a display of the last messages. At this point I
> > can press the power button and the power does go off.

--
John Glendening
"I feel more like I do now than I did when I got here."

Revision history for this message
Buckminster (frank-spielkamp) wrote :

Sorry again, but I only have a snd_intel8x0 driver. This one doesn't match, does it?

Thanks for your attempts, but they all didn' t help. Maybe I'll wait until the next kernel-update, if it helps ok, if not, i have to try another distris live cd.

Thanks and bye

Frank

Revision history for this message
jglen490 (jglen490) wrote :

On Monday 10 November 2008 13:48:43 Buckminster wrote:
> Sorry again, but I only have a snd_intel8x0 driver. This one doesn't
> match, does it?
>
> Thanks for your attempts, but they all didn' t help. Maybe I'll wait
> until the next kernel-update, if it helps ok, if not, i have to try
> another distris live cd.
>
> Thanks and bye
>
> Frank

Good luck and take care. Sorry I couldn't help!
--
John Glendening
"I feel more like I do now than I did when I got here."

Revision history for this message
ibex_rider (david-taille-fr) wrote :

Hi all,

To those reading this bug report trying to solve a "shutdown hangs" problem with 8.10 : you might be suffering from a kernel bug as described there :
http://bugzilla.kernel.org/show_bug.cgi?id=11994

The symptoms are
- lots of "ACPI: EC: non-query interrupt received, switching to interrupt mode" lines in dmesg
- power is not turned off when shutting down the machine

The confusing message that this bug report was initially about led me here (thanks google), but my main concern being actually powering off the computer, editing /etc/modules or /etc/init.d/halt was of little help.
(the latter did remove the "unable to iterate IDE devices:no such files or directory", but it's harmless and I wouldn't have noticed it in the first place if my laptop hadn't stopped powering off when told to do so ;-).

To sum it up : some of us must wait for a kernel update.

Note : FYI, I ran into this on an "old" Acer 1683WLMI laptop, where 7.10 and 8.04 worked fine.

Revision history for this message
jglen490 (jglen490) wrote :

Thanks. And that's why I decided to invalidate this bug. It happens to some,
and not to others. My solution works for some, to some degree with others,
and not at all for still others.

You're right about the the message; whether you turn it off or not has no
bearing on the actual shutdown process.

John

On Friday 14 November 2008 17:03:46 ibex_rider wrote:
> Hi all,
>
> To those reading this bug report trying to solve a "shutdown hangs" problem
> with 8.10 : you might be suffering from a kernel bug as described there :
> http://bugzilla.kernel.org/show_bug.cgi?id=11994
>
> The symptoms are
> - lots of "ACPI: EC: non-query interrupt received, switching to interrupt
> mode" lines in dmesg - power is not turned off when shutting down the
> machine
>
> The confusing message that this bug report was initially about led me here
> (thanks google), but my main concern being actually powering off the
> computer, editing /etc/modules or /etc/init.d/halt was of little help. (the
> latter did remove the "unable to iterate IDE devices:no such files or
> directory", but it's harmless and I wouldn't have noticed it in the first
> place if my laptop hadn't stopped powering off when told to do so ;-).
>
> To sum it up : some of us must wait for a kernel update.
>
> Note : FYI, I ran into this on an "old" Acer 1683WLMI laptop, where 7.10
> and 8.04 worked fine.

--
John Glendening
"I feel more like I do now than I did when I got here."

Revision history for this message
era (erik-thysell) wrote :

Thank you so much jglen490. It even solved my problems getting with getting nvidia module to load. Life's great! :)

Revision history for this message
era (erik-thysell) wrote :

And it also resolvs the problem with nvidia reading correct EDID information!!!

Revision history for this message
era (erik-thysell) wrote :

btw I run Kubuntu 8.10, nvidia 177:80, on an old msi kt266 mb, amibios

Revision history for this message
jglen490 (jglen490) wrote :

On Monday 17 November 2008 14:58:21 era wrote:
> btw I run Kubuntu 8.10, nvidia 177:80, on an old msi kt266 mb, amibios

Congratulations. It's good that all is working for you!
--
John Glendening
"I feel more like I do now than I did when I got here."

Revision history for this message
manzur (sl-solaris) wrote :

but this is happening to me, in ubuntu 8.10 final release, after a clean install i get this error, please help, i have a compaq presario sr1215la:

Bus System:
Increase performance and speed of your PC! 533 MHz

Processor:
A faster processor allows you to complete tasks in less time. Intel ® Celeron D 325 2.53 GHz

Memory:
More memory lets you run most software programs at the same time.
PC2700/333 DDR 256MB, expandable to 2 GB

Hard Disk:
The hard drive gives you the storage space for your data and programs. 40 GB

Optical disc:
Get the most out of the media with an optical disc into your computer CD-RW 48X

Graphic:
Graphics controller provides the highest resolution, Integrated Intel ® Graphics UMA up to 64 MB shared memory (Not supported AGP)

Monitor: The best monitors for your computer, high-quality and sharpness.
Compaq monitor FS7550 17-inch speakers

Network Card:
Access to the network its highest speed. Integrated 10/100 network card

Audio:
Sound card with integrated media and AC97 Codec audio system 5.1

Modem:
Connect to the world at high speed
Integrated 56K modem ITU V.90

interface:
Allows connection of peripherals
6 USB2.0, 1 Serial, 2 PS / 2, 1 VGA, 1 Parallel, 1 RJ45, 1 RJ11, 2 IEEE1394

IEEE 1394:
Transfer information, music and video at high speeds through the IEEE1394 port on your computer Presario
IEEE 1394

Compartments for expansion:
Allow your PC to expand through inclusion of peripherals (DVD, CD-RW, etc.)..
2 5.25 (a busy), 1 w / 3.5 "disk (occupied) and 2 3.5" (a occupada)

Expansion slots: Allows you to include video cards, fax, modem, etc..
3 expansion slots (1 occupied and 2 available)

Keyboard:
Compaq keyboard
Standard Keyboard PS2

mouse:
Use your PC as easy.
PS / 2 Optical Scroll

multimedia software:
Multimedia Software
Photoshop Album; Compaq Organize, Sonic RecordNow CD / DVD Writer; Apple Itunes with Quicktime 4.6

Software Productivity
Software Productivity
Microsoft Encarta Encyclopedia Standard 2004, Works 7.0, Norton AntiVirus 2004, Personal Firewall; PC Doctor 1.5, Adobe Reader, Media Ring PC Phone

Size and Weight:
The dimensions of the CPU are given in inches (height, width and depth) and weight in kilograms.
60.96 x 50.8 x 25.4 cm.
Weight: 15.87 kg

Revision history for this message
jglen490 (jglen490) wrote :

Sorry, that's no error, but it does sound suspiciously like a sales brochure.
Of course the ultimate error would be the sales pitch for the Microsoft
products and the Norton antivirus.

John

On Monday 17 November 2008 20:54:58 manzur wrote:
> but this is happening to me, in ubuntu 8.10 final release, after a clean
> install i get this error, please help, i have a compaq presario
> sr1215la:
>
> Bus System:
> Increase performance and speed of your PC! 533 MHz
>
> Processor:
> A faster processor allows you to complete tasks in less time. Intel ®
> Celeron D 325 2.53 GHz
>
> Memory:
> More memory lets you run most software programs at the same time.
> PC2700/333 DDR 256MB, expandable to 2 GB
>
> Hard Disk:
> The hard drive gives you the storage space for your data and programs. 40
> GB
>
> Optical disc:
> Get the most out of the media with an optical disc into your computer CD-RW
> 48X
>
> Graphic:
> Graphics controller provides the highest resolution, Integrated Intel ®
> Graphics UMA up to 64 MB shared memory (Not supported AGP)
>
> Monitor: The best monitors for your computer, high-quality and sharpness.
> Compaq monitor FS7550 17-inch speakers
>
> Network Card:
> Access to the network its highest speed. Integrated 10/100 network card
>
> Audio:
> Sound card with integrated media and AC97 Codec audio system 5.1
>
> Modem:
> Connect to the world at high speed
> Integrated 56K modem ITU V.90
>
> interface:
> Allows connection of peripherals
> 6 USB2.0, 1 Serial, 2 PS / 2, 1 VGA, 1 Parallel, 1 RJ45, 1 RJ11, 2 IEEE1394
>
> IEEE 1394:
> Transfer information, music and video at high speeds through the IEEE1394
> port on your computer Presario IEEE 1394
>
> Compartments for expansion:
> Allow your PC to expand through inclusion of peripherals (DVD, CD-RW,
> etc.).. 2 5.25 (a busy), 1 w / 3.5 "disk (occupied) and 2 3.5" (a occupada)
>
> Expansion slots: Allows you to include video cards, fax, modem, etc..
> 3 expansion slots (1 occupied and 2 available)
>
> Keyboard:
> Compaq keyboard
> Standard Keyboard PS2
>
> mouse:
> Use your PC as easy.
> PS / 2 Optical Scroll
>
> multimedia software:
> Multimedia Software
> Photoshop Album; Compaq Organize, Sonic RecordNow CD / DVD Writer; Apple
> Itunes with Quicktime 4.6
>
> Software Productivity
> Software Productivity
> Microsoft Encarta Encyclopedia Standard 2004, Works 7.0, Norton AntiVirus
> 2004, Personal Firewall; PC Doctor 1.5, Adobe Reader, Media Ring PC Phone
>
> Size and Weight:
> The dimensions of the CPU are given in inches (height, width and depth) and
> weight in kilograms. 60.96 x 50.8 x 25.4 cm.
> Weight: 15.87 kg

--
John Glendening
"I feel more like I do now than I did when I got here."

Revision history for this message
marcel (marcelrf) wrote :

I run a relatively new Acer Aspire 5520 and this bug stills affects it with Ubuntu 8.10 and latest kernel.

The fix on the init.d scripts took out the Unable to Iterate IDE devices but the powering off is still not happening.
In my case hitting any key will power off the system but it won't by default.

Will look into the SND_HDA driver as it might be the one responsible.

Marcel

Revision history for this message
marcel (marcelrf) wrote :

I am afraid the kernel bug wasn't related as snd_hda_intel had nothing to do with power off in my case.
I run an ACER Travelmate 5520 and this is still happening.

I am sure it was introduced on 8.10 since it didn't happen with previous version. It's really not acceptable in my case that's why I am switching back to debian !! Ubuntu falks are not paying enough attention to this bug as it only happens to some people.

Too bad :(

Revision history for this message
Iñigo Lekanda (vinagre) wrote :

Also in Jaunty (Alpha 5) in Asus X59SL.

I attach the required files.

Revision history for this message
Iñigo Lekanda (vinagre) wrote :
Revision history for this message
Iñigo Lekanda (vinagre) wrote :
Revision history for this message
Iñigo Lekanda (vinagre) wrote :
Revision history for this message
Thura (trh) wrote :

Still having the same problem in Jaunty (Beta) with kernel 2.6.28-11-generic ...
I needed to presss "Enter" continuously to power off completely.
Now, halt is working fine ( I don't know how I fixed ) but still showing the message, "unable to iterate IDE devices:no such files or directory". I also have " snd_hda_intel " running, maybe that is the evil, as described ...

Revision history for this message
Thura (trh) wrote :
Revision history for this message
Ihor (ihoros) wrote :

I have the same problem on
Acer Aspire 7520g :(

...Waiting for solution

Revision history for this message
Vladimir (thunder27) wrote :

I have the same problem on Acer Aspire 5520 (Ubuntu 9.04) Final Release - 64bit

Revision history for this message
Peter Chynoweth (pcchynoweth) wrote :

Acer Aspire 5520 - upgraded to Jaunty on April 24, 2009

Problem is still there

Revision history for this message
Anibal (elkan9) wrote :

Hi,

I own two Acer computers 4520, and in one of them I have the same bug at shutdown the computer. I have kubuntu jaunty installed on the computer with the bug. In the other I was installed ubuntu jaunty.

The computers differs only in the processor type. One have a dual core. I have the problem from ubuntu intrepid. It's a estrange bug.

Revision history for this message
Orzech (piotr.orzechowski) wrote :

"It happens to some, and not to others."

jglen490, not exactly, it can happen (I mean the "unable to iterate (...)" message) randomly on the same machine, as in my case. I didn't see such message on Ubuntu 8.04 and 8.10, but now I have it on Kubuntu 9.04.

Revision history for this message
m0rtal (alexander-nagorny) wrote :

Acer 7520, Ubuntu/Kubuntu 9.04, 32/64 - problem exists.
Editing /etc/init.d/halt & /etc/init.d/reboot helps only in recovery mode, but not when loading full system.
And, BTW, I have NO messages "unable to iterate..." et cetera, - just blank screen and laptop keeps on running till I press any key, including "Fn"

uname -a
Linux m0rtal-desktop 2.6.28-11-generic #42-Ubuntu SMP Fri Apr 17 01:58:03 UTC 2009 x86_64 GNU/Linux

Revision history for this message
m0rtal (alexander-nagorny) wrote :
Revision history for this message
Grobbelaar (giatav) wrote :

Dell Dimension 8300, Kubuntu 9.04 (Desktop 32 bits): same problem.
Started with kernel 2.6.28.12
Linux uCasa 2.6.28-12-generic #43-Ubuntu SMP Fri May 1 19:27:06 UTC 2009 i686 GNU/Linux

Revision history for this message
Grobbelaar (giatav) wrote :
Revision history for this message
aduvale (aduvale) wrote :

I have installed Ubuntu Jaunty (64 bits) on Acer Aspire 5112 (AMD 64 x2). The message "halt: unable to iterate IDE devices: no such file or directory" shows during start up procedure and the computer shuts down immediately after. For a first timer with Linux this is not very encouraging... I could not even try it yet!!!!
What can I do other than uninstall it?

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.