vine-users ML アーカイブ



[vine-users:065252] Re: siimage ドライバのmodule 組み込み&SATA ディスクの認識

  • From: Yokohama <yokohama@xxxxxxxxxxxx>
  • Subject: [vine-users:065252] Re: siimage ドライバのmodule 組み込み&SATA ディスクの認識
  • Date: Fri, 2 Apr 2004 10:02:09 +0900 (JST)
こんにちわ。横浜です。
お付き合いいただき、ありがとうございます。
ご指示いただいたものを張り付けます。
訳があって、べたでかなりの長文しつれいします。

結論から言って、何やっても変化なし、な感じです。
modprobe siimage
では、ドライバは組み込まれるみたいですが、ドライブが見えないようです。
個人的には、kudzuの1.1.5あたりからSATAドライバが視野に入ってきたようなので
、kudzuが臭いと思うのですが・・・。
で、新しいヴァージョンをコンパイルしても、pcmciaあたりで怒られちゃいます。

書き忘れていました。機器構成としては、
マザー:Albatron PM266A pro
SATAカード:Silicon image 3112Aチップ+ATA133カード(low profile 玄人志向、
型番はもう存在しないみたいです)
な感じなんですが、もちろんRAIDカードじゃなくて、siimageはsd*じゃなくhd*に
アサインされることはわかっています。
あと増設カードなんで、BIOS設定では逃げられないと思うのですが、逃げ道ありま
すでしょうか。

fedoraでは、思った通りの構成ができたので、ハード的な問題は考えにくいです。
fedoraへ逃げるという消極的な解は、最後にしたいと考えています。

以下、logです。

> uname -r の内容

2.4.25
です。
おっしゃるとおり、本家kernerlツリーからひっぱってきたものです。
カーネルドライバのせいかと思い、上げてみましたが同じです。

> 何も設定していない時の dmesg の内容

> > alias block-major-33 siimage
> この時の dmesg の内容と
> /sbin/lsmodで出力される内容
> 
> > この時、/etc/murasaki/murasaki.preloadの末尾に
> > siimageと記述して再起動するとどうですか?
> これで起動した時の dmesg の内容と

上記のdmesgは、diffとそれぞれ取ってみましたが、CPUスピードと内蔵IDEの
EXT3ジャーナリングトランザクションに関する情報のみしか、差分が出ませんでし
た。
なので、blockデバイスをaliasした時のdmesgを、貼っておきます。

Linux version 2.4.25 (root@xxxxxxxxxxxxxxxxxxxxxxx) (gcc version 2.95.3
20010315 (release)) #3
 2004年 4月 1日 木曜日 20:28:19 JST
BIOS-provided physical RAM map:
 BIOS-e820: 0000000000000000 - 000000000009fc00 (usable)
 BIOS-e820: 000000000009fc00 - 00000000000a0000 (reserved)
 BIOS-e820: 00000000000f0000 - 0000000000100000 (reserved)
 BIOS-e820: 0000000000100000 - 000000000dff0000 (usable)
 BIOS-e820: 000000000dff0000 - 000000000dff3000 (ACPI NVS)
 BIOS-e820: 000000000dff3000 - 000000000e000000 (ACPI data)
 BIOS-e820: 00000000fec00000 - 0000000100000000 (reserved)
