Opened 13 years ago

Closed 8 years ago

Last modified 6 years ago

#8459 closed bug (fixed)

Nforce AHCI

Reported by: hunnia1 Owned by: axeld
Priority: normal Milestone: R1
Component: System/Kernel Version: R1/Development
Keywords: AHCI NVIDIA Cc: greggd@…
Blocked By: Blocking: #6470
Platform: All

Description

Eventuelly it would be nice to have NForce AHCI working. I am using MCP78S. For now I have to switch bios between IDE mode and ahci mode. (Hackintosh does work only in AHCI mode.) This request I consider low priority, but in the long run it would be nice. :-)

Attachments (9)

IMG_0003.JPG (1.1 MB ) - added by diver 13 years ago.
IMG_0004.JPG (1.2 MB ) - added by diver 13 years ago.
IMG_0005.JPG (1.2 MB ) - added by diver 13 years ago.
IMG_0006.JPG (1.0 MB ) - added by diver 13 years ago.
IMG_0007.JPG (992.6 KB ) - added by diver 13 years ago.
IMG_0008.JPG (1.2 MB ) - added by diver 13 years ago.
Boot1.jpg (3.3 MB ) - added by hunnia1 13 years ago.
MCP78S boot AHCI sata
boot2.jpg (3.6 MB ) - added by hunnia1 13 years ago.
boot3.jpg (3.3 MB ) - added by hunnia1 13 years ago.

Change History (29)

comment:1 by diver, 13 years ago

Component: DriversDrivers/Disk
Owner: changed from nobody to marcusoverhagen
Version: R1/alpha3R1/Development

comment:2 by diver, 13 years ago

Could you attach your syslog using "debug syslog" feature of the bootloader. Alternatively you can grab it using another PC with serial port, or just take photos of the boot process with enabled on screen debug output. I have NVIDIA MCP73 chipset in one of my computers and it also doesn't boot in in AHCI mode.

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

by diver, 13 years ago

Attachment: IMG_0003.JPG added

by diver, 13 years ago

Attachment: IMG_0004.JPG added

by diver, 13 years ago

Attachment: IMG_0005.JPG added

by diver, 13 years ago

Attachment: IMG_0006.JPG added

by diver, 13 years ago

Attachment: IMG_0007.JPG added

by diver, 13 years ago

Attachment: IMG_0008.JPG added

comment:3 by hunnia1, 13 years ago

I did not know that nforce AHCI is being worked at. :-) So more details: CPU 2core amd64 (Athelon) 1 pata IDE Master/Slave. Master DVD Drive, slave empty. 4 channel SATA. The first 3 are used. I will designate them sda, sdb and sdc (Linux designation) For test Haiku is on a USB stick recognized as sdd. If SATA is configured as IDE, all disk and partitions are recognized. Haiku is installed on /dev/sda(2) and works properly.

If SATA is set in the AHCI mode. Haiku on USB boots see attachments, but only the USB stick is recognized by the disk program.

Accidentally I found out that if I boot with the SMP disabled (SATA is in the AHCI mode) sdb and sdc plus the DVD drive recognized. All partitions are shown correctly. sda is not seen by HAIKU. Playing with the other safe boot options does not change it. Nor is there a change if in the bios I change boot order. Unfortunately since Haiku is installed in sda, I cannot run it from hard rive in the AHCI mode. So nforce SATA (MCP78S) almost works.

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

by hunnia1, 13 years ago

Attachment: Boot1.jpg added

MCP78S boot AHCI sata

by hunnia1, 13 years ago

Attachment: boot2.jpg added

by hunnia1, 13 years ago

Attachment: boot3.jpg added

comment:4 by hunnia1, 13 years ago

Interesting! As I wrote disabling SMP will make AHCI/Haiku almost work except it will not see sda. So I went into debug mode with screen output and SMP disabled, to get some photos. At the end of the sequence sda was seen. Booted from the hard drive (sda) with smp disable, screen output and automatic paging. Haiku booted from the hard drive and worked perfectly. Tried it again witout the screen output and it failed. (Could not find root file system, which is obvious since sda not found.) Went back to screen logging and it worked again.

Obviously there is something timing related. Race condition?

comment:5 by diver, 13 years ago

Component: Drivers/DiskSystem/Kernel
Owner: changed from marcusoverhagen to axeld
Type: enhancementbug

Ok, let's reassign it to kernel then.

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

comment:6 by diver, 13 years ago

Blocked By: 6470 added
Resolution: duplicate
Status: newclosed

comment:7 by diver, 13 years ago

Blocked By: 6470 removed
Blocking: 6470 added

comment:8 by diver, 13 years ago

Resolution: duplicate
Status: closedreopened

comment:9 by HAL, 13 years ago

I have the same bug. If AHCI instead of IDE mode for SATA drive is enabled Haiku stops booting at the middle icon. It does not boot either in IDE mode if the C1E is enabled in the BIOS or local apic enabled, in the Haiku safe mode options. All I need is disabling CIE then I can have SMP multiprocessor function. My chipset is 870A north bridge and SB850 south bridge. Motherboard MSI 870AG54. CPU is AMD Phenon II X4 3Ghz AM3.

comment:10 by HAL, 13 years ago

Cc: greggd@… added

comment:11 by diver, 13 years ago

Do you still need to disable CIE in >= hrev44025 to boot in IDE mode?

in reply to:  11 comment:12 by HAL, 13 years ago

Replying to diver:

Do you still need to disable CIE in >= hrev44025 to boot in IDE mode?

It works with C1E enabled now.

comment:13 by hunnia1, 13 years ago

"All I need is disabling CIE then I can have SMP multiprocessor function." It is not clear, whether the above statement applies to IDE mode or AHCI mode.

I checked ma set up on which I reported the problem and for me CIE was disabled and as I stated SMP did nor worked. Enabling CIE gets me only to the third icon durin boot time even with the SMP disabled, so the situaton is worse.

comment:14 by hunnia1, 13 years ago

The above comment wa e reply to comment 9

in reply to:  13 comment:15 by HAL, 13 years ago

Replying to hunnia1:

"All I need is disabling CIE then I can have SMP multiprocessor function." It is not clear, whether the above statement applies to IDE mode or AHCI mode.

I checked ma set up on which I reported the problem and for me CIE was disabled and as I stated SMP did nor worked. Enabling CIE gets me only to the third icon durin boot time even with the SMP disabled, so the situaton is worse.

It applies in IDE mode. I also had in mind another bug #3999 where the reporter had similar bug to me and was able to boot with C1E disabled.

This bug here also applies to me with AHCI mode enabled.

comment:16 by diver, 13 years ago

Blocking: 7665 added

comment:17 by HAL, 13 years ago

I can boot now in ahci mode but at the middles icon on the boot screen, it pauses for about 1.25 minute, before progressing to Desktop. I had ahci enabled in hrev44241.

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

comment:18 by diver, 13 years ago

Your issue is different, this ticket is about nforce chipset. Please open a new ticket and attach your syslog after booting in AHCI mode. Also if possible try to boot with onscreen debug output and try to find when exactly it pauses.

comment:19 by kallisti5, 8 years ago

Resolution: fixed
Status: reopenedclosed

This one is extremely old. AHCI has changed a lot since this was opened. Please re-open this ticket if the same issue is seen on the same hardware.

comment:20 by waddlesplash, 6 years ago

Blocking: 7665 removed
Note: See TracTickets for help on using tickets.