[LFS Trac] #1720: On 2.6.15.4/UDEV085, swapon sometimes fails

LFS Trac trac at linuxfromscratch.org
Fri Mar 24 10:24:18 PST 2006


#1720: On 2.6.15.4/UDEV085, swapon sometimes fails
-------------------------------------+--------------------------------------
 Reporter:  martyman99999 at yahoo.com  |        Owner:  matthew at linuxfromscratch.org
     Type:  defect                   |       Status:  assigned                    
 Priority:  normal                   |    Milestone:                              
Component:  Bootscripts              |      Version:  udev_update                 
 Severity:  blocker                  |   Resolution:                              
 Keywords:                           |  
-------------------------------------+--------------------------------------
Comment (by ken at linuxfromscratch.org):

 In fact, the failure happened on the very next boot, then 7 or 8 boots
 without error, then the next failure.  Looks to be sufficiently random to
 piss people off.

  I wondered about moving swap to after checkfs (on the assumptions that
 nobody will need swap when they run fsck, and that the time to check a
 clean journalled '/' will allow the device to appear).  Seems iffy, but in
 my case I've got partitions up to sda15, with /home on sda12 and swap on
 sda13, and checking /home works even when mounting swap failed.

  Or, does this just mean that something in the udev rules is delaying it
 too much ?  The only extra rule I used to have was for my cd/DVD drive,
 but last night I added a rule for my memory stick (check it is usb, check
 the serial number).  Perhaps this relates to the comment for 088 (ticket
 1751), Provide "udevtrigger" program to request events on coldplug. The
  shell script is much too slow with thousends of devices.  - I don't have
 thousands of devices, only 650+ with all those tty variants, but maybe
 it's a similar problem.

-- 
Ticket URL: <http://wiki.linuxfromscratch.org/lfs/ticket/1720>
LFS Trac <http://wiki.linuxfromscratch.org/lfs/>
Linux From Scratch: Your Distro, Your Rules.



More information about the lfs-book mailing list