[sisyphus] Re: I: udev-060

Anton Farygin =?iso-8859-1?q?rider_=CE=C1_altlinux=2Ecom?=
Чт Июл 7 10:59:22 MSD 2005


В письме Wed, 06 Jul 2005 19:59:45 +0400, Sergey Vlasov
написал:

> On Wed, Jul 06, 2005 at 05:45:58PM +0400, Anton Farygin wrote:
>> Ой ой ой... 
>> 
> 
> Не работает оно.
> 
> 1) После установки этой версии даже xterm не запускается - /dev/tty
> создался с кривыми правами (660).

Странно. Вот у меня после загрузки с только что установленной системы:
# l /dev/tty
crw-rw-rw-  1 root tty 5, 0 Mar 29 13:38 /dev/tty

> 
> --- /etc/udev/rules.d/01-devfs.rules.rpmorig	2005-03-31 19:57:09 +0400
> +++ /etc/udev/rules.d/01-devfs.rules	2005-07-06 19:37:16 +0400
> @@ -62,7 +62,6 @@
>  KERNEL="vcs[1-9]*",	SYMLINK="vcc/%n"
>  KERNEL="vcsa",		NAME="%k",		SYMLINK="vcc/a0 vcsa0"
>  KERNEL="vcsa[0-9]*",	SYMLINK="vcc/a%n"
> -KERNEL="tty",		NAME="%k",		SYMLINK="vc/0 tty0"
>  KERNEL="tty[0-9]*",	SYMLINK="vc/%n"
>  KERNEL="ttyS[0-9]*",	SYMLINK="tts/%n"
>  KERNEL="ttyUSB[0-9]*",	SYMLINK="tts/USB%n"

А откуда взялся 01-devfs.rules ? его в пакете вроде как нет.

> --- /etc/udev/rules.d/50-alt.rules.rpmorig	2005-07-06 17:32:52 +0400
> +++ /etc/udev/rules.d/50-alt.rules	2005-07-06 19:35:05 +0400
> @@ -193,7 +193,7 @@
>  
>  # tty devices
>  KERNEL="console",	NAME="%k", GROUP="tty", MODE="0600"
> -KERNEL="tty",					NAME="%k",		SYMLINK="vc/0 tty0", GROUP="tty", MODE="0666"
> +KERNEL="tty",		NAME="%k", MODE="0666"
>  KERNEL="tty[0-9]*",				SYMLINK="vc/%n", GROUP="tty"
>  KERNEL="dcbri*",	NAME="%k", GROUP="tty"
>  KERNEL="ircomm*",	NAME="%k", GROUP="tty"
> 
> (кстати, откуда там такой дикий изврат с табуляциями?)

Черт его знает.. файл спионерен ;-)
Это безобразие я исправил.

> 
> 2) При загрузке дикие тормоза на udevstart - стоит на sleep в
> drive-names.sh.

