Summary: | bestcrypt-1.6_p5 stable request: was app-crypt/bestcrypt-1.6_p2-r1 fails to compile on amd64 | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | William Arlofski <waa-gentoo> |
Component: | New packages | Assignee: | Crypto team [DISABLED] <crypto+disabled> |
Status: | RESOLVED UPSTREAM | ||
Severity: | normal | ||
Priority: | High | ||
Version: | 2006.0 | ||
Hardware: | AMD64 | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- |
Description
William Arlofski
2006-04-05 18:11:32 UTC
does app-crypt/bestcrypt-1.6_p5 work? As verified by myself and DarkRyu on #gentoo. bestcrypt-1.6_p5 works with 2.6.16 kernels where previous versions fail. Can this please be made stable? x86 done app-crypt/bestcrypt-1.6_p5 compiles on amd64 2.6.16-gentoo-r1, but modules fail to load. dmesg: --[snip]-- overflow in relocation type 10 val ffffffff8865ba20 `bc' likely not compiled with -mcmodel=kernel overflow in relocation type 10 val ffffffff8865ba20 `bc' likely not compiled with -mcmodel=kernel "bc_blowfish": Unknown symbol unregister_bc_algo "bc_blowfish": Unknown symbol register_bc_algo ...[for each module]... --[snip]-- By emerging bestcrypt like so the modules seem to load properly: CFLAGS="-mcmodel=kernel" emerge -va bestcrypt BUT bctool appears to hang when run, and dmesg shows: --[snip]-- Unable to handle kernel NULL pointer dereference at 0000000000000098 RIP: <ffffffff8865a230>{:bc:bc_open+46} PGD 599cc067 PUD 362bc067 PMD 0 Oops: 0000 [1] PREEMPT SMP CPU 0 Modules linked in: "bc_bf128" "bc_bf448" "bc_twofish" "bc_gost" "bc_des" "bc_blow fish" bc it87 hwmon_vid eeprom i2c_isa lp vmnet parport_pc parport vmmon ohci1394 ieee1394 aic7xxx sky2 i2c_nforce2 raid5 md_mod xor st sg nvidia i2c_core Pid: 29625, comm: vol_id Tainted: P 2.6.16-gentoo-r1 #2 RIP: 0010:[<ffffffff8865a230>] <ffffffff8865a230>{:bc:bc_open+46} RSP: 0018:ffff81004c35fdb8 EFLAGS: 00010282 RAX: 0000000000000000 RBX: ffff81006e4b6b80 RCX: ffff8100792a3000 RDX: ffff8100792a30a8 RSI: ffff810006c58e80 RDI: ffff81006e4b6c40 RBP: ffff81004c35fdf8 R08: ffff81005f3c1cd8 R09: ffff81005f3c1cd8 R10: 0000000000000286 R11: 0bc0000079c7f598 R12: 00000000fffffffa R13: ffff810006c58e80 R14: ffff8100792a3000 R15: ffffffff8865cc80 FS: 00002b34b01e7b00(0000) GS:ffffffff805bb000(0000) knlGS:00000000f7e5f6c0 CS: 0010 DS: 0000 ES: 0000 CR0: 000000008005003b CR2: 0000000000000098 CR3: 0000000056538000 CR4: 00000000000006e0 Process vol_id (pid: 29625, threadinfo ffff81004c35e000, task ffff8100370f8fe0) Stack: ffff81004c35fe1c ffff81006e4b6b80 ffff810006c58e80 00000000fffffffa ffff810006c58e80 ffffffff8017c437 ffff810006c58e80 ffff81006e4b6c40 ffff810006c58e80 ffffffff8017c083 Call Trace: <ffffffff8017c437>{blkdev_open+0} <ffffffff8017c083>{do_open+158} <ffffffff8017c437>{blkdev_open+0} <ffffffff8017c458>{blkdev_open+33} <ffffffff801741dd>{__dentry_open+285} <ffffffff80174327>{nameidata_to_filp +34} <ffffffff80174360>{do_filp_open+42} <ffffffff803c8161>{__lock_text_start+1 7} <ffffffff80174527>{get_unused_fd+227} <ffffffff8017464c>{do_sys_open+68} <ffffffff8010a88a>{system_call+126} Code: 48 8b 80 98 00 00 00 48 8b 40 48 48 89 45 e8 48 8b 45 e8 48 RIP <ffffffff8865a230>{:bc:bc_open+46} RSP <ffff81004c35fdb8> CR2: 0000000000000098 <1>Unable to handle kernel NULL pointer dereference at 0000000000000098 RIP: <ffffffff8865a230>{:bc:bc_open+46} PGD 6064b067 PUD 604c5067 PMD 0 Oops: 0000 [2] PREEMPT SMP CPU 1 Modules linked in: "bc_3des" "bc_bf128" "bc_bf448" "bc_twofish" "bc_gost" "bc_des " "bc_blowfish" bc it87 hwmon_vid eeprom i2c_isa lp vmnet parport_pc parport vmmo n ohci1394 ieee1394 aic7xxx sky2 i2c_nforce2 raid5 md_mod xor st sg nvidia i2c_co re Pid: 29626, comm: vol_id Tainted: P 2.6.16-gentoo-r1 #2 RIP: 0010:[<ffffffff8865a230>] <ffffffff8865a230>{:bc:bc_open+46} RSP: 0000:ffff81002be49db8 EFLAGS: 00010282 RAX: 0000000000000000 RBX: ffff81006e4b6480 RCX: ffff8100792a3600 RDX: ffff8100792a36a8 RSI: ffff81003c120580 RDI: ffff81006e4b6540 RBP: ffff81002be49df8 R08: ffff8100499cd5d8 R09: ffff8100499cd5d8 R10: 0000000000000286 R11: 0bc00001785b4550 R12: 00000000fffffffa R13: ffff81003c120580 R14: ffff8100792a3600 R15: ffffffff8865cc80 FS: 00002b977d5e4b00(0000) GS:ffff81007ff27ac0(0000) knlGS:00000000f7e086c0 CS: 0010 DS: 0000 ES: 0000 CR0: 000000008005003b CR2: 0000000000000098 CR3: 0000000036ff8000 CR4: 00000000000006e0 Process vol_id (pid: 29626, threadinfo ffff81002be48000, task ffff81006ba61060) Stack: ffff81002be49e1c ffff81006e4b6480 ffff81003c120580 00000000fffffffa ffff81003c120580 ffffffff8017c437 ffff81003c120580 ffff81006e4b6540 ffff81003c120580 ffffffff8017c083 Call Trace: <ffffffff8017c437>{blkdev_open+0} <ffffffff8017c083>{do_open+158} <ffffffff8017c437>{blkdev_open+0} <ffffffff8017c458>{blkdev_open+33} <ffffffff801741dd>{__dentry_open+285} <ffffffff80174327>{nameidata_to_filp +34} <ffffffff80174360>{do_filp_open+42} <ffffffff803c8161>{__lock_text_start+1 7} <ffffffff80174527>{get_unused_fd+227} <ffffffff8017464c>{do_sys_open+68} <ffffffff8010a88a>{system_call+126} Code: 48 8b 80 98 00 00 00 48 8b 40 48 48 89 45 e8 48 8b 45 e8 48 RIP <ffffffff8865a230>{:bc:bc_open+46} RSP <ffff81002be49db8> CR2: 0000000000000098 --[snip]-- Is there anything else I can provide to help to get bestcrypt to load/run/work on my AMD Athlon64 X2? Thanks for the help. -- Bill Arlofski Reverse Polarity Bill, I suggest you include a bug report to jetico. (I'm assuming it isn't serpent related as this isn't supported). Include your exact bctool command. Also see if you produce the same fault on a vanilla-kernel. Please, for next time, put in a new bug report as your problem doesn't relate to the original bug here. as per private email new bug coming and/or reported upstream. |