Bug#878018: [solved]linux-image-4.9.0-3-amd64: Sound broken with snd_fm801

2018-01-10 Thread Michael Lange
Hi,

On Fri, 5 Jan 2018 08:34:09 +0100 Salvatore Bonaccorso
 wrote:
> Source: linux
> Source-Version: 4.9.47-1

> Sorry for no repsonse.

I know, that bug report was rather poor, could not give you really
something to work with.

> Might it be this change?
> 
> https://git.kernel.org/linus/610e1ae9b533be82b3aa118b907e0a703256913d
> 
> which was backported to 4.9 for 4.9.41, and thus included
> since 4.9.47-1.

Actually, yes! I tried yesterday and compiled 4.9.47 once as it comes,
with that patch included, and then again with that patch "reversed". With
the first one sound worked, with the latter I got that same distorted
noise again. Good work :)
It's one of the great things about linux that there is still someone
who cares about such an old piece of hardware, no way to get that sound
card working with Redmond-10 :)

Thanks again, and a happy new year!

Michael 



Bug#878018: [solved]linux-image-4.9.0-3-amd64: Sound broken with snd_fm801

2017-12-30 Thread Michael Lange
Great, sound was still broken with 4.9.0-3 (4.9.30-2+deb9u5) but works
again properly now with linux-image-4.9.0-4-amd64 (4.9.65-3+deb9u1). 

Thanks!!

Michael



Bug#878018: linux-image-4.9.0-3-amd64: Sound broken with snd_fm801

2017-10-18 Thread Michael Lange
Addendum:
Maybe I should have tried this beforehand, sound works again with
kernel 4.12.0-0.bpo.2-amd64, so it seems that whatever change caused this
bug in 4.9 has been fixed meanwhile.

Regards

Michael



Bug#878018: linux-image-4.9.0-3-amd64: Sound broken with snd_fm801

2017-10-08 Thread Michael Lange
Package: src:linux
Version: 4.9.30-2+deb9u5
Severity: important
Tags: upstream

Dear Maintainer,

after upgrading to Stretch sound stopped working with the snd_fm801 driver when
using the default 4.9.0 kernel package. When playing back an audio or video
file the audio is overlayed with a "stuttering", distorted noise, which
sometimes even persists when the playback application is terminated.
When using the 4.3.0 kernel from Jessie-backports audio works fine, so it looks
like a bug to snd_fm801 has been introduced between the 4.3 and 4.9 kernel
versions.

Best regards

Michael




-- Package-specific info:
** Version:
Linux version 4.9.0-3-amd64 (debian-kernel@lists.debian.org) (gcc version 6.3.0 
20170516 (Debian 6.3.0-18) ) #1 SMP Debian 4.9.30-2+deb9u5 (2017-09-19)

** Command line:
BOOT_IMAGE=/vmlinuz-4.9.0-3-amd64 
root=UUID=d21cd029-4284-4773-b313-6e014f2456ae ro

** Not tainted

** Kernel log:
Unable to read kernel log; any relevant messages should be attached

** Model information
sys_vendor: Gigabyte Technology Co., Ltd.
product_name: GA-MA78LMT-S2
product_version:  
chassis_vendor: Gigabyte Technology Co., Ltd.
chassis_version:  
bios_vendor: Award Software International, Inc.
bios_version: F14
board_vendor: Gigabyte Technology Co., Ltd.
board_name: GA-MA78LMT-S2
board_version: x.x

