[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#470374: marked as done ([hppa] lenny beta1 netboot: LVM activation fails on reboot)



Your message dated Mon, 31 Mar 2008 17:55:56 +0200
with message-id <200803311755.56806.elendil@planet.nl>
and subject line Re: Bug#470374: [hppa] lenny beta1 netboot: LVM activation fails on reboot
has caused the Debian Bug report #470374,
regarding [hppa] lenny beta1 netboot: LVM activation fails on reboot
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact owner@bugs.debian.org
immediately.)


-- 
470374: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=470374
Debian Bug Tracking System
Contact owner@bugs.debian.org with problems
--- Begin Message ---
Package: installation-reports

Image: hppa - lenny Beta1 - netboot

Partitioning scheme: guided LVM with separate /usr, /var, etc.
Tasks: standard, web server

I made a mistake during partitioning: I activated an old raid array on the 
third SCSI disk of the system. I later decided to erase that disk (create 
new partition table) without making sure the RAID was disabled.
This resulted in the elusive "cannot signal changes to <raid partition>" 
error we get reported sometimes, but just ignoring that worked. The install 
itself was otherwise without issues.

On the reboot however the system failed to activate LVM and thus could not 
find the root filesystem. I'm not sure what the problem is. It could be 
that the initrd tried to activate LVM too early, but it is also possible 
that 'vgchange -a y' is just not working for some reason.
In the end I did manage to activate the LVM volumes using:
    vgchange -a e <VG name>
Typing 'exit' from the initramfs shell then got me into the system.

The webserver worked correctly.

Attached the installation log and the boot log.

In the reboot log can be seen that the initrd tries to activate LVM before 
the kernel reports disks ready, but it can also be seen that 'vgchange -a 
y' still fails after that.