223MB LOWMEM available.
ACPI: have wakeup address 0xc0001000
found SMP MP-table at 000f50c0
hm, page 000f5000 reserved twice.
hm, page 000f6000 reserved twice.
hm, page 000f1000 reserved twice.
hm, page 000f2000 reserved twice.
On node 0 totalpages: 57328
zone(0): 4096 pages.
zone(1): 53232 pages.
zone(2): 0 pages.
ACPI: RSDP (v000 VIAP4X                                    ) @ 0x000f6b30
ACPI: RSDT (v001 VIAP4X AWRDACPI 0x42302e31 AWRD 0x00000000) @ 0x0dff3000
ACPI: FADT (v001 VIAP4X AWRDACPI 0x42302e31 AWRD 0x00000000) @ 0x0dff3040
ACPI: MADT (v001 VIAP4X AWRDACPI 0x42302e31 AWRD 0x00000000) @ 0x0dff7300
ACPI: DSDT (v001 VIAP4X AWRDACPI 0x00001000 MSFT 0x0100000e) @ 0x00000000
ACPI: Local APIC address 0xfee00000
ACPI: LAPIC (acpi_id[0x00] lapic_id[0x00] enabled)
Processor #0 Pentium 4(tm) XEON(tm) APIC version 20
ACPI: LAPIC (acpi_id[0x01] lapic_id[0x01] disabled)
ACPI: LAPIC_NMI (acpi_id[0x00] high edge lint[0x1])
ACPI: LAPIC_NMI (acpi_id[0x01] high edge lint[0x1])
ACPI: IOAPIC (id[0x02] address[0xfec00000] global_irq_base[0x0])
IOAPIC[0]: Assigned apic_id 2
IOAPIC[0]: apic_id 2, version 3, address 0xfec00000, IRQ 0-23
ACPI: INT_SRC_OVR (bus 0 bus_irq 0 global_irq 2 dfl dfl)
ACPI: INT_SRC_OVR (bus 0 bus_irq 9 global_irq 9 low level)
ACPI BALANCE SET
Using ACPI (MADT) for SMP configuration information
Kernel command line: auto BOOT_IMAGE=linux ro root=303
BOOT_FILE=/boot/vmlinuz-2.4.25
Initializing CPU#0
Detected 2388.324 MHz processor.
Console: colour VGA+ 80x25
Calibrating delay loop... 4757.91 BogoMIPS
Memory: 223356k/229312k available (1772k kernel code, 5568k reserved, 851k
data, 132k init, 0k
 highmem)
Dentry cache hash table entries: 32768 (order: 6, 262144 bytes)
Inode cache hash table entries: 16384 (order: 5, 131072 bytes)
Mount cache hash table entries: 512 (order: 0, 4096 bytes)
Buffer cache hash table entries: 16384 (order: 4, 65536 bytes)
Page-cache hash table entries: 65536 (order: 6, 262144 bytes)
CPU: Trace cache: 12K uops, L1 D cache: 8K
CPU: L2 cache: 128K
Intel machine check architecture supported.
Intel machine check reporting enabled on CPU#0.
CPU:     After generic, caps: bfebfbff 00000000 00000000 00000000
CPU:             Common caps: bfebfbff 00000000 00000000 00000000
CPU: Intel(R) Celeron(R) CPU 2.40GHz stepping 09
Enabling fast FPU save and restore... done.
Enabling unmasked SIMD FPU exception support... done.
Checking 'hlt' instruction... OK.
POSIX conformance testing by UNIFIX
enabled ExtINT on CPU#0
ESR value before enabling vector: 00000000
ESR value after enabling vector: 00000000
ENABLING IO-APIC IRQs
init IO_APIC IRQs
 IO-APIC (apicid-pin) 2-0, 2-16, 2-17, 2-18, 2-19, 2-20, 2-21, 2-22, 2-23
