[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: custom kernel can not install and ide cdrom can not be access in 2.4.2



Roberto Diaz wrote:

this is some lines after I run dmesg | less

SCSI subsystem driver Revision: 1.00
scsi0 : SCSI host adapter emulation for IDE ATAPI devices
  Vendor: TOSHIBA   Model: DVD-ROM SD-R1002  Rev: 1034
  Type:   CD-ROM                             ANSI SCSI revision: 02
Detected scsi CD-ROM sr0 at scsi0, channel 0, id 0, lun 0
sr0: scsi3-mmc drive: 24x/24x writer cd/rw xa/form2 cdda tray
Uniform CD-ROM driver Revision: 3.12
my cd is dvd-cd - cdr-cdrw combo on /dev/hda


This is what I have for my cd-burner: (IDE at hdc)

# cd recorder
options ide-cd ignore=hdc            # tell the ide-cd module to ignore hdc
alias scd0 sr_mod                    # load sr_mod upon access of scd0
pre-install sg     modprobe ide-scsi # before sg, load ide-scsi
pre-install sr_mod modprobe ide-scsi # before sr_mod, load ide-scsi


where is this (cd record) information come from?




I havent followed your thread.. but if you have enable ide-cd into your
kernel **not as a module** then you run into troubles because if you dont
pass parameters to the kernel then it is ide-cd which takes control of
your drive instead of ide-scsi.

But you say you can to burn but not to read.. strange.. could you please
give me more info?


Regards

Roberto

------------------------------------------------------------------------
Roberto Diaz <rdiazmartin@vivaldi.dhis.org>
http://vivaldi.dhis.org
Powered by GNU running on a Linux kernel.
Powered by Debian (The real wonder)

Concerto Grosso Op. 3/8 A minor
Antonio Vivaldi (so... do you need beautiful words?)
------------------------------------------------------------------------




The other information I think related with cdr or cd can be recognized is /etc/fstab

lshih:~# cat /etc/fstab

# /etc/fstab: static file system information.
#
# <file system> <mount point> <type> <options> <dump> <pass>
/dev/hdc2       /       ext2    defaults,errors=remount-ro      0       1
/dev/hdc1       none    swap    sw      0       0
proc    /proc   proc    defaults        0       0
/dev/cdrom      /cdrom  iso9660 defaults,ro,exec,user,noauto    0       0
/dev/fd0        /floppy auto    defaults,user,noauto    0       0


I also tried recompile kernel by
make-kpkg

but when I run make-kpkg  --revision=custom.1.0  kernel_image
in /usr/src/kernel-source-2.4.2
I get error


/usr/src/kernel-source-2.4.2/include/linux/interrupt.h: In function `raise_softirq': /usr/src/kernel-source-2.4.2/include/linux/interrupt.h:89: `current' undeclared (first use in this function) /usr/src/kernel-source-2.4.2/include/linux/interrupt.h: In function `tasklet_schedule': /usr/src/kernel-source-2.4.2/include/linux/interrupt.h:160: `current' undeclared (first use in this function) /usr/src/kernel-source-2.4.2/include/linux/interrupt.h: In function `tasklet_hi_schedule': /usr/src/kernel-source-2.4.2/include/linux/interrupt.h:174: `current' undeclared (first use in this function) In file included from /usr/src/kernel-source-2.4.2/include/linux/string.h:21,
               from /usr/src/kernel-source-2.4.2/include/linux/fs.h:23,
from /usr/src/kernel-source-2.4.2/include/linux/capability.h:17,
               from /usr/src/kernel-source-2.4.2/include/linux/binfmts.h:5,
from /usr/src/kernel-source-2.4.2/include/linux/sched.h:9, from /usr/src/kernel-source-2.4.2/include/linux/mm.h:4,
               from /usr/src/kernel-source-2.4.2/include/linux/slab.h:14,
               from /usr/src/kernel-source-2.4.2/include/linux/proc_fs.h:5,
               from init/main.c:15:
/usr/src/kernel-source-2.4.2/include/asm/string.h: In function `__constant_memcpy3d': /usr/src/kernel-source-2.4.2/include/asm/string.h:305: `current' undeclared (first use in this function)
/usr/src/kernel-source-2.4.2/include/asm/string.h: In function `__memcpy3d':
/usr/src/kernel-source-2.4.2/include/asm/string.h:312: `current' undeclared (first use in this function)
make[1]: *** [init/main.o] Error 1


am I missing something?  I run according doc in kpkg-package  README

hope to see any tech help

sincere
eric





Reply to: