Re: new powerpc.mk version.

2005-12-28 Thread Sven Luther
On Wed, Dec 28, 2005 at 10:08:41AM +0100, Sven Luther wrote:
 On Wed, Dec 28, 2005 at 12:12:06AM +0100, Sven Luther wrote:
  On Tue, Dec 27, 2005 at 08:39:10PM +0100, Sven Luther wrote:
   Hi Manoj, ...
   
   Attached is a new version of powerpc.mk, which aims at replacing fully the
   ppc.mk and ppc64.mk files. I think it is not yet fully mature on older 
   system
   as well as in the pure-64 case, but i will refine it as time passes, but 
   it
   would be nice if you could upload this one, after i confirm you it works 
   for
   2.6.15 and 2.6.14, i also need to test on 2.4.27 too, altough this one is 
   just
   nubus for now, and scarcely important.
  
  Oh, well, doesn't work as is, i need to investigate tomorrow and see where 
  it
  failed.
 
 Manoj, ...
 
 I confirm that this one attached version does the right thing for 2.6.14 and
 2.6.15-rc7, so it would be helpful if you could upload a version of
 kernel-package with it and removing ppc.mk and ppc64.mk asap. it may break
 2.4.x, due to the removal of the older pmac|prep|chrp|and co subarches, but
 the powerpc subarch should be perfectly fine for pmacs, and anyone sane should
 use a 2.6.x kernel on powerpc anyway, the sid 2.4.x powerpc package builds the
 nubus subarch only for example.

And with the attached patch this time :/

Friendly,

Sven Luther
# -*- Mode: Makefile-Gmake -*- 
## ppc.mk --- 
## Author   : Manoj Srivastava ( [EMAIL PROTECTED] ) 
## Created On   : Mon Oct 31 18:31:06 2005
## Created On Node  : glaurung.internal.golden-gryphon.com
## Last Modified By : Manoj Srivastava
## Last Modified On : Sun Dec 25 12:14:39 2005
## Last Machine Used: glaurung.internal.golden-gryphon.com
## Update Count : 1
## Status   : Unknown, Use with caution!
## HISTORY  : 
## Description  : handle the architecture specific variables.
## 
## arch-tag: d59ba6c1-4d5e-46c2-aa8f-8c6e1d4a487b
## 
## 
## This program is free software; you can redistribute it and/or modify
## it under the terms of the GNU General Public License as published by
## the Free Software Foundation; either version 2 of the License, or
## (at your option) any later version.
##
## This program is distributed in the hope that it will be useful,
## but WITHOUT ANY WARRANTY; without even the implied warranty of
## MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
## GNU General Public License for more details.
##
## You should have received a copy of the GNU General Public License
## along with this program; if not, write to the Free Software
## Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA  02110-1301  USA
##
###

# prpmc and mbx are not guessed automatically yet.
ifeq ($(DEB_BUILD_ARCH),powerpc)
# This is only meaningful when building on a PowerPC
  ifeq ($(GUESS_SUBARCH),)
GUESS_MACHINE:=$(shell awk '/machine/ { print $$3}' /proc/cpuinfo)
GUESS_CPU:=$(shell awk '/cpu/ { print $$3}' /proc/cpuinfo)
GUESS_GENERATION:=$(shell awk '/generation/ { print $$3}' /proc/cpuinfo)
ifneq (,$(findstring POWER,$(GUESS_CPU)))
  GUESS_SUBARCH:=powerpc64
else
  ifneq (,$(findstring PPC970,$(GUESS_CPU)))
GUESS_SUBARCH:=powerpc64
  else
ifneq (,$(findstring NuBus,$(GUESS_GENERATION)))
  GUESS_SUBARCH:=nubus
else
  ifneq (,$(findstring Amiga,$(GUESS_MACHINE)))
GUESS_SUBARCH:=apus
  endif
endif
  endif
endif
ifeq ($(GUESS_SUBARCH),)
  GUESS_SUBARCH:=powerpc
endif
  else
GUESS_SUBARCH:=powerpc
  endif
endif

ifeq (,$(findstring $(KPKG_SUBARCH), apus Amiga APUs nubus ppc ppc32 ppc64 
powerpc powerpc32 powerpc64 prpmc mbx MBX))
  KPKG_SUBARCH:=$(GUESS_SUBARCH)
endif

