Favicon

Bug#409222: linux-image-2.6.18-3-686: on system with absolutely no SATA drives - 'ata1: port is slow to respond, please be patient'

Package: linux-image-2.6.18-3-686
Severity: normal

adds nearly two minutes to the boot time as the timeouts on both
ata1 and ata2 are nearly 50 seconds - 30 seconds waiting time
each plus several 5 second retries.

l.

-- System Information:
Debian Release: testing/unstable
Architecture: i386
Kernel: Linux highfield 2.6.16-1-686 #2 Mon Apr 10 22:16:40 UTC 2006 i686
Locale: LANG=C, LC_CTYPE=C

Norbert Tretkowski | 1 Feb 2007 02:02
Picon
Gravatar

Bug#409222: linux-image-2.6.18-3-686: on system with absolutely no SATA drives - 'ata1: port is slow to respond, please be patient'

tags 409222 +moreinfo
thanks

* Luke Kenneth Casson Leighton wrote:
> adds nearly two minutes to the boot time as the timeouts on both
> ata1 and ata2 are nearly 50 seconds - 30 seconds waiting time each
> plus several 5 second retries.

Sounds like #391867 which was fixed in 2.6.18.dfsg.1-9, please retry
with the latest kernel.

                Norbert

Debian Bug Tracking System | 1 Feb 2007 02:03
Picon

Processed: Re: Bug#409222: linux-image-2.6.18-3-686: on system with absolutely no SATA drives - 'ata1: port is slow to respond, please be patient'

Processing commands for control <at> bugs.debian.org:

> tags 409222 +moreinfo
Bug#409222: linux-image-2.6.18-3-686: on system with absolutely no SATA drives - 'ata1: port is slow to
respond, please be patient'
There were no tags set.
Tags added: moreinfo

> thanks
Stopping processing here.

Please contact me if you need assistance.

Debian bug tracking system administrator
(administrator, Debian Bugs database)

Favicon

Bug#409222: linux-image-2.6.18-3-686: on system with absolutely no SATA drives - 'ata1: port is slow to respond, please be patient'

On Thu, Feb 01, 2007 at 02:02:54AM +0100, Norbert Tretkowski wrote:
> tags 409222 +moreinfo
> thanks
> 
> * Luke Kenneth Casson Leighton wrote:
> > adds nearly two minutes to the boot time as the timeouts on both
> > ata1 and ata2 are nearly 50 seconds - 30 seconds waiting time each
> > plus several 5 second retries.
> 
> Sounds like #391867 which was fixed in 2.6.18.dfsg.1-9, please retry
> with the latest kernel.

 dear norbert,

 unfortunately there is no change.

 this is with 2.6.18-6-686.

ghfield:~# apt-cache show linux-image-2.6.18-3-686
Package: linux-image-2.6.18-3-686
Priority: optional
Section: admin
Installed-Size: 49588
Maintainer: Debian Kernel Team <debian-kernel <at> lists.debian.org>
Architecture: i386
Source: linux-2.6
Version: 2.6.18-7
Provides: linux-image, linux-image-2.6, linux-modules-2.6.18-3-686
Depends: module-init-tools, coreutils, initramfs-tools (>= 0.55) | yaird
(>= 0.0.12-8) | linux-initramfs-tool
(Continue reading)

Amos Shapira | 1 Feb 2007 05:05

Bug#409238: linux-image-2.6-686: redundant "scripts/functions.orig" in initrd.img file

Package: linux-image-2.6-686
Version: 2.6.18+5
Severity: normal

/boot/initrd.img-2.6.18-3-686, and I suspect all other initrd.img files
as well, contains a file called "scripts/functions.orig" which is
identical to "scripts/functions" and seems to be a left-over backup
file.

-- System Information:
Debian Release: 4.0
  APT prefers testing
  APT policy: (500, 'testing')
Architecture: i386 (i686)
Shell:  /bin/sh linked to /bin/bash
Kernel: Linux 2.6.17-2-686
Locale: LANG=en_AU.UTF-8, LC_CTYPE=en_AU.UTF-8 (charmap=UTF-8)

Versions of packages linux-image-2.6-686 depends on:
ii  linux-image-2.6.18-3-686       2.6.18-7   Linux 2.6.18 image on PPro/Celeron

linux-image-2.6-686 recommends no packages.

-- no debconf information

Dennis Vshivkov | 1 Feb 2007 06:54
Picon

Bug#409240: Kernel and initrd image symlinks aren't updated properly

Package: linux-2.6
Version: 2.6.18-7, 2.6.18.dfsg.1-9
Severity: important

