Le Mars 3, 2002 04:02 PM, vous avez écrit : > Le Mars 3, 2002 02:42 PM, vous avez écrit : > > В Вск, 03.03.2002, в 22:18, Marc Lijour написал: > > > Hi, > > > > > > It's a nightmare to install this guy, at least for a beginner like me. > > > > > > I do > > > $insmod paride > > > > not needed > > If I don't insmod paride first then insmod bpck6 does not work. > > > > $insmod bpck6 > > > $insmod pcd > > > > > > and then I can use it doing > > > $mount -t iso9660 /dev/pcd0 /mnt/cdrom/ > > > > > > 1. But what about having it detected automatically? I noticed that in > > > /etc/modules.devfs there is no mention of pcd device. > > > > If I understand it correctly, bpck6 is IDE adapter and pcd is IDE > > device. modules.devfs probes ide-probe-mod for IDE devices which means > > we could setup (just like for SCSI) > > > > probeall ide-probe-mod bpck6 > > > > is it possible to autodetect it during installation? If not you have to > > add the above to /etc/modules.conf yourself :( > > > > /dev/pcd* is missing, correct. So, if you add > > > > /etc/modules.conf: > > probeall ide-probe-mod bpck6 > > > > /etc/modules.devfs: > > alias /dev/pcd* pcd > > > > does it help? > > No, > I wrote both lines in the right files. > $modprobe bpck6 > continues to work but I always have to modprobe pcd manually to be able to > access the CDROM. > > I automatized the process writing this lines in /etc/modules.conf : > pre-install pcd modprobe bpck6 > pre-install pg modprobe pcd > > Then cdrecord -scanbus automatically calls pg and it loads all the others. > The same happens with xcdroast. > > But how can I do to have the pcd loaded when I issue a mount like the > following command ? > $mount -t iso9660 /dev/pcd0 /mnt/cdrom > > The 'probeall ide-probe-mod bpck6' and 'alias /dev/pcd* pcd' seems not to > be necessary. > > > Please, give also > > > > ls -l /dev/pcd* > > $ls -l /dev/pcd* > brw-rw---- 1 marc cdwriter 46, 0 Feb 10 13:59 /dev/pcd0 > brw-rw---- 1 marc cdwriter 46, 1 Feb 10 13:59 /dev/pcd1 > brw-rw---- 1 marc cdwriter 46, 2 Feb 10 13:59 /dev/pcd2 > brw-rw---- 1 marc cdwriter 46, 3 Feb 10 13:59 /dev/pcd3 > > > are they real devices or links? > > Seems to me they are real devices. bpck6 is the driver for the backpack > (model 193200). pcd comes on top of that and allows me to use the device as > /dev/pcd0 (ide). > > Module Size Used by > pg 6512 0 (autoclean) > pcd 11472 0 (unused) > bpck6 5968 2 > paride 3808 1 [pg pcd bpck6] > sg 28624 0 (autoclean) > sr_mod 14912 0 (autoclean) > ...... > > > > 2. What can I do to have it scsi-emulated in order to use cdrecord? > > > $insmod pg ; cdrecord -scanbus > > > Cdrecord 1.10 (i586-mandrake-linux-gnu) Copyright (C) 1995-2001 Jörg > > > Schilling Using libscg version 'schily-0.5' > > > scsibus0: > > > 0,0,0 0) 'TEAC ' 'CD-W58E ' '1.0A' Removable > > > CD-ROM > > > > Is loading pg enough? Then current modules.devfs has a bug. Change > > If I don't insmod pg then cdrecord -scanbus gives nothing. If I do it works > like above. > > > # Scsi generic for cd burners > > alias /dev/pg /dev/sg > > alias /dev/pg* /dev/pg > > > > into > > > > alias /dev/pg* pg > > > > and please tell if it works. > > It works fine! cdrecord -scanbus seems to have pg loaded automatically and > it gives now : > Cdrecord 1.10 (i586-mandrake-linux-gnu) Copyright (C) 1995-2001 Jörg > Schilling Linux sg driver version: 3.1.20 > Using libscg version 'schily-0.5' > scsibus0: > 0,0,0 0) 'TEAC ' 'CD-224E ' '3.7C' Removable CD-ROM > 0,1,0 1) * > 0,2,0 2) * > 0,3,0 3) * > 0,4,0 4) * > 0,5,0 5) * > 0,6,0 6) * > 0,7,0 7) * > scsibus1: > 1,0,0 100) 'TEAC ' 'CD-W58E ' '1.0A' Removable CD-ROM > 1,1,0 101) * > 1,2,0 102) * > 1,3,0 103) * > 1,4,0 104) * > 1,5,0 105) * > 1,6,0 106) * > 1,7,0 107) * > > There is two TEAC because the other one is the cdrom from my laptop which I > finally had recognized as a scsi device when I wrote hdc=ide-scsi in > /etc/lilo.conf. Now the only problem with this one is that : > $ mount -t iso9660 /dev/scd0 /mnt/cdrom/ > mount: block device /dev/scd0 is write-protected, mounting read-only > mount: wrong fs type, bad option, bad superblock on /dev/scd0, > or too many mounted file systems > > Could you help me with this one too?
It works. It seems the CD I was trying during the tests was not good. I just put a line in fstab mentionning /dev/scd0. I don't understand the purpose of all the linking made under cdroms and others.