umame -a: Linux treebeard 2.6.22-3-parisc #2 Mon Nov 12 20:42:16 CET 2007 parisc unknown
lspci -nn: 00:0c.0 Ethernet controller [0200]: Digital Equipment Corporation DECchip 21142/43 [1011:0019] (rev 41)
lspci -nn: 00:0d.0 Multimedia audio controller [0401]: Analog Devices AD1889 sound chip [11d4:1889]
lspci -nn: 00:0e.0 IDE interface [0101]: National Semiconductor Corporation 87415/87560 IDE [100b:0002] (rev 03)
lspci -nn: 00:0e.1 Bridge [0680]: National Semiconductor Corporation 87560 Legacy I/O [100b:000e] (rev 01)
lspci -nn: 00:0e.2 USB Controller [0c03]: National Semiconductor Corporation USB Controller [100b:0012] (rev 02)
lspci -nn: 00:0f.0 SCSI storage controller [0100]: LSI Logic / Symbios Logic 53C896/897 [1000:000b] (rev 04)
lspci -nn: 00:0f.1 SCSI storage controller [0100]: LSI Logic / Symbios Logic 53C896/897 [1000:000b] (rev 04)
lspci -vnn: 00:0c.0 Ethernet controller [0200]: Digital Equipment Corporation DECchip 21142/43 [1011:0019] (rev 41)
lspci -vnn: 	Subsystem: Hewlett-Packard Company Unknown device [103c:104f]
lspci -vnn: 	Flags: bus master, medium devsel, latency 255, IRQ 65
lspci -vnn: 	I/O ports at 1000 [size=128]
lspci -vnn: 	Memory at f4008000 (32-bit, non-prefetchable) [size=1K]
lspci -vnn: 	Expansion ROM at f4040000 [disabled] [size=256K]
lspci -vnn: 	Kernel driver in use: tulip
lspci -vnn: 	Kernel modules: tulip
lspci -vnn: 
lspci -vnn: 00:0d.0 Multimedia audio controller [0401]: Analog Devices AD1889 sound chip [11d4:1889]
lspci -vnn: 	Subsystem: Analog Devices AD1889 sound chip [11d4:1889]
lspci -vnn: 	Flags: bus master, medium devsel, latency 255, IRQ 66
lspci -vnn: 	Memory at f400c000 (32-bit, prefetchable) [size=512]
lspci -vnn: 	Memory at f400b000 (32-bit, prefetchable) [size=16]
lspci -vnn: 	Memory at f400a000 (32-bit, prefetchable) [size=16]
lspci -vnn: 	Memory at f4009000 (32-bit, prefetchable) [size=16]
lspci -vnn: 	Capabilities: [dc] Power Management version 1
lspci -vnn: 
lspci -vnn: 00:0e.0 IDE interface [0101]: National Semiconductor Corporation 87415/87560 IDE [100b:0002] (rev 03) (prog-if 8f [Master SecP SecO PriP PriO])
lspci -vnn: 	Flags: bus master, medium devsel, latency 255, IRQ 7
lspci -vnn: 	I/O ports at 0f00 [size=8]
lspci -vnn: 	I/O ports at 0e00 [size=4]
lspci -vnn: 	I/O ports at 0d00 [size=8]
lspci -vnn: 	I/O ports at 0b00 [size=4]
lspci -vnn: 	I/O ports at 0a00 [size=16]
lspci -vnn: 	Kernel driver in use: NS87415_IDE
lspci -vnn: 	Kernel modules: ns87415
lspci -vnn: 
lspci -vnn: 00:0e.1 Bridge [0680]: National Semiconductor Corporation 87560 Legacy I/O [100b:000e] (rev 01)
lspci -vnn: 	Flags: bus master, medium devsel, latency 255, IRQ 67
lspci -vnn: 	Kernel driver in use: SuperIO
lspci -vnn: 
lspci -vnn: 00:0e.2 USB Controller [0c03]: National Semiconductor Corporation USB Controller [100b:0012] (rev 02) (prog-if 10)
lspci -vnn: 	Flags: bus master, medium devsel, latency 240, IRQ 1
lspci -vnn: 	Memory at f4007000 (32-bit, non-prefetchable) [size=4K]
lspci -vnn: 	Memory at f4006000 (32-bit, non-prefetchable) [size=4K]
lspci -vnn: 	Kernel driver in use: ohci_hcd
lspci -vnn: 	Kernel modules: ohci-hcd
lspci -vnn: 
lspci -vnn: 00:0f.0 SCSI storage controller [0100]: LSI Logic / Symbios Logic 53C896/897 [1000:000b] (rev 04)
lspci -vnn: 	Subsystem: LSI Logic / Symbios Logic Unknown device [1000:1000]
lspci -vnn: 	Flags: bus master, medium devsel, latency 255, IRQ 68
lspci -vnn: 	I/O ports at 0900 [size=256]
lspci -vnn: 	Memory at f4005000 (64-bit, non-prefetchable) [size=1K]
lspci -vnn: 	Memory at f4002000 (64-bit, non-prefetchable) [size=8K]
lspci -vnn: 	Capabilities: [40] Power Management version 1
lspci -vnn: 	Kernel driver in use: sym53c8xx
lspci -vnn: 	Kernel modules: sym53c8xx
lspci -vnn: 
lspci -vnn: 00:0f.1 SCSI storage controller [0100]: LSI Logic / Symbios Logic 53C896/897 [1000:000b] (rev 04)
lspci -vnn: 	Subsystem: LSI Logic / Symbios Logic Unknown device [1000:1000]
lspci -vnn: 	Flags: bus master, medium devsel, latency 255, IRQ 68
lspci -vnn: 	I/O ports at 0800 [size=256]
lspci -vnn: 	Memory at f4004000 (64-bit, non-prefetchable) [size=1K]
lspci -vnn: 	Memory at f4000000 (64-bit, non-prefetchable) [size=8K]
lspci -vnn: 	Capabilities: [40] Power Management version 1
lspci -vnn: 	Kernel driver in use: sym53c8xx
lspci -vnn: 	Kernel modules: sym53c8xx
lspci -vnn: 
modulemap: 1011:0019 tulip
modulemap: 100b:0002 ns87415
modulemap: 100b:0012 ohci_hcd
modulemap: 1000:000b sym53c8xx
modulemap: 1000:000b sym53c8xx
lsmod: Module                  Size  Used by
lsmod: dm_mod                 71552  13 
lsmod: raid456               129040  0 
lsmod: xor                     9096  1 raid456
lsmod: raid1                  27456  2 
lsmod: raid0                  10464  0 
lsmod: md_mod                 98740  3 raid456,raid1,raid0
lsmod: ext3                  162920  5 
lsmod: jbd                    67848  1 ext3
lsmod: sd_mod                 34672  6 
lsmod: zalon7xx               35372  0 
lsmod: lasi700                 3808  0 
lsmod: 53c700                 35528  1 lasi700
lsmod: ide_cd                 47364  0 
lsmod: cdrom                  43036  1 ide_cd
lsmod: sym53c8xx              87092  4 
lsmod: scsi_transport_spi     31136  3 zalon7xx,53c700,sym53c8xx
lsmod: scsi_mod              169516  6 sd_mod,zalon7xx,lasi700,53c700,sym53c8xx,scsi_transport_spi
lsmod: ns87415                 5572  0 [permanent]
lsmod: ide_core              128120  2 ide_cd,ns87415
lsmod: lasi_82596             27700  0 
lsmod: ohci_hcd               35780  0 
lsmod: usbcore               143148  1 ohci_hcd
lsmod: tulip                  62588  0 
df: Filesystem           1k-blocks      Used Available Use% Mounted on
df: tmpfs                  1035836        64   1035772   0% /dev
df: tmpfs                  1035836        64   1035772   0% /dev
df: /dev/mapper/treebeard-root    273674     62512    197031  24% /target
df: /dev/sdb2               120443     11206    102811  10% /target/boot
df: /dev/mapper/treebeard-home   3011664     70112   2788568   2% /target/home
df: /dev/mapper/treebeard-tmp    261797     10289    237992   4% /target/tmp
df: /dev/mapper/treebeard-usr   3047952    333376   2559748  12% /target/usr
df: /dev/mapper/treebeard-var   1471520    202420   1194348  14% /target/var
df: /dev/mapper/treebeard-root    273674     62512    197031  24% /dev/.static/dev
df: tmpfs                  1035836        64   1035772   0% /target/dev
free:               total         used         free       shared      buffers
free:   Mem:      2071672       562476      1509196            0         1624
free:  Swap:       516088            0       516088
free: Total:      2587760       562476      2025284
cardctl status: /usr/bin/report-hw: /usr/bin/report-hw: 48: pccardctl: not found
cardctl ident: /usr/bin/report-hw: /usr/bin/report-hw: 49: pccardctl: not found
cardctl status: /usr/bin/report-hw: /usr/bin/report-hw: 50: cardctl: not found
cardctl ident: /usr/bin/report-hw: /usr/bin/report-hw: 51: cardctl: not found
/proc/cpuinfo: processor	: 0
/proc/cpuinfo: cpu family	: PA-RISC 2.0
/proc/cpuinfo: cpu		: PA8600 (PCX-W+)
/proc/cpuinfo: cpu MHz		: 552.000000
/proc/cpuinfo: model		: 9000/785/J5600
/proc/cpuinfo: model name	: Forte W+ 2w
/proc/cpuinfo: hversion	: 0x00005d10
/proc/cpuinfo: sversion	: 0x00000491
/proc/cpuinfo: I-cache		: 512 KB
/proc/cpuinfo: D-cache		: 1024 KB (WB, direct mapped)
/proc/cpuinfo: ITLB entries	: 160
/proc/cpuinfo: DTLB entries	: 160 - shared with ITLB
/proc/cpuinfo: BTLB		: not supported
/proc/cpuinfo: bogomips	: 1101.82
/proc/cpuinfo: software id	: 2005919228
/proc/cpuinfo: 
/proc/ioports: 00000000-00001fff : PCI00 Ports
/proc/ioports:   00000020-0000003e : pic1
/proc/ioports:   000000a0-000000be : pic2
/proc/ioports:   000007e0-000007fe : acpi
/proc/ioports:   00000800-000008ff : sym53c8xx
/proc/ioports:   00000900-000009ff : sym53c8xx
/proc/ioports:   00000a00-00000a07 : ide0
/proc/ioports:   00000a08-00000a0f : ide1
/proc/ioports:   00000e02-00000e02 : ide0
/proc/ioports:   00000f00-00000f07 : ide0
/proc/ioports:   00001000-0000107f : tulip
/proc/ioports: 00012000-00013fff : PCI01 Ports
/proc/ioports: 00024000-00025fff : PCI02 Ports
/proc/ioports: 00038000-00039fff : PCI03 Ports
/proc/ioports: 0004c000-0004dfff : PCI04 Ports
/proc/iomem: 00000000-7fffffff : System RAM
/proc/iomem:   00000000-000009ff : PDC data (Page Zero)
/proc/iomem:   00100000-00387fff : Kernel code
/proc/iomem:   00388000-00477fff : Kernel data
/proc/iomem: f05d0000-f05d0000 : lcd_data
/proc/iomem: f05d0008-f05d0008 : lcd_cmd
/proc/iomem: f4000000-f47fffff : PCI00 LMMIO
/proc/iomem:   f4000000-f4001fff : sym53c8xx
/proc/iomem:   f4002000-f4003fff : sym53c8xx
/proc/iomem:   f4004000-f40043ff : sym53c8xx
/proc/iomem:   f4005000-f40053ff : sym53c8xx
/proc/iomem:   f4007000-f4007fff : ohci_hcd
/proc/iomem:   f4008000-f40083ff : tulip
/proc/iomem: f4800000-f4ffffff : PCI01 LMMIO
/proc/iomem: f5000000-f57fffff : PCI02 LMMIO
/proc/iomem: f6000000-f67fffff : PCI03 LMMIO
/proc/iomem: f7000000-f77fffff : PCI04 LMMIO
/proc/iomem: fed00000-fed00fff : 10
/proc/iomem: fed30000-fed30fff : 10:0
/proc/iomem: fed32000-fed32fff : 10:1
/proc/iomem: fed34000-fed34fff : 10:2
/proc/iomem: fed38000-fed38fff : 10:4
/proc/iomem: fed3c000-fed3cfff : 10:6
/proc/iomem: fef00000-feffffff : Astro Intr Ack
/proc/iomem: fff80000-fffaffff : Central Bus
/proc/iomem:   fffa0000-fffa0fff : 32
/proc/iomem:   fffa2000-fffa2fff : 34
/proc/iomem: fffb0000-fffdffff : Local Broadcast
/proc/iomem: fffe0000-ffffffff : Global Broadcast
/proc/interrupts:            CPU0
/proc/interrupts:   1:          0         SuperIO  ohci_hcd:usb1
/proc/interrupts:   3:     142346         SuperIO  serial
/proc/interrupts:   7:       1483         SuperIO  ide0
/proc/interrupts:  64:     499507             CPU  timer
/proc/interrupts:  65:     120019  IO-SAPIC-level  eth0
/proc/interrupts:  67:     143840  IO-SAPIC-level  SuperIO
/proc/interrupts:  68:      39287  IO-SAPIC-level  sym53c8xx, sym53c8xx
/proc/meminfo: MemTotal:      2071672 kB
/proc/meminfo: MemFree:       1509228 kB
/proc/meminfo: Buffers:          1624 kB
/proc/meminfo: Cached:         508004 kB
/proc/meminfo: SwapCached:          0 kB
/proc/meminfo: Active:         311100 kB
/proc/meminfo: Inactive:       204236 kB
/proc/meminfo: SwapTotal:      516088 kB
/proc/meminfo: SwapFree:       516088 kB
/proc/meminfo: Dirty:            1228 kB
/proc/meminfo: Writeback:           0 kB
/proc/meminfo: AnonPages:        5708 kB
/proc/meminfo: Mapped:           3560 kB
/proc/meminfo: Slab:            38520 kB
/proc/meminfo: SReclaimable:    31068 kB
/proc/meminfo: SUnreclaim:       7452 kB
/proc/meminfo: PageTables:        444 kB
/proc/meminfo: NFS_Unstable:        0 kB
/proc/meminfo: Bounce:              0 kB
/proc/meminfo: CommitLimit:   1551924 kB
/proc/meminfo: Committed_AS:    10680 kB
/proc/meminfo: VmallocTotal:   245728 kB
/proc/meminfo: VmallocUsed:      2120 kB
/proc/meminfo: VmallocChunk:   243336 kB
dmidecode: /usr/bin/report-hw: /usr/bin/report-hw: 65: dmidecode: not found

Attachment: hppa_syslog.gz
Description: GNU Zip compressed data

Attachment: hppa_reboot.log.gz
Description: GNU Zip compressed data

Attachment: signature.asc
Description: This is a digitally signed message part.


--- End Message ---
--- Begin Message ---
On Monday 10 March 2008, Frans Pop wrote:
> parted_server: OUT: Error informing the kernel about modifications to
> partition /dev/md1p1 -- Invalid argument.  This means Linux won't know
> about any changes you made to /dev/md1p1 until you reboot -- so you
> shouldn't mount it or use it in any way before rebooting.

I think this is almost certainly solved by my commits today to mdcfg (commit 
r52318) and partman-lvm (commit r52320).

The cause of the issue was probably that when existing RAID devices were 
activated, they were created as /dev/mdX instead of /dev/md/X. The sync 
flag exception handling in partman-lvm only allowed for the second and not 
for the first, and thus probably created a "flags change" on the RAID 
device which parted would try to write.

Both issues have been addressed:
- mdcfg 1.24 will assemble pre-existing RAID devices as /dev/md/X
- partman-lvm 60 excludes both /dev/md/X and /dev/mdX

Therefore closing this report.


--- End Message ---

Reply to: