Re: patch: atapi dvd-ram support

2000-11-10 Thread Hisaaki Shibata
> Or you could try the 2.4 version, as I said originally the 2.2 patch > hasn't been tested at all. It would be nice to know if that works > for you, as I may have screwed up the backport a bit. I tested on 2.4-test10 + dvd-ram-240t10p5.diff.bz2 + dvdram-ro_fix.diff env. It occured oops too

Re: patch: atapi dvd-ram support

2000-11-10 Thread Hisaaki Shibata
Or you could try the 2.4 version, as I said originally the 2.2 patch hasn't been tested at all. It would be nice to know if that works for you, as I may have screwed up the backport a bit. I tested on 2.4-test10 + dvd-ram-240t10p5.diff.bz2 + dvdram-ro_fix.diff env. It occured oops too :-(.

Re: patch: atapi dvd-ram support

2000-10-31 Thread Hisaaki Shibata
Hi, > > By using serial console, I get messages for you ;-) > > Thanks, now you're just one step short of being really > helpful :-). Pass it through ksymoops please, so the > addresses will map to function names + offsets. I atacched files. Is it OK? > > hdc: timeout waiting for DMA > >

Re: patch: atapi dvd-ram support

2000-10-31 Thread Hisaaki Shibata
Hi, By using serial console, I get messages for you ;-) Thanks, now you're just one step short of being really helpful :-). Pass it through ksymoops please, so the addresses will map to function names + offsets. I atacched files. Is it OK? hdc: timeout waiting for DMA ide_dmaproc:

Re: patch: atapi dvd-ram support

2000-10-30 Thread Jens Axboe
On Tue, Oct 31 2000, Hisaaki Shibata wrote: > By using serial console, I get messages for you ;-) Thanks, now you're just one step short of being really helpful :-). Pass it through ksymoops please, so the addresses will map to function names + offsets. > In case of doing "dd if=/dev/zero

Re: patch: atapi dvd-ram support

2000-10-30 Thread Hisaaki Shibata
Hello again, > > I tried the patch. > > But kernel said Oops both fdisk /dev/hdc and > > dd if=/dev/zero of=/dev/hdc bs=2048 count=1 . > > > After showing above strace message in a few seconds, kernel panic happened. > > > > I can not see some head line of Oops messages. Sorry. > > Is there

Re: patch: atapi dvd-ram support

2000-10-30 Thread Hisaaki Shibata
Hello again, I tried the patch. But kernel said Oops both fdisk /dev/hdc and dd if=/dev/zero of=/dev/hdc bs=2048 count=1 . After showing above strace message in a few seconds, kernel panic happened. I can not see some head line of Oops messages. Sorry. Is there any way for you

Re: patch: atapi dvd-ram support

2000-10-30 Thread Jens Axboe
On Tue, Oct 31 2000, Hisaaki Shibata wrote: By using serial console, I get messages for you ;-) Thanks, now you're just one step short of being really helpful :-). Pass it through ksymoops please, so the addresses will map to function names + offsets. In case of doing "dd if=/dev/zero

Re: patch: atapi dvd-ram support

2000-10-29 Thread Jens Axboe
On Sun, Oct 29 2000, Hisaaki Shibata wrote: > I tried the patch. > But kernel said Oops both fdisk /dev/hdc and > dd if=/dev/zero of=/dev/hdc bs=2048 count=1 . > After showing above strace message in a few seconds, kernel panic happened. > > I can not see some head line of Oops messages. Sorry.

Re: patch: atapi dvd-ram support

2000-10-29 Thread Jens Axboe
On Sun, Oct 29 2000, Hisaaki Shibata wrote: I tried the patch. But kernel said Oops both fdisk /dev/hdc and dd if=/dev/zero of=/dev/hdc bs=2048 count=1 . After showing above strace message in a few seconds, kernel panic happened. I can not see some head line of Oops messages. Sorry. Is

Re: patch: atapi dvd-ram support

