Hi all,
has anyone got the latest kernel from paulus's stable tree running on
a 1999 powerbook? It panicks invariably after hda and hcd are initialized.
xmon tells the following:
Floppy drive(s): fd0 is 2.88M
Machine check in kernel mode (regsat c03fdd90)
caused by (from srr1): Unknown udm in srr1
^^^<- not sure about this bit, my handwriting
really leaves to be improved...:(
NIP: C00D0D54 XER:20000000 LR: C00D0D30 REGS: 03fdd90 TRAP: 0200
MSR: 00009030 [EEIRDRME]
TASK=c03fc000[1] 'swapper' mm->pdg c0162000 last syscall:120
... some 2^4 adresses or so follow, which I could write down if anyone
will find them useful. I can't get anything beyond that, because xmon
prints everything else black on black!
This happens both with CONFIG_MAC_FLOPPY set or unset (the above is without
floppy driver)
Grateful for any pointers,
Derek
** Sent via the linuxppc-dev mail list. See http://lists.linuxppc.org/
has anyone got the latest kernel from paulus's stable tree running on
$ uname -a
Linux localhost 2.2.15pre11 #4 Mon Mar 6 16:17:02 CET 2000 ppc unknown
compiled with
$ gcc --version
egcs-2.91.66
and used the .config as it was rsynced from linuxcare.
a 1999 powerbook? It panicks invariably after hda and hcd are initialized.
I have a 400MHz Lombard with 128MB Ram.
No panics for me.
$ dmesg
...
hda: TOSHIBA MK6409MAV, ATA DISK drive
hdc: MATSHITADVD-ROM SR-8171, ATAPI CDROM drive
ide0 at 0x82820000-0x82820007,0x82820160 on irq 13
ide1 at 0x82821000-0x82821007,0x82821160 on irq 14
hda: Enabling MultiWord DMA 2
hda: TOSHIBA MK6409MAV, 6194MB w/0kB Cache, CHS=13424/15/63, (U)DMA
hdc: Enabling MultiWord DMA 2
ohci-control thread code for 0xc04cd020 code at 0xc016f264
New USB bus registered, assigned bus number 1
hdc: ATAPI 20X DVD-ROM drive, 512kB Cache
Uniform CDROM driver Revision: 2.56
scsi0 : MESH
...
hda: Enabling MultiWord DMA 2
hdc: Enabling MultiWord DMA 2
ide1: unexpected interrupt, status=0x00, count=1
phy registers:
3500 7849 2000 5c10 01e1 0000 0004 2001
0000 0000 0000 0000 0000 0000 0000 0000
0200 0000 0000 0000 0000 0000 0020 0000
0000 0000 002b 0100 0006 0f00 0000 0000
adb devices: [2]: 2 c4 [3]: 3 1 [7]: 7 1f
...
claudio
--
Claudio Nieder, Kanalweg 1, CH-8610 Uster ,'`.,'`.,'`.,'`.,'`.,'`.,'`
mailto:private@claudio.ch http://www.claudio.ch phone:+41 79 357 6743
Hum... I should make sure not to enable interrupts when setting the disk
features... I'll fix that asap.
** Sent via the linuxppc-dev mail list. See http://lists.linuxppc.org/
Hum... I should make sure not to enable interrupts when setting the disk
features... I'll fix that asap.
oops, I forgot to mention, that I boot using BootX version 1.1.1
claudio
--
Claudio Nieder, Kanalweg 1, CH-8610 Uster ,'`.,'`.,'`.,'`.,'`.,'`.,'`
mailto:private@claudio.ch http://www.claudio.ch phone:+41 79 357 6743
From: Benjamin Herrenschmidt <hidden> Date: 2000-03-08 09:53:56
On Tue, Mar 7, 2000, Derek Homeier [off-list ref] wrote:
... some 2^4 adresses or so follow, which I could write down if anyone
will find them useful. I can't get anything beyond that, because xmon
prints everything else black on black!
This happens both with CONFIG_MAC_FLOPPY set or unset (the above is without
floppy driver)
Check that you didn't include inadvertently the legacy PC floppy driver
** Sent via the linuxppc-dev mail list. See http://lists.linuxppc.org/
On Tue, Mar 7, 2000, Derek Homeier [off-list ref] wrote:
quoted
... some 2^4 adresses or so follow, which I could write down if anyone
will find them useful. I can't get anything beyond that, because xmon
prints everything else black on black!
This happens both with CONFIG_MAC_FLOPPY set or unset (the above is without
floppy driver)
Check that you didn't include inadvertently the legacy PC floppy driver
Oh right, CONFIG_BLK_DEV_FD dunnit! I wonder how I came to include it, since
I usually start with pmac_defconfig and from that only remove stuff I don't
need, except for few things like the USB drivers. It boots, however, and
I even got the SUN12x22 font to work now, thank you!
What's still causing problems is the DMA code, however. There's still the
: hda: Enabling MultiWord DMA 2
: hdc: packet command error: status=0x51 { DriveReady SeekComplete Error }
: hdc: packet command error: error=0x54
: ATAPI device hdc:
: Error: Illegal request -- (Sense key=0x05)
: Invalid field in command packet -- (asc=0x24, ascq=0x00)
: The failed "Start Stop Unit" packet command was:
: "1b 00 00 00 03 00 00 00 00 00 00 00 "
: cdrom: open failed.
error on startup. I can't see if this is directly causing any problems, but
the performance for hdc is frequently down to 0.8 MB/s. Apparently ejecting
and reloading the disk is sufficient to bring it back to 1.6 MB/s, but after
returning from sleep it's down again (this is the 24X CD-ROM on a 333 MHz
PB 101, FYI). Well, at least I found an easy workaround now...
I also noticed that power consumption during sleep had dramatically increased
with the previous 2.2.15pre kernels; I'm currently checking out if that problem
persists.
Thanks again,
Derek
** Sent via the linuxppc-dev mail list. See http://lists.linuxppc.org/
I also noticed that power consumption during sleep had dramatically increased
with the previous 2.2.15pre kernels; I'm currently checking out if that problem
persists.
Seems as it is still there, the battery is discharged by approx. 40% during
24 hours of sleep w/ 2.2.15pre11, while it used to be ~10%. I think it was
even more (>60%) with 2.2.15pre3-7. Has anyone else seen this?
The sound module was unloaded and the CD drive empty.
Derek
** Sent via the linuxppc-dev mail list. See http://lists.linuxppc.org/