not connected.
..TIMER: vector=0x31 pin1=2 pin2=-1
Using local APIC timer interrupts.
calibrating APIC timer ...
..... CPU clock speed is 2388.2878 MHz.
..... host bus clock speed is 99.5118 MHz.
cpu: 0, clocks: 995118, slice: 497559
CPU0<T0:995104,T1:497536,D:9,S:497559,C:995118>
mtrr: v1.40 (20010327) Richard Gooch (rgooch@xxxxxxxxxxxxx)
mtrr: detected mtrr type: Intel
ACPI: Subsystem revision 20040116
PCI: PCI BIOS revision 2.10 entry at 0xfb0f0, last bus=1
PCI: Using configuration type 1
IOAPIC[0]: Set PCI routing entry (2-9 -> 0x71 -> IRQ 9 Mode:1 Active:1)
ACPI: Interpreter enabled
ACPI: Using IOAPIC for interrupt routing
ACPI: System [ACPI] (supports S0 S1 S4 S5)
ACPI: PCI Root Bridge [PCI0] (00:00)
PCI: Probing PCI hardware (bus 00)
ACPI: PCI Interrupt Routing Table [\_SB_.PCI0._PRT]
ACPI: PCI Interrupt Link [LNKA] (IRQs 1 3 4 5 6 7 *10 11 12 14 15)
ACPI: PCI Interrupt Link [LNKB] (IRQs 1 3 4 5 6 7 10 11 *12 14 15)
ACPI: PCI Interrupt Link [LNKC] (IRQs 1 3 4 5 6 7 10 *11 12 14 15)
ACPI: PCI Interrupt Link [LNKD] (IRQs 1 3 4 *5 6 7 10 11 12 14 15)
ACPI: PCI Interrupt Link [LNKE] (IRQs 1 3 4 5 6 7 10 11 12 14 15)
ACPI: PCI Interrupt Link [LNKF] (IRQs 1 3 4 5 6 7 10 11 12 14 15)
ACPI: PCI Interrupt Link [LNK0] (IRQs 1 3 4 5 6 7 10 11 12 14 15)
ACPI: PCI Interrupt Link [LNK1] (IRQs 1 3 4 5 6 7 10 11 12 14 15)
ACPI: PCI Interrupt Link [ALKA] (IRQs 20)
ACPI: PCI Interrupt Link [ALKB] (IRQs 21)
ACPI: PCI Interrupt Link [ALKC] (IRQs 22)
ACPI: PCI Interrupt Link [ALKD] (IRQs 23)
PCI: Probing PCI hardware
IOAPIC[0]: Set PCI routing entry (2-17 -> 0xa9 -> IRQ 17 Mode:1 Active:1)
00:00:08[A] -> 2-17 -> IRQ 17
IOAPIC[0]: Set PCI routing entry (2-18 -> 0xb1 -> IRQ 18 Mode:1 Active:1)
00:00:08[B] -> 2-18 -> IRQ 18
IOAPIC[0]: Set PCI routing entry (2-19 -> 0xb9 -> IRQ 19 Mode:1 Active:1)
00:00:08[C] -> 2-19 -> IRQ 19
IOAPIC[0]: Set PCI routing entry (2-16 -> 0xc1 -> IRQ 16 Mode:1 Active:1)
00:00:08[D] -> 2-16 -> IRQ 16
Pin 2-18 already programmed
Pin 2-19 already programmed
Pin 2-16 already programmed
Pin 2-17 already programmed
Pin 2-19 already programmed
Pin 2-16 already programmed
Pin 2-17 already programmed
Pin 2-18 already programmed
_CRS returns NULL! Using IRQ 21 fordevice (PCI Interrupt Link [ALKB]).
ACPI: PCI Interrupt Link [ALKB] enabled at IRQ 21
IOAPIC[0]: Set PCI routing entry (2-21 -> 0xc9 -> IRQ 21 Mode:1 Active:1)
00:00:10[A] -> 2-21 -> IRQ 21
Pin 2-21 already programmed
Pin 2-21 already programmed
Pin 2-21 already programmed
_CRS returns NULL! Using IRQ 20 fordevice (PCI Interrupt Link [ALKA]).
ACPI: PCI Interrupt Link [ALKA] enabled at IRQ 20
IOAPIC[0]: Set PCI routing entry (2-20 -> 0xd1 -> IRQ 20 Mode:1 Active:1)
00:00:11[A] -> 2-20 -> IRQ 20
Pin 2-21 already programmed
_CRS returns NULL! Using IRQ 22 fordevice (PCI Interrupt Link [ALKC]).
ACPI: PCI Interrupt Link [ALKC] enabled at IRQ 22
IOAPIC[0]: Set PCI routing entry (2-22 -> 0xd9 -> IRQ 22 Mode:1 Active:1)
00:00:11[C] -> 2-22 -> IRQ 22
_CRS returns NULL! Using IRQ 23 fordevice (PCI Interrupt Link [ALKD]).
ACPI: PCI Interrupt Link [ALKD] enabled at IRQ 23
IOAPIC[0]: Set PCI routing entry (2-23 -> 0xe1 -> IRQ 23 Mode:1 Active:1)
00:00:11[D] -> 2-23 -> IRQ 23
Pin 2-16 already programmed
Pin 2-17 already programmed
Pin 2-18 already programmed
Pin 2-19 already programmed
Pin 2-23 already programmed
Pin 2-23 already programmed
Pin 2-23 already programmed
Pin 2-23 already programmed
number of MP IRQ sources: 15.
number of IO-APIC #2 registers: 24.
testing the IO APIC.......................

