DragonFly commits List (threaded) for 2007-01
DragonFly BSD
DragonFly commits List (threaded) for 2007-01
[Date Prev][Date Next]  [Thread Prev][Thread Next]  [Date Index][Thread Index]

cvs commit: src/sys/dev/disk/nata atapi-cd.c


From: "Thomas E. Spanjaard" <tgen@xxxxxxxxxxxxxxxxxxxxxxx>
Date: Tue, 9 Jan 2007 12:56:17 -0800 (PST)

tgen        2007/01/09 12:56:17 PST

DragonFly src repository

  Modified files:
    sys/dev/disk/nata    atapi-cd.c 
  Log:
  Bail out of acd_open() when we're called with a cdev_t that wasn't created
  by us. This happened when e.g. booting from cd; 'acd0c' would then be
  resolved to minor 2 instead of the minor 0 we create in acd_attach(). If
  one, instead of booting the kernel through, exits to the loader prompt from
  the bootloader, then issues `unload` and `load kernel`, then `boot`, this
  problem wouldn't show up. My guess is, somewhere, somehow, the bootloader
  is mucking about in our cdev storeroom. I haven't yet found where this
  happens.
  
  Revision  Changes    Path
  1.4       +6 -0      src/sys/dev/disk/nata/atapi-cd.c


http://www.dragonflybsd.org/cvsweb/src/sys/dev/disk/nata/atapi-cd.c.diff?r1=1.3&r2=1.4&f=u



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