FS#12823 - [kernel26] Hang on padlock_sha module insertion.

Attached to Project: Arch Linux
Opened by versor (versor) - Friday, 16 January 2009, 20:28 GMT
Last edited by Roman Kyrylych (Romashka) - Tuesday, 21 July 2009, 22:02 GMT
Task Type Bug Report
Category Kernel
Status Closed
Assigned To Tobias Powalowski (tpowa)
Architecture All
Severity Low
Priority Normal
Reported Version None
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 2
Private No

Details

Description:

Boot process hangs on inserting padlock_sha module just after kernel upgrade to 2.6.28-3.
I was forced to use generic one.

Additional info:
* package version(s) kernel 2.6.28-3
* CPU: VIA C7-D 1.5GHz


This task depends upon

Closed by  Roman Kyrylych (Romashka)
Tuesday, 21 July 2009, 22:02 GMT
Reason for closing:  Upstream
Comment by Jeroen (jda) - Monday, 26 January 2009, 11:49 GMT
I can reproduce this bug.

upon inserting the module with 'modprobe - v padlock_sha' it hangs displaying: 'insmod /lib/modules/2.6.28-ARCH/kernel/drivers/crypto/padlock-sha.ko'
After breaking it with ctrl-c, the following info appears in dmesg:

------------[ cut here ]------------
WARNING: at crypto/algapi.c:293 crypto_wait_for_test+0x4e/0x70()
Modules linked in: sha1_generic padlock_sha(+) ipv6 f71805f cpufreq_ondemand ext4 jbd2 crc16 hci_usb bluetooth ppp_generic uhci_hcd snd_pcsp i2c_viapro serio_raw ehci_hcd i2c_core usbcore sg shpchp pci_hotplug via_agp agpgart thermal processor evdev fan button battery ac snd_via82xx gameport snd_ac97_codec snd_mpu401_uart snd_rawmidi snd_seq_oss snd_seq_midi_event snd_seq snd_seq_device snd_pcm_oss snd_pcm snd_timer snd_page_alloc snd_mixer_oss snd soundcore ac97_bus slhc r8169 mii e_powersaver freq_table via_rng rtc_cmos rtc_core rtc_lib ext2 mbcache sd_mod sata_via ata_generic pata_via pata_acpi libata scsi_mod
Pid: 3143, comm: modprobe Not tainted 2.6.28-ARCH #1
Call Trace:
[<c012fc3f>] warn_on_slowpath+0x5f/0xa0
[<c0129991>] check_preempt_wakeup+0xe1/0x100
[<c032a08d>] schedule_timeout+0xbd/0xf0
[<c0209a00>] idr_get_empty_slot+0x90/0x270
[<c0148e46>] notifier_call_chain+0x36/0x70
[<c032c115>] _spin_unlock_irq+0x5/0x30
[<c0329372>] wait_for_common+0xc2/0x120
[<c012a240>] default_wake_function+0x0/0x10
[<c01f121e>] crypto_wait_for_test+0x4e/0x70
[<c01f1357>] crypto_register_alg+0x67/0x80
[<f928d000>] padlock_init+0x0/0x8a [padlock_sha]
[<f928d01d>] padlock_init+0x1d/0x8a [padlock_sha]
[<c0101126>] do_one_initcall+0x36/0x1c0
[<c0182630>] __vunmap+0xb0/0xe0
[<c0158337>] load_module+0x1577/0x1950
[<c015885b>] sys_init_module+0x8b/0x1b0
[<c01933a1>] sys_write+0x41/0x80
[<c0103f13>] sysenter_do_call+0x12/0x33
---[ end trace 52d49ba5744325a3 ]---
------------[ cut here ]------------
WARNING: at crypto/algapi.c:293 crypto_wait_for_test+0x4e/0x70()
Modules linked in: sha1_generic padlock_sha(+) ipv6 f71805f cpufreq_ondemand ext4 jbd2 crc16 hci_usb bluetooth ppp_generic uhci_hcd snd_pcsp i2c_viapro serio_raw ehci_hcd i2c_core usbcore sg shpchp pci_hotplug via_agp agpgart thermal processor evdev fan button battery ac snd_via82xx gameport snd_ac97_codec snd_mpu401_uart snd_rawmidi snd_seq_oss snd_seq_midi_event snd_seq snd_seq_device snd_pcm_oss snd_pcm snd_timer snd_page_alloc snd_mixer_oss snd soundcore ac97_bus slhc r8169 mii e_powersaver freq_table via_rng rtc_cmos rtc_core rtc_lib ext2 mbcache sd_mod sata_via ata_generic pata_via pata_acpi libata scsi_mod
Pid: 3143, comm: modprobe Tainted: G W 2.6.28-ARCH #1
Call Trace:
[<c012fc3f>] warn_on_slowpath+0x5f/0xa0
[<c0129991>] check_preempt_wakeup+0xe1/0x100
[<c012a177>] try_to_wake_up+0xb7/0x180
[<c01f4bed>] cryptomgr_notify+0x18d/0x340
[<c01f4e60>] cryptomgr_test+0x0/0x50
[<c0209a00>] idr_get_empty_slot+0x90/0x270
[<c0148e46>] notifier_call_chain+0x36/0x70
[<c01491c3>] __blocking_notifier_call_chain+0x53/0x70
[<c032c115>] _spin_unlock_irq+0x5/0x30
[<c0329372>] wait_for_common+0xc2/0x120
[<c012a240>] default_wake_function+0x0/0x10
[<c01f121e>] crypto_wait_for_test+0x4e/0x70
[<c01f1357>] crypto_register_alg+0x67/0x80
[<f928d000>] padlock_init+0x0/0x8a [padlock_sha]
[<f928d02d>] padlock_init+0x2d/0x8a [padlock_sha]
[<c0101126>] do_one_initcall+0x36/0x1c0
[<c0182630>] __vunmap+0xb0/0xe0
[<c0158337>] load_module+0x1577/0x1950
[<c015885b>] sys_init_module+0x8b/0x1b0
[<c01933a1>] sys_write+0x41/0x80
[<c0103f13>] sysenter_do_call+0x12/0x33
---[ end trace 52d49ba5744325a3 ]---
padlock: Using VIA PadLock ACE for SHA1/SHA256 algorithms.
alg: Unexpected test result for sha1-padlock: 0
alg: Unexpected test result for sha256-padlock: 0


additional info:
package: kernel26 version 2.6.28.1-1
system info: Linux Host 2.6.28-ARCH #1 SMP PREEMPT Sun Jan 18 20:17:17 UTC 2009 i686 VIA Eden Processor 1200MHz CentaurHauls GNU/Linux
CPU: VIA Eden (C7) 1.2Ghz
Comment by Roman Kyrylych (Romashka) - Thursday, 28 May 2009, 18:17 GMT
status with 2.6.29 kernel?
Comment by Roman Kyrylych (Romashka) - Friday, 12 June 2009, 21:52 GMT
Status with 2.6.30 kernel?
Comment by Roman Kyrylych (Romashka) - Tuesday, 21 July 2009, 22:02 GMT
Please report to upstream (Michal Ludvig: michal at logix dot cz).

Loading...