PDA

View Full Version : problemi con /dev/hdi


DaRkBoDoM
25-02-2003, 13:02
Ciao a tutti :P

Ho da poco fatto qualche modifica all'HW del mio Pc e mi ritrovo con la seguente configurazione:
hda - hdd => Controller IDE primario e secondario
hde - hdh => Controller HTP370 Raid ATA100
hdi - hdl => Controlle Promise ATA100 Onboard,

Il kernel riconosce correttamente tutti i dispositivi collegati :

Feb 25 04:54:42 hell kernel: Uniform Multi-Platform E-IDE driver Revision: 6.31
Feb 25 04:54:42 hell kernel: ide: Assuming 33MHz system bus speed for PIO modes; override with idebus=xx
Feb 25 04:54:42 hell kernel: VP_IDE: IDE controller on PCI bus 00 dev 21
Feb 25 04:54:42 hell kernel: VP_IDE: detected chipset, but driver not compiled in!
Feb 25 04:54:42 hell kernel: VP_IDE: chipset revision 16
Feb 25 04:54:42 hell kernel: VP_IDE: not 100%% native mode: will probe irqs later
Feb 25 04:54:42 hell kernel: ide0: BM-DMA at 0xd800-0xd807, BIOS settings: hda:DMA, hdb:pio
Feb 25 04:54:42 hell kernel: ide1: BM-DMA at 0xd808-0xd80f, BIOS settings: hdc:DMA, hdd:DMA
Feb 25 04:54:42 hell kernel: HPT370: IDE controller on PCI bus 00 dev 58
Feb 25 04:54:42 hell kernel: PCI: Found IRQ 10 for device 00:0b.0
Feb 25 04:54:42 hell kernel: PCI: Sharing IRQ 10 with 00:11.0
Feb 25 04:54:42 hell kernel: HPT370: chipset revision 3
Feb 25 04:54:42 hell kernel: HPT370: not 100%% native mode: will probe irqs later
Feb 25 04:54:42 hell kernel: HPT370: using 33MHz PCI clock
Feb 25 04:54:42 hell kernel: ide2: BM-DMA at 0x8400-0x8407, BIOS settings: hde:DMA, hdf:pio
Feb 25 04:54:42 hell kernel: ide3: BM-DMA at 0x8408-0x840f, BIOS settings: hdg:DMA, hdh:pio
Feb 25 04:54:42 hell kernel: PDC20265: IDE controller on PCI bus 00 dev 88
Feb 25 04:54:42 hell kernel: PCI: Found IRQ 10 for device 00:11.0
Feb 25 04:54:42 hell kernel: PCI: Sharing IRQ 10 with 00:0b.0
Feb 25 04:54:42 hell kernel: PDC20265: chipset revision 2
Feb 25 04:54:42 hell kernel: PDC20265: not 100%% native mode: will probe irqs later
Feb 25 04:54:42 hell kernel: PDC20265: (U)DMA Burst Bit ENABLED Primary PCI Mode Secondary PCI Mode.
Feb 25 04:54:42 hell kernel: ide4: BM-DMA at 0x6400-0x6407, BIOS settings: hdi:DMA, hdj:DMA
Feb 25 04:54:42 hell kernel: ide5: BM-DMA at 0x6408-0x640f, BIOS settings: hdk:pio, hdl:pio
Feb 25 04:54:42 hell kernel: hda: FUJITSU M1636TAU, ATA DISK drive
Feb 25 04:54:42 hell kernel: hdc: SAMSUNG DVD-ROM SD-606, ATAPI CD/DVD-ROM drive
Feb 25 04:54:42 hell kernel: hdd: SAMSUNG CD-ROM SC-148F, ATAPI CD/DVD-ROM drive
Feb 25 04:54:42 hell kernel: hde: IBM-DTLA-307045, ATA DISK drive
Feb 25 04:54:42 hell kernel: hdg: IBM-DTLA-307045, ATA DISK drive
Feb 25 04:54:42 hell kernel: hdi: Maxtor 52049H4, ATA DISK drive
Feb 25 04:54:42 hell kernel: hdk: LITE-ON LTR-40125S, ATAPI CD/DVD-ROM drive
Feb 25 04:54:42 hell kernel: ide0 at 0x1f0-0x1f7,0x3f6 on irq 14
Feb 25 04:54:42 hell kernel: ide1 at 0x170-0x177,0x376 on irq 15
Feb 25 04:54:42 hell kernel: ide2 at 0x9800-0x9807,0x9402 on irq 10
Feb 25 04:54:42 hell kernel: ide3 at 0x9000-0x9007,0x8802 on irq 10
Feb 25 04:54:42 hell kernel: ide4 at 0x7800-0x7807,0x7402 on irq 10
Feb 25 04:54:42 hell kernel: ide5 at 0x7000-0x7007,0x6802 on irq 10
Feb 25 04:54:42 hell kernel: hda: 2511840 sectors (1286 MB) w/128KiB Cache, CHS=622/64/63
Feb 25 04:54:42 hell kernel: blk: queue c04017ec, I/O limit 4095Mb (mask 0xffffffff)
Feb 25 04:54:42 hell kernel: hde: 90069840 sectors (46116 MB) w/1916KiB Cache, CHS=89355/16/63, UDMA(44)
Feb 25 04:54:42 hell kernel: blk: queue c0401b50, I/O limit 4095Mb (mask 0xffffffff)
Feb 25 04:54:42 hell kernel: hdg: 90069840 sectors (46116 MB) w/1916KiB Cache, CHS=89355/16/63, UDMA(44)
Feb 25 04:54:42 hell kernel: blk: queue c0401eb4, I/O limit 4095Mb (mask 0xffffffff)
Feb 25 04:54:42 hell kernel: hdi: 39102336 sectors (20020 MB) w/2048KiB Cache, CHS=38792/16/63, UDMA(100)
Feb 25 04:54:42 hell kernel: hdc: ATAPI 32X DVD-ROM drive, 512kB Cache
Feb 25 04:54:42 hell kernel: Uniform CD-ROM driver Revision: 3.12
Feb 25 04:54:42 hell kernel: hdd: ATAPI 48X CD-ROM drive, 128kB Cache
Feb 25 04:54:42 hell kernel: hdk: ATAPI 48X CD-ROM CD-R/RW drive, 1984kB Cache
Feb 25 04:54:42 hell kernel: Partition check:
Feb 25 04:54:42 hell kernel: hda: hda1 hda2
Feb 25 04:54:42 hell kernel: hde: [PTBL] [5606/255/63] hde1
Feb 25 04:54:42 hell kernel: hdg: [PTBL] [5606/255/63] hdg1
Feb 25 04:54:42 hell kernel: hdi: [PTBL] [2434/255/63] hdi2 hdi3 hdi4 < hdi5 hdi6 >


