* Re: still no cd/dvd burning as user with 2.6.9
2004-11-03 9:02 ` Clemens Schwaighofer
@ 2004-11-03 9:05 ` Jens Axboe
2004-11-03 23:21 ` Clemens Schwaighofer
2004-11-03 9:15 ` Emiliano 'AlberT' Gabrielli
2004-11-03 9:22 ` Pawel Sikora
2 siblings, 1 reply; 13+ messages in thread
From: Jens Axboe @ 2004-11-03 9:05 UTC (permalink / raw)
To: Clemens Schwaighofer; +Cc: Linux kernel
On Wed, Nov 03 2004, Clemens Schwaighofer wrote:
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
>
> On 11/03/2004 05:43 PM, Jens Axboe wrote:
>
> > It should work, are the permissions on your device file correct?
>
> that was the first thing I checked:
>
> gullevek@pluto:~$ ls -l /dev/scd3
> brw-rw---- 1 root cdrom 11, 3 2004-04-30 09:28 /dev/scd3
>
> then I thought I am not in the right group:
>
> gullevek@pluto:~$ groups
> users disk cdrom audio operator video staff games
>
> but I am ...
>
> I haven't tried to write a CD, but DVD is definilty not possible,
> because the device is _not_ listed in k3b if started as user. The
> internal CD writer is, so probably I can write here, because before,
> this wasn't even listed ...
Try with this debug patch so we can see if it rejects command it should
not.
===== drivers/block/scsi_ioctl.c 1.57 vs edited =====
--- 1.57/drivers/block/scsi_ioctl.c 2004-10-19 08:06:58 +02:00
+++ edited/drivers/block/scsi_ioctl.c 2004-11-03 10:05:20 +01:00
@@ -220,8 +220,10 @@
return -EINVAL;
if (copy_from_user(cmd, hdr->cmdp, hdr->cmd_len))
return -EFAULT;
- if (verify_command(file, cmd))
+ if (verify_command(file, cmd)) {
+ printk(KERN_ERR "rejected command %x\n", cmd[0]);
return -EPERM;
+ }
/*
* we'll do that later
--
Jens Axboe
^ permalink raw reply [flat|nested] 13+ messages in thread* Re: still no cd/dvd burning as user with 2.6.9
2004-11-03 9:05 ` Jens Axboe
@ 2004-11-03 23:21 ` Clemens Schwaighofer
2004-11-04 9:19 ` Jens Axboe
0 siblings, 1 reply; 13+ messages in thread
From: Clemens Schwaighofer @ 2004-11-03 23:21 UTC (permalink / raw)
To: Jens Axboe; +Cc: Linux kernel
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
On 11/03/2004 06:05 PM, Jens Axboe wrote:
> On Wed, Nov 03 2004, Clemens Schwaighofer wrote:
>
>>-----BEGIN PGP SIGNED MESSAGE-----
>>Hash: SHA1
>>
>>On 11/03/2004 05:43 PM, Jens Axboe wrote:
>>
>>
>>>It should work, are the permissions on your device file correct?
>>
>>that was the first thing I checked:
>>
>>gullevek@pluto:~$ ls -l /dev/scd3
>>brw-rw---- 1 root cdrom 11, 3 2004-04-30 09:28 /dev/scd3
>>
>>then I thought I am not in the right group:
>>
>>gullevek@pluto:~$ groups
>>users disk cdrom audio operator video staff games
>>
>>but I am ...
>>
>>I haven't tried to write a CD, but DVD is definilty not possible,
>>because the device is _not_ listed in k3b if started as user. The
>>internal CD writer is, so probably I can write here, because before,
>>this wasn't even listed ...
>
>
> Try with this debug patch so we can see if it rejects command it should
> not.
I added the patch again 2.6.9-ac6:
The strange thing is, this time I see a device, but its crippled:
k3b sees it as 7 0.62 1 /157 3474
But this device can not the DVD writer, because the dvd writer is on
/dev/scd3, this strange device above is on /dev/scd0. But still acording
to the settings, this device can burn dvds (Writes-DVD-R(W)s: yes).
So I tried again to start k3b as root, but this time the dvd writer
didn't show up anymore ... Somehow I get here very confused.
this is my dmesg output when I turn on my DVD writer
drivers/usb/input/hid-input.c: event field not found
ieee1394: Error parsing configrom for node 0-00:1023
ieee1394: Error parsing configrom for node 0-01:1023
ieee1394: Error parsing configrom for node 0-02:1023
ieee1394: Error parsing configrom for node 0-03:1023
ieee1394: The root node is not cycle master capable; selecting a new
root node and resetting...
ieee1394: Node added: ID:BUS[0-00:1023] GUID[00e03600500008f2]
ieee1394: Node changed: 0-00:1023 -> 0-01:1023
ieee1394: Node changed: 0-01:1023 -> 0-02:1023
ieee1394: Node changed: 0-02:1023 -> 0-03:1023
ieee1394: sbp2: Error reconnecting to SBP-2 device - reconnect failed
ieee1394: sbp2: Logged out of SBP-2 device
ieee1394: sbp2: Logged into SBP-2 device
ieee1394: Node 0-01:1023: Max speed [S400] - Max payload [2048]
ieee1394: sbp2: Error reconnecting to SBP-2 device - reconnect failed
ieee1394: sbp2: Logged out of SBP-2 device
ieee1394: sbp2: Logged into SBP-2 device
ieee1394: Node 0-02:1023: Max speed [S400] - Max payload [2048]
scsi3 : SCSI emulation for IEEE-1394 SBP-2 Devices
ieee1394: sbp2: Logged into SBP-2 device
ieee1394: Node 0-00:1023: Max speed [S400] - Max payload [2048]
Vendor: PIONEER Model: DVD-RW DVR-105 Rev: 1.20
Type: CD-ROM ANSI SCSI revision: 02
sr0: scsi3-mmc drive: 32x/32x writer cd/rw xa/form2 cdda tray
Attached scsi CD-ROM sr0 at scsi3, channel 0, id 0, lun 0
Attached scsi generic sg3 at scsi3, channel 0, id 0, lun 0, type 5
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.5 (GNU/Linux)
Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org
iD8DBQFBiWgWjBz/yQjBxz8RAqQ0AJ0Yqgej/kA2nzh8/DMjh2npJmef1QCeKfDK
oDLsIvckv12GjABqexAnDMM=
=KcWT
-----END PGP SIGNATURE-----
^ permalink raw reply [flat|nested] 13+ messages in thread
* Re: still no cd/dvd burning as user with 2.6.9
2004-11-03 23:21 ` Clemens Schwaighofer
@ 2004-11-04 9:19 ` Jens Axboe
2004-11-04 12:06 ` Clemens Schwaighofer
0 siblings, 1 reply; 13+ messages in thread
From: Jens Axboe @ 2004-11-04 9:19 UTC (permalink / raw)
To: Clemens Schwaighofer; +Cc: Linux kernel
On Thu, Nov 04 2004, Clemens Schwaighofer wrote:
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
>
> On 11/03/2004 06:05 PM, Jens Axboe wrote:
> > On Wed, Nov 03 2004, Clemens Schwaighofer wrote:
> >
> >>-----BEGIN PGP SIGNED MESSAGE-----
> >>Hash: SHA1
> >>
> >>On 11/03/2004 05:43 PM, Jens Axboe wrote:
> >>
> >>
> >>>It should work, are the permissions on your device file correct?
> >>
> >>that was the first thing I checked:
> >>
> >>gullevek@pluto:~$ ls -l /dev/scd3
> >>brw-rw---- 1 root cdrom 11, 3 2004-04-30 09:28 /dev/scd3
> >>
> >>then I thought I am not in the right group:
> >>
> >>gullevek@pluto:~$ groups
> >>users disk cdrom audio operator video staff games
> >>
> >>but I am ...
> >>
> >>I haven't tried to write a CD, but DVD is definilty not possible,
> >>because the device is _not_ listed in k3b if started as user. The
> >>internal CD writer is, so probably I can write here, because before,
> >>this wasn't even listed ...
> >
> >
> > Try with this debug patch so we can see if it rejects command it should
> > not.
>
> I added the patch again 2.6.9-ac6:
>
> The strange thing is, this time I see a device, but its crippled:
>
> k3b sees it as 7 0.62 1 /157 3474
>
> But this device can not the DVD writer, because the dvd writer is on
> /dev/scd3, this strange device above is on /dev/scd0. But still acording
> to the settings, this device can burn dvds (Writes-DVD-R(W)s: yes).
>
> So I tried again to start k3b as root, but this time the dvd writer
> didn't show up anymore ... Somehow I get here very confused.
>
> this is my dmesg output when I turn on my DVD writer
>
> drivers/usb/input/hid-input.c: event field not found
> ieee1394: Error parsing configrom for node 0-00:1023
> ieee1394: Error parsing configrom for node 0-01:1023
> ieee1394: Error parsing configrom for node 0-02:1023
> ieee1394: Error parsing configrom for node 0-03:1023
> ieee1394: The root node is not cycle master capable; selecting a new
> root node and resetting...
> ieee1394: Node added: ID:BUS[0-00:1023] GUID[00e03600500008f2]
> ieee1394: Node changed: 0-00:1023 -> 0-01:1023
> ieee1394: Node changed: 0-01:1023 -> 0-02:1023
> ieee1394: Node changed: 0-02:1023 -> 0-03:1023
> ieee1394: sbp2: Error reconnecting to SBP-2 device - reconnect failed
> ieee1394: sbp2: Logged out of SBP-2 device
> ieee1394: sbp2: Logged into SBP-2 device
> ieee1394: Node 0-01:1023: Max speed [S400] - Max payload [2048]
> ieee1394: sbp2: Error reconnecting to SBP-2 device - reconnect failed
> ieee1394: sbp2: Logged out of SBP-2 device
> ieee1394: sbp2: Logged into SBP-2 device
> ieee1394: Node 0-02:1023: Max speed [S400] - Max payload [2048]
> scsi3 : SCSI emulation for IEEE-1394 SBP-2 Devices
> ieee1394: sbp2: Logged into SBP-2 device
> ieee1394: Node 0-00:1023: Max speed [S400] - Max payload [2048]
> Vendor: PIONEER Model: DVD-RW DVR-105 Rev: 1.20
> Type: CD-ROM ANSI SCSI revision: 02
> sr0: scsi3-mmc drive: 32x/32x writer cd/rw xa/form2 cdda tray
> Attached scsi CD-ROM sr0 at scsi3, channel 0, id 0, lun 0
> Attached scsi generic sg3 at scsi3, channel 0, id 0, lun 0, type 5
Probably talk to the firewire folks about this issue.
--
Jens Axboe
^ permalink raw reply [flat|nested] 13+ messages in thread
* Re: still no cd/dvd burning as user with 2.6.9
2004-11-04 9:19 ` Jens Axboe
@ 2004-11-04 12:06 ` Clemens Schwaighofer
0 siblings, 0 replies; 13+ messages in thread
From: Clemens Schwaighofer @ 2004-11-04 12:06 UTC (permalink / raw)
To: Jens Axboe; +Cc: Linux kernel
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
On 11/04/2004 06:19 PM, Jens Axboe wrote:
> Probably talk to the firewire folks about this issue.
Yeah, just give a view up from what I tried today
2.6.9-rc2-mm2: works as user & root
2.6.9: doesn't work
2.6.9-ac3: doesn't work
2.6.9-ac6: doesn't work
I know I had first successful burned DVDs with 2.6.9-ac3, but I couldn't
get it running agin. The kernel sees the device somehow, but totaly
wrong, corrupted and not usable for burning. As root its often not seen
at all.
Should I try the thing again with the IEEE/Firewire people? This might
be the only solution to this very annoying problem.
lg, clemens
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.5 (GNU/Linux)
Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org
iD8DBQFBihs3jBz/yQjBxz8RAianAJ4yEijyoQIpt93J1hWsw50tSzfd7ACg4XnH
IYMX6mu3xlnzJ2LeT0hqBas=
=Otk+
-----END PGP SIGNATURE-----
^ permalink raw reply [flat|nested] 13+ messages in thread
* Re: still no cd/dvd burning as user with 2.6.9
2004-11-03 9:02 ` Clemens Schwaighofer
2004-11-03 9:05 ` Jens Axboe
@ 2004-11-03 9:15 ` Emiliano 'AlberT' Gabrielli
2004-11-03 9:22 ` Pawel Sikora
2 siblings, 0 replies; 13+ messages in thread
From: Emiliano 'AlberT' Gabrielli @ 2004-11-03 9:15 UTC (permalink / raw)
To: Linux kernel
On 10:02, mercoledì 03 novembre 2004, you wrote:
> On 11/03/2004 05:43 PM, Jens Axboe wrote:
> > It should work, are the permissions on your device file correct?
>
> that was the first thing I checked:
>
> gullevek@pluto:~$ ls -l /dev/scd3
> brw-rw---- 1 root cdrom 11, 3 2004-04-30 09:28 /dev/scd3
>
> then I thought I am not in the right group:
>
> gullevek@pluto:~$ groups
> users disk cdrom audio operator video staff games
>
> but I am ...
>
> I haven't tried to write a CD, but DVD is definilty not possible,
> because the device is _not_ listed in k3b if started as user. The
> internal CD writer is, so probably I can write here, because before,
> this wasn't even listed ...
I'm running a 2.6.9 vanilla and, as user, my toshiba DVD is correctly listed
by k3b... the only thing that sounds strange is an error saying it's
impossible to determine the supported writeing speed by the device
--
<?php echo ' Emiliano `AlberT` Gabrielli ',"\n",
' E-Mail: AlberT_AT_SuperAlberT_it ',"\n",
' Web: http://SuperAlberT.it ',"\n",
' IRC: #php,#AES azzurra.com ',"\n",'ICQ: 158591185'; ?>
^ permalink raw reply [flat|nested] 13+ messages in thread* Re: still no cd/dvd burning as user with 2.6.9
2004-11-03 9:02 ` Clemens Schwaighofer
2004-11-03 9:05 ` Jens Axboe
2004-11-03 9:15 ` Emiliano 'AlberT' Gabrielli
@ 2004-11-03 9:22 ` Pawel Sikora
2 siblings, 0 replies; 13+ messages in thread
From: Pawel Sikora @ 2004-11-03 9:22 UTC (permalink / raw)
To: Clemens Schwaighofer; +Cc: Jens Axboe, Linux kernel
On Wed, 3 Nov 2004, Clemens Schwaighofer wrote:
> but I am ...
>
> I haven't tried to write a CD, but DVD is definilty not possible,
> because the device is _not_ listed in k3b if started as user. The
> internal CD writer is, so probably I can write here, because before,
> this wasn't even listed ...
Hi,
I have a NEC's DVD writer and it works.
[1] /var/log/dmesg
(...)
Probing IDE interface ide1...
hdc: _NEC DVD_RW ND-3500AG, ATAPI CD/DVD-ROM drive
ide1 at 0x170-0x177,0x376 on irq 15
(...)
[2] modprobe ide_cd
(...)
hdc: ATAPI 48X DVD-ROM DVD-R CD-R/RW drive, 2048kB Cache, UDMA(33)
Uniform CD-ROM driver Revision: 3.20
(...)
[3] k3b lists it and works.
# uname -a
Linux vmx 2.6.10 #1 Fri Oct 29 19:24:27 CEST 2004 i686
Celeron_(Coppermine) unknown PLD Linux
# groups
users disk wheel proc audio video
# la /dev/hdc*
brw-rw---- 1 root disk 22, 0 2004-07-16 08:16 /dev/hdc
^ permalink raw reply [flat|nested] 13+ messages in thread