summaryrefslogtreecommitdiffstats
path: root/mdk-stage1/probing.c
Commit message (Collapse)AuthorAgeFilesLines
* Fix disk method after kernel ABI breakageThierry Vignaud2022-01-051-2/+2
| | | | | | | | | | | commit 353c8adc2ecd4e3fdfe2941d51d8f8f620f073ff made use of kernel's GENHD_FL_UP capability. However this was removed from the kernel in 5.15: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?id=50b4aecfbbb09869db967e4a26212a47e10c0088 For now make this check a no op as I didn't found any alternative but nvme users may want to doble test!
* explain /capability checkThierry Vignaud2020-06-131-0/+1
|
* Do not ignore devices lacking capabilityPascal Terjan2020-06-121-1/+1
|
* Fix reading capabilityPascal Terjan2020-06-121-4/+3
|
* Use generic code for everything except DAC960Pascal Terjan2020-06-121-235/+12
|
* Move CCISS to generic codePascal Terjan2020-06-121-32/+9
|
* Move VirtIO to generic codePascal Terjan2020-06-121-36/+24
|
* Make the NVME code more genericPascal Terjan2020-06-121-6/+17
|
* Simplify NVME codePascal Terjan2020-06-121-67/+45
|
* Fix NVME code to work for disks with no vendorPascal Terjan2020-06-111-22/+36
|
* Add support for NVME disks (mga#26708)Pascal Terjan2020-06-111-0/+77
| | | | | The code is generic using sysfs and the only NVME specific code is the path, we should switch to it for all disks.
* fix build with gcc7Thierry Vignaud2017-09-161-1/+1
|
* stop tracking network interface descriptionsThierry Vignaud2016-07-011-40/+0
| | | | this is now useless after previous commit
* fix description of network interfaces (mga#15638)Thierry Vignaud2016-07-011-5/+21
| | | | | | | | | | | | It got broken when switching stage1 to udev: previously we were manually loading the driver and thus we knew which driver corresponded to the newly created intf. Since mga4, the driver has already been loaded by udev and thus we fail to associate the intf with the right driver and thus we failed to get the driver description. => let's use the ethtool IOCTL like the stage2 does
* stop creating /dev entries now that we use udevThierry.Vignaud2014-06-181-1/+1
| | | | needs to be tested in draklive too (probe-modules)
* fix "make -j"Thierry Vignaud2014-05-171-3/+3
| | | | inspirated by pok's changes @mdv
* stage1: Add debugging for net device name confusion.Colin Guthrie2013-10-291-1/+2
| | | | | | | | | Because dracut uses udev and because udev has likely already started the interface, we will see things out of order. Large sections of the probing code could probably be removed but for the time being we should probably consider removing this error message completely
* kill long dead argumentThierry Vignaud2013-03-231-9/+9
| | | | the "Additional Drivers floppy" is long dead
* (my_insmod) rename as (my_modprobe) as it really what it isThierry Vignaud2013-03-231-10/+10
|
* do not try to mount /proc/bus/usbThierry Vignaud2012-08-311-5/+0
|
* do not wait 10s for USB probing when in debug modeThierry Vignaud2012-02-261-0/+2
|
* kill dead emailsThierry Vignaud2012-01-271-1/+1
|
* (ensure_dev_exists,find_media) add support for virtio discsThierry Vignaud2012-01-261-0/+35
|
* (memdup) rename as _memdup() in order to prevent a symbol clash with libkmodThierry Vignaud2012-01-131-4/+4
|
* Fix previous commitPascal Terjan2010-05-131-2/+3
|
* create devices listed in /proc/partitions with correct major/minor (#57032)Pascal Terjan2010-05-131-3/+15
|
* add back removed newline...Per Øyvind Karlsen2010-03-041-0/+1
|
* * using a for loop looks betterPer Øyvind Karlsen2010-03-041-4/+3
| | | | | * fix warning about not using parenthesis
* actually go through all procfiles to detect Compaq Smart Array in stead of onlyPer Øyvind Karlsen2010-03-031-14/+16
| | | | | checking the first (yeay, 8 years and 6 months old bug fixed! \o/)
* oops, virtio devices should be matched against subdevice id, as perBogdano Arendartchuk2009-09-151-4/+8
| | | | | drivers/virtio/virtio_pci.c
* - load needed modules for known virtio devices, fixes #51804Bogdano Arendartchuk2009-08-311-0/+55
|
* mandrake is now mandrivaThierry Vignaud2009-03-061-2/+2
|
* - usbkbd is dead, using usbhid insteadPascal Rigaux2008-08-201-3/+2
| | | | | (as told by pterjan)
* fix segfault with empty device description (can happen for USB devices)Olivier Blin2008-04-031-4/+8
|
* load disk/ide before disk/scsi (to prevent sata deps from overriding ↵Olivier Blin2008-03-181-2/+5
| | | | non-libata pata modules, like in install::steps)
* simplify (and remove gotos \o/)Olivier Blin2008-03-181-15/+6
|
* extract probe_pci_modules functions (will be reused to load media ↵Olivier Blin2008-03-181-12/+17
| | | | controllers in two times, IDE first, other then)
* probe usb-storage/sbp2 only when probing USB/SCSI buses (to make automatic ↵Olivier Blin2008-02-281-1/+2
| | | | boot faster on IDE)
* fix automatic IDE media detection (was broken with multiple CD drives, #36161)Olivier Blin2008-02-271-4/+3
| | | | | | | | | | This is fixed by also loading media adapters for IDE bus, it was probably broken when we switched to modular IDE in the kernel. This should also allow keeping the bootsplash during stage2 load (previously automatic IDE mode was not working in the "automatic" code path, but working only if one IDE drives was present, after having disabled automatic mode...)
* - rename SCSI_ADAPTERS as MEDIA_ADAPTERS since we really mean media adpaters nowOlivier Blin2008-02-271-12/+12
| | | | | | - update comments and messages accordingly - rename already_probed_scsi_adapters as already_probed_media_adapters
* do not probe PCI devices when probing USB busOlivier Blin2007-10-231-1/+1
|
* fix probing USB controllers when probing USB devices directlyOlivier Blin2007-10-231-3/+1
|
* export find_media functionOlivier Blin2007-10-031-1/+1
|
* factorize code in a new device_match_modules_list() function and thus fix ↵Olivier Blin2007-08-231-28/+22
| | | | segfault in USB detection code (when e->module is NULL, #32624)
* use '_' in module names when explicitely loading modulesOlivier Blin2007-08-211-1/+1
|
* optimize loopOlivier Blin2007-08-151-1/+1
|
* fix segfault if ldetect does not return a moduleOlivier Blin2007-08-151-0/+4
|
* - use ldetect/libmodprobe/libpci instead of custom pci/usb probeOlivier Blin2007-08-141-201/+51
| | | | | - write the list of supported modules in pci-resource/ and usb-resource/ (instead of the list of support devices)
* - move parameters functions in params.cOlivier Blin2007-07-051-0/+1
| | | | | - move string/system utility functions in utils.c
* re-sync after the big svn lossPascal Rigaux2007-04-251-35/+151
|