Re: Mount Rainier in 2.6

Milos Prudek
2003-12-18T19:32:35Z

> Here's a patch, it's received a little testing. Let me know if it works
> for you. I'm also attaching a slightly updated cdmrw tool.

Patch applied successfully. Compilation failed. This is with the default
kernel config (2.6.0 config as shipped). The only change was changing
reiserfs from Module to built-in, and removing all other filesystems
except ext2 and reiserfs.

Here's the error:

CC [M] drivers/scsi/sr.o
drivers/scsi/sr.c:112: error: `CDC_MRW_R' undeclared here (not in a
function)
drivers/scsi/sr.c:112: error: initializer element is not constant
drivers/scsi/sr.c:112: error: (near initialization for `sr_dops.capability')
drivers/scsi/sr.c: In function `get_capabilities':
drivers/scsi/sr.c:770: error: `scsi_CDs' undeclared (first use in this
function)
drivers/scsi/sr.c:770: error: (Each undeclared identifier is reported
only once
drivers/scsi/sr.c:770: error: for each function it appears in.)
drivers/scsi/sr.c:770: error: `i' undeclared (first use in this function)
drivers/scsi/sr.c:770: error: `mrw_write' undeclared (first use in this
function)
drivers/scsi/sr.c:696: warning: unused variable `mwr_write'
make[2]: *** [drivers/scsi/sr.o] Error 1
make[1]: *** [drivers/scsi] Error 2
make: *** [drivers] Error 2

--
Milos Prudek