Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 20885 - PPC livecd 1.4 rc6 allstages kernel hangs in SCSI driver on Dual SMP PowerMac G4
Summary: PPC livecd 1.4 rc6 allstages kernel hangs in SCSI driver on Dual SMP PowerMac G4
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: PPC Linux
: Low critical (vote)
Assignee: Pieter Van den Abeele (RETIRED)
URL:
Whiteboard:
Keywords:
: 32901 (view as bug list)
Depends on:
Blocks:
 
Reported: 2003-05-12 18:52 UTC by tfiala
Modified: 2006-02-04 06:03 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description tfiala 2003-05-12 18:52:04 UTC
The PPC livecd for 1.4 rc6 consistently hangs when starting to process the SCSI
driver boot code.  I have no SCSI devices.  My DVD/CD-ROM drive (hdc) gets
detected.  If I don't specify any boot parameters related to hdc, the kernel
hangs after printing a line that looks like this:
mesh: <something> synchronous 5 MB/s

If I specify "live hdc=scsi-ide", I get slightly further but still hang after
details of hdc are listed by the scsi driver.

I believe this is a known bug on SMP PowerMac hardware that has been corrected
by the SCSI/Mesh driver writer in the 2.4.20 kernel.  Could we get a livecd with
a newer kernel?

Also, my IDE HD does not appear to get autodetected by the kernel as it boots. 
Specifying "live hda=1,1,1" at the boot prompt causes the kernel to print
something about bad partition info and looks like it's not able to read the IDE
drive.  This also sounds like issues that have been resolved with newer kernels.


Reproducible: Always
Steps to Reproduce:
1.boot livecd on a dual processor G4 PowerMac3 (mirrored drive bay doors) with
IDE harddisk and IDE DVD/CD R/W drive.
2.wait until kernel appears to halt on SCSI driver boot code.

Actual Results:  
Just wait.  It won't go any further as it hangs.

Expected Results:  
The kernel should have booted to the gentoo livecd shell.

The hardware I am running came out in November 2002 (Dual 1.25 GHz PPC, 1 GB
ram, 120 MB IDE harddrive, combo DVD-RW,CD-RW drive).
Comment 1 tfiala 2003-05-12 18:53:12 UTC
Feel free to email me at tfiala@austin.rr.com.  I'd be happy to try new ISO test images and to work on this from my end with any suggestions.  Thanks!
Comment 2 Pieter Van den Abeele (RETIRED) gentoo-dev 2003-05-12 19:04:57 UTC
new livecd(s) comming up asap
2.4.20-benh9 (could be 10 not sure) is used on _rc6

any suggestions on what kernel to use best?
Comment 3 tfiala 2003-05-12 21:16:16 UTC
Hmm, the behavior I'm seeing matches some bug fixes applied to the 2.4.19 kernel so I assumed 
the livecd for 1.4 rc6 was an older kernel.  If there's any chance I could get a livecd without the 
built-in scsi support I can probably get past this and fiddle with different kernel building 
parameters to identify the exact problem.

If you can find the exact kernel used on the ppc livecd, I'll look into it more and see if there's any 
applicable patches that could be used.

Thanks!
Comment 4 tfiala 2003-05-17 10:58:01 UTC
More info:

I've tried the 1.4rc5 livecd.  I get more autodetection working.  The kernel now picks up 
the ide2 bus (Apple UniNorth ATA-6 controller to which my hard disk is attached) and 
picks up the Sun GEM built-in 10/100/1000 BaseT ethernet controller.  The rc6 disc picks 
up neither of these.

If I pass in no kernel args to the rc5 disc, I get stuck after this line:

mesh: configured for synchronous 5 MB/s

If I pass in boot paramter "hdc=ide-scsi", I get a little further:

mesh: configured for synchronous 5 MB/s
Attached SCSI CD-ROM sr0 at scsi0, channel 0, ide 0, lun 0
sr0: scsi3-mmc drive: 24x/24x writer cd/rw xa/form2 cdda tray
Uniform CD-ROM driver Revision: 3.12

That's the last thing I see before the kernel hangs.

Is there any chance you could build me an iso for a livecd with minimal options (no scsi 
cdrom emulation)?  I'm not sure that's the problem, but it seems the SCSI support is what 
is halting me.  Here's all I need in the kernel:
single-processor support
Apple UniNorth ATA-6 ide controller support
Apple KeyLargo ATA-4/3 ide controller support
USB full HID support
Sun GEM PCI 10/100/1000 Base T ethernet support
Apple Airport wireless support (this one is optional, I can move my computer if necessary 
so I don't need the wireless)

Please see the PowerPC Gentoo Forum and the topic "1.2r1 no ethernet; 1.4r6 no mesh 
lockup" for more info.  This is my forum post soliciting help.

Thank you very much for any help.  I'll be happy to help out in any way I can.  If you want 
to keep throwing different kernel configurations out to me on tiny iso images until we find 
one that boots all the way through, I'm good with that --- you don't need to build the full 
livecd until we can find a kernel configuration that boots.

BTW, I've turned off multi-processor support --- I'm now running uni-processor (verified in 
OS X Get Info page).

Thanks!
Comment 5 Pieter Van den Abeele (RETIRED) gentoo-dev 2003-05-31 03:53:39 UTC
New rc7 livecd (based on kernel 2.4.21) up in a day or so.
I hope the new kernel fixes the problem.
Comment 6 Pieter Van den Abeele (RETIRED) gentoo-dev 2003-06-08 07:25:51 UTC
Can you try again with rc7 livecd and reopen this bug if necessary?
Comment 7 Lars Weiler (RETIRED) gentoo-dev 2004-02-15 09:56:31 UTC
*** Bug 32901 has been marked as a duplicate of this bug. ***