Jump to content

Error on Drakconf - [SOLVED]


sjaglin
 Share

Recommended Posts

Hi,

New to cooker, so I ask my question and then I put the bullet proff jacket and u start shooting :

 

System = Biostar ideq 210v with hda 150Gb and sda 160Gb.

 

Cooker on sda (already hava a couple of distros on sda)

 

I just installed and then urpme kat then update all sources (easy urpmi) then urpmi --auto-select.

 

Now, I can t satrt drak conf :

 

[root@localhost stephane]# lsmod|grep sata
sata_via				5700  0
libata				 41508  1 sata_via
[root@localhost stephane]# drakco
drakconf	   drakconf.real  drakconnect	drakconsole
[root@localhost stephane]# drakconf
[root@localhost stephane]# cannot get info for device (0, 0, 0, 0) at /usr/lib/l		ibDrakX/detect_devices.pm line 295.
[root@localhost stephane]#

 

Any thoughts??

 

Stef (u can shoot now) ;)

Edited by sjaglin@yahoo.co.uk
Link to comment
Share on other sites

Well, first of all: You did something right. You don't use cooker as your primary/only distro but as something to play around with. Hat's off. I saw others who were not that intelligent. :D

 

I guess we need to know what is written in here:

/usr/lib/libDrakX/detect_devices.pm, line 295 (as the terminal already revealed).

 

Then, I guess your fstab would be useful and check your /var/log messages file. There might be some more valuable information on this problem for troubleshooting.

Link to comment
Share on other sites

This is the bit in the lib file

 

 

"$dir/block/device/../../../..";

my $get_usb = sub { chomp_(cat_("$usb_dir/$_[0]")) };

 

# handle both old and new kernels:

my $node = -e "$dir/block" ? "$dir/block" : top(glob_("$dir/block*"));

my ($device) = readlink($node) =~ m!/block/(.*)!;

die "cannot get info for device ($host, $channel, $id, $lun)" if !$device; #this is line 295

 

my $media_type = ${{ st => 'tape', sr => 'cdrom', sd => 'hd' }}{substr($device, 0,

 

And here is fstab:

 

[root@localhost stephane]# cat /etc/fstab
# This file is edited by fstab-sync - see 'man fstab-sync' for details
/dev/hda5 / reiserfs notail 1 1
/dev/hdc /mnt/cdrom auto umask=0022,users,iocharset=iso8859-15,codepage=850,noauto,ro,exec 0 0
/dev/hda1 /mnt/win_c ntfs umask=0022,nls=iso8859-15,ro 0 0
/dev/sda1 /mnt/win_c2 ntfs umask=0022,nls=iso8859-15,ro 0 0
none /proc proc defaults 0 0
/dev/hda7 swap swap defaults 0 0
/dev/sda5 swap swap defaults 0 0

 

That does not talk to me much, sorry

 

:o

 

Stef

Link to comment
Share on other sites

*scratch my head*

 

Looks as if there is a coding error related to the devices automounting rules in drakconf... I'd ask at the developers IRC channel or file a bug.

Link to comment
Share on other sites

Hummm,

Funny though because I remember that I first installed that version of cooker on sda and it was working fine then. I m gonna remove suse10 from my sda and install cooker on sda to see if it makes a difference

 

Stef

Link to comment
Share on other sites

Hi,

I re-installed Cooker this time on sda6 (my Sata drive) and there it runs perfectly.

 

I wanted now to upgrade the kernel (as I heard the 2.6.12-14 is the latest), where do I find the rpm for it and for the kernel-source of the :unsure: same millesime? I want to be able to install me nvdias....

 

I've used easyurpmi to set-up my source + plfs etc, but urpmi -p kernel does not give me a choice for an updated kernel

 

Stef

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
 Share

×
×
  • Create New...