Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
SMP + Adaptec SCSI HELP!
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Kernel & Hardware
View previous topic :: View next topic  
Author Message
Sivar
Apprentice
Apprentice


Joined: 25 May 2002
Posts: 266
Location: USA

PostPosted: Fri Jun 21, 2002 4:32 am    Post subject: SMP + Adaptec SCSI HELP! Reply with quote

Whenever I enable multi-CPU support in the kernel, that kernel will not boot! The boot messages speak of not being able to assign an IRQ to some device (it gives a number, don't remember what it is but it's long) and say such things as "SCSI bus retry" "Restart command already finished" and lists various seemingly random hex values. I don't really know of a good way to record such a long message, because I can't get to the console to check to see if they are in dmesg.
Hardware:
- Adaptec 29160 SCSI controller in 64-bit 33MHz PCI slot
- Maxtor Atlas 10K-3 hard drive
- Plextor PX40TW CD-ROM
- Tyan TigerMP board W\ 2 AthlonMP 1600+'s

The system works perfectly in Windows 2000 and FreeBSD 4.5 with SMP.
I tried removing the CD-ROM and disabling a few options such as low latency and kernel preemption (I am using Gentoo sources) but no luck. I have basically disabled everything that the Gentoo sources add. I have also tried "make mrproper"
_________________
The greatest deeds are still undone, the greatest songs are still unsung...
Back to top
View user's profile Send private message
klieber
Bodhisattva
Bodhisattva


Joined: 17 Apr 2002
Posts: 3657
Location: San Francisco, CA

PostPosted: Fri Jun 21, 2002 11:21 am    Post subject: Reply with quote

To ensure I understand your question, if you compile your kernel with SMP support, it will not boot. If you then recompile the exact same kernel with the exact same options except SMP support, then it boots fine.

Is this the case?

--kurt
_________________
The problem with political jokes is that they get elected
Back to top
View user's profile Send private message
Sivar
Apprentice
Apprentice


Joined: 25 May 2002
Posts: 266
Location: USA

PostPosted: Fri Jun 21, 2002 5:13 pm    Post subject: Reply with quote

klieber wrote:
To ensure I understand your question, if you compile your kernel with SMP support, it will not boot. If you then recompile the exact same kernel with the exact same options except SMP support, then it boots fine.

Is this the case?

--kurt


That is correct. Additionally, I managed to copy down some of the messages (using paper and a pen. It's been a while :)

aic7xxx abort returns 0x2002
Kernel Free SCB list: 0 1 2 3 4 ...
Untagged Q(2)
DevQ (0:0:0:) 0 waiting
SCSI 0:0:3:0: Command already completed
Sequencer free SCB list: 0, 1, 2, 3, ..
Sequencer SCB info: 0(c 0x0, s 0x57 ...
_________________
The greatest deeds are still undone, the greatest songs are still unsung...
Back to top
View user's profile Send private message
klieber
Bodhisattva
Bodhisattva


Joined: 17 Apr 2002
Posts: 3657
Location: San Francisco, CA

PostPosted: Fri Jun 21, 2002 5:33 pm    Post subject: Reply with quote

If that is truly the only difference between a working and non-working system, and you've made sure the processor family is set correct in your kernel, then you may have run afoul of a kernel or adaptec bug. Doing a little googling returned this result. Make sure to read through the other results as well as there's a lot of good information in there.

So, not sure what else to say except, bummer. ;)

--kurt
_________________
The problem with political jokes is that they get elected
Back to top
View user's profile Send private message
Sivar
Apprentice
Apprentice


Joined: 25 May 2002
Posts: 266
Location: USA

PostPosted: Fri Jun 21, 2002 6:45 pm    Post subject: Reply with quote

klieber wrote:
If that is truly the only difference between a working and non-working system, and you've made sure the processor family is set correct in your kernel, then you may have run afoul of a kernel or adaptec bug. Doing a little googling returned this result. Make sure to read through the other results as well as there's a lot of good information in there.

So, not sure what else to say except, bummer. ;)

Thanks for taking time to look. I actually Googled but didn't have the errors availalbe to me until after I posted (I cannot boot to record the dmesg)
I didn't really see anything all that useful, just a few people who are having the problem and a few replies like "Are you running an SMP kernel? The same thing happens to me with SMP" and Alan Cox saying he'lll forward it to the AIC7xxx maintainer. I saw a bug report for this with kernel version 2.4.13 ... Are they working on this?
Does anyone have their Adaptec SCSI card running with an SMP system? Surely this can't effect everyone--how many servers have >1 CPU and use SCSI? Most?
Hmm, does anyone know how I might be able to use the old Adaptec driver (the one no longer maintained) as that one worked perfectly. It doesn't seem to be an option anymore.
_________________
The greatest deeds are still undone, the greatest songs are still unsung...
Back to top
View user's profile Send private message
Sivar
Apprentice
Apprentice


Joined: 25 May 2002
Posts: 266
Location: USA

PostPosted: Fri Jun 21, 2002 8:11 pm    Post subject: Found workaround Reply with quote

Dan Carter from the mailing list sent me the following message:
Quote:
I had the same problems when I had ACPI and APM compiled in. I don't enable them anymore and have had no problems since.

My hardware:
Tyan Thunder K7
Dual Onboard SCSI (aic7899)
scsi bus 0
4 scsi hard drives
scsi bus 1
1 scsi dvd
1 scsi cdrw
1 scsi tape


I disabled ACPI and everything works fine. Can someone send this to the kernel mailing list which I am not subscribed to?
_________________
The greatest deeds are still undone, the greatest songs are still unsung...
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Kernel & Hardware All times are GMT
Page 1 of 1

 
Jump to:  
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