IO APIC #2......
.... register #00: 02000000
.......    : physical APIC id: 02
.......    : Delivery Type: 0
.......    : LTS          : 0
.... register #01: 00178003
.......     : max redirection entries: 0017
.......     : PRQ implemented: 1
.......     : IO APIC version: 0003
.... IRQ redirection table:
 NR Log Phy Mask Trig IRR Pol Stat Dest Deli Vect:   
 00 000 00  1    0    0   0   0    0    0    00
 01 001 01  0    0    0   0   0    1    1    39
 02 001 01  0    0    0   0   0    1    1    31
 03 001 01  0    0    0   0   0    1    1    41
 04 001 01  0    0    0   0   0    1    1    49
 05 001 01  0    0    0   0   0    1    1    51
 06 001 01  0    0    0   0   0    1    1    59
 07 001 01  0    0    0   0   0    1    1    61
 08 001 01  0    0    0   0   0    1    1    69
 09 001 01  0    1    0   1   0    1    1    71
 0a 001 01  0    0    0   0   0    1    1    79
 0b 001 01  0    0    0   0   0    1    1    81
 0c 001 01  0    0    0   0   0    1    1    89
 0d 001 01  0    0    0   0   0    1    1    91
 0e 001 01  0    0    0   0   0    1    1    99
 0f 001 01  0    0    0   0   0    1    1    A1
 10 001 01  1    1    0   1   0    1    1    C1
 11 001 01  1    1    0   1   0    1    1    A9
 12 001 01  1    1    0   1   0    1    1    B1
 13 001 01  1    1    0   1   0    1    1    B9
 14 001 01  1    1    0   1   0    1    1    D1
 15 001 01  1    1    0   1   0    1    1    C9
 16 001 01  1    1    0   1   0    1    1    D9
 17 001 01  1    1    0   1   0    1    1    E1
