Changeset 446


Ignore:
Timestamp:
02/10/09 20:29:56 (3 years ago)
Author:
tschmitt
Message:
  • pci.ids, hwinfo und lspci zu linbofs hinzugefügt
  • init.sh nutzt nun hwinfo zur Erkennung des Festplattenkontrollers
  • Grub4dos update auf Version 0.4.4-2009-02-09
  • dac960-Treiber jetzt als Modul, zur ata_modules-Liste hinzugefügt
Location:
main/linuxmuster-linbo/trunk
Files:
8 edited

Legend:

Unmodified
Added
Removed
  • main/linuxmuster-linbo/trunk/conf/initramfs.conf

    r423 r446  
    144144file /bin/ssmtp ../../src/ssmtp/ssmtp 755 0 0 
    145145 
     146# hwinfo 
     147dir /usr/share/misc 755 0 0 
     148file /bin/lspci /usr/bin/lspci 755 0 0 
     149file /sbin/hwinfo /usr/sbin/hwinfo 755 0 0 
     150file /usr/lib/libhd.so.13 /usr/lib/libhd.so.13 755 0 0 
     151file /usr/lib/libdbus-1.so.3 /usr/lib/libdbus-1.so.3 755 0 0 
     152file /usr/lib/libhal.so.1 /usr/lib/libhal.so.1 755 0 0 
     153file /usr/share/misc/pci.ids ../../src/pci.ids 644 0 0 
     154 
  • main/linuxmuster-linbo/trunk/conf/kernel.conf

    r441 r446  
    22# Automatically generated make config: don't edit 
    33# Linux kernel version: 2.6.28.4 
    4 # Sat Feb  7 11:17:47 2009 
     4# Tue Feb 10 19:15:10 2009 
    55# 
    66# CONFIG_64BIT is not set 
     
    570570CONFIG_BLK_CPQ_CISS_DA=y 
    571571CONFIG_CISS_SCSI_TAPE=y 
    572 CONFIG_BLK_DEV_DAC960=y 
     572CONFIG_BLK_DEV_DAC960=m 
    573573# CONFIG_BLK_DEV_UMEM is not set 
    574574# CONFIG_BLK_DEV_COW_COMMON is not set 
  • main/linuxmuster-linbo/trunk/debian/changelog

    r441 r446  
     1linuxmuster-linbo (1.1.11-1) unstable; urgency=low 
     2 
     3  * added pci.ids, hwinfo and lspci to linbofs 
     4  * init.sh now uses hwinfo for storage controller recognition 
     5  * new upstream version of grub4dos -> 0.4.4-2009-02-09 
     6  * dac960 compiled as module and added to ata_modules list 
     7 
     8 -- Thomas Schmitt <schmitt@lmz-bw.de>  Tue, 10 Feb 2009 20:11:21 +0100 
     9 
    110linuxmuster-linbo (1.1.10-1) unstable; urgency=low 
    211 
  • main/linuxmuster-linbo/trunk/debian/control

    r329 r446  
    55Build-Depends: debhelper (>= 4), build-essential, fakeroot, qt3-dev-tools, flex, wget, gcc-4.1, g++-4.1, ncurses-base, 
    66               coreutils, sysvinit-utils, util-linux, libstdc++6, reiserfsprogs, e2fsprogs, dosfstools, unzip, tar, gzip, 
    7                gettext, zlib1g-dev, libncurses5-dev, tetex-base, tetex-bin, tetex-extra, udpcast 
     7               gettext, zlib1g-dev, libncurses5-dev, tetex-base, tetex-bin, tetex-extra, udpcast, hwinfo 
    88Standards-Version: 3.6.1 
    99 
  • main/linuxmuster-linbo/trunk/debian/md5sums.src

    r441 r446  
    2209addfe7ae469677da39ed66d83858d3  chntpw-source-080526.zip 
    33b44b62af69863fc74f2946a56466d19d  cloop_2.628-2.tar.gz 
    4 541fc7d73876c3db0eef2d9e9f8f651b  grub4dos-0.4.4-2009-02-05-src.zip 
     4dbd1afa4f96862af39497da78701a2e7  grub4dos-0.4.4-2009-02-09-src.zip 
    55d9f2ecd3c3307905f24130a25816e6cc  kexec-tools-2.0.0.tar.bz2 
    668228bb7804d6d0099eadfabf701c295b  linux-2.6.28.4.tar.bz2 
  • main/linuxmuster-linbo/trunk/debian/rules

    r416 r446  
    7474SSMTP_DIR=src/ssmtp 
    7575SSMTP_URL=http://archive.ubuntu.com/ubuntu/pool/universe/s/ssmtp 
     76 
     77#pci.ids 
     78PCIIDS=http://pciids.sourceforge.net/v2.2/pci.ids.gz 
    7679 
    7780configure: configure-stamp 
     
    193196                ln -sf ../$(CLOOP_DIR) kernel/cloop; \ 
    194197        fi 
     198 
     199        # pci.ids 
     200        wget $(PCIIDS) -O cache/pci.ids.gz 
     201        ( [ -e cache/pci.ids.gz ] && gzip -c cache/pci.ids.gz > src/pci.ids ) 
     202        rm cache/pci.ids.gz 
    195203 
    196204        # kernel 
     
    345353        echo >> ../initramfs.conf ; \ 
    346354        echo "# modules" >> ../initramfs.conf ; \ 
    347         ( cd ../modules && find . -type d -printf "dir %p %m 0 0\n" && find . -type f \( -path \*/ide/\* -o -path \*/ata/\* -o -path \*/net/\* -o -path \*/usb/\* -o -path \*/fs/\* -o -name cloop.ko -o -name modules.\* \) -printf "file %p .../modules%p %m 0 0\n" ) | sed -e 's|\./|/|g' >>$(CURDIR)/kernel/initramfs.conf ; \ 
     355        ( cd ../modules && find . -type d -printf "dir %p %m 0 0\n" && find . -type f \( -path \*/ide/\* -o -path \*/ata/\* -o -path \*/net/\* -o -path \*/usb/\* -o -path \*/fs/\* -o -path \*/block/\* -o -name cloop.ko -o -name modules.\* \) -printf "file %p .../modules%p %m 0 0\n" ) | sed -e 's|\./|/|g' >>$(CURDIR)/kernel/initramfs.conf ; \ 
    348356        echo >> ../initramfs.conf ; \ 
    349357        echo "# busybox applets" >> ../initramfs.conf ; \ 
  • main/linuxmuster-linbo/trunk/linbo/etc/ata_modules

    r441 r446  
    1515pdc_adma 
    1616sx8 
     17dac960 
    1718pata_atiixp 
    1819pata_amd 
     
    5859pata_triflex 
    5960pata_winbond 
    60  
  • main/linuxmuster-linbo/trunk/linbo/init.sh

    r441 r446  
    231231hwsetup(){ 
    232232 rm -f /tmp/linbo-cache.done 
    233  if [ -n "$useide" ]; then 
    234   HDDMODULES="$(cat /etc/ide_modules)" 
    235   drive=/dev/hda 
     233 echo "Searching for storage controller ..." | tee /tmp/linbo.log 
     234 hwinfo --storage-ctrl | tee -a /tmp/linbo.log 
     235 modules=`grep modprobe /tmp/linbo.log | awk -F\" '{ print $2 }' | awk '{ print $2 }'` 
     236 if [ -n "$modules" ]; then 
     237  if [ -n "$useide" ]; then 
     238   echo "Probing IDE modules (useide) ..."  | tee -a /tmp/linbo.log 
     239   HDDMODULES=/etc/ide_modules 
     240  else 
     241   echo "Probing SATA/PATA modules ..."  | tee -a /tmp/linbo.log 
     242   HDDMODULES=/etc/ata_modules 
     243  fi 
     244  found=0 
     245  for m in $modules; do 
     246   if grep -q "$m" $HDDMODULES; then 
     247     echo "-> $m"  | tee -a /tmp/linbo.log 
     248     modprobe $m 
     249     found=1 
     250   fi 
     251  done 
     252  if [ $found = 0 ]; then 
     253   echo "Fatal! No modules found!" | tee -a /tmp/linbo.log 
     254  else 
     255   [ -n "$useide" ] && enable_dma 
     256  fi 
    236257 else 
    237   HDDMODULES="$(cat /etc/ata_modules)" 
    238   drive=/dev/sda 
    239  fi 
    240  # load modules only if drive is not yet present 
    241  if ! sfdisk -l $drive; then  
    242   for m in $HDDMODULES; do 
    243    echo "Probing $m ..." 
    244    modprobe "$m" >/dev/null 2>&1 
    245    if sfdisk -l $drive >/dev/null 2>&1; then 
    246     echo "Success!" 
    247     break 
    248    else 
    249     modprobe -r "$m" 
    250    fi 
    251   done 
    252   sleep 2 
    253  fi 
    254  [ -n "$useide" ] && enable_dma 
     258  echo "Fatal! No storage controller found!" 
     259 fi 
     260 sleep 2 
    255261 echo > /tmp/linbo-cache.done  
    256262} 
Note: See TracChangeset for help on using the changeset viewer.