# We need to set the KERNEL_ARCH depending on the actual version, so let's 
distinguish between pre-2.6.15, 2.6.15 and 2.6.14.
KERNEL_ARCH_VERSION = $(shell if [ $(VERSION) -lt 2 ]; then \
echo pre-2.6.15;
\
elif [ $(VERSION) -eq 2 ]  [ $(PATCHLEVEL) -lt 6 ]; then  \
echo pre-2.6.15;
\
elif [ $(VERSION) -eq 2 ]  [ $(PATCHLEVEL) -eq 6 ]  \
[ $(SUBLEVEL) -lt 15 ]; then\
echo pre-2.6.15;
\
elif [ $(VERSION) -eq 2 ]  [ $(PATCHLEVEL) -eq 6 ]  \
[ $(SUBLEVEL) -lt 16 ]; then\
echo 2.6.15;\
else\
echo post-2.6.15;   
\
fi)

# pre-2.6.15 uses ppc for 32bit and ppc64 for 64bit.
ifeq ($(KERNEL_ARCH_VERSION), pre-2.6.15)
  

Bug#343048: linux-image-2.6.14-2-686: ide fails to initialize, fails to boot

2005-12-28 Thread Michael Setzer
 Updated today to linux-image-2.6.14-2-686 2.6.14-6 and it booted without
 problems. DMA working and everything aparently back to normality.

Same over here. Upgrading the Kernel without a modified /etc/yaird/Default.cfg 
leads to a properly running system.

Even after the latest yaird update (0.0.12-2) and another dpkg-reconfigure 
linux-image-2.6.14-2-686 everything runs fine.

Thanks a lot!

Regards, Michael


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Bug#343048: marked as done (linux-image-2.6.14-2-686: ide fails to initialize, fails to boot)

2005-12-28 Thread Debian Bug Tracking System
Your message dated Wed, 28 Dec 2005 13:43:54 +0100
with message-id [EMAIL PROTECTED]
and subject line Bug fixed with the upload of 0.0.12-2
has caused the attached Bug report to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what I am
talking about this indicates a serious mail system misconfiguration
somewhere.  Please contact me immediately.)

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

--
Received: (at submit) by bugs.debian.org; 12 Dec 2005 04:50:31 +
From [EMAIL PROTECTED] Sun Dec 11 20:50:31 2005
Return-path: [EMAIL PROTECTED]
Received: from c-67-165-46-37.hsd1.pa.comcast.net ([67.165.46.37] 
helo=mst.ath.cx)
by spohr.debian.org with esmtp (Exim 4.50)
id 1Elfdv-tF-CE
for [EMAIL PROTECTED]; Sun, 11 Dec 2005 20:50:31 -0800
Received: from mstoll by localhost with local (Exim 3.36 #1 (Debian))
id 1Elfdy-0001LN-00; Sun, 11 Dec 2005 23:50:34 -0500
Content-Type: text/plain; charset=us-ascii
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
From: Martin Stolle [EMAIL PROTECTED]
To: Debian Bug Tracking System [EMAIL PROTECTED]
Subject: linux-image-2.6.14-2-686: ide fails to initialize, fails to boot
Message-ID: [EMAIL PROTECTED]
X-Mailer: reportbug 3.18
Date: Sun, 11 Dec 2005 23:50:33 -0500
Sender: Martin Stolle [EMAIL PROTECTED]
Delivered-To: [EMAIL PROTECTED]
X-Spam-Checker-Version: SpamAssassin 2.60-bugs.debian.org_2005_01_02 
(1.212-2003-09-23-exp) on spohr.debian.org
X-Spam-Level: 
X-Spam-Status: No, hits=-7.5 required=4.0 tests=BAYES_00,HAS_PACKAGE,
RCVD_IN_SORBS autolearn=no version=2.60-bugs.debian.org_2005_01_02

Package: linux-image-2.6.14-2-686
Version: 2.6.14-5
Severity: critical
Justification: breaks the whole system



After the last update (-4 = -5), the system fails to boot.  There are
several error messages:  waiting for /sys/block.../hda to come up.  It
seems like the IDE module is loaded, but no drives whatsoever are found.
When booting with an alternate kernel, some ACPI stuff happens when the
ide driver gets started - maybe something with ACPI is wrong with the
latest version?

Martin


-- System Information:
Debian Release: testing/unstable
  APT prefers unstable
  APT policy: (500, 'unstable')
Architecture: i386 (i686)
Shell:  /bin/sh linked to /bin/dash
Kernel: Linux 2.6.14-rc3-mst
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)

