03.10.06

Posted in Software at 12:10 am by jasonb

When trying to use Yaird 0.0.12-7 with a recent 2.6.16 release candidate kernel, I noticed that it fails for vanilla ATA devices as the logic for discovering the device node doesn’t work with changes to the sysfs tree. I opened a Debian BTS bug and included the patch below, which needs to be cleaned up greatly. I didn’t spend much time looking for the best way to integrate this into Yaird, but rather wanted to get it working quickly. Hopefully Yaird will be ready for 2.6.16 when it’s finally released.

Error.

yaird: goal: mountdir, / (/etc/yaird/Default.cfg:144)
yaird:D: runCmd - doing /sbin/mdadm --detail --scan
yaird:D: runCmd - result '1' for /sbin/mdadm --detail --scan
yaird:D: Hardware::moduleList - pci0000:00/0000:00:0f.0/ide2/2.0
yaird error: no link to block device in
  /sys/devices/pci0000:00/0000:00:0f.0/ide2/2.0 (fatal)

Patch. (Fixed in 0.0.12-8 upstream.)

snip

Leave a Comment

Stop blog spam today with the Herculean and intense Wordpress Anti-Spam Plugin.