I'm unsure of the following code you recently added to he-detect: # Load yenta_socket on 2.6 kernels, if hardware is available, so that # discover will see Cardbus cards. if [ -d /sys/bus/pci/devices ] && grep -q 0x060700 \ /sys/bus/pci/devices/*/class && \ ! lsmod | grep -q ^yenta_socket; then db_subst hw-detect/load_progress_step CARDNAME "Cardbus bridge" db_subst hw-detect/load_progress_step MODULE "yenta_socket" db_progress INFO hw-detect/load_progress_step log "Detected Cardbus bridge, loading yenta_socket" modprobe -v yenta_socket | logger -t hw-detect # Ugly hack, but what's the alternative? sleep 3 fi This is to load the bridge support so discover can scan for devices on the bridge? It looks decidedly dodgy. Why only on 2.6? What is this magic number; Isn't there a clean fix for this, such as running discover again after loading a brdige module? -- see shy jo
Attachment:
signature.asc
Description: Digital signature