Package: discover1 Version: 1.7.3 Severity: important The symlinks are still not being created for me even with this new version (1.7.3). I did a "apt-get update" then "apt-get remove --purge discover1" and then re installed it with "apt-get install discover1". Then I ran dpkg-reconfigure to enable discover to handle the cdrom's. When I boot into a kernel higher than kernel-2.6.7 (ether2.6.8 or 2.6.9) The symlinks are not created. However when I boot to a 2.6.7 kernel everything works (symlinks are created). I have snips of line by line output (running each kernel) running this command: sh -x /etc/init.d/discover start 2> kernel-2.6.x.txt Here is a snip of the output of discover1 when run with a 2.6.7 kernel : -----------Snip of the top of the output--------- + test -x /sbin/discover + CONFFILE=/etc/discover.conf + SKIPFILE=/etc/discover-autoskip.conf + INITFILE=/etc/default/discover ++ uname -r + KVERS=2.6.7-1-686-smp ---------end snip--------------- --------Snip of the end of the file---------- + continue + '[' true = true ']' + for CDMOUNT in '${CDROM_BASE_MOUNTPOINT}cdrom?' ++ grep ' /media/cdrom0 ' /proc/mounts + mountsent= + true + '[' -z '' ']' + rm -rf /media/cdrom0 + for CDMOUNT in '${CDROM_BASE_MOUNTPOINT}cdrom?' ++ grep ' /media/cdrom1 ' /proc/mounts + mountsent= + true + '[' -z '' ']' + rm -rf /media/cdrom1 ++ pidof udevd + '[' 442 ']' + sleep 2s + CDNUM=0 ++ discover --enable=pci,usb,ide,scsi --enable=pcmcia --enable=isa --disable=parallel,serial --device cdrom ++ sort + for CDROM in '$(discover $DISCOVER_ARGS --device cdrom | sort)' ++ echo /dev/hdc ++ sed s#/dev/scd#/dev/sr# + ALTCDROM=/dev/hdc + '[' '!' -e /dev/hdc ']' + '[' '!' -b /dev/hdc ']' + '[' -e /dev/cdrom0 ']' + '[' '!' -L /dev/cdrom0 ']' + ln -fs /dev/hdc /dev/cdrom0 + grep -q ' /media/cdrom0 ' /proc/mounts + mkdir -p /media/cdrom0 + CDNUM=1 + for CDROM in '$(discover $DISCOVER_ARGS --device cdrom | sort)' ++ echo /dev/hdd ++ sed s#/dev/scd#/dev/sr# + ALTCDROM=/dev/hdd + '[' '!' -e /dev/hdd ']' + '[' '!' -b /dev/hdd ']' + '[' -e /dev/cdrom1 ']' + '[' '!' -L /dev/cdrom1 ']' + ln -fs /dev/hdd /dev/cdrom1 + grep -q ' /media/cdrom1 ' /proc/mounts + mkdir -p /media/cdrom1 + CDNUM=2 + '[' -e /dev/cdrom0 ']' + '[' -L /dev/cdrom ']' + ln -fs /dev/cdrom0 /dev/cdrom + grep -q ' /media/cdrom ' /proc/mounts + ln -fsn /media/cdrom0 /media/cdrom ------------------end snip-------------------- Here is a snip of the output of discover1 when run with a 2.6.9 kernel : --------------Snip of the top of the output----------------------- + set -e + test -x /sbin/discover + CONFFILE=/etc/discover.conf + SKIPFILE=/etc/discover-autoskip.conf + INITFILE=/etc/default/discover ++ uname -r + KVERS=2.6.9-1-686-smp -------------end snip------------------------- ------------Snip of the end of the file---------------------- + continue + '[' true = true ']' + for CDMOUNT in '${CDROM_BASE_MOUNTPOINT}cdrom?' ++ grep ' /media/cdrom? ' /proc/mounts + mountsent= + true + '[' -z '' ']' + rm -rf '/media/cdrom?' ++ pidof udevd + '[' 940 ']' + sleep 2s + CDNUM=0 ++ discover --enable=pci,usb,ide,scsi --enable=pcmcia --enable=isa --disable=parallel,serial --device cdrom ++ sort + '[' -e /dev/cdrom0 ']' + echo 'No CD/DVD drives found.' No CD/DVD drives found. ---------------end snip---------------------- I hope this helps. Ralph -- Linux, to keep you humble.
Attachment:
pgps6raMxKOBb.pgp
Description: PGP signature