IRQ to pin mappings:
IRQ0 -> 0:2
IRQ1 -> 0:1
IRQ3 -> 0:3
IRQ4 -> 0:4
IRQ5 -> 0:5
IRQ6 -> 0:6
IRQ7 -> 0:7
IRQ8 -> 0:8
IRQ9 -> 0:9-> 0:9
IRQ10 -> 0:10
IRQ11 -> 0:11
IRQ12 -> 0:12
IRQ13 -> 0:13
IRQ14 -> 0:14
IRQ15 -> 0:15
IRQ16 -> 0:16
IRQ17 -> 0:17
IRQ18 -> 0:18
IRQ19 -> 0:19
IRQ20 -> 0:20
IRQ21 -> 0:21
IRQ22 -> 0:22
IRQ23 -> 0:23
.................................... done.
PCI: Using ACPI for IRQ routing
PCI: if you experience problems, try using option 'pci=noacpi' or even
'acpi=off'
PCI: Via IRQ fixup for 00:10.0, from 10 to 5
PCI: Via IRQ fixup for 00:10.1, from 12 to 5
PCI: Via IRQ fixup for 00:10.2, from 11 to 5
Linux NET4.0 for Linux 2.4
Based upon Swansea University Computer Society NET3.039
Initializing RT netlink socket
apm: BIOS version 1.2 Flags 0x07 (Driver version 1.16)
apm: overridden by ACPI.
Starting kswapd
VFS: Disk quotas vdquot_6.5.1
Journalled Block Device driver loaded
Installing knfsd (copyright (C) 1996 okir@xxxxxxxxxxxx).
Detected PS/2 Mouse Port.
pty: 256 Unix98 ptys configured
Serial driver version 5.05c (2001-07-08) with MANY_PORTS SHARE_IRQ
SERIAL_PCI enabled
ttyS00 at 0x03f8 (irq = 4) is a 16550A
Non-volatile memory driver v1.2
floppy0: no floppy controllers found
RAMDISK driver initialized: 16 RAM disks of 4096K size 1024 blocksize
loop: loaded (max 8 devices)
bonding.c:v2.4.1 (September 15, 2003)
bonding_init(): either miimon or arp_interval and arp_ip_target module
parameters must be spec
ified, otherwise bonding will not detect link failures! see bonding.txt
for details.
bond0 registered without MII link monitoring, in load balancing
(round-robin) mode.
bond0 registered without ARP monitoring
Equalizer1996: $Revision: 1.2.1 $ $Date: 1996/09/22 13:52:00 $ Simon Janes
(simon@xxxxxxx)
Universal TUN/TAP device driver 1.5 (C)1999-2002 Maxim Krasnyansky
[drm] Initialized tdfx 1.0.0 20010216 on minor 0
[drm] Initialized radeon 1.7.0 20020828 on minor 1
Uniform Multi-Platform E-IDE driver Revision: 7.00beta4-2.4
ide: Assuming 33MHz system bus speed for PIO modes; override with
idebus=xx
VP_IDE: IDE controller at PCI slot 00:11.1
VP_IDE: chipset revision 6
VP_IDE: not 100% native mode: will probe irqs later
ide: Assuming 33MHz system bus speed for PIO modes; override with
idebus=xx
VP_IDE: VIA vt8235 (rev 00) IDE UDMA133 controller on pci00:11.1
    ide0: BM-DMA at 0xe000-0xe007, BIOS settings: hda:DMA, hdb:DMA
    ide1: BM-DMA at 0xe008-0xe00f, BIOS settings: hdc:DMA, hdd:pio
hda: Maxtor 92049U4, ATA DISK drive
hdb: IC35L060AVVA07-0, ATA DISK drive
blk: queue c03ef080, I/O limit 4095Mb (mask 0xffffffff)
blk: queue c03ef1c8, I/O limit 4095Mb (mask 0xffffffff)
hdc: DVDROM 8X, ATAPI CD/DVD-ROM drive
hdd: no response (status = 0xa1), resetting drive
hdd: no response (status = 0xa1)
ide0 at 0x1f0-0x1f7,0x3f6 on irq 14
ide1 at 0x170-0x177,0x376 on irq 15
hda: attached ide-disk driver.
hda: host protected area => 1
hda: 39876480 sectors (20417 MB) w/2048KiB Cache, CHS=2482/255/63,
UDMA(66)
hdb: attached ide-disk driver.
hdb: host protected area => 1
hdb: 120103200 sectors (61493 MB) w/1863KiB Cache, CHS=7476/255/63,
UDMA(100)
hdc: attached ide-cdrom driver.
hdc: ATAPI DVD-ROM drive, 512kB Cache, UDMA(33)
Uniform CD-ROM driver Revision: 3.12
Partition check:
 hda: hda1 hda2 < hda5 > hda3
 hdb: unknown partition table