2000-10-28 Thread Hisaaki Shibata
Thanks again. > > > Ok, does /proc/sys/dev/cdrom/info list DVD-RAM as a capability? > > CD-ROM information, Id: cdrom.c 3.12 2000/10/22 > > > > Can write DVD-RAM: 1 > > So far, so good. :-) > > Should I set any flags to permit write a DVD-RAM media ? > > No, as I said it should detect

Re: patch: atapi dvd-ram support

2000-10-28 Thread Jens Axboe
On Sun, Oct 29 2000, Hisaaki Shibata wrote: > > Ok, does /proc/sys/dev/cdrom/info list DVD-RAM as a capability? > > Yes. > I think it seems good. > > # more info > CD-ROM information, Id: cdrom.c 3.12 2000/10/22 > > Can write DVD-RAM: 1 So far, so good. > Should I set any flags to

Re: patch: atapi dvd-ram support

2000-10-28 Thread Hisaaki Shibata
Thank you, again. > On Sat, Oct 28 2000, Hisaaki Shibata wrote: > > > > But I could not mkudf nor mkext2fs to my ATAPI 9.4GB new DVD-RAM drive. > > > > > > What do you mean? What happened? strace of mke2fs of mkudf would > > > be nice to have. > > > > My system said it is not permited because

Re: patch: atapi dvd-ram support

2000-10-28 Thread Jens Axboe
On Sat, Oct 28 2000, Hisaaki Shibata wrote: > > > But I could not mkudf nor mkext2fs to my ATAPI 9.4GB new DVD-RAM drive. > > > > What do you mean? What happened? strace of mke2fs of mkudf would > > be nice to have. > > My system said it is not permited because it is read only. [snip] Ok,

Re: patch: atapi dvd-ram support

