Приводы
Модератор: Модераторы разделов
-
- Сообщения: 223
- ОС: Windows XP
Приводы
Вот такая проблема:
root@darkstar:~# mount /dev/hdd
mount: /dev/hdd is not a valid block device
root@darkstar:~#
fstab:
/dev/hdc /mnt/cd auto noauto,owner,ro,iocharset=koi8-r 0 0
/dev/hdd /mnt/dvdrw iso9660 noauto,owner,ro,iocharset=koi8-r 0 0
До этого было так:
/dev/cdrom /mnt/cd auto noauto,owner,ro,iocharset=koi8-r 0 0
/dev/hdd /mnt/dvdrw iso9660 noauto,owner,ro,iocharset=koi8-r 0 0
root@darkstar:~# mount /dev/cdrom
mount: /dev/hdd is not a valid block device
root@darkstar:~#
В одном случае не работает резак, в другом cd.
root@darkstar:~# mount /dev/hdd
mount: /dev/hdd is not a valid block device
root@darkstar:~#
fstab:
/dev/hdc /mnt/cd auto noauto,owner,ro,iocharset=koi8-r 0 0
/dev/hdd /mnt/dvdrw iso9660 noauto,owner,ro,iocharset=koi8-r 0 0
До этого было так:
/dev/cdrom /mnt/cd auto noauto,owner,ro,iocharset=koi8-r 0 0
/dev/hdd /mnt/dvdrw iso9660 noauto,owner,ro,iocharset=koi8-r 0 0
root@darkstar:~# mount /dev/cdrom
mount: /dev/hdd is not a valid block device
root@darkstar:~#
В одном случае не работает резак, в другом cd.
-
- Сообщения: 292
Re: Приводы
нее... лучше так
iso9660,udf
Ну и самое главное, у тебя же /dev/cdrom на /dev/hdd ссылается!

-
- Сообщения: 223
- ОС: Windows XP
Re: Приводы
Ну сделал такой вид:
/dev/hdc /mnt/cd auto noauto,owner,ro,iocharset=koi8-r 0 0
/dev/hdd /mnt/dvdrw iso9660,udf noauto,owner,ro,iocharset=koi8-r 0 0
Все равно не работает
/dev/hdc /mnt/cd auto noauto,owner,ro,iocharset=koi8-r 0 0
/dev/hdd /mnt/dvdrw iso9660,udf noauto,owner,ro,iocharset=koi8-r 0 0
Все равно не работает
-
- Сообщения: 892
- Статус: --==XXX==--
- ОС: Archlinux current
Re: Приводы
А почему /dev/hdd /mnt/dvdrw iso9660,udf noauto,owner,ro,iocharset=koi8-r 0 0 ???
Хотя наверное без разницы. Когда пишешь не монтируешь его.
Да и файловую систему вроде в auto можно поставить.
А что сейчас конкретно не работатет?
-
- Сообщения: 269
- ОС: SlackWare
Re: Приводы
Может у тебя в ядре отключены эти файловые системы?
-
- Сообщения: 292
Re: Приводы
Ну давай тогда поступим так.
Что показывают команды:
Что показывают команды:
- dmesg | grep hdc
- dmesg | grep hdd
- cat /proc/filesystems
-
- Сообщения: 223
- ОС: Windows XP
Re: Приводы
root@darkstar:~# dmesg | grep hdc
ide1: BM-DMA at 0xd008-0xd00f, BIOS settings: hdc:DMA, hdd:DMA
hdc: LG CD-ROM CRD-8521B, ATAPI CD/DVD-ROM drive
hdc: ATAPI 52X CD-ROM drive, 128kB Cache, DMA
root@darkstar:~# dmesg | grep hdd
Kernel command line: BOOT_IMAGE=Slackware_Linux ro root=307 noapic devfs=mount splash=sil
ent mem=nopentium console=tty12 hdc=ide-scsi
ide_setup: hdc=ide-scsi
ide1: BM-DMA at 0xd008-0xd00f, BIOS settings: hdc:DMA, hdd:DMA
hdd: SONY DVD RW DW-D22A, ATAPI CD/DVD-ROM drive
root@darkstar:~# cat /proc/filesystems
nodev sysfs
nodev rootfs
nodev bdev
nodev proc
nodev sockfs
nodev usbfs
nodev pipefs
nodev futexfs
nodev tmpfs
nodev inotifyfs
nodev eventpollfs
nodev devpts
reiserfs
ext3
ext2
nodev ramfs
msdos
vfat
iso9660
nodev autofs
udf
nodev mqueue
nodev oprofilefs
ide1: BM-DMA at 0xd008-0xd00f, BIOS settings: hdc:DMA, hdd:DMA
hdc: LG CD-ROM CRD-8521B, ATAPI CD/DVD-ROM drive
hdc: ATAPI 52X CD-ROM drive, 128kB Cache, DMA
root@darkstar:~# dmesg | grep hdd
Kernel command line: BOOT_IMAGE=Slackware_Linux ro root=307 noapic devfs=mount splash=sil
ent mem=nopentium console=tty12 hdc=ide-scsi
ide_setup: hdc=ide-scsi
ide1: BM-DMA at 0xd008-0xd00f, BIOS settings: hdc:DMA, hdd:DMA
hdd: SONY DVD RW DW-D22A, ATAPI CD/DVD-ROM drive
root@darkstar:~# cat /proc/filesystems
nodev sysfs
nodev rootfs
nodev bdev
nodev proc
nodev sockfs
nodev usbfs
nodev pipefs
nodev futexfs
nodev tmpfs
nodev inotifyfs
nodev eventpollfs
nodev devpts
reiserfs
ext3
ext2
nodev ramfs
msdos
vfat
iso9660
nodev autofs
udf
nodev mqueue
nodev oprofilefs
-
- Сообщения: 292
Re: Приводы
M@kar писал(а): ↑14.02.2006 12:38root@darkstar:~# dmesg | grep hdc
ide1: BM-DMA at 0xd008-0xd00f, BIOS settings: hdc:DMA, hdd:DMA
hdc: LG CD-ROM CRD-8521B, ATAPI CD/DVD-ROM drive
hdc: ATAPI 52X CD-ROM drive, 128kB Cache, DMA
root@darkstar:~# dmesg | grep hdd
Kernel command line: BOOT_IMAGE=Slackware_Linux ro root=307 noapic devfs=mount splash=sil
ent mem=nopentium console=tty12 hdc=ide-scsi
ide_setup: hdc=ide-scsi
ide1: BM-DMA at 0xd008-0xd00f, BIOS settings: hdc:DMA, hdd:DMA
hdd: SONY DVD RW DW-D22A, ATAPI CD/DVD-ROM drive
Ну так... Получается так, что
hdc - это просто CD
hdd - RW
При старте ядру передается hdc=ide-scsi, т.е. типа hdc - это RW