** Loaded modules:
fuse
usblp
cpufreq_powersave
cpufreq_conservative
binfmt_misc
edac_mce_amd
edac_core
kvm
irqbypass
snd_fm801
snd_mpu401_uart
amdkfd
snd_opl3_lib
snd_hwdep
snd_ac97_codec
tea575x
ac97_bus
snd_rawmidi
snd_seq_device
videodev
pcspkr
media
snd_pcm_oss
snd_mixer_oss
evdev
snd_pcm
serio_raw
snd_timer
snd
soundcore
k10temp
radeon
fm801_gp
gameport
sg
ttm
button
drm_kms_helper
drm
i2c_algo_bit
shpchp
wmi
sp5100_tco
acpi_cpufreq
it87
hwmon_vid
cpufreq_userspace
parport_pc
ppdev
lp
parport
ip_tables
x_tables
autofs4
ext4
crc16
jbd2
crc32c_generic
fscrypto
ecb
glue_helper
lrw
gf128mul
ablk_helper
cryptd
aes_x86_64
mbcache
nls_utf8
nls_iso8859_15
nls_iso8859_1
nls_cp437
nls_cp850
vfat
fat
usb_storage
loop
sd_mod
sr_mod
cdrom
ata_generic
hid_generic
usbhid
hid
ohci_pci
pata_atiixp
i2c_piix4
ahci
libahci
floppy
libata
r8169
mii
scsi_mod
ehci_pci
ohci_hcd
ehci_hcd
usbcore
usb_common

** PCI devices:
00:00.0 Host bridge [0600]: Advanced Micro Devices, Inc. [AMD] RS780 Host 
Bridge [1022:9600]
Subsystem: Advanced Micro Devices, Inc. [AMD] RS780 Host Bridge 
[1022:9600]
Control: I/O- Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- 
Stepping- SERR- FastB2B- DisINTx-
Status: Cap+ 66MHz+ UDF- FastB2B- ParErr- DEVSEL=medium >TAbort- 
SERR-  (64-bit, non-prefetchable)
Capabilities: 

00:01.0 PCI bridge [0604]: Advanced Micro Devices, Inc. [AMD] RS780/RS880 PCI 
to PCI bridge (int gfx) [1022:9602] (prog-if 00 [Normal decode])
Control: I/O+ Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- 
Stepping- SERR- FastB2B- DisINTx-
Status: Cap+ 66MHz+ UDF- FastB2B- ParErr- DEVSEL=medium >TAbort- 
SERR- TAbort- 
Reset- FastB2B-
PriDiscTmr- SecDiscTmr- DiscTmrStat- DiscTmrSERREn-
Capabilities: 
Kernel modules: shpchp

00:06.0 PCI bridge [0604]: Advanced Micro Devices, Inc. [AMD] RS780 PCI to PCI 
bridge (PCIE port 2) [1022:9606] (prog-if 00 [Normal decode])
Control: I/O+ Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- 
Stepping- SERR- FastB2B- DisINTx+
Status: Cap+ 66MHz- UDF- FastB2B- ParErr- DEVSEL=fast >TAbort- SERR- TAbort- Reset- FastB2B-
PriDiscTmr- SecDiscTmr- DiscTmrStat- DiscTmrSERREn-
Capabilities: 
Kernel driver in use: pcieport
Kernel modules: shpchp

00:11.0 SATA controller [0106]: Advanced Micro Devices, Inc. [AMD/ATI] 
SB7x0/SB8x0/SB9x0 SATA Controller [IDE mode] [1002:4390] (prog-if 01 [AHCI 1.0])
Subsystem: Gigabyte Technology Co., Ltd GA-MA770-DS3rev2.0 Motherboard 
[1458:b002]
Control: I/O+ Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- 
Stepping- SERR- FastB2B- DisINTx-
Status: Cap+ 66MHz+ UDF- FastB2B- ParErr- DEVSEL=medium >TAbort- 
SERR- 
Kernel driver in use: ahci
Kernel modules: ahci

00:12.0 USB controller [0c03]: Advanced Micro Devices, Inc. [AMD/ATI] 
SB7x0/SB8x0/SB9x0 USB OHCI0 Controller [1002:4397] (prog-if 10 [OHCI])
Subsystem: Gigabyte Technology Co., Ltd SB7x0/SB8x0/SB9x0 USB OHCI0 
Controller [1458:5004]
Control: I/O- Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- 
Stepping- SERR- FastB2B- DisINTx-
Status: Cap- 66MHz+ UDF- FastB2B+ ParErr- DEVSEL=medium >TAbort- 
SERR- TAbort- 
SERR- TAbort- 
SERR- 
Kernel driver in use: ehci-pci
Kernel modules: ehci_pci

