Opened 13 years ago

Closed 13 years ago

Last modified 13 years ago

#12 closed defect (fixed)

cannot add a new vendor id

Reported by: ydario Owned by: cjm
Priority: major Milestone:
Component: driver Version:
Keywords: Cc:

Description

I tried to manually enable my intel N10/ICH7 controller, but

BASEDEV=os2ahci.add /g:8086:27c0

failed with

missing colon (:) afer /:

error at boot.

This controller is supposed to be also AHCI, but the server bios does not have an entry to enable it, so only sata currently works.
this is a Dell poweredge SC440 server.

Change History (5)

comment:1 Changed 13 years ago by cjm

Owner: changed from somebody to cjm
Status: newaccepted

comment:2 Changed 13 years ago by cjm

The code parsing the double-hex argument had an error; I fixed this and squeezed the change into version 1.22 which has originally been tagged yesterday because there has not been any binary release so far. If you have compiled 1.22 yourself, please update your local CVS view and recompile.

Thanks,
--Christian

Last edited 13 years ago by cjm (previous) (diff)

comment:3 Changed 13 years ago by cjm

Regarding the missing BIOS option to enable AHCI: It's unlikely that OS2AHCI will be able to access the controller if the BIOS does not enable AHCI because the AHCI memory-mapped registers might be missing.

I said "might" be missing because even with AHCI enabled some ICH7 laptops (e.g. IBM and Dell) tend to drive the AHCI adapter in SATA mode at boot time. Yet OS2AHCI can see the memory-mapped AHCI registers and switch the controller between SATA and AHCI modes.

Let us know whether it works -- might be interesting for other ICH7 users with a BIOS that does not have an AHCI option.

Thanks,
--Christian

Last edited 13 years ago by cjm (previous) (diff)

comment:4 Changed 13 years ago by cjm

Resolution: fixed
Status: acceptedclosed

comment:5 Changed 13 years ago by ydario

It seems that some grub hacking can enable AHCI with

setpci -d 8086:27c0 90.b=40

probably some kind of pci map patching on the fly.

The above seems to change id from 27c0 to 27c1, similar hacks exists for other intel controllers.

Note: See TracTickets for help on using tickets.