Page 1 of 2 12 LastLast
Results 1 to 10 of 14

Thread: How do I add a third party SATA driver to KNOPPIX at boot

  1. #1
    Junior Member
    Join Date
    Jul 2004
    Posts
    1

    How do I add a third party SATA driver to KNOPPIX at boot



    Hello,

    How do I add a third party SATA driver to KNOPPIX at boot
    or after boot time. My issue is that knoppix does not have the
    driver to read the hard drive and I need to install this driver to access
    the hard drive.

  2. #2
    Senior Member registered user
    Join Date
    Nov 2002
    Posts
    1,353

    Re: How do I add a third party SATA driver to KNOPPIX at boo

    Quote Originally Posted by pski49


    Hello,

    How do I add a third party SATA driver to KNOPPIX at boot
    or after boot time. My issue is that knoppix does not have the
    driver to read the hard drive and I need to install this driver to access
    the hard drive.
    Well I don't have any first hand experience with SATA yet, but I recall reading that an exprimental SATA driver was to be included in the 2.6 kernel so I'm sure you'd need pick the 2.6 and not the 2.4 kernel at boot time. Perhaps others can comment on what luck they've had with SATA drives in Knoppix.

  3. #3
    Junior Member
    Join Date
    Oct 2004
    Posts
    8

    Works for me without anything

    Seagate 80GB SATA drive works fine for me even without selecting different kernel at boot. It maps as /dev/sda, not /dev/hda. I have a very new motherboard however (VIA K8T800 based ABIT KV, so I can even boot from SATA (in fact this is my only hard drive). If your harddrive is new, probably all you need is to create some partitions on it ("cfdisk /dev/sda" or whatever).

    Cannot help with adding drivers, sorry.

  4. #4
    Junior Member registered user
    Join Date
    Aug 2004
    Location
    Nashville TN
    Posts
    29

    No luck with Intel SATA/Raid

    I have a Dell 8400 with 2 SATA drives in a RAID1 array, the RAID array controller is an Intel controller (82801FR) built into the mobo. The 2.6 Kernel in Knoppix 3.7 is unable to read the partition info off the drives and stalls the boot process. 2.6 kernel in Knoppix 3.6 results in a Kernel panic during boot, so I supose it is slowly getting better but not yet functional. Knoppix with the 2.4 kernel boots happily but does not recognize the hard drive at all, partimage is unable to see the drive array either.

    My previous post on this subject did not glean any more info. http://www.knoppix.net/forum/viewtopic.php?t=15313

    JP

  5. #5
    Junior Member
    Join Date
    Apr 2004
    Posts
    4
    I also just got a shiny new Dell 8400 , built on the Intel 925X chipset (i.e. Intel ICH6-R aka "Soft RAID" controller) but I ran into the same problem before when trying to boot Knoppix on a Dell Optiplex GX280 (live at a customer, nonetheless.... Basically the only way to have Knoppix booting on that machine is to get into BIOS and put the controller into "compatibilty mode" (or whatever your BIOS calls the PATA, backward-compatible mode). Play with it / install it, download the relevant SATA driver (in my case it's the "ata_piix" driver IIRC, YMMV) compile it as a module, revert to SATA-native mode in BIOS and reboot.

    See also this thread (also containing pointers to the webpage that summarizes the situation of SATA support in Linux kernel -- currently shoddy at best).

    http://www.knoppix.net/forum/viewtopic.php?t=13273

    Hope this helps....and that Google will index this page to help other poor souls out there

  6. #6
    Junior Member registered user
    Join Date
    Jan 2005
    Posts
    13
    Hello

    My Dell 8400 (SATA disk WD 160GB) boots OK with Knoppix 3.7 (version 2.78-knoppix) with
    1. in BIOS > drives > SATA operation changed to "combination" mode
    2. knoppix 2.6 kernel with cheatcode acpi=off, thus boot: knoppix26 acpi=off

    SATA disk recognized with 2 partitions (sda1 is a Dell Utility vfat partition for diagnosis, sda2 is Windows XP ntfs).
    The drives can be mounted as root: mount /dev/sda1 & mount /dev/sda2, and appear accessible and
    the content of /etc/fstab appears OK. I did not check writing to the SATA disk yet (XP backups beforehand advised !)

    '' This gives confidence !

    A further suggestion, mentioned also at http://www.knoppix.net/forum/viewtopic.php?t=15998:
    try to boot: knoppix26 noapic acpi=on


    Remarks:
    1. System enters a single processor mode (knoppix 2.4 without acpi=off displays the dual processor mode).
    2. With BIOS > drive > SATA as factory default (raid autodetect/ahci), knoppix26 stalls after "init:version
    2.78-knoppix".
    3. As explained at Dell's linux site ( http://linux.dell.com/storage.shtml ) the ata_piix module will not support
    the AHCI interface yet. Installed windows XP will not boot when the drive is in 'combination'
    (=SATA/PATA) mode. Thus a reinstall of windows would be necessary, as outlined here
    http://www.sjmk.net/articles/2004/11...imension-8400/
    Probably it is better to avoid a combined SATA/PATA mode, when completely reinstalling, as outlined by
    Dell and choose "Raid Autodetect/ATA".
    4. Other reported installations are (backup's of Windows beforehand advised !):
    Fedora FC2 (kernel 2.6.7): http://ieng9.ucsd.edu/~wmar/fedora.html
    Suse 9.2: http://www.linuxquestions.org/questi...04/11/4/251145
    5. Recent ata_piix modules (2.6.7 and above) do mention AHCI: http://kerneltrap.org/node/3432,
    with a fix mentioned in the latest (2.6.10-rc3) http://lwn.net/Articles/110962 .
    6. But in a recent post the ACHI issue seems not solved for the Dell 8400 (Fedora FC3, with
    kernel-2.6.9-1.681): http://www.linuxquestions.org/questi...hreadid=269836
    7. ACPI delivers information about the battery, AC adapter, temperature, fan, and system events like “close lid” or
    “battery low”. So with 'acpi=off' this will not work (mainly important for notebooks), see
    http://www.novell.com/documentation/...l/ch09s03.html
    8. ACPI should be supported in debian, so maybe it is a 'non-standard' BIOS on the Dell 8400. See the discussion at
    http://forums.us.dell.com/supportfor...d=335342#M4142
    I remember: an installed Dell 8300 also only worked with 'noapic' under Suse 8.


    Remaining issue:
    Any suggestion for a debian/knoppix 2.6 compatible system, that can be installed on a SATA hard disk
    running via the autoraid/AHCI interface ?
    I would like to add a second SATA disk and make my system dual bootable (windows XP on disk1
    and linux on a partition of disk2) with a lilo or grub setup to ease non-expert startup, without the BIOS
    switching back (autoraid/AHCI for windows) and forward (ATA or combination for linux).


    Overview of some links on the SATA /Dell(8400) issue:
    http://www.linuxmafia.com/faq/Hardware/sata.html
    http://seclists.org/lists/linux-kern.../Mar/5500.html
    http://lists.us.dell.com/pipermail/l...ne/038481.html
    http://forums.us.dell.com/supportfor...essage.id=5162
    http://forums.us.dell.com/supportfor...essage.id=5403
    http://forums.us.dell.com/supportfor...essage.id=5475
    http://forums.us.dell.com/supportfor...essage.id=5611
    http://www.webservertalk.com/message288301.html
    http://lists.debian.org/debian-boot/.../msg01335.html
    http://lists.debian.org/debian-boot/.../msg00639.html
    http://www.mail-archive.com/debian-b.../msg64586.html
    http://www.linuxforum.com/forums/ind...owtopic=105785
    http://www.linuxquestions.org/questi...04/11/4/251145
    http://kanotix.mipooh.net/viewtopic....highlight=sata


    Current status of SATA can be found at:
    http://linux.yyz.us/sata/
    http://www.linuxmafia.com/faq/Hardware/sata.html
    http://tienstra4.flatnet.tudelft.nl/~gerte/gen2dmraid/

  7. #7
    Junior Member registered user
    Join Date
    Aug 2004
    Location
    Nashville TN
    Posts
    29
    Thanks rolfist.

    On the Dell 8400 setting the Raid mode to combination and using the noapci cheat code works like a charm with either 2.4 or 2.6 kernels.

    JP

  8. #8
    Junior Member registered user
    Join Date
    Jan 2005
    Posts
    13
    Thank you JPWhite for your input: nice that you tried noapic. I can confirm your observations, but it looks like we need only the BIOS 'combi' setting.

    A few tested options tried for my DELL 8400, with 1 SATA disk.:
    BIOS "bootsetting" initstatus, SATA disks/ remarks
    autoraid/ahci "knoppix noapic", OK, not found
    autoraid/ahci "knoppix26 noapic", stalls, ata_piix abnormal status port0x177
    autoraid/ata " knoppix noapic", OK, not found, cpu0 & cpu1
    autoraid/ata "knoppix26 noapic", stalls, SATA devices observed
    combi "knoppix26 <none>", stalls, sda1 & sda2 observed
    combi "knoppix26 noapic", stalls, sda1 & sda2 observed
    combi "knoppix26 acpi=off", OK, found, partitions sda1 & sda2 mounted
    combi "knoppix <none>", OK, found, partitions hda1 & hda2 mounted
    combi "knoppix noapic", OK, found, partitions hda1 & hda2 mounted
    combi "knoppix acpi=off", OK, found, partitions hda1 & hda2 mounted

    The simplest setup seems: (1) BIOS "combination mode' & (2) boot: knoppix <none>.
    Tested kernel: knoppix 3.7 (kernel 2.4.27 and 2.6.9)

    Added remarks:
    - with two SATA disks in a DELL8400, with BIOS ''combi" mode only the first disk will be found.
    - set the drives in the BIOS to "RAID autodetect/ATA" and both disks will be detected.

  9. #9
    Junior Member registered user
    Join Date
    Jan 2005
    Posts
    13
    Quote Originally Posted by rolflist
    Remaining issue:
    Any suggestion for a debian/knoppix 2.6 compatible system, that can be installed on a SATA hard disk running via the autoraid/AHCI interface ?
    I would like to add a second SATA disk and make my system dual bootable (windows XP on disk1 and linux on a partition of disk2) with a lilo or grub setup to ease non-expert startup, without the BIOS switching back (autoraid/AHCI for windows) and forward (ATA or combination for linux).
    A recent post by jbetten at www.linuxquestions.org described a working dual boot DELL 8400 using the "RAID autodetect/AHCI", by rebuilding FC2 (temporarily switched to "RAID autodetect/ATA") with kernel 2.4.29+ or 2.6.10+.
    http://www.linuxquestions.org/questi...36#post1395336

    And similarly, now using an intermediate "compatible", a kernel rebuild on kerneltrap.org:
    kernel 2.4.28+patch 2.4.29-pre-1, or 2.6.9+patch 2.6.10rc3
    Check all ref's in fstab and grub to the new settings (e.g. "hda" to "sda")
    http://kerneltrap.org/node/4346

    And if your german is good enough, another succesful installation; debian net install of kernel 2.6.8:
    http://www.mail-archive.com/debian-u...msg103896.html
    Driver rtc.ko is removed from kernel.

    I did not try this yet.

    The solution reminds of Toshikazu Aiyama's debian install to a ICH5/R's SATA disk:
    http://www.e-aiyama.com/~toshi/Computer/Linux/SATA.html
    Other links into these issues can be found via the "Debian on Dell servers" site:
    http://wiki.osuosl.org/display/LNX/D...n+Dell+Servers
    http://linux.dell.com/distributions.shtml

  10. #10
    Senior Member registered user
    Join Date
    Jan 2004
    Location
    Western MA.
    Posts
    111
    How do I add a third party SATA driver to KNOPPIX at boot
    or after boot time. My issue is that knoppix does not have the
    driver to read the hard drive and I need to install this driver to access
    the hard drive.

    If you boot knoppix with expert cheatcode you are offered the option of loading other drivers from a floppy.

Page 1 of 2 12 LastLast

Similar Threads

  1. Installed Knoppix 3.9 to SATA HDD but it wont boot.
    By fechin in forum Hardware & Booting
    Replies: 3
    Last Post: 08-13-2005, 02:26 AM
  2. Knoppix 3.8.1 +SATA = no Boot!
    By Krisbee in forum Hardware & Booting
    Replies: 4
    Last Post: 06-01-2005, 06:44 PM
  3. Loading a third party disk driver
    By lhoward in forum Hardware & Booting
    Replies: 0
    Last Post: 07-12-2004, 02:26 PM
  4. Replies: 0
    Last Post: 03-01-2004, 01:26 AM
  5. knoppix 3.3 and SATA-- won't boot-- HELP!
    By torchZ06 in forum Hdd Install / Debian / Apt
    Replies: 2
    Last Post: 12-02-2003, 02:47 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •