View previous topic :: View next topic |
Author |
Message |
CaptainBlood Advocate
Joined: 24 Jan 2010 Posts: 3640
|
Posted: Mon Dec 05, 2022 9:19 pm Post subject: PATA laptop: Is bios SATA to PATA layer any good? |
|
|
I started kernel with the .config from livegui.
Currently slimming it down to the only necessary.
IIUC, HD kernel stack goes through a bios SATA layer for PATA hw.
Isn't it superfluous to keep it that way?
Should a straight PATA stack kernel be as fast, or somehow even faster? Hence with cancellation of the BIOS feature.
Advices would be welcome in this respect.
Thks 4 ur attention, interest & support. _________________ USE="-* ..." in /etc/portage/make.conf here, i.e. a countermeasure to portage implicit braces, belt & diaper paradigm
LT: "I've been doing a passable imitation of the Fontana di Trevi, except my medium is mucus. Sooo much mucus. " |
|
Back to top |
|
|
NeddySeagoon Administrator
Joined: 05 Jul 2003 Posts: 54331 Location: 56N 3W
|
Posted: Mon Dec 05, 2022 9:27 pm Post subject: |
|
|
CaptainBlood,
The BIOS will need its HDD driver. It has to load the the boot loader.
The kernel will use libata for both SATA and PATA devices.
If the BIOS has a PATA or legacy mode, turn it off. That was only ever intended to be used once by Win XP users to load the real driver for the SATA.
The legacy mode usually has essential bits missing, like DMA, so its very slow.
Keep in mind, it was intended to be a use once only feature, so it didn't need a lot of effort spent on it. _________________ Regards,
NeddySeagoon
Computer users fall into two groups:-
those that do backups
those that have never had a hard drive fail. |
|
Back to top |
|
|
CaptainBlood Advocate
Joined: 24 Jan 2010 Posts: 3640
|
Posted: Mon Dec 05, 2022 9:59 pm Post subject: |
|
|
NeddySeagoon wrote: | CaptainBlood,
If the BIOS has a PATA or legacy mode, turn it off. |
BIOS out of reatch,
IIRC SATA layer is to be activated.
The conclusion remains the same, must be kept.
You saved my day from time costly useless testing.
IIUC kernel PATA layer has to kept too, or is it?
Thks 4 ur attention, interest & support. _________________ USE="-* ..." in /etc/portage/make.conf here, i.e. a countermeasure to portage implicit braces, belt & diaper paradigm
LT: "I've been doing a passable imitation of the Fontana di Trevi, except my medium is mucus. Sooo much mucus. " |
|
Back to top |
|
|
NeddySeagoon Administrator
Joined: 05 Jul 2003 Posts: 54331 Location: 56N 3W
|
Posted: Mon Dec 05, 2022 10:07 pm Post subject: |
|
|
CaptainBlood,
The kernel PATA layer is depreciated. Its full of bitrot and not supported by udev. That's the code that used to give you /dev/hda and friends.
There are new drivers, well kernel 2.6.26 or there about, for PATA chip sets under libata.
PATA devices will get SCSI names using those drivers. _________________ Regards,
NeddySeagoon
Computer users fall into two groups:-
those that do backups
those that have never had a hard drive fail. |
|
Back to top |
|
|
pietinger Moderator
Joined: 17 Oct 2006 Posts: 4253 Location: Bavaria
|
Posted: Mon Dec 05, 2022 10:14 pm Post subject: |
|
|
CaptainBlood wrote: | IIUC kernel PATA layer has to kept too, or is it? |
If you mean "ATA SFF support", then ... NO usually you dont need it if not having old PATA devices. I have a native SATA SSD and need only (of course I have also all needed SCSI options):
Code: | Device Drivers --->
[*] Serial ATA and Parallel ATA drivers (libata) --->
[*] AHCI SATA support
[ ] ATA SFF support (for legacy IDE and PATA) |
|
|
Back to top |
|
|
CaptainBlood Advocate
Joined: 24 Jan 2010 Posts: 3640
|
Posted: Mon Dec 05, 2022 10:57 pm Post subject: |
|
|
The bios labels "SATA native support", currently activated. Code: | 20: PCI 1f.1: 0101 IDE interface (ISA Compatibility mode controller, supports both channels switched to PCI native mode, supports bus mastering)
[Created at pci.386]
Unique ID: 3p2J.6GedvM4mjr2
SysFS ID: /devices/pci0000:00/0000:00:1f.1
SysFS BusID: 0000:00:1f.1
Hardware Class: storage
Model: "Hewlett-Packard Company Presario C700"
Vendor: pci 0x8086 "Intel Corporation"
Device: pci 0x2850 "82801HM/HEM (ICH8M/ICH8M-E) IDE Controller"
SubVendor: pci 0x103c "Hewlett-Packard Company"
SubDevice: pci 0x30d9 "Presario C700"
Revision: 0x03
Driver: "ata_piix"
Driver Modules: "ata_piix"
I/O Ports: 0x1f0-0x1f7 (rw)
I/O Port: 0x3f6 (rw)
I/O Ports: 0x170-0x177 (rw)
I/O Port: 0x376 (rw)
I/O Ports: 0x30a0-0x30af (rw)
IRQ: 19 (no events)
Module Alias: "pci:v00008086d00002850sv0000103Csd000030D9bc01sc01i8A"
Driver Info #0:
Driver Status: ata_generic is not active
Driver Activation Cmd: "modprobe ata_generic"
Driver Info #1:
Driver Status: pata_acpi is not active
Driver Activation Cmd: "modprobe pata_acpi"
Config Status: cfg=new, avail=yes, need=no, active=unknown |
Code: | 27: SCSI 300.0: 10602 CD-ROM (DVD)
[Created at block.259]
Unique ID: KD9E.FLSdjMoR+gF
Parent ID: 3p2J.6GedvM4mjr2
SysFS ID: /class/block/sr0
SysFS BusID: 3:0:0:0
SysFS Device Link: /devices/pci0000:00/0000:00:1f.1/ata4/host3/target3:0:0/3:0:0:0
Hardware Class: cdrom
Model: "TSSTcorp CDDVDW TS-L632H"
Vendor: "TSSTcorp"
Device: "CDDVDW TS-L632H"
Revision: "HS02"
Driver: "ata_piix", "sr"
Driver Modules: "ata_piix"
Device File: /dev/sr0 (/dev/sg1)
Device Number: block 11:0 (char 21:1)
Features: CD-R, CD-RW, DVD, DVD-R, DVD-RW, DVD-R DL, DVD+R, DVD+RW, DVD+R DL, DVD-RAM, MRW, MRW-W
Drive status: no medium
Config Status: cfg=new, avail=yes, need=no, active=unknown
Attached to: #20 (IDE interface)
Drive Speed: 24 |
Code: | 28: IDE 00.0: 10600 Disk
[Created at block.255]
Unique ID: 3OOL.D6z8+ka+UMB
Parent ID: w7Y8.RRO7W3_tuJ2
SysFS ID: /class/block/sda
SysFS BusID: 0:0:0:0
SysFS Device Link: /devices/pci0000:00/0000:00:1f.2/ata1/host0/target0:0:0/0:0:0:0
Hardware Class: disk
Model: "FUJITSU MHY2120B"
Vendor: "FUJITSU"
Device: "MHY2120B"
Revision: "890B"
Serial ID: "K410T822WVJH"
Driver: "ahci", "sd"
Driver Modules: "ahci"
Device File: /dev/sda
Device Number: block 8:0-8:15
BIOS id: 0x80
Geometry (Logical): CHS 14593/255/63
Size: 234441648 sectors a 512 bytes
Capacity: 111 GB (120034123776 bytes)
Config Status: cfg=new, avail=yes, need=no, active=unknown
Attached to: #10 (SATA controller) |
Contrary to newer system here, modules explicit loading declarations seems requested here.
Although system boots fine, some drivers are reported missing above.
Are they any benefit for efficiency here?
Thks 4 ur attention, interest & support. _________________ USE="-* ..." in /etc/portage/make.conf here, i.e. a countermeasure to portage implicit braces, belt & diaper paradigm
LT: "I've been doing a passable imitation of the Fontana di Trevi, except my medium is mucus. Sooo much mucus. " |
|
Back to top |
|
|
pietinger Moderator
Joined: 17 Oct 2006 Posts: 4253 Location: Bavaria
|
Posted: Mon Dec 05, 2022 11:20 pm Post subject: |
|
|
It looks like this machine has an old PATA CD-ROM. For this you will need:
Code: | [*] ATA SFF support (for legacy IDE and PATA)
[*] ATA BMDMA support
[*] Intel ESB, ICH, PIIX3, PIIX4 PATA/SATA support |
|
|
Back to top |
|
|
CaptainBlood Advocate
Joined: 24 Jan 2010 Posts: 3640
|
Posted: Mon Dec 05, 2022 11:46 pm Post subject: |
|
|
Code: | --- Serial ATA and Parallel ATA drivers (libata)
[ ] Verbose ATA error reporting
[*] "libata.force=" kernel parameter support
[*] ATA ACPI Support
[ ] SATA Zero Power Optical Disc Drive (ZPODD) support
[*] SATA Port Multiplier support
*** Controllers with non-SFF native interface ***
<*> AHCI SATA support
(3) Default SATA Link Power Management policy for mobile chipsets
<M> Platform AHCI SATA support
< > Initio 162x SATA support (Very Experimental)
< > ACard AHCI variant (ATP 8620)
< > Silicon Image 3124/3132 SATA support
[*] ATA SFF support (for legacy IDE and PATA)
*** SFF controllers with custom DMA interface ***
< > Pacific Digital ADMA support
< > Pacific Digital SATA QStor support
< > Promise SATA SX4 support (Experimental)
[*] ATA BMDMA support
*** SATA SFF controllers with BMDMA ***
<*> Intel ESB, ICH, PIIX3, PIIX4 PATA/SATA support
< > DesignWare Cores SATA support
< > Marvell SATA support
< > NVIDIA SATA support
< > Promise SATA TX2/TX4 support
< > Silicon Image SATA support
< > SiS 964/965/966/180 SATA support
< > ServerWorks Frodo / Apple K2 SATA support
< > ULi Electronics SATA support
< > VIA SATA support
< > VITESSE VSC-7174 / INTEL 31244 SATA support
*** PATA SFF controllers with BMDMA ***
< > ALi PATA support
< > AMD/NVidia PATA support
< > ARTOP 6210/6260 PATA support
< > ATI PATA support
< > ARTOP/Acard ATP867X PATA support
< > CMD64x PATA support
< > Cypress CY82C693 PATA support (Very Experimental)
< > EFAR SLC90E66 support
< > HPT 366/368 PATA support
< > HPT 370/370A/371/372/374/302 PATA support
< > HPT 371N/372N/302N PATA support
< > HPT 343/363 PATA support
< > IT8213 PATA support (Experimental)
< > IT8211/2 PATA support
< > JMicron PATA support
< > Marvell PATA support via legacy mode
< > NETCELL Revolution RAID support
< > Ninja32/Delkin Cardbus ATA support
< > Nat Semi NS87415 PATA support
<M> Intel PATA old PIIX support
< > OPTI FireStar PATA support (Very Experimental)
< > Promise PATA 2027x support
< > Older Promise PATA controller support
< > RADISYS 82600 PATA support (Experimental)
< > RDC PATA support
<M> Intel SCH PATA support
< > SERVERWORKS OSB4/CSB5/CSB6/HT1000 PATA support
< > CMD / Silicon Image 680 PATA support
< > SiS PATA support
< > Toshiba Piccolo support (Experimental)
< > Compaq Triflex PATA support
< > VIA PATA support
< > Winbond SL82C105 PATA support
*** PIO-only SFF controllers ***
< > CMD640 PCI PATA support (Experimental)
<M> Intel PATA MPIIX support
< > Nat Semi NS87410 PATA support
< > OPTI621/6215 PATA support (Very Experimental)
< > Generic platform device PATA support
< > PC Tech RZ1000 PATA support
*** Generic fallback / legacy drivers ***
<M> ACPI firmware driver for PATA
<M> Generic ATA support
< > Legacy ISA PATA support (Experimental) | Until now I tried to keep everything that sounded relevant to the MB design.
Likely some cruft remains here.
Hard to tell which.
Thks 4 ur attention, interest & support. _________________ USE="-* ..." in /etc/portage/make.conf here, i.e. a countermeasure to portage implicit braces, belt & diaper paradigm
LT: "I've been doing a passable imitation of the Fontana di Trevi, except my medium is mucus. Sooo much mucus. " |
|
Back to top |
|
|
pietinger Moderator
Joined: 17 Oct 2006 Posts: 4253 Location: Bavaria
|
Posted: Tue Dec 06, 2022 12:04 am Post subject: |
|
|
CaptainBlood wrote: | Likely some cruft remains here.
Hard to tell which. |
I think all which you have enabled as module: SATA_AHCI_PLATFORM, PATA_OLDPIIX, PATA_SCH, PATA_MPIIX, PATA_ACPI, ATA_GENERIC
If you use your CD-ROM and after that you dont find any of them in "lsmod" you can safely remove them.
P.S.: All other settings is good. |
|
Back to top |
|
|
CaptainBlood Advocate
Joined: 24 Jan 2010 Posts: 3640
|
Posted: Tue Dec 06, 2022 4:55 am Post subject: |
|
|
I'll try that, seems reasonable enough
The hardest part is now to get a CD/DVD media
Thks 4 ur attention, interest & support. _________________ USE="-* ..." in /etc/portage/make.conf here, i.e. a countermeasure to portage implicit braces, belt & diaper paradigm
LT: "I've been doing a passable imitation of the Fontana di Trevi, except my medium is mucus. Sooo much mucus. " |
|
Back to top |
|
|
NeddySeagoon Administrator
Joined: 05 Jul 2003 Posts: 54331 Location: 56N 3W
|
Posted: Tue Dec 06, 2022 11:45 am Post subject: |
|
|
CaptainBlood,
Its been a while since I linked this but it looks like it will be useful to you. _________________ Regards,
NeddySeagoon
Computer users fall into two groups:-
those that do backups
those that have never had a hard drive fail. |
|
Back to top |
|
|
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
|