Здравствуйте, Andrey.

Вы писали 17 ноября 2009 г., 12:16:03:

>> cat /proc/kmsg приложить не могу. В (initramfs) его некуда сохранить
>> (сети нет, диск один и он не монтируется, вставку флешки видит, но
>> устройство в /dev не появляется). 
> udevadm trigger после того как вставил - должен появиться node.

>> К тому же, как бы это объяснить,
>> вывод как бы бесконечный. Т.е. просто 'cat /proc/kmsg' после вывода не
>> выдаёт опять строку (initramsf), а висит как 'tail -f' не реагируя на
>> ^C и всё, что я попробовал. Соответственно 'cat /proc/kmsg > kmsg.txt'
>> тоже висит бесконечно.
>> Ну а в rescue mode /proc/kmsg пуст.
> О! Оставить cat, там есть dmesg.
> мотируй флешку и сохраняй на нее dmesg


dmesg вставил. Вроде, ничего страшного там нет.

Кстати, заметил такую вещь. Если я правильно понимаю, то у меня не
стартует udev. Из-за этого загрузка и вываливается в (initramfs). По
крайней мере, "ps ax | grep udev" пусто. Если в это время вставить
флешку, то в консоли появляются привычные строки о том, что в USB
вставлено устройство, но устройство в /dev не появляется. Если же
запустить руками 'udevd --daemon', то вываливается куча ошибок
udevd[780]: specified group 'disk' unknown

и т.п. (кроме disk там floppy, cdrom, tape, lp, plugdev, dialout, tty,
video, kmem, audio)
тем не менее, после этой команды udevd в процессах появляется и
появляется возможность смонтировать флешку. Но хард не монтируется всё
с той же ошибкой "Device or resource busy".

Подозреваю, что проблема возможна в конфигах udev. Кстати, ставил я не
только multipath, но и usbmount... Правда, его удаление (и
update-initramfs -u) тоже не помогло. Да и не добавлял я, вроде, в
/etc/udev/rules.d/ ничего. Если только от старых версий что-нить
осталось.

Что бы еще такого придумать?


-- 
С уважением,
 Sinker                          mailto:sin...@rim2000m.ru