Если у тебя ядро 2.6 убери hdc=ide-scsi из /etc/lilo.conf, если 2.4 исправь на hdd=ide-scsi
-
- Сообщения: 223
- ОС: Windows XP
Re: Приводы
Теперь так :
root@darkstar:~# mount /dev/hdd
mount: wrong fs type, bad option, bad superblock on /dev/hdd,
missing codepage or other error
In some cases useful info is found in syslog - try
dmesg | tail or so
root@darkstar:~# dmesg | grep hdc
ide1: BM-DMA at 0xd008-0xd00f, BIOS settings: hdc:DMA, hdd:DMA
hdc: LG CD-ROM CRD-8521B, ATAPI CD/DVD-ROM drive
hdc: ATAPI 52X CD-ROM drive, 128kB Cache, DMA
root@darkstar:~# dmesg | grep hdd
ide1: BM-DMA at 0xd008-0xd00f, BIOS settings: hdc:DMA, hdd:DMA
hdd: SONY DVD RW DW-D22A, ATAPI CD/DVD-ROM drive
hdd: ATAPI 12X DVD-ROM DVD-R CD-R/RW drive, 2048kB Cache, UDMA(33)
hdd: command error: status=0x51 { DriveReady SeekComplete Error }
hdd: command error: error=0x54 { AbortedCommand LastFailedSense=0x05 }
end_request: I/O error, dev hdd, sector 0
end_request: I/O error, dev hdd, sector 0
Buffer I/O error on device hdd, logical block 0
---------------------- ||||||||||||||||||||||||||||||||||||||||||| ----------------------------------------------
hdd: command error: status=0x51 { DriveReady SeekComplete Error }
hdd: command error: error=0x54 { AbortedCommand LastFailedSense=0x05 }
end_request: I/O error, dev hdd, sector 0
hdd: command error: status=0x51 { DriveReady SeekComplete Error }
hdd: command error: error=0x54 { AbortedCommand LastFailedSense=0x05 }
end_request: I/O error, dev hdd, sector 0
hdd: command error: status=0x51 { DriveReady SeekComplete Error }
hdd: command error: error=0x54 { AbortedCommand LastFailedSense=0x05 }
end_request: I/O error, dev hdd, sector 0
hdd: command error: status=0x51 { DriveReady SeekComplete Error }
hdd: command error: error=0x54 { AbortedCommand LastFailedSense=0x05 }
end_request: I/O error, dev hdd, sector 0
hdd: command error: status=0x51 { DriveReady SeekComplete Error }
hdd: command error: error=0x54 { AbortedCommand LastFailedSense=0x05 }
hdd: rw=0, want=68, limit=4
hdd: rw=0, want=1252, limit=4
hdd: rw=0, want=1028, limit=4
root@darkstar:~#
root@darkstar:~# cat /etc/fstab
---------------------- ||||||||||||||||||||||||||||||||||||||||||| ----------------------------------------------
/dev/hdc /mnt/cd auto noauto,owner,ro,iocharset=koi8-r 0 0
/dev/hdd /mnt/dvdrw iso9660,udf noauto,users,ro,iocharset=koi8-r 0 0
---------------------- ||||||||||||||||||||||||||||||||||||||||||| ----------------------------------------------
root@darkstar:~#
root@darkstar:/etc# cat /etc/lilo.conf
# LILO configuration file
# generated by 'liloconfig'
#
# Start LILO global section
boot = /dev/hda
message = /boot/boot_message.txt
prompt
timeout = 150
change-rules
reset
vga = normal
other = /dev/hda1
label = Windows_XP
table = /dev/hda
image = /boot/vmlinuz-2.6.15.1
root = /dev/hda7
label = Slackware_Linux
append="noapic devfs=mount splash=silent mem=nopentium console=tty12"
root@darkstar:~# mount /dev/hdd
mount: wrong fs type, bad option, bad superblock on /dev/hdd,
missing codepage or other error
In some cases useful info is found in syslog - try
dmesg | tail or so
root@darkstar:~# dmesg | grep hdc
ide1: BM-DMA at 0xd008-0xd00f, BIOS settings: hdc:DMA, hdd:DMA
hdc: LG CD-ROM CRD-8521B, ATAPI CD/DVD-ROM drive
hdc: ATAPI 52X CD-ROM drive, 128kB Cache, DMA
root@darkstar:~# dmesg | grep hdd
ide1: BM-DMA at 0xd008-0xd00f, BIOS settings: hdc:DMA, hdd:DMA
hdd: SONY DVD RW DW-D22A, ATAPI CD/DVD-ROM drive
hdd: ATAPI 12X DVD-ROM DVD-R CD-R/RW drive, 2048kB Cache, UDMA(33)
hdd: command error: status=0x51 { DriveReady SeekComplete Error }
hdd: command error: error=0x54 { AbortedCommand LastFailedSense=0x05 }
end_request: I/O error, dev hdd, sector 0
end_request: I/O error, dev hdd, sector 0
Buffer I/O error on device hdd, logical block 0
---------------------- ||||||||||||||||||||||||||||||||||||||||||| ----------------------------------------------
hdd: command error: status=0x51 { DriveReady SeekComplete Error }
hdd: command error: error=0x54 { AbortedCommand LastFailedSense=0x05 }
end_request: I/O error, dev hdd, sector 0
hdd: command error: status=0x51 { DriveReady SeekComplete Error }
hdd: command error: error=0x54 { AbortedCommand LastFailedSense=0x05 }
end_request: I/O error, dev hdd, sector 0
hdd: command error: status=0x51 { DriveReady SeekComplete Error }
hdd: command error: error=0x54 { AbortedCommand LastFailedSense=0x05 }
end_request: I/O error, dev hdd, sector 0
hdd: command error: status=0x51 { DriveReady SeekComplete Error }
hdd: command error: error=0x54 { AbortedCommand LastFailedSense=0x05 }
end_request: I/O error, dev hdd, sector 0
hdd: command error: status=0x51 { DriveReady SeekComplete Error }
hdd: command error: error=0x54 { AbortedCommand LastFailedSense=0x05 }
hdd: rw=0, want=68, limit=4
hdd: rw=0, want=1252, limit=4
hdd: rw=0, want=1028, limit=4
root@darkstar:~#
root@darkstar:~# cat /etc/fstab
---------------------- ||||||||||||||||||||||||||||||||||||||||||| ----------------------------------------------
/dev/hdc /mnt/cd auto noauto,owner,ro,iocharset=koi8-r 0 0
/dev/hdd /mnt/dvdrw iso9660,udf noauto,users,ro,iocharset=koi8-r 0 0
---------------------- ||||||||||||||||||||||||||||||||||||||||||| ----------------------------------------------
root@darkstar:~#
root@darkstar:/etc# cat /etc/lilo.conf
# LILO configuration file
# generated by 'liloconfig'
#
# Start LILO global section
boot = /dev/hda
message = /boot/boot_message.txt
prompt
timeout = 150
change-rules
reset
vga = normal
other = /dev/hda1
label = Windows_XP
table = /dev/hda
image = /boot/vmlinuz-2.6.15.1
root = /dev/hda7
label = Slackware_Linux
append="noapic devfs=mount splash=silent mem=nopentium console=tty12"
-
- Сообщения: 292
Re: Приводы
По идее уже должно работать
. Попробуй использовать apic, т.е. убери noapic
Вообщето, сообщения которые ты видиш в логе - это проблемы с контроллером.
Посмотри что покажет
hdparm /dev/hdd
hdparm -I /dev/hdd
hdparm -i /dev/hdd
Ну и на прерыванияпосмотри
cat /proc/interrupts
Хотя последнее, номного не в тему. Если прерывание для IDE не было бывыделено, контроллер ваабщебы не работал...