Тоже не воспроизвелось ;-(

Все взлетело очень быстро.

Машина:
AMD Turion(tm) 64 Mobile Technology MT-34

pciscan:
ati-agp                ATI Technologies Inc: Unknown device 5950 [Host bridge]
shpchp                 ATI Technologies Inc: Unknown device 5a3f [PCI bridge Normal decode]
ohci-hcd               ATI Technologies Inc: Unknown device 4374 [OHCI USB Controller]
ohci-hcd               ATI Technologies Inc: Unknown device 4375 [OHCI USB Controller]
ehci-hcd               ATI Technologies Inc: Unknown device 4373 [EHCI USB Controller]
unknown                ATI Technologies Inc ATI SMBus [SMBus]
atiixp                 ATI Technologies Inc Standard Dual Channel PCI IDE Controller ATI [IDE interface storage controller]
unknown                ATI Technologies Inc: Unknown device 4377 [ISA bridge]
unknown                ATI Technologies Inc: Unknown device 4371 [PCI bridge Subtractive decode]
snd-atiixp             ATI Technologies Inc: Unknown device 4370 [Multimedia audio controller]
8250_pci               ATI Technologies Inc: Unknown device 4378 [Generic Communication controller]
unknown                Advanced Micro Devices [AMD] K8 [Athlon64/Opteron] HyperTransport Technology Configuration [Host bridge]
unknown                Advanced Micro Devices [AMD] K8 [Athlon64/Opteron] Address Map [Host bridge]
unknown                Advanced Micro Devices [AMD] K8 [Athlon64/Opteron] DRAM Controller [Host bridge]
unknown                Advanced Micro Devices [AMD] K8 [Athlon64/Opteron] Miscellaneous Control [Host bridge]
unknown                ATI Technologies Inc: Unknown device 5955 [VGA compatible controller]
8139too                Realtek Semiconductor Co., Ltd. RTL-8139/8139C/8139C+ [Ethernet controller]
yenta_socket           Ricoh Co Ltd RL5c476 II [CardBus bridge]
yenta_socket           Ricoh Co Ltd RL5c476 II [CardBus bridge]
ohci1394               Ricoh Co Ltd R5C552 IEEE 1394 Controller [OHCI FireWire (IEEE 1394)]
unknown                Linksys, A Division of Cisco Systems [AirConn]INPROCOMM IPN 2220 Wireless LAN Adapter (rev 01) [Ethernet controller

Т.е. - без всяких тормозов.

Правда хард как-то притормаживает ;-(

[root на localhost root]# hdparm -tT /dev/hda

/dev/hda:
 Timing cached reads:   988 MB in  2.01 seconds = 492.35 MB/sec
 Timing buffered disk reads:   40 MB in  3.04 seconds =  13.18 MB/sec
[root на localhost root]# hdparm -i /dev/hda

/dev/hda:

 Model=TOSHIBA MK4025GAS, FwRev=KA100A, SerialNo=15OY2150S
 Config={ Fixed }
 RawCHS=16383/16/63, TrkSize=0, SectSize=0, ECCbytes=48
 BuffType=unknown, BuffSize=0kB, MaxMultSect=16, MultSect=16
 CurCHS=16383/16/63, CurSects=16514064, LBA=yes, LBAsects=78140160
 IORDY=on/off, tPIO={min:120,w/IORDY:120}, tDMA={min:120,rec:120}
 PIO modes:  pio0 pio1 pio2 pio3 pio4 
 DMA modes:  sdma0 sdma1 sdma2 mdma0 mdma1 mdma2 
 UDMA modes: udma0 udma1 udma2 udma3 udma4 *udma5 
 AdvancedPM=yes: unknown setting WriteCache=enabled
 Drive conforms to: device does not report version: 

 * signifies the current active mode
# hdparm /dev/hda

/dev/hda:
 multcount    = 16 (on)
 IO_support   =  0 (default 16-bit)
 unmaskirq    =  0 (off)
 using_dma    =  1 (on)
 keepsettings =  0 (off)
 readonly     =  0 (off)
 readahead    = 256 (on)
 geometry     = 65535/16/63, sectors = 40007761920, start = 0

Вот что нашлось в dmesg на эту тему:
Uniform Multi-Platform E-IDE driver Revision: 7.00alpha2
ide: Assuming 33MHz system bus speed for PIO modes; override with idebus=xx
ATIIXP: IDE controller at PCI slot 0000:00:14.1
ACPI: PCI Interrupt 0000:00:14.1[A] -> GSI 16 (level, low) -> IRQ 16
ATIIXP: chipset revision 0
ATIIXP: not 100% native mode: will probe irqs later
    ide0: BM-DMA at 0xff00-0xff07, BIOS settings: hda:DMA, hdb:pio
    ide1: BM-DMA at 0xff08-0xff0f, BIOS settings: hdc:DMA, hdd:pio
Probing IDE interface ide0...
hda: TOSHIBA MK4025GAS, ATA DISK drive
input: AT Translated Set 2 keyboard on isa0060/serio0
ide0 at 0x1f0-0x1f7,0x3f6 on irq 14
Probing IDE interface ide1...
hdc: QSI CD-RW/DVD-ROM SBW242B, ATAPI CD/DVD-ROM drive
ide1 at 0x170-0x177,0x376 on irq 15
Probing IDE interface ide2...
Probing IDE interface ide3...
Probing IDE interface ide4...
Probing IDE interface ide5...
hda: max request size: 128KiB
hda: 78140160 sectors (40007 MB), CHS=65535/16/63, UDMA(100)
hda: cache flushes supported
 hda: hda1 hda4 < hda5 hda6 >


Rgds,
Rider





Подробная информация о списке рассылки Sisyphus