[    0.256060] pci 0000:00:0b.0:   MEM window: 0xfdb00000-0xfdbfffff
[    0.256098] pci 0000:00:0b.0:   PREFETCH window: 
0x000000fda00000-0x000000fdafffff
[    0.256147] pci 0000:00:0c.0: PCI bridge, secondary bus 0000:04
[    0.256185] pci 0000:00:0c.0:   IO window: 0x8000-0x8fff
[    0.256222] pci 0000:00:0c.0:   MEM window: 0xfd900000-0xfd9fffff
[    0.256260] pci 0000:00:0c.0:   PREFETCH window: 
0x000000fd800000-0x000000fd8fffff
[    0.256314] pci 0000:00:04.0: setting latency timer to 64
[    0.256318] pci 0000:00:09.0: setting latency timer to 64
[    0.256322] pci 0000:00:0b.0: setting latency timer to 64
[    0.256325] pci 0000:00:0c.0: setting latency timer to 64
[    0.256329] pci_bus 0000:00: resource 0 io:  [0x00-0xffff]
[    0.256331] pci_bus 0000:00: resource 1 mem: [0x000000-0xffffffffffffffff]
[    0.256333] pci_bus 0000:01: resource 0 io:  [0xb000-0xbfff]
[    0.256335] pci_bus 0000:01: resource 1 mem: [0xfd700000-0xfd7fffff]
[    0.256337] pci_bus 0000:01: resource 2 pref mem [0xfde00000-0xfdefffff]
[    0.256340] pci_bus 0000:01: resource 3 io:  [0x00-0xffff]
[    0.256342] pci_bus 0000:01: resource 4 mem: [0x000000-0xffffffffffffffff]
[    0.256344] pci_bus 0000:02: resource 0 io:  [0xa000-0xafff]
[    0.256346] pci_bus 0000:02: resource 1 mem: [0xfdd00000-0xfddfffff]
[    0.256348] pci_bus 0000:02: resource 2 pref mem [0xfdc00000-0xfdcfffff]
[    0.256350] pci_bus 0000:03: resource 0 io:  [0x9000-0x9fff]
[    0.256352] pci_bus 0000:03: resource 1 mem: [0xfdb00000-0xfdbfffff]
[    0.256354] pci_bus 0000:03: resource 2 pref mem [0xfda00000-0xfdafffff]
[    0.256357] pci_bus 0000:04: resource 0 io:  [0x8000-0x8fff]
[    0.256359] pci_bus 0000:04: resource 1 mem: [0xfd900000-0xfd9fffff]
[    0.256361] pci_bus 0000:04: resource 2 pref mem [0xfd800000-0xfd8fffff]
[    0.256453] NET: Registered protocol family 2
[    0.292132] IP route cache hash table entries: 65536 (order: 7, 524288 bytes)
[    0.293077] TCP established hash table entries: 262144 (order: 10, 4194304 
bytes)
[    0.294798] TCP bind hash table entries: 65536 (order: 8, 1048576 bytes)
[    0.295270] TCP: Hash tables configured (established 262144 bind 65536)
[    0.295310] TCP reno registered
[    0.304133] NET: Registered protocol family 1
[    0.304218] Trying to unpack rootfs image as initramfs...
[    0.502446] Freeing initrd memory: 9728k freed
[    0.508221] audit: initializing netlink socket (disabled)
[    0.508278] type=2000 audit(1258457378.508:1): initialized
[    0.508578] HugeTLB registered 2 MB page size, pre-allocated 0 pages
[    0.508755] VFS: Disk quotas dquot_6.5.2
[    0.508825] Dquot-cache hash table entries: 512 (order 0, 4096 bytes)
[    0.508920] msgmni has been set to 3959
[    0.509106] alg: No test for stdrng (krng)
[    0.509219] Block layer SCSI generic (bsg) driver version 0.4 loaded (major 
253)
[    0.509269] io scheduler noop registered
[    0.509304] io scheduler anticipatory registered
[    0.509339] io scheduler deadline registered
[    0.509402] io scheduler cfq registered (default)
[    0.524066] pci 0000:00:00.0: Found enabled HT MSI Mapping
[    0.524146] pci 0000:00:00.0: Found enabled HT MSI Mapping
[    0.524233] pci 0000:00:00.0: Found enabled HT MSI Mapping
[    0.524318] pci 0000:00:00.0: Found enabled HT MSI Mapping
[    0.524404] pci 0000:00:00.0: Found enabled HT MSI Mapping
[    0.524493] pci 0000:00:00.0: Found enabled HT MSI Mapping
[    0.524589] pci 0000:00:00.0: Found enabled HT MSI Mapping
[    0.524684] pci 0000:00:00.0: Found enabled HT MSI Mapping
[    0.524724] pci 0000:00:0d.0: Boot video device
[    0.524901]   alloc irq_desc for 24 on cpu 0 node 0
[    0.524903]   alloc kstat_irqs on cpu 0 node 0
[    0.524911] pcieport-driver 0000:00:09.0: irq 24 for MSI/MSI-X
[    0.524917] pcieport-driver 0000:00:09.0: setting latency timer to 64
[    0.525074]   alloc irq_desc for 25 on cpu 0 node 0
[    0.525076]   alloc kstat_irqs on cpu 0 node 0
[    0.525080] pcieport-driver 0000:00:0b.0: irq 25 for MSI/MSI-X
[    0.525085] pcieport-driver 0000:00:0b.0: setting latency timer to 64
[    0.525231]   alloc irq_desc for 26 on cpu 0 node 0
[    0.525233]   alloc kstat_irqs on cpu 0 node 0
[    0.525237] pcieport-driver 0000:00:0c.0: irq 26 for MSI/MSI-X
[    0.525242] pcieport-driver 0000:00:0c.0: setting latency timer to 64
[    0.529283] Linux agpgart interface v0.103
[    0.529321] Serial: 8250/16550 driver, 4 ports, IRQ sharing enabled
[    0.529493] serial8250: ttyS0 at I/O 0x3f8 (irq = 4) is a 16550A
[    0.529997] 00:09: ttyS0 at I/O 0x3f8 (irq = 4) is a 16550A
[    0.531986] brd: module loaded
[    0.532263] input: Macintosh mouse button emulation as 
/devices/virtual/input/input0
[    0.532554] PNP: PS/2 Controller [PNP0303:PS2K] at 0x60,0x64 irq 1
[    0.532592] PNP: PS/2 appears to have AUX port disabled, if this is 
incorrect please boot with i8042.nopnp
[    0.532781] serio: i8042 KBD port at 0x60,0x64 irq 1
[    0.532945] mice: PS/2 mouse device common for all mice
[    0.533043] rtc_cmos 00:05: RTC can wake from S4
[    0.533135] rtc_cmos 00:05: rtc core: registered rtc_cmos as rtc0
[    0.533209] rtc0: alarms up to one year, y3k, 242 bytes nvram, hpet irqs
[    0.533275] cpuidle: using governor ladder
[    0.533310] cpuidle: using governor menu
[    0.533348] No iBFT detected.
[    0.533678] TCP cubic registered
[    0.533796] NET: Registered protocol family 10
[    0.534285] lo: Disabled Privacy Extensions
[    0.534559] Mobile IPv6
[    0.534593] NET: Registered protocol family 17
[    0.534794] registered taskstats version 1
[    0.551303] input: AT Translated Set 2 keyboard as 
/devices/platform/i8042/serio0/input/input1
[    0.554831] rtc_cmos 00:05: setting system clock to 2009-11-17 11:29:40 UTC 
(1258457380)
[    0.554937] Freeing unused kernel memory: 560k freed
[    0.555257] Write protecting the kernel read-only data: 3808k
[    0.639022] fan PNP0C0B:00: registered as cooling_device0
[    0.639074] ACPI: Fan [FAN] (on)
[    0.641690] ACPI Warning (nspredef-0949): \_TZ_.THRM._PSL: Return Package 
type mismatch at index 0 - found [NULL Object Descriptor], expected Reference 
[20090320]
[    0.641803] ACPI: Expecting a [Reference] package element, found type 0
[    0.641841] ACPI: Invalid passive threshold
[    0.642253] thermal LNXTHERM:01: registered as thermal_zone0
[    0.642295] ACPI: Thermal Zone [THRM] (40 C)
[    0.673637] ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver
[    0.674064] ACPI: PCI Interrupt Link [APCL] enabled at IRQ 22
[    0.674106]   alloc irq_desc for 22 on cpu 0 node 0
[    0.674108]   alloc kstat_irqs on cpu 0 node 0
[    0.674119] ehci_hcd 0000:00:02.1: PCI INT B -> Link[APCL] -> GSI 22 (level, 
low) -> IRQ 22
[    0.678917] ehci_hcd 0000:00:02.1: setting latency timer to 64
[    0.678919] ehci_hcd 0000:00:02.1: EHCI Host Controller
[    0.679045] ehci_hcd 0000:00:02.1: new USB bus registered, assigned bus 
number 1
[    0.679121] ehci_hcd 0000:00:02.1: debug port 1
[    0.679159] ehci_hcd 0000:00:02.1: cache line size of 64 is not supported
[    0.679180] ehci_hcd 0000:00:02.1: irq 22, io mem 0xfe02e000
[    0.690435] Uniform Multi-Platform E-IDE driver
[    0.692041] ehci_hcd 0000:00:02.1: USB 2.0 started, EHCI 1.00
[    0.692109] usb usb1: New USB device found, idVendor=1d6b, idProduct=0002
[    0.692149] usb usb1: New USB device strings: Mfr=3, Product=2, 
SerialNumber=1
[    0.692197] usb usb1: Product: EHCI Host Controller
[    0.692233] usb usb1: Manufacturer: Linux 2.6.30-2-amd64 ehci_hcd
[    0.692271] usb usb1: SerialNumber: 0000:00:02.1
[    0.692366] usb usb1: configuration #1 chosen from 1 choice
[    0.692428] hub 1-0:1.0: USB hub found
[    0.692469] hub 1-0:1.0: 10 ports detected
[    0.720632] SCSI subsystem initialized
[    0.734640] Floppy drive(s): fd0 is 1.44M
[    0.738430] amd74xx 0000:00:06.0: UDMA133 controller
[    0.738473] amd74xx 0000:00:06.0: IDE controller (0x10de:0x03ec rev 0xa2)
[    0.738533] amd74xx 0000:00:06.0: IDE port disabled
[    0.738579] amd74xx 0000:00:06.0: not 100% native mode: will probe irqs later
[    0.738621]     ide0: BM-DMA at 0xf000-0xf007
[    0.738661] Probing IDE interface ide0...
[    0.756975] libata version 3.00 loaded.
[    0.761267] FDC 0 is a post-1991 82077
[    0.777051] ohci_hcd: USB 1.1 'Open' Host Controller (OHCI) Driver
[    1.004016] usb 1-5: new high speed USB device using ehci_hcd and address 2
[    1.138983] usb 1-5: New USB device found, idVendor=058f, idProduct=6387
[    1.139023] usb 1-5: New USB device strings: Mfr=1, Product=2, SerialNumber=3
[    1.139062] usb 1-5: Product: Mass Storage Device
[    1.139098] usb 1-5: Manufacturer: JetFlash
[    1.139133] usb 1-5: SerialNumber: 0NDL0772
[    1.139226] usb 1-5: configuration #1 chosen from 1 choice
[    1.145408] Initializing USB Mass Storage driver...
[    1.145611] scsi0 : SCSI emulation for USB Mass Storage devices
[    1.145775] usb-storage: device found at 2
[    1.145778] usb-storage: waiting for device to settle before scanning
[    1.145785] usbcore: registered new interface driver usb-storage
[    1.145823] USB Mass Storage support registered.
[    1.304077] ide0 at 0x1f0-0x1f7,0x3f6 on irq 14
[    1.305653] forcedeth: Reverse Engineered nForce ethernet driver. Version 
0.64.
[    1.306022] ACPI: PCI Interrupt Link [APCH] enabled at IRQ 21
[    1.306062]   alloc irq_desc for 21 on cpu 0 node 0
[    1.306064]   alloc kstat_irqs on cpu 0 node 0
[    1.306074] forcedeth 0000:00:07.0: PCI INT A -> Link[APCH] -> GSI 21 
(level, low) -> IRQ 21
[    1.306125] forcedeth 0000:00:07.0: setting latency timer to 64
[    1.824772] forcedeth 0000:00:07.0: ifname eth0, PHY OUI 0x50ef @ 1, addr 
00:1e:90:c6:84:0d
[    1.824824] forcedeth 0000:00:07.0: highdma pwrctl mgmt lnktim msi desc-v3
[    1.825297] sata_nv 0000:00:08.0: version 3.5
[    1.825685] ACPI: PCI Interrupt Link [APSI] enabled at IRQ 23
[    1.825726]   alloc irq_desc for 23 on cpu 0 node 0
[    1.825728]   alloc kstat_irqs on cpu 0 node 0
[    1.825737] sata_nv 0000:00:08.0: PCI INT A -> Link[APSI] -> GSI 23 (level, 
low) -> IRQ 23
[    1.825835] sata_nv 0000:00:08.0: setting latency timer to 64
[    1.825903] scsi1 : sata_nv
[    1.826060] scsi2 : sata_nv
[    1.826269] ata1: SATA max UDMA/133 cmd 0x9f0 ctl 0xbf0 bmdma 0xd800 irq 23
[    1.826309] ata2: SATA max UDMA/133 cmd 0x970 ctl 0xb70 bmdma 0xd808 irq 23
[    1.826669] ACPI: PCI Interrupt Link [APCF] enabled at IRQ 20
[    1.826708]   alloc irq_desc for 20 on cpu 0 node 0
[    1.826709]   alloc kstat_irqs on cpu 0 node 0
[    1.826717] ohci_hcd 0000:00:02.0: PCI INT A -> Link[APCF] -> GSI 20 (level, 
low) -> IRQ 20
[    1.826775] ohci_hcd 0000:00:02.0: setting latency timer to 64
[    1.826778] ohci_hcd 0000:00:02.0: OHCI Host Controller
[    1.826883] ohci_hcd 0000:00:02.0: new USB bus registered, assigned bus 
number 2
[    1.826964] ohci_hcd 0000:00:02.0: irq 20, io mem 0xfe02f000
[    1.882015] usb usb2: New USB device found, idVendor=1d6b, idProduct=0001
[    1.882054] usb usb2: New USB device strings: Mfr=3, Product=2, 
SerialNumber=1
[    1.882103] usb usb2: Product: OHCI Host Controller
[    1.882139] usb usb2: Manufacturer: Linux 2.6.30-2-amd64 ohci_hcd
[    1.882176] usb usb2: SerialNumber: 0000:00:02.0
[    1.882258] usb usb2: configuration #1 chosen from 1 choice
[    1.882320] hub 2-0:1.0: USB hub found
[    1.882361] hub 2-0:1.0: 10 ports detected
[    1.883028] ACPI: PCI Interrupt Link [APSJ] enabled at IRQ 23
[    1.883068] sata_nv 0000:00:08.1: PCI INT B -> Link[APSJ] -> GSI 23 (level, 
low) -> IRQ 23
[    1.883162] sata_nv 0000:00:08.1: setting latency timer to 64
[    1.883205] scsi3 : sata_nv
[    1.883347] scsi4 : sata_nv
[    1.883552] ata3: SATA max UDMA/133 cmd 0x9e0 ctl 0xbe0 bmdma 0xc400 irq 23
[    1.883592] ata4: SATA max UDMA/133 cmd 0x960 ctl 0xb60 bmdma 0xc408 irq 23
[    2.292034] ata1: SATA link up 1.5 Gbps (SStatus 113 SControl 300)
[    2.300115] ata1.00: ATAPI: TSSTcorp CDDVDW SH-S203B, SB00, max UDMA/100
[    2.316124] ata1.00: configured for UDMA/100
[    2.317307] scsi 1:0:0:0: CD-ROM            TSSTcorp CDDVDW SH-S203B  SB00 
PQ: 0 ANSI: 5
[    2.784037] ata2: SATA link up 3.0 Gbps (SStatus 123 SControl 300)
[    2.793070] ata2.00: ATA-8: WDC WD2500AAJS-00VTA0, 01.01B01, max UDMA/133
[    2.793110] ata2.00: 488397168 sectors, multi 16: LBA48 NCQ (depth 0/32)
[    2.809112] ata2.00: configured for UDMA/133
[    2.809214] scsi 2:0:0:0: Direct-Access     ATA      WDC WD2500AAJS-0 01.0 
PQ: 0 ANSI: 5
[    3.135031] Driver 'sr' needs updating - please use bus_type methods
[    3.140479] Driver 'sd' needs updating - please use bus_type methods
[    3.143843] sr0: scsi3-mmc drive: 48x/48x writer dvd-ram cd/rw xa/form2 cdda 
tray
[    3.143896] Uniform CD-ROM driver Revision: 3.20
[    3.144050] sr 1:0:0:0: Attached scsi CD-ROM sr0
[    3.144186] sd 2:0:0:0: [sda] 488397168 512-byte hardware sectors: (250 
GB/232 GiB)
[    3.144294] sd 2:0:0:0: [sda] Write Protect is off
[    3.144331] sd 2:0:0:0: [sda] Mode Sense: 00 3a 00 00
[    3.144351] sd 2:0:0:0: [sda] Write cache: enabled, read cache: enabled, 
doesn't support DPO or FUA
[    3.144479]  sda:<5>sr 1:0:0:0: Attached scsi generic sg0 type 5
[    3.147860] sd 2:0:0:0: Attached scsi generic sg1 type 0
[    3.170499]  sda1 sda2 < sda5 >
[    3.200242] sd 2:0:0:0: [sda] Attached SCSI disk
[    3.459631] device-mapper: uevent: version 1.0.3
[    3.459891] device-mapper: ioctl: 4.14.0-ioctl (2008-04-23) initialised: 
dm-de...@redhat.com
[    3.461787] device-mapper: multipath: version 1.0.5 loaded
[    3.468194] device-mapper: multipath round-robin: version 1.0.0 loaded
[    3.531143] PM: Starting manual resume from disk
[    6.144176] usb-storage: device scan complete
[    6.144757] scsi 0:0:0:0: Direct-Access     JetFlash Transcend 4GB    8.07 
PQ: 0 ANSI: 2
[    6.145109] sd 0:0:0:0: Attached scsi generic sg2 type 0
[    6.146489] sd 0:0:0:0: [sdb] 7843840 512-byte hardware sectors: (4.01 
GB/3.74 GiB)
[    6.146986] sd 0:0:0:0: [sdb] Write Protect is off
[    6.147023] sd 0:0:0:0: [sdb] Mode Sense: 03 00 00 00
[    6.147025] sd 0:0:0:0: [sdb] Assuming drive cache: write through
[    6.149111] sd 0:0:0:0: [sdb] Assuming drive cache: write through
[    6.149150]  sdb: sdb1
[    6.272017] sd 0:0:0:0: [sdb] Attached SCSI removable disk
[   35.515106] udev: starting version 147
[   65.621390] usb 1-5: USB disconnect, address 2
[  209.168013] usb 1-5: new high speed USB device using ehci_hcd and address 3
[  209.302476] usb 1-5: New USB device found, idVendor=058f, idProduct=6387
[  209.302515] usb 1-5: New USB device strings: Mfr=1, Product=2, SerialNumber=3
[  209.302554] usb 1-5: Product: Mass Storage Device
[  209.302590] usb 1-5: Manufacturer: JetFlash
[  209.302625] usb 1-5: SerialNumber: 0NDL0772
[  209.302732] usb 1-5: configuration #1 chosen from 1 choice
[  209.304265] scsi5 : SCSI emulation for USB Mass Storage devices
[  209.304998] usb-storage: device found at 3
[  209.305001] usb-storage: waiting for device to settle before scanning
[  214.304157] usb-storage: device scan complete
[  214.304870] scsi 5:0:0:0: Direct-Access     JetFlash Transcend 4GB    8.07 
PQ: 0 ANSI: 2
[  214.305226] sd 5:0:0:0: Attached scsi generic sg2 type 0
[  214.306733] sd 5:0:0:0: [sdb] 7843840 512-byte hardware sectors: (4.01 
GB/3.74 GiB)
[  214.307376] sd 5:0:0:0: [sdb] Write Protect is off
[  214.307416] sd 5:0:0:0: [sdb] Mode Sense: 03 00 00 00
[  214.307418] sd 5:0:0:0: [sdb] Assuming drive cache: write through
[  214.309732] sd 5:0:0:0: [sdb] Assuming drive cache: write through
[  214.309775]  sdb: sdb1
[  214.432665] sd 5:0:0:0: [sdb] Attached SCSI removable disk

Ответить