00:13.0 USB controller [0c03]: Advanced Micro Devices, Inc. [AMD/ATI] 
SB7x0/SB8x0/SB9x0 USB OHCI0 Controller [1002:4397] (prog-if 10 [OHCI])
Subsystem: Gigabyte Technology Co., Ltd SB7x0/SB8x0/SB9x0 USB OHCI0 
Controller [1458:5004]
Control: I/O- Mem+ BusMaster+ SpecCycle- MemWINV- 

Bug#817874: Bug#819881: radeon_fence_ref BUG: unable to handle kernel NULL pointer dereference

2016-04-06 Thread Michael Lange
On Sun, 03 Apr 2016 14:32:59 +0100
Ben Hutchings  wrote:

(...)
> Sorry about this.  There was one earlier similar report which I meant
> to investigate but didn't find time before the point release.
> 
> All three call traces are very similar and, based on the functions
> listed, I believe the attached patch (taken from the next 3.16.7-ckt
> stable update) should fix the bug.  Please test that, following the
> instructions at
> 

Thanks Ben (and sorry for the late reply). The patch you sent seems to
also fix 817874, no more frozen screens here, good work :)

Kind regards

Michael

.-.. .. ...- .   .-.. --- -. --.   .- -. -..   .--. .-. --- ... .--. . .-.

You can't evaluate a man by logic alone.
-- McCoy, "I, Mudd", stardate 4513.3



Bug#817874: linux-image-3.16.0-4-amd64: 3.16.7-ckt25-1 freeze with radeon driver

2016-03-11 Thread Michael Lange
Package: src:linux
Version: 3.16.7-ckt25-1
Severity: important

Dear Maintainer,

the day before yesterday apt-get update && apt-get upgrade upgraded the kernel
package to version 3.16.7-ckt25-1 from jessie-proposed-updates. When I booted
this kernel yesterday for the first time I experienced sudden "freezes" of the
system that made the machine completely unusable. After some investigating I
found that apparently a newly introduced bug affecting the radeon driver caused
this. The following stack trace was found in the syslog:

