Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
[OT] montare cdrom scsi, qui siamo alle basi (aggiornamento)
View unanswered posts
View posts from last 24 hours
View posts from last 7 days

 
Reply to topic    Gentoo Forums Forum Index Forum italiano (Italian) Forum di discussione italiano
View previous topic :: View next topic  
Author Message
Gaspyd
Apprentice
Apprentice


Joined: 21 Nov 2004
Posts: 242
Location: Brindisi, Italy

PostPosted: Tue Mar 01, 2005 2:26 pm    Post subject: [OT] montare cdrom scsi, qui siamo alle basi (aggiornamento) Reply with quote

Non riesco proprio. Ho 3 periferiche eide (mast dvd, lett dvd e mast cdrw) che funzionano perfettamente senza emulazione scsi (2.6.9su amd64) mentre non riesco a montare in nessun modo il lettore plextor scsi sull'adaptec 2940UW
Eppure nel kernel ho abilitato come moduli sr_mod e aic7xxx_old che carico all'avvio senza problemi ma tentando un mount con sr0 o scd0 ottengo sempre "non è un dispositivo di blocchi valido"
Eppure:
Code:

bash-2.05b# dmesg|grep scsi
scsi0 : sata_via
scsi1 : sata_via
Attached scsi disk sda at scsi0, channel 0, id 0, lun 0
Attached scsi disk sdb at scsi1, channel 0, id 0, lun 0
(scsi2) <Adaptec AHA-294X Ultra SCSI host adapter> found at PCI 0/14/0
(scsi2) Wide Channel, SCSI ID=7, 16/255 SCBs
(scsi2) Cables present (Int-50 YES, Int-68 NO, Ext-68 NO)
(scsi2) Downloading sequencer code... 436 instructions downloaded
scsi2 : Adaptec AHA274x/284x/294x (EISA/VLB/PCI-Fast SCSI) 5.2.6/5.2.0
scsi: Device offlined - not ready after error recovery: host 2 channel 0 id 3 lun 0
scsi2 (3:0): rejecting I/O to offline device
scsi2 (3:0): rejecting I/O to offline device
scsi2 (3:0): rejecting I/O to offline device
scsi2 (3:0): rejecting I/O to offline device
scsi2 (3:0): rejecting I/O to offline device
scsi2 (3:0): rejecting I/O to offline device
Attached scsi disk sdc at scsi2, channel 0, id 3, lun 0

Ho 2 hd sata (sda e sdb) montati in raid e questo è il mio fstab
Code:

/dev/md0                /boot           ext2            noauto,noatime          1 2
/dev/md1                /               reiserfs        noatime                 0 1
/dev/md2                /home           reiserfs        noatime                 0 1
/dev/sda4               none            swap            sw                      0 0
/dev/hda1               /mnt/xp         ntfs            noatime                 0 0
/dev/cdroms/cdrom0      /mnt/dvd        iso9660         noauto,ro,users         0 0
/dev/cdroms/cdrom1      /mnt/cdrw       iso9660         noauto,ro,users         0 0
/dev/cdroms/cdrom2      /mnt/dvdrw      iso9660         noauto,ro,users         0 0
/dev/sr0                /mnt/cdrom      iso9660         noauto,ro               0 0

