![](https://seccdn.libravatar.org/avatar/883e66c29704ef58b6b5204abab34bf2.jpg?s=120&d=mm&r=g)
All - I have SuSE 9.1/kernel 2.6.5-7.75-default. I installed the kernel sources, and patched with packet-2.6.5-rc3.patch p00002_dvd+rw.patch p00003_dvd-rw-packet.patch Had some problems with the compile, changed all occurrences of struct packet_command cgc; to struct cdrom_generic_command cgc; and then everything compiles OK. Load the module, do the typical setup pktsetup /dev/pktcdvd0 /dev/cdrecorder mount -t udf -o rw,auto,user,noatime /dev/pktcdvd0 \ /media/cdrecorder cat > /media/cdrecorder/testfile This is line 1 This is line 2 This is another line ^D cat /media/cdrecorder/testfile This is line 1 This is line 2 This is another line umount /media/cdrecorder pktsetup -d /dev/pktcdvd0 /dev/cdrecorder eject And it all seems fine. But when I remount the CD-RW, the file is not there pktsetup /dev/pktcdvd0 /dev/cdrecorder mount -t udf -o rw,auto,user,noatime /dev/pktcdvd0 \ /media/cdrecorder cat > /media/cdrecorder/testfile cat: /media/cdrecorder/testfile: No such file or directory What am I missing here? The drive is an IDE CD_RW/DVD-ROM combo drive, Sony CRX810E. Machine is a Sony Vaio PCG-GRX500 laptop, Pentium4M with 512MB RAM, 30GB Toshiba HD, and Radeon 9500LY video. Mark Almeida mailto:markea@earthlink.net -- Powered by SuSE Linux Pro 9.1/Evolution 1.4.6 This is a Microsoft-free computer
![](https://seccdn.libravatar.org/avatar/51a7700397ed84d8e44df3701f556370.jpg?s=120&d=mm&r=g)
On Mon, 28 Jun 2004, The Wizard wrote:
All - I have SuSE 9.1/kernel 2.6.5-7.75-default. I installed the kernel sources, and patched with
packet-2.6.5-rc3.patch p00002_dvd+rw.patch p00003_dvd-rw-packet.patch
Had some problems with the compile, changed all occurrences of
struct packet_command cgc;
to
struct cdrom_generic_command cgc;
and then everything compiles OK. Load the module, do the typical setup
pktsetup /dev/pktcdvd0 /dev/cdrecorder mount -t udf -o rw,auto,user,noatime /dev/pktcdvd0 \ /media/cdrecorder cat > /media/cdrecorder/testfile This is line 1 This is line 2 This is another line ^D cat /media/cdrecorder/testfile This is line 1 This is line 2 This is another line umount /media/cdrecorder pktsetup -d /dev/pktcdvd0 /dev/cdrecorder eject
And it all seems fine. But when I remount the CD-RW, the file is not there
pktsetup /dev/pktcdvd0 /dev/cdrecorder mount -t udf -o rw,auto,user,noatime /dev/pktcdvd0 \ /media/cdrecorder cat > /media/cdrecorder/testfile cat: /media/cdrecorder/testfile: No such file or directory
What am I missing here? The drive is an IDE CD_RW/DVD-ROM combo drive, Sony CRX810E. Machine is a Sony Vaio PCG-GRX500 laptop, Pentium4M with 512MB RAM, 30GB Toshiba HD, and Radeon 9500LY video.
What does dmesg report when you do this? Probably, there was some error when you tried to write to the disc. Also, what does /dev/cdrecorder point to? -- Peter Osterlund - petero2@telia.com http://w1.894.telia.com/~u89404340
![](https://seccdn.libravatar.org/avatar/883e66c29704ef58b6b5204abab34bf2.jpg?s=120&d=mm&r=g)
What does dmesg report when you do this? Probably, there was some error when you tried to write to the disc. Also, what does /dev/cdrecorder point to?
Here are the messages: Jun 28 14:20:16 gryffindor kernel: pktcdvd: unsupported module, tainting kernel. Jun 28 14:20:17 gryffindor kernel: pktcdvd: v0.1.3b 2004-04-13 Jens Axboe (axboe@suse.de) and petero2@telia.com Jun 28 14:20:17 gryffindor /etc/hotplug/block.agent[5442]: try 1 while waiting for /block/pktcdvd2's bus_id Jun 28 14:20:17 gryffindor /etc/hotplug/block.agent[5464]: try 1 while waiting for /block/pktcdvd4's bus_id Jun 28 14:20:17 gryffindor /etc/hotplug/block.agent[5483]: try 1 while waiting for /block/pktcdvd6's bus_id Jun 28 14:20:17 gryffindor /etc/hotplug/block.agent[5416]: try 1 while waiting for /block/pktcdvd0's bus_id Jun 28 14:20:17 gryffindor /etc/hotplug/block.agent[5475]: try 1 while waiting for /block/pktcdvd5's bus_id Jun 28 14:20:17 gryffindor /etc/hotplug/block.agent[5430]: try 1 while waiting for /block/pktcdvd1's bus_id Jun 28 14:20:17 gryffindor /etc/hotplug/block.agent[5453]: try 1 while waiting for /block/pktcdvd3's bus_id Jun 28 14:20:17 gryffindor /etc/hotplug/block.agent[5497]: try 1 while waiting for /block/pktcdvd7's bus_id Jun 28 14:20:18 gryffindor /etc/hotplug/block.agent[5416]: try 2 while waiting for /block/pktcdvd0's bus_id Jun 28 14:20:18 gryffindor /etc/hotplug/block.agent[5442]: try 2 while waiting for /block/pktcdvd2's bus_id Jun 28 14:20:18 gryffindor /etc/hotplug/block.agent[5464]: try 2 while waiting for /block/pktcdvd4's bus_id Jun 28 14:20:18 gryffindor /etc/hotplug/block.agent[5483]: try 2 while waiting for /block/pktcdvd6's bus_id Jun 28 14:20:18 gryffindor /etc/hotplug/block.agent[5497]: try 2 while waiting for /block/pktcdvd7's bus_id Jun 28 14:20:18 gryffindor /etc/hotplug/block.agent[5475]: try 2 while waiting for /block/pktcdvd5's bus_id Jun 28 14:20:18 gryffindor /etc/hotplug/block.agent[5430]: try 2 while waiting for /block/pktcdvd1's bus_id Jun 28 14:20:18 gryffindor /etc/hotplug/block.agent[5453]: try 2 while waiting for /block/pktcdvd3's bus_id Jun 28 14:20:19 gryffindor /etc/hotplug/block.agent[5416]: try 3 while waiting for /block/pktcdvd0's bus_id Jun 28 14:20:19 gryffindor /etc/hotplug/block.agent[5442]: try 3 while waiting for /block/pktcdvd2's bus_id Jun 28 14:20:19 gryffindor /etc/hotplug/block.agent[5464]: try 3 while waiting for /block/pktcdvd4's bus_id Jun 28 14:20:19 gryffindor /etc/hotplug/block.agent[5475]: try 3 while waiting for /block/pktcdvd5's bus_id Jun 28 14:20:19 gryffindor /etc/hotplug/block.agent[5430]: try 3 while waiting for /block/pktcdvd1's bus_id Jun 28 14:20:19 gryffindor /etc/hotplug/block.agent[5483]: try 3 while waiting for /block/pktcdvd6's bus_id Jun 28 14:20:19 gryffindor /etc/hotplug/block.agent[5453]: try 3 while waiting for /block/pktcdvd3's bus_id Jun 28 14:20:19 gryffindor /etc/hotplug/block.agent[5497]: try 3 while waiting for /block/pktcdvd7's bus_id Jun 28 14:20:20 gryffindor /etc/hotplug/block.agent[5442]: try 4 while waiting for /block/pktcdvd2's bus_id Jun 28 14:20:20 gryffindor /etc/hotplug/block.agent[5464]: try 4 while waiting for /block/pktcdvd4's bus_id Jun 28 14:20:20 gryffindor /etc/hotplug/block.agent[5430]: try 4 while waiting for /block/pktcdvd1's bus_id Jun 28 14:20:20 gryffindor /etc/hotplug/block.agent[5416]: try 4 while waiting for /block/pktcdvd0's bus_id Jun 28 14:20:20 gryffindor /etc/hotplug/block.agent[5453]: try 4 while waiting for /block/pktcdvd3's bus_id Jun 28 14:20:20 gryffindor /etc/hotplug/block.agent[5483]: try 4 while waiting for /block/pktcdvd6's bus_id Jun 28 14:20:20 gryffindor /etc/hotplug/block.agent[5475]: try 4 while waiting for /block/pktcdvd5's bus_id Jun 28 14:20:20 gryffindor /etc/hotplug/block.agent[5497]: try 4 while waiting for /block/pktcdvd7's bus_id Jun 28 14:20:21 gryffindor /etc/hotplug/block.agent[5442]: try 5 while waiting for /block/pktcdvd2's bus_id Jun 28 14:20:21 gryffindor /etc/hotplug/block.agent[5464]: try 5 while waiting for /block/pktcdvd4's bus_id Jun 28 14:20:21 gryffindor /etc/hotplug/block.agent[5430]: try 5 while waiting for /block/pktcdvd1's bus_id Jun 28 14:20:21 gryffindor /etc/hotplug/block.agent[5416]: try 5 while waiting for /block/pktcdvd0's bus_id Jun 28 14:20:21 gryffindor /etc/hotplug/block.agent[5453]: try 5 while waiting for /block/pktcdvd3's bus_id Jun 28 14:20:21 gryffindor /etc/hotplug/block.agent[5483]: try 5 while waiting for /block/pktcdvd6's bus_id Jun 28 14:20:21 gryffindor /etc/hotplug/block.agent[5497]: try 5 while waiting for /block/pktcdvd7's bus_id Jun 28 14:20:21 gryffindor /etc/hotplug/block.agent[5475]: try 5 while waiting for /block/pktcdvd5's bus_id Jun 28 14:20:22 gryffindor /etc/hotplug/block.agent[5475]: new block device /block/pktcdvd5 Jun 28 14:20:22 gryffindor /etc/hotplug/block.agent[5442]: new block device /block/pktcdvd2 Jun 28 14:20:22 gryffindor /etc/hotplug/block.agent[5464]: new block device /block/pktcdvd4 Jun 28 14:20:22 gryffindor /etc/hotplug/block.agent[5430]: new block device /block/pktcdvd1 Jun 28 14:20:22 gryffindor /etc/hotplug/block.agent[5453]: new block device /block/pktcdvd3 Jun 28 14:20:22 gryffindor /etc/hotplug/block.agent[5416]: new block device /block/pktcdvd0 Jun 28 14:20:22 gryffindor /etc/hotplug/block.agent[5483]: new block device /block/pktcdvd6 Jun 28 14:20:22 gryffindor /etc/hotplug/block.agent[5497]: new block device /block/pktcdvd7 Jun 28 14:20:37 gryffindor sudo: markea : TTY=pts/1 ; PWD=/home/markea ; USER=root ; COMMAND=/usr/local/bin/pktsetup /dev/pktcdvd0 /dev/cdrecorder Jun 28 14:20:37 gryffindor kernel: cdrom: This disc doesn't have any tracks I recognize! Jun 28 14:20:37 gryffindor kernel: pktcdvd: writer 0 mapped to hdc Jun 28 14:21:44 gryffindor sudo: markea : TTY=pts/1 ; PWD=/home/markea ; USER=root ; COMMAND=/bin/mount -t udf -o rw,noauto,procuid,nosuid,user,exec /dev/pktcdvd0 /media/cdrecorder Jun 28 14:21:44 gryffindor kernel: udf: registering filesystem Jun 28 14:21:44 gryffindor kernel: pktcdvd: inserted media is CD-RW Jun 28 14:21:44 gryffindor kernel: pktcdvd: Fixed packets, 32 blocks, Mode-2 disc Jun 28 14:21:44 gryffindor kernel: pktcdvd: Max. media speed: 2 Jun 28 14:21:44 gryffindor kernel: pktcdvd: write speed 2 Jun 28 14:21:44 gryffindor kernel: pktcdvd: 54 01 00 00 00 00 00 00 00 00 00 00 - sense 00.00.00 (No sense) Jun 28 14:21:44 gryffindor kernel: pktcdvd: pktcdvd0 Optimum Power Calibration failed Jun 28 14:21:44 gryffindor kernel: pktcdvd: 510718kB available on disc Jun 28 14:21:44 gryffindor kernel: udf: bad mount option "procuid" or missing value Jun 28 14:21:57 gryffindor /usr/bin/sudo: markea : TTY=pts/1 ; PWD=/home/markea ; USER=root ; COMMAND=/bin/umount /media/cdrecorder Jun 28 14:21:59 gryffindor /usr/bin/sudo: markea : TTY=pts/1 ; PWD=/home/markea ; USER=root ; COMMAND=/usr/bin/pktsetup -d /dev/pktcdvd0 Jun 28 14:21:59 gryffindor kernel: pktcdvd: writer 0 unmapped Jun 28 14:22:01 gryffindor /usr/bin/sudo: markea : TTY=pts/1 ; PWD=/home/markea ; USER=root ; COMMAND=/usr/bin/cdrwtool -d /dev/cdrecorder -q Jun 28 14:22:14 gryffindor /usr/bin/sudo: markea : TTY=pts/1 ; PWD=/home/markea ; USER=root ; COMMAND=/usr/bin/pktsetup /dev/pktcdvd0 /dev/cdrecorder Jun 28 14:22:14 gryffindor kernel: pktcdvd: writer 0 mapped to hdc Jun 28 14:22:14 gryffindor /usr/bin/sudo: markea : TTY=pts/1 ; PWD=/home/markea ; USER=root ; COMMAND=/bin/mount -t udf -o rw,noatime /dev/pktcdvd0 /media/cdrecorder Jun 28 14:22:14 gryffindor kernel: pktcdvd: inserted media is CD-RW Jun 28 14:22:14 gryffindor kernel: pktcdvd: Fixed packets, 32 blocks, Mode-2 disc Jun 28 14:22:14 gryffindor kernel: pktcdvd: Max. media speed: 2 Jun 28 14:22:15 gryffindor kernel: pktcdvd: write speed 2 Jun 28 14:22:15 gryffindor kernel: pktcdvd: 54 01 00 00 00 00 00 00 00 00 00 00 - sense 00.00.00 (No sense) Jun 28 14:22:15 gryffindor kernel: pktcdvd: pktcdvd0 Optimum Power Calibration failed Jun 28 14:22:15 gryffindor kernel: pktcdvd: 510718kB available on disc Jun 28 14:22:16 gryffindor kernel: UDF-fs INFO UDF 0.9.8.1 (2004/29/09) Mounting volume 'ARCHIVE_1', timestamp 2000/10/22 23:52 (1e5c) Jun 28 14:22:51 gryffindor kernel: end_request: I/O error, dev hdc, sector 1408 Jun 28 14:22:51 gryffindor kernel: end_request: I/O error, dev hdc, sector 1416 Jun 28 14:22:51 gryffindor kernel: end_request: I/O error, dev hdc, sector 1424 Jun 28 14:22:51 gryffindor kernel: end_request: I/O error, dev hdc, sector 1432 Jun 28 14:22:51 gryffindor kernel: end_request: I/O error, dev hdc, sector 1440 Jun 28 14:22:51 gryffindor kernel: end_request: I/O error, dev hdc, sector 1448 Jun 28 14:22:51 gryffindor kernel: end_request: I/O error, dev hdc, sector 1456 Jun 28 14:22:51 gryffindor kernel: end_request: I/O error, dev hdc, sector 1464 Jun 28 14:22:51 gryffindor kernel: end_request: I/O error, dev hdc, sector 1472 Jun 28 14:22:51 gryffindor kernel: end_request: I/O error, dev hdc, sector 1480 Jun 28 14:22:51 gryffindor kernel: end_request: I/O error, dev hdc, sector 1488 Jun 28 14:22:51 gryffindor kernel: end_request: I/O error, dev hdc, sector 1496 Jun 28 14:22:51 gryffindor kernel: end_request: I/O error, dev hdc, sector 1504 Jun 28 14:22:51 gryffindor kernel: end_request: I/O error, dev hdc, sector 1512 Jun 28 14:22:51 gryffindor kernel: end_request: I/O error, dev hdc, sector 1520 Jun 28 14:22:51 gryffindor kernel: end_request: I/O error, dev hdc, sector 1528 Jun 28 14:22:51 gryffindor kernel: Buffer I/O error on device pktcdvd0, logical block 352 Jun 28 14:22:51 gryffindor kernel: lost page write due to I/O error on pktcdvd0 Jun 28 15:28:03 gryffindor kernel: buffer layer error at fs/buffer.c:1342 Jun 28 15:28:03 gryffindor kernel: Call Trace: Jun 28 15:28:03 gryffindor kernel: [mark_buffer_dirty+47/64] mark_buffer_dirty+0x2f/0x40 Jun 28 15:28:03 gryffindor kernel: [<c015a7bf>] mark_buffer_dirty+0x2f/0x40 Jun 28 15:28:03 gryffindor kernel: [__crc_inode_change_ok+2178662/2966925] udf_bitmap_new_block+0x71f/0x750 [udf] Jun 28 15:28:03 gryffindor kernel: [<e2a5979f>] udf_bitmap_new_block+0x71f/0x750 [udf] Jun 28 15:28:03 gryffindor kernel: [__crc_inode_change_ok+2179706/2966925] udf_new_block+0x63/0xa0 [udf] Jun 28 15:28:03 gryffindor kernel: [<e2a59bb3>] udf_new_block+0x63/0xa0 [udf] Jun 28 15:28:03 gryffindor kernel: [__crc_inode_change_ok+2186984/2966925] udf_new_inode+0x61/0x420 [udf] Jun 28 15:28:03 gryffindor kernel: [<e2a5b821>] udf_new_inode+0x61/0x420 [udf] Jun 28 15:28:03 gryffindor kernel: [__crc_inode_change_ok+2218096/2966925] udf_create+0x19/0x170 [udf] Jun 28 15:28:03 gryffindor kernel: [<e2a631a9>] udf_create+0x19/0x170 [udf] Jun 28 15:28:03 gryffindor kernel: [__crc_inode_change_ok+2208821/2966925] udf_lookup+0x9e/0xb0 [udf] Jun 28 15:28:03 gryffindor kernel: [<e2a60d6e>] udf_lookup+0x9e/0xb0 [udf] Jun 28 15:28:03 gryffindor kernel: [__d_lookup+239/272] __d_lookup+0xef/0x110 Jun 28 15:28:03 gryffindor kernel: [<c016ebdf>] __d_lookup+0xef/0x110 Jun 28 15:28:03 gryffindor kernel: [in_group_p+48/112] in_group_p+0x30/0x70 Jun 28 15:28:03 gryffindor kernel: [<c012a420>] in_group_p+0x30/0x70 Jun 28 15:28:03 gryffindor kernel: [vfs_permission+222/272] vfs_permission+0xde/0x110 Jun 28 15:28:03 gryffindor kernel: [<c0164c8e>] vfs_permission+0xde/0x110 Jun 28 15:28:03 gryffindor kernel: [vfs_create+153/304] vfs_create+0x99/0x130 Jun 28 15:28:03 gryffindor kernel: [<c01652e9>] vfs_create+0x99/0x130 Jun 28 15:28:03 gryffindor kernel: [open_namei+830/1072] open_namei+0x33e/0x430 Jun 28 15:28:03 gryffindor kernel: [<c016731e>] open_namei+0x33e/0x430 Jun 28 15:28:03 gryffindor kernel: [filp_open+78/128] filp_open+0x4e/0x80 Jun 28 15:28:03 gryffindor kernel: [<c015574e>] filp_open+0x4e/0x80 Jun 28 15:28:03 gryffindor kernel: [sys_open+131/208] sys_open+0x83/0xd0 Jun 28 15:28:03 gryffindor kernel: [<c0155803>] sys_open+0x83/0xd0 Jun 28 15:28:03 gryffindor kernel: [syscall_call+7/11] syscall_call+0x7/0xb Jun 28 15:28:03 gryffindor kernel: [<c0107e27>] syscall_call+0x7/0xb Jun 28 15:28:03 gryffindor kernel: Jun 28 15:28:03 gryffindor kernel: buffer layer error at fs/buffer.c:1342 Jun 28 15:28:03 gryffindor kernel: Call Trace: Jun 28 15:28:03 gryffindor kernel: [mark_buffer_dirty+47/64] mark_buffer_dirty+0x2f/0x40 Jun 28 15:28:03 gryffindor kernel: [<c015a7bf>] mark_buffer_dirty+0x2f/0x40 Jun 28 15:28:03 gryffindor kernel: [__crc_inode_change_ok+2187223/2966925] udf_new_inode+0x150/0x420 [udf] Jun 28 15:28:03 gryffindor kernel: [<e2a5b910>] udf_new_inode+0x150/0x420 [udf] Jun 28 15:28:03 gryffindor kernel: [__crc_inode_change_ok+2218096/2966925] udf_create+0x19/0x170 [udf] Jun 28 15:28:03 gryffindor kernel: [<e2a631a9>] udf_create+0x19/0x170 [udf] Jun 28 15:28:03 gryffindor kernel: [__crc_inode_change_ok+2208821/2966925] udf_lookup+0x9e/0xb0 [udf] Jun 28 15:28:03 gryffindor kernel: [<e2a60d6e>] udf_lookup+0x9e/0xb0 [udf] Jun 28 15:28:03 gryffindor kernel: [__d_lookup+239/272] __d_lookup+0xef/0x110 Jun 28 15:28:03 gryffindor kernel: [<c016ebdf>] __d_lookup+0xef/0x110 Jun 28 15:28:03 gryffindor kernel: [in_group_p+48/112] in_group_p+0x30/0x70 Jun 28 15:28:03 gryffindor kernel: [<c012a420>] in_group_p+0x30/0x70 Jun 28 15:28:03 gryffindor kernel: [vfs_permission+222/272] vfs_permission+0xde/0x110 Jun 28 15:28:03 gryffindor kernel: [<c0164c8e>] vfs_permission+0xde/0x110 Jun 28 15:28:03 gryffindor kernel: [vfs_create+153/304] vfs_create+0x99/0x130 Jun 28 15:28:03 gryffindor kernel: [<c01652e9>] vfs_create+0x99/0x130 Jun 28 15:28:03 gryffindor kernel: [open_namei+830/1072] open_namei+0x33e/0x430 Jun 28 15:28:03 gryffindor kernel: [<c016731e>] open_namei+0x33e/0x430 Jun 28 15:28:03 gryffindor kernel: [filp_open+78/128] filp_open+0x4e/0x80 Jun 28 15:28:03 gryffindor kernel: [<c015574e>] filp_open+0x4e/0x80 Jun 28 15:28:03 gryffindor kernel: [sys_open+131/208] sys_open+0x83/0xd0 Jun 28 15:28:03 gryffindor kernel: [<c0155803>] sys_open+0x83/0xd0 Jun 28 15:28:03 gryffindor kernel: [syscall_call+7/11] syscall_call+0x7/0xb Jun 28 15:28:03 gryffindor kernel: [<c0107e27>] syscall_call+0x7/0xb Jun 28 15:28:03 gryffindor kernel: Jun 28 15:28:05 gryffindor kernel: buffer layer error at fs/buffer.c:1342 Jun 28 15:28:05 gryffindor kernel: Call Trace: Jun 28 15:28:05 gryffindor kernel: [mark_buffer_dirty+47/64] mark_buffer_dirty+0x2f/0x40 Jun 28 15:28:05 gryffindor kernel: [<c015a7bf>] mark_buffer_dirty+0x2f/0x40 Jun 28 15:28:05 gryffindor kernel: [__crc_inode_change_ok+2227170/2966925] udf_open_lvid+0xcb/0x150 [udf] Jun 28 15:28:05 gryffindor kernel: [<e2a6551b>] udf_open_lvid+0xcb/0x150 [udf] Jun 28 15:28:05 gryffindor kernel: [__crc_inode_change_ok+2227324/2966925] udf_write_super+0x15/0x20 [udf] Jun 28 15:28:05 gryffindor kernel: [<e2a655b5>] udf_write_super+0x15/0x20 [udf] Jun 28 15:28:05 gryffindor kernel: [sync_supers+137/144] sync_supers+0x89/0x90 Jun 28 15:28:05 gryffindor kernel: [<c015e369>] sync_supers+0x89/0x90 Jun 28 15:28:05 gryffindor kernel: [wb_kupdate+39/304] wb_kupdate+0x27/0x130 Jun 28 15:28:05 gryffindor kernel: [<c01401b7>] wb_kupdate+0x27/0x130 Jun 28 15:28:05 gryffindor kernel: [schedule+502/1744] schedule+0x1f6/0x6d0 Jun 28 15:28:05 gryffindor kernel: [<c011c696>] schedule+0x1f6/0x6d0 Jun 28 15:28:05 gryffindor kernel: [pdflush+177/400] pdflush+0xb1/0x190 Jun 28 15:28:05 gryffindor kernel: [<c01405c1>] pdflush+0xb1/0x190 Jun 28 15:28:05 gryffindor kernel: [wb_kupdate+0/304] wb_kupdate+0x0/0x130 Jun 28 15:28:05 gryffindor kernel: [<c0140190>] wb_kupdate+0x0/0x130 Jun 28 15:28:05 gryffindor kernel: [kthread+169/209] kthread+0xa9/0xd1 Jun 28 15:28:05 gryffindor kernel: [<c012f3d9>] kthread+0xa9/0xd1 Jun 28 15:28:05 gryffindor kernel: [kthread+0/209] kthread+0x0/0xd1 Jun 28 15:28:05 gryffindor kernel: [<c012f330>] kthread+0x0/0xd1 Jun 28 15:28:05 gryffindor kernel: [kernel_thread_helper+5/16] kernel_thread_helper+0x5/0x10 Jun 28 15:28:05 gryffindor kernel: [<c0106005>] kernel_thread_helper+0x5/0x10 Jun 28 15:28:05 gryffindor kernel: Jun 28 15:28:07 gryffindor kernel: buffer layer error at fs/buffer.c:1342 Jun 28 15:28:07 gryffindor kernel: Call Trace: Jun 28 15:28:07 gryffindor kernel: [mark_buffer_dirty+47/64] mark_buffer_dirty+0x2f/0x40 Jun 28 15:28:07 gryffindor kernel: [<c015a7bf>] mark_buffer_dirty+0x2f/0x40 Jun 28 15:28:07 gryffindor kernel: [__crc_inode_change_ok+2178662/2966925] udf_bitmap_new_block+0x71f/0x750 [udf] Jun 28 15:28:07 gryffindor kernel: [<e2a5979f>] udf_bitmap_new_block+0x71f/0x750 [udf] Jun 28 15:28:07 gryffindor kernel: [__kfree_skb+159/304] __kfree_skb+0x9f/0x130 Jun 28 15:28:07 gryffindor kernel: [<c02789df>] __kfree_skb+0x9f/0x130 Jun 28 15:28:07 gryffindor kernel: [__crc_inode_change_ok+2179706/2966925] udf_new_block+0x63/0xa0 [udf] Jun 28 15:28:07 gryffindor kernel: [<e2a59bb3>] udf_new_block+0x63/0xa0 [udf] Jun 28 15:28:07 gryffindor kernel: [__crc_inode_change_ok+2186984/2966925] udf_new_inode+0x61/0x420 [udf] Jun 28 15:28:07 gryffindor kernel: [<e2a5b821>] udf_new_inode+0x61/0x420 [udf] Jun 28 15:28:07 gryffindor kernel: [__crc_inode_change_ok+2218096/2966925] udf_create+0x19/0x170 [udf] Jun 28 15:28:07 gryffindor kernel: [<e2a631a9>] udf_create+0x19/0x170 [udf] Jun 28 15:28:07 gryffindor kernel: [__d_lookup+239/272] __d_lookup+0xef/0x110 Jun 28 15:28:07 gryffindor kernel: [<c016ebdf>] __d_lookup+0xef/0x110 Jun 28 15:28:07 gryffindor kernel: [in_group_p+48/112] in_group_p+0x30/0x70 Jun 28 15:28:07 gryffindor kernel: [<c012a420>] in_group_p+0x30/0x70 Jun 28 15:28:07 gryffindor kernel: [vfs_permission+222/272] vfs_permission+0xde/0x110 Jun 28 15:28:07 gryffindor kernel: [<c0164c8e>] vfs_permission+0xde/0x110 Jun 28 15:28:07 gryffindor kernel: [vfs_create+153/304] vfs_create+0x99/0x130 Jun 28 15:28:07 gryffindor kernel: [<c01652e9>] vfs_create+0x99/0x130 Jun 28 15:28:07 gryffindor kernel: [open_namei+830/1072] open_namei+0x33e/0x430 Jun 28 15:28:07 gryffindor kernel: [<c016731e>] open_namei+0x33e/0x430 Jun 28 15:28:07 gryffindor kernel: [filp_open+78/128] filp_open+0x4e/0x80 Jun 28 15:28:07 gryffindor kernel: [<c015574e>] filp_open+0x4e/0x80 Jun 28 15:28:07 gryffindor kernel: [sys_open+131/208] sys_open+0x83/0xd0 Jun 28 15:28:07 gryffindor kernel: [<c0155803>] sys_open+0x83/0xd0 Jun 28 15:28:07 gryffindor kernel: [syscall_call+7/11] syscall_call+0x7/0xb Jun 28 15:28:07 gryffindor kernel: [<c0107e27>] syscall_call+0x7/0xb Jun 28 15:28:07 gryffindor kernel: Jun 28 15:28:07 gryffindor kernel: buffer layer error at fs/buffer.c:1342 Jun 28 15:28:07 gryffindor kernel: Call Trace: Jun 28 15:28:07 gryffindor kernel: [mark_buffer_dirty+47/64] mark_buffer_dirty+0x2f/0x40 Jun 28 15:28:07 gryffindor kernel: [<c015a7bf>] mark_buffer_dirty+0x2f/0x40 Jun 28 15:28:07 gryffindor kernel: [__crc_inode_change_ok+2187223/2966925] udf_new_inode+0x150/0x420 [udf] Jun 28 15:28:07 gryffindor kernel: [<e2a5b910>] udf_new_inode+0x150/0x420 [udf] Jun 28 15:28:07 gryffindor kernel: [__crc_inode_change_ok+2218096/2966925] udf_create+0x19/0x170 [udf] Jun 28 15:28:07 gryffindor kernel: [<e2a631a9>] udf_create+0x19/0x170 [udf] Jun 28 15:28:07 gryffindor kernel: [__d_lookup+239/272] __d_lookup+0xef/0x110 Jun 28 15:28:07 gryffindor kernel: [<c016ebdf>] __d_lookup+0xef/0x110 Jun 28 15:28:07 gryffindor kernel: [in_group_p+48/112] in_group_p+0x30/0x70 Jun 28 15:28:07 gryffindor kernel: [<c012a420>] in_group_p+0x30/0x70 Jun 28 15:28:07 gryffindor kernel: [vfs_permission+222/272] vfs_permission+0xde/0x110 Jun 28 15:28:07 gryffindor kernel: [<c0164c8e>] vfs_permission+0xde/0x110 Jun 28 15:28:07 gryffindor kernel: [vfs_create+153/304] vfs_create+0x99/0x130 Jun 28 15:28:07 gryffindor kernel: [<c01652e9>] vfs_create+0x99/0x130 Jun 28 15:28:07 gryffindor kernel: [open_namei+830/1072] open_namei+0x33e/0x430 Jun 28 15:28:07 gryffindor kernel: [<c016731e>] open_namei+0x33e/0x430 Jun 28 15:28:07 gryffindor kernel: [filp_open+78/128] filp_open+0x4e/0x80 Jun 28 15:28:07 gryffindor kernel: [<c015574e>] filp_open+0x4e/0x80 Jun 28 15:28:07 gryffindor kernel: [sys_open+131/208] sys_open+0x83/0xd0 Jun 28 15:28:07 gryffindor kernel: [<c0155803>] sys_open+0x83/0xd0 Jun 28 15:28:07 gryffindor kernel: [syscall_call+7/11] syscall_call+0x7/0xb Jun 28 15:28:07 gryffindor kernel: [<c0107e27>] syscall_call+0x7/0xb /dev/cdrecorder is a symlink to /dev/hdc, the CD-RW drive gryffindor:/home/markea 20> ll /dev/cdrecorder lrwxrwxrwx 1 root root 8 2004-06-29 09:45 /dev/cdrecorder -> /dev/hdc I am happy to provide any other information which may help. I started this because I also have a FireWire-based DVD-RW drive which I would like to use the same way, but since CD-RW discs are cheaper, I started with those. Mark Almeida
-- Peter Osterlund - petero2@telia.com http://w1.894.telia.com/~u89404340
-- Powered by SuSE Linux Pro 9.1/Evolution 1.4.6 This is a Microsoft-free computer
![](https://seccdn.libravatar.org/avatar/883e66c29704ef58b6b5204abab34bf2.jpg?s=120&d=mm&r=g)
All - It now appears that I may have a problem with the CD-RW drive, although I have not had any problems using it to write CD-R media. I plugged in my FireWire DVD-RW/CD-RW drive, formatted a different CD-RW disk and was able to write to it using packet writing. So, I can in fact write to CD-RW media successfully using a different drive. The only restriction seems to be that I must do the writing as root; even if I mount the /dev/pktcdvd1 device using mount -t udf -o rw,noauto,nosuid,user,exec /dev/pktcdvd1 \ /media/dvdrecorder and it shows up as /dev/pktcdvd1 on /media/dvdrecorder type subfs \ (rw,nosuid,nodev,fs=udf,user=markea) but it does not let me write or copy files as a regular user, only as root. -- Powered by SuSE Linux Pro 9.1/Evolution 1.4.6 This is a Microsoft-free computer
![](https://seccdn.libravatar.org/avatar/51a7700397ed84d8e44df3701f556370.jpg?s=120&d=mm&r=g)
On Tue, 29 Jun 2004, The Wizard wrote:
It now appears that I may have a problem with the CD-RW drive, although I have not had any problems using it to write CD-R media. I plugged in my FireWire DVD-RW/CD-RW drive, formatted a different CD-RW disk and was able to write to it using packet writing. So, I can in fact write to CD-RW media successfully using a different drive. The only restriction seems to be that I must do the writing as root; even if I mount the /dev/pktcdvd1 device using
mount -t udf -o rw,noauto,nosuid,user,exec /dev/pktcdvd1 \ /media/dvdrecorder
and it shows up as
/dev/pktcdvd1 on /media/dvdrecorder type subfs \ (rw,nosuid,nodev,fs=udf,user=markea)
but it does not let me write or copy files as a regular user, only as root.
If you run chmod 777 /media/dvdrecorder as root after mounting the file system, any user should then be allowed to write to the disc. (You only have to do this once for each disc after creating the file system.) The user=markea option only means that user markea mounted the filesystem, it doesn't give that user any additional access rights. -- Peter Osterlund - petero2@telia.com http://w1.894.telia.com/~u89404340
participants (2)
-
Peter Osterlund
-
The Wizard