[Bug 409504] New: kernel attempts to write on a DVD, which contains an encrypted reiserfs image.
https://bugzilla.novell.com/show_bug.cgi?id=409504 Summary: kernel attempts to write on a DVD, which contains an encrypted reiserfs image. Product: openSUSE 10.3 Version: Final Platform: i686 OS/Version: openSUSE 10.3 Status: NEW Severity: Normal Priority: P5 - None Component: Kernel AssignedTo: bnc-team-screening@forge.provo.novell.com ReportedBy: robin.listas@telefonica.net QAContact: kernel-maintainers@forge.provo.novell.com Found By: --- While investigating Bug 345039, I discovered this little problem: I mount a DVD (/dev/hdc), which contains an LUKS encrypted reiserfs filesystem (details at the end). It is of course not writable, but the kernel attempts to write to it - or so it seems to me: Jul 16 12:24:29 nimrodel kernel: REISERFS (device dm-6): found reiserfs format "3.6" with standard journal Jul 16 12:24:29 nimrodel kernel: REISERFS (device dm-6): using ordered data mode Jul 16 12:24:29 nimrodel kernel: reiserfs: using flush barriers Jul 16 12:24:29 nimrodel kernel: REISERFS (device dm-6): journal params: device dm-6, size 8192, journal first block 18, max trans len 1024, max batch 900, max commit age 30, max trans age 30 Jul 16 12:24:29 nimrodel kernel: REISERFS (device dm-6): checking transaction log (dm-6) Jul 16 12:24:29 nimrodel kernel: reiserfs: disabling flush barriers on dm-6 Jul 16 12:24:30 nimrodel kernel: REISERFS (device dm-6): Using r5 hash to sort names Jul 16 12:25:03 nimrodel kernel: hdc: command error: status=0x51 { DriveReady SeekComplete Error } Jul 16 12:25:03 nimrodel kernel: hdc: command error: error=0x50 { LastFailedSense=0x05 } Jul 16 12:25:03 nimrodel kernel: ide: failed opcode was: unknown Jul 16 12:25:03 nimrodel kernel: ATAPI device hdc: Jul 16 12:25:03 nimrodel kernel: Error: Illegal request -- (Sense key=0x05) Jul 16 12:25:03 nimrodel kernel: Invalid field in command packet -- (asc=0x24, ascq=0x00) Jul 16 12:25:03 nimrodel kernel: The failed "Write 10" packet command was: Jul 16 12:25:03 nimrodel kernel: "2a 00 00 00 41 26 00 00 02 00 00 00 00 00 00 00 " Jul 16 12:25:03 nimrodel kernel: end_request: I/O error, dev hdc, sector 66712 Jul 16 12:25:03 nimrodel kernel: Buffer I/O error on device hdc, logical block 8339 Jul 16 12:25:03 nimrodel kernel: lost page write due to I/O error on hdc Mount command: nimrodel:~ # /etc/init.d/boot.crypto start /dev/dvd.l Please enter passphrase for /dev/dvd.l (mycrypt_mm_dvd): Please enter passphrase for /dev/dvd.l (mycrypt_mm_dvd): key slot 0 unlocked. Please enter passphrase for /dev/dvd.l (mycrypt_mm_dvd): Command successful. /dev/dvd.l... done Notes on the encryption system used: nimrodel:~ # l /dev/dvd.l lrwxrwxrwx 1 root root 8 Jul 15 18:13 /dev/dvd.l -> /dev/dvd /etc/crypttab: #DVD: mycrypt_mm_dvd /dev/dvd.l none noauto,loop # writeable dvd, reiserfs image, used to burn the above DVD: cr_crypta_f3_dvd.mm.r /Grande/imgs/crypta_f3_dvd.mm.r none noauto /etc/fstab: /dev/mapper/mycrypt_mm_dvd /mnt/dvd.crypta.x auto ro,noauto,user,noatime,nodiratime 0 0 /dev/mapper/cr_crypta_f3_dvd.mm.r /mnt/crypta.mm_dvd3.r reiserfs acl,user_xattr,noauto 0 0 -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=409504
Cyril Hrubis
https://bugzilla.novell.com/show_bug.cgi?id=409504
User jeffm@novell.com added comment
https://bugzilla.novell.com/show_bug.cgi?id=409504#c1
Jeff Mahoney
https://bugzilla.novell.com/show_bug.cgi?id=409504
User robin.listas@telefonica.net added comment
https://bugzilla.novell.com/show_bug.cgi?id=409504#c2
--- Comment #2 from Carlos Robinson
https://bugzilla.novell.com/show_bug.cgi?id=409504
User teheo@novell.com added comment
https://bugzilla.novell.com/show_bug.cgi?id=409504#c3
--- Comment #3 from Tejun Heo
https://bugzilla.novell.com/show_bug.cgi?id=409504
User teheo@novell.com added comment
https://bugzilla.novell.com/show_bug.cgi?id=409504#c4
Tejun Heo
https://bugzilla.novell.com/show_bug.cgi?id=409504
User jeffm@novell.com added comment
https://bugzilla.novell.com/show_bug.cgi?id=409504#c5
--- Comment #5 from Jeff Mahoney
https://bugzilla.novell.com/show_bug.cgi?id=409504
User jeffm@novell.com added comment
https://bugzilla.novell.com/show_bug.cgi?id=409504#c6
--- Comment #6 from Jeff Mahoney
https://bugzilla.novell.com/show_bug.cgi?id=409504
User robin.listas@telefonica.net added comment
https://bugzilla.novell.com/show_bug.cgi?id=409504#c7
--- Comment #7 from Carlos Robinson
https://bugzilla.novell.com/show_bug.cgi?id=409504
User robin.listas@telefonica.net added comment
https://bugzilla.novell.com/show_bug.cgi?id=409504#c8
Carlos Robinson
participants (1)
-
bugzilla_noreply@novell.com