halt:unable to iterate IDE devices:no such files or directory
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.
Parthan SR (parth-technofreak) wrote : | #1 |
jglen490 (jglen490) wrote : Re: [Bug 193125] Re: halt:unable to iterate IDE devices:no such files or directory | #2 |
Thank you. I apologize for not following procedure.
Here's the uname output:
john@john-
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://
>
> ** Changed in: ubuntu
> Status: New => Incomplete
>
jglen490 (jglen490) wrote : | #3 |
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://
John
jglen490 wrote:
> Thank you. I apologize for not following procedure.
>
> Here's the uname output:
>
> john@john-
> 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://
>>
>> ** Changed in: ubuntu
>> Status: New => Incomplete
>>
>
jglen490 (jglen490) wrote : | #4 |
I have reached a partial solution to this bug, for better or worse.
Please refer to the attached document.
Thank you.
Joe Philipps (2-launchpad-joe-philipps-us) wrote : | #5 |
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 :-) .)
jglen490 (jglen490) wrote : Re: [Bug 193125] Re:halt:unable to iterate IDE devices:no such files or directory | #6 |
- 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 :-) .)
kokerkov (kokerkov) wrote : | #7 |
Great!!It works!
Thank you very much,dude!
Parthan SR (parth-technofreak) wrote : | #8 |
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.
jglen490 (jglen490) wrote : | #9 |
- 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
Doll (wuzhanghui) wrote : | #10 |
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?
Leann Ogasawara (leannogasawara) wrote : | #12 |
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-
--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://
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.
jglen490 (jglen490) wrote : | #13 |
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://
> 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."
jglen490 (jglen490) wrote : | #14 |
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://
> 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."
jglen490 (jglen490) wrote : | #15 |
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
Shanmuhanathan T (shanmuha) wrote : | #16 |
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.
jglen490 (jglen490) wrote : | #17 |
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 |
Doll (wuzhanghui) wrote : Re: [Bug 193125] Re: halt:unable to iterate IDE devices:no such files or directory | #18 |
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:/
> 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.
>
Doll (wuzhanghui) wrote : | #19 |
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:/
>> 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.
>>
>>
>
>
Buckminster (frank-spielkamp) wrote : | #20 |
- lspci-vvnn.log Edit (13.5 KiB, text/plain)
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
Buckminster (frank-spielkamp) wrote : | #21 |
jglen490 (jglen490) wrote : Re: [Bug 193125] Re:halt:unable to iterate IDE devices:no such files or directory | #22 |
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.
if [ "$INIT_HALT" = "HALT" ]
then
fi
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)
# 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 <...
Buckminster (frank-spielkamp) wrote : | #23 |
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
jumpertrekker (janko-carina) wrote : | #24 |
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
jglen490 (jglen490) wrote : | #25 |
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.
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."
jglen490 (jglen490) wrote : | #26 |
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."
Buckminster (frank-spielkamp) wrote : | #27 |
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
jglen490 (jglen490) wrote : | #28 |
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."
jglen490 (jglen490) wrote : | #29 |
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 |
Doll (wuzhanghui) wrote : Re: [Bug 193125] Re: halt:unable to iterate IDE devices:no such files or directory | #30 |
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:/
> 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.
>
jglen490 (jglen490) wrote : Re: [Bug 193125] Re:halt:unable to iterate IDE devices:no such files or directory | #31 |
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:/
> > 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."
Buckminster (frank-spielkamp) wrote : | #32 |
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
jglen490 (jglen490) wrote : | #33 |
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."
ibex_rider (david-taille-fr) wrote : | #34 |
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://
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.
jglen490 (jglen490) wrote : | #35 |
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://
>
> 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."
era (erik-thysell) wrote : | #36 |
Thank you so much jglen490. It even solved my problems getting with getting nvidia module to load. Life's great! :)
era (erik-thysell) wrote : | #37 |
And it also resolvs the problem with nvidia reading correct EDID information!!!
era (erik-thysell) wrote : | #38 |
btw I run Kubuntu 8.10, nvidia 177:80, on an old msi kt266 mb, amibios
jglen490 (jglen490) wrote : | #39 |
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."
manzur (sl-solaris) wrote : | #40 |
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
jglen490 (jglen490) wrote : | #41 |
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."
marcel (marcelrf) wrote : | #42 |
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
marcel (marcelrf) wrote : | #43 |
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 :(
Iñigo Lekanda (vinagre) wrote : | #44 |
- uname-a.log Edit (89 bytes, text/plain)
Also in Jaunty (Alpha 5) in Asus X59SL.
I attach the required files.
Iñigo Lekanda (vinagre) wrote : | #45 |
Iñigo Lekanda (vinagre) wrote : | #46 |
Iñigo Lekanda (vinagre) wrote : | #47 |
Thura (trh) wrote : | #48 |
- lspci-vvnn.log Edit (14.3 KiB, text/plain)
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 ...
Thura (trh) wrote : | #49 |
Ihor (ihoros) wrote : | #50 |
I have the same problem on
Acer Aspire 7520g :(
...Waiting for solution
Vladimir (thunder27) wrote : | #51 |
I have the same problem on Acer Aspire 5520 (Ubuntu 9.04) Final Release - 64bit
Peter Chynoweth (pcchynoweth) wrote : | #52 |
Acer Aspire 5520 - upgraded to Jaunty on April 24, 2009
Problem is still there
Anibal (elkan9) wrote : | #53 |
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.
Orzech (piotr.orzechowski) wrote : | #54 |
"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.
m0rtal (alexander-nagorny) wrote : | #55 |
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
m0rtal (alexander-nagorny) wrote : | #56 |
Grobbelaar (giatav) wrote : | #57 |
Grobbelaar (giatav) wrote : | #58 |
aduvale (aduvale) wrote : | #59 |
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?
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/KernelTeamB ugPolicies. Thanks in advance!