Newsgroup: it.comp.os.linux.iniziare
Titolo: Masterizzatore e dubbi [NewBies]

Salve a tutti.
Scusate se vi tempesto di post. ma sono un niubbo desideroso di imparare presto :-))
Da un po' di tempo ormai ho linux mdk 7.1 e finalmente mi sono deciso a settare il masterizzatore.
In un primo tempo, e quando ho eseguito l'installazione avevo il masterizzatore 
[Yamaha 8424E] (master) ed il Cd-rom [Liteon 40x] (slave) sul secondo connettore eide.
Da un paio di giorni, però, un mio amico mi ha consigliato di scambiarli: masterizzatore->slave e 
cd-rom->master [chiedo conferma a voi...].
Fatto ciò, ho deciso di iniziare ad usare il mastarizzatore.
Ho dato un'occhiata agli How-To CD-Writing e Cd-Rom ma...non riesco a ricompilare il kernel 
per aggiungere il supporto scsi.
il comando make xconfig ed anche altri infatti risponde...
[root@localhost log]# make menuconfig
make: *** No rule to make target `menuconfig'.  Stop.
[root@localhost log]# make xconfig
make: *** No rule to make target `xconfig'.  Stop.
[root@localhost log]# make mrproper
make: *** No rule to make target `mrproper'.  Stop.
[root@localhost log]# modprobe ide-scsi   
Questo invece mi crea dei problemi come si può vedere nei log sottostanti.
lo -scanbus mi riporta come scsi solo il cd-rom.
[root@localhost log]# cdrecord -scanbus
Cdrecord 1.8.1 (i686-pc-linux-gnu) Copyright (C) 1995-2000 Jörg Schilling
Using libscg version 'schily-0.1'
scsibus0:
cdrecord: Warning: controller returns wrong size for CD capabilities page.
        0,0,0     0) 'LITEON  ' 'CD-ROM LTN403   ' 'DS14' 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) *       
 
Può darsi che punti al masterizzatore ma ci sia il campo desc "vecchio"?
[root@localhost log]# tail -n 40 dmesg
ide0: BM-DMA at 0xfcf0-0xfcf7, BIOS settings: hda:pio, hdb:DMA
ide1: BM-DMA at 0xfcf8-0xfcff, BIOS settings: hdc:DMA, hdd:pio
hda: FUJITSU MPD3084AT, ATA DISK drive
hdb: FUJITSU MPD3043AT, ATA DISK drive
hdc: LTN403, ATAPI CDROM drive
hdd: YAMAHA CRW8424E, ATAPI CDROM drive
ide0 at 0x1f0-0x1f7,0x3f6 on irq 14
ide1 at 0x170-0x177,0x376 on irq 15
hda: FUJITSU MPD3084AT, 8063MB w/512kB Cache, CHS=1027/255/63
hdb: FUJITSU MPD3043AT, 4125MB w/512kB Cache, CHS=558/240/63
hdd: ATAPI 16X CD-ROM CD-R/RW drive, 4096kB Cache
Uniform CDROM driver Revision: 2.56
Floppy drive(s): fd0 is 1.44M
FDC 0 is a post-1991 82077
md driver 0.90.0 MAX_MD_DEVS=256, MAX_REAL=12
raid5: measuring checksumming speed
raid5: MMX detected, trying high-speed MMX checksum routines
   pII_mmx   :   987.171 MB/sec
   p5_mmx    :  1032.891 MB/sec
   8regs     :   801.243 MB/sec
   32regs    :   422.148 MB/sec
   using fastest function: p5_mmx (1032.891 MB/sec)
scsi : 0 hosts.
scsi : detected total.
md.c: sizeof(mdp_super_t) = 4096
Partition check:
  hda: hda1
  hdb: hdb1 hdb2 < hdb5 >
  autodetecting RAID arrays
  autorun ...
.. autorun DONE.
VFS: Mounted root (ext2 filesystem) readonly.
Freeing unused kernel memory: 72k freed
Adding Swap: 234320k swap-space (priority -1)
scsi0 : SCSI host adapter emulation for IDE ATAPI devices
scsi : 1 host.
Vendor: LITEON    Model: CD-ROM LTN403     Rev: DS14
type:   CD-ROM                             ANSI SCSI revision: 02
Detected scsi CD-ROM sr0 at scsi0, channel 0, id 0, lun 0
sr0: scsi3-mmc drive: 40x/40x cd/rw xa/form2 cdda tray      
Qui non c'ho capito nulla!!! :-((
[root@localhost log]# tail -n 40 kern.log
May 17 22:42:06 localhost kernel: ATAPI device hdd:
May 17 22:42:06 localhost kernel:   Error: Not ready -- (Sense key=0x02)
May 17 22:42:06 localhost kernel:   (reserved error code) -- (asc=0x3a, ascq=0x01)
May 17 22:42:06 localhost kernel:   The failed "Prevent/Allow Medium Removal" packet command was:
May 17 22:42:06 localhost kernel:   "1e 00 00 00 00 00 00 00 00 00 00 00 "
May 17 22:42:06 localhost kernel: end_request: I/O error, dev 02:00 (floppy), sector 0      
[root@localhost log]# tail -n 50 messages
May 17 22:42:06 localhost kernel: cdrom: open failed.
May 17 22:42:06 localhost kernel: ATAPI device hdd:
May 17 22:42:06 localhost kernel:   Error: Not ready -- (Sense key=0x02)
May 17 22:42:06 localhost kernel:   (reserved error code) -- (asc=0x3a, ascq=0x01)
May 17 22:42:06 localhost kernel:   The failed "Start Stop Unit" packet command was:
May 17 22:42:06 localhost kernel:   "1b 00 00 00 03 00 00 00 00 00 00 00 "
May 17 22:42:06 localhost kernel: cdrom: open failed.
May 17 22:42:06 localhost kernel: ATAPI device hdd:
May 17 22:42:06 localhost kernel:   Error: Not ready -- (Sense key=0x02)
May 17 22:42:06 localhost kernel:   (reserved error code) -- (asc=0x3a, ascq=0x01)
May 17 22:42:06 localhost kernel:   The failed "Prevent/Allow Medium Removal" packet command was:
May 17 22:42:06 localhost kernel:   "1e 00 00 00 00 00 00 00 00 00 00 00 "
May 17 22:42:06 localhost kernel: end_request: I/O error, dev 02:00 (floppy), sector 0
mag 17 22:58:07 localhost PAM_pwdb[1575]: (su) session opened for user root by (uid=501)
May 17 23:01:01 localhost PAM_pwdb[1599]: (su) session opened for user news by (uid=0)      
[root@localhost log]# tail -n 40 syslog
May 17 22:42:06 localhost kernel: cdrom: open failed.
May 17 22:42:06 localhost kernel: ATAPI device hdd:
May 17 22:42:06 localhost kernel:   Error: Not ready -- (Sense key=0x02)
May 17 22:42:06 localhost kernel:   (reserved error code) -- (asc=0x3a, ascq=0x01)
May 17 22:42:06 localhost kernel:   The failed "Start Stop Unit" packet command was:
May 17 22:42:06 localhost kernel:   "1b 00 00 00 03 00 00 00 00 00 00 00 "
May 17 22:42:06 localhost kernel: cdrom: open failed.
May 17 22:42:06 localhost kernel: ATAPI device hdd:
May 17 22:42:06 localhost kernel:   Error: Not ready -- (Sense key=0x02)
May 17 22:42:06 localhost kernel:   (reserved error code) -- (asc=0x3a, ascq=0x01)
May 17 22:42:06 localhost kernel:   The failed "Prevent/Allow Medium Removal" packet command was:
May 17 22:42:06 localhost kernel:   "1e 00 00 00 00 00 00 00 00 00 00 00 "
May 17 22:42:06 localhost kernel: end_request: I/O error, dev 02:00 (floppy), sector 0      
May 18 00:17:58 localhost modprobe: modprobe: Can't locate module char-major-97  
Anche questi non li capisco :-((
[root@localhost log]# tail -n 40 /etc/fstab
/dev/hdb5 / ext2 defaults 1 1
none /dev/pts devpts mode=0620 0 0
/mnt/cdrom /mnt/cdrom supermount fs=iso9660,dev=/dev/cdrom 0 0
/mnt/cdrom2 /mnt/cdrom2 supermount fs=iso9660,dev=/dev/cdrom2 0 0
/mnt/floppy /mnt/floppy supermount fs=vfat,dev=/dev/fd0 0 0
/dev/hda1 /mnt/windows vfat user,exec,umask=0 0 0
none /proc proc defaults 0 0
/dev/hdb1 swap swap defaults 0 0   
[root@localhost log]# tail -n 40 /etc/mtab
/dev/hdb5 / ext2 rw 0 0
none /proc proc rw 0 0
none /dev/pts devpts rw,mode=0620 0 0
/mnt/cdrom /mnt/cdrom supermount rw,fs=iso9660,dev=/dev/cdrom 0 0
/mnt/cdrom2 /mnt/cdrom2 supermount rw,fs=iso9660,dev=/dev/cdrom2 0 0
/mnt/floppy /mnt/floppy supermount rw,fs=vfat,dev=/dev/fd0 0 0
/dev/hda1 /mnt/windows vfat rw,nosuid,nodev,umask=0 0 0
automount(pid370) /misc autofs rw,fd=5,pgrp=370,minproto=2,maxproto=3 0 0     
Vi ho allegato i vari file per darvi le maggiori info possibile.
Sapreste aiutarmi?
Grazie
	MaoX

         0,0,0     0) 'LITEON  ' 'CD-ROM LTN403   ' 'DS14' Removable CD-ROM
può essere che all'installazione della mandrake ti abbia compilato già
kernel per emulazione scsi....prova a dare un "lsmod" e se compare il
modulo "ide-cd" fai un "rmmod ide-cd" (meglio se commenti la riga in
modules.conf) e rebootti...dovrebbe vederti scsi tutti e due.
ciao

 xa/form2 cdda tray
mentre il tuo cdrom e stato settato come ide-scsi!! 
riassunto: tutto al contrario :-)
probabilmente dovuto al fatto del tuo swap di periferiche
allora
(guarda l'ora in cui sto scrivendo e conta che ho fatto 11 ore di
trattore, quindo chiedo pieta' per le eventuali cazzate)
guarda /etc/lilo.conf (se usi lilo, se usi un altro boot manager vai di
conseguenza)
se trovi una linea del tipo
append =  "hdc=ide-scsi"  la modifichi in append = "hdd=ide-scsi"
se usassi grub o chos ...... non so come si configurano ma il parametrino
hdX=ide-scsi dovrebbe esserci quindi .............. modificalo pure 
reinstalli il tuo bootmanager
ributti
enjoy your cdr (ora il cdrom sara /dev/hdc e il masterizzatore
/dev/scd0)
se vuoi un consiglio usa tutti e due i cdrom in emulazione ide-scsi( per
rippare cd audio e molto meglio :-) )
in questo caso la linea sopracitata del lilo,conf dovrebbe diventare
append = "hdd=ide-scsi hdc=ide-scsi"
il cdrom sara' scd0 (0,0,0 per cdrecord)
il cdr sara' scd1 (0,1,0 per cdrecord)
anch'io ce li ho nel tuo stesso ordine
non saprei dirti se e giusto o sbagliato ma se non ricordo male l'ideale
e averli su due canali differenti per motivi che non ricordo(ma qui vado
in zona cazzate [TACI CHE E MEGLIO] quindo la pianto)
ciau
Angelo

 Da un po' di tempo ormai ho linux mdk 7.1 e finalmente mi sono deciso a settare il masterizzatore.
Ok, sono finalmente riuscito a risolvere il mistero di cdrecord -scanbus
Per fare si che il masterizzatore [e solo lui giusto???] sia visualizzato da cdrecord -scanbus
ho modificato la stringa nel file /boot/grub/menu.lst da hdc=ide-scsi a hdd=ide-scsi
Adesso però ho un altro problema...
Innanzi tutto le directory in /mnt sono tutte sbarrocciate :-))
Infatti, /mnt/cdrom mi "punta" al masterizzatore [che ricordo essere hdd -> slave], mentre cdrom2
non funziona proprio.
Dove potrei cercare i parametri da cambiare per risolvere il problema? [Grazie!!]
Ho poi notato un altro problemone...:-((
digitando dmesg ottengo:
..[CUTTONE]
ISO 9660 Extensions: Microsoft Joliet Level 3
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
Ok, ho attivato il joliet [altrimenti butto i cd masterizzati con win :-(]
ISO 9660 Extensions: RRIP_1991A
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
Cosa è?????? Mistero?!?
ide-scsi: hdd: unsupported command in request queue (0)
end_request: I/O error, dev 16:40 (hdd), sector 64
isofs_read_super: bread failed, dev=16:40, iso_blknum=16, block=32
ide-scsi: hdd: unsupported command in request queue (0)
end_request: I/O error, dev 16:40 (hdd), sector 64
isofs_read_super: bread failed, dev=16:40, iso_blknum=16, block=32
end_request: I/O error, dev 02:00 (floppy), sector 0
ide-scsi: hdd: unsupported command in request queue (0)
end_request: I/O error, dev 16:40 (hdd), sector 64
isofs_read_super: bread failed, dev=16:40, iso_blknum=16, block=32
ide-scsi: hdd: unsupported command in request queue (0)
end_request: I/O error, dev 16:40 (hdd), sector 64
isofs_read_super: bread failed, dev=16:40, iso_blknum=16, block=32
ide-scsi: hdd: unsupported command in request queue (0)
end_request: I/O error, dev 16:40 (hdd), sector 64
isofs_read_super: bread failed, dev=16:40, iso_blknum=16, block=32
ide-scsi: hdd: unsupported command in request queue (0)
end_request: I/O error, dev 16:40 (hdd), sector 64
isofs_read_super: bread failed, dev=16:40, iso_blknum=16, block=32
ide-scsi: hdd: unsupported command in request queue (0)
end_request: I/O error, dev 16:40 (hdd), sector 64
isofs_read_super: bread failed, dev=16:40, iso_blknum=16, block=32
ide-scsi: hdd: unsupported command in request queue (0)
end_request: I/O error, dev 16:40 (hdd), sector 64
isofs_read_super: bread failed, dev=16:40, iso_blknum=16, block=32
end_request: I/O error, dev 02:00 (floppy), sector 0
ide-scsi: hdd: unsupported command in request queue (0)
end_request: I/O error, dev 16:40 (hdd), sector 64
isofs_read_super: bread failed, dev=16:40, iso_blknum=16, block=32
end_request: I/O error, dev 02:00 (floppy), sector 0
ide-scsi: hdd: unsupported command in request queue (0)
end_request: I/O error, dev 16:40 (hdd), sector 64
isofs_read_super: bread failed, dev=16:40, iso_blknum=16, block=32
ide-scsi: hdd: unsupported command in request queue (0)
end_request: I/O error, dev 16:40 (hdd), sector 64
isofs_read_super: bread failed, dev=16:40, iso_blknum=16, block=32
ide-scsi: hdd: unsupported command in request queue (0)
end_request: I/O error, dev 16:40 (hdd), sector 64
isofs_read_super: bread failed, dev=16:40, iso_blknum=16, block=32
ide-scsi: hdd: unsupported command in request queue (0)
end_request: I/O error, dev 16:40 (hdd), sector 64
isofs_read_super: bread failed, dev=16:40, iso_blknum=16, block=32
ide-scsi: hdd: unsupported command in request queue (0)
end_request: I/O error, dev 16:40 (hdd), sector 64
isofs_read_super: bread failed, dev=16:40, iso_blknum=16, block=32
ide-scsi: hdd: unsupported command in request queue (0)
end_request: I/O error, dev 16:40 (hdd), sector 64
isofs_read_super: bread failed, dev=16:40, iso_blknum=16, block=32
ide-scsi: hdd: unsupported command in request queue (0)
end_request: I/O error, dev 16:40 (hdd), sector 64
isofs_read_super: bread failed, dev=16:40, iso_blknum=16, block=32
end_request: I/O error, dev 02:00 (floppy), sector 0
ide-scsi: hdd: unsupported command in request queue (0)
end_request: I/O error, dev 16:40 (hdd), sector 64
isofs_read_super: bread failed, dev=16:40, iso_blknum=16, block=32
end_request: I/O error, dev 02:00 (floppy), sector 0
[root@localhost /sbin]# 
tutto ciò che sta qui sopra è per me buio totale...:-((
A occhio e croce, molto a occhio e croce, sembrerebbe che ide-scsi [il modulo??] e 
isofs_read_super [ignoro nella maniera + assoluta cosa sia]
cercano di interagire e comunicare con hdd (masterizzatore) e con il floppy.
Purtroppo, però, parlano 2 anzi, 4 lingue diverse e non si capiscono, 
quindi, sia ide-scsi che isofs.... lasciano perdere e conmunicano l'errore.
Il mio dilemma è ... ma che errore è?
e soprattutto ... come risolverlo?
Grazie infinite e... scusate per le continue domande.
MaoX

 Dove potrei cercare i parametri da cambiare per risolvere il problema? [Grazie!!]
in /etc/fstab
LG
-- 
*********************************************************************
Leandro Gelasi
V year Computer Science Engineering student at Siena University
gela...@lucy.dii.unisi.it
Gilles Villeneuve will live forever
*********************************************************************