Kernel compilation for J5600
Hi all
I'm trying to enable an usb mouse/keyboard on a J5600. I followed the instructions described on the parisc-linux website but was unable to get them working. I suspect there are some special options to enable for USB but which ones? As this is a SMP system I cannot use the prebuild kernels. So if someone can outline the options to enable usb, that would be great ;)
Regards
Mark Mestdagh
Quoted 5 lines
I'm trying to enable an usb mouse/keyboard on a J5600. I followed the instructions described on the parisc-linux website but was unable to get them working. I suspect there are some special options to enable for USB but which ones? As this is a SMP system I cannot use the prebuild kernels. So if someone can outline the options to enable usb, that would be great ;)
Why can't you use the prebuilt kernels? kernel-image-2.4.20-32-smp supports SMP (and the corresponding 64-bit version too...)
parisc machines use the OHCI driver, which is enabled by default in the debian kernels.
CONFIG_USB=yCONFIG_USB_DEVICEFS=yCONFIG_USB_OHCI=yCONFIG_USB_STORAGE=mCONFIG_USB_HID=yCONFIG_USB_HIDINPUT=y
randolph
Signature · 3 lines
Randolph Chung Debian GNU/Linux Developer, hppa/ia64 ports http://www.tausq.org/
Quoted 2 lines · Randolph Chung
Why can't you use the prebuilt kernels? kernel-image-2.4.20-32-smp supports SMP (and the corresponding 64-bit version too...)
just a reminder...64-bit SMP is not stable yet.
32-bit SMP seems to work fine.
And I park a few "custom" kernels on ftp.parisc-linux.org/kernels/ which include the .config files used to build the kernels. You want to look at c3000 kernels.
grant
Grant & others
thanks already for the support. One little problem though is setting up the CDROM. I followed the settings like the c3000 kernel but still I get a problem while compiling:
ld: arch/parisc/kernel/kernel.o(.text.show_trace+0x58): fixing R_PARISC_DPREL21Ldrivers/ide/idedriver.o: In function `.L1588':
drivers/ide/idedriver.o(.text.probe_hwif+0xfc): undefined reference to `local_irq_set'drivers/ide/idedriver.o: In function `ide_wait_stat':
drivers/ide/idedriver.o(.text.ide_wait_stat+0xe0): undefined reference to `local_irq_set'drivers/ide/idedriver.o: In function `ide_config_drive_speed':
drivers/ide/idedriver.o(.text.ide_config_drive_speed+0x1c0): undefined reference to `local_irq_set'drivers/ide/idedriver.o: In function `taskfile_dump_status':
drivers/ide/idedriver.o(.text.taskfile_dump_status+0x40): undefined reference to `local_irq_set'drivers/ide/idedriver.o: In function `ide_dump_status':
drivers/ide/idedriver.o(.text.ide_dump_status+0x40): undefined reference to local_irq_set' drivers/ide/idedriver.o(.text.ide_spin_wait_hwgroup+0x74): more undefined references to local_irq_set' follow
make: *** [vmlinux] Error 1
local_irq_set missing? ;) Hints & tips appriciated.
Thx
Mark
-----Original Message-----
From: [email protected] [mailto:[email protected]]On Behalf Of Grant Grundler
Sent: maandag 30 juni 2003 18:51
To: Mark Mestdagh
Cc: [email protected]
Subject: Re: [parisc-linux] Kernel compilation for J5600
Quoted 2 lines · Randolph Chung
Why can't you use the prebuilt kernels? kernel-image-2.4.20-32-smp supports SMP (and the corresponding 64-bit version too...)
just a reminder...64-bit SMP is not stable yet.
32-bit SMP seems to work fine.
And I park a few "custom" kernels on ftp.parisc-linux.org/kernels/ which include the .config files used to build the kernels. You want to look at c3000 kernels.
grant
_______________________________________________
parisc-linux mailing list
[email protected]
http://lists.parisc-linux.org/mailman/listinfo/parisc-linux
Quoted 8 lines · Mark Mestdagh
Grant & others
thanks already for the support. One little problem though is setting up the CDROM. I followed the settings like the c3000 kernel but still I get a problem while compiling:
drivers/ide/idedriver.o(.text.probe_hwif+0xfc): undefined reference to `local_irq_set'
This is 2.4.21-pa1?
Signature · 3 lines
"It's not Hollywood. War is real, war is primarily not about defeat or victory, it is about death. I've seen thousands and thousands of dead bodies. Do you think I want to have an academic debate on this subject?" -- Robert Fisk
Hi Matthew
it was 2.4.21-pa0, but I cvs'ed to 2.4.21-pa1 and now it's fixed :)
Thanks
Mark
-----Original Message-----
From: [email protected] [mailto:[email protected]]On Behalf Of Matthew Wilcox
Sent: dinsdag 1 juli 2003 15:22
To: Mark Mestdagh
Cc: [email protected]
Subject: Re: [parisc-linux] Kernel compilation for J5600
Quoted 3 lines · Mark Mestdagh
Grant & others
thanks already for the support. One little problem though is setting up
the
Quoted 5 lines
CDROM. I followed the settings like the c3000 kernel but still I get a problem while compiling:
drivers/ide/idedriver.o(.text.probe_hwif+0xfc): undefined reference to `local_irq_set'
This is 2.4.21-pa1?
--
"It's not Hollywood. War is real, war is primarily not about defeat or victory, it is about death. I've seen thousands and thousands of dead bodies.
Do you think I want to have an academic debate on this subject?" -- Robert Fisk
Hi all,
Quoted 4 lines
Quoted 2 lines
drivers/ide/idedriver.o(.text.probe_hwif+0xfc): undefined reference to `local_irq_set'
This is 2.4.21-pa1?
Hmm not yet and my patch to Grant is definitely incomplete (Sorry, my bad).
In fact I am hesitate:
For many other paltform we can found:
(in system_irqsave.h)
[...]
/* For spinlocks etc */
#define local_irq_save(x) __save_and_cli(x)
#define local_irq_set(x) __save_and_sti(x)
#define local_irq_restore(x) __restore_flags(x)
#define local_irq_disable() __cli()
[...]
OTC for parisc:
[...]
#define local_irq_save(x) \
__asm__ __volatile__("rsm %1,%0" : "=r" (x) :"i" (PSW_I) : "memory" )
#define local_irq_restore(x) \
__asm__ __volatile__("mtsm %0" : : "r" (x) : "memory" )[...]
So can we here simply add:
#define local_irq_set(x) __save_and_sti(x)
Or do we actualy need a specific local_irq_set(x)?
Thanks in advance for advise,
Joel
---------------------------------
Tiscali ADSL: 19,50 euros/mois...abonnez-vous sur www.tiscali.be
Quoted 1 line · Joel Soete
Or do we actualy need a specific
local_irq_set(x)?
We do.
#define local_irq_save(x) \
__asm__ __volatile__("rsm %1,%0" : "=r" (x) :"i" (PSW_I) : "memory" )
#define local_irq_set(x) \
__asm__ __volatile__("ssm %1,%0" : "=r" (x) : "i" (PSW_I) : "memory" )I'll add that as well in my next commit.
Still looking over some of your other changes.
thanks,
grant
[parisc-linux] Kernel compilation for B2000
In reply to Matthew WilcoxHi
Seems I have the same problem on a B2000 with the latest cvs'ed version (2.4.21-pa1)
What am I doing wrong :s??
Regs
Mark
drivers/ide/idedriver.o: In function `init_irq':
drivers/ide/idedriver.o(.text.init_irq+0x44): undefined reference to `__save_and_cli'drivers/ide/idedriver.o: In function `ide_wait_stat':
drivers/ide/idedriver.o(.text.ide_wait_stat+0xe0): undefined reference to `local_irq_set'drivers/ide/idedriver.o: In function `ide_config_drive_speed':
drivers/ide/idedriver.o(.text.ide_config_drive_speed+0x1c0): undefined reference to `local_irq_set'drivers/ide/idedriver.o: In function `taskfile_dump_status':
drivers/ide/idedriver.o(.text.taskfile_dump_status+0x40): undefined reference to `local_irq_set'drivers/ide/idedriver.o: In function `ide_dump_status':
drivers/ide/idedriver.o(.text.ide_dump_status+0x40): undefined reference to `local_irq_set'drivers/ide/idedriver.o: In function `ide_spin_wait_hwgroup':
drivers/ide/idedriver.o(.text.ide_spin_wait_hwgroup+0x4c): undefined reference to local_irq_set' drivers/ide/idedriver.o(.text.ide_cdrom_dump_status+0x38): more undefined references to local_irq_set' follow
make: *** [vmlinux] Error 1
-----Original Message-----
From: [email protected] [mailto:[email protected]]On Behalf Of Matthew Wilcox
Sent: dinsdag 1 juli 2003 15:22
To: Mark Mestdagh
Cc: [email protected]
Subject: Re: [parisc-linux] Kernel compilation for J5600
Quoted 3 lines · Mark Mestdagh
Grant & others
thanks already for the support. One little problem though is setting up
the
Quoted 5 lines
CDROM. I followed the settings like the c3000 kernel but still I get a problem while compiling:
drivers/ide/idedriver.o(.text.probe_hwif+0xfc): undefined reference to `local_irq_set'
This is 2.4.21-pa1?
--
"It's not Hollywood. War is real, war is primarily not about defeat or victory, it is about death. I've seen thousands and thousands of dead bodies.
Do you think I want to have an academic debate on this subject?" -- Robert Fisk
_______________________________________________
parisc-linux mailing list
[email protected]
http://lists.parisc-linux.org/mailman/listinfo/parisc-linux
RE: [parisc-linux] Kernel compilation for B2000
Hi Mark,
Quoted 2 lines
Seems I have the same problem on a B2000 with the latest cvs'ed version (2.4.21-pa1)
The problem is not with b2k but well with 2.4.21-pa1 which is refreshed very recently. But I proposed a fix to Grant who would be able to ci soon. In the mean time (if you do not need actualy ide support for cd-rom) you can un-select this temporarely this from your config.
Now for 64bits kernel it works (b2k allows 32 & 64 bits kernels ;-) ). But for 32bits otc you will need also to wait that Grant ci another patch (or reverse pa1 patch to come back to pa0).
hth,
Joel
------------------------------------------------------
Soldes Tiscali ADSL : 27,50 euros/mois jusque fin 2003. On s'habitue vite à payer son ADSL moins cher!
Plus d'info? Cliquez ici... http://reg.tiscali.be/default.asp?lg=fr