Mar 10 11:03:09 localhost kernel: [  109.581099] BUG: unable to handle kernel
NULL pointer dereference at 0008
Mar 10 11:03:09 localhost kernel: [  109.581180] IP: []
radeon_fence_ref+0xd/0x50 [radeon]
Mar 10 11:03:09 localhost kernel: [  109.581296] PGD 0
Mar 10 11:03:09 localhost kernel: [  109.581312] Oops: 0002 [#1] SMP
Mar 10 11:03:09 localhost kernel: [  109.581337] Modules linked in: analog
joydev binfmt_misc cpufreq_stats cpufreq_powersave cpufreq_conservative
ip6table_filter ip6_tables xt_recent iptable_nat nf_nat_ipv4 xt_comment
ipt_REJECT xt_addrtype xt_mark iptable_mangle xt_tcpudp xt_CT iptable_raw
xt_multiport nf_conntrack_ipv4 nf_defrag_ipv4 xt_conntrack ipt_ULOG xt_NFLOG
nfnetlink_log xt_LOG nf_nat_tftp nf_nat_snmp_basic nf_conntrack_snmp nf_nat_sip
nf_nat_pptp nf_nat_proto_gre nf_nat_irc nf_nat_h323 nf_nat_ftp nf_nat_amanda
ts_kmp nf_conntrack_amanda nf_nat nf_conntrack_sane nf_conntrack_tftp
nf_conntrack_sip nf_conntrack_proto_udplite nf_conntrack_proto_sctp
nf_conntrack_pptp nf_conntrack_proto_gre nf_conntrack_netlink nfnetlink
nf_conntrack_netbios_ns nf_conntrack_broadcast nf_conntrack_irc
nf_conntrack_h323 nf_conntrack_ftp nf_conntrack iptable_filter ip_tables
x_tables usblp snd_fm801 snd_mpu401_uart snd_opl3_lib snd_hwdep snd_rawmidi
snd_seq_device tea575x snd_ac97_codec snd_pcm_oss snd_mixer_oss snd_pcm
snd_timer snd kvm soundcore videodev media ac97_bus radeon evdev serio_raw
fm801_gp pcspkr gameport edac_mce_amd edac_core k10temp sp5100_tco ttm
drm_kms_helper drm i2c_algo_bit shpchp i2c_piix4 wmi i2c_core button
acpi_cpufreq processor thermal_sys it87 hwmon_vid cpufreq_userspace fuse
parport_pc ppdev lp parport autofs4 ext4 crc16 mbcache jbd2 hid_generic usbhid
hid nls_utf8 nls_iso8859_15 nls_iso8859_1 nls_cp437 nls_cp850 vfat fat
usb_storage loop sd_mod sg crc_t10dif crct10dif_generic crct10dif_common sr_mod
cdrom ata_generic ohci_pci pata_atiixp ahci libahci libata floppy r8169 mii
ohci_hcd ehci_pci scsi_mod ehci_hcd usbcore usb_common
Mar 10 11:03:09 localhost kernel: [  109.584654] CPU: 1 PID: 2289 Comm: Xorg
Not tainted 3.16.0-4-amd64 #1 Debian 3.16.7-ckt25-1
Mar 10 11:03:09 localhost kernel: [  109.587031] Hardware name: Gigabyte
Technology Co., Ltd. GA-MA78LMT-S2/GA-MA78LMT-S2, BIOS F14 08/16/2011
Mar 10 11:03:09 localhost kernel: [  109.589444] task: 8800bf728250 ti:
88012a7e4000 task.ti: 88012a7e4000
Mar 10 11:03:09 localhost kernel: [  109.591882] RIP: 0010:[]
[] radeon_fence_ref+0xd/0x50 [radeon]
Mar 10 11:03:09 localhost kernel: [  109.594355] RSP: 0018:88012a7e7b18
EFLAGS: 00010292
Mar 10 11:03:09 localhost kernel: [  109.596795] RAX:  RBX:
8800bea715f8 RCX: 8800bea70d08
Mar 10 11:03:09 localhost kernel: [  109.599238] RDX: 0001 RSI:
 RDI: 
Mar 10 11:03:09 localhost kernel: [  109.601672] RBP: 8800bea71550 R08:
8800bea7 R09: 
Mar 10 11:03:09 localhost kernel: [  109.604091] R10: 000e R11:
ffe8 R12: 0020
Mar 10 11:03:09 localhost kernel: [  109.606497] R13: 88012a7e7be0 R14:
88012a7e7bb0 R15: 8800bea715f8
Mar 10 11:03:09 localhost kernel: [  109.608913] FS:  7f2cfa138980()
GS:88012fc4() knlGS:
Mar 10 11:03:09 localhost kernel: [  109.611334] CS:  0010 DS:  ES: 
CR0: 80050033
Mar 10 11:03:09 localhost kernel: [  109.613760] CR2: 0008 CR3:
000129cdb000 CR4: 07e0
Mar 10 11:03:09 localhost kernel: [  109.616194] Stack:
Mar 10 11:03:09 localhost kernel: [  109.618626]  a041b0bc
002c8060 ef600100 88012a7e7cd0
Mar 10 11:03:09 localhost kernel: [  109.621116]  8800bea7
8800bf728250 8800bf728250 0220
Mar 10 11:03:09 localhost kernel: [  109.623630]  
  
Mar 10 11:03:09 localhost kernel: [  109.626150] Call Trace:
Mar 10 11:03:09 localhost kernel: [  109.628658]  [] ?
radeon_sa_bo_new+0x25c/0x460 [radeon]
Mar 10 11:03:09 localhost kernel: [  109.631193]  [] ?
radeon_ib_get+0x2e/0xd0 [radeon]
Mar 10 11:03:09 localhost kernel: [  109.633754]  [] ?
radeon_cs_ioctl+0x13c/0x730 [radeon]
Mar 10 11:03:09 localhost kernel: [  109.636310]  [] ?
drm_ioctl+0x1c7/0x5b0 [drm]
Mar 10 11:03:09 localhost kernel: [  109.638872]  [] ?
__do_page_fault+0x1d1/0x4f0
Mar 10 11:03:09 localhost kernel: [  

Bug#533657: linux-image-2.6.26-2-686: Bug with sata_nv

2009-06-19 Thread Michael Lange
Package: linux-image-2.6.26-2-686
Version: 2.6.26-16
Severity: important

The hardware: A Plextor PX-810SA DVD-writer on a AsRock K8Upgrade-NF3 
motherboard.
With lenny kernel 2.6.26-2-686 syslog is spammed with tons of messages saying
ata2: EH complete each two seconds (or so). This doesn't happen when using
backports kernel 2.6.29-bpo.2-686 or backports etch kernel 2.6.22-2-k7.
Some websearches revealed that this appears to be an issue with the sata_nv
driver (e.g. https://bugs.launchpad.net/ubuntu/+source/linux/+bug/269652),
at least I suspect the problems described there are as same as here.
Please send me a note if any additional information is required.

Regards

Michael Lange

-- Package-specific info:
** Version:
Linux version 2.6.26-2-686 (Debian 2.6.26-16) (da...@debian.org) (gcc version 
4.1.3 20080704 (prerelease) (Debian 4.1.2-25)) #1 SMP Tue Jun 9 16:04:54 UTC 
2009

** Command line:
root=LABEL=CRYPTOROOT ro vga=773

** Not tainted

** Kernel log:
[  416.720042] ata2: EH complete
[  418.720045] ata2: EH complete
[  420.720035] ata2: EH complete
[  422.720045] ata2: EH complete
[  424.720044] ata2: EH complete
[  426.720057] ata2: EH complete
[  428.724038] ata2: EH complete
[  430.724040] ata2: EH complete
[  432.720059] ata2: EH complete
[  434.720069] ata2: EH complete
[  436.720195] ata2: EH complete
[  438.720060] ata2: EH complete
[  440.720059] ata2: EH complete
[  442.720060] ata2: EH complete
[  444.720060] ata2: EH complete
[  446.720203] ata2: EH complete
[  448.720204] ata2: EH complete
[  450.720199] ata2: EH complete
[  452.720198] ata2: EH complete
[  454.720154] ata2: EH complete
[  456.720191] ata2: EH complete
[  458.720214] ata2: EH complete
[  460.720207] ata2: EH complete
[  462.720209] ata2: EH complete
[  464.720220] ata2: EH complete
[  466.720207] ata2: EH complete
[  468.720202] ata2: EH complete
[  470.720065] ata2: EH complete
[  472.720043] ata2: EH complete
[  474.720046] ata2: EH complete
[  476.720046] ata2: EH complete
[  478.720060] ata2: EH complete
[  480.720045] ata2: EH complete
[  482.720043] ata2: EH complete
[  484.720056] ata2: EH complete
[  486.720043] ata2: EH complete
[  488.720039] ata2: EH complete
[  490.720036] ata2: EH complete
[  492.720055] ata2: EH complete
[  494.720038] ata2: EH complete
[  496.720047] ata2: EH complete
[  498.720036] ata2: EH complete
[  500.720039] ata2: EH complete
[  502.720038] ata2: EH complete
[  504.720037] ata2: EH complete
[  506.720068] ata2: EH complete
[  508.720039] ata2: EH complete
[  510.724042] ata2: EH complete
[  512.720060] ata2: EH complete
[  514.720039] ata2: EH complete
[  516.720038] ata2: EH complete
[  518.720053] ata2: EH complete
[  520.720041] ata2: EH complete
[  522.720035] ata2: EH complete
[  524.720049] ata2: EH complete
[  526.720059] ata2: EH complete
[  528.720038] ata2: EH complete
[  530.720063] ata2: EH complete
[  532.720055] ata2: EH complete
[  534.724038] ata2: EH complete
[  536.720037] ata2: EH complete
[  538.720038] ata2: EH complete
[  540.720035] ata2: EH complete
[  542.720038] ata2: EH complete
[  544.720040] ata2: EH complete
[  546.720040] ata2: EH complete
[  548.720037] ata2: EH complete
[  550.720036] ata2: EH complete
[  552.720039] ata2: EH complete
[  554.720040] ata2: EH complete
[  556.720039] ata2: EH complete
[  558.720042] ata2: EH complete
[  560.720065] ata2: EH complete
[  562.720036] ata2: EH complete
[  564.724039] ata2: EH complete
[  566.720038] ata2: EH complete
[  568.720040] ata2: EH complete
[  570.720039] ata2: EH complete
[  572.720036] ata2: EH complete
[  574.720036] ata2: EH complete
[  576.720039] ata2: EH complete
[  578.720038] ata2: EH complete
[  580.720039] ata2: EH complete
[  582.720039] ata2: EH complete
[  584.720038] ata2: EH complete
[  586.720041] ata2: EH complete
[  588.720040] ata2: EH complete
[  590.720037] ata2: EH complete
[  592.720038] ata2: EH complete
[  594.720039] ata2: EH complete
[  596.720038] ata2: EH complete
[  598.720039] ata2: EH complete
[  600.720038] ata2: EH complete
[  602.720039] ata2: EH complete
[  604.720042] ata2: EH complete
[  606.721634] ata2: EH complete
[  608.720038] ata2: EH complete
[  610.720051] ata2: EH complete
[  612.720056] ata2: EH complete
[  614.720043] ata2: EH complete

** Loaded modules:
Module  Size  Used by
xt_TCPMSS   3616  1 
pppoe   8672  2 
pppox   3116  1 pppoe
ppp_generic20028  6 pppoe,pppox
slhc5376  1 ppp_generic
binfmt_misc 7528  1 
battery10180  0 
ppdev   6500  0 
parport_pc 22500  0 
lp  8164  0 
parport30988  3 ppdev,parport_pc,lp
cpufreq_stats   3776  0 
cpufreq_conservative 5960  0 
cpufreq_powersave   1856  0 
cpufreq_ondemand6476  0 
ip6table_filter 2432  1 
ip6_tables 11376  1 ip6table_filter
xt_hashlimit9360  0

Bug#533657: linux-image-2.6.26-2-686: Bug with sata_nv

2009-06-19 Thread Michael Lange
Hi,

On Fri, 19 Jun 2009 12:26:17 -0600
dann frazier da...@debian.org wrote:

(...)
 
 Does this occur with 2.6.26-15lenny3?
 

No, it doesn't! In fact dmesg tells me:

m...@debian:~$ dmesg |grep ata2
[6.197265] ata2: SATA max UDMA/133 cmd 0xe80 ctl 0xe00 bmdma 0xe008
irq 21 [7.028025] ata2: SATA link down (SStatus 0 SControl 300)
m...@debian:~$

and I guess the missing SATA link down indicated the problem with the
other kernel? With 2.6.26-15lenny3 everything seems to be fine.

Michael



-- 
To UNSUBSCRIBE, email to debian-kernel-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org



Bug#533657: linux-image-2.6.26-2-686: Bug with sata_nv

2009-06-19 Thread Michael Lange
On Fri, 19 Jun 2009 15:22:32 -0600
dann frazier da...@debian.org wrote:

(...)
 
 Michael,
  Thanks for the feedback. Can you try this kernel and report back?
http://people.debian.org/~dannf/bugs/533657/
 -- 
 dann frazier
 

A quick test does not show any problems, dmesg says:

debian:/home/pingu# dmesg | grep ata2
[6.181720] ata2: SATA max UDMA/133 cmd 0xe80 ctl 0xe00 bmdma 0xe008 irq 21
debian:/home/pingu# 

Looks good!

Michael



-- 
To UNSUBSCRIBE, email to debian-kernel-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org



Bug#522041: initramfs-tools: conf/conf.d/cryptroot missing from initrd.img when using file system label

2009-03-31 Thread Michael Lange
Package: initramfs-tools
Version: 0.92o
Severity: important

After upgrading from etch to lenny the new kernel would not boot, but stop with 
a message Waiting for 
root file system. The root file system is on a luks partiton as 
/dev/mapper/root. As suggested in the 
debian docs I added a file system label to /etc/fstab to avoid possible 
/dev/hda - /dev/sda confusions 
with a new kernel before upgrading, so the line for the root partition in 
/etc/fstab looked like:

LABEL=CRYPTOROOT /  ext3defaults,errors=remount-ro 0   1

When I opened the initrd.img with gzip and cpio I found the 
conf/conf.d/cryptroot was missing; when I 
added it manually and re-packaged the initrd.img the system would boot up 
normally.
On a web search I found the discussion about bug #507721 and although I was not 
able to fully understand 
the technical details I thought it resembled my problems a lot. I then just 
tried to replace the 
LABEL=CRYPTROOT in /etc/fstab with /dev/mapper/root and ran update-initramfs 
again which then resulted 
in a correct initrd.img, so it looks like initramfs-tools does not handle file 
system labels correctly.

Regards

Michael


-- Package-specific info:
-- /proc/cmdline
root=LABEL=CRYPTOROOT ro vga=773

-- /proc/filesystems
vfat
ext3
fuseblk

-- lsmod
Module  Size  Used by
xt_TCPMSS   3616  1 
pppoe   8672  2 
pppox   3116  1 pppoe
ppp_generic20028  6 pppoe,pppox
slhc5408  1 ppp_generic
binfmt_misc 7528  1 
rfcomm 28272  2 
l2cap  17248  9 rfcomm
bluetooth  44900  4 rfcomm,l2cap
battery10180  0 
ppdev   6468  0 
parport_pc 22500  0 
lp  8164  0 
parport30988  3 ppdev,parport_pc,lp
ipv6  235300  22 
cpufreq_conservative 5960  0 
cpufreq_ondemand6476  0 
cpufreq_powersave   1856  0 
cpufreq_stats   3776  0 
xt_hashlimit9360  0 
iptable_raw 2176  0 
xt_comment  1664  0 
xt_owner2560  0 
xt_iprange  2272  0 
xt_policy   2848  0 
xt_multiport2816  4 
ipt_ULOG6820  0 
ipt_TTL 1856  0 
ipt_ttl 1600  0 
ipt_REJECT  2784  4 
ipt_REDIRECT1760  0 
ipt_recent  6908  0 
ipt_NETMAP  1760  0 
ipt_MASQUERADE  2592  0 
ipt_LOG 5028  12 
ipt_ECN 2336  0 
ipt_ecn 1888  0 
ipt_CLUSTERIP   5956  0 
ipt_ah  1664  0 
ipt_addrtype2304  0 
xt_tcpmss   1984  1 
xt_pkttype  1728  4 
xt_physdev  2352  0 
xt_NFQUEUE  1792  0 
xt_MARK 2304  0 
xt_mark 1952  0 
xt_mac  1728  0 
xt_limit2180  0 
xt_length   1760  0 
xt_helper   2112  0 
xt_dccp 2696  0 
xt_conntrack3488  3 
xt_CONNMARK 2944  0 
xt_connmark 2368  0 
xt_CLASSIFY 1696  0 
xt_tcpudp   2816  21 
xt_state2016  20 
iptable_nat 4680  0 
nf_nat 15576  4 
ipt_REDIRECT,ipt_NETMAP,ipt_MASQUERADE,iptable_nat
nf_conntrack_ipv4  12268  26 iptable_nat,nf_nat
nf_conntrack   55508  10 
ipt_MASQUERADE,ipt_CLUSTERIP,xt_helper,xt_conntrack,xt_CONNMARK,xt_connmark,xt_state,iptable_nat,nf_nat,nf_conntrack_ipv4
iptable_mangle  2688  1 
nfnetlink   3928  0 
iptable_filter  2624  1 
ip_tables  10160  4 
iptable_raw,iptable_nat,iptable_mangle,iptable_filter
x_tables   13284  40 
xt_TCPMSS,xt_hashlimit,xt_comment,xt_owner,xt_iprange,xt_policy,xt_multiport,ipt_ULOG,ipt_TTL,ipt_ttl,ipt_REJECT,ipt_REDIRECT,ipt_recent,ipt_NETMAP,ipt_MASQUERADE,ipt_LOG,ipt_ECN,ipt_ecn,ipt_CLUSTERIP,ipt_ah,ipt_addrtype,xt_tcpmss,xt_pkttype,xt_physdev,xt_NFQUEUE,xt_MARK,xt_mark,xt_mac,xt_limit,xt_length,xt_helper,xt_dccp,xt_conntrack,xt_CONNMARK,xt_connmark,xt_CLASSIFY,xt_tcpudp,xt_state,iptable_nat,ip_tables
fuse   42908  1 
dm_snapshot14340  0 
dm_mirror  15104  0 
dm_log  8452  1 dm_mirror
powernow_k812036  0 
freq_table  4224  3 cpufreq_ondemand,cpufreq_stats,powernow_k8
cpufreq_userspace   3172  1 
snd_fm801  14752  0 
snd_ac97_codec 88484  1 snd_fm801
ac97_bus1728  1 snd_ac97_codec
snd_pcm_oss32800  0 
snd_mixer_oss  12320  1 snd_pcm_oss
snd_pcm62596  3 snd_fm801,snd_ac97_codec,snd_pcm_oss
snd_page_alloc  7816  1 snd_pcm
snd_tea575x_tuner   3264  1 snd_fm801
videodev   27520  1 snd_tea575x_tuner
v4l1_compat12260  1 

Bug#522041: initramfs-tools: conf/conf.d/cryptroot missing from initrd.img when using file system label

2009-03-31 Thread Michael Lange
On Tue, 31 Mar 2009 14:31:28 +0200
maximilian attems m...@stro.at wrote:

 On Tue, Mar 31, 2009 at 11:47:49AM +0200, Michael Lange wrote:
  Package: initramfs-tools
  Version: 0.92o
  Severity: important
  
  After upgrading from etch to lenny the new kernel would not boot, but stop 
  with a message Waiting for 
  root file system. The root file system is on a luks partiton as 
  /dev/mapper/root. As suggested in the 
  debian docs I added a file system label to /etc/fstab to avoid possible 
  /dev/hda - /dev/sda confusions 
  with a new kernel before upgrading, so the line for the root partition in 
  /etc/fstab looked like:
  
  LABEL=CRYPTOROOT /  ext3defaults,errors=remount-ro 
  0   1
  
  When I opened the initrd.img with gzip and cpio I found the 
  conf/conf.d/cryptroot was missing; when I 
  added it manually and re-packaged the initrd.img the system would boot up 
  normally.
  On a web search I found the discussion about bug #507721 and although I was 
  not able to fully understand 
  the technical details I thought it resembled my problems a lot. I then just 
  tried to replace the 
  LABEL=CRYPTROOT in /etc/fstab with /dev/mapper/root and ran 
  update-initramfs again which then resulted 
  in a correct initrd.img, so it looks like initramfs-tools does not handle 
  file system labels correctly.
 
 did you try to pass a rootdelay=12 bootparam?

I did experiment with the rootdelay parameter, but please note that the reason 
the system would not boot was clearly the missing conf/conf.d/cryptroot file.
update-initramfs just failed to pack this file into the initrd.img if the root 
file system was specified by LABEL=CRYPTROOT in /etc/fstab. The system setup 
though was obviously ok., I just had to add the file manually to initrd.img and 
the system would boot up normally. The irony herein is that I would not have 
used the LABEL=... thing unless the debian docs had advised me to do so, 
otherwise I might end with an unbootable system ;)

Michael



-- 
To UNSUBSCRIBE, email to debian-kernel-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org