Gentoo Archives: gentoo-user

From: Philip Webb <purslow@××××××××.net>
To: gentoo-user@l.g.o
Subject: Re: [gentoo-user] /dev/sr0 has disappeared: solved
Date: Sun, 17 May 2009 07:18:57
Message-Id: 20090517071852.GA4724@ca.inter.net
In Reply to: Re: [gentoo-user] /dev/sr0 has disappeared: big mystery by Dirk Heinrichs
1 090516 Dirk Heinrichs wrote:
2 > Am Samstag, 16. Mai 2009 11:55:18 schrieb Philip Webb:
3 >> I have got 2.6.25 to work again after enabling 'evdev'
4 > evdev is completely unrelated to CD writing.
5
6 Yes, I know that: it was necessary in order to resurrect 2.6.25
7 after the big change in Xorg recently: I mentioned it in my OP.
8
9 > OK, let's look at the interesting parts:
10 >> 03:00.0 IDE interface: JMicron Technologies, Inc.
11 >> JMB368 IDE controller Kernel driver in use: pata_jmicron
12 > For this you need CONFIG_PATA_JMICRON=y, which you don't have.
13
14 Aha ! -- it was present for 2.6.25 , so what happened to it ... ?
15
16 > Let's go through the kernel config:
17 >> # CONFIG_PCIEPORTBUS is not set
18 > You really need to enable this (that is a PCI-Express machine, isn't it?).
19
20 I didn't have in in 2.6.25 & it doesn't seem to do anything I want:
21 do you have suggestions what it might help with ?
22
23 >> CONFIG_BLK_DEV_FD=y
24 > Do you have a floppy drive, still?
25
26 Yes & lots of diskettes too (they ceased to be floppy long ago: grin)).
27 I use one for quick back-ups of files I'm working on.
28
29 >> CONFIG_HAVE_IDE=y
30 > Useless.
31 > Hmm, seems to be selected automatically, thus not that useless ;)
32 > However, I can't even find it in menuconfig.
33 >> # CONFIG_CHR_DEV_SG is not set
34 > As written before: No SG, no write (to CD).
35
36 No, I didn't have it in 2.6.25 & have just blanked a CD without it.
37 The kernel help recommends 'No' unless you have a special reason.
38
39 >> # CONFIG_ATA_SFF is not set
40 > You need to enable this to make CONFIG_PATA_JMICRON visible.
41
42 ... THAT's what happened to it !! This is the change in 2.6.29
43 (it could have been in 2.6.26-8 , which I didn't install).
44
45 So having enabled these two options, I now get /dev/sr0
46 & can read & write (at least blank) a CD again.
47
48 This is another trap in configuring a new kernel,
49 ie some needed option is moved &/or needs another enabled to see it.
50 Another trap I ran into briefly was a field needing a string,
51 which looks as if all it needs is 'y/n' (also in 2.6.29).
52
53 Thanks for the careful analysis. I will post a msg to the Forum,
54 as there have been several inquiries there which seemed unresolved.
55
56 --
57 ========================,,============================================
58 SUPPORT ___________//___, Philip Webb
59 ELECTRIC /] [] [] [] [] []| Cities Centre, University of Toronto
60 TRANSIT `-O----------O---' purslowatchassdotutorontodotca

Replies

Subject Author
Re: [gentoo-user] /dev/sr0 has disappeared: solved Dirk Heinrichs <dirk.heinrichs@××××××.de>