Versions of packages linux-image-2.6.14-2-686 depends on:
ii  module-init-tools 3.2.2-1tools for managing Linux kernel mo
ii  yaird [linux-initramfs-tool]  0.0.12-1   Yet Another mkInitRD

Versions of packages linux-image-2.6.14-2-686 recommends:
ii  libc6-i6862.3.5-8.1  GNU C Library: Shared libraries [i

-- debconf information:
  linux-image-2.6.14-2-686/preinst/initrd-2.6.14-2-686:
  linux-image-2.6.14-2-686/preinst/bootloader-initrd-2.6.14-2-686: true
  linux-image-2.6.14-2-686/postinst/old-system-map-link-2.6.14-2-686: true
  linux-image-2.6.14-2-686/preinst/failed-to-move-modules-2.6.14-2-686:
  linux-image-2.6.14-2-686/preinst/elilo-initrd-2.6.14-2-686: true
  linux-image-2.6.14-2-686/preinst/abort-install-2.6.14-2-686:
* linux-image-2.6.14-2-686/preinst/lilo-initrd-2.6.14-2-686: false
  linux-image-2.6.14-2-686/postinst/depmod-error-2.6.14-2-686: false
  linux-image-2.6.14-2-686/postinst/bootloader-test-error-2.6.14-2-686:
  linux-image-2.6.14-2-686/postinst/bootloader-error-2.6.14-2-686:
  linux-image-2.6.14-2-686/preinst/abort-overwrite-2.6.14-2-686:
* linux-image-2.6.14-2-686/preinst/already-running-this-2.6.14-2-686:
  linux-image-2.6.14-2-686/preinst/lilo-has-ramdisk:
  linux-image-2.6.14-2-686/postinst/create-kimage-link-2.6.14-2-686: true
  linux-image-2.6.14-2-686/postinst/depmod-error-initrd-2.6.14-2-686: false
  linux-image-2.6.14-2-686/postinst/old-dir-initrd-link-2.6.14-2-686: true
  linux-image-2.6.14-2-686/prerm/would-invalidate-boot-loader-2.6.14-2-686: true
  linux-image-2.6.14-2-686/preinst/overwriting-modules-2.6.14-2-686: true
  linux-image-2.6.14-2-686/postinst/kimage-is-a-directory:
  linux-image-2.6.14-2-686/prerm/removing-running-kernel-2.6.14-2-686: true
  linux-image-2.6.14-2-686/postinst/old-initrd-link-2.6.14-2-686: true

---
Received: (at 343048-done) by bugs.debian.org; 28 Dec 2005 12:43:54 +
From [EMAIL PROTECTED] Wed Dec 28 04:43:54 2005
Return-path: [EMAIL PROTECTED]
Received: from 0x3ef3a55b.virnxx2.adsl-dhcp.tele.dk
([62.243.165.91] helo=xayide.jones.dk ident=postfix)
by spohr.debian.org with esmtp (Exim 4.50)
id 1Eraeo-CV-IT
for [EMAIL PROTECTED]; Wed, 28 Dec 2005 04:43:54 -0800
Received: from localhost (localhost [127.0.0.1])
by 

Bug#345040: linux-image-2.6.15-rc5-686: No console after logging out from Gnome/X in IBM Thinkpad T43

2005-12-28 Thread LUK ShunTim
Package: linux-image-2.6.15-rc5-686
Version: 2.6.14+2.6.15-rc5-0experimental.1
Severity: important
Tags: experimental

I cannot get back to a console after logging out from a Gnome/X session. I just 
got a blank screen which does not response to any key press. I have to turn off 
the power. This happens on a IBM Thinkpad T43 with the non-free ATI driver 
fglrx 8.20.8-1. I belived the following is the relevant extract from 
/var/log/kern.log

quout
Dec 28 23:39:15 t43 kernel: [ cut here ]
Dec 28 23:39:15 t43 kernel: kernel BUG at mm/swap.c:49!
Dec 28 23:39:15 t43 kernel: invalid operand:  [#1]
Dec 28 23:39:15 t43 kernel: Modules linked in: nls_iso8859_1 nls_cp437 vfat fat 
michael_mic arc4 ieee80211_crypt_tkip binfmt_misc ipx ipv6 thermal fan button 
ac battery pcmcia ide_cd fglrx speedstep_centrino freq_table processor 
cpufreq_userspace ibm_acpi usbhid irtty_sir sir_dev joydev irda floppy 
crc_ccitt ipw2200 ieee80211 ieee80211_crypt sg yenta_socket rsrc_nonstatic 
firmware_class sr_mod pcmcia_core cdrom ehci_hcd snd_intel8x0 snd_ac97_codec 
snd_ac97_bus snd_pcm_oss snd_mixer_oss uhci_hcd psmouse i2c_i801 parport_pc 
parport snd_pcm snd_timer serio_raw pcspkr tg3 snd soundcore snd_page_alloc 
i2c_core usbcore intel_agp agpgart rtc ext3 jbd mbcache sd_mod generic ide_core 
ahci ata_piix libata scsi_mod evdev mousedev
Dec 28 23:39:15 t43 kernel: CPU:0
Dec 28 23:39:15 t43 kernel: EIP:0060:[put_page+96/128]Tainted: PB 
VLI
Dec 28 23:39:15 t43 kernel: EFLAGS: 00013256   (2.6.15-rc5-686) 
Dec 28 23:39:15 t43 kernel: EIP is at put_page+0x60/0x80
Dec 28 23:39:15 t43 kernel: eax:    ebx: dab76c64   ecx: c1340da0   
edx: c1340da0
Dec 28 23:39:15 t43 kernel: esi: b7b19000   edi: c1340da0   ebp: 0020   
esp: db535e98
Dec 28 23:39:15 t43 kernel: ds: 007b   es: 007b   ss: 0068
Dec 28 23:39:15 t43 kernel: Process Xorg (pid: 6266, threadinfo=db534000 
task=dbfef550)
Dec 28 23:39:15 t43 kernel: Stack: c014dfac c1340da0 b7b18000 1a06d067 de58dac0 
  dbfedb78 
Dec 28 23:39:15 t43 kernel:b7b19000 db535f28 dbfedb78 c014e1e6 c03a043c 
dbb5e334 dbfedb78 b7b18000 
Dec 28 23:39:15 t43 kernel:b7b19000 db535f28  dbfedb78 b7b18fff 
b7b18000 dbb5e334 b7b19000 
Dec 28 23:39:15 t43 kernel: Call Trace:
Dec 28 23:39:15 t43 kernel:  [zap_pte_range+284/608] zap_pte_range+0x11c/0x260
Dec 28 23:39:15 t43 kernel:  [unmap_page_range+246/304] 
unmap_page_range+0xf6/0x130
Dec 28 23:39:15 t43 kernel:  [unmap_vmas+219/512] unmap_vmas+0xdb/0x200
Dec 28 23:39:15 t43 kernel:  [unmap_region+147/304] unmap_region+0x93/0x130
Dec 28 23:39:15 t43 kernel:  [do_munmap+265/336] do_munmap+0x109/0x150
Dec 28 23:39:15 t43 kernel:  [sys_munmap+80/128] sys_munmap+0x50/0x80
Dec 28 23:39:15 t43 kernel:  [sysenter_past_esp+84/117] 
sysenter_past_esp+0x54/0x75
Dec 28 23:39:15 t43 kernel: Code: 00 00 8b 52 0c 8b 02 89 d1 f6 c4 40 74 03 8b 
4a 0c 8b 41 04 40 74 1e 83 42 04 ff 0f 98 c0 84 c0 74 ce 8b 4a 30 89 54 24 04 
ff e1 0f 0b 31 00 b1 df 2e c0 eb b0 0f 0b 29 00 b1 df 2e c0 eb d8 8d 
/quote

Please take a look.
Regards,
ST
-- System Information:
Debian Release: testing/unstable
  APT prefers unstable
  APT policy: (500, 'unstable'), (1, 'experimental')
Architecture: i386 (i686)
Shell:  /bin/sh linked to /bin/bash
Kernel: Linux 2.6.15-rc5-686
Locale: LANG=en_US, LC_CTYPE=en_US (charmap=ISO-8859-1)

Versions of packages linux-image-2.6.15-rc5-686 depends on:
ii  module-init-tools 3.2.2-1tools for managing Linux kernel mo
ii  yaird [linux-initramfs-tool]  0.0.12-2   Yet Another mkInitRD

Versions of packages linux-image-2.6.15-rc5-686 recommends:
ii  libc6-i6862.3.5-9GNU C Library: Shared libraries [i

-- debconf information:
  linux-image-2.6.15-rc5-686/preinst/abort-install-2.6.15-rc5-686:
  linux-image-2.6.15-rc5-686/preinst/bootloader-initrd-2.6.15-rc5-686: true
  linux-image-2.6.15-rc5-686/postinst/depmod-error-2.6.15-rc5-686: false
  linux-image-2.6.15-rc5-686/postinst/kimage-is-a-directory:
  linux-image-2.6.15-rc5-686/postinst/old-initrd-link-2.6.15-rc5-686: true
  linux-image-2.6.15-rc5-686/preinst/lilo-initrd-2.6.15-rc5-686: true
  linux-image-2.6.15-rc5-686/postinst/old-dir-initrd-link-2.6.15-rc5-686: true
  linux-image-2.6.15-rc5-686/postinst/depmod-error-initrd-2.6.15-rc5-686: false
  linux-image-2.6.15-rc5-686/postinst/bootloader-error-2.6.15-rc5-686:
  linux-image-2.6.15-rc5-686/postinst/old-system-map-link-2.6.15-rc5-686: true
  linux-image-2.6.15-rc5-686/preinst/already-running-this-2.6.15-rc5-686:
  linux-image-2.6.15-rc5-686/preinst/elilo-initrd-2.6.15-rc5-686: true
  linux-image-2.6.15-rc5-686/preinst/initrd-2.6.15-rc5-686:
  linux-image-2.6.15-rc5-686/preinst/lilo-has-ramdisk:
  linux-image-2.6.15-rc5-686/prerm/would-invalidate-boot-loader-2.6.15-rc5-686: 
true
  linux-image-2.6.15-rc5-686/postinst/bootloader-test-error-2.6.15-rc5-686:
  linux-image-2.6.15-rc5-686/preinst/failed-to-move-modules-2.6.15-rc5-686:
  

Bug#345040: linux-image-2.6.15-rc5-686: No console after logging out from Gnome/X in IBM Thinkpad T43

2005-12-28 Thread Jonas Smedegaard
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

On Thu, 29 Dec 2005 00:37:36 +0800
LUK ShunTim [EMAIL PROTECTED] wrote:

 This happens on a IBM Thinkpad T43 with the non-free ATI driver fglrx
 8.20.8-1.

I believe not only non-free, but also unsupported.

If possible then try switching to a driver provided with Debian and see
if the problem persists. If it does then we need to solve the problem,
if not then file a bug whereever you found your unsupported driver.


 - Jonas

- -- 
* Jonas Smedegaard - idealist og Internet-arkitekt
* Tlf.: +45 40843136  Website: http://dr.jones.dk/

 - Enden er nær: http://www.shibumi.org/eoti.htm
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.2 (GNU/Linux)

iD8DBQFDsswVn7DbMsAkQLgRAl7IAJsEO5hG7vQ0xP2rPpanaaKIfmrHWACcC4Yg
D/RmzPv2rj7kjToblOVyWfw=
=Uuhq
-END PGP SIGNATURE-



ARCH=powerpc 64bit 2.6.15-rc7 build error : ld: drivers/built-in.o section .init.text exceeds stub group size

2005-12-28 Thread Sven Luther
Hi, ...

While trying to build the debian 2.6.15-rc7 ARCH=powerpc 64bit kernel, i get
the following : 

  LD  init/built-in.o
  LD  .tmp_vmlinux1
ld: drivers/built-in.o section .init.text exceeds stub group size
ld: arch/powerpc/kernel/built-in.o section .init.text exceeds stub group 
size
ld: net/built-in.o section .text exceeds stub group size
ld: drivers/built-in.o section .text exceeds stub group size
ld: block/built-in.o section .text exceeds stub group size
ld: security/built-in.o section .text exceeds stub group size
ld: ipc/built-in.o section .text exceeds stub group size
ld: fs/built-in.o section .text exceeds stub group size
ld: mm/built-in.o section .text exceeds stub group size
ld: kernel/built-in.o section .text exceeds stub group size
ld: arch/powerpc/platforms/built-in.o section .text exceeds stub group size
ld: arch/powerpc/kernel/built-in.o section .text exceeds stub group size
ld: arch/powerpc/kernel/head_64.o section .text exceeds stub group size

  KSYM.tmp_kallsyms1.S
  AS  .tmp_kallsyms1.o
  LD  .tmp_vmlinux2
ld: drivers/built-in.o section .init.text exceeds stub group size
ld: arch/powerpc/kernel/built-in.o section .init.text exceeds stub group 
size
ld: net/built-in.o section .text exceeds stub group size
ld: drivers/built-in.o section .text exceeds stub group size
ld: block/built-in.o section .text exceeds stub group size
ld: security/built-in.o section .text exceeds stub group size
ld: ipc/built-in.o section .text exceeds stub group size
ld: fs/built-in.o section .text exceeds stub group size
ld: mm/built-in.o section .text exceeds stub group size
ld: kernel/built-in.o section .text exceeds stub group size
ld: arch/powerpc/platforms/built-in.o section .text exceeds stub group size
ld: arch/powerpc/kernel/built-in.o section .text exceeds stub group size
ld: arch/powerpc/kernel/head_64.o section .text exceeds stub group size
  KSYM.tmp_kallsyms2.S
  AS  .tmp_kallsyms2.o
  LD  vmlinux
ld: drivers/built-in.o section .init.text exceeds stub group size
ld: arch/powerpc/kernel/built-in.o section .init.text exceeds stub group 
size
ld: net/built-in.o section .text exceeds stub group size
ld: drivers/built-in.o section .text exceeds stub group size
ld: block/built-in.o section .text exceeds stub group size
ld: security/built-in.o section .text exceeds stub group size
ld: ipc/built-in.o section .text exceeds stub group size
ld: fs/built-in.o section .text exceeds stub group size
ld: mm/built-in.o section .text exceeds stub group size
ld: kernel/built-in.o section .text exceeds stub group size
ld: arch/powerpc/platforms/built-in.o section .text exceeds stub group size
ld: arch/powerpc/kernel/built-in.o section .text exceeds stub group size
ld: arch/powerpc/kernel/head_64.o section .text exceeds stub group size
  SYSMAP  System.map
  SYSMAP  .tmp_System.map

I never saw those before, so i wonder if this are harmless messages coming
from the deubg symbols which are too big or something, or if i could worry
about them. Any help on this would be very welcome.

Friendly,

Sven Luther





-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Re: fails to load ide-disk, doesn't find hdd

2005-12-28 Thread Joey Hess
I also see this bug, using initramfs-tools 0.44 and
linux-image-2.6.14-2-386 (2.6.14-6).

It's puzzling that the changelog for this version of the kernel
claims to have dropped the module ide patch, but all the ide modules
including ide-disk, ide-generic and the ide/pci/* modules, are still there
in the debian package.

-- 
see shy jo


signature.asc
Description: Digital signature


Bug#344754: fails to load ide-disk, doesn't find hdd

2005-12-28 Thread maximilian attems
On Wed, 28 Dec 2005, Joey Hess wrote:

 I also see this bug, using initramfs-tools 0.44 and
 linux-image-2.6.14-2-386 (2.6.14-6).

could you try the attached hook file,
please place it under  /usr/share/initramfs-tools/scripts/init-premount/
and recreate the initramfs: update-initramfs -u

hope it works,
should load ide-disk and ide-generic after the udev run,
as udev currently fails to do so.
 
 It's puzzling that the changelog for this version of the kernel
 claims to have dropped the module ide patch, but all the ide modules
 including ide-disk, ide-generic and the ide/pci/* modules, are still there
 in the debian package.

removed the patch without furthere notice as your concerns weren't 
touched by it.


-- 
maks
#!/bin/sh

PREREQ=udev

prereqs()
{
echo $PREREQ
}

case $1 in
# get pre-requisites
prereqs)
prereqs
exit 0
;;
esac

modprobe -q ide-generic

[ -e /proc/ide ] || return

for drive in /proc/ide/*; do
[ -e ${drive}/media ] || continue
# nothing to do if the device has already been took in charge
unit=${drive#/proc/ide/}
[ -d /sys/block/$unit ]  continue

read media  $drive/media
case $media in
disk)   MODULE=ide-disk ;;
cdrom)  MODULE=ide-cd ;;
tape)   MODULE=ide-tape ;;
floppy) MODULE=ide-floppy ;;
*)  MODULE=ide-generic ;;
esac

modprobe -q ${MODULE}
done


Bug#342925: fails to load ide-disk, doesn't find hdd

2005-12-28 Thread Frans Pop
On Thursday 29 December 2005 02:48, maximilian attems wrote:
 could you try the attached hook file,
 please place it under 
 /usr/share/initramfs-tools/scripts/init-premount/

The ide hook file in #344754 works for me on both my Sparc and laptop.

Cheers,
FJP


pgpNkM6YunuqH.pgp
Description: PGP signature


Re: [PATCH] Removal of duplicate options in debian/arch/config

2005-12-28 Thread Jonas Smedegaard
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

On Wed, 28 Dec 2005 16:09:11 +1030
Rod Whitby [EMAIL PROTECTED] wrote:

 As requested by fs on #debian-kernel, here is the first post in an
 effort to identify and remove duplicate (and sometimes inconsistent)
 options from the hierarchy of debian/arch/config,
 debian/arch/arch/config, and debian/arch/arch/config.flavour (at
 least for the debian/arch/arm/config.ixp4xx tree that concerns my
 current project of getting NSLU2 and NAS100D support into the upstream
 and debian kernels).

When reading the above I didn't think it was related to the issue I
found some days ago about the experimental build of 2.6.15-rc5 having
M486 ignored and switched to M686 in the -486 package. I was wrong.

I have now written and committed a script, split-config-cleanup, to do,
well, cleanup: split-config adds missing Kconfig options to either
global, arch or subarch file, but does not care about cleaning up
duplicates. Also, values are added to the end of the file but only
first entry of an option is considered by the kernel build scripts.

After healthy discussion with fs and rwhitby the script was made to
favor entries in global config over local ones, and favor latest
entries over topmost ones within same config file. It took some
fighting with shell (and a bit of perl sneaked in as well - sorry,
Sven :-) ), but I believe the script is fully functional now - and I
have cleaned the trunk and extended README.build to document its use
(it supports -h as well).

Hope I didn't break anything badly. I am off to bed now - enjoy!


 - Jonas


- -- 
* Jonas Smedegaard - idealist og Internet-arkitekt
* Tlf.: +45 40843136  Website: http://dr.jones.dk/

 - Enden er nær: http://www.shibumi.org/eoti.htm
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.2 (GNU/Linux)

iD8DBQFDs1Sqn7DbMsAkQLgRAqsUAJ9uaFbhly9pXpVa/eLC5zRg+Y3GwgCfSr9/
qzIHMH3FZby1qFmJQrp7cTE=
=yqLO
-END PGP SIGNATURE-



Bug#345040: linux-image-2.6.15-rc5-686: No console after logging out from Gnome/X in IBM Thinkpad T43

2005-12-28 Thread LUK ShunTim
Jonas Smedegaard wrote:
 On Thu, 29 Dec 2005 00:37:36 +0800
 LUK ShunTim [EMAIL PROTECTED] wrote:
 
 
This happens on a IBM Thinkpad T43 with the non-free ATI driver fglrx
8.20.8-1.
 
 
 I believe not only non-free, but also unsupported.
 
 If possible then try switching to a driver provided with Debian and see
 if the problem persists. If it does then we need to solve the problem,
 if not then file a bug whereever you found your unsupported driver.
 
 
  - Jonas
 

Thanks Jonas, but this driver is provided by debian, now.   
http://packages.debian.org/unstable/x11/fglrx-driver

I'm not really competent enough to judge whether this problem is related
to the kernel or the driver (or both) but I did not run into this
problem with the older 2.6.12 kernel (driver compiled from same source
using m-a). I looked at various logs and that's what I found. If it's
not related to the kernel, I can file it against the driver.

Thanks very much again,
ST
--



-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Re: fails to load ide-disk, doesn't find hdd

2005-12-28 Thread Joey Hess
maximilian attems wrote:
 could you try the attached hook file,
 please place it under  /usr/share/initramfs-tools/scripts/init-premount/
 and recreate the initramfs: update-initramfs -u
 
 hope it works,

Yes, works ok here too.

-- 
see shy jo


signature.asc
Description: Digital signature