Gentoo Archives: gentoo-amd64

From: Will Briggs <will@××××××××××××××××××.au>
To: gentoo-amd64@l.g.o
Subject: Re: [gentoo-amd64] Errors with startup!
Date: Sat, 13 May 2006 13:44:34
Message-Id: 4465E1A3.7060708@burnieanglican.org.au
In Reply to: [gentoo-amd64] Errors with startup! by Christopher E
1 Christopher E wrote:
2 > Hello All,
3 >
4 > Does any one know how to fix these issues? If so to be so kind and
5 > help me I would be greatful.
6 >
7 > ***** Startup Errors *****
8 >
9 > * Error 1 *
10 > drivers/usb/input/ati_remote.c: Weird data, len=1 ff 00 00 00 00 00 ...
11 > VP_IDE: port 0x01f0 already claimed by ide0
12 > codec_read: codec 0 is not valid [0xfe0000]
13 > codec_read: codec 0 is not valid [0xfe0000]
14 > codec_read: codec 0 is not valid [0xfe0000]
15 > codec_read: codec 0 is not valid [0xfe0000]
16
17 This is weird but shouldn't stop your boot. Do you have any USB devices
18 plugged in (flash sticks etc...) - unplug them.
19
20 > udevd-event[5602]: find_free_number: %e is deprecated, will be removed
21 > and is unlikely to work correctly. Don't use it.
22
23 Don't worry about this one. There was a thread here a while back about
24 how we can trust the udev people in gentoo land.
25
26 > [ ok ]
27 > * Finializing udev configuration ...
28 >
29 > * Error 2 *
30 > * Starting mysql (/etc/mysql/my.cnf)
31 >
32 > [ ok ]
33 > /etc/init.d/apache2: line 23: 11373 Segmentation fault $APACHE2
34 > ${APACHE2_OPTS} -t >/dev/null 2>&1
35 > * Apache2 has detected a syntax error in your configuration files:
36 > /etc/init.d/apache2: line 23: 11375 Segmentation fault ${APACHE2}
37 > ${APACHE2_OPTS} -t
38
39 This is more interesting. I doubt its causing your hang
40
41 Some basic diagnosing procedures I would do:
42
43 Remove apache2 from the init script (rc-update del apache2) to tidy
44 things up until you get it sorted.
45
46 Apache is a (reasonably) dark art. I would guess the init script has it
47 right - your config files are broke. This could be
48 /etc/apache2/httpd.conf but also a bunch of other stuff - especially if
49 you have vhosts etc. etc. Try and fix the config using the heaps of
50 howtos out there (google is your friend).
51
52 To make sure the segfault has gone away: Run apache manually
53 (/etc/init.d/apache2 start) and if the segfault is still there look for
54 errors in /var/log/apache2/error.log or /var/log/messages. Or try and
55 run apache outside of the /etc/init.d process (which I've never had to
56 do so someone wise can tell you the proper way to do that - apachectl?)
57 to see if you can catch any errors (notice that /etc/init.d/apache2
58 pipes output to /dev/null). If it all works then put apache2 back in
59 the init (rc-update add apache2 default)
60
61 Other things to think of for persistent segfaults if config fixing
62 doesn't fix it:
63
64 Re-emerge with tamer settings in make.conf (drop the optimisation flag
65 back a level (-O2 etc.) back to -Os or something - other people are
66 experts at what optimisations do what so do some googling, remove some
67 of the -f compiler flags (again google for what seems best)
68
69 If you're feeling brave, emerge strace and run apache2 manually within
70 strace and see what you can see.
71
72 I reckon it's your config though.
73
74
75 > * Starting festival ...
76 >
77 > [ ok ]
78 >
79 > * Error 3 *
80 >
81 > My system comes to a halt it appears again. I have to press a button
82 > (any) on the keyboard to get things going again.
83
84 Not enough information. Where does it halt? Before or after X loads?
85 What gets going again when you click the key?
86
87 --
88 gentoo-amd64@g.o mailing list