Pagina 1 di 1

Compilazione kernel: ringraziamento e problemi

Inviato: sab 10 ott 2009, 10:17
da hal9000
Innanzitutto vorrei ringraziare Submax per l' ottimo kernelpkg che mia ha permesso di compilare il kernel su una macchina più potente e di installarlo sul mio PIII, poi avrei due problemi (al momento) da risolvere: il primo riguarda la risoluzione del monitor che sul kernel 2.6.27.7 di defoult della Slackware 12.2 parte a 1024x724x256 mentre con 2.9.26.6 compilato sembra essere 800x600x256. Qui sotto il lilo.conf modificato da kernelpkg:

Codice: Seleziona tutto

# LILO configuration file
# generated by 'liloconfig'
#
# Start LILO global section
# Append any additional kernel parameters:
append=" vt.default_utf8=0"
boot = /dev/hda

# Boot BMP Image.
# Bitmap in BMP format: 640x480x8
  bitmap = /boot/slack.bmp
# Menu colors (foreground, background, shadow, highlighted
# foreground, highlighted background, highlighted shadow):
  bmp-colors = 255,0,255,0,255,0
# Location of the option table: location x, location y, number of
# columns, lines per column (max 15), "spill" (this is how many
# entries must be in the first column before the next begins to
# be used.  We don't specify it here, as there's just one column.
  bmp-table = 60,6,1,16
# Timer location x, timer location y, foreground color,
# background color, shadow color.
  bmp-timer = 65,27,0,255

# Standard menu.
# Or, you can comment out the bitmap menu above and
# use a boot message with the standard menu:
#message = /boot/boot_message.txt

# Wait until the timeout to boot (if commented out, boot the
# first entry immediately):
prompt
# Timeout before the first entry boots.
# This is given in tenths of a second, so 600 for every minute:
timeout = 1200
# Override dangerous defaults that rewrite the partition table:
change-rules
  reset
# VESA framebuffer console @ 1024x768x256
vga = 773
# Normal VGA console
# vga = normal
# VESA framebuffer console @ 1024x768x64k
# vga=791
# VESA framebuffer console @ 1024x768x32k
# vga=790
# VESA framebuffer console @ 1024x768x256
# vga=773
# VESA framebuffer console @ 800x600x64k
# vga=788
# VESA framebuffer console @ 800x600x32k
# vga=787
# VESA framebuffer console @ 800x600x256
# vga=771
# VESA framebuffer console @ 640x480x64k
# vga=785
# VESA framebuffer console @ 640x480x32k
# vga=784
# VESA framebuffer console @ 640x480x256
# vga=769
# End LILO global section
# Windows bootable partition config begins
other = /dev/hda1
  label = Windows
  table = /dev/hda
# Windows bootable partition config ends
# Linux bootable partition config begins
image = /boot/vmlinuz
  root = /dev/hda2
  label = Linux
  read-only
# Linux bootable partition config fine

## Autogenerated by kernel-image build with kernelpkg tool ##
image = /boot/vmlinuz-2.6.29.6-smp
root = /dev/hda2
label = 2.6.29.6-smp #(15 characters max)
read-only
## you remove manually when use removepkg with kernel-image package ##
inoltre non riesco a far funzionare la mia web cam Q-Tec webcam 100 il driver pac207 è messo built-in nel kernel. Questo è l'output di tail -F /var/log/messages:
  • Oct 10 09:49:12 zago kernel: usb 2-2: new full speed USB device using ohci_hcd and address 4
    Oct 10 09:49:12 zago kernel: usb 2-2: New USB device found, idVendor=093a, idProduct=2460
    Oct 10 09:49:12 zago kernel: usb 2-2: New USB device strings: Mfr=1, Product=2, SerialNumber=0
    Oct 10 09:49:12 zago kernel: usb 2-2: Product: CIF Single Chip
    Oct 10 09:49:12 zago kernel: usb 2-2: Manufacturer: Pixart Imaging Inc.
    Oct 10 09:49:12 zago kernel: usb 2-2: configuration #1 chosen from 1 choice
    Oct 10 09:49:12 zago kernel: gspca: probing 093a:2460
    Oct 10 09:49:12 zago kernel: pac207: Pixart Sensor ID 0x27 Chips ID 0x09
    Oct 10 09:49:12 zago kernel: pac207: Pixart PAC207BCA Image Processor and Control Chip detected (vid/pid 0x093A:0x2460)
    Oct 10 09:49:12 zago kernel: gspca: probe ok
ed ecco l'output di ls -l /dev/video*.
Grazie per l' aiuto Hal9000

Re: Compilazione kernel: ringraziamento e problemi

Inviato: sab 10 ott 2009, 12:54
da tigerwalk
prova a mettere in lilo la risoluzione a
vga=791
per il problema della web non so aiutarti

Re: Compilazione kernel: ringraziamento e problemi

Inviato: sab 10 ott 2009, 12:54
da Giambattista
Ciao, hai postato tu stesso la soluzione:
# VESA framebuffer console @ 1024x768x64k
# vga=791
Devi solo sostituire vga=773 con vga=791

Re: Compilazione kernel: ringraziamento e problemi

Inviato: sab 17 ott 2009, 19:29
da hal9000
Vi ringrazio per le risposte ma non ha funzionato. Dando dmesg ottengo con 2.6.27.7 di defoult il seguente messaggio:

Codice: Seleziona tutto

vesafb: framebuffer at 0x80800000, mapped to 0xe0280000, using 3072k, total 8192k
vesafb: mode is 1024x768x16, linelength=2048, pages=4
vesafb: protected mode interface info at c000:7640
vesafb: pmi: set display start = c00c7650, set palette = c00c76b3
vesafb: scrolling: redraw
vesafb: Truecolor: size=0:5:6:5, shift=0:11:5:0
Console: switching to colour frame buffer device 128x48
fb0: VESA VGA frame buffer device
con il 2.6.29.6 invece ottengo

Codice: Seleziona tutto

tridentfb 0000:01:00.0: PCI INT A -> Link[PILA] -> GSI 11 (level, low) -> IRQ 11
tridentfb: framebuffer size = 8192 Kb
tridentfb: 1024x768 flat panel found
Console: switching to colour frame buffer device 80x30
tridentfb: fb0: Trident frame buffer device 640x480-8bpp
vesafb: cannot reserve video memory at 0x80800000
vesafb: framebuffer at 0x80800000, mapped to 0xe0980000, using 3072k, total 8192k
vesafb: mode is 1024x768x16, linelength=2048, pages=4
vesafb: protected mode interface info at c000:7640
vesafb: pmi: set display start = c00c7650, set palette = c00c76b3
vesafb: scrolling: redraw
vesafb: Truecolor: size=0:5:6:5, shift=0:11:5:0
fb1: VESA VGA frame buffer device
vga16fb: initializing
vga16fb: mapped to 0xc00a0000
fb2: VGA16 VGA frame buffer device
Probabilmente il parametro da cambiare è Console: switching to colour frame buffer device 80x30 tridentfb: fb0: Trident frame buffer device 640x480-8bpp ma non ho idea di come fare. Grazie Hal9000