OSX in MOL crashes

Nirmal Govind mol-general@lists.maconlinux.org
Mon, 16 Jun 2003 22:49:57 -0400


> message means that the kernel failed to read some sector
> so you might have a bad disk...

Thanks Samuel. I checked syslog and the messages seem to indicate that there 
are bad sectors on the CD.. I have the CDRW/DVD drive as my hdb disk and I 
use the ide-scsi module for this. I'm appending the messages below.. I think 
the problem is cos the CDRW drive isn't being mounted or booted up properly 
by OSX.. I have "blkdev:  /dev/scd0 -cd" in molrc.osx but with this, I can't 
open the CD drive if I startup MOL/OSX without a CD in the drive.. 

> Is DMA still on (/sbin/hdparm -i /dev/hdX)? If the error above

I checked and I think DMA is on.. I'm appending the output of hdparm for both 
hda and hdb (CDRW drive) below the syslog output.. please let me know if 
there's some setting I can change so that the CDRW drive handling works 
better..

Thanks,
nirmal

--
syslog messages
=========

Jun 16 16:02:59 ibook kernel: ide-scsi: hdb: unsupported command in request
 queue (0)
Jun 16 16:02:59 ibook kernel: end_request: I/O error, dev 03:53 (hdb), sect
or 2
Jun 16 16:02:59 ibook kernel: ide-scsi: hdb: unsupported command in request
 queue (0)
Jun 16 16:02:59 ibook kernel: end_request: I/O error, dev 03:53 (hdb), sect
or 4
Jun 16 16:02:59 ibook kernel: ide-scsi: hdb: unsupported command in request
 queue (0)
Jun 16 16:02:59 ibook kernel: end_request: I/O error, dev 03:53 (hdb), sect
or 6
Jun 16 16:02:59 ibook kernel: ide-scsi: hdb: unsupported command in request
 queue (0)
Jun 16 16:02:59 ibook kernel: end_request: I/O error, dev 03:54 (hdb), sect
or 0
Jun 16 16:02:59 ibook kernel: ide-scsi: hdb: unsupported command in request
 queue (0)
.
. (a lot more of similar messages)
.
.
Jun 16 16:02:59 ibook kernel: Device 08:01 not ready.
Jun 16 16:02:59 ibook kernel:  I/O error: dev 08:01, sector 0
Jun 16 16:02:59 ibook kernel: Device 08:02 not ready.
Jun 16 16:02:59 ibook kernel:  I/O error: dev 08:02, sector 0
Jun 16 16:02:59 ibook kernel: Device 08:03 not ready.
Jun 16 16:02:59 ibook kernel:  I/O error: dev 08:03, sector 0


hdparm output
========

/dev/hda:

 Model=IBM-IC25N030ATCS04-0, FwRev=CA3AA71A, SerialNo=CSL307D3MAS6RA
 Config={ HardSect NotMFM HdSw>15uSec Fixed DTR>10Mbs }
 RawCHS=16383/16/63, TrkSize=0, SectSize=0, ECCbytes=4
 BuffType=DualPortCache, BuffSize=1768kB, MaxMultSect=16, MultSect=off
 CurCHS=16383/16/63, CurSects=4228907259, LBA=yes, LBAsects=58605120
 IORDY=on/off, tPIO={min:240,w/IORDY:120}, tDMA={min:120,rec:120}
 PIO modes:  pio0 pio1 pio2 pio3 pio4
 DMA modes:  mdma0 mdma1 mdma2
 UDMA modes: udma0 udma1 *udma2
 AdvancedPM=yes: mode=0x80 (128) WriteCache=enabled
 Drive conforms to: ATA/ATAPI-5 T13 1321D revision 3:  2 3 4 5

/dev/hdb:

 Model=SONY CD-RW/DVD-ROM CRX820E, FwRev=1.3a, SerialNo=
 Config={ Fixed Removeable DTR<=5Mbs DTR>10Mbs nonMagnetic }
 RawCHS=0/0/0, TrkSize=0, SectSize=0, ECCbytes=0
 BuffType=unknown, BuffSize=0kB, MaxMultSect=0
 (maybe): CurCHS=0/0/0, CurSects=0, LBA=yes, LBAsects=0
 IORDY=on/off, tPIO={min:180,w/IORDY:120}, tDMA={min:120,rec:120}
 PIO modes:  pio0 pio1 pio2 pio3 pio4
 DMA modes:  mdma0 mdma1 mdma2
 UDMA modes: udma0 udma1 *udma2
 AdvancedPM=no
 Drive conforms to: device does not report version:  1