LINUX.ORG.RU

НЕ могу завести DVD-RW привод под ядром 2.6.7 :(


0

0

Звиняйте, если кому мой вопрос покажется дурацким.. но я никак не могу сделать это сам :(
Мой новенький чудесный NEC ND2500A не заводится под 2.6.7 Виной этому, конечно же, /dev/hands, но мой /dev/brain не выдает уже толковых мыслей :( Под 2.4.27 резак чудесно работает и обнаруживается по адресу /dev/scd0. Шестое же ядро создает только вот эти устройства:

adsp
agpgart
audio
cdrom
console
core
dmmidi
dsp
fb
fb0
fd
fd0
fd0d360
fd0h1200
fd0h1440
fd0h1476
fd0h1494
fd0h1600
fd0h360
fd0h720
fd0h880
fd0u1440
fd0u1600
fd0u1680
fd0u1722
fd0u1743
fd0u1760
fd0u1840
fd0u1920
fd0u2880
fd0u3200
fd0u3520
fd0u3840
floppy
full
gpmctl
hda
hda1
hda2
hda3
hda4
hda5
hda6
hdb
hdb1
hdd
initctl
input
kmem
kmsg
log
loop0
mem
midi
misc
mixer
mouse
null
nvidia0
nvidia1
nvidiactl
port
ppp
psaux
ptmx
pts
ram0
ram1
ram10
ram11
ram12
ram13
ram14
ram15
ram2
ram3
ram4
ram5
ram6
ram7
ram8
ram9
random
rd
rtc
shm
snd
sound
stderr
stdin
stdout
tts
tty
tty0
tty1
tty10
tty11
tty12
tty13
tty14
tty15
tty16
tty17
tty18
tty19
tty2
tty20
tty21
tty22
tty23
tty24
tty25
tty26
tty27
tty28
tty29
tty3
tty30
tty31
tty32
tty33
tty34
tty35
tty36
tty37
tty38
tty39
tty4
tty40
tty41
tty42
tty43
tty44
tty45
tty46
tty47
tty48
tty49
tty5
tty50
tty51
tty52
tty53
tty54
tty55
tty56
tty57
tty58
tty59
tty6
tty60
tty61
tty62
tty63
tty7
tty8
tty9
ttyACM0
ttyS0
ttyS1
ttyS10
ttyS11
ttyS12
ttyS13
ttyS14
ttyS15
ttyS16
ttyS17
ttyS18
ttyS19
ttyS2
ttyS20
ttyS21
ttyS22
ttyS23
ttyS24
ttyS25
ttyS26
ttyS27
ttyS28
ttyS29
ttyS3
ttyS30
ttyS31
ttyS32
ttyS33
ttyS34
ttyS35
ttyS36
ttyS37
ttyS38
ttyS39
ttyS4
ttyS40
ttyS41
ttyS42
ttyS43
ttyS44
ttyS45
ttyS46
ttyS47
ttyS5
ttyS6
ttyS7
ttyS8
ttyS9
urandom
vc
vcc
vcs
vcs1
vcs2
vcs3
vcs4
vcs5
vcs6
vcs7
vcsa
vcsa1
vcsa2
vcsa3
vcsa4
vcsa5
vcsa6
vcsa7
vmmon
vmnet0
vmnet1
vmnet2
vmnet3
vmnet4
vmnet5
vmnet6
vmnet7
vmnet8
vmnet9
zero

Сверяясь с /usr/src/linux-2.6.7/Documentation.txt создавал sg* scd* pg* sd* : бестолку. cdrecord -scanbus не находит драйвер scsi даже при созданных pg*, которых он так жаждет. Огромная просьба к тем, кто заводил CD/DVD-RW привод под 2.6.х ткнуть меня носом в мою ошибку. Что не так?

Ётить :( Вот вывод dmesg:

BOOT_IMAGE=slk10o-2.6.7 ro root=301 hdc=scsi
ide_setup: hdc=scsi
Initializing CPU#0
PID hash table entries: 1024 (order 10: 8192 bytes)
Detected 803.095 MHz processor.
Using pmtmr for high-res timesource
Console: colour dummy device 80x25
Memory: 255960k/262080k available (1756k kernel code, 5380k reserved, 840k data, 144k init, 0k highmem)
Checking if this processor honours the WP bit even in supervisor mode... Ok.
Calibrating delay loop... 1593.34 BogoMIPS
Dentry cache hash table entries: 32768 (order: 5, 131072 bytes)
Inode-cache hash table entries: 16384 (order: 4, 65536 bytes)
Mount-cache hash table entries: 512 (order: 0, 4096 bytes)
CPU: After generic identify, caps: 0387f9ff 00000000 00000000 00000000
CPU: After vendor identify, caps: 0387f9ff 00000000 00000000 00000000
CPU: L1 I cache: 16K, L1 D cache: 16K
CPU: L2 cache: 256K
CPU serial number disabled.
CPU: After all inits, caps: 0383f9ff 00000000 00000000 00000040
Intel machine check architecture supported.
Intel machine check reporting enabled on CPU#0.
CPU: Intel Pentium III (Coppermine) stepping 0a
Enabling fast FPU save and restore... done.
Enabling unmasked SIMD FPU exception support... done.
Checking 'hlt' instruction... OK.
checking if image is initramfs...it isn't (no cpio magic); looks like an initrd
Freeing initrd memory: 354k freed
NET: Registered protocol family 16
PCI: PCI BIOS revision 2.10 entry at 0xfb2f0, last bus=2
PCI: Using configuration type 1
mtrr: v2.0 (20020519)
ACPI: Subsystem revision 20040326
ACPI: IRQ9 SCI: Level Trigger.
ACPI: Interpreter enabled
ACPI: Using PIC for interrupt routing
ACPI: PCI Root Bridge [PCI0] (00:00)
PCI: Probing PCI hardware (bus 00)
PCI: Transparent bridge - 0000:00:1e.0
ACPI: PCI Interrupt Routing Table [\_SB_.PCI0._PRT]
ACPI: PCI Interrupt Routing Table [\_SB_.PCI0.HUB0._PRT]
ACPI: PCI Interrupt Link [LNKA] (IRQs 3 4 5 6 7 10 *11 12 14 15)
ACPI: PCI Interrupt Link [LNKB] (IRQs 3 4 *5 6 7 10 11 12 14 15)
ACPI: PCI Interrupt Link [LNKC] (IRQs 3 4 5 6 7 10 11 12 14 15) *0, disabled.
ACPI: PCI Interrupt Link [LNKD] (IRQs 3 4 5 6 7 10 11 12 14 15) *9
ACPI: PCI Interrupt Link [LNKE] (IRQs 3 4 5 6 7 10 11 12 14 15) *0, disabled.
ACPI: PCI Interrupt Link [LNKF] (IRQs 3 4 5 6 7 *10 11 12 14 15)
ACPI: PCI Interrupt Link [LNK0] (IRQs 3 4 5 6 7 10 11 12 14 15) *0, disabled.
ACPI: PCI Interrupt Link [LNK1] (IRQs 3 4 5 6 7 10 11 12 14 15) *9
Linux Plug and Play Support v0.97 (c) Adam Belay
SCSI subsystem initialized
usbcore: registered new driver usbfs
usbcore: registered new driver hub
ACPI: PCI Interrupt Link [LNKD] enabled at IRQ 11
ACPI: PCI Interrupt Link [LNKB] enabled at IRQ 5
ACPI: PCI Interrupt Link [LNK1] enabled at IRQ 10
ACPI: PCI Interrupt Link [LNKA] enabled at IRQ 11
ACPI: PCI Interrupt Link [LNKF] enabled at IRQ 10
PCI: Using ACPI for IRQ routing
vesafb: framebuffer at 0xd0000000, mapped to 0xd0807000, size 937k
vesafb: mode is 800x600x8, linelength=800, pages=6
vesafb: protected mode interface info at c000:f880
vesafb: scrolling: redraw
fb0: VESA VGA frame buffer device
apm: BIOS version 1.2 Flags 0x07 (Driver version 1.16ac)
apm: overridden by ACPI.
VFS: Disk quotas dquot_6.5.1
Dquot-cache hash table entries: 1024 (order 0, 4096 bytes)
Initializing Cryptographic API
pci_hotplug: PCI Hot Plug PCI Core version: 0.5
isapnp: Scanning for PnP cards...
isapnp: No Plug & Play device found
Console: switching to colour frame buffer device 100x37
Real Time Clock Driver v1.12
Serial: 8250/16550 driver $Revision: 1.90 $ 48 ports, IRQ sharing enabled
ttyS0 at I/O 0x3f8 (irq = 4) is a 16550A
ttyS1 at I/O 0x2f8 (irq = 3) is a 16550A
Using anticipatory io scheduler
Floppy drive(s): fd0 is 1.44M
FDC 0 is a post-1991 82077
RAMDISK driver initialized: 16 RAM disks of 16384K size 1024 blocksize
divert: not allocating divert_blk for non-ethernet device lo
Uniform Multi-Platform E-IDE driver Revision: 7.00alpha2
ide: Assuming 33MHz system bus speed for PIO modes; override with idebus=xx
ICH2: IDE controller at PCI slot 0000:00:1f.1
ICH2: chipset revision 2
ICH2: not 100% native mode: will probe irqs later
ide0: BM-DMA at 0xf000-0xf007, BIOS settings: hda:DMA, hdb:DMA
ide1: BM-DMA at 0xf008-0xf00f, BIOS settings: hdc:DMA, hdd:DMA
hda: SAMSUNG SP1604N, ATA DISK drive
hdb: SAMSUNG SP2002H, ATA DISK drive
ide0 at 0x1f0-0x1f7,0x3f6 on irq 14
hdc: _NEC DVD_RW ND-2500A, ATAPI CD/DVD-ROM drive
hdd: HL-DT-ST CD-ROM GCR-8520B, ATAPI CD/DVD-ROM drive
ide1 at 0x170-0x177,0x376 on irq 15
hda: max request size: 1024KiB
hda: 312581808 sectors (160041 MB) w/2048KiB Cache, CHS=19457/255/63, UDMA(100)
hda: hda1 hda2 hda3 < hda5 hda6 > hda4
hdb: max request size: 128KiB
hdb: 39180960 sectors (20060 MB) w/1962KiB Cache, CHS=38870/16/63, UDMA(100)
hdb: hdb1
ide-cd: passing drive hdc to ide-scsi emulation.
hdd: ATAPI 52X CD-ROM drive, 128kB Cache, DMA
Uniform CD-ROM driver Revision: 3.20
ide-floppy driver 0.99.newide
ide-cd: passing drive hdc to ide-scsi emulation.

LexxTheFox ★★
() автор топика
Ответ на: комментарий от LexxTheFox

Остатки:

usbcore: registered new driver hiddev
usbcore: registered new driver usbhid
drivers/usb/input/hid-core.c: v2.0:USB HID core driver
mice: PS/2 mouse device common for all mice
serio: i8042 AUX port at 0x60,0x64 irq 12
serio: i8042 KBD port at 0x60,0x64 irq 1
input: AT Translated Set 2 keyboard on isa0060/serio0
NET: Registered protocol family 2
IP: routing cache hash table of 2048 buckets, 16Kbytes
TCP: Hash tables configured (established 16384 bind 32768)
Initializing IPsec netlink socket
NET: Registered protocol family 1
NET: Registered protocol family 17
ACPI: (supports S0 S1 S3 S4 S5)
RAMDISK: Compressed image found at block 0
VFS: Mounted root (ext2 filesystem).
ReiserFS: hda1: found reiserfs format "3.6" with standard journal
ReiserFS: hda1: using ordered data mode
ReiserFS: hda1: journal params: device hda1, size 8192, journal first block 18, max trans len 1024, max batch 900, max commit age 30, max trans age 30
ReiserFS: hda1: checking transaction log (hda1)
ReiserFS: hda1: Using r5 hash to sort names
VFS: Mounted root (reiserfs filesystem) readonly.
Trying to move old root to /initrd ... okay
Freeing unused kernel memory: 144k freed
Adding 313228k swap on /dev/hda6. Priority:-1 extents:1
input: ImPS/2 Generic Wheel Mouse on isa0060/serio1
Linux agpgart interface v0.100 (c) Dave Jones
NTFS driver 2.1.14 [Flags: R/W MODULE].
NTFS-fs warning (device hda2): ntfs_fill_super(): Atime updates are not implemented yet. Disabling them.
NTFS-fs warning (device hda2): parse_options(): Option iocharset is deprecated. Please use option nls=<charsetname> in the future.
NTFS volume version 3.1.
ReiserFS: hda5: found reiserfs format "3.6" with standard journal
ReiserFS: hda5: using ordered data mode
ReiserFS: hda5: journal params: device hda5, size 8192, journal first block 18, max trans len 1024, max batch 900, max commit age 30, max trans age 30
ReiserFS: hda5: checking transaction log (hda5)
ReiserFS: hda5: Using r5 hash to sort names
NTFS-fs warning (device hda4): ntfs_fill_super(): Atime updates are not implemented yet. Disabling them.
NTFS-fs warning (device hda4): parse_options(): Option iocharset is deprecated. Please use option nls=<charsetname> in the future.
NTFS volume version 3.1.
gameport: pci0000:02:01.1 speed 1125 kHz
nvidia: module license 'NVIDIA' taints kernel.
NVRM: loading NVIDIA Linux x86 NVIDIA Kernel Module 1.0-6106 Wed Jun 23 08:14:01 PDT 2004
USB Universal Host Controller Interface driver v2.2
uhci_hcd 0000:00:1f.2: Intel Corp. 82801BA/BAM USB (Hub #1)
PCI: Setting latency timer of device 0000:00:1f.2 to 64
uhci_hcd 0000:00:1f.2: irq 11, io base 0000d000
uhci_hcd 0000:00:1f.2: new USB bus registered, assigned bus number 1
hub 1-0:1.0: USB hub found
hub 1-0:1.0: 2 ports detected
uhci_hcd 0000:00:1f.4: Intel Corp. 82801BA/BAM USB (Hub #2)
PCI: Setting latency timer of device 0000:00:1f.4 to 64
uhci_hcd 0000:00:1f.4: irq 10, io base 0000d800
uhci_hcd 0000:00:1f.4: new USB bus registered, assigned bus number 2
hub 2-0:1.0: USB hub found
hub 2-0:1.0: 2 ports detected
usb 1-2: new low speed USB device using address 2
i8xx TCO timer: failed to reset NO_REBOOT flag, reboot disabled by hardware
shpchp: acpi_shpchprm:\_SB_.PCI0 evaluate _BBN fail=0x5
shpchp: acpi_shpchprm:get_device PCI ROOT HID fail=0x5
input: USB HID v1.10 Mouse [A4Tech USB Optical Mouse] on usb-0000:00:1f.2-2
pciehp: acpi_pciehprm:\_SB_.PCI0 evaluate _BBN fail=0x5
pciehp: acpi_pciehprm:get_device PCI ROOT HID fail=0x5
hw_random: RNG not detected
shpchp: acpi_shpchprm:\_SB_.PCI0 evaluate _BBN fail=0x5
shpchp: acpi_shpchprm:get_device PCI ROOT HID fail=0x5
pciehp: acpi_pciehprm:\_SB_.PCI0 evaluate _BBN fail=0x5
pciehp: acpi_pciehprm:get_device PCI ROOT HID fail=0x5
agpgart: Detected an Intel i815 Chipset, but could not find the secondary device.
agpgart: Detected an Intel i815 Chipset.
agpgart: Maximum main memory to use for agp memory: 203M
agpgart: AGP aperture is 64M @ 0xe0000000
i8xx TCO timer: failed to reset NO_REBOOT flag, reboot disabled by hardware
ohci_hcd: 2004 Feb 02 USB 1.1 'Open' Host Controller (OHCI) Driver (PCI)
ohci_hcd: block sizes: ed 64 td 64
NET: Registered protocol family 10
Disabled Privacy Extensions on device c034fa00(lo)
IPv6 over IPv4 tunneling driver
divert: not allocating divert_blk for non-ethernet device sit0
agpgart: Found an AGP 2.0 compliant device at 0000:00:00.0.
agpgart: Putting AGP V2 device at 0000:00:00.0 into 4x mode
agpgart: Putting AGP V2 device at 0000:01:00.0 into 4x mode
agpgart: Found an AGP 2.0 compliant device at 0000:00:00.0.
agpgart: Putting AGP V2 device at 0000:00:00.0 into 4x mode
agpgart: Putting AGP V2 device at 0000:01:00.0 into 4x mode
usb 1-1: new full speed USB device using address 3
cdc_acm 1-1:1.0: ttyACM0: USB ACM device
usbcore: registered new driver cdc_acm
drivers/usb/class/cdc-acm.c: v0.23:USB Abstract Control Model driver for USB modems and ISDN adapters
CSLIP: code copyright 1989 Regents of the University of California
PPP generic driver version 2.4.2
divert: not allocating divert_blk for non-ethernet device ppp0
PPP BSD Compression module registered
PPP Deflate Compression module registered

LexxTheFox ★★
() автор топика

Под 2.6 должно работать и без SCSI эмуляции.
Вот у меня в FC2:

Cdrecord-Clone 2.01a27-dvd (i686-pc-linux-gnu) Copyright (C) 1995-2004 J&#246;rg Schilling
Note: This version is an unofficial (modified) version with DVD support
Note: and therefore may have bugs that are not present in the original.
Note: Please send bug reports or support requests to <warly@mandrakesoft.com>.
Note: The author of cdrecord should not be bothered with problems in this version.
scsidev: 'ATA'
devname: 'ATA'
scsibus: -2 target: -2 lun: -2
Warning: Using badly designed ATAPI via /dev/hd* interface.
Linux sg driver version: 3.5.27
Using libscg version 'schily-0.8'.
cdrecord: Warning: using inofficial libscg transport code version (schily - Red Hat-scsi-linux-sg.c-1.80-RH '@(#)scsi-linux-sg.c 1.80 04/03/08 Copyright 1997 J. Schilling').
scsibus1:
1,0,0 100) 'PIONEER ' 'DVD-RW DVR-107D' '1.18' Removable CD-ROM
1,1,0 101) *
1,2,0 102) *
1,3,0 103) *
1,4,0 104) *
1,5,0 105) *
1,6,0 106) *
1,7,0 107) *

Проблем нет.

А SCSI эмуляция в 2.6 может быть поломана.

anonymous
()
Ответ на: комментарий от LexxTheFox

дак в чем же все-таки была проблема, я так и не понял... у меня на 2.6.8 такая же фигня только с CD-RW ... как решил?? а на 2.6.7 работает...

baltazor
()
Ответ на: комментарий от baltazor

У него фигня в том, что не почитав документацию, он полез ставить новое ядро и оставил по привычке scsi-эмуляцию. Делать этого не надо, иначе писать твой привод не будет.

jackill ★★★★★
()
Ответ на: комментарий от anonymous

Это только проблема k3b. Низкоуровневые писалки пишут. xcdroast пишет.

jackill ★★★★★
()

в конфиге загрузчика append="hdc=scsi" быть не должно. сие есть наследие старых ядер.

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