Gentoo Archives: gentoo-user-hu

From: Bukuli Norbert <bukuli.norbert@×××××.com>
To: gentoo-user-hu@l.g.o
Subject: Re: [gentoo-user-hu] Re: CD eject probléma
Date: Wed, 23 Jun 2010 21:30:56
Message-Id: AANLkTimQseDy9M2bw3pQx548dPNVjXkarcxkNSecdzsN@mail.gmail.com
In Reply to: Re: [gentoo-user-hu] Re: CD eject probléma by cjvt
A config magától generálódik, minden induláskor.

$ sudo grep 0000:03:00.0 /var/log/dmesg
pci 0000:03:00.0: reg 24 32bit mmio: [0xf8000000-0xf8001fff]
pci 0000:03:00.0: PME# supported from D3hot
pci 0000:03:00.0: PME# disabled
ahci 0000:03:00.0: version 3.0
ahci 0000:03:00.0: PCI INT A -> GSI 16 (level, low) -> IRQ 16
ahci 0000:03:00.0: AHCI 0001.0000 32 slots 2 ports 3 Gbps 0x3 impl SATA mode
ahci 0000:03:00.0: flags: 64bit ncq pm led clo pmp pio slum part
ahci 0000:03:00.0: setting latency timer to 64


$ sudo grep 0000:03:00.1 /var/log/dmesg
pci 0000:03:00.1: reg 10 io port: [0xc000-0xc007]
pci 0000:03:00.1: reg 14 io port: [0xc100-0xc103]
pci 0000:03:00.1: reg 18 io port: [0xc200-0xc207]
pci 0000:03:00.1: reg 1c io port: [0xc300-0xc303]
pci 0000:03:00.1: reg 20 io port: [0xc400-0xc40f]
jmicron 0000:03:00.1: IDE controller (0x197b:0x2363 rev 0x02)
pci 0000:03:00.1: enabling device (0000 -> 0001)
pci 0000:03:00.1: PCI INT B -> GSI 17 (level, low) -> IRQ 17
jmicron 0000:03:00.1: 100% native mode on irq 17
pci 0000:03:00.1: setting latency timer to 64

Sajnos nem vagyok tisztában vele, hogy a PCI buszon milyen szabályok
szerint történik az eszközök számozása, de ha a .1 végűt összevetem a
korábban írtakkal, akkor lehet némi tartománybeli egyezést
megfigyelni:

ide0 at 0xc000-0xc007,0xc102 on irq 17
pci 0000:03:00.1: reg 10 io port: [0xc000-0xc007]

ill.:

ide1 at 0xc200-0xc207,0xc302 on irq 17
pci 0000:03:00.1: reg 18 io port: [0xc200-0xc207]


Persze lehet, hogy ez két teljesen külön álló buszon szereplő
címtartomány és csak véletlen egybeesésről van szó.

2010/6/23 cjvt <cjvt@××××××××.hu>:
> Nem biztos de ez alapjan a NEC-nek a rule-ban nem a > pci-0000:03:00.0 -on kene lennie? > > > 2010. június 23. 22:44:52 dátummal Bukuli Norbert az alábbiakat írta: >> Úgy értettem, hogy egy eject folyamán nem keletkezik semmilyen >> bejegyzés a dmesgben. >> >> A vonatkozó sorok: >> Probing IDE interface ide0... >> hda: _NEC DVD_RW ND-3500AG, ATAPI CD/DVD-ROM drive >> hdb: PIONEER DVD-RW DVR-111D, ATAPI CD/DVD-ROM drive >> hda: host max PIO5 wanted PIO255(auto-tune) selected PIO4 >> hda: UDMA/33 mode selected >> hdb: host max PIO5 wanted PIO255(auto-tune) selected PIO4 >> hdb: UDMA/66 mode selected >> Probing IDE interface ide1... >> ide0 at 0xc000-0xc007,0xc102 on irq 17 >> ide1 at 0xc200-0xc207,0xc302 on irq 17 >> ide_generic: please use "probe_mask=0x3f" module parameter for probing >> all legacy ISA IDE ports >> ide-gd driver 1.18 >> ide-cd driver 5.00 >> ide-cd: hda: ATAPI 48X DVD-ROM DVD-R CD-R/RW drive, 2048kB Cache >> Uniform CD-ROM driver Revision: 3.20 >> ide-cd: hdb: ATAPI 40X DVD-ROM DVD-R CD-R/RW drive, 2000kB Cache >> >> ata4.01: SATA link up 3.0 Gbps (SStatus 123 SControl 300) >> ata4.01: HPA detected: current 234439535, native 234441648 >> ata4.01: ATA-7: SAMSUNG HD120IJ, WZ100-33, max UDMA7 >> ata4.01: 234439535 sectors, multi 16: LBA48 NCQ (depth 0/32) >> ata4.01: configured for UDMA/133 >> >> ata3.01: SATA link up 3.0 Gbps (SStatus 123 SControl 320) >> ata3.01: HPA detected: current 976771055, native 976773168 >> ata3.01: ATA-8: WDC WD5000AAKS-22A7B0, 01.03B01, max UDMA/133 >> ata3.01: 976771055 sectors, multi 16: LBA48 NCQ (depth 0/32) >> ata3.01: configured for UDMA/133 >> >> >> # lshw -C disk >>   *-cdrom:0 >>        description: DVD writer >>        product: _NEC DVD_RW ND-3500AG >>        physical id: 0 >>        bus info: ide@0.0 >>        logical name: /dev/hda >>        version: 2.1B >>        capabilities: packet atapi cdrom removable nonmagnetic dma lba >> iordy audio cd-r cd-rw dvd dvd-r >>        configuration: mode=udma2 status=nodisc >>   *-cdrom:1 >>        description: DVD writer >>        product: PIONEER DVD-RW DVR-111D >>        vendor: Pioneer >>        physical id: 1 >>        bus info: ide@0.1 >>        logical name: /dev/hdb >>        version: 1.19 >>        capabilities: packet atapi cdrom removable nonmagnetic dma lba >> iordy pm audio cd-r cd-rw dvd dvd-r >>        configuration: mode=udma4 status=nodisc >>   *-disk:0 >>        description: ATA Disk >>        product: WDC WD5000AAKS-2 >>        vendor: Western Digital >>        physical id: 0 >>        bus info: scsi@2:0.1.0 >>        logical name: /dev/sda >>        version: 01.0 >>        serial: WD-WMASY3020281 >>        size: 465GiB (500GB) >>        capabilities: partitioned partitioned:dos >>        configuration: ansiversion=5 signature=24eeb6a2 >>   *-disk:1 >>        description: ATA Disk >>        product: SAMSUNG HD120IJ >>        physical id: 1 >>        bus info: scsi@3:0.1.0 >>        logical name: /dev/sdb >>        version: WZ10 >>        serial: S0AEJ1LYB06095 >>        size: 111GiB (120GB) >>        capabilities: partitioned partitioned:dos >>        configuration: ansiversion=5 signature=a8a8a8a8 >> > >
-- Üdvözlettel: Bukuli Norbert

Replies

Subject Author
Re: [gentoo-user-hu] Re: CD eject probléma Testa <testa.a.tapos@×××××.com>