Attempting to install (ignore the fact that the .deb is from
www.backports.org: the problem is clearly present in the latest
versions in testing and unstable):

    # dpkg -i linux-image-2.6.18-3-k7_2.6.18-8~bpo.1_i386.deb
    Selecting previously deselected package linux-image-2.6.18-3-k7.
    (Reading database ... 118793 files and directories currently installed.)
    Unpacking linux-image-2.6.18-3-k7 (from .../linux-image-2.6.18-3-k7_2.6.18-8~bpo.1_i386.deb) ...
    Done.
    Setting up linux-image-2.6.18-3-k7 (2.6.18-8~bpo.1) ...

     Hmm. The package shipped with a symbolic link /lib/modules/2.6.18-3-k7/source
     However, I can not read the target: No such file or directory
     Therefore, I am deleting /lib/modules/2.6.18-3-k7/source

    Running depmod.
    Finding valid ramdisk creators.
    Using mkinitramfs-kpkg to build the ramdisk.
    initrd.img() points to  (/boot/initrd.img-2.6.16-2-k7) -- doing nothing at
/var/lib/dpkg/info/linux-image-2.6.18-3-k7.postinst line 585.
    vmlinuz() points to  (/boot/vmlinuz-2.6.16-2-k7) -- doing nothing at
/var/lib/dpkg/info/linux-image-2.6.18-3-k7.postinst line 585.

Huh?  I need symlinks properly updated, but they are not:

    # cat /etc/kernel-img.conf
    do_symlinks = yes
    link_in_boot = yes
    relative_links = yes
    do_boot_enable = no
    warn_initrd = no

    # ls -l /boot
    total 20891
    -rw-r--r--  1 root root  651764 May 23  2006 System.map-2.6.16-2-k7
    -rw-r--r--  1 root root  794349 Dec 16 03:08 System.map-2.6.18-3-k7
    -rw-r--r--  1 root root  843731 Aug 17  2005 System.map-2.6.8-2-k7
    -rw-r--r--  1 root root   67132 May 23  2006 config-2.6.16-2-k7
    -rw-r--r--  1 root root   71347 Dec 15 02:38 config-2.6.18-3-k7
    -rw-r--r--  1 root root   55437 Aug 17  2005 config-2.6.8-2-k7
    drwxr-xr-x  2 root root    1024 Jun 19  2006 grub
    lrwxrwxrwx  1 root root      22 Jun 19  2006 initrd.img -> initrd.img-2.6.16-2-k7
    -rw-r--r--  1 root root 4787460 Jun 19  2006 initrd.img-2.6.16-2-k7
    -rw-r--r--  1 root root 4951392 Feb  1 18:18 initrd.img-2.6.18-3-k7
    -rw-r--r--  1 root root 5361664 Jul  4  2006 initrd.img-2.6.8-2-k7
    lrwxrwxrwx  1 root root      21 Sep 28  2005 initrd.img.old -> initrd.img-2.6.8-2-k7
    drwx------  2 root root   12288 Jan 19  2004 lost+found
    -rw-r--r--  1 root root   94356 Feb  3  2005 memtest86.bin
    lrwxrwxrwx  1 root root      19 Jun 19  2006 vmlinuz -> vmlinuz-2.6.16-2-k7
    -rw-r--r--  1 root root 1152794 May 23  2006 vmlinuz-2.6.16-2-k7
    -rw-r--r--  1 root root 1289521 Dec 16 03:08 vmlinuz-2.6.18-3-k7
    -rw-r--r--  1 root root 1152888 Aug 17  2005 vmlinuz-2.6.8-2-k7
    lrwxrwxrwx  1 root root      18 Sep 28  2005 vmlinuz.old -> vmlinuz-2.6.8-2-k7

Here's where the problem lies: the postinst, in sub move_p().
The Perl script does hops and skips and figures out intended and
existing targets for the symlinks ($target and $vmlinuz_target,
accordingly), and if they compare equal, outputs the message
above, doing nothing else.  Debugging reveals that they do
compare equal because they are both undefined/empty.

Here's how $target gets empty:

    my $target = `readlink -q "${realimageloc}${kimage-$version}"`;

At the very least, interpolation of $kimage and $version is
broken.  Also, since the intended pathname is a real file and
not a symlink, readlink(1) returns an empty string.

That alone wouldn't be enough, here's how $vmlinuz_target gets
the same:

    my $vmlinuz_target = readlink "$kimage";
    ...
    $vmlinuz_target = `readlink -q $vmlinuz_target`;

