On Mon, Feb 05, 2007, Glennie Vignarajah wrote:
> You want me install lilo-22.6.1-6.2 (Sarge) on this machine and try
> to run lilo. Aren't you?
Yes, or any version that you know worked for you in the past and which
is easily installable for you to test your current udev + kernel
combination.
Your strace was interesting:
...
[pid 10872] open("/dev/cciss/c0d0", O_RDONLY) = 7
[pid 10872] read(7,
"\372\353!\1\265\1LILO\26\6\251\235\223E\0\0\0\0\0\0\0\0"..., 512) = 512
[pid 10872] close(7) = 0
[pid 10872] sync() = 0
=> Is reading some metadata from the RAID device.
[pid 10872] open("/dev/cciss/c0d0", 0x4 /* O_??? */) = 7
Opening the RAID device...
[pid 10872] open("/dev/hda", O_RDWR) = -1 EROFS (Read-only file
system)
Opening of the underlying hard disk TW => fails to open RW
[pid 10872] ioctl(7, 0x301, 0xbfbf30b4) = -1 ENXIO (No such device or
address)
ioctl fails, presumably because it's on the wrong file descriptor;
0x00000301 is the HDIO_GETGEO ioctl(), 7 is /dev/cciss/c0d0.
Do you have access to a CCISS sarge system? Could you check the
permissions of /dev/hda on such a system and/or attach a strace of a
lilo run on such a system?
Can you report what permissions your /dev/hda currently has?
If you don't fear data loss (have backups :), could you please try to
set your /dev/hda to +w and see if it helps lilo? This could indicate
a change of udev or the kernel changed the permissions.
Bye,
--
Loïc Minier <[EMAIL PROTECTED]>