Le ho provate tutte .... :(
Non solo non riesco a montare i cd sullo scsi ma mi piacerebbe utilizzare il plextor x la copia di cdaudio con cdrdao ma:
Code:
bash-2.05b# cdrdao scanbus
Cdrdao version 1.1.9 - (C) Andreas Mueller <andreas@daneb.de>
  SCSI interface library - (C) Joerg Schilling
  Paranoia DAE library - (C) Monty

Check http://cdrdao.sourceforge.net/drives.html#dt for current driver tables.

Using libscg version 'schily-0.8'

ATA:0,1,0            PIONEER , DVD-ROM DVD-106 , 1.22
ATA:1,0,0            LITE-ON , CD-RW SOHR-5238S, 4S06
ATA:1,1,0            PIONEER , DVD-RW  DVR-106D, 1.06

Niente scsi anche qui ....
Ho tentato anche compilando il supporto generico sg (anche se in teoria non dovrebbe servirmi dato che non ho un master scsi) ma senza successo.
P.S.
Per utilizzare cdrdao da utente è sufficiente aggiungere il nome utentre al gruppo cdrw in /etc/group ?
Scusate, dovrebbe essere un problema da poco e utilizzo linux da un bel pò ma non riesco prorpio a venirne fuori ... SIGH!?


Last edited by Gaspyd on Wed Mar 02, 2005 1:19 pm; edited 1 time in total
Back to top
View user's profile Send private message
fedeliallalinea
Administrator
Administrator


Joined: 08 Mar 2003
Posts: 31470
Location: here

PostPosted: Tue Mar 01, 2005 2:27 pm    Post subject: Reply with quote

Hai messo questa voce
Code:
 < >   SCSI CDROM support
:?:
_________________
Questions are guaranteed in life; Answers aren't.
Back to top
View user's profile Send private message
Gaspyd
Apprentice
Apprentice


Joined: 21 Nov 2004
Posts: 242
Location: Brindisi, Italy

PostPosted: Tue Mar 01, 2005 2:45 pm    Post subject: Reply with quote

fedeliallalinea wrote:
Hai messo questa voce
Code:
 < >   SCSI CDROM support
:?:


Certo:
Code:

--- SCSI device support                                             
  [ ]   legacy /proc/scsi/ support                                     
   ---   SCSI support type (disk, tape, CD-ROM)                         
  <*>   SCSI disk support                                             
  < >   SCSI tape support                                           
  < >   SCSI OnStream SC-x0 tape support                             
  <M>   SCSI CDROM support                                           
   [ ]     Enable vendor-specific extensions (for SCSI CDROM)         
  < >   SCSI generic support

ed è pure caricato:
Code:

darshan linux # lsmod
Module                  Size  Used by
lp                      9960  0
parport                38860  1 lp
nvidia               4050172  12
aic7xxx_old           101280  0
sr_mod                 14372  0
slhc                    7104  0
i2c_viapro              6860  0
i2c_isa                 2432  0
w83627hf               31016  2
eeprom                  8224  0
i2c_sensor              3264  2 w83627hf,eeprom
i2c_dev                10368  0
i2c_core               21336  6 i2c_viapro,i2c_isa,w83627hf,eeprom,i2c_sensor,i2c_dev
snd_pcm_oss            51816  0
snd_mixer_oss          17280  1 snd_pcm_oss
msdos                   8896  0
vfat                   12800  0
ntfs                   86144  1
udf                    79880  0
fat                    42848  2 msdos,vfat
Back to top
View user's profile Send private message
Gaspyd
Apprentice
Apprentice


Joined: 21 Nov 2004
Posts: 242
Location: Brindisi, Italy

PostPosted: Wed Mar 02, 2005 1:18 pm    Post subject: Reply with quote

Code:

darshan root # modprobe sr_mod
darshan root # modprobe aic7xxx_old
darshan root # dmesg |grep scsi
scsi0 : sata_via
scsi1 : sata_via
Attached scsi disk sda at scsi0, channel 0, id 0, lun 0
Attached scsi disk sdb at scsi1, channel 0, id 0, lun 0
(scsi2) <Adaptec AHA-294X Ultra SCSI host adapter> found at PCI 0/14/0
(scsi2) Wide Channel, SCSI ID=7, 16/255 SCBs
(scsi2) Cables present (Int-50 YES, Int-68 NO, Ext-68 NO)
(scsi2) Downloading sequencer code... 436 instructions downloaded
scsi2 : Adaptec AHA274x/284x/294x (EISA/VLB/PCI-Fast SCSI) 5.2.6/5.2.0
scsi: Device offlined - not ready after error recovery: host 2 channel 0 id 3 lun 0
scsi2 (3:0): rejecting I/O to offline device
scsi2 (3:0): rejecting I/O to offline device
scsi2 (3:0): rejecting I/O to offline device
scsi2 (3:0): rejecting I/O to offline device
scsi2 (3:0): rejecting I/O to offline device
scsi2 (3:0): rejecting I/O to offline device
Attached scsi disk sdc at scsi2, channel 0, id 3, lun 0


A quanto pare è un problema abbastanza diffuso col kernel 2.6 pare da ipotizzare all'acpi o al raid.
Ho disabilitato l'acpi sia da kernel e sia dal bios ma senza successo, ho provato anche con gentoo-dev-sources-2.6.10-r7 del ramo ~amd64 ma nisba.
Se è davvero una sorta di incompatibilità col raid ho poco da fare, di certo non posso disabilitarlo lavorando in raid0
Devo ancora capire se è solo con gentoo o questione di kernel.
Quote:

> ho hum.
>
> It just doesn't start at all:
>
> scsi HBA driver <NULL> didn't set max_sectors, please fix the template<6>(scsi0) <Adaptec AIC-7892 Ultra 160/m SCSI host adapter> found at PCI 3/4/0
> (scsi0) Wide Channel, SCSI ID=7, 32/255 SCBs
> (scsi0) Downloading sequencer code... 396 instructions downloaded
> (scsi1) <Adaptec AIC-7880 Ultra SCSI host adapter> found at PCI 0/10/0
> (scsi1) Wide Channel, SCSI ID=7, 16/255 SCBs
> (scsi1) Downloading sequencer code... 436 instructions downloaded
> scsi0 : Adaptec AHA274x/284x/294x (EISA/VLB/PCI-Fast SCSI) 5.2.6/5.2.0
> <Adaptec AIC-7892 Ultra 160/m SCSI host adapter>
> scsi: Device offlined - not ready or command retry failed after error recovery: host 0 channel 0 id 0 lun 0
> scsi: Device offlined - not ready or command retry failed after error recovery: host 0 channel 0 id 1 lun 0
> scsi: Device offlined - not ready or command retry failed after error recovery: host 0 channel 0 id 2 lun 0
> scsi: Device offlined - not ready or command retry failed after error recovery: host 0 channel 0 id 3 lun 0
> scsi: Device offlined - not ready or command retry failed after error recovery: host 0 channel 0 id 4 lun 0
> scsi: Device offlined - not ready or command retry failed after error recovery: host 0 channel 0 id 5 lun 0
> scsi: Device offlined - not ready or command retry failed after error recovery: host 0 channel 0 id 6 lun 0
> scsi: Device offlined - not ready or command retry failed after error recovery: host 0 channel 0 id 8 lun 0
>
> (The above took three minutes or more)

Interrupt routing problems is what that looks like to me, not driver
problems. Try booting with different interrupt settings or with a
different kernel (smp vs. up, that sort of thing).




Pazienza attenderò magari release future che spero risolvino il problema, nel frattempo mi rassegno a non usare il mio ultraplex su linux ma solo su win (sperando non ammuffisca viste le pochissime volte in cui avvio XP) ... :roll:
Code:
darshan root # cat /sys/bus/scsi/devices/2\:0\:3\:0/state
offline
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Forum italiano (Italian) Forum di discussione italiano All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum