[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Debian on mac68k (LC III)



On 10/27/16 5:33 PM, Finn Thain wrote:
> 
> On Thu, 27 Oct 2016, Mac User wrote:
> 
>> ABCFGHIJK
>> Linux version 4.1.35-mac_scsi+ (fthain@nippy) (gcc version 4.6.3 (GCC) ) #1 Tue6
>> Saving 402 bytes of bootinfo
>> Detected Macintosh model: 27
>> VIA1 at 50f00000 is a 6522 or clone
>> VIA2 at 50f26000 is an RBV
>> Apple Macintosh LC III
>> ...
>> scsi host0: Macintosh NCR5380 SCSI, irq 19, io_port 0x0, base 0x50f10000, can_q 
>> scsi 0:0:0:0: Direct-Access     SEAGATE  ST318416N        0010 PQ: 0 ANSI: 3
>> kernel BUG at block/deadline-iosched.c:332!
>> *** TRAP #7 ***   FORMAT=0
...
>>
> 
> Is this particular crash reproducible? Is there any variation? (That is, 
> "BUG at block/deadline-iosched.c:332" or something else?)

Yes, I think so (I'll confirm that later today). I saw the error on
the normal console, then on the serial console twice (I only used the
serial console to capture the crash text).

> 
> Was there anything more logged after this? (In particular, the code dump?)
> 

I think on the regular console there was, but not on the serial console.

>> Penguin options:
>>   root=/dev/sda3 console=ttyS0 nologo
>> Serial: blank (I tried setting serial ports to 9600 baud,
>>   1 stop bit, no parity -- didn't work. I learned through
>>   trial and error that the kernel communicates at 38400
>>   baud regardless of serial settings).
> 
> As soon as the ttyS0 console starts, the pmac_zilog driver will switch 
> speed to whatever you asked for on the kernel command line. E.g. 
> "console=ttyS0,9600n8"
> 
> If you use "earlyprintk", the Mac early serial console uses 38400 baud. 
> (This also applies to the output of the initial "ABCFGHIJK" message.) This 
> speed isn't configurable. It uses 38400 only because the pmac_zilog 
> (ttyS0) serial driver defaults to 38400 baud when it starts up later on.
> 
> The framebuffer console (tty0) uses macfb, which is worse than 9600 baud, 
> so I tend to leave that disabled and use the ttyS0 default.
> 
> Since you are using a serial console, it is wise to preconfigure the 
> serial ports in Penguin. The benefit of doing this depends on the Mac 
> model but it never hurts and could potentially avoid an unhandled 
> interrupt.
> 

ok, I only had "console-ttyS0" on the command line; I'll try
"console=ttyS0,38400n8" and "earlyprintk", as well as configuring
the serial ports in Penguin.

-Stan


Reply to: