Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 302068 - sys-apps/util-linux-2.17 segfault mounting cdrom, dvd ok
Summary: sys-apps/util-linux-2.17 segfault mounting cdrom, dvd ok
Status: RESOLVED DUPLICATE of bug 301787
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Core system (show other bugs)
Hardware: AMD64 Linux
: High normal (vote)
Assignee: Gentoo Linux bug wranglers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-01-24 14:21 UTC by Guillaume Tissier
Modified: 2010-01-26 16:29 UTC (History)
2 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Guillaume Tissier 2010-01-24 14:21:50 UTC
I was unable to mount cds on my gentoo since a few weeks, dvd was working.
On command line, mount ends with a segmentation fault
The issue was to downgrade sys-apps/util-linux (2.16.2)

Before finding that issue, I've tried several kernel versions, old and new PATA support, other drives, because I have this error message (even now with working state) :
Buffer I/O error on device sr1, logical block 347872
sr 4:0:1:0: [sr1] Result: hostbyte=0x00 driverbyte=0x08
sr 4:0:1:0: [sr1] Sense Key : 0x5 [current] 
Info fld=0x54ee0, ILI
sr 4:0:1:0: [sr1] ASC=0x64 ASCQ=0x0
sr 4:0:1:0: [sr1] CDB: cdb[0]=0x28: 28 00 00 05 4e e0 00 00 01 00
end_request: I/O error, dev sr1, sector 1391488

Here is the make.conf, I have tried to build without the LDFLAGS :
ACCEPT_KEYWORDS="~amd64"
CFLAGS="-march=native -mtune=native -O2 -pipe -fomit-frame-pointer"
#CFLAGS="-march=nocona -mtune=nocona -O2 -pipe -fomit-frame-pointer"
#CFLAGS="-Os -march=pentium4 -mtune=pentium4 -fomit-frame-pointer -pipe"
CHOST="x86_64-pc-linux-gnu"
CXXFLAGS="${CFLAGS}"
#LDFLAGS="-Wl,-O1"
LDFLAGS="-Wl,-O1 -Wl,--as-needed -Wl,--sort-common -Wl,--hash-style=both"
MAKEOPTS="-j3 -s"
#MAKEOPTS="-j1"
#WANT_DISTCC="true"
WANT_MP="true"
#FEATURES="distcc parallel-fetch"
FEATURES="parallel-fetch prelink"
#FETCHCOMMAND="/usr/bin/wget -t 2 \${URI} -P \${DISTDIR}"

USE="-apache2 -apm -ipv6 -java -aspell -esd -eds -arts -debug -motif
        -fortran -qt -qt3 -qt4 -kde -spell -sdl -xine -berkdb -xmms -foomaticdb
        -oss nvidia nautilus acl amr acpi cdda dvd dvdread encode exif gtk gtk2$
        gnome gphoto2 gnome-keyring alsa cdr cairo bzip2 flac fuse gstreamer gl$
        svg tiff mmx2 mp3 mp4 network sse hal hashstyle keyring dbus sse2 matro$
        real lcms libnotify quicktime mad mozsvg unicode mime mpeg nfs nptl npt$
        truetype nvidia threads a52 mplayer ogg pop subtitles startup-notificat$
        userlocales usb dvdr xvid x264 xcomposite imagemagick
        chardet opengl vorbis wavpack wma ffmpeg png X xulrunner xcb xv xml"
Comment 1 Peter Volkov (RETIRED) gentoo-dev 2010-01-26 16:18:36 UTC
Thank you for report. Please, show us output of mount with segfault. Also, please, read the following http://www.gentoo.org/proj/en/qa/backtraces.xml and try to get backtrace.

BTW, next time you post configuration files, please, strip comments (egrep -v '(^#|$^)' /etc/make.conf can do the job).
Comment 2 Peter Volkov (RETIRED) gentoo-dev 2010-01-26 16:29:03 UTC
Ah, and looks like this is duplicate. Please, reopen if you see different problem.

*** This bug has been marked as a duplicate of bug 301787 ***