Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 153393 - grub 0.97-r2 not finding /dev/cciss/c0d0 ( HP Smart Array Controller)
Summary: grub 0.97-r2 not finding /dev/cciss/c0d0 ( HP Smart Array Controller)
Status: RESOLVED TEST-REQUEST
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Core system (show other bugs)
Hardware: x86 Linux
: High normal (vote)
Assignee: Gentoo's Team for Core System packages
URL: https://savannah.gnu.org/bugs/?func=d...
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-10-29 23:01 UTC by John Huttley
Modified: 2008-03-01 05:22 UTC (History)
1 user (show)

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


Attachments
Output from grub where device can't get set (grub.setup.err,1.38 KB, text/plain)
2007-01-31 14:03 UTC, Marc-Andre Landry
Details
Same error as before even with grub-0.96-r3 (grub.setup.err,853 bytes, text/plain)
2007-01-31 14:12 UTC, Marc-Andre Landry
Details

Note You need to log in before you can comment on or make changes to this bug.
Description John Huttley 2006-10-29 23:01:37 UTC
Symptom:  (hd0) does not exist.
Grub does not correctly populate the device.map (only fd0 is there).
If you edit device.map, it is not used.
However  performing the grub command

device (hd0) /dev/cciss/c0d0

does work.

This seems to be a reversion of an old, known bug (see url)

Note: grub-0.96  was ok.
Comment 1 Marc-Andre Landry 2007-01-31 14:03:11 UTC
Created attachment 108749 [details]
Output from grub where device can't get set

This is with grub-0.97-r3... never had such bug <0.97.
Comment 2 Marc-Andre Landry 2007-01-31 14:12:18 UTC
Created attachment 108751 [details]
Same error as before even with grub-0.96-r3

Must be something else that make grub unhappy.
Here my info :

Portage 2.1.2-r4 (default-linux/x86/2006.1/desktop, gcc-4.1.1/vanilla, glibc-2.5-r0, 2.6.19-gentoo-r4-trinity-r2 i686)
=================================================================
System uname: 2.6.19-gentoo-r4-trinity-r2 i686 AMD Athlon(tm) processor
Gentoo Base System release 1.12.9
Timestamp of tree: Sun, 28 Jan 2007 22:00:01 +0000
distcc 2.18.3 i686-pc-linux-gnu (protocols 1 and 2) (default port 3632) [disabled]
ccache version 2.4 [disabled]
app-admin/eselect-compiler: 2.0.0_rc2-r1
dev-java/java-config: 1.3.7, 2.0.31-r3
dev-lang/python:     2.4.4
dev-python/pycrypto: 2.0.1-r5
dev-util/ccache:     2.4-r6
sys-apps/sandbox:    1.2.18.1
sys-devel/autoconf:  2.13, 2.61
sys-devel/automake:  1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2, 1.10
sys-devel/binutils:  2.17
sys-devel/gcc-config: 2.0.0_rc1
sys-devel/libtool:   1.5.22
virtual/os-headers:  2.6.19.2-r1
ACCEPT_KEYWORDS="x86 ~x86"
AUTOCLEAN="yes"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-fno-omit-frame-pointer -g -O3 -march=athlon-tbird -pipe"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/3.5/env /usr/kde/3.5/share/config /usr/kde/3.5/shutdown /usr/share/X11/xkb /usr/share/config"
CONFIG_PROTECT_MASK="/etc/env.d /etc/env.d/java/ /etc/eselect/compiler /etc/gconf /etc/java-config/vms/ /etc/revdep-rebuild /etc/terminfo /etc/texmf/web2c"
CXXFLAGS="-fno-omit-frame-pointer -g -O3 -march=athlon-tbird -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig distlocks metadata-transfer nostrip sandbox sfperms strict"
GENTOO_MIRRORS="http://mirror.datapipe.net/gentoo http://gentoo.cites.uiuc.edu/pub/gentoo/ http://mirrors.acm.cs.rpi.edu/gentoo/ http://www.gtlib.gatech.edu/pub/gentoo http://gentoo.osuosl.org/"
LANG="en"
LC_ALL="en_US.UTF-8"
LINGUAS="en en_US fr"
MAKEOPTS="-j3"
PKGDIR="/usr/portage/packages"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --delete-after --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/portage/local/layman/java-migration-packages /usr/portage/local/layman/java-experimental /usr/portage/local/layman/enlightenment /usr/local/portage /usr/local/pro-audio/proaudio"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="3dnow X X509 Xaw3d aac acl acpi alsa audiofile bash-completion berkdb bindist bitmap-fonts branding browserplugin bzip2 cairo cdr chroot cjk cli cracklib crypt ctype custom-cflags custom-flags dbus dbx dga dio dlloader dmi dmx doc dri drm dvd dvdr emboss encode examples expat fam ffmpeg firefox flac fortran fpx gdbm gif glitz gmp gnutls gpm graphviz gs gstreamer gtk gtk2 hal iconv imlib imlib2 ipv6 isdnlog ithreads java javascript jbig jpeg jpeg2k kerberos lcms libg++ lm_sensors lua mad md5sum mikmod mmx motif mp3 mp4 mpeg msn ncurses nls no-old-linux nptl nptlonly nsplugin ogg opengl oss pam pcre pdf perl pic png pnq posix ppds pppd profile python qt qt4 quicktime readline reflection rle ruby sdl session silc source spell spl ssl startup-notification svg sysvipc tcl tcltk tcpd theora threads tiff tk truetype truetype-fonts type1-fonts ucs2 udev unicode vorbis win32codecs wmf wxwindows x86 xine xml xorg xscreensaver xv xvid zlib" ALSA_CARDS="emu10k1" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter mulaw multi null plug rate route share shm softvol" ELIBC="glibc" INPUT_DEVICES="keyboard mouse" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="en en_US fr" USERLAND="GNU" VIDEO_CARDS="radeon vesa"
Unset:  CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LDFLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Comment 3 Marc-Andre Landry 2007-01-31 16:06:50 UTC
I try to pull out custom-cflag from USE flag and I think this was my problem. Don't know for sure as I haven't had time to test : I'm at work now. As soon as I get back home I will test and let know.