The $kimage link target is resolved as a symlink once again,
which fails, as it's a real file too.  The whole need for doing
that second resolution, as well as mixing readlink() and
`readlink` in the same code is not clear.

I had to fix the links by hand to move on, but the problem has
to be addressed properly.

Regards,

-- 
/Awesome Walrus <walrus <at> amur.ru>
             ...Но будет день, и ты поймёшь, что ты -- лишь пешка в их игре...

--

-- 
To UNSUBSCRIBE, email to debian-kernel-REQUEST <at> lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster <at> lists.debian.org

Jurij Smakov | 1 Feb 2007 07:43

Bug#408446: [sparc] Installation fails on SunFire v440

Hi,

I can try and have a look at the oops, however the 'RED State 
Exception' error is usually a pretty definite sign of some kind of 
hardware trouble. You might try removing different memory modules to 
see if that would help. I'll send a message to debian-sparc to see 
whether anyone else experiences similar problems on a v440.

Best regards,
--

-- 
Jurij Smakov                                           jurij <at> wooyd.org
Key: http://www.wooyd.org/pgpkey/                      KeyID: C99E03CC

Debian Bug Tracking System | 1 Feb 2007 08:03
Picon

Processed: Re: Bug#409240: Kernel and initrd image symlinks aren't updated properly

Processing commands for control <at> bugs.debian.org:

> reassign 409240 kernel-package
Bug#409240: Kernel and initrd image symlinks aren't updated properly
Bug reassigned from package `linux-2.6' to `kernel-package'.

> thanks
Stopping processing here.

Please contact me if you need assistance.

Debian bug tracking system administrator
(administrator, Debian Bugs database)

Manoj Srivastava | 1 Feb 2007 07:58
X-Face
Face
Gravatar

Bug#409240: Kernel and initrd image symlinks aren't updated properly

reassign 409240 kernel-package
thanks

Hi,

        Thanks for the report.  Part of the problems you encountered
 are fixed in the latest kernel-package, but there is at least
 one bug.

On Thu, 1 Feb 2007 18:54:04 +1300, Dennis Vshivkov <walrus <at> amur.ru> said: 

> Here's where the problem lies: the postinst, in sub move_p().  The
> Perl script does hops and skips and figures out intended and
> existing targets for the symlinks ($target and $vmlinuz_target,
> accordingly), and if they compare equal, outputs the message above,
> doing nothing else.  Debugging reveals that they do compare equal
> because they are both undefined/empty.

> Here's how $target gets empty:

>     my $target = `readlink -q "${realimageloc}${kimage-$version}"`;

> At the very least, interpolation of $kimage and $version is broken.

        This is the bug in the postinst.

> Also, since the intended pathname is a real file and not a symlink,
> readlink(1) returns an empty string.

        This part has been fixed by using readlink -q -m:
__> ls -als /bin/bash
672 -rwxr-xr-x 1 root root 677184 2006-12-11 15:20 /bin/bash
__> readlink -q -m /bin/bash
/bin/bash

> That alone wouldn't be enough, here's how $vmlinuz_target gets the
> same:

>     my $vmlinuz_target = readlink "$kimage";
>       ...
>     $vmlinuz_target = `readlink -q $vmlinuz_target`;

> The $kimage link target is resolved as a symlink once again, which
> fails, as it's a real file too.  The whole need for doing that
> second resolution, as well as mixing readlink() and `readlink` in
> the same code is not clear.

        The readlink -q -m bit is the correct one; the first
 invocation only works for links; the seconf one follows every link in
 the path, without requiring it to exist, or caring if it is a real
 file. 

        manoj
--

-- 
The sooner you fall behind, the more time you have to catch up.
Manoj Srivastava <srivasta <at> acm.org> <http://www.golden-gryphon.com/>
1024D/BF24424C print 4966 F272 D093 B493 410B  924B 21BA DABB BF24 424C

Frans Pop | 1 Feb 2007 08:05
Picon

Bug#409222: linux-image-2.6.18-3-686: on system with absolutely no SATA drives - 'ata1: port is slow to respond, please be patient'

On Thursday 01 February 2007 03:18, Luke Kenneth Casson Leighton wrote:
>  unfortunately there is no change.
>
>  this is with 2.6.18-6-686.
>
> ghfield:~# apt-cache show linux-image-2.6.18-3-686
> Version: 2.6.18-7

This is _not_ the latest version. Please try with linux-image-2.6.18-4-686 
(2.6.18.dfsg.1-9) from unstable, as Dann requested!

Gmane