Вообщето, сообщения которые ты видиш в логе - это проблемы с контроллером.
Посмотри что покажет
hdparm /dev/hdd
hdparm -I /dev/hdd
hdparm -i /dev/hdd
Ну и на прерыванияпосмотри
cat /proc/interrupts
Хотя последнее, номного не в тему. Если прерывание для IDE не было бывыделено, контроллер ваабщебы не работал...
-
- Сообщения: 223
- ОС: Windows XP
Re: Приводы
root@darkstar:~# hdparm /dev/hdd
/dev/hdd:
IO_support = 1 (32-bit)
unmaskirq = 1 (on)
using_dma = 1 (on)
keepsettings = 0 (off)
readonly = 0 (off)
readahead = 256 (on)
HDIO_GETGEO failed: Invalid argument
root@darkstar:~# hdparm -I /dev/hdd
/dev/hdd:
ATAPI CD-ROM, with removable media
Model Number: SONY DVD RW DW-D22A
Serial Number:
Firmware Revision: BYS1
Standards:
Used: ATAPI for CD-ROMs, SFF-8020i, r2.5
Supported: CD-ROM ATAPI-2
Configuration:
DRQ response: 50us.
Packet size: 12 bytes
Capabilities:
LBA, IORDY(cannot be disabled)
DMA: mdma0 mdma1 mdma2 udma0 udma1 *udma2 udma3 udma4
Cycle time: min=120ns recommended=120ns
PIO: pio0 pio1 pio2 pio3 pio4
Cycle time: no flow control=227ns IORDY flow control=120ns
root@darkstar:~# hdparm -i /dev/hdd
/dev/hdd:
Model=SONY DVD RW DW-D22A, FwRev=BYS1, SerialNo=
Config={ Fixed Removeable DTR<=5Mbs DTR>10Mbs nonMagnetic }
RawCHS=0/0/0, TrkSize=0, SectSize=0, ECCbytes=0
BuffType=unknown, BuffSize=0kB, MaxMultSect=0
(maybe): CurCHS=0/0/0, CurSects=0, LBA=yes, LBAsects=0
IORDY=yes, tPIO={min:227,w/IORDY:120}, tDMA={min:120,rec:120}
PIO modes: pio0 pio1 pio2 pio3 pio4
DMA modes: mdma0 mdma1 mdma2
UDMA modes: udma0 udma1 *udma2
AdvancedPM=no
Drive conforms to: device does not report version:
* signifies the current active mode
root@darkstar:~# mount /dev/hdd
mount: wrong fs type, bad option, bad superblock on /dev/hdd,
missing codepage or other error
In some cases useful info is found in syslog - try
dmesg | tail or so
root@darkstar:~# dmesg | tail or so
tail: невозможно открыть `or' для чтения: No such file or directory
tail: невозможно открыть `so' для чтения: No such file or directory
root@darkstar:~#
/dev/hdd:
IO_support = 1 (32-bit)
unmaskirq = 1 (on)
using_dma = 1 (on)
keepsettings = 0 (off)
readonly = 0 (off)
readahead = 256 (on)
HDIO_GETGEO failed: Invalid argument
root@darkstar:~# hdparm -I /dev/hdd
/dev/hdd:
ATAPI CD-ROM, with removable media
Model Number: SONY DVD RW DW-D22A
Serial Number:
Firmware Revision: BYS1
Standards:
Used: ATAPI for CD-ROMs, SFF-8020i, r2.5
Supported: CD-ROM ATAPI-2
Configuration:
DRQ response: 50us.
Packet size: 12 bytes
Capabilities:
LBA, IORDY(cannot be disabled)
DMA: mdma0 mdma1 mdma2 udma0 udma1 *udma2 udma3 udma4
Cycle time: min=120ns recommended=120ns
PIO: pio0 pio1 pio2 pio3 pio4
Cycle time: no flow control=227ns IORDY flow control=120ns
root@darkstar:~# hdparm -i /dev/hdd
/dev/hdd:
Model=SONY DVD RW DW-D22A, FwRev=BYS1, SerialNo=
Config={ Fixed Removeable DTR<=5Mbs DTR>10Mbs nonMagnetic }
RawCHS=0/0/0, TrkSize=0, SectSize=0, ECCbytes=0
BuffType=unknown, BuffSize=0kB, MaxMultSect=0
(maybe): CurCHS=0/0/0, CurSects=0, LBA=yes, LBAsects=0
IORDY=yes, tPIO={min:227,w/IORDY:120}, tDMA={min:120,rec:120}
PIO modes: pio0 pio1 pio2 pio3 pio4
DMA modes: mdma0 mdma1 mdma2
UDMA modes: udma0 udma1 *udma2
AdvancedPM=no
Drive conforms to: device does not report version:
* signifies the current active mode
root@darkstar:~# mount /dev/hdd
mount: wrong fs type, bad option, bad superblock on /dev/hdd,
missing codepage or other error
In some cases useful info is found in syslog - try
dmesg | tail or so
root@darkstar:~# dmesg | tail or so
tail: невозможно открыть `or' для чтения: No such file or directory
tail: невозможно открыть `so' для чтения: No such file or directory
root@darkstar:~#
-
- Сообщения: 292
Re: Приводы
Надо просто
dmesg | tail
После попытки монтирования
dmesg | tail
После попытки монтирования
-
- Сообщения: 223
- ОС: Windows XP
Re: Приводы
root@darkstar:~# mount /dev/hdd
mount: wrong fs type, bad option, bad superblock on /dev/hdd,
missing codepage or other error
In some cases useful info is found in syslog - try
dmesg | tail or so
root@darkstar:~# dmesg | tail
attempt to access beyond end of device
hdd: rw=0, want=68, limit=4
isofs_fill_super: bread failed, dev=hdd, iso_blknum=16, block=16
attempt to access beyond end of device
hdd: rw=0, want=68, limit=4
attempt to access beyond end of device
hdd: rw=0, want=1252, limit=4
attempt to access beyond end of device
hdd: rw=0, want=1028, limit=4
UDF-fs: No partition found (1)
root@darkstar:~#
mount: wrong fs type, bad option, bad superblock on /dev/hdd,
missing codepage or other error
In some cases useful info is found in syslog - try
dmesg | tail or so
root@darkstar:~# dmesg | tail
attempt to access beyond end of device
hdd: rw=0, want=68, limit=4
isofs_fill_super: bread failed, dev=hdd, iso_blknum=16, block=16
attempt to access beyond end of device
hdd: rw=0, want=68, limit=4
attempt to access beyond end of device
hdd: rw=0, want=1252, limit=4
attempt to access beyond end of device
hdd: rw=0, want=1028, limit=4
UDF-fs: No partition found (1)
root@darkstar:~#
-
- Сообщения: 292
Re: Приводы
M@kar писал(а): ↑17.02.2006 19:45root@darkstar:~# mount /dev/hdd
mount: wrong fs type, bad option, bad superblock on /dev/hdd,
missing codepage or other error
In some cases useful info is found in syslog - try
dmesg | tail or so
root@darkstar:~# dmesg | tail
attempt to access beyond end of device
hdd: rw=0, want=68, limit=4
isofs_fill_super: bread failed, dev=hdd, iso_blknum=16, block=16
attempt to access beyond end of device
hdd: rw=0, want=68, limit=4
attempt to access beyond end of device
hdd: rw=0, want=1252, limit=4
attempt to access beyond end of device
hdd: rw=0, want=1028, limit=4
UDF-fs: No partition found (1)
root@darkstar:~#
А фиг его знает...
А можно этот диск руками без fstab подмонтировать? Ну, типа
mount -t udf (или -t iso9660) /dev/hdd /mnt/dvdrw -o rw