John, I don't know if this was your case, if not hope we will find the solution.
LMA
Comment 4 Marc-Andre Landry 2007-01-31 20:45:34 UTC
(In reply to comment #3)
> I try to pull out custom-cflags from USE flag

Work for me!
Comment 5 luca pasquali 2007-03-23 12:05:56 UTC
 
> This seems to be a reversion of an old, known bug (see url)

AFAIK the bug was never fixed for grub-install, patch submitted for grub 0.93 makes grub install cleanly in batch/cli mode specifing an hand made device.map. what doesn't work is grub automation (as grub --recheck) and grub-install

read also:

https://savannah.gnu.org/bugs/?func=detailitem&item_id=8900(In reply to comment #0)
> Symptom:  (hd0) does not exist.
> Grub does not correctly populate the device.map (only fd0 is there).
> If you edit device.map, it is not used.
> However  performing the grub command
> 
> device (hd0) /dev/cciss/c0d0
> 
> does work.
> 
> This seems to be a reversion of an old, known bug (see url)
> 
> Note: grub-0.96  was ok.
> 

(In reply to comment #0)
> Symptom:  (hd0) does not exist.
> Grub does not correctly populate the device.map (only fd0 is there).
> If you edit device.map, it is not used.
> However  performing the grub command
> 
> device (hd0) /dev/cciss/c0d0
> 
> does work.
> 
> This seems to be a reversion of an old, known bug (see url)
> 
> Note: grub-0.96  was ok.
> 

Comment 6 calculator 2007-04-18 06:09:07 UTC
I have some problem with grub-install --recheck /dev/cciss/c0d0

But worked:
grub> device (hd0) /dev/cciss/c0d0
grub> root(hd0,0)
grub> setup (hd0)
Comment 7 Robin Johnson archtester Gentoo Infrastructure gentoo-dev Security 2008-03-01 05:22:16 UTC
This should have been fixed by -r3. Please test -r3 or the soon to be released r5.