On Sat, 11 Oct 2003 12:53:10 +0200
Matthias Klose <[EMAIL PROTECTED]> wrote:

> FreddyK. writes:
> > > > gcc breaks ide-scsi during boot or modprobe of ide-scsi as in
> > > > message below:
> > > 
> > > [...]
> > > 
> > > please can you retry with the current gcc (-0pre5) form
> > > unstable? If it's reproducible, please try to reduce the
> > > optimization level for compilation of this module.
> > > 
> > 
> > I did just some minutes ago, syslog and config file attached
> > 
> > short summary:
> > 
> > i have ide-scsi not as a module, so i built the whole
> > kernel/modules
> 
> could you build it as a module (provide that the error show up there
> as well), it makes testing easier ...
> 
> > -once with -o2 (# CONFIG_OPTIMISE_SIZE is not set),
> >  kernel-source-2.4.22-3 and new gcc-3.3-0pre5 from unstable.
> 
> -O2 ?
> 
> > -once with -os (CONFIG_OPTIMISE_SIZE=y), kernel-source-2.4.22-3 
> > and new gcc-3.3-0pre5 from unstable.
> 
> -Os
> 
> > _with os ide-scsi works fine, with o2 same error_
> 
> ok, -O1 ?
> 


Ok, i did now build 2.4.22-3 with gcc-3.3-3.3.2-0pre5 and -O2,
with ide-scsi as module and -O1, for that I put in the following line
into  /usr/src/kernel-source-2.4.22/drivers/scsi/Makefile:

CFLAGS_ide-scsi.o =  -O1 -fomit-frame-pointer


This will make _work_ ide-scsi for me.

syslog attached.


greetings/gruesse

FreddyK./Armin Krueger
Oct 11 18:20:08 freddy syslogd 1.4.1#10: restart.
Oct 11 18:20:08 freddy kernel: klogd 1.4.1#10, log source = /proc/kmsg started.
Oct 11 18:20:08 freddy kernel: Inspecting /boot/System.map-2.4.22-lp7
Oct 11 18:20:08 freddy pppd[256]: pppd 2.4.1 started by root, uid 0
Oct 11 18:20:08 freddy kernel: Loaded 18031 symbols from 
/boot/System.map-2.4.22-lp7.
Oct 11 18:20:08 freddy kernel: Symbols match kernel version 2.4.22.
Oct 11 18:20:08 freddy kernel: Loaded 333 symbols from 18 modules.
Oct 11 18:20:08 freddy kernel: Linux version 2.4.22-lp7 ([EMAIL PROTECTED]) 
(gcc-Version 3.3.2 20031005 (Debian prerelease)) #6 Sa Okt 11 17:41:51 CEST 2003
Oct 11 18:20:08 freddy kernel: BIOS-provided physical RAM map:
Oct 11 18:20:08 freddy kernel:  BIOS-e820: 0000000000000000 - 000000000009fc00 
(usable)
Oct 11 18:20:08 freddy kernel:  BIOS-e820: 000000000009fc00 - 00000000000a0000 
(reserved)
Oct 11 18:20:08 freddy kernel:  BIOS-e820: 00000000000f0000 - 0000000000100000 
(reserved)
Oct 11 18:20:08 freddy kernel:  BIOS-e820: 0000000000100000 - 000000001ffeb000 
(usable)
Oct 11 18:20:08 freddy kernel:  BIOS-e820: 000000001ffeb000 - 000000001ffef000 
(ACPI data)
Oct 11 18:20:08 freddy kernel:  BIOS-e820: 000000001ffef000 - 000000001ffff000 
(reserved)
Oct 11 18:20:08 freddy kernel:  BIOS-e820: 000000001ffff000 - 0000000020000000 
(ACPI NVS)
Oct 11 18:20:08 freddy kernel:  BIOS-e820: 00000000ffff0000 - 0000000100000000 
(reserved)
Oct 11 18:20:08 freddy kernel: 511MB LOWMEM available.
Oct 11 18:20:08 freddy kernel: On node 0 totalpages: 131051
Oct 11 18:20:08 freddy kernel: zone(0): 4096 pages.
Oct 11 18:20:08 freddy kernel: zone(1): 126955 pages.
Oct 11 18:20:08 freddy kernel: zone(2): 0 pages.
Oct 11 18:20:08 freddy kernel: Kernel command line: BOOT_IMAGE=2.4.22-lp5o2o1 
ro root=301 hdc=scsi apm=power-off devfs=nomount
Oct 11 18:20:08 freddy kernel: ide_setup: hdc=scsi
Oct 11 18:20:08 freddy kernel: Initializing CPU#0
Oct 11 18:20:08 freddy kernel: Detected 900.015 MHz processor.
Oct 11 18:20:08 freddy kernel: Console: colour VGA+ 80x25
Oct 11 18:20:08 freddy kernel: Calibrating delay loop... 1795.68 BogoMIPS
Oct 11 18:20:08 freddy kernel: Memory: 515836k/524204k available (1484k kernel 
code, 7980k reserved, 519k data, 96k init, 0k highmem)
Oct 11 18:20:08 freddy kernel: Dentry cache hash table entries: 65536 (order: 
7, 524288 bytes)
Oct 11 18:20:09 freddy kernel: Inode cache hash table entries: 32768 (order: 6, 
262144 bytes)
Oct 11 18:20:09 freddy kernel: Mount cache hash table entries: 512 (order: 0, 
4096 bytes)
Oct 11 18:20:09 freddy kernel: Buffer cache hash table entries: 32768 (order: 
5, 131072 bytes)
Oct 11 18:20:09 freddy kernel: Page-cache hash table entries: 131072 (order: 7, 
524288 bytes)
Oct 11 18:20:09 freddy kernel: CPU: L1 I cache: 16K, L1 D cache: 16K
Oct 11 18:20:09 freddy kernel: CPU: L2 cache: 256K
Oct 11 18:20:09 freddy kernel: Intel machine check architecture supported.
Oct 11 18:20:09 freddy kernel: Intel machine check reporting enabled on CPU#0.
Oct 11 18:20:09 freddy kernel: CPU:     After generic, caps: 0383f9ff 00000000 
00000000 00000000
Oct 11 18:20:09 freddy kernel: CPU:             Common caps: 0383f9ff 00000000 
00000000 00000000
Oct 11 18:20:09 freddy kernel: CPU: Intel Pentium III (Coppermine) stepping 03
Oct 11 18:20:09 freddy kernel: Enabling fast FPU save and restore... done.
Oct 11 18:20:09 freddy kernel: Enabling unmasked SIMD FPU exception support... 
done.
Oct 11 18:20:09 freddy kernel: Checking 'hlt' instruction... OK.
Oct 11 18:20:09 freddy kernel: POSIX conformance testing by UNIFIX
Oct 11 18:20:09 freddy kernel: PCI: PCI BIOS revision 2.10 entry at 0xf0960, 
last bus=2
Oct 11 18:20:09 freddy kernel: PCI: Using configuration type 1
Oct 11 18:20:09 freddy kernel: PCI: Probing PCI hardware
Oct 11 18:20:09 freddy kernel: PCI: Probing PCI hardware (bus 00)
Oct 11 18:20:09 freddy kernel: Transparent bridge - Intel Corp. 
82801BA/CA/DB/EB PCI Bridge
Oct 11 18:20:09 freddy kernel: PCI: Using IRQ router PIIX [8086/2440] at 00:1f.0
Oct 11 18:20:09 freddy kernel: isapnp: Scanning for PnP cards...
Oct 11 18:20:09 freddy kernel: isapnp: No Plug & Play device found
Oct 11 18:20:09 freddy kernel: Linux NET4.0 for Linux 2.4
Oct 11 18:20:09 freddy kernel: Based upon Swansea University Computer Society 
NET3.039
Oct 11 18:20:09 freddy kernel: Initializing RT netlink socket
Oct 11 18:20:09 freddy kernel: Starting kswapd
Oct 11 18:20:09 freddy kernel: Journalled Block Device driver loaded
Oct 11 18:20:09 freddy kernel: pty: 256 Unix98 ptys configured
Oct 11 18:20:09 freddy kernel: Serial driver version 5.05c (2001-07-08) with 
MANY_PORTS SHARE_IRQ SERIAL_PCI ISAPNP enabled
Oct 11 18:20:09 freddy kernel: ttyS00 at 0x03f8 (irq = 4) is a 16550A
Oct 11 18:20:09 freddy kernel: ttyS01 at 0x02f8 (irq = 3) is a 16550A
Oct 11 18:20:09 freddy kernel: Floppy drive(s): fd0 is 1.44M
Oct 11 18:20:09 freddy kernel: FDC 0 is a post-1991 82077
Oct 11 18:20:09 freddy kernel: RAMDISK driver initialized: 16 RAM disks of 
4096K size 1024 blocksize
Oct 11 18:20:09 freddy kernel: PPP generic driver version 2.4.2
Oct 11 18:20:09 freddy kernel: PPP Deflate Compression module registered
Oct 11 18:20:09 freddy kernel: Linux agpgart interface v0.99 (c) Jeff Hartmann
Oct 11 18:20:09 freddy kernel: agpgart: Maximum main memory to use for agp 
memory: 439M
Oct 11 18:20:09 freddy kernel: agpgart: agpgart: Detected an Intel i815, but 
could not find the secondary device. Assuming a non-integrated video card.
Oct 11 18:20:09 freddy kernel: agpgart: Detected Intel i815 chipset
Oct 11 18:20:09 freddy kernel: agpgart: AGP aperture is 64M @ 0xf8000000
Oct 11 18:20:09 freddy kernel: [drm] Initialized tdfx 1.0.0 20010216 on minor 0
Oct 11 18:20:09 freddy kernel: Uniform Multi-Platform E-IDE driver Revision: 
7.00beta4-2.4
Oct 11 18:20:09 freddy kernel: ide: Assuming 33MHz system bus speed for PIO 
modes; override with idebus=xx
Oct 11 18:20:09 freddy kernel: ICH2: IDE controller at PCI slot 00:1f.1
Oct 11 18:20:09 freddy kernel: ICH2: chipset revision 1
Oct 11 18:20:09 freddy kernel: ICH2: not 100%% native mode: will probe irqs 
later
Oct 11 18:20:09 freddy kernel:     ide0: BM-DMA at 0xa800-0xa807, BIOS 
settings: hda:DMA, hdb:pio
Oct 11 18:20:09 freddy kernel:     ide1: BM-DMA at 0xa808-0xa80f, BIOS 
settings: hdc:DMA, hdd:pio
Oct 11 18:20:09 freddy kernel: hda: WDC WD800JB-00CRA1, ATA DISK drive
Oct 11 18:20:09 freddy kernel: blk: queue c0334ba0, I/O limit 4095Mb (mask 
0xffffffff)
Oct 11 18:20:09 freddy kernel: hdc: SONY CD-RW CRX140E, ATAPI CD/DVD-ROM drive
Oct 11 18:20:09 freddy kernel: hdd: IOMEGA ZIP 100 ATAPI Floppy, ATAPI FLOPPY 
drive
Oct 11 18:20:09 freddy kernel: ide0 at 0x1f0-0x1f7,0x3f6 on irq 14
Oct 11 18:20:09 freddy kernel: ide1 at 0x170-0x177,0x376 on irq 15
Oct 11 18:20:09 freddy kernel: hda: attached ide-disk driver.
Oct 11 18:20:09 freddy kernel: hda: 156301488 sectors (80026 MB) w/8192KiB 
Cache, CHS=9729/255/63, UDMA(100)
Oct 11 18:20:09 freddy kernel: ide-cd: passing drive hdc to ide-scsi emulation.

~

Oct 11 18:20:09 freddy kernel: hdd: attached ide-scsi driver.
Oct 11 18:20:09 freddy kernel: hdc: attached ide-scsi driver.
Oct 11 18:20:09 freddy kernel: scsi0 : SCSI host adapter emulation for IDE 
ATAPI devices
Oct 11 18:20:09 freddy kernel:   Vendor: IOMEGA    Model: ZIP 100           
Rev: 14.A
Oct 11 18:20:09 freddy kernel:   Type:   Direct-Access                      
ANSI SCSI revision: 00
Oct 11 18:20:09 freddy kernel:   Vendor: SONY      Model: CD-RW  CRX140E    
Rev: 1.0n
Oct 11 18:20:09 freddy kernel:   Type:   CD-ROM                             
ANSI SCSI revision: 02
Oct 11 18:20:09 freddy kernel: Attached scsi CD-ROM sr0 at scsi0, channel 0, id 
1, lun 0
Oct 11 18:20:09 freddy kernel: sr0: scsi3-mmc drive: 20x/32x writer cd/rw 
xa/form2 cdda tray
Oct 11 18:20:09 freddy kernel: Uniform CD-ROM driver Revision: 3.12

Reply via email to