LINUX.ORG.RU

RW & IDE-SCSI и еще parport. HEELP!!!


0

0

Помогите пожалуйста. Я начал изучать LINUX и после некоторых экспериментов сам не заметил, как пропал мой пишуший сидюк TEAC. Он теперь не ловится ни как hdc(где он был раньше) ни как scd0 (hdc->scd0). Логи загрузки ядра: Основное мое подозрение - неправильно скомпилил ядро, впрочем это у меня и с ядром 2.4.2 И с 2.4.7, так что может и не ядро. Подскажите, что конфигурировать, где искать. Вообще, как положено привинчивать ATAPI писалки к linux-у через SCSI эмуляцию по шагам (т.е. хочется пройти весь путь, и увидеть где ляп).

Лог загрузки ядра (кстати, как правильно отконфигурировать parport, ато он тут ругается):

...по порядку ГЛЮК С LPT: Winbond unknown chip type SMSC Super-IO detection, now testing Ports 2F0, 370 ... 0x378: FIFO is 16 bytes 0x378: writeIntrThreshold is 9 0x378: readIntrThreshold is 9 0x378: PWord is 8 bits 0x378: Interrupts are ISA-Pulses 0x378: ECP port cfgA=0x10 cfgB=0x40 !!!>0x378: ECP settings irq=<none or set by other means> dma=<none or set by other means> parport0: PC-style at 0x378 (0x778) [PCSPP,TRISTATE,COMPAT,ECP] parport0: irq 7 detected parport0: cpp_daisy: aa5500ff(88) parport0: assign_addrs: aa5500ff(88) parport0: Printer, Hewlett-Packard HP LaserJet 5L i2c-core.o: i2c core module ... Serial driver version 5.05c (2001-07-08) with MANY_PORTS SHARE_IRQ SERIAL_PCI ISAPNP enabled ttyS01 at 0x02f8 (irq = 3) is a 16550A lp0: using parport0 (polling). i810_rng hardware driver 0.9.6 loaded ... !!!>plip: parport0 has no IRQ. Using IRQ-less mode,which is fairly inefficient! plip0: Parallel port at 0x378, not using IRQ.

...ГЛЮК С CD-RW

PIIX4: not 100% native mode: will probe irqs later ide0: BM-DMA at 0xb800-0xb807, BIOS settings: hda:DMA, hdb:pio ide1: BM-DMA at 0xb808-0xb80f, BIOS settings: hdc:DMA, hdd:DMA hda: IBM-DTLA-307015, ATA DISK drive !>hdc: CD-W512EB, ATAPI CD/DVD-ROM drive hdd: CD-540E, ATAPI CD/DVD-ROM drive ide0 at 0x1f0-0x1f7,0x3f6 on irq 14 ide1 at 0x170-0x177,0x376 on irq 15 hda: 30003120 sectors (15362 MB) w/1916KiB Cache, CHS=1867/255/63, UDMA(100) hdd: ATAPI 40X CD-ROM drive, 128kB Cache, UDMA(33) Uniform CD-ROM driver Revision: 3.12 Partition check: hda: hda1 < hda5 hda6 hda7 > hda2 hda3 hda4 Floppy drive(s): fd0 is 1.44M ... [drm] Initialized i810 1.1.0 20000928 on minor 63 SCSI subsystem driver Revision: 1.00 PCI: Found IRQ 9 for device 01:0d.0 !>ahc_pci:1:13:0: Host Adapter Bios disabled(его и нет вовсе). Using default SCSI device parameters !вот мой AIC>scsi0 : Adaptec AIC7XXX EISA/VLB/PCI SCSI HBA DRIVER, Rev 6.1.13 <Adaptec aic7850 SCSI adapter> aic7850: Single Channel A, SCSI Id=7, 3/255 SCBs

Vendor: SCANNER Model: Rev: 2.00 Type: Scanner ANSI SCSI revision: 01 CCS !!!вот эмулятор SCSI-ATAPI>scsi1 : SCSI host adapter emulation for IDE ATAPI devices !!!вот присутствие железки> Vendor: TEAC Model: CD-W512EB Rev: 2.0E Type: CD-ROM ANSI SCSI revision: 02 Attached scsi generic sg0 at scsi0, channel 0, id 1, lun 0, type 6 Creative EMU10K1 PCI Audio Driver, version 0.7, 04:26:22 Jul 27 2001 ЭЭЭЭЙЙ!!! А ГДЕ "Attached scsi scd0 at scsi1..."??? АА??? Что с этим делать? Ну вот и результат: ...

