Re: [PATCH] pre8/asm-i386/string.h + de4x5 -> no go

Zlatko Calusic (Zlatko.Calusic@CARNet.hr)
19 Jan 1999 16:11:08 +0100


alan@lxorguk.ukuu.org.uk (Alan Cox) writes:

> > Problems on de4x5.o with asm-i386/string.h
> > (both with gcc and egcs).
> > Again :-(.
>
> You can't win that battle. Your fix breaks IDE CDROMS for me. strstr has
> to go non inline
>

REAL pre-8 (NOT the one from the _testing_ directory) works fine
here. I have de4x5 compiled with egcs-2.91.60 19981201 (egcs-1.1.1
release), in kernel.

I also observed strange problem with CD-ROM (Alan, I don't know if
it's the same one you're talking about).

"eject" stopped working!?!

{atlas} [~]% eject
eject: CDROMEJECT ioctl failed for `/dev/hdc': Operation not supported

{atlas} [~]% strace eject
...
readlink("/dev/cdrom", "/dev/hdc", 1024) = 8
open("/dev/hdc", O_RDONLY) = 3
brk(0) = 0x804bf30
brk(0x804bfb0) = 0x804bfb0
brk(0x804c000) = 0x804c000
open("/proc/mounts", O_RDONLY) = 4
fstat(4, {st_mode=S_IFREG|0444, st_size=0, ...}) = 0
mmap(0, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x4000c000
read(4, "/dev/root / ext2 rw 0 0\nproc /p"..., 1024) = 47
read(4, "", 1024) = 0
close(4) = 0
munmap(0x4000c000, 4096) = 0
fstat(3, {st_mode=S_IFBLK|0660, st_rdev=makedev(22, 0), ...}) = 0
ioctl(3, FIBMAP, 0x804ba20) = -1 EINVAL (Invalid argument)
ioctl(3, CDROMEJECT, 0x4000b3f0) = -1 EOPNOTSUPP (Operation not supported)
write(2, "eject: CDROMEJECT ioctl failed f"..., 71eject: CDROMEJECT ioctl failed for `/dev/hdc': Operation not supported
) = 71
_exit(1) = ?

It could be a user space problem, after all, but it worked before!

-- 
Zlatko

- 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/