..ma tra i /dev/ non compare hdi, e quindi non riesco ad accere al relativo disco... come risolvo?

Sto usando Debian "woody" con kernel 2.4.20

ilsensine
25-02-2003, 13:23
mknod /dev/hdi b 56 0
mknod /dev/hdi1 b 56 1
mknod /dev/hdi2 b 56 2
mknod /dev/hdi3 b 56 3
mknod /dev/hdi4 b 56 4
...mknod /dev/hdi(X) b 56 (X)...

mknod /dev/hdj b 56 64
mknod /dev/hdj1 b 56 65
mknod /dev/hdj2 b 56 66
...mknod /dev/hdj(X) b 56 64+(X)...

mknod /dev/hdk b 57 0
...

mknod /dev/hdl b 57 64
...

Oppure: usa il devfs

qweasdzxc
25-02-2003, 13:23
forse bisogna crearli a mano, boh...
prova qua o con qualche altra ricerchina con google

http://www.cowlug.org/pipermail/cowlug/2002-February/000250.html

DaRkBoDoM
25-02-2003, 13:34
grazie raga :)

ilsensine: Mi spieghi cosa sono quei parametri da passare a mknod dopo /dev/hdix? Tanto per capire quello che faccio :D

ilsensine
25-02-2003, 13:36
man mknod ;)
vi /usr/src/linux/Documentation/devices.txt ;) ;)

DaRkBoDoM
25-02-2003, 13:38
Ok!