Gentoo Archives: gentoo-dev

From: Wolfram Schlich <lists@×××××××.org>
To: gentoo-dev@l.g.o
Subject: Re: [gentoo-dev] HDD Detection
Date: Mon, 14 Jun 2004 21:16:30
Message-Id: 20040614211626.ALLYOURBASEAREBELONGTOUS.E22820@bla.fasel.org
In Reply to: Re: [gentoo-dev] HDD Detection by Andrew Gaffney
1 * Andrew Gaffney <agaffney@×××××××××××.com> [2004-06-14 19:35]:
2 > Wolfram Schlich wrote:
3 > >* Nathaniel McCallum <npmccallum@g.o> [2004-06-12 21:09]:
4 > >
5 > >>I need as many people as possible to test (for the Gentoo installer
6 > >>project) the following python script on your system:
7 > >>http://dev.gentoo.org/~npmccallum/detect_devices.py This is especially
8 > >>important if you have scsi, hardware raid, or otherwise funky setups.
9 > >
10 > >
11 > >--8<--
12 > >[root@prometheus(pts/3):tmp]$ python detect_devices.py
13 > >Detecting devices...
14 > >Traceback (most recent call last):
15 > > File "detect_devices.py", line 109, in ?
16 > > devices = detect_devices()
17 > > File "detect_devices.py", line 12, in detect_devices
18 > > raise Exception, "sysfs MUST be enabled (are you using kernel >2.6?)"
19 > >Exception: sysfs MUST be enabled (are you using kernel >2.6?)
20 > >[root@prometheus(pts/3):tmp]$ uname -a
21 > >Linux prometheus 2.4.22-grsec-1.9.12 #2 SMP Son Sep 7 11:28:39 CEST 2003
22 > >i686 AMD Athlon(tm) MP AuthenticAMD GNU/Linux
23 > >[root@prometheus(pts/3):tmp]$
24 > >--8<--
25 > >?!
26 >
27 > You just answered your own question:
28 >
29 > Exception: sysfs MUST be enabled (are you using kernel >2.6?)
30 > Linux prometheus 2.4.22-grsec-1.9.12 #2 SMP
31 >
32 > The script is being simplified by only supporting 2.6 kernels and their
33 > sysfs interface.
34
35 Interesting - I didn't get that.
36 I thought maybe it was assuming I was using 2.6 for whatever reason
37 (by mistake) and _therefore_ would need to have sysfs enabled.
38 The scripts output should be clarified regarding that point.
39 --
40 Wolfram Schlich; Friedhofstr. 8, D-88069 Tettnang; +49-(0)178-SCHLICH
41
42 --
43 gentoo-dev@g.o mailing list

Replies

Subject Author
Re: [gentoo-dev] HDD Detection Nathaniel McCallum <npmccallum@g.o>