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

Re: atari and LVM



On Mon, 1 Feb 2016, Christian T. Steigies wrote:

> Hi,
> I have been able to boot my Atari/CT60 again, but I needed to boot (and load
> hddriver) from floppy, since the harddisk partitions seems to have suffered
> during the crash in September. Partitions are detected during boot:
> 
> [    2.850000] hda: SAMSUNG MP0402H, ATA DISK drive
> [    3.580000] ide0 at 0xfff00000 on irq 15 (serialized)
> [    3.610000] ide-gd driver 1.18
> [    3.620000] hda: max request size: 1024KiB
> [    4.080000] hda: 78242976 sectors (40060 MB) w/8192KiB Cache, CHS=16383/255/63
> [    4.110000] hda: cache flushes supported
> [    4.180000]  hda: AHDI hda1 hda2 hda3 XGM< hda4 hda5 hda6 >
> 
> But the partition table is not recognized. Nevertheless, it boots happily
> from hda5, but the lvm partitions do not show up:
> 
> root@garkin:~>lvscan 
>   inactive          '/dev/garkin/buildd-sid' [4.00 GiB] inherit
>   inactive          '/dev/garkin/swap' [2.00 GiB] inherit
>   inactive          '/dev/garkin/build' [10.00 GiB] inherit
>   inactive          '/dev/garkin/sid-m68k-sbuild-3093f291-829f-4c52-9eb4-fb242fafdd8c' [4.00 GiB] inherit
> 
> 
> After "lvchange -ay /dev/garkin" the partitions are active, but I still can
> not mount them. Anybody have an idea?
> 
> [73953.070000] bio too big device dm-0 (8 > 0)
> [73953.080000] bio too big device dm-0 (8 > 0)
> [73953.090000] Buffer I/O error on dev dm-0, logical block 1048560, async page read
> [73953.310000] bio too big device dm-1 (8 > 0)
> [73953.320000] bio too big device dm-1 (8 > 0)
> [73953.330000] Buffer I/O error on dev dm-1, logical block 524272, async page read
> [73953.430000] bio too big device dm-2 (8 > 0)
> [73953.450000] bio too big device dm-2 (8 > 0)
> [73953.460000] Buffer I/O error on dev dm-2, logical block 2621424, async page read
> [73953.580000] bio too big device dm-3 (8 > 0)
> [73953.590000] bio too big device dm-3 (8 > 0)
> [73953.600000] Buffer I/O error on dev dm-3, logical block 1048560, async page read
> [73973.080000] bio too big device dm-2 (2 > 0)
> [73973.090000] EXT4-fs (dm-2): unable to read superblock
> 
> This is one of Michael's kernels, I think have booted this before:
> Linux garkin 3.19.0-rc6-atari-232208-g106c1ac #322 Mon Mar 23 08:49:31 NZDT 2015 m68k GNU/Linux

If you suspect that the partition tables are corrupt, it would be a good 
idea to fix that first. If the kernel misbehaves after that, please update 
it. I would also check that the installed lvm2 package is up-to-date.

The log message above says that queue_max_hw_sectors(q) is zero. But the 
"bio too big" error was removed in v4.3, so I'm disinclined to pursue 
that.

If I had to guess, I'd say that some component is still offline/inactive. 
You might learn more from 'lvs --all', 'pvdisplay', 'vgdisplay' etc.

-- 

> 
> Christian
> 
> 


Reply to: