How to do stuff before loading correct drivers?
Posted: Wed Jun 23, 2010 11:25 pm
I don't want the video/terminal driver in as part of my kernel(just doesn't seem right, not extensible), but I'd like to be able to output to the screen while I'm loading drivers and the like. How's this conventionally done? I noticed this in a log file:
Surely Linux isn't writing to the disk at the same time it's reading the e820, is it?
Code: Select all
Jun 20 15:52:44 laptop kernel: imklog 4.2.0, log source = /proc/kmsg started.
Jun 20 15:52:44 laptop rsyslogd: [origin software="rsyslogd" swVersion="4.2.0" x-pid="883" x-info="http://www.rsyslog.com"] (re)start
Jun 20 15:52:44 laptop rsyslogd: rsyslogd's groupid changed to 103
Jun 20 15:52:44 laptop rsyslogd: rsyslogd's userid changed to 101
Jun 20 15:52:44 laptop kernel: [ 0.000000] Initializing cgroup subsys cpuset
Jun 20 15:52:44 laptop kernel: [ 0.000000] Initializing cgroup subsys cpu
Jun 20 15:52:44 laptop kernel: [ 0.000000] Linux version 2.6.32-21-generic (buildd@yellow) (gcc version 4.4.3 (Ubuntu 4.4.3-4ubuntu5) ) #32-Ubuntu SMP Fri Apr 16 08:09:38 UTC 2010 (Ubuntu 2.6.32-21.32-generic 2.6.32.11+drm33.2)
Jun 20 15:52:44 laptop kernel: [ 0.000000] Command line: BOOT_IMAGE=/vmlinuz-2.6.32-21-generic root=UUID=2b2ffef6-a356-49e1-b679-597acde9c0ce ro quiet splash
Jun 20 15:52:44 laptop kernel: [ 0.000000] KERNEL supported cpus:
Jun 20 15:52:44 laptop kernel: [ 0.000000] Intel GenuineIntel
Jun 20 15:52:44 laptop kernel: [ 0.000000] AMD AuthenticAMD
Jun 20 15:52:44 laptop kernel: [ 0.000000] Centaur CentaurHauls
Jun 20 15:52:44 laptop kernel: [ 0.000000] BIOS-provided physical RAM map:
Jun 20 15:52:44 laptop kernel: [ 0.000000] BIOS-e820: 0000000000000000 - 000000000009e000 (usable)
Jun 20 15:52:44 laptop kernel: [ 0.000000] BIOS-e820: 000000000009e000 - 00000000000a0000 (reserved)
Jun 20 15:52:44 laptop kernel: [ 0.000000] BIOS-e820: 00000000000d0000 - 0000000000100000 (reserved)
Jun 20 15:52:44 laptop kernel: [ 0.000000] BIOS-e820: 0000000000100000 - 00000000afed0000 (usable)
Jun 20 15:52:44 laptop kernel: [ 0.000000] BIOS-e820: 00000000afed0000 - 00000000afee5000 (ACPI data)
Jun 20 15:52:44 laptop kernel: [ 0.000000] BIOS-e820: 00000000afee5000 - 00000000afee6000 (ACPI NVS)
Jun 20 15:52:44 laptop kernel: [ 0.000000] BIOS-e820: 00000000afee6000 - 00000000c0000000 (reserved)
Jun 20 15:52:44 laptop kernel: [ 0.000000] BIOS-e820: 00000000e0000000 - 00000000f0000000 (reserved)
Jun 20 15:52:44 laptop kernel: [ 0.000000] BIOS-e820: 00000000fec00000 - 00000000fec10000 (reserved)
Jun 20 15:52:44 laptop kernel: [ 0.000000] BIOS-e820: 00000000fee00000 - 00000000fee01000 (reserved)
Jun 20 15:52:44 laptop kernel: [ 0.000000] BIOS-e820: 00000000fff80000 - 0000000100000000 (reserved)