2000-10-28 Thread Hisaaki Shibata
Thanks, Axboe > > But I could not mkudf nor mkext2fs to my ATAPI 9.4GB new DVD-RAM drive. > > What do you mean? What happened? strace of mke2fs of mkudf would > be nice to have. My system said it is not permited because it is read only. execve("/sbin/mke2fs", ["/sbin/mke2fs", "/dev/hdc"], [/*

Re: patch: atapi dvd-ram support

2000-10-28 Thread Jens Axboe
On Sat, Oct 28 2000, Andre Hedrick wrote: > > This is not necessary, the ide-cd driver will set the read-only > > flag appropriately depending on the device type detected. > > This may not be the best option as the default. > If a dvd-ram is used for backup you may not always want it in RW mode.

Re: patch: atapi dvd-ram support

2000-10-28 Thread Andre Hedrick
On Sat, 28 Oct 2000, Jens Axboe wrote: > This is not necessary, the ide-cd driver will set the read-only > flag appropriately depending on the device type detected. This may not be the best option as the default. If a dvd-ram is used for backup you may not always want it in RW mode. Just a

Re: patch: atapi dvd-ram support

2000-10-28 Thread Jens Axboe
On Fri, Oct 27 2000, Andre Hedrick wrote: > hdparm -r0 /dev/hdc [snip] > That is how it is DONE! This is not necessary, the ide-cd driver will set the read-only flag appropriately depending on the device type detected. -- * Jens Axboe <[EMAIL PROTECTED]> * SuSE Labs - To unsubscribe from

Re: patch: atapi dvd-ram support

2000-10-28 Thread Jens Axboe
On Sat, Oct 28 2000, Hisaaki Shibata wrote: > I did patch 2.2.17 tree with dvd-ram-2217p17.diff.bz2. > > At that time, following patch is rejected. > I think these lines should be removed from patchs. > > @@ -1329,7 +1369,7 @@ >static > void cdrom_sleep (int time) >

Re: patch: atapi dvd-ram support

2000-10-28 Thread Jens Axboe
On Sat, Oct 28 2000, Hisaaki Shibata wrote: I did patch 2.2.17 tree with dvd-ram-2217p17.diff.bz2. At that time, following patch is rejected. I think these lines should be removed from patchs. @@ -1329,7 +1369,7 @@ static void cdrom_sleep (int time) {

Re: patch: atapi dvd-ram support

2000-10-28 Thread Jens Axboe
On Fri, Oct 27 2000, Andre Hedrick wrote: hdparm -r0 /dev/hdc [snip] That is how it is DONE! This is not necessary, the ide-cd driver will set the read-only flag appropriately depending on the device type detected. -- * Jens Axboe [EMAIL PROTECTED] * SuSE Labs - To unsubscribe from this

Re: patch: atapi dvd-ram support

2000-10-28 Thread Andre Hedrick
On Sat, 28 Oct 2000, Jens Axboe wrote: This is not necessary, the ide-cd driver will set the read-only flag appropriately depending on the device type detected. This may not be the best option as the default. If a dvd-ram is used for backup you may not always want it in RW mode. Just a

Re: patch: atapi dvd-ram support

2000-10-28 Thread Jens Axboe
On Sat, Oct 28 2000, Andre Hedrick wrote: This is not necessary, the ide-cd driver will set the read-only flag appropriately depending on the device type detected. This may not be the best option as the default. If a dvd-ram is used for backup you may not always want it in RW mode. Just

Re: patch: atapi dvd-ram support

2000-10-28 Thread Jens Axboe
On Sat, Oct 28 2000, Hisaaki Shibata wrote: But I could not mkudf nor mkext2fs to my ATAPI 9.4GB new DVD-RAM drive. What do you mean? What happened? strace of mke2fs of mkudf would be nice to have. My system said it is not permited because it is read only. [snip] Ok, does

Re: patch: atapi dvd-ram support

2000-10-28 Thread Hisaaki Shibata
Thank you, again. On Sat, Oct 28 2000, Hisaaki Shibata wrote: But I could not mkudf nor mkext2fs to my ATAPI 9.4GB new DVD-RAM drive. What do you mean? What happened? strace of mke2fs of mkudf would be nice to have. My system said it is not permited because it is read only.

Re: patch: atapi dvd-ram support

2000-10-28 Thread Jens Axboe
On Sun, Oct 29 2000, Hisaaki Shibata wrote: Ok, does /proc/sys/dev/cdrom/info list DVD-RAM as a capability? Yes. I think it seems good. # more info CD-ROM information, Id: cdrom.c 3.12 2000/10/22 Can write DVD-RAM: 1 So far, so good. Should I set any flags to permit write a

Re: patch: atapi dvd-ram support

2000-10-28 Thread Hisaaki Shibata
Thanks again. Ok, does /proc/sys/dev/cdrom/info list DVD-RAM as a capability? CD-ROM information, Id: cdrom.c 3.12 2000/10/22 Can write DVD-RAM: 1 So far, so good. :-) Should I set any flags to permit write a DVD-RAM media ? No, as I said it should detect it

Re: patch: atapi dvd-ram support

2000-10-27 Thread Andre Hedrick
hdparm -r0 /dev/hdc smsc:/proc/ide/hdc # cat model driver media MATSHITADVD-RAM LF-D210 ide-cdrom version 4.99 cdrom smsc:/proc/ide/hdc # hdparm -r0 /dev/hdc /dev/hdc: setting readonly to 0 (off) readonly = 0 (off) smsc:/ # mke2fs -b 2048 /dev/hdc -m 0 mke2fs 1.18, 11-Nov-1999 for

Re: patch: atapi dvd-ram support

2000-10-27 Thread Hisaaki Shibata
Hello I did patch 2.2.17 tree with dvd-ram-2217p17.diff.bz2. At that time, following patch is rejected. I think these lines should be removed from patchs. @@ -1329,7 +1369,7 @@ static void cdrom_sleep (int time) { - current->state =

Re: patch: atapi dvd-ram support

2000-10-27 Thread Hisaaki Shibata
Hello I did patch 2.2.17 tree with dvd-ram-2217p17.diff.bz2. At that time, following patch is rejected. I think these lines should be removed from patchs. @@ -1329,7 +1369,7 @@ static void cdrom_sleep (int time) { - current-state =

Re: patch: atapi dvd-ram support

2000-10-27 Thread Andre Hedrick
hdparm -r0 /dev/hdc smsc:/proc/ide/hdc # cat model driver media MATSHITADVD-RAM LF-D210 ide-cdrom version 4.99 cdrom smsc:/proc/ide/hdc # hdparm -r0 /dev/hdc /dev/hdc: setting readonly to 0 (off) readonly = 0 (off) smsc:/ # mke2fs -b 2048 /dev/hdc -m 0 mke2fs 1.18, 11-Nov-1999 for

Re: patch: atapi dvd-ram support

2000-10-25 Thread Jens Axboe
On Wed, Oct 25 2000, Andre Hedrick wrote: > > The optimal solution is to make the UDF tools part of the util-linux > > package, which will probably happen at some point. I don't really know, > > that part is not mine. I might put some work into making this happen, > > though. > > Andries, > >

Re: patch: atapi dvd-ram support

2000-10-25 Thread Andre Hedrick
On Wed, 25 Oct 2000, Jens Axboe wrote: > On Tue, Oct 24 2000, Jeff V. Merkey wrote: > > > Are you suggesting the tools be part of the kernel tree? If you are, I > > > don't think they belong here because they are userland tools like > > > mkisofs and the like. Nothing really related to the

Re: patch: atapi dvd-ram support

2000-10-25 Thread Jeff V. Merkey
Jens Axboe wrote: > > On Tue, Oct 24 2000, Jeff V. Merkey wrote: > > > Are you suggesting the tools be part of the kernel tree? If you are, I > > > don't think they belong here because they are userland tools like > > > mkisofs and the like. Nothing really related to the kernel. > > > > No.

Re: patch: atapi dvd-ram support

2000-10-25 Thread Jens Axboe
On Tue, Oct 24 2000, Jeff V. Merkey wrote: > > Are you suggesting the tools be part of the kernel tree? If you are, I > > don't think they belong here because they are userland tools like > > mkisofs and the like. Nothing really related to the kernel. > > No. I'm suggesting they be in the utils

Re: patch: atapi dvd-ram support

2000-10-25 Thread Jens Axboe
On Tue, Oct 24 2000, Jeff V. Merkey wrote: Are you suggesting the tools be part of the kernel tree? If you are, I don't think they belong here because they are userland tools like mkisofs and the like. Nothing really related to the kernel. No. I'm suggesting they be in the utils area of

Re: patch: atapi dvd-ram support

2000-10-25 Thread Jeff V. Merkey
Jens Axboe wrote: On Tue, Oct 24 2000, Jeff V. Merkey wrote: Are you suggesting the tools be part of the kernel tree? If you are, I don't think they belong here because they are userland tools like mkisofs and the like. Nothing really related to the kernel. No. I'm suggesting

Re: patch: atapi dvd-ram support

2000-10-25 Thread Jens Axboe
On Wed, Oct 25 2000, Andre Hedrick wrote: The optimal solution is to make the UDF tools part of the util-linux package, which will probably happen at some point. I don't really know, that part is not mine. I might put some work into making this happen, though. Andries, Jens needs a

Re: patch: atapi dvd-ram support

2000-10-24 Thread Mohammad A. Haque
I'm sorry. I completely missed the .org part there. "Jeff V. Merkey" wrote: > > No. I'm suggesting they be in the utils area of kernel.org so folks > don't have to > run all over the net locating them. I like just typing > > 'rsync ftp.kernel.org:pub/linux /home/ftp/linux' to update my

Re: patch: atapi dvd-ram support

2000-10-24 Thread Jeff V. Merkey
"Mohammad A. Haque" wrote: > > Are you suggesting the tools be part of the kernel tree? If you are, I > don't think they belong here because they are userland tools like > mkisofs and the like. Nothing really related to the kernel. No. I'm suggesting they be in the utils area of kernel.org

Re: patch: atapi dvd-ram support

2000-10-24 Thread Mohammad A. Haque
Are you suggesting the tools be part of the kernel tree? If you are, I don't think they belong here because they are userland tools like mkisofs and the like. Nothing really related to the kernel. > > Jens, > > It would be a good idea to roll these tools into the kernel.org tree so > folks

Re: patch: atapi dvd-ram support

2000-10-24 Thread Jeff V. Merkey
Jens Axboe wrote: > > On Tue, Oct 24 2000, Jeff V. Merkey wrote: > > Super!. I'll download and test it. We've had nothing but problems with > > DVD devices in 2.4. Hopefully this works. Where are the utilities for > > I beat up the 2.4 version yesterday, and it looks solid so far. The >

Re: patch: atapi dvd-ram support

2000-10-24 Thread Jens Axboe
On Tue, Oct 24 2000, Jeff V. Merkey wrote: > Super!. I'll download and test it. We've had nothing but problems with > DVD devices in 2.4. Hopefully this works. Where are the utilities for I beat up the 2.4 version yesterday, and it looks solid so far. The actual write handling is the same as

Re: patch: atapi dvd-ram support

2000-10-24 Thread Jeff V. Merkey
On Tue, Oct 24, 2000 at 04:21:12PM -0700, Jens Axboe wrote: > Hi, > > I've put up patches for 2.2 and 2.4 adding native ATAPI dvd-ram support. > The 2.2 patch is completely untested, but the 2.4 version appears to > work well. > > *.kernel.org/pub/linux/kernel/people/axboe/dvdram > > -- > *

patch: atapi dvd-ram support

2000-10-24 Thread Jens Axboe
Hi, I've put up patches for 2.2 and 2.4 adding native ATAPI dvd-ram support. The 2.2 patch is completely untested, but the 2.4 version appears to work well. *.kernel.org/pub/linux/kernel/people/axboe/dvdram -- * Jens Axboe <[EMAIL PROTECTED]> * SuSE Labs - To unsubscribe from this list: send

patch: atapi dvd-ram support

2000-10-24 Thread Jens Axboe
Hi, I've put up patches for 2.2 and 2.4 adding native ATAPI dvd-ram support. The 2.2 patch is completely untested, but the 2.4 version appears to work well. *.kernel.org/pub/linux/kernel/people/axboe/dvdram -- * Jens Axboe [EMAIL PROTECTED] * SuSE Labs - To unsubscribe from this list: send

Re: patch: atapi dvd-ram support

2000-10-24 Thread Jeff V. Merkey
On Tue, Oct 24, 2000 at 04:21:12PM -0700, Jens Axboe wrote: Hi, I've put up patches for 2.2 and 2.4 adding native ATAPI dvd-ram support. The 2.2 patch is completely untested, but the 2.4 version appears to work well. *.kernel.org/pub/linux/kernel/people/axboe/dvdram -- * Jens Axboe

Re: patch: atapi dvd-ram support

2000-10-24 Thread Jens Axboe
On Tue, Oct 24 2000, Jeff V. Merkey wrote: Super!. I'll download and test it. We've had nothing but problems with DVD devices in 2.4. Hopefully this works. Where are the utilities for I beat up the 2.4 version yesterday, and it looks solid so far. The actual write handling is the same as

Re: patch: atapi dvd-ram support

2000-10-24 Thread Jeff V. Merkey
Jens Axboe wrote: On Tue, Oct 24 2000, Jeff V. Merkey wrote: Super!. I'll download and test it. We've had nothing but problems with DVD devices in 2.4. Hopefully this works. Where are the utilities for I beat up the 2.4 version yesterday, and it looks solid so far. The actual

Re: patch: atapi dvd-ram support

2000-10-24 Thread Mohammad A. Haque
Are you suggesting the tools be part of the kernel tree? If you are, I don't think they belong here because they are userland tools like mkisofs and the like. Nothing really related to the kernel. Jens, It would be a good idea to roll these tools into the kernel.org tree so folks don't

Re: patch: atapi dvd-ram support

2000-10-24 Thread Jeff V. Merkey
"Mohammad A. Haque" wrote: Are you suggesting the tools be part of the kernel tree? If you are, I don't think they belong here because they are userland tools like mkisofs and the like. Nothing really related to the kernel. No. I'm suggesting they be in the utils area of kernel.org so

Re: patch: atapi dvd-ram support

2000-10-24 Thread Mohammad A. Haque
I'm sorry. I completely missed the .org part there. "Jeff V. Merkey" wrote: No. I'm suggesting they be in the utils area of kernel.org so folks don't have to run all over the net locating them. I like just typing 'rsync ftp.kernel.org:pub/linux /home/ftp/linux' to update my mirror for