I don't have two the same. They are both IBM but the product and revision numbers are quite different for each drive. The scsiinfo command gives me the drives' serial numbers which are both different and nothing like the number quoted in the error message.
Ok I am looking at the Lilo source now, it all seems to happen in device.c at about line 425
Can you set the verbosity to level 4 "lilo -v 4", run lilo and send the output.
Wayne
On Friday 23 May 2003 23:58, Wayne Stallwood wrote:
I don't have two the same. They are both IBM but the product and revision numbers are quite different for each drive. The scsiinfo command gives me the drives' serial numbers which are both different and nothing like the number quoted in the error message.
Ok I am looking at the Lilo source now, it all seems to happen in device.c at about line 425
Can you set the verbosity to level 4 "lilo -v 4", run lilo and send the output.
Wayne
main@lists.alug.org.uk http://www.alug.org.uk/ http://lists.alug.org.uk/mailman/listinfo/main Unsubscribe? See message headers or the web site above!
Whoops, sorry about the repeated post, got a little trigger happy there.
Right. If you go up a few versions to 22.5.3 they have added an additional sanity check on the serial number which checks for replicated characters in the Volume ID, if this fails then it falls back to some code that generates a new one. (search device.c for "serial_valid")
On the version you are trying if there is any serial number present then it will not run this fallback code, it is only run if the serial numbers do not exist at all.
Additionally this whole section does not exist it seems in your original version of Lilo. The serial number probe is a lot simpler there and lives in probe.c, this version does not even seem to care if there are duplicate serial numbers. It would probably be quite interesting to see what serial numbers the old version thinks you have "with the lilo -v 4" again. Personally I am betting they are both 0000000A.
So in the case of your system, I'd avoid 22.5.1 but I am pretty confident that 22.5.3 would work.
As to why lilo is finding duplicate serial numbers in the first place I am not sure. lilo (well the version on my system) generates this number when invoked with the -M option. Maybe if the partitions were created, copied or moved by something other than Linux this could be a problem.
Maybe it's worth doing this before trying the new package again (or even trying it with the new package). That said messing with the MBR on a important system always makes me a little twitchy.
Regards Wayne
On 2003.05.24 00:58 Wayne Stallwood wrote:
I don't have two the same. They are both IBM but the product and revision numbers are quite different for each drive. The scsiinfo command gives me the drives' serial numbers which are
both
different and nothing like the number quoted in the error message.
Ok I am looking at the Lilo source now, it all seems to happen in device.c at about line 425
Can you set the verbosity to level 4 "lilo -v 4", run lilo and send the output.
Wayne
Wayne
Thanks very much for your attempt to solve this problem. The output of Lilo (the version that works) follows:
LILO version 22.4.1 (test mode), Copyright (C) 1992-1998 Werner Almesberger Development beyond version 21 Copyright (C) 1999-2002 John Coffman Released 27-Jan-2003 and compiled at 09:45:24 on Feb 27 2003.
raid_setup returns offset = 00000000 ndisk = 0 Warning: COMPACT may conflict with LBA32 on some systems Reading boot sector from /dev/sda bios_dev: device 0811 bios_dev: masked device 0810, which is /dev/sdb bios_dev: geometry check found 0 matches bios_dev: (0x81) S/N=0000000A *PT=0806CB28 bios_dev: (0x80) S/N=0000000A *PT=0806CAE0 bios_dev: PT match found 1 match (0x81) Device 0x0811: BIOS drive 0x81, 64 heads, 35003 cylinders, 32 sectors. Partition offset: 32 sectors. Using MENU secondary loader Calling map_insert_data Secondary loader: 16 sectors (0x3000 dataend). install(2) flags: 0x0302
Boot image: /boot/vmlinuz-2.4.20 bios_dev: device 0811 bios_dev: masked device 0810, which is /dev/sdb bios_dev: geometry check found 0 matches bios_dev: (0x81) S/N=0000000A *PT=0806CB28 bios_dev: (0x80) S/N=0000000A *PT=0806CAE0 bios_dev: PT match found 1 match (0x81) Device 0x0811: BIOS drive 0x81, 64 heads, 35003 cylinders, 32 sectors. Partition offset: 32 sectors. Setup length is 6 sectors. Compaction removed 1504 BIOS calls. Mapped AL=0x00 CX=0x555e DX=0x11e1, LBA=1135966 Mapped AL=0x00 CX=0x555f DX=0x11e1, LBA=1135967 Mapped AL=0x00 CX=0x29f8 DX=0x10e1, LBA=1059320 Mapped AL=0x00 CX=0x29f9 DX=0x10e1, LBA=1059321 Mapped AL=0x00 CX=0x29fa DX=0x10e1, LBA=1059322 Mapped AL=0x00 CX=0x29fb DX=0x10e1, LBA=1059323 Mapped AL=0x00 CX=0x29fc DX=0x10e1, LBA=1059324 Mapped AL=0x00 CX=0x29fd DX=0x10e1, LBA=1059325 Mapped AL=0x00 CX=0x29fe DX=0x10e1, LBA=1059326 Mapped AL=0x00 CX=0x29ff DX=0x10e1, LBA=1059327 Mapped AL=0x58 CX=0x2a00 DX=0x10a1, LBA=1059328 Mapped AL=0x27 CX=0x2a60 DX=0x10a1, LBA=1059424 Mapped AL=0x7f CX=0x2a87 DX=0x10a1, LBA=1059463 Mapped AL=0x01 CX=0x2b06 DX=0x10a1, LBA=1059590 Mapped AL=0x7f CX=0x2b07 DX=0x10a1, LBA=1059591 Mapped AL=0x01 CX=0x2b86 DX=0x10a1, LBA=1059718 Mapped AL=0x7f CX=0x2b87 DX=0x10a1, LBA=1059719 Mapped AL=0x01 CX=0x2c06 DX=0x10a1, LBA=1059846 Mapped AL=0x7f CX=0x2c07 DX=0x10a1, LBA=1059847 Mapped AL=0x01 CX=0x2c86 DX=0x10a1, LBA=1059974 Mapped AL=0x7f CX=0x2c87 DX=0x10a1, LBA=1059975 Mapped AL=0x01 CX=0x2d06 DX=0x10a1, LBA=1060102 Mapped AL=0x7f CX=0x2d07 DX=0x10a1, LBA=1060103 Mapped AL=0x01 CX=0x2d86 DX=0x10a1, LBA=1060230 Mapped AL=0x7f CX=0x2d87 DX=0x10a1, LBA=1060231 Mapped AL=0x01 CX=0x2e06 DX=0x10a1, LBA=1060358 Mapped AL=0x7f CX=0x2e07 DX=0x10a1, LBA=1060359 Mapped AL=0x01 CX=0x2e86 DX=0x10a1, LBA=1060486 Mapped AL=0x29 CX=0x2e87 DX=0x10a1, LBA=1060487 Mapped AL=0x08 CX=0x2ec8 DX=0x10a1, LBA=1060552 Mapped AL=0x4f CX=0x39c8 DX=0x10a1, LBA=1063368 Mapped AL=0x09 CX=0x3a17 DX=0x10a1, LBA=1063447 Mapped AL=0x58 CX=0x3f60 DX=0x10a1, LBA=1064800 Mapped AL=0x1f CX=0x4770 DX=0x11a1, LBA=1132400 Mapped AL=0x7a CX=0x478f DX=0x11a1, LBA=1132431 Mapped 1539 sectors. Added linux-pwroff * <dev=0xe1,hd=17,cyl=85,sct=96> "ro root=811 apm=power-off"
Boot image: /boot/vmlinuz-2.4.20-old bios_dev: device 0811 bios_dev: masked device 0810, which is /dev/sdb bios_dev: geometry check found 0 matches bios_dev: (0x81) S/N=0000000A *PT=0806CB28 bios_dev: (0x80) S/N=0000000A *PT=0806CAE0 bios_dev: PT match found 1 match (0x81) Device 0x0811: BIOS drive 0x81, 64 heads, 35003 cylinders, 32 sectors. Partition offset: 32 sectors. Setup length is 6 sectors. Compaction removed 1422 BIOS calls. Mapped AL=0x00 CX=0x5561 DX=0x11e1, LBA=1135969 Mapped AL=0x00 CX=0x5562 DX=0x11e1, LBA=1135970 Mapped AL=0x00 CX=0x4928 DX=0x11e1, LBA=1132840 Mapped AL=0x00 CX=0x4929 DX=0x11e1, LBA=1132841 Mapped AL=0x00 CX=0x492a DX=0x11e1, LBA=1132842 Mapped AL=0x00 CX=0x492b DX=0x11e1, LBA=1132843 Mapped AL=0x00 CX=0x492c DX=0x11e1, LBA=1132844 Mapped AL=0x00 CX=0x492d DX=0x11e1, LBA=1132845 Mapped AL=0x00 CX=0x492e DX=0x11e1, LBA=1132846 Mapped AL=0x00 CX=0x492f DX=0x11e1, LBA=1132847 Mapped AL=0x58 CX=0x4930 DX=0x11a1, LBA=1132848 Mapped AL=0x27 CX=0x4990 DX=0x11a1, LBA=1132944 Mapped AL=0x7f CX=0x49b7 DX=0x11a1, LBA=1132983 Mapped AL=0x01 CX=0x4a36 DX=0x11a1, LBA=1133110 Mapped AL=0x7f CX=0x4a37 DX=0x11a1, LBA=1133111 Mapped AL=0x01 CX=0x4ab6 DX=0x11a1, LBA=1133238 Mapped AL=0x7f CX=0x4ab7 DX=0x11a1, LBA=1133239 Mapped AL=0x01 CX=0x4b36 DX=0x11a1, LBA=1133366 Mapped AL=0x7f CX=0x4b37 DX=0x11a1, LBA=1133367 Mapped AL=0x01 CX=0x4bb6 DX=0x11a1, LBA=1133494 Mapped AL=0x7f CX=0x4bb7 DX=0x11a1, LBA=1133495 Mapped AL=0x01 CX=0x4c36 DX=0x11a1, LBA=1133622 Mapped AL=0x7f CX=0x4c37 DX=0x11a1, LBA=1133623 Mapped AL=0x01 CX=0x4cb6 DX=0x11a1, LBA=1133750 Mapped AL=0x7f CX=0x4cb7 DX=0x11a1, LBA=1133751 Mapped AL=0x01 CX=0x4d36 DX=0x11a1, LBA=1133878 Mapped AL=0x7f CX=0x4d37 DX=0x11a1, LBA=1133879 Mapped AL=0x01 CX=0x4db6 DX=0x11a1, LBA=1134006 Mapped AL=0x7f CX=0x4db7 DX=0x11a1, LBA=1134007 Mapped AL=0x01 CX=0x4e36 DX=0x11a1, LBA=1134134 Mapped AL=0x7f CX=0x4e37 DX=0x11a1, LBA=1134135 Mapped AL=0x01 CX=0x4eb6 DX=0x11a1, LBA=1134262 Mapped AL=0x26 CX=0x4eb7 DX=0x11a1, LBA=1134263 Mapped 1455 sectors. Added linux-old <dev=0xe1,hd=17,cyl=85,sct=99> "ro root=811 apm=power-off"
Boot image: /boot/vmlinuz-2.4.19 bios_dev: device 0811 bios_dev: masked device 0810, which is /dev/sdb bios_dev: geometry check found 0 matches bios_dev: (0x81) S/N=0000000A *PT=0806CB28 bios_dev: (0x80) S/N=0000000A *PT=0806CAE0 bios_dev: PT match found 1 match (0x81) Device 0x0811: BIOS drive 0x81, 64 heads, 35003 cylinders, 32 sectors. Partition offset: 32 sectors. Setup length is 6 sectors. Compaction removed 1401 BIOS calls. Mapped AL=0x00 CX=0x5564 DX=0x11e1, LBA=1135972 Mapped AL=0x00 CX=0x5565 DX=0x11e1, LBA=1135973 Mapped AL=0x00 CX=0x34b8 DX=0x10e1, LBA=1062072 Mapped AL=0x00 CX=0x34b9 DX=0x10e1, LBA=1062073 Mapped AL=0x00 CX=0x34ba DX=0x10e1, LBA=1062074 Mapped AL=0x00 CX=0x34bb DX=0x10e1, LBA=1062075 Mapped AL=0x00 CX=0x34bc DX=0x10e1, LBA=1062076 Mapped AL=0x00 CX=0x34bd DX=0x10e1, LBA=1062077 Mapped AL=0x00 CX=0x34be DX=0x10e1, LBA=1062078 Mapped AL=0x00 CX=0x34bf DX=0x10e1, LBA=1062079 Mapped AL=0x58 CX=0x34c0 DX=0x10a1, LBA=1062080 Mapped AL=0x20 CX=0x3520 DX=0x10a1, LBA=1062176 Mapped AL=0x07 CX=0x3588 DX=0x10a1, LBA=1062280 Mapped AL=0x7f CX=0x358f DX=0x10a1, LBA=1062287 Mapped AL=0x01 CX=0x360e DX=0x10a1, LBA=1062414 Mapped AL=0x7f CX=0x360f DX=0x10a1, LBA=1062415 Mapped AL=0x01 CX=0x368e DX=0x10a1, LBA=1062542 Mapped AL=0x7f CX=0x368f DX=0x10a1, LBA=1062543 Mapped AL=0x01 CX=0x370e DX=0x10a1, LBA=1062670 Mapped AL=0x7f CX=0x370f DX=0x10a1, LBA=1062671 Mapped AL=0x01 CX=0x378e DX=0x10a1, LBA=1062798 Mapped AL=0x7f CX=0x378f DX=0x10a1, LBA=1062799 Mapped AL=0x01 CX=0x380e DX=0x10a1, LBA=1062926 Mapped AL=0x7f CX=0x380f DX=0x10a1, LBA=1062927 Mapped AL=0x01 CX=0x388e DX=0x10a1, LBA=1063054 Mapped AL=0x7f CX=0x388f DX=0x10a1, LBA=1063055 Mapped AL=0x01 CX=0x390e DX=0x10a1, LBA=1063182 Mapped AL=0x11 CX=0x390f DX=0x10a1, LBA=1063183 Mapped AL=0x58 CX=0x3970 DX=0x10a1, LBA=1063280 Mapped AL=0x17 CX=0x3a20 DX=0x10a1, LBA=1063456 Mapped AL=0x7f CX=0x3a37 DX=0x10a1, LBA=1063479 Mapped AL=0x01 CX=0x3ab6 DX=0x10a1, LBA=1063606 Mapped AL=0x7f CX=0x3ab7 DX=0x10a1, LBA=1063607 Mapped AL=0x01 CX=0x3b36 DX=0x10a1, LBA=1063734 Mapped AL=0x11 CX=0x3b37 DX=0x10a1, LBA=1063735 Mapped AL=0x03 CX=0x3b50 DX=0x10a1, LBA=1063760 Mapped 1437 sectors. Added linux-2419 <dev=0xe1,hd=17,cyl=85,sct=102> "ro root=811 apm=power-off"
Boot image: /boot/vmlinuz-2.4.18 bios_dev: device 0811 bios_dev: masked device 0810, which is /dev/sdb bios_dev: geometry check found 0 matches bios_dev: (0x81) S/N=0000000A *PT=0806CB28 bios_dev: (0x80) S/N=0000000A *PT=0806CAE0 bios_dev: PT match found 1 match (0x81) Device 0x0811: BIOS drive 0x81, 64 heads, 35003 cylinders, 32 sectors. Partition offset: 32 sectors. Setup length is 6 sectors. Compaction removed 1333 BIOS calls. Mapped AL=0x00 CX=0x5567 DX=0x11e1, LBA=1135975 Mapped AL=0x00 CX=0x5568 DX=0x11e1, LBA=1135976 Mapped AL=0x00 CX=0x3cb8 DX=0x10e1, LBA=1064120 Mapped AL=0x00 CX=0x3cb9 DX=0x10e1, LBA=1064121 Mapped AL=0x00 CX=0x3cba DX=0x10e1, LBA=1064122 Mapped AL=0x00 CX=0x3cbb DX=0x10e1, LBA=1064123 Mapped AL=0x00 CX=0x3cbc DX=0x10e1, LBA=1064124 Mapped AL=0x00 CX=0x3cbd DX=0x10e1, LBA=1064125 Mapped AL=0x00 CX=0x3cbe DX=0x10e1, LBA=1064126 Mapped AL=0x00 CX=0x3cbf DX=0x10e1, LBA=1064127 Mapped AL=0x58 CX=0x3cc0 DX=0x10a1, LBA=1064128 Mapped AL=0x27 CX=0x3d20 DX=0x10a1, LBA=1064224 Mapped AL=0x7f CX=0x3d47 DX=0x10a1, LBA=1064263 Mapped AL=0x01 CX=0x3dc6 DX=0x10a1, LBA=1064390 Mapped AL=0x7f CX=0x3dc7 DX=0x10a1, LBA=1064391 Mapped AL=0x01 CX=0x3e46 DX=0x10a1, LBA=1064518 Mapped AL=0x11 CX=0x3e47 DX=0x10a1, LBA=1064519 Mapped AL=0x08 CX=0x3e80 DX=0x10a1, LBA=1064576 Mapped AL=0x67 CX=0x3e98 DX=0x10a1, LBA=1064600 Mapped AL=0x11 CX=0x3eff DX=0x10a1, LBA=1064703 Mapped AL=0x48 CX=0x3f18 DX=0x10a1, LBA=1064728 Mapped AL=0x27 CX=0x3fb8 DX=0x10a1, LBA=1064888 Mapped AL=0x7f CX=0x3fdf DX=0x10a1, LBA=1064927 Mapped AL=0x01 CX=0x405e DX=0x10a1, LBA=1065054 Mapped AL=0x7f CX=0x405f DX=0x10a1, LBA=1065055 Mapped AL=0x01 CX=0x40de DX=0x10a1, LBA=1065182 Mapped AL=0x7f CX=0x40df DX=0x10a1, LBA=1065183 Mapped AL=0x01 CX=0x415e DX=0x10a1, LBA=1065310 Mapped AL=0x7f CX=0x415f DX=0x10a1, LBA=1065311 Mapped AL=0x01 CX=0x41de DX=0x10a1, LBA=1065438 Mapped AL=0x31 CX=0x41df DX=0x10a1, LBA=1065439 Mapped AL=0x4f CX=0x4240 DX=0x10a1, LBA=1065536 Mapped AL=0x4d CX=0x428f DX=0x10a1, LBA=1065615 Mapped 1366 sectors. Added linux-2418-old <dev=0xe1,hd=17,cyl=85,sct=105> "ro root=811 apm=power-off"
Boot image: /boot/vmlinuz-2.4.18-std bios_dev: device 0811 bios_dev: masked device 0810, which is /dev/sdb bios_dev: geometry check found 0 matches bios_dev: (0x81) S/N=0000000A *PT=0806CB28 bios_dev: (0x80) S/N=0000000A *PT=0806CAE0 bios_dev: PT match found 1 match (0x81) Device 0x0811: BIOS drive 0x81, 64 heads, 35003 cylinders, 32 sectors. Partition offset: 32 sectors. Setup length is 5 sectors. Compaction removed 1323 BIOS calls. Mapped AL=0x00 CX=0x556a DX=0x11e1, LBA=1135978 Mapped AL=0x00 CX=0x556b DX=0x11e1, LBA=1135979 Mapped AL=0x00 CX=0x6178 DX=0x10e1, LBA=1073528 Mapped AL=0x00 CX=0x6179 DX=0x10e1, LBA=1073529 Mapped AL=0x00 CX=0x617a DX=0x10e1, LBA=1073530 Mapped AL=0x00 CX=0x617b DX=0x10e1, LBA=1073531 Mapped AL=0x00 CX=0x617c DX=0x10e1, LBA=1073532 Mapped AL=0x00 CX=0x617d DX=0x10e1, LBA=1073533 Mapped AL=0x00 CX=0x617e DX=0x10e1, LBA=1073534 Mapped AL=0x59 CX=0x617f DX=0x10a1, LBA=1073535 Mapped AL=0x26 CX=0x61f0 DX=0x10a1, LBA=1073648 Mapped AL=0x7f CX=0x6216 DX=0x10a1, LBA=1073686 Mapped AL=0x01 CX=0x6295 DX=0x10a1, LBA=1073813 Mapped AL=0x7f CX=0x6296 DX=0x10a1, LBA=1073814 Mapped AL=0x01 CX=0x6315 DX=0x10a1, LBA=1073941 Mapped AL=0x7f CX=0x6316 DX=0x10a1, LBA=1073942 Mapped AL=0x01 CX=0x6395 DX=0x10a1, LBA=1074069 Mapped AL=0x7f CX=0x6396 DX=0x10a1, LBA=1074070 Mapped AL=0x01 CX=0x6415 DX=0x10a1, LBA=1074197 Mapped AL=0x7f CX=0x6416 DX=0x10a1, LBA=1074198 Mapped AL=0x01 CX=0x6495 DX=0x10a1, LBA=1074325 Mapped AL=0x7f CX=0x6496 DX=0x10a1, LBA=1074326 Mapped AL=0x01 CX=0x6515 DX=0x10a1, LBA=1074453 Mapped AL=0x7f CX=0x6516 DX=0x10a1, LBA=1074454 Mapped AL=0x01 CX=0x6595 DX=0x10a1, LBA=1074581 Mapped AL=0x7f CX=0x6596 DX=0x10a1, LBA=1074582 Mapped AL=0x01 CX=0x6615 DX=0x10a1, LBA=1074709 Mapped AL=0x7f CX=0x6616 DX=0x10a1, LBA=1074710 Mapped AL=0x01 CX=0x6695 DX=0x10a1, LBA=1074837 Mapped AL=0x41 CX=0x6696 DX=0x10a1, LBA=1074838 Mapped 1353 sectors. Added linux-std <dev=0xe1,hd=17,cyl=85,sct=108> "ro root=811 mem=512M"
NOTE: /dev/sda is used to hold the boot record and also holds two small extra partitions which are later mounted. The main operating system disc is /dev/sdb which is where all kernel images are stored.
I hope the output above means more to you than it does to me :-)
Barry Samuels http://www.beenthere-donethat.org.uk The Unofficial Guide to Great Britain
On 2003.05.24 12:37 Barry Samuels wrote:
I've just seen this:
LILO release 22.5.4 is based upon Werner Almesberger's LILO version 21.
Version 22.5.4 is a minor update to version 22.5.3
o Bugs in caching algorithm fixed. With no BIOS data check, IDE drives are correctly assigned before SCSI drives. Volume ID check corrected.
Would the Volume ID check be the problem?
Barry Samuels http://www.beenthere-donethat.org.uk The Unofficial Guide to Great Britain