Trying to use lvm
I have patched and compliled 2.4.9.
I am getting the following error at reboot
lvm -- lvm_chr_ioctl: unknown command 4004fe0a
lvm -- lvm_chr_ioctl: unknown command 4004fe0a
more details from dmesg:
As a result I can not create a volume group
vgcreate -- ERROR "vg_create_remove(): open" creating VGDA for volume group "vg" in kernel
vgcreate -- LVM not in kernel?
more details in vgcreate error:
dmesg:
-----------------------------------------------------------
Linux version 2.4.9 (root@lock1) (gcc version 2.95.4 20010902 (Debian prerelease)) #1 Fri Sep 7 01:21:02 PDT 2001
BIOS-provided physical RAM map:
BIOS-e820: 0000000000000000 - 000000000009fc00 (usable)
BIOS-e820: 000000000009fc00 - 00000000000a0000 (reserved)
BIOS-e820: 00000000000f0000 - 0000000000100000 (reserved)
BIOS-e820: 0000000000100000 - 000000000c000000 (usable)
BIOS-e820: 00000000ffff0000 - 0000000100000000 (reserved)
Scan SMP from c0000000 for 1024 bytes.
Scan SMP from c009fc00 for 1024 bytes.
Scan SMP from c00f0000 for 65536 bytes.
Scan SMP from c009f000 for 4096 bytes.
On node 0 totalpages: 49152
zone(0): 4096 pages.
zone(1): 45056 pages.
zone(2): 0 pages.
mapped APIC to ffffe000 (01332000)
Kernel command line: auto BOOT_IMAGE=Linux ro root=821
Initializing CPU#0
Detected 400.920 MHz processor.
Console: colour VGA+ 80x25
Calibrating delay loop... 799.53 BogoMIPS
Memory: 190284k/196608k available (1533k kernel code, 5936k reserved, 591k data, 248k 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: 4096 (order: 3, 32768 bytes)
Buffer-cache hash table entries: 16384 (order: 4, 65536 bytes)
Page-cache hash table entries: 65536 (order: 6, 262144 bytes)
CPU: Before vendor init, caps: 008021bf 808029bf 00000000, vendor = 2
CPU: L1 I Cache: 32K (32 bytes/line), D cache 32K (32 bytes/line)
CPU: After vendor init, caps: 008021bf 808029bf 00000000 00000002
CPU: After generic, caps: 008021bf 808029bf 00000000 00000002
CPU: Common caps: 008021bf 808029bf 00000000 00000002
CPU: AMD-K6(tm) 3D processor stepping 0c
Checking 'hlt' instruction... OK.
POSIX conformance testing by UNIFIX
PCI: PCI BIOS revision 2.10 entry at 0xfb4d0, last bus=1
PCI: Using configuration type 1
PCI: Probing PCI hardware
Unknown bridge resource 1: assuming transparent
Unknown bridge resource 2: assuming transparent
PCI: Using IRQ router VIA [1106/0586] at 00:07.0
got res[10000000:13ffffff] for resource 0 of S3 Inc. 86c968 [Vision 968 VRAM] rev 0
Activating ISA DMA hang workarounds.
isapnp: Scanning for PnP cards...
isapnp: Card 'Realtek Plug & Play Ethernet Card'
isapnp: Card 'Realtek Plug & Play Ethernet Card'
isapnp: Card 'Realtek Plug & Play Ethernet Card'
isapnp: 3 Plug & Play cards detected total
Linux NET4.0 for Linux 2.4
Based upon Swansea University Computer Society NET3.039
Initializing RT netlink socket
IA-32 Microcode Update Driver: v1.08 <tigran@veritas.com>
Starting kswapd v1.8
devfs: v0.107 (20010709) Richard Gooch (rgooch@atnf.csiro.au)
devfs: boot_options: 0x2
vga16fb: initializing
vga16fb: mapped to 0xc00a0000
Console: switching to colour frame buffer device 80x30
fb0: VGA16 VGA frame buffer device
pty: 256 Unix98 ptys configured
Serial driver version 5.05c (2001-07-08) with MANY_PORTS SHARE_IRQ SERIAL_PCI ISAPNP enabled
ttyS02 at 0x03e8 (irq = 4) is a 16550A
Real Time Clock Driver v1.10d
Non-volatile memory driver v1.1
block: 128 slots per queue, batch=16
Uniform Multi-Platform E-IDE driver Revision: 6.31
ide: Assuming 33MHz system bus speed for PIO modes; override with idebus=xx
VP_IDE: IDE controller on PCI bus 00 dev 39
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 vt82c586b (rev 41) IDE UDMA33 controller on pci00:07.1
ide0: BM-DMA at 0xd000-0xd007, BIOS settings: hda:DMA, hdb:DMA
ide1: BM-DMA at 0xd008-0xd00f, BIOS settings: hdc:DMA, hdd:DMA
hdb: HITACHI CDR-8235, ATAPI CD/DVD-ROM drive
ide2: ports already in use, skipping probe
ide0 at 0x1f0-0x1f7,0x3f6 on irq 14
hdb: ATAPI 24X CD-ROM drive, 128kB Cache, DMA
Uniform CD-ROM driver Revision: 3.12
Floppy drive(s): fd0 is 1.44M
FDC 0 is a post-1991 82077
loop: loaded (max 8 devices)
PPP generic driver version 2.4.1
PPP Deflate Compression module registered
PPP BSD Compression module registered
8139too Fast Ethernet driver 0.9.18a
PCI: Found IRQ 11 for device 00:0a.0
IRQ routing conflict for 00:0a.0, have irq 3, want irq 11
eth0: RealTek RTL8139 Fast Ethernet at 0xcc802000, 00:40:f4:14:e2:c4, IRQ 3
eth0: Identified 8139 chip type 'RTL-8139C'
PCI: Found IRQ 3 for device 00:0b.0
eth1: RealTek RTL8139 Fast Ethernet at 0xcc804000, 00:40:f4:14:ea:27, IRQ 3
eth1: Identified 8139 chip type 'RTL-8139C'
Linux agpgart interface v0.99 (c) Jeff Hartmann
agpgart: Maximum main memory to use for agp memory: 150M
agpgart: Detected Via MVP3 chipset
agpgart: AGP aperture is 64M @ 0xe0000000
SCSI subsystem driver Revision: 1.00
PCI: Found IRQ 7 for device 00:09.0
PCI: Sharing IRQ 7 with 00:09.1
sym53c8xx: at PCI bus 0, device 9, function 0
sym53c8xx: setting PCI_COMMAND_PARITY...(fix-up)
sym53c8xx: 53c875 detected with Symbios NVRAM
PCI: Found IRQ 7 for device 00:09.1
PCI: Sharing IRQ 7 with 00:09.0
sym53c8xx: at PCI bus 0, device 9, function 1
sym53c8xx: setting PCI_COMMAND_PARITY...(fix-up)
sym53c8xx: 53c875 detected with Symbios NVRAM
sym53c875-0: rev 0x14 on pci bus 0 device 9 function 0 irq 7
sym53c875-0: Symbios format NVRAM, ID 7, Fast-20, Parity Checking
sym53c875-0: on-chip RAM at 0xee003000
sym53c875-0: restart (scsi reset).
sym53c875-0: Downloading SCSI SCRIPTS.
sym53c875-1: rev 0x14 on pci bus 0 device 9 function 1 irq 7
sym53c875-1: Symbios format NVRAM, ID 7, Fast-20, Parity Checking
sym53c875-1: on-chip RAM at 0xee002000
sym53c875-1: restart (scsi reset).
sym53c875-1: Downloading SCSI SCRIPTS.
scsi0 : sym53c8xx-1.7.3c-20010512
scsi1 : sym53c8xx-1.7.3c-20010512
Vendor: IBM Model: DDRS-34560W Rev: S71D
Type: Direct-Access ANSI SCSI revision: 02
sym53c875-0-<1,0>: tagged command queue depth set to 4
Vendor: IBM Model: DDRS-34560W Rev: S71D
Type: Direct-Access ANSI SCSI revision: 02
Vendor: SEAGATE Model: ST32151N Rev: 0154
Type: Direct-Access ANSI SCSI revision: 02
sym53c875-1-<1,0>: tagged command queue depth set to 4
sym53c875-1-<3,0>: tagged command queue depth set to 4
Attached scsi disk sda at scsi0, channel 0, id 1, lun 0
Attached scsi disk sdb at scsi1, channel 0, id 1, lun 0
Attached scsi disk sdc at scsi1, channel 0, id 3, lun 0
sym53c875-0-<1,*>: FAST-20 WIDE SCSI 40.0 MB/s (50.0 ns, offset 15)
SCSI device sda: 8925000 512-byte hdwr sectors (4570 MB)
Partition check:
/dev/scsi/host0/bus0/target1/lun0: p1 p2 p3
sym53c875-1-<1,*>: FAST-20 WIDE SCSI 40.0 MB/s (50.0 ns, offset 15)
SCSI device sdb: 8925000 512-byte hdwr sectors (4570 MB)
/dev/scsi/host1/bus0/target1/lun0: p1 p2 p3
sym53c875-1-<3,*>: FAST-10 SCSI 10.0 MB/s (100.0 ns, offset 15)
SCSI device sdc: 4197405 512-byte hdwr sectors (2149 MB)
/dev/scsi/host1/bus0/target3/lun0: p1
md: linear personality registered
md: raid0 personality registered
md: raid1 personality registered
md: raid5 personality registered
raid5: measuring checksumming speed
8regs : 558.400 MB/sec
32regs : 368.000 MB/sec
pII_mmx : 767.200 MB/sec
p5_mmx : 782.000 MB/sec
raid5: using function: p5_mmx (782.000 MB/sec)
md: md driver 0.90.0 MAX_MD_DEVS=256, MD_SB_DISKS=27
md: Autodetecting RAID arrays.
md: autorun ...
md: ... autorun DONE.
LVM version 0.9.1_beta2 by Heinz Mauelshagen (18/01/2001)
lvm -- Driver successfully initialized
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)
GRE over IPv4 tunneling driver
ip_conntrack (1536 buckets, 12288 max)
ip_tables: (c)2000 Netfilter core team
NET4: Unix domain sockets 1.0/SMP for Linux NET4.0.
VFS: Mounted root (ext2 filesystem) readonly.
Mounted devfs on /dev
Freeing unused kernel memory: 248k freed
Adding Swap: 377516k swap-space (priority -1)
Adding Swap: 393380k swap-space (priority -2)
lvm -- lvm_chr_ioctl: unknown command 4004fe0a
lvm -- lvm_chr_ioctl: unknown command 4004fe0a
eth0: Setting 100mbps full-duplex based on auto-negotiated partner ability 45e1.
eth0: Setting 100mbps full-duplex based on auto-negotiated partner ability 45e1.
vgcreate error:
-------------------------------------------------------------------
Script started on Fri Sep 7 11:32:23 2001
root@lock1:~# vgcreate -v vg /dev/scsi/host0/bus0/target1/lun0/part3 /dev/scsi/h ost1/bus0/target1/lun0/part3
vgcreate -- checking volume group name
vgcreate -- checking volume group directory existence
vgcreate -- locking logical volume manager
vgcreate -- checking volume group "vg" existence
vgcreate -- counting all existing volume groups
vgcreate -- reading all physical volume data from disks
vgcreate -- checking if all given physical volumes in command line are new
vgcreate -- checking physical volumes name "/dev/scsi/host0/bus0/target1/lun0/part3"
vgcreate -- checking physical volume "/dev/scsi/host0/bus0/target1/lun0/part3"
vgcreate -- getting size of physical volume "/dev/scsi/host0/bus0/target1/lun0/part3"
vgcreate -- size of physical volume "/dev/scsi/host0/bus0/target1/lun0/part3" is 8128890 sectors
vgcreate -- checking for new physical volume "/dev/scsi/host0/bus0/target1/lun0/part3"
vgcreate -- checking for identical physical volumes on command line
vgcreate -- checking physical volumes name "/dev/scsi/host1/bus0/target1/lun0/part3"
vgcreate -- checking physical volume "/dev/scsi/host1/bus0/target1/lun0/part3"
vgcreate -- getting size of physical volume "/dev/scsi/host1/bus0/target1/lun0/part3"
vgcreate -- size of physical volume "/dev/scsi/host1/bus0/target1/lun0/part3" is 8095092 sectors
vgcreate -- checking for new physical volume "/dev/scsi/host1/bus0/target1/lun0/part3"
vgcreate -- checking for identical physical volumes on command line
vgcreate -- 2 physical volumes will be inserted into volume group "vg"
vgcreate -- checking command line arguments
vgcreate -- INFO: maximum of 255 physical volumes
vgcreate -- INFO: maximum of 255 logical volumes
vgcreate -- setting up volume data for creation
vgcreate -- INFO: using default physical extent size 4.00 MB
vgcreate -- INFO: maximum logical volume size is 255.99 Gigabyte
vgcreate -- storing volume group data on disk(s)
vgcreate -- removing any invalid special files of volume group "vg"
vgcreate -- creating volume group directory /dev/vg
vgcreate -- creating VGDA for volume group "vg" in kernel
vgcreate -- ERROR "vg_create_remove(): open" creating VGDA for volume group "vg" in kernel
vgcreate -- LVM not in kernel?
root@lock1:~# exit
Script done on Fri Sep 7 11:32:31 2001
Reply to: