旧 hppa c3000 上的 Linux,找到了 DVD IDE..但不可用

旧 hppa c3000 上的 Linux,找到了 DVD IDE..但不可用

我在 HPPA C3000 上运行 Debian SID,HPPA C3000 是 HP 的一个非常旧的工作站。我有这个问题,ide cd-drom 驱动器似乎可以被识别,但没有创建设备。 DVD 被识别:

dmesg |grep -i dvd
[   34.066904] ata1.00: ATAPI: ATAPI   DVD+RW 4X4X12, B1GY, max UDMA/33

但没有创建任何设备!

cdrecord -scanbus
wodim: No such file or directory. 
Cannot open SCSI driver!
For possible targets try 'wodim --devices' or 'wodim -scanbus'.
For possible transport specifiers try 'wodim dev=help'.
For IDE/ATAPI devices configuration, see the file README.ATAPI.setup from
the wodim documentation.

lsblk 
NAME                      MAJ:MIN RM  SIZE RO TYPE MOUNTPOINTS
sda                         8:0    0 33.9G  0 disk 
├─sda1                      8:1    0   47M  0 part 
├─sda2                      8:2    0  238M  0 part /boot
├─sda3                      8:3    0    1K  0 part 
└─sda5                      8:5    0 33.6G  0 part 
  ├─virtualehp--vg-root   254:0    0 19.3G  0 lvm  /
  ├─virtualehp--vg-swap_1 254:1    0  7.6G  0 lvm  [SWAP]
  └─virtualehp--vg-home   254:2    0 26.7G  0 lvm  /home
sdb                         8:16   0 33.9G  0 disk 
└─sdb1                      8:17   0 33.9G  0 part 
  ├─virtualehp--vg-root   254:0    0 19.3G  0 lvm  /
  └─virtualehp--vg-home   254:2    0 26.7G  0 lvm  /home

我尝试 modbprobe pata_legacy 并且机器进入内核恐慌。

edit1:检查 dmesg 我看到错误..

[   33.796107] ata1.01: NODEV after polling detection
[   34.013598] ata1.00: ATAPI: ATAPI   DVD+RW 4X4X12, B1GY, max UDMA/33
[   34.406471] ata1.00: TEST_UNIT_READY failed (err_mask=0x2)
[   39.052104] ata1.01: NODEV after polling detection
[   39.056528] ata1.00: NODEV after polling detection
[   39.056554] ata1.00: revalidation failed (errno=-2)
[   44.428058] ata1.01: NODEV after polling detection
[   44.432542] ata1.00: NODEV after polling detection
[   44.432569] ata1.00: revalidation failed (errno=-2)
[   44.491070] ata1.00: disabled

我的单位失败了吗?

答案1

找到解决方案。 c3000手册(主要指HPUX,而不是Linux)报告为cd-rom ide设置“电缆选择”。但是,如果我设置为电缆选择,则会在第一篇文章中报告错误并且不起作用。我把它设置为master,然后..

dmesg |grep -i ata
[    0.000000] Memory: 728K/8388608K available (13700K kernel code, 5256K rwdata, 1893K rodata, 2048K init, 984K bss, 212324K reserved, 0K cma-reserved)
[   29.712572] Write protected read-only-after-init data: 116k
[   32.558034] libata alternatives: applied 3 out of 3 patches
[   33.122243] libata version 3.00 loaded.
[   33.129506] pata_ns87415 alternatives: applied 1 out of 1 patches
[   33.306191] pata_ns87415 0000:00:0e.0: version 0.0.1
[   33.316422] scsi host0: pata_ns87415
[   33.449893] scsi host1: pata_ns87415
[   33.496606] ata1: PATA max MWDMA2 cmd 0xf00 ctl 0xe00 bmdma 0xa00 irq 7
[   33.575968] ata2: PATA max MWDMA2 cmd 0xd00 ctl 0xb00 bmdma 0xa08 irq 7
[   33.832593] ata1.01: NODEV after polling detection
[   33.841220] ata1.00: ATAPI: ATAPI   DVD+RW 4X4X12, B1GY, max UDMA/33
[   39.050358] scsi 0:0:0:0: CD-ROM            ATAPI    DVD+RW 4X4X12    B1GY PQ: 0 ANSI: 5
[   49.018426] EXT4-fs (dm-0): mounted filesystem with ordered data mode. Opts: (null). Quota mode: none.
[   80.547073] EXT4-fs (dm-2): mounted filesystem with ordered data mode. Opts: (null). Quota mode: none.

ls /dev/sr0 
/dev/sr0

cd-info 和 lsblk 报告驱动器。所以找到了解决方案。

相关内容