RE: Upgraded from 2.2.5 (RH6) to 2.3.18---ATAPI CD-ROM freezesmachine while booting

Stuart Inglis (stuart@intelligenesis.net)
Mon, 13 Sep 1999 15:09:49 +1200


> Where is the device, what is it, also the interface type by chipset and
> mainboard.

This is Dell optiplex 590/Pentium 90Mhz 32Mb RAM.. here some info when it's
running 2.2.5.

[internz@escher internz]$ cat /proc/scsi/ncr53c8xx/0
General information:
Chip NCR53C810, device id 0x1, revision id 0x2
IO port address 0xfd00, IRQ number 11
Using memory mapped IO at virtual address 0xc2810f00
Synchronous period factor 25, max commands per lun 32
Profiling information:
num_trans = 22471
num_kbytes = 118734
num_disc = 34794
num_break = 580
num_int = 602
num_fly = 22471
ms_setup = 4700
ms_data = 80330
ms_disc = 206300
ms_post = 1650

[internz@escher internz]$ cat /proc/scsi/scsi
Attached devices:
Host: scsi0 Channel: 00 Id: 00 Lun: 00
Vendor: SEAGATE Model: ST31230N Rev: 0510
Type: Direct-Access ANSI SCSI revision: 02

[root@escher /root]# cat /proc/ide/hda/identify
[root@escher /root]# cat /proc/ide/hda/driver
ide-cdrom version 4.53
[root@escher /root]# cat /proc/ide/hda/settings
name value min max mode
---- ----- --- --- ----
breada_readahead 4 0 127 rw
dsc_overlap 0 0 1 rw
file_readahead 124 0 2097151 rw
io_32bit 0 0 3 rw
keepsettings 0 0 1 rw
max_kb_per_request 64 1 127 rw
nice1 1 0 1 rw
pio_mode write-only 0 255 w
slow 0 0 1 rw
unmaskirq 0 0 1 rw
using_dma 0 0 1 rw
[root@escher /root]# cat /proc/ide/hda/model
GCD-R542B

[root@escher /root]# cat /proc/pci
PCI devices found:
Bus 0, device 0, function 0:
Host bridge: Intel 82434LX Mercury/Neptune (rev 17).
Slow devsel. Master Capable. Latency=32.
Bus 0, device 4, function 0:
VGA compatible controller: ATI 210888GX (rev 1).
Medium devsel.
Non-prefetchable 32 bit memory at 0x40000000 [0x40000000].
Bus 0, device 11, function 0:
Non-VGA device: Intel 82375EB (rev 3).
Medium devsel. Master Capable. Latency=248.
Bus 0, device 12, function 0:
Ethernet controller: Intel 82557 (rev 5).
Medium devsel. Fast back-to-back capable. IRQ 15. Master Capable.
Late
ncy=64. Min Gnt=8.Max Lat=56.
Prefetchable 32 bit memory at 0x3efff000 [0x3efff008].
I/O at 0xffe0 [0xffe1].
Non-prefetchable 32 bit memory at 0x3ee00000 [0x3ee00000].
Bus 0, device 15, function 0:
SCSI storage controller: NCR 53c810 (rev 2).
Medium devsel. IRQ 11. Master Capable. Latency=64.
I/O at 0xfd00 [0xfd01].
Non-prefetchable 32 bit memory at 0x3efeff00 [0x3efeff00].

[root@escher /root]# cat /proc/devices
Character devices:
1 mem
2 pty
3 ttyp
4 ttyS
5 cua
7 vcs
10 misc
29 fb
36 netlink
128 ptm
136 pts

Block devices:
1 ramdisk
2 fd
3 ide0
8 sd
9 md

[root@escher /root]# cat /proc/partitions
major minor #blocks name

8 0 1034930 sda
8 1 964658 sda1
8 2 1 sda2
8 5 66464 sda5
3 0 1073741823 hda

Wow, that's a lot of blocks for a CD-ROM ! :-)

[root@escher /root]# cat /proc/version (default RH6)
Linux version 2.2.5-15smp (root@porky.devel.redhat.com) (gcc version
egcs-2.91.66 19990314/Linux (egcs-1.1.2 release)) #1 SMP Mon Apr 19 22:03:51
EDT 1999

[root@escher /root]# cat /proc/modules
eepro100 12272 1 (autoclean)
ncr53c8xx 52752 2

Hope this helps...

cheers
Stuart

> > > I suppose I know what causes the bug in 2.2.5, namely our
> > > old enemy probe_cmos_for_drives().
> > > This has always been a strange, buggy routine, but long ago
> > > it bit fewer people, because not so many people had both IDE
> > > and SCSI on one machine.
> > >
> > > Please try to disable probe_cmos_for_drives()
> > > (by replacing the #ifdef __i386__ at the start by #if 0).
> > > and report on whether 2.2.5 and 2.3.18 show improvement.
> >
> > I don't have the source to 2.2.5 handy and since 2.3.18 is the only one
> > crashing I made the change you suggested in 2.3.18.
> Unfortunately it made no
> > difference and the boot process halts at the same place.
> >
> > cheers
> > Stuart
> >
>

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.rutgers.edu
Please read the FAQ at http://www.tux.org/lkml/