Adding Swap: 297192k swap-space (priority -1) MSDOS FS: Using codepage 866 MSDOS FS: IO charset koi8-r MSDOS FS: Using codepage 866 MSDOS FS: IO charset koi8-r MSDOS FS: Using codepage 866 MSDOS FS: IO charset koi8-r mtrr: no MTRR for f8000000,2000000 found ide-scsi: hdc: unsupported command in request queue (0) end_request: I/O error, dev 16:00 (hdc), sector 0 ide-scsi: hdc: unsupported command in request queue (0) end_request: I/O error, dev 16:00 (hdc), sector 0 ide-scsi: hdc: unsupported command in request queue (0) end_request: I/O error, dev 16:00 (hdc), sector 2 ide-scsi: hdc: unsupported command in request queue (0) end_request: I/O error, dev 16:00 (hdc), sector 4 ide-scsi: hdc: unsupported command in request queue (0) end_request: I/O error, dev 16:00 (hdc), sector 6 ide-scsi: hdc: unsupported command in request queue (0) end_request: I/O error, dev 16:00 (hdc), sector 8 ide-scsi: hdc: unsupported command in request queue (0) end_request: I/O error, dev 16:00 (hdc), sector 10 ide-scsi: hdc: unsupported command in request queue (0) end_request: I/O error, dev 16:00 (hdc), sector 12 ide-scsi: hdc: unsupported command in request queue (0) end_request: I/O error, dev 16:00 (hdc), sector 14 ide-scsi: hdc: unsupported command in request queue (0) end_request: I/O error, dev 16:00 (hdc), sector 0 ide-scsi: hdc: unsupported command in request queue (0) end_request: I/O error, dev 16:00 (hdc), sector 0 ide-scsi: hdc: unsupported command in request queue (0) end_request: I/O error, dev 16:00 (hdc), sector 2 ide-scsi: hdc: unsupported command in request queue (0) end_request: I/O error, dev 16:00 (hdc), sector 4 ide-scsi: hdc: unsupported command in request queue (0) end_request: I/O error, dev 16:00 (hdc), sector 6 ide-scsi: hdc: unsupported command in request queue (0) end_request: I/O error, dev 16:00 (hdc), sector 8 ide-scsi: hdc: unsupported command in request queue (0) end_request: I/O error, dev 16:00 (hdc), sector 10 ide-scsi: hdc: unsupported command in request queue (0) end_request: I/O error, dev 16:00 (hdc), sector 12 ide-scsi: hdc: unsupported command in request queue (0) end_request: I/O error, dev 16:00 (hdc), sector 14 VFS: Disk change detected on device ide1(22,64)

