SCSI-Emulation --> Systemabsturz beim Mounten
SCSI-Emulation --> Systemabsturz beim Mounten
moin moin,
um einen IDE-Brenner zum Laufen zu bringen
habe ich mit modconf das ide-scsi modul eingebunden, die Zeile
append="hdd=ide-scsi" in lilo.conf eingefügt, lilo ausgeführt und neu gebootet.
Wenn ich das Laufwerk hdd bzw jetzt scd0 mit
debian:/home/bl# mount /dev/scd0 /mnt/cdrw
mounten will, hängt sich das System vollständig auf und ist nur noch durch die Resettaste zu lösen.
Audio CDs funktionieren ohne Probleme.
Weiss jemand woran das liegen könnte?
Danke
Gruss Blaubär
======================
ich benutzt Debian3.0r1 Kernel 2.4.18-bf2.4
hier noch ein paar Reaktionen des Systems:
1)
debian:/home/bl# cat /proc/scsi/scsi
Attached devices:
Host: scsi0 Channel: 00 Id: 00 Lun: 00
Vendor: TEAC Model: CD-W54E Rev: 1.1B
Type: CD-ROM
2)
debian:/home/bl# dmesg | less | grep scsi
Kernel command line: BOOT_IMAGE=DebianGNU/Linux ro root=305 hdd=ide-scsi
ide_setup: hdd=ide-scsi
request_module[scsi_hostadapter]: Root fs not mounted
request_module[scsi_hostadapter]: Root fs not mounted
i2o_scsi.c: Version 0.0.1
scsi0 : SCSI host adapter emulation for IDE ATAPI devices
Attached scsi CD-ROM sr0 at scsi0, channel 0, id 0, lun 0
sr0: scsi3-mmc drive: 32x/32x writer cd/rw xa/form2 cdda tray
3)
debian:/home/bl# cdrecord --scanbus
Cdrecord 1.10 (i686-pc-linux-gnu) Copyright (C) 1995-2001 Jörg Schilling
Linux sg driver version: 3.1.22
Using libscg version 'schily-0.5'
scsibus0:
0,0,0 0) 'TEAC ' 'CD-W54E ' '1.1B' 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) *
um einen IDE-Brenner zum Laufen zu bringen
habe ich mit modconf das ide-scsi modul eingebunden, die Zeile
append="hdd=ide-scsi" in lilo.conf eingefügt, lilo ausgeführt und neu gebootet.
Wenn ich das Laufwerk hdd bzw jetzt scd0 mit
debian:/home/bl# mount /dev/scd0 /mnt/cdrw
mounten will, hängt sich das System vollständig auf und ist nur noch durch die Resettaste zu lösen.
Audio CDs funktionieren ohne Probleme.
Weiss jemand woran das liegen könnte?
Danke
Gruss Blaubär
======================
ich benutzt Debian3.0r1 Kernel 2.4.18-bf2.4
hier noch ein paar Reaktionen des Systems:
1)
debian:/home/bl# cat /proc/scsi/scsi
Attached devices:
Host: scsi0 Channel: 00 Id: 00 Lun: 00
Vendor: TEAC Model: CD-W54E Rev: 1.1B
Type: CD-ROM
2)
debian:/home/bl# dmesg | less | grep scsi
Kernel command line: BOOT_IMAGE=DebianGNU/Linux ro root=305 hdd=ide-scsi
ide_setup: hdd=ide-scsi
request_module[scsi_hostadapter]: Root fs not mounted
request_module[scsi_hostadapter]: Root fs not mounted
i2o_scsi.c: Version 0.0.1
scsi0 : SCSI host adapter emulation for IDE ATAPI devices
Attached scsi CD-ROM sr0 at scsi0, channel 0, id 0, lun 0
sr0: scsi3-mmc drive: 32x/32x writer cd/rw xa/form2 cdda tray
3)
debian:/home/bl# cdrecord --scanbus
Cdrecord 1.10 (i686-pc-linux-gnu) Copyright (C) 1995-2001 Jörg Schilling
Linux sg driver version: 3.1.22
Using libscg version 'schily-0.5'
scsibus0:
0,0,0 0) 'TEAC ' 'CD-W54E ' '1.1B' 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) *
hallo am board.. ;-7
was sagen die logfiles /var/log/messages und /var/log/syslog ?
welche hardware verwendest du?
was sagen die logfiles /var/log/messages und /var/log/syslog ?
welche hardware verwendest du?
[..] Linux is not a code base. Or a distro. Or a kernel. It's an attitude. And it's not about Open Source. It's about a bunch of people who still think vi is a good config UI. - Matt's reply on ESR's cups/ui rant
hi chimaera,
meine /var/log/messageses sagt folgendes:
Feb 20 14:53:23 debian kernel: scsi0 : SCSI host adapter emulation for IDE ATAPI devices
Feb 20 14:53:23 debian kernel: Vendor: TEAC Model: CD-W54E Rev: 1.1B
Feb 20 14:53:23 debian kernel: Type: CD-ROM ANSI SCSI revision: 02
Feb 20 14:53:23 debian kernel: Attached scsi CD-ROM sr0 at scsi0, channel 0, id 0, lun 0
Feb 20 14:53:23 debian kernel: sr0: scsi3-mmc drive: 32x/32x writer cd/rw xa/form2 cdda tray
ich weiss jetzt nicht genau, was für Infos genau wichtig sind und welche Hardware du meinst.
Gruss Blaubär
meine /var/log/messageses sagt folgendes:
Feb 20 14:53:23 debian kernel: scsi0 : SCSI host adapter emulation for IDE ATAPI devices
Feb 20 14:53:23 debian kernel: Vendor: TEAC Model: CD-W54E Rev: 1.1B
Feb 20 14:53:23 debian kernel: Type: CD-ROM ANSI SCSI revision: 02
Feb 20 14:53:23 debian kernel: Attached scsi CD-ROM sr0 at scsi0, channel 0, id 0, lun 0
Feb 20 14:53:23 debian kernel: sr0: scsi3-mmc drive: 32x/32x writer cd/rw xa/form2 cdda tray
ich weiss jetzt nicht genau, was für Infos genau wichtig sind und welche Hardware du meinst.
Gruss Blaubär
steht in den logfiles etwas ungewöhnliches, errors?
welches mainboard, welche chipsätze hast du, wo sind die cd-geräte angeschlossen?
welches mainboard, welche chipsätze hast du, wo sind die cd-geräte angeschlossen?
[..] Linux is not a code base. Or a distro. Or a kernel. It's an attitude. And it's not about Open Source. It's about a bunch of people who still think vi is a good config UI. - Matt's reply on ESR's cups/ui rant
hi chimaera,
bei mir sind 2 CD Laufwerke am 2.IDE Controller angeschlossen. Cdrom auf hdc und cdrw auf hdd. Ohne die SCSI Emulation funktionieren beite einwandfrei. Erst mit der Emulation für hdd auf scd0 bekomme ich beim mounten ein Systemfreeze. Audio CDs lassen sich in hdd bzw. jetz scd0 problemlos abspielen.
Gruss Blaubär
Mainboard:
The S30 System is an AMD K7 platform This platform consist of the following building blocks:
S30 planar: Outsourced from Anigma, with K7 S2K FSB Bus and AMD Irongate/Viper chipset, AGP 2X slot, PC-100 memory architecture.
K7 500 to 850 CPU
PC-100 Memory
AGP-2X card
Chipsatz:
Core Chipset
AMD-751 Irongate North bridge
AMD-756 Viper South bridge
Software Drivers: Optimized driver support for Microsoft Windows 98 and Windows 2000. Earlier Windows operating systems must also run and not display cautions, or warnings (no Device Manager SPLATS!).
AGP 2X
UDMA33/66
Fehler in /var/log/messages:
Fehler sind aber von gestern. Vom heutigen Datum gibt es keine Fehler obwohl mir das System mehrmals beim mountversuch eingefroren ist.
Feb 19 17:21:23 debian kernel: end_request: I/O error, dev 16:40 (hdd), sector 64
Feb 19 17:21:23 debian kernel: isofs_read_super: bread failed, dev=16:40, iso_blknum=16, block=32
Feb 19 17:22:10 debian kernel: end_request: I/O error, dev 16:40 (hdd), sector 64
Feb 19 17:22:10 debian kernel: isofs_read_super: bread failed, dev=16:40, iso_blknum=16, block=32
Feb 19 17:23:09 debian kernel: end_request: I/O error, dev 16:40 (hdd), sector 64
Feb 19 17:23:09 debian kernel: isofs_read_super: bread failed, dev=16:40, iso_blknum=16, block=32
Feb 19 17:24:04 debian kernel: end_request: I/O error, dev 16:40 (hdd), sector 64
Feb 19 17:24:04 debian kernel: isofs_read_super: bread failed, dev=16:40, iso_blknum=16, block=32
Feb 19 17:26:16 debian kernel: end_request: I/O error, dev 16:40 (hdd), sector 64
Feb 19 17:26:16 debian kernel: isofs_read_super: bread failed, dev=16:40, iso_blknum=16, block=32
Feb 19 17:32:34 debian syslogd 1.4.1#10: restart.
bei mir sind 2 CD Laufwerke am 2.IDE Controller angeschlossen. Cdrom auf hdc und cdrw auf hdd. Ohne die SCSI Emulation funktionieren beite einwandfrei. Erst mit der Emulation für hdd auf scd0 bekomme ich beim mounten ein Systemfreeze. Audio CDs lassen sich in hdd bzw. jetz scd0 problemlos abspielen.
Gruss Blaubär
Mainboard:
The S30 System is an AMD K7 platform This platform consist of the following building blocks:
S30 planar: Outsourced from Anigma, with K7 S2K FSB Bus and AMD Irongate/Viper chipset, AGP 2X slot, PC-100 memory architecture.
K7 500 to 850 CPU
PC-100 Memory
AGP-2X card
Chipsatz:
Core Chipset
AMD-751 Irongate North bridge
AMD-756 Viper South bridge
Software Drivers: Optimized driver support for Microsoft Windows 98 and Windows 2000. Earlier Windows operating systems must also run and not display cautions, or warnings (no Device Manager SPLATS!).
AGP 2X
UDMA33/66
Fehler in /var/log/messages:
Fehler sind aber von gestern. Vom heutigen Datum gibt es keine Fehler obwohl mir das System mehrmals beim mountversuch eingefroren ist.
Feb 19 17:21:23 debian kernel: end_request: I/O error, dev 16:40 (hdd), sector 64
Feb 19 17:21:23 debian kernel: isofs_read_super: bread failed, dev=16:40, iso_blknum=16, block=32
Feb 19 17:22:10 debian kernel: end_request: I/O error, dev 16:40 (hdd), sector 64
Feb 19 17:22:10 debian kernel: isofs_read_super: bread failed, dev=16:40, iso_blknum=16, block=32
Feb 19 17:23:09 debian kernel: end_request: I/O error, dev 16:40 (hdd), sector 64
Feb 19 17:23:09 debian kernel: isofs_read_super: bread failed, dev=16:40, iso_blknum=16, block=32
Feb 19 17:24:04 debian kernel: end_request: I/O error, dev 16:40 (hdd), sector 64
Feb 19 17:24:04 debian kernel: isofs_read_super: bread failed, dev=16:40, iso_blknum=16, block=32
Feb 19 17:26:16 debian kernel: end_request: I/O error, dev 16:40 (hdd), sector 64
Feb 19 17:26:16 debian kernel: isofs_read_super: bread failed, dev=16:40, iso_blknum=16, block=32
Feb 19 17:32:34 debian syslogd 1.4.1#10: restart.
nun, ich kenne solche problemen mit aktuellen chipsätzen, aber nicht mit diesem relativ betagten..
hast du das problem mit beiden laufwerken?
hast du das problem mit beiden laufwerken?
[..] Linux is not a code base. Or a distro. Or a kernel. It's an attitude. And it's not about Open Source. It's about a bunch of people who still think vi is a good config UI. - Matt's reply on ESR's cups/ui rant
tja, nun sieht es so aus.
ich habe jetzt beide CD Laufwerke auf scsi emuliert, so dass jetzt gilt:
cdrom: hdc ist jetzt scd0
cdrw: hdd ist jetzt scd1
das cdrom funktioniert einwandfrei
das cdrw verhält sich leider so wie immer: Audio-CD ohne Probs, Mounten einer Daten CD -> Systemfreeze
ich habe als Zweitsystem auch mal Knoppix ausprobiert. Da wird ja per default schon für alle CD-Laufwerke eine scsi Emulation vorgenommen. Hier verhalten sich meine Laufwerke leider genauso. cdrom funzt, cdrw nicht.
Kann das denn am Lauwerk liegen??? Ohne scsi Emulation funzt es ohne Probs, auch unter Win hatte ich nie Probleme.
Gruss Blaubär
ich habe jetzt beide CD Laufwerke auf scsi emuliert, so dass jetzt gilt:
cdrom: hdc ist jetzt scd0
cdrw: hdd ist jetzt scd1
das cdrom funktioniert einwandfrei
das cdrw verhält sich leider so wie immer: Audio-CD ohne Probs, Mounten einer Daten CD -> Systemfreeze
ich habe als Zweitsystem auch mal Knoppix ausprobiert. Da wird ja per default schon für alle CD-Laufwerke eine scsi Emulation vorgenommen. Hier verhalten sich meine Laufwerke leider genauso. cdrom funzt, cdrw nicht.
Kann das denn am Lauwerk liegen??? Ohne scsi Emulation funzt es ohne Probs, auch unter Win hatte ich nie Probleme.
Gruss Blaubär
was sagt hdparm -I /dev/hdd? ist dma aktiviert? wenn ja, schalte es einmal aus: hparm -d 0 /dev/hdd
/edit
noch eine dumme frage hinteher: du hast auch einmal versucht eine andere daten-cd zu mounten? *duck*
/edit
noch eine dumme frage hinteher: du hast auch einmal versucht eine andere daten-cd zu mounten? *duck*
[..] Linux is not a code base. Or a distro. Or a kernel. It's an attitude. And it's not about Open Source. It's about a bunch of people who still think vi is a good config UI. - Matt's reply on ESR's cups/ui rant
JUPDIDUUUUUUUU!!!!
hi chimaera,
jetzt Funzt es!!
Super, vielen Dank, der Tip hat es gebracht.
hdparm musste ich erst installieren.
hdparm -I /dev/hdd sagte dann:
/dev/hdd:
ATAPI CD-ROM, with removable media
Model Number: CD-W54E
Serial Number:
Firmware Revision: 1.1B
Standards:
Configuration:
DRQ response: 50us.
Packet size: 12 bytes
Capabilities:
Cmd overlap, LBA, IORDY(can be disabled)
Overlap support: 350us to release bus.
DMA: sdma0 sdma1 sdma2 mdma0 mdma1 *mdma2
Cycle time: min=120ns recommended=120ns
PIO: pio0 pio1 pio2 pio3 pio4
Cycle time: no flow control=120ns IORDY flow control=120ns
hdparm -d 0 /dev/hdd liefert folgendes:
/dev/hdd:
setting using_dma to 0 (off)
using_dma = 0 (off)
Was ist denn eigentlich dieses DMA?
Gruss Blaubär
hi chimaera,
jetzt Funzt es!!
Super, vielen Dank, der Tip hat es gebracht.
hdparm musste ich erst installieren.
hdparm -I /dev/hdd sagte dann:
/dev/hdd:
ATAPI CD-ROM, with removable media
Model Number: CD-W54E
Serial Number:
Firmware Revision: 1.1B
Standards:
Configuration:
DRQ response: 50us.
Packet size: 12 bytes
Capabilities:
Cmd overlap, LBA, IORDY(can be disabled)
Overlap support: 350us to release bus.
DMA: sdma0 sdma1 sdma2 mdma0 mdma1 *mdma2
Cycle time: min=120ns recommended=120ns
PIO: pio0 pio1 pio2 pio3 pio4
Cycle time: no flow control=120ns IORDY flow control=120ns
hdparm -d 0 /dev/hdd liefert folgendes:
/dev/hdd:
setting using_dma to 0 (off)
using_dma = 0 (off)
Was ist denn eigentlich dieses DMA?
Gruss Blaubär
dma = direct memory access, erlaubt es dem ide-controller direkt auf den speicher zuzugreifen ohne den umweg über die cpu gehen zu müssen. das resultat ist eine drastisch reduzierte cpu-auslastung bei daten-transfers auf dem ide-bus..
[..] Linux is not a code base. Or a distro. Or a kernel. It's an attitude. And it's not about Open Source. It's about a bunch of people who still think vi is a good config UI. - Matt's reply on ESR's cups/ui rant
Code: Alles auswählen
apt-get install hwtools
/edit
noch ein nachtrag zu dma: ohne solltest du während dem brennen keine rechenintensiven prozesse anstossen (wie intensiv ist natürlich abhängig von deiner cpu..) es wäre evtl zu überlegen ob du dein brennprogramm nicht mit
Code: Alles auswählen
nice -18 <applikation>
Code: Alles auswählen
man nice
[..] Linux is not a code base. Or a distro. Or a kernel. It's an attitude. And it's not about Open Source. It's about a bunch of people who still think vi is a good config UI. - Matt's reply on ESR's cups/ui rant