usb.c: registered new driver usbdevfs
usb.c: registered new driver hub
mice: PS/2 mouse device common for all mice
NET4: Linux TCP/IP 1.0 for NET4.0
IP Protocols: ICMP, UDP, TCP, IGMP
IP: routing cache hash table of 2048 buckets, 16Kbytes
TCP: Hash tables configured (established 16384 bind 16384)
Linux IP multicast router 0.06 plus PIM-SM
NET4: Unix domain sockets 1.0/SMP for Linux NET4.0.
kjournald starting.  Commit interval 5 seconds
EXT3-fs: mounted filesystem with ordered data mode.
VFS: Mounted root (ext3 filesystem) readonly.
Freeing unused kernel memory: 132k freed
Real Time Clock Driver v1.10f
Adding Swap: 473876k swap-space (priority -1)
EXT3 FS 2.4-0.9.19, 19 August 2002 on ide0(3,3), internal journal
Via 686a/8233/8235 audio driver 1.9.1-ac3
via82cxxx: Six channel audio available
PCI: Setting latency timer of device 00:11.5 to 64
ac97_codec: AC97 Audio codec, id: ICE82 (Unknown)
via82cxxx: board #1 at 0xE400, IRQ 22
md: md driver 0.90.0 MAX_MD_DEVS=256, MD_SB_DISKS=27
kjournald starting.  Commit interval 5 seconds
EXT3 FS 2.4-0.9.19, 19 August 2002 on ide0(3,1), internal journal
EXT3-fs: mounted filesystem with ordered data mode.
reiserfs: found format "3.6" with standard journal
reiserfs:warning: CONFIG_REISERFS_CHECK is set ON
reiserfs:warning: - it is slow mode for debugging.
reiserfs: checking transaction log (device ide0(3,64)) ...
for (ide0(3,64))
ide0(3,64): journal-1153: found in header: first_unflushed_offset 1396,
last_flushed_trans_id 
902059
ide0(3,64): journal-1006: found valid transaction start offset 1396, len 4
id 900897
ide0(3,64): journal-1206: Starting replay from offset 1396, trans_id
902060
ide0(3,64): journal-1037: journal_read_transaction, offset 1396, len 4
mount_id 77
ide0(3,64): journal-1039: journal_read_trans skipping because 1396 is too
old
ide0(3,64): journal-1299: Setting newest_mount_id to 81
ide0(3,64):Using r5 hash to sort names


> /etc/murasaki/murasaki.preload の内容と

hid
usb-uhci
ehci-hcd
末尾にsiimageを追記しても再起動後は、抹消されるようです。

> /sbin/lsmodで出力される内容

Module                  Size  Used by    Not tainted
ivtv                   96744   0
upd64083               13920   0 (unused)
upd64031a              11968   0 (unused)
mpg600gr                3680   0 (unused)
videodev                8192   3 [ivtv]
saa717x                27104   0 (unused)
tuner                  11044   1
i2c-algo-bit            8236   1 [ivtv]
i2c-core               18240   0 [ivtv upd64083 upd64031a mpg600gr saa717x
tuner i2c-algo-bit]
autofs4                10212   1 (autoclean)
via-rhine              13480   1
mii                     3724   0 [via-rhine]
ehci-hcd               18656   0 (unused)
usb-uhci               23940   0 (unused)
hid                    23840   0 (unused)
md                     62016   0 (unused)
via82cxxx_audio        21184   0
ac97_codec             15328   0 [via82cxxx_audio]
uart401                 7520   0 [via82cxxx_audio]
sound                  68268   0 [via82cxxx_audio uart401]
soundcore               5988   4 [via82cxxx_audio sound]
rtc                     7324   0 (autoclean)

> /proc/devices の内容

 Character devices:
  1 mem
  2 pty
  3 ttyp
  4 ttyS
  5 cua
  7 vcs
 10 misc
 13 input
 14 sound
 29 fb
 36 netlink
 81 video_capture
128 ptm
136 pts
162 raw
180 usb
226 drm

Block devices:
  1 ramdisk
  3 ide0
  7 loop
  9 md
 22 ide1

> lspci の内容

 00:00.0 Class 0600: 1106:3148
00:01.0 Class 0604: 1106:b091
00:08.0 Class 0400: 4444:0016 (rev 01)
00:09.0 Class 0180: 1095:3112 (rev 01)
00:10.0 Class 0c03: 1106:3038 (rev 80)
00:10.1 Class 0c03: 1106:3038 (rev 80)
00:10.2 Class 0c03: 1106:3038 (rev 80)
00:10.3 Class 0c03: 1106:3104 (rev 82)
00:11.0 Class 0601: 1106:3177
00:11.1 Class 0101: 1106:0571 (rev 06)
00:11.5 Class 0401: 1106:3059 (rev 50)
00:12.0 Class 0200: 1106:3065 (rev 74)
01:00.0 Class 0300: 5333:8d04


以上。