:-( Железо - CUSL2, P!!!, AIC, Live!, DTLA, ATAPI-CD, ATAPI-RW


P.S. Простите, тут форум как-то глюкает - CR-LF фильтрует :-(

Сразу попрошу обращать внимание на строчки в логе, отмеченные:

"!>" или "!!!>" или "!!!вот здесь непонятка>"

ZZT
() автор топика

Перебиты ентеры в "User line breaks"-моде.

...по порядку ГЛЮК С LPT: Winbond unknown chip type SMSC Super-IO detection, now testing Ports 2F0, 370 ... 0x378: FIFO is 16 bytes 0x378: writeIntrThreshold is 9 0x378: readIntrThreshold is 9 0x378: PWord is 8 bits 0x378: Interrupts are ISA-Pulses 0x378: ECP port cfgA=0x10 cfgB=0x40
!!!>0x378: ECP settings irq=<none or set by other means> dma=<none or set by other means> parport0: PC-style at 0x378 (0x778) [PCSPP,TRISTATE,COMPAT,ECP] parport0: irq 7 detected parport0: cpp_daisy: aa5500ff(88) parport0: assign_addrs: aa5500ff(88) parport0: Printer, Hewlett-Packard HP LaserJet 5L i2c-core.o: i2c core module ... Serial driver version 5.05c (2001-07-08) with MANY_PORTS SHARE_IRQ SERIAL_PCI ISAPNP enabled ttyS01 at 0x02f8 (irq = 3) is a 16550A lp0: using parport0 (polling). i810_rng hardware driver 0.9.6 loaded ...
!!!>plip: parport0 has no IRQ. Using IRQ-less mode,which is fairly inefficient! plip0: Parallel port at 0x378, not using IRQ.

...ГЛЮК С CD-RW

PIIX4: not 100% native mode: will probe irqs later ide0: BM-DMA at 0xb800-0xb807, BIOS settings: hda:DMA, hdb:pio ide1: BM-DMA at 0xb808-0xb80f, BIOS settings: hdc:DMA, hdd:DMA hda: IBM-DTLA-307015, ATA DISK drive
!>hdc: CD-W512EB, ATAPI CD/DVD-ROM drive hdd: CD-540E, ATAPI CD/DVD-ROM drive ide0 at 0x1f0-0x1f7,0x3f6 on irq 14 ide1 at 0x170-0x177,0x376 on irq 15 hda: 30003120 sectors (15362 MB) w/1916KiB Cache, CHS=1867/255/63, UDMA(100) hdd: ATAPI 40X CD-ROM drive, 128kB Cache, UDMA(33) Uniform CD-ROM driver Revision: 3.12 Partition check: hda: hda1 < hda5 hda6 hda7 > hda2 hda3 hda4 Floppy drive(s): fd0 is 1.44M ... [drm] Initialized i810 1.1.0 20000928 on minor 63 SCSI subsystem driver Revision: 1.00 PCI: Found IRQ 9 for device 01:0d.0
!>ahc_pci:1:13:0: Host Adapter Bios disabled(его и нет вовсе). Using default SCSI device parameters
!вот мой AIC>scsi0 : Adaptec AIC7XXX EISA/VLB/PCI SCSI HBA DRIVER, Rev 6.1.13 <Adaptec aic7850 SCSI adapter> aic7850: Single Channel A, SCSI Id=7, 3/255 SCBs

Vendor: SCANNER Model: Rev: 2.00 Type: Scanner ANSI SCSI revision: 01 CCS
!!!вот эмулятор SCSI-ATAPI>scsi1 : SCSI host adapter emulation for IDE ATAPI devices
!!!вот присутствие железки> Vendor: TEAC Model: CD-W512EB Rev: 2.0E Type: CD-ROM ANSI SCSI revision: 02
Attached scsi generic sg0 at scsi0, channel 0, id 1, lun 0, type 6
Creative EMU10K1 PCI Audio Driver, version 0.7, 04:26:22 Jul 27 2001
ЭЭЭЭЙЙ!!! А ГДЕ "Attached scsi scd0 at scsi1..."??? АА??? Что с этим делать?

Ну вот и результат: ...

Adding Swap: 297192k swap-space (priority -1) MSDOS FS: Using codepage 866 MSDOS FS: IO charset koi8-r MSDOS FS: Using codepage 866 MSDOS FS: IO charset koi8-r MSDOS FS: Using codepage 866 MSDOS FS: IO charset koi8-r mtrr: no MTRR for f8000000,2000000 found ide-scsi: hdc: unsupported command in request queue (0) end_request: I/O error, dev 16:00 (hdc), sector 0 ide-scsi: hdc: unsupported command in request queue (0) end_request: I/O error, dev 16:00 (hdc), sector 0 ide-scsi: hdc: unsupported command in request queue (0) end_request: I/O error, dev 16:00 (hdc), sector 2 ide-scsi: hdc: unsupported command in request queue (0) end_request: I/O error, dev 16:00 (hdc), sector 4 ide-scsi: hdc: unsupported command in request queue (0) end_request: I/O error, dev 16:00 (hdc), sector 6 ide-scsi: hdc: unsupported command in request queue (0) end_request: I/O error, dev 16:00 (hdc), sector 8 ide-scsi: hdc: unsupported command in request queue (0) end_request: I/O error, dev 16:00 (hdc), sector 10 ide-scsi: hdc: unsupported command in request queue (0) end_request: I/O error, dev 16:00 (hdc), sector 12 ide-scsi: hdc: unsupported command in request queue (0) end_request: I/O error, dev 16:00 (hdc), sector 14 ide-scsi: hdc: unsupported command in request queue (0) end_request: I/O error, dev 16:00 (hdc), sector 0 ide-scsi: hdc: unsupported command in request queue (0) end_request: I/O error, dev 16:00 (hdc), sector 0 ide-scsi: hdc: unsupported command in request queue (0) end_request: I/O error, dev 16:00 (hdc), sector 2 ide-scsi: hdc: unsupported command in request queue (0) end_request: I/O error, dev 16:00 (hdc), sector 4 ide-scsi: hdc: unsupported command in request queue (0) end_request: I/O error, dev 16:00 (hdc), sector 6 ide-scsi: hdc: unsupported command in request queue (0) end_request: I/O error, dev 16:00 (hdc), sector 8 ide-scsi: hdc: unsupported command in request queue (0) end_request: I/O error, dev 16:00 (hdc), sector 10 ide-scsi: hdc: unsupported command in request queue (0) end_request: I/O error, dev 16:00 (hdc), sector 12 ide-scsi: hdc: unsupported command in request queue (0) end_request: I/O error, dev 16:00 (hdc), sector 14 VFS: Disk change detected on device ide1(22,64)

:-( Железо - CUSL2, P!!!, AIC, Live!, DTLA, ATAPI-CD, ATAPI-RW

ZZT
() автор топика

> Подскажите, что конфигурировать, где искать. Вообще, как положено привинчивать ATAPI писалки к linux-у через SCSI эмуляцию по шагам (т.е. хочется пройти весь путь, и увидеть где ляп).

Речь не мальчика, но мужа ;-))) (не наезд!!!)

Пошаговая инструкция содержится в CD-Writing HOWTO (сам он лежит в районе /usr/doc/HOWTO, если при установке выбрал документацию либо на www.linuxdoc.org (англ.) или на этом сервере (возможно, что и на русском языке)).

Кстати, судя по логу, писать болванки уже можно (ибо sg0 есть). И для начала попробуй без лишнего железа: SCSI-контроллера и сканера.

Obidos ★★★★★
()
Вы не можете добавлять комментарии